@times-components/ssr 2.60.2 → 2.60.3-060319cf6997e23f1850ec53440c4bc57eef95c9.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e){function o(o){for(var n,c,i=o[0],s=o[1],m=o[2],u=0,d=[];u<i.length;u++)c=i[u],r[c]&&d.push(r[c][0]),r[c]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(l&&l(o);d.length;)d.shift()();return a.push.apply(a,m||[]),t()}function t(){for(var e,o=0;o<a.length;o++){for(var t=a[o],n=!0,i=1;i<t.length;i++){var s=t[i];0!==r[s]&&(n=!1)}n&&(a.splice(o--,1),e=c(c.s=t[0]))}return e}var n={},r={1:0},a=[];function c(o){if(n[o])return n[o].exports;var t=n[o]={i:o,l:!1,exports:{}};return e[o].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.m=e,c.c=n,c.d=function(e,o,t){c.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,o){if(1&o&&(e=c(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)c.d(t,n,function(o){return e[o]}.bind(null,n));return t},c.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(o,"a",o),o},c.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},c.p="";var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=o,i=i.slice();for(var m=0;m<i.length;m++)o(i[m]);var l=s;a.push([365,0]),t()}([,,,,,,,,,function(e,o){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,o,t){var n=t(16),r=t(97).f,a=t(86),c=t(51),i=t(194),s=t(266),m=t(123);e.exports=function(e,o){var t,l,u,d,p,h=e.target,f=e.global,b=e.stat;if(t=f?n:b?n[h]||i(h,{}):(n[h]||{}).prototype)for(l in o){if(d=o[l],u=e.dontCallGetSet?(p=r(t,l))&&p.value:t[l],!m(f?l:h+(b?".":"#")+l,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;s(d,u)}(e.sham||u&&u.sham)&&a(d,"sham",!0),c(t,l,d,e)}}},,,,function(e,o,t){var n=t(141),r=Function.prototype,a=r.call,c=n&&r.bind.bind(a,a);e.exports=n?c:function(e){return function(){return a.apply(e,arguments)}}},,function(e,o,t){(function(o){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o&&o)||function(){return this}()||Function("return this")()}).call(this,t(24))},,function(e,o,t){"use strict";t.d(o,"a",(function(){return m})),t.d(o,"b",(function(){return u}));t(52),t(33),t(22),t(133),t(36),t(37),t(26),t(294);var n=t(242),r=t.n(n),a=r.a.LOGLEVEL,c=r.a.console,i={trace:1,debug:2,info:3,warn:4,error:5,silent:10},s=i[a]||i.info,m={trace:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.trace&&c.trace.apply(c,[e].concat(t))},debug:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.debug&&c.debug.apply(c,[e].concat(t))},info:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.info&&c.info.apply(c,[e].concat(t))},warn:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.warn&&c.warn.apply(c,[e].concat(t))},error:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.error&&c.error.apply(c,[e].concat(t))},log:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<i.silent&&c.log.apply(c,[e].concat(t))}},l=new Set,u=function(e){return function(o){if(!l.has(o)){l.add(o);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m[e].apply(m,[o].concat(n))}}};u.clear=function(){return l.clear()},u.trace=u("trace"),u.debug=u("debug"),u.info=u("info"),u.warn=u("warn"),u.error=u("error"),u.log=u("log");var d=function(e){return function(){for(var o=[],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n.length){var a,c=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi;for(o.push(n[0].replace(c,"%c").replace(i,"%c"));a=c.exec(n[0]);)o.push(a[2]),o.push("");for(var s=1;s<n.length;s++)o.push(n[s])}m[e].apply(m,o)}};d.trace=d("trace"),d.debug=d("debug"),d.info=d("info"),d.warn=d("warn"),d.error=d("error")},function(e,o,t){var n=t(261),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},function(e,o,t){var n=t(16),r=t(96),a=t(28),c=t(144),i=t(94),s=t(264),m=r("wks"),l=n.Symbol,u=l&&l.for,d=s?l:l&&l.withoutSetter||c;e.exports=function(e){if(!a(m,e)||!i&&"string"!=typeof m[e]){var o="Symbol."+e;i&&a(l,e)?m[e]=l[e]:m[e]=s&&u?u(o):d(o)}return m[e]}},function(e,o,t){"use strict";o.a=function(e){for(var o=[],t=1;t<arguments.length;t++)o[t-1]=arguments[t];var n=Array.from("string"==typeof e?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var r=n.reduce((function(e,o){var t=o.match(/\n([\t ]+|(?!\s).)/g);return t?e.concat(t.map((function(e){var o,t;return null!==(t=null===(o=e.match(/[\t ]/g))||void 0===o?void 0:o.length)&&void 0!==t?t:0}))):e}),[]);if(r.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,r)+"}","g");n=n.map((function(e){return e.replace(a,"\n")}))}n[0]=n[0].replace(/^\r?\n/,"");var c=n[0];return o.forEach((function(e,o){var t=c.match(/(?:^|\n)( *)$/),r=t?t[1]:"",a=e;"string"==typeof e&&e.includes("\n")&&(a=String(e).split("\n").map((function(e,o){return 0===o?e:""+r+e})).join("\n")),c+=a+n[o+1]})),c}},function(e,o,t){var n=t(197),r=t(51),a=t(430);n||r(Object.prototype,"toString",a,{unsafe:!0})},function(e,o,t){var n=t(141),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},,function(e,o,t){var n=t(35),r=t(117).EXISTS,a=t(14),c=t(39).f,i=Function.prototype,s=a(i.toString),m=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=a(m.exec);n&&!r&&c(i,"name",{configurable:!0,get:function(){try{return l(m,s(this))[1]}catch(e){return""}}})},function(e,o,t){"use strict";var n=t(10),r=t(162);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},,function(e,o,t){var n=t(14),r=t(53),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,o){return a(r(e),o)}},function(e,o,t){var n=t(19),r=t(261),a=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===a}:function(e){return"object"==typeof e?null!==e:n(e)}},function(e,o,t){var n=t(29),r=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw a(r(e)+" is not an object")}},function(e,o,t){t(461),t(464),t(465),t(466),t(467)},function(e,o,t){"use strict";var n=t(10),r=t(151),a=t(153),c=t(29),i=t(148),s=t(73),m=t(66),l=t(152),u=t(20),d=t(155),p=t(203),h=d("slice"),f=u("species"),b=Array,g=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(e,o){var t,n,u,d=m(this),h=s(d),y=i(e,h),k=i(void 0===o?h:o,h);if(r(d)&&(t=d.constructor,(a(t)&&(t===b||r(t.prototype))||c(t)&&null===(t=t[f]))&&(t=void 0),t===b||void 0===t))return p(d,y,k);for(n=new(void 0===t?b:t)(g(k-y,0)),u=0;y<k;y++,u++)y in d&&l(n,u,d[y]);return n.length=u,n}})},function(e,o,t){"use strict";var n=t(66),r=t(132),a=t(130),c=t(67),i=t(39).f,s=t(208),m=t(210),l=t(65),u=t(35),d=c.set,p=c.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,o){d(this,{type:"Array Iterator",target:n(e),index:0,kind:o})}),(function(){var e=p(this),o=e.target,t=e.kind,n=e.index++;return!o||n>=o.length?(e.target=void 0,m(void 0,!0)):m("keys"==t?n:"values"==t?o[n]:[n,o[n]],!1)}),"values");var h=a.Arguments=a.Array;if(r("keys"),r("values"),r("entries"),!l&&u&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(e){}},,function(e,o,t){var n=t(9);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,o,t){"use strict";var n=t(291).charAt,r=t(43),a=t(67),c=t(208),i=t(210),s=a.set,m=a.getterFor("String Iterator");c(String,"String",(function(e){s(this,{type:"String Iterator",string:r(e),index:0})}),(function(){var e,o=m(this),t=o.string,r=o.index;return r>=t.length?i(void 0,!0):(e=n(t,r),o.index+=e.length,i(e,!1))}))},function(e,o,t){var n=t(16),r=t(270),a=t(271),c=t(33),i=t(86),s=t(20),m=s("iterator"),l=s("toStringTag"),u=c.values,d=function(e,o){if(e){if(e[m]!==u)try{i(e,m,u)}catch(o){e[m]=u}if(e[l]||i(e,l,o),r[o])for(var t in c)if(e[t]!==c[t])try{i(e,t,c[t])}catch(o){e[t]=c[t]}}};for(var p in r)d(n[p]&&n[p].prototype,p);d(a,"DOMTokenList")},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n={sanitize:!0,toId:!0,storyNameFromExport:!0,isExportStory:!0,parseKind:!0,includeConditionalArg:!0};o.isExportStory=function(e,o){var t=o.includeStories,n=o.excludeStories;return"__esModule"!==e&&(!t||d(e,t))&&(!n||!d(e,n))},Object.defineProperty(o,"includeConditionalArg",{enumerable:!0,get:function(){return c.includeConditionalArg}}),o.parseKind=o.storyNameFromExport=o.toId=o.sanitize=void 0;var r,a=(r=t(579))&&r.__esModule?r:{default:r},c=t(596),i=t(598);function s(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var t=[],n=!0,r=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(n=(c=i.next()).done)&&(t.push(c.value),!o||t.length!==o);n=!0);}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return t}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return m(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,o)}(e,o)||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 m(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(o,e,{enumerable:!0,get:function(){return i[e]}}))}));var l=function(e){return e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};o.sanitize=l;var u=function(e,o){var t=l(e);if(""===t)throw new Error("Invalid ".concat(o," '").concat(e,"', must include alphanumeric characters"));return t};o.toId=function(e,o){return"".concat(u(e,"kind")).concat(o?"--".concat(u(o,"name")):"")};function d(e,o){return Array.isArray(o)?o.includes(e):e.match(o)}o.storyNameFromExport=function(e){return(0,a.default)(e)};o.parseKind=function(e,o){var t=o.rootSeparator,n=o.groupSeparator,r=s(e.split(t,2),2),a=r[0],c=r[1];return{root:c?a:null,groups:(c||e).split(n).filter((function(e){return!!e}))}}},function(e,o,t){var n=t(35),r=t(260),a=t(262),c=t(30),i=t(143),s=TypeError,m=Object.defineProperty,l=Object.getOwnPropertyDescriptor;o.f=n?a?function(e,o,t){if(c(e),o=i(o),c(t),"function"==typeof e&&"prototype"===o&&"value"in t&&"writable"in t&&!t.writable){var n=l(e,o);n&&n.writable&&(e[o]=t.value,t={configurable:"configurable"in t?t.configurable:n.configurable,enumerable:"enumerable"in t?t.enumerable:n.enumerable,writable:!1})}return m(e,o,t)}:m:function(e,o,t){if(c(e),o=i(o),c(t),r)try{return m(e,o,t)}catch(e){}if("get"in t||"set"in t)throw s("Accessors not supported");return"value"in t&&(e[o]=t.value),e}},function(e,o,t){"use strict";var n=t(10),r=t(35),a=t(16),c=t(14),i=t(28),s=t(19),m=t(76),l=t(43),u=t(39).f,d=t(266),p=a.Symbol,h=p&&p.prototype;if(r&&s(p)&&(!("description"in h)||void 0!==p().description)){var f={},b=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),o=m(h,this)?new p(e):void 0===e?p():p(e);return""===e&&(f[o]=!0),o};d(b,p),b.prototype=h,h.constructor=b;var g="Symbol(test)"==String(p("test")),y=c(h.valueOf),k=c(h.toString),v=/^Symbol\((.*)\)[^)]+$/,w=c("".replace),x=c("".slice);u(h,"description",{configurable:!0,get:function(){var e=y(this);if(i(f,e))return"";var o=k(e),t=g?x(o,7,-1):w(o,v,"$1");return""===t?void 0:t}}),n({global:!0,constructor:!0,forced:!0},{Symbol:b})}},function(e,o,t){t(299)("iterator")},,function(e,o,t){var n=t(154),r=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},function(e,o,t){var n=t(10),r=t(53),a=t(124);n({target:"Object",stat:!0,forced:t(9)((function(){a(1)}))},{keys:function(e){return a(r(e))}})},function(e,o,t){var n=t(10),r=t(468);n({target:"Array",stat:!0,forced:!t(206)((function(e){Array.from(e)}))},{from:r})},function(e,o,t){"use strict";t.r(o);var n=t(60),r=(t(25),t(52),function(e){var o=e.name,t=e.parameterName,n=e.wrapper,r=e.skipIfNoParametersOrOptions,a=void 0!==r&&r,c=function(e){return function(o,r){var c=r.parameters&&r.parameters[t];return c&&c.disable?o(r):!a||e||c?n(o,r,{options:e,parameters:c}):o(r)}};return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return"function"==typeof n[0]?c().apply(void 0,n):function(){if(arguments.length>1)return n.length>1?c(n).apply(void 0,arguments):c.apply(void 0,n).apply(void 0,arguments);throw new Error("Passing stories directly into ".concat(o,"() is not allowed,\n instead use addDecorator(").concat(o,") and pass options with the '").concat(t,"' parameter"))}}}),a=t(176),c=t(175),i=t(295);t.d(o,"makeDecorator",(function(){return r})),t.d(o,"Channel",(function(){return n.b})),t.d(o,"AddonStore",(function(){return n.a})),t.d(o,"addons",(function(){return n.c})),t.d(o,"types",(function(){return a.b})),t.d(o,"isSupportedType",(function(){return a.a})),t.d(o,"mockChannel",(function(){return c.a})),t.d(o,"HooksContext",(function(){return i.a})),t.d(o,"applyHooks",(function(){return i.b})),t.d(o,"useMemo",(function(){return i.h})),t.d(o,"useCallback",(function(){return i.d})),t.d(o,"useRef",(function(){return i.k})),t.d(o,"useState",(function(){return i.l})),t.d(o,"useReducer",(function(){return i.j})),t.d(o,"useEffect",(function(){return i.f})),t.d(o,"useChannel",(function(){return i.e})),t.d(o,"useStoryContext",(function(){return i.m})),t.d(o,"useParameter",(function(){return i.i})),t.d(o,"useArgs",(function(){return i.c})),t.d(o,"useGlobals",(function(){return i.g}));o.default=n.c},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,o){if(o.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+o.length+" present")},e.exports=o.default},function(e,o,t){var n=t(10),r=t(429);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},function(e,o,t){"use strict";var n;t.r(o),t.d(o,"CHANNEL_CREATED",(function(){return r})),t.d(o,"CONFIG_ERROR",(function(){return a})),t.d(o,"STORY_INDEX_INVALIDATED",(function(){return c})),t.d(o,"STORY_SPECIFIED",(function(){return i})),t.d(o,"SET_STORIES",(function(){return s})),t.d(o,"SET_CURRENT_STORY",(function(){return m})),t.d(o,"CURRENT_STORY_WAS_SET",(function(){return l})),t.d(o,"FORCE_RE_RENDER",(function(){return u})),t.d(o,"FORCE_REMOUNT",(function(){return d})),t.d(o,"STORY_PREPARED",(function(){return p})),t.d(o,"STORY_CHANGED",(function(){return h})),t.d(o,"STORY_UNCHANGED",(function(){return f})),t.d(o,"PRELOAD_STORIES",(function(){return b})),t.d(o,"STORY_RENDERED",(function(){return g})),t.d(o,"STORY_MISSING",(function(){return y})),t.d(o,"STORY_ERRORED",(function(){return k})),t.d(o,"STORY_THREW_EXCEPTION",(function(){return v})),t.d(o,"STORY_RENDER_PHASE_CHANGED",(function(){return w})),t.d(o,"UPDATE_STORY_ARGS",(function(){return x})),t.d(o,"STORY_ARGS_UPDATED",(function(){return j})),t.d(o,"RESET_STORY_ARGS",(function(){return O})),t.d(o,"SET_GLOBALS",(function(){return z})),t.d(o,"UPDATE_GLOBALS",(function(){return S})),t.d(o,"GLOBALS_UPDATED",(function(){return _})),t.d(o,"REGISTER_SUBSCRIPTION",(function(){return E})),t.d(o,"PREVIEW_KEYDOWN",(function(){return C})),t.d(o,"SELECT_STORY",(function(){return P})),t.d(o,"STORIES_COLLAPSE_ALL",(function(){return I})),t.d(o,"STORIES_EXPAND_ALL",(function(){return T})),t.d(o,"DOCS_RENDERED",(function(){return A})),t.d(o,"SHARED_STATE_CHANGED",(function(){return N})),t.d(o,"SHARED_STATE_SET",(function(){return D})),t.d(o,"NAVIGATE_URL",(function(){return q})),t.d(o,"UPDATE_QUERY_PARAMS",(function(){return R})),t.d(o,"IGNORED_EXCEPTION",(function(){return M})),function(e){e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_STORIES="setStories",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_STORIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams"}(n||(n={})),o.default=n;var r=n.CHANNEL_CREATED,a=n.CONFIG_ERROR,c=n.STORY_INDEX_INVALIDATED,i=n.STORY_SPECIFIED,s=n.SET_STORIES,m=n.SET_CURRENT_STORY,l=n.CURRENT_STORY_WAS_SET,u=n.FORCE_RE_RENDER,d=n.FORCE_REMOUNT,p=n.STORY_PREPARED,h=n.STORY_CHANGED,f=n.STORY_UNCHANGED,b=n.PRELOAD_STORIES,g=n.STORY_RENDERED,y=n.STORY_MISSING,k=n.STORY_ERRORED,v=n.STORY_THREW_EXCEPTION,w=n.STORY_RENDER_PHASE_CHANGED,x=n.UPDATE_STORY_ARGS,j=n.STORY_ARGS_UPDATED,O=n.RESET_STORY_ARGS,z=n.SET_GLOBALS,S=n.UPDATE_GLOBALS,_=n.GLOBALS_UPDATED,E=n.REGISTER_SUBSCRIPTION,C=n.PREVIEW_KEYDOWN,P=n.SELECT_STORY,I=n.STORIES_COLLAPSE_ALL,T=n.STORIES_EXPAND_ALL,A=n.DOCS_RENDERED,N=n.SHARED_STATE_CHANGED,D=n.SHARED_STATE_SET,q=n.NAVIGATE_URL,R=n.UPDATE_QUERY_PARAMS,M=new Error("ignoredException")},,function(e,o,t){var n=t(19),r=t(39),a=t(424),c=t(194);e.exports=function(e,o,t,i){i||(i={});var s=i.enumerable,m=void 0!==i.name?i.name:o;if(n(t)&&a(t,m,i),i.global)s?e[o]=t:c(o,t);else{try{i.unsafe?e[o]&&(s=!0):delete e[o]}catch(e){}s?e[o]=t:r.f(e,o,{value:t,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}},function(e,o,t){"use strict";var n=t(10),r=t(9),a=t(151),c=t(29),i=t(53),s=t(73),m=t(427),l=t(152),u=t(269),d=t(155),p=t(20),h=t(119),f=p("isConcatSpreadable"),b=h>=51||!r((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!c(e))return!1;var o=e[f];return void 0!==o?!!o:a(e)};n({target:"Array",proto:!0,arity:1,forced:!b||!g},{concat:function(e){var o,t,n,r,a,c=i(this),d=u(c,0),p=0;for(o=-1,n=arguments.length;o<n;o++)if(y(a=-1===o?c:arguments[o]))for(r=s(a),m(p+r),t=0;t<r;t++,p++)t in a&&l(d,p,a[t]);else m(p+1),l(d,p++,a);return d.length=p,d}})},function(e,o,t){var n=t(64),r=Object;e.exports=function(e){return r(n(e))}},function(e,o,t){(function(o){function t(e){try{if(!o.localStorage)return!1}catch(e){return!1}var t=o.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,o){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(o);t("traceDeprecation")?console.trace(o):console.warn(o),n=!0}return e.apply(this,arguments)}}}).call(this,t(24))},function(e,o){e.exports=function(e){return null==e}},function(e,o,t){var n=t(16),r=t(19),a=function(e){return r(e)?e:void 0};e.exports=function(e,o){return arguments.length<2?a(n[e]):n[e]&&n[e][o]}},function(e,o,t){var n=t(16),r=t(270),a=t(271),c=t(431),i=t(86),s=function(e){if(e&&e.forEach!==c)try{i(e,"forEach",c)}catch(o){e.forEach=c}};for(var m in r)r[m]&&s(n[m]&&n[m].prototype);s(a)},function(e,o,t){var n=t(10),r=t(281),a=t(9),c=t(29),i=t(131).onFreeze,s=Object.freeze;n({target:"Object",stat:!0,forced:a((function(){s(1)})),sham:!r},{freeze:function(e){return s&&c(e)?s(i(e)):e}})},function(e,o,t){var n=t(10),r=t(272).entries;n({target:"Object",stat:!0},{entries:function(e){return r(e)}})},function(e,o,t){"use strict";t.d(o,"a",(function(){return u})),t.d(o,"c",(function(){return p}));t(48),t(22),t(57),t(156),t(200);var n=t(112),r=t.n(n),a=t(174);t.d(o,"b",(function(){return a.a}));var c=t(18),i=t(175),s=t(176);function m(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,o,t){return o&&m(e.prototype,o),t&&m(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=l((function e(){var o=this;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.loaders={},this.elements={},this.config={},this.channel=void 0,this.serverChannel=void 0,this.promise=void 0,this.resolve=void 0,this.getChannel=function(){return o.channel||o.setChannel(Object(i.a)()),o.channel},this.getServerChannel=function(){if(!o.serverChannel)throw new Error("Accessing non-existent serverChannel");return o.serverChannel},this.ready=function(){return o.promise},this.hasChannel=function(){return!!o.channel},this.hasServerChannel=function(){return!!o.serverChannel},this.setChannel=function(e){o.channel=e,o.resolve()},this.setServerChannel=function(e){o.serverChannel=e},this.getElements=function(e){return o.elements[e]||(o.elements[e]={}),o.elements[e]},this.addPanel=function(e,t){o.add(e,Object.assign({type:s.b.PANEL},t))},this.add=function(e,t){var n=t.type;o.getElements(n)[e]=Object.assign({id:e},t)},this.setConfig=function(e){Object.assign(o.config,e)},this.getConfig=function(){return o.config},this.register=function(e,t){o.loaders[e]&&c.a.warn("".concat(e," was loaded twice, this could have bad side-effects")),o.loaders[e]=t},this.loadAddons=function(e){Object.values(o.loaders).forEach((function(o){return o(e)}))},this.promise=new Promise((function(e){o.resolve=function(){return e(o.getChannel())}}))})),d="__STORYBOOK_ADDONS";var p=(r.a[d]||(r.a[d]=new u),r.a[d])},function(e,o,t){(function(o){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=21)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(7)},function(e,o){e.exports=t(70)},function(e,o){e.exports=t(83)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(653)},function(e,o){e.exports=t(236)},function(e,o){e.exports=t(389)},function(e,o){e.exports=t(654)},function(e,t){var n,r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,c=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,l="object"==typeof o&&o&&o.Object===Object&&o,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),p=Array.prototype,h=Function.prototype,f=Object.prototype,b=d["__core-js_shared__"],g=(n=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=h.toString,k=f.hasOwnProperty,v=f.toString,w=RegExp("^"+y.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=d.Symbol,j=p.splice,O=N(d,"Map"),z=N(Object,"create"),S=x?x.prototype:void 0,_=S?S.toString:void 0;function E(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function C(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function P(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function I(e,o){for(var t,n,r=e.length;r--;)if((t=e[r][0])===(n=o)||t!=t&&n!=n)return r;return-1}function T(e,o){for(var t,n=0,c=(o=function(e,o){if(M(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!L(e))||(a.test(e)||!r.test(e)||null!=o&&e in Object(o))}(o,e)?[o]:M(t=o)?t:D(t)).length;null!=e&&n<c;)e=e[q(o[n++])];return n&&n==c?e:void 0}function A(e,o){var t,n,r=e.__data__;return("string"==(n=typeof(t=o))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof o?"string":"hash"]:r.map}function N(e,o){var t=function(e,o){return null==e?void 0:e[o]}(e,o);return function(e){return!(!F(e)||(o=e,g&&g in o))&&(function(e){var o=F(e)?v.call(e):"";return"[object Function]"==o||"[object GeneratorFunction]"==o}(e)||function(e){var o=!1;if(null!=e&&"function"!=typeof e.toString)try{o=!!(e+"")}catch(e){}return o}(e)?w:m).test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var o}(t)?t:void 0}E.prototype.clear=function(){this.__data__=z?z(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var o=this.__data__;if(z){var t=o[e];return"__lodash_hash_undefined__"===t?void 0:t}return k.call(o,e)?o[e]:void 0},E.prototype.has=function(e){var o=this.__data__;return z?void 0!==o[e]:k.call(o,e)},E.prototype.set=function(e,o){return this.__data__[e]=z&&void 0===o?"__lodash_hash_undefined__":o,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var o=this.__data__,t=I(o,e);return!(t<0||(t==o.length-1?o.pop():j.call(o,t,1),0))},C.prototype.get=function(e){var o=this.__data__,t=I(o,e);return t<0?void 0:o[t][1]},C.prototype.has=function(e){return I(this.__data__,e)>-1},C.prototype.set=function(e,o){var t=this.__data__,n=I(t,e);return n<0?t.push([e,o]):t[n][1]=o,this},P.prototype.clear=function(){this.__data__={hash:new E,map:new(O||C),string:new E}},P.prototype.delete=function(e){return A(this,e).delete(e)},P.prototype.get=function(e){return A(this,e).get(e)},P.prototype.has=function(e){return A(this,e).has(e)},P.prototype.set=function(e,o){return A(this,e).set(e,o),this};var D=R((function(e){var o;e=null==(o=e)?"":function(e){if("string"==typeof e)return e;if(L(e))return _?_.call(e):"";var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}(o);var t=[];return c.test(e)&&t.push(""),e.replace(i,(function(e,o,n,r){t.push(n?r.replace(s,"$1"):o||e)})),t}));function q(e){if("string"==typeof e||L(e))return e;var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}function R(e,o){if("function"!=typeof e||o&&"function"!=typeof o)throw new TypeError("Expected a function");var t=function t(){var n=arguments,r=o?o.apply(this,n):n[0],a=t.cache;if(a.has(r))return a.get(r);var c=e.apply(this,n);return t.cache=a.set(r,c),c};return t.cache=new(R.Cache||P),t}R.Cache=P;var M=Array.isArray;function F(e){var o=typeof e;return!!e&&("object"==o||"function"==o)}function L(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==v.call(e)}e.exports=function(e,o,t){var n=null==e?void 0:T(e,o);return void 0===n?t:n}},function(e,o){e.exports=t(390)},function(e,o){e.exports=t(655)},function(e,o){e.exports=t(235)},function(e,t,n){(function(e){var n=/^\[object .+?Constructor\]$/,r=/^(?:0|[1-9]\d*)$/,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var c="object"==typeof o&&o&&o.Object===Object&&o,i="object"==typeof self&&self&&self.Object===Object&&self,s=c||i||Function("return this")(),m=t&&!t.nodeType&&t,l=m&&"object"==typeof e&&e&&!e.nodeType&&e,u=l&&l.exports===m,d=u&&c.process,p=function(){try{return l&&l.require&&l.require("util").types||d&&d.binding&&d.binding("util")}catch(e){}}(),h=p&&p.isTypedArray;function f(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}var b,g,y,k=Array.prototype,v=Function.prototype,w=Object.prototype,x=s["__core-js_shared__"],j=v.toString,O=w.hasOwnProperty,z=(b=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",S=w.toString,_=j.call(Object),E=RegExp("^"+j.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=u?s.Buffer:void 0,P=s.Symbol,I=s.Uint8Array,T=(C&&C.allocUnsafe,g=Object.getPrototypeOf,y=Object,function(e){return g(y(e))}),A=Object.create,N=w.propertyIsEnumerable,D=k.splice,q=P?P.toStringTag:void 0,R=function(){try{var e=ne(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),M=C?C.isBuffer:void 0,F=Math.max,L=Date.now,B=ne(s,"Map"),H=ne(Object,"create"),U=function(){function e(){}return function(o){if(!fe(o))return{};if(A)return A(o);e.prototype=o;var t=new e;return e.prototype=void 0,t}}();function W(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function V(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function Y(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function G(e){var o=this.__data__=new V(e);this.size=o.size}function $(e,o,t){(void 0!==t&&!se(e[o],t)||void 0===t&&!(o in e))&&K(e,o,t)}function X(e,o,t){var n=e[o];O.call(e,o)&&se(n,t)&&(void 0!==t||o in e)||K(e,o,t)}function Z(e,o){for(var t=e.length;t--;)if(se(e[t][0],o))return t;return-1}function K(e,o,t){"__proto__"==o&&R?R(e,o,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[o]=t}W.prototype.clear=function(){this.__data__=H?H(null):{},this.size=0},W.prototype.delete=function(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o},W.prototype.get=function(e){var o=this.__data__;if(H){var t=o[e];return"__lodash_hash_undefined__"===t?void 0:t}return O.call(o,e)?o[e]:void 0},W.prototype.has=function(e){var o=this.__data__;return H?void 0!==o[e]:O.call(o,e)},W.prototype.set=function(e,o){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=H&&void 0===o?"__lodash_hash_undefined__":o,this},V.prototype.clear=function(){this.__data__=[],this.size=0},V.prototype.delete=function(e){var o=this.__data__,t=Z(o,e);return!(t<0||(t==o.length-1?o.pop():D.call(o,t,1),--this.size,0))},V.prototype.get=function(e){var o=this.__data__,t=Z(o,e);return t<0?void 0:o[t][1]},V.prototype.has=function(e){return Z(this.__data__,e)>-1},V.prototype.set=function(e,o){var t=this.__data__,n=Z(t,e);return n<0?(++this.size,t.push([e,o])):t[n][1]=o,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new W,map:new(B||V),string:new W}},Y.prototype.delete=function(e){var o=te(this,e).delete(e);return this.size-=o?1:0,o},Y.prototype.get=function(e){return te(this,e).get(e)},Y.prototype.has=function(e){return te(this,e).has(e)},Y.prototype.set=function(e,o){var t=te(this,e),n=t.size;return t.set(e,o),this.size+=t.size==n?0:1,this},G.prototype.clear=function(){this.__data__=new V,this.size=0},G.prototype.delete=function(e){var o=this.__data__,t=o.delete(e);return this.size=o.size,t},G.prototype.get=function(e){return this.__data__.get(e)},G.prototype.has=function(e){return this.__data__.has(e)},G.prototype.set=function(e,o){var t=this.__data__;if(t instanceof V){var n=t.__data__;if(!B||n.length<199)return n.push([e,o]),this.size=++t.size,this;t=this.__data__=new Y(n)}return t.set(e,o),this.size=t.size,this};function J(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":q&&q in Object(e)?function(e){var o=O.call(e,q),t=e[q];try{e[q]=void 0;var n=!0}catch(e){}var r=S.call(e);return n&&(o?e[q]=t:delete e[q]),r}(e):function(e){return S.call(e)}(e)}function Q(e){return be(e)&&"[object Arguments]"==J(e)}function ee(e){return!(!fe(e)||function(e){return!!z&&z in e}(e))&&(pe(e)?E:n).test(function(e){if(null!=e){try{return j.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function oe(e,o,t,n,r){e!==o&&function(e,o,t){for(var n=-1,r=Object(e),a=t(e),c=a.length;c--;){var i=a[++n];if(!1===o(r[i],i,r))break}}(o,(function(a,c){if(r||(r=new G),fe(a))!function(e,o,t,n,r,a,c){var i=ce(e,t),s=ce(o,t),m=c.get(s);if(m)$(e,t,m);else{var l,u,d,p,h,f=a?a(i,s,t+"",e,o,c):void 0,b=void 0===f;if(b){var g=le(s),y=!g&&de(s),k=!g&&!y&&ge(s);f=s,g||y||k?le(i)?f=i:be(h=i)&&ue(h)?f=function(e,o){var t=-1,n=e.length;for(o||(o=Array(n));++t<n;)o[t]=e[t];return o}(i):y?(b=!1,f=function(e,o){return e.slice()}(s)):k?(b=!1,p=new(d=(l=s).buffer).constructor(d.byteLength),new I(p).set(new I(d)),u=p,f=new l.constructor(u,l.byteOffset,l.length)):f=[]:function(e){if(!be(e)||"[object Object]"!=J(e))return!1;var o=T(e);if(null===o)return!0;var t=O.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&j.call(t)==_}(s)||me(s)?(f=i,me(i)?f=function(e){return function(e,o,t,n){var r=!t;t||(t={});for(var a=-1,c=o.length;++a<c;){var i=o[a],s=void 0;void 0===s&&(s=e[i]),r?K(t,i,s):X(t,i,s)}return t}(e,ye(e))}(i):fe(i)&&!pe(i)||(f=function(e){return"function"!=typeof e.constructor||ae(e)?{}:U(T(e))}(s))):b=!1}b&&(c.set(s,f),r(f,s,n,a,c),c.delete(s)),$(e,t,f)}}(e,o,c,t,oe,n,r);else{var i=n?n(ce(e,c),a,c+"",e,o,r):void 0;void 0===i&&(i=a),$(e,c,i)}}),ye)}function te(e,o){var t,n,r=e.__data__;return("string"==(n=typeof(t=o))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof o?"string":"hash"]:r.map}function ne(e,o){var t=function(e,o){return null==e?void 0:e[o]}(e,o);return ee(t)?t:void 0}function re(e,o){var t=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==t||"symbol"!=t&&r.test(e))&&e>-1&&e%1==0&&e<o}function ae(e){var o=e&&e.constructor;return e===("function"==typeof o&&o.prototype||w)}function ce(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}var ie=function(e){var o=0,t=0;return function(){var n=L(),r=16-(n-t);if(t=n,r>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}(R?function(e,o){return R(e,"toString",{configurable:!0,enumerable:!1,value:(t=o,function(){return t}),writable:!0});var t}:we);function se(e,o){return e===o||e!=e&&o!=o}var me=Q(function(){return arguments}())?Q:function(e){return be(e)&&O.call(e,"callee")&&!N.call(e,"callee")},le=Array.isArray;function ue(e){return null!=e&&he(e.length)&&!pe(e)}var de=M||function(){return!1};function pe(e){if(!fe(e))return!1;var o=J(e);return"[object Function]"==o||"[object GeneratorFunction]"==o||"[object AsyncFunction]"==o||"[object Proxy]"==o}function he(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function fe(e){var o=typeof e;return null!=e&&("object"==o||"function"==o)}function be(e){return null!=e&&"object"==typeof e}var ge=h?function(e){return function(o){return e(o)}}(h):function(e){return be(e)&&he(e.length)&&!!a[J(e)]};function ye(e){return ue(e)?function(e,o){var t=le(e),n=!t&&me(e),r=!t&&!n&&de(e),a=!t&&!n&&!r&&ge(e),c=t||n||r||a,i=c?function(e,o){for(var t=-1,n=Array(e);++t<e;)n[t]=o(t);return n}(e.length,String):[],s=i.length;for(var m in e)!o&&!O.call(e,m)||c&&("length"==m||r&&("offset"==m||"parent"==m)||a&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||re(m,s))||i.push(m);return i}(e,!0):function(e){if(!fe(e))return function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}(e);var o=ae(e),t=[];for(var n in e)("constructor"!=n||!o&&O.call(e,n))&&t.push(n);return t}(e)}var ke,ve=(ke=function(e,o,t){oe(e,o,t)},function(e,o){return ie(function(e,o,t){return o=F(void 0===o?e.length-1:o,0),function(){for(var n=arguments,r=-1,a=F(n.length-o,0),c=Array(a);++r<a;)c[r]=n[o+r];r=-1;for(var i=Array(o+1);++r<o;)i[r]=n[r];return i[o]=t(c),f(e,this,i)}}(e,o,we),e+"")}((function(e,o){var t=-1,n=o.length,r=n>1?o[n-1]:void 0,a=n>2?o[2]:void 0;for(r=ke.length>3&&"function"==typeof r?(n--,r):void 0,a&&function(e,o,t){if(!fe(t))return!1;var n=typeof o;return!!("number"==n?ue(t)&&re(o,t.length):"string"==n&&o in t)&&se(t[o],e)}(o[0],o[1],a)&&(r=n<3?void 0:r,n=1),e=Object(e);++t<n;){var c=o[t];c&&ke(e,c,t)}return e})));function we(e){return e}e.exports=ve}).call(this,n(20)(e))},function(e,o){e.exports=t(254)},function(e,o){e.exports=t(115)},function(e,o){e.exports=t(63)},function(e,o){e.exports=t(346)},function(e,o){e.exports=t(419)},function(e,o){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 r=n(0),a=n.n(r),c=n(2),i=n.n(c),s=n(1),m=n(5);const l=i.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;"]),u=i.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;"],s.fonts.supporting),d=Object(c.keyframes)(["0%{background-color:#ffffff;}50%{background-color:#9f0000;}100%{background-color:#ffffff;}"]),p=i.a.div.withConfig({displayName:"styles__LiveArticleFlagIconContainer",componentId:"sc-1ipxqw1-2"})(["height:100%;display:flex;align-items:center;margin-right:7px;"]),h=i.a.div.withConfig({displayName:"styles__LiveArticleFlagIcon",componentId:"sc-1ipxqw1-3"})(["height:6px;width:6px;animation:"," 2000ms infinite;"],d),f=i.a.div.withConfig({displayName:"styles__ArticleFlagContainer",componentId:"sc-1ipxqw1-4"})(["display:flex;align-items:center;flex-direction:row;"]),b=i.a.div.withConfig({displayName:"styles__LiveFlagAndTimestampContainer",componentId:"sc-1ipxqw1-5"})(["display:flex;align-items:center;flex-direction:row;"]),g=i.a.div.withConfig({displayName:"styles__ArticleFlagBullet",componentId:"sc-1ipxqw1-6"})(["border-radius:2.5px;height:5px;width:5px;background-color:",";"],e=>{let o=e.color;return Object(m.gqlRgbaToStyle)(o)||o}),y=i.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 o=e.color;return Object(m.gqlRgbaToStyle)(o)||o}),k=i.a.div.withConfig({displayName:"styles__FlagPadding",componentId:"sc-1ipxqw1-8"})(["margin-right:",";"],e=>e.allFlags.length>1?"15px":0),v=i.a.div.withConfig({displayName:"styles__Flags",componentId:"sc-1ipxqw1-9"})(["display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;"]),w=i.a.div.withConfig({displayName:"styles__FlagsContainer",componentId:"sc-1ipxqw1-10"})(["margin-bottom:15px;margin-top:5px;"]);var x=n(6),j=n.n(x),O=n(7),z=n.n(O),S=n(13),_=n.n(S);const E=i.a.div.withConfig({displayName:"styles__Container",componentId:"sc-340u2v-0"})(["display:flex;flex-direction:column;padding-left:8px;"]),C=i.a.div.withConfig({displayName:"styles__TimeSinceUpdate",componentId:"sc-340u2v-1"})(["color:",";font-family:",";font-size:14px;line-height:16px;"],e=>e.color||s.colours.functional.primary,s.fonts.supporting),P=e=>{let o=e.updatedTime,t=e.color;if(!o)return null;const n=new Date,r=new Date(o),c=z()(r,n,{roundingMethod:"floor"})+" ago",i=j()(n,r),s=i<60,m=i<46800;return a.a.createElement(E,null,!s&&m?a.a.createElement(C,{color:t,"data-testId":"MinutesHoursSinceUpdate"},"Updated ".concat(c)):m?null:a.a.createElement(C,{color:t,"data-testId":"DateTimeUpdated"},"Updated ",_()(r,"MMMM d, "),_()(r,"h.mmaaa")))},I=Object(r.createContext)(void 0),T=e=>{let o=e.updatedTime,t=e.children;return a.a.createElement(I.Provider,{value:o},t)},A=e=>{let o=e.title,t=e.timeStampTextColor;const n=Object(r.useContext)(I);return a.a.createElement(b,null,a.a.createElement(l,null,a.a.createElement(p,null,a.a.createElement(h,null)),a.a.createElement(u,null,o)),a.a.createElement(P,{updatedTime:n,color:t}))},N=e=>{let o=e.color;return a.a.createElement(A,{timeStampTextColor:o,title:"LIVE"})},D=e=>{let o=e.color;return a.a.createElement(A,{timeStampTextColor:o,title:"BREAKING"})};var q=n(14),R=n.n(q);function M(e,o,t){return Object(r.useEffect)(()=>{let n;return null!==e&&(n="undefined"!=typeof window&&window.IntersectionObserver&&new window.IntersectionObserver(e=>{e[0].isIntersecting&&(n&&n.disconnect(),o&&o())},t)||void 0,n&&n.observe(e)),()=>{n&&n.disconnect()}},[e])}function F(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function L(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function B(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const H=a.a.createContext({context:{}}),U=()=>Object(r.useContext)(H),W=e=>{let o=e.children,t=e.analyticsStream,n=e.context,c=e.scrolledEvent;const i=Object(r.useContext)(H),s=void 0!==t?t:i.analyticsStream,m=R()({},i.context,n),l=e=>{const o=R()({},m,e,{attrs:{eventTime:(new Date).toISOString()}});s?s(o):console.error("no analytics stream to send to",o)},u=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return B(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?B(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(null),2),d=u[0],p=u[1];return c&&M(d,()=>l&&l(function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?F(Object(t),!0).forEach((function(o){L(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({action:"Scrolled"},c)),{threshold:.5}),a.a.createElement(H.Provider,{value:{fireAnalyticsEvent:l,context:m,analyticsStream:s}},"function"==typeof o?o({fireAnalyticsEvent:l,intersectObserverRef:p}):o)};var V=n(3),Y=n(8),G=n.n(Y);function $(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function X(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Z(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Z(e,o):void 0}}(e,o)||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 Z(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const K=Object(r.createContext)(void 0),J=e=>{let o=e.url,t=e.options,n=e.previewData,c=e.children;const i=X(Object(r.useState)(!1),2),s=i[0],m=i[1],l=X(Object(r.useState)(),2),u=l[0],d=l[1],p=X(Object(r.useState)(),2),h=p[0],f=p[1];return Object(r.useEffect)(()=>{s||(m(!0),function(){var e,r=(e=function*e(){try{if(n)return yield new Promise(e=>setTimeout(e,1500)),f(n),void m(!1);if(!o)throw new Error("must provide a Fetch url");{const e=yield G()(o,t),n=yield e.json();f(n),m(!1)}}catch(e){d(e instanceof Error?e.message:"unknown error"),m(!1)}},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){$(a,n,r,c,i,"next",e)}function i(e){$(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return r.apply(this,arguments)}}()())},[o,t,n]),a.a.createElement(K.Provider,{value:{loading:s,error:u,data:h}},c)},Q=()=>{const e=Object(r.useContext)(K);if(void 0===e)throw new Error("must be used within a FetchProvider");return e};var ee=n(15),oe=n.n(ee);const te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=e=>{let o=document.createElement("textarea");return o.innerHTML=e,o.value};let n={whiteList:o,stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},r=t(e);return oe()(r,n)},ne={"2:3":"150%","4:5":"125%","1:1":"100%","4:3":"75%","3:2":"66.66%","16:9":"56.25%"},re=i.a.div.withConfig({displayName:"styles__AspectRatioContainer",componentId:"sc-1lxnrk8-0"})(["",";"],e=>{let o=e.ratio;return o&&ne[o]&&Object(c.css)(["position:relative;overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}> img{position:absolute;width:100%;height:100%;object-fit:cover;}"],ne[o])}),ae=e=>{let o=e.ratio,t=e.children;return a.a.createElement(re,{ratio:o},t)};var ce=n(4);const ie=i.a.a.withConfig({displayName:"styles__Link",componentId:"spl816-0"})(["display:flex;flex-direction:row;margin-top:16px;color:#bf0000;fill:#bf0000;:hover{color:",";fill:",";}"],s.colours.functional.secondary,s.colours.functional.secondary),se=i.a.div.withConfig({displayName:"styles__LinkText",componentId:"spl816-1"})(["margin-top:1px;margin-right:12px;font-family:",";font-size:15px;"],s.fonts.supporting),me=e=>{let o=e.link,t=e.linkText,n=e.onClick;return a.a.createElement(ie,{href:o,onClick:()=>n&&n(t)},a.a.createElement(se,null,t),a.a.createElement(ce.IconForwardChevron,{height:18,width:8}))},le=i.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%;}"],s.breakpoints.medium,s.breakpoints.wide),ue=i.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;"],s.fonts.supporting,e=>{let o=e.sectionColour;return"".concat(o)}),de=i.a.div.withConfig({displayName:"common-styles__HiddenDiv",componentId:"sc-14ch98m-2"})(["display:none;"]),pe=i.a.div.withConfig({displayName:"common-styles__Copy",componentId:"sc-14ch98m-3"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],s.colours.functional.secondary,s.fonts.body),he=i.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){}"],s.breakpoints.medium),fe=i.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 o=e.showAll,t=e.maxHeight,n=e.displayShowAll;return!o&&n?t+"px":"none"}),be=i.a.div.withConfig({displayName:"common-styles__ShowAllContainer",componentId:"sc-14ch98m-6"})(["display:flex;border-top:1px solid ",";padding:5px;justify-content:center;display:",";"],s.colours.functional.keyline,e=>e.displayShowAll?"flex":"none"),ge=i.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;}"],s.fonts.headline,s.colours.functional.brandColour,s.breakpoints.medium),ye=i.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:",";}"],s.fonts.supporting,s.colours.functional.primary,s.colours.functional.action,s.colours.functional.action),ke=i.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 o=e.sectionColour;return"2px solid ".concat(o)},s.breakpoints.medium,s.breakpoints.wide),ve=i.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;}"],s.breakpoints.medium),we=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"e5otdw-2"})(["display:flex;flex-direction:column;justify-content:space-between;@media (min-width:","px){width:",";}"],s.breakpoints.medium,e=>e.hasImage?"50%":"100%"),xe=i.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,s.fonts.supporting),je=i.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:",";}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.wide,e=>e.hasImage?"24px":"28px",e=>e.hasImage?"24px":"28px"),Oe=i.a.div.withConfig({displayName:"styles__Copy",componentId:"e5otdw-5"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],s.colours.functional.secondary,s.fonts.body),ze={attrs:{event_navigation_name:"in-article component displayed : puff",event_navigation_browsing_method:"scroll"}},Se=e=>{let o=e.sectionColour,t=e.forceImageAspectRatio;const n=e.isLiveOrBreaking||"no flag",r=(e,o)=>{e&&e(((e,o)=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click",article_flag:o}}))(o,n))},c=Q(),i=c.loading,s=c.error,m=c.data;if(i)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(s||void 0===m||0===m.body.data.length)return null;const l=m.body.data[0].data,u=l.image,d=l.label,p=l.headline,h=l.copy,f=l.link,b=l.linkText,g=Boolean(u);return a.a.createElement(W,{context:{object:"InArticlePuff",attrs:{component_type:"in-article component : puff : interactive",event_navigation_action:"navigation",component_name:"".concat(p),article_flag:n}},scrolledEvent:ze},e=>{let n=e.fireAnalyticsEvent,c=e.intersectObserverRef;return a.a.createElement(ke,{ref:c,sectionColour:o},u?a.a.createElement(ve,null,a.a.createElement("a",{href:f,onClick:()=>r(n,"image")},a.a.createElement(ae,{ratio:t},a.a.createElement("img",{src:u})))):null,a.a.createElement(we,{hasImage:g},a.a.createElement("div",null,a.a.createElement(xe,{hasImage:g,sectionColour:o},d),a.a.createElement("a",{href:f,onClick:()=>r(n,"headline")},a.a.createElement(je,{hasImage:g},p)),h&&a.a.createElement(Oe,{dangerouslySetInnerHTML:{__html:te(h,{b:{},i:{}})}})),a.a.createElement(me,{link:f,linkText:b||"Read more",onClick:()=>r(n,b||"Read more")})))})};var _e=n(9),Ee=n.n(_e);const Ce=i.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;}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.breakpoints.wide),Pe=i.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;}"],s.colours.functional.brandColour,s.fonts.headlineRegular,s.breakpoints.medium),Ie=i.a.div.withConfig({displayName:"styles__BodyCopy",componentId:"w8icgs-2"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],s.colours.functional.secondary,s.fonts.body),Te=i.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;}"],s.breakpoints.medium),Ae=i.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"w8icgs-4"})(["display:flex;flex-direction:row;align-items:center;"]),Ne=i.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?s.colours.functional.keyline:s.colours.functional.primary,e=>e.disabled?"none":"auto",e=>e.disabled?s.colours.functional.keyline:s.colours.functional.primary,e=>e.disabled?s.colours.functional.keyline:s.colours.functional.action,e=>e.disabled?s.colours.functional.keyline:s.colours.functional.action),De=i.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"w8icgs-6"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),qe=i.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?s.colours.functional.action:s.colours.functional.keyline),Re=i()(Ee.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;}"]),Me=i.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;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},e=>{let o=e.isWide,t=e.isStandard;return(o?"100%":t&&"auto")||"auto"},s.breakpoints.medium,e=>{let o=e.isWide,t=e.isStandard;return(o?"100%":t&&"80.8%")||"80.8%"},s.breakpoints.wide,e=>{let o=e.isWide,t=e.isStandard;return(o?"100%":t&&"56.2%")||"56.2%"},s.colours.functional.keyline),Fe=i.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;"],s.colours.functional.backgroundPrimary),Le=i.a.div.withConfig({displayName:"styles__CardContent",componentId:"w8icgs-11"})(["display:flex;flex-direction:column;height:100%;"]),Be=i.a.div.withConfig({displayName:"styles__InfoCardContainer",componentId:"w8icgs-12"})(["padding:0 16px;float:left;width:100%;"]),He=i.a.img.withConfig({displayName:"styles__CardImg",componentId:"w8icgs-13"})(["padding:4px 0 12px;-webkit-user-drag:none;pointer-events:none;}"]),Ue=e=>{let o=e.sectionColour,t=e.label,n=e.headline,r=e.children;return a.a.createElement(Fe,null,a.a.createElement(Le,null,a.a.createElement(ue,{sectionColour:o},t),a.a.createElement(Te,null,a.a.createElement(Ce,null,n),r)))},We=e=>{let o=e.size,t=void 0===o?{width:"16",height:"16"}:o;return a.a.createElement("svg",{width:t.width,height:t.height,xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M7.29 12.956L3.903 7.049 7.289.97h-.96L.697 7.013l5.632 5.943z",fillRule:"nonzero"}))};function Ve(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ye(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ye(e,o):void 0}}(e,o)||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 Ye(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var Ge;!function(e){e.Standard="4043",e.Wide="4042"}(Ge||(Ge={}));let $e=new Array;const Xe=s.breakpoints.small,Ze=s.breakpoints.medium,Ke=s.breakpoints.wide,Je=e=>{let o=e.activePage,t=e.onClick,n=e.current,r=e.data,c=e.showDisplayItem,i=e.windowWidth,s=e.showDotItem;return a.a.createElement(Ae,null,a.a.createElement(Ne,{"data-testid":"Previous button",disabled:0===o,onClick:()=>t(n/c-1,"left")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})),a.a.createElement(De,null,r.map((e,n)=>{if(function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e),n<s){const e=o===n;return a.a.createElement(qe,{"data-testid":"Page Indicator",key:n,onClick:()=>t(n),active:e})}})),a.a.createElement(Ne,{"data-testid":"Next Button",disabled:o===Math.trunc(r.length/c-(Ze>i?1:0)),className:"nextBtn",onClick:()=>t(n/c+1,"right")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})))},Qe=e=>{let o=e.sectionColour,t=e.initialIndex,n=void 0===t?0:t;const c=Q(),i=c.loading,s=c.error,m=c.data;if(s)return null;if(i||void 0===m)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));const l=m.fields,u=l.headline,d=l.label,p=l.size,h=m.body.data,f=e=>e===Ge.Standard,b=e=>e===Ge.Wide,g=Ve(Object(r.useState)("undefined"!=typeof window?window.innerWidth:0),2),y=g[0],k=g[1],v=Ve(Object(r.useState)(1),2),w=v[0],x=v[1],j=y.toString(),O=()=>k(window.innerWidth);Object(r.useEffect)(()=>(window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O)}),[]),Object(r.useEffect)(()=>{S()});const z=[{width:Xe,itemsToShow:1,itemsToScroll:1}];b(p)&&($e=[...z,{width:Ze,itemsToShow:2,itemsToScroll:2},{width:Ke,itemsToShow:3,itemsToScroll:3}]),f(p)&&($e=[...z,{width:Xe+55,itemsToShow:2,itemsToScroll:2}]);const S=()=>{j<Ze?x($e[0].itemsToScroll):j>=Ke&&b(p)?x($e[2].itemsToScroll):x($e[1].itemsToScroll)},_=h.length/w,E=h.length>(j>=Ke&&b(p)?3:j<Ze?1:2),C=Ve(Object(r.useState)(n),2),P=C[0],I=C[1],T=e=>{I(e.index)};return a.a.createElement(W,{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(u)}},scrolledEvent:{attrs:{component_type:"in-article component : text-image info cards : "+(_>1?"interactive":"static"),event_navigation_name:"in-article component displayed : text-image info cards",event_navigation_browsing_method:"scroll"}}},e=>{let t=e.intersectObserverRef,n=e.fireAnalyticsEvent;return a.a.createElement(Me,{sectionColour:o,isWide:b(p),isStandard:f(p),ref:t},a.a.createElement(Re,{sectionColour:o,breakPoints:$e,isRTL:!1,onChange:T,showArrows:!1,enableSwipe:E,renderPagination:e=>{let t=e.activePage,r=e.onClick;return a.a.createElement(Ue,{data:h[P],headline:u,label:d,sectionColour:o},E&&a.a.createElement(Je,{activePage:t,onClick:(e,o)=>{o&&n({attrs:{event_navigation_name:"button : ".concat(o),component_name:u}}),r&&r(e)},current:P,data:h,showDisplayItem:w,windowWidth:y.toString(),showDotItem:_}))}},h.map((e,o)=>a.a.createElement(Be,{key:o},e.data.image&&a.a.createElement(ae,{ratio:"16:9"},a.a.createElement(He,{src:e.data.image})),e.data.subtitle&&a.a.createElement(Pe,null,e.data.subtitle),e.data.copy&&a.a.createElement(Ie,{dangerouslySetInnerHTML:{__html:te(e.data.copy,{br:{},b:{},i:{}})}})))))})},eo=i.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:",";}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"32px":"24px",e=>e.isWide?"32px":"24px",e=>e.isWide?"0px":"14px"),oo=i.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;}"],s.breakpoints.medium),to=i.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;}"],s.fonts.body,s.breakpoints.wide,e=>e.isWide?"60%":"100%"),no=i.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:",";}"],s.fonts.headlineRegular,s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"24px":"18px",e=>e.isWide?"24px":"18px"),ro=i.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:",";}"],s.fonts.supporting,s.colours.functional.secondary,s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"8px":"14px"),ao=i.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:",";}"],s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"30%":"auto",e=>{let o=e.isWide,t=e.isSmall;return(o?"100%":t&&"36%")||"33%"},e=>e.isWide?"20px 16px 16px 16px":"20px 16px"),co=i.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"d49zf9-6"})(["display:flex;flex-direction:row;align-items:center;"]),io=i.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"),so=i.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"d49zf9-8"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),mo=i.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"),lo=i.a.div.withConfig({displayName:"styles__CardContent",componentId:"d49zf9-10"})(["display:flex;flex-direction:column;height:100%;"]),uo=i.a.div.withConfig({displayName:"styles__MobileOrLarge",componentId:"d49zf9-11"})(["display:block;@media (min-width:","px){display:",";}"],s.breakpoints.wide,e=>e.isWide?"block":"none"),po=i.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;}"],s.breakpoints.wide,e=>e.isWide?"none":"flex"),ho=i.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"d49zf9-13"})(["background-color:#f9f9f9;border-top:",";flex-direction:",";@media (min-width:","px){width:",";}"],e=>{let o=e.sectionColour;return"2px solid ".concat(o)},e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse",s.breakpoints.wide,e=>e.isSmall?"82.1%":"100%"),fo=i()(Ee.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:",";}"],s.breakpoints.medium,e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse"),bo=e=>{let o=e.children,t=e.isWide,n=e.data,r=e.headline,c=e.label,i=e.isSmall,s=e.sectionColour;const m=n.data;return a.a.createElement(ao,{isWide:t,isSmall:i},a.a.createElement(lo,null,a.a.createElement(ue,{sectionColour:s},c),a.a.createElement(oo,null,a.a.createElement(eo,{isWide:t},r),a.a.createElement(uo,{isWide:t},o)),a.a.createElement(po,{isWide:t},a.a.createElement("div",null,m.imageTitle&&a.a.createElement(no,{isWide:t},m.imageTitle),m.copy&&a.a.createElement(to,{isWide:t,dangerouslySetInnerHTML:{__html:te(m.copy,{br:{},b:{},i:{}})}})),a.a.createElement("div",null,a.a.createElement(ro,{isWide:t},m.credit),o))))};function go(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const yo=e=>{let o=e.activePage,t=e.onClick,n=e.current,r=e.data;return a.a.createElement(co,null,a.a.createElement(io,{"data-testid":"Previous button",disabled:0===o,onClick:()=>t(n-1,"left")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})),a.a.createElement(so,null,r.map((e,n)=>{!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);const r=o===n;return a.a.createElement(mo,{"data-testid":"Page Indicator",key:n,onClick:()=>t(n),active:r})})),a.a.createElement(io,{"data-testid":"Next Button",disabled:o===r.length-1,className:"nextBtn",onClick:()=>t(n+1,"right")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})))};var ko;!function(e){e.Small="4033",e.Wide="4035"}(ko||(ko={}));const vo=e=>{let o=e.sectionColour,t=e.initialIndex,n=void 0===t?0:t;const c=Q(),i=c.loading,s=c.error,m=c.data;if(i)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(s||void 0===m||0===m.body.data.length)return null;const l=m.fields,u=l.headline,d=l.label,p=l.size,h=m.body.data,f=e=>e===ko.Small,b=e=>e===ko.Wide,g=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return go(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?go(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(n),2),y=g[0],k=g[1],v=e=>{k(e.index)};return a.a.createElement(W,{context:{object:"GalleryCarousel",attrs:{component_type:"in-article component : gallery : interactive",event_navigation_action:"navigation",component_name:"".concat(u)}},scrolledEvent:{attrs:{event_navigation_name:"in-article component displayed : gallery",event_navigation_browsing_method:"scroll"}}},e=>{let t=e.intersectObserverRef,n=e.fireAnalyticsEvent;return a.a.createElement(ho,{sectionColour:o,isWide:b(p),isSmall:f(p),ref:t},a.a.createElement(fo,{sectionColour:o,isWide:b(p),itemsToScroll:1,itemsToShow:1,isRTL:!1,onChange:v,showArrows:!1,renderPagination:e=>{let t=e.activePage,r=e.onClick;return a.a.createElement(bo,{isWide:b(p),data:h[y],headline:u,label:d,isSmall:f(p),sectionColour:o},h.length>1&&a.a.createElement(yo,{activePage:t,onClick:(e,o)=>{o&&n({attrs:{event_navigation_name:"button : ".concat(o),component_name:u,event_navigation_browsing_method:"click"}}),r&&r(e)},current:y,data:h}))}},h.map(e=>a.a.createElement("div",{style:{width:"100%"}},a.a.createElement(ae,{ratio:"3:2"},a.a.createElement("img",{src:e.data.image}))))),a.a.createElement(uo,{isWide:b(p)},a.a.createElement("div",{style:{paddingLeft:"16px",paddingRight:"16px"}},a.a.createElement(ro,{isWide:b(p)},h[y].data.credit),h[y].data.imageTitle&&a.a.createElement(no,{isWide:b(p)},h[y].data.imageTitle),h[y].data.copy&&a.a.createElement(to,{isWide:b(p),dangerouslySetInnerHTML:{__html:te(h[y].data.copy,{br:{},b:{},i:{}})}}))))})},wo=i.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%;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},s.breakpoints.medium,s.breakpoints.wide),xo=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwze61-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 20px;"]),jo=i.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;}"],s.fonts.headline,s.colours.functional.brandColour,s.breakpoints.medium),Oo=i.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;}"],s.colours.functional.keyline,e=>e.readMore?"0":"15px",e=>e.showReadMore?"flex":"none",s.breakpoints.medium),zo=i.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:",";}"],s.fonts.supporting,s.colours.functional.primary,s.colours.functional.action,s.colours.functional.action),So=i.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 o=e.readMore,t=e.maxHeight,n=e.showReadMore;return!o&&n?t+"px":"none"},s.breakpoints.medium),_o=i.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;}"],s.colours.functional.keyline,s.breakpoints.medium),Eo=i.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%;}"],s.colours.functional.secondary,s.fonts.body,s.colours.functional.primary);function Co(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Po(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Po(e,o):void 0}}(e,o)||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 Po(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Io={attrs:{event_navigation_name:"in-article component displayed : bullet point component",event_navigation_browsing_method:"automated"}},To=s.breakpoints.medium,Ao=e=>{let o=e.sectionColour;const t=Q(),n=t.loading,c=t.error,i=t.data;if(n)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(c||void 0===i)return null;const s=i.fields,m=s.headline,l=s.label,u=i.body.data,d=Co(Object(r.useState)(!1),2),p=d[0],h=d[1],f=Object(r.useRef)(null),b=Co(Object(r.useState)(!1),2),g=b[0],y=b[1],k=window.innerWidth.toString();return Object(r.useEffect)(()=>{const e=f.current;e&&y(e.clientHeight>350)},[]),a.a.createElement(W,{context:{object:"InArticleBulletPoint",attrs:{component_type:"in-article component : bullet point component: "+(g&&k<To?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(m)}},scrolledEvent:Io},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(wo,{ref:n,sectionColour:o},a.a.createElement(xo,null,a.a.createElement(ue,{sectionColour:o},l),a.a.createElement(jo,null,m),a.a.createElement(So,{ref:f,readMore:p,maxHeight:350,showReadMore:g},a.a.createElement(_o,null,u.map((e,o)=>a.a.createElement(Eo,{key:o,dangerouslySetInnerHTML:{__html:te(e.data.copy,{b:{},i:{}})}}))))),a.a.createElement(Oo,{readMore:p,showReadMore:g},a.a.createElement(zo,{onClick:()=>((e,o)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(o)),h(!p)})(t,p?"Collapse":"Read more")},p?"Collapse":"Read more")))})},No=i.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;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},e=>e.isWide?"100%":"auto",s.breakpoints.medium,e=>e.isWide?"100%":"80.8%",s.breakpoints.wide,e=>e.isWide?"100%":"56.2%"),Do=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1tqomyo-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),qo=i()(ye).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1tqomyo-2"})(["font-size:12px;margin:15px 0;padding:8px 12px 7px;"]),Ro=i.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 ",";}"],s.colours.functional.keyline,s.breakpoints.medium,e=>e.isStandard?"50%":"33%"),Mo=i.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;}"],s.fonts.headline,e=>{let o=e.sectionColour;return"".concat(o)},s.breakpoints.medium);var Fo;!function(e){e.Standard="4043",e.Wide="4042"}(Fo||(Fo={}));const Lo=e=>e===Fo.Wide;function Bo(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ho(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ho(e,o):void 0}}(e,o)||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 Ho(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Uo={attrs:{event_navigation_name:"in-article component displayed : big numbers",event_navigation_browsing_method:"scroll"}},Wo=e=>{let o=e.sectionColour;const t=Q(),n=t.loading,c=t.error,i=t.data;if(n)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(c||void 0===i)return null;const s=i.fields,m=s.headline,l=s.label,u=s.size,d=i.body.data,p=Bo(Object(r.useState)(!1),2),h=p[0],f=p[1],b=Object(r.useRef)(null),g=Bo(Object(r.useState)(!1),2),y=g[0],k=g[1],v=Lo(u)?250:350;return Object(r.useEffect)(()=>{const e=b.current;e&&k(e.clientHeight>v)},[]),a.a.createElement(W,{context:{object:"InArticleBigNumbers",attrs:{component_type:"in-article component : big numbers: "+(y?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(m)}},scrolledEvent:Uo},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(No,{ref:n,sectionColour:o,isWide:Lo(u)},a.a.createElement(Do,null,a.a.createElement(ue,{sectionColour:o},l),m&&a.a.createElement(ge,null,m),a.a.createElement(fe,{ref:b,showAll:h,maxHeight:v,displayShowAll:y},a.a.createElement(he,null,d.map((e,t)=>{return a.a.createElement(Ro,{key:t,isStandard:(n=u,n===Fo.Standard)},a.a.createElement(Mo,{sectionColour:o},e.data.number),a.a.createElement(pe,{dangerouslySetInnerHTML:{__html:te(e.data.copy,{br:{},b:{},i:{}})}}));var n})))),a.a.createElement(be,{showAll:h,displayShowAll:y},a.a.createElement(qo,{onClick:()=>((e,o)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(o)),f(!h)})(t,h?"Collapse":"Show all")},h?"Collapse":"Show all")))})};var Vo=e=>e?e.filter(e=>null===e.expiryTime||(new Date).getTime()<new Date(e.expiryTime).getTime()):[];const Yo=e=>{let o=e.color,t=void 0===o?s.colours.functional.primary:o,n=e.title;return a.a.createElement(f,null,a.a.createElement(g,{color:t}),a.a.createElement(y,{"aria-label":"".concat(n," Flag"),color:t,"data-testid":"flag-".concat(n)},n.toLowerCase()))},Go=e=>{let o=e.color,t=void 0===o?s.colours.functional.articleFlagNew:o;return a.a.createElement(Yo,{color:t,title:"new"})},$o=e=>{let o=e.color,t=void 0===o?s.colours.functional.articleFlagUpdated:o;return a.a.createElement(Yo,{color:t,title:"updated"})},Xo=e=>{let o=e.color,t=void 0===o?s.colours.functional.articleFlagExclusive:o;return a.a.createElement(Yo,{color:t,title:"exclusive"})},Zo=e=>{let o=e.color,t=void 0===o?s.colours.functional.tertiary:o;return a.a.createElement(Yo,{color:t,title:"sponsored"})},Ko=e=>{let o=e.color,t=void 0===o?s.colours.functional.secondary:o;return a.a.createElement(Yo,{color:t,title:"long read"})},Jo=e=>{let o=e.allFlags,t=e.overrideColor,n=void 0===t?"":t;return a.a.createElement(v,null,o.map(e=>a.a.createElement(k,{key:e.type,allFlags:o},function(){let e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==o&&(e={color:o}),new Map([["NEW",a.a.createElement(Go,Object.assign({},e))],["LIVE",a.a.createElement(N,Object.assign({},e))],["BREAKING",a.a.createElement(D,Object.assign({},e))],["UPDATED",a.a.createElement($o,Object.assign({},e))],["EXCLUSIVE",a.a.createElement(Xo,Object.assign({},e))],["SPONSORED",a.a.createElement(Zo,Object.assign({},e))],["LONGREAD",a.a.createElement(Ko,Object.assign({},e))]])}(n).get(e.type))))},Qo=e=>{let o=e.flags,t=void 0===o?[]:o,n=e.longRead,r=void 0!==n&&n,c=e.withContainer,i=void 0!==c&&c,s=e.color,m=void 0===s?"":s;const l=[...Vo(t),...r?[{expiryTime:null,type:"LONGREAD"}]:[]];return l.length?i?a.a.createElement(w,null,a.a.createElement(Jo,{allFlags:l,overrideColor:m})):a.a.createElement(Jo,{allFlags:l,overrideColor:m}):null},et=i.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;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},s.breakpoints.medium,s.breakpoints.wide),ot=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwfd1c-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),tt=i()(ye).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1qwfd1c-2"})(["font-size:13px;margin:11px 0;padding:12px 15px 10px;"]),nt=i.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwfd1c-3"})(["padding:12px 0 13px;width:100%;position:relative;"]),rt=i.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 o=e.sectionColour;return"".concat(o)},e=>e.circularImage?"none":"block",e=>e.circularImage?"60px":"20px",e=>e.circularImage?"42px":"19px",s.breakpoints.medium,e=>e.circularImage?"100px":"39px",e=>e.circularImage?"16px":"24px",e=>e.circularImage?"74px":"20px",e=>e.circularImage?"52px":"19px"),at=i.a.div.withConfig({displayName:"styles__RightPanel",componentId:"sc-1qwfd1c-5"})(["display:grid;"]),ct=i.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:",";"],s.fonts.supporting,e=>{let o=e.sectionColour;return"".concat(o)}),it=i.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;}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium);function st(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return mt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?mt(e,o):void 0}}(e,o)||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 mt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const lt={attrs:{event_navigation_name:"in-article component displayed : timelines",event_navigation_browsing_method:"scroll"}},ut=e=>{let o=e.sectionColour;const t=Q(),n=t.loading,c=t.error,i=t.data;if(n)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(c||void 0===i)return null;const s=i.fields,m=s.headline,l=s.label,u=i.body.data,d=st(Object(r.useState)(!1),2),p=d[0],h=d[1],f=Object(r.useRef)(null),b=st(Object(r.useState)(!1),2),g=b[0],y=b[1];return Object(r.useEffect)(()=>{const e=f.current;e&&y(e.clientHeight>375)},[]),a.a.createElement(W,{context:{object:"InArticleTimelines",attrs:{component_type:"in-article component : timelines: "+(g?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(m)}},scrolledEvent:lt},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(et,{ref:n,sectionColour:o},a.a.createElement(ot,null,a.a.createElement(ue,{sectionColour:o},l),m&&a.a.createElement(ge,null,m),a.a.createElement(fe,{ref:f,showAll:p,maxHeight:375,displayShowAll:g},a.a.createElement(he,null,u.map((e,t)=>a.a.createElement(nt,{key:t},a.a.createElement(rt,{sectionColour:o,circularImage:e.data.image},e.data.image&&a.a.createElement("img",{src:e.data.image})),a.a.createElement(at,null,a.a.createElement(ct,{sectionColour:o},e.data.date),a.a.createElement(it,null,e.data.eventHeading),a.a.createElement(pe,{dangerouslySetInnerHTML:{__html:te(e.data.copy,["br","b","i"])}}))))))),a.a.createElement(be,{showAll:p,displayShowAll:g},a.a.createElement(tt,{onClick:()=>((e,o)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(o)),h(!p)})(t,p?"Collapse":"Show all")},p?"Collapse":"Show all")))})},dt=i.a.div.withConfig({displayName:"styles__IconContainer",componentId:"qq20og-0"})(["width:40px;height:40px;display:flex;align-items:center;justify-content:center;"]),pt=i()(ce.IconActivityIndicator).withConfig({displayName:"styles__LoadingIcon",componentId:"qq20og-1"})(["background-color:",";border-radius:9999;overflow:hidden;"],s.colours.functional.whiteGrey),ht=i.a.div.withConfig({displayName:"styles__SaveStarText",componentId:"qq20og-2"})(["margin-right:15px;color:",";font-family:",";font-size:14px;line-height:14px;"],s.colours.functional.secondary,s.fonts.supporting),ft=i.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:",";}"],s.colours.functional.white,s.colours.functional.whiteGrey,s.colours.functional.keyline),bt=e=>e?"Saved":"Save",gt=e=>e?s.colours.functional.action:s.colours.functional.white,yt=e=>{let o=e.articleId,t=e.onToggleSave,n=e.loading,r=e.error,c=e.data;return n?a.a.createElement(a.a.Fragment,null,a.a.createElement(ht,null,bt(!1)),a.a.createElement(dt,null,a.a.createElement(pt,null))):r||!c?null:a.a.createElement(a.a.Fragment,null,a.a.createElement(ht,null,bt(c.isBookmarked)),a.a.createElement(ft,{onClick:()=>t(o,c.isBookmarked)},a.a.createElement(dt,null,a.a.createElement(ce.IconStar,{height:18,title:(i=c.isBookmarked,i?"Remove from My Articles":"Save to My Articles"),fillColour:gt(c.isBookmarked),strokeColour:s.colours.functional.secondary}))));var i},kt=a.a.memo(e=>{let o=e.children;const t=Q();return a.a.createElement(a.a.Fragment,null,a.a.isValidElement(o)&&a.a.cloneElement(o,t))});function vt(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return wt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wt(e,o):void 0}}(e,o)||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 wt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const xt=a.a.memo(e=>{let o=e.articleId,t=e.isPreviewMode,n=e.children;const c=vt(Object(r.useState)("/api/collections/is-bookmarked/".concat(o)),2),i=c[0],s=c[1],m=vt(Object(r.useState)(t?{isBookmarked:!1}:void 0),2),l=m[0],u=m[1],d=Object(r.useMemo)(()=>({credentials:"same-origin"}),[]),p=Object(r.useCallback)((e,o)=>{t?u({isBookmarked:!o}):s(o?"/api/collections/delete/".concat(e):"/api/collections/save/".concat(e))},[]),h=n?Object(r.cloneElement)(n,{articleId:o,onToggleSave:p}):a.a.createElement(yt,{articleId:o,onToggleSave:p});return a.a.createElement(J,{url:i,options:d,previewData:l},a.a.createElement(kt,null,h))}),jt="#006699",Ot="#01000d",zt="#696969",St="#aaaaaa",_t=i.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?Ot:zt,jt),Et=i.a.nav.withConfig({displayName:"styles__Breadcrumbs",componentId:"sc-1q1w5tj-1"})(["display:flex;"]),Ct=i.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1q1w5tj-2"})(["height:32px;display:flex;align-items:center;padding-inline:8px;"]);var Pt=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r.createElement("path",{fill:e.color,d:"m6.667 4-.94.94L8.78 8l-3.053 3.06.94.94 4-4-4-4Z"}));const It=e=>{let o=e.data;const t=(e,o)=>{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)}}))(o))};return a.a.createElement(W,null,e=>{let n=e.fireAnalyticsEvent;return a.a.createElement(Et,{"aria-label":"breadcrumbs"},o.map((e,o,r)=>o<r.length-1?a.a.createElement(a.a.Fragment,null,a.a.createElement(_t,{key:e.title,"aria-current":"false",href:e.url,selected:!1,onClick:()=>t(n,e.title)},e.title),a.a.createElement(Ct,null,a.a.createElement(Pt,{color:St}))):a.a.createElement(_t,{"aria-current":"page",key:e.title,href:e.url,selected:!0,onClick:()=>t(n,e.title)},e.title)))})};var Tt=e=>a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),a.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 At="#9f0000",Nt="#800000",Dt="#FFFFFF",qt="12px",Rt="8px",Mt=i.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:",";}"],At,Rt,qt,Dt,Nt,Nt),Ft=e=>{let o=e.label,t=e.handleClick;return a.a.createElement(Mt,{onClick:()=>t()},a.a.createElement(Tt,{"data-testid":"upward-arrow"}),o)};function Lt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Bt=e=>{let o=e.delay,t=e.initialState,n=e.children;const c=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Lt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Lt(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(t),2),i=c[0],s=c[1];return Object(r.useEffect)(()=>{setTimeout(()=>{s(!t)},o)},[]),a.a.createElement(a.a.Fragment,null,i?n:null)};function Ht(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function Ut(e){return function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){Ht(a,n,r,c,i,"next",e)}function i(e){Ht(a,n,r,c,i,"throw",e)}c(void 0)}))}}function Wt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Vt=e=>{let o=e.delay,t=e.display,n=e.label,c=e.handleClick,i=e.updatedTime,s=e.articleId,m=e.update,l=void 0!==m&&m;const u=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Wt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Wt(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(l),2),d=u[0],p=u[1];return Object(r.useEffect)(()=>{const e=function(){var e=Ut((function*(){try{const e=yield G()("/api/article-update-time/".concat(s));return(yield e.json()).article.publishedTime}catch(e){console.log(e)}}));return function(){return e.apply(this,arguments)}}(),o=setInterval(Ut((function*(){(yield e())>i&&p(!0)})),12e4);return()=>clearInterval(o)},[]),a.a.createElement(a.a.Fragment,null,d?a.a.createElement(Bt,{delay:o,initialState:t},a.a.createElement(Ft,{label:n,handleClick:c})):null)},Yt=i.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%;"]),Gt=i.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;}"],s.breakpoints.wide,s.breakpoints.medium),$t=i.a.div.withConfig({displayName:"styles__BannerContentWrapper",componentId:"mc8dye-2"})(["flex-direction:inherit;"]),Xt=i.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;}"],s.breakpoints.medium),Zt=i.a.div.withConfig({displayName:"styles__TitleWrapper",componentId:"mc8dye-4"})(["display:flex;align-items:center;width:100%;"]),Kt=i.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;}"],s.breakpoints.medium),Jt=i.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;}"],s.breakpoints.medium),Qt=i.a.button.withConfig({displayName:"styles__CloseIconWrapper",componentId:"mc8dye-7"})(["background:#fff;border:none;cursor:pointer;"]);var en=e=>{let o=e.width,t=void 0===o?24:o,n=e.height,r=void 0===n?24:n,c=e.color,i=void 0===c?"#000":c,s=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["width","height","color"]);return a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 14 14",fill:"none"},s),a.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:i}))};var on=e=>{let o=e.width,t=void 0===o?24:o,n=e.height,r=void 0===n?24:n,c=e.color,i=void 0===c?"#000":c,s=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["width","height","color"]);return a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 24 24",fill:"none"},s),a.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:i}))};const tn=e=>{let o=e.title,t=e.body,n=e.onClose;return a.a.createElement(Yt,null,a.a.createElement(Gt,{"aria-label":"Email verification banner"},a.a.createElement($t,{role:"region"},a.a.createElement(Xt,null,a.a.createElement(Zt,null,a.a.createElement(on,null),a.a.createElement(Kt,null,o)),a.a.createElement(Qt,{onClick:n},a.a.createElement(en,{width:14,height:14}))),a.a.createElement(Jt,null,t))))};var nn=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},r.createElement("path",{fill:"currentcolor",d:"M7.333 4.667h1.334V6H7.334V4.667ZM7.333 7.333h1.334v4H7.334v-4Z"}),r.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"})),r.createElement("g",{mask:"url(#a)"},r.createElement("path",{fill:"currentcolor",d:"M0 0h16v16H0z"})));const rn=i.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;"]),an=i.a.div.withConfig({displayName:"styles__Popover",componentId:"sc-170o5l5-1"})(["position:relative;display:inline-block;"]),cn=i.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"),sn=i.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;}"]),mn=i.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;}"]),ln=i.a.div.withConfig({displayName:"styles__Tooltip",componentId:"sc-170o5l5-5"})(["position:relative;display:inline-block;z-index:80;"]),un=i.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 dn=()=>a.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 14 14",fill:"none"},a.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 pn(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return hn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?hn(e,o):void 0}}(e,o)||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,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const fn=e=>{let o=e.contractualTitle;const t=pn(a.a.useState(!1),2),n=t[0],r=t[1];return a.a.createElement(a.a.Fragment,null,a.a.createElement(ln,null,a.a.createElement(un,{"data-testid":"Tooltip-context",isOpen:n},o),a.a.createElement(rn,{"aria-label":"See contractual title, button","data-testid":"Tooltip",onMouseOver:()=>r(!0),onMouseOut:()=>r(!1)},a.a.createElement(nn,null))))},bn=e=>{let o=e.contractualTitle;const t=pn(a.a.useState(!1),2),n=t[0],r=t[1],c=()=>{r(!n)};return a.a.createElement(a.a.Fragment,null,a.a.createElement(an,null,a.a.createElement(cn,{"data-testid":"Popover-context",isOpen:n},a.a.createElement(sn,null,a.a.createElement("div",null,o),a.a.createElement(mn,{"data-testid":"close-button",onClick:c},a.a.createElement(dn,null)))),a.a.createElement(rn,{"aria-label":"See contractual title, button","data-testid":"Popover",onClick:c},a.a.createElement(nn,null))))},gn=e=>{let o=e.contractualTitle;return e.isLargeDevice?a.a.createElement(fn,{contractualTitle:o,"data-testid":"Tooltip"}):a.a.createElement(bn,{contractualTitle:o,"data-testid":"Popover"})},yn=()=>"undefined"!=typeof window&&window.sessionStorage;function kn(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return vn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?vn(e,o):void 0}}(e,o)||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 vn(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function wn(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function xn(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?wn(Object(t),!0).forEach((function(o){jn(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function jn(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const On=(e,o)=>{const t=yn();if(t){const n=t.getItem("view-count"),r=xn(xn({},null!==n&&JSON.parse(n)||{}),{},{[e]:o});t.setItem("view-count",JSON.stringify(r))}},zn=e=>{const o=yn();if(o){const t=o.getItem("view-count"),n=null!==t&&JSON.parse(t);return n&&n[e]||1}return null},Sn=e=>{const o=zn(e);On(e,o+1)},_n=e=>{let o=e.displayFunction,t=void 0===o?()=>!0:o,n=e.trackingName,c=e.children;const i=kn(Object(r.useState)(),2),s=i[0],m=i[1],l=kn(Object(r.useState)(null),2),u=l[0],d=l[1];Object(r.useEffect)(()=>{const e=(e=>{const o=zn(e);return On(e,o),o})(n);m(e)},[]),M(u,()=>Sn&&Sn(n),{threshold:.5});const p="undefined"!=typeof window&&window.document.cookie.indexOf("nuk-consent-personalisation=1")>=0&&t(s);return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"view-count-observer",ref:d}),a.a.createElement("div",{className:"view-count",style:{display:p?"block":"none"}},c))};var En=n(16);const Cn=i.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;}"],s.fonts.supporting),Pn=i.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;}"],s.colours.functional.action,s.fonts.body),In=e=>{let o=e.updatingSubscription,t=void 0!==o&&o,n=e.onPress,r=e.style;const c=U().fireAnalyticsEvent,i=()=>{t||(n&&n(),c&&c({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?a.a.createElement(Cn,{onClick:()=>i()},"Sign up with one click"):a.a.createElement(Pn,{onClick:()=>i()},"Sign up with one click")};var Tn=n(17),An=n.n(Tn);const Nn=i.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;"]),Dn=i.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;"]),qn=i()(Nn).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 o=e.section;return o?s.colours.section[o]:"black"},Object(s.spacing)(2),Object(s.spacing)(4),Object(s.spacing)(2),s.breakpoints.medium,Object(s.spacing)(4),s.breakpoints.wide),Rn=i()(Dn).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;}"],s.colours.functional.action,s.fonts.body,Object(s.spacing)(3),s.breakpoints.wide),Mn=e=>{let o=e.onPress;return a.a.createElement(W,{scrolledEvent:{object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here : displayed",event_navigation_browsing_method:"automated"}}},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(An.a,{url:"https://home.thetimes.co.uk/myNews",onPress:()=>(o&&o(),void(t&&t({action:"Clicked",object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here",event_navigation_browsing_method:"click"}})))},a.a.createElement(m.HoverIcon,{underline:!0,colour:"#006699"},a.a.createElement(Rn,{ref:n},"Explore our newsletters")))})},Fn=i()(Nn).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;"]),Ln=i.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;}}"]),Bn=i()(Nn).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%;}"],s.breakpoints.wide),Hn=()=>a.a.createElement(Fn,null,a.a.createElement(Bn,null,a.a.createElement(Ln,null),a.a.createElement(Ln,null),a.a.createElement(Ln,null))),Un=i()(Nn).withConfig({displayName:"styles__InpSubscribedContainer",componentId:"sc-8h51gu-0"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding-right:150px;flex:1;}"],s.breakpoints.small),Wn=i()(Nn).withConfig({displayName:"styles__InpSignupContainer",componentId:"sc-8h51gu-1"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding:16px 10px;flex:1;}"],s.breakpoints.wide),Vn=i()(Dn).withConfig({displayName:"styles__InpSignupHeadline",componentId:"sc-8h51gu-2"})(["color:",";font-family:",";text-align:center;font-size:18px;text-decoration:none;margin-bottom:",";"],s.colours.functional.brandColour,s.fonts.headline,Object(s.spacing)(1)),Yn=i()(Dn).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;"],s.fonts.body,s.colours.functional.primary,Object(s.spacing)(6)),Gn=i()(Nn).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",s.breakpoints.medium,e=>"button"===e.childStyle&&"220px",s.breakpoints.wide,e=>"link"===e.childStyle?"inline-block":"none"),$n=i()(Nn).withConfig({displayName:"styles__InpPreferencesContainer",componentId:"sc-8h51gu-5"})(["flex-direction:row;justify-content:center;"]);function Xn(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Zn=e=>{let o=e.intersectObserverRef,t=e.section,n=e.headline,c=e.copy,i=e.code,s=e.subscribeNewsletter,m=e.loading,l=e.error;const u=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Xn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xn(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),d=u[0],p=u[1],h=e=>a.a.createElement(Gn,{ref:o,childStyle:e},a.a.createElement(In,{style:e,updatingSubscription:m,onPress:()=>{m||(p(!0),s("/api/subscribe-newsletter/".concat(i)))}}));return a.a.createElement(a.a.Fragment,null,a.a.createElement(qn,{section:t},m&&a.a.createElement(Hn,null),!l&&d&&a.a.createElement(Un,null,a.a.createElement(Yn,null,"You've succesfully signed up to"," ",a.a.createElement(Vn,null,"".concat(n,".")," "),a.a.createElement(Mn,null)),a.a.createElement($n,null)),l&&a.a.createElement(Un,null,a.a.createElement(Yn,null,"An error occurred. Please use the link below.",a.a.createElement(Mn,null)),a.a.createElement($n,null)),!d&&!l&&a.a.createElement(Wn,null,a.a.createElement(Yn,null,a.a.createElement(Vn,null,n," "),"".concat(c," "),h("link")),h("button"))))};function Kn(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Jn=e=>{let o=e.code,t=e.copy,n=e.headline,c=e.section;const i=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Kn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Kn(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)("/api/is-subscribed-newsletter/".concat(o)),2),s=i[0],l=i[1],u=Object(r.useMemo)(()=>({credentials:"same-origin"}),[]);return a.a.createElement(En.GetNewsletter,{code:o,ssr:!1,debounceTimeMs:0},e=>{let r=e.isLoading,i=e.error,d=e.newsletter;return i?null:r||!d?a.a.createElement(qn,null,a.a.createElement(V.Placeholder,null)):d.isSubscribed?null:a.a.createElement(J,{url:s,options:u},a.a.createElement(W,{context:{object:"InlineNewsletterPuff",attrs:{article_parent_name:d.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 r=e.intersectObserverRef;return a.a.createElement(kt,null,a.a.createElement(Zn,{intersectObserverRef:r,section:Object(m.capitalise)(c),headline:n,copy:t,code:o,subscribeNewsletter:l}))}))})},Qn=e=>{let o=e.code,t=e.copy,n=e.headline,r=e.section;return a.a.createElement(_n,{trackingName:"auto-puff-".concat(o),displayFunction:e=>void 0!==e&&[1,3,5].includes(e)},a.a.createElement(Jn,{code:o,copy:t,headline:n,section:r}))},er=e=>{let o=e.copy,t=e.headline,n=e.section;return a.a.createElement(qn,{section:n},a.a.createElement(Wn,null,a.a.createElement(Yn,null,a.a.createElement(Vn,null,t," "),o,a.a.createElement(Gn,{childStyle:"link"},a.a.createElement(In,{style:"link"}))),a.a.createElement(Gn,{childStyle:"button"},a.a.createElement(In,{style:"button"}))))},or=()=>{"undefined"==typeof window||window.opta_settings||(window.opta_settings={subscription_id:"db98cff9f9612c01bbf3435964748e95",language:"en_GB",timezone:"Europe/London",load_when_visible:!1})},tr=e=>{const o=(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(o,'"]'))){const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",o),document.getElementsByTagName("head")[0].appendChild(e)}},nr=()=>(e=>document.body.querySelector('script[src="'.concat(e,'"]'))?Promise.resolve():new Promise((o,t)=>{const n=document.createElement("script");n.setAttribute("async","async"),n.setAttribute("src",e),n.onload=o,n.onerror=t,document.body.appendChild(n)}))("https://secure.widget.cloud.opta.net/v3/v3.opta-widgets.js"),rr=(e,o,t)=>{const n=document.createElement(e);return o&&Object.keys(o).map(e=>{void 0!==o[e]&&n.setAttribute(e,o[e].toString())}),t&&n.appendChild(t),n},ar=()=>{"undefined"!=typeof window&&void 0!==window.Opta&&window.Opta.start()},cr=i.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 o=e.$height;return o&&"height: ".concat(o,"px;")},s.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(s.colours.section.sport):"none",s.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",s.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),ir=i.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"n0zk21-1"})(["height:","px;position:relative;"],e=>e.height||200),sr=i.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;}}"],s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting),mr=i()(sr).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;}}}}}}}}"],s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline);function lr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ur=a.a.memo(e=>{let o=e.competition,t=e.match,n=e.full_width,c=e.height;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return lr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("cricket"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"cricket",widget:"score_card",season:"0",competition:o,match:t,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,ar(),l(!0))})},[]),a.a.createElement(cr,{border:m,fullWidth:n,$height:c},a.a.createElement(mr,{ref:i}),!m&&a.a.createElement(ir,{height:c},a.a.createElement(V.Placeholder,null)))}),dr={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"},pr=Object.keys(dr).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(dr[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(s.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(s.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")),hr=i.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1yydril-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 o=e.$height;return o&&"height: ".concat(o,"px;")},s.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(s.colours.section.sport):"none",s.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",s.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),fr=i.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1yydril-1"})(["position:relative;height:","px;"],e=>e.height||"200"),br=i.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1yydril-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;}}"],pr,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting),gr=i.a.div.withConfig({displayName:"styles__Container",componentId:"sc-6r7ohr-0"})(["height:80px;"]),yr=(i()(br).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-6r7ohr-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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(br).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-6r7ohr-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(s.breakpoints.small,"px) {\n .Opta-Scroller {\n display: none !important;\n }\n }\n "),s.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 ",s.breakpoints.medium,s.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 ",s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport)),kr=e=>["3","235","941"].includes(e),vr=(e,o)=>{Object(r.useEffect)(()=>{e.current&&e.current.classList.add("team-flags");const t=document.getElementsByClassName(o);t&&(e=>{let o=0;const t=setInterval(()=>{o>=25&&clearInterval(t),o++;for(let o of e){const e=o;if(e){const o=e.innerText.includes("Third Place")||e.innerText.includes("Group");[{pattern:/Quarter-Finalist/g,replacement:"QF"},{pattern:/Semi-Finalist|Semi-Final/g,replacement:"SF"}].forEach(t=>{let n=t.pattern,r=t.replacement;e.innerText=o?"TBD":e.innerText.replace(n,r)})}}},500)})(t)},[e])},wr=(e,o)=>{const t=document.querySelector(".".concat(e)),n=document.querySelector(".fixtures-page-link");return!(!t||n||(function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=Object.assign(document.createElement("div"),{className:"fixtures-page-link Opta-fixture"}),n=Object.assign(document.createElement("a"),{href:o}),r=Object.assign(document.createElement("span"),{textContent:"Full Fixtures & Results"});n.appendChild(r),n.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>'),t.appendChild(n),e.appendChild(t)}(t,o),0))};function xr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const jr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.days_ahead,s=e.days_before,m=e.round,l=e.isApp,u=e.showButtons,d=e.fixturesPageUrl;const p=a.a.createRef(),h=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return xr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?xr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),f=h[0],b=h[1],g=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{p.current&&(p.current.innerHTML=rr("opta-widget",{sport:"football",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,days_ahead:i,days_before:s,round:m,live:!0,start_on_current:!0,template:"strip",team_naming:"brief",match_status:"all",order_by:"date_ascending",show_grouping:!0,show_crests:!g,show_date:!0,show_live:!0,date_format:"ddd Do MMM",fixture_width:160,breakpoints:520}).outerHTML,ar(),b(!0))})},[p]),d&&!l&&((e,o,t)=>{Object(r.useEffect)(()=>{let e,n=wr(o,t);if(!n){let r=0;e=setInterval(()=>{r>=30&&clearInterval(e),r++,n=wr(o,t),n&&clearInterval(e)},200)}return()=>{e&&clearInterval(e)}},[e,o,t])})(p,"Opta-Room",d),g&&vr(p,"Opta-TeamName"),a.a.createElement(gr,null,a.a.createElement(yr,{isApp:l,showButtons:u,ref:p}),!f&&a.a.createElement(fr,{height:80},a.a.createElement(V.Placeholder,null)))}),Or=(i()(br).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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(br).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:",";}}}}}}}}}}}}"],s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport));function zr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Sr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.full_width;const s=a.a.createRef(),m=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return zr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?zr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),l=m[0],u=m[1];return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{s.current&&(s.current.innerHTML=rr("opta-widget",{sport:"football",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,live:!0,grouping:"date",show_grouping:!0,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},rr("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ar(),u(!0))})},[]),a.a.createElement(hr,{border:l,fullWidth:i},a.a.createElement(Or,{ref:s}),!l&&a.a.createElement(fr,null,a.a.createElement(V.Placeholder,null)))}),_r=(i()(br).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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(br).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:",";}}}}}}}}}}}}"],s.breakpoints.medium,e=>e.columns&&"column-count: 2;",e=>e.hide_matchday&&"display: none;",s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.breakpoints.medium,e=>e.isNationalComp?"24px;":"10px;",e=>e.isNationalComp?"24px;":"10px;",e=>!e.isNationalComp&&"\n @media (max-width: ".concat(s.breakpoints.medium,"px) {\n padding-left: 15px;\n\n &.Opta-Home {\n padding-right: 15px;\n padding-left: 0;\n }\n }\n "),s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport));function Er(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Cr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.days_ahead,s=e.days_before,m=e.matchday,l=e.round,u=e.classes,d=e.hide_matchday,p=e.show_title,h=void 0===p||p,f=e.columns,b=void 0===f||f,g=e.full_width;const y=a.a.createRef(),k=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Er(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Er(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),v=k[0],w=k[1],x=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{y.current&&(y.current.innerHTML=rr("opta-widget",{sport:"football",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,days_ahead:i,days_before:s,matchday:m,round:l,show_title:h,live:!0,grouping:"matchday",show_grouping:!0,sub_grouping:"date|matchday|group",show_subgrouping:!0,show_crests:!x,date_format:"dddd MMMM D YYYY",breakpoints:520},rr("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ar(),w(!0))})},[]),x&&vr(y,"Opta-Team"),a.a.createElement(hr,{border:v,fullWidth:g,className:u},a.a.createElement(_r,{ref:y,isNationalComp:x,hide_matchday:d,columns:b}),!v&&a.a.createElement(fr,null,a.a.createElement(V.Placeholder,null)))}),Pr=i()(br).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;}}}}}}}}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.keyline,s.breakpoints.medium,s.breakpoints.medium,e=>e.columns&&"column-count: 2;",s.colours.functional.brandColour,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.backgroundPrimary,s.colours.functional.brandColour,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.brandColour,s.colours.functional.backgroundSecondary,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium);function Ir(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Tr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.default_nav,c=void 0===n?1:n,i=e.classes,s=e.navigation,m=e.show_title,l=void 0===m||m,u=e.full_width,d=e.columns,p=e.height;const h=a.a.createRef(),f=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ir(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ir(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),b=f[0],g=f[1],y=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{h.current&&(h.current.innerHTML=rr("opta-widget",{sport:"football",widget:"standings",season:o,competition:t,live:!0,navigation:s?"dropdown":void 0,default_nav:c,show_title:l,show_crests:!y,team_naming:"brief",breakpoints:520}).outerHTML,ar(),g(!0))})},[]),y&&vr(h,"Opta-Team"),a.a.createElement(hr,{border:b,fullWidth:u,className:i,$height:p},a.a.createElement(Pr,{ref:h,columns:d}),!b&&a.a.createElement(fr,{height:p},a.a.createElement(V.Placeholder,null)))}),Ar=i()(br).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:",";}}}}}}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport);function Nr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Dr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Nr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Nr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"football",widget:"match_summary",season:o,competition:t,match:n,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,ar(),l(!0))})},[]),a.a.createElement(hr,{border:m,fullWidth:c},a.a.createElement(Ar,{ref:i}),!m&&a.a.createElement(fr,null,a.a.createElement(V.Placeholder,null)))}),qr=i()(br).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;}}}}"],s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.section.sport,s.colours.section.sport,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting);function Rr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Mr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width,i=e.height,s=void 0===i?640:i;const m=a.a.createRef(),l=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Rr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Rr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),u=l[0],d=l[1];return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{m.current&&(m.current.innerHTML=rr("opta-widget",{sport:"football",widget:"matchstats",season:o,competition:t,match:n,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,ar(),d(!0))})},[]),a.a.createElement(hr,{border:u,fullWidth:c,$height:s},a.a.createElement(qr,{ref:m}),!u&&a.a.createElement(fr,{height:s},a.a.createElement(V.Placeholder,null)))}),Fr=i()(br).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;}}}}"],s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.section.sport,s.colours.section.sport,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting);function Lr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Br=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.full_width,c=e.hide_zeroes,i=void 0===c||c,s=e.show_title,m=void 0===s||s,l=e.visible_categories,u=e.classes,d=e.height;const p=a.a.createRef(),h=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Lr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Lr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),f=h[0],b=h[1],g=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{p.current&&(p.current.innerHTML=rr("opta-widget",{sport:"football",widget:"player_ranking",hide_zeroes:i,season:o,competition:t,template:"normal",graph_style:"relative",visible_categories:l,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_title:m,date_format:"DD/MM/YYYY",breakpoints:"200"}).outerHTML,ar(),b(!0))})},[p]),g&&vr(p,"Opta-Image-Team"),a.a.createElement(hr,{border:f,fullWidth:n,className:u,$height:d},a.a.createElement(Fr,{ref:p}),!f&&a.a.createElement(fr,{height:d},a.a.createElement(V.Placeholder,null)))}),Hr=i.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:",";}"],s.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(s.colours.section.sport):"none",s.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",s.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),Ur=i.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1dlwd3q-1"})(["position:relative;height:200px;"]),Wr=i.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;}}"],s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting),Vr=(i()(Wr).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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(Wr).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:",";}}}}}}}}}}}}"],s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport));function Yr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Gr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.full_width;const s=a.a.createRef(),m=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Yr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Yr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),l=m[0],u=m[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{s.current&&(s.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,live:!0,grouping:"date",show_grouping:!0,show_subgrouping:!1,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},rr("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,ar(),u(!0))})},[]),a.a.createElement(Hr,{border:l,fullWidth:i},a.a.createElement(Vr,{ref:s}),!l&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))}),$r=i()(Wr).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;}}}}}}}}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.keyline,s.breakpoints.medium,s.colours.functional.brandColour,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.backgroundPrimary,s.colours.functional.brandColour,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.brandColour,s.colours.functional.backgroundSecondary,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium);function Xr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Zr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.default_nav,c=void 0===n?1:n,i=e.navigation,s=e.full_width;const m=a.a.createRef(),l=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Xr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),u=l[0],d=l[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{m.current&&(m.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"standings",season:o,competition:t,live:!0,navigation:i?"dropdown":void 0,default_nav:c,show_crests:!0,breakpoints:520}).outerHTML,ar(),d(!0))})},[]),a.a.createElement(Hr,{border:u,fullWidth:s},a.a.createElement($r,{ref:m}),!u&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))}),Kr=i()(Wr).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:",";}}}}}}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport);function Jr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Qr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Jr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Jr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"match_summary",season:o,competition:t,match:n,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,ar(),l(!0))})},[]),a.a.createElement(Hr,{border:m,fullWidth:c},a.a.createElement(Kr,{ref:i}),!m&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))}),ea=i()(Wr).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;}}}}"],s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.section.sport,s.colours.section.sport,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting);function oa(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ta=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return oa(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?oa(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"matchstats",season:o,competition:t,match:n,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,ar(),l(!0))})},[]),a.a.createElement(Hr,{border:m,fullWidth:c},a.a.createElement(ea,{ref:i}),!m&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))});var na=n(10),ra=n.n(na),aa=n(11);const ca=e=>e.map(e=>({url:e.url,ratio:e.aspectRatio})),ia=e=>{if(e){if(e.crops)return ca(e.crops);if(e.posterImage&&e.posterImage.crops)return ca(e.posterImage.crops)}return[]},sa=e=>{return{url:e.categoryPath,label:e.label,byline:(t=e.bylines,t?t.map(e=>"author"===e.type?e.name:e.value).join(""):void 0),headline:e.headline,summary:(o=e.summary,o&&o.children?o.children.map(e=>e.text).join("")+"...":void 0),datePublished:e.publishedDateTime,images:{alt:e.headline,crops:ia(e.media)}};var o,t},ma=e=>{switch(e){case 1:return"RELATED_ARTICLE_1";case 2:return"RELATED_ARTICLE_2";default:return"RELATED_ARTICLE_3"}},la=e=>({name:ma(e.length),children:e.map(e=>({article:sa(e)})).slice(0,3)}),ua=i.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;"],s.colours.functional.brandColour,s.fonts.headline),da=e=>{let o=e.heading;const t=Q(),n=t.loading,r=t.error,c=t.data;if(n||r)return null;const i=ra()(c,"recommendations.articles");if(!i||!i.length)return null;const s=U().fireAnalyticsEvent;return a.a.createElement("div",{id:"recommended-articles"},a.a.createElement(ua,null,o),a.a.createElement(aa.Slice,{slice:la(i),clickHandler:(e,o)=>{s&&s({action:"Clicked",attrs:{article_parent_name:o.headline}})}}))};function pa(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ha=e=>{let o=e.articleId,t=e.articleHeadline,n=e.articleSection;const c=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return pa(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pa(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),i=c[0],s=c[1];return Object(r.useEffect)(()=>{try{const e=window.nuk.getCookieValue("acs_tnl"),o=window.__TIMES_CONFIG__.environmentName;e&&["local-prod","pr","uat","staging","prod"].includes(o)&&s(!0)}catch(e){console.log(e)}},[]),i?a.a.createElement(J,{url:"/api/recommended-articles/".concat(o,"/todays_section")},a.a.createElement(W,{context:{object:"RecommendedArticles",attrs:{event_navigation_action:"navigation",event_navigation_name:"widget:relevant article",event_navigation_browsing_method:"click",section_details:"section : ".concat(n),article_name:t,widget_headline:"Read more".toLowerCase(),widget_section:n,widget_type:"today's section"}}},a.a.createElement(da,{heading:"Read more"}))):null},fa=i.a.div.withConfig({displayName:"styles__Container",componentId:"sc-19exdh2-0"})(["display:none;"]),ba=e=>{let o=e.heading,t=e.articles;const n=U().fireAnalyticsEvent;return a.a.createElement(fa,{id:"categorised-articles"},a.a.createElement(ua,null,"More from ".concat(o)),a.a.createElement(aa.Slice,{slice:la(t),clickHandler:(e,o)=>{n&&n({action:"Clicked",attrs:{article_parent_name:o.headline}})}}))},ga="#bedeed",ya="#1573a2",ka="#ffeecc",va="#ffa300",wa="#ffd6d6",xa="#df0000",ja=i.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:",";}}"],ga,ya,ya,ka,va,va,wa,xa,xa),Oa=i.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1lbbpaf-1"})(["margin:12px 0 45px 12px;"]),za=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1lbbpaf-2"})(["margin:12px;"]),Sa=i.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1lbbpaf-3"})(["font-family:",";font-weight:700;font-size:15px;line-height:16px;margin-bottom:6px;"],s.fonts.supporting),_a=i.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;}"],s.fonts.supporting),Ea=e=>{let o=e.size,t=void 0===o?{width:"20",height:"20"}:o;return a.a.createElement("svg",{width:t.width,height:t.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.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"}))},Ca=e=>{let o=e.title,t=e.type,n=e.children;return a.a.createElement(ja,{className:t},a.a.createElement(Oa,null,a.a.createElement(Ea,null)),a.a.createElement(za,null,a.a.createElement(Sa,null,o),a.a.createElement(_a,null,n)))},Pa=i.a.div.withConfig({displayName:"styles__Container",componentId:"kqn9c8-0"})(["display:flex;flex-direction:column;align-items:center;padding:60px;@media (min-width:","px){padding:88px;}"],s.breakpoints.medium),Ia=i.a.div.withConfig({displayName:"styles__Title",componentId:"kqn9c8-1"})(["font-family:",";font-size:32px;line-height:32px;letter-spacing:0;text-align:center;padding:24px;"],s.fonts.headline),Ta=i.a.div.withConfig({displayName:"styles__Description",componentId:"kqn9c8-2"})(["font-family:",";font-weight:400;font-size:18px;line-height:28px;letter-spacing:0;text-align:center;max-width:660px;"],s.fonts.body),Aa=i.a.a.withConfig({displayName:"styles__Button",componentId:"kqn9c8-3"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;background-color:#008387;color:white;font-family:",";width:127px;height:48px;font-size:15px;font-style:normal;font-weight:500;line-height:20px;letter-spacing:0;margin:24px;"],s.fonts.supporting),Na=e=>{let o=e.title,t=e.href,n=void 0===t?"#":t,r=e.onClick,c=e.buttonText,i=e.children;return a.a.createElement(Pa,null,a.a.createElement(Ia,null,o),a.a.createElement(Ta,null,i),a.a.createElement(Aa,{href:n,onClick:r},c))};var Da=n(18),qa=n.n(Da),Ra=n(19),Ma=n.n(Ra),Fa=n(12),La=n.n(Fa),Ba=e=>{try{return decodeURIComponent(e)}catch(o){return e}};const Ha=i.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",s.breakpoints.medium,s.breakpoints.wide),Ua=i.a.div.withConfig({displayName:"styles__UpdatesContainer",componentId:"uvi9j3-1"})(["display:flex;flex-direction:row;justify-content:space-between;"]),Wa=i.a.div.withConfig({displayName:"styles__TimeSincePublishingContainer",componentId:"uvi9j3-2"})(["display:flex;flex-direction:row;"]),Va=i.a.div.withConfig({displayName:"styles__TimeSincePublishing",componentId:"uvi9j3-3"})(["color:",";font-family:",";font-size:13px;line-height:18px;"],s.colours.functional.brandColour,s.fonts.supporting),Ya=Object(c.css)(["color:",";font-family:",";font-size:13px;line-height:18px;"],s.colours.functional.secondary,s.fonts.supporting),Ga=i.a.div.withConfig({displayName:"styles__UpdatedTimeItems",componentId:"uvi9j3-4"})(["display:flex;justify-content:space-between;align-items:baseline;"]),$a=i.a.div.withConfig({displayName:"styles__UpdatedTime",componentId:"uvi9j3-5"})(["",";"],Ya),Xa=i.a.div.withConfig({displayName:"styles__UpdatedDate",componentId:"uvi9j3-6"})([""," justify-content:end;padding:0 4px 0 0;"],Ya),Za=i.a.div.withConfig({displayName:"styles__Divider",componentId:"uvi9j3-7"})(["background-color:",";width:1px;margin:2px 8px 6px 8px;"],s.colours.functional.greyLabel),Ka=i.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;}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium),Ja=i.a.div.withConfig({displayName:"styles__FlagContainer",componentId:"uvi9j3-9"})(["margin-right:8px;"]),Qa=i.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;"]),ec=i.a.div.withConfig({displayName:"styles__BylineBlockImgContainer",componentId:"uvi9j3-11"})(["border-radius:50%;width:50px;height:50px;overflow:hidden;margin-right:10px;"]),oc=i.a.img.withConfig({displayName:"styles__BylineBlockImg",componentId:"uvi9j3-12"})(["height:100%;width:100%;"]),tc=i.a.div.withConfig({displayName:"styles__BylineBlockContent",componentId:"uvi9j3-13"})(["display:flex;flex-direction:column;"]),nc=i.a.div.withConfig({displayName:"styles__BylineBlockAuthorContent",componentId:"uvi9j3-14"})(["display:flex;align-items:center;margin-bottom:2px;"]),rc=i.a.p.withConfig({displayName:"styles__BylineBlockAuthorName",componentId:"uvi9j3-15"})(["color:#069;margin-right:5px;margin-block:0;"]),ac=i.a.p.withConfig({displayName:"styles__BylineBlockAuthorJobTitle",componentId:"uvi9j3-16"})(["color:#696969;margin-block:0;"]),cc=i.a.p.withConfig({displayName:"styles__BylineBlockDescription",componentId:"uvi9j3-17"})(["color:#696969;font-weight:500;margin-block:0;"]),ic=e=>{let o=e.authorData,t=e.description;return o&&o.name||o&&o.image||t?a.a.createElement(Qa,null,o&&o.image&&a.a.createElement(ec,null,a.a.createElement(oc,{src:o.image,alt:o.name})),a.a.createElement(tc,null,a.a.createElement(nc,null,o&&o.name&&a.a.createElement(rc,null,o.name),o&&o.jobTitle&&a.a.createElement(ac,null,o.jobTitle)),t&&a.a.createElement(cc,null,t))):null};function sc(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function mc(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return lc(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lc(e,o):void 0}}(e,o)||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 lc(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var uc=e=>{let o=e.updated,t=e.breaking,n=e.headline,c=e.authorSlug,i=e.description;const s=mc(Object(r.useState)(""),2),m=s[0],l=s[1],u=mc(Object(r.useState)(),2),d=u[0],p=u[1],h=new Date,f=new Date(o),b=Ma()(f,"Europe/London");Object(r.useEffect)(()=>{"Europe/London"!==Intl.DateTimeFormat().resolvedOptions().timeZone&&l(La()(b,"zzz",{timeZone:"Europe/London"}))}),Object(r.useEffect)(()=>{void 0!==c?function(){var e,o=(e=function*e(){try{const e=yield fetch("/api/author-profile/".concat(c)),o=yield e.json();p(o)}catch(e){console.log(e)}},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){sc(a,n,r,c,i,"next",e)}function i(e){sc(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return o.apply(this,arguments)}}()():p(null)},[c]);const g=z()(f,h,{roundingMethod:"floor"})+" ago",y=j()(h,f),k=y<60,v=y<3600,w=y<46800,x=qa()(h,b)>=1,O=!!t&&Boolean("true"===t.toLowerCase()),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=/\D+/g,n=e.replace(t,""),r=/\b(\w)/g,a=o.match(r),c=null===a?"":a.join("");return"u_".concat(n).concat(c)}(o,n);return a.a.createElement(Ha,{isBreaking:O&&v,id:S},a.a.createElement(Ua,null,a.a.createElement(Ga,null,O&&v?a.a.createElement(Ja,null,a.a.createElement(D,null)):null,!k&&w?a.a.createElement(Wa,null,a.a.createElement(Va,{"data-testId":"TimeSincePublishing"},g),a.a.createElement(Za,null)):null,a.a.createElement($a,{isLessThan13Hours:!k&&w},"".concat(La()(b,"h.mmaaa")," ").concat(m))),x?a.a.createElement(Xa,null,La()(b,"MMMM d")):null),n&&a.a.createElement(Ka,null,Ba(n)),d&&a.a.createElement(ic,{authorData:d,description:i}))};const dc=i.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:",";"],s.colours.functional.bannerBackground),pc=i.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;}}"],s.colours.functional.greyText,s.fonts.headline,s.breakpoints.medium),hc=i.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;}"],s.colours.functional.primary,s.fonts.supporting,s.breakpoints.medium);function fc(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const bc=()=>{const e=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return fc(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?fc(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),o=e[0],t=e[1];return Object(r.useEffect)(()=>{window.sessionStorage.getItem("showWelcomeBanner")&&(window.sessionStorage.removeItem("showWelcomeBanner"),t(!0))},[]),o?a.a.createElement(dc,null,a.a.createElement(pc,{"data-testId":"title"},"Welcome to ",a.a.createElement("br",{className:"mobile"}),"The Times ",a.a.createElement("br",{className:"larger-breakpoints"})," and"," ",a.a.createElement("br",{className:"mobile"}),"The Sunday Times"),a.a.createElement(hc,{"data-testId":"text"},"We hope you enjoy your free content")):null};const gc=i()(e=>r.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.createElement("path",{fill:"currentcolor",d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}))).withConfig({displayName:"styles__ChevronRightIcon",componentId:"sc-1my13dk-0"})(["transform:rotate(90deg);width:16px;height:16px;"]),yc=i.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;"]),kc=i.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;"]),vc=i.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;}"]),wc=i.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;}"]),xc=i.a.div.withConfig({displayName:"styles__TitleIconContainer",componentId:"sc-1my13dk-5"})(["display:flex;flex-direction:row;justify-content:space-between;"]),jc=i.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;"]),Oc=i.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;"]),zc=i.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;"]),Sc=i.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;}"]),_c=i.a.img.withConfig({displayName:"styles__PuzzleImage",componentId:"sc-1my13dk-10"})(["height:40px;width:40px;margin:0 16px 0 0;"]);function Ec(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Cc(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ec(Object(t),!0).forEach((function(o){Pc(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ec(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Pc(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Ic=(e,o,t)=>{e&&e(function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{object:"ArticleSidebar",action:"Clicked",attrs:Cc({event_navigation_action:"navigation",event_navigation_name:"".concat(e),event_navigation_browsing_method:"click",component_name:"Article Sidebar"},o&&{article_parent_name:o.toLowerCase()})}}(o,t))},Tc=e=>{let o=e.sectionTitle,t=e.data,n=e.pageLink;const r=U().fireAnalyticsEvent;return a.a.createElement(yc,null,a.a.createElement(wc,{href:n,onClick:()=>Ic(r,"puzzle sidebar: header selected"),className:"trigger"},a.a.createElement(xc,null,a.a.createElement(jc,null,o),a.a.createElement(Oc,null,a.a.createElement(gc,null)))),a.a.createElement(kc,null,"Challenge yourself with today’s puzzles."),a.a.createElement(vc,null),t.map(e=>{let o=e.title,t=e.url,n=e.imgUrl;return a.a.createElement(a.a.Fragment,{key:o},a.a.createElement(Sc,{href:t,onClick:()=>Ic(r,"puzzle sidebar: puzzle selected","".concat(o)),className:"trigger-card-link"},a.a.createElement(_c,{src:n,alt:"Puzzle category thumbnail"}),a.a.createElement(zc,null,o)),a.a.createElement(vc,null))}))},Ac=i.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:",";}"],s.colours.functional.primary,s.colours.functional.primary,s.colours.functional.secondary);var Nc,Dc,qc;Object(c.createGlobalStyle)(Nc||(Dc=["\n *, *::before, *::after {\n box-sizing: border-box;\n }\n"],qc||(qc=Dc.slice(0)),Nc=Object.freeze(Object.defineProperties(Dc,{raw:{value:Object.freeze(qc)}}))));const Rc=i.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 o=e.isExpanded,t=e.isModalOpen;return o?t?"370px":"221px":"48px"},s.colours.functional.white,s.colours.functional.primary,e=>e.isExpanded?"translateY(0)":"translateY(calc(100% - 48px))",s.breakpoints.small),Mc=i.a.div.withConfig({displayName:"styles__Row",componentId:"w3kg01-1"})(["width:100%;display:flex;justify-content:center;align-items:center;"]),Fc=i.a.button.withConfig({displayName:"styles__CollapseButton",componentId:"w3kg01-2"})(["background:none;border:none;cursor:pointer;padding:0;"]),Lc=i.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%);}}"],s.fonts.supporting),Bc=i.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 o=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),Hc=i.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;"],s.fonts.supporting),Uc=i.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;}"],s.breakpoints.small),Wc=i.a.div.withConfig({displayName:"styles__PlaybackButtonsContainer",componentId:"w3kg01-7"})(["display:flex;justify-content:center;align-items:center;gap:8px;@media (min-width:","){gap:16px;}"],s.breakpoints.small),Vc=i.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;}"],s.colours.functional.primary),Yc=i.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;}"]),Gc=i.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;}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.breakpoints.small,s.colours.functional.border),$c=i.a.div.withConfig({displayName:"styles__SpeedSelectModal",componentId:"w3kg01-11"})(["background:",";z-index:1000;display:flex;flex-direction:column;overflow:hidden;",";"],s.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(s.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(s.colours.functional.white," transparent transparent transparent;\n width: 0;\n height: 0;\n }\n ")),Xc=i.a.div.withConfig({displayName:"styles__SpeedOptionsContainer",componentId:"w3kg01-12"})(["flex:1;width:100%;display:flex;flex-direction:column;align-items:center;"]),Zc=i.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?s.colours.functional.bannerBackground:"transparent",e=>e.isMobile?"80%;":"100%",s.fonts.supporting,e=>e.selected?s.colours.functional.brandColour:s.colours.functional.secondary,s.colours.functional.brandColour,e=>e.selected?s.colours.functional.bannerBackground:s.colours.functional.border),Kc=i.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;}"],s.fonts.supporting,s.colours.functional.primary),Jc=(i.a.div.withConfig({displayName:"styles__VolumeControlContainer",componentId:"w3kg01-15"})(["display:flex;align-items:center;width:90%;padding:5px 0;"]),i.a.label.withConfig({displayName:"styles__VolumeLabel",componentId:"w3kg01-16"})(["margin-right:10px;font-family:",";font-size:14px;font-weight:500;"],s.fonts.supporting),i.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;}"],s.colours.functional.whiteGrey,"#1573A2","#1573A2","#1573A2","#1573A2",s.colours.functional.whiteGrey,s.colours.functional.whiteGrey),i.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;"],s.colours.functional.white)),Qc=i.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;"]),ei=i.a.div.withConfig({displayName:"styles__LeftControls",componentId:"w3kg01-20"})(["display:flex;align-items:center;"]),oi=i.a.div.withConfig({displayName:"styles__CenterControls",componentId:"w3kg01-21"})(["display:flex;align-items:center;flex-grow:1;margin:0 16px;"]),ti=i.a.div.withConfig({displayName:"styles__RightControls",componentId:"w3kg01-22"})(["display:flex;align-items:center;"]),ni=i.a.button.withConfig({displayName:"styles__TabletDesktopPlayPauseButton",componentId:"w3kg01-23"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:32px;height:32px;fill:",";}"],s.colours.functional.primary),ri=i.a.span.withConfig({displayName:"styles__TabletDesktopStatusText",componentId:"w3kg01-24"})(["font-family:",";font-size:16px;font-weight:500;margin:0 16px;"],s.fonts.supporting),ai=i.a.div.withConfig({displayName:"styles__TabletDesktopVolumeControlContainer",componentId:"w3kg01-25"})(["display:flex;align-items:center;margin:0 16px;"]),ci=i.a.button.withConfig({displayName:"styles__TabletDesktopVolumeButton",componentId:"w3kg01-26"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],s.colours.functional.primary),ii=i.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;}"],s.colours.functional.whiteGrey,"#1573A2","#1573A2"),si=i.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;}"],s.fonts.supporting),mi=i.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 o=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),li=i.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;}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.colours.functional.border),ui=i.a.div.withConfig({displayName:"styles__SpeedButtonContainer",componentId:"w3kg01-31"})(["position:relative;"]),di=i.a.button.withConfig({displayName:"styles__TabletDesktopCloseButton",componentId:"w3kg01-32"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],s.colours.functional.primary),pi=e=>{let o=e.isExpanded,t=e.toggleExpand;return e.allowExpandCollapse?a.a.createElement(Mc,null,a.a.createElement(Fc,{onClick:t,"aria-label":o?"Collapse Player":"Expand Player"},a.a.createElement(ce.PlayerModalIcon,null))):null},hi=e=>{let o=e.title;return a.a.createElement(Mc,null,a.a.createElement(Lc,null,a.a.createElement("div",{"data-testid":"title-content"},o)))},fi=e=>{let o=e.currentTime,t=e.duration,n=e.onSeek,r=e.allowSeek;const c=t>0?o/t*100:0;return a.a.createElement(Mc,null,a.a.createElement(Bc,{type:"range",min:"0",max:t,value:o,onChange:e=>n(parseFloat(e.target.value)),disabled:!r,"aria-label":"Seek Bar",progress:c}))},bi=e=>{const o=Math.floor(e/60),t=Math.floor(e%60);return"".concat(o,":").concat(t<10?"0":"").concat(t)},gi=e=>{let o=e.currentTime,t=e.duration;return a.a.createElement(Mc,null,a.a.createElement(Hc,null,a.a.createElement("span",{"data-testid":"current-time"},bi(o)),a.a.createElement("span",{"data-testid":"duration"},bi(t))))},yi=e=>{let o=e.isPlaying,t=e.togglePlayPause,n=e.rewind,r=e.forward,c=e.speed,i=e.onSpeedChange,s=e.allowTogglePlay,m=e.allowSeek,l=e.allowPlaybackRateChange,u=e.isSpeedModalOpen,d=e.setIsSpeedModalOpen,p=e.isMobile;return a.a.createElement(Mc,null,a.a.createElement(Uc,null,a.a.createElement(Wc,null,a.a.createElement(Vc,{onClick:n,disabled:!m,"aria-label":"Rewind 10 seconds"},a.a.createElement(ce.PlayerBack,null)),a.a.createElement(Yc,{onClick:t,disabled:!s,"aria-label":o?"Pause":"Play"},o?a.a.createElement(ce.PauseIcon,{fill:"white"}):a.a.createElement(ce.PlayIcon,{fill:"white"})),a.a.createElement(Vc,{onClick:r,disabled:!m,"aria-label":"Forward 10 seconds"},a.a.createElement(ce.PlayerFront,null))),a.a.createElement(Gc,{onClick:()=>{l&&d(!u)},"aria-label":"Change Playback Speed"},"Speed")),u&&a.a.createElement($c,{isMobile:p},a.a.createElement(Xc,null,[.5,.8,1,1.2,1.5,2].map(e=>a.a.createElement(Zc,{key:e,selected:e===c,onClick:()=>(i(e),void d(!1))},a.a.createElement("span",null,e,"x"),e===c&&a.a.createElement(ce.IconCheck,null)))),a.a.createElement(Kc,{onClick:()=>d(!1)},"Close")))},ki=e=>{let o=e.isPlaying,t=e.togglePlayPause,n=e.currentTime,r=e.duration,c=e.allowTogglePlay,i=e.allowSeek,s=e.allowVolumeChange,m=e.volume,l=e.handleSeek,u=e.handleVolumeChange,d=e.speed,p=e.allowPlaybackRateChange,h=e.isSpeedModalOpen,f=e.setIsSpeedModalOpen,b=e.speedOptions,g=e.handleSpeedSelect,y=e.isVolumeSliderVisible,k=e.setIsVolumeSliderVisible,v=e.onClose,w=e.allowExpandCollapse,x=e.isMobile;return a.a.createElement(Jc,null,a.a.createElement(Qc,null,a.a.createElement(ei,null,a.a.createElement(ni,{onClick:t,disabled:!c,"aria-label":o?"Pause":"Play"},o?a.a.createElement(ce.PauseIcon,null):a.a.createElement(ce.PlayIcon,null)),a.a.createElement(ri,null,o?"Playing":"Paused"),s&&a.a.createElement(ai,null,a.a.createElement(ci,{onClick:()=>k(!y),"aria-label":"Volume Control"},a.a.createElement(ce.IconVolume,null)),y&&a.a.createElement(ii,{type:"range",min:"0",max:"1",step:"0.01",value:m,onChange:e=>u(parseFloat(e.target.value))}))),a.a.createElement(oi,null,a.a.createElement(si,null,a.a.createElement("span",null,bi(n))),a.a.createElement(mi,{type:"range",min:"0",max:r,value:n,onChange:e=>l(parseFloat(e.target.value)),disabled:!i,"aria-label":"Seek Bar",progress:r>0?n/r*100:0}),a.a.createElement(si,null,a.a.createElement("span",null,bi(r)))),a.a.createElement(ti,null,p&&a.a.createElement(ui,null,a.a.createElement(li,{onClick:()=>{p&&f(!h)},"aria-label":"Change Playback Speed"},"Speed"),h&&a.a.createElement($c,{isMobile:x},a.a.createElement(Xc,null,b.map(e=>a.a.createElement(Zc,{key:e,selected:e===d,onClick:()=>g(e)},a.a.createElement("span",null,e,"x"),e===d&&a.a.createElement(ce.IconCheck,null)))))),w&&a.a.createElement(di,{onClick:v,"aria-label":"Close Player"},a.a.createElement(ce.AudioCloseIcon,{fill:"black"})))))};function vi(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return wi(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wi(e,o):void 0}}(e,o)||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 wi(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const xi=Object(r.forwardRef)((e,o)=>{let t=e.src,n=e.title,c=void 0===n?"Audio Title":n,i=e.autoPlay,s=void 0!==i&&i,m=e.initialVolume,l=void 0===m?1:m,u=e.playbackRate,d=void 0===u?1:u,p=e.isPlayingProp,h=e.isExpandedProp,f=e.allowTogglePlay,b=void 0===f||f,g=e.allowSeek,y=void 0===g||g,k=e.allowVolumeChange,v=void 0===k||k,w=e.allowPlaybackRateChange,x=void 0===w||w,j=e.allowExpandCollapse,O=void 0===j||j,z=e.onPlay,S=e.onPause,_=e.onEnded,E=e.onTimeUpdate,C=e.onVolumeChange,P=e.onPlaybackRateChange,I=e.onSeek,T=e.onClose;const A=Object(r.useRef)(null),N=vi(Object(r.useState)(null!=p?p:s),2),D=N[0],q=N[1],R=vi(Object(r.useState)(null==h||h),2),M=R[0],F=R[1],L=vi(Object(r.useState)(0),2),B=L[0],H=L[1],U=vi(Object(r.useState)(0),2),W=U[0],V=U[1],Y=vi(Object(r.useState)(l),2),G=Y[0],$=Y[1],X=vi(Object(r.useState)(d),2),Z=X[0],K=X[1],J=vi(Object(r.useState)(!1),2),Q=J[0],ee=J[1],oe=vi(Object(r.useState)(!1),2),te=oe[0],ne=oe[1],re=vi(Object(r.useState)("undefined"==typeof window||window.innerWidth<=520),2),ae=re[0],ce=re[1];Object(r.useEffect)(()=>{const e=()=>{"undefined"!=typeof window&&ce(window.innerWidth<=520)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),Object(r.useImperativeHandle)(o,()=>({parentControlToggle:()=>{ie()}})),Object(r.useEffect)(()=>{A.current&&(A.current.volume=G,A.current.playbackRate=Z)},[G,Z]),Object(r.useEffect)(()=>{"boolean"==typeof p&&(p&&A.current?A.current.play().then(()=>{q(!0)}).catch(()=>{throw Error("Error attempting to play:")}):A.current&&(A.current.pause(),q(!1)))},[p]),Object(r.useEffect)(()=>{"boolean"==typeof h&&F(h)},[h]);const ie=()=>{b&&(A.current&&A.current.paused?A.current.play().then(()=>{q(!0),z&&z()}).catch(()=>{throw Error("Error attempting to play:")}):A.current&&(A.current.pause(),q(!1),S&&S()))},se=e=>{if(y&&A.current){const o=Math.min(Math.max(e,0),W);A.current.currentTime=o,H(o),I&&I(o)}},me=e=>{v&&($(e),A.current&&(A.current.volume=e),C&&C(e))},le=e=>{x&&(K(e),A.current&&(A.current.playbackRate=e),P&&P(e))};return a.a.createElement(a.a.Fragment,null,a.a.createElement("audio",{ref:A,src:t,autoPlay:s,onTimeUpdate:()=>{if(!y)return;const e=A.current&&void 0!==A.current.currentTime&&null!==A.current.currentTime?A.current.currentTime:0;H(e),E&&E(e)},onLoadedMetadata:()=>{const e=A.current&&void 0!==A.current.duration&&null!==A.current.duration?A.current.duration:0;V(e)},onEnded:_}),ae?a.a.createElement(Rc,{isExpanded:M,isModalOpen:Q},a.a.createElement(pi,{isExpanded:M,toggleExpand:()=>{O&&F(!M)},allowExpandCollapse:O}),M&&a.a.createElement(a.a.Fragment,null,a.a.createElement(hi,{title:c}),a.a.createElement(fi,{currentTime:B,duration:W,onSeek:se,allowSeek:y}),a.a.createElement(gi,{currentTime:B,duration:W}),a.a.createElement(yi,{isPlaying:D,togglePlayPause:ie,rewind:()=>{se(B-10)},forward:()=>{se(B+10)},speed:Z,onSpeedChange:le,allowTogglePlay:b,allowSeek:y,allowPlaybackRateChange:x,isSpeedModalOpen:Q,setIsSpeedModalOpen:ee,isMobile:ae}))):a.a.createElement(ki,{audioRef:A,isPlaying:D,togglePlayPause:ie,currentTime:B,duration:W,allowTogglePlay:b,allowSeek:y,allowVolumeChange:v,volume:G,setVolume:me,handleSeek:se,handleVolumeChange:me,speed:Z,handleSpeedChange:le,allowPlaybackRateChange:x,isSpeedModalOpen:Q,setIsSpeedModalOpen:ee,speedOptions:[.5,.8,1,1.2,1.5,2],handleSpeedSelect:e=>{le(e),ee(!1)},isVolumeSliderVisible:te,setIsVolumeSliderVisible:ne,onClose:T,allowExpandCollapse:O,isMobile:ae}))});function ji(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Oi(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Oi(e,o):void 0}}(e,o)||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,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const zi=e=>{let o=e.audioSrc;const t=ji(Object(r.useState)("not-started"),2),n=t[0],c=t[1],i=ji(Object(r.useState)(!1),2),s=i[0],m=i[1],l=ji(Object(r.useState)(null),2),u=l[0],d=l[1],p=Object(r.useRef)(null);return a.a.createElement("div",null,a.a.createElement("audio",{ref:p,src:o,onLoadedMetadata:()=>{if(p.current){const e=Math.floor(p.current.duration),o=Math.floor(e/60)+1;d("".concat(o))}},preload:"metadata"}),a.a.createElement(Ac,{onClick:()=>{m(!0),c("playing"===n?"paused":"playing")},style:{backgroundColor:"not-started"!==n?"#1D1D1B":"unset",color:"not-started"===n?"#333":"#fff"}},"playing"===n?a.a.createElement(a.a.Fragment,null,a.a.createElement(ce.PauseIcon,{width:16,height:16,fill:"#fff"})," Playing"):"paused"===n?a.a.createElement(a.a.Fragment,null,a.a.createElement(ce.PlayIcon,{width:16,height:16,fill:"#fff"})," Paused"):a.a.createElement(a.a.Fragment,null,a.a.createElement(ce.PlayIcon,{width:16,height:16})," Listen"),a.a.createElement("span",{style:{color:"not-started"===n?"#696969":"#fff"}}," ",u," min")),s&&a.a.createElement(xi,{src:o,isPlayingProp:"playing"===n,onPlay:()=>c("playing"),onPause:()=>c("paused"),onEnded:()=>c("not-started"),onClose:()=>{m(!1)}}))},Si=i.a.div.withConfig({displayName:"styles__FeaturesCarouselContainer",componentId:"li7f4o-0"})(["position:relative;width:100%;scrollbar-width:none;overflow:hidden;overflow-x:auto;"]),_i=i.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;"]),Ei=i.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;}"]),Ci=i.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),Pi=i.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;"],s.fonts.headline),Ii=e=>{let o=e.title,t=e.text,n=e.image,r=e.color,c=e.url;return a.a.createElement(Ei,{href:c},a.a.createElement("img",{src:n,alt:o}),a.a.createElement(Ci,{colours:r},a.a.createElement("h3",null,o),a.a.createElement("p",null,t)))},Ti=e=>{let o=e.heading,t=e.carouselItems,n=e.hideHeading;return t?a.a.createElement("div",{id:"benefits-carousel"},!n&&a.a.createElement(Pi,null,o),a.a.createElement(Si,null,a.a.createElement(_i,null,t.map(e=>a.a.createElement(Ii,Object.assign({},e)))))):null},Ai=i.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 Ni(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Di(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ni(Object(t),!0).forEach((function(o){qi(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ni(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function qi(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Ri=e=>{const o=e.attributes;return o&&o.text.trim()&&o.url.trim()?a.a.createElement(Ai,{href:o.url,target:o.target||"_blank",onClick:()=>function(e,o,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};window.utag&&window.utag.link?window.utag.link(Di({event_navigation_name:e,event_navigation_action:o,event_navigation_browsing_method:t},n)):console.error("Tealium tracking is not available.")}(o.text.toLowerCase(),"navigation","click"),rel:"nofollow"},o.text):null},Mi=i.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;"]),Fi=i.a.div.withConfig({displayName:"styles__Header",componentId:"sc-12n1gx9-1"})(["display:flex;"]),Li=i()(dt).withConfig({displayName:"styles__CustomIconContainer",componentId:"sc-12n1gx9-2"})(["height:auto;width:auto;margin-right:8px;svg{fill:#1573a2;width:20px;height:20px;}"]),Bi=i.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;}"],s.breakpoints.medium),Hi=i.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;}"],s.breakpoints.medium),Ui=i.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;"]),Wi=i.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;"]),Vi=i.a.a.withConfig({displayName:"styles__LinkPrivacyManager",componentId:"sc-12n1gx9-7"})(["color:#00527a;"]),Yi={twitter:{id:"5fab0c31a22863611c5f8764",status:"pending",title:"X (Twitter)"},youtube:{id:"5e7ac3fae30e7d1bc1ebf5e8",status:"pending",title:"Youtube"},tiktok:{id:"5e7f6927b8e05c4e491e7380",status:"pending",title:"Tiktok"}};function Gi(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function $i(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Gi(Object(t),!0).forEach((function(o){Xi(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gi(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Xi(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function Zi(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ki(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ki(e,o):void 0}}(e,o)||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 Ki(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Ji=Object(r.createContext)(void 0),Qi=e=>{let o=e.children;const t=Zi(Object(r.useState)({twitter:!1,tiktok:!1,youtube:!1}),2),n=t[0],c=t[1],i=Zi(Object(r.useState)({twitter:!1,tiktok:!1,youtube:!1}),2),s=i[0],m=i[1];return Object(r.useEffect)(()=>{m({twitter:n.twitter,tiktok:n.tiktok,youtube:n.youtube})},[n]),a.a.createElement(Ji.Provider,{value:{isSocialEmbedAllowed:n,setIsSocialEmbedAllowed:c,isAllowedOnce:s,setIsAllowedOnce:m}},o)},es=()=>{const e=Object(r.useContext)(Ji);if(!e)throw new Error("useSocialEmbedsContext must be used within a SocialEmbedsProvider");return e};function os(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ts(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?os(Object(t),!0).forEach((function(o){ns(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):os(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ns(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const rs=e=>{let o=e.vendorName;const t=es(),n=t.setIsSocialEmbedAllowed,r=t.setIsAllowedOnce;return a.a.createElement(Mi,null,a.a.createElement(Fi,null,a.a.createElement(Li,null,a.a.createElement(Ea,null)),a.a.createElement(Bi,null,((e,o)=>"twitter"===e?"X (Twitter)":o[e].title)(o,Yi)," content blocked")),a.a.createElement(Hi,null,"Please enable cookies and other technologies to view this content. You can update your cookies preferences any time using"," ",a.a.createElement(Vi,{href:"#",onClick:e=>{e.preventDefault(),((e,o)=>{const t=ra()(window,"_sp_.".concat("gdpr",".loadPrivacyManagerModal"));t?t(o):console.warn("Sourcepoint LoadPrivacyManagerModal is not available")})(0,window.__TIMES_CONFIG__.sourcepoint.gdprMessageId)}},"privacy manager.")),a.a.createElement(Ui,{onClick:()=>{((e,o)=>{const t=(t,n)=>n?(o(o=>$i($i({},o),{},{[e]:!0})),!0):(o(o=>$i($i({},o),{},{[e]:!1})),null),n=Yi[e].id;window.__tcfapi&&n&&window.__tcfapi("getCustomVendorConsents",2,(r,a)=>{a&&r&&r.grants[n]?window.__tcfapi("postCustomConsent",2,t,[n],Object.keys(r.grants[n].purposeGrants),[]):o(o=>$i($i({},o),{},{[e]:!1}))})})(o,n)}},"Enable cookies"),a.a.createElement(Wi,{onClick:()=>{r(e=>ts(ts({},e),{},{[o]:!0}))}},"Allow cookies once"))},as={twitter:e=>{let o=e.url;return a.a.createElement("blockquote",{className:"twitter-tweet","data-testid":"twitter-embed"},a.a.createElement("a",{href:o}))},youtube:e=>{let o=e.url;return a.a.createElement("iframe",{width:"560",height:"315",src:o,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})},tiktok:e=>{let o=e.url;Object(r.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 t=new URL(o).pathname.split("/").pop(),n=new URL(o).origin+o;return a.a.createElement("blockquote",{className:"tiktok-embed",cite:n,"data-video-id":t,style:{maxWidth:"605px",minWidth:"325px"},"data-testid":"tiktok-embed"},a.a.createElement("section",null))}},cs=e=>{let o=e.vendorName,t=e.url;const n=as[o];return a.a.createElement(n,{url:t})};function is(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ss(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?is(Object(t),!0).forEach((function(o){ms(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):is(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ms(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const ls=e=>{let o=e.id,t=e.url,n=e.vendorName;const c=es(),i=c.setIsSocialEmbedAllowed,s=c.isAllowedOnce,m=c.isSocialEmbedAllowed;return Object(r.useEffect)(()=>{window.__tcfapi&&window.__tcfapi("addEventListener",2,(e,o)=>{if(o&&("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus)){const e=(e=>{let o=!1;return window.__tcfapi&&window.__tcfapi("getCustomVendorConsents",2,(t,n)=>{n&&t&&t.consentedVendors?o=t.consentedVendors.some(o=>o.name.toLowerCase()===e.toLowerCase()):(console.log("Error fetching consent data or ".concat(e," embed not allowed")),o=!1)}),o})(n);i(o=>ss(ss({},o),{},{[n]:e}))}})},[n,i]),m[n]||s[n]?a.a.createElement("div",{id:o},a.a.createElement(cs,{vendorName:n,url:t})):a.a.createElement(rs,{vendorName:n})},us=i.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;"]),ds=i.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);}"]),ps=i.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 hs(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const fs=e=>{const o=e.attributes,t=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return hs(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?hs(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),n=t[0],c=t[1],i=Object(r.useRef)(null);return a.a.createElement(us,null,a.a.createElement(ds,null,a.a.createElement("p",{className:"shortcode-disclaimer_text"},decodeURIComponent(o.disclaimer_text)),a.a.createElement("a",{className:"shortcode-disclaimer__toggle",href:"#",onClick:e=>{e.preventDefault(),c(!n)}},n?decodeURIComponent(o.toggle_active_text):decodeURIComponent(o.toggle_inactive_text))),a.a.createElement(ps,{style:{height:n&&i.current?"".concat(i.current.getBoundingClientRect().height,"px"):"0px"}},a.a.createElement("p",{ref:i},decodeURIComponent(o.disclaimer_full_text))))},bs=i.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 "),gs=i.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 "),ys=i.a.div.withConfig({displayName:"styles__StyledMedia",componentId:"z2gbsu-2"})(["display:flex;justify-content:center;"]),ks=i.a.picture.withConfig({displayName:"styles__StyledPicture",componentId:"z2gbsu-3"})(["display:block;width:100%;height:auto;"]),vs=i.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 "),ws=i.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 "),xs=i.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 "),js=i.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=i.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 "),zs=(e,t)=>{o.window.utag&&o.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 Ss=e=>{const o=e.article,t=e.numOfArticles,n=e.isLeadingArticle,r=e.isLastCard,c=e=>e?"".concat(e).concat(e.includes("?")?"&":"?","resize=750"):"";return a.a.createElement(gs,{$numOfArticles:t},n?a.a.createElement("a",{href:o.url,onClick:()=>{zs(o.headline,o.headline)}},a.a.createElement(ys,null,a.a.createElement(ks,null,a.a.createElement(vs,{loading:"lazy",src:c(o.image.url),$numOfArticles:t})))):a.a.createElement(bs,{xs:!0},a.a.createElement("a",{href:o.url,onClick:()=>{zs(o.headline,o.headline)}},a.a.createElement(ys,null,a.a.createElement(ks,null,a.a.createElement(vs,{loading:"lazy",src:c(o.image.url),$numOfArticles:t}))))),a.a.createElement(ws,{$numOfArticles:t},a.a.createElement(Os,{$numOfArticles:t,href:o.url,onClick:()=>zs(o.headline,o.headline)},o.headline),a.a.createElement(xs,{$numOfArticles:t},((e,o)=>{if(e.length<=160)return e;let t=e.slice(0,160);const n=t.lastIndexOf(" ");return n>0&&(t=t.slice(0,n)),"".concat(t,"...")})(o.summary)),!r&&a.a.createElement(js,null)))};const _s=i.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;}"]),Es=i.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=i.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),Ps=i.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);}"]),Is=e=>{let o=e.element;const t=e=>{try{const o=atob(e),t=new TextDecoder("utf-8"),n=Uint8Array.from(o,e=>e.charCodeAt(0));return t.decode(n)}catch(o){return console.error("Failed to decode base64 string:",e,o),e}},n=JSON.parse(atob(o.articles||"")).map(e=>({id:t(e.id),headline:t(e.headline),summary:t(e.summary),label:t(e.label),url:t(e.url),image:{alt:t(e.image.alt),url:t(e.image.url)}})),c=n.length;return a.a.createElement(_s,null,a.a.createElement(Ps,null),a.a.createElement(Es,null,o.title),a.a.createElement(Cs,{columns:c},n.map((e,o)=>a.a.createElement(r.Fragment,{key:e.id},a.a.createElement(Ss,{article:e,sectionTitle:e.headline,numOfArticles:c,isLeadingArticle:0===o,isLastCard:o===c-1})))))};n.d(t,"BreakingArticleFlag",(function(){return D})),n.d(t,"LiveArticleFlag",(function(){return N})),n.d(t,"TrackingContextProvider",(function(){return W})),n.d(t,"InArticlePuff",(function(){return Se})),n.d(t,"InfoCard",(function(){return Qe})),n.d(t,"GalleryCarousel",(function(){return vo})),n.d(t,"InfoCardBulletPoints",(function(){return Ao})),n.d(t,"BigNumbers",(function(){return Wo})),n.d(t,"ArticleFlag",(function(){return Yo})),n.d(t,"ArticleFlags",(function(){return Qo})),n.d(t,"NewArticleFlag",(function(){return Go})),n.d(t,"UpdatedArticleFlag",(function(){return $o})),n.d(t,"ExclusiveArticleFlag",(function(){return Xo})),n.d(t,"SponsoredArticleFlag",(function(){return Zo})),n.d(t,"LongReadArticleFlag",(function(){return Ko})),n.d(t,"Timelines",(function(){return ut})),n.d(t,"SaveStar",(function(){return xt})),n.d(t,"Breadcrumb",(function(){return It})),n.d(t,"UpdateButton",(function(){return Ft})),n.d(t,"UpdateButtonWithDelay",(function(){return Vt})),n.d(t,"Banner",(function(){return tn})),n.d(t,"JobTitle",(function(){return gn})),n.d(t,"AutoNewsletterPuff",(function(){return Qn})),n.d(t,"InlineNewsletterPuff",(function(){return Jn})),n.d(t,"PreviewNewsletterPuff",(function(){return er})),n.d(t,"OptaCricketScorecard",(function(){return ur})),n.d(t,"OptaFootballFixturesTicker",(function(){return jr})),n.d(t,"OptaFootballFixtures",(function(){return Sr})),n.d(t,"OptaFootballFixturesTournament",(function(){return Cr})),n.d(t,"OptaFootballStandings",(function(){return Tr})),n.d(t,"OptaFootballSummary",(function(){return Dr})),n.d(t,"OptaFootballMatchStats",(function(){return Mr})),n.d(t,"OptaFootballPlayerStats",(function(){return Br})),n.d(t,"OptaRugbyFixtures",(function(){return Gr})),n.d(t,"OptaRugbyStandings",(function(){return Zr})),n.d(t,"OptaRugbySummary",(function(){return Qr})),n.d(t,"OptaRugbyMatchStats",(function(){return ta})),n.d(t,"RecommendedFetch",(function(){return ha})),n.d(t,"CategorisedArticles",(function(){return ba})),n.d(t,"FetchProvider",(function(){return J})),n.d(t,"ViewCountWrapper",(function(){return _n})),n.d(t,"HiddenDiv",(function(){return de})),n.d(t,"InlineMessage",(function(){return Ca})),n.d(t,"InlineDialog",(function(){return Na})),n.d(t,"ArticleHeader",(function(){return uc})),n.d(t,"UpdatedTimestamp",(function(){return P})),n.d(t,"UpdatedTimeProvider",(function(){return T})),n.d(t,"WelcomeBanner",(function(){return bc})),n.d(t,"safeDecodeURIComponent",(function(){return Ba})),n.d(t,"ArticleSidebar",(function(){return Tc})),n.d(t,"ArticleAudio",(function(){return zi})),n.d(t,"FeaturesCarousel",(function(){return Ti})),n.d(t,"CtaButton",(function(){return Ri})),n.d(t,"SocialMediaEmbed",(function(){return ls})),n.d(t,"useSocialEmbedsContext",(function(){return es})),n.d(t,"SocialEmbedsProvider",(function(){return Qi})),n.d(t,"AffiliateLinkDisclaimer",(function(){return fs})),n.d(t,"ArticleCard",(function(){return Is}))}])}).call(this,t(24))},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){(0,r.default)(1,arguments);var o=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===o?new Date(e.getTime()):"number"==typeof e||"[object Number]"===o?new Date(e):("string"!=typeof e&&"[object String]"!==o||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))};var n,r=(n=t(47))&&n.__esModule?n:{default:n};e.exports=o.default},,function(e,o,t){var n=t(55),r=TypeError;e.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}},function(e,o){e.exports=!1},function(e,o,t){var n=t(146),r=t(64);e.exports=function(e){return n(r(e))}},function(e,o,t){var n,r,a,c=t(265),i=t(16),s=t(29),m=t(86),l=t(28),u=t(193),d=t(147),p=t(121),h=i.TypeError,f=i.WeakMap;if(c||u.state){var b=u.state||(u.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,o){if(b.has(e))throw h("Object already initialized");return o.facade=e,b.set(e,o),o},r=function(e){return b.get(e)||{}},a=function(e){return b.has(e)}}else{var g=d("state");p[g]=!0,n=function(e,o){if(l(e,g))throw h("Object already initialized");return o.facade=e,m(e,g,o),o},r=function(e){return l(e,g)?e[g]:{}},a=function(e){return l(e,g)}}e.exports={set:n,get:r,has:a,enforce:function(e){return a(e)?r(e):n(e,{})},getterFor:function(e){return function(o){var t;if(!s(o)||(t=r(o)).type!==e)throw h("Incompatible receiver, "+e+" required");return t}}}},function(e,o,t){var n=t(306),r="object"==typeof self&&self&&self.Object===Object&&self,a=n||r||Function("return this")();e.exports=a},function(e,o,t){var n=t(303),r=t(496),a=t(314);e.exports=function(e,o){var t={};return o=a(o,3),r(e,(function(e,r,a){n(t,r,o(e,r,a))})),t}},,,function(e,o,t){var n=t(14),r=n({}.toString),a=n("".slice);e.exports=function(e){return a(r(e),8,-1)}},function(e,o,t){var n=t(122);e.exports=function(e){return n(e.length)}},function(e,o){var t=Array.isArray;e.exports=t},function(e,o,t){var n=t(101),r=t(329),a=t(102),c=Function.prototype,i=Object.prototype,s=c.toString,m=i.hasOwnProperty,l=s.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var o=r(e);if(null===o)return!0;var t=m.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&s.call(t)==l}},function(e,o,t){var n=t(14);e.exports=n({}.isPrototypeOf)},function(e,o,t){var n=t(19),r=t(95),a=TypeError;e.exports=function(e){if(n(e))return e;throw a(r(e)+" is not a function")}},function(e,o,t){"use strict";var n=t(10),r=t(87).map;n({target:"Array",proto:!0,forced:!t(155)("map")},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){if(null===e||!0===e||!1===e)return NaN;var o=Number(e);if(isNaN(o))return o;return o<0?Math.ceil(o):Math.floor(o)},e.exports=o.default},,,,,function(e,o,t){var n=t(56);e.exports=n("navigator","userAgent")||""},function(e,o,t){var n=t(77),r=t(55);e.exports=function(e,o){var t=e[o];return r(t)?void 0:n(t)}},function(e,o,t){var n=t(35),r=t(39),a=t(120);e.exports=n?function(e,o,t){return r.f(e,o,a(1,t))}:function(e,o,t){return e[o]=t,e}},function(e,o,t){var n=t(99),r=t(14),a=t(146),c=t(53),i=t(73),s=t(269),m=r([].push),l=function(e){var o=1==e,t=2==e,r=3==e,l=4==e,u=6==e,d=7==e,p=5==e||u;return function(h,f,b,g){for(var y,k,v=c(h),w=a(v),x=n(f,b),j=i(w),O=0,z=g||s,S=o?z(h,j):t||d?z(h,0):void 0;j>O;O++)if((p||O in w)&&(k=x(y=w[O],O,v),e))if(o)S[O]=k;else if(k)switch(e){case 3:return!0;case 5:return y;case 6:return O;case 2:m(S,y)}else switch(e){case 4:return!1;case 7:m(S,y)}return u?-1:r||l?l:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(e,o,t){"use strict";var n=t(10),r=t(87).filter;n({target:"Array",proto:!0,forced:!t(155)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,o,t){var n=t(490),r=t(495);e.exports=function(e,o){var t=r(e,o);return n(t)?t:void 0}},function(e,o){e.exports=function(e){var o=typeof e;return null!=e&&("object"==o||"function"==o)}},,,function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=7)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(422)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(50)},function(e,o){e.exports=t(11)},function(e,o){function t(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id=5},function(e,o){e.exports=t(93)},function(e,o,t){"use strict";t.r(o);var n=t(0),r=t.n(n),a=(t(2),t(3)),c=t.n(a),i=t(4);function s(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?s(Object(t),!0).forEach((function(o){l(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function l(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var u,d=function(e){var o=e.children,t=e.serverRender,n=void 0===t||t;return r.a.createElement(c.a.Consumer,null,(function(e){var t=e.user;return r.a.createElement(i.ServerClientRender,{client:function(){var e=window.nuk,n=(void 0===e?{}:e).user||{};return o({user:m(m({},t),n)})},server:n?function(){return o({user:t})}:null})}))},p=function(e){return e.hasAccess&&(e.isLoggedIn||e.isShared)},h=function(e){return e.hasAccess&&e.isLoggedIn},f=function(e){return e.isMetered||e.isLightPackUser||e.isRegisteredUser},b=function(e){return h(e)&&!f(e)},g=function(){jest.mock("@times-components/user-state",(function(){var e=t(5).requireActual("@times-components/user-state").default;function o(e){var t=e.state,n=e.children,r=void 0===n?null:n,a=e.fallback,c=void 0===a?null:a;return o.mockStates.find((function(e){return e===t}))?r:c}return Object.keys(e).reduce((function(o,t){return o[t]=e[t],o}),o),o.mockReset=function(){o.mockStates=[e.showSaveAndShareBar,e.showArticleExtras,e.showTopicTags,e.showArticleSaveButton,e.showLiveUpdateButton,e.showTokenisedEmailShare,e.showCommentingModule]},o.mockReset(),o}));var e=t(6);return beforeEach((function(){e.mockReset()})),e},y={SUBSCRIBER:"Subscriber",GUEST:"Guest"},k=t(1);function v(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?v(Object(t),!0).forEach((function(o){x(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function x(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var j=(x(u={},"Subscriber",["isLoggedIn"]),x(u,"Guest",[]),u),O=["Subscriber","Guest"],z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Subscriber";window.nuk=window.nuk||{},Object.defineProperty(window.nuk,"user",{enumerable:!0,configurable:!0,get:function(){var o=Object(k.select)("Current User State",O,e,"User State"),t=Object(k.boolean)("Is Shared",!1,"User State"),n=j[o].reduce((function(e,o){return w(w({},e),{},x({},o,!0))}),{});return w({isLoggedIn:!1,isMetered:!1,isShared:t},n)}})};function S(e){var o=e.state,t=e.children,n=e.fallback,a=e.serverRender;return r.a.createElement(d,{serverRender:a},(function(e){var r=e.user;return o(r)?t:n}))}t.d(o,"mockUserState",(function(){return g})),t.d(o,"USER_STATES",(function(){return y})),t.d(o,"addUserStateKnobs",(function(){return z})),S.showSaveAndShareBar=function(e){return p(e)},S.showArticleExtras=function(e){return p(e)},S.showTopicTags=function(e){return p(e)},S.showArticleSaveButton=function(e){return h(e)},S.showLiveUpdateButton=function(e){return h(e)},S.showTokenisedEmailShare=function(e){return b(e)},S.showCommentingModule=function(e){return b(e)},S.showJoinTheConversationDialog=function(e){return function(e){return h(e)&&f(e)}(e)},S.defaultProps={children:null,serverRender:!0,fallback:null},o.default=S}])},function(e,o,t){var n=t(119),r=t(9);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,o){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},function(e,o,t){var n=t(65),r=t(193);(e.exports=function(e,o){return r[e]||(r[e]=void 0!==o?o:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,o,t){var n=t(35),r=t(23),a=t(145),c=t(120),i=t(66),s=t(143),m=t(28),l=t(260),u=Object.getOwnPropertyDescriptor;o.f=n?u:function(e,o){if(e=i(e),o=s(o),l)try{return u(e,o)}catch(e){}if(m(e,o))return c(!r(a.f,e,o),e[o])}},function(e,o,t){var n=t(267),r=t(196).concat("length","prototype");o.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},function(e,o,t){var n=t(198),r=t(77),a=t(141),c=n(n.bind);e.exports=function(e,o){return r(e),void 0===o?e:a?c(e,o):function(){return e.apply(o,arguments)}}},function(e,o,t){var n,r=t(30),a=t(287),c=t(196),i=t(121),s=t(274),m=t(142),l=t(147),u=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(p("")),e.close();var o=e.parentWindow.Object;return e=null,o},f=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,o;f="undefined"!=typeof document?document.domain&&n?h(n):((o=m("iframe")).style.display="none",s.appendChild(o),o.src=String("javascript:"),(e=o.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(n);for(var t=c.length;t--;)delete f.prototype[c[t]];return f()};i[u]=!0,e.exports=Object.create||function(e,o){var t;return null!==e?(d.prototype=r(e),t=new d,d.prototype=null,t[u]=e):t=f(),void 0===o?t:a.f(t,o)}},function(e,o,t){var n=t(134),r=t(491),a=t(492),c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?r(e):a(e)}},function(e,o){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=5)}([function(e,o){e.exports=t(8)},function(e,o){e.exports=t(1)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(254)},function(e,o,t){"use strict";t.r(o);var n=t(1),r=t.n(n),a=t(4),c=t.n(a),i=t(2),s=t(3),m=t.n(s),l=m.a.string.style,u=m.a.object.style,d=(m.a.element,m.a.string,m.a.shape({container:u,text:l}),m.a.string,{children:null,credits:"",style:{},text:""}),p=t(0);function h(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function f(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var b={container:{paddingTop:Object(p.spacing)(2)},credits:{color:p.colours.functional.primary,fontSize:p.fontSizes.credits,fontWeight:"400",letterSpacing:.5,lineHeight:16},text:function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?h(Object(t),!0).forEach((function(o){f(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({color:p.colours.functional.secondary},Object(p.fontFactory)({font:"supporting",fontSize:"captionText"}))};function g(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function y(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?g(Object(t),!0).forEach((function(o){k(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function k(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var v=y(y({},b),{},{credits:y(y({},b.credits),{},{lineHeight:17,marginBottom:0}),text:y(y({},b.text),{},{lineHeight:19,marginBottom:4})});function w(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function x(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?w(Object(t),!0).forEach((function(o){j(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function j(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var O=function(e){var o=e.children,t=e.credits,n=e.style,a=e.text;return r.a.createElement(P,{credits:t,style:x(x({},n),{},{text:x(x({},n.text),{},{paddingLeft:Object(p.spacing)(2),paddingRight:Object(p.spacing)(2),textAlign:"center"})}),text:a},o)};O.defaultProps=d;var z=O;function S(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?S(Object(t),!0).forEach((function(o){E(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function E(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}t.d(o,"CentredCaption",(function(){return z}));var C=function(e){var o=e.children,t=e.credits,n=e.style,a=e.text;return r.a.createElement(i.TcView,null,o,r.a.createElement(i.TcView,{style:_(_({},v.container),n.container)},function(e,o){return o&&""!==o?r.a.createElement(i.TcText,{style:Object(i.checkStylesForUnits)(_(_(_({},v.text),e.text),e.caption))},o):null}(n,a),function(e,o){if(!o||""===o)return null;var t=c()(o.toUpperCase(),{whiteList:{p:[],a:["href"],br:[],img:[],b:[],strong:[]},stripIgnoreTag:!0,stripIgnoreTagBody:["script"]});return r.a.createElement(i.TcText,{style:Object(i.checkStylesForUnits)(_(_(_(_({},v.text),v.credits),e.text),e.credits)),dangerouslySetInnerHTML:{__html:t}})}(n,t)))};C.defaultProps=d;var P=o.default=C}])},,,,,,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},function(e,o,t){"use strict";function n(e,o){var t=function(e){if(!a[e]){var o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),t="06/25/2014, 00:00:00"===o||"06/25/2014 00:00:00"===o;a[e]=t?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return a[e]}(o);return t.formatToParts?function(e,o){try{for(var t=e.formatToParts(o),n=[],a=0;a<t.length;a++){var c=r[t[a].type];c>=0&&(n[c]=parseInt(t[a].value,10))}return n}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(t,e):function(e,o){var t=e.format(o).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(t);return[n[3],n[1],n[2],n[4],n[5],n[6]]}(t,e)}var r={year:0,month:1,day:2,hour:3,minute:4,second:5};var a={};function c(e,o,t,n,r,a,c){var i=new Date(0);return i.setUTCFullYear(e,o,t),i.setUTCHours(n,r,a,c),i}t.d(o,"a",(function(){return s}));var i={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function s(e,o,t){var n,r,a;if(""===e)return 0;if(n=i.timezoneZ.exec(e))return 0;if(n=i.timezoneHH.exec(e))return l(a=parseInt(n[1],10))?-36e5*a:NaN;if(n=i.timezoneHHMM.exec(e)){a=parseInt(n[1],10);var s=parseInt(n[2],10);return l(a,s)?(r=36e5*Math.abs(a)+6e4*s,a>0?-r:r):NaN}if(function(e){if(u[e])return!0;try{return Intl.DateTimeFormat(void 0,{timeZone:e}),u[e]=!0,!0}catch(e){return!1}}(e)){o=new Date(o||Date.now());var d=m(t?o:function(e){return c(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(o),e);return-(t?d:function(e,o,t){var n=e.getTime()-o,r=m(new Date(n),t);if(o===r)return o;n-=r-o;var a=m(new Date(n),t);if(r===a)return r;return Math.max(r,a)}(o,d,e))}return NaN}function m(e,o){var t=n(e,o),r=c(t[0],t[1]-1,t[2],t[3]%24,t[4],t[5],0).getTime(),a=e.getTime(),i=a%1e3;return r-(a-=i>=0?i:1e3+i)}function l(e,o){return-23<=e&&e<=23&&(null==o||0<=o&&o<=59)}var u={}},,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},function(e,o,t){"use strict";function n(e){return Array.prototype.slice.apply(e)}function r(e){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function a(e){return e&&"function"==typeof e.then}function c(e){return e}function i(e){return"undefined"!=typeof window&&"AggregateError"in window?new window.AggregateError(e):{errors:e}}if(r.prototype={then:function(e,o){var t=r.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:t,nextFn:e,catchFn:o}),t;if(o)try{var n=o(this._error);return a(n)?(this._chainPromiseData(n,t),t):r.resolve(n)._setParent(this)}catch(e){return r.reject(e)._setParent(this)}return r.reject(this._error)._setParent(this)}return this._continuations.push({promise:t,nextFn:e,catchFn:o}),this._runResolutions(),t},catch:function(e){if(this._isResolved())return r.resolve(this._data)._setParent(this);var o=r.unresolved()._setParent(this);return this._continuations.push({promise:o,catchFn:e}),this._runRejections(),o},finally:function(e){var o=!1;function t(t,n){if(!o){o=!0,e||(e=c);var r=e(t);return a(r)?r.then((function(){if(n)throw n;return t})):t}}return this.then((function(e){return t(e)})).catch((function(e){return t(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,o){if(o.promise){var t={promise:o.promise,children:o.promise._findAncestry()};e.push(t)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var o=this._findFirstPending();o&&(o._data=e,o._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var o,t=this;t;)e(t)&&(o=t),t=t._parent;return o},_failWith:function(e){var o=this._findFirstPending();o&&(o._error=e,o._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,o=this._takeContinuations(),t=this;o.forEach((function(o){if(o.catchFn)try{var n=o.catchFn(e);t._handleUserFunctionResult(n,o.promise)}catch(e){o.promise.reject(e)}else o.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(a(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var o=this._data,t=this;e.forEach((function(e){if(e.nextFn)try{var n=e.nextFn(o);t._handleUserFunctionResult(n,e.promise)}catch(o){t._handleResolutionError(o,e)}else e.promise&&e.promise.resolve(o)}))}},_handleResolutionError:function(e,o){if(this._setRejected(),o.catchFn)try{return void o.catchFn(e)}catch(o){e=o}o.promise&&o.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var o=this;return e.then((function(e){o._data=e,o._runResolutions()})).catch((function(e){o._error=e,o._setRejected(),o._runRejections()}))},_handleUserFunctionResult:function(e,o){a(e)?this._chainPromiseData(e,o):o.resolve(e)},_chainPromiseData:function(e,o){e.then((function(e){o.resolve(e)})).catch((function(e){o.reject(e)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},r.resolve=function(e){return new r((function(o,t){a(e)?e.then((function(e){o(e)})).catch((function(e){t(e)})):o(e)}))},r.reject=function(e){return new r((function(o,t){t(e)}))},r.unresolved=function(){return new r((function(e,o){this.resolve=e,this.reject=o}))},r.all=function(){var e=n(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new r((function(o,t){var n=[],a=0,c=!1;e.forEach((function(i,s){r.resolve(i).then((function(t){n[s]=t,(a+=1)===e.length&&o(n)})).catch((function(e){!function(e){c||(c=!0,t(e))}(e)}))}))})):r.resolve([])},r.any=function(){var e=n(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new r((function(o,t){var n=[],a=0,c=!1;e.forEach((function(s,m){r.resolve(s).then((function(e){var t;t=e,c||(c=!0,o(t))})).catch((function(o){n[m]=o,(a+=1)===e.length&&t(i(n))}))}))})):r.reject(i([]))},r.allSettled=function(){var e=n(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new r((function(o){var t=[],n=0,a=function(){(n+=1)===e.length&&o(t)};e.forEach((function(e,o){r.resolve(e).then((function(e){t[o]={status:"fulfilled",value:e},a()})).catch((function(e){t[o]={status:"rejected",reason:e},a()}))}))})):r.resolve([])},Promise===r)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var s=Promise;r.installGlobally=function(e){if(Promise===r)return e;var o=function(e){if(void 0===e||e.__patched)return e;var o=e;return(e=function(){o.apply(this,n(arguments))}).__patched=!0,e}(e);return Promise=r,o},r.uninstallGlobally=function(){Promise===r&&(Promise=s)},e.exports={SynchronousPromise:r}},,,function(e,o,t){(function(o){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=27)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(61)},function(e,o){e.exports=t(7)},function(e,o){e.exports=t(0)},function(e,t){var n,r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,c=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,l="object"==typeof o&&o&&o.Object===Object&&o,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),p=Array.prototype,h=Function.prototype,f=Object.prototype,b=d["__core-js_shared__"],g=(n=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=h.toString,k=f.hasOwnProperty,v=f.toString,w=RegExp("^"+y.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=d.Symbol,j=p.splice,O=N(d,"Map"),z=N(Object,"create"),S=x?x.prototype:void 0,_=S?S.toString:void 0;function E(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function C(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function P(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function I(e,o){for(var t,n,r=e.length;r--;)if((t=e[r][0])===(n=o)||t!=t&&n!=n)return r;return-1}function T(e,o){for(var t,n=0,c=(o=function(e,o){if(M(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!L(e))||(a.test(e)||!r.test(e)||null!=o&&e in Object(o))}(o,e)?[o]:M(t=o)?t:D(t)).length;null!=e&&n<c;)e=e[q(o[n++])];return n&&n==c?e:void 0}function A(e,o){var t,n,r=e.__data__;return("string"==(n=typeof(t=o))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof o?"string":"hash"]:r.map}function N(e,o){var t=function(e,o){return null==e?void 0:e[o]}(e,o);return function(e){return!(!F(e)||(o=e,g&&g in o))&&(function(e){var o=F(e)?v.call(e):"";return"[object Function]"==o||"[object GeneratorFunction]"==o}(e)||function(e){var o=!1;if(null!=e&&"function"!=typeof e.toString)try{o=!!(e+"")}catch(e){}return o}(e)?w:m).test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var o}(t)?t:void 0}E.prototype.clear=function(){this.__data__=z?z(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var o=this.__data__;if(z){var t=o[e];return"__lodash_hash_undefined__"===t?void 0:t}return k.call(o,e)?o[e]:void 0},E.prototype.has=function(e){var o=this.__data__;return z?void 0!==o[e]:k.call(o,e)},E.prototype.set=function(e,o){return this.__data__[e]=z&&void 0===o?"__lodash_hash_undefined__":o,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var o=this.__data__,t=I(o,e);return!(t<0||(t==o.length-1?o.pop():j.call(o,t,1),0))},C.prototype.get=function(e){var o=this.__data__,t=I(o,e);return t<0?void 0:o[t][1]},C.prototype.has=function(e){return I(this.__data__,e)>-1},C.prototype.set=function(e,o){var t=this.__data__,n=I(t,e);return n<0?t.push([e,o]):t[n][1]=o,this},P.prototype.clear=function(){this.__data__={hash:new E,map:new(O||C),string:new E}},P.prototype.delete=function(e){return A(this,e).delete(e)},P.prototype.get=function(e){return A(this,e).get(e)},P.prototype.has=function(e){return A(this,e).has(e)},P.prototype.set=function(e,o){return A(this,e).set(e,o),this};var D=R((function(e){var o;e=null==(o=e)?"":function(e){if("string"==typeof e)return e;if(L(e))return _?_.call(e):"";var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}(o);var t=[];return c.test(e)&&t.push(""),e.replace(i,(function(e,o,n,r){t.push(n?r.replace(s,"$1"):o||e)})),t}));function q(e){if("string"==typeof e||L(e))return e;var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}function R(e,o){if("function"!=typeof e||o&&"function"!=typeof o)throw new TypeError("Expected a function");var t=function t(){var n=arguments,r=o?o.apply(this,n):n[0],a=t.cache;if(a.has(r))return a.get(r);var c=e.apply(this,n);return t.cache=a.set(r,c),c};return t.cache=new(R.Cache||P),t}R.Cache=P;var M=Array.isArray;function F(e){var o=typeof e;return!!e&&("object"==o||"function"==o)}function L(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==v.call(e)}e.exports=function(e,o,t){var n=null==e?void 0:T(e,o);return void 0===n?t:n}},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(259)},function(e,o){e.exports=t(421)},function(e,o){e.exports=t(50)},function(e,o){e.exports=t(71)},function(e,o){e.exports=t(92)},function(e,o){e.exports=t(93)},function(e,o){e.exports=t(333)},function(e,o){e.exports=t(63)},function(e,o){e.exports=t(621)},function(e,o){e.exports=t(622)},function(e,o){e.exports=t(103)},function(e,o){e.exports=t(623)},function(e,o){e.exports=t(233)},function(e,o){e.exports=t(627)},function(e,o){e.exports=t(628)},function(e,o){e.exports=t(136)},function(e,o){e.exports=t(629)},function(e,o){e.exports=t(339)},function(e,o){e.exports=t(139)},function(e,o){e.exports=t(337)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n.n(r),c=n(4),i=n.n(c),s=n(6),m=n(7),l=n(18),u=n.n(l),d=n(13),p=n.n(d),h=n(8),f=n.n(h),b=n(10),g=n(2),y=n(1),k=n(12),v=n.n(k),w=n(19);function x(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?x(Object(t),!0).forEach((function(o){O(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function O(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function z(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}var S=function(){var e,o=(e=function*(){try{const e=yield fetch("https://api.thetimes.co.uk/graphql",{method:"POST",body:JSON.stringify({query:"\n query GetPuzzleSections {\n editions {\n list(first: 1, group: date, region: default) {\n id\n publishedTime\n date\n updatedTime\n sections {\n __typename\n id\n title\n slug\n ... on PuzzleSection {\n id\n title\n slug\n slices {\n ... on Puzzle {\n __typename\n id\n title\n url\n hideOnMobile\n type\n slug\n shortIdentifier\n image {\n id\n title\n caption\n credits\n crops {\n ratio\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n"})});if(!e.ok)throw new Error("Network response was not ok: ".concat(e.status));const o=yield e.json();return(o&&o.data&&o.data.editions&&o.data.editions.list?o.data.editions.list.map(e=>{const o=e.sections.find(e=>e&&"PuzzleSection"===e.__typename);return o?j(j({},o),{},{slices:o.slices.map(e=>j(j({},e),{},{section:{title:o.title,id:o.id}}))}):null}).filter(Boolean):[]).flatMap(e=>e.slices.filter(e=>"Puzzle"===e.__typename&&"polygon"===e.type).map(e=>({slug:e.slug,shortIdentifier:e.shortIdentifier}))).map(e=>(e=>{const o="/puzzles/word-puzzles";return e.shortIdentifier?"".concat(o,"/").concat(e.slug,"-").concat(e.shortIdentifier):o})(e))[0]}catch(e){return null}},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){z(a,n,r,c,i,"next",e)}function i(e){z(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();function _(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function E(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?_(Object(t),!0).forEach((function(o){C(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function C(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function P(e){e.children;let o=e.element,t=void 0===o?"div":o,n=e.html,a=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["children","element","html"]);return Object(r.createElement)(t,E(E({},a),{},{undefined:void 0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n}}))}var I=n(20),T=n.n(I),A=n(15),N=n.n(A),D=n(9),q=n.n(D),R=n(16),M=n.n(R),F=n(21),L=n.n(F),B=n(22),H=n.n(B),U=n(23),W=n.n(U),V=n(24),Y=n.n(V),G=n(11),$=n.n(G),X=n(14),Z=n.n(X);const K={base:"\n color: ".concat(y.colours.functional.action,";\n font-family: ").concat(y.fontsWithFallback.bodyRegular,";\n line-height: 26px;\n font-size: ").concat(y.fontSizes.bodyMobile,"px;\n margin-bottom: ").concat(Object(y.spacing)(5),"px;\n margin-top: 0;\n "),medium:"\n font-size: ".concat(y.fontSizes.body,"px;\n line-height: 30px;\n ")},J={base:"\n font-size: inherit;\n text-decoration: none;\n color: ".concat(y.colours.functional.action,";\n ")};function Q(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ee(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Q(Object(t),!0).forEach((function(o){oe(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function oe(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const te=e=>{let o=e.children,t=e.target,n=e.url,r=e.onPress,c=e.dropCap;return a.a.createElement(a.a.Fragment,null,0===o.length?a.a.createElement(a.a.Fragment,null,a.a.createElement(Z.a,{responsiveLinkStyles:K,target:t,onPress:r,url:n},n)," "):a.a.createElement(Z.a,{underlined:!(c&&1===o[0].length),responsiveLinkStyles:c?J:K,target:t,url:n,onPress:r},o))};te.defaultProps=ee(ee({},Z.a.defaultProps),{},{onPress:()=>{},dropCap:!1});var ne,re=(ne=te,Object(b.withTrackEvents)(ne,{analyticsEvents:[{actionName:"Pressed",eventName:"onPress",getAttrs:e=>{let o=e.target;return{url:e.url,target:o,linkText:e.children[0]}},trackingName:"ArticleLink"}]})),ae=n(3),ce=n.n(ae),ie=n(17),se=n.n(ie);function me(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function le(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const ue=ce()(s.TcView).withConfig({displayName:"inset-caption__InsetCaptionStyle",componentId:"la2hkf-0"})(["padding-left:",";@media (min-width:","px){padding-left:0px;}"],Object(y.spacing)(2),y.breakpoints.medium),de=e=>{let o=e.caption,t=e.credits;return a.a.createElement(ue,null,a.a.createElement(se.a,{credits:t,text:o}))};de.defaultProps=function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?me(Object(t),!0).forEach((function(o){le(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):me(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({},se.a.defaultProps);var pe=de;ce.a.div.withConfig({displayName:"responsive__ParagraphContainer",componentId:"sc-4v1r4q-0"})(["padding-left:",";padding-right:",";@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide),ce.a.p.withConfig({displayName:"responsive__Paragraph",componentId:"sc-4v1r4q-1"})(["color:",";font-family:",";line-height:26px;font-size:","px;margin-bottom:",";margin-top:0;display:block;@media (min-width:","px){font-size:","px;line-height:30px;}"],y.colours.functional.primary,y.fontsWithFallback.bodyRegular,y.fontSizes.bodyMobile,Object(y.spacing)(5),y.breakpoints.medium,y.fontSizes.body);const he=ce.a.div.withConfig({displayName:"responsive__InteractiveContainer",componentId:"sc-4v1r4q-2"})(["position:relative;margin-bottom:",";",";"],Object(y.spacing)(4),e=>e.fullWidth?Object(ae.css)(["width:100%;"]):Object(ae.css)(["padding:0 ",";@media (min-width:","px){width:80.8%;margin-left:auto;margin-right:auto;padding:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide)),fe=ce()(s.TcView).withConfig({displayName:"responsive__PrimaryImg",componentId:"sc-4v1r4q-3"})(["width:100%;flex-direction:column;padding-bottom:",";@media (min-width:","px){width:80.8%;margin:0 auto;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(5),y.breakpoints.medium,y.breakpoints.wide),be=ce()(s.TcView).withConfig({displayName:"responsive__FullWidthImg",componentId:"sc-4v1r4q-4"})(["padding-bottom:",";"],Object(y.spacing)(4)),ge=ce()(s.TcView).withConfig({displayName:"responsive__SecondaryImg",componentId:"sc-4v1r4q-5"})(["width:100%;flex-direction:row;flex-wrap:nowrap;padding-left:",";padding-right:",";padding-bottom:",";@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),Object(y.spacing)(2),Object(y.spacing)(5),y.breakpoints.medium,y.breakpoints.wide),ye=ce()(s.TcView).withConfig({displayName:"responsive__InlineImg",componentId:"sc-4v1r4q-6"})(["width:100%;flex-direction:row;flex-wrap:nowrap;padding-left:",";padding-right:",";padding-bottom:0;display:block;@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide),ke=ce()(s.TcView).withConfig({displayName:"responsive__PullQuoteResp",componentId:"sc-4v1r4q-7"})(["padding-left:",";padding-right:",";margin-bottom:",";@media (min-width:","px){width:50%;float:left;margin-right:",";margin-bottom:0px;margin-top:",";padding-left:0px;padding-right:0px;}"],Object(y.spacing)(2),Object(y.spacing)(2),Object(y.spacing)(2),y.breakpoints.medium,Object(y.spacing)(4),Object(y.spacing)(1)),ve=ce()(s.TcView).withConfig({displayName:"responsive__PullQuoteContainer",componentId:"sc-4v1r4q-8"})(["display:block;@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],y.breakpoints.medium,y.breakpoints.wide),we="color: ".concat(y.colours.functional.primary,";\n font-family: ").concat(y.fontsWithFallback.headline,";\n font-weight: 400;\n margin: 0 auto ").concat(Object(y.spacing)(2),";\n padding-right: ").concat(Object(y.spacing)(2),";\n padding-left: ").concat(Object(y.spacing)(2),";\n\n @media (min-width: ").concat(y.breakpoints.medium,"px) {\n padding-left: 0;\n padding-right: 0;\n width: 80.8%;\n }\n\n @media (min-width: ").concat(y.breakpoints.wide,"px) {\n width: 56.2%;\n }"),xe=ce.a.h2.withConfig({displayName:"responsive__Heading2",componentId:"sc-4v1r4q-9"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading2Mobile,y.fontSizes.heading2Mobile,y.breakpoints.medium,y.fontSizes.heading2,y.fontSizes.heading2),je=ce.a.h3.withConfig({displayName:"responsive__Heading3",componentId:"sc-4v1r4q-10"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading3Mobile,y.fontSizes.heading3Mobile,y.breakpoints.medium,y.fontSizes.heading3,y.fontSizes.heading3),Oe=ce.a.h4.withConfig({displayName:"responsive__Heading4",componentId:"sc-4v1r4q-11"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading4Mobile,y.fontSizes.heading4Mobile,y.breakpoints.medium,y.fontSizes.heading4,y.fontSizes.heading4),ze=ce.a.h5.withConfig({displayName:"responsive__Heading5",componentId:"sc-4v1r4q-12"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading5Mobile,y.fontSizes.heading5Mobile,y.breakpoints.medium,y.fontSizes.heading5,y.fontSizes.heading5),Se=ce.a.h6.withConfig({displayName:"responsive__Heading6",componentId:"sc-4v1r4q-13"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading5Mobile,y.fontSizes.heading5Mobile,y.breakpoints.medium,y.fontSizes.heading5,y.fontSizes.heading5),_e=ce.a.div.withConfig({displayName:"responsive__InlineAdWrapper",componentId:"sc-4v1r4q-14"})(["clear:both;min-height:283px;margin:30px 0;box-sizing:content-box;padding:0 0 10px;border-bottom:1px solid rgb(219,219,219);@media (min-width:768px){min-height:123px;}@media (min-width:1024px){min-height:283px;}"]),Ee=ce.a.h2.withConfig({displayName:"responsive__InlineAdTitle",componentId:"sc-4v1r4q-15"})(["border-bottom:1px solid rgb(219,219,219);color:#696969;flex:1 1 100%;font:normal ","px / 17px ",";letter-spacing:0.6px;margin:0 0 10px;padding:0 0 5px;text-align:center;text-transform:uppercase;"],y.fontSizes.teaser,y.fontsWithFallback.bodyRegular);function Ce(){return(Ce=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Pe(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Ie(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Pe(Object(t),!0).forEach((function(o){Te(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pe(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Te(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Ae=["c8bf6998-d498-11ed-b5c3-54651fc826e9"],Ne=e=>Ae.includes(e),De=e=>{switch(e){case"secondary":return ge;case"inline":return ye;case"fullwidth":return be;default:return fe}},qe=(e,o,t)=>{const n=e.get(o)&&e.get(o).clientWidth?e.get(o).clientWidth:null;return n&&window.devicePixelRatio>1&&"indepth"===t&&1.5*n||n},Re=e=>{let o=e.content,t=e.contextUrl,n=e.section,r=e.paidContentClassName,c=e.template,i=e.isPreview,l=e.swgProductId,u=e.inArticlePuffFlag,d=e.isLiveOrBreaking,h=e.articleHeadline,f=e.id,b=e.deckApiUrl;return $()(o.map((e=>{let o=e.contextUrl,t=e.section;return e=>"ad"===e.name?Ie(Ie({},e),{},{attributes:Ie(Ie({},e.attributes),{},{contextUrl:o,section:t})}):e})({contextUrl:t,section:n})),(e=>{let o=e.paidContentClassName,t=e.template,n=e.analyticsStream,r=e.isPreview,c=e.isLiveOrBreaking,i=e.section,l=e.articleHeadline,u=e.articleId,d=e.deckApiUrl;return Ie(Ie({},H.a),{},{ad:e=>Ne(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inline-ad"})),inlineAd1:e=>Ne(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd1"})),inlineAd2:e=>Ne(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd2"})),inlineAd3:e=>Ne(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd3"})),inlineAd4:e=>Ne(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd4"})),dropCap:(e,o,t)=>a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme,n=o.dropCapFont,r=o.sectionColour,c=void 0===r?y.colours.section.default:r;return a.a.createElement(A.DropCapView,{colour:c,font:n},t)}),image(e,o){let n=o.id,r=o.display,c=o.ratio,i=o.url,s=o.caption,m=o.title,l=o.credits;const u=De(r);return a.a.createElement(p.a,{key:e,rootMargin:Object(y.spacing)(40),threshold:0},o=>{let d=o.observed,p=o.registerNode;return a.a.createElement("div",{id:e,ref:e=>p(e)},a.a.createElement("div",{id:n},a.a.createElement(u,null,a.a.createElement(T.a,{captionOptions:{caption:s,title:m,credits:l},imageOptions:{display:r,highResSize:qe(d,e,t),lowResQuality:3,lowResSize:400,ratio:c,uri:i}}))))})},interactive(e,o){let t=o.id,s=o.url,m=o.element,l=o.display;const u=m.attributes,p=m.value,h=d||"https://editorial-tm.newsapis.co.uk/prod/deck-component-data-api";switch(p){case"in-article-info-card":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.InfoCard,{sectionColour:o.sectionColour})))});case"in-article-info-card-bulletpoints":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.InfoCardBulletPoints,{sectionColour:o.sectionColour})))});case"in-article-big-numbers":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.BigNumbers,{sectionColour:o.sectionColour})))});case"in-article-timelines":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.Timelines,{sectionColour:o.sectionColour})))});case"gallery-carousel":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.GalleryCarousel,{sectionColour:o.sectionColour})))});case"twitter-embed":return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.SocialMediaEmbed,{url:u.url,vendorName:"twitter",id:t}));case"times-embed-iframe-max":{const o=m.attributes&&m.attributes.src||"",n=o.includes("youtube"),r=o.includes("tiktok");return n&&r?a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.SocialMediaEmbed,{url:r?decodeURIComponent(o):o,vendorName:n?"youtube":r&&"tiktok",id:t})):a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement("div",{id:t},a.a.createElement(M.a,{attributes:u,element:p,key:e,source:s})))}case"times-travel-cta":{const o=m.attributes;return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.CtaButton,{attributes:o}))}case"times-text-collapse":{const o=m.attributes;return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.AffiliateLinkDisclaimer,{attributes:o}))}case"times-article-slices":{const o=m.attributes;return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.ArticleCard,{element:o}))}case"newsletter-puff":const o=u.code,d=u.copy,f=u.headline;return r?a.a.createElement("div",{id:t},a.a.createElement(g.PreviewNewsletterPuff,{copy:Object(g.safeDecodeURIComponent)(d),headline:Object(g.safeDecodeURIComponent)(f),section:i})):a.a.createElement("div",{id:t},a.a.createElement(g.InlineNewsletterPuff,{analyticsStream:n,key:e,code:o,copy:Object(g.safeDecodeURIComponent)(d),headline:Object(g.safeDecodeURIComponent)(f),section:i}));case"opta-cricket-scorecard":case"opta-cricket-scorecard-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaCricketScorecard,{competition:u.competition,match:u.match}));case"opta-football-fixtures-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballFixtures,{season:u.season,competition:u.competition,date_from:u["date-from"],date_to:u["date-to"]}));case"opta-football-standings-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballStandings,{season:u.season,competition:u.competition,default_nav:u.group,navigation:!0}));case"opta-football-match-summary-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballSummary,{season:u.season,competition:u.competition,match:u.match}));case"opta-football-match-stats-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballMatchStats,{season:u.season,competition:u.competition,match:u.match}));case"opta-football-match-lineups-v3":case"opta-football-top-scorers-v3":case"opta-football-match-commentary-v3":case"opta-football-hub":return null;case"opta-rugby-union-fixtures-v2":case"opta-rugby-fixtures-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbyFixtures,{season:u.season,competition:u.competition,date_from:u["date-from"],date_to:u["date-to"]}));case"opta-rugby-union-standings-v2":case"opta-rugby-standings-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbyStandings,{season:u.season,competition:u.competition,default_nav:u.group,navigation:!0}));case"opta-rugby-union-match-summary-v2":case"opta-rugby-match-summary-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbySummary,{season:u.season,competition:u.competition,match:u.match}));case"opta-rugby-union-match-stats-v2":case"opta-rugby-match-stats-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbyMatchStats,{season:u.season,competition:u.competition,match:u.match}));case"in-article-puff":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.InArticlePuff,{sectionColour:o.sectionColour,forceImageAspectRatio:"3:2",isLiveOrBreaking:c})))});case"article-header":return a.a.createElement("div",{id:t},a.a.createElement(g.ArticleHeader,{updated:u.updated,breaking:u.breaking,headline:u.headline,authorSlug:u.slug,description:u.description}));default:return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement("div",{id:t},a.a.createElement(M.a,{attributes:u,element:p,key:e,source:s})))}},autoNewsletterPuff(e,o){const t=o.element.attributes,r=t.code,c=t.copy,s=t.headline;return a.a.createElement(g.AutoNewsletterPuff,{analyticsStream:n,key:e,code:r,copy:c,headline:s,section:i})},keyFacts:(e,o,t,n,r)=>a.a.createElement(L.a,{key:e,ast:r,section:i,headline:l,isLiveOrBreaking:c}),heading2:(e,o,t)=>a.a.createElement(xe,null,t),heading3:(e,o,t)=>a.a.createElement(je,null,t),heading4:(e,o,t)=>a.a.createElement(Oe,null,t),heading5:(e,o,t)=>a.a.createElement(ze,null,t),heading6:(e,o,t)=>a.a.createElement(Se,null,t),link(e,o,t){const n=o.href,r=o.target,c=o.dropCap;return a.a.createElement(re,{dropCap:c,key:e,target:r,url:n},t)},paragraph(e,o,t){const n=o&&o.id;return a.a.createElement(N.a,Ce({key:e},n?{id:n}:{}),t)},paywall:(e,t,n)=>a.a.createElement("span",{className:o,key:e},n),pullQuote(e,o,t){let n=o.caption,r=n.name,c=n.text,i=n.twitter;return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme,n=o.pullQuoteFont,s=o.sectionColour,m=void 0===s?y.colours.section.default:s;return a.a.createElement(ve,null,a.a.createElement(ke,null,a.a.createElement(W.a,{caption:r,font:n,quoteColour:m,text:c,twitter:i},t)))})},video(e,o){let t=o.id,n=o.is360,r=o.brightcovePolicyKey,c=o.brightcoveVideoId,i=o.brightcoveAccountId,m=o.brightcovePlayerId,l=o.caption,u=o.posterImageUrl;const d=De("primary");return a.a.createElement(d,{key:e},a.a.createElement("figure",{style:{margin:0}},a.a.createElement(s.AspectRatioContainer,{aspectRatio:"16:9"},a.a.createElement(Y.a,{id:t,is360:n,accountId:i,height:"100%",playerId:m,policyKey:r,poster:{uri:u},videoId:c,width:"100%"})),a.a.createElement("figcaption",null,a.a.createElement(pe,{caption:l}))))}})})({paidContentClassName:r,template:c,isPreview:i,swgProductId:l,inArticlePuffFlag:u,isLiveOrBreaking:d,articleId:f,section:n,articleHeadline:h,deckApiUrl:b}))};Re.propTypes={content:i.a.arrayOf(i.a.shape({attributes:i.a.object,children:i.a.arrayOf(i.a.object),name:i.a.string})).isRequired,contextUrl:i.a.string.isRequired,paidContentClassName:i.a.string,section:i.a.string};var Me=Re;i.a.shape({}),i.a.func.isRequired,i.a.shape({}),i.a.func.isRequired,i.a.shape({}),i.a.func,i.a.shape({account:i.a.string.isRequired}).isRequired,i.a.string,i.a.bool,i.a.bool,i.a.string.isRequired;var Fe=n(5),Le=n.n(Fe);const Be=()=>{const e=o.nuk&&o.nuk.user||{};return e&&e.registrationType?e.registrationType:""},He=()=>{const e=o.nuk&&o.nuk.user||{};return e&&e.customerType?e.customerType:""},Ue=()=>{const e=o.nuk&&o.nuk.user||{};return e&&e.isShared?"yes":"no"},We=e=>{const o=["LIVE","BREAKING"],t=e&&e.find(e=>o.includes(e.type.toUpperCase()));return t&&t.type},Ve=e=>{if(!e)return[];const o=e.find(e=>null===e.expiryTime||(new Date).getTime()<new Date(e.expiryTime).getTime());return o&&o.type&&o.type.toLowerCase()};function Ye(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Ge(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ye(Object(t),!0).forEach((function(o){$e(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ye(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function $e(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var Xe=e=>{const o=e.find(e=>"paywall"===e.name);if(!o)return e;const t=o.children.filter(e=>"paragraph"===e.name).pop(),n=o.children.indexOf(t),r=o.children.map((e,o)=>o===n?Ge(Ge({},e),{},{attributes:Ge(Ge({},e.attributes),{},{id:"last-paragraph"})}):e);return e.map(e=>"paywall"===e.name?Ge(Ge({},e),{},{children:r}):e)};const Ze=ce.a.div.withConfig({displayName:"keylines__KeylineItem",componentId:"sc-1s03wwf-0"})(["border:solid ",";border-width:1px 0;& + &{margin-top:-1px !important;}"],y.colours.functional.keyline),Ke=ce()(Ze).withConfig({displayName:"keylines__ArticleKeylineItem",componentId:"sc-1s03wwf-1"})(["@media (min-width:","px){margin:0 auto;}&:last-child{margin-bottom:",";}@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}margin-left:",";margin-right:",";"],y.breakpoints.medium,Object(y.spacing)(6),y.breakpoints.medium,y.breakpoints.wide,Object(y.spacing)(2),Object(y.spacing)(2)),Je=ce.a.main.withConfig({displayName:"responsive__MainContainer",componentId:"sc-15gvuj2-1"})(["@media (min-width:","px){padding-top:",";margin:0 auto;}"],y.breakpoints.wide,Object(y.spacing)(4)),Qe=ce()(s.TcView).withConfig({displayName:"responsive__HeaderContainer",componentId:"sc-15gvuj2-2"})(["display:flex;z-index:1;> ","{order:3;}"],Ke),eo=ce.a.article.withConfig({displayName:"responsive__BodyContainer",componentId:"sc-15gvuj2-3"})(["display:block;order:4;"]),oo=ce.a.div.withConfig({displayName:"responsive__UpdateButtonContainer",componentId:"sc-15gvuj2-4"})(["position:sticky;bottom:50px;display:flex;width:100%;justify-content:center;@media (min-width:","px){bottom:80px;}@media (min-width:","px){bottom:120px;}"],y.breakpoints.medium,y.breakpoints.wide),to=ce.a.div.withConfig({displayName:"responsive__SidebarWarpper",componentId:"sc-15gvuj2-5"})(["position:sticky;top:162px;display:none;left:100%;@media (min-width:","px){width:19.8333%;display:inline-block;}@media (min-width:","px){width:18.8333%;top:112px;}"],y.breakpoints.wide,y.breakpoints.huge),no=ce.a.div.withConfig({displayName:"responsive__PuzzlesSidebar",componentId:"sc-15gvuj2-6"})(["position:sticky;padding-left:",";z-index:1;@media (min-width:","px){padding-right:",";}@media (min-width:","px){padding-right:",";}"],Object(y.spacing)(4),y.breakpoints.wide,Object(y.spacing)(8),y.breakpoints.huge,Object(y.spacing)(10)),ro=ce.a.div.withConfig({displayName:"responsive__ArticleWrapper",componentId:"sc-15gvuj2-7"})(["position:relative;"]),ao=ce.a.div.withConfig({displayName:"responsive__ArticleContent",componentId:"sc-15gvuj2-8"})(["@media (min-width:","px){margin-top:",";transition:margin-top 0.2s ease;}"],y.breakpoints.wide,e=>e.showMargin?"-335px":"0"),co=ce.a.div.withConfig({displayName:"responsive__EmailBannerContainer",componentId:"sc-15gvuj2-9"})(["position:sticky;top:80px;width:100%;z-index:100;display:flex;justify-content:center;height:100%;@media (max-width:","px){max-width:327px;height:100px;margin:auto;}"],y.breakpoints.medium);function io(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function so(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?io(Object(t),!0).forEach((function(o){mo(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):io(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function mo(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var lo={articleContainer:{backgroundColor:y.colours.functional.gutter},articleMainContentRow:{paddingLeft:Object(y.spacing)(2),paddingRight:Object(y.spacing)(2)}};function uo(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function po(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?uo(Object(t),!0).forEach((function(o){ho(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uo(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ho(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const fo=(e=>{const o=Object(y.styleguide)({scale:e}),t=o.colours,n=o.fontFactory,r=o.spacing,a=o.lineHeight;return{ad:{borderBottomColor:t.functional.keyline,borderBottomWidth:1,borderTopColor:t.functional.keyline,borderTopWidth:1,marginBottom:r(4),padding:r(2)},articleLink:so(so({color:t.functional.action},n({font:"body",fontSize:"bodyMobile"})),{},{lineHeight:a({font:"body",fontSize:"bodyMobile"}),marginBottom:r(5),marginTop:0}),articleMainContentRow:{paddingLeft:r(2),paddingRight:r(2)},articleTextElement:so(so({},n({font:"body",fontSize:"bodyMobile"})),{},{color:t.functional.primary,marginBottom:r(5)}),containerTablet:{alignSelf:"center"},imageContainerTablet:{alignSelf:"center"},interactiveContainer:{marginBottom:r(4),paddingLeft:r(2),paddingRight:r(2)},interactiveContainerTablet:{alignSelf:"center",width:y.tabletWidth},interactiveContainerFullWidth:{width:"100%",paddingLeft:0,paddingRight:0},leadAsset:{marginBottom:r(2)},primaryContainer:{flexDirection:"column",paddingBottom:r(5),width:"100%"},heading2:so(so({},n({font:"headline",fontSize:"heading2Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading3:so(so({},n({font:"headline",fontSize:"heading3Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading4:so(so({},n({font:"headline",fontSize:"heading4Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading5:so(so({},n({font:"headline",fontSize:"heading5Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading6:so(so({},n({font:"headline",fontSize:"heading5Mobile"})),{},{marginBottom:r(2),color:t.functional.black})}})(),bo=po(po({},fo),{},{ad:po(po({},fo.ad),{},{marginBottom:Object(y.spacing)(6),marginTop:Object(y.spacing)(6),width:"100%"}),articleTextElement:po(po({},fo.articleTextElement),{},{marginTop:0}),adMarginStyle:{marginBottom:0}});var go=po(po({},lo),bo),yo=n(25);const ko=["37a19ac4-1cbb-11ee-8198-bf96b6365670"];function vo(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return null;const t=e.reduce((e,o)=>(e.push(...o.slices),e),[]),n=t.reduce((e,o)=>(e.push(...o.sections),e),[]);return n.map(e=>o+e.title)}const wo={SUNDAYTIMES:"The Sunday Times",TIMES:"The Times"},xo=e=>Le()(e,"crop169.url",null),jo=e=>xo(Le()(e,"leadAsset.posterImage",Le()(e,"leadAsset",null))),Oo=e=>xo(Le()(e,"leadAsset",null)),zo=e=>(e.hasVideo?jo:Oo)(e);function So(e){let o=e.article,t=e.articleUrl,n=e.logoUrl,r=e.paidContentClassName,c=e.getFallbackThumbnailUrl169,i=e.swgProductId,m=e.breadcrumbs,l=e.domainSpecificUrl;const u=o.descriptionMarkup,d=o.headline,p=o.leadAsset,h=o.publicationName,f=o.shortHeadline,b=o.publishedTime,g=o.updatedTime,y=o.hasVideo,k=o.seoDescription,v=o.keywords,w=p||{},x=w.brightcoveAccountId,j=w.brightcoveVideoId,O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o="";if(void 0!==e)for(let t=0;t<e.length;t+=1)"LIVE"===e[t].type&&(o=e[t].expiryTime);return o}(o.expirableFlags),z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return void 0!==e&&void 0!==e.find(e=>"LIVE"===e.type&&(Date.now()<new Date(e.expiryTime)||null===e.expiryTime))}(o.expirableFlags),S=wo[h],_=function(e){const o=e.bylines;if(!o)return null;const t=o.reduce((e,o)=>(Array.isArray(o.byline)?e.push(...o.byline):e.push(o.byline),e),[]);return Object(G.renderTreeAsText)({children:t})}(o),E=k||(Array.isArray(u)&&u.length?Object(G.renderTreeAsText)({children:u}):null),C=function(e){const o=vo(e.tiles);if(null==o)return null;const t=o.filter(e=>"News"!==e);return t.length?t[0]:"News"}(o),P=function(e){const o=vo(e.tiles,"Section:");return null==o?null:o.filter((e,o,t)=>t.indexOf(e)===o).slice(0,2).toString()}(o),I=(e=>{const o=e.hasVideo,t=e.leadAsset,n=o?jo(e):(e=>{const o=e.tiles&&e.tiles.find(e=>Le()(e.leadAsset,"crop169.url",null));if(o)return o;return Le()(e.listingAsset,"crop169.url",null)||Le()(e.leadAsset,"crop169.url",null)})(e);if(n)return n;if(!t)return null;const r=t&&t.posterImage?t.posterImage:t,a=r.crop32,c=r.crop1251,i=r.crop11,s=r.crop45,m=r.crop23,l=r.crop2251,u=a||c||i||s||m||l;return u?u.url:""})(o)||(c?c():null),T=Object(s.appendToImageURL)(zo(o),"resize",1200)||I,A=function(e,o){return e.bylines?(t=e,t.bylines.map(e=>e.author).filter(e=>e)).map(e=>{let t=e.name,n=e.jobTitle,r=e.twitter,a=e.slug;const c="".concat(o,"/profile/").concat(a);return{"@type":"Person",name:t,jobTitle:n,sameAs:r?[c,"https://twitter.com/".concat(r)]:c}}):[];var t}(o,l),N=Le()(p,"caption",null),D=d||f||"",q=b&&new Date(b).toISOString(),R=g||q,M=_?{"@type":"Person",name:_}:null,F=(A&&A.length?A:M)||{"@type":"Organization",name:"The Times"},L={"@type":"Organization",name:S,logo:{"@type":"ImageObject",url:n}},B=((e,o,t)=>{const n=[];if(null===e)return n;const r=e.content,a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=/\D+/g,n=e.replace(t,""),r=/\b(\w)/g,a=o.match(r),c=null===a?"":a.join("");return"u_".concat(n).concat(c)};if(void 0!==r){let c;const i=r=>{for(let s=0;s<r.length;s+=1)if("interactive"===r[s].name){if(r[s].attributes.element&&"article-header"===r[s].attributes.element.value){void 0!==c&&n.push(c);const i=r[s].attributes.element.attributes;c={"@type":"BlogPosting",headline:i.headline,datePublished:i.updated,dateModified:i.updated,publisher:o,url:"".concat(e.url,"#").concat(a(i.updated,i.headline)),author:t}}}else if("paragraph"===r[s].name){if(void 0!==c){const e=Le()(r[s],"children[0].attributes.value","");c.articleBody?c.articleBody+=" ".concat(e):c.articleBody=e}}else"image"===r[s].name?void 0!==c&&(c.image={"@type":"ImageObject",url:r[s].attributes.url,caption:r[s].attributes.caption}):"video"===r[s].name?void 0!==c&&(c.video={"@type":"VideoObject",thumbnail:r[s].attributes.posterImageUrl}):"paywall"===r[s].name&&r[s].children&&r[s].children.length>0&&i(r[s].children)};i(r),void 0!==c&&n.push(c)}return n})(o,L,F),H={"@context":"https://schema.org","@type":"NewsArticle",headline:D,publisher:{"@type":"Organization",name:S,logo:{"@type":"ImageObject",url:n}},mainEntityOfPage:{"@type":"WebPage","@id":t},dateCreated:b,datePublished:q,isAccessibleForFree:!1,hasPart:{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:".".concat(r)},image:{"@type":"ImageObject",url:T,caption:N},thumbnailUrl:I,dateModified:R,author:F,articleSection:C,keywords:P,url:t};i&&(H.isPartOf={"@type":["CreativeWork","Product"],name:"The Times & The Sunday Times",productID:i});const U=y?{"@context":"https://schema.org","@type":"VideoObject",name:p&&p.title?p.title:D,uploadDate:R,thumbnailUrl:I,description:Array.isArray(u)&&u.length?Object(G.renderTreeAsText)({children:u}):k||p.title||D,contentUrl:"https://players.brightcove.net/".concat(x,"/default_default/index.html?videoId=").concat(j)}:null,W={"@context":"https://schema.org","@type":"LiveBlogPosting",headline:d,description:k,mainEntityOfPage:{"@type":"WebPage","@id":t},datePublished:b,dateModified:g,coverageStartTime:b,coverageEndTime:O,url:t,keywords:v,image:{"@type":"ImageObject",url:T,caption:N},publisher:L,author:F,liveBlogUpdate:B,articleSection:C},V=ko.includes(o.id),Y=m&&m.length?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:m.map((e,o)=>({"@type":"ListItem",position:o+1,name:e.title,item:"".concat(l,"/").concat(e.slug)}))}:null;return a.a.createElement(yo.Helmet,{encodeSpecialCharacters:!1},a.a.createElement("title",null,D),V&&a.a.createElement("meta",{name:"robots",content:"noindex"}),a.a.createElement("meta",{name:"robots",content:"max-image-preview:large"}),a.a.createElement("meta",{content:D,name:"article:title"}),a.a.createElement("meta",{content:S,name:"article:publication"}),E&&a.a.createElement("meta",{content:E,name:"description"}),_&&a.a.createElement("meta",{content:_,name:"author"}),a.a.createElement("meta",{content:D,property:"og:title"}),a.a.createElement("meta",{content:"article",property:"og:type"}),a.a.createElement("meta",{content:t,property:"og:url"}),E&&a.a.createElement("meta",{content:E,property:"og:description"}),T&&a.a.createElement("meta",{content:T,property:"og:image"}),y&&a.a.createElement("meta",{name:"robots",content:"max-video-preview:-1"}),a.a.createElement("meta",{content:D,name:"twitter:title"}),a.a.createElement("meta",{content:"summary_large_image",name:"twitter:card"}),a.a.createElement("meta",{content:t,name:"twitter:url"}),E&&a.a.createElement("meta",{content:E,name:"twitter:description"}),T&&a.a.createElement("meta",{content:T,name:"twitter:image"}),z&&a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(W)),a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(H)),U&&a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(U)),Y&&a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(Y)),a.a.createElement("script",{type:"text/javascript",async:!0,src:"https://platform.twitter.com/widgets.js"}))}So.defaultProps={swgProductId:null,breadcrumbs:[]};var _o=So,Eo=e=>{let o=e.id,t=e.componentName;if("undefined"!=typeof window){const e=Le()(window,"paywallComponent.".concat(t));if(e)return a.a.createElement("div",{id:o,dangerouslySetInnerHTML:{__html:e}})}return a.a.createElement("div",{id:o})},Co=n(26),Po=n.n(Co);function Io(){return(Io=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}const To=ce.a.div.withConfig({displayName:"sticky-save-and-share-bar__SaveShareContainer",componentId:"hqppv0-0"})(["background-color:",";height:60px;display:flex;align-items:center;",";"],y.colours.functional.white,e=>e.isClient&&[h.selectors.sizer(Object(ae.css)(["border-bottom:1px solid transparent;will-change:border-bottom-color;"])),h.selectors.sticky(Object(ae.css)(["will-change:height,box-shadow;"])),Object(h.computeProgressStyles)(e=>Object(ae.css)(["height:","px;box-shadow:0 2px 5px 0 ",";",";"],60-10*e,y.colours.functional.greyStickyBarBoxShadow,h.selectors.stickySizer(Object(ae.css)(["border-bottom-color:",";"],y.colours.functional.greyStickyBarBorderBottom))))]),Ao=ce.a.div.withConfig({displayName:"sticky-save-and-share-bar__SaveShareItem",componentId:"hqppv0-1"})(["order:3;& + &{margin-top:-1px !important;}@media (min-width:","px){margin:0 auto;}&:last-child{margin-bottom:",";}@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}margin-left:",";margin-right:",";"],y.breakpoints.medium,Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide,Object(y.spacing)(2),Object(y.spacing)(2));function No(e){return a.a.createElement(s.ServerClientRender,{client:()=>a.a.createElement(To,Io({isClient:!0},e)),server:()=>a.a.createElement(To,e)})}const Do=Object(h.mediaQuery)("(max-width: ".concat(y.breakpoints.huge,"px)"));var qo=function(e){return a.a.createElement(Ao,null,a.a.createElement(f.a,{Component:No,shouldBeSticky:Do},a.a.createElement(Po.a,e)))};function Ro(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Mo(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ro(Object(t),!0).forEach((function(o){Fo(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ro(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Fo(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Lo=["indepth","maincomment","magazinestandard","magazinecomment"],Bo=e=>{const o=e.children;if(0===o.length)return e;if("text"===o[0].name){const n=(t=Le()(o[0],"attributes.value[0]"),/'|"|‘|“/.test(t)&&o[0].attributes.value.length>1?2:1);return Mo(Mo({},e),{},{attributes:Mo({},e.attributes),children:[Mo(Mo({},o[0]),{},{attributes:Mo(Mo({},o[0].attributes),{},{value:o[0].attributes.value.slice(0,n),dropCap:!0})}),Mo(Mo({},o[0]),{},{attributes:Mo(Mo({},o[0].attributes),{},{value:o[0].attributes.value.slice(n),dropCap:!0})}),...o.slice(1)]})}var t;if("link"===o[0].name&&0===o[0].children.length)return null;const n=Bo(o[0]);if(n.attributes.dropCap&&"paragraph"!==e.name){const t=Mo(Mo({},e),{},{attributes:Mo(Mo({},e.attributes),{},{dropCap:!0}),children:[n,...o.slice(1)]});return n.attributes.dropCap=!0,t}const r=Mo(Mo({},e),{},{children:[n,...o.slice(1)]});return n.attributes.dropCap=!0,r},Ho=e=>{const o=e[0];return o&&o.attributes.dropCap&&"text"!==o.name?Ho(o.children):e};var Uo=(e,o)=>t=>{const n=((e,o,t)=>{try{if(o&&Lo.includes(o)&&!t&&e.length>0){const o=e.find(e=>"paragraph"===e.name);if(!o||0===o.children.length)return e;const t=e.indexOf(o),n=Bo(o),r=Bo(o);Ho(n.children).splice(1),Ho(r.children).splice(0,1);const a=[...e];return a.splice(t,1,{name:"dropCap",attributes:{},children:[n]},r),a}}catch(o){return e}return e})(t,e,o),r=n.length>0&&n.find(e=>"dropCap"===e.name);if(r){const e=n.indexOf(r);return n[e].children=n[e].children[0].children.slice(0,1),n[e+1].children=[n[e],...n[e+1].children],n.splice(e,1),n}return n};function Wo(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Vo(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Wo(Object(t),!0).forEach((function(o){Yo(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Wo(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Yo(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Go=e=>({name:"autoNewsletterPuff",attributes:{element:{value:"newsletter-puff",attributes:Vo({label:"In your inbox"},e)}},children:[]}),$o=[{section:"news",payload:Go({code:"TNL-101",headline:"Daily Briefing",copy:"Our flagship newsletter featuring our top stories and analysis, delivered every morning.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F728c3e68-5311-4533-809a-b313a6503789.jpg?resize=800"})},{section:"business",payload:Go({code:"TNL-103",headline:"Business briefing",copy:"Morning and midday updates on financial and economic news from our award-winning business team.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F306637af-2b6f-48fc-b264-d661b2067818.jpg?resize=800"})},{section:"scotland",payload:Go({code:"TNL-134",headline:"Editor’s Choice – Scotland",copy:"The biggest stories from The Times and Sunday Times Scotland, every Saturday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F5777acf9-363f-4aa3-8176-1ea09cdae7d6.jpg?resize=800"})},{section:"money",payload:Go({code:"TNL-107",headline:"Money newsletter",copy:"Personal finance and investment news from our money experts, every Monday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2Ffd44b15f-2fb8-4e5d-b409-315648b10646.jpg?resize=800"})},{section:"law",payload:Go({code:"TNL-121",headline:"The Brief",copy:"Get expert analysis, news and commentary in The Brief, our legal editor's insider's guide, every Thursday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F27a231b4-5658-4852-a603-37c5210a946e.jpg?resize=800"})},{section:"home",payload:Go({code:"TNL-113",headline:"Property newsletter",copy:"Inside Britain's most exclusive homes, expert advice and what's really happening in the property market, every Monday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F42a688ec-f9ba-4684-90ce-17a9d1c19d8a.jpg?resize=800"})},{section:"luxury",payload:Go({code:"TNL-148",headline:"Luxury newsletter",copy:"Do you need more luxury in your life? Sign up to the Times Luxury newsletter with one click.",imageUri:"https://www.thetimes.co.uk/imageserver/image/%2Fmethode%2Ftimes%2Fprod%2Fweb%2Fbin%2Fcbd3c7a9-4d25-422a-b4a5-a48072778002.jpg?crop=1990%2C1322%2C0%2C0&resize=800"})},{section:"bricks & mortar",payload:Go({code:"TNL-113",headline:"Property newsletter",copy:"Get expert advice and find out what's really happening in the property market.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F42a688ec-f9ba-4684-90ce-17a9d1c19d8a.jpg?resize=800"})},{section:"ireland",payload:Go({code:"TNL-152",headline:"Best of Times Ireland newsletter:",copy:"The most compelling Irish news, business, sport and lifestyle stories from the week, every Sunday."})},{section:"irish sport",payload:Go({code:"TNL-152",headline:"Best of Times Ireland newsletter:",copy:"The most compelling Irish news, business, sport and lifestyle stories from the week, every Sunday."})}],Xo=e=>e.find(e=>"interactive"===e.name&&"newsletter-puff"===e.attributes.element.value),Zo=(e,o,t)=>Vo(Vo({},e),{},{children:e.children.reduce((e,n,r)=>r===o?[...e,t,n]:[...e,n],[])}),Ko=e=>{const o=e.findIndex(e=>"paragraph"!==e.name);return-1===o?e.length:o};var Jo=(e,o,t)=>n=>{if(o||We(t))return n;const r=(e=>{const o=$o.find(o=>o.section===e.toLowerCase());return o?o.payload:void 0})(e);if(!r)return n;const a=n.find(e=>"paywall"===e.name);return a?Xo(n)||Xo(a.children)?n:((e,o)=>{const t=e.findIndex(e=>"paywall"===e.name),n=Ko(e),r=Ko(o.children);return n>=5||t===n&&n+r>=5})(n,a)?n.reduce((e,o,t)=>3===t?[...e,r,o]:"paywall"===o.name?[...e,Zo(o,3-t,r)]:[...e,o],[]):n:n};function Qo(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function et(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Qo(Object(t),!0).forEach((function(o){ot(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Qo(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ot(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var tt=e=>o=>{const t=[...o];let n;const r=e?(n=t.findIndex(e=>"ad"===e.name),{children:t.slice(n)}):t.find(e=>"paywall"===e.name),a=e?t.slice(0,n).filter(e=>"paragraph"===e.name):t.filter(e=>"paragraph"===e.name);if(!r)return t;const c=r.children,i=c.map((e,o)=>et(et({},e),{},{index:o})).filter(e=>"paragraph"===e.name);return i.pop(),[9,14,19,24].forEach((e,o)=>{if(!c.find(e=>e.name==="inlineAd".concat(o+1))){const t=i[e-a.length]?i[e-a.length].index:null;t&&null!==t&&c.splice(t+o+1,0,{name:"inlineAd".concat(o+1),children:[]})}}),e?[...o.slice(0,n),...c]:t};function nt(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function rt(e){return function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){nt(a,n,r,c,i,"next",e)}function i(e){nt(a,n,r,c,i,"throw",e)}c(void 0)}))}}function at(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ct={name:"paragraph",children:[{name:"italic",children:[{name:"text",children:[],attributes:{value:"All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue."}}]}]},it=["This article contains affiliate links that can earn us revenue","This article contains affiliate links that may earn us revenue","This article contains affiliate links which may earn us revenue","This article contains affiliate links, which can earn us revenue","This article contains affiliate links, which may earn us revenue","This article contains affiliate links, which may earn�us revenue","This article contains affiliate links, which�may earn us revenue","This article contains�affiliate links, which may earn us revenue","This article contains affiliate links","This article contains links that can earn us revenue","This article contains links which may earn us revenue","This article contains links, which can earn us revenue","This article contains links, which may earn us revenu","This article contains links from which we may earn revenue"],st=["(clicks.)?trx-hub.com","go.skimresources.com","go.redirectingat.com","(www.)?fave.co","beavertownbrewery.pxf.io","wilko.sjv.io","fanatics.93n6tx.net","ticketmaster-uk.tm7559.net","(www.)?prf.hn","nastygal.prf.hn","selfridges.prf.hn","bloomwild.prf.hn","go.linkby.com","(www.)?awin1.com","track.webgains.com","click.linksynergy.com","(www.)?dpbolvw.net","(www.)?kqzyfj.com","(www.)?anrdoezrs.net","(www.)?veneficus.co.uk","(www.)?shareasale.com","(www.)?privadovpn.com","(www.)?amzn.to","(www.)?amazon.[\\S]*?\\/(dp|gp)\\/[\\S]*?tag=","(www.)?planethowl.com"];var mt=e=>{const o=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return at(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?at(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(st),2),t=o[0],n=o[1];Object(r.useEffect)(()=>{function e(){return(e=rt((function*(){let e=st;try{const o=(yield fetch("https://ads.thetimes.com/affiliates/domains.json").then(e=>e.text())).replaceAll("'",'"');e=JSON.parse('{"response": '.concat(o," }")).response}catch(e){console.log("Fetching domain listing failed. Using default.")}n(e)}))).apply(this,arguments)}!function(){e.apply(this,arguments)}()},[]);const a=[...e];let c=!1,i=!1;const s=e=>(e.some(e=>{const o=!!("interactive"===e.name&&e.attributes&&e.attributes.element&&e.attributes.element.value&&"times-text-collapse"===e.attributes.element.value);if(!i&&("text"===e.name||o)){const t="text"===e.name&&e.attributes&&e.attributes.value?e.attributes.value:"",n=o&&e.attributes&&e.attributes.element&&e.attributes.element.attributes&&e.attributes.element.attributes.disclaimer_text?e.attributes.element.attributes.disclaimer_text:"",r=t||n;it.some(e=>r.includes(e))&&(i=!0)}if(i)return!0;if("interactive"!==e.name&&"link"!==e.name&&(void 0===e.children||!e.children.length))return!1;const n=!!("interactive"===e.name&&e.attributes&&e.attributes.element&&e.attributes.element.value&&"times-travel-cta"===e.attributes.element.value);if(!c&&("link"===e.name||n)){const o="link"===e.name&&e.attributes&&e.attributes.href?e.attributes.href:"",r=n&&e.attributes&&e.attributes.element&&e.attributes.element.attributes&&e.attributes.element.attributes.url?e.attributes.element.attributes.url:"",a=o||r;if(!a||!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0;const t='<a\\s[^>]*?href="https?:\\/\\/('.concat(o.join("|"),")"),n='<a href="'.concat(e,'"></a>'),r=new RegExp(t,"i");return r.test(n)}(a,t))return!1;c=!0}return void 0!==e.children&&e.children.length&&s(e.children),c}),{affiliateLinkExist:c,affiliateDisclaimerExist:i}),m=s(a);if(!m.affiliateDisclaimerExist&&m.affiliateLinkExist){const e=a.find(e=>"paragraph"===e.name);e&&a.splice(a.indexOf(e)+1,0,ct)}return a};function lt(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ut(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?lt(Object(t),!0).forEach((function(o){dt(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lt(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function dt(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var pt=e=>{const o=[...e],t=e=>e.map(e=>{let o=ut({},e);if("link"===o.name||"interactive"===o.name&&o.attributes&&o.attributes.element&&"times-travel-cta"===o.attributes.element.value){const e=o.attributes,t=((e||{}).element||{}).attributes,n="interactive"===o.name?t.url||"":e.href||"";!n||n.startsWith("https://www.thetimes.co.uk")||n.startsWith("https://www.thetimes.com")||(o=ut(ut({},o),{},{attributes:ut(ut({},e),{},{target:"_blank"})}))}return o.children&&o.children.length&&(o.children=t(o.children)),o});return t(o)};function ht(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function ft(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return bt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?bt(e,o):void 0}}(e,o)||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 bt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}n.d(t,"reduceArticleContent",(function(){return gt})),n.d(t,"KeylineItem",(function(){return Ze})),n.d(t,"ArticleKeylineItem",(function(){return Ke})),n.d(t,"ArticleLink",(function(){return re}));const gt=(e,o)=>e&&e.length>0&&o.reduce((e,o)=>o(e),e),yt=e=>{let o=e.analyticsStream,t=e.data,n=e.Header,c=e.logoUrl,i=e.receiveChildList,l=e.commentingConfig,d=e.articleDataFromRender,f=e.paidContentClassName,b=e.isPreview,k=e.swgProductId,x=e.getFallbackThumbnailUrl169,j=e.zephrDivs,O=e.showAudioPlayer,z=e.storefrontConfig;const _=t.commentsEnabled,E=t.content,C=t.dropcapsDisabled,I=t.id,T=t.section,A=t.url,N=t.headline,D=t.shortHeadline,q=t.expirableFlags,R=t.topics,M=t.relatedArticleSlice,F=t.template,L=t.savingEnabled,B=t.sharingEnabled,H=t.publishedTime,U=t.isSavingEnabled,W=t.isSharingEnabled,V=t.isCommentEnabled,Y=t.isEntitlementFeatureEnabled,G=ft(Object(r.useState)(!1),2),$=G[0],X=G[1],Z=Object(g.useSocialEmbedsContext)(),K=Z.isSocialEmbedAllowed,J=Z.isAllowedOnce;Object(r.useEffect)(()=>{(K.twitter||J.twitter)&&window.twttr&&window.twttr.widgets&&window.twttr.widgets.load()},[K.twitter,J.twitter]);const Q=Object(r.useRef)(),ee=()=>{const e=Q.current;if(e){const o=document.querySelectorAll(".responsive__InlineAdWrapper-sc-4v1r4q-17, .responsive__InlineAdWrapper-sc-4v1r4q-14, .responsive__FullWidthImg-sc-4v1r4q-4, .responsive__InteractiveContainer-sc-4v1r4q-2");let t=!1;o.forEach(o=>{if(o){const n=o.getBoundingClientRect();n.top<=e.getBoundingClientRect().bottom&&n.bottom>=e.getBoundingClientRect().top&&(t=!0)}}),e.style.opacity=t?"0":"1"}};Object(r.useEffect)(()=>{const e=!!JSON.parse(window.sessionStorage.getItem("verifyEmail"));X(e)},[]),Object(r.useEffect)(()=>{const e=Q.current;return e&&(e.style.transition="opacity 0.2s ease"),ee(),window.addEventListener("scroll",ee),()=>{window.removeEventListener("scroll",ee)}},[]);const oe=d||{},te=oe.hostName,ne=oe.canonicalUrl,re=oe.breadcrumbs,ae=oe.categorisedArticles,ie=oe.deckApiUrl,se=te&&ne?"".concat(te).concat(ne):A,me=[Uo(F,C),mt,Jo(T,b,q),tt(b),Xe,pt],le=gt(E,me),ue=(e=>{const o="indepth"===e;return ce()(s.TcView).withConfig({displayName:"responsive",componentId:"sc-15gvuj2-0"})(["box-sizing:content-box;justify-content:center;min-height:50px;display:flex;border-top-color:",";border-bottom-color:",";border-bottom-width:",";padding-top:",";padding-bottom:",";@media (min-width:768px){min-height:90px;}@media (min-width:1024px){min-height:250px;}"],y.colours.functional.keyline,y.colours.functional.keyline,o?"0":"1px",Object(y.spacing)(2),o?"0":Object(y.spacing)(2))})(F);i([{elementId:"last-paragraph",name:"end of article",eventNavigationName:"Article : View End"},{elementId:"related-articles",name:"related articles"}]);const de=(L||B)&&(U||W),pe=te||"https://www.thetimes.co.uk",he=We(q),fe=ft(Object(r.useState)([]),2),be=fe[0],ge=fe[1],ye=function(){var e,o=(e=function*(){const e=yield S();ge(e)},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){ht(a,n,r,c,i,"next",e)}function i(e){ht(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();return Object(r.useEffect)(()=>{Object(s.CanShowPuzzleSidebar)(T)&&ye()},[s.CanShowPuzzleSidebar,T]),a.a.createElement(h.StickyProvider,null,a.a.createElement(g.TrackingContextProvider,{context:{component:"ArticleSkeleton",attrs:{article_name:N||D||"",section_details:T}},analyticsStream:o},$&&a.a.createElement(co,null,a.a.createElement(g.Banner,{title:"Check your inbox",body:"Verify your email by clicking on the link sent to your inbox.",onClose:()=>{window.sessionStorage.setItem("verifyEmail",!1),X(!1)}})),b&&a.a.createElement("div",{className:"Container"},a.a.createElement("div",{className:"ArticleMetaBanner"},a.a.createElement("div",{className:"ArticleMetaBanner-field"},a.a.createElement("label",{htmlFor:"ArticleMetaBanner-uuid"},"UUID",a.a.createElement("input",{type:"text",placeholder:"UUID",name:"UUID",id:"ArticleMetaBanner-uuid",value:I,readOnly:!0})),a.a.createElement("button",{type:"button",className:"ArticleMetaBanner-button","data-clipboard-target":"#ArticleMetaBanner-uuid"},"Copy")))),a.a.createElement("div",{id:"article-marketing-header"}),a.a.createElement("article",{id:"article-main","data-article-identifier":t.id,"data-article-sectionname":T,"data-article-template":F},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-head"></div>'}),a.a.createElement(_o,{article:t,articleUrl:se,logoUrl:c,paidContentClassName:f,getFallbackThumbnailUrl169:x,swgProductId:k,breadcrumbs:re,domainSpecificUrl:pe}),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-below-head"></div>'}),a.a.createElement(r.Fragment,null,a.a.createElement(ue,{key:"headerAd"},a.a.createElement(m.AdContainer,{slotName:"header",style:go.adMarginStyle})),a.a.createElement(Je,null,a.a.createElement(g.WelcomeBanner,null),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-maincontainer"></div>'}),a.a.createElement(Qe,{showAudioPlayer:O},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-headercontainer"></div>'}),a.a.createElement(n,null),de?a.a.createElement(v.a,{state:v.a.showSaveAndShareBar},a.a.createElement(w.MessageContext.Consumer,null,e=>{let o=e.showMessage;return a.a.createElement(qo,{articleId:I,articleHeadline:N,articleUrl:se,onCopyLink:()=>o("Article link copied"),onSaveToMyArticles:()=>{},onShareOnEmail:()=>{},savingEnabled:L,sharingEnabled:B,hostName:pe})})):null,!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-bottom-headercontainer"></div>'})),a.a.createElement(eo,null,a.a.createElement(ro,null,Object(s.CanShowPuzzleSidebar)(T)&&a.a.createElement(to,null,a.a.createElement(no,{ref:Q},a.a.createElement(g.ArticleSidebar,{pageLink:"".concat(pe,"/puzzles"),sectionTitle:"Puzzles",data:[{title:"Crossword",url:"".concat(pe,"/puzzles/crossword"),imgUrl:"".concat(pe,"/d/img/puzzles/new-illustrations/crossword-c7ae8934ef.png")},{title:"Polygon",url:be,imgUrl:"".concat(pe,"/d/img/puzzles/new-illustrations/polygon-875ea55487.png")},{title:"Sudoku",url:"".concat(pe,"/puzzles/sudoku"),imgUrl:"".concat(pe,"/d/img/puzzles/new-illustrations/sudoku-ee2aea0209.png")}]}))),a.a.createElement(ao,{showMargin:Object(s.CanShowPuzzleSidebar)(T)},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-bodycontainer"></div>'}),le&&a.a.createElement(Me,{id:t.id,analyticsStream:o,content:le,contextUrl:se,section:T,articleHeadline:N,paidContentClassName:f,template:F,isPreview:b,isLiveOrBreaking:he,deckApiUrl:ie}),he&&a.a.createElement(v.a,{state:v.a.showLiveUpdateButton},a.a.createElement(oo,{"data-testid":"Update button container"},a.a.createElement(g.UpdateButtonWithDelay,{delay:8e3,update:!0,display:!0,label:"New update",handleClick:()=>(e=>{e.scroll({left:0,top:0}),e.location.reload(!0)})(window),updatedTime:t.publishedTime,articleId:t.id}))),a.a.createElement(Eo,{id:"paywall-portal-article-footer",componentName:"subscribe-cta"},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-paywall"></div>'})))),a.a.createElement(p.a,{rootMargin:Object(y.spacing)(40),threshold:0},e=>{let t=e.observed,n=e.registerNode;return a.a.createElement(u.a,{analyticsStream:o,articleId:I,articleHeadline:N,articleUrl:se,section:T,publishedTime:H,savingEnabled:L,sharingEnabled:B,commentsEnabled:_,registerNode:n,relatedArticleSlice:M,categorisedArticles:ae,relatedArticlesVisible:!!t.get("related-articles"),commentingConfig:l,topics:R,isSharingSavingEnabled:de,isCommentEnabled:V,storefrontConfig:z,breadcrumbs:re,domainSpecificUrl:pe,isEntitlementFeatureEnabled:Y})}),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-bottom-bodycontainer"></div>'})),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-bottom-maincontainer"></div>'}))),a.a.createElement(m.AdContainer,{slotName:"pixel"}),a.a.createElement(m.AdContainer,{slotName:"pixelteads"}),a.a.createElement(m.AdContainer,{slotName:"pixelskin"}))))};yt.defaultProps={adConfig:{},data:{content:[]},Header:()=>null,receiveChildList:()=>{},swgProductId:null,zephrDivs:!1},t.default=(e=>Object(b.withTrackingContext)(e,{getAttrs:e=>{let o=e.data,t=e.pageSection,n=e.navigationMode,r=e.referralUrl,a=void 0===r?"":r,c="",i=!1;const s=o.expirableFlags;if(window&&window.__TIMES_ACCESS_AND_IDENTITY__&&window.__TIMES_ACCESS_AND_IDENTITY__.hasAccess&&(i=!0),n){const e=n.isMyArticles,o=n.isPastSixDays;c=e?"my articles":o?"past 6 days":"current edition"}return{articleId:Le()(o,"id",""),article_topic_tags:o.topics?o.topics.map(e=>e.name):[],isLocked:i?"unlocked":"locked",bylines:Le()(o,"bylines[0].byline[0].children[0].attributes.value",""),headline:Le()(o,"headline",""),label:Le()(o,"label",""),pageName:"".concat(Le()(o,"slug",""),"-").concat(Le()(o,"shortIdentifier","")),edition_type:c,publishedTime:Le()(o,"publishedTime",""),parent_site:Le()(o,"publicationName",""),referralUrl:a,section:t||Le()(o,"section",""),template:Le()(o,"template","Default"),registrationType:Be(),customerType:He(),shared:Ue(),article_flag:Ve(s)?Ve(s):"no flag",article_template_name:We(s)?"live template":"standard template"}},trackingObjectName:"Article"}))(Object(b.withTrackScrollDepth)(e=>a.a.createElement(g.SocialEmbedsProvider,null,a.a.createElement(yt,e))))}])}).call(this,t(24))},function(e,o,t){var n=t(35),r=t(28),a=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=r(a,"name"),s=i&&"something"===function(){}.name,m=i&&(!n||n&&c(a,"name").configurable);e.exports={EXISTS:i,PROPER:s,CONFIGURABLE:m}},function(e,o,t){var n=t(56),r=t(19),a=t(76),c=t(264),i=Object;e.exports=c?function(e){return"symbol"==typeof e}:function(e){var o=n("Symbol");return r(o)&&a(o.prototype,i(e))}},function(e,o,t){var n,r,a=t(16),c=t(84),i=a.process,s=a.Deno,m=i&&i.versions||s&&s.version,l=m&&m.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},function(e,o){e.exports=function(e,o){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:o}}},function(e,o){e.exports={}},function(e,o,t){var n=t(149),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},function(e,o,t){var n=t(9),r=t(19),a=/#|\.prototype\./,c=function(e,o){var t=s[i(e)];return t==l||t!=m&&(r(o)?n(o):!!o)},i=c.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=c.data={},m=c.NATIVE="N",l=c.POLYFILL="P";e.exports=c},function(e,o,t){var n=t(267),r=t(196);e.exports=Object.keys||function(e){return n(e,r)}},function(e,o,t){var n=t(39).f,r=t(28),a=t(20)("toStringTag");e.exports=function(e,o,t){e&&!t&&(e=e.prototype),e&&!r(e,a)&&n(e,a,{configurable:!0,value:o})}},function(e,o,t){var n=t(16);e.exports=n.Promise},function(e,o,t){var n=t(16),r=t(126),a=t(19),c=t(123),i=t(195),s=t(20),m=t(441),l=t(276),u=t(65),d=t(119),p=r&&r.prototype,h=s("species"),f=!1,b=a(n.PromiseRejectionEvent),g=c("Promise",(function(){var e=i(r),o=e!==String(r);if(!o&&66===d)return!0;if(u&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var t=new r((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((t.constructor={})[h]=n,!(f=t.then((function(){}))instanceof n))return!0}return!o&&(m||l)&&!b}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:b,SUBCLASSING:f}},function(e,o,t){"use strict";var n=t(77),r=TypeError,a=function(e){var o,t;this.promise=new e((function(e,n){if(void 0!==o||void 0!==t)throw r("Bad Promise constructor");o=e,t=n})),this.resolve=n(o),this.reject=n(t)};e.exports.f=function(e){return new a(e)}},function(e,o,t){var n=t(99),r=t(23),a=t(30),c=t(95),i=t(277),s=t(73),m=t(76),l=t(278),u=t(205),d=t(279),p=TypeError,h=function(e,o){this.stopped=e,this.result=o},f=h.prototype;e.exports=function(e,o,t){var b,g,y,k,v,w,x,j=t&&t.that,O=!(!t||!t.AS_ENTRIES),z=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),_=!(!t||!t.INTERRUPTED),E=n(o,j),C=function(e){return b&&d(b,"normal",e),new h(!0,e)},P=function(e){return O?(a(e),_?E(e[0],e[1],C):E(e[0],e[1])):_?E(e,C):E(e)};if(z)b=e.iterator;else if(S)b=e;else{if(!(g=u(e)))throw p(c(e)+" is not iterable");if(i(g)){for(y=0,k=s(e);k>y;y++)if((v=P(e[y]))&&m(f,v))return v;return new h(!1)}b=l(e,g)}for(w=z?e.next:b.next;!(x=r(w,b)).done;){try{v=P(x.value)}catch(e){d(b,"throw",e)}if("object"==typeof v&&v&&m(f,v))return v}return new h(!1)}},function(e,o){e.exports={}},function(e,o,t){var n=t(10),r=t(14),a=t(121),c=t(29),i=t(28),s=t(39).f,m=t(98),l=t(282),u=t(283),d=t(144),p=t(281),h=!1,f=d("meta"),b=0,g=function(e){s(e,f,{value:{objectID:"O"+b++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=m.f,o=r([].splice),t={};t[f]=1,e(t).length&&(m.f=function(t){for(var n=e(t),r=0,a=n.length;r<a;r++)if(n[r]===f){o(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,o){if(!c(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,f)){if(!u(e))return"F";if(!o)return"E";g(e)}return e[f].objectID},getWeakData:function(e,o){if(!i(e,f)){if(!u(e))return!0;if(!o)return!1;g(e)}return e[f].weakData},onFreeze:function(e){return p&&h&&u(e)&&!i(e,f)&&g(e),e}};a[f]=!0},function(e,o,t){var n=t(20),r=t(100),a=t(39).f,c=n("unscopables"),i=Array.prototype;null==i[c]&&a(i,c,{configurable:!0,value:r(null)}),e.exports=function(e){i[c][e]=!0}},function(e,o,t){t(455)},function(e,o,t){var n=t(68).Symbol;e.exports=n},function(e,o,t){var n=t(170);e.exports=function(e){if("string"==typeof e||n(e))return e;var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}},,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},,,,function(e,o,t){var n=t(9);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,o,t){var n=t(16),r=t(29),a=n.document,c=r(a)&&r(a.createElement);e.exports=function(e){return c?a.createElement(e):{}}},function(e,o,t){var n=t(263),r=t(118);e.exports=function(e){var o=n(e,"string");return r(o)?o:o+""}},function(e,o,t){var n=t(14),r=0,a=Math.random(),c=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++r+a,36)}},function(e,o,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);o.f=a?function(e){var o=r(this,e);return!!o&&o.enumerable}:n},function(e,o,t){var n=t(14),r=t(9),a=t(72),c=Object,i=n("".split);e.exports=r((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i(e,""):c(e)}:c},function(e,o,t){var n=t(96),r=t(144),a=n("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},function(e,o,t){var n=t(149),r=Math.max,a=Math.min;e.exports=function(e,o){var t=n(e);return t<0?r(t+o,0):a(t,o)}},function(e,o,t){var n=t(426);e.exports=function(e){var o=+e;return o!=o||0===o?0:n(o)}},function(e,o){o.f=Object.getOwnPropertySymbols},function(e,o,t){var n=t(72);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,o,t){"use strict";var n=t(143),r=t(39),a=t(120);e.exports=function(e,o,t){var c=n(o);c in e?r.f(e,c,a(0,t)):e[c]=t}},function(e,o,t){var n=t(14),r=t(9),a=t(19),c=t(154),i=t(56),s=t(195),m=function(){},l=[],u=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.exec(m),f=function(e){if(!a(e))return!1;try{return u(m,l,e),!0}catch(e){return!1}},b=function(e){if(!a(e))return!1;switch(c(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,s(e))}catch(e){return!0}};b.sham=!0,e.exports=!u||r((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?b:f},function(e,o,t){var n=t(197),r=t(19),a=t(72),c=t(20)("toStringTag"),i=Object,s="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var o,t,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,o){try{return e[o]}catch(e){}}(o=i(e),c))?t:s?a(o):"Object"==(n=a(o))&&r(o.callee)?"Arguments":n}},function(e,o,t){var n=t(9),r=t(20),a=t(119),c=r("species");e.exports=function(e){return a>=51||!n((function(){var o=[];return(o.constructor={})[c]=function(){return{foo:1}},1!==o[e](Boolean).foo}))}},function(e,o,t){var n=t(10),r=t(272).values;n({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,o,t){var n=t(72),r=t(16);e.exports="process"==n(r.process)},function(e,o,t){var n=t(76),r=TypeError;e.exports=function(e,o){if(n(o,e))return e;throw r("Incorrect invocation")}},function(e,o,t){var n,r,a,c,i=t(16),s=t(160),m=t(99),l=t(19),u=t(28),d=t(9),p=t(274),h=t(203),f=t(142),b=t(435),g=t(275),y=t(157),k=i.setImmediate,v=i.clearImmediate,w=i.process,x=i.Dispatch,j=i.Function,O=i.MessageChannel,z=i.String,S=0,_={};try{n=i.location}catch(e){}var E=function(e){if(u(_,e)){var o=_[e];delete _[e],o()}},C=function(e){return function(){E(e)}},P=function(e){E(e.data)},I=function(e){i.postMessage(z(e),n.protocol+"//"+n.host)};k&&v||(k=function(e){b(arguments.length,1);var o=l(e)?e:j(e),t=h(arguments,1);return _[++S]=function(){s(o,void 0,t)},r(S),S},v=function(e){delete _[e]},y?r=function(e){w.nextTick(C(e))}:x&&x.now?r=function(e){x.now(C(e))}:O&&!g?(c=(a=new O).port2,a.port1.onmessage=P,r=m(c.postMessage,c)):i.addEventListener&&l(i.postMessage)&&!i.importScripts&&n&&"file:"!==n.protocol&&!d(I)?(r=I,i.addEventListener("message",P,!1)):r="onreadystatechange"in f("script")?function(e){p.appendChild(f("script")).onreadystatechange=function(){p.removeChild(this),E(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:k,clear:v}},function(e,o,t){var n=t(141),r=Function.prototype,a=r.apply,c=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(a):function(){return c.apply(a,arguments)})},function(e,o,t){"use strict";var n=t(117).PROPER,r=t(51),a=t(30),c=t(43),i=t(9),s=t(284),m=RegExp.prototype.toString,l=i((function(){return"/a/b"!=m.call({source:"a",flags:"b"})})),u=n&&"toString"!=m.name;(l||u)&&r(RegExp.prototype,"toString",(function(){var e=a(this);return"/"+c(e.source)+"/"+c(s(e))}),{unsafe:!0})},function(e,o,t){"use strict";var n,r,a=t(23),c=t(14),i=t(43),s=t(285),m=t(213),l=t(96),u=t(100),d=t(67).get,p=t(292),h=t(293),f=l("native-string-replace",String.prototype.replace),b=RegExp.prototype.exec,g=b,y=c("".charAt),k=c("".indexOf),v=c("".replace),w=c("".slice),x=(r=/b*/g,a(b,n=/a/,"a"),a(b,r,"a"),0!==n.lastIndex||0!==r.lastIndex),j=m.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(x||O||j||p||h)&&(g=function(e){var o,t,n,r,c,m,l,p=this,h=d(p),z=i(e),S=h.raw;if(S)return S.lastIndex=p.lastIndex,o=a(g,S,z),p.lastIndex=S.lastIndex,o;var _=h.groups,E=j&&p.sticky,C=a(s,p),P=p.source,I=0,T=z;if(E&&(C=v(C,"y",""),-1===k(C,"g")&&(C+="g"),T=w(z,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(z,p.lastIndex-1))&&(P="(?: "+P+")",T=" "+T,I++),t=new RegExp("^(?:"+P+")",C)),O&&(t=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=p.lastIndex),r=a(b,E?t:p,T),E?r?(r.input=w(r.input,I),r[0]=w(r[0],I),r.index=p.lastIndex,p.lastIndex+=r[0].length):p.lastIndex=0:x&&r&&(p.lastIndex=p.global?r.index+r[0].length:n),O&&r&&r.length>1&&a(f,r[0],t,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(r[c]=void 0)})),r&&_)for(r.groups=m=u(null),c=0;c<_.length;c++)m[(l=_[c])[0]]=r[l[1]];return r}),e.exports=g},function(e,o,t){"use strict";t(26);var n=t(198),r=t(51),a=t(162),c=t(9),i=t(20),s=t(86),m=i("species"),l=RegExp.prototype;e.exports=function(e,o,t,u){var d=i(e),p=!c((function(){var o={};return o[d]=function(){return 7},7!=""[e](o)})),h=p&&!c((function(){var o=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[m]=function(){return t},t.flags="",t[d]=/./[d]),t.exec=function(){return o=!0,null},t[d](""),!o}));if(!p||!h||t){var f=n(/./[d]),b=o(d,""[e],(function(e,o,t,r,c){var i=n(e),s=o.exec;return s===a||s===l.exec?p&&!c?{done:!0,value:f(o,t,r)}:{done:!0,value:i(t,o,r)}:{done:!1}}));r(String.prototype,e,b[0]),r(l,d,b[1])}u&&s(l[d],"sham",!0)}},function(e,o,t){var n=t(23),r=t(30),a=t(19),c=t(72),i=t(162),s=TypeError;e.exports=function(e,o){var t=e.exec;if(a(t)){var m=n(t,e,o);return null!==m&&r(m),m}if("RegExp"===c(e))return n(i,e,o);throw s("RegExp#exec called on incompatible receiver")}},function(e,o,t){var n=t(509),r=t(510),a=t(511),c=t(512),i=t(513);function s(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=c,s.prototype.set=i,e.exports=s},function(e,o,t){var n=t(226);e.exports=function(e,o){for(var t=e.length;t--;)if(n(e[t][0],o))return t;return-1}},function(e,o,t){var n=t(89)(Object,"create");e.exports=n},function(e,o,t){var n=t(527);e.exports=function(e,o){var t=e.__data__;return n(o)?t["string"==typeof o?"string":"hash"]:t.map}},function(e,o,t){var n=t(74),r=t(232),a=t(552),c=t(171);e.exports=function(e,o){return n(e)?e:r(e,o)?[e]:a(c(e))}},function(e,o,t){var n=t(101),r=t(102);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}},function(e,o,t){var n=t(555);e.exports=function(e){return null==e?"":n(e)}},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=4)}([function(e,o){e.exports=t(0)},function(e,o){e.exports=t(1)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(339)},function(e,o,t){"use strict";t.r(o);var n=t(1),r=t.n(n),a=t(2),c=t(3),i=t.n(c);function s(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var m=function(e){var o=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return s(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,o):void 0}}(e,o)||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.")}()}(e.split(":"),2),t=o[0],n=o[1];return Number(t)/Number(n)},l=t(0),u=t.n(l),d=u.a.shape({ratio:u.a.string.isRequired,url:u.a.string.isRequired}),p={brightcoveAccountId:u.a.string.isRequired,brightcovePolicyKey:u.a.string.isRequired,brightcoveVideoId:u.a.string.isRequired,posterImage:u.a.shape({crop32:d,crop169:d}).isRequired},h=(u.a.string.isRequired,u.a.string.isRequired,u.a.string.isRequired,u.a.number.isRequired,u.a.shape(p),u.a.func.isRequired,u.a.string.isRequired,{caption:u.a.string,credits:u.a.string,crop:d,crop11:d,crop23:d,crop32:d,crop45:d,crop169:d,crop1251:d}),f=(u.a.string,u.a.bool,u.a.oneOfType([u.a.shape(h),u.a.shape(p)]),u.a.func,u.a.any,u.a.number,{wrapper:{display:"table",height:0,overflow:"hidden",position:"relative",width:"100%"},img:{opacity:1,zIndex:2,width:"100%",position:"absolute",display:"block"}});function b(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function g(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?b(Object(t),!0).forEach((function(o){y(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function y(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var k=function(e){var o=e.aspectRatio,t=e.alt,n=e.uri,c=Object(a.addMissingProtocol)(n),i=m(o),s=[360,520,680,860,1200,1500],l=s.map((function(e){return"".concat(Object(a.appendToImageURL)(c,"resize",e)," ").concat(e,"w")}));return r.a.createElement("div",{style:g(g({},f.wrapper),{},{paddingBottom:"".concat(100/i,"%")}),className:"lcpItem"},r.a.createElement("img",{alt:t,style:f.img,src:Object(a.appendToImageURL)(c,"resize",s[0]),srcSet:l.join(","),fetchpriority:"high"}))},v=function(e){var o=e.aspectRatio,t=e.className,n=e.renderCaption,c=e.displayImage,s=e.isVideo,m=e.leadAsset,l=e.style;if(!m||!c)return null;var u=s?m.posterImage:m,d={credits:u.credits,text:u.caption},p=s?r.a.createElement(i.a,{accountId:m.brightcoveAccountId,height:"100%",id:m.id,is360:m.is360,playerId:m.brightcovePlayerId,policyKey:m.brightcovePolicyKey,position:"absolute",poster:{uri:c.url},videoId:m.brightcoveVideoId,width:"100%"}):r.a.createElement(k,{aspectRatio:o,alt:m.title||d.text,uri:c.url});return r.a.createElement(a.TcView,{className:t,style:l},r.a.createElement("figure",{style:{margin:0}},r.a.createElement(a.AspectRatioContainer,{aspectRatio:o},p),n&&r.a.createElement("figcaption",null,n({caption:d}))))};v.defaultProps={aspectRatio:"1:1",displayImage:null,isVideo:!1,leadAsset:null,renderCaption:function(){return null},width:null},o.default=v}])},,function(e,o,t){"use strict";(function(e){t.d(o,"a",(function(){return u}));t(58),t(32),t(22),t(161),t(451),t(44),t(88),t(57);var n,r=t(54),a=t.n(r),c=t(21);function i(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}function s(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function m(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var l=function(){return Math.random().toString(16).slice(2)},u=function(){function o(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.transport,m=t.async,u=void 0!==m&&m;s(this,o),this.isAsync=void 0,this.sender=l(),this.events={},this.data={},this.transport=void 0,this.addPeerListener=a()((function(o,t){e.addListener(o,t)}),Object(c.a)(n||(n=i(["\n channel.addPeerListener is deprecated\n "])))),this.isAsync=u,r&&(this.transport=r,this.transport.setHandler((function(o){return e.handleEvent(o)})))}var t,r,u;return t=o,(r=[{key:"hasTransport",get:function(){return!!this.transport}},{key:"addListener",value:function(e,o){this.events[e]=this.events[e]||[],this.events[e].push(o)}},{key:"emit",value:function(o){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];var c={type:o,args:r,from:this.sender},i={};r.length>=1&&r[0]&&r[0].options&&(i=r[0].options);var s=function(){t.transport&&t.transport.send(c,i),t.handleEvent(c)};this.isAsync?e(s):s()}},{key:"last",value:function(e){return this.data[e]}},{key:"eventNames",value:function(){return Object.keys(this.events)}},{key:"listenerCount",value:function(e){var o=this.listeners(e);return o?o.length:0}},{key:"listeners",value:function(e){var o=this.events[e];return o||void 0}},{key:"once",value:function(e,o){var t=this.onceListener(e,o);this.addListener(e,t)}},{key:"removeAllListeners",value:function(e){e?this.events[e]&&delete this.events[e]:this.events={}}},{key:"removeListener",value:function(e,o){var t=this.listeners(e);t&&(this.events[e]=t.filter((function(e){return e!==o})))}},{key:"on",value:function(e,o){this.addListener(e,o)}},{key:"off",value:function(e,o){this.removeListener(e,o)}},{key:"handleEvent",value:function(e){var o=this.listeners(e.type);o&&o.length&&o.forEach((function(o){o.apply(e,e.args)})),this.data[e.type]=e.args}},{key:"onceListener",value:function(e,o){var t=this,n=function n(){return t.removeListener(e,n),o.apply(void 0,arguments)};return n}}])&&m(t.prototype,r),u&&m(t,u),Object.defineProperty(t,"prototype",{writable:!1}),o}();o.b=u}).call(this,t(448).setImmediate)},function(e,o,t){"use strict";t.d(o,"a",(function(){return r}));var n=t(174);function r(){return new n.b({transport:{setHandler:function(){},send:function(){}}})}},function(e,o,t){"use strict";t.d(o,"b",(function(){return n})),t.d(o,"a",(function(){return r}));var n;t(286),t(22),t(156);function r(e){return!!Object.values(n).find((function(o){return o===e}))}!function(e){e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.NOTES_ELEMENT="notes-element"}(n||(n={}))},,,function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){var o=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return o.setUTCFullYear(e.getFullYear()),e.getTime()-o.getTime()},e.exports=o.default},,function(e,o,t){"use strict";var n=t(79),r=t.n(n),a=t(179),c=t.n(a),i=t(110),s=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;t.d(o,"a",(function(){return l}));var m={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:s};function l(e,o){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var t=o||{},n=null==t.additionalDigits?2:r()(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var a=u(e),s=d(a.date,n),m=s.year,l=s.restDateString,f=p(l,m);if(isNaN(f))return new Date(NaN);if(f){var b,g=f.getTime(),y=0;if(a.time&&(y=h(a.time),isNaN(y)))return new Date(NaN);if(a.timeZone||t.timeZone){if(b=Object(i.a)(a.timeZone||t.timeZone,new Date(g+y)),isNaN(b))return new Date(NaN)}else b=c()(new Date(g+y)),b=c()(new Date(g+y+b));return new Date(g+y+b)}return new Date(NaN)}function u(e){var o,t={},n=m.dateTimePattern.exec(e);if(n?(t.date=n[1],o=n[3]):(n=m.datePattern.exec(e))?(t.date=n[1],o=n[2]):(t.date=null,o=e),o){var r=m.timeZone.exec(o);r?(t.time=o.replace(r[1],""),t.timeZone=r[1].trim()):t.time=o}return t}function d(e,o){var t,n=m.YYY[o],r=m.YYYYY[o];if(t=m.YYYY.exec(e)||r.exec(e)){var a=t[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(t=m.YY.exec(e)||n.exec(e)){var c=t[1];return{year:100*parseInt(c,10),restDateString:e.slice(c.length)}}return{year:null}}function p(e,o){if(null===o)return null;var t,n,r,a;if(0===e.length)return(n=new Date(0)).setUTCFullYear(o),n;if(t=m.MM.exec(e))return n=new Date(0),k(o,r=parseInt(t[1],10)-1)?(n.setUTCFullYear(o,r),n):new Date(NaN);if(t=m.DDD.exec(e)){n=new Date(0);var c=parseInt(t[1],10);return function(e,o){if(o<1)return!1;var t=y(e);if(t&&o>366)return!1;if(!t&&o>365)return!1;return!0}(o,c)?(n.setUTCFullYear(o,0,c),n):new Date(NaN)}if(t=m.MMDD.exec(e)){n=new Date(0),r=parseInt(t[1],10)-1;var i=parseInt(t[2],10);return k(o,r,i)?(n.setUTCFullYear(o,r,i),n):new Date(NaN)}if(t=m.Www.exec(e))return v(o,a=parseInt(t[1],10)-1)?f(o,a):new Date(NaN);if(t=m.WwwD.exec(e)){a=parseInt(t[1],10)-1;var s=parseInt(t[2],10)-1;return v(o,a,s)?f(o,a,s):new Date(NaN)}return null}function h(e){var o,t,n;if(o=m.HH.exec(e))return w(t=parseFloat(o[1].replace(",",".")))?t%24*36e5:NaN;if(o=m.HHMM.exec(e))return w(t=parseInt(o[1],10),n=parseFloat(o[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(o=m.HHMMSS.exec(e)){t=parseInt(o[1],10),n=parseInt(o[2],10);var r=parseFloat(o[3].replace(",","."));return w(t,n,r)?t%24*36e5+6e4*n+1e3*r:NaN}return null}function f(e,o,t){o=o||0,t=t||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var r=7*o+t+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+r),n}var b=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}function k(e,o,t){if(o<0||o>11)return!1;if(null!=t){if(t<1)return!1;var n=y(e);if(n&&t>g[o])return!1;if(!n&&t>b[o])return!1}return!0}function v(e,o,t){return!(o<0||o>52)&&(null==t||!(t<0||t>6))}function w(e,o,t){return(null==e||!(e<0||e>=25))&&((null==o||!(o<0||o>=60))&&(null==t||!(t<0||t>=60)))}},function(e,o,t){"use strict";e.exports=e=>{const o=/^\\\\\?\\/.test(e),t=/[^\u0000-\u0080]+/.test(e);return o||t?e:e.replace(/\\/g,"/")}},function(e,o,t){
|
|
1
|
+
!function(e){function o(o){for(var n,c,i=o[0],s=o[1],m=o[2],u=0,d=[];u<i.length;u++)c=i[u],r[c]&&d.push(r[c][0]),r[c]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(l&&l(o);d.length;)d.shift()();return a.push.apply(a,m||[]),t()}function t(){for(var e,o=0;o<a.length;o++){for(var t=a[o],n=!0,i=1;i<t.length;i++){var s=t[i];0!==r[s]&&(n=!1)}n&&(a.splice(o--,1),e=c(c.s=t[0]))}return e}var n={},r={1:0},a=[];function c(o){if(n[o])return n[o].exports;var t=n[o]={i:o,l:!1,exports:{}};return e[o].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.m=e,c.c=n,c.d=function(e,o,t){c.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:t})},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,o){if(1&o&&(e=c(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var n in e)c.d(t,n,function(o){return e[o]}.bind(null,n));return t},c.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(o,"a",o),o},c.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},c.p="";var i=window.webpackJsonp=window.webpackJsonp||[],s=i.push.bind(i);i.push=o,i=i.slice();for(var m=0;m<i.length;m++)o(i[m]);var l=s;a.push([365,0]),t()}([,,,,,,,,,function(e,o){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,o,t){var n=t(16),r=t(97).f,a=t(86),c=t(51),i=t(194),s=t(266),m=t(123);e.exports=function(e,o){var t,l,u,d,p,h=e.target,f=e.global,b=e.stat;if(t=f?n:b?n[h]||i(h,{}):(n[h]||{}).prototype)for(l in o){if(d=o[l],u=e.dontCallGetSet?(p=r(t,l))&&p.value:t[l],!m(f?l:h+(b?".":"#")+l,e.forced)&&void 0!==u){if(typeof d==typeof u)continue;s(d,u)}(e.sham||u&&u.sham)&&a(d,"sham",!0),c(t,l,d,e)}}},,,,function(e,o,t){var n=t(141),r=Function.prototype,a=r.call,c=n&&r.bind.bind(a,a);e.exports=n?c:function(e){return function(){return a.apply(e,arguments)}}},,function(e,o,t){(function(o){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof o&&o)||function(){return this}()||Function("return this")()}).call(this,t(24))},,function(e,o,t){"use strict";t.d(o,"a",(function(){return m})),t.d(o,"b",(function(){return u}));t(52),t(33),t(22),t(133),t(36),t(37),t(26),t(294);var n=t(242),r=t.n(n),a=r.a.LOGLEVEL,c=r.a.console,i={trace:1,debug:2,info:3,warn:4,error:5,silent:10},s=i[a]||i.info,m={trace:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.trace&&c.trace.apply(c,[e].concat(t))},debug:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.debug&&c.debug.apply(c,[e].concat(t))},info:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.info&&c.info.apply(c,[e].concat(t))},warn:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.warn&&c.warn.apply(c,[e].concat(t))},error:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<=i.error&&c.error.apply(c,[e].concat(t))},log:function(e){for(var o=arguments.length,t=new Array(o>1?o-1:0),n=1;n<o;n++)t[n-1]=arguments[n];return s<i.silent&&c.log.apply(c,[e].concat(t))}},l=new Set,u=function(e){return function(o){if(!l.has(o)){l.add(o);for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return m[e].apply(m,[o].concat(n))}}};u.clear=function(){return l.clear()},u.trace=u("trace"),u.debug=u("debug"),u.info=u("info"),u.warn=u("warn"),u.error=u("error"),u.log=u("log");var d=function(e){return function(){for(var o=[],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];if(n.length){var a,c=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi;for(o.push(n[0].replace(c,"%c").replace(i,"%c"));a=c.exec(n[0]);)o.push(a[2]),o.push("");for(var s=1;s<n.length;s++)o.push(n[s])}m[e].apply(m,o)}};d.trace=d("trace"),d.debug=d("debug"),d.info=d("info"),d.warn=d("warn"),d.error=d("error")},function(e,o,t){var n=t(261),r=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},function(e,o,t){var n=t(16),r=t(96),a=t(28),c=t(144),i=t(94),s=t(264),m=r("wks"),l=n.Symbol,u=l&&l.for,d=s?l:l&&l.withoutSetter||c;e.exports=function(e){if(!a(m,e)||!i&&"string"!=typeof m[e]){var o="Symbol."+e;i&&a(l,e)?m[e]=l[e]:m[e]=s&&u?u(o):d(o)}return m[e]}},function(e,o,t){"use strict";o.a=function(e){for(var o=[],t=1;t<arguments.length;t++)o[t-1]=arguments[t];var n=Array.from("string"==typeof e?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var r=n.reduce((function(e,o){var t=o.match(/\n([\t ]+|(?!\s).)/g);return t?e.concat(t.map((function(e){var o,t;return null!==(t=null===(o=e.match(/[\t ]/g))||void 0===o?void 0:o.length)&&void 0!==t?t:0}))):e}),[]);if(r.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,r)+"}","g");n=n.map((function(e){return e.replace(a,"\n")}))}n[0]=n[0].replace(/^\r?\n/,"");var c=n[0];return o.forEach((function(e,o){var t=c.match(/(?:^|\n)( *)$/),r=t?t[1]:"",a=e;"string"==typeof e&&e.includes("\n")&&(a=String(e).split("\n").map((function(e,o){return 0===o?e:""+r+e})).join("\n")),c+=a+n[o+1]})),c}},function(e,o,t){var n=t(197),r=t(51),a=t(430);n||r(Object.prototype,"toString",a,{unsafe:!0})},function(e,o,t){var n=t(141),r=Function.prototype.call;e.exports=n?r.bind(r):function(){return r.apply(r,arguments)}},,function(e,o,t){var n=t(35),r=t(117).EXISTS,a=t(14),c=t(39).f,i=Function.prototype,s=a(i.toString),m=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=a(m.exec);n&&!r&&c(i,"name",{configurable:!0,get:function(){try{return l(m,s(this))[1]}catch(e){return""}}})},function(e,o,t){"use strict";var n=t(10),r=t(162);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},,function(e,o,t){var n=t(14),r=t(53),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,o){return a(r(e),o)}},function(e,o,t){var n=t(19),r=t(261),a=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===a}:function(e){return"object"==typeof e?null!==e:n(e)}},function(e,o,t){var n=t(29),r=String,a=TypeError;e.exports=function(e){if(n(e))return e;throw a(r(e)+" is not an object")}},function(e,o,t){t(461),t(464),t(465),t(466),t(467)},function(e,o,t){"use strict";var n=t(10),r=t(151),a=t(153),c=t(29),i=t(148),s=t(73),m=t(66),l=t(152),u=t(20),d=t(155),p=t(203),h=d("slice"),f=u("species"),b=Array,g=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(e,o){var t,n,u,d=m(this),h=s(d),y=i(e,h),k=i(void 0===o?h:o,h);if(r(d)&&(t=d.constructor,(a(t)&&(t===b||r(t.prototype))||c(t)&&null===(t=t[f]))&&(t=void 0),t===b||void 0===t))return p(d,y,k);for(n=new(void 0===t?b:t)(g(k-y,0)),u=0;y<k;y++,u++)y in d&&l(n,u,d[y]);return n.length=u,n}})},function(e,o,t){"use strict";var n=t(66),r=t(132),a=t(130),c=t(67),i=t(39).f,s=t(208),m=t(210),l=t(65),u=t(35),d=c.set,p=c.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,o){d(this,{type:"Array Iterator",target:n(e),index:0,kind:o})}),(function(){var e=p(this),o=e.target,t=e.kind,n=e.index++;return!o||n>=o.length?(e.target=void 0,m(void 0,!0)):m("keys"==t?n:"values"==t?o[n]:[n,o[n]],!1)}),"values");var h=a.Arguments=a.Array;if(r("keys"),r("values"),r("entries"),!l&&u&&"values"!==h.name)try{i(h,"name",{value:"values"})}catch(e){}},,function(e,o,t){var n=t(9);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,o,t){"use strict";var n=t(291).charAt,r=t(43),a=t(67),c=t(208),i=t(210),s=a.set,m=a.getterFor("String Iterator");c(String,"String",(function(e){s(this,{type:"String Iterator",string:r(e),index:0})}),(function(){var e,o=m(this),t=o.string,r=o.index;return r>=t.length?i(void 0,!0):(e=n(t,r),o.index+=e.length,i(e,!1))}))},function(e,o,t){var n=t(16),r=t(270),a=t(271),c=t(33),i=t(86),s=t(20),m=s("iterator"),l=s("toStringTag"),u=c.values,d=function(e,o){if(e){if(e[m]!==u)try{i(e,m,u)}catch(o){e[m]=u}if(e[l]||i(e,l,o),r[o])for(var t in c)if(e[t]!==c[t])try{i(e,t,c[t])}catch(o){e[t]=c[t]}}};for(var p in r)d(n[p]&&n[p].prototype,p);d(a,"DOMTokenList")},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var n={sanitize:!0,toId:!0,storyNameFromExport:!0,isExportStory:!0,parseKind:!0,includeConditionalArg:!0};o.isExportStory=function(e,o){var t=o.includeStories,n=o.excludeStories;return"__esModule"!==e&&(!t||d(e,t))&&(!n||!d(e,n))},Object.defineProperty(o,"includeConditionalArg",{enumerable:!0,get:function(){return c.includeConditionalArg}}),o.parseKind=o.storyNameFromExport=o.toId=o.sanitize=void 0;var r,a=(r=t(579))&&r.__esModule?r:{default:r},c=t(596),i=t(598);function s(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var t=[],n=!0,r=!1,a=void 0;try{for(var c,i=e[Symbol.iterator]();!(n=(c=i.next()).done)&&(t.push(c.value),!o||t.length!==o);n=!0);}catch(e){r=!0,a=e}finally{try{n||null==i.return||i.return()}finally{if(r)throw a}}return t}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return m(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,o)}(e,o)||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 m(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(o,e,{enumerable:!0,get:function(){return i[e]}}))}));var l=function(e){return e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};o.sanitize=l;var u=function(e,o){var t=l(e);if(""===t)throw new Error("Invalid ".concat(o," '").concat(e,"', must include alphanumeric characters"));return t};o.toId=function(e,o){return"".concat(u(e,"kind")).concat(o?"--".concat(u(o,"name")):"")};function d(e,o){return Array.isArray(o)?o.includes(e):e.match(o)}o.storyNameFromExport=function(e){return(0,a.default)(e)};o.parseKind=function(e,o){var t=o.rootSeparator,n=o.groupSeparator,r=s(e.split(t,2),2),a=r[0],c=r[1];return{root:c?a:null,groups:(c||e).split(n).filter((function(e){return!!e}))}}},function(e,o,t){var n=t(35),r=t(260),a=t(262),c=t(30),i=t(143),s=TypeError,m=Object.defineProperty,l=Object.getOwnPropertyDescriptor;o.f=n?a?function(e,o,t){if(c(e),o=i(o),c(t),"function"==typeof e&&"prototype"===o&&"value"in t&&"writable"in t&&!t.writable){var n=l(e,o);n&&n.writable&&(e[o]=t.value,t={configurable:"configurable"in t?t.configurable:n.configurable,enumerable:"enumerable"in t?t.enumerable:n.enumerable,writable:!1})}return m(e,o,t)}:m:function(e,o,t){if(c(e),o=i(o),c(t),r)try{return m(e,o,t)}catch(e){}if("get"in t||"set"in t)throw s("Accessors not supported");return"value"in t&&(e[o]=t.value),e}},function(e,o,t){"use strict";var n=t(10),r=t(35),a=t(16),c=t(14),i=t(28),s=t(19),m=t(76),l=t(43),u=t(39).f,d=t(266),p=a.Symbol,h=p&&p.prototype;if(r&&s(p)&&(!("description"in h)||void 0!==p().description)){var f={},b=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),o=m(h,this)?new p(e):void 0===e?p():p(e);return""===e&&(f[o]=!0),o};d(b,p),b.prototype=h,h.constructor=b;var g="Symbol(test)"==String(p("test")),y=c(h.valueOf),k=c(h.toString),v=/^Symbol\((.*)\)[^)]+$/,w=c("".replace),x=c("".slice);u(h,"description",{configurable:!0,get:function(){var e=y(this);if(i(f,e))return"";var o=k(e),t=g?x(o,7,-1):w(o,v,"$1");return""===t?void 0:t}}),n({global:!0,constructor:!0,forced:!0},{Symbol:b})}},function(e,o,t){t(299)("iterator")},,function(e,o,t){var n=t(154),r=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},function(e,o,t){var n=t(10),r=t(53),a=t(124);n({target:"Object",stat:!0,forced:t(9)((function(){a(1)}))},{keys:function(e){return a(r(e))}})},function(e,o,t){var n=t(10),r=t(468);n({target:"Array",stat:!0,forced:!t(206)((function(e){Array.from(e)}))},{from:r})},function(e,o,t){"use strict";t.r(o);var n=t(60),r=(t(25),t(52),function(e){var o=e.name,t=e.parameterName,n=e.wrapper,r=e.skipIfNoParametersOrOptions,a=void 0!==r&&r,c=function(e){return function(o,r){var c=r.parameters&&r.parameters[t];return c&&c.disable?o(r):!a||e||c?n(o,r,{options:e,parameters:c}):o(r)}};return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return"function"==typeof n[0]?c().apply(void 0,n):function(){if(arguments.length>1)return n.length>1?c(n).apply(void 0,arguments):c.apply(void 0,n).apply(void 0,arguments);throw new Error("Passing stories directly into ".concat(o,"() is not allowed,\n instead use addDecorator(").concat(o,") and pass options with the '").concat(t,"' parameter"))}}}),a=t(176),c=t(175),i=t(295);t.d(o,"makeDecorator",(function(){return r})),t.d(o,"Channel",(function(){return n.b})),t.d(o,"AddonStore",(function(){return n.a})),t.d(o,"addons",(function(){return n.c})),t.d(o,"types",(function(){return a.b})),t.d(o,"isSupportedType",(function(){return a.a})),t.d(o,"mockChannel",(function(){return c.a})),t.d(o,"HooksContext",(function(){return i.a})),t.d(o,"applyHooks",(function(){return i.b})),t.d(o,"useMemo",(function(){return i.h})),t.d(o,"useCallback",(function(){return i.d})),t.d(o,"useRef",(function(){return i.k})),t.d(o,"useState",(function(){return i.l})),t.d(o,"useReducer",(function(){return i.j})),t.d(o,"useEffect",(function(){return i.f})),t.d(o,"useChannel",(function(){return i.e})),t.d(o,"useStoryContext",(function(){return i.m})),t.d(o,"useParameter",(function(){return i.i})),t.d(o,"useArgs",(function(){return i.c})),t.d(o,"useGlobals",(function(){return i.g}));o.default=n.c},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,o){if(o.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+o.length+" present")},e.exports=o.default},function(e,o,t){var n=t(10),r=t(429);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==r},{assign:r})},function(e,o,t){"use strict";var n;t.r(o),t.d(o,"CHANNEL_CREATED",(function(){return r})),t.d(o,"CONFIG_ERROR",(function(){return a})),t.d(o,"STORY_INDEX_INVALIDATED",(function(){return c})),t.d(o,"STORY_SPECIFIED",(function(){return i})),t.d(o,"SET_STORIES",(function(){return s})),t.d(o,"SET_CURRENT_STORY",(function(){return m})),t.d(o,"CURRENT_STORY_WAS_SET",(function(){return l})),t.d(o,"FORCE_RE_RENDER",(function(){return u})),t.d(o,"FORCE_REMOUNT",(function(){return d})),t.d(o,"STORY_PREPARED",(function(){return p})),t.d(o,"STORY_CHANGED",(function(){return h})),t.d(o,"STORY_UNCHANGED",(function(){return f})),t.d(o,"PRELOAD_STORIES",(function(){return b})),t.d(o,"STORY_RENDERED",(function(){return g})),t.d(o,"STORY_MISSING",(function(){return y})),t.d(o,"STORY_ERRORED",(function(){return k})),t.d(o,"STORY_THREW_EXCEPTION",(function(){return v})),t.d(o,"STORY_RENDER_PHASE_CHANGED",(function(){return w})),t.d(o,"UPDATE_STORY_ARGS",(function(){return x})),t.d(o,"STORY_ARGS_UPDATED",(function(){return j})),t.d(o,"RESET_STORY_ARGS",(function(){return O})),t.d(o,"SET_GLOBALS",(function(){return z})),t.d(o,"UPDATE_GLOBALS",(function(){return S})),t.d(o,"GLOBALS_UPDATED",(function(){return _})),t.d(o,"REGISTER_SUBSCRIPTION",(function(){return E})),t.d(o,"PREVIEW_KEYDOWN",(function(){return C})),t.d(o,"SELECT_STORY",(function(){return P})),t.d(o,"STORIES_COLLAPSE_ALL",(function(){return I})),t.d(o,"STORIES_EXPAND_ALL",(function(){return T})),t.d(o,"DOCS_RENDERED",(function(){return A})),t.d(o,"SHARED_STATE_CHANGED",(function(){return N})),t.d(o,"SHARED_STATE_SET",(function(){return D})),t.d(o,"NAVIGATE_URL",(function(){return q})),t.d(o,"UPDATE_QUERY_PARAMS",(function(){return R})),t.d(o,"IGNORED_EXCEPTION",(function(){return M})),function(e){e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_STORIES="setStories",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_STORIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams"}(n||(n={})),o.default=n;var r=n.CHANNEL_CREATED,a=n.CONFIG_ERROR,c=n.STORY_INDEX_INVALIDATED,i=n.STORY_SPECIFIED,s=n.SET_STORIES,m=n.SET_CURRENT_STORY,l=n.CURRENT_STORY_WAS_SET,u=n.FORCE_RE_RENDER,d=n.FORCE_REMOUNT,p=n.STORY_PREPARED,h=n.STORY_CHANGED,f=n.STORY_UNCHANGED,b=n.PRELOAD_STORIES,g=n.STORY_RENDERED,y=n.STORY_MISSING,k=n.STORY_ERRORED,v=n.STORY_THREW_EXCEPTION,w=n.STORY_RENDER_PHASE_CHANGED,x=n.UPDATE_STORY_ARGS,j=n.STORY_ARGS_UPDATED,O=n.RESET_STORY_ARGS,z=n.SET_GLOBALS,S=n.UPDATE_GLOBALS,_=n.GLOBALS_UPDATED,E=n.REGISTER_SUBSCRIPTION,C=n.PREVIEW_KEYDOWN,P=n.SELECT_STORY,I=n.STORIES_COLLAPSE_ALL,T=n.STORIES_EXPAND_ALL,A=n.DOCS_RENDERED,N=n.SHARED_STATE_CHANGED,D=n.SHARED_STATE_SET,q=n.NAVIGATE_URL,R=n.UPDATE_QUERY_PARAMS,M=new Error("ignoredException")},,function(e,o,t){var n=t(19),r=t(39),a=t(424),c=t(194);e.exports=function(e,o,t,i){i||(i={});var s=i.enumerable,m=void 0!==i.name?i.name:o;if(n(t)&&a(t,m,i),i.global)s?e[o]=t:c(o,t);else{try{i.unsafe?e[o]&&(s=!0):delete e[o]}catch(e){}s?e[o]=t:r.f(e,o,{value:t,enumerable:!1,configurable:!i.nonConfigurable,writable:!i.nonWritable})}return e}},function(e,o,t){"use strict";var n=t(10),r=t(9),a=t(151),c=t(29),i=t(53),s=t(73),m=t(427),l=t(152),u=t(269),d=t(155),p=t(20),h=t(119),f=p("isConcatSpreadable"),b=h>=51||!r((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),g=d("concat"),y=function(e){if(!c(e))return!1;var o=e[f];return void 0!==o?!!o:a(e)};n({target:"Array",proto:!0,arity:1,forced:!b||!g},{concat:function(e){var o,t,n,r,a,c=i(this),d=u(c,0),p=0;for(o=-1,n=arguments.length;o<n;o++)if(y(a=-1===o?c:arguments[o]))for(r=s(a),m(p+r),t=0;t<r;t++,p++)t in a&&l(d,p,a[t]);else m(p+1),l(d,p++,a);return d.length=p,d}})},function(e,o,t){var n=t(64),r=Object;e.exports=function(e){return r(n(e))}},function(e,o,t){(function(o){function t(e){try{if(!o.localStorage)return!1}catch(e){return!1}var t=o.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,o){if(t("noDeprecation"))return e;var n=!1;return function(){if(!n){if(t("throwDeprecation"))throw new Error(o);t("traceDeprecation")?console.trace(o):console.warn(o),n=!0}return e.apply(this,arguments)}}}).call(this,t(24))},function(e,o){e.exports=function(e){return null==e}},function(e,o,t){var n=t(16),r=t(19),a=function(e){return r(e)?e:void 0};e.exports=function(e,o){return arguments.length<2?a(n[e]):n[e]&&n[e][o]}},function(e,o,t){var n=t(16),r=t(270),a=t(271),c=t(431),i=t(86),s=function(e){if(e&&e.forEach!==c)try{i(e,"forEach",c)}catch(o){e.forEach=c}};for(var m in r)r[m]&&s(n[m]&&n[m].prototype);s(a)},function(e,o,t){var n=t(10),r=t(281),a=t(9),c=t(29),i=t(131).onFreeze,s=Object.freeze;n({target:"Object",stat:!0,forced:a((function(){s(1)})),sham:!r},{freeze:function(e){return s&&c(e)?s(i(e)):e}})},function(e,o,t){var n=t(10),r=t(272).entries;n({target:"Object",stat:!0},{entries:function(e){return r(e)}})},function(e,o,t){"use strict";t.d(o,"a",(function(){return u})),t.d(o,"c",(function(){return p}));t(48),t(22),t(57),t(156),t(200);var n=t(112),r=t.n(n),a=t(174);t.d(o,"b",(function(){return a.a}));var c=t(18),i=t(175),s=t(176);function m(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,o,t){return o&&m(e.prototype,o),t&&m(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var u=l((function e(){var o=this;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.loaders={},this.elements={},this.config={},this.channel=void 0,this.serverChannel=void 0,this.promise=void 0,this.resolve=void 0,this.getChannel=function(){return o.channel||o.setChannel(Object(i.a)()),o.channel},this.getServerChannel=function(){if(!o.serverChannel)throw new Error("Accessing non-existent serverChannel");return o.serverChannel},this.ready=function(){return o.promise},this.hasChannel=function(){return!!o.channel},this.hasServerChannel=function(){return!!o.serverChannel},this.setChannel=function(e){o.channel=e,o.resolve()},this.setServerChannel=function(e){o.serverChannel=e},this.getElements=function(e){return o.elements[e]||(o.elements[e]={}),o.elements[e]},this.addPanel=function(e,t){o.add(e,Object.assign({type:s.b.PANEL},t))},this.add=function(e,t){var n=t.type;o.getElements(n)[e]=Object.assign({id:e},t)},this.setConfig=function(e){Object.assign(o.config,e)},this.getConfig=function(){return o.config},this.register=function(e,t){o.loaders[e]&&c.a.warn("".concat(e," was loaded twice, this could have bad side-effects")),o.loaders[e]=t},this.loadAddons=function(e){Object.values(o.loaders).forEach((function(o){return o(e)}))},this.promise=new Promise((function(e){o.resolve=function(){return e(o.getChannel())}}))})),d="__STORYBOOK_ADDONS";var p=(r.a[d]||(r.a[d]=new u),r.a[d])},function(e,o,t){(function(o){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=21)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(7)},function(e,o){e.exports=t(70)},function(e,o){e.exports=t(83)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(653)},function(e,o){e.exports=t(236)},function(e,o){e.exports=t(389)},function(e,o){e.exports=t(654)},function(e,t){var n,r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,c=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,l="object"==typeof o&&o&&o.Object===Object&&o,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),p=Array.prototype,h=Function.prototype,f=Object.prototype,b=d["__core-js_shared__"],g=(n=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=h.toString,k=f.hasOwnProperty,v=f.toString,w=RegExp("^"+y.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=d.Symbol,j=p.splice,O=N(d,"Map"),z=N(Object,"create"),S=x?x.prototype:void 0,_=S?S.toString:void 0;function E(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function C(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function P(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function I(e,o){for(var t,n,r=e.length;r--;)if((t=e[r][0])===(n=o)||t!=t&&n!=n)return r;return-1}function T(e,o){for(var t,n=0,c=(o=function(e,o){if(M(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!L(e))||(a.test(e)||!r.test(e)||null!=o&&e in Object(o))}(o,e)?[o]:M(t=o)?t:D(t)).length;null!=e&&n<c;)e=e[q(o[n++])];return n&&n==c?e:void 0}function A(e,o){var t,n,r=e.__data__;return("string"==(n=typeof(t=o))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof o?"string":"hash"]:r.map}function N(e,o){var t=function(e,o){return null==e?void 0:e[o]}(e,o);return function(e){return!(!F(e)||(o=e,g&&g in o))&&(function(e){var o=F(e)?v.call(e):"";return"[object Function]"==o||"[object GeneratorFunction]"==o}(e)||function(e){var o=!1;if(null!=e&&"function"!=typeof e.toString)try{o=!!(e+"")}catch(e){}return o}(e)?w:m).test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var o}(t)?t:void 0}E.prototype.clear=function(){this.__data__=z?z(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var o=this.__data__;if(z){var t=o[e];return"__lodash_hash_undefined__"===t?void 0:t}return k.call(o,e)?o[e]:void 0},E.prototype.has=function(e){var o=this.__data__;return z?void 0!==o[e]:k.call(o,e)},E.prototype.set=function(e,o){return this.__data__[e]=z&&void 0===o?"__lodash_hash_undefined__":o,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var o=this.__data__,t=I(o,e);return!(t<0||(t==o.length-1?o.pop():j.call(o,t,1),0))},C.prototype.get=function(e){var o=this.__data__,t=I(o,e);return t<0?void 0:o[t][1]},C.prototype.has=function(e){return I(this.__data__,e)>-1},C.prototype.set=function(e,o){var t=this.__data__,n=I(t,e);return n<0?t.push([e,o]):t[n][1]=o,this},P.prototype.clear=function(){this.__data__={hash:new E,map:new(O||C),string:new E}},P.prototype.delete=function(e){return A(this,e).delete(e)},P.prototype.get=function(e){return A(this,e).get(e)},P.prototype.has=function(e){return A(this,e).has(e)},P.prototype.set=function(e,o){return A(this,e).set(e,o),this};var D=R((function(e){var o;e=null==(o=e)?"":function(e){if("string"==typeof e)return e;if(L(e))return _?_.call(e):"";var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}(o);var t=[];return c.test(e)&&t.push(""),e.replace(i,(function(e,o,n,r){t.push(n?r.replace(s,"$1"):o||e)})),t}));function q(e){if("string"==typeof e||L(e))return e;var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}function R(e,o){if("function"!=typeof e||o&&"function"!=typeof o)throw new TypeError("Expected a function");var t=function t(){var n=arguments,r=o?o.apply(this,n):n[0],a=t.cache;if(a.has(r))return a.get(r);var c=e.apply(this,n);return t.cache=a.set(r,c),c};return t.cache=new(R.Cache||P),t}R.Cache=P;var M=Array.isArray;function F(e){var o=typeof e;return!!e&&("object"==o||"function"==o)}function L(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==v.call(e)}e.exports=function(e,o,t){var n=null==e?void 0:T(e,o);return void 0===n?t:n}},function(e,o){e.exports=t(390)},function(e,o){e.exports=t(655)},function(e,o){e.exports=t(235)},function(e,t,n){(function(e){var n=/^\[object .+?Constructor\]$/,r=/^(?:0|[1-9]\d*)$/,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var c="object"==typeof o&&o&&o.Object===Object&&o,i="object"==typeof self&&self&&self.Object===Object&&self,s=c||i||Function("return this")(),m=t&&!t.nodeType&&t,l=m&&"object"==typeof e&&e&&!e.nodeType&&e,u=l&&l.exports===m,d=u&&c.process,p=function(){try{return l&&l.require&&l.require("util").types||d&&d.binding&&d.binding("util")}catch(e){}}(),h=p&&p.isTypedArray;function f(e,o,t){switch(t.length){case 0:return e.call(o);case 1:return e.call(o,t[0]);case 2:return e.call(o,t[0],t[1]);case 3:return e.call(o,t[0],t[1],t[2])}return e.apply(o,t)}var b,g,y,k=Array.prototype,v=Function.prototype,w=Object.prototype,x=s["__core-js_shared__"],j=v.toString,O=w.hasOwnProperty,z=(b=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"",S=w.toString,_=j.call(Object),E=RegExp("^"+j.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=u?s.Buffer:void 0,P=s.Symbol,I=s.Uint8Array,T=(C&&C.allocUnsafe,g=Object.getPrototypeOf,y=Object,function(e){return g(y(e))}),A=Object.create,N=w.propertyIsEnumerable,D=k.splice,q=P?P.toStringTag:void 0,R=function(){try{var e=ne(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),M=C?C.isBuffer:void 0,F=Math.max,L=Date.now,B=ne(s,"Map"),H=ne(Object,"create"),U=function(){function e(){}return function(o){if(!fe(o))return{};if(A)return A(o);e.prototype=o;var t=new e;return e.prototype=void 0,t}}();function W(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function V(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function Y(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function G(e){var o=this.__data__=new V(e);this.size=o.size}function $(e,o,t){(void 0!==t&&!se(e[o],t)||void 0===t&&!(o in e))&&K(e,o,t)}function X(e,o,t){var n=e[o];O.call(e,o)&&se(n,t)&&(void 0!==t||o in e)||K(e,o,t)}function Z(e,o){for(var t=e.length;t--;)if(se(e[t][0],o))return t;return-1}function K(e,o,t){"__proto__"==o&&R?R(e,o,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[o]=t}W.prototype.clear=function(){this.__data__=H?H(null):{},this.size=0},W.prototype.delete=function(e){var o=this.has(e)&&delete this.__data__[e];return this.size-=o?1:0,o},W.prototype.get=function(e){var o=this.__data__;if(H){var t=o[e];return"__lodash_hash_undefined__"===t?void 0:t}return O.call(o,e)?o[e]:void 0},W.prototype.has=function(e){var o=this.__data__;return H?void 0!==o[e]:O.call(o,e)},W.prototype.set=function(e,o){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=H&&void 0===o?"__lodash_hash_undefined__":o,this},V.prototype.clear=function(){this.__data__=[],this.size=0},V.prototype.delete=function(e){var o=this.__data__,t=Z(o,e);return!(t<0||(t==o.length-1?o.pop():D.call(o,t,1),--this.size,0))},V.prototype.get=function(e){var o=this.__data__,t=Z(o,e);return t<0?void 0:o[t][1]},V.prototype.has=function(e){return Z(this.__data__,e)>-1},V.prototype.set=function(e,o){var t=this.__data__,n=Z(t,e);return n<0?(++this.size,t.push([e,o])):t[n][1]=o,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new W,map:new(B||V),string:new W}},Y.prototype.delete=function(e){var o=te(this,e).delete(e);return this.size-=o?1:0,o},Y.prototype.get=function(e){return te(this,e).get(e)},Y.prototype.has=function(e){return te(this,e).has(e)},Y.prototype.set=function(e,o){var t=te(this,e),n=t.size;return t.set(e,o),this.size+=t.size==n?0:1,this},G.prototype.clear=function(){this.__data__=new V,this.size=0},G.prototype.delete=function(e){var o=this.__data__,t=o.delete(e);return this.size=o.size,t},G.prototype.get=function(e){return this.__data__.get(e)},G.prototype.has=function(e){return this.__data__.has(e)},G.prototype.set=function(e,o){var t=this.__data__;if(t instanceof V){var n=t.__data__;if(!B||n.length<199)return n.push([e,o]),this.size=++t.size,this;t=this.__data__=new Y(n)}return t.set(e,o),this.size=t.size,this};function J(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":q&&q in Object(e)?function(e){var o=O.call(e,q),t=e[q];try{e[q]=void 0;var n=!0}catch(e){}var r=S.call(e);return n&&(o?e[q]=t:delete e[q]),r}(e):function(e){return S.call(e)}(e)}function Q(e){return be(e)&&"[object Arguments]"==J(e)}function ee(e){return!(!fe(e)||function(e){return!!z&&z in e}(e))&&(pe(e)?E:n).test(function(e){if(null!=e){try{return j.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function oe(e,o,t,n,r){e!==o&&function(e,o,t){for(var n=-1,r=Object(e),a=t(e),c=a.length;c--;){var i=a[++n];if(!1===o(r[i],i,r))break}}(o,(function(a,c){if(r||(r=new G),fe(a))!function(e,o,t,n,r,a,c){var i=ce(e,t),s=ce(o,t),m=c.get(s);if(m)$(e,t,m);else{var l,u,d,p,h,f=a?a(i,s,t+"",e,o,c):void 0,b=void 0===f;if(b){var g=le(s),y=!g&&de(s),k=!g&&!y&&ge(s);f=s,g||y||k?le(i)?f=i:be(h=i)&&ue(h)?f=function(e,o){var t=-1,n=e.length;for(o||(o=Array(n));++t<n;)o[t]=e[t];return o}(i):y?(b=!1,f=function(e,o){return e.slice()}(s)):k?(b=!1,p=new(d=(l=s).buffer).constructor(d.byteLength),new I(p).set(new I(d)),u=p,f=new l.constructor(u,l.byteOffset,l.length)):f=[]:function(e){if(!be(e)||"[object Object]"!=J(e))return!1;var o=T(e);if(null===o)return!0;var t=O.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&j.call(t)==_}(s)||me(s)?(f=i,me(i)?f=function(e){return function(e,o,t,n){var r=!t;t||(t={});for(var a=-1,c=o.length;++a<c;){var i=o[a],s=void 0;void 0===s&&(s=e[i]),r?K(t,i,s):X(t,i,s)}return t}(e,ye(e))}(i):fe(i)&&!pe(i)||(f=function(e){return"function"!=typeof e.constructor||ae(e)?{}:U(T(e))}(s))):b=!1}b&&(c.set(s,f),r(f,s,n,a,c),c.delete(s)),$(e,t,f)}}(e,o,c,t,oe,n,r);else{var i=n?n(ce(e,c),a,c+"",e,o,r):void 0;void 0===i&&(i=a),$(e,c,i)}}),ye)}function te(e,o){var t,n,r=e.__data__;return("string"==(n=typeof(t=o))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof o?"string":"hash"]:r.map}function ne(e,o){var t=function(e,o){return null==e?void 0:e[o]}(e,o);return ee(t)?t:void 0}function re(e,o){var t=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==t||"symbol"!=t&&r.test(e))&&e>-1&&e%1==0&&e<o}function ae(e){var o=e&&e.constructor;return e===("function"==typeof o&&o.prototype||w)}function ce(e,o){if(("constructor"!==o||"function"!=typeof e[o])&&"__proto__"!=o)return e[o]}var ie=function(e){var o=0,t=0;return function(){var n=L(),r=16-(n-t);if(t=n,r>0){if(++o>=800)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}(R?function(e,o){return R(e,"toString",{configurable:!0,enumerable:!1,value:(t=o,function(){return t}),writable:!0});var t}:we);function se(e,o){return e===o||e!=e&&o!=o}var me=Q(function(){return arguments}())?Q:function(e){return be(e)&&O.call(e,"callee")&&!N.call(e,"callee")},le=Array.isArray;function ue(e){return null!=e&&he(e.length)&&!pe(e)}var de=M||function(){return!1};function pe(e){if(!fe(e))return!1;var o=J(e);return"[object Function]"==o||"[object GeneratorFunction]"==o||"[object AsyncFunction]"==o||"[object Proxy]"==o}function he(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function fe(e){var o=typeof e;return null!=e&&("object"==o||"function"==o)}function be(e){return null!=e&&"object"==typeof e}var ge=h?function(e){return function(o){return e(o)}}(h):function(e){return be(e)&&he(e.length)&&!!a[J(e)]};function ye(e){return ue(e)?function(e,o){var t=le(e),n=!t&&me(e),r=!t&&!n&&de(e),a=!t&&!n&&!r&&ge(e),c=t||n||r||a,i=c?function(e,o){for(var t=-1,n=Array(e);++t<e;)n[t]=o(t);return n}(e.length,String):[],s=i.length;for(var m in e)!o&&!O.call(e,m)||c&&("length"==m||r&&("offset"==m||"parent"==m)||a&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||re(m,s))||i.push(m);return i}(e,!0):function(e){if(!fe(e))return function(e){var o=[];if(null!=e)for(var t in Object(e))o.push(t);return o}(e);var o=ae(e),t=[];for(var n in e)("constructor"!=n||!o&&O.call(e,n))&&t.push(n);return t}(e)}var ke,ve=(ke=function(e,o,t){oe(e,o,t)},function(e,o){return ie(function(e,o,t){return o=F(void 0===o?e.length-1:o,0),function(){for(var n=arguments,r=-1,a=F(n.length-o,0),c=Array(a);++r<a;)c[r]=n[o+r];r=-1;for(var i=Array(o+1);++r<o;)i[r]=n[r];return i[o]=t(c),f(e,this,i)}}(e,o,we),e+"")}((function(e,o){var t=-1,n=o.length,r=n>1?o[n-1]:void 0,a=n>2?o[2]:void 0;for(r=ke.length>3&&"function"==typeof r?(n--,r):void 0,a&&function(e,o,t){if(!fe(t))return!1;var n=typeof o;return!!("number"==n?ue(t)&&re(o,t.length):"string"==n&&o in t)&&se(t[o],e)}(o[0],o[1],a)&&(r=n<3?void 0:r,n=1),e=Object(e);++t<n;){var c=o[t];c&&ke(e,c,t)}return e})));function we(e){return e}e.exports=ve}).call(this,n(20)(e))},function(e,o){e.exports=t(254)},function(e,o){e.exports=t(115)},function(e,o){e.exports=t(63)},function(e,o){e.exports=t(346)},function(e,o){e.exports=t(419)},function(e,o){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 r=n(0),a=n.n(r),c=n(2),i=n.n(c),s=n(1),m=n(5);const l=i.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;"]),u=i.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;"],s.fonts.supporting),d=Object(c.keyframes)(["0%{background-color:#ffffff;}50%{background-color:#9f0000;}100%{background-color:#ffffff;}"]),p=i.a.div.withConfig({displayName:"styles__LiveArticleFlagIconContainer",componentId:"sc-1ipxqw1-2"})(["height:100%;display:flex;align-items:center;margin-right:7px;"]),h=i.a.div.withConfig({displayName:"styles__LiveArticleFlagIcon",componentId:"sc-1ipxqw1-3"})(["height:6px;width:6px;animation:"," 2000ms infinite;"],d),f=i.a.div.withConfig({displayName:"styles__ArticleFlagContainer",componentId:"sc-1ipxqw1-4"})(["display:flex;align-items:center;flex-direction:row;"]),b=i.a.div.withConfig({displayName:"styles__LiveFlagAndTimestampContainer",componentId:"sc-1ipxqw1-5"})(["display:flex;align-items:center;flex-direction:row;"]),g=i.a.div.withConfig({displayName:"styles__ArticleFlagBullet",componentId:"sc-1ipxqw1-6"})(["border-radius:2.5px;height:5px;width:5px;background-color:",";"],e=>{let o=e.color;return Object(m.gqlRgbaToStyle)(o)||o}),y=i.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 o=e.color;return Object(m.gqlRgbaToStyle)(o)||o}),k=i.a.div.withConfig({displayName:"styles__FlagPadding",componentId:"sc-1ipxqw1-8"})(["margin-right:",";"],e=>e.allFlags.length>1?"15px":0),v=i.a.div.withConfig({displayName:"styles__Flags",componentId:"sc-1ipxqw1-9"})(["display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;"]),w=i.a.div.withConfig({displayName:"styles__FlagsContainer",componentId:"sc-1ipxqw1-10"})(["margin-bottom:15px;margin-top:5px;"]);var x=n(6),j=n.n(x),O=n(7),z=n.n(O),S=n(13),_=n.n(S);const E=i.a.div.withConfig({displayName:"styles__Container",componentId:"sc-340u2v-0"})(["display:flex;flex-direction:column;padding-left:8px;"]),C=i.a.div.withConfig({displayName:"styles__TimeSinceUpdate",componentId:"sc-340u2v-1"})(["color:",";font-family:",";font-size:14px;line-height:16px;"],e=>e.color||s.colours.functional.primary,s.fonts.supporting),P=e=>{let o=e.updatedTime,t=e.color;if(!o)return null;const n=new Date,r=new Date(o),c=z()(r,n,{roundingMethod:"floor"})+" ago",i=j()(n,r),s=i<60,m=i<46800;return a.a.createElement(E,null,!s&&m?a.a.createElement(C,{color:t,"data-testId":"MinutesHoursSinceUpdate"},"Updated ".concat(c)):m?null:a.a.createElement(C,{color:t,"data-testId":"DateTimeUpdated"},"Updated ",_()(r,"MMMM d, "),_()(r,"h.mmaaa")))},I=Object(r.createContext)(void 0),T=e=>{let o=e.updatedTime,t=e.children;return a.a.createElement(I.Provider,{value:o},t)},A=e=>{let o=e.title,t=e.timeStampTextColor;const n=Object(r.useContext)(I);return a.a.createElement(b,null,a.a.createElement(l,null,a.a.createElement(p,null,a.a.createElement(h,null)),a.a.createElement(u,null,o)),a.a.createElement(P,{updatedTime:n,color:t}))},N=e=>{let o=e.color;return a.a.createElement(A,{timeStampTextColor:o,title:"LIVE"})},D=e=>{let o=e.color;return a.a.createElement(A,{timeStampTextColor:o,title:"BREAKING"})};var q=n(14),R=n.n(q);function M(e,o,t){return Object(r.useEffect)(()=>{let n;return null!==e&&(n="undefined"!=typeof window&&window.IntersectionObserver&&new window.IntersectionObserver(e=>{e[0].isIntersecting&&(n&&n.disconnect(),o&&o())},t)||void 0,n&&n.observe(e)),()=>{n&&n.disconnect()}},[e])}function F(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function L(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function B(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const H=a.a.createContext({context:{}}),U=()=>Object(r.useContext)(H),W=e=>{let o=e.children,t=e.analyticsStream,n=e.context,c=e.scrolledEvent;const i=Object(r.useContext)(H),s=void 0!==t?t:i.analyticsStream,m=R()({},i.context,n),l=e=>{const o=R()({},m,e,{attrs:{eventTime:(new Date).toISOString()}});s?s(o):console.error("no analytics stream to send to",o)},u=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return B(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?B(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(null),2),d=u[0],p=u[1];return c&&M(d,()=>l&&l(function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?F(Object(t),!0).forEach((function(o){L(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):F(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({action:"Scrolled"},c)),{threshold:.5}),a.a.createElement(H.Provider,{value:{fireAnalyticsEvent:l,context:m,analyticsStream:s}},"function"==typeof o?o({fireAnalyticsEvent:l,intersectObserverRef:p}):o)};var V=n(3),Y=n(8),G=n.n(Y);function $(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function X(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Z(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Z(e,o):void 0}}(e,o)||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 Z(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const K=Object(r.createContext)(void 0),J=e=>{let o=e.url,t=e.options,n=e.previewData,c=e.children;const i=X(Object(r.useState)(!1),2),s=i[0],m=i[1],l=X(Object(r.useState)(),2),u=l[0],d=l[1],p=X(Object(r.useState)(),2),h=p[0],f=p[1];return Object(r.useEffect)(()=>{s||(m(!0),function(){var e,r=(e=function*e(){try{if(n)return yield new Promise(e=>setTimeout(e,1500)),f(n),void m(!1);if(!o)throw new Error("must provide a Fetch url");{const e=yield G()(o,t),n=yield e.json();f(n),m(!1)}}catch(e){d(e instanceof Error?e.message:"unknown error"),m(!1)}},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){$(a,n,r,c,i,"next",e)}function i(e){$(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return r.apply(this,arguments)}}()())},[o,t,n]),a.a.createElement(K.Provider,{value:{loading:s,error:u,data:h}},c)},Q=()=>{const e=Object(r.useContext)(K);if(void 0===e)throw new Error("must be used within a FetchProvider");return e};var ee=n(15),oe=n.n(ee);const te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const t=e=>{let o=document.createElement("textarea");return o.innerHTML=e,o.value};let n={whiteList:o,stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},r=t(e);return oe()(r,n)},ne={"2:3":"150%","4:5":"125%","1:1":"100%","4:3":"75%","3:2":"66.66%","16:9":"56.25%"},re=i.a.div.withConfig({displayName:"styles__AspectRatioContainer",componentId:"sc-1lxnrk8-0"})(["",";"],e=>{let o=e.ratio;return o&&ne[o]&&Object(c.css)(["position:relative;overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}> img{position:absolute;width:100%;height:100%;object-fit:cover;}"],ne[o])}),ae=e=>{let o=e.ratio,t=e.children;return a.a.createElement(re,{ratio:o},t)};var ce=n(4);const ie=i.a.a.withConfig({displayName:"styles__Link",componentId:"spl816-0"})(["display:flex;flex-direction:row;margin-top:16px;color:#bf0000;fill:#bf0000;:hover{color:",";fill:",";}"],s.colours.functional.secondary,s.colours.functional.secondary),se=i.a.div.withConfig({displayName:"styles__LinkText",componentId:"spl816-1"})(["margin-top:1px;margin-right:12px;font-family:",";font-size:15px;"],s.fonts.supporting),me=e=>{let o=e.link,t=e.linkText,n=e.onClick;return a.a.createElement(ie,{href:o,onClick:()=>n&&n(t)},a.a.createElement(se,null,t),a.a.createElement(ce.IconForwardChevron,{height:18,width:8}))},le=i.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%;}"],s.breakpoints.medium,s.breakpoints.wide),ue=i.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;"],s.fonts.supporting,e=>{let o=e.sectionColour;return"".concat(o)}),de=i.a.div.withConfig({displayName:"common-styles__HiddenDiv",componentId:"sc-14ch98m-2"})(["display:none;"]),pe=i.a.div.withConfig({displayName:"common-styles__Copy",componentId:"sc-14ch98m-3"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],s.colours.functional.secondary,s.fonts.body),he=i.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){}"],s.breakpoints.medium),fe=i.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 o=e.showAll,t=e.maxHeight,n=e.displayShowAll;return!o&&n?t+"px":"none"}),be=i.a.div.withConfig({displayName:"common-styles__ShowAllContainer",componentId:"sc-14ch98m-6"})(["display:flex;border-top:1px solid ",";padding:5px;justify-content:center;display:",";"],s.colours.functional.keyline,e=>e.displayShowAll?"flex":"none"),ge=i.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;}"],s.fonts.headline,s.colours.functional.brandColour,s.breakpoints.medium),ye=i.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:",";}"],s.fonts.supporting,s.colours.functional.primary,s.colours.functional.action,s.colours.functional.action),ke=i.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 o=e.sectionColour;return"2px solid ".concat(o)},s.breakpoints.medium,s.breakpoints.wide),ve=i.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;}"],s.breakpoints.medium),we=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"e5otdw-2"})(["display:flex;flex-direction:column;justify-content:space-between;@media (min-width:","px){width:",";}"],s.breakpoints.medium,e=>e.hasImage?"50%":"100%"),xe=i.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,s.fonts.supporting),je=i.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:",";}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.wide,e=>e.hasImage?"24px":"28px",e=>e.hasImage?"24px":"28px"),Oe=i.a.div.withConfig({displayName:"styles__Copy",componentId:"e5otdw-5"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],s.colours.functional.secondary,s.fonts.body),ze={attrs:{event_navigation_name:"in-article component displayed : puff",event_navigation_browsing_method:"scroll"}},Se=e=>{let o=e.sectionColour,t=e.forceImageAspectRatio;const n=e.isLiveOrBreaking||"no flag",r=(e,o)=>{e&&e(((e,o)=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click",article_flag:o}}))(o,n))},c=Q(),i=c.loading,s=c.error,m=c.data;if(i)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(s||void 0===m||0===m.body.data.length)return null;const l=m.body.data[0].data,u=l.image,d=l.label,p=l.headline,h=l.copy,f=l.link,b=l.linkText,g=Boolean(u);return a.a.createElement(W,{context:{object:"InArticlePuff",attrs:{component_type:"in-article component : puff : interactive",event_navigation_action:"navigation",component_name:"".concat(p),article_flag:n}},scrolledEvent:ze},e=>{let n=e.fireAnalyticsEvent,c=e.intersectObserverRef;return a.a.createElement(ke,{ref:c,sectionColour:o},u?a.a.createElement(ve,null,a.a.createElement("a",{href:f,onClick:()=>r(n,"image")},a.a.createElement(ae,{ratio:t},a.a.createElement("img",{src:u})))):null,a.a.createElement(we,{hasImage:g},a.a.createElement("div",null,a.a.createElement(xe,{hasImage:g,sectionColour:o},d),a.a.createElement("a",{href:f,onClick:()=>r(n,"headline")},a.a.createElement(je,{hasImage:g},p)),h&&a.a.createElement(Oe,{dangerouslySetInnerHTML:{__html:te(h,{b:{},i:{}})}})),a.a.createElement(me,{link:f,linkText:b||"Read more",onClick:()=>r(n,b||"Read more")})))})};var _e=n(9),Ee=n.n(_e);const Ce=i.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;}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.breakpoints.wide),Pe=i.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;}"],s.colours.functional.brandColour,s.fonts.headlineRegular,s.breakpoints.medium),Ie=i.a.div.withConfig({displayName:"styles__BodyCopy",componentId:"w8icgs-2"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],s.colours.functional.secondary,s.fonts.body),Te=i.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;}"],s.breakpoints.medium),Ae=i.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"w8icgs-4"})(["display:flex;flex-direction:row;align-items:center;"]),Ne=i.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?s.colours.functional.keyline:s.colours.functional.primary,e=>e.disabled?"none":"auto",e=>e.disabled?s.colours.functional.keyline:s.colours.functional.primary,e=>e.disabled?s.colours.functional.keyline:s.colours.functional.action,e=>e.disabled?s.colours.functional.keyline:s.colours.functional.action),De=i.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"w8icgs-6"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),qe=i.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?s.colours.functional.action:s.colours.functional.keyline),Re=i()(Ee.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;}"]),Me=i.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;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},e=>{let o=e.isWide,t=e.isStandard;return(o?"100%":t&&"auto")||"auto"},s.breakpoints.medium,e=>{let o=e.isWide,t=e.isStandard;return(o?"100%":t&&"80.8%")||"80.8%"},s.breakpoints.wide,e=>{let o=e.isWide,t=e.isStandard;return(o?"100%":t&&"56.2%")||"56.2%"},s.colours.functional.keyline),Fe=i.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;"],s.colours.functional.backgroundPrimary),Le=i.a.div.withConfig({displayName:"styles__CardContent",componentId:"w8icgs-11"})(["display:flex;flex-direction:column;height:100%;"]),Be=i.a.div.withConfig({displayName:"styles__InfoCardContainer",componentId:"w8icgs-12"})(["padding:0 16px;float:left;width:100%;"]),He=i.a.img.withConfig({displayName:"styles__CardImg",componentId:"w8icgs-13"})(["padding:4px 0 12px;-webkit-user-drag:none;pointer-events:none;}"]),Ue=e=>{let o=e.sectionColour,t=e.label,n=e.headline,r=e.children;return a.a.createElement(Fe,null,a.a.createElement(Le,null,a.a.createElement(ue,{sectionColour:o},t),a.a.createElement(Te,null,a.a.createElement(Ce,null,n),r)))},We=e=>{let o=e.size,t=void 0===o?{width:"16",height:"16"}:o;return a.a.createElement("svg",{width:t.width,height:t.height,xmlns:"http://www.w3.org/2000/svg"},a.a.createElement("path",{d:"M7.29 12.956L3.903 7.049 7.289.97h-.96L.697 7.013l5.632 5.943z",fillRule:"nonzero"}))};function Ve(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ye(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ye(e,o):void 0}}(e,o)||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 Ye(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var Ge;!function(e){e.Standard="4043",e.Wide="4042"}(Ge||(Ge={}));let $e=new Array;const Xe=s.breakpoints.small,Ze=s.breakpoints.medium,Ke=s.breakpoints.wide,Je=e=>{let o=e.activePage,t=e.onClick,n=e.current,r=e.data,c=e.showDisplayItem,i=e.windowWidth,s=e.showDotItem;return a.a.createElement(Ae,null,a.a.createElement(Ne,{"data-testid":"Previous button",disabled:0===o,onClick:()=>t(n/c-1,"left")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})),a.a.createElement(De,null,r.map((e,n)=>{if(function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e),n<s){const e=o===n;return a.a.createElement(qe,{"data-testid":"Page Indicator",key:n,onClick:()=>t(n),active:e})}})),a.a.createElement(Ne,{"data-testid":"Next Button",disabled:o===Math.trunc(r.length/c-(Ze>i?1:0)),className:"nextBtn",onClick:()=>t(n/c+1,"right")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})))},Qe=e=>{let o=e.sectionColour,t=e.initialIndex,n=void 0===t?0:t;const c=Q(),i=c.loading,s=c.error,m=c.data;if(s)return null;if(i||void 0===m)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));const l=m.fields,u=l.headline,d=l.label,p=l.size,h=m.body.data,f=e=>e===Ge.Standard,b=e=>e===Ge.Wide,g=Ve(Object(r.useState)("undefined"!=typeof window?window.innerWidth:0),2),y=g[0],k=g[1],v=Ve(Object(r.useState)(1),2),w=v[0],x=v[1],j=y.toString(),O=()=>k(window.innerWidth);Object(r.useEffect)(()=>(window.addEventListener("resize",O),()=>{window.removeEventListener("resize",O)}),[]),Object(r.useEffect)(()=>{S()});const z=[{width:Xe,itemsToShow:1,itemsToScroll:1}];b(p)&&($e=[...z,{width:Ze,itemsToShow:2,itemsToScroll:2},{width:Ke,itemsToShow:3,itemsToScroll:3}]),f(p)&&($e=[...z,{width:Xe+55,itemsToShow:2,itemsToScroll:2}]);const S=()=>{j<Ze?x($e[0].itemsToScroll):j>=Ke&&b(p)?x($e[2].itemsToScroll):x($e[1].itemsToScroll)},_=h.length/w,E=h.length>(j>=Ke&&b(p)?3:j<Ze?1:2),C=Ve(Object(r.useState)(n),2),P=C[0],I=C[1],T=e=>{I(e.index)};return a.a.createElement(W,{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(u)}},scrolledEvent:{attrs:{component_type:"in-article component : text-image info cards : "+(_>1?"interactive":"static"),event_navigation_name:"in-article component displayed : text-image info cards",event_navigation_browsing_method:"scroll"}}},e=>{let t=e.intersectObserverRef,n=e.fireAnalyticsEvent;return a.a.createElement(Me,{sectionColour:o,isWide:b(p),isStandard:f(p),ref:t},a.a.createElement(Re,{sectionColour:o,breakPoints:$e,isRTL:!1,onChange:T,showArrows:!1,enableSwipe:E,renderPagination:e=>{let t=e.activePage,r=e.onClick;return a.a.createElement(Ue,{data:h[P],headline:u,label:d,sectionColour:o},E&&a.a.createElement(Je,{activePage:t,onClick:(e,o)=>{o&&n({attrs:{event_navigation_name:"button : ".concat(o),component_name:u}}),r&&r(e)},current:P,data:h,showDisplayItem:w,windowWidth:y.toString(),showDotItem:_}))}},h.map((e,o)=>a.a.createElement(Be,{key:o},e.data.image&&a.a.createElement(ae,{ratio:"16:9"},a.a.createElement(He,{src:e.data.image})),e.data.subtitle&&a.a.createElement(Pe,null,e.data.subtitle),e.data.copy&&a.a.createElement(Ie,{dangerouslySetInnerHTML:{__html:te(e.data.copy,{br:{},b:{},i:{}})}})))))})},eo=i.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:",";}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"32px":"24px",e=>e.isWide?"32px":"24px",e=>e.isWide?"0px":"14px"),oo=i.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;}"],s.breakpoints.medium),to=i.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;}"],s.fonts.body,s.breakpoints.wide,e=>e.isWide?"60%":"100%"),no=i.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:",";}"],s.fonts.headlineRegular,s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"24px":"18px",e=>e.isWide?"24px":"18px"),ro=i.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:",";}"],s.fonts.supporting,s.colours.functional.secondary,s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"8px":"14px"),ao=i.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:",";}"],s.breakpoints.medium,s.breakpoints.wide,e=>e.isWide?"30%":"auto",e=>{let o=e.isWide,t=e.isSmall;return(o?"100%":t&&"36%")||"33%"},e=>e.isWide?"20px 16px 16px 16px":"20px 16px"),co=i.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"d49zf9-6"})(["display:flex;flex-direction:row;align-items:center;"]),io=i.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"),so=i.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"d49zf9-8"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),mo=i.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"),lo=i.a.div.withConfig({displayName:"styles__CardContent",componentId:"d49zf9-10"})(["display:flex;flex-direction:column;height:100%;"]),uo=i.a.div.withConfig({displayName:"styles__MobileOrLarge",componentId:"d49zf9-11"})(["display:block;@media (min-width:","px){display:",";}"],s.breakpoints.wide,e=>e.isWide?"block":"none"),po=i.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;}"],s.breakpoints.wide,e=>e.isWide?"none":"flex"),ho=i.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"d49zf9-13"})(["background-color:#f9f9f9;border-top:",";flex-direction:",";@media (min-width:","px){width:",";}"],e=>{let o=e.sectionColour;return"2px solid ".concat(o)},e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse",s.breakpoints.wide,e=>e.isSmall?"82.1%":"100%"),fo=i()(Ee.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:",";}"],s.breakpoints.medium,e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse"),bo=e=>{let o=e.children,t=e.isWide,n=e.data,r=e.headline,c=e.label,i=e.isSmall,s=e.sectionColour;const m=n.data;return a.a.createElement(ao,{isWide:t,isSmall:i},a.a.createElement(lo,null,a.a.createElement(ue,{sectionColour:s},c),a.a.createElement(oo,null,a.a.createElement(eo,{isWide:t},r),a.a.createElement(uo,{isWide:t},o)),a.a.createElement(po,{isWide:t},a.a.createElement("div",null,m.imageTitle&&a.a.createElement(no,{isWide:t},m.imageTitle),m.copy&&a.a.createElement(to,{isWide:t,dangerouslySetInnerHTML:{__html:te(m.copy,{br:{},b:{},i:{}})}})),a.a.createElement("div",null,a.a.createElement(ro,{isWide:t},m.credit),o))))};function go(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const yo=e=>{let o=e.activePage,t=e.onClick,n=e.current,r=e.data;return a.a.createElement(co,null,a.a.createElement(io,{"data-testid":"Previous button",disabled:0===o,onClick:()=>t(n-1,"left")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})),a.a.createElement(so,null,r.map((e,n)=>{!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);const r=o===n;return a.a.createElement(mo,{"data-testid":"Page Indicator",key:n,onClick:()=>t(n),active:r})})),a.a.createElement(io,{"data-testid":"Next Button",disabled:o===r.length-1,className:"nextBtn",onClick:()=>t(n+1,"right")},a.a.createElement(We,{size:{width:"10px",height:"14px"}})))};var ko;!function(e){e.Small="4033",e.Wide="4035"}(ko||(ko={}));const vo=e=>{let o=e.sectionColour,t=e.initialIndex,n=void 0===t?0:t;const c=Q(),i=c.loading,s=c.error,m=c.data;if(i)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(s||void 0===m||0===m.body.data.length)return null;const l=m.fields,u=l.headline,d=l.label,p=l.size,h=m.body.data,f=e=>e===ko.Small,b=e=>e===ko.Wide,g=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return go(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?go(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(n),2),y=g[0],k=g[1],v=e=>{k(e.index)};return a.a.createElement(W,{context:{object:"GalleryCarousel",attrs:{component_type:"in-article component : gallery : interactive",event_navigation_action:"navigation",component_name:"".concat(u)}},scrolledEvent:{attrs:{event_navigation_name:"in-article component displayed : gallery",event_navigation_browsing_method:"scroll"}}},e=>{let t=e.intersectObserverRef,n=e.fireAnalyticsEvent;return a.a.createElement(ho,{sectionColour:o,isWide:b(p),isSmall:f(p),ref:t},a.a.createElement(fo,{sectionColour:o,isWide:b(p),itemsToScroll:1,itemsToShow:1,isRTL:!1,onChange:v,showArrows:!1,renderPagination:e=>{let t=e.activePage,r=e.onClick;return a.a.createElement(bo,{isWide:b(p),data:h[y],headline:u,label:d,isSmall:f(p),sectionColour:o},h.length>1&&a.a.createElement(yo,{activePage:t,onClick:(e,o)=>{o&&n({attrs:{event_navigation_name:"button : ".concat(o),component_name:u,event_navigation_browsing_method:"click"}}),r&&r(e)},current:y,data:h}))}},h.map(e=>a.a.createElement("div",{style:{width:"100%"}},a.a.createElement(ae,{ratio:"3:2"},a.a.createElement("img",{src:e.data.image}))))),a.a.createElement(uo,{isWide:b(p)},a.a.createElement("div",{style:{paddingLeft:"16px",paddingRight:"16px"}},a.a.createElement(ro,{isWide:b(p)},h[y].data.credit),h[y].data.imageTitle&&a.a.createElement(no,{isWide:b(p)},h[y].data.imageTitle),h[y].data.copy&&a.a.createElement(to,{isWide:b(p),dangerouslySetInnerHTML:{__html:te(h[y].data.copy,{br:{},b:{},i:{}})}}))))})},wo=i.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%;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},s.breakpoints.medium,s.breakpoints.wide),xo=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwze61-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 20px;"]),jo=i.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;}"],s.fonts.headline,s.colours.functional.brandColour,s.breakpoints.medium),Oo=i.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;}"],s.colours.functional.keyline,e=>e.readMore?"0":"15px",e=>e.showReadMore?"flex":"none",s.breakpoints.medium),zo=i.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:",";}"],s.fonts.supporting,s.colours.functional.primary,s.colours.functional.action,s.colours.functional.action),So=i.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 o=e.readMore,t=e.maxHeight,n=e.showReadMore;return!o&&n?t+"px":"none"},s.breakpoints.medium),_o=i.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;}"],s.colours.functional.keyline,s.breakpoints.medium),Eo=i.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%;}"],s.colours.functional.secondary,s.fonts.body,s.colours.functional.primary);function Co(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Po(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Po(e,o):void 0}}(e,o)||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 Po(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Io={attrs:{event_navigation_name:"in-article component displayed : bullet point component",event_navigation_browsing_method:"automated"}},To=s.breakpoints.medium,Ao=e=>{let o=e.sectionColour;const t=Q(),n=t.loading,c=t.error,i=t.data;if(n)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(c||void 0===i)return null;const s=i.fields,m=s.headline,l=s.label,u=i.body.data,d=Co(Object(r.useState)(!1),2),p=d[0],h=d[1],f=Object(r.useRef)(null),b=Co(Object(r.useState)(!1),2),g=b[0],y=b[1],k=window.innerWidth.toString();return Object(r.useEffect)(()=>{const e=f.current;e&&y(e.clientHeight>350)},[]),a.a.createElement(W,{context:{object:"InArticleBulletPoint",attrs:{component_type:"in-article component : bullet point component: "+(g&&k<To?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(m)}},scrolledEvent:Io},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(wo,{ref:n,sectionColour:o},a.a.createElement(xo,null,a.a.createElement(ue,{sectionColour:o},l),a.a.createElement(jo,null,m),a.a.createElement(So,{ref:f,readMore:p,maxHeight:350,showReadMore:g},a.a.createElement(_o,null,u.map((e,o)=>a.a.createElement(Eo,{key:o,dangerouslySetInnerHTML:{__html:te(e.data.copy,{b:{},i:{}})}}))))),a.a.createElement(Oo,{readMore:p,showReadMore:g},a.a.createElement(zo,{onClick:()=>((e,o)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(o)),h(!p)})(t,p?"Collapse":"Read more")},p?"Collapse":"Read more")))})},No=i.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;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},e=>e.isWide?"100%":"auto",s.breakpoints.medium,e=>e.isWide?"100%":"80.8%",s.breakpoints.wide,e=>e.isWide?"100%":"56.2%"),Do=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1tqomyo-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),qo=i()(ye).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1tqomyo-2"})(["font-size:12px;margin:15px 0;padding:8px 12px 7px;"]),Ro=i.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 ",";}"],s.colours.functional.keyline,s.breakpoints.medium,e=>e.isStandard?"50%":"33%"),Mo=i.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;}"],s.fonts.headline,e=>{let o=e.sectionColour;return"".concat(o)},s.breakpoints.medium);var Fo;!function(e){e.Standard="4043",e.Wide="4042"}(Fo||(Fo={}));const Lo=e=>e===Fo.Wide;function Bo(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ho(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ho(e,o):void 0}}(e,o)||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 Ho(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Uo={attrs:{event_navigation_name:"in-article component displayed : big numbers",event_navigation_browsing_method:"scroll"}},Wo=e=>{let o=e.sectionColour;const t=Q(),n=t.loading,c=t.error,i=t.data;if(n)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(c||void 0===i)return null;const s=i.fields,m=s.headline,l=s.label,u=s.size,d=i.body.data,p=Bo(Object(r.useState)(!1),2),h=p[0],f=p[1],b=Object(r.useRef)(null),g=Bo(Object(r.useState)(!1),2),y=g[0],k=g[1],v=Lo(u)?250:350;return Object(r.useEffect)(()=>{const e=b.current;e&&k(e.clientHeight>v)},[]),a.a.createElement(W,{context:{object:"InArticleBigNumbers",attrs:{component_type:"in-article component : big numbers: "+(y?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(m)}},scrolledEvent:Uo},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(No,{ref:n,sectionColour:o,isWide:Lo(u)},a.a.createElement(Do,null,a.a.createElement(ue,{sectionColour:o},l),m&&a.a.createElement(ge,null,m),a.a.createElement(fe,{ref:b,showAll:h,maxHeight:v,displayShowAll:y},a.a.createElement(he,null,d.map((e,t)=>{return a.a.createElement(Ro,{key:t,isStandard:(n=u,n===Fo.Standard)},a.a.createElement(Mo,{sectionColour:o},e.data.number),a.a.createElement(pe,{dangerouslySetInnerHTML:{__html:te(e.data.copy,{br:{},b:{},i:{}})}}));var n})))),a.a.createElement(be,{showAll:h,displayShowAll:y},a.a.createElement(qo,{onClick:()=>((e,o)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(o)),f(!h)})(t,h?"Collapse":"Show all")},h?"Collapse":"Show all")))})};var Vo=e=>e?e.filter(e=>null===e.expiryTime||(new Date).getTime()<new Date(e.expiryTime).getTime()):[];const Yo=e=>{let o=e.color,t=void 0===o?s.colours.functional.primary:o,n=e.title;return a.a.createElement(f,null,a.a.createElement(g,{color:t}),a.a.createElement(y,{"aria-label":"".concat(n," Flag"),color:t,"data-testid":"flag-".concat(n)},n.toLowerCase()))},Go=e=>{let o=e.color,t=void 0===o?s.colours.functional.articleFlagNew:o;return a.a.createElement(Yo,{color:t,title:"new"})},$o=e=>{let o=e.color,t=void 0===o?s.colours.functional.articleFlagUpdated:o;return a.a.createElement(Yo,{color:t,title:"updated"})},Xo=e=>{let o=e.color,t=void 0===o?s.colours.functional.articleFlagExclusive:o;return a.a.createElement(Yo,{color:t,title:"exclusive"})},Zo=e=>{let o=e.color,t=void 0===o?s.colours.functional.tertiary:o;return a.a.createElement(Yo,{color:t,title:"sponsored"})},Ko=e=>{let o=e.color,t=void 0===o?s.colours.functional.secondary:o;return a.a.createElement(Yo,{color:t,title:"long read"})},Jo=e=>{let o=e.allFlags,t=e.overrideColor,n=void 0===t?"":t;return a.a.createElement(v,null,o.map(e=>a.a.createElement(k,{key:e.type,allFlags:o},function(){let e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==o&&(e={color:o}),new Map([["NEW",a.a.createElement(Go,Object.assign({},e))],["LIVE",a.a.createElement(N,Object.assign({},e))],["BREAKING",a.a.createElement(D,Object.assign({},e))],["UPDATED",a.a.createElement($o,Object.assign({},e))],["EXCLUSIVE",a.a.createElement(Xo,Object.assign({},e))],["SPONSORED",a.a.createElement(Zo,Object.assign({},e))],["LONGREAD",a.a.createElement(Ko,Object.assign({},e))]])}(n).get(e.type))))},Qo=e=>{let o=e.flags,t=void 0===o?[]:o,n=e.longRead,r=void 0!==n&&n,c=e.withContainer,i=void 0!==c&&c,s=e.color,m=void 0===s?"":s;const l=[...Vo(t),...r?[{expiryTime:null,type:"LONGREAD"}]:[]];return l.length?i?a.a.createElement(w,null,a.a.createElement(Jo,{allFlags:l,overrideColor:m})):a.a.createElement(Jo,{allFlags:l,overrideColor:m}):null},et=i.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;}"],s.colours.functional.backgroundPrimary,e=>{let o=e.sectionColour;return"2px solid ".concat(o)},s.breakpoints.medium,s.breakpoints.wide),ot=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwfd1c-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),tt=i()(ye).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1qwfd1c-2"})(["font-size:13px;margin:11px 0;padding:12px 15px 10px;"]),nt=i.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwfd1c-3"})(["padding:12px 0 13px;width:100%;position:relative;"]),rt=i.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 o=e.sectionColour;return"".concat(o)},e=>e.circularImage?"none":"block",e=>e.circularImage?"60px":"20px",e=>e.circularImage?"42px":"19px",s.breakpoints.medium,e=>e.circularImage?"100px":"39px",e=>e.circularImage?"16px":"24px",e=>e.circularImage?"74px":"20px",e=>e.circularImage?"52px":"19px"),at=i.a.div.withConfig({displayName:"styles__RightPanel",componentId:"sc-1qwfd1c-5"})(["display:grid;"]),ct=i.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:",";"],s.fonts.supporting,e=>{let o=e.sectionColour;return"".concat(o)}),it=i.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;}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium);function st(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return mt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?mt(e,o):void 0}}(e,o)||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 mt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const lt={attrs:{event_navigation_name:"in-article component displayed : timelines",event_navigation_browsing_method:"scroll"}},ut=e=>{let o=e.sectionColour;const t=Q(),n=t.loading,c=t.error,i=t.data;if(n)return a.a.createElement(le,null,a.a.createElement(V.Placeholder,null));if(c||void 0===i)return null;const s=i.fields,m=s.headline,l=s.label,u=i.body.data,d=st(Object(r.useState)(!1),2),p=d[0],h=d[1],f=Object(r.useRef)(null),b=st(Object(r.useState)(!1),2),g=b[0],y=b[1];return Object(r.useEffect)(()=>{const e=f.current;e&&y(e.clientHeight>375)},[]),a.a.createElement(W,{context:{object:"InArticleTimelines",attrs:{component_type:"in-article component : timelines: "+(g?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(m)}},scrolledEvent:lt},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(et,{ref:n,sectionColour:o},a.a.createElement(ot,null,a.a.createElement(ue,{sectionColour:o},l),m&&a.a.createElement(ge,null,m),a.a.createElement(fe,{ref:f,showAll:p,maxHeight:375,displayShowAll:g},a.a.createElement(he,null,u.map((e,t)=>a.a.createElement(nt,{key:t},a.a.createElement(rt,{sectionColour:o,circularImage:e.data.image},e.data.image&&a.a.createElement("img",{src:e.data.image})),a.a.createElement(at,null,a.a.createElement(ct,{sectionColour:o},e.data.date),a.a.createElement(it,null,e.data.eventHeading),a.a.createElement(pe,{dangerouslySetInnerHTML:{__html:te(e.data.copy,["br","b","i"])}}))))))),a.a.createElement(be,{showAll:p,displayShowAll:g},a.a.createElement(tt,{onClick:()=>((e,o)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(o)),h(!p)})(t,p?"Collapse":"Show all")},p?"Collapse":"Show all")))})},dt=i.a.div.withConfig({displayName:"styles__IconContainer",componentId:"qq20og-0"})(["width:40px;height:40px;display:flex;align-items:center;justify-content:center;"]),pt=i()(ce.IconActivityIndicator).withConfig({displayName:"styles__LoadingIcon",componentId:"qq20og-1"})(["background-color:",";border-radius:9999;overflow:hidden;"],s.colours.functional.whiteGrey),ht=i.a.div.withConfig({displayName:"styles__SaveStarText",componentId:"qq20og-2"})(["margin-right:15px;color:",";font-family:",";font-size:14px;line-height:14px;"],s.colours.functional.secondary,s.fonts.supporting),ft=i.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:",";}"],s.colours.functional.white,s.colours.functional.whiteGrey,s.colours.functional.keyline),bt=e=>e?"Saved":"Save",gt=e=>e?s.colours.functional.action:s.colours.functional.white,yt=e=>{let o=e.articleId,t=e.onToggleSave,n=e.loading,r=e.error,c=e.data;return n?a.a.createElement(a.a.Fragment,null,a.a.createElement(ht,null,bt(!1)),a.a.createElement(dt,null,a.a.createElement(pt,null))):r||!c?null:a.a.createElement(a.a.Fragment,null,a.a.createElement(ht,null,bt(c.isBookmarked)),a.a.createElement(ft,{onClick:()=>t(o,c.isBookmarked)},a.a.createElement(dt,null,a.a.createElement(ce.IconStar,{height:18,title:(i=c.isBookmarked,i?"Remove from My Articles":"Save to My Articles"),fillColour:gt(c.isBookmarked),strokeColour:s.colours.functional.secondary}))));var i},kt=a.a.memo(e=>{let o=e.children;const t=Q();return a.a.createElement(a.a.Fragment,null,a.a.isValidElement(o)&&a.a.cloneElement(o,t))});function vt(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return wt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wt(e,o):void 0}}(e,o)||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 wt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const xt=a.a.memo(e=>{let o=e.articleId,t=e.isPreviewMode,n=e.children;const c=vt(Object(r.useState)("/api/collections/is-bookmarked/".concat(o)),2),i=c[0],s=c[1],m=vt(Object(r.useState)(t?{isBookmarked:!1}:void 0),2),l=m[0],u=m[1],d=Object(r.useMemo)(()=>({credentials:"same-origin"}),[]),p=Object(r.useCallback)((e,o)=>{t?u({isBookmarked:!o}):s(o?"/api/collections/delete/".concat(e):"/api/collections/save/".concat(e))},[]),h=n?Object(r.cloneElement)(n,{articleId:o,onToggleSave:p}):a.a.createElement(yt,{articleId:o,onToggleSave:p});return a.a.createElement(J,{url:i,options:d,previewData:l},a.a.createElement(kt,null,h))}),jt="#006699",Ot="#01000d",zt="#696969",St="#aaaaaa",_t=i.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?Ot:zt,jt),Et=i.a.nav.withConfig({displayName:"styles__Breadcrumbs",componentId:"sc-1q1w5tj-1"})(["display:flex;"]),Ct=i.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1q1w5tj-2"})(["height:32px;display:flex;align-items:center;padding-inline:8px;"]);var Pt=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r.createElement("path",{fill:e.color,d:"m6.667 4-.94.94L8.78 8l-3.053 3.06.94.94 4-4-4-4Z"}));const It=e=>{let o=e.data;const t=(e,o)=>{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)}}))(o))};return a.a.createElement(W,null,e=>{let n=e.fireAnalyticsEvent;return a.a.createElement(Et,{"aria-label":"breadcrumbs"},o.map((e,o,r)=>o<r.length-1?a.a.createElement(a.a.Fragment,null,a.a.createElement(_t,{key:e.title,"aria-current":"false",href:e.url,selected:!1,onClick:()=>t(n,e.title)},e.title),a.a.createElement(Ct,null,a.a.createElement(Pt,{color:St}))):a.a.createElement(_t,{"aria-current":"page",key:e.title,href:e.url,selected:!0,onClick:()=>t(n,e.title)},e.title)))})};var Tt=e=>a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),a.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 At="#9f0000",Nt="#800000",Dt="#FFFFFF",qt="12px",Rt="8px",Mt=i.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:",";}"],At,Rt,qt,Dt,Nt,Nt),Ft=e=>{let o=e.label,t=e.handleClick;return a.a.createElement(Mt,{onClick:()=>t()},a.a.createElement(Tt,{"data-testid":"upward-arrow"}),o)};function Lt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Bt=e=>{let o=e.delay,t=e.initialState,n=e.children;const c=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Lt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Lt(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(t),2),i=c[0],s=c[1];return Object(r.useEffect)(()=>{setTimeout(()=>{s(!t)},o)},[]),a.a.createElement(a.a.Fragment,null,i?n:null)};function Ht(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function Ut(e){return function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){Ht(a,n,r,c,i,"next",e)}function i(e){Ht(a,n,r,c,i,"throw",e)}c(void 0)}))}}function Wt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Vt=e=>{let o=e.delay,t=e.display,n=e.label,c=e.handleClick,i=e.updatedTime,s=e.articleId,m=e.update,l=void 0!==m&&m;const u=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Wt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Wt(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(l),2),d=u[0],p=u[1];return Object(r.useEffect)(()=>{const e=function(){var e=Ut((function*(){try{const e=yield G()("/api/article-update-time/".concat(s));return(yield e.json()).article.publishedTime}catch(e){console.log(e)}}));return function(){return e.apply(this,arguments)}}(),o=setInterval(Ut((function*(){(yield e())>i&&p(!0)})),12e4);return()=>clearInterval(o)},[]),a.a.createElement(a.a.Fragment,null,d?a.a.createElement(Bt,{delay:o,initialState:t},a.a.createElement(Ft,{label:n,handleClick:c})):null)},Yt=i.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%;"]),Gt=i.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;}"],s.breakpoints.wide,s.breakpoints.medium),$t=i.a.div.withConfig({displayName:"styles__BannerContentWrapper",componentId:"mc8dye-2"})(["flex-direction:inherit;"]),Xt=i.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;}"],s.breakpoints.medium),Zt=i.a.div.withConfig({displayName:"styles__TitleWrapper",componentId:"mc8dye-4"})(["display:flex;align-items:center;width:100%;"]),Kt=i.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;}"],s.breakpoints.medium),Jt=i.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;}"],s.breakpoints.medium),Qt=i.a.button.withConfig({displayName:"styles__CloseIconWrapper",componentId:"mc8dye-7"})(["background:#fff;border:none;cursor:pointer;"]);var en=e=>{let o=e.width,t=void 0===o?24:o,n=e.height,r=void 0===n?24:n,c=e.color,i=void 0===c?"#000":c,s=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["width","height","color"]);return a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 14 14",fill:"none"},s),a.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:i}))};var on=e=>{let o=e.width,t=void 0===o?24:o,n=e.height,r=void 0===n?24:n,c=e.color,i=void 0===c?"#000":c,s=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["width","height","color"]);return a.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 24 24",fill:"none"},s),a.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:i}))};const tn=e=>{let o=e.title,t=e.body,n=e.onClose;return a.a.createElement(Yt,null,a.a.createElement(Gt,{"aria-label":"Email verification banner"},a.a.createElement($t,{role:"region"},a.a.createElement(Xt,null,a.a.createElement(Zt,null,a.a.createElement(on,null),a.a.createElement(Kt,null,o)),a.a.createElement(Qt,{onClick:n},a.a.createElement(en,{width:14,height:14}))),a.a.createElement(Jt,null,t))))};var nn=e=>r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),r.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},r.createElement("path",{fill:"currentcolor",d:"M7.333 4.667h1.334V6H7.334V4.667ZM7.333 7.333h1.334v4H7.334v-4Z"}),r.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"})),r.createElement("g",{mask:"url(#a)"},r.createElement("path",{fill:"currentcolor",d:"M0 0h16v16H0z"})));const rn=i.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;"]),an=i.a.div.withConfig({displayName:"styles__Popover",componentId:"sc-170o5l5-1"})(["position:relative;display:inline-block;"]),cn=i.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"),sn=i.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;}"]),mn=i.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;}"]),ln=i.a.div.withConfig({displayName:"styles__Tooltip",componentId:"sc-170o5l5-5"})(["position:relative;display:inline-block;z-index:80;"]),un=i.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 dn=()=>a.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 14 14",fill:"none"},a.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 pn(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return hn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?hn(e,o):void 0}}(e,o)||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,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const fn=e=>{let o=e.contractualTitle;const t=pn(a.a.useState(!1),2),n=t[0],r=t[1];return a.a.createElement(a.a.Fragment,null,a.a.createElement(ln,null,a.a.createElement(un,{"data-testid":"Tooltip-context",isOpen:n},o),a.a.createElement(rn,{"aria-label":"See contractual title, button","data-testid":"Tooltip",onMouseOver:()=>r(!0),onMouseOut:()=>r(!1)},a.a.createElement(nn,null))))},bn=e=>{let o=e.contractualTitle;const t=pn(a.a.useState(!1),2),n=t[0],r=t[1],c=()=>{r(!n)};return a.a.createElement(a.a.Fragment,null,a.a.createElement(an,null,a.a.createElement(cn,{"data-testid":"Popover-context",isOpen:n},a.a.createElement(sn,null,a.a.createElement("div",null,o),a.a.createElement(mn,{"data-testid":"close-button",onClick:c},a.a.createElement(dn,null)))),a.a.createElement(rn,{"aria-label":"See contractual title, button","data-testid":"Popover",onClick:c},a.a.createElement(nn,null))))},gn=e=>{let o=e.contractualTitle;return e.isLargeDevice?a.a.createElement(fn,{contractualTitle:o,"data-testid":"Tooltip"}):a.a.createElement(bn,{contractualTitle:o,"data-testid":"Popover"})},yn=()=>"undefined"!=typeof window&&window.sessionStorage;function kn(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return vn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?vn(e,o):void 0}}(e,o)||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 vn(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function wn(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function xn(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?wn(Object(t),!0).forEach((function(o){jn(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):wn(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function jn(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const On=(e,o)=>{const t=yn();if(t){const n=t.getItem("view-count"),r=xn(xn({},null!==n&&JSON.parse(n)||{}),{},{[e]:o});t.setItem("view-count",JSON.stringify(r))}},zn=e=>{const o=yn();if(o){const t=o.getItem("view-count"),n=null!==t&&JSON.parse(t);return n&&n[e]||1}return null},Sn=e=>{const o=zn(e);On(e,o+1)},_n=e=>{let o=e.displayFunction,t=void 0===o?()=>!0:o,n=e.trackingName,c=e.children;const i=kn(Object(r.useState)(),2),s=i[0],m=i[1],l=kn(Object(r.useState)(null),2),u=l[0],d=l[1];Object(r.useEffect)(()=>{const e=(e=>{const o=zn(e);return On(e,o),o})(n);m(e)},[]),M(u,()=>Sn&&Sn(n),{threshold:.5});const p="undefined"!=typeof window&&window.document.cookie.indexOf("nuk-consent-personalisation=1")>=0&&t(s);return a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"view-count-observer",ref:d}),a.a.createElement("div",{className:"view-count",style:{display:p?"block":"none"}},c))};var En=n(16);const Cn=i.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;}"],s.fonts.supporting),Pn=i.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;}"],s.colours.functional.action,s.fonts.body),In=e=>{let o=e.updatingSubscription,t=void 0!==o&&o,n=e.onPress,r=e.style;const c=U().fireAnalyticsEvent,i=()=>{t||(n&&n(),c&&c({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?a.a.createElement(Cn,{onClick:()=>i()},"Sign up with one click"):a.a.createElement(Pn,{onClick:()=>i()},"Sign up with one click")};var Tn=n(17),An=n.n(Tn);const Nn=i.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;"]),Dn=i.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;"]),qn=i()(Nn).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 o=e.section;return o?s.colours.section[o]:"black"},Object(s.spacing)(2),Object(s.spacing)(4),Object(s.spacing)(2),s.breakpoints.medium,Object(s.spacing)(4),s.breakpoints.wide),Rn=i()(Dn).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;}"],s.colours.functional.action,s.fonts.body,Object(s.spacing)(3),s.breakpoints.wide),Mn=e=>{let o=e.onPress;return a.a.createElement(W,{scrolledEvent:{object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here : displayed",event_navigation_browsing_method:"automated"}}},e=>{let t=e.fireAnalyticsEvent,n=e.intersectObserverRef;return a.a.createElement(An.a,{url:"https://home.thetimes.co.uk/myNews",onPress:()=>(o&&o(),void(t&&t({action:"Clicked",object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here",event_navigation_browsing_method:"click"}})))},a.a.createElement(m.HoverIcon,{underline:!0,colour:"#006699"},a.a.createElement(Rn,{ref:n},"Explore our newsletters")))})},Fn=i()(Nn).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;"]),Ln=i.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;}}"]),Bn=i()(Nn).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%;}"],s.breakpoints.wide),Hn=()=>a.a.createElement(Fn,null,a.a.createElement(Bn,null,a.a.createElement(Ln,null),a.a.createElement(Ln,null),a.a.createElement(Ln,null))),Un=i()(Nn).withConfig({displayName:"styles__InpSubscribedContainer",componentId:"sc-8h51gu-0"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding-right:150px;flex:1;}"],s.breakpoints.small),Wn=i()(Nn).withConfig({displayName:"styles__InpSignupContainer",componentId:"sc-8h51gu-1"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding:16px 10px;flex:1;}"],s.breakpoints.wide),Vn=i()(Dn).withConfig({displayName:"styles__InpSignupHeadline",componentId:"sc-8h51gu-2"})(["color:",";font-family:",";text-align:center;font-size:18px;text-decoration:none;margin-bottom:",";"],s.colours.functional.brandColour,s.fonts.headline,Object(s.spacing)(1)),Yn=i()(Dn).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;"],s.fonts.body,s.colours.functional.primary,Object(s.spacing)(6)),Gn=i()(Nn).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",s.breakpoints.medium,e=>"button"===e.childStyle&&"220px",s.breakpoints.wide,e=>"link"===e.childStyle?"inline-block":"none"),$n=i()(Nn).withConfig({displayName:"styles__InpPreferencesContainer",componentId:"sc-8h51gu-5"})(["flex-direction:row;justify-content:center;"]);function Xn(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Zn=e=>{let o=e.intersectObserverRef,t=e.section,n=e.headline,c=e.copy,i=e.code,s=e.subscribeNewsletter,m=e.loading,l=e.error;const u=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Xn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xn(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),d=u[0],p=u[1],h=e=>a.a.createElement(Gn,{ref:o,childStyle:e},a.a.createElement(In,{style:e,updatingSubscription:m,onPress:()=>{m||(p(!0),s("/api/subscribe-newsletter/".concat(i)))}}));return a.a.createElement(a.a.Fragment,null,a.a.createElement(qn,{section:t},m&&a.a.createElement(Hn,null),!l&&d&&a.a.createElement(Un,null,a.a.createElement(Yn,null,"You've succesfully signed up to"," ",a.a.createElement(Vn,null,"".concat(n,".")," "),a.a.createElement(Mn,null)),a.a.createElement($n,null)),l&&a.a.createElement(Un,null,a.a.createElement(Yn,null,"An error occurred. Please use the link below.",a.a.createElement(Mn,null)),a.a.createElement($n,null)),!d&&!l&&a.a.createElement(Wn,null,a.a.createElement(Yn,null,a.a.createElement(Vn,null,n," "),"".concat(c," "),h("link")),h("button"))))};function Kn(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Jn=e=>{let o=e.code,t=e.copy,n=e.headline,c=e.section;const i=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Kn(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Kn(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)("/api/is-subscribed-newsletter/".concat(o)),2),s=i[0],l=i[1],u=Object(r.useMemo)(()=>({credentials:"same-origin"}),[]);return a.a.createElement(En.GetNewsletter,{code:o,ssr:!1,debounceTimeMs:0},e=>{let r=e.isLoading,i=e.error,d=e.newsletter;return i?null:r||!d?a.a.createElement(qn,null,a.a.createElement(V.Placeholder,null)):d.isSubscribed?null:a.a.createElement(J,{url:s,options:u},a.a.createElement(W,{context:{object:"InlineNewsletterPuff",attrs:{article_parent_name:d.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 r=e.intersectObserverRef;return a.a.createElement(kt,null,a.a.createElement(Zn,{intersectObserverRef:r,section:Object(m.capitalise)(c),headline:n,copy:t,code:o,subscribeNewsletter:l}))}))})},Qn=e=>{let o=e.code,t=e.copy,n=e.headline,r=e.section;return a.a.createElement(_n,{trackingName:"auto-puff-".concat(o),displayFunction:e=>void 0!==e&&[1,3,5].includes(e)},a.a.createElement(Jn,{code:o,copy:t,headline:n,section:r}))},er=e=>{let o=e.copy,t=e.headline,n=e.section;return a.a.createElement(qn,{section:n},a.a.createElement(Wn,null,a.a.createElement(Yn,null,a.a.createElement(Vn,null,t," "),o,a.a.createElement(Gn,{childStyle:"link"},a.a.createElement(In,{style:"link"}))),a.a.createElement(Gn,{childStyle:"button"},a.a.createElement(In,{style:"button"}))))},or=()=>{"undefined"==typeof window||window.opta_settings||(window.opta_settings={subscription_id:"db98cff9f9612c01bbf3435964748e95",language:"en_GB",timezone:"Europe/London",load_when_visible:!1})},tr=e=>{const o=(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(o,'"]'))){const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",o),document.getElementsByTagName("head")[0].appendChild(e)}},nr=()=>(e=>document.body.querySelector('script[src="'.concat(e,'"]'))?Promise.resolve():new Promise((o,t)=>{const n=document.createElement("script");n.setAttribute("async","async"),n.setAttribute("src",e),n.onload=o,n.onerror=t,document.body.appendChild(n)}))("https://secure.widget.cloud.opta.net/v3/v3.opta-widgets.js"),rr=(e,o,t)=>{const n=document.createElement(e);return o&&Object.keys(o).map(e=>{void 0!==o[e]&&n.setAttribute(e,o[e].toString())}),t&&n.appendChild(t),n},ar=()=>{"undefined"!=typeof window&&void 0!==window.Opta&&window.Opta.start()},cr=i.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 o=e.$height;return o&&"height: ".concat(o,"px;")},s.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(s.colours.section.sport):"none",s.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",s.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),ir=i.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"n0zk21-1"})(["height:","px;position:relative;"],e=>e.height||200),sr=i.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;}}"],s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting),mr=i()(sr).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;}}}}}}}}"],s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline);function lr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ur=a.a.memo(e=>{let o=e.competition,t=e.match,n=e.full_width,c=e.height;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return lr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("cricket"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"cricket",widget:"score_card",season:"0",competition:o,match:t,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,ar(),l(!0))})},[]),a.a.createElement(cr,{border:m,fullWidth:n,$height:c},a.a.createElement(mr,{ref:i}),!m&&a.a.createElement(ir,{height:c},a.a.createElement(V.Placeholder,null)))}),dr={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"},pr=Object.keys(dr).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(dr[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(s.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(s.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")),hr=i.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1yydril-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 o=e.$height;return o&&"height: ".concat(o,"px;")},s.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(s.colours.section.sport):"none",s.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",s.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),fr=i.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1yydril-1"})(["position:relative;height:","px;"],e=>e.height||"200"),br=i.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1yydril-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;}}"],pr,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting),gr=i.a.div.withConfig({displayName:"styles__Container",componentId:"sc-6r7ohr-0"})(["height:80px;"]),yr=(i()(br).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-6r7ohr-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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(br).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-6r7ohr-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(s.breakpoints.small,"px) {\n .Opta-Scroller {\n display: none !important;\n }\n }\n "),s.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 ",s.breakpoints.medium,s.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 ",s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport)),kr=e=>["3","235","941"].includes(e),vr=(e,o)=>{Object(r.useEffect)(()=>{e.current&&e.current.classList.add("team-flags");const t=document.getElementsByClassName(o);t&&(e=>{let o=0;const t=setInterval(()=>{o>=25&&clearInterval(t),o++;for(let o of e){const e=o;if(e){const o=e.innerText.includes("Third Place")||e.innerText.includes("Group");[{pattern:/Quarter-Finalist/g,replacement:"QF"},{pattern:/Semi-Finalist|Semi-Final/g,replacement:"SF"}].forEach(t=>{let n=t.pattern,r=t.replacement;e.innerText=o?"TBD":e.innerText.replace(n,r)})}}},500)})(t)},[e])},wr=(e,o)=>{const t=document.querySelector(".".concat(e)),n=document.querySelector(".fixtures-page-link");return!(!t||n||(function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=Object.assign(document.createElement("div"),{className:"fixtures-page-link Opta-fixture"}),n=Object.assign(document.createElement("a"),{href:o}),r=Object.assign(document.createElement("span"),{textContent:"Full Fixtures & Results"});n.appendChild(r),n.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>'),t.appendChild(n),e.appendChild(t)}(t,o),0))};function xr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const jr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.days_ahead,s=e.days_before,m=e.round,l=e.isApp,u=e.showButtons,d=e.fixturesPageUrl;const p=a.a.createRef(),h=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return xr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?xr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),f=h[0],b=h[1],g=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{p.current&&(p.current.innerHTML=rr("opta-widget",{sport:"football",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,days_ahead:i,days_before:s,round:m,live:!0,start_on_current:!0,template:"strip",team_naming:"brief",match_status:"all",order_by:"date_ascending",show_grouping:!0,show_crests:!g,show_date:!0,show_live:!0,date_format:"ddd Do MMM",fixture_width:160,breakpoints:520}).outerHTML,ar(),b(!0))})},[p]),d&&!l&&((e,o,t)=>{Object(r.useEffect)(()=>{let e,n=wr(o,t);if(!n){let r=0;e=setInterval(()=>{r>=30&&clearInterval(e),r++,n=wr(o,t),n&&clearInterval(e)},200)}return()=>{e&&clearInterval(e)}},[e,o,t])})(p,"Opta-Room",d),g&&vr(p,"Opta-TeamName"),a.a.createElement(gr,null,a.a.createElement(yr,{isApp:l,showButtons:u,ref:p}),!f&&a.a.createElement(fr,{height:80},a.a.createElement(V.Placeholder,null)))}),Or=(i()(br).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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(br).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:",";}}}}}}}}}}}}"],s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport));function zr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Sr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.full_width;const s=a.a.createRef(),m=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return zr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?zr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),l=m[0],u=m[1];return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{s.current&&(s.current.innerHTML=rr("opta-widget",{sport:"football",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,live:!0,grouping:"date",show_grouping:!0,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},rr("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ar(),u(!0))})},[]),a.a.createElement(hr,{border:l,fullWidth:i},a.a.createElement(Or,{ref:s}),!l&&a.a.createElement(fr,null,a.a.createElement(V.Placeholder,null)))}),_r=(i()(br).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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(br).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:",";}}}}}}}}}}}}"],s.breakpoints.medium,e=>e.columns&&"column-count: 2;",e=>e.hide_matchday&&"display: none;",s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.breakpoints.medium,e=>e.isNationalComp?"24px;":"10px;",e=>e.isNationalComp?"24px;":"10px;",e=>!e.isNationalComp&&"\n @media (max-width: ".concat(s.breakpoints.medium,"px) {\n padding-left: 15px;\n\n &.Opta-Home {\n padding-right: 15px;\n padding-left: 0;\n }\n }\n "),s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport));function Er(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Cr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.days_ahead,s=e.days_before,m=e.matchday,l=e.round,u=e.classes,d=e.hide_matchday,p=e.show_title,h=void 0===p||p,f=e.columns,b=void 0===f||f,g=e.full_width;const y=a.a.createRef(),k=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Er(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Er(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),v=k[0],w=k[1],x=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{y.current&&(y.current.innerHTML=rr("opta-widget",{sport:"football",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,days_ahead:i,days_before:s,matchday:m,round:l,show_title:h,live:!0,grouping:"matchday",show_grouping:!0,sub_grouping:"date|matchday|group",show_subgrouping:!0,show_crests:!x,date_format:"dddd MMMM D YYYY",breakpoints:520},rr("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ar(),w(!0))})},[]),x&&vr(y,"Opta-Team"),a.a.createElement(hr,{border:v,fullWidth:g,className:u},a.a.createElement(_r,{ref:y,isNationalComp:x,hide_matchday:d,columns:b}),!v&&a.a.createElement(fr,null,a.a.createElement(V.Placeholder,null)))}),Pr=i()(br).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;}}}}}}}}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.keyline,s.breakpoints.medium,s.breakpoints.medium,e=>e.columns&&"column-count: 2;",s.colours.functional.brandColour,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.backgroundPrimary,s.colours.functional.brandColour,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.brandColour,s.colours.functional.backgroundSecondary,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium);function Ir(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Tr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.default_nav,c=void 0===n?1:n,i=e.classes,s=e.navigation,m=e.show_title,l=void 0===m||m,u=e.full_width,d=e.columns,p=e.height;const h=a.a.createRef(),f=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ir(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ir(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),b=f[0],g=f[1],y=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{h.current&&(h.current.innerHTML=rr("opta-widget",{sport:"football",widget:"standings",season:o,competition:t,live:!0,navigation:s?"dropdown":void 0,default_nav:c,show_title:l,show_crests:!y,team_naming:"brief",breakpoints:520}).outerHTML,ar(),g(!0))})},[]),y&&vr(h,"Opta-Team"),a.a.createElement(hr,{border:b,fullWidth:u,className:i,$height:p},a.a.createElement(Pr,{ref:h,columns:d}),!b&&a.a.createElement(fr,{height:p},a.a.createElement(V.Placeholder,null)))}),Ar=i()(br).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:",";}}}}}}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport);function Nr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Dr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Nr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Nr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"football",widget:"match_summary",season:o,competition:t,match:n,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,ar(),l(!0))})},[]),a.a.createElement(hr,{border:m,fullWidth:c},a.a.createElement(Ar,{ref:i}),!m&&a.a.createElement(fr,null,a.a.createElement(V.Placeholder,null)))}),qr=i()(br).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;}}}}"],s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.section.sport,s.colours.section.sport,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting);function Rr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Mr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width,i=e.height,s=void 0===i?640:i;const m=a.a.createRef(),l=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Rr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Rr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),u=l[0],d=l[1];return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{m.current&&(m.current.innerHTML=rr("opta-widget",{sport:"football",widget:"matchstats",season:o,competition:t,match:n,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,ar(),d(!0))})},[]),a.a.createElement(hr,{border:u,fullWidth:c,$height:s},a.a.createElement(qr,{ref:m}),!u&&a.a.createElement(fr,{height:s},a.a.createElement(V.Placeholder,null)))}),Fr=i()(br).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;}}}}"],s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.section.sport,s.colours.section.sport,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting);function Lr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Br=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.full_width,c=e.hide_zeroes,i=void 0===c||c,s=e.show_title,m=void 0===s||s,l=e.visible_categories,u=e.classes,d=e.height;const p=a.a.createRef(),h=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Lr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Lr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),f=h[0],b=h[1],g=kr(t);return Object(r.useEffect)(()=>{or(),tr("football"),nr().then(()=>{p.current&&(p.current.innerHTML=rr("opta-widget",{sport:"football",widget:"player_ranking",hide_zeroes:i,season:o,competition:t,template:"normal",graph_style:"relative",visible_categories:l,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_title:m,date_format:"DD/MM/YYYY",breakpoints:"200"}).outerHTML,ar(),b(!0))})},[p]),g&&vr(p,"Opta-Image-Team"),a.a.createElement(hr,{border:f,fullWidth:n,className:u,$height:d},a.a.createElement(Fr,{ref:p}),!f&&a.a.createElement(fr,{height:d},a.a.createElement(V.Placeholder,null)))}),Hr=i.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:",";}"],s.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(s.colours.section.sport):"none",s.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",s.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),Ur=i.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1dlwd3q-1"})(["position:relative;height:200px;"]),Wr=i.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;}}"],s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting),Vr=(i()(Wr).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;}}}}}}}"],s.fonts.headline,s.breakpoints.medium),i()(Wr).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:",";}}}}}}}}}}}}"],s.colours.functional.backgroundSecondary,s.colours.functional.brandColour,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.breakpoints.medium,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport));function Yr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Gr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.date_from,c=e.date_to,i=e.full_width;const s=a.a.createRef(),m=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Yr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Yr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),l=m[0],u=m[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{s.current&&(s.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"fixtures",season:o,competition:t,date_from:n,date_to:c,live:!0,grouping:"date",show_grouping:!0,show_subgrouping:!1,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},rr("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,ar(),u(!0))})},[]),a.a.createElement(Hr,{border:l,fullWidth:i},a.a.createElement(Vr,{ref:s}),!l&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))}),$r=i()(Wr).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;}}}}}}}}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.keyline,s.breakpoints.medium,s.colours.functional.brandColour,s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.backgroundPrimary,s.colours.functional.brandColour,s.colours.functional.primary,s.fonts.supporting,s.colours.functional.brandColour,s.colours.functional.backgroundSecondary,s.colours.functional.primary,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium);function Xr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Zr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.default_nav,c=void 0===n?1:n,i=e.navigation,s=e.full_width;const m=a.a.createRef(),l=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Xr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),u=l[0],d=l[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{m.current&&(m.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"standings",season:o,competition:t,live:!0,navigation:i?"dropdown":void 0,default_nav:c,show_crests:!0,breakpoints:520}).outerHTML,ar(),d(!0))})},[]),a.a.createElement(Hr,{border:u,fullWidth:s},a.a.createElement($r,{ref:m}),!u&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))}),Kr=i()(Wr).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:",";}}}}}}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport);function Jr(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Qr=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Jr(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Jr(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"match_summary",season:o,competition:t,match:n,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,ar(),l(!0))})},[]),a.a.createElement(Hr,{border:m,fullWidth:c},a.a.createElement(Kr,{ref:i}),!m&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))}),ea=i()(Wr).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;}}}}"],s.colours.functional.brandColour,s.fonts.supporting,s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium,s.colours.section.sport,s.colours.section.sport,s.colours.functional.brandColour,s.fonts.supporting,s.colours.section.sport,s.fonts.supporting);function oa(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ta=a.a.memo(e=>{let o=e.season,t=e.competition,n=e.match,c=e.full_width;const i=a.a.createRef(),s=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return oa(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?oa(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),m=s[0],l=s[1];return Object(r.useEffect)(()=>{or(),tr("rugby"),nr().then(()=>{i.current&&(i.current.innerHTML=rr("opta-widget",{sport:"rugby",widget:"matchstats",season:o,competition:t,match:n,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,ar(),l(!0))})},[]),a.a.createElement(Hr,{border:m,fullWidth:c},a.a.createElement(ea,{ref:i}),!m&&a.a.createElement(Ur,null,a.a.createElement(V.Placeholder,null)))});var na=n(10),ra=n.n(na),aa=n(11);const ca=e=>e.map(e=>({url:e.url,ratio:e.aspectRatio})),ia=e=>{if(e){if(e.crops)return ca(e.crops);if(e.posterImage&&e.posterImage.crops)return ca(e.posterImage.crops)}return[]},sa=e=>{return{url:e.categoryPath,label:e.label,byline:(t=e.bylines,t?t.map(e=>"author"===e.type?e.name:e.value).join(""):void 0),headline:e.headline,summary:(o=e.summary,o&&o.children?o.children.map(e=>e.text).join("")+"...":void 0),datePublished:e.publishedDateTime,images:{alt:e.headline,crops:ia(e.media)}};var o,t},ma=e=>{switch(e){case 1:return"RELATED_ARTICLE_1";case 2:return"RELATED_ARTICLE_2";default:return"RELATED_ARTICLE_3"}},la=e=>({name:ma(e.length),children:e.map(e=>({article:sa(e)})).slice(0,3)}),ua=i.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;"],s.colours.functional.brandColour,s.fonts.headline),da=e=>{let o=e.heading;const t=Q(),n=t.loading,r=t.error,c=t.data;if(n||r)return null;const i=ra()(c,"recommendations.articles");if(!i||!i.length)return null;const s=U().fireAnalyticsEvent;return a.a.createElement("div",{id:"recommended-articles"},a.a.createElement(ua,null,o),a.a.createElement(aa.Slice,{slice:la(i),clickHandler:(e,o)=>{s&&s({action:"Clicked",attrs:{article_parent_name:o.headline}})}}))};function pa(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const ha=e=>{let o=e.articleId,t=e.articleHeadline,n=e.articleSection;const c=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return pa(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pa(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),i=c[0],s=c[1];return Object(r.useEffect)(()=>{try{const e=window.nuk.getCookieValue("acs_tnl"),o=window.__TIMES_CONFIG__.environmentName;e&&["local-prod","pr","uat","staging","prod"].includes(o)&&s(!0)}catch(e){console.log(e)}},[]),i?a.a.createElement(J,{url:"/api/recommended-articles/".concat(o,"/todays_section")},a.a.createElement(W,{context:{object:"RecommendedArticles",attrs:{event_navigation_action:"navigation",event_navigation_name:"widget:relevant article",event_navigation_browsing_method:"click",section_details:"section : ".concat(n),article_name:t,widget_headline:"Read more".toLowerCase(),widget_section:n,widget_type:"today's section"}}},a.a.createElement(da,{heading:"Read more"}))):null},fa=i.a.div.withConfig({displayName:"styles__Container",componentId:"sc-19exdh2-0"})(["display:none;"]),ba=e=>{let o=e.heading,t=e.articles;const n=U().fireAnalyticsEvent;return a.a.createElement(fa,{id:"categorised-articles"},a.a.createElement(ua,null,"More from ".concat(o)),a.a.createElement(aa.Slice,{slice:la(t),clickHandler:(e,o)=>{n&&n({action:"Clicked",attrs:{article_parent_name:o.headline}})}}))},ga="#bedeed",ya="#1573a2",ka="#ffeecc",va="#ffa300",wa="#ffd6d6",xa="#df0000",ja=i.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:",";}}"],ga,ya,ya,ka,va,va,wa,xa,xa),Oa=i.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1lbbpaf-1"})(["margin:12px 0 45px 12px;"]),za=i.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1lbbpaf-2"})(["margin:12px;"]),Sa=i.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1lbbpaf-3"})(["font-family:",";font-weight:700;font-size:15px;line-height:16px;margin-bottom:6px;"],s.fonts.supporting),_a=i.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;}"],s.fonts.supporting),Ea=e=>{let o=e.size,t=void 0===o?{width:"20",height:"20"}:o;return a.a.createElement("svg",{width:t.width,height:t.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a.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"}))},Ca=e=>{let o=e.title,t=e.type,n=e.children;return a.a.createElement(ja,{className:t},a.a.createElement(Oa,null,a.a.createElement(Ea,null)),a.a.createElement(za,null,a.a.createElement(Sa,null,o),a.a.createElement(_a,null,n)))},Pa=i.a.div.withConfig({displayName:"styles__Container",componentId:"kqn9c8-0"})(["display:flex;flex-direction:column;align-items:center;padding:60px;@media (min-width:","px){padding:88px;}"],s.breakpoints.medium),Ia=i.a.div.withConfig({displayName:"styles__Title",componentId:"kqn9c8-1"})(["font-family:",";font-size:32px;line-height:32px;letter-spacing:0;text-align:center;padding:24px;"],s.fonts.headline),Ta=i.a.div.withConfig({displayName:"styles__Description",componentId:"kqn9c8-2"})(["font-family:",";font-weight:400;font-size:18px;line-height:28px;letter-spacing:0;text-align:center;max-width:660px;"],s.fonts.body),Aa=i.a.a.withConfig({displayName:"styles__Button",componentId:"kqn9c8-3"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;background-color:#008387;color:white;font-family:",";width:127px;height:48px;font-size:15px;font-style:normal;font-weight:500;line-height:20px;letter-spacing:0;margin:24px;"],s.fonts.supporting),Na=e=>{let o=e.title,t=e.href,n=void 0===t?"#":t,r=e.onClick,c=e.buttonText,i=e.children;return a.a.createElement(Pa,null,a.a.createElement(Ia,null,o),a.a.createElement(Ta,null,i),a.a.createElement(Aa,{href:n,onClick:r},c))};var Da=n(18),qa=n.n(Da),Ra=n(19),Ma=n.n(Ra),Fa=n(12),La=n.n(Fa),Ba=e=>{try{return decodeURIComponent(e)}catch(o){return e}};const Ha=i.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",s.breakpoints.medium,s.breakpoints.wide),Ua=i.a.div.withConfig({displayName:"styles__UpdatesContainer",componentId:"uvi9j3-1"})(["display:flex;flex-direction:row;justify-content:space-between;"]),Wa=i.a.div.withConfig({displayName:"styles__TimeSincePublishingContainer",componentId:"uvi9j3-2"})(["display:flex;flex-direction:row;"]),Va=i.a.div.withConfig({displayName:"styles__TimeSincePublishing",componentId:"uvi9j3-3"})(["color:",";font-family:",";font-size:13px;line-height:18px;"],s.colours.functional.brandColour,s.fonts.supporting),Ya=Object(c.css)(["color:",";font-family:",";font-size:13px;line-height:18px;"],s.colours.functional.secondary,s.fonts.supporting),Ga=i.a.div.withConfig({displayName:"styles__UpdatedTimeItems",componentId:"uvi9j3-4"})(["display:flex;justify-content:space-between;align-items:baseline;"]),$a=i.a.div.withConfig({displayName:"styles__UpdatedTime",componentId:"uvi9j3-5"})(["",";"],Ya),Xa=i.a.div.withConfig({displayName:"styles__UpdatedDate",componentId:"uvi9j3-6"})([""," justify-content:end;padding:0 4px 0 0;"],Ya),Za=i.a.div.withConfig({displayName:"styles__Divider",componentId:"uvi9j3-7"})(["background-color:",";width:1px;margin:2px 8px 6px 8px;"],s.colours.functional.greyLabel),Ka=i.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;}"],s.colours.functional.brandColour,s.fonts.headline,s.breakpoints.medium),Ja=i.a.div.withConfig({displayName:"styles__FlagContainer",componentId:"uvi9j3-9"})(["margin-right:8px;"]),Qa=i.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;"]),ec=i.a.div.withConfig({displayName:"styles__BylineBlockImgContainer",componentId:"uvi9j3-11"})(["border-radius:50%;width:50px;height:50px;overflow:hidden;margin-right:10px;"]),oc=i.a.img.withConfig({displayName:"styles__BylineBlockImg",componentId:"uvi9j3-12"})(["height:100%;width:100%;"]),tc=i.a.div.withConfig({displayName:"styles__BylineBlockContent",componentId:"uvi9j3-13"})(["display:flex;flex-direction:column;"]),nc=i.a.div.withConfig({displayName:"styles__BylineBlockAuthorContent",componentId:"uvi9j3-14"})(["display:flex;align-items:center;margin-bottom:2px;"]),rc=i.a.p.withConfig({displayName:"styles__BylineBlockAuthorName",componentId:"uvi9j3-15"})(["color:#069;margin-right:5px;margin-block:0;"]),ac=i.a.p.withConfig({displayName:"styles__BylineBlockAuthorJobTitle",componentId:"uvi9j3-16"})(["color:#696969;margin-block:0;"]),cc=i.a.p.withConfig({displayName:"styles__BylineBlockDescription",componentId:"uvi9j3-17"})(["color:#696969;font-weight:500;margin-block:0;"]),ic=e=>{let o=e.authorData,t=e.description;return o&&o.name||o&&o.image||t?a.a.createElement(Qa,null,o&&o.image&&a.a.createElement(ec,null,a.a.createElement(oc,{src:o.image,alt:o.name})),a.a.createElement(tc,null,a.a.createElement(nc,null,o&&o.name&&a.a.createElement(rc,null,o.name),o&&o.jobTitle&&a.a.createElement(ac,null,o.jobTitle)),t&&a.a.createElement(cc,null,t))):null};function sc(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function mc(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return lc(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?lc(e,o):void 0}}(e,o)||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 lc(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var uc=e=>{let o=e.updated,t=e.breaking,n=e.headline,c=e.authorSlug,i=e.description;const s=mc(Object(r.useState)(""),2),m=s[0],l=s[1],u=mc(Object(r.useState)(),2),d=u[0],p=u[1],h=new Date,f=new Date(o),b=Ma()(f,"Europe/London");Object(r.useEffect)(()=>{"Europe/London"!==Intl.DateTimeFormat().resolvedOptions().timeZone&&l(La()(b,"zzz",{timeZone:"Europe/London"}))}),Object(r.useEffect)(()=>{void 0!==c?function(){var e,o=(e=function*e(){try{const e=yield fetch("/api/author-profile/".concat(c)),o=yield e.json();p(o)}catch(e){console.log(e)}},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){sc(a,n,r,c,i,"next",e)}function i(e){sc(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return o.apply(this,arguments)}}()():p(null)},[c]);const g=z()(f,h,{roundingMethod:"floor"})+" ago",y=j()(h,f),k=y<60,v=y<3600,w=y<46800,x=qa()(h,b)>=1,O=!!t&&Boolean("true"===t.toLowerCase()),S=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=/\D+/g,n=e.replace(t,""),r=/\b(\w)/g,a=o.match(r),c=null===a?"":a.join("");return"u_".concat(n).concat(c)}(o,n);return a.a.createElement(Ha,{isBreaking:O&&v,id:S},a.a.createElement(Ua,null,a.a.createElement(Ga,null,O&&v?a.a.createElement(Ja,null,a.a.createElement(D,null)):null,!k&&w?a.a.createElement(Wa,null,a.a.createElement(Va,{"data-testId":"TimeSincePublishing"},g),a.a.createElement(Za,null)):null,a.a.createElement($a,{isLessThan13Hours:!k&&w},"".concat(La()(b,"h.mmaaa")," ").concat(m))),x?a.a.createElement(Xa,null,La()(b,"MMMM d")):null),n&&a.a.createElement(Ka,null,Ba(n)),d&&a.a.createElement(ic,{authorData:d,description:i}))};const dc=i.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:",";"],s.colours.functional.bannerBackground),pc=i.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;}}"],s.colours.functional.greyText,s.fonts.headline,s.breakpoints.medium),hc=i.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;}"],s.colours.functional.primary,s.fonts.supporting,s.breakpoints.medium);function fc(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const bc=()=>{const e=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return fc(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?fc(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),o=e[0],t=e[1];return Object(r.useEffect)(()=>{window.sessionStorage.getItem("showWelcomeBanner")&&(window.sessionStorage.removeItem("showWelcomeBanner"),t(!0))},[]),o?a.a.createElement(dc,null,a.a.createElement(pc,{"data-testId":"title"},"Welcome to ",a.a.createElement("br",{className:"mobile"}),"The Times ",a.a.createElement("br",{className:"larger-breakpoints"})," and"," ",a.a.createElement("br",{className:"mobile"}),"The Sunday Times"),a.a.createElement(hc,{"data-testId":"text"},"We hope you enjoy your free content")):null};const gc=i()(e=>r.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg"},e),r.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),r.createElement("path",{fill:"currentcolor",d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}))).withConfig({displayName:"styles__ChevronRightIcon",componentId:"sc-1my13dk-0"})(["transform:rotate(90deg);width:16px;height:16px;"]),yc=i.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;"]),kc=i.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;"]),vc=i.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;}"]),wc=i.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;}"]),xc=i.a.div.withConfig({displayName:"styles__TitleIconContainer",componentId:"sc-1my13dk-5"})(["display:flex;flex-direction:row;justify-content:space-between;"]),jc=i.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;"]),Oc=i.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;"]),zc=i.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;"]),Sc=i.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;}"]),_c=i.a.img.withConfig({displayName:"styles__PuzzleImage",componentId:"sc-1my13dk-10"})(["height:40px;width:40px;margin:0 16px 0 0;"]);function Ec(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Cc(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ec(Object(t),!0).forEach((function(o){Pc(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ec(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Pc(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Ic=(e,o,t)=>{e&&e(function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{object:"ArticleSidebar",action:"Clicked",attrs:Cc({event_navigation_action:"navigation",event_navigation_name:"".concat(e),event_navigation_browsing_method:"click",component_name:"Article Sidebar"},o&&{article_parent_name:o.toLowerCase()})}}(o,t))},Tc=e=>{let o=e.sectionTitle,t=e.data,n=e.pageLink;const r=U().fireAnalyticsEvent;return a.a.createElement(yc,null,a.a.createElement(wc,{href:n,onClick:()=>Ic(r,"puzzle sidebar: header selected"),className:"trigger"},a.a.createElement(xc,null,a.a.createElement(jc,null,o),a.a.createElement(Oc,null,a.a.createElement(gc,null)))),a.a.createElement(kc,null,"Challenge yourself with today’s puzzles."),a.a.createElement(vc,null),t.map(e=>{let o=e.title,t=e.url,n=e.imgUrl;return a.a.createElement(a.a.Fragment,{key:o},a.a.createElement(Sc,{href:t,onClick:()=>Ic(r,"puzzle sidebar: puzzle selected","".concat(o)),className:"trigger-card-link"},a.a.createElement(_c,{src:n,alt:"Puzzle category thumbnail"}),a.a.createElement(zc,null,o)),a.a.createElement(vc,null))}))},Ac=i.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:",";}"],s.colours.functional.primary,s.colours.functional.primary,s.colours.functional.secondary);var Nc,Dc,qc;Object(c.createGlobalStyle)(Nc||(Dc=["\n *, *::before, *::after {\n box-sizing: border-box;\n }\n"],qc||(qc=Dc.slice(0)),Nc=Object.freeze(Object.defineProperties(Dc,{raw:{value:Object.freeze(qc)}}))));const Rc=i.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 o=e.isExpanded,t=e.isModalOpen;return o?t?"370px":"221px":"48px"},s.colours.functional.white,s.colours.functional.primary,e=>e.isExpanded?"translateY(0)":"translateY(calc(100% - 48px))",s.breakpoints.small),Mc=i.a.div.withConfig({displayName:"styles__Row",componentId:"w3kg01-1"})(["width:100%;display:flex;justify-content:center;align-items:center;"]),Fc=i.a.button.withConfig({displayName:"styles__CollapseButton",componentId:"w3kg01-2"})(["background:none;border:none;cursor:pointer;padding:0;"]),Lc=i.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%);}}"],s.fonts.supporting),Bc=i.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 o=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),Hc=i.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;"],s.fonts.supporting),Uc=i.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;}"],s.breakpoints.small),Wc=i.a.div.withConfig({displayName:"styles__PlaybackButtonsContainer",componentId:"w3kg01-7"})(["display:flex;justify-content:center;align-items:center;gap:8px;@media (min-width:","){gap:16px;}"],s.breakpoints.small),Vc=i.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;}"],s.colours.functional.primary),Yc=i.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;}"]),Gc=i.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;}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.breakpoints.small,s.colours.functional.border),$c=i.a.div.withConfig({displayName:"styles__SpeedSelectModal",componentId:"w3kg01-11"})(["background:",";z-index:1000;display:flex;flex-direction:column;overflow:hidden;",";"],s.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(s.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(s.colours.functional.white," transparent transparent transparent;\n width: 0;\n height: 0;\n }\n ")),Xc=i.a.div.withConfig({displayName:"styles__SpeedOptionsContainer",componentId:"w3kg01-12"})(["flex:1;width:100%;display:flex;flex-direction:column;align-items:center;"]),Zc=i.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?s.colours.functional.bannerBackground:"transparent",e=>e.isMobile?"80%;":"100%",s.fonts.supporting,e=>e.selected?s.colours.functional.brandColour:s.colours.functional.secondary,s.colours.functional.brandColour,e=>e.selected?s.colours.functional.bannerBackground:s.colours.functional.border),Kc=i.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;}"],s.fonts.supporting,s.colours.functional.primary),Jc=(i.a.div.withConfig({displayName:"styles__VolumeControlContainer",componentId:"w3kg01-15"})(["display:flex;align-items:center;width:90%;padding:5px 0;"]),i.a.label.withConfig({displayName:"styles__VolumeLabel",componentId:"w3kg01-16"})(["margin-right:10px;font-family:",";font-size:14px;font-weight:500;"],s.fonts.supporting),i.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;}"],s.colours.functional.whiteGrey,"#1573A2","#1573A2","#1573A2","#1573A2",s.colours.functional.whiteGrey,s.colours.functional.whiteGrey),i.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;"],s.colours.functional.white)),Qc=i.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;"]),ei=i.a.div.withConfig({displayName:"styles__LeftControls",componentId:"w3kg01-20"})(["display:flex;align-items:center;"]),oi=i.a.div.withConfig({displayName:"styles__CenterControls",componentId:"w3kg01-21"})(["display:flex;align-items:center;flex-grow:1;margin:0 16px;"]),ti=i.a.div.withConfig({displayName:"styles__RightControls",componentId:"w3kg01-22"})(["display:flex;align-items:center;"]),ni=i.a.button.withConfig({displayName:"styles__TabletDesktopPlayPauseButton",componentId:"w3kg01-23"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:32px;height:32px;fill:",";}"],s.colours.functional.primary),ri=i.a.span.withConfig({displayName:"styles__TabletDesktopStatusText",componentId:"w3kg01-24"})(["font-family:",";font-size:16px;font-weight:500;margin:0 16px;"],s.fonts.supporting),ai=i.a.div.withConfig({displayName:"styles__TabletDesktopVolumeControlContainer",componentId:"w3kg01-25"})(["display:flex;align-items:center;margin:0 16px;"]),ci=i.a.button.withConfig({displayName:"styles__TabletDesktopVolumeButton",componentId:"w3kg01-26"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],s.colours.functional.primary),ii=i.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;}"],s.colours.functional.whiteGrey,"#1573A2","#1573A2"),si=i.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;}"],s.fonts.supporting),mi=i.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 o=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," ").concat(o,"%, ").concat(s.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),li=i.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;}"],s.colours.functional.primary,s.fonts.supporting,s.colours.functional.primary,s.colours.functional.border),ui=i.a.div.withConfig({displayName:"styles__SpeedButtonContainer",componentId:"w3kg01-31"})(["position:relative;"]),di=i.a.button.withConfig({displayName:"styles__TabletDesktopCloseButton",componentId:"w3kg01-32"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],s.colours.functional.primary),pi=e=>{let o=e.isExpanded,t=e.toggleExpand;return e.allowExpandCollapse?a.a.createElement(Mc,null,a.a.createElement(Fc,{onClick:t,"aria-label":o?"Collapse Player":"Expand Player"},a.a.createElement(ce.PlayerModalIcon,null))):null},hi=e=>{let o=e.title;return a.a.createElement(Mc,null,a.a.createElement(Lc,null,a.a.createElement("div",{"data-testid":"title-content"},o)))},fi=e=>{let o=e.currentTime,t=e.duration,n=e.onSeek,r=e.allowSeek;const c=t>0?o/t*100:0;return a.a.createElement(Mc,null,a.a.createElement(Bc,{type:"range",min:"0",max:t,value:o,onChange:e=>n(parseFloat(e.target.value)),disabled:!r,"aria-label":"Seek Bar",progress:c}))},bi=e=>{const o=Math.floor(e/60),t=Math.floor(e%60);return"".concat(o,":").concat(t<10?"0":"").concat(t)},gi=e=>{let o=e.currentTime,t=e.duration;return a.a.createElement(Mc,null,a.a.createElement(Hc,null,a.a.createElement("span",{"data-testid":"current-time"},bi(o)),a.a.createElement("span",{"data-testid":"duration"},bi(t))))},yi=e=>{let o=e.isPlaying,t=e.togglePlayPause,n=e.rewind,r=e.forward,c=e.speed,i=e.onSpeedChange,s=e.allowTogglePlay,m=e.allowSeek,l=e.allowPlaybackRateChange,u=e.isSpeedModalOpen,d=e.setIsSpeedModalOpen,p=e.isMobile;return a.a.createElement(Mc,null,a.a.createElement(Uc,null,a.a.createElement(Wc,null,a.a.createElement(Vc,{onClick:n,disabled:!m,"aria-label":"Rewind 10 seconds"},a.a.createElement(ce.PlayerBack,null)),a.a.createElement(Yc,{onClick:t,disabled:!s,"aria-label":o?"Pause":"Play"},o?a.a.createElement(ce.PauseIcon,{fill:"white"}):a.a.createElement(ce.PlayIcon,{fill:"white"})),a.a.createElement(Vc,{onClick:r,disabled:!m,"aria-label":"Forward 10 seconds"},a.a.createElement(ce.PlayerFront,null))),a.a.createElement(Gc,{onClick:()=>{l&&d(!u)},"aria-label":"Change Playback Speed"},"Speed")),u&&a.a.createElement($c,{isMobile:p},a.a.createElement(Xc,null,[.5,.8,1,1.2,1.5,2].map(e=>a.a.createElement(Zc,{key:e,selected:e===c,onClick:()=>(i(e),void d(!1))},a.a.createElement("span",null,e,"x"),e===c&&a.a.createElement(ce.IconCheck,null)))),a.a.createElement(Kc,{onClick:()=>d(!1)},"Close")))},ki=e=>{let o=e.isPlaying,t=e.togglePlayPause,n=e.currentTime,r=e.duration,c=e.allowTogglePlay,i=e.allowSeek,s=e.allowVolumeChange,m=e.volume,l=e.handleSeek,u=e.handleVolumeChange,d=e.speed,p=e.allowPlaybackRateChange,h=e.isSpeedModalOpen,f=e.setIsSpeedModalOpen,b=e.speedOptions,g=e.handleSpeedSelect,y=e.isVolumeSliderVisible,k=e.setIsVolumeSliderVisible,v=e.onClose,w=e.allowExpandCollapse,x=e.isMobile;return a.a.createElement(Jc,null,a.a.createElement(Qc,null,a.a.createElement(ei,null,a.a.createElement(ni,{onClick:t,disabled:!c,"aria-label":o?"Pause":"Play"},o?a.a.createElement(ce.PauseIcon,null):a.a.createElement(ce.PlayIcon,null)),a.a.createElement(ri,null,o?"Playing":"Paused"),s&&a.a.createElement(ai,null,a.a.createElement(ci,{onClick:()=>k(!y),"aria-label":"Volume Control"},a.a.createElement(ce.IconVolume,null)),y&&a.a.createElement(ii,{type:"range",min:"0",max:"1",step:"0.01",value:m,onChange:e=>u(parseFloat(e.target.value))}))),a.a.createElement(oi,null,a.a.createElement(si,null,a.a.createElement("span",null,bi(n))),a.a.createElement(mi,{type:"range",min:"0",max:r,value:n,onChange:e=>l(parseFloat(e.target.value)),disabled:!i,"aria-label":"Seek Bar",progress:r>0?n/r*100:0}),a.a.createElement(si,null,a.a.createElement("span",null,bi(r)))),a.a.createElement(ti,null,p&&a.a.createElement(ui,null,a.a.createElement(li,{onClick:()=>{p&&f(!h)},"aria-label":"Change Playback Speed"},"Speed"),h&&a.a.createElement($c,{isMobile:x},a.a.createElement(Xc,null,b.map(e=>a.a.createElement(Zc,{key:e,selected:e===d,onClick:()=>g(e)},a.a.createElement("span",null,e,"x"),e===d&&a.a.createElement(ce.IconCheck,null)))))),w&&a.a.createElement(di,{onClick:v,"aria-label":"Close Player"},a.a.createElement(ce.AudioCloseIcon,{fill:"black"})))))};function vi(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return wi(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?wi(e,o):void 0}}(e,o)||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 wi(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const xi=Object(r.forwardRef)((e,o)=>{let t=e.src,n=e.title,c=void 0===n?"Audio Title":n,i=e.autoPlay,s=void 0!==i&&i,m=e.initialVolume,l=void 0===m?1:m,u=e.playbackRate,d=void 0===u?1:u,p=e.isPlayingProp,h=e.isExpandedProp,f=e.allowTogglePlay,b=void 0===f||f,g=e.allowSeek,y=void 0===g||g,k=e.allowVolumeChange,v=void 0===k||k,w=e.allowPlaybackRateChange,x=void 0===w||w,j=e.allowExpandCollapse,O=void 0===j||j,z=e.onPlay,S=e.onPause,_=e.onEnded,E=e.onTimeUpdate,C=e.onVolumeChange,P=e.onPlaybackRateChange,I=e.onSeek,T=e.onClose;const A=Object(r.useRef)(null),N=vi(Object(r.useState)(null!=p?p:s),2),D=N[0],q=N[1],R=vi(Object(r.useState)(null==h||h),2),M=R[0],F=R[1],L=vi(Object(r.useState)(0),2),B=L[0],H=L[1],U=vi(Object(r.useState)(0),2),W=U[0],V=U[1],Y=vi(Object(r.useState)(l),2),G=Y[0],$=Y[1],X=vi(Object(r.useState)(d),2),Z=X[0],K=X[1],J=vi(Object(r.useState)(!1),2),Q=J[0],ee=J[1],oe=vi(Object(r.useState)(!1),2),te=oe[0],ne=oe[1],re=vi(Object(r.useState)("undefined"==typeof window||window.innerWidth<=520),2),ae=re[0],ce=re[1];Object(r.useEffect)(()=>{const e=()=>{"undefined"!=typeof window&&ce(window.innerWidth<=520)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),Object(r.useImperativeHandle)(o,()=>({parentControlToggle:()=>{ie()}})),Object(r.useEffect)(()=>{A.current&&(A.current.volume=G,A.current.playbackRate=Z)},[G,Z]),Object(r.useEffect)(()=>{"boolean"==typeof p&&(p&&A.current?A.current.play().then(()=>{q(!0)}).catch(()=>{throw Error("Error attempting to play:")}):A.current&&(A.current.pause(),q(!1)))},[p]),Object(r.useEffect)(()=>{"boolean"==typeof h&&F(h)},[h]);const ie=()=>{b&&(A.current&&A.current.paused?A.current.play().then(()=>{q(!0),z&&z()}).catch(()=>{throw Error("Error attempting to play:")}):A.current&&(A.current.pause(),q(!1),S&&S()))},se=e=>{if(y&&A.current){const o=Math.min(Math.max(e,0),W);A.current.currentTime=o,H(o),I&&I(o)}},me=e=>{v&&($(e),A.current&&(A.current.volume=e),C&&C(e))},le=e=>{x&&(K(e),A.current&&(A.current.playbackRate=e),P&&P(e))};return a.a.createElement(a.a.Fragment,null,a.a.createElement("audio",{ref:A,src:t,autoPlay:s,onTimeUpdate:()=>{if(!y)return;const e=A.current&&void 0!==A.current.currentTime&&null!==A.current.currentTime?A.current.currentTime:0;H(e),E&&E(e)},onLoadedMetadata:()=>{const e=A.current&&void 0!==A.current.duration&&null!==A.current.duration?A.current.duration:0;V(e)},onEnded:_}),ae?a.a.createElement(Rc,{isExpanded:M,isModalOpen:Q},a.a.createElement(pi,{isExpanded:M,toggleExpand:()=>{O&&F(!M)},allowExpandCollapse:O}),M&&a.a.createElement(a.a.Fragment,null,a.a.createElement(hi,{title:c}),a.a.createElement(fi,{currentTime:B,duration:W,onSeek:se,allowSeek:y}),a.a.createElement(gi,{currentTime:B,duration:W}),a.a.createElement(yi,{isPlaying:D,togglePlayPause:ie,rewind:()=>{se(B-10)},forward:()=>{se(B+10)},speed:Z,onSpeedChange:le,allowTogglePlay:b,allowSeek:y,allowPlaybackRateChange:x,isSpeedModalOpen:Q,setIsSpeedModalOpen:ee,isMobile:ae}))):a.a.createElement(ki,{audioRef:A,isPlaying:D,togglePlayPause:ie,currentTime:B,duration:W,allowTogglePlay:b,allowSeek:y,allowVolumeChange:v,volume:G,setVolume:me,handleSeek:se,handleVolumeChange:me,speed:Z,handleSpeedChange:le,allowPlaybackRateChange:x,isSpeedModalOpen:Q,setIsSpeedModalOpen:ee,speedOptions:[.5,.8,1,1.2,1.5,2],handleSpeedSelect:e=>{le(e),ee(!1)},isVolumeSliderVisible:te,setIsVolumeSliderVisible:ne,onClose:T,allowExpandCollapse:O,isMobile:ae}))});function ji(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Oi(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Oi(e,o):void 0}}(e,o)||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,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const zi=e=>{let o=e.audioSrc;const t=ji(Object(r.useState)("not-started"),2),n=t[0],c=t[1],i=ji(Object(r.useState)(!1),2),s=i[0],m=i[1],l=ji(Object(r.useState)(null),2),u=l[0],d=l[1],p=Object(r.useRef)(null);return a.a.createElement("div",null,a.a.createElement("audio",{ref:p,src:o,onLoadedMetadata:()=>{if(p.current){const e=Math.floor(p.current.duration),o=Math.floor(e/60)+1;d("".concat(o))}},preload:"metadata"}),a.a.createElement(Ac,{onClick:()=>{m(!0),c("playing"===n?"paused":"playing")},style:{backgroundColor:"not-started"!==n?"#1D1D1B":"unset",color:"not-started"===n?"#333":"#fff"}},"playing"===n?a.a.createElement(a.a.Fragment,null,a.a.createElement(ce.PauseIcon,{width:16,height:16,fill:"#fff"})," Playing"):"paused"===n?a.a.createElement(a.a.Fragment,null,a.a.createElement(ce.PlayIcon,{width:16,height:16,fill:"#fff"})," Paused"):a.a.createElement(a.a.Fragment,null,a.a.createElement(ce.PlayIcon,{width:16,height:16})," Listen"),a.a.createElement("span",{style:{color:"not-started"===n?"#696969":"#fff"}}," ",u," min")),s&&a.a.createElement(xi,{src:o,isPlayingProp:"playing"===n,onPlay:()=>c("playing"),onPause:()=>c("paused"),onEnded:()=>c("not-started"),onClose:()=>{m(!1)}}))},Si=i.a.div.withConfig({displayName:"styles__FeaturesCarouselContainer",componentId:"li7f4o-0"})(["position:relative;width:100%;scrollbar-width:none;overflow:hidden;overflow-x:auto;"]),_i=i.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;"]),Ei=i.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;}"]),Ci=i.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),Pi=i.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;"],s.fonts.headline),Ii=e=>{let o=e.title,t=e.text,n=e.image,r=e.color,c=e.url;return a.a.createElement(Ei,{href:c},a.a.createElement("img",{src:n,alt:o}),a.a.createElement(Ci,{colours:r},a.a.createElement("h3",null,o),a.a.createElement("p",null,t)))},Ti=e=>{let o=e.heading,t=e.carouselItems,n=e.hideHeading;return t?a.a.createElement("div",{id:"benefits-carousel"},!n&&a.a.createElement(Pi,null,o),a.a.createElement(Si,null,a.a.createElement(_i,null,t.map(e=>a.a.createElement(Ii,Object.assign({},e)))))):null},Ai=i.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 Ni(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Di(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Ni(Object(t),!0).forEach((function(o){qi(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ni(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function qi(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Ri=e=>{const o=e.attributes;return o&&o.text.trim()&&o.url.trim()?a.a.createElement(Ai,{href:o.url,target:o.target||"_blank",onClick:()=>function(e,o,t){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};window.utag&&window.utag.link?window.utag.link(Di({event_navigation_name:e,event_navigation_action:o,event_navigation_browsing_method:t},n)):console.error("Tealium tracking is not available.")}(o.text.toLowerCase(),"navigation","click"),rel:"nofollow"},o.text):null},Mi=i.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;"]),Fi=i.a.div.withConfig({displayName:"styles__Header",componentId:"sc-12n1gx9-1"})(["display:flex;"]),Li=i()(dt).withConfig({displayName:"styles__CustomIconContainer",componentId:"sc-12n1gx9-2"})(["height:auto;width:auto;margin-right:8px;svg{fill:#1573a2;width:20px;height:20px;}"]),Bi=i.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;}"],s.breakpoints.medium),Hi=i.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;}"],s.breakpoints.medium),Ui=i.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;"]),Wi=i.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;"]),Vi=i.a.a.withConfig({displayName:"styles__LinkPrivacyManager",componentId:"sc-12n1gx9-7"})(["color:#00527a;"]),Yi={twitter:{id:"5fab0c31a22863611c5f8764",status:"pending",title:"X (Twitter)"},youtube:{id:"5e7ac3fae30e7d1bc1ebf5e8",status:"pending",title:"Youtube"},tiktok:{id:"5e7f6927b8e05c4e491e7380",status:"pending",title:"Tiktok"}};function Gi(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function $i(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Gi(Object(t),!0).forEach((function(o){Xi(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gi(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Xi(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function Zi(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Ki(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ki(e,o):void 0}}(e,o)||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 Ki(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const Ji=Object(r.createContext)(void 0),Qi=e=>{let o=e.children;const t=Zi(Object(r.useState)({twitter:!1,tiktok:!1,youtube:!1}),2),n=t[0],c=t[1],i=Zi(Object(r.useState)({twitter:!1,tiktok:!1,youtube:!1}),2),s=i[0],m=i[1];return Object(r.useEffect)(()=>{m({twitter:n.twitter,tiktok:n.tiktok,youtube:n.youtube})},[n]),a.a.createElement(Ji.Provider,{value:{isSocialEmbedAllowed:n,setIsSocialEmbedAllowed:c,isAllowedOnce:s,setIsAllowedOnce:m}},o)},es=()=>{const e=Object(r.useContext)(Ji);if(!e)throw new Error("useSocialEmbedsContext must be used within a SocialEmbedsProvider");return e};function os(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ts(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?os(Object(t),!0).forEach((function(o){ns(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):os(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ns(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const rs=e=>{let o=e.vendorName;const t=es(),n=t.setIsSocialEmbedAllowed,r=t.setIsAllowedOnce;return a.a.createElement(Mi,null,a.a.createElement(Fi,null,a.a.createElement(Li,null,a.a.createElement(Ea,null)),a.a.createElement(Bi,null,((e,o)=>"twitter"===e?"X (Twitter)":o[e].title)(o,Yi)," content blocked")),a.a.createElement(Hi,null,"Please enable cookies and other technologies to view this content. You can update your cookies preferences any time using"," ",a.a.createElement(Vi,{href:"#",onClick:e=>{e.preventDefault(),((e,o)=>{const t=ra()(window,"_sp_.".concat("gdpr",".loadPrivacyManagerModal"));t?t(o):console.warn("Sourcepoint LoadPrivacyManagerModal is not available")})(0,window.__TIMES_CONFIG__.sourcepoint.gdprMessageId)}},"privacy manager.")),a.a.createElement(Ui,{onClick:()=>{((e,o)=>{const t=(t,n)=>n?(o(o=>$i($i({},o),{},{[e]:!0})),!0):(o(o=>$i($i({},o),{},{[e]:!1})),null),n=Yi[e].id;window.__tcfapi&&n&&window.__tcfapi("getCustomVendorConsents",2,(r,a)=>{a&&r&&r.grants[n]?window.__tcfapi("postCustomConsent",2,t,[n],Object.keys(r.grants[n].purposeGrants),[]):o(o=>$i($i({},o),{},{[e]:!1}))})})(o,n)}},"Enable cookies"),a.a.createElement(Wi,{onClick:()=>{r(e=>ts(ts({},e),{},{[o]:!0}))}},"Allow cookies once"))},as={twitter:e=>{let o=e.url;return a.a.createElement("blockquote",{className:"twitter-tweet","data-testid":"twitter-embed"},a.a.createElement("a",{href:o}))},youtube:e=>{let o=e.url;return a.a.createElement("iframe",{width:"560",height:"315",src:o,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})},tiktok:e=>{let o=e.url;Object(r.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 t=new URL(o).pathname.split("/").pop(),n=new URL(o).origin+o;return a.a.createElement("blockquote",{className:"tiktok-embed",cite:n,"data-video-id":t,style:{maxWidth:"605px",minWidth:"325px"},"data-testid":"tiktok-embed"},a.a.createElement("section",null))}},cs=e=>{let o=e.vendorName,t=e.url;const n=as[o];return a.a.createElement(n,{url:t})};function is(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ss(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?is(Object(t),!0).forEach((function(o){ms(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):is(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ms(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const ls=e=>{let o=e.id,t=e.url,n=e.vendorName;const c=es(),i=c.setIsSocialEmbedAllowed,s=c.isAllowedOnce,m=c.isSocialEmbedAllowed;return Object(r.useEffect)(()=>{window.__tcfapi&&window.__tcfapi("addEventListener",2,(e,o)=>{if(o&&("tcloaded"===e.eventStatus||"useractioncomplete"===e.eventStatus)){const e=(e=>{let o=!1;return window.__tcfapi&&window.__tcfapi("getCustomVendorConsents",2,(t,n)=>{n&&t&&t.consentedVendors?o=t.consentedVendors.some(o=>o.name.toLowerCase()===e.toLowerCase()):(console.log("Error fetching consent data or ".concat(e," embed not allowed")),o=!1)}),o})(n);i(o=>ss(ss({},o),{},{[n]:e}))}})},[n,i]),m[n]||s[n]?a.a.createElement("div",{id:o},a.a.createElement(cs,{vendorName:n,url:t})):a.a.createElement(rs,{vendorName:n})},us=i.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;"]),ds=i.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);}"]),ps=i.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 hs(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const fs=e=>{const o=e.attributes,t=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return hs(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?hs(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(!1),2),n=t[0],c=t[1],i=Object(r.useRef)(null);return a.a.createElement(us,null,a.a.createElement(ds,null,a.a.createElement("p",{className:"shortcode-disclaimer_text"},decodeURIComponent(o.disclaimer_text)),a.a.createElement("a",{className:"shortcode-disclaimer__toggle",href:"#",onClick:e=>{e.preventDefault(),c(!n)}},n?decodeURIComponent(o.toggle_active_text):decodeURIComponent(o.toggle_inactive_text))),a.a.createElement(ps,{style:{height:n&&i.current?"".concat(i.current.getBoundingClientRect().height,"px"):"0px"}},a.a.createElement("p",{ref:i},decodeURIComponent(o.disclaimer_full_text))))},bs=i.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 "),gs=i.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 "),ys=i.a.div.withConfig({displayName:"styles__StyledMedia",componentId:"z2gbsu-2"})(["display:flex;justify-content:center;"]),ks=i.a.picture.withConfig({displayName:"styles__StyledPicture",componentId:"z2gbsu-3"})(["display:block;width:100%;height:auto;"]),vs=i.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 "),ws=i.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 "),xs=i.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 "),js=i.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=i.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 "),zs=(e,t)=>{o.window.utag&&o.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 Ss=e=>{const o=e.article,t=e.numOfArticles,n=e.isLeadingArticle,r=e.isLastCard,c=e=>e?"".concat(e).concat(e.includes("?")?"&":"?","resize=750"):"";return a.a.createElement(gs,{$numOfArticles:t},n?a.a.createElement("a",{href:o.url,onClick:()=>{zs(o.headline,o.headline)}},a.a.createElement(ys,null,a.a.createElement(ks,null,a.a.createElement(vs,{loading:"lazy",src:c(o.image.url),$numOfArticles:t})))):a.a.createElement(bs,{xs:!0},a.a.createElement("a",{href:o.url,onClick:()=>{zs(o.headline,o.headline)}},a.a.createElement(ys,null,a.a.createElement(ks,null,a.a.createElement(vs,{loading:"lazy",src:c(o.image.url),$numOfArticles:t}))))),a.a.createElement(ws,{$numOfArticles:t},a.a.createElement(Os,{$numOfArticles:t,href:o.url,onClick:()=>zs(o.headline,o.headline)},o.headline),a.a.createElement(xs,{$numOfArticles:t},((e,o)=>{if(e.length<=160)return e;let t=e.slice(0,160);const n=t.lastIndexOf(" ");return n>0&&(t=t.slice(0,n)),"".concat(t,"...")})(o.summary)),!r&&a.a.createElement(js,null)))};const _s=i.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;}"]),Es=i.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=i.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),Ps=i.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);}"]),Is=e=>{let o=e.element;const t=e=>{try{const o=atob(e),t=new TextDecoder("utf-8"),n=Uint8Array.from(o,e=>e.charCodeAt(0));return t.decode(n)}catch(o){return console.error("Failed to decode base64 string:",e,o),e}},n=JSON.parse(atob(o.articles||"")).map(e=>({id:t(e.id),headline:t(e.headline),summary:t(e.summary),label:t(e.label),url:t(e.url),image:{alt:t(e.image.alt),url:t(e.image.url)}})),c=n.length;return a.a.createElement(_s,null,a.a.createElement(Ps,null),a.a.createElement(Es,null,o.title),a.a.createElement(Cs,{columns:c},n.map((e,o)=>a.a.createElement(r.Fragment,{key:e.id},a.a.createElement(Ss,{article:e,sectionTitle:e.headline,numOfArticles:c,isLeadingArticle:0===o,isLastCard:o===c-1})))))};n.d(t,"BreakingArticleFlag",(function(){return D})),n.d(t,"LiveArticleFlag",(function(){return N})),n.d(t,"TrackingContextProvider",(function(){return W})),n.d(t,"InArticlePuff",(function(){return Se})),n.d(t,"InfoCard",(function(){return Qe})),n.d(t,"GalleryCarousel",(function(){return vo})),n.d(t,"InfoCardBulletPoints",(function(){return Ao})),n.d(t,"BigNumbers",(function(){return Wo})),n.d(t,"ArticleFlag",(function(){return Yo})),n.d(t,"ArticleFlags",(function(){return Qo})),n.d(t,"NewArticleFlag",(function(){return Go})),n.d(t,"UpdatedArticleFlag",(function(){return $o})),n.d(t,"ExclusiveArticleFlag",(function(){return Xo})),n.d(t,"SponsoredArticleFlag",(function(){return Zo})),n.d(t,"LongReadArticleFlag",(function(){return Ko})),n.d(t,"Timelines",(function(){return ut})),n.d(t,"SaveStar",(function(){return xt})),n.d(t,"Breadcrumb",(function(){return It})),n.d(t,"UpdateButton",(function(){return Ft})),n.d(t,"UpdateButtonWithDelay",(function(){return Vt})),n.d(t,"Banner",(function(){return tn})),n.d(t,"JobTitle",(function(){return gn})),n.d(t,"AutoNewsletterPuff",(function(){return Qn})),n.d(t,"InlineNewsletterPuff",(function(){return Jn})),n.d(t,"PreviewNewsletterPuff",(function(){return er})),n.d(t,"OptaCricketScorecard",(function(){return ur})),n.d(t,"OptaFootballFixturesTicker",(function(){return jr})),n.d(t,"OptaFootballFixtures",(function(){return Sr})),n.d(t,"OptaFootballFixturesTournament",(function(){return Cr})),n.d(t,"OptaFootballStandings",(function(){return Tr})),n.d(t,"OptaFootballSummary",(function(){return Dr})),n.d(t,"OptaFootballMatchStats",(function(){return Mr})),n.d(t,"OptaFootballPlayerStats",(function(){return Br})),n.d(t,"OptaRugbyFixtures",(function(){return Gr})),n.d(t,"OptaRugbyStandings",(function(){return Zr})),n.d(t,"OptaRugbySummary",(function(){return Qr})),n.d(t,"OptaRugbyMatchStats",(function(){return ta})),n.d(t,"RecommendedFetch",(function(){return ha})),n.d(t,"CategorisedArticles",(function(){return ba})),n.d(t,"FetchProvider",(function(){return J})),n.d(t,"ViewCountWrapper",(function(){return _n})),n.d(t,"HiddenDiv",(function(){return de})),n.d(t,"InlineMessage",(function(){return Ca})),n.d(t,"InlineDialog",(function(){return Na})),n.d(t,"ArticleHeader",(function(){return uc})),n.d(t,"UpdatedTimestamp",(function(){return P})),n.d(t,"UpdatedTimeProvider",(function(){return T})),n.d(t,"WelcomeBanner",(function(){return bc})),n.d(t,"safeDecodeURIComponent",(function(){return Ba})),n.d(t,"ArticleSidebar",(function(){return Tc})),n.d(t,"ArticleAudio",(function(){return zi})),n.d(t,"FeaturesCarousel",(function(){return Ti})),n.d(t,"CtaButton",(function(){return Ri})),n.d(t,"SocialMediaEmbed",(function(){return ls})),n.d(t,"useSocialEmbedsContext",(function(){return es})),n.d(t,"SocialEmbedsProvider",(function(){return Qi})),n.d(t,"AffiliateLinkDisclaimer",(function(){return fs})),n.d(t,"ArticleCard",(function(){return Is}))}])}).call(this,t(24))},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){(0,r.default)(1,arguments);var o=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===o?new Date(e.getTime()):"number"==typeof e||"[object Number]"===o?new Date(e):("string"!=typeof e&&"[object String]"!==o||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))};var n,r=(n=t(47))&&n.__esModule?n:{default:n};e.exports=o.default},,function(e,o,t){var n=t(55),r=TypeError;e.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}},function(e,o){e.exports=!1},function(e,o,t){var n=t(146),r=t(64);e.exports=function(e){return n(r(e))}},function(e,o,t){var n,r,a,c=t(265),i=t(16),s=t(29),m=t(86),l=t(28),u=t(193),d=t(147),p=t(121),h=i.TypeError,f=i.WeakMap;if(c||u.state){var b=u.state||(u.state=new f);b.get=b.get,b.has=b.has,b.set=b.set,n=function(e,o){if(b.has(e))throw h("Object already initialized");return o.facade=e,b.set(e,o),o},r=function(e){return b.get(e)||{}},a=function(e){return b.has(e)}}else{var g=d("state");p[g]=!0,n=function(e,o){if(l(e,g))throw h("Object already initialized");return o.facade=e,m(e,g,o),o},r=function(e){return l(e,g)?e[g]:{}},a=function(e){return l(e,g)}}e.exports={set:n,get:r,has:a,enforce:function(e){return a(e)?r(e):n(e,{})},getterFor:function(e){return function(o){var t;if(!s(o)||(t=r(o)).type!==e)throw h("Incompatible receiver, "+e+" required");return t}}}},function(e,o,t){var n=t(306),r="object"==typeof self&&self&&self.Object===Object&&self,a=n||r||Function("return this")();e.exports=a},function(e,o,t){var n=t(303),r=t(496),a=t(314);e.exports=function(e,o){var t={};return o=a(o,3),r(e,(function(e,r,a){n(t,r,o(e,r,a))})),t}},,,function(e,o,t){var n=t(14),r=n({}.toString),a=n("".slice);e.exports=function(e){return a(r(e),8,-1)}},function(e,o,t){var n=t(122);e.exports=function(e){return n(e.length)}},function(e,o){var t=Array.isArray;e.exports=t},function(e,o,t){var n=t(101),r=t(329),a=t(102),c=Function.prototype,i=Object.prototype,s=c.toString,m=i.hasOwnProperty,l=s.call(Object);e.exports=function(e){if(!a(e)||"[object Object]"!=n(e))return!1;var o=r(e);if(null===o)return!0;var t=m.call(o,"constructor")&&o.constructor;return"function"==typeof t&&t instanceof t&&s.call(t)==l}},function(e,o,t){var n=t(14);e.exports=n({}.isPrototypeOf)},function(e,o,t){var n=t(19),r=t(95),a=TypeError;e.exports=function(e){if(n(e))return e;throw a(r(e)+" is not a function")}},function(e,o,t){"use strict";var n=t(10),r=t(87).map;n({target:"Array",proto:!0,forced:!t(155)("map")},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){if(null===e||!0===e||!1===e)return NaN;var o=Number(e);if(isNaN(o))return o;return o<0?Math.ceil(o):Math.floor(o)},e.exports=o.default},,,,,function(e,o,t){var n=t(56);e.exports=n("navigator","userAgent")||""},function(e,o,t){var n=t(77),r=t(55);e.exports=function(e,o){var t=e[o];return r(t)?void 0:n(t)}},function(e,o,t){var n=t(35),r=t(39),a=t(120);e.exports=n?function(e,o,t){return r.f(e,o,a(1,t))}:function(e,o,t){return e[o]=t,e}},function(e,o,t){var n=t(99),r=t(14),a=t(146),c=t(53),i=t(73),s=t(269),m=r([].push),l=function(e){var o=1==e,t=2==e,r=3==e,l=4==e,u=6==e,d=7==e,p=5==e||u;return function(h,f,b,g){for(var y,k,v=c(h),w=a(v),x=n(f,b),j=i(w),O=0,z=g||s,S=o?z(h,j):t||d?z(h,0):void 0;j>O;O++)if((p||O in w)&&(k=x(y=w[O],O,v),e))if(o)S[O]=k;else if(k)switch(e){case 3:return!0;case 5:return y;case 6:return O;case 2:m(S,y)}else switch(e){case 4:return!1;case 7:m(S,y)}return u?-1:r||l?l:S}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},function(e,o,t){"use strict";var n=t(10),r=t(87).filter;n({target:"Array",proto:!0,forced:!t(155)("filter")},{filter:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,o,t){var n=t(490),r=t(495);e.exports=function(e,o){var t=r(e,o);return n(t)?t:void 0}},function(e,o){e.exports=function(e){var o=typeof e;return null!=e&&("object"==o||"function"==o)}},,,function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=7)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(422)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(50)},function(e,o){e.exports=t(11)},function(e,o){function t(e){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}t.keys=function(){return[]},t.resolve=t,e.exports=t,t.id=5},function(e,o){e.exports=t(93)},function(e,o,t){"use strict";t.r(o);var n=t(0),r=t.n(n),a=(t(2),t(3)),c=t.n(a),i=t(4);function s(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function m(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?s(Object(t),!0).forEach((function(o){l(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function l(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var u,d=function(e){var o=e.children,t=e.serverRender,n=void 0===t||t;return r.a.createElement(c.a.Consumer,null,(function(e){var t=e.user;return r.a.createElement(i.ServerClientRender,{client:function(){var e=window.nuk,n=(void 0===e?{}:e).user||{};return o({user:m(m({},t),n)})},server:n?function(){return o({user:t})}:null})}))},p=function(e){return e.hasAccess&&(e.isLoggedIn||e.isShared)},h=function(e){return e.hasAccess&&e.isLoggedIn},f=function(e){return e.isMetered||e.isLightPackUser||e.isRegisteredUser},b=function(e){return h(e)&&!f(e)},g=function(){jest.mock("@times-components/user-state",(function(){var e=t(5).requireActual("@times-components/user-state").default;function o(e){var t=e.state,n=e.children,r=void 0===n?null:n,a=e.fallback,c=void 0===a?null:a;return o.mockStates.find((function(e){return e===t}))?r:c}return Object.keys(e).reduce((function(o,t){return o[t]=e[t],o}),o),o.mockReset=function(){o.mockStates=[e.showSaveAndShareBar,e.showArticleExtras,e.showTopicTags,e.showArticleSaveButton,e.showLiveUpdateButton,e.showTokenisedEmailShare,e.showCommentingModule]},o.mockReset(),o}));var e=t(6);return beforeEach((function(){e.mockReset()})),e},y={SUBSCRIBER:"Subscriber",GUEST:"Guest"},k=t(1);function v(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function w(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?v(Object(t),!0).forEach((function(o){x(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function x(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var j=(x(u={},"Subscriber",["isLoggedIn"]),x(u,"Guest",[]),u),O=["Subscriber","Guest"],z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Subscriber";window.nuk=window.nuk||{},Object.defineProperty(window.nuk,"user",{enumerable:!0,configurable:!0,get:function(){var o=Object(k.select)("Current User State",O,e,"User State"),t=Object(k.boolean)("Is Shared",!1,"User State"),n=j[o].reduce((function(e,o){return w(w({},e),{},x({},o,!0))}),{});return w({isLoggedIn:!1,isMetered:!1,isShared:t},n)}})};function S(e){var o=e.state,t=e.children,n=e.fallback,a=e.serverRender;return r.a.createElement(d,{serverRender:a},(function(e){var r=e.user;return o(r)?t:n}))}t.d(o,"mockUserState",(function(){return g})),t.d(o,"USER_STATES",(function(){return y})),t.d(o,"addUserStateKnobs",(function(){return z})),S.showSaveAndShareBar=function(e){return p(e)},S.showArticleExtras=function(e){return p(e)},S.showTopicTags=function(e){return p(e)},S.showArticleSaveButton=function(e){return h(e)},S.showLiveUpdateButton=function(e){return h(e)},S.showTokenisedEmailShare=function(e){return b(e)},S.showCommentingModule=function(e){return b(e)},S.showJoinTheConversationDialog=function(e){return function(e){return h(e)&&f(e)}(e)},S.defaultProps={children:null,serverRender:!0,fallback:null},o.default=S}])},function(e,o,t){var n=t(119),r=t(9);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},function(e,o){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},function(e,o,t){var n=t(65),r=t(193);(e.exports=function(e,o){return r[e]||(r[e]=void 0!==o?o:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(e,o,t){var n=t(35),r=t(23),a=t(145),c=t(120),i=t(66),s=t(143),m=t(28),l=t(260),u=Object.getOwnPropertyDescriptor;o.f=n?u:function(e,o){if(e=i(e),o=s(o),l)try{return u(e,o)}catch(e){}if(m(e,o))return c(!r(a.f,e,o),e[o])}},function(e,o,t){var n=t(267),r=t(196).concat("length","prototype");o.f=Object.getOwnPropertyNames||function(e){return n(e,r)}},function(e,o,t){var n=t(198),r=t(77),a=t(141),c=n(n.bind);e.exports=function(e,o){return r(e),void 0===o?e:a?c(e,o):function(){return e.apply(o,arguments)}}},function(e,o,t){var n,r=t(30),a=t(287),c=t(196),i=t(121),s=t(274),m=t(142),l=t(147),u=l("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(p("")),e.close();var o=e.parentWindow.Object;return e=null,o},f=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,o;f="undefined"!=typeof document?document.domain&&n?h(n):((o=m("iframe")).style.display="none",s.appendChild(o),o.src=String("javascript:"),(e=o.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(n);for(var t=c.length;t--;)delete f.prototype[c[t]];return f()};i[u]=!0,e.exports=Object.create||function(e,o){var t;return null!==e?(d.prototype=r(e),t=new d,d.prototype=null,t[u]=e):t=f(),void 0===o?t:a.f(t,o)}},function(e,o,t){var n=t(134),r=t(491),a=t(492),c=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":c&&c in Object(e)?r(e):a(e)}},function(e,o){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=5)}([function(e,o){e.exports=t(8)},function(e,o){e.exports=t(1)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(254)},function(e,o,t){"use strict";t.r(o);var n=t(1),r=t.n(n),a=t(4),c=t.n(a),i=t(2),s=t(3),m=t.n(s),l=m.a.string.style,u=m.a.object.style,d=(m.a.element,m.a.string,m.a.shape({container:u,text:l}),m.a.string,{children:null,credits:"",style:{},text:""}),p=t(0);function h(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function f(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var b={container:{paddingTop:Object(p.spacing)(2)},credits:{color:p.colours.functional.primary,fontSize:p.fontSizes.credits,fontWeight:"400",letterSpacing:.5,lineHeight:16},text:function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?h(Object(t),!0).forEach((function(o){f(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({color:p.colours.functional.secondary},Object(p.fontFactory)({font:"supporting",fontSize:"captionText"}))};function g(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function y(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?g(Object(t),!0).forEach((function(o){k(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):g(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function k(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var v=y(y({},b),{},{credits:y(y({},b.credits),{},{lineHeight:17,marginBottom:0}),text:y(y({},b.text),{},{lineHeight:19,marginBottom:4})});function w(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function x(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?w(Object(t),!0).forEach((function(o){j(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function j(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var O=function(e){var o=e.children,t=e.credits,n=e.style,a=e.text;return r.a.createElement(P,{credits:t,style:x(x({},n),{},{text:x(x({},n.text),{},{paddingLeft:Object(p.spacing)(2),paddingRight:Object(p.spacing)(2),textAlign:"center"})}),text:a},o)};O.defaultProps=d;var z=O;function S(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?S(Object(t),!0).forEach((function(o){E(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function E(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}t.d(o,"CentredCaption",(function(){return z}));var C=function(e){var o=e.children,t=e.credits,n=e.style,a=e.text;return r.a.createElement(i.TcView,null,o,r.a.createElement(i.TcView,{style:_(_({},v.container),n.container)},function(e,o){return o&&""!==o?r.a.createElement(i.TcText,{style:Object(i.checkStylesForUnits)(_(_(_({},v.text),e.text),e.caption))},o):null}(n,a),function(e,o){if(!o||""===o)return null;var t=c()(o.toUpperCase(),{whiteList:{p:[],a:["href"],br:[],img:[],b:[],strong:[]},stripIgnoreTag:!0,stripIgnoreTagBody:["script"]});return r.a.createElement(i.TcText,{style:Object(i.checkStylesForUnits)(_(_(_(_({},v.text),v.credits),e.text),e.credits)),dangerouslySetInnerHTML:{__html:t}})}(n,t)))};C.defaultProps=d;var P=o.default=C}])},,,,,,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},function(e,o,t){"use strict";function n(e,o){var t=function(e){if(!a[e]){var o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),t="06/25/2014, 00:00:00"===o||"06/25/2014 00:00:00"===o;a[e]=t?new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return a[e]}(o);return t.formatToParts?function(e,o){try{for(var t=e.formatToParts(o),n=[],a=0;a<t.length;a++){var c=r[t[a].type];c>=0&&(n[c]=parseInt(t[a].value,10))}return n}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(t,e):function(e,o){var t=e.format(o).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(t);return[n[3],n[1],n[2],n[4],n[5],n[6]]}(t,e)}var r={year:0,month:1,day:2,hour:3,minute:4,second:5};var a={};function c(e,o,t,n,r,a,c){var i=new Date(0);return i.setUTCFullYear(e,o,t),i.setUTCHours(n,r,a,c),i}t.d(o,"a",(function(){return s}));var i={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-]\d{2}):?(\d{2})$/};function s(e,o,t){var n,r,a;if(""===e)return 0;if(n=i.timezoneZ.exec(e))return 0;if(n=i.timezoneHH.exec(e))return l(a=parseInt(n[1],10))?-36e5*a:NaN;if(n=i.timezoneHHMM.exec(e)){a=parseInt(n[1],10);var s=parseInt(n[2],10);return l(a,s)?(r=36e5*Math.abs(a)+6e4*s,a>0?-r:r):NaN}if(function(e){if(u[e])return!0;try{return Intl.DateTimeFormat(void 0,{timeZone:e}),u[e]=!0,!0}catch(e){return!1}}(e)){o=new Date(o||Date.now());var d=m(t?o:function(e){return c(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(o),e);return-(t?d:function(e,o,t){var n=e.getTime()-o,r=m(new Date(n),t);if(o===r)return o;n-=r-o;var a=m(new Date(n),t);if(r===a)return r;return Math.max(r,a)}(o,d,e))}return NaN}function m(e,o){var t=n(e,o),r=c(t[0],t[1]-1,t[2],t[3]%24,t[4],t[5],0).getTime(),a=e.getTime(),i=a%1e3;return r-(a-=i>=0?i:1e3+i)}function l(e,o){return-23<=e&&e<=23&&(null==o||0<=o&&o<=59)}var u={}},,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},function(e,o,t){"use strict";function n(e){return Array.prototype.slice.apply(e)}function r(e){this.status="pending",this._continuations=[],this._parent=null,this._paused=!1,e&&e.call(this,this._continueWith.bind(this),this._failWith.bind(this))}function a(e){return e&&"function"==typeof e.then}function c(e){return e}function i(e){return"undefined"!=typeof window&&"AggregateError"in window?new window.AggregateError(e):{errors:e}}if(r.prototype={then:function(e,o){var t=r.unresolved()._setParent(this);if(this._isRejected()){if(this._paused)return this._continuations.push({promise:t,nextFn:e,catchFn:o}),t;if(o)try{var n=o(this._error);return a(n)?(this._chainPromiseData(n,t),t):r.resolve(n)._setParent(this)}catch(e){return r.reject(e)._setParent(this)}return r.reject(this._error)._setParent(this)}return this._continuations.push({promise:t,nextFn:e,catchFn:o}),this._runResolutions(),t},catch:function(e){if(this._isResolved())return r.resolve(this._data)._setParent(this);var o=r.unresolved()._setParent(this);return this._continuations.push({promise:o,catchFn:e}),this._runRejections(),o},finally:function(e){var o=!1;function t(t,n){if(!o){o=!0,e||(e=c);var r=e(t);return a(r)?r.then((function(){if(n)throw n;return t})):t}}return this.then((function(e){return t(e)})).catch((function(e){return t(null,e)}))},pause:function(){return this._paused=!0,this},resume:function(){var e=this._findFirstPaused();return e&&(e._paused=!1,e._runResolutions(),e._runRejections()),this},_findAncestry:function(){return this._continuations.reduce((function(e,o){if(o.promise){var t={promise:o.promise,children:o.promise._findAncestry()};e.push(t)}return e}),[])},_setParent:function(e){if(this._parent)throw new Error("parent already set");return this._parent=e,this},_continueWith:function(e){var o=this._findFirstPending();o&&(o._data=e,o._setResolved())},_findFirstPending:function(){return this._findFirstAncestor((function(e){return e._isPending&&e._isPending()}))},_findFirstPaused:function(){return this._findFirstAncestor((function(e){return e._paused}))},_findFirstAncestor:function(e){for(var o,t=this;t;)e(t)&&(o=t),t=t._parent;return o},_failWith:function(e){var o=this._findFirstPending();o&&(o._error=e,o._setRejected())},_takeContinuations:function(){return this._continuations.splice(0,this._continuations.length)},_runRejections:function(){if(!this._paused&&this._isRejected()){var e=this._error,o=this._takeContinuations(),t=this;o.forEach((function(o){if(o.catchFn)try{var n=o.catchFn(e);t._handleUserFunctionResult(n,o.promise)}catch(e){o.promise.reject(e)}else o.promise.reject(e)}))}},_runResolutions:function(){if(!this._paused&&this._isResolved()&&!this._isPending()){var e=this._takeContinuations();if(a(this._data))return this._handleWhenResolvedDataIsPromise(this._data);var o=this._data,t=this;e.forEach((function(e){if(e.nextFn)try{var n=e.nextFn(o);t._handleUserFunctionResult(n,e.promise)}catch(o){t._handleResolutionError(o,e)}else e.promise&&e.promise.resolve(o)}))}},_handleResolutionError:function(e,o){if(this._setRejected(),o.catchFn)try{return void o.catchFn(e)}catch(o){e=o}o.promise&&o.promise.reject(e)},_handleWhenResolvedDataIsPromise:function(e){var o=this;return e.then((function(e){o._data=e,o._runResolutions()})).catch((function(e){o._error=e,o._setRejected(),o._runRejections()}))},_handleUserFunctionResult:function(e,o){a(e)?this._chainPromiseData(e,o):o.resolve(e)},_chainPromiseData:function(e,o){e.then((function(e){o.resolve(e)})).catch((function(e){o.reject(e)}))},_setResolved:function(){this.status="resolved",this._paused||this._runResolutions()},_setRejected:function(){this.status="rejected",this._paused||this._runRejections()},_isPending:function(){return"pending"===this.status},_isResolved:function(){return"resolved"===this.status},_isRejected:function(){return"rejected"===this.status}},r.resolve=function(e){return new r((function(o,t){a(e)?e.then((function(e){o(e)})).catch((function(e){t(e)})):o(e)}))},r.reject=function(e){return new r((function(o,t){t(e)}))},r.unresolved=function(){return new r((function(e,o){this.resolve=e,this.reject=o}))},r.all=function(){var e=n(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new r((function(o,t){var n=[],a=0,c=!1;e.forEach((function(i,s){r.resolve(i).then((function(t){n[s]=t,(a+=1)===e.length&&o(n)})).catch((function(e){!function(e){c||(c=!0,t(e))}(e)}))}))})):r.resolve([])},r.any=function(){var e=n(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new r((function(o,t){var n=[],a=0,c=!1;e.forEach((function(s,m){r.resolve(s).then((function(e){var t;t=e,c||(c=!0,o(t))})).catch((function(o){n[m]=o,(a+=1)===e.length&&t(i(n))}))}))})):r.reject(i([]))},r.allSettled=function(){var e=n(arguments);return Array.isArray(e[0])&&(e=e[0]),e.length?new r((function(o){var t=[],n=0,a=function(){(n+=1)===e.length&&o(t)};e.forEach((function(e,o){r.resolve(e).then((function(e){t[o]={status:"fulfilled",value:e},a()})).catch((function(e){t[o]={status:"rejected",reason:e},a()}))}))})):r.resolve([])},Promise===r)throw new Error("Please use SynchronousPromise.installGlobally() to install globally");var s=Promise;r.installGlobally=function(e){if(Promise===r)return e;var o=function(e){if(void 0===e||e.__patched)return e;var o=e;return(e=function(){o.apply(this,n(arguments))}).__patched=!0,e}(e);return Promise=r,o},r.uninstallGlobally=function(){Promise===r&&(Promise=s)},e.exports={SynchronousPromise:r}},,,function(e,o,t){(function(o){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=27)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(7)},function(e,o){e.exports=t(61)},function(e,o){e.exports=t(0)},function(e,t){var n,r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/,c=/^\./,i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,m=/^\[object .+?Constructor\]$/,l="object"==typeof o&&o&&o.Object===Object&&o,u="object"==typeof self&&self&&self.Object===Object&&self,d=l||u||Function("return this")(),p=Array.prototype,h=Function.prototype,f=Object.prototype,b=d["__core-js_shared__"],g=(n=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",y=h.toString,k=f.hasOwnProperty,v=f.toString,w=RegExp("^"+y.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),x=d.Symbol,j=p.splice,O=N(d,"Map"),z=N(Object,"create"),S=x?x.prototype:void 0,_=S?S.toString:void 0;function E(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function C(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function P(e){var o=-1,t=e?e.length:0;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}function I(e,o){for(var t,n,r=e.length;r--;)if((t=e[r][0])===(n=o)||t!=t&&n!=n)return r;return-1}function T(e,o){for(var t,n=0,c=(o=function(e,o){if(M(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!L(e))||(a.test(e)||!r.test(e)||null!=o&&e in Object(o))}(o,e)?[o]:M(t=o)?t:D(t)).length;null!=e&&n<c;)e=e[q(o[n++])];return n&&n==c?e:void 0}function A(e,o){var t,n,r=e.__data__;return("string"==(n=typeof(t=o))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?r["string"==typeof o?"string":"hash"]:r.map}function N(e,o){var t=function(e,o){return null==e?void 0:e[o]}(e,o);return function(e){return!(!F(e)||(o=e,g&&g in o))&&(function(e){var o=F(e)?v.call(e):"";return"[object Function]"==o||"[object GeneratorFunction]"==o}(e)||function(e){var o=!1;if(null!=e&&"function"!=typeof e.toString)try{o=!!(e+"")}catch(e){}return o}(e)?w:m).test(function(e){if(null!=e){try{return y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var o}(t)?t:void 0}E.prototype.clear=function(){this.__data__=z?z(null):{}},E.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},E.prototype.get=function(e){var o=this.__data__;if(z){var t=o[e];return"__lodash_hash_undefined__"===t?void 0:t}return k.call(o,e)?o[e]:void 0},E.prototype.has=function(e){var o=this.__data__;return z?void 0!==o[e]:k.call(o,e)},E.prototype.set=function(e,o){return this.__data__[e]=z&&void 0===o?"__lodash_hash_undefined__":o,this},C.prototype.clear=function(){this.__data__=[]},C.prototype.delete=function(e){var o=this.__data__,t=I(o,e);return!(t<0||(t==o.length-1?o.pop():j.call(o,t,1),0))},C.prototype.get=function(e){var o=this.__data__,t=I(o,e);return t<0?void 0:o[t][1]},C.prototype.has=function(e){return I(this.__data__,e)>-1},C.prototype.set=function(e,o){var t=this.__data__,n=I(t,e);return n<0?t.push([e,o]):t[n][1]=o,this},P.prototype.clear=function(){this.__data__={hash:new E,map:new(O||C),string:new E}},P.prototype.delete=function(e){return A(this,e).delete(e)},P.prototype.get=function(e){return A(this,e).get(e)},P.prototype.has=function(e){return A(this,e).has(e)},P.prototype.set=function(e,o){return A(this,e).set(e,o),this};var D=R((function(e){var o;e=null==(o=e)?"":function(e){if("string"==typeof e)return e;if(L(e))return _?_.call(e):"";var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}(o);var t=[];return c.test(e)&&t.push(""),e.replace(i,(function(e,o,n,r){t.push(n?r.replace(s,"$1"):o||e)})),t}));function q(e){if("string"==typeof e||L(e))return e;var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}function R(e,o){if("function"!=typeof e||o&&"function"!=typeof o)throw new TypeError("Expected a function");var t=function t(){var n=arguments,r=o?o.apply(this,n):n[0],a=t.cache;if(a.has(r))return a.get(r);var c=e.apply(this,n);return t.cache=a.set(r,c),c};return t.cache=new(R.Cache||P),t}R.Cache=P;var M=Array.isArray;function F(e){var o=typeof e;return!!e&&("object"==o||"function"==o)}function L(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==v.call(e)}e.exports=function(e,o,t){var n=null==e?void 0:T(e,o);return void 0===n?t:n}},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(259)},function(e,o){e.exports=t(421)},function(e,o){e.exports=t(50)},function(e,o){e.exports=t(71)},function(e,o){e.exports=t(92)},function(e,o){e.exports=t(93)},function(e,o){e.exports=t(333)},function(e,o){e.exports=t(63)},function(e,o){e.exports=t(621)},function(e,o){e.exports=t(622)},function(e,o){e.exports=t(103)},function(e,o){e.exports=t(623)},function(e,o){e.exports=t(233)},function(e,o){e.exports=t(627)},function(e,o){e.exports=t(628)},function(e,o){e.exports=t(136)},function(e,o){e.exports=t(629)},function(e,o){e.exports=t(339)},function(e,o){e.exports=t(139)},function(e,o){e.exports=t(337)},function(e,t,n){"use strict";n.r(t);var r=n(0),a=n.n(r),c=n(4),i=n.n(c),s=n(6),m=n(7),l=n(18),u=n.n(l),d=n(13),p=n.n(d),h=n(8),f=n.n(h),b=n(10),g=n(3),y=n(1),k=n(12),v=n.n(k),w=n(19);function x(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?x(Object(t),!0).forEach((function(o){O(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function O(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function z(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}var S=function(){var e,o=(e=function*(){try{const e=yield fetch("https://api.thetimes.co.uk/graphql",{method:"POST",body:JSON.stringify({query:"\n query GetPuzzleSections {\n editions {\n list(first: 1, group: date, region: default) {\n id\n publishedTime\n date\n updatedTime\n sections {\n __typename\n id\n title\n slug\n ... on PuzzleSection {\n id\n title\n slug\n slices {\n ... on Puzzle {\n __typename\n id\n title\n url\n hideOnMobile\n type\n slug\n shortIdentifier\n image {\n id\n title\n caption\n credits\n crops {\n ratio\n url\n }\n }\n }\n }\n }\n }\n }\n }\n }\n"})});if(!e.ok)throw new Error("Network response was not ok: ".concat(e.status));const o=yield e.json();return(o&&o.data&&o.data.editions&&o.data.editions.list?o.data.editions.list.map(e=>{const o=e.sections.find(e=>e&&"PuzzleSection"===e.__typename);return o?j(j({},o),{},{slices:o.slices.map(e=>j(j({},e),{},{section:{title:o.title,id:o.id}}))}):null}).filter(Boolean):[]).flatMap(e=>e.slices.filter(e=>"Puzzle"===e.__typename&&"polygon"===e.type).map(e=>({slug:e.slug,shortIdentifier:e.shortIdentifier}))).map(e=>(e=>{const o="/puzzles/word-puzzles";return e.shortIdentifier?"".concat(o,"/").concat(e.slug,"-").concat(e.shortIdentifier):o})(e))[0]}catch(e){return null}},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){z(a,n,r,c,i,"next",e)}function i(e){z(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();function _(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function E(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?_(Object(t),!0).forEach((function(o){C(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function C(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function P(e){e.children;let o=e.element,t=void 0===o?"div":o,n=e.html,a=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["children","element","html"]);return Object(r.createElement)(t,E(E({},a),{},{undefined:void 0,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:n}}))}var I=n(20),T=n.n(I),A=n(15),N=n.n(A),D=n(9),q=n.n(D),R=n(16),M=n.n(R),F=n(21),L=n.n(F),B=n(22),H=n.n(B),U=n(23),W=n.n(U),V=n(24),Y=n.n(V),G=n(11),$=n.n(G),X=n(14),Z=n.n(X);const K={base:"\n color: ".concat(y.colours.functional.action,";\n font-family: ").concat(y.fontsWithFallback.bodyRegular,";\n line-height: 26px;\n font-size: ").concat(y.fontSizes.bodyMobile,"px;\n margin-bottom: ").concat(Object(y.spacing)(5),"px;\n margin-top: 0;\n "),medium:"\n font-size: ".concat(y.fontSizes.body,"px;\n line-height: 30px;\n ")},J={base:"\n font-size: inherit;\n text-decoration: none;\n color: ".concat(y.colours.functional.action,";\n ")};function Q(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function ee(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Q(Object(t),!0).forEach((function(o){oe(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Q(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function oe(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const te=e=>{let o=e.children,t=e.target,n=e.url,r=e.onPress,c=e.dropCap;return a.a.createElement(a.a.Fragment,null,0===o.length?a.a.createElement(a.a.Fragment,null,a.a.createElement(Z.a,{responsiveLinkStyles:K,target:t,onPress:r,url:n},n)," "):a.a.createElement(Z.a,{underlined:!(c&&1===o[0].length),responsiveLinkStyles:c?J:K,target:t,url:n,onPress:r},o))};te.defaultProps=ee(ee({},Z.a.defaultProps),{},{onPress:()=>{},dropCap:!1});var ne,re=(ne=te,Object(b.withTrackEvents)(ne,{analyticsEvents:[{actionName:"Pressed",eventName:"onPress",getAttrs:e=>{let o=e.target;return{url:e.url,target:o,linkText:e.children[0]}},trackingName:"ArticleLink"}]})),ae=n(2),ce=n.n(ae),ie=n(17),se=n.n(ie);function me(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function le(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const ue=ce()(s.TcView).withConfig({displayName:"inset-caption__InsetCaptionStyle",componentId:"la2hkf-0"})(["padding-left:",";@media (min-width:","px){padding-left:0px;}"],Object(y.spacing)(2),y.breakpoints.medium),de=e=>{let o=e.caption,t=e.credits;return a.a.createElement(ue,null,a.a.createElement(se.a,{credits:t,text:o}))};de.defaultProps=function(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?me(Object(t),!0).forEach((function(o){le(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):me(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}({},se.a.defaultProps);var pe=de;ce.a.div.withConfig({displayName:"responsive__ParagraphContainer",componentId:"sc-4v1r4q-0"})(["padding-left:",";padding-right:",";@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide),ce.a.p.withConfig({displayName:"responsive__Paragraph",componentId:"sc-4v1r4q-1"})(["color:",";font-family:",";line-height:26px;font-size:","px;margin-bottom:",";margin-top:0;display:block;@media (min-width:","px){font-size:","px;line-height:30px;}"],y.colours.functional.primary,y.fontsWithFallback.bodyRegular,y.fontSizes.bodyMobile,Object(y.spacing)(5),y.breakpoints.medium,y.fontSizes.body);const he=ce.a.div.withConfig({displayName:"responsive__InteractiveContainer",componentId:"sc-4v1r4q-2"})(["position:relative;margin-bottom:",";",";"],Object(y.spacing)(4),e=>e.fullWidth?Object(ae.css)(["width:100%;"]):Object(ae.css)(["padding:0 ",";@media (min-width:","px){width:80.8%;margin-left:auto;margin-right:auto;padding:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide)),fe=ce()(s.TcView).withConfig({displayName:"responsive__PrimaryImg",componentId:"sc-4v1r4q-3"})(["width:100%;flex-direction:column;padding-bottom:",";@media (min-width:","px){width:80.8%;margin:0 auto;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(5),y.breakpoints.medium,y.breakpoints.wide),be=ce()(s.TcView).withConfig({displayName:"responsive__FullWidthImg",componentId:"sc-4v1r4q-4"})(["padding-bottom:",";"],Object(y.spacing)(4)),ge=ce()(s.TcView).withConfig({displayName:"responsive__SecondaryImg",componentId:"sc-4v1r4q-5"})(["width:100%;flex-direction:row;flex-wrap:nowrap;padding-left:",";padding-right:",";padding-bottom:",";@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),Object(y.spacing)(2),Object(y.spacing)(5),y.breakpoints.medium,y.breakpoints.wide),ye=ce()(s.TcView).withConfig({displayName:"responsive__InlineImg",componentId:"sc-4v1r4q-6"})(["width:100%;flex-direction:row;flex-wrap:nowrap;padding-left:",";padding-right:",";padding-bottom:0;display:block;@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],Object(y.spacing)(2),Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide),ke=ce()(s.TcView).withConfig({displayName:"responsive__PullQuoteResp",componentId:"sc-4v1r4q-7"})(["padding-left:",";padding-right:",";margin-bottom:",";@media (min-width:","px){width:50%;float:left;margin-right:",";margin-bottom:0px;margin-top:",";padding-left:0px;padding-right:0px;}"],Object(y.spacing)(2),Object(y.spacing)(2),Object(y.spacing)(2),y.breakpoints.medium,Object(y.spacing)(4),Object(y.spacing)(1)),ve=ce()(s.TcView).withConfig({displayName:"responsive__PullQuoteContainer",componentId:"sc-4v1r4q-8"})(["display:block;@media (min-width:","px){width:80.8%;margin:0 auto;padding-left:0;padding-right:0;}@media (min-width:","px){width:56.2%;}"],y.breakpoints.medium,y.breakpoints.wide),we="color: ".concat(y.colours.functional.primary,";\n font-family: ").concat(y.fontsWithFallback.headline,";\n font-weight: 400;\n margin: 0 auto ").concat(Object(y.spacing)(2),";\n padding-right: ").concat(Object(y.spacing)(2),";\n padding-left: ").concat(Object(y.spacing)(2),";\n\n @media (min-width: ").concat(y.breakpoints.medium,"px) {\n padding-left: 0;\n padding-right: 0;\n width: 80.8%;\n }\n\n @media (min-width: ").concat(y.breakpoints.wide,"px) {\n width: 56.2%;\n }"),xe=ce.a.h2.withConfig({displayName:"responsive__Heading2",componentId:"sc-4v1r4q-9"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading2Mobile,y.fontSizes.heading2Mobile,y.breakpoints.medium,y.fontSizes.heading2,y.fontSizes.heading2),je=ce.a.h3.withConfig({displayName:"responsive__Heading3",componentId:"sc-4v1r4q-10"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading3Mobile,y.fontSizes.heading3Mobile,y.breakpoints.medium,y.fontSizes.heading3,y.fontSizes.heading3),Oe=ce.a.h4.withConfig({displayName:"responsive__Heading4",componentId:"sc-4v1r4q-11"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading4Mobile,y.fontSizes.heading4Mobile,y.breakpoints.medium,y.fontSizes.heading4,y.fontSizes.heading4),ze=ce.a.h5.withConfig({displayName:"responsive__Heading5",componentId:"sc-4v1r4q-12"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading5Mobile,y.fontSizes.heading5Mobile,y.breakpoints.medium,y.fontSizes.heading5,y.fontSizes.heading5),Se=ce.a.h6.withConfig({displayName:"responsive__Heading6",componentId:"sc-4v1r4q-13"})([""," font-size:","px;line-height:","px;@media (min-width:","px){font-size:","px;line-height:","px;}"],we,y.fontSizes.heading5Mobile,y.fontSizes.heading5Mobile,y.breakpoints.medium,y.fontSizes.heading5,y.fontSizes.heading5),_e=ce.a.div.withConfig({displayName:"responsive__InlineAdWrapper",componentId:"sc-4v1r4q-14"})(["clear:both;min-height:283px;margin:30px 0;box-sizing:content-box;padding:0 0 10px;border-bottom:1px solid rgb(219,219,219);@media (min-width:768px){min-height:123px;}@media (min-width:1024px){min-height:283px;}"]),Ee=ce.a.h2.withConfig({displayName:"responsive__InlineAdTitle",componentId:"sc-4v1r4q-15"})(["border-bottom:1px solid rgb(219,219,219);color:#696969;flex:1 1 100%;font:normal ","px / 17px ",";letter-spacing:0.6px;margin:0 0 10px;padding:0 0 5px;text-align:center;text-transform:uppercase;"],y.fontSizes.teaser,y.fontsWithFallback.bodyRegular),Ce=ce.a.ul.withConfig({displayName:"article-list__StyledUl",componentId:"sc-1m2quer-0"})(["padding-left:",";"],Object(y.spacing)(4)),Pe=ce.a.li.withConfig({displayName:"article-list__StyledLi",componentId:"sc-1m2quer-1"})(["margin-bottom:16px;list-style:square;color:",";font-family:",";line-height:26px;font-size:","px;p{width:100% !important;margin-block-start:16px;margin-block-end:0;&:empty{display:none;}}"],y.colours.functional.primary,y.fontsWithFallback.bodyRegular,y.fontSizes.bodyMobile);function Ie(){return(Ie=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function Te(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Ae(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Te(Object(t),!0).forEach((function(o){Ne(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Te(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Ne(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const De=["c8bf6998-d498-11ed-b5c3-54651fc826e9"],qe=e=>De.includes(e),Re=e=>{switch(e){case"secondary":return ge;case"inline":return ye;case"fullwidth":return be;default:return fe}},Me=(e,o,t)=>{const n=e.get(o)&&e.get(o).clientWidth?e.get(o).clientWidth:null;return n&&window.devicePixelRatio>1&&"indepth"===t&&1.5*n||n},Fe=e=>{let o=e.content,t=e.contextUrl,n=e.section,r=e.paidContentClassName,c=e.template,i=e.isPreview,l=e.swgProductId,u=e.inArticlePuffFlag,d=e.isLiveOrBreaking,h=e.articleHeadline,f=e.id,b=e.deckApiUrl;return $()(o.map((e=>{let o=e.contextUrl,t=e.section;return e=>"ad"===e.name?Ae(Ae({},e),{},{attributes:Ae(Ae({},e.attributes),{},{contextUrl:o,section:t})}):e})({contextUrl:t,section:n})),(e=>{let o=e.paidContentClassName,t=e.template,n=e.analyticsStream,r=e.isPreview,c=e.isLiveOrBreaking,i=e.section,l=e.articleHeadline,u=e.articleId,d=e.deckApiUrl;return Ae(Ae({},H.a),{},{ad:e=>qe(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inline-ad"})),inlineAd1:e=>qe(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd1"})),inlineAd2:e=>qe(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd2"})),inlineAd3:e=>qe(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd3"})),inlineAd4:e=>qe(u)?null:a.a.createElement(_e,null,a.a.createElement(Ee,null,"Advertisement"),a.a.createElement(m.AdContainer,{key:e,slotName:"inlineAd4"})),dropCap:(e,o,t)=>a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme,n=o.dropCapFont,r=o.sectionColour,c=void 0===r?y.colours.section.default:r;return a.a.createElement(A.DropCapView,{colour:c,font:n},t)}),image(e,o){let n=o.id,r=o.display,c=o.ratio,i=o.url,s=o.caption,m=o.title,l=o.credits;const u=Re(r);return a.a.createElement(p.a,{key:e,rootMargin:Object(y.spacing)(40),threshold:0},o=>{let d=o.observed,p=o.registerNode;return a.a.createElement("div",{id:e,ref:e=>p(e)},a.a.createElement("div",{id:n},a.a.createElement(u,null,a.a.createElement(T.a,{captionOptions:{caption:s,title:m,credits:l},imageOptions:{display:r,highResSize:Me(d,e,t),lowResQuality:3,lowResSize:400,ratio:c,uri:i}}))))})},interactive(e,o){let t=o.id,s=o.url,m=o.element,l=o.display;const u=m.attributes,p=m.value,h=d||"https://editorial-tm.newsapis.co.uk/prod/deck-component-data-api";switch(p){case"in-article-info-card":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.InfoCard,{sectionColour:o.sectionColour})))});case"in-article-info-card-bulletpoints":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.InfoCardBulletPoints,{sectionColour:o.sectionColour})))});case"in-article-big-numbers":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.BigNumbers,{sectionColour:o.sectionColour})))});case"in-article-timelines":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.Timelines,{sectionColour:o.sectionColour})))});case"gallery-carousel":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.GalleryCarousel,{sectionColour:o.sectionColour})))});case"twitter-embed":return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.SocialMediaEmbed,{url:u.url,vendorName:"twitter",id:t}));case"times-embed-iframe-max":{const o=m.attributes&&m.attributes.src||"",n=o.includes("youtube"),r=o.includes("tiktok");return n&&r?a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.SocialMediaEmbed,{url:r?decodeURIComponent(o):o,vendorName:n?"youtube":r&&"tiktok",id:t})):a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement("div",{id:t},a.a.createElement(M.a,{attributes:u,element:p,key:e,source:s})))}case"times-travel-cta":{const o=m.attributes;return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.CtaButton,{attributes:o}))}case"times-text-collapse":{const o=m.attributes;return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.AffiliateLinkDisclaimer,{attributes:o}))}case"times-article-slices":{const o=m.attributes;return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement(g.ArticleCard,{element:o}))}case"newsletter-puff":const o=u.code,d=u.copy,f=u.headline;return r?a.a.createElement("div",{id:t},a.a.createElement(g.PreviewNewsletterPuff,{copy:Object(g.safeDecodeURIComponent)(d),headline:Object(g.safeDecodeURIComponent)(f),section:i})):a.a.createElement("div",{id:t},a.a.createElement(g.InlineNewsletterPuff,{analyticsStream:n,key:e,code:o,copy:Object(g.safeDecodeURIComponent)(d),headline:Object(g.safeDecodeURIComponent)(f),section:i}));case"opta-cricket-scorecard":case"opta-cricket-scorecard-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaCricketScorecard,{competition:u.competition,match:u.match}));case"opta-football-fixtures-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballFixtures,{season:u.season,competition:u.competition,date_from:u["date-from"],date_to:u["date-to"]}));case"opta-football-standings-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballStandings,{season:u.season,competition:u.competition,default_nav:u.group,navigation:!0}));case"opta-football-match-summary-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballSummary,{season:u.season,competition:u.competition,match:u.match}));case"opta-football-match-stats-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaFootballMatchStats,{season:u.season,competition:u.competition,match:u.match}));case"opta-football-match-lineups-v3":case"opta-football-top-scorers-v3":case"opta-football-match-commentary-v3":case"opta-football-hub":return null;case"opta-rugby-union-fixtures-v2":case"opta-rugby-fixtures-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbyFixtures,{season:u.season,competition:u.competition,date_from:u["date-from"],date_to:u["date-to"]}));case"opta-rugby-union-standings-v2":case"opta-rugby-standings-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbyStandings,{season:u.season,competition:u.competition,default_nav:u.group,navigation:!0}));case"opta-rugby-union-match-summary-v2":case"opta-rugby-match-summary-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbySummary,{season:u.season,competition:u.competition,match:u.match}));case"opta-rugby-union-match-stats-v2":case"opta-rugby-match-stats-v3":return a.a.createElement("div",{id:t},a.a.createElement(g.OptaRugbyMatchStats,{season:u.season,competition:u.competition,match:u.match}));case"in-article-puff":return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme;return a.a.createElement("div",{id:t},a.a.createElement(g.FetchProvider,{url:"".concat(h,"?id=").concat(u["deck-id"])},a.a.createElement(g.InArticlePuff,{sectionColour:o.sectionColour,forceImageAspectRatio:"3:2",isLiveOrBreaking:c})))});case"article-header":return a.a.createElement("div",{id:t},a.a.createElement(g.ArticleHeader,{updated:u.updated,breaking:u.breaking,headline:u.headline,authorSlug:u.slug,description:u.description}));default:return a.a.createElement(he,{key:e,fullWidth:"fullwidth"===l},a.a.createElement("div",{id:t},a.a.createElement(M.a,{attributes:u,element:p,key:e,source:s})))}},autoNewsletterPuff(e,o){const t=o.element.attributes,r=t.code,c=t.copy,s=t.headline;return a.a.createElement(g.AutoNewsletterPuff,{analyticsStream:n,key:e,code:r,copy:c,headline:s,section:i})},keyFacts:(e,o,t,n,r)=>a.a.createElement(L.a,{key:e,ast:r,section:i,headline:l,isLiveOrBreaking:c}),heading2:(e,o,t)=>a.a.createElement(xe,null,t),heading3:(e,o,t)=>a.a.createElement(je,null,t),heading4:(e,o,t)=>a.a.createElement(Oe,null,t),heading5:(e,o,t)=>a.a.createElement(ze,null,t),heading6:(e,o,t)=>a.a.createElement(Se,null,t),link(e,o,t){const n=o.href,r=o.target,c=o.dropCap;return a.a.createElement(re,{dropCap:c,key:e,target:r,url:n},t)},paragraph(e,o,t){const n=o&&o.id;return a.a.createElement(N.a,Ie({key:e},n?{id:n}:{}),t)},paywall:(e,t,n)=>a.a.createElement("span",{className:o,key:e},n),pullQuote(e,o,t){let n=o.caption,r=n.name,c=n.text,i=n.twitter;return a.a.createElement(q.a.Consumer,{key:e},e=>{let o=e.theme,n=o.pullQuoteFont,s=o.sectionColour,m=void 0===s?y.colours.section.default:s;return a.a.createElement(ve,null,a.a.createElement(ke,null,a.a.createElement(W.a,{caption:r,font:n,quoteColour:m,text:c,twitter:i},t)))})},unorderedList:(e,o,t)=>a.a.createElement(Ce,{key:e},t),listElement:(e,o,t)=>a.a.createElement(Pe,{key:e},t),video(e,o){let t=o.id,n=o.is360,r=o.brightcovePolicyKey,c=o.brightcoveVideoId,i=o.brightcoveAccountId,m=o.brightcovePlayerId,l=o.caption,u=o.posterImageUrl;const d=Re("primary");return a.a.createElement(d,{key:e},a.a.createElement("figure",{style:{margin:0}},a.a.createElement(s.AspectRatioContainer,{aspectRatio:"16:9"},a.a.createElement(Y.a,{id:t,is360:n,accountId:i,height:"100%",playerId:m,policyKey:r,poster:{uri:u},videoId:c,width:"100%"})),a.a.createElement("figcaption",null,a.a.createElement(pe,{caption:l}))))}})})({paidContentClassName:r,template:c,isPreview:i,swgProductId:l,inArticlePuffFlag:u,isLiveOrBreaking:d,articleId:f,section:n,articleHeadline:h,deckApiUrl:b}))};Fe.propTypes={content:i.a.arrayOf(i.a.shape({attributes:i.a.object,children:i.a.arrayOf(i.a.object),name:i.a.string})).isRequired,contextUrl:i.a.string.isRequired,paidContentClassName:i.a.string,section:i.a.string};var Le=Fe;i.a.shape({}),i.a.func.isRequired,i.a.shape({}),i.a.func.isRequired,i.a.shape({}),i.a.func,i.a.shape({account:i.a.string.isRequired}).isRequired,i.a.string,i.a.bool,i.a.bool,i.a.string.isRequired;var Be=n(5),He=n.n(Be);const Ue=()=>{const e=o.nuk&&o.nuk.user||{};return e&&e.registrationType?e.registrationType:""},We=()=>{const e=o.nuk&&o.nuk.user||{};return e&&e.customerType?e.customerType:""},Ve=()=>{const e=o.nuk&&o.nuk.user||{};return e&&e.isShared?"yes":"no"},Ye=e=>{const o=["LIVE","BREAKING"],t=e&&e.find(e=>o.includes(e.type.toUpperCase()));return t&&t.type},Ge=e=>{if(!e)return[];const o=e.find(e=>null===e.expiryTime||(new Date).getTime()<new Date(e.expiryTime).getTime());return o&&o.type&&o.type.toLowerCase()};function $e(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Xe(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?$e(Object(t),!0).forEach((function(o){Ze(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):$e(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Ze(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var Ke=e=>{const o=e.find(e=>"paywall"===e.name);if(!o)return e;const t=o.children.filter(e=>"paragraph"===e.name).pop(),n=o.children.indexOf(t),r=o.children.map((e,o)=>o===n?Xe(Xe({},e),{},{attributes:Xe(Xe({},e.attributes),{},{id:"last-paragraph"})}):e);return e.map(e=>"paywall"===e.name?Xe(Xe({},e),{},{children:r}):e)};const Je=ce.a.div.withConfig({displayName:"keylines__KeylineItem",componentId:"sc-1s03wwf-0"})(["border:solid ",";border-width:1px 0;& + &{margin-top:-1px !important;}"],y.colours.functional.keyline),Qe=ce()(Je).withConfig({displayName:"keylines__ArticleKeylineItem",componentId:"sc-1s03wwf-1"})(["@media (min-width:","px){margin:0 auto;}&:last-child{margin-bottom:",";}@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}margin-left:",";margin-right:",";"],y.breakpoints.medium,Object(y.spacing)(6),y.breakpoints.medium,y.breakpoints.wide,Object(y.spacing)(2),Object(y.spacing)(2)),eo=ce.a.main.withConfig({displayName:"responsive__MainContainer",componentId:"sc-15gvuj2-1"})(["@media (min-width:","px){padding-top:",";margin:0 auto;}"],y.breakpoints.wide,Object(y.spacing)(4)),oo=ce()(s.TcView).withConfig({displayName:"responsive__HeaderContainer",componentId:"sc-15gvuj2-2"})(["display:flex;z-index:1;> ","{order:3;}"],Qe),to=ce.a.article.withConfig({displayName:"responsive__BodyContainer",componentId:"sc-15gvuj2-3"})(["display:block;order:4;"]),no=ce.a.div.withConfig({displayName:"responsive__UpdateButtonContainer",componentId:"sc-15gvuj2-4"})(["position:sticky;bottom:50px;display:flex;width:100%;justify-content:center;@media (min-width:","px){bottom:80px;}@media (min-width:","px){bottom:120px;}"],y.breakpoints.medium,y.breakpoints.wide),ro=ce.a.div.withConfig({displayName:"responsive__SidebarWarpper",componentId:"sc-15gvuj2-5"})(["position:sticky;top:162px;display:none;left:100%;@media (min-width:","px){width:19.8333%;display:inline-block;}@media (min-width:","px){width:18.8333%;top:112px;}"],y.breakpoints.wide,y.breakpoints.huge),ao=ce.a.div.withConfig({displayName:"responsive__PuzzlesSidebar",componentId:"sc-15gvuj2-6"})(["position:sticky;padding-left:",";z-index:1;@media (min-width:","px){padding-right:",";}@media (min-width:","px){padding-right:",";}"],Object(y.spacing)(4),y.breakpoints.wide,Object(y.spacing)(8),y.breakpoints.huge,Object(y.spacing)(10)),co=ce.a.div.withConfig({displayName:"responsive__ArticleWrapper",componentId:"sc-15gvuj2-7"})(["position:relative;"]),io=ce.a.div.withConfig({displayName:"responsive__ArticleContent",componentId:"sc-15gvuj2-8"})(["@media (min-width:","px){margin-top:",";transition:margin-top 0.2s ease;}"],y.breakpoints.wide,e=>e.showMargin?"-335px":"0"),so=ce.a.div.withConfig({displayName:"responsive__EmailBannerContainer",componentId:"sc-15gvuj2-9"})(["position:sticky;top:80px;width:100%;z-index:100;display:flex;justify-content:center;height:100%;@media (max-width:","px){max-width:327px;height:100px;margin:auto;}"],y.breakpoints.medium);function mo(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function lo(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?mo(Object(t),!0).forEach((function(o){uo(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mo(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function uo(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var po={articleContainer:{backgroundColor:y.colours.functional.gutter},articleMainContentRow:{paddingLeft:Object(y.spacing)(2),paddingRight:Object(y.spacing)(2)}};function ho(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function fo(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?ho(Object(t),!0).forEach((function(o){bo(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ho(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function bo(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const go=(e=>{const o=Object(y.styleguide)({scale:e}),t=o.colours,n=o.fontFactory,r=o.spacing,a=o.lineHeight;return{ad:{borderBottomColor:t.functional.keyline,borderBottomWidth:1,borderTopColor:t.functional.keyline,borderTopWidth:1,marginBottom:r(4),padding:r(2)},articleLink:lo(lo({color:t.functional.action},n({font:"body",fontSize:"bodyMobile"})),{},{lineHeight:a({font:"body",fontSize:"bodyMobile"}),marginBottom:r(5),marginTop:0}),articleMainContentRow:{paddingLeft:r(2),paddingRight:r(2)},articleTextElement:lo(lo({},n({font:"body",fontSize:"bodyMobile"})),{},{color:t.functional.primary,marginBottom:r(5)}),containerTablet:{alignSelf:"center"},imageContainerTablet:{alignSelf:"center"},interactiveContainer:{marginBottom:r(4),paddingLeft:r(2),paddingRight:r(2)},interactiveContainerTablet:{alignSelf:"center",width:y.tabletWidth},interactiveContainerFullWidth:{width:"100%",paddingLeft:0,paddingRight:0},leadAsset:{marginBottom:r(2)},primaryContainer:{flexDirection:"column",paddingBottom:r(5),width:"100%"},heading2:lo(lo({},n({font:"headline",fontSize:"heading2Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading3:lo(lo({},n({font:"headline",fontSize:"heading3Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading4:lo(lo({},n({font:"headline",fontSize:"heading4Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading5:lo(lo({},n({font:"headline",fontSize:"heading5Mobile"})),{},{marginBottom:r(2),color:t.functional.black}),heading6:lo(lo({},n({font:"headline",fontSize:"heading5Mobile"})),{},{marginBottom:r(2),color:t.functional.black})}})(),yo=fo(fo({},go),{},{ad:fo(fo({},go.ad),{},{marginBottom:Object(y.spacing)(6),marginTop:Object(y.spacing)(6),width:"100%"}),articleTextElement:fo(fo({},go.articleTextElement),{},{marginTop:0}),adMarginStyle:{marginBottom:0}});var ko=fo(fo({},po),yo),vo=n(25);const wo=["37a19ac4-1cbb-11ee-8198-bf96b6365670"];function xo(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return null;const t=e.reduce((e,o)=>(e.push(...o.slices),e),[]),n=t.reduce((e,o)=>(e.push(...o.sections),e),[]);return n.map(e=>o+e.title)}const jo={SUNDAYTIMES:"The Sunday Times",TIMES:"The Times"},Oo=e=>He()(e,"crop169.url",null),zo=e=>Oo(He()(e,"leadAsset.posterImage",He()(e,"leadAsset",null))),So=e=>Oo(He()(e,"leadAsset",null)),_o=e=>(e.hasVideo?zo:So)(e);function Eo(e){let o=e.article,t=e.articleUrl,n=e.logoUrl,r=e.paidContentClassName,c=e.getFallbackThumbnailUrl169,i=e.swgProductId,m=e.breadcrumbs,l=e.domainSpecificUrl;const u=o.descriptionMarkup,d=o.headline,p=o.leadAsset,h=o.publicationName,f=o.shortHeadline,b=o.publishedTime,g=o.updatedTime,y=o.hasVideo,k=o.seoDescription,v=o.keywords,w=p||{},x=w.brightcoveAccountId,j=w.brightcoveVideoId,O=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o="";if(void 0!==e)for(let t=0;t<e.length;t+=1)"LIVE"===e[t].type&&(o=e[t].expiryTime);return o}(o.expirableFlags),z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return void 0!==e&&void 0!==e.find(e=>"LIVE"===e.type&&(Date.now()<new Date(e.expiryTime)||null===e.expiryTime))}(o.expirableFlags),S=jo[h],_=function(e){const o=e.bylines;if(!o)return null;const t=o.reduce((e,o)=>(Array.isArray(o.byline)?e.push(...o.byline):e.push(o.byline),e),[]);return Object(G.renderTreeAsText)({children:t})}(o),E=k||(Array.isArray(u)&&u.length?Object(G.renderTreeAsText)({children:u}):null),C=function(e){const o=xo(e.tiles);if(null==o)return null;const t=o.filter(e=>"News"!==e);return t.length?t[0]:"News"}(o),P=function(e){const o=xo(e.tiles,"Section:");return null==o?null:o.filter((e,o,t)=>t.indexOf(e)===o).slice(0,2).toString()}(o),I=(e=>{const o=e.hasVideo,t=e.leadAsset,n=o?zo(e):(e=>{const o=e.tiles&&e.tiles.find(e=>He()(e.leadAsset,"crop169.url",null));if(o)return o;return He()(e.listingAsset,"crop169.url",null)||He()(e.leadAsset,"crop169.url",null)})(e);if(n)return n;if(!t)return null;const r=t&&t.posterImage?t.posterImage:t,a=r.crop32,c=r.crop1251,i=r.crop11,s=r.crop45,m=r.crop23,l=r.crop2251,u=a||c||i||s||m||l;return u?u.url:""})(o)||(c?c():null),T=Object(s.appendToImageURL)(_o(o),"resize",1200)||I,A=function(e,o){return e.bylines?(t=e,t.bylines.map(e=>e.author).filter(e=>e)).map(e=>{let t=e.name,n=e.jobTitle,r=e.twitter,a=e.slug;const c="".concat(o,"/profile/").concat(a);return{"@type":"Person",name:t,jobTitle:n,sameAs:r?[c,"https://twitter.com/".concat(r)]:c}}):[];var t}(o,l),N=He()(p,"caption",null),D=d||f||"",q=b&&new Date(b).toISOString(),R=g||q,M=_?{"@type":"Person",name:_}:null,F=(A&&A.length?A:M)||{"@type":"Organization",name:"The Times"},L={"@type":"Organization",name:S,logo:{"@type":"ImageObject",url:n}},B=((e,o,t)=>{const n=[];if(null===e)return n;const r=e.content,a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=/\D+/g,n=e.replace(t,""),r=/\b(\w)/g,a=o.match(r),c=null===a?"":a.join("");return"u_".concat(n).concat(c)};if(void 0!==r){let c;const i=r=>{for(let s=0;s<r.length;s+=1)if("interactive"===r[s].name){if(r[s].attributes.element&&"article-header"===r[s].attributes.element.value){void 0!==c&&n.push(c);const i=r[s].attributes.element.attributes;c={"@type":"BlogPosting",headline:i.headline,datePublished:i.updated,dateModified:i.updated,publisher:o,url:"".concat(e.url,"#").concat(a(i.updated,i.headline)),author:t}}}else if("paragraph"===r[s].name){if(void 0!==c){const e=He()(r[s],"children[0].attributes.value","");c.articleBody?c.articleBody+=" ".concat(e):c.articleBody=e}}else"image"===r[s].name?void 0!==c&&(c.image={"@type":"ImageObject",url:r[s].attributes.url,caption:r[s].attributes.caption}):"video"===r[s].name?void 0!==c&&(c.video={"@type":"VideoObject",thumbnail:r[s].attributes.posterImageUrl}):"paywall"===r[s].name&&r[s].children&&r[s].children.length>0&&i(r[s].children)};i(r),void 0!==c&&n.push(c)}return n})(o,L,F),H={"@context":"https://schema.org","@type":"NewsArticle",headline:D,publisher:{"@type":"Organization",name:S,logo:{"@type":"ImageObject",url:n}},mainEntityOfPage:{"@type":"WebPage","@id":t},dateCreated:b,datePublished:q,isAccessibleForFree:!1,hasPart:{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:".".concat(r)},image:{"@type":"ImageObject",url:T,caption:N},thumbnailUrl:I,dateModified:R,author:F,articleSection:C,keywords:P,url:t};i&&(H.isPartOf={"@type":["CreativeWork","Product"],name:"The Times & The Sunday Times",productID:i});const U=y?{"@context":"https://schema.org","@type":"VideoObject",name:p&&p.title?p.title:D,uploadDate:R,thumbnailUrl:I,description:Array.isArray(u)&&u.length?Object(G.renderTreeAsText)({children:u}):k||p.title||D,contentUrl:"https://players.brightcove.net/".concat(x,"/default_default/index.html?videoId=").concat(j)}:null,W={"@context":"https://schema.org","@type":"LiveBlogPosting",headline:d,description:k,mainEntityOfPage:{"@type":"WebPage","@id":t},datePublished:b,dateModified:g,coverageStartTime:b,coverageEndTime:O,url:t,keywords:v,image:{"@type":"ImageObject",url:T,caption:N},publisher:L,author:F,liveBlogUpdate:B,articleSection:C},V=wo.includes(o.id),Y=m&&m.length?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:m.map((e,o)=>({"@type":"ListItem",position:o+1,name:e.title,item:"".concat(l,"/").concat(e.slug)}))}:null;return a.a.createElement(vo.Helmet,{encodeSpecialCharacters:!1},a.a.createElement("title",null,D),V&&a.a.createElement("meta",{name:"robots",content:"noindex"}),a.a.createElement("meta",{name:"robots",content:"max-image-preview:large"}),a.a.createElement("meta",{content:D,name:"article:title"}),a.a.createElement("meta",{content:S,name:"article:publication"}),E&&a.a.createElement("meta",{content:E,name:"description"}),_&&a.a.createElement("meta",{content:_,name:"author"}),a.a.createElement("meta",{content:D,property:"og:title"}),a.a.createElement("meta",{content:"article",property:"og:type"}),a.a.createElement("meta",{content:t,property:"og:url"}),E&&a.a.createElement("meta",{content:E,property:"og:description"}),T&&a.a.createElement("meta",{content:T,property:"og:image"}),y&&a.a.createElement("meta",{name:"robots",content:"max-video-preview:-1"}),a.a.createElement("meta",{content:D,name:"twitter:title"}),a.a.createElement("meta",{content:"summary_large_image",name:"twitter:card"}),a.a.createElement("meta",{content:t,name:"twitter:url"}),E&&a.a.createElement("meta",{content:E,name:"twitter:description"}),T&&a.a.createElement("meta",{content:T,name:"twitter:image"}),z&&a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(W)),a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(H)),U&&a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(U)),Y&&a.a.createElement("script",{type:"application/ld+json"},JSON.stringify(Y)),a.a.createElement("script",{type:"text/javascript",async:!0,src:"https://platform.twitter.com/widgets.js"}))}Eo.defaultProps={swgProductId:null,breadcrumbs:[]};var Co=Eo,Po=e=>{let o=e.id,t=e.componentName;if("undefined"!=typeof window){const e=He()(window,"paywallComponent.".concat(t));if(e)return a.a.createElement("div",{id:o,dangerouslySetInnerHTML:{__html:e}})}return a.a.createElement("div",{id:o})},Io=n(26),To=n.n(Io);function Ao(){return(Ao=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}const No=ce.a.div.withConfig({displayName:"sticky-save-and-share-bar__SaveShareContainer",componentId:"hqppv0-0"})(["background-color:",";height:60px;display:flex;align-items:center;",";"],y.colours.functional.white,e=>e.isClient&&[h.selectors.sizer(Object(ae.css)(["border-bottom:1px solid transparent;will-change:border-bottom-color;"])),h.selectors.sticky(Object(ae.css)(["will-change:height,box-shadow;"])),Object(h.computeProgressStyles)(e=>Object(ae.css)(["height:","px;box-shadow:0 2px 5px 0 ",";",";"],60-10*e,y.colours.functional.greyStickyBarBoxShadow,h.selectors.stickySizer(Object(ae.css)(["border-bottom-color:",";"],y.colours.functional.greyStickyBarBorderBottom))))]),Do=ce.a.div.withConfig({displayName:"sticky-save-and-share-bar__SaveShareItem",componentId:"hqppv0-1"})(["order:3;& + &{margin-top:-1px !important;}@media (min-width:","px){margin:0 auto;}&:last-child{margin-bottom:",";}@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}margin-left:",";margin-right:",";"],y.breakpoints.medium,Object(y.spacing)(2),y.breakpoints.medium,y.breakpoints.wide,Object(y.spacing)(2),Object(y.spacing)(2));function qo(e){return a.a.createElement(s.ServerClientRender,{client:()=>a.a.createElement(No,Ao({isClient:!0},e)),server:()=>a.a.createElement(No,e)})}const Ro=Object(h.mediaQuery)("(max-width: ".concat(y.breakpoints.huge,"px)"));var Mo=function(e){return a.a.createElement(Do,null,a.a.createElement(f.a,{Component:qo,shouldBeSticky:Ro},a.a.createElement(To.a,e)))};function Fo(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Lo(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Fo(Object(t),!0).forEach((function(o){Bo(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Fo(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function Bo(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Ho=["indepth","maincomment","magazinestandard","magazinecomment"],Uo=e=>{const o=e.children;if(0===o.length)return e;if("text"===o[0].name){const n=(t=He()(o[0],"attributes.value[0]"),/'|"|‘|“/.test(t)&&o[0].attributes.value.length>1?2:1);return Lo(Lo({},e),{},{attributes:Lo({},e.attributes),children:[Lo(Lo({},o[0]),{},{attributes:Lo(Lo({},o[0].attributes),{},{value:o[0].attributes.value.slice(0,n),dropCap:!0})}),Lo(Lo({},o[0]),{},{attributes:Lo(Lo({},o[0].attributes),{},{value:o[0].attributes.value.slice(n),dropCap:!0})}),...o.slice(1)]})}var t;if("link"===o[0].name&&0===o[0].children.length)return null;const n=Uo(o[0]);if(n.attributes.dropCap&&"paragraph"!==e.name){const t=Lo(Lo({},e),{},{attributes:Lo(Lo({},e.attributes),{},{dropCap:!0}),children:[n,...o.slice(1)]});return n.attributes.dropCap=!0,t}const r=Lo(Lo({},e),{},{children:[n,...o.slice(1)]});return n.attributes.dropCap=!0,r},Wo=e=>{const o=e[0];return o&&o.attributes.dropCap&&"text"!==o.name?Wo(o.children):e};var Vo=(e,o)=>t=>{const n=((e,o,t)=>{try{if(o&&Ho.includes(o)&&!t&&e.length>0){const o=e.find(e=>"paragraph"===e.name);if(!o||0===o.children.length)return e;const t=e.indexOf(o),n=Uo(o),r=Uo(o);Wo(n.children).splice(1),Wo(r.children).splice(0,1);const a=[...e];return a.splice(t,1,{name:"dropCap",attributes:{},children:[n]},r),a}}catch(o){return e}return e})(t,e,o),r=n.length>0&&n.find(e=>"dropCap"===e.name);if(r){const e=n.indexOf(r);return n[e].children=n[e].children[0].children.slice(0,1),n[e+1].children=[n[e],...n[e+1].children],n.splice(e,1),n}return n};function Yo(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function Go(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?Yo(Object(t),!0).forEach((function(o){$o(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Yo(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function $o(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const Xo=e=>({name:"autoNewsletterPuff",attributes:{element:{value:"newsletter-puff",attributes:Go({label:"In your inbox"},e)}},children:[]}),Zo=[{section:"news",payload:Xo({code:"TNL-101",headline:"Daily Briefing",copy:"Our flagship newsletter featuring our top stories and analysis, delivered every morning.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F728c3e68-5311-4533-809a-b313a6503789.jpg?resize=800"})},{section:"business",payload:Xo({code:"TNL-103",headline:"Business briefing",copy:"Morning and midday updates on financial and economic news from our award-winning business team.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F306637af-2b6f-48fc-b264-d661b2067818.jpg?resize=800"})},{section:"scotland",payload:Xo({code:"TNL-134",headline:"Editor’s Choice – Scotland",copy:"The biggest stories from The Times and Sunday Times Scotland, every Saturday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F5777acf9-363f-4aa3-8176-1ea09cdae7d6.jpg?resize=800"})},{section:"money",payload:Xo({code:"TNL-107",headline:"Money newsletter",copy:"Personal finance and investment news from our money experts, every Monday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2Ffd44b15f-2fb8-4e5d-b409-315648b10646.jpg?resize=800"})},{section:"law",payload:Xo({code:"TNL-121",headline:"The Brief",copy:"Get expert analysis, news and commentary in The Brief, our legal editor's insider's guide, every Thursday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F27a231b4-5658-4852-a603-37c5210a946e.jpg?resize=800"})},{section:"home",payload:Xo({code:"TNL-113",headline:"Property newsletter",copy:"Inside Britain's most exclusive homes, expert advice and what's really happening in the property market, every Monday.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F42a688ec-f9ba-4684-90ce-17a9d1c19d8a.jpg?resize=800"})},{section:"luxury",payload:Xo({code:"TNL-148",headline:"Luxury newsletter",copy:"Do you need more luxury in your life? Sign up to the Times Luxury newsletter with one click.",imageUri:"https://www.thetimes.co.uk/imageserver/image/%2Fmethode%2Ftimes%2Fprod%2Fweb%2Fbin%2Fcbd3c7a9-4d25-422a-b4a5-a48072778002.jpg?crop=1990%2C1322%2C0%2C0&resize=800"})},{section:"bricks & mortar",payload:Xo({code:"TNL-113",headline:"Property newsletter",copy:"Get expert advice and find out what's really happening in the property market.",imageUri:"https://www.thetimes.co.uk/imageserver/image/methode%2Ftimes%2Fprod%2Fweb%2Fbin%2F42a688ec-f9ba-4684-90ce-17a9d1c19d8a.jpg?resize=800"})},{section:"ireland",payload:Xo({code:"TNL-152",headline:"Best of Times Ireland newsletter:",copy:"The most compelling Irish news, business, sport and lifestyle stories from the week, every Sunday."})},{section:"irish sport",payload:Xo({code:"TNL-152",headline:"Best of Times Ireland newsletter:",copy:"The most compelling Irish news, business, sport and lifestyle stories from the week, every Sunday."})}],Ko=e=>e.find(e=>"interactive"===e.name&&"newsletter-puff"===e.attributes.element.value),Jo=(e,o,t)=>Go(Go({},e),{},{children:e.children.reduce((e,n,r)=>r===o?[...e,t,n]:[...e,n],[])}),Qo=e=>{const o=e.findIndex(e=>"paragraph"!==e.name);return-1===o?e.length:o};var et=(e,o,t)=>n=>{if(o||Ye(t))return n;const r=(e=>{const o=Zo.find(o=>o.section===e.toLowerCase());return o?o.payload:void 0})(e);if(!r)return n;const a=n.find(e=>"paywall"===e.name);return a?Ko(n)||Ko(a.children)?n:((e,o)=>{const t=e.findIndex(e=>"paywall"===e.name),n=Qo(e),r=Qo(o.children);return n>=5||t===n&&n+r>=5})(n,a)?n.reduce((e,o,t)=>3===t?[...e,r,o]:"paywall"===o.name?[...e,Jo(o,3-t,r)]:[...e,o],[]):n:n};function ot(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function tt(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?ot(Object(t),!0).forEach((function(o){nt(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ot(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function nt(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var rt=e=>o=>{const t=[...o];let n;const r=e?(n=t.findIndex(e=>"ad"===e.name),{children:t.slice(n)}):t.find(e=>"paywall"===e.name),a=e?t.slice(0,n).filter(e=>"paragraph"===e.name):t.filter(e=>"paragraph"===e.name);if(!r)return t;const c=r.children,i=c.map((e,o)=>tt(tt({},e),{},{index:o})).filter(e=>"paragraph"===e.name);return i.pop(),[9,14,19,24].forEach((e,o)=>{if(!c.find(e=>e.name==="inlineAd".concat(o+1))){const t=i[e-a.length]?i[e-a.length].index:null;t&&null!==t&&c.splice(t+o+1,0,{name:"inlineAd".concat(o+1),children:[]})}}),e?[...o.slice(0,n),...c]:t};function at(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function ct(e){return function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){at(a,n,r,c,i,"next",e)}function i(e){at(a,n,r,c,i,"throw",e)}c(void 0)}))}}function it(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}const st={name:"paragraph",children:[{name:"italic",children:[{name:"text",children:[],attributes:{value:"All recommendations within this article are informed by expert editorial opinion. If you click on a link in this story we may earn affiliate revenue."}}]}]},mt=["This article contains affiliate links that can earn us revenue","This article contains affiliate links that may earn us revenue","This article contains affiliate links which may earn us revenue","This article contains affiliate links, which can earn us revenue","This article contains affiliate links, which may earn us revenue","This article contains affiliate links, which may earn�us revenue","This article contains affiliate links, which�may earn us revenue","This article contains�affiliate links, which may earn us revenue","This article contains affiliate links","This article contains links that can earn us revenue","This article contains links which may earn us revenue","This article contains links, which can earn us revenue","This article contains links, which may earn us revenu","This article contains links from which we may earn revenue"],lt=["(clicks.)?trx-hub.com","go.skimresources.com","go.redirectingat.com","(www.)?fave.co","beavertownbrewery.pxf.io","wilko.sjv.io","fanatics.93n6tx.net","ticketmaster-uk.tm7559.net","(www.)?prf.hn","nastygal.prf.hn","selfridges.prf.hn","bloomwild.prf.hn","go.linkby.com","(www.)?awin1.com","track.webgains.com","click.linksynergy.com","(www.)?dpbolvw.net","(www.)?kqzyfj.com","(www.)?anrdoezrs.net","(www.)?veneficus.co.uk","(www.)?shareasale.com","(www.)?privadovpn.com","(www.)?amzn.to","(www.)?amazon.[\\S]*?\\/(dp|gp)\\/[\\S]*?tag=","(www.)?planethowl.com"];var ut=e=>{const o=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return it(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?it(e,o):void 0}}(e,o)||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.")}()}(Object(r.useState)(lt),2),t=o[0],n=o[1];Object(r.useEffect)(()=>{function e(){return(e=ct((function*(){let e=lt;try{const o=(yield fetch("https://ads.thetimes.com/affiliates/domains.json").then(e=>e.text())).replaceAll("'",'"');e=JSON.parse('{"response": '.concat(o," }")).response}catch(e){console.log("Fetching domain listing failed. Using default.")}n(e)}))).apply(this,arguments)}!function(){e.apply(this,arguments)}()},[]);const a=[...e];let c=!1,i=!1;const s=e=>(e.some(e=>{const o=!!("interactive"===e.name&&e.attributes&&e.attributes.element&&e.attributes.element.value&&"times-text-collapse"===e.attributes.element.value);if(!i&&("text"===e.name||o)){const t="text"===e.name&&e.attributes&&e.attributes.value?e.attributes.value:"",n=o&&e.attributes&&e.attributes.element&&e.attributes.element.attributes&&e.attributes.element.attributes.disclaimer_text?e.attributes.element.attributes.disclaimer_text:"",r=t||n;mt.some(e=>r.includes(e))&&(i=!0)}if(i)return!0;if("interactive"!==e.name&&"link"!==e.name&&(void 0===e.children||!e.children.length))return!1;const n=!!("interactive"===e.name&&e.attributes&&e.attributes.element&&e.attributes.element.value&&"times-travel-cta"===e.attributes.element.value);if(!c&&("link"===e.name||n)){const o="link"===e.name&&e.attributes&&e.attributes.href?e.attributes.href:"",r=n&&e.attributes&&e.attributes.element&&e.attributes.element.attributes&&e.attributes.element.attributes.url?e.attributes.element.attributes.url:"",a=o||r;if(!a||!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1?arguments[1]:void 0;const t='<a\\s[^>]*?href="https?:\\/\\/('.concat(o.join("|"),")"),n='<a href="'.concat(e,'"></a>'),r=new RegExp(t,"i");return r.test(n)}(a,t))return!1;c=!0}return void 0!==e.children&&e.children.length&&s(e.children),c}),{affiliateLinkExist:c,affiliateDisclaimerExist:i}),m=s(a);if(!m.affiliateDisclaimerExist&&m.affiliateLinkExist){const e=a.find(e=>"paragraph"===e.name);e&&a.splice(a.indexOf(e)+1,0,st)}return a};function dt(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function pt(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?dt(Object(t),!0).forEach((function(o){ht(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):dt(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function ht(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var ft=e=>{const o=[...e],t=e=>e.map(e=>{let o=pt({},e);if("link"===o.name||"interactive"===o.name&&o.attributes&&o.attributes.element&&"times-travel-cta"===o.attributes.element.value){const e=o.attributes,t=((e||{}).element||{}).attributes,n="interactive"===o.name?t.url||"":e.href||"";!n||n.startsWith("https://www.thetimes.co.uk")||n.startsWith("https://www.thetimes.com")||(o=pt(pt({},o),{},{attributes:pt(pt({},e),{},{target:"_blank"})}))}return o.children&&o.children.length&&(o.children=t(o.children)),o});return t(o)};function bt(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function gt(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return yt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?yt(e,o):void 0}}(e,o)||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,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}n.d(t,"reduceArticleContent",(function(){return kt})),n.d(t,"KeylineItem",(function(){return Je})),n.d(t,"ArticleKeylineItem",(function(){return Qe})),n.d(t,"ArticleLink",(function(){return re}));const kt=(e,o)=>e&&e.length>0&&o.reduce((e,o)=>o(e),e),vt=e=>{let o=e.analyticsStream,t=e.data,n=e.Header,c=e.logoUrl,i=e.receiveChildList,l=e.commentingConfig,d=e.articleDataFromRender,f=e.paidContentClassName,b=e.isPreview,k=e.swgProductId,x=e.getFallbackThumbnailUrl169,j=e.zephrDivs,O=e.showAudioPlayer,z=e.storefrontConfig;const _=t.commentsEnabled,E=t.content,C=t.dropcapsDisabled,I=t.id,T=t.section,A=t.url,N=t.headline,D=t.shortHeadline,q=t.expirableFlags,R=t.topics,M=t.relatedArticleSlice,F=t.template,L=t.savingEnabled,B=t.sharingEnabled,H=t.publishedTime,U=t.isSavingEnabled,W=t.isSharingEnabled,V=t.isCommentEnabled,Y=t.isEntitlementFeatureEnabled,G=gt(Object(r.useState)(!1),2),$=G[0],X=G[1],Z=Object(g.useSocialEmbedsContext)(),K=Z.isSocialEmbedAllowed,J=Z.isAllowedOnce;Object(r.useEffect)(()=>{(K.twitter||J.twitter)&&window.twttr&&window.twttr.widgets&&window.twttr.widgets.load()},[K.twitter,J.twitter]);const Q=Object(r.useRef)(),ee=()=>{const e=Q.current;if(e){const o=document.querySelectorAll(".responsive__InlineAdWrapper-sc-4v1r4q-17, .responsive__InlineAdWrapper-sc-4v1r4q-14, .responsive__FullWidthImg-sc-4v1r4q-4, .responsive__InteractiveContainer-sc-4v1r4q-2");let t=!1;o.forEach(o=>{if(o){const n=o.getBoundingClientRect();n.top<=e.getBoundingClientRect().bottom&&n.bottom>=e.getBoundingClientRect().top&&(t=!0)}}),e.style.opacity=t?"0":"1"}};Object(r.useEffect)(()=>{const e=!!JSON.parse(window.sessionStorage.getItem("verifyEmail"));X(e)},[]),Object(r.useEffect)(()=>{const e=Q.current;return e&&(e.style.transition="opacity 0.2s ease"),ee(),window.addEventListener("scroll",ee),()=>{window.removeEventListener("scroll",ee)}},[]);const oe=d||{},te=oe.hostName,ne=oe.canonicalUrl,re=oe.breadcrumbs,ae=oe.categorisedArticles,ie=oe.deckApiUrl,se=te&&ne?"".concat(te).concat(ne):A,me=[Vo(F,C),ut,et(T,b,q),rt(b),Ke,ft],le=kt(E,me);console.dir({newContent:le},{depth:null});const ue=(e=>{const o="indepth"===e;return ce()(s.TcView).withConfig({displayName:"responsive",componentId:"sc-15gvuj2-0"})(["box-sizing:content-box;justify-content:center;min-height:50px;display:flex;border-top-color:",";border-bottom-color:",";border-bottom-width:",";padding-top:",";padding-bottom:",";@media (min-width:768px){min-height:90px;}@media (min-width:1024px){min-height:250px;}"],y.colours.functional.keyline,y.colours.functional.keyline,o?"0":"1px",Object(y.spacing)(2),o?"0":Object(y.spacing)(2))})(F);i([{elementId:"last-paragraph",name:"end of article",eventNavigationName:"Article : View End"},{elementId:"related-articles",name:"related articles"}]);const de=(L||B)&&(U||W),pe=te||"https://www.thetimes.co.uk",he=Ye(q),fe=gt(Object(r.useState)([]),2),be=fe[0],ge=fe[1],ye=function(){var e,o=(e=function*(){const e=yield S();ge(e)},function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){bt(a,n,r,c,i,"next",e)}function i(e){bt(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(){return o.apply(this,arguments)}}();return Object(r.useEffect)(()=>{Object(s.CanShowPuzzleSidebar)(T)&&ye()},[s.CanShowPuzzleSidebar,T]),a.a.createElement(h.StickyProvider,null,a.a.createElement(g.TrackingContextProvider,{context:{component:"ArticleSkeleton",attrs:{article_name:N||D||"",section_details:T}},analyticsStream:o},$&&a.a.createElement(so,null,a.a.createElement(g.Banner,{title:"Check your inbox",body:"Verify your email by clicking on the link sent to your inbox.",onClose:()=>{window.sessionStorage.setItem("verifyEmail",!1),X(!1)}})),b&&a.a.createElement("div",{className:"Container"},a.a.createElement("div",{className:"ArticleMetaBanner"},a.a.createElement("div",{className:"ArticleMetaBanner-field"},a.a.createElement("label",{htmlFor:"ArticleMetaBanner-uuid"},"UUID",a.a.createElement("input",{type:"text",placeholder:"UUID",name:"UUID",id:"ArticleMetaBanner-uuid",value:I,readOnly:!0})),a.a.createElement("button",{type:"button",className:"ArticleMetaBanner-button","data-clipboard-target":"#ArticleMetaBanner-uuid"},"Copy")))),a.a.createElement("div",{id:"article-marketing-header"}),a.a.createElement("article",{id:"article-main","data-article-identifier":t.id,"data-article-sectionname":T,"data-article-template":F},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-head"></div>'}),a.a.createElement(Co,{article:t,articleUrl:se,logoUrl:c,paidContentClassName:f,getFallbackThumbnailUrl169:x,swgProductId:k,breadcrumbs:re,domainSpecificUrl:pe}),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-below-head"></div>'}),a.a.createElement(r.Fragment,null,a.a.createElement(ue,{key:"headerAd"},a.a.createElement(m.AdContainer,{slotName:"header",style:ko.adMarginStyle})),a.a.createElement(eo,null,a.a.createElement(g.WelcomeBanner,null),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-maincontainer"></div>'}),a.a.createElement(oo,{showAudioPlayer:O},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-headercontainer"></div>'}),a.a.createElement(n,null),de?a.a.createElement(v.a,{state:v.a.showSaveAndShareBar},a.a.createElement(w.MessageContext.Consumer,null,e=>{let o=e.showMessage;return a.a.createElement(Mo,{articleId:I,articleHeadline:N,articleUrl:se,onCopyLink:()=>o("Article link copied"),onSaveToMyArticles:()=>{},onShareOnEmail:()=>{},savingEnabled:L,sharingEnabled:B,hostName:pe})})):null,!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-bottom-headercontainer"></div>'})),a.a.createElement(to,null,a.a.createElement(co,null,Object(s.CanShowPuzzleSidebar)(T)&&a.a.createElement(ro,null,a.a.createElement(ao,{ref:Q},a.a.createElement(g.ArticleSidebar,{pageLink:"".concat(pe,"/puzzles"),sectionTitle:"Puzzles",data:[{title:"Crossword",url:"".concat(pe,"/puzzles/crossword"),imgUrl:"".concat(pe,"/d/img/puzzles/new-illustrations/crossword-c7ae8934ef.png")},{title:"Polygon",url:be,imgUrl:"".concat(pe,"/d/img/puzzles/new-illustrations/polygon-875ea55487.png")},{title:"Sudoku",url:"".concat(pe,"/puzzles/sudoku"),imgUrl:"".concat(pe,"/d/img/puzzles/new-illustrations/sudoku-ee2aea0209.png")}]}))),a.a.createElement(io,{showMargin:Object(s.CanShowPuzzleSidebar)(T)},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-top-bodycontainer"></div>'}),le&&a.a.createElement(Le,{id:t.id,analyticsStream:o,content:le,contextUrl:se,section:T,articleHeadline:N,paidContentClassName:f,template:F,isPreview:b,isLiveOrBreaking:he,deckApiUrl:ie}),he&&a.a.createElement(v.a,{state:v.a.showLiveUpdateButton},a.a.createElement(no,{"data-testid":"Update button container"},a.a.createElement(g.UpdateButtonWithDelay,{delay:8e3,update:!0,display:!0,label:"New update",handleClick:()=>(e=>{e.scroll({left:0,top:0}),e.location.reload(!0)})(window),updatedTime:t.publishedTime,articleId:t.id}))),a.a.createElement(Po,{id:"paywall-portal-article-footer",componentName:"subscribe-cta"},!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-paywall"></div>'})))),a.a.createElement(p.a,{rootMargin:Object(y.spacing)(40),threshold:0},e=>{let t=e.observed,n=e.registerNode;return a.a.createElement(u.a,{analyticsStream:o,articleId:I,articleHeadline:N,articleUrl:se,section:T,publishedTime:H,savingEnabled:L,sharingEnabled:B,commentsEnabled:_,registerNode:n,relatedArticleSlice:M,categorisedArticles:ae,relatedArticlesVisible:!!t.get("related-articles"),commentingConfig:l,topics:R,isSharingSavingEnabled:de,isCommentEnabled:V,storefrontConfig:z,breadcrumbs:re,domainSpecificUrl:pe,isEntitlementFeatureEnabled:Y})}),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-bottom-bodycontainer"></div>'})),!!j&&a.a.createElement(P,{html:'<div id="nu-zephr-article-target-bottom-maincontainer"></div>'}))),a.a.createElement(m.AdContainer,{slotName:"pixel"}),a.a.createElement(m.AdContainer,{slotName:"pixelteads"}),a.a.createElement(m.AdContainer,{slotName:"pixelskin"}))))};vt.defaultProps={adConfig:{},data:{content:[]},Header:()=>null,receiveChildList:()=>{},swgProductId:null,zephrDivs:!1},t.default=(e=>Object(b.withTrackingContext)(e,{getAttrs:e=>{let o=e.data,t=e.pageSection,n=e.navigationMode,r=e.referralUrl,a=void 0===r?"":r,c="",i=!1;const s=o.expirableFlags;if(window&&window.__TIMES_ACCESS_AND_IDENTITY__&&window.__TIMES_ACCESS_AND_IDENTITY__.hasAccess&&(i=!0),n){const e=n.isMyArticles,o=n.isPastSixDays;c=e?"my articles":o?"past 6 days":"current edition"}return{articleId:He()(o,"id",""),article_topic_tags:o.topics?o.topics.map(e=>e.name):[],isLocked:i?"unlocked":"locked",bylines:He()(o,"bylines[0].byline[0].children[0].attributes.value",""),headline:He()(o,"headline",""),label:He()(o,"label",""),pageName:"".concat(He()(o,"slug",""),"-").concat(He()(o,"shortIdentifier","")),edition_type:c,publishedTime:He()(o,"publishedTime",""),parent_site:He()(o,"publicationName",""),referralUrl:a,section:t||He()(o,"section",""),template:He()(o,"template","Default"),registrationType:Ue(),customerType:We(),shared:Ve(),article_flag:Ge(s)?Ge(s):"no flag",article_template_name:Ye(s)?"live template":"standard template"}},trackingObjectName:"Article"}))(Object(b.withTrackScrollDepth)(e=>a.a.createElement(g.SocialEmbedsProvider,null,a.a.createElement(vt,e))))}])}).call(this,t(24))},function(e,o,t){var n=t(35),r=t(28),a=Function.prototype,c=n&&Object.getOwnPropertyDescriptor,i=r(a,"name"),s=i&&"something"===function(){}.name,m=i&&(!n||n&&c(a,"name").configurable);e.exports={EXISTS:i,PROPER:s,CONFIGURABLE:m}},function(e,o,t){var n=t(56),r=t(19),a=t(76),c=t(264),i=Object;e.exports=c?function(e){return"symbol"==typeof e}:function(e){var o=n("Symbol");return r(o)&&a(o.prototype,i(e))}},function(e,o,t){var n,r,a=t(16),c=t(84),i=a.process,s=a.Deno,m=i&&i.versions||s&&s.version,l=m&&m.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&c&&(!(n=c.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/))&&(r=+n[1]),e.exports=r},function(e,o){e.exports=function(e,o){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:o}}},function(e,o){e.exports={}},function(e,o,t){var n=t(149),r=Math.min;e.exports=function(e){return e>0?r(n(e),9007199254740991):0}},function(e,o,t){var n=t(9),r=t(19),a=/#|\.prototype\./,c=function(e,o){var t=s[i(e)];return t==l||t!=m&&(r(o)?n(o):!!o)},i=c.normalize=function(e){return String(e).replace(a,".").toLowerCase()},s=c.data={},m=c.NATIVE="N",l=c.POLYFILL="P";e.exports=c},function(e,o,t){var n=t(267),r=t(196);e.exports=Object.keys||function(e){return n(e,r)}},function(e,o,t){var n=t(39).f,r=t(28),a=t(20)("toStringTag");e.exports=function(e,o,t){e&&!t&&(e=e.prototype),e&&!r(e,a)&&n(e,a,{configurable:!0,value:o})}},function(e,o,t){var n=t(16);e.exports=n.Promise},function(e,o,t){var n=t(16),r=t(126),a=t(19),c=t(123),i=t(195),s=t(20),m=t(441),l=t(276),u=t(65),d=t(119),p=r&&r.prototype,h=s("species"),f=!1,b=a(n.PromiseRejectionEvent),g=c("Promise",(function(){var e=i(r),o=e!==String(r);if(!o&&66===d)return!0;if(u&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var t=new r((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((t.constructor={})[h]=n,!(f=t.then((function(){}))instanceof n))return!0}return!o&&(m||l)&&!b}));e.exports={CONSTRUCTOR:g,REJECTION_EVENT:b,SUBCLASSING:f}},function(e,o,t){"use strict";var n=t(77),r=TypeError,a=function(e){var o,t;this.promise=new e((function(e,n){if(void 0!==o||void 0!==t)throw r("Bad Promise constructor");o=e,t=n})),this.resolve=n(o),this.reject=n(t)};e.exports.f=function(e){return new a(e)}},function(e,o,t){var n=t(99),r=t(23),a=t(30),c=t(95),i=t(277),s=t(73),m=t(76),l=t(278),u=t(205),d=t(279),p=TypeError,h=function(e,o){this.stopped=e,this.result=o},f=h.prototype;e.exports=function(e,o,t){var b,g,y,k,v,w,x,j=t&&t.that,O=!(!t||!t.AS_ENTRIES),z=!(!t||!t.IS_RECORD),S=!(!t||!t.IS_ITERATOR),_=!(!t||!t.INTERRUPTED),E=n(o,j),C=function(e){return b&&d(b,"normal",e),new h(!0,e)},P=function(e){return O?(a(e),_?E(e[0],e[1],C):E(e[0],e[1])):_?E(e,C):E(e)};if(z)b=e.iterator;else if(S)b=e;else{if(!(g=u(e)))throw p(c(e)+" is not iterable");if(i(g)){for(y=0,k=s(e);k>y;y++)if((v=P(e[y]))&&m(f,v))return v;return new h(!1)}b=l(e,g)}for(w=z?e.next:b.next;!(x=r(w,b)).done;){try{v=P(x.value)}catch(e){d(b,"throw",e)}if("object"==typeof v&&v&&m(f,v))return v}return new h(!1)}},function(e,o){e.exports={}},function(e,o,t){var n=t(10),r=t(14),a=t(121),c=t(29),i=t(28),s=t(39).f,m=t(98),l=t(282),u=t(283),d=t(144),p=t(281),h=!1,f=d("meta"),b=0,g=function(e){s(e,f,{value:{objectID:"O"+b++,weakData:{}}})},y=e.exports={enable:function(){y.enable=function(){},h=!0;var e=m.f,o=r([].splice),t={};t[f]=1,e(t).length&&(m.f=function(t){for(var n=e(t),r=0,a=n.length;r<a;r++)if(n[r]===f){o(n,r,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:l.f}))},fastKey:function(e,o){if(!c(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,f)){if(!u(e))return"F";if(!o)return"E";g(e)}return e[f].objectID},getWeakData:function(e,o){if(!i(e,f)){if(!u(e))return!0;if(!o)return!1;g(e)}return e[f].weakData},onFreeze:function(e){return p&&h&&u(e)&&!i(e,f)&&g(e),e}};a[f]=!0},function(e,o,t){var n=t(20),r=t(100),a=t(39).f,c=n("unscopables"),i=Array.prototype;null==i[c]&&a(i,c,{configurable:!0,value:r(null)}),e.exports=function(e){i[c][e]=!0}},function(e,o,t){t(455)},function(e,o,t){var n=t(68).Symbol;e.exports=n},function(e,o,t){var n=t(170);e.exports=function(e){if("string"==typeof e||n(e))return e;var o=e+"";return"0"==o&&1/e==-1/0?"-0":o}},,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},,,,function(e,o,t){var n=t(9);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},function(e,o,t){var n=t(16),r=t(29),a=n.document,c=r(a)&&r(a.createElement);e.exports=function(e){return c?a.createElement(e):{}}},function(e,o,t){var n=t(263),r=t(118);e.exports=function(e){var o=n(e,"string");return r(o)?o:o+""}},function(e,o,t){var n=t(14),r=0,a=Math.random(),c=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+c(++r+a,36)}},function(e,o,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,a=r&&!n.call({1:2},1);o.f=a?function(e){var o=r(this,e);return!!o&&o.enumerable}:n},function(e,o,t){var n=t(14),r=t(9),a=t(72),c=Object,i=n("".split);e.exports=r((function(){return!c("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i(e,""):c(e)}:c},function(e,o,t){var n=t(96),r=t(144),a=n("keys");e.exports=function(e){return a[e]||(a[e]=r(e))}},function(e,o,t){var n=t(149),r=Math.max,a=Math.min;e.exports=function(e,o){var t=n(e);return t<0?r(t+o,0):a(t,o)}},function(e,o,t){var n=t(426);e.exports=function(e){var o=+e;return o!=o||0===o?0:n(o)}},function(e,o){o.f=Object.getOwnPropertySymbols},function(e,o,t){var n=t(72);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,o,t){"use strict";var n=t(143),r=t(39),a=t(120);e.exports=function(e,o,t){var c=n(o);c in e?r.f(e,c,a(0,t)):e[c]=t}},function(e,o,t){var n=t(14),r=t(9),a=t(19),c=t(154),i=t(56),s=t(195),m=function(){},l=[],u=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.exec(m),f=function(e){if(!a(e))return!1;try{return u(m,l,e),!0}catch(e){return!1}},b=function(e){if(!a(e))return!1;switch(c(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,s(e))}catch(e){return!0}};b.sham=!0,e.exports=!u||r((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?b:f},function(e,o,t){var n=t(197),r=t(19),a=t(72),c=t(20)("toStringTag"),i=Object,s="Arguments"==a(function(){return arguments}());e.exports=n?a:function(e){var o,t,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,o){try{return e[o]}catch(e){}}(o=i(e),c))?t:s?a(o):"Object"==(n=a(o))&&r(o.callee)?"Arguments":n}},function(e,o,t){var n=t(9),r=t(20),a=t(119),c=r("species");e.exports=function(e){return a>=51||!n((function(){var o=[];return(o.constructor={})[c]=function(){return{foo:1}},1!==o[e](Boolean).foo}))}},function(e,o,t){var n=t(10),r=t(272).values;n({target:"Object",stat:!0},{values:function(e){return r(e)}})},function(e,o,t){var n=t(72),r=t(16);e.exports="process"==n(r.process)},function(e,o,t){var n=t(76),r=TypeError;e.exports=function(e,o){if(n(o,e))return e;throw r("Incorrect invocation")}},function(e,o,t){var n,r,a,c,i=t(16),s=t(160),m=t(99),l=t(19),u=t(28),d=t(9),p=t(274),h=t(203),f=t(142),b=t(435),g=t(275),y=t(157),k=i.setImmediate,v=i.clearImmediate,w=i.process,x=i.Dispatch,j=i.Function,O=i.MessageChannel,z=i.String,S=0,_={};try{n=i.location}catch(e){}var E=function(e){if(u(_,e)){var o=_[e];delete _[e],o()}},C=function(e){return function(){E(e)}},P=function(e){E(e.data)},I=function(e){i.postMessage(z(e),n.protocol+"//"+n.host)};k&&v||(k=function(e){b(arguments.length,1);var o=l(e)?e:j(e),t=h(arguments,1);return _[++S]=function(){s(o,void 0,t)},r(S),S},v=function(e){delete _[e]},y?r=function(e){w.nextTick(C(e))}:x&&x.now?r=function(e){x.now(C(e))}:O&&!g?(c=(a=new O).port2,a.port1.onmessage=P,r=m(c.postMessage,c)):i.addEventListener&&l(i.postMessage)&&!i.importScripts&&n&&"file:"!==n.protocol&&!d(I)?(r=I,i.addEventListener("message",P,!1)):r="onreadystatechange"in f("script")?function(e){p.appendChild(f("script")).onreadystatechange=function(){p.removeChild(this),E(e)}}:function(e){setTimeout(C(e),0)}),e.exports={set:k,clear:v}},function(e,o,t){var n=t(141),r=Function.prototype,a=r.apply,c=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?c.bind(a):function(){return c.apply(a,arguments)})},function(e,o,t){"use strict";var n=t(117).PROPER,r=t(51),a=t(30),c=t(43),i=t(9),s=t(284),m=RegExp.prototype.toString,l=i((function(){return"/a/b"!=m.call({source:"a",flags:"b"})})),u=n&&"toString"!=m.name;(l||u)&&r(RegExp.prototype,"toString",(function(){var e=a(this);return"/"+c(e.source)+"/"+c(s(e))}),{unsafe:!0})},function(e,o,t){"use strict";var n,r,a=t(23),c=t(14),i=t(43),s=t(285),m=t(213),l=t(96),u=t(100),d=t(67).get,p=t(292),h=t(293),f=l("native-string-replace",String.prototype.replace),b=RegExp.prototype.exec,g=b,y=c("".charAt),k=c("".indexOf),v=c("".replace),w=c("".slice),x=(r=/b*/g,a(b,n=/a/,"a"),a(b,r,"a"),0!==n.lastIndex||0!==r.lastIndex),j=m.BROKEN_CARET,O=void 0!==/()??/.exec("")[1];(x||O||j||p||h)&&(g=function(e){var o,t,n,r,c,m,l,p=this,h=d(p),z=i(e),S=h.raw;if(S)return S.lastIndex=p.lastIndex,o=a(g,S,z),p.lastIndex=S.lastIndex,o;var _=h.groups,E=j&&p.sticky,C=a(s,p),P=p.source,I=0,T=z;if(E&&(C=v(C,"y",""),-1===k(C,"g")&&(C+="g"),T=w(z,p.lastIndex),p.lastIndex>0&&(!p.multiline||p.multiline&&"\n"!==y(z,p.lastIndex-1))&&(P="(?: "+P+")",T=" "+T,I++),t=new RegExp("^(?:"+P+")",C)),O&&(t=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=p.lastIndex),r=a(b,E?t:p,T),E?r?(r.input=w(r.input,I),r[0]=w(r[0],I),r.index=p.lastIndex,p.lastIndex+=r[0].length):p.lastIndex=0:x&&r&&(p.lastIndex=p.global?r.index+r[0].length:n),O&&r&&r.length>1&&a(f,r[0],t,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(r[c]=void 0)})),r&&_)for(r.groups=m=u(null),c=0;c<_.length;c++)m[(l=_[c])[0]]=r[l[1]];return r}),e.exports=g},function(e,o,t){"use strict";t(26);var n=t(198),r=t(51),a=t(162),c=t(9),i=t(20),s=t(86),m=i("species"),l=RegExp.prototype;e.exports=function(e,o,t,u){var d=i(e),p=!c((function(){var o={};return o[d]=function(){return 7},7!=""[e](o)})),h=p&&!c((function(){var o=!1,t=/a/;return"split"===e&&((t={}).constructor={},t.constructor[m]=function(){return t},t.flags="",t[d]=/./[d]),t.exec=function(){return o=!0,null},t[d](""),!o}));if(!p||!h||t){var f=n(/./[d]),b=o(d,""[e],(function(e,o,t,r,c){var i=n(e),s=o.exec;return s===a||s===l.exec?p&&!c?{done:!0,value:f(o,t,r)}:{done:!0,value:i(t,o,r)}:{done:!1}}));r(String.prototype,e,b[0]),r(l,d,b[1])}u&&s(l[d],"sham",!0)}},function(e,o,t){var n=t(23),r=t(30),a=t(19),c=t(72),i=t(162),s=TypeError;e.exports=function(e,o){var t=e.exec;if(a(t)){var m=n(t,e,o);return null!==m&&r(m),m}if("RegExp"===c(e))return n(i,e,o);throw s("RegExp#exec called on incompatible receiver")}},function(e,o,t){var n=t(509),r=t(510),a=t(511),c=t(512),i=t(513);function s(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=c,s.prototype.set=i,e.exports=s},function(e,o,t){var n=t(226);e.exports=function(e,o){for(var t=e.length;t--;)if(n(e[t][0],o))return t;return-1}},function(e,o,t){var n=t(89)(Object,"create");e.exports=n},function(e,o,t){var n=t(527);e.exports=function(e,o){var t=e.__data__;return n(o)?t["string"==typeof o?"string":"hash"]:t.map}},function(e,o,t){var n=t(74),r=t(232),a=t(552),c=t(171);e.exports=function(e,o){return n(e)?e:r(e,o)?[e]:a(c(e))}},function(e,o,t){var n=t(101),r=t(102);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}},function(e,o,t){var n=t(555);e.exports=function(e){return null==e?"":n(e)}},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=4)}([function(e,o){e.exports=t(0)},function(e,o){e.exports=t(1)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(339)},function(e,o,t){"use strict";t.r(o);var n=t(1),r=t.n(n),a=t(2),c=t(3),i=t.n(c);function s(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var m=function(e){var o=function(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return s(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?s(e,o):void 0}}(e,o)||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.")}()}(e.split(":"),2),t=o[0],n=o[1];return Number(t)/Number(n)},l=t(0),u=t.n(l),d=u.a.shape({ratio:u.a.string.isRequired,url:u.a.string.isRequired}),p={brightcoveAccountId:u.a.string.isRequired,brightcovePolicyKey:u.a.string.isRequired,brightcoveVideoId:u.a.string.isRequired,posterImage:u.a.shape({crop32:d,crop169:d}).isRequired},h=(u.a.string.isRequired,u.a.string.isRequired,u.a.string.isRequired,u.a.number.isRequired,u.a.shape(p),u.a.func.isRequired,u.a.string.isRequired,{caption:u.a.string,credits:u.a.string,crop:d,crop11:d,crop23:d,crop32:d,crop45:d,crop169:d,crop1251:d}),f=(u.a.string,u.a.bool,u.a.oneOfType([u.a.shape(h),u.a.shape(p)]),u.a.func,u.a.any,u.a.number,{wrapper:{display:"table",height:0,overflow:"hidden",position:"relative",width:"100%"},img:{opacity:1,zIndex:2,width:"100%",position:"absolute",display:"block"}});function b(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function g(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?b(Object(t),!0).forEach((function(o){y(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function y(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var k=function(e){var o=e.aspectRatio,t=e.alt,n=e.uri,c=Object(a.addMissingProtocol)(n),i=m(o),s=[360,520,680,860,1200,1500],l=s.map((function(e){return"".concat(Object(a.appendToImageURL)(c,"resize",e)," ").concat(e,"w")}));return r.a.createElement("div",{style:g(g({},f.wrapper),{},{paddingBottom:"".concat(100/i,"%")}),className:"lcpItem"},r.a.createElement("img",{alt:t,style:f.img,src:Object(a.appendToImageURL)(c,"resize",s[0]),srcSet:l.join(","),fetchpriority:"high"}))},v=function(e){var o=e.aspectRatio,t=e.className,n=e.renderCaption,c=e.displayImage,s=e.isVideo,m=e.leadAsset,l=e.style;if(!m||!c)return null;var u=s?m.posterImage:m,d={credits:u.credits,text:u.caption},p=s?r.a.createElement(i.a,{accountId:m.brightcoveAccountId,height:"100%",id:m.id,is360:m.is360,playerId:m.brightcovePlayerId,policyKey:m.brightcovePolicyKey,position:"absolute",poster:{uri:c.url},videoId:m.brightcoveVideoId,width:"100%"}):r.a.createElement(k,{aspectRatio:o,alt:m.title||d.text,uri:c.url});return r.a.createElement(a.TcView,{className:t,style:l},r.a.createElement("figure",{style:{margin:0}},r.a.createElement(a.AspectRatioContainer,{aspectRatio:o},p),n&&r.a.createElement("figcaption",null,n({caption:d}))))};v.defaultProps={aspectRatio:"1:1",displayImage:null,isVideo:!1,leadAsset:null,renderCaption:function(){return null},width:null},o.default=v}])},,function(e,o,t){"use strict";(function(e){t.d(o,"a",(function(){return u}));t(58),t(32),t(22),t(161),t(451),t(44),t(88),t(57);var n,r=t(54),a=t.n(r),c=t(21);function i(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}function s(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function m(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var l=function(){return Math.random().toString(16).slice(2)},u=function(){function o(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.transport,m=t.async,u=void 0!==m&&m;s(this,o),this.isAsync=void 0,this.sender=l(),this.events={},this.data={},this.transport=void 0,this.addPeerListener=a()((function(o,t){e.addListener(o,t)}),Object(c.a)(n||(n=i(["\n channel.addPeerListener is deprecated\n "])))),this.isAsync=u,r&&(this.transport=r,this.transport.setHandler((function(o){return e.handleEvent(o)})))}var t,r,u;return t=o,(r=[{key:"hasTransport",get:function(){return!!this.transport}},{key:"addListener",value:function(e,o){this.events[e]=this.events[e]||[],this.events[e].push(o)}},{key:"emit",value:function(o){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];var c={type:o,args:r,from:this.sender},i={};r.length>=1&&r[0]&&r[0].options&&(i=r[0].options);var s=function(){t.transport&&t.transport.send(c,i),t.handleEvent(c)};this.isAsync?e(s):s()}},{key:"last",value:function(e){return this.data[e]}},{key:"eventNames",value:function(){return Object.keys(this.events)}},{key:"listenerCount",value:function(e){var o=this.listeners(e);return o?o.length:0}},{key:"listeners",value:function(e){var o=this.events[e];return o||void 0}},{key:"once",value:function(e,o){var t=this.onceListener(e,o);this.addListener(e,t)}},{key:"removeAllListeners",value:function(e){e?this.events[e]&&delete this.events[e]:this.events={}}},{key:"removeListener",value:function(e,o){var t=this.listeners(e);t&&(this.events[e]=t.filter((function(e){return e!==o})))}},{key:"on",value:function(e,o){this.addListener(e,o)}},{key:"off",value:function(e,o){this.removeListener(e,o)}},{key:"handleEvent",value:function(e){var o=this.listeners(e.type);o&&o.length&&o.forEach((function(o){o.apply(e,e.args)})),this.data[e.type]=e.args}},{key:"onceListener",value:function(e,o){var t=this,n=function n(){return t.removeListener(e,n),o.apply(void 0,arguments)};return n}}])&&m(t.prototype,r),u&&m(t,u),Object.defineProperty(t,"prototype",{writable:!1}),o}();o.b=u}).call(this,t(448).setImmediate)},function(e,o,t){"use strict";t.d(o,"a",(function(){return r}));var n=t(174);function r(){return new n.b({transport:{setHandler:function(){},send:function(){}}})}},function(e,o,t){"use strict";t.d(o,"b",(function(){return n})),t.d(o,"a",(function(){return r}));var n;t(286),t(22),t(156);function r(e){return!!Object.values(n).find((function(o){return o===e}))}!function(e){e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.NOTES_ELEMENT="notes-element"}(n||(n={}))},,,function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){var o=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return o.setUTCFullYear(e.getFullYear()),e.getTime()-o.getTime()},e.exports=o.default},,function(e,o,t){"use strict";var n=t(79),r=t.n(n),a=t(179),c=t.n(a),i=t(110),s=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/;t.d(o,"a",(function(){return l}));var m={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:s};function l(e,o){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var t=o||{},n=null==t.additionalDigits?2:r()(t.additionalDigits);if(2!==n&&1!==n&&0!==n)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("string"!=typeof e&&"[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);var a=u(e),s=d(a.date,n),m=s.year,l=s.restDateString,f=p(l,m);if(isNaN(f))return new Date(NaN);if(f){var b,g=f.getTime(),y=0;if(a.time&&(y=h(a.time),isNaN(y)))return new Date(NaN);if(a.timeZone||t.timeZone){if(b=Object(i.a)(a.timeZone||t.timeZone,new Date(g+y)),isNaN(b))return new Date(NaN)}else b=c()(new Date(g+y)),b=c()(new Date(g+y+b));return new Date(g+y+b)}return new Date(NaN)}function u(e){var o,t={},n=m.dateTimePattern.exec(e);if(n?(t.date=n[1],o=n[3]):(n=m.datePattern.exec(e))?(t.date=n[1],o=n[2]):(t.date=null,o=e),o){var r=m.timeZone.exec(o);r?(t.time=o.replace(r[1],""),t.timeZone=r[1].trim()):t.time=o}return t}function d(e,o){var t,n=m.YYY[o],r=m.YYYYY[o];if(t=m.YYYY.exec(e)||r.exec(e)){var a=t[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(t=m.YY.exec(e)||n.exec(e)){var c=t[1];return{year:100*parseInt(c,10),restDateString:e.slice(c.length)}}return{year:null}}function p(e,o){if(null===o)return null;var t,n,r,a;if(0===e.length)return(n=new Date(0)).setUTCFullYear(o),n;if(t=m.MM.exec(e))return n=new Date(0),k(o,r=parseInt(t[1],10)-1)?(n.setUTCFullYear(o,r),n):new Date(NaN);if(t=m.DDD.exec(e)){n=new Date(0);var c=parseInt(t[1],10);return function(e,o){if(o<1)return!1;var t=y(e);if(t&&o>366)return!1;if(!t&&o>365)return!1;return!0}(o,c)?(n.setUTCFullYear(o,0,c),n):new Date(NaN)}if(t=m.MMDD.exec(e)){n=new Date(0),r=parseInt(t[1],10)-1;var i=parseInt(t[2],10);return k(o,r,i)?(n.setUTCFullYear(o,r,i),n):new Date(NaN)}if(t=m.Www.exec(e))return v(o,a=parseInt(t[1],10)-1)?f(o,a):new Date(NaN);if(t=m.WwwD.exec(e)){a=parseInt(t[1],10)-1;var s=parseInt(t[2],10)-1;return v(o,a,s)?f(o,a,s):new Date(NaN)}return null}function h(e){var o,t,n;if(o=m.HH.exec(e))return w(t=parseFloat(o[1].replace(",",".")))?t%24*36e5:NaN;if(o=m.HHMM.exec(e))return w(t=parseInt(o[1],10),n=parseFloat(o[2].replace(",",".")))?t%24*36e5+6e4*n:NaN;if(o=m.HHMMSS.exec(e)){t=parseInt(o[1],10),n=parseInt(o[2],10);var r=parseFloat(o[3].replace(",","."));return w(t,n,r)?t%24*36e5+6e4*n+1e3*r:NaN}return null}function f(e,o,t){o=o||0,t=t||0;var n=new Date(0);n.setUTCFullYear(e,0,4);var r=7*o+t+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+r),n}var b=[31,28,31,30,31,30,31,31,30,31,30,31],g=[31,29,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}function k(e,o,t){if(o<0||o>11)return!1;if(null!=t){if(t<1)return!1;var n=y(e);if(n&&t>g[o])return!1;if(!n&&t>b[o])return!1}return!0}function v(e,o,t){return!(o<0||o>52)&&(null==t||!(t<0||t>6))}function w(e,o,t){return(null==e||!(e<0||e>=25))&&((null==o||!(o<0||o>=60))&&(null==t||!(t<0||t>=60)))}},function(e,o,t){"use strict";e.exports=e=>{const o=/^\\\\\?\\/.test(e),t=/[^\u0000-\u0080]+/.test(e);return o||t?e:e.replace(/\\/g,"/")}},function(e,o,t){
|
|
2
2
|
//! stable.js 0.1.8, https://github.com/Two-Screen/stable
|
|
3
3
|
//! © 2018 Angry Bytes and contributors. MIT licensed.
|
|
4
4
|
e.exports=function(){"use strict";var e=function(e,t){return o(e.slice(),t)};function o(e,o){"function"!=typeof o&&(o=function(e,o){return String(e).localeCompare(o)});var n=e.length;if(n<=1)return e;for(var r=new Array(n),a=1;a<n;a*=2){t(e,o,a,r);var c=e;e=r,r=c}return e}e.inplace=function(e,n){var r=o(e,n);return r!==e&&t(r,null,e.length,e),e};var t=function(e,o,t,n){var r,a,c,i,s,m=e.length,l=0,u=2*t;for(r=0;r<m;r+=u)for(c=(a=r+t)+t,a>m&&(a=m),c>m&&(c=m),i=r,s=a;;)if(i<a&&s<c)o(e[i],e[s])<=0?n[l++]=e[i++]:n[l++]=e[s++];else if(i<a)n[l++]=e[i++];else{if(!(s<c))break;n[l++]=e[s++]}};return e}()},,,,,,function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){(0,r.default)(1,arguments);var o=1,t=(0,n.default)(e),a=t.getUTCDay(),c=(a<o?7:0)+a-o;return t.setUTCDate(t.getUTCDate()-c),t.setUTCHours(0,0,0,0),t};var n=a(t(62)),r=a(t(47));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=o.default},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,o){(0,r.default)(1,arguments);var t=o||{},c=t.locale,i=c&&c.options&&c.options.weekStartsOn,s=null==i?0:(0,a.default)(i),m=null==t.weekStartsOn?s:(0,a.default)(t.weekStartsOn);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var l=(0,n.default)(e),u=l.getUTCDay(),d=(u<m?7:0)+u-m;return l.setUTCDate(l.getUTCDate()-d),l.setUTCHours(0,0,0,0),l};var n=c(t(62)),r=c(t(47)),a=c(t(79));function c(e){return e&&e.__esModule?e:{default:e}}e.exports=o.default},function(e,o,t){var n=t(256),r=t(416);for(var a in(o=e.exports=function(e,o){return new r(o).process(e)}).FilterCSS=r,n)o[a]=n[a];"undefined"!=typeof window&&(window.filterCSS=e.exports)},function(e,o){e.exports={indexOf:function(e,o){var t,n;if(Array.prototype.indexOf)return e.indexOf(o);for(t=0,n=e.length;t<n;t++)if(e[t]===o)return t;return-1},forEach:function(e,o,t){var n,r;if(Array.prototype.forEach)return e.forEach(o,t);for(n=0,r=e.length;n<r;n++)o.call(t,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var o=/\s|\n|\t/.exec(e);return o?o.index:-1}}},function(e,o,t){var n=t(16),r=t(194),a=n["__core-js_shared__"]||r("__core-js_shared__",{});e.exports=a},function(e,o,t){var n=t(16),r=Object.defineProperty;e.exports=function(e,o){try{r(n,e,{value:o,configurable:!0,writable:!0})}catch(t){n[e]=o}return o}},function(e,o,t){var n=t(14),r=t(19),a=t(193),c=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(e){return c(e)}),e.exports=a.inspectSource},function(e,o){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,o,t){var n={};n[t(20)("toStringTag")]="z",e.exports="[object z]"===String(n)},function(e,o,t){var n=t(72),r=t(14);e.exports=function(e){if("Function"===n(e))return r(e)}},function(e,o,t){"use strict";var n=t(9);e.exports=function(e,o){var t=[][e];return!!t&&n((function(){t.call(null,o||function(){return 1},1)}))}},function(e,o,t){t(432),t(442),t(443),t(444),t(445),t(446)},function(e,o,t){var n=t(14),r=t(30),a=t(433);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,o=!1,t={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(t,[]),o=t instanceof Array}catch(e){}return function(t,n){return r(t),a(n),o?e(t,n):t.__proto__=n,t}}():void 0)},function(e,o,t){"use strict";var n=t(56),r=t(39),a=t(20),c=t(35),i=a("species");e.exports=function(e){var o=n(e),t=r.f;c&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})}},function(e,o,t){var n=t(14);e.exports=n([].slice)},function(e,o){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,o,t){var n=t(154),r=t(85),a=t(55),c=t(130),i=t(20)("iterator");e.exports=function(e){if(!a(e))return r(e,i)||r(e,"@@iterator")||c[n(e)]}},function(e,o,t){var n=t(20)("iterator"),r=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){r=!0}};c[n]=function(){return this},Array.from(c,(function(){throw 2}))}catch(e){}e.exports=function(e,o){if(!o&&!r)return!1;var t=!1;try{var a={};a[n]=function(){return{next:function(){return{done:t=!0}}}},e(a)}catch(e){}return t}},function(e,o,t){var n=t(148),r=t(73),a=t(152),c=Array,i=Math.max;e.exports=function(e,o,t){for(var s=r(e),m=n(o,s),l=n(void 0===t?s:t,s),u=c(i(l-m,0)),d=0;m<l;m++,d++)a(u,d,e[m]);return u.length=d,u}},function(e,o,t){"use strict";var n=t(10),r=t(23),a=t(65),c=t(117),i=t(19),s=t(454),m=t(209),l=t(201),u=t(125),d=t(86),p=t(51),h=t(20),f=t(130),b=t(288),g=c.PROPER,y=c.CONFIGURABLE,k=b.IteratorPrototype,v=b.BUGGY_SAFARI_ITERATORS,w=h("iterator"),x=function(){return this};e.exports=function(e,o,t,c,h,b,j){s(t,o,c);var O,z,S,_=function(e){if(e===h&&T)return T;if(!v&&e in P)return P[e];switch(e){case"keys":case"values":case"entries":return function(){return new t(this,e)}}return function(){return new t(this)}},E=o+" Iterator",C=!1,P=e.prototype,I=P[w]||P["@@iterator"]||h&&P[h],T=!v&&I||_(h),A="Array"==o&&P.entries||I;if(A&&(O=m(A.call(new e)))!==Object.prototype&&O.next&&(a||m(O)===k||(l?l(O,k):i(O[w])||p(O,w,x)),u(O,E,!0,!0),a&&(f[E]=x)),g&&"values"==h&&I&&"values"!==I.name&&(!a&&y?d(P,"name","values"):(C=!0,T=function(){return r(I,this)})),h)if(z={values:_("values"),keys:b?T:_("keys"),entries:_("entries")},j)for(S in z)(v||C||!(S in P))&&p(P,S,z[S]);else n({target:o,proto:!0,forced:v||C},z);return a&&!j||P[w]===T||p(P,w,T,{name:h}),f[o]=T,z}},function(e,o,t){var n=t(28),r=t(19),a=t(53),c=t(147),i=t(289),s=c("IE_PROTO"),m=Object,l=m.prototype;e.exports=i?m.getPrototypeOf:function(e){var o=a(e);if(n(o,s))return o[s];var t=o.constructor;return r(t)&&o instanceof t?t.prototype:o instanceof m?l:null}},function(e,o){e.exports=function(e,o){return{value:e,done:o}}},function(e,o,t){var n=t(19),r=t(29),a=t(201);e.exports=function(e,o,t){var c,i;return a&&n(c=o.constructor)&&c!==t&&r(i=c.prototype)&&i!==t.prototype&&a(e,i),e}},function(e,o,t){var n=t(51);e.exports=function(e,o,t){for(var r in o)n(e,r,o[r],t);return e}},function(e,o,t){var n=t(9),r=t(16).RegExp,a=n((function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c=a||n((function(){return!r("a","y").sticky})),i=a||n((function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:i,MISSED_STICKY:c,UNSUPPORTED_Y:a}},function(e,o,t){"use strict";var n=t(291).charAt;e.exports=function(e,o,t){return o+(t?n(e,o).length:1)}},function(e,o,t){"use strict";var n=t(10),r=t(268).includes,a=t(9),c=t(132);n({target:"Array",proto:!0,forced:a((function(){return!Array(1).includes()}))},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),c("includes")},function(e,o,t){"use strict";var n=t(10),r=t(14),a=t(296),c=t(64),i=t(43),s=t(297),m=r("".indexOf);n({target:"String",proto:!0,forced:!s("includes")},{includes:function(e){return!!~m(i(c(this)),i(a(e)),arguments.length>1?arguments[1]:void 0)}})},function(e,o,t){var n=t(29),r=t(72),a=t(20)("match");e.exports=function(e){var o;return n(e)&&(void 0!==(o=e[a])?!!o:"RegExp"==r(e))}},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.CLICK=o.SET_OPTIONS=o.CHANGE=o.SET=o.RESET=o.PANEL_ID=o.ADDON_ID=o.PARAM_KEY=void 0;o.PARAM_KEY="knobs";var n="storybookjs/knobs";o.ADDON_ID=n;var r="".concat(n,"/panel");o.PANEL_ID=r;var a="".concat(n,"/reset");o.RESET=a;var c="".concat(n,"/set");o.SET=c;var i="".concat(n,"/change");o.CHANGE=i;var s="".concat(n,"/set-options");o.SET_OPTIONS=s;var m="".concat(n,"/click");o.CLICK=m},function(e,o,t){"use strict";var n=SyntaxError,r=Function,a=TypeError,c=function(e){try{return r('"use strict"; return ('+e+").constructor;")()}catch(e){}},i=Object.getOwnPropertyDescriptor;if(i)try{i({},"")}catch(e){i=null}var s=function(){throw new a},m=i?function(){try{return s}catch(e){try{return i(arguments,"callee").get}catch(e){return s}}}():s,l=t(475)(),u=Object.getPrototypeOf||function(e){return e.__proto__},d={},p="undefined"==typeof Uint8Array?void 0:u(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":l?u([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":r,"%GeneratorFunction%":d,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":l?u(u([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&l?u((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&l?u((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":l?u(""[Symbol.iterator]()):void 0,"%Symbol%":l?Symbol:void 0,"%SyntaxError%":n,"%ThrowTypeError%":m,"%TypedArray%":p,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},f={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=t(220),g=t(478),y=b.call(Function.call,Array.prototype.concat),k=b.call(Function.apply,Array.prototype.splice),v=b.call(Function.call,String.prototype.replace),w=b.call(Function.call,String.prototype.slice),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,j=/\\(\\)?/g,O=function(e){var o=w(e,0,1),t=w(e,-1);if("%"===o&&"%"!==t)throw new n("invalid intrinsic syntax, expected closing `%`");if("%"===t&&"%"!==o)throw new n("invalid intrinsic syntax, expected opening `%`");var r=[];return v(e,x,(function(e,o,t,n){r[r.length]=t?v(n,j,"$1"):o||e})),r},z=function(e,o){var t,r=e;if(g(f,r)&&(r="%"+(t=f[r])[0]+"%"),g(h,r)){var i=h[r];if(i===d&&(i=function e(o){var t;if("%AsyncFunction%"===o)t=c("async function () {}");else if("%GeneratorFunction%"===o)t=c("function* () {}");else if("%AsyncGeneratorFunction%"===o)t=c("async function* () {}");else if("%AsyncGenerator%"===o){var n=e("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if("%AsyncIteratorPrototype%"===o){var r=e("%AsyncGenerator%");r&&(t=u(r.prototype))}return h[o]=t,t}(r)),void 0===i&&!o)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:t,name:r,value:i}}throw new n("intrinsic "+e+" does not exist!")};e.exports=function(e,o){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof o)throw new a('"allowMissing" argument must be a boolean');var t=O(e),r=t.length>0?t[0]:"",c=z("%"+r+"%",o),s=c.name,m=c.value,l=!1,u=c.alias;u&&(r=u[0],k(t,y([0,1],u)));for(var d=1,p=!0;d<t.length;d+=1){var f=t[d],b=w(f,0,1),v=w(f,-1);if(('"'===b||"'"===b||"`"===b||'"'===v||"'"===v||"`"===v)&&b!==v)throw new n("property names with quotes must have matching quotes");if("constructor"!==f&&p||(l=!0),g(h,s="%"+(r+="."+f)+"%"))m=h[s];else if(null!=m){if(!(f in m)){if(!o)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(i&&d+1>=t.length){var x=i(m,f);m=(p=!!x)&&"get"in x&&!("originalValue"in x.get)?x.get:m[f]}else p=g(m,f),m=m[f];p&&!l&&(h[s]=m)}}return m}},function(e,o,t){"use strict";var n=t(477);e.exports=Function.prototype.bind||n},function(e,o,t){"use strict";var n=String.prototype.replace,r=/%20/g,a="RFC1738",c="RFC3986";e.exports={default:c,formatters:{RFC1738:function(e){return n.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:a,RFC3986:c}},function(e,o,t){var n=t(308),r=t(505),a=t(313);e.exports=function(e){return a(e)?n(e):r(e)}},function(e,o,t){var n=t(500),r=t(102),a=Object.prototype,c=a.hasOwnProperty,i=a.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(e){return r(e)&&c.call(e,"callee")&&!i.call(e,"callee")};e.exports=s},function(e,o){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,o){var n=typeof e;return!!(o=null==o?9007199254740991:o)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<o}},function(e,o){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},function(e,o){e.exports=function(e,o){return e===o||e!=e&&o!=o}},function(e,o,t){var n=t(89)(t(68),"Map");e.exports=n},function(e,o,t){var n=t(519),r=t(526),a=t(528),c=t(529),i=t(530);function s(e){var o=-1,t=null==e?0:e.length;for(this.clear();++o<t;){var n=e[o];this.set(n[0],n[1])}}s.prototype.clear=n,s.prototype.delete=r,s.prototype.get=a,s.prototype.has=c,s.prototype.set=i,e.exports=s},function(e,o,t){var n=t(531),r=t(102);e.exports=function e(o,t,a,c,i){return o===t||(null==o||null==t||!r(o)&&!r(t)?o!=o&&t!=t:n(o,t,a,c,e,i))}},function(e,o){e.exports=function(e,o){for(var t=-1,n=o.length,r=e.length;++t<n;)e[r+t]=o[t];return e}},function(e,o,t){var n=t(169),r=t(135);e.exports=function(e,o){for(var t=0,a=(o=n(o,e)).length;null!=e&&t<a;)e=e[r(o[t++])];return t&&t==a?e:void 0}},function(e,o,t){var n=t(74),r=t(170),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;e.exports=function(e,o){if(n(e))return!1;var t=typeof e;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=e&&!r(e))||(c.test(e)||!a.test(e)||null!=o&&e in Object(o))}},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=7)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(7)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(234)},function(e,o){e.exports=t(83)},function(e,o,t){"use strict";t.r(o);var n=t(0),r=t.n(n),a=t(1),c=t(2),i=t.n(c),s=t(5),m=t(3),l=t.n(m),u=t(4);function d(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?d(Object(t),!0).forEach((function(o){h(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function h(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const f={maxWidth:1182,width:"100%",flexDirection:"row",alignItems:"center",height:50,flexGrow:1,flexShrink:0,marginLeft:"auto",marginRight:"auto"},b={alignItems:"center",backgroundColor:u.colours.functional.transparentWhite,borderRadius:14,height:28,justifyContent:"center",marginLeft:"auto",marginRight:20,width:28,padding:0,display:"inherit",border:"0px"},g=e=>p(p({color:u.colours.functional.white},Object(u.fontFactory)({font:"headline",fontSize:"secondary",scale:e})),{},{marginLeft:20}),y=e=>({messageBarBodyContainer:{backgroundColor:u.colours.functional.articleFlagUpdated,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffset:{height:2,width:0},shadowRadius:5,zIndex:10},messageBarBody:f,messageBarCloseButton:b,messageBarText:p({},g(e)),messageManager:{flex:1,width:"100%",zIndex:10}}),k={small:e=>p(p({},y(e)),{},{messageBarCloseButton:p(p({},b),{},{marginRight:10}),messageBarText:p(p({},g(e)),{},{marginLeft:10})}),medium:e=>p(p({},y(e)),{},{messageBarCloseButton:p(p({},b),{},{marginRight:10}),messageBarText:p(p({},g(e)),{},{marginLeft:60})}),wide:e=>p(p({},y(e)),{},{messageBarBody:p(p({},f),{},{maxWidth:1024})}),huge:e=>p({},y(e))};var v=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"huge";return k[o](e)};function w(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function x(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?w(Object(t),!0).forEach((function(o){j(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function j(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}const O=Object(m.keyframes)(["0%{transform:translateY(-51px)}90%{transform:translateY(5px)}100%{transform:translateY(0px)}"]),z=Object(m.keyframes)(["0%{transform:translateY(0px)}100%{transform:translateY(-51px)}"]),S=l()(a.TcView).withConfig({displayName:"styles__StyledAnimation",componentId:"sc-1oz68ne-0"})(["animation-name:",";animation-duration:0.25s;animation-timing-function:ease-in-out;&.close{transform:translateY(-51px);animation-name:",";animation-duration:0.25s;}"],O,z),_=l.a.button.withConfig({displayName:"styles__CloseButton",componentId:"sc-1oz68ne-1"})(["cursor:pointer;&.active{opacity:0.5;}:active{opacity:0.5;}"]);var E=(e,o)=>x(x({},v(e,o)),{},{messageManager:x(x({},v(e,o).messageManager),{},{position:"fixed",left:0})}),C=t(6);class P extends n.Component{constructor(e){super(e),this.closeMessage=this.closeMessage.bind(this),this.state={closeActive:!1}}componentDidMount(){const e=this.props.delay;this.timeout=setTimeout(()=>{this.closeMessage()},e)}componentDidUpdate(e){const o=this.props.message,t=e.message,n=e.delay;t===o&&(clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.closeMessage()},n))}componentWillUnmount(){this.timeout&&clearTimeout(this.timeout)}closeMessage(){const e=this.props.close;this.setState({closeActive:!0}),this.timeout=setTimeout(()=>{e()},250)}render(){const e=this.props,o=e.message,t=e.scale,n=e.breakpoint,c=E(t,n),i=this.state.closeActive;return r.a.createElement(S,{"data-testid":"Styled Animation",className:i?" close":""},r.a.createElement(a.TcView,{"data-testid":"message-bar",style:c.messageBarBodyContainer},r.a.createElement(a.TcView,{style:c.messageBarBody},r.a.createElement(a.TcText,{style:c.messageBarText},o),r.a.createElement(_,{style:c.messageBarCloseButton,className:i?" active":"",onClick:this.closeMessage},r.a.createElement(C.CloseIcon,{width:28,height:28,onClick:this.closeMessage})))))}}var I=P,T=r.a.createContext({message:null,showMessage:()=>{}});function A(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function N(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?A(Object(t),!0).forEach((function(o){D(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):A(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function D(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}class q extends n.Component{constructor(e){super(e),this.state={message:null,showMessage:e=>this.addMessage(e),offsetTop:0},this.addMessage=this.addMessage.bind(this),this.removeMessage=this.removeMessage.bind(this),this.onLayout=this.onLayout.bind(this)}onLayout(e){const o=e.nativeEvent.layout.y;this.setState({offsetTop:o})}removeMessage(){this.setState({message:null})}addMessage(e){this.setState({message:e})}render(){const e=this.props,o=e.scale,t=e.children,n=e.delay,c=this.state,i=c.message,m=c.offsetTop,l=E(o),u=m?{position:"fixed",top:m,height:i?50:0}:{};return r.a.createElement(a.TcView,null,r.a.createElement(a.TcView,{style:N(N({},l.messageManager),{},{offsetStyle:u})},i&&r.a.createElement(s.ResponsiveContext.Consumer,null,e=>{let t=e.editionBreakpoint;return r.a.createElement(I,{close:this.removeMessage,delay:n,message:i,scale:o,breakpoint:t})})),r.a.createElement(a.TcView,{onLayout:this.onLayout},r.a.createElement(T.Provider,{value:this.state},t)))}}i.a.string,i.a.node,i.a.number;var R=q;t.d(o,"MessageManager",(function(){return R})),t.d(o,"MessageBar",(function(){return I})),t.d(o,"MessageContext",(function(){return T}))}])},,,function(e,o,t){"use strict";t.r(o);var n=t(82),r=t(15),a=t(5);function c(e,o){Object(a.a)(2,arguments);var t=Object(r.a)(e),n=Object(r.a)(o),c=t.getTime()-n.getTime();return c<0?-1:c>0?1:c}function i(e){return function(e,o){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in o=o||{})Object.prototype.hasOwnProperty.call(o,t)&&(e[t]=o[t]);return e}({},e)}var s=t(180);t.d(o,"default",(function(){return m}));function m(e,o){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object(a.a)(2,arguments);var m=t.locale||s.a;if(!m.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var l=c(e,o);if(isNaN(l))throw new RangeError("Invalid time value");var u,d,p=i(t);p.addSuffix=Boolean(t.addSuffix),p.comparison=l,l>0?(u=Object(r.a)(o),d=Object(r.a)(e)):(u=Object(r.a)(e),d=Object(r.a)(o));var h,f=null==t.roundingMethod?"round":String(t.roundingMethod);if("floor"===f)h=Math.floor;else if("ceil"===f)h=Math.ceil;else{if("round"!==f)throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");h=Math.round}var b,g=d.getTime()-u.getTime(),y=g/6e4,k=Object(n.a)(d)-Object(n.a)(u),v=(g-k)/6e4;if("second"===(b=null==t.unit?y<1?"second":y<60?"minute":y<1440?"hour":v<43200?"day":v<525600?"month":"year":String(t.unit))){var w=h(g/1e3);return m.formatDistance("xSeconds",w,p)}if("minute"===b){var x=h(y);return m.formatDistance("xMinutes",x,p)}if("hour"===b){var j=h(y/60);return m.formatDistance("xHours",j,p)}if("day"===b){var O=h(v/1440);return m.formatDistance("xDays",O,p)}if("month"===b){var z=h(v/43200);return 12===z&&"month"!==t.unit?m.formatDistance("xYears",1,p):m.formatDistance("xMonths",z,p)}if("year"===b){var S=h(v/525600);return m.formatDistance("xYears",S,p)}throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}},,,,,,function(e,o,t){(function(o){var t;t="undefined"!=typeof window?window:void 0!==o?o:"undefined"!=typeof self?self:{},e.exports=t}).call(this,t(24))},function(e,o,t){e.exports=function e(o,t,n){function r(c,i){if(!t[c]){if(!o[c]){if(a)return a(c,!0);var s=new Error("Cannot find module '"+c+"'");throw s.code="MODULE_NOT_FOUND",s}var m=t[c]={exports:{}};o[c][0].call(m.exports,(function(e){var t=o[c][1][e];return r(t||e)}),m,m.exports,e,o,t,n)}return t[c].exports}for(var a=!1,c=0;c<n.length;c++)r(n[c]);return r}({1:[function(e,o,t){o.exports=function(o){return"function"!=typeof Map||o?new(e("./similar")):new Map}},{"./similar":2}],2:[function(e,o,t){function n(){return this.list=[],this.lastItem=void 0,this.size=0,this}n.prototype.get=function(e){var o;return this.lastItem&&this.isEqual(this.lastItem.key,e)?this.lastItem.val:(o=this.indexOf(e))>=0?(this.lastItem=this.list[o],this.list[o].val):void 0},n.prototype.set=function(e,o){var t;return this.lastItem&&this.isEqual(this.lastItem.key,e)?(this.lastItem.val=o,this):(t=this.indexOf(e))>=0?(this.lastItem=this.list[t],this.list[t].val=o,this):(this.lastItem={key:e,val:o},this.list.push(this.lastItem),this.size++,this)},n.prototype.delete=function(e){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,e)&&(this.lastItem=void 0),(o=this.indexOf(e))>=0)return this.size--,this.list.splice(o,1)[0]},n.prototype.has=function(e){var o;return!(!this.lastItem||!this.isEqual(this.lastItem.key,e))||(o=this.indexOf(e))>=0&&(this.lastItem=this.list[o],!0)},n.prototype.forEach=function(e,o){var t;for(t=0;t<this.size;t++)e.call(o||this,this.list[t].val,this.list[t].key,this)},n.prototype.indexOf=function(e){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,e))return o;return-1},n.prototype.isEqual=function(e,o){return e===o||e!=e&&o!=o},o.exports=n},{}],3:[function(e,o,t){var n=e("map-or-similar");function r(e,o){var t,n,r,a,c,i=e.length,s=o.length;for(n=0;n<i;n++){for(t=!0,r=0;r<s;r++)if(a=e[n][r].arg,c=o[r].arg,a!==c&&(a==a||c==c)){t=!1;break}if(t)break}e.push(e.splice(n,1)[0])}function a(e){var o,t,n=e.length,r=e[n-1];for(r.cacheItem.delete(r.arg),t=n-2;t>=0&&(!(o=(r=e[t]).cacheItem.get(r.arg))||!o.size);t--)r.cacheItem.delete(r.arg)}o.exports=function(e){var o=new n(!1),t=[];return function(c){var i=function i(){var s,m,l,u=o,d=arguments.length-1,p=Array(d+1),h=!0;if((i.numArgs||0===i.numArgs)&&i.numArgs!==d+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(l=0;l<d;l++)p[l]={cacheItem:u,arg:arguments[l]},u.has(arguments[l])?u=u.get(arguments[l]):(h=!1,s=new n(!1),u.set(arguments[l],s),u=s);return h&&(u.has(arguments[d])?m=u.get(arguments[d]):h=!1),h||(m=c.apply(null,arguments),u.set(arguments[d],m)),e>0&&(p[d]={cacheItem:u,arg:arguments[d]},h?r(t,p):t.push(p),t.length>e&&a(t.shift())),i.wasMemoized=h,i.numArgs=d+1,m};return i.limit=e,i.wasMemoized=!1,i.cache=o,i.lru=t,i}}},{"map-or-similar":1}]},{},[3])(3)},function(e,o,t){var n=t(561),r=t(564)((function(e,o){return null==e?{}:n(e,o)}));e.exports=r},,,,,function(e,o,t){"use strict";t.r(o),o.default=function(e,o){return o=o||{},new Promise((function(t,n){var r=new XMLHttpRequest,a=[],c=[],i={};for(var s in r.open(o.method||"get",e,!0),r.onload=function(){r.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(e,o,t){a.push(o=o.toLowerCase()),c.push([o,t]),i[o]=i[o]?i[o]+","+t:t})),t(function e(){return{ok:2==(r.status/100|0),statusText:r.statusText,status:r.status,url:r.responseURL,text:function(){return Promise.resolve(r.responseText)},json:function(){return Promise.resolve(r.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([r.response]))},clone:e,headers:{keys:function(){return a},entries:function(){return c},get:function(e){return i[e.toLowerCase()]},has:function(e){return e.toLowerCase()in i}}}}())},r.onerror=n,r.withCredentials="include"==o.credentials,o.headers)r.setRequestHeader(s,o.headers[s]);r.send(o.body||null)}))}},,function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e){(0,r.default)(1,arguments);var o=(0,n.default)(e),t=o.getUTCFullYear(),c=new Date(0);c.setUTCFullYear(t+1,0,4),c.setUTCHours(0,0,0,0);var i=(0,a.default)(c),s=new Date(0);s.setUTCFullYear(t,0,4),s.setUTCHours(0,0,0,0);var m=(0,a.default)(s);return o.getTime()>=i.getTime()?t+1:o.getTime()>=m.getTime()?t:t-1};var n=c(t(62)),r=c(t(47)),a=c(t(189));function c(e){return e&&e.__esModule?e:{default:e}}e.exports=o.default},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,o){(0,r.default)(1,arguments);var t=(0,n.default)(e),i=t.getUTCFullYear(),s=o||{},m=s.locale,l=m&&m.options&&m.options.firstWeekContainsDate,u=null==l?1:(0,c.default)(l),d=null==s.firstWeekContainsDate?u:(0,c.default)(s.firstWeekContainsDate);if(!(d>=1&&d<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(i+1,0,d),p.setUTCHours(0,0,0,0);var h=(0,a.default)(p,o),f=new Date(0);f.setUTCFullYear(i,0,d),f.setUTCHours(0,0,0,0);var b=(0,a.default)(f,o);return t.getTime()>=h.getTime()?i+1:t.getTime()>=b.getTime()?i:i-1};var n=i(t(62)),r=i(t(47)),a=i(t(190)),c=i(t(79));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=o.default},function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),o.default=function(e,o){var t=e<0?"-":"",n=Math.abs(e).toString();for(;n.length<o;)n="0"+n;return t+n},e.exports=o.default},function(e,o,t){var n=t(255),r=t(258),a=t(418);function c(e,o){return new a(o).process(e)}for(var i in(o=e.exports=c).filterXSS=c,o.FilterXSS=a,n)o[i]=n[i];for(var i in r)o[i]=r[i];"undefined"!=typeof window&&(window.filterXSS=e.exports),"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=e.exports)},function(e,o,t){var n=t(191).FilterCSS,r=t(191).getDefaultWhiteList,a=t(192);function c(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var i=new n;function s(e){return e.replace(m,"<").replace(l,">")}var m=/</g,l=/>/g,u=/"/g,d=/"/g,p=/&#([a-zA-Z0-9]*);?/gim,h=/:?/gim,f=/&newline;?/gim,b=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,g=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,y=/u\s*r\s*l\s*\(.*/gi;function k(e){return e.replace(u,""")}function v(e){return e.replace(d,'"')}function w(e){return e.replace(p,(function(e,o){return"x"===o[0]||"X"===o[0]?String.fromCharCode(parseInt(o.substr(1),16)):String.fromCharCode(parseInt(o,10))}))}function x(e){return e.replace(h,":").replace(f," ")}function j(e){for(var o="",t=0,n=e.length;t<n;t++)o+=e.charCodeAt(t)<32?" ":e.charAt(t);return a.trim(o)}function O(e){return e=j(e=x(e=w(e=v(e))))}function z(e){return e=s(e=k(e))}o.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},o.getDefaultWhiteList=c,o.onTag=function(e,o,t){},o.onIgnoreTag=function(e,o,t){},o.onTagAttr=function(e,o,t){},o.onIgnoreTagAttr=function(e,o,t){},o.safeAttrValue=function(e,o,t,n){if(t=O(t),"href"===o||"src"===o){if("#"===(t=a.trim(t)))return"#";if("http://"!==t.substr(0,7)&&"https://"!==t.substr(0,8)&&"mailto:"!==t.substr(0,7)&&"tel:"!==t.substr(0,4)&&"data:image/"!==t.substr(0,11)&&"ftp://"!==t.substr(0,6)&&"./"!==t.substr(0,2)&&"../"!==t.substr(0,3)&&"#"!==t[0]&&"/"!==t[0])return""}else if("background"===o){if(b.lastIndex=0,b.test(t))return""}else if("style"===o){if(g.lastIndex=0,g.test(t))return"";if(y.lastIndex=0,y.test(t)&&(b.lastIndex=0,b.test(t)))return"";!1!==n&&(t=(n=n||i).process(t))}return t=z(t)},o.escapeHtml=s,o.escapeQuote=k,o.unescapeQuote=v,o.escapeHtmlEntities=w,o.escapeDangerHtml5Entities=x,o.clearNonPrintableCharacter=j,o.friendlyAttrValue=O,o.escapeAttrValue=z,o.onIgnoreTagStripAll=function(){return""},o.StripTagBody=function(e,o){"function"!=typeof o&&(o=function(){});var t=!Array.isArray(e),n=[],r=!1;return{onIgnoreTag:function(c,i,s){if(function(o){return!!t||-1!==a.indexOf(e,o)}(c)){if(s.isClosing){var m="[/removed]",l=s.position+m.length;return n.push([!1!==r?r:s.position,l]),r=!1,m}return r||(r=s.position),"[removed]"}return o(c,i,s)},remove:function(e){var o="",t=0;return a.forEach(n,(function(n){o+=e.slice(t,n[0]),t=n[1]})),o+=e.slice(t)}}},o.stripCommentTag=function(e){for(var o="",t=0;t<e.length;){var n=e.indexOf("\x3c!--",t);if(-1===n){o+=e.slice(t);break}o+=e.slice(t,n);var r=e.indexOf("--\x3e",n);if(-1===r)break;t=r+3}return o},o.stripBlankChar=function(e){var o=e.split("");return(o=o.filter((function(e){var o=e.charCodeAt(0);return 127!==o&&(!(o<=31)||(10===o||13===o))}))).join("")},o.cssFilter=i,o.getDefaultCSSWhiteList=r},function(e,o){function t(){var e={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return e}var n=/javascript\s*\:/gim;o.whiteList=t(),o.getDefaultWhiteList=t,o.onAttr=function(e,o,t){},o.onIgnoreAttr=function(e,o,t){},o.safeAttrValue=function(e,o){return n.test(o)?"":o}},function(e,o){e.exports={indexOf:function(e,o){var t,n;if(Array.prototype.indexOf)return e.indexOf(o);for(t=0,n=e.length;t<n;t++)if(e[t]===o)return t;return-1},forEach:function(e,o,t){var n,r;if(Array.prototype.forEach)return e.forEach(o,t);for(n=0,r=e.length;n<r;n++)o.call(t,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}}},function(e,o,t){var n=t(192);function r(e){var o=n.spaceIndex(e);if(-1===o)var t=e.slice(1,-1);else t=e.slice(1,o+1);return"/"===(t=n.trim(t).toLowerCase()).slice(0,1)&&(t=t.slice(1)),"/"===t.slice(-1)&&(t=t.slice(0,-1)),t}function a(e){return"</"===e.slice(0,2)}var c=/[^a-zA-Z0-9_:\.\-]/gim;function i(e,o){for(;o<e.length;o++){var t=e[o];if(" "!==t)return"="===t?o:-1}}function s(e,o){for(;o>0;o--){var t=e[o];if(" "!==t)return"="===t?o:-1}}function m(e){return function(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}(e)?e.substr(1,e.length-2):e}o.parseTag=function(e,o,t){"use strict";var n="",c=0,i=!1,s=!1,m=0,l=e.length,u="",d="";e:for(m=0;m<l;m++){var p=e.charAt(m);if(!1===i){if("<"===p){i=m;continue}}else if(!1===s){if("<"===p){n+=t(e.slice(c,m)),i=m,c=m;continue}if(">"===p){n+=t(e.slice(c,i)),u=r(d=e.slice(i,m+1)),n+=o(i,n.length,u,d,a(d)),c=m+1,i=!1;continue}if('"'===p||"'"===p)for(var h=1,f=e.charAt(m-h);""===f.trim()||"="===f;){if("="===f){s=p;continue e}f=e.charAt(m-++h)}}else if(p===s){s=!1;continue}}return c<e.length&&(n+=t(e.substr(c))),n},o.parseAttr=function(e,o){"use strict";var t=0,r=[],a=!1,l=e.length;function u(e,t){if(!((e=(e=n.trim(e)).replace(c,"").toLowerCase()).length<1)){var a=o(e,t||"");a&&r.push(a)}}for(var d=0;d<l;d++){var p,h=e.charAt(d);if(!1!==a||"="!==h)if(!1===a||d!==t||'"'!==h&&"'"!==h||"="!==e.charAt(d-1))if(/\s|\n|\t/.test(h)){if(e=e.replace(/\s|\n|\t/g," "),!1===a){if(-1===(p=i(e,d))){u(n.trim(e.slice(t,d))),a=!1,t=d+1;continue}d=p-1;continue}if(-1===(p=s(e,d-1))){u(a,m(n.trim(e.slice(t,d)))),a=!1,t=d+1;continue}}else;else{if(-1===(p=e.indexOf(h,d+1)))break;u(a,n.trim(e.slice(t+1,p))),a=!1,t=(d=p)+1}else a=e.slice(t,d),t=d+1}return t<e.length&&(!1===a?u(e.slice(t)):u(a,m(n.trim(e.slice(t))))),n.trim(r.join(" "))}},,function(e,o,t){var n=t(35),r=t(9),a=t(142);e.exports=!n&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},function(e,o){var t="object"==typeof document&&document.all,n=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:n}},function(e,o,t){var n=t(35),r=t(9);e.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(e,o,t){var n=t(23),r=t(29),a=t(118),c=t(85),i=t(423),s=t(20),m=TypeError,l=s("toPrimitive");e.exports=function(e,o){if(!r(e)||a(e))return e;var t,s=c(e,l);if(s){if(void 0===o&&(o="default"),t=n(s,e,o),!r(t)||a(t))return t;throw m("Can't convert object to primitive value")}return void 0===o&&(o="number"),i(e,o)}},function(e,o,t){var n=t(94);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,o,t){var n=t(16),r=t(19),a=n.WeakMap;e.exports=r(a)&&/native code/.test(String(a))},function(e,o,t){var n=t(28),r=t(425),a=t(97),c=t(39);e.exports=function(e,o,t){for(var i=r(o),s=c.f,m=a.f,l=0;l<i.length;l++){var u=i[l];n(e,u)||t&&n(t,u)||s(e,u,m(o,u))}}},function(e,o,t){var n=t(14),r=t(28),a=t(66),c=t(268).indexOf,i=t(121),s=n([].push);e.exports=function(e,o){var t,n=a(e),m=0,l=[];for(t in n)!r(i,t)&&r(n,t)&&s(l,t);for(;o.length>m;)r(n,t=o[m++])&&(~c(l,t)||s(l,t));return l}},function(e,o,t){var n=t(66),r=t(148),a=t(73),c=function(e){return function(o,t,c){var i,s=n(o),m=a(s),l=r(c,m);if(e&&t!=t){for(;m>l;)if((i=s[l++])!=i)return!0}else for(;m>l;l++)if((e||l in s)&&s[l]===t)return e||l||0;return!e&&-1}};e.exports={includes:c(!0),indexOf:c(!1)}},function(e,o,t){var n=t(428);e.exports=function(e,o){return new(n(e))(0===o?0:o)}},function(e,o){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,o,t){var n=t(142)("span").classList,r=n&&n.constructor&&n.constructor.prototype;e.exports=r===Object.prototype?void 0:r},function(e,o,t){var n=t(35),r=t(14),a=t(124),c=t(66),i=r(t(145).f),s=r([].push),m=function(e){return function(o){for(var t,r=c(o),m=a(r),l=m.length,u=0,d=[];l>u;)t=m[u++],n&&!i(r,t)||s(d,e?[t,r[t]]:r[t]);return d}};e.exports={entries:m(!0),values:m(!1)}},function(e,o,t){var n=t(30),r=t(434),a=t(55),c=t(20)("species");e.exports=function(e,o){var t,i=n(e).constructor;return void 0===i||a(t=n(i)[c])?o:r(t)}},function(e,o,t){var n=t(56);e.exports=n("document","documentElement")},function(e,o,t){var n=t(84);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},function(e,o){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},function(e,o,t){var n=t(20),r=t(130),a=n("iterator"),c=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||c[a]===e)}},function(e,o,t){var n=t(23),r=t(77),a=t(30),c=t(95),i=t(205),s=TypeError;e.exports=function(e,o){var t=arguments.length<2?i(e):o;if(r(t))return a(n(t,e));throw s(c(e)+" is not iterable")}},function(e,o,t){var n=t(23),r=t(30),a=t(85);e.exports=function(e,o,t){var c,i;r(e);try{if(!(c=a(e,"return"))){if("throw"===o)throw t;return t}c=n(c,e)}catch(e){i=!0,c=e}if("throw"===o)throw t;if(i)throw c;return r(c),t}},function(e,o,t){var n=t(126),r=t(206),a=t(127).CONSTRUCTOR;e.exports=a||!r((function(e){n.all(e).then(void 0,(function(){}))}))},function(e,o,t){var n=t(9);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,o,t){var n=t(72),r=t(66),a=t(98).f,c=t(207),i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return i&&"Window"==n(e)?function(e){try{return a(e)}catch(e){return c(i)}}(e):a(r(e))}},function(e,o,t){var n=t(9),r=t(29),a=t(72),c=t(450),i=Object.isExtensible,s=n((function(){i(1)}));e.exports=s||c?function(e){return!!r(e)&&((!c||"ArrayBuffer"!=a(e))&&(!i||i(e)))}:i},function(e,o,t){var n=t(23),r=t(28),a=t(76),c=t(285),i=RegExp.prototype;e.exports=function(e){var o=e.flags;return void 0!==o||"flags"in i||r(e,"flags")||!a(i,e)?o:n(c,e)}},function(e,o,t){"use strict";var n=t(30);e.exports=function(){var e=n(this),o="";return e.hasIndices&&(o+="d"),e.global&&(o+="g"),e.ignoreCase&&(o+="i"),e.multiline&&(o+="m"),e.dotAll&&(o+="s"),e.unicode&&(o+="u"),e.unicodeSets&&(o+="v"),e.sticky&&(o+="y"),o}},function(e,o,t){"use strict";var n=t(10),r=t(87).find,a=t(132),c=!0;"find"in[]&&Array(1).find((function(){c=!1})),n({target:"Array",proto:!0,forced:c},{find:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),a("find")},function(e,o,t){var n=t(35),r=t(262),a=t(39),c=t(30),i=t(66),s=t(124);o.f=n&&!r?Object.defineProperties:function(e,o){c(e);for(var t,n=i(o),r=s(o),m=r.length,l=0;m>l;)a.f(e,t=r[l++],n[t]);return e}},function(e,o,t){"use strict";var n,r,a,c=t(9),i=t(19),s=t(29),m=t(100),l=t(209),u=t(51),d=t(20),p=t(65),h=d("iterator"),f=!1;[].keys&&("next"in(a=[].keys())?(r=l(l(a)))!==Object.prototype&&(n=r):f=!0),!s(n)||c((function(){var e={};return n[h].call(e)!==e}))?n={}:p&&(n=m(n)),i(n[h])||u(n,h,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:f}},function(e,o,t){var n=t(9);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,o,t){"use strict";var n=t(10),r=t(16),a=t(14),c=t(123),i=t(51),s=t(131),m=t(129),l=t(158),u=t(19),d=t(55),p=t(29),h=t(9),f=t(206),b=t(125),g=t(211);e.exports=function(e,o,t){var y=-1!==e.indexOf("Map"),k=-1!==e.indexOf("Weak"),v=y?"set":"add",w=r[e],x=w&&w.prototype,j=w,O={},z=function(e){var o=a(x[e]);i(x,e,"add"==e?function(e){return o(this,0===e?0:e),this}:"delete"==e?function(e){return!(k&&!p(e))&&o(this,0===e?0:e)}:"get"==e?function(e){return k&&!p(e)?void 0:o(this,0===e?0:e)}:"has"==e?function(e){return!(k&&!p(e))&&o(this,0===e?0:e)}:function(e,t){return o(this,0===e?0:e,t),this})};if(c(e,!u(w)||!(k||x.forEach&&!h((function(){(new w).entries().next()})))))j=t.getConstructor(o,e,y,v),s.enable();else if(c(e,!0)){var S=new j,_=S[v](k?{}:-0,1)!=S,E=h((function(){S.has(1)})),C=f((function(e){new w(e)})),P=!k&&h((function(){for(var e=new w,o=5;o--;)e[v](o,o);return!e.has(-0)}));C||((j=o((function(e,o){l(e,x);var t=g(new w,e,j);return d(o)||m(o,t[v],{that:t,AS_ENTRIES:y}),t}))).prototype=x,x.constructor=j),(E||P)&&(z("delete"),z("has"),y&&z("get")),(P||_)&&z(v),k&&x.clear&&delete x.clear}return O[e]=j,n({global:!0,constructor:!0,forced:j!=w},O),b(j,e),k||t.setStrong(j,e,y),j}},function(e,o,t){var n=t(14),r=t(149),a=t(43),c=t(64),i=n("".charAt),s=n("".charCodeAt),m=n("".slice),l=function(e){return function(o,t){var n,l,u=a(c(o)),d=r(t),p=u.length;return d<0||d>=p?e?"":void 0:(n=s(u,d))<55296||n>56319||d+1===p||(l=s(u,d+1))<56320||l>57343?e?i(u,d):n:e?m(u,d,d+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},function(e,o,t){var n=t(9),r=t(16).RegExp;e.exports=n((function(){var e=r(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},function(e,o,t){var n=t(9),r=t(16).RegExp;e.exports=n((function(){var e=r("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},function(e,o,t){"use strict";var n=t(160),r=t(23),a=t(14),c=t(163),i=t(9),s=t(30),m=t(19),l=t(55),u=t(149),d=t(122),p=t(43),h=t(64),f=t(214),b=t(85),g=t(457),y=t(164),k=t(20)("replace"),v=Math.max,w=Math.min,x=a([].concat),j=a([].push),O=a("".indexOf),z=a("".slice),S="$0"==="a".replace(/./,"$0"),_=!!/./[k]&&""===/./[k]("a","$0");c("replace",(function(e,o,t){var a=_?"$":"$0";return[function(e,t){var n=h(this),a=l(e)?void 0:b(e,k);return a?r(a,e,n,t):r(o,p(n),e,t)},function(e,r){var c=s(this),i=p(e);if("string"==typeof r&&-1===O(r,a)&&-1===O(r,"$<")){var l=t(o,c,i,r);if(l.done)return l.value}var h=m(r);h||(r=p(r));var b=c.global;if(b){var k=c.unicode;c.lastIndex=0}for(var S=[];;){var _=y(c,i);if(null===_)break;if(j(S,_),!b)break;""===p(_[0])&&(c.lastIndex=f(i,d(c.lastIndex),k))}for(var E,C="",P=0,I=0;I<S.length;I++){for(var T=p((_=S[I])[0]),A=v(w(u(_.index),i.length),0),N=[],D=1;D<_.length;D++)j(N,void 0===(E=_[D])?E:String(E));var q=_.groups;if(h){var R=x([T],N,A,i);void 0!==q&&j(R,q);var M=p(n(r,void 0,R))}else M=g(T,i,A,N,q,r);A>=P&&(C+=z(i,P,A)+M,P=A+T.length)}return C+z(i,P)}]}),!!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||_)},function(e,o,t){"use strict";t.d(o,"a",(function(){return h})),t.d(o,"b",(function(){return g})),t.d(o,"h",(function(){return x})),t.d(o,"d",(function(){return j})),t.d(o,"k",(function(){return z})),t.d(o,"l",(function(){return _})),t.d(o,"j",(function(){return E})),t.d(o,"f",(function(){return C})),t.d(o,"e",(function(){return P})),t.d(o,"m",(function(){return I})),t.d(o,"i",(function(){return T})),t.d(o,"c",(function(){return A})),t.d(o,"g",(function(){return N}));t(33),t(22),t(36),t(458),t(37),t(133),t(57),t(215),t(216),t(25),t(78),t(52),t(59),t(44),t(31),t(40),t(41),t(45),t(32),t(26);var n=t(112),r=t.n(n),a=t(18),c=t(49),i=t(60);function s(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||l(e,o)||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 m(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,o){if(e){if("string"==typeof e)return u(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,o):void 0}}function u(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function d(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var p=r.a.window,h=function(){function e(){var o=this;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=function(e){e===o.currentContext.id&&(o.triggerEffects(),o.currentContext=null,o.removeRenderListeners())},this.init()}var o,t,n;return o=e,(t=[{key:"init",value:function(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=this.mountedDecorators,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}},{key:"clean",value:function(){this.prevEffects.forEach((function(e){e.destroy&&e.destroy()})),this.init(),this.removeRenderListeners()}},{key:"getNextHook",value:function(){var e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}},{key:"triggerEffects",value:function(){var e=this;this.prevEffects.forEach((function(o){!e.currentEffects.includes(o)&&o.destroy&&o.destroy()})),this.currentEffects.forEach((function(o){e.prevEffects.includes(o)||(o.destroy=o.create())})),this.prevEffects=this.currentEffects,this.currentEffects=[]}},{key:"addRenderListeners",value:function(){this.removeRenderListeners(),i.c.getChannel().on(c.STORY_RENDERED,this.renderListener)}},{key:"removeRenderListeners",value:function(){i.c.getChannel().removeListener(c.STORY_RENDERED,this.renderListener)}}])&&d(o.prototype,t),n&&d(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}();function f(e){return function(){var o="function"==typeof(arguments.length<=0?void 0:arguments[0])?arguments.length<=1?void 0:arguments[1]:arguments.length<=0?void 0:arguments[0],t=o.hooks,n=t.currentPhase,r=t.currentHooks,a=t.nextHookIndex,c=t.currentDecoratorName;t.currentDecoratorName=e.name,t.prevMountedDecorators.has(e)?(t.currentPhase="UPDATE",t.currentHooks=t.hookListsMap.get(e)||[]):(t.currentPhase="MOUNT",t.currentHooks=[],t.hookListsMap.set(e,t.currentHooks),t.prevMountedDecorators.add(e)),t.nextHookIndex=0;var i=p.STORYBOOK_HOOKS_CONTEXT;p.STORYBOOK_HOOKS_CONTEXT=t;var s=e.apply(void 0,arguments);if(p.STORYBOOK_HOOKS_CONTEXT=i,"UPDATE"===t.currentPhase&&null!=t.getNextHook())throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return t.currentPhase=n,t.currentHooks=r,t.nextHookIndex=a,t.currentDecoratorName=c,s}}var b=0,g=function(e){return function(o,t){var n=e(f(o),t.map((function(e){return f(e)})));return function(e){var r=e.hooks;r.prevMountedDecorators=r.mountedDecorators,r.mountedDecorators=new Set([o].concat(m(t))),r.currentContext=e,r.hasUpdates=!1;var a=n(e);for(b=1;r.hasUpdates;)if(r.hasUpdates=!1,r.currentEffects=[],a=n(e),(b+=1)>25)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return r.addRenderListeners(),a}}},y=function(){return new Error("Storybook preview hooks can only be called inside decorators and story functions.")};function k(){return p.STORYBOOK_HOOKS_CONTEXT||null}function v(){var e=k();if(null==e)throw y();return e}function w(e,o,t){return function(e,o,t){var n=v();if("MOUNT"===n.currentPhase){null==t||Array.isArray(t)||a.a.warn("".concat(e," received a final argument that is not an array (instead, received ").concat(t,"). When specified, the final argument must be an array."));var r={name:e,deps:t};return n.currentHooks.push(r),o(r),r}if("UPDATE"===n.currentPhase){var c=n.getNextHook();if(null==c)throw new Error("Rendered more hooks than during the previous render.");return c.name!==e&&a.a.warn("Storybook has detected a change in the order of Hooks".concat(n.currentDecoratorName?" called by ".concat(n.currentDecoratorName):"",". This will lead to bugs and errors if not fixed.")),null!=t&&null==c.deps&&a.a.warn("".concat(e," received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.")),null!=t&&null!=c.deps&&t.length!==c.deps.length&&a.a.warn("The final argument passed to ".concat(e," changed size between renders. The order and size of this array must remain constant.\nPrevious: ").concat(c.deps,"\nIncoming: ").concat(t)),null!=t&&null!=c.deps&&function(e,o){return e.length===o.length&&e.every((function(e,t){return e===o[t]}))}(t,c.deps)||(o(c),c.deps=t),c}throw y()}(e,(function(e){e.memoizedState=o()}),t).memoizedState}function x(e,o){return w("useMemo",e,o)}function j(e,o){return w("useCallback",(function(){return e}),o)}function O(e,o){return w(e,(function(){return{current:o}}),[])}function z(e){return O("useRef",e)}function S(e,o){var t=O(e,"function"==typeof o?o():o);return[t.current,function(e){t.current="function"==typeof e?e(t.current):e,function(){var e=k();if(null!=e&&"NONE"!==e.currentPhase)e.hasUpdates=!0;else try{i.c.getChannel().emit(c.FORCE_RE_RENDER)}catch(e){a.a.warn("State updates of Storybook preview hooks work only in browser")}}()}]}function _(e){return S("useState",e)}function E(e,o,t){var n=s(S("useReducer",null!=t?function(){return t(o)}:o),2),r=n[0],a=n[1];return[r,function(o){return a((function(t){return e(t,o)}))}]}function C(e,o){var t=v(),n=w("useEffect",(function(){return{create:e}}),o);t.currentEffects.includes(n)||t.currentEffects.push(n)}function P(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=i.c.getChannel();return C((function(){return Object.entries(e).forEach((function(e){var o=s(e,2),n=o[0],r=o[1];return t.on(n,r)})),function(){Object.entries(e).forEach((function(e){var o=s(e,2),n=o[0],r=o[1];return t.removeListener(n,r)}))}}),[].concat(m(Object.keys(e)),m(o))),j(t.emit.bind(t),[t])}function I(){var e=v().currentContext;if(null==e)throw y();return e}function T(e,o){var t,n=I().parameters;if(e)return null!==(t=n[e])&&void 0!==t?t:o}function A(){var e=i.c.getChannel(),o=I(),t=o.id;return[o.args,j((function(o){return e.emit(c.UPDATE_STORY_ARGS,{storyId:t,updatedArgs:o})}),[e,t]),j((function(o){return e.emit(c.RESET_STORY_ARGS,{storyId:t,argNames:o})}),[e,t])]}function N(){var e=i.c.getChannel();return[I().globals,j((function(o){return e.emit(c.UPDATE_GLOBALS,{globals:o})}),[e])]}},function(e,o,t){var n=t(217),r=TypeError;e.exports=function(e){if(n(e))throw r("The method doesn't accept regular expressions");return e}},function(e,o,t){var n=t(20)("match");e.exports=function(e){var o=/./;try{"/./"[e](o)}catch(t){try{return o[n]=!1,"/./"[e](o)}catch(e){}}return!1}},function(e,o,t){var n=t(20);o.f=n},function(e,o,t){var n=t(462),r=t(28),a=t(298),c=t(39).f;e.exports=function(e){var o=n.Symbol||(n.Symbol={});r(o,e)||c(o,e,{value:a.f(e)})}},function(e,o,t){var n=t(94);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},function(e,o,t){"use strict";var n=t(221),r=Object.prototype.hasOwnProperty,a=Array.isArray,c=function(){for(var e=[],o=0;o<256;++o)e.push("%"+((o<16?"0":"")+o.toString(16)).toUpperCase());return e}(),i=function(e,o){for(var t=o&&o.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(t[n]=e[n]);return t};e.exports={arrayToObject:i,assign:function(e,o){return Object.keys(o).reduce((function(e,t){return e[t]=o[t],e}),e)},combine:function(e,o){return[].concat(e,o)},compact:function(e){for(var o=[{obj:{o:e},prop:"o"}],t=[],n=0;n<o.length;++n)for(var r=o[n],c=r.obj[r.prop],i=Object.keys(c),s=0;s<i.length;++s){var m=i[s],l=c[m];"object"==typeof l&&null!==l&&-1===t.indexOf(l)&&(o.push({obj:c,prop:m}),t.push(l))}return function(e){for(;e.length>1;){var o=e.pop(),t=o.obj[o.prop];if(a(t)){for(var n=[],r=0;r<t.length;++r)void 0!==t[r]&&n.push(t[r]);o.obj[o.prop]=n}}}(o),e},decode:function(e,o,t){var n=e.replace(/\+/g," ");if("iso-8859-1"===t)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,o,t,r,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===t)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",m=0;m<i.length;++m){var l=i.charCodeAt(m);45===l||46===l||95===l||126===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||a===n.RFC1738&&(40===l||41===l)?s+=i.charAt(m):l<128?s+=c[l]:l<2048?s+=c[192|l>>6]+c[128|63&l]:l<55296||l>=57344?s+=c[224|l>>12]+c[128|l>>6&63]+c[128|63&l]:(m+=1,l=65536+((1023&l)<<10|1023&i.charCodeAt(m)),s+=c[240|l>>18]+c[128|l>>12&63]+c[128|l>>6&63]+c[128|63&l])}return s},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,o){if(a(e)){for(var t=[],n=0;n<e.length;n+=1)t.push(o(e[n]));return t}return o(e)},merge:function e(o,t,n){if(!t)return o;if("object"!=typeof t){if(a(o))o.push(t);else{if(!o||"object"!=typeof o)return[o,t];(n&&(n.plainObjects||n.allowPrototypes)||!r.call(Object.prototype,t))&&(o[t]=!0)}return o}if(!o||"object"!=typeof o)return[o].concat(t);var c=o;return a(o)&&!a(t)&&(c=i(o,n)),a(o)&&a(t)?(t.forEach((function(t,a){if(r.call(o,a)){var c=o[a];c&&"object"==typeof c&&t&&"object"==typeof t?o[a]=e(c,t,n):o.push(t)}else o[a]=t})),o):Object.keys(t).reduce((function(o,a){var c=t[a];return r.call(o,a)?o[a]=e(o[a],c,n):o[a]=c,o}),c)}}},function(e,o,t){var n=function(e){"use strict";var o=Object.prototype,t=o.hasOwnProperty,n=Object.defineProperty||function(e,o,t){e[o]=t.value},r="function"==typeof Symbol?Symbol:{},a=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function s(e,o,t){return Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[o]}try{s({},"")}catch(e){s=function(e,o,t){return e[o]=t}}function m(e,o,t,r){var a=o&&o.prototype instanceof d?o:d,c=Object.create(a.prototype),i=new z(r||[]);return n(c,"_invoke",{value:w(e,t,i)}),c}function l(e,o,t){try{return{type:"normal",arg:e.call(o,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=m;var u={};function d(){}function p(){}function h(){}var f={};s(f,a,(function(){return this}));var b=Object.getPrototypeOf,g=b&&b(b(S([])));g&&g!==o&&t.call(g,a)&&(f=g);var y=h.prototype=d.prototype=Object.create(f);function k(e){["next","throw","return"].forEach((function(o){s(e,o,(function(e){return this._invoke(o,e)}))}))}function v(e,o){var r;n(this,"_invoke",{value:function(n,a){function c(){return new o((function(r,c){!function n(r,a,c,i){var s=l(e[r],e,a);if("throw"!==s.type){var m=s.arg,u=m.value;return u&&"object"==typeof u&&t.call(u,"__await")?o.resolve(u.__await).then((function(e){n("next",e,c,i)}),(function(e){n("throw",e,c,i)})):o.resolve(u).then((function(e){m.value=e,c(m)}),(function(e){return n("throw",e,c,i)}))}i(s.arg)}(n,a,r,c)}))}return r=r?r.then(c,c):c()}})}function w(e,o,t){var n="suspendedStart";return function(r,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===r)throw a;return _()}for(t.method=r,t.arg=a;;){var c=t.delegate;if(c){var i=x(c,t);if(i){if(i===u)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===n)throw n="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n="executing";var s=l(e,o,t);if("normal"===s.type){if(n=t.done?"completed":"suspendedYield",s.arg===u)continue;return{value:s.arg,done:t.done}}"throw"===s.type&&(n="completed",t.method="throw",t.arg=s.arg)}}}function x(e,o){var t=o.method,n=e.iterator[t];if(void 0===n)return o.delegate=null,"throw"===t&&e.iterator.return&&(o.method="return",o.arg=void 0,x(e,o),"throw"===o.method)||"return"!==t&&(o.method="throw",o.arg=new TypeError("The iterator does not provide a '"+t+"' method")),u;var r=l(n,e.iterator,o.arg);if("throw"===r.type)return o.method="throw",o.arg=r.arg,o.delegate=null,u;var a=r.arg;return a?a.done?(o[e.resultName]=a.value,o.next=e.nextLoc,"return"!==o.method&&(o.method="next",o.arg=void 0),o.delegate=null,u):a:(o.method="throw",o.arg=new TypeError("iterator result is not an object"),o.delegate=null,u)}function j(e){var o={tryLoc:e[0]};1 in e&&(o.catchLoc=e[1]),2 in e&&(o.finallyLoc=e[2],o.afterLoc=e[3]),this.tryEntries.push(o)}function O(e){var o=e.completion||{};o.type="normal",delete o.arg,e.completion=o}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function S(e){if(e){var o=e[a];if(o)return o.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function o(){for(;++n<e.length;)if(t.call(e,n))return o.value=e[n],o.done=!1,o;return o.value=void 0,o.done=!0,o};return r.next=r}}return{next:_}}function _(){return{value:void 0,done:!0}}return p.prototype=h,n(y,"constructor",{value:h,configurable:!0}),n(h,"constructor",{value:p,configurable:!0}),p.displayName=s(h,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var o="function"==typeof e&&e.constructor;return!!o&&(o===p||"GeneratorFunction"===(o.displayName||o.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,i,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},k(v.prototype),s(v.prototype,c,(function(){return this})),e.AsyncIterator=v,e.async=function(o,t,n,r,a){void 0===a&&(a=Promise);var c=new v(m(o,t,n,r),a);return e.isGeneratorFunction(t)?c:c.next().then((function(e){return e.done?e.value:c.next()}))},k(y),s(y,i,"Generator"),s(y,a,(function(){return this})),s(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var o=Object(e),t=[];for(var n in o)t.push(n);return t.reverse(),function e(){for(;t.length;){var n=t.pop();if(n in o)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=S,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(O),!e)for(var o in this)"t"===o.charAt(0)&&t.call(this,o)&&!isNaN(+o.slice(1))&&(this[o]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var o=this;function n(t,n){return c.type="throw",c.arg=e,o.next=t,n&&(o.method="next",o.arg=void 0),!!n}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var i=t.call(a,"catchLoc"),s=t.call(a,"finallyLoc");if(i&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(i){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,o){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&t.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=o&&o<=a.finallyLoc&&(a=null);var c=a?a.completion:{};return c.type=e,c.arg=o,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(c)},complete:function(e,o){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&o&&(this.next=o),u},finish:function(e){for(var o=this.tryEntries.length-1;o>=0;--o){var t=this.tryEntries[o];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),u}},catch:function(e){for(var o=this.tryEntries.length-1;o>=0;--o){var t=this.tryEntries[o];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var r=n.arg;O(t)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,t){return this.delegate={iterator:S(e),resultName:o,nextLoc:t},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,o,t){var n=t(304);e.exports=function(e,o,t){"__proto__"==o&&n?n(e,o,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[o]=t}},function(e,o,t){var n=t(89),r=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,o,t){var n=t(101),r=t(90);e.exports=function(e){if(!r(e))return!1;var o=n(e);return"[object Function]"==o||"[object GeneratorFunction]"==o||"[object AsyncFunction]"==o||"[object Proxy]"==o}},function(e,o,t){(function(o){var t="object"==typeof o&&o&&o.Object===Object&&o;e.exports=t}).call(this,t(24))},function(e,o){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,o,t){var n=t(499),r=t(223),a=t(74),c=t(309),i=t(224),s=t(310),m=Object.prototype.hasOwnProperty;e.exports=function(e,o){var t=a(e),l=!t&&r(e),u=!t&&!l&&c(e),d=!t&&!l&&!u&&s(e),p=t||l||u||d,h=p?n(e.length,String):[],f=h.length;for(var b in e)!o&&!m.call(e,b)||p&&("length"==b||u&&("offset"==b||"parent"==b)||d&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||i(b,f))||h.push(b);return h}},function(e,o,t){(function(e){var n=t(68),r=t(501),a=o&&!o.nodeType&&o,c=a&&"object"==typeof e&&e&&!e.nodeType&&e,i=c&&c.exports===a?n.Buffer:void 0,s=(i?i.isBuffer:void 0)||r;e.exports=s}).call(this,t(114)(e))},function(e,o,t){var n=t(502),r=t(503),a=t(504),c=a&&a.isTypedArray,i=c?r(c):n;e.exports=i},function(e,o){var t=Object.prototype;e.exports=function(e){var o=e&&e.constructor;return e===("function"==typeof o&&o.prototype||t)}},function(e,o){e.exports=function(e,o){return function(t){return e(o(t))}}},function(e,o,t){var n=t(305),r=t(225);e.exports=function(e){return null!=e&&r(e.length)&&!n(e)}},function(e,o,t){var n=t(507),r=t(550),a=t(324),c=t(74),i=t(558);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?c(e)?r(e[0],e[1]):n(e):i(e)}},function(e,o,t){var n=t(165),r=t(514),a=t(515),c=t(516),i=t(517),s=t(518);function m(e){var o=this.__data__=new n(e);this.size=o.size}m.prototype.clear=r,m.prototype.delete=a,m.prototype.get=c,m.prototype.has=i,m.prototype.set=s,e.exports=m},function(e,o,t){var n=t(532),r=t(535),a=t(536);e.exports=function(e,o,t,c,i,s){var m=1&t,l=e.length,u=o.length;if(l!=u&&!(m&&u>l))return!1;var d=s.get(e),p=s.get(o);if(d&&p)return d==o&&p==e;var h=-1,f=!0,b=2&t?new n:void 0;for(s.set(e,o),s.set(o,e);++h<l;){var g=e[h],y=o[h];if(c)var k=m?c(y,g,h,o,e,s):c(g,y,h,e,o,s);if(void 0!==k){if(k)continue;f=!1;break}if(b){if(!r(o,(function(e,o){if(!a(b,o)&&(g===e||i(g,e,t,c,s)))return b.push(o)}))){f=!1;break}}else if(g!==y&&!i(g,y,t,c,s)){f=!1;break}}return s.delete(e),s.delete(o),f}},function(e,o,t){var n=t(230),r=t(74);e.exports=function(e,o,t){var a=o(e);return r(e)?a:n(a,t(e))}},function(e,o,t){var n=t(543),r=t(319),a=Object.prototype.propertyIsEnumerable,c=Object.getOwnPropertySymbols,i=c?function(e){return null==e?[]:(e=Object(e),n(c(e),(function(o){return a.call(e,o)})))}:r;e.exports=i},function(e,o){e.exports=function(){return[]}},function(e,o,t){var n=t(90);e.exports=function(e){return e==e&&!n(e)}},function(e,o){e.exports=function(e,o){return function(t){return null!=t&&(t[e]===o&&(void 0!==o||e in Object(t)))}}},function(e,o){e.exports=function(e,o){for(var t=-1,n=null==e?0:e.length,r=Array(n);++t<n;)r[t]=o(e[t],t,e);return r}},function(e,o,t){var n=t(556),r=t(557);e.exports=function(e,o){return null!=e&&r(e,o,n)}},function(e,o){e.exports=function(e){return e}},function(e,o,t){var n=t(231),r=t(562),a=t(169);e.exports=function(e,o,t){for(var c=-1,i=o.length,s={};++c<i;){var m=o[c],l=n(e,m);t(l,m)&&r(s,a(m,e),l)}return s}},function(e,o,t){var n=t(14),r=t(64),a=t(43),c=t(327),i=n("".replace),s="["+c+"]",m=RegExp("^"+s+s+"*"),l=RegExp(s+s+"*$"),u=function(e){return function(o){var t=a(r(o));return 1&e&&(t=i(t,m,"")),2&e&&(t=i(t,l,"")),t}};e.exports={start:u(1),end:u(2),trim:u(3)}},function(e,o){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,o,t){"use strict";var n=t(10),r=t(14),a=t(146),c=t(66),i=t(199),s=r([].join),m=a!=Object,l=i("join",",");n({target:"Array",proto:!0,forced:m||!l},{join:function(e){return s(c(this),void 0===e?",":e)}})},function(e,o,t){var n=t(312)(Object.getPrototypeOf,Object);e.exports=n},function(e,o){var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},function(e,o,t){var n=t(35),r=t(16),a=t(14),c=t(123),i=t(211),s=t(86),m=t(98).f,l=t(76),u=t(217),d=t(43),p=t(284),h=t(213),f=t(607),b=t(51),g=t(9),y=t(28),k=t(67).enforce,v=t(202),w=t(20),x=t(292),j=t(293),O=w("match"),z=r.RegExp,S=z.prototype,_=r.SyntaxError,E=a(S.exec),C=a("".charAt),P=a("".replace),I=a("".indexOf),T=a("".slice),A=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,N=/a/g,D=/a/g,q=new z(N)!==N,R=h.MISSED_STICKY,M=h.UNSUPPORTED_Y,F=n&&(!q||R||x||j||g((function(){return D[O]=!1,z(N)!=N||z(D)==D||"/a/i"!=z(N,"i")})));if(c("RegExp",F)){for(var L=function(e,o){var t,n,r,a,c,m,h=l(S,this),f=u(e),b=void 0===o,g=[],v=e;if(!h&&f&&b&&e.constructor===L)return e;if((f||l(S,e))&&(e=e.source,b&&(o=p(v))),e=void 0===e?"":d(e),o=void 0===o?"":d(o),v=e,x&&"dotAll"in N&&(n=!!o&&I(o,"s")>-1)&&(o=P(o,/s/g,"")),t=o,R&&"sticky"in N&&(r=!!o&&I(o,"y")>-1)&&M&&(o=P(o,/y/g,"")),j&&(e=(a=function(e){for(var o,t=e.length,n=0,r="",a=[],c={},i=!1,s=!1,m=0,l="";n<=t;n++){if("\\"===(o=C(e,n)))o+=C(e,++n);else if("]"===o)i=!1;else if(!i)switch(!0){case"["===o:i=!0;break;case"("===o:E(A,T(e,n+1))&&(n+=2,s=!0),r+=o,m++;continue;case">"===o&&s:if(""===l||y(c,l))throw new _("Invalid capture group name");c[l]=!0,a[a.length]=[l,m],s=!1,l="";continue}s?l+=o:r+=o}return[r,a]}(e))[0],g=a[1]),c=i(z(e,o),h?this:S,L),(n||r||g.length)&&(m=k(c),n&&(m.dotAll=!0,m.raw=L(function(e){for(var o,t=e.length,n=0,r="",a=!1;n<=t;n++)"\\"!==(o=C(e,n))?a||"."!==o?("["===o?a=!0:"]"===o&&(a=!1),r+=o):r+="[\\s\\S]":r+=o+C(e,++n);return r}(e),t)),r&&(m.sticky=!0),g.length&&(m.groups=g)),e!==v)try{s(c,"source",""===v?"(?:)":v)}catch(e){}return c},B=m(z),H=0;B.length>H;)f(L,z,B[H++]);S.constructor=L,L.prototype=S,b(r,"RegExp",L,{constructor:!0})}v("RegExp")},function(e,o,t){"use strict";var n=t(160),r=t(23),a=t(14),c=t(163),i=t(30),s=t(55),m=t(217),l=t(64),u=t(273),d=t(214),p=t(122),h=t(43),f=t(85),b=t(207),g=t(164),y=t(162),k=t(213),v=t(9),w=k.UNSUPPORTED_Y,x=Math.min,j=[].push,O=a(/./.exec),z=a(j),S=a("".slice);c("split",(function(e,o,t){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,t){var a=h(l(this)),c=void 0===t?4294967295:t>>>0;if(0===c)return[];if(void 0===e)return[a];if(!m(e))return r(o,a,e,c);for(var i,s,u,d=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,g=new RegExp(e.source,p+"g");(i=r(y,g,a))&&!((s=g.lastIndex)>f&&(z(d,S(a,f,i.index)),i.length>1&&i.index<a.length&&n(j,d,b(i,1)),u=i[0].length,f=s,d.length>=c));)g.lastIndex===i.index&&g.lastIndex++;return f===a.length?!u&&O(g,"")||z(d,""):z(d,S(a,f)),d.length>c?b(d,0,c):d}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:r(o,this,e,t)}:o,[function(o,t){var n=l(this),c=s(o)?void 0:f(o,e);return c?r(c,o,n,t):r(a,h(n),o,t)},function(e,n){var r=i(this),c=h(e),s=t(a,r,c,n,a!==o);if(s.done)return s.value;var m=u(r,RegExp),l=r.unicode,f=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(w?"g":"y"),b=new m(w?"^(?:"+r.source+")":r,f),y=void 0===n?4294967295:n>>>0;if(0===y)return[];if(0===c.length)return null===g(b,c)?[c]:[];for(var k=0,v=0,j=[];v<c.length;){b.lastIndex=w?0:v;var O,_=g(b,w?S(c,v):c);if(null===_||(O=x(p(b.lastIndex+(w?v:0)),c.length))===k)v=d(c,v,l);else{if(z(j,S(c,k,v)),j.length===y)return j;for(var E=1;E<=_.length-1;E++)if(z(j,_[E]),j.length===y)return j;v=k=O}}return z(j,S(c,k)),j}]}),!!v((function(){var e=/(?:)/,o=e.exec;e.exec=function(){return o.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]})),w)},,,,,function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=11)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(7)},function(e,o){e.exports=t(83)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(93)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(61)},function(e,o){e.exports=t(50)},function(e,o){e.exports=t(248)},function(e,o){e.exports=t(71)},function(e,o,t){"use strict";t.r(o);var n=t(0),r=t.n(n),a=t(3),c=t.n(a),i=t(2),s=t(4),m=t.n(s),l=t(8),u=t(7),d=t(9),p=t(6);const h=Object(p.makeClient)();var f=t(10),b="https://www.facebook.com/sharer/sharer.php",g=t(5),y={fb:{height:18},star:{height:18},fillColour:g.colours.functional.secondary,height:16,hoverFillColour:g.colours.functional.brandColour,save:{fillColour:g.colours.functional.white,strokeColour:g.colours.functional.secondary}},k=t(1),v=t.n(k);const w=v.a.div.withConfig({displayName:"styled__SaveAndShareBarContainer",componentId:"qkwc0r-0"})(["display:flex;align-items:center;justify-content:start;gap:10px;height:100%;padding-block:10px;"]),x=v.a.div.withConfig({displayName:"styled__ShareButtonContainer",componentId:"qkwc0r-1"})(["position:relative;"]),j=v.a.button.withConfig({displayName:"styled__OutlineButton",componentId:"qkwc0r-2"})(["position:relative;height:32px;min-width:84px;padding:8px 12px 8px 12px;background-color:",";color:#333333;font-size:14px;font-family:Roboto,sans-serif;font-weight:500;cursor:pointer;outline:none;border:0.5px solid #000;display:flex;justify-content:center;align-items:center;gap:8px;transition:background-color 0.2s;",";&:hover{background-color:#eeeeee;}&:focus-visible{outline:2px solid #00527a;outline-offset:2px;background-color:#eeeeee;}&:active{background-color:#eeeeee;}"],e=>e.isPopoverOpen?"#EEEEEE":"#fff",e=>e.isLoading&&"\n border: none;\n background-color: #eeeeee;\n cursor: default;\n "),O=v.a.div.withConfig({displayName:"styled__Popover",componentId:"qkwc0r-3"})(["position:absolute;",";left:0;right:12px;transform:",";display:",';flex-direction:column;background-color:#fff;box-shadow:0px -20px 32px 0px #11111114,0px 4px 4px 0px #00000040;z-index:99;width:calc(100vw - 24px);max-width:450px;&::after{content:"";position:absolute;',";left:36px;border-width:8px;border-style:solid;border-color:transparent transparent #fff transparent;}"],e=>"top"===e.position?"top: 0":"bottom: 0",e=>"top"===e.position?"translateY(calc((100% + 10px) * -1))":"translateY(calc((100% + 10px)))",e=>e.isOpen?"flex":"none",e=>"top"===e.position?"\n bottom: -16px;\n transform: rotate(180deg);\n ":"\n top: -16px;\n "),z=v.a.div.withConfig({displayName:"styled__PopoverHeader",componentId:"qkwc0r-4"})(["display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid #e4e4e4;h3{font-family:Roboto;font-size:18px;font-weight:500;margin:0;padding:24px;}button{margin:8px;}"]),S=v.a.div.withConfig({displayName:"styled__PopoverContent",componentId:"qkwc0r-5"})(["display:flex;justify-content:flex-start;align-items:center;gap:24px;padding:24px;@media (max-width:449px){flex-direction:column;align-items:flex-start;}"]),_=v.a.button.withConfig({displayName:"styled__CloseButton",componentId:"qkwc0r-6"})(["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;}"]),E=v.a.div.withConfig({displayName:"styled__IconActivityIndicatorContainer",componentId:"qkwc0r-7"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);div{height:16px;width:16px;border-right-color:#333333;border-width:0.125em;}"]),C=v.a.div.withConfig({displayName:"styled__EmailSpinnerContainer",componentId:"qkwc0r-8"})(["div{height:16px;width:16px;border-right-color:#00527a;border-width:0.15em;}"]);var P=()=>r.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 14 14",fill:"none"},r.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 I(){return(I=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}const T=v.a.div.withConfig({displayName:"share-item__ShareItemLabelContainer",componentId:"sc-1idd4zx-0"})(["display:flex;align-items:center;gap:8px;"]),A=v.a.span.withConfig({displayName:"share-item__ShareItemLabelText",componentId:"sc-1idd4zx-1"})(["font-family:Roboto;font-size:16px;font-weight:500;"]),N=v.a.a.withConfig({displayName:"share-item__StyledLink",componentId:"sc-1idd4zx-2"})(["color:#005c8a;text-decoration:none;cursor:pointer;&:hover{color:#00527a;}"]),D=v.a.div.withConfig({displayName:"share-item__IconContainer",componentId:"sc-1idd4zx-3"})(["display:flex;align-items:center;justify-content:center;width:24px;height:24px;"]),q=e=>{let o=e.children,t=e.testId,n=e.tooltipContent,a=e.href,c=e.onClick,i=void 0===c?()=>{}:c,s=function(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}(e,["children","testId","tooltipContent","href","onClick"]);return r.a.createElement(N,I({"data-testid":t,onClick:i,href:a,target:"_blank",title:n},s),o)},R=e=>{let o=e.children,t=e.icon;return r.a.createElement(T,null,r.a.createElement(D,null,t),r.a.createElement(A,null,o))};q.defaultProps={testId:"share-item",href:"",onClick:()=>{},tooltipContent:""};class M extends n.Component{constructor(e){super(e),this.state={isLoading:!1},this.onShare=this.onShare.bind(this)}onShare(e){const o=this.props,t=o.articleId,n=o.getTokenisedShareUrl,r=o.shouldTokenise,a=o.articleUrl,c=o.onShareEmail,i=o.articleHeadline,s=o.hostName;if(e.preventDefault(),c({articleId:t,articleUrl:a,articleHeadline:i}),r)this.setState({isLoading:!0}),n(t).then(e=>{const o=e.data;o&&o.article&&(this.setState({isLoading:!1}),this.openMailClient(Object(p.getDomainSpecificUrl)(s,o.article.tokenisedUrl)))}).catch(()=>{this.setState({isLoading:!1})});else{const e=window.location.search.match(/[?&]shareToken=([^&]+)/);this.openMailClient(e?"".concat(a,"?shareToken=").concat(e[1]):a)}}openMailClient(e){const o=this.props,t=o.articleHeadline,n="TIMES"!==o.publicationName?"The Sunday Times":"The Times",r="mailto:?subject=".concat(t," from ").concat(n,"&body=I thought you would be interested in this story from ").concat(n,"%0A%0A").concat(t,"%0A%0A").concat(e);window.location.assign(r)}render(){const e=this.state.isLoading;return r.a.createElement(q,{tooltipContent:"Share by email",onClick:this.onShare,testId:"email-share"},r.a.createElement(R,{icon:e?r.a.createElement(C,null,r.a.createElement(i.IconActivityIndicator,{size:"small"})):r.a.createElement(i.IconEmail,{ariaLabel:"",fillColour:"currentColor",height:y.height,title:"Share by email"})},"Email"))}}M.defaultProps={publicationName:"TIMES"};var F=M;const L=e=>{let o=e.height,t=e.width,n=e.visibility;return r.a.createElement("svg",{"data-id":"bookmark-icon-svg_outline",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",style:{visibility:n},fill:"currentColor",width:t,height:o},r.a.createElement("path",{d:"M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z"}))};L.defaultProps={height:16,width:16,visibility:"visible"};var B=L;const H=e=>{let o=e.height,t=e.width,n=e.visibility;return r.a.createElement("svg",{"data-id":"bookmark-icon-svg_outline",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",style:{visibility:n},fill:"currentColor",width:t,height:o},r.a.createElement("path",{d:"M2 2v13.5a.5.5 0 0 0 .74.439L8 13.069l5.26 2.87A.5.5 0 0 0 14 15.5V2a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2"}))};H.defaultProps={height:16,width:16,visibility:"visible"};var U=H,W=r.a.memo(e=>{if(e.error||!e.loading&&!e.data)return null;const o=(e.data||{isBookmarked:!1}).isBookmarked,t={height:14,width:14,visibility:e.loading?"hidden":"visible"},n=o?"Saved":"Save";return r.a.createElement(r.a.Fragment,null,r.a.createElement(j,{isLoading:e.loading,onClick:()=>{o?e.onRemoveFromMyArticles():e.onSaveToMyArticles(),e.onToggleSave(e.articleId,e.data.isBookmarked)}},e.loading&&r.a.createElement(E,null,r.a.createElement(i.IconActivityIndicator,null)),o?r.a.createElement(U,{height:t.height,width:t.width,visibility:t.visibility}):r.a.createElement(B,{height:t.height,width:t.width,visibility:t.visibility}),e.loading?"":n))});const V=e=>{let o=e.height,t=e.width;return r.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16","aria-hidden":"true",focusable:"false",fill:"currentColor",width:t,height:o},r.a.createElement("path",{d:"M13.5 1a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zM11 2.5a2.5 2.5 0 1 1 .603 1.628l-6.718 3.12a2.499 2.499 0 0 1 0 1.504l6.718 3.12a2.5 2.5 0 1 1-.488.876l-6.718-3.12a2.5 2.5 0 1 1 0-3.256l6.718-3.12A2.5 2.5 0 0 1 11 2.5zm-8.5 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3zm11 5.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3z"}))};V.defaultProps={height:16,width:16};var Y,G=V;function $(){return($=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function X(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=t){var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}}(e,o)||function(e,o){if(e){if("string"==typeof e)return Z(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Z(e,o):void 0}}(e,o)||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 Z(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function K(e){const o=e.articleId,t=e.articleUrl,a=e.savingEnabled,c=e.sharingEnabled,s=e.onShareBarExpend,d=e.onShareBarClose,p=e.onShareOnFB,h=e.onShareOnTwitter,f=e.onSaveToMyArticles,g=e.onRemoveFromMyArticles,k=e.isPreviewMode,v=X(r.a.useState(!1),2),E=v[0],C=v[1],I=X(r.a.useState(null),2),T=I[0],A=I[1],N=X(r.a.useState(null),2),D=N[0],M=N[1],L=r.a.useRef(),B=r.a.useRef(),H=r.a.useRef();Object(n.useEffect)(()=>{"undefined"!=typeof window&&(A(window.innerHeight),M(window.innerWidth))},[]),Object(n.useEffect)(()=>{if(H.current)return document.body.addEventListener("click",e),()=>{document.body.removeEventListener("click",e)};function e(e){H.current.contains(e.target)||e.target===B.current||C(!1)}},[]);const U=L.current?L.current.getBoundingClientRect().bottom:T,V=()=>{E?d():s(),C(e=>!e)};return r.a.createElement(w,{"data-testid":"save-and-share-bar",ref:L},c&&r.a.createElement(x,null,r.a.createElement(j,{ref:B,isPopoverOpen:E,onClick:V},r.a.createElement(G,{height:14,width:14}),"Share"),r.a.createElement(O,{ref:H,position:T?T-U>(D&&D>449?250:400)?"bottom":"top":"bottom",isOpen:E,"aria-expanded":E},r.a.createElement(z,null,r.a.createElement("h3",null,"Share this article"),r.a.createElement(_,{onClick:V},r.a.createElement(P,null))),r.a.createElement(S,null,r.a.createElement(l.SectionContext.Consumer,null,o=>{let t=o.publicationName;return r.a.createElement(m.a,{state:m.a.showTokenisedEmailShare,fallback:r.a.createElement(F,$({},e,{shouldTokenise:!1,publicationName:t}))},r.a.createElement(F,$({},e,{shouldTokenise:!0,publicationName:t})))}),r.a.createElement(q,{testId:"share-twitter",tooltipContent:"Share on Twitter",href:"".concat("https://twitter.com/intent/tweet","?text=").concat(t),onClick:h},r.a.createElement(R,{icon:r.a.createElement(i.IconTwitter,{ariaLabel:"",fillColour:"currentColor",height:y.height,title:"Share on Twitter"})},"Twitter")),r.a.createElement(q,{testId:"share-facebook",tooltipContent:"Share on Facebook",href:"".concat(b,"?u=").concat(t),onClick:p},r.a.createElement(R,{icon:r.a.createElement(i.IconFacebook,{ariaLabel:"",fillColour:"currentColor",height:y.fb.height,title:"Share on Facebook"})},"Facebook")),r.a.createElement(q,{testId:"copy-to-clickboard",tooltipContent:"Copy link to clipboard",href:"".concat(b,"?u=").concat(t),onClick:function(o){const n=e.onCopyLink;o.preventDefault(),navigator.clipboard.writeText(t),n()}},r.a.createElement(R,{icon:r.a.createElement(i.IconCopyLink,{ariaLabel:"",fillColour:"currentColor",height:y.height,title:"Copy link to clipboard"})},"Link"))))),a?r.a.createElement(r.a.Fragment,null,r.a.createElement(m.a,{state:m.a.showArticleSaveButton,serverRender:!1},r.a.createElement("div",{"data-testid":"save-star"},r.a.createElement(u.SaveStar,{articleId:o},r.a.createElement(W,{onSaveToMyArticles:f,onRemoveFromMyArticles:g})))),k&&r.a.createElement("div",{"data-testid":"save-star-preview"},r.a.createElement(u.SaveStar,{isPreviewMode:!0},r.a.createElement(W,null)))):null)}K.defaultProps={onShareBarExpend:()=>{},onShareBarClose:()=>{},onShareOnFB:()=>{},onShareOnTwitter:()=>{},onShareEmail:()=>{},onSaveToMyArticles:()=>{},onRemoveFromMyArticles:()=>{},getTokenisedShareUrl:e=>h.query({query:d.getTokenisedArticleUrl,variables:{id:e}}),isPreviewMode:c.a.bool=!1},o.default=(Y=K,Object(f.withTrackEvents)(Y,{analyticsEvents:[{actionName:"navigation",eventName:"onSaveToMyArticles",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline,event_navigation_name:"add to my articles"}),trackingName:"ArticleSaveToMyArticles"},{actionName:"navigation",eventName:"onRemoveFromMyArticles",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline,event_navigation_name:"remove from my articles"}),trackingName:"ArticleRemoveFromMyArticles"},{actionName:"Pressed",eventName:"onShareEmail",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline}),trackingName:"ArticleShareUrlByEmail"},{actionName:"Pressed",eventName:"onCopyLink",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline}),trackingName:"ArticleCopyLink"},{actionName:"Pressed",eventName:"onShareOnFB",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline}),trackingName:"ArticleShareOnFacebook"},{actionName:"Pressed",eventName:"onShareOnTwitter",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline}),trackingName:"ArticleShareOnTwitter"},{actionName:"Pressed",eventName:"onShareBarExpend",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline,event_social_action:"share start"}),trackingName:"ArticleShareOnExpend"},{actionName:"Pressed",eventName:"onShareBarClose",getAttrs:e=>({articleId:e.articleId,articleHeadline:e.articleHeadline,event_social_action:"share start"}),trackingName:"ArticleShareOnClose"}]}))}])},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=7)}([function(e,o){e.exports=t(8)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(1)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(50)},function(e,o){e.exports=t(63)},function(e,o){e.exports=t(71)},function(e,o,t){"use strict";t.r(o);var n=t(2),r=t.n(n),a=t(3),c=t(4),i=t.n(c),s=t(0),m=t(5),l=t.n(m),u=t(6);function d(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function p(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?d(Object(t),!0).forEach((function(o){h(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):d(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function h(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var f={container:{borderColor:s.colours.functional.keyline,borderRadius:2,borderWidth:1,paddingBottom:Object(s.spacing)(2),paddingLeft:Object(s.spacing)(3),paddingRight:Object(s.spacing)(3),paddingTop:Object(s.spacing)(2)},spacer:{marginRight:Object(s.spacing)(2),marginTop:Object(s.spacing)(2),maxWidth:"80%"},text:p(p({color:s.colours.functional.secondary},Object(s.fontFactory)({font:"supporting",fontSize:"linkTopic"})),{},{position:"relative"}),topicGroup:{flexDirection:"row",flexWrap:"wrap",justifyContent:"center",marginBottom:Object(s.spacing)(2)}};function b(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function g(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?b(Object(t),!0).forEach((function(o){y(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function y(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var k=g(g({},f),{},{text:g({},f.text)}),v=t(1),w=t.n(v);function x(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?x(Object(t),!0).forEach((function(o){O(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):x(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function O(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}w.a.number,w.a.number,w.a.string.isRequired,w.a.func,w.a.string.isRequired;var z=Object(u.withTrackEvents)((function(e){var o=e.fontSize,t=e.lineHeight,n=e.name,c=e.onPress,s=e.slug,m=o?{fontSize:o}:null,u=t?j({},Object(a.checkStylesForUnits)({lineHeight:t})):null,d=j(j({},k.text),{},{fontSizeStyle:m},u);return r.a.createElement(i.a.Consumer,null,(function(e){var o=e.makeTopicUrl;return r.a.createElement(a.TcView,{style:k.spacer},r.a.createElement(l.a,{onPress:function(e){return c(e,{name:n,slug:s})},url:o({slug:s})},r.a.createElement(a.TcView,{style:k.container},r.a.createElement(a.TcText,{accessibilityComponentType:"button",accessibilityRole:"button",accessibilityTraits:"button",style:d},n))))}))}),{analyticsEvents:[{actionName:"Pressed",eventName:"onPress",getAttrs:function(e){return{name:e.name,slug:e.slug}},trackingName:"TopicLink"}]});function S(e,o){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);o&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable}))),t.push.apply(t,n)}return t}function _(e){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?S(Object(t),!0).forEach((function(o){E(e,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):S(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))}))}return e}function E(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}w.a.func,w.a.object,w.a.arrayOf(w.a.shape({name:w.a.string.isRequired,slug:w.a.string.isRequired}).isRequired).isRequired;var C=function(e){var o=e.onPress,t=e.style,n=e.topics;return r.a.createElement(i.a.Consumer,null,(function(e){var c=e.theme.scale,i=Object(s.styleguide)({scale:c}),m=_(_({},k.topicGroup),{},{style:t});return r.a.createElement(a.TcView,{style:m},function(e,o,t){return e.map((function(e){var n=e.name,a=e.slug;return r.a.createElement(z,{fontSize:t.fontSize,key:a,lineHeight:t.lineHeight,name:n,onPress:o,slug:a})}))}(n,o,i.fontFactory({font:"supporting",fontSize:"link"})))}))};C.defaultProps={style:null},o.default=C}])},function(e,o,t){e.exports=function(e){var o={};function t(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=o,t.d=function(e,o,n){t.o(e,o)||Object.defineProperty(e,o,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,o){if(1&o&&(e=t(e)),8&o)return e;if(4&o&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&o&&"string"!=typeof e)for(var r in e)t.d(n,r,function(o){return e[o]}.bind(null,r));return n},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},t.p="",t(t.s=9)}([function(e,o){e.exports=t(1)},function(e,o){e.exports=t(0)},function(e,o){e.exports=t(8)},function(e,o){e.exports=t(7)},function(e,o){e.exports={base:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgdmlld0JveD0iMCAwIDEyOCAxMjgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxtYXNrIGlkPSJtYXNrMF8yNzAxXzMzNDkyIiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCI+CjxyZWN0IHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiBmaWxsPSIjQTA4MjgyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yNzAxXzMzNDkyKSI+CjxjaXJjbGUgY3g9Ii0wLjAwNjAwNDMzIiBjeT0iMTI4LjAwMiIgcj0iMTE2LjM2NCIgZmlsbD0idXJsKCNwYWludDBfcmFkaWFsXzI3MDFfMzM0OTIpIiBmaWxsLW9wYWNpdHk9IjAuNiIvPgo8L2c+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNzIgNTZIOFYxMjBINzJWNTZaTTUwLjggODcuOEwzMCAxMDAuNlY3NUw1MC44IDg3LjhaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPHJhZGlhbEdyYWRpZW50IGlkPSJwYWludDBfcmFkaWFsXzI3MDFfMzM0OTIiIGN4PSIwIiBjeT0iMCIgcj0iMSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIGdyYWRpZW50VHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuMDA2MDA0MzMgMTI4LjAwMikgcm90YXRlKDkwKSBzY2FsZSgxMTYuMzY0KSI+CjxzdG9wLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLW9wYWNpdHk9IjAiLz4KPC9yYWRpYWxHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K",hover:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgdmlld0JveD0iMCAwIDEyOCAxMjgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxtYXNrIGlkPSJtYXNrMF8yODAwXzMyNzk4IiBzdHlsZT0ibWFzay10eXBlOmFscGhhIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCI+CjxyZWN0IHdpZHRoPSIxMjgiIGhlaWdodD0iMTI4IiBmaWxsPSIjQTA4MjgyIi8+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8yODAwXzMyNzk4KSI+CjxjaXJjbGUgY3g9Ii0wLjAwNTUxNjA1IiBjeT0iMTI4LjAwMiIgcj0iMTE2LjM2NCIgZmlsbD0idXJsKCNwYWludDBfcmFkaWFsXzI4MDBfMzI3OTgpIiBmaWxsLW9wYWNpdHk9IjAuNiIvPgo8L2c+CjxyZWN0IHg9IjguNSIgeT0iNTYuNSIgd2lkdGg9IjYzIiBoZWlnaHQ9IjYzIiBmaWxsPSIjMDA1MjdBIiBzdHJva2U9IndoaXRlIi8+CjxwYXRoIGQ9Ik0zMCA3NVYxMDAuNkw1MC44IDg3LjhMMzAgNzVaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPHJhZGlhbEdyYWRpZW50IGlkPSJwYWludDBfcmFkaWFsXzI4MDBfMzI3OTgiIGN4PSIwIiBjeT0iMCIgcj0iMSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIGdyYWRpZW50VHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuMDA1NTE2MDUgMTI4LjAwMikgcm90YXRlKDkwKSBzY2FsZSgxMTYuMzY0KSI+CjxzdG9wLz4KPHN0b3Agb2Zmc2V0PSIxIiBzdG9wLW9wYWNpdHk9IjAiLz4KPC9yYWRpYWxHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K"}},function(e,o){e.exports=t(70)},function(e,o){e.exports=t(340)},function(e,o){e.exports=t(11)},function(e,o){e.exports=t(83)},function(e,o,t){"use strict";t.r(o);var n=t(0),r=t.n(n),a=t(5),c=t.n(a),i=t(6),s=t.n(i),m=t(7),l=t(1),u=t.n(l),d=u.a.oneOfType([u.a.string,u.a.number]),p=(u.a.string.isRequired,d.isRequired,u.a.string,u.a.bool,u.a.string,u.a.string.isRequired,u.a.shape({uri:u.a.string.isRequired}),u.a.string.isRequired,d.isRequired,{is360:!1,playerId:"default",poster:null}),h=t(8),f=t(2),b=t(3),g=t.n(b),y=g.a.div.withConfig({displayName:"styles__Video360Container",componentId:"sc-1b2p9l4-0"})(['border-radius:100%;left:50%;position:absolute;height:100px;top:50%;transform:translate(-50%,-50%);width:100px;z-index:1;pointer-events:none;[data-is-360="true"]:hover &{background:rgba(0,0,0,0.2);}']),k=g.a.div.withConfig({displayName:"styles__VideoErrorContainer",componentId:"sc-1b2p9l4-1"})(["display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:",";"],f.colours.functional.transparentBlack),v=g.a.span.withConfig({displayName:"styles__VideoErrorHeading",componentId:"sc-1b2p9l4-2"})(["color:white;font-family:",";font-size:20px;height:auto;width:auto;margin-bottom:",";text-align:center;"],f.fontsWithFallback.headline,Object(f.spacing)(2)),w=g.a.span.withConfig({displayName:"styles__VideoErrorBody",componentId:"sc-1b2p9l4-3"})(["color:rgba(255,255,255,0.8);font-family:",";font-size:14px;height:auto;max-width:80%;text-align:center;width:410px;"],f.fontsWithFallback.body),x=g.a.div.withConfig({displayName:"styles__NoSubscriptionWrapper",componentId:"sc-1b2p9l4-4"})(["position:absolute;height:65px;left:0;right:0;top:50%;margin-top:-32px;"]),j=g.a.span.withConfig({displayName:"styles__NoSubscriptionMessage",componentId:"sc-1b2p9l4-5"})(["background-color:rgba(0,0,0,0.7);color:",";margin-left:auto;margin-right:auto;max-width:80%;padding:",";text-align:center;width:300px;font-family:",";font-size:14px;"],f.colours.functional.contrast,Object(f.spacing)(2),f.fontsWithFallback.body),O=function(){return r.a.createElement(y,null,r.a.createElement(h.IconVideo360Player,{fillColour:f.colours.functional.white,height:100}))},z=t(4),S=t.n(z);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(){return(E=Object.assign||function(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function C(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function P(e,o){return(P=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e})(e,o)}function I(e,o){return!o||"object"!==_(o)&&"function"!=typeof o?T(e):o}function T(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}var D='\n div[data-is-360="true"] button.vjs-big-play-button {\n display: none !important;\n }\n\n .video-js .vjs-big-play-button {\n margin: 0;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n background-color: unset !important;\n }\n\n .video-js .vjs-dock-text {\n visibility: hidden;\n }\n\n .video-js .vjs-poster {\n background-size: cover;\n }\n\n .video-js .vjs-tech {\n position: relative;\n }\n\n .vjs-big-play-button .vjs-icon-placeholder::before, .vjs-big-play-button .vjs-icon-placeholder::after {\n content: "" !important;\n\n position: absolute;\n top: unset !important;\n bottom: 0;\n left: 0;\n \n background-image: url('.concat(S.a.base,");\n background-size: contain;\n background-repeat: no-repeat;\n \n aspect-ratio: 1 !important;\n width: 25% !important;\n height: unset !important;\n min-width: 80px;\n min-height: 80px;\n max-width: 128px;\n max-height: 128px;\n transition: opacity 100ms ease-in-out;\n }\n\n .vjs-big-play-button .vjs-icon-placeholder::before {\n background-image: url(").concat(S.a.base,");\n opacity: 1;\n }\n\n .vjs-big-play-button .vjs-icon-placeholder::after {\n background-image: url(").concat(S.a.hover,");\n opacity: 0;\n }\n\n .vjs-big-play-button:hover .vjs-icon-placeholder::before {\n opacity: 0;\n }\n .vjs-big-play-button:hover .vjs-icon-placeholder::after {\n opacity: 1;\n }\n .vjs-big-play-button:focus .vjs-icon-placeholder::before {\n background-image: url(").concat(S.a.hover,");\n }\n\n .vjs-big-play-button:focus {\n outline: none;\n }\n\n .video-js.vjs-has-started .vjs-big-play-button .vjs-icon-placeholder::before, .video-js.vjs-has-started .vjs-big-play-button .vjs-icon-placeholder::after {\n display: none !important;\n }\n"),q=function(e){!function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(o&&o.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),o&&P(e,o)}(i,e);var o,t,a,c=function(e){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,n=A(e);if(o){var r=A(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}(i);function i(e){var o;return function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,i),N(T(o=c.call(this,e)),"handleError",(function(){o.setState({error:!0})})),N(T(o),"handlePlay",(function(){o.setState({hasVideoPlayed:!0}),i.activePlayers.forEach((function(e){e!==T(o)&&e.player&&e.player.pause()}))})),o.state={error:null,hasVideoPlayed:!1},o.id="".concat(e.videoId,"-").concat(e.accountId,"-").concat(e.id),o.videoContainerRef=r.a.createRef(),o.observer=null,o}return o=i,a=[{key:"brightcoveSDKHasLoaded",value:function(){return!(!window.bc||!window.videojs)}},{key:"appendScript",value:function(e){document.body.appendChild(e)}},{key:"attachStyles",value:function(){var e=document.createElement("style");e.type="text/css";var o=document.createTextNode(D);e.appendChild(o),document.head.appendChild(e)}}],(t=[{key:"componentDidMount",value:function(){this.observer=this.createIntersectionObserver(),this.observer&&this.videoContainerRef&&this.observer.observe(this.videoContainerRef.current),this.loadBrightcoveSDKIfRequired(),i.scriptLoadError&&this.handleError(i.scriptLoadError),i.activePlayers.push(this),i.brightcoveSDKHasLoaded()&&this.initBrightcove()}},{key:"componentWillUnmount",value:function(){i.activePlayers.splice(i.activePlayers.indexOf(this)),this.player&&(this.player.dispose(),this.player=null),this.observer&&this.observer.disconnect()}},{key:"createIntersectionObserver",value:function(){var e=this;return"IntersectionObserver"in window?new window.IntersectionObserver((function(o){o[0].isIntersecting&&e.loadBrightcoveSDKIfRequired()})):null}},{key:"loadBrightcoveSDKIfRequired",value:function(){var e=this.createBrightcoveScript();e&&(e.onload=function(){i.activePlayers.forEach((function(e){return e.initVideojs()}))},e.onerror=function(){i.scriptLoadError="Brightcove script failed to load",i.activePlayers.forEach((function(e){return e.handleError()}))},i.appendScript(e),i.attachStyles())}},{key:"createBrightcoveScript",value:function(){var e=this.props,o=e.accountId,t=e.playerId,n=e.videoId,r=document.createElement("script");return r.src="//players.brightcove.net/".concat(o,"/").concat(t,"_default/index.min.js?videoID=").concat(n),r.defer=!0,i.activeScripts.includes(r.src)?null:(i.activeScripts.push(r.src),r)}},{key:"initVideojs",value:function(){var e=this;this.player=window.videojs(this.id),this.player.ready((function(){e.player.contextmenu({disabled:!0})})),this.player.on("error",this.handleError),this.player.on("play",this.handlePlay)}},{key:"initBrightcove",value:function(){window.bc(document.getElementById(this.id)),this.initVideojs()}},{key:"render",value:function(){var e=this.props,o=e.width,t=e.height,a=e.poster,c=e.videoId,i=e.accountId,s=e.playerId,l=e.is360,u=this.state,d=u.error,p=u.hasVideoPlayed;if(d)throw new Error("Can't load video");return r.a.createElement("div",{"data-is-360":l,"data-testid":"video-component",ref:this.videoContainerRef,style:{height:t,width:o},className:"lcpItem"},r.a.createElement("div",{style:{height:t,width:o,position:"relative"}},!p&&r.a.createElement(n.Fragment,null,l&&r.a.createElement(O,null)),r.a.createElement("video",E({id:this.id,style:{height:t,width:o}},a?{poster:Object(m.appendToImageURL)(a.uri,"resize",960)}:{},{className:"video-js",controls:!0,"data-account":i,"data-application-id":!0,"data-embed":"default","data-player":s,"data-video-id":c}))))}}])&&C(o.prototype,t),a&&C(o,a),i}(n.Component);N(q,"scriptLoadError",!1),N(q,"activePlayers",[]),N(q,"activeScripts",[]),q.defaultProps=p;var R=q,M=r.a.createContext(!0),F=function(e){var o=e.height,t=e.width;return r.a.createElement(k,{style:{height:o,width:t}},r.a.createElement(v,null,"Video unable to play"),r.a.createElement(w,null,"Please check your network connection and try refreshing the page. If that doesn't work, please try again later"))};t.d(o,"IsPaidSubscriberContext",(function(){return B}));var L=function(e){var o=e.height,t=e.poster,n=e.width;return r.a.createElement(s.a,null,(function(a){return a.hasError?r.a.createElement(F,{height:o,width:n}):r.a.createElement(M.Consumer,null,(function(a){return a?r.a.createElement(R,e):r.a.createElement("div",{style:{height:o,width:n}},r.a.createElement(c.a,{aspectRatio:n/o,uri:t.uri}),r.a.createElement(x,null,r.a.createElement(j,null,"We are sorry, you need to be a subscriber to watch this video")))}))}))};L.defaultProps=p,o.default=L;var B=M.Provider}])},,function(e,o){const t=new RegExp(".*".concat("((amp\\.trackonomics\\.net)|(amazon\\.[\\S]*?\\/(dp|gp)\\/[\\S]*?tag=)|(amazon\\.[\\S]*?\\/[\\S]*?\\?[\\S]*?tag=[a-zA-Z0-9-]+\\-(\\d{2}))|(\\/amzn\\.)|(\\.amazon-adsystem\\.com)|(awin1\\.com)|(anrdoezrs\\.net)|(jdoqocy\\.com)|(tqlkg\\.com)|(tkqlhce\\.com)|(kqzyfj\\.com)|(ftjcfx\\.com)|(lduhtrp\\.net)|(jqoqocy\\.com)|(Kqzfj\\.com)|(dpbolvw\\.net)|(qksrv\\.net)|(\\/(c)\\/([0-9]+)\\/([0-9]+)\\/([0-9]+))|(2cw9\\.net)|(w6fg\\.net)|(7ymy\\.net)|(zz6n\\.net)|(a4v3ci\\.net)|(dttq\\.net)|(5oih\\.net)|(njih\\.net)|(rfvk\\.net)|(rt8x\\.net)|(43k8\\.net)|(7eer\\.net)|(uzvs\\.net)|(u44t\\.net)|(pvxt\\.net)|(vaz6fn\\.net)|(ojrq\\.net)|(mvvx\\.net)|(yx69dc\\.net)|(awb5\\.net)|(k7qtpo\\.net)|(8odi\\.net)|(mp5l\\.net)|(evyy\\.net)|(fx3vf7\\.net)|(2npn3e\\.net)|(i9pljp\\.net)|(l9vx\\.net)|(75r4\\.net)|(ulnv\\.net)|(74rjtv\\.net)|(trw6mw\\.net)|(xwrk\\.net)|(dgdrgu\\.net)|(tnu8\\.net)|(pq2o\\.net)|(snlv\\.net)|(yfb7\\.net)|(vzck\\.net)|(glg9ob\\.net)|(5f77\\.net)|(sk2bvq\\.net)|(iln8\\.net)|(7tiv\\.net)|(o93x\\.net)|(yfh6ag\\.net)|(zfrcsk\\.net)|(kwpkyy\\.net)|(6cqhdo\\.net)|(fziv\\.net)|(f9tmep\\.net)|(bwa8\\.net)|(74az\\.net)|(gnv2\\.net)|(uidg\\.net)|(i3zp\\.net)|(ssxmnr\\.net)|(l9yg\\.net)|(ixmz\\.net)|(fmtgqt\\.net)|(uydo\\.net)|(2lsp\\.net)|(oie8\\.net)|(7mh5\\.net)|(tmfhgn\\.net)|(ngi2ba\\.net)|(bs6l\\.net)|(fdf2\\.net)|(ruqo\\.net)|(bts6\\.net)|(yxku6p\\.net)|(xhuc\\.net)|(b9i7\\.net)|(vzffua\\.net)|(oteh\\.net)|(uskn\\.net)|(kxyi\\.net)|(hyyc7q\\.net)|(5ad6\\.net)|(n76h\\.net)|(quvl\\.net)|(qflm\\.net)|(8hwt\\.net)|(ig9i\\.net)|(d2lsjo\\.net)|(9quv\\.net)|(rao4\\.net)|(xikq\\.net)|(72mu89\\.net)|(xrx2ci\\.net)|(q4ew\\.net)|(j4ib\\.net)|(wrrv\\.net)|(uqzq\\.net)|(mw46\\.net)|(z6vo\\.net)|(g39l\\.net)|(2det\\.net)|(ibfwsl\\.net)|(jtlo\\.net)|(dfjeo3\\.net)|(wqi6\\.net)|(jgpt48\\.net)|(eccsr4\\.net)|(myi4\\.net)|(j4df\\.net)|(s7so\\.net)|(w2wxmz\\.net)|(64ud\\.net)|(6rfywi\\.net)|(rrmo\\.net)|(2m8f\\.net)|(fu4n\\.net)|(ryvx\\.net)|(mjs4\\.net)|(bn5x\\.net)|(7xde\\.net)|(5vju\\.net)|(7zd4df\\.net)|(xuok\\.net)|(o64jx9\\.net)|(am3t9s\\.net)|(w2t6\\.net)|(xr64\\.net)|(vayb\\.net)|(ygwk\\.net)|(ioym\\.net)|(dg6u\\.net)|(oyuv\\.net)|(otg8\\.net)|(8ujrgu\\.net)|(3qag\\.net)|(3f64ir\\.net)|(hrlo\\.net)|(fjbu\\.net)|(fqik\\.net)|(43wo\\.net)|(ncw6\\.net)|(9nz77o\\.net)|(xk3g\\.net)|(p7qb\\.net)|(mvqw\\.net)|(ntaf\\.net)|(iypa\\.net)|(rv5k\\.net)|(wjx7\\.net)|(5d3x\\.net)|(saq2\\.net)|(vegb\\.net)|(pxi6\\.net)|(b54k\\.net)|(njv3dp\\.net)|(nob9\\.net)|(t8puue\\.net)|(briy\\.net)|(bpu9\\.net)|(voq9\\.net)|(8aog\\.net)|(dodxnr\\.net)|(igs4ds\\.net)|(w9v5\\.net)|(exgl\\.net)|(3uu8\\.net)|(ei7w\\.net)|(vjggsg\\.net)|(79ic8e\\.net)|(6noy\\.net)|(zrjdwn\\.net)|(vdcy\\.net)|(8ne3\\.net)|(tk2x2c\\.net)|(2xc8\\.net)|(3tvl\\.net)|(tkjf\\.net)|(r69o\\.net)|(o5kg\\.net)|(74wq\\.net)|(zc5a\\.net)|(e8i7\\.net)|(bvrd\\.net)|(r2oa\\.net)|(uisv\\.net)|(uqhv\\.net)|(y8uw\\.net)|(o67m\\.net)|(ydow\\.net)|(mlvy\\.net)|(liln\\.net)|(ga3c\\.net)|(szey\\.net)|(2lka\\.net)|(opfm\\.net)|(rhq9ml\\.net)|(jvam\\.net)|(uqog\\.net)|(ork2\\.net)|(nwh3qn\\.net)|(znqymu\\.net)|(wsslc4\\.net)|(8kt6\\.net)|(9pctbx\\.net)|(7voo\\.net)|(ifmu\\.net)|(fzsu\\.net)|(9j4c\\.net)|(ow29pp\\.net)|(sgur\\.net)|(icjj\\.net)|(27exom\\.net)|(6ywx\\.net)|(upvt\\.net)|(4paxeq\\.net)|(ue8cqz\\.net)|(2su64p\\.net)|(wo8g\\.net)|(lvuv\\.net)|(36c4\\.net)|(vzew\\.net)|(hmqldu\\.net)|(m768hc\\.net)|(7no9\\.net)|(xuvt\\.net)|(pfm4\\.net)|(3lki\\.net)|(p73z\\.net)|(i3f2\\.net)|(7isk\\.net)|(7z5k\\.net)|(brvi\\.net)|(fi2z\\.net)|(znvt\\.net)|(tpeipe\\.net)|(imlz\\.net)|(audw\\.net)|(rqu9\\.net)|(hjef\\.net)|(ln72\\.net)|(a5fp\\.net)|(juo2\\.net)|(ir2by2\\.net)|(tf77py\\.net)|(eszb\\.net)|(2gib\\.net)|(bop8\\.net)|(nsji\\.net)|(mpye\\.net)|(hs9x\\.net)|(vocq\\.net)|(msafflnk\\.net)|(8zwg\\.net)|(58dp\\.net)|(973t\\.net)|(hu6f\\.net)|(5kd8\\.net)|(ue7a\\.net)|(i8h2\\.net)|(7orgeq\\.net)|(mp4l\\.net)|(6wfgdb\\.net)|(ayxtyv\\.net)|(h4km\\.net)|(mxu9\\.net)|(w9iork\\.net)|(ftcv\\.net)|(6eld\\.net)|(atkw\\.net)|(nkwcmr\\.net)|(vwz6\\.net)|(xovt\\.net)|(lkze4s\\.net)|(uxsi\\.net)|(wkq9\\.net)|(8utb\\.net)|(2j9x\\.net)|(kk2kau\\.net)|(iy7a\\.net)|(2xje\\.net)|(vqi8\\.net)|(keof\\.net)|(givvml\\.net)|(x57o\\.net)|(33qw\\.net)|(nbq93e\\.net)|(tlir\\.net)|(7st3op\\.net)|(l3km\\.net)|(pb6g\\.net)|(hj2i\\.net)|(8f6i\\.net)|(tql5\\.net)|(otpb\\.net)|(2gfm\\.net)|(whij\\.net)|(9zpg\\.net)|(8mz3uu\\.net)|(8hslpj\\.net)|(nrku7u\\.net)|(xg6r\\.net)|(jyae\\.net)|(o3ae\\.net)|(9vn7kv\\.net)|(rw9xb6\\.net)|(z5dw\\.net)|(wk5q\\.net)|(e9jo\\.net)|(r7kg\\.net)|(uikc\\.net)|(258o\\.net)|(eyip\\.net)|(c9ftyd\\.net)|(a9yw\\.net)|(krg4\\.net)|(et7l\\.net)|(wd2f\\.net)|(nvaz\\.net)|(ozkewk\\.net)|(5sfo\\.net)|(qumg\\.net)|(5l5h\\.net)|(cwv7\\.net)|(qbt4\\.net)|(ytuz\\.net)|(3xvk\\.net)|(zlyuo6\\.net)|(58mq\\.net)|(z27l\\.net)|(iqoc\\.net)|(eqjw\\.net)|(dbapeb\\.net)|(hgphc2\\.net)|(wnbi\\.net)|(te8rfv\\.net)|(qyiv3c\\.net)|(jv6k\\.net)|(9rwv\\.net)|(zgkv\\.net)|(p5ld\\.net)|(s4lle7\\.net)|(eqcm\\.net)|(wsktbf\\.net)|(7ema\\.net)|(2rch\\.net)|(y6mxrg\\.net)|(cmuw\\.net)|(jedg\\.net)|(wmempi\\.net)|(lmwjx3\\.net)|(zpn8dk\\.net)|(z724\\.net)|(zihf\\.net)|(i5md\\.net)|(yaub\\.net)|(syuh\\.net)|(htuy\\.net)|(pbj2\\.net)|(zvq6\\.net)|(rg35\\.net)|(8ibi\\.net)|(kbp968\\.net)|(5zd6\\.net)|(n72aat\\.net)|(aiy7\\.net)|(nnh2\\.net)|(z6rjha\\.net)|(7fdy\\.net)|(8bvm\\.net)|(qodh\\.net)|(jwpdsd\\.net)|(otegtm\\.net)|(2t23\\.net)|(i5em\\.net)|(xibx\\.net)|(xlwzq3\\.net)|(deg5\\.net)|(3anx\\.net)|(78cfvm\\.net)|(57ib\\.net)|(6dny\\.net)|(auhm\\.net)|(tm7566\\.net)|(tm7516\\.net)|(tm7569\\.net)|(tm7559\\.net)|(tm7560\\.net)|(tm7562\\.net)|(tm8534\\.net)|(lusg\\.net)|(bxvfun\\.net)|(8bga\\.net)|(22o6\\.net)|(ebml\\.net)|(9q66\\.net)|(i679\\.net)|(attfm2\\.net)|(ztk5\\.net)|(dubn\\.net)|(yuxg\\.net)|(2nm686\\.net)|(meqk\\.net)|(kd4a\\.net)|(e2rq\\.net)|(m43q4j\\.net)|(hblm3c\\.net)|(yvzx\\.net)|(vp6l\\.net)|(u97e\\.net)|(5rmr\\.net)|(qyov\\.net)|(yoxl\\.net)|(e54b\\.net)|(akum7z\\.net)|(hg7mxc\\.net)|(pdy5\\.net)|(aqpq\\.net)|(mivh\\.net)|(eqwh\\.net)|(vx83\\.net)|(vtdix3\\.net)|(xvtl\\.net)|(ulvh\\.net)|(cw3o\\.net)|(zvcr\\.net)|(eat8mo\\.net)|(ikkr9x\\.net)|(6x7g\\.net)|(bzi2vw\\.net)|(43a8\\.net)|(gfpv\\.net)|(sjv\\.io)|(pxf\\.io)|(affiliates\\.abebooks\\.com)|(go\\.corsair\\.com)|(go\\.gemvara\\.com)|(go\\.jewelry\\.com)|(go\\.web\\.plus\\.espn\\.com)|(goto\\.bodybuilding\\.com)|(goto\\.carters\\.com)|(goto\\.grocery\\.walmart\\.com)|(goto\\.kayosports\\.com\\.au)|(goto\\.target\\.com)|(goto\\.walmart\\.com)|(hpn\\.houzz\\.com)|(linkto\\.hrblock\\.com)|(partners\\.alamo\\.com)|(partners\\.enterprise\\.com)|(partners\\.hostgator\\.com)|(partners\\.hotwire\\.com)|(partners\\.nationalcar\\.com)|(refer\\.turo\\.com)|(tracking\\.maxcdn\\.com)|(tracking\\.stackpath\\.com)|(hpn\\.houzz\\.co\\.uk)|(partners\\.wantable\\.co)|(i284638\\.net)|(xayxet\\.net)|(7sb2uw\\.net)|(dcm9zy\\.net)|(6jxl\\.net)|(cfzu\\.net)|(i140643\\.net)|(i125364\\.net)|(i127288\\.net)|(8ocm68\\.net)|(jlud63\\.net)|(i312864\\.net)|(rv8crv\\.net)|(haujjd\\.net)|(qq3wj3\\.net)|(4hyab9\\.net)|(i308314\\.net)|(oet7\\.net)|(uym8\\.net)|(avo2\\.net)|(i279709\\.net)|(i139476\\.net)|(3tpfen\\.net)|(bbgqo9\\.net)|(i139049\\.net)|(nm3tqp\\.net)|(soyxmd\\.net)|(partner\\.canva\\.com)|(4xc4ep\\.net)|(frhi32\\.net)|(wrjfga\\.net)|(i206080\\.net)|(8s4u9r\\.net)|(fubo\\.tv)|(8u86\\.net)|(shrw9t\\.net)|(ouod\\.net)|(i157428\\.net)|(i274555\\.net)|(gqce\\.net)|(nhuie7\\.net)|(i310051\\.net)|(i351729\\.net)|(i181536\\.net)|(xyibsh\\.net)|(i326295\\.net)|(obak77\\.net)|(7w7o67\\.net)|(i206938\\.net)|(zvvq7p\\.net)|(oloiyb\\.net)|(wvr2\\.net)|(8rh8hm\\.net)|(i276600\\.net)|(i358707\\.net)|(d67ag4\\.net)|(magpmk\\.net)|(i7cdw9\\.net)|(i114090\\.net)|(ubertrk\\.com)|(i240138\\.net)|(7ufqwl\\.net)|(fdcm73\\.net)|(n5ka\\.net)|(q77h\\.net)|(goto\\.bluenile\\.com)|(bodybuilding\\.com)|(ayph\\.net)|(pvzi\\.net)|(35p2\\.net)|(cezg3w\\.net)|(i294747\\.net)|(ml6pmo\\.net)|(i200065\\.net)|(k77v\\.net)|(l49yho\\.net)|(i301580\\.net)|(lf49oc\\.net)|(i242740\\.net)|(i142493\\.net)|(zvbf\\.net)|(risj\\.net)|(partners\\.inmotionhosting\\.com)|(fum2sp\\.net)|(av4d\\.net)|(i240196\\.net)|(i134524\\.net)|(i263265\\.net)|(i8epma\\.net)|(ihfo\\.net)|(i209368\\.net)|(oedf\\.net)|(i6xjt2\\.net)|(i328067\\.net)|(i146980\\.net)|(idgz2n\\.net)|(drn3\\.net)|(i305175\\.net)|(i271380\\.net)|(vxca\\.net)|(c3me6x\\.net)|(i317579\\.net)|(iyhh\\.net)|(wgn3fr\\.net)|(vthnbx\\.net)|(i277339\\.net)|(ifgza3\\.net)|(llbyf9\\.net)|(c5l5\\.net)|(i263671\\.net)|(4fq8\\.net)|(blihtq\\.net)|(rjnwm7\\.net)|(43zz\\.net)|(i275503\\.net)|(i276271\\.net)|(2gl34e\\.net)|(i206969\\.net)|(i303683\\.net)|(hbbswr\\.net)|(ewrvdi\\.net)|(hq6ajo\\.net)|(kmlj9i\\.net)|(goto\\.americanexpress\\.com)|(hw4zyk\\.net)|(4ok7ht\\.net)|(i179050\\.net)|(wmsyr7\\.net)|(a6gkwq\\.net)|(i257289\\.net)|(4tqiav\\.net)|(i203032\\.net)|(ie8t3j\\.net)|(xr2bd6\\.net)|(i286093\\.net)|(ustnul\\.net)|(uewp\\.net)|(nd8t\\.net)|(txuqk6\\.net)|(xpfo\\.net)|(8x7ctf\\.net)|(i130883\\.net)|(i295461\\.net)|(i294432\\.net)|(t7c9v8\\.net)|(chx3kt\\.net)|(i297327\\.net)|(c38gzp\\.net)|(i123888\\.net)|(i246982\\.net)|(i148866\\.net)|(gcc3\\.net)|(ver28r\\.net)|(xkpq\\.net)|(xkri\\.net)|(9yde\\.net)|(i134784\\.net)|(xhtgk3\\.net)|(hv8ceq\\.net)|(77jaha\\.net)|(9u2rlz\\.net)|(uztnuq\\.net)|(mkr3\\.net)|(642pbb\\.net)|(2xkn\\.net)|(qk4r\\.net)|(gfko\\.net)|(mno8\\.net)|(znhhcm\\.net)|(iybsj3\\.net)|(aht6xo\\.net)|(8zaeu3\\.net)|(kjorbe\\.net)|(sfe5\\.net)|(i299105\\.net)|(6uu72h\\.net)|(4g9yrz\\.net)|(1\\.envato\\.market)|(4drrzr\\.net)|(c3nu2i\\.net)|(vs9au6\\.net)|(tdndqm\\.net)|(i339540\\.net)|(i285710\\.net)|(i250869\\.net)|(775j\\.net)|(7q8j\\.net)|(83ckgt\\.net)|(i300907\\.net)|(qn6r\\.net)|(p8mc\\.net)|(lgkftb\\.net)|(i334637\\.net)|(i205484\\.net)|(ldw66v\\.net)|(aqp4qa\\.net)|(i358993\\.net)|(i168918\\.net)|(hnyj8s\\.net)|(7qto\\.net)|(i121497\\.net)|(mrlph3\\.net)|(fhsxpf\\.net)|(npfrrw\\.net)|(i116782\\.net)|(u7lr6p\\.net)|(648q\\.net)|(tbthfv\\.net)|(i116503\\.net)|(uqrxu7\\.net)|(i302106\\.net)|(i183635\\.net)|(pa4kxy\\.net)|(3obyns\\.net)|(i210675\\.net)|(xb398u\\.net)|(i276400\\.net)|(fb8d\\.net)|(kbasqv\\.net)|(i189637\\.net)|(i190936\\.net)|(i140070\\.net)|(i353150\\.net)|(t2bw9u\\.net)|(vvtnn9\\.net)|(p3oc\\.net)|(g6gdil\\.net)|(i213011\\.net)|(ule4b9\\.net)|(qy67zi\\.net)|(8zgmnp\\.net)|(wxc9hm\\.net)|(bueme2\\.net)|(wcmu8e\\.net)|(i260660\\.net)|(2ygtwc\\.net)|(i122908\\.net)|(74tzgq\\.net)|(e4wb\\.net)|(5nfc\\.net)|(zafxzt\\.net)|(e9ppfh\\.net)|(tv2h87\\.net)|(nkygzf\\.net)|(i108736\\.net)|(i163678\\.net)|(i144304\\.net)|(f6rcao\\.net)|(9yoxzr\\.net)|(erik73\\.net)|(r37x9j\\.net)|(ng4cgr\\.net)|(8v4lqg\\.net)|(o7n83a\\.net)|(i261477\\.net)|(m4ibck\\.net)|(74xz8u\\.net)|(i169060\\.net)|(i117711\\.net)|(epvitm\\.net)|(puasq9\\.net)|(wf373c\\.net)|(gyuyee\\.net)|(pkpakz\\.net)|(i340849\\.net)|(i344083\\.net)|(i203761\\.net)|(i270719\\.net)|(vwli\\.net)|(i295768\\.net)|(i359245\\.net)|(i258711\\.net)|(rvgu\\.net)|(mwztt8\\.net)|(elfm\\.net)|(eyjo\\.net)|(gqco\\.net)|(hmxg\\.net)|(ijrn\\.net)|(jewn\\.net)|(tzva\\.net)|(wfraqy\\.net)|(dne9je\\.net)|(4byfvk\\.net)|(i181990\\.net)|(xq2wid\\.net)|(7oyhzp\\.net)|(aydjxz\\.net)|(i331371\\.net)|(ffxwxg\\.net)|(i363662\\.net)|(obbk\\.net)|(fgjaok\\.net)|(h382za\\.net)|(i113075\\.net)|(i130297\\.net)|(a49pb4\\.net)|(8kpa2n\\.net)|(i128439\\.net)|(i326837\\.net)|(w27s\\.net)|(gtlppj\\.net)|(i104546\\.net)|(go\\.silpada\\.com)|(i160067\\.net)|(gvhb\\.net)|(8lvxaf\\.net)|(i191769\\.net)|(awv4zz\\.net)|(gtlptb\\.net)|(7ck3j6\\.net)|(w7ma\\.net)|(j8ujgp\\.net)|(c2ukkg\\.net)|(u4prjd\\.net)|(t2nfq3\\.net)|(i317572\\.net)|(i246054\\.net)|(woc3yh\\.net)|(zytd7d\\.net)|(jpzeir\\.net)|(li9jiy\\.net)|(i141006\\.net)|(i141602\\.net)|(mzte\\.net)|(vz7pkt\\.net)|(yardaz\\.net)|(a49tr6\\.net)|(tkl68z\\.net)|(i298770\\.net)|(2uf4ta\\.net)|(i156748\\.net)|(jmx223\\.net)|(nqn6\\.net)|(n72y7a\\.net)|(i357552\\.net)|(i274396\\.net)|(vdvm\\.net)|(8n4773\\.net)|(btyhsg\\.net)|(g7ix2j\\.net)|(4qxjn9\\.net)|(vfjm\\.net)|(nrlq2m\\.net)|(wyfx2f\\.net)|(4emhls\\.net)|(ovon4f\\.net)|(2rcf97\\.net)|(krym8q\\.net)|(go\\.nansen\\.ai)|(goto\\.binge\\.com\\.au)|(kattestadvertiser3\\.dgmperformance\\.com\\.au)|(goto\\.flashnews\\.com\\.au)|(a\\.12-mp\\.com)|(h\\.12-mp\\.com)|(r\\.15-mp\\.com)|(f\\.17-mp\\.com)|(h\\.17-mp\\.com)|(c\\.1lnk1\\.com)|(a\\.3000trk\\.com)|(e\\.3000trk\\.com)|(f\\.3000trk\\.com)|(h\\.3000trk\\.com)|(r\\.3000trk\\.com)|(v\\.3000trk\\.com)|(e\\.3100trk\\.com)|(h\\.3100trk\\.com)|(m\\.3100trk\\.com)|(r\\.3100trk\\.com)|(v\\.3100trk\\.com)|(e\\.3200trk\\.com)|(f\\.3200trk\\.com)|(h\\.3200trk\\.com)|(r\\.3200trk\\.com)|(v\\.3200trk\\.com)|(e\\.3300trk\\.com)|(f\\.3300trk\\.com)|(h\\.3300trk\\.com)|(r\\.3300trk\\.com)|(partners\\.advertiser\\.com)|(goto\\.advertiserdemo\\.com)|(aeropostale\\.com)|(goto\\.allstate\\.com)|(partners\\.americanexpress\\.com)|(appleaffiliatedemo\\.com)|(www\\.appleaffiliatedemo\\.com)|(www\\.audibletrial\\.com)|(belk\\.com)|(brandwrapped\\.com)|(creator\\.canva\\.com)|(goto\\.capitalone\\.com)|(goto\\.careerbuilder\\.com)|(www\\.celestecampaign\\.com)|(goto\\.childrensplace\\.com)|(custom\\.com)|(a\\.data3100\\.com)|(s\\.data3100\\.com)|(u\\.data3100\\.com)|(w\\.data3100\\.com)|(f\\.data3200\\.com)|(m\\.data3200\\.com)|(r\\.data3200\\.com)|(c\\.data3300\\.com)|(ir\\.deepattractiononline\\.com)|(t\\.dgm-au\\.com)|(t\\.dgm-nz\\.com)|(goto\\.directresponse\\.com)|(goto\\.discover\\.com)|(www\\.dwtest2\\.com)|(www\\.dwtest2custom\\.com)|(app\\.partner\\.ebay\\.com)|(goto\\.example\\.com)|(go\\.expressvpn\\.com)|(goto\\.financedemo\\.com)|(secure\\.financedemo\\.com)|(partners\\.fitness4her\\.com)|(partners\\.freeshadez\\.com)|(go\\.globalhealingcenter\\.com)|(gotonextissue\\.com)|(goto\\.gucci\\.com)|(goto\\.guitarcenter\\.com)|(partners\\.hollisterco\\.com)|(goto\\.hottopic\\.com)|(linkto\\.ext\\.hp\\.com)|(partners\\.impactradius\\.com)|(goto\\.jet\\.com)|(partners\\.justdeals\\.com)|(r\\.kraken\\.com)|(goto\\.lenovo\\.com)|(goto\\.libertymutual\\.com)|(goto\\.macys\\.com)|(www\\.marcel\\.com)|(tr\\.michaelkors\\.com)|(afflnk\\.microsoft\\.com)|(a\\.mp3456\\.com)|(e\\.mp3456\\.com)|(tracking123\\.namoffers\\.com)|(goto\\.nest\\.com)|(go\\.novica\\.com)|(shop\\.nuleafnaturals\\.com)|(offers\\.ondeckcapital\\.com)|(secure\\.optimumoffer\\.com)|(goto\\.orientaltrading\\.com)|(goto\\.proactive\\.com)|(secure\\.quickenloans\\.com)|(goto\\.reebok\\.com)|(direct\\.retailmenot\\.com)|(cpatraffic\\.rtmn\\.com)|(cpctraffic\\.rtmn\\.com)|(goto\\.rugsusa\\.com)|(goto\\.saasdemo\\.com)|(partners\\.shinola\\.com)|(partners\\.shopjustice\\.com)|(partner\\.shopmoment\\.com)|(go\\.smtp2go\\.com)|(refer\\.sofi\\.com)|(impact\\.swarovski\\.com)|(swarovskidemo\\.com)|(tr\\.talbots\\.com)|(partners\\.teespring\\.com)|(goto\\.telecomdemo\\.com)|(goto\\.thumbtack\\.com)|(goto\\.ticketexchangebyticketmaster\\.com)|(goto\\.ticketmaster\\.com)|(htotopic\\.tr\\.com)|(talbots\\.tr\\.com)|(goto\\.traveldemo\\.com)|(goto\\.tribpub\\.com)|(goto\\.uber\\.com)|(go\\.ubisoft\\.com)|(goto\\.victoriassecret\\.com)|(goto\\.vitaminshoppe\\.com)|(partners\\.vonage\\.com)|(partners\\.webhostinghub\\.com)|(claires\\.westfield\\.com)|(affiliates\\.williams-sonoma\\.com)|(wondereporium\\.com)|(goto\\.yourdomain\\.com)|(goto\\.zalora\\.com)|(elfsight\\.io)|(whiteterry\\.29cxp7\\.net)|(anythingloan\\.2lth\\.net)|(yamazaki-home\\.2mnhoy\\.net)|(the-realreal\\.2pxhba\\.net)|(westelmuk\\.2vfn\\.net)|(koreanair\\.2vx8\\.net)|(fundera\\.34rwxn\\.net)|(captureone\\.38d4qb\\.net)|(sitebeat\\.39v3vo\\.net)|(ooma-smart-security\\.3ddabr\\.net)|(roofstock\\.3k3q\\.net)|(pbkidsau\\.3kpx\\.net)|(root-insurance\\.3mhson\\.net)|(self-lender\\.3qcw\\.net)|(supercheapauto\\.3wqa7g\\.net)|(havensimple\\.3yjf29\\.net)|(rest\\.3z6a\\.net)|(westelmau\\.44ky\\.net)|(ticketmasteritalia\\.46uy\\.net)|(crowdstreet\\.4cl7\\.net)|(consumer-credit-union\\.4cna\\.net)|(sony\\.4fmm4z\\.net)|(secret-escapes-it\\.4h2elr\\.net)|(hoteltonight\\.4jvn\\.net)|(automattic\\.4oqh\\.net)|(kogan\\.4p72pk\\.net)|(smiledirectclubuk\\.4quhjm\\.net)|(staplescanada\\.4u8mqw\\.net)|(jing\\.4xcm\\.net)|(masterworks\\.536u\\.net)|(cove\\.54dw\\.net)|(sitey\\.5ps6\\.net)|(lenovo-portugal\\.62kb\\.net)|(vypecanada\\.64i2oe\\.net)|(gettyimages\\.68w6\\.net)|(istockphoto\\.6q33\\.net)|(bioxskincare\\.729cod\\.net)|(kleinfeld-bridal\\.73b3h3\\.net)|(tui-uk\\.7cnq\\.net)|(didimobilityaustralia\\.7jnpqz\\.net)|(resellerclub-india\\.7kwdlr\\.net)|(foodlion\\.7lg23b\\.net)|(boxofstyle\\.7rhm\\.net)|(kosas\\.7zgd\\.net)|(termly\\.7zqw8y\\.net)|(kwikfit\\.82rc\\.net)|(flixcar\\.8bjsq8\\.net)|(telestream\\.8bx6ag\\.net)|(m1finance\\.8bxp97\\.net)|(thechillway\\.8l4s7a\\.net)|(bodylogixca\\.8plgeh\\.net)|(fanatics\\.93n6tx\\.net)|(virgin-voyages\\.99ptgw\\.net)|(upstart\\.9c65\\.net)|(boka\\.9i9b\\.net)|(bananarepublic\\.9itn9h\\.net)|(royallondonover50s\\.9kkdyy\\.net)|(yamibuy\\.9nt4\\.net)|(landlord\\.9uk3f2\\.net)|(constantcontact\\.9w9y\\.net)|(ula-equipment\\.9xrw\\.net)|(untuckit\\.9znn\\.net)|(youneedabudget\\.a4xxmk\\.net)|(logitech-de\\.a58n\\.net)|(aspiration\\.a5oq\\.net)|(watches-of-switzerland\\.ai2ltf\\.net)|(breville-remanufactured\\.aj4m7r\\.net)|(waves\\.alzt\\.net)|(rslartunion\\.amofm7\\.net)|(nectaruk\\.aor6\\.net)|(thechildrensplace\\.ay6u\\.net)|(secret-escapes-fr\\.b3zq62\\.net)|(meet-cleo\\.b4th\\.net)|(thedoors\\.b6rs\\.net)|(secret-escapes-de\\.b7ohif\\.net)|(nars-cosmetics\\.bc2sfg\\.net)|(links\\.bitstamp\\.net)|(vaulted\\.blbvux\\.net)|(hsbcsgcc\\.bmki\\.net)|(hsbcsgpl\\.bmki\\.net)|(n26-eu\\.c2nwa3\\.net)|(regionalfinance\\.c2nz\\.net)|(drivepeasy\\.c7ch\\.net)|(dreamclouduk\\.cpd3\\.net)|(levelbank\\.cz6xnl\\.net)|(goldsmiths\\.db9cet\\.net)|(pivothealth\\.dclzbw\\.net)|(rootinevitamins\\.df7rps\\.net)|(lenovo\\.dgi7au\\.net)|(tickpick\\.dgrk2e\\.net)|(ariat\\.dkkdet\\.net)|(wilson\\.dkvl\\.net)|(ticketsnow\\.dpcn8w\\.net)|(unestcollegesavingsplan\\.dqxc7i\\.net)|(brownells\\.dts2xn\\.net)|(barbequesgalore\\.dvkiik\\.net)|(theyes\\.dxfbc9\\.net)|(mojo-mortages\\.dylnvf\\.net)|(deluxe-vpn\\.e2f6\\.net)|(smiledirectclubau\\.e4uc73\\.net)|(crazydomains\\.eaug7r\\.net)|(sheex\\.eaul\\.net)|(fitbux\\.eibg\\.net)|(royallondonfuneralplan\\.ekszbb\\.net)|(unoccupied-property\\.er7gnw\\.net)|(square-uk\\.es4ecy\\.net)|(bwell-briogeo\\.ev72ra\\.net)|(gaigai\\.ez7hkm\\.net)|(essentiamattress\\.f3uvj9\\.net)|(zoetic\\.fgebzp\\.net)|(bidroom\\.firn8e\\.net)|(luno\\.fl9beu\\.net)|(netspot\\.fm7owm\\.net)|(cledepeaubeaute\\.fy339m\\.net)|(reebok-canada\\.fzqh\\.net)|(currencyfair\\.g6ww\\.net)|(royal-london\\.g8pw6g\\.net)|(cds\\.gd24vx\\.net)|(afklmpointstravel\\.gfbv\\.net)|(watch\\.gkhe\\.net)|(lightstream\\.gr4q\\.net)|(westelmca\\.gsfo\\.net)|(linode\\.gvw92c\\.net)|(bodylogix\\.h3wdt8\\.net)|(imp\\.i102578\\.net)|(imp\\.i102585\\.net)|(imp\\.i102628\\.net)|(imp\\.i105279\\.net)|(imp\\.i109152\\.net)|(imp\\.i110150\\.net)|(imp\\.i111827\\.net)|(imp\\.i114863\\.net)|(imp\\.i115008\\.net)|(imp\\.i117074\\.net)|(imp\\.i118097\\.net)|(imp\\.i119894\\.net)|(imp\\.i120408\\.net)|(imp\\.i122462\\.net)|(imp\\.i123723\\.net)|(imp\\.i127447\\.net)|(imp\\.i127448\\.net)|(imp\\.i127484\\.net)|(imp\\.i132230\\.net)|(imp\\.i136221\\.net)|(imp\\.i141429\\.net)|(imp\\.i141782\\.net)|(imp\\.i141824\\.net)|(imp\\.i144525\\.net)|(imp\\.i146086\\.net)|(imp\\.i146998\\.net)|(imp\\.i153228\\.net)|(imp\\.i153398\\.net)|(imp\\.i154272\\.net)|(imp\\.i155730\\.net)|(imp\\.i162910\\.net)|(imp\\.i163361\\.net)|(imp\\.i164922\\.net)|(imp\\.i167134\\.net)|(imp\\.i174494\\.net)|(imp\\.i174730\\.net)|(imp\\.i175411\\.net)|(imp\\.i177738\\.net)|(imp\\.i179468\\.net)|(imp\\.i182465\\.net)|(imp\\.i184500\\.net)|(imp\\.i184621\\.net)|(imp\\.i185592\\.net)|(imp\\.i187843\\.net)|(imp\\.i188489\\.net)|(imp\\.i189201\\.net)|(imp\\.i195052\\.net)|(imp\\.i197837\\.net)|(imp\\.i200982\\.net)|(imp\\.i201009\\.net)|(imp\\.i201604\\.net)|(imp\\.i204684\\.net)|(imp\\.i204706\\.net)|(imp\\.i205248\\.net)|(imp\\.i207729\\.net)|(imp\\.i209882\\.net)|(imp\\.i215020\\.net)|(imp\\.i215644\\.net)|(imp\\.i217012\\.net)|(imp\\.i217056\\.net)|(imp\\.i217336\\.net)|(imp\\.i218435\\.net)|(imp\\.i220923\\.net)|(imp\\.i222331\\.net)|(imp\\.i222351\\.net)|(imp\\.i222833\\.net)|(imp\\.i224272\\.net)|(imp\\.i225013\\.net)|(imp\\.i225111\\.net)|(imp\\.i229218\\.net)|(imp\\.i229304\\.net)|(imp\\.i229745\\.net)|(imp\\.i231566\\.net)|(imp\\.i233452\\.net)|(imp\\.i234686\\.net)|(imp\\.i239438\\.net)|(imp\\.i239776\\.net)|(imp\\.i241730\\.net)|(imp\\.i241976\\.net)|(imp\\.i248313\\.net)|(imp\\.i251749\\.net)|(imp\\.i253636\\.net)|(imp\\.i254217\\.net)|(imp\\.i255443\\.net)|(imp\\.i256749\\.net)|(imp\\.i259117\\.net)|(imp\\.i259801\\.net)|(imp\\.i261257\\.net)|(imp\\.i265064\\.net)|(imp\\.i266063\\.net)|(imp\\.i266918\\.net)|(imp\\.i267874\\.net)|(imp\\.i279730\\.net)|(imp\\.i284037\\.net)|(imp\\.i286488\\.net)|(imp\\.i287301\\.net)|(imp\\.i292280\\.net)|(imp\\.i294986\\.net)|(imp\\.i295937\\.net)|(imp\\.i296901\\.net)|(levis\\.i2a9tn\\.net)|(imp\\.i302163\\.net)|(imp\\.i302434\\.net)|(imp\\.i302817\\.net)|(imp\\.i303990\\.net)|(imp\\.i304868\\.net)|(imp\\.i305322\\.net)|(imp\\.i308085\\.net)|(imp\\.i308713\\.net)|(imp\\.i309903\\.net)|(imp\\.i310488\\.net)|(imp\\.i311231\\.net)|(imp\\.i312634\\.net)|(imp\\.i313392\\.net)|(imp\\.i313414\\.net)|(imp\\.i315845\\.net)|(imp\\.i319830\\.net)|(imp\\.i325350\\.net)|(imp\\.i326929\\.net)|(imp\\.i331902\\.net)|(imp\\.i332630\\.net)|(imp\\.i335593\\.net)|(imp\\.i335971\\.net)|(imp\\.i337888\\.net)|(imp\\.i339846\\.net)|(imp\\.i344425\\.net)|(imp\\.i346552\\.net)|(imp\\.i347823\\.net)|(imp\\.i347961\\.net)|(imp\\.i349124\\.net)|(imp\\.i349218\\.net)|(imp\\.i350665\\.net)|(imp\\.i351785\\.net)|(imp\\.i353253\\.net)|(imp\\.i353259\\.net)|(imp\\.i353989\\.net)|(imp\\.i354918\\.net)|(imp\\.i357806\\.net)|(imp\\.i361937\\.net)|(imp\\.i366014\\.net)|(imp\\.i373950\\.net)|(imp\\.i374012\\.net)|(imp\\.i374255\\.net)|(imp\\.i374549\\.net)|(imp\\.i376996\\.net)|(imp\\.i378378\\.net)|(imp\\.i379087\\.net)|(imp\\.i382113\\.net)|(imp\\.i384100\\.net)|(paradoxinteractive\\.i38e\\.net)|(imp\\.i447714\\.net)|(carquest\\.i77b\\.net)|(lendkey\\.id2d3x\\.net)|(step2\\.ijnb\\.net)|(boat\\.iklrq6\\.net)|(easyship\\.ilbqy6\\.net)|(smol-products\\.ilwyv3\\.net)|(splash-financial\\.j48ltb\\.net)|(wikibuy\\.j4snje\\.net)|(lighthouse360\\.j9nt\\.net)|(fanatiz\\.jbbfvx\\.net)|(motivecbd\\.jdm88d\\.net)|(paxvapor\\.jfki2j\\.net)|(skinceuticalsca\\.jkwjpk\\.net)|(adriannapap\\.jniufr\\.net)|(evens\\.jplh3y\\.net)|(balooliving-ca\\.jrc3mx\\.net)|(lolatravelcompany\\.jsp92a\\.net)|(dicksmith\\.jxhtmc\\.net)|(jetblue\\.jyeh\\.net)|(davidjones\\.k98d\\.net)|(chefsteps\\.kbzing\\.net)|(vox\\.kffcyy\\.net)|(booktopia\\.kh4ffx\\.net)|(smol-us\\.kpuanq\\.net)|(ottyie\\.kqmu\\.net)|(yeezy\\.l36r\\.net)|(oxygenbank\\.l43qr8\\.net)|(potterybarnau\\.l69d\\.net)|(holiday-home\\.lat366\\.net)|(fabletics-ca\\.lbze\\.net)|(virgin-experience-days\\.ldaz\\.net)|(first-choice\\.le7z\\.net)|(menulog-au\\.lhqm\\.net)|(secretescapesse\\.lk5c\\.net)|(square-au\\.lnvf6s\\.net)|(tui-ireland\\.lp9g\\.net)|(tradesmen\\.luaxx2\\.net)|(littlecooks\\.mjglcb\\.net)|(choice\\.mtko\\.net)|(blockfi\\.mxuy67\\.net)|(myhippo\\.ndqgrs\\.net)|(revolut\\.ngih\\.net)|(revolut-for-pioneers\\.ngih\\.net)|(revolutbusiness\\.ngih\\.net)|(starling-bank\\.nny66p\\.net)|(plushbeds\\.nzvz\\.net)|(mealtrain\\.o4i2p9\\.net)|(tripbeat\\.o4kt\\.net)|(blinkist\\.o6eiov\\.net)|(travelmedicalinsurance\\.o8bpq6\\.net)|(armedforcesvacationclub\\.o97o\\.net)|(grasshopper\\.o9o4\\.net)|(teconnectivity\\.o9trf8\\.net)|(bcf\\.oaccss\\.net)|(latexforless\\.oack\\.net)|(yogainternational\\.oae6r3\\.net)|(ecoterrabeds\\.obdh\\.net)|(rebotanicals\\.ohojfd\\.net)|(premium-beat\\.oivf\\.net)|(saudia\\.opdn\\.net)|(dockers\\.orx24i\\.net)|(evesleepie\\.osc3ri\\.net)|(spaces-uk\\.ots4th\\.net)|(norton\\.ow5a\\.net)|(fastcover\\.owjezm\\.net)|(joy-organics\\.oxmy\\.net)|(pearson\\.oy8hzn\\.net)|(work\\.ariat\\.p2tjla\\.net)|(sitelio\\.p4xq\\.net)|(apriadirect\\.p96x\\.net)|(williams-sonoma-au\\.pgg3\\.net)|(insureandgo\\.pmicpk\\.net)|(tkees\\.pmwkew\\.net)|(cheapoair\\.ppa7q7\\.net)|(likewise\\.q2izwe\\.net)|(keeps\\.q3qw\\.net)|(lendkey\\.qbh8ac\\.net)|(us-doctors-clinical\\.qeeylr\\.net)|(staplescopyprint\\.qgv6w8\\.net)|(tadashishoji\\.qhqdlu\\.net)|(campman\\.qltq8g\\.net)|(99designs\\.qvig\\.net)|(public\\.qwjcdi\\.net)|(anapointstravel\\.qxwr\\.net)|(static-caravan\\.r2gfl2\\.net)|(websitebuilder\\.r5n8\\.net)|(smiledirectclubca\\.rjkjc2\\.net)|(rabobank\\.rkow\\.net)|(rebelsport\\.rrg8du\\.net)|(homedepotservices\\.rvrm\\.net)|(allianz\\.rvsspp\\.net)|(sitebuilder\\.s4r8\\.net)|(golf-galaxy\\.selw\\.net)|(mappin-and-webb\\.sgygtv\\.net)|(rbs\\.shzxkd\\.net)|(vita-grace\\.sjnezz\\.net)|(afklm\\.tcux\\.net)|(n26-us\\.tcwuzj\\.net)|(regus-uk\\.tfyxfo\\.net)|(travelbirdbe\\.tgu7\\.net)|(stasher\\.thj6q2\\.net)|(jamrockorganics\\.tioq8n\\.net)|(ticketmaster-se\\.tm7505\\.net)|(bibi\\.tm7506\\.net)|(ticketmaster-es\\.tm7508\\.net)|(ticketmaster-nl\\.tm7510\\.net)|(ticketmaster-ie\\.tm7512\\.net)|(ticketmaster-de\\.tm7514\\.net)|(ticketmaster-fi\\.tm7520\\.net)|(ticketmaster-dk\\.tm7521\\.net)|(ticketmaster-be\\.tm7522\\.net)|(ticketmaster-at\\.tm8116\\.net)|(ticketmaster-pl\\.tm8185\\.net)|(ticketmaster-ch\\.tm8186\\.net)|(ticketmaster-no\\.tm8215\\.net)|(ticketmaster-cz\\.tm9743\\.net)|(remitly\\.tod8mp\\.net)|(onpay\\.tpchkr\\.net)|(shiseido\\.u24his\\.net)|(tui-travel-money\\.ubn8\\.net)|(oneshoppingcart\\.uejg\\.net)|(touring-caravan\\.ueuik7\\.net)|(logitech-ch\\.ug7o\\.net)|(linkedin\\.ukzh\\.net)|(nisolo\\.uvwgb9\\.net)|(stitchfixuk\\.v6xh\\.net)|(etihad\\.vkuz\\.net)|(wineexpress\\.vneoga\\.net)|(natwest\\.vnx2z7\\.net)|(kaizennaturals\\.vrivoq\\.net)|(marthastewartcoffee\\.vrwlzj\\.net)|(emirates\\.vwur\\.net)|(cbdistillery\\.vxoy\\.net)|(polyscience\\.vyd8\\.net)|(0800flowers\\.vz2om2\\.net)|(samsonite\\.w7fot8\\.net)|(discoverhomeequityloans\\.wrqf\\.net)|(esalon\\.wy62cy\\.net)|(nuri\\.x89scb\\.net)|(decathlon-nl\\.x8nb\\.net)|(make-it-count\\.xmav\\.net)|(readly\\.xqtubi\\.net)|(gotowebinar\\.xrte\\.net)|(alliant\\.y26xwv\\.net)|(eddiebauerca\\.ydij\\.net)|(epi\\.ykwujd\\.net)|(crazydomainsuk\\.yqcqcu\\.net)|(scottscheapflights\\.yuy8ab\\.net)|(epth\\.yvvn\\.net)|(upgrade\\.ywhcc7\\.net)|(peapod\\.yy4skx\\.net)|(onetravel\\.z4fp8q\\.net)|(lendkey\\.zkfimy\\.net)|(lenovo-in\\.zlvv\\.net)|(lsg\\.zlwlj8\\.net)|(travelstart\\.zwjlk6\\.net)|(alj\\.zyzfnh\\.net)|(www\\.test\\.org)|(goto\\.financeclient\\.co\\.uk)|(gotosainsburysbank\\.co\\.uk)|(goto\\.retailclient\\.co\\.uk)|(goto\\.saasclient\\.co\\.uk)|(goto\\.travelclient\\.co\\.uk)|(click\\.linksynergy\\.com)|(linksynergy\\.walmart\\.com)|(shareasale\\.com)|(shrsl\\.com|shareasale\\-analytics\\.com)|(c1\\.dealnews\\.com)|(go\\.redirectingat\\.com)|(go\\.skimresources\\.com)|(fave\\.co)|(go\\.[a-zA-Z0-9].*?\\.com(\\/?)\\?id=[0-9].+?X[0-9].+?&)|(pepperjamnetwork\\.com)|(pjtra\\.com\\/t\\/)|(gopjn\\.com\\/t\\/)|(pjatr\\.com\\/t\\/)|(pntra\\.com\\/t\\/)|(pntrs\\.com\\/t\\/)|(pntrac\\.com\\/t\\/)|(tradedoubler\\.com\\/click)|(pf\\.tradedoubler\\.com\\/pf\\/)|(tradedoubler.com%2Fclick%3F)|(track\\.webgains\\.com)|(prf\\.hn\\/click)|(prf\\.hn\\/l)|(avantlink\\.com\\/click)|(track\\.adtraction\\.com)|(adtr\\.co)|(\\/t\\/t\\/\\?a=(\\d+))|(\\/t\\/t\\?a=(\\d+))|(tc\\.tradetracker\\.net)|(\\?|\\&)tt=(\\d+)_(\\d+)_(\\d+)(_[\\w-]+)?|(partner).*(\\/c?).*(c=).*(m=).*(a=)|(redirect\\.viglink\\.com)|(aff_c[\\S]*?aff_id=(\\d+))|(c\\.trackmytarget\\.com)|^((http|https):\\/\\/(partner|tracking)\\.bol\\.com\\/click\\/click)|^((http|https):\\/\\/oc\\.brcclx\\.com\\/t\\/\\?)|^((http|https):\\/\\/track\\.[wg|wargaming]+\\-aff\\.com\\/click)|(wayfair\\.com[\\S]+refid=)|(hylxtrk|buy\\.storyworth|nolahmattress|romadesignerjewelry|ostlon|hiasor|goplay4|trck1t|wb44trk|wb22trk)(\\.com)(\\/?)([a-zA-Z0-9]+\\/[a-zA-Z0-9]+\\/|(\\?)((oid=[0-9]+)[\\S]*(affid=[0-9]+)|(affid=[0-9]+)[\\S]*(oid=[0-9]+))|(cmp\\/))|(ds1\\.nl\\/c\\/)|(ndt5\\.net\\/c\\/)|(lt45\\.net\\/c\\/)|(fr135\\.net\\/c\\/)|(dt51\\.net\\/c\\/)|(at19\\.net\\/c\\/)|(jf79\\.net\\/c\\/)|(rkn3\\.net\\/c\\/)|(bdt9\\.net\\/c\\/)|((spindlemattress|worldwidecyclery|thegravitycartel|verdebikes|gaggiadirect|cobocbd|leafremedys)\\.com[\\S]*[\\&|\\?]aff=[\\d]+)|(lumen\\.me[\\S]*[\\&|\\?]fid=[\\d]+)|((ebay\\.)(?=.*\\bcampid=[\\d+])(?=.*\\bmkcid=1\\b)(?=.*\\bmkrid=[\\d+]*\\b)[\\S]*)|((ebay\\.)(?=.*\\bcampid=[\\d+])(?=.*\\bmpre=[\\d+]*\\b)(?=.*\\bpub=[\\d+]*\\b)[\\S]*)|((ebay\\.).[\\S]*(mkcid%3D)[\\S]*(mkrid%3D[0-9\\-]*)[\\S]*(%26campid%3D[0-9]*)[\\S]*)|(\\?|\\&)(rfsn=([0-9]{1,})\\.([a-z0-9]{3,}))|(track\\.flexlinkspro\\.com|track\\.flexlinks\\.com)|(cmtcr\\.com\\/clk\\.trk|qwxyq\\.com\\/clk\\.trk)|(stackedbrands\\.com|getrxd\\.com|transparentlabs\\.com|roguefitness\\.com|leanbeanofficial\\.com|realketones\\.com|amplemeal\\.com)|([\\?|\\&|\\#]a_aid=[a-zA-Z0-9]+)|(bhphotovideo\\.com\\/c\\/product[\\S]*\\/BI\\/[\\d]*[\\S]*\\/KBID\\/[\\d]*)|(track\\.effiliation\\.com\\/)[\\S]*(id_compteur=[1-9]+)|(financeads\\.net\\/tc\\.php)|(\\.digidip\\.net\\/visit[\\S]*(url=))|(\\.digidip\\.net%2Fvisit[\\S]*(url%3D))|(\\&|\\?)(a_fid=)|(\\/[a-z]{3}\\.[\\S]*\\/\\?P[0-9a-fA-F]{3,})|(action\\.metaffiliation\\.com\\/trk\\.php\\?mclic=P[0-9a-fA-F]{3,})|(secure\\.2checkout\\.com\\/affiliate\\.php\\?)[\\S]*(ACCOUNT=)[\\S]*(AFFILIATE=[1-9]*\\&)[\\S]*(PATH=)[\\S]*|(?=.*apple\\.com\\/)(?=.*at=)(?=.*itscg=)(?=.*itsct=).*|(howl\\.me\\/|shop-links\\.co\\/|shop-edits\\.co\\/)((\\d{19})|[0-9a-zA-Z]{11}|link)|((t\\.cfjump\\.com\\/)[0-9]*\\/t\\/[0-9]*)|(scripts\\.affiliatefuture\\.com\\/AFClick\\.asp)+[\\S]*(affiliateID=\\d+)|^.*(?=.btag=).*(?=.affid=).*(?=.siteid=).*$|^.*(?=.*pointsbetpartners\\.com\\/)(?=.*payload=).*$)"));e.exports={adDomains:["(clicks.)?trx-hub.com","go.skimresources.com","go.redirectingat.com","(www.)?fave.co","beavertownbrewery.pxf.io","wilko.sjv.io","fanatics.93n6tx.net","ticketmaster-uk.tm7559.net","(www.)?prf.hn","nastygal.prf.hn","selfridges.prf.hn","bloomwild.prf.hn","go.linkby.com","(www.)?awin1.com","track.webgains.com","click.linksynergy.com","(www.)?dpbolvw.net","(www.)?kqzyfj.com","(www.)?anrdoezrs.net","(www.)?veneficus.co.uk","(www.)?shareasale.com","(www.)?privadovpn.com","(www.)?amzn.to","(www.)?amazon.[\\S]*?\\/(dp|gp)\\/[\\S]*?tag=","(www.)?planethowl.com"],theTimesSiteCode:"newsuk_8757f29588_thetimes",travelSiteCode:"newsuk_8757f29588_thetimestravel",publisherId:"34784x1550488",trackonomicsRegex:t}},,,function(e,o,t){"use strict";t.r(o);t(32),t(58),t(31),t(40),t(41),t(45),t(26),t(33),t(22),t(133),t(36),t(37),t(48),t(610),t(161),t(44),t(52),t(57),t(59),t(25),t(156);var n=t(54),r=t.n(n),a=t(21),c=t(109),i=t.n(c),s=t(18),m=t(38),l=(t(88),t(78),t(75)),u=t.n(l);function d(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||h(e,o)||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,o){if(e){if("string"==typeof e)return f(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?f(e,o):void 0}}function f(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var b=function e(){for(var o=arguments.length,t=new Array(o),n=0;n<o;n++)t[n]=arguments[n];var r={},a=t.filter(Boolean).reduce((function(e,o){return Object.entries(o).forEach((function(o){var t=p(o,2),n=t[0],a=t[1],c=e[n];Array.isArray(a)||void 0===c?e[n]=a:u()(a)&&u()(c)?r[n]=!0:void 0!==a&&(e[n]=a)})),e}),{});return Object.keys(r).forEach((function(o){var n=t.filter(Boolean).map((function(e){return e[o]})).filter((function(e){return void 0!==e}));n.every((function(e){return u()(e)}))?a[o]=e.apply(void 0,d(n)):a[o]=n[n.length-1]})),a},g=t(69),y=t.n(g),k=["type","control"];function v(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var w,x=function(e,o){var t=e.type,n=e.control,r=v(e,k),a=Object.assign({name:o},r);return t&&(a.type=function(e){return"string"==typeof e?{name:e}:e}(t)),n?a.control=function(e){return"string"==typeof e?{type:e}:e}(n):!1===n&&(a.control={disable:!0}),a},j=function(e){return y()(e,x)},O=(t(331),t(113)),z=t(183),S=t.n(z),_=(t(332),t(608),/\s*\/\s*/);var E,C=function(e,o,t){var n;o?(n="function"==typeof o?o:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(o,t){if(o.title===t.title&&!e.includeNames)return 0;var n=e.method||"configure",r=e.order||[],a=o.title.trim().split(_),c=t.title.trim().split(_);e.includeNames&&(a.push(o.name),c.push(t.name));for(var i=0;a[i]||c[i];){if(!a[i])return-1;if(!c[i])return 1;var s=a[i],m=c[i];if(s!==m){var l=r.indexOf(s),u=r.indexOf(m),d=r.indexOf("*");return-1!==l||-1!==u?(-1===l&&(l=-1!==d?d:r.length),-1===u&&(u=-1!==d?d:r.length),l-u):"configure"===n?0:s.localeCompare(m,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}var p=r.indexOf(s);r=-1!==p&&Array.isArray(r[p+1])?r[p+1]:[],i+=1}return 0}}(o),S.a.inplace(e,n)):S.a.inplace(e,(function(e,o){return t.indexOf(e.importPath)-t.indexOf(o.importPath)}));return e},P=function(e,o,t){try{return C(e,o,t)}catch(e){throw new Error(Object(a.a)(w||(n=["\n Error sorting stories with sort parameter ",":\n\n > ","\n \n Are you using a V6-style sort function in V7 mode?\n\n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort\n "],r||(r=n.slice(0)),w=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}}))),o,e.message))}var n,r},I=function(e){return{id:e.id,title:e.title,name:e.name,importPath:e.parameters.fileName}},T=function(e,o,t){if(o&&"function"==typeof o)return S.a.inplace(e,o),e.map((function(e){return I(e[1])}));var n=e.map((function(e){return I(e[1])}));return C(n,o,t)},A=(t(294),t(328),t(182)),N=t.n(A);function D(e){return function(e){if(Array.isArray(e))return e}(e)||M(e)||R(e)||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 q(e){return function(e){if(Array.isArray(e))return F(e)}(e)||M(e)||R(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,o){if(e){if("string"==typeof e)return F(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?F(e,o):void 0}}function M(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function F(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var L=/^index$/i;function B(e){var o=new RegExp("/{1,}","g");return e.join("/").replace(o,"/")}var H,U=function(e,o,t){var n,r,c=o||{},i=c.directory,m=c.importPathMatcher,l=c.titlePrefix,u=void 0===l?"":l;"number"==typeof e&&s.b.warn(Object(a.a)(E||(n=['\n CSF Auto-title received a numeric fileName. This typically happens when\n webpack is mis-configured in production mode. To force webpack to produce\n filenames, set optimization.moduleIds = "named" in your webpack config.\n '],r||(r=n.slice(0)),E=Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(r)}})))));var d,p,h=N()(String(e));if(m.exec(h)){if(!t){var f=h.replace(i,""),b=N()(B([u,f])).split("/");return b=function(e){var o=q(e),t=o[o.length-1],n=t.indexOf("."),r=n>0?t.substr(0,n):t;o[o.length-1]=r;var a=D(o),c=a[0],i=a.slice(1);return""===c&&(o=i),o}(b),(b=(d=b).filter((function(e,o){return(o!==d.length-1||e!==p&&!L.test(e))&&(p=e,!0)}))).join("/")}return u?N()(B([u,t])):t}},W=function(e,o,t){for(var n=0;n<o.length;n+=1){var r=U(e,o[n],t);if(r)return r}return t||void 0},V=["default","__namedExportsOrder"];function Y(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function G(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return $(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $(e,o)}(e,o)||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 $(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function X(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Z,K,J,Q,ee,oe=function(){function e(){!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.projectAnnotations=void 0,this.stories=void 0,this.csfExports=void 0,this.projectAnnotations={loaders:[],decorators:[],parameters:{},argsEnhancers:[],argTypesEnhancers:[],args:{},argTypes:{}},this.stories={},this.csfExports={}}var o,t,n;return o=e,(t=[{key:"importFn",value:function(e){var o=this;return O.SynchronousPromise.resolve().then((function(){var t=o.csfExports[e];if(!t)throw new Error("Unknown path: ".concat(e));return t}))}},{key:"getStoryIndex",value:function(e){var o,t,n,r,c,i=this,s=Object.keys(this.csfExports),m=null===(o=this.projectAnnotations.parameters)||void 0===o||null===(t=o.options)||void 0===t?void 0:t.storySort,l=Object.entries(this.stories).map((function(o){var t=G(o,2),n=t[0],r=t[1].importPath,a=i.csfExports[r],c=e.processCSFFileWithCache(a,r,a.default.title);return[n,e.storyFromCSFFile({storyId:n,csfFile:c}),c.meta.parameters,i.projectAnnotations.parameters]}));try{n=T(l,m,s)}catch(e){if("function"==typeof m)throw new Error(Object(a.a)(H||(r=["\n Error sorting stories with sort parameter ",":\n\n > ","\n \n Are you using a V7-style sort function in V6 compatibility mode?\n \n More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort\n "],c||(c=r.slice(0)),H=Object.freeze(Object.defineProperties(r,{raw:{value:Object.freeze(c)}}))),m,e.message));throw e}return{v:3,stories:n.reduce((function(e,o){return e[o.id]=i.stories[o.id],e}),{})}}},{key:"clearFilenameExports",value:function(e){var o=this;this.csfExports[e]&&(Object.entries(this.stories).forEach((function(t){var n=G(t,2),r=n[0];n[1].importPath===e&&delete o.stories[r]})),this.csfExports[e]={})}},{key:"addStoriesFromExports",value:function(e,o){var t=this;if(this.csfExports[e]!==o){this.clearFilenameExports(e);var n=o.default,r=o.__namedExportsOrder,a=Y(o,V),c=n||{},l=c.id,u=c.title,d=(i.a.STORIES||[]).map((function(e){return Object.assign({},e,{importPathMatcher:new RegExp(e.importPathMatcher)})}));if(u=W(e,d,u)){this.csfExports[e]=Object.assign({},o,{default:Object.assign({},n,{title:u})});var p=a;Array.isArray(r)&&(p={},r.forEach((function(e){var o=a[e];o&&(p[e]=o)}))),Object.entries(p).filter((function(e){var o=G(e,1)[0];return Object(m.isExportStory)(o,n)})).forEach((function(o){var n,r,a=G(o,2),c=a[0],i=a[1],s=Object(m.storyNameFromExport)(c),d=(null===(n=i.parameters)||void 0===n?void 0:n.__id)||Object(m.toId)(l||u,s),p="function"!=typeof i&&i.name||i.storyName||(null===(r=i.story)||void 0===r?void 0:r.name)||s;t.stories[d]={id:d,name:p,title:u,importPath:e}}))}else s.a.info("Unexpected default export without title in '".concat(e,"': ").concat(JSON.stringify(o.default)))}}}])&&X(o.prototype,t),n&&X(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}(),te=["globals","globalTypes"],ne=["decorators","loaders","component","args","argTypes"],re=["component","args","argTypes"];function ae(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return ce(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ce(e,o)}(e,o)||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 ce(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function se(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function me(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function le(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ue(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}var de,pe={addDecorator:"Instead, use `export const decorators = [];` in your `preview.js`.",addParameters:"Instead, use `export const parameters = {};` in your `preview.js`.",addLoaders:"Instead, use `export const loaders = [];` in your `preview.js`."},he=function(e){return r()((function(){}),Object(a.a)(Z||(Z=ue(["\n `","` is deprecated, and will be removed in Storybook 7.0.\n\n ","\n\n Read more at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addparameters-and-adddecorator)."],["\n \\`","\\` is deprecated, and will be removed in Storybook 7.0.\n\n ","\n\n Read more at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-addparameters-and-adddecorator)."])),e,pe[e]))},fe={addDecorator:he("addDecorator"),addParameters:he("addParameters"),addLoaders:he("addLoaders")},be=function(e,o){var t;if(null!==(t=i.a.FEATURES)&&void 0!==t&&t.storyStoreV7)throw new Error(Object(a.a)(K||(K=ue(["You cannot use `","` with the new Story Store.\n \n ",""],["You cannot use \\`","\\` with the new Story Store.\n \n ",""])),e,pe[e]));if(!ee)throw new Error("Singleton client API not yet initialized, cannot call `".concat(e,"`."));o&&fe[e]()},ge=function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];be("addDecorator",o),ee.addDecorator(e)},ye=function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];be("addParameters",o),ee.addParameters(e)},ke=function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];be("addLoader",o),ee.addLoader(e)},ve=function(e){be("addArgs",!1),ee.addArgs(e)},we=function(e){be("addArgTypes",!1),ee.addArgTypes(e)},xe=function(e){be("addArgsEnhancer",!1),ee.addArgsEnhancer(e)},je=function(e){be("addArgTypesEnhancer",!1),ee.addArgTypesEnhancer(e)},Oe=function(e){be("setGlobalRender",!1),ee.facade.projectAnnotations.render=e},ze=new Set(["string","number","boolean","symbol"]),Se=function(){function e(){var o=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.storyStore;me(this,e),this.facade=void 0,this.storyStore=void 0,this.addons=void 0,this.onImportFnChanged=void 0,this.lastFileName=0,this.setAddon=r()((function(e){o.addons=Object.assign({},o.addons,e)}),Object(a.a)(J||(J=ue(["\n `setAddon` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon\n "],["\n \\`setAddon\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon\n "])))),this.addDecorator=function(e){o.facade.projectAnnotations.decorators.push(e)},this.clearDecorators=r()((function(){o.facade.projectAnnotations.decorators=[]}),Object(a.a)(Q||(Q=ue(["\n `clearDecorators` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-cleardecorators\n "],["\n \\`clearDecorators\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-cleardecorators\n "])))),this.addParameters=function(e){var t=e.globals,n=e.globalTypes,r=se(e,te);o.facade.projectAnnotations.parameters=b(o.facade.projectAnnotations.parameters,r),t&&(o.facade.projectAnnotations.globals=Object.assign({},o.facade.projectAnnotations.globals,t)),n&&(o.facade.projectAnnotations.globalTypes=Object.assign({},o.facade.projectAnnotations.globalTypes,j(n)))},this.addLoader=function(e){o.facade.projectAnnotations.loaders.push(e)},this.addArgs=function(e){o.facade.projectAnnotations.args=Object.assign({},o.facade.projectAnnotations.args,e)},this.addArgTypes=function(e){o.facade.projectAnnotations.argTypes=Object.assign({},o.facade.projectAnnotations.argTypes,j(e))},this.addArgsEnhancer=function(e){o.facade.projectAnnotations.argsEnhancers.push(e)},this.addArgTypesEnhancer=function(e){o.facade.projectAnnotations.argTypesEnhancers.push(e)},this.storiesOf=function(e,t){if(!e&&"string"!=typeof e)throw new Error("Invalid or missing kind provided for stories, should be a string");if(t||s.a.warn("Missing 'module' parameter for story with a kind of '".concat(e,"'. It will break your HMR")),t){var n=Object.getPrototypeOf(t);n.exports&&n.exports.default&&s.a.error("Illegal mix of CSF default export and storiesOf calls in a single file: ".concat(n.i))}for(var r=t&&t.id?"".concat(t.id):(o.lastFileName++).toString(),a=r,c=1;o.facade.csfExports[a]&&Object.keys(o.facade.csfExports[a]).length>0;)c+=1,a="".concat(r,"-").concat(c);t&&t.hot&&t.hot.accept&&(t.hot.accept(),t.hot.dispose((function(){o.facade.clearFilenameExports(a),setTimeout((function(){var e;null===(e=o.onImportFnChanged)||void 0===e||e.call(o,{importFn:o.importFn.bind(o)})}),0)})));var i=!1,l={kind:e.toString(),add:function(){return l},addDecorator:function(){return l},addLoader:function(){return l},addParameters:function(){return l}};Object.keys(o.addons).forEach((function(e){var t=o.addons[e];l[e]=function(){for(var e=arguments.length,o=new Array(e),n=0;n<e;n++)o[n]=arguments[n];return t.apply(l,o),l}}));var u={id:Object(m.sanitize)(e),title:e,decorators:[],loaders:[],parameters:{}};o.facade.csfExports[a]={default:u};var d=0;return l.add=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i=!0,"string"!=typeof t)throw new Error('Invalid or missing storyName provided for a "'.concat(e,'" story.'));if(!n||Array.isArray(n)||ze.has(ie(n)))throw new Error('Cannot load story "'.concat(t,'" in "').concat(e,'" due to invalid format. Storybook expected a function/object but received ').concat(ie(n)," instead."));var c=r.decorators,s=r.loaders,u=r.component,p=r.args,h=r.argTypes,f=se(r,ne),b=r.__id||Object(m.toId)(e,t),g=o.facade.csfExports[a];return g["story".concat(d)]={name:t,parameters:Object.assign({fileName:a,__id:b},f),decorators:c,loaders:s,args:p,argTypes:h,component:u,render:n},d+=1,o.facade.stories[b]={id:b,title:g.default.title,name:t,importPath:a},l},l.addDecorator=function(e){if(i)throw new Error("You cannot add a decorator after the first story for a kind.\nRead more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories");return u.decorators.push(e),l},l.addLoader=function(e){if(i)throw new Error("You cannot add a loader after the first story for a kind.");return u.loaders.push(e),l},l.addParameters=function(e){var o=e.component,t=e.args,n=e.argTypes,r=se(e,re);if(i)throw new Error("You cannot add parameters after the first story for a kind.\nRead more here: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md#can-no-longer-add-decoratorsparameters-after-stories");return u.parameters=b(u.parameters,r),o&&(u.component=o),t&&(u.args=Object.assign({},u.args,t)),n&&(u.argTypes=Object.assign({},u.argTypes,n)),l},l},this.getStorybook=function(){var e=o.storyStore.storyIndex.stories,t={};return Object.entries(e).forEach((function(e){var n=ae(e,2),r=n[0],a=n[1],c=a.title,i=a.name,s=a.importPath;t[c]||(t[c]={kind:c,fileName:s,stories:[]});var m=o.storyStore.fromId(r).storyFn;t[c].stories.push({name:i,render:m})})),Object.values(t)},this.raw=function(){return o.storyStore.raw()},this.facade=new oe,this.addons={},this.storyStore=n,ee=this}var o,t,n;return o=e,(t=[{key:"importFn",value:function(e){return this.facade.importFn(e)}},{key:"getStoryIndex",value:function(){if(!this.storyStore)throw new Error("Cannot get story index before setting storyStore");return this.facade.getStoryIndex(this.storyStore)}},{key:"_storyStore",get:function(){return this.storyStore}}])&&le(o.prototype,t),n&&le(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}(),_e=(t(471),t(357)),Ee=i.a.document,Ce=function(){return Ee&&Ee.location&&Ee.location.search?Object(_e.parse)(Ee.location.search,{ignoreQueryPrefix:!0}):{}},Pe=function(e){return Ce()[e]},Ie=(t(302),t(484),t(200),t(243)),Te=t.n(Ie),Ae=t(244),Ne=t.n(Ae),De=t(137),qe=t.n(De);t(286),t(606);function Re(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return Me(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Me(e,o)}(e,o)||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 Me(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function Fe(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}function Le(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var Be,He,Ue=function(){function e(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{v:3,stories:{}},t=o.stories;Fe(this,e),this.channel=void 0,this.stories=void 0,this.stories=t}var o,t,n;return o=e,(t=[{key:"storyIdFromSpecifier",value:function(e){var o=Object.keys(this.stories);if("*"===e)return o[0];if("string"==typeof e)return o.indexOf(e)>=0?e:o.find((function(o){return o.startsWith(e)}));var t=e.name,n=e.title,r=Object.entries(this.stories).find((function(e){var o=Re(e,2),r=(o[0],o[1]);return r.name===t&&r.title===n}));return r&&r[0]}},{key:"storyIdToEntry",value:function(e){var o,t,n=this.stories[e];if(!n)throw new Error(Object(a.a)(de||(o=["Couldn't find story matching '","' after HMR.\n - Did you remove it from your CSF file?\n - Are you sure a story with that id exists?\n - Please check your stories field of your main.js config.\n - Also check the browser console and terminal for error messages."],t||(t=o.slice(0)),de=Object.freeze(Object.defineProperties(o,{raw:{value:Object.freeze(t)}}))),e));return n}}])&&Le(o.prototype,t),n&&Le(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}(),We=(t(574),t(215),t(576),t(216),t(577),t(358)),Ve=t.n(We);function Ye(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}function Ge(e){return function(e){if(Array.isArray(e))return Ke(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ze(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function $e(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function Xe(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||Ze(e,o)||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 Ze(e,o){if(e){if("string"==typeof e)return Ke(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ke(e,o):void 0}}function Ke(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function Je(e){return(Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Qe=Symbol("incompatible"),eo=function(e,o){return Object.entries(e).reduce((function(e,t){var n=Xe(t,2),r=n[0],a=n[1];if(!o[r])return e;var c=function e(o,t){var n=t.type;if(null==o||!n)return o;if(t.mapping)return o;switch(n.name){case"string":return String(o);case"enum":return o;case"number":return Number(o);case"boolean":return"true"===o;case"array":return n.value&&Array.isArray(o)?o.reduce((function(o,t,r){var a=e(t,{type:n.value});return a!==Qe&&(o[r]=a),o}),new Array(o.length)):Qe;case"object":return"string"==typeof o||"number"==typeof o?o:n.value&&"object"===Je(o)?Object.entries(o).reduce((function(o,t){var r=Xe(t,2),a=r[0],c=r[1],i=e(c,{type:n.value[a]});return i===Qe?o:Object.assign(o,$e({},a,i))}),{}):Qe;default:return Qe}}(a,o[r]);return c===Qe?e:Object.assign(e,$e({},r,c))}),{})},oo=function e(o,t){return Array.isArray(o)&&Array.isArray(t)?t.reduce((function(n,r,a){return n[a]=e(o[a],t[a]),n}),Ge(o)).filter((function(e){return void 0!==e})):u()(o)&&u()(t)?Object.keys(Object.assign({},o,t)).reduce((function(n,r){if(r in t){var a=e(o[r],t[r]);void 0!==a&&(n[r]=a)}else n[r]=o[r];return n}),{}):t},to=function(e,o){return Object.entries(o).reduce((function(o,t){var n=Xe(t,2),r=n[0],c=n[1].options;function i(){return r in e&&(o[r]=e[r]),o}if(!c)return i();if(!Array.isArray(c))return s.b.error(Object(a.a)(Be||(Be=Ye(["\n Invalid argType: '",".options' should be an array.\n\n More info: https://storybook.js.org/docs/react/api/argtypes\n "])),r)),i();if(c.some((function(e){return e&&["object","function"].includes(Je(e))})))return s.b.error(Object(a.a)(He||(He=Ye(["\n Invalid argType: '",".options' should only contain primitives. Use a 'mapping' for complex values.\n\n More info: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values\n "])),r)),i();var m=Array.isArray(e[r]),l=m&&e[r].findIndex((function(e){return!c.includes(e)})),u=m&&-1===l;if(void 0===e[r]||c.includes(e[r])||u)return i();var d=m?"".concat(r,"[").concat(l,"]"):r,p=c.map((function(e){return"string"==typeof e?"'".concat(e,"'"):String(e)})).join(", ");return s.b.warn("Received illegal value for '".concat(d,"'. Supported options: ").concat(p)),o}),{})},no=Symbol("Deeply equal"),ro=function e(o,t){if(Je(o)!==Je(t))return t;if(Ve()(o,t))return no;if(Array.isArray(o)&&Array.isArray(t)){var n=t.reduce((function(t,n,r){var a=e(o[r],n);return a!==no&&(t[r]=a),t}),new Array(t.length));return t.length>=o.length?n:n.concat(new Array(o.length-t.length).fill(void 0))}return u()(o)&&u()(t)?Object.keys(Object.assign({},o,t)).reduce((function(n,r){var a=e(null==o?void 0:o[r],null==t?void 0:t[r]);return a===no?n:Object.assign(n,$e({},r,a))}),{}):t};function ao(e){var o=e.args,t=e.argTypes,n={};return Object.entries(o).forEach((function(e){var o=Xe(e,2),r=o[0],a=o[1],c=(t[r]||{}).target,i=void 0===c?"":c;n[i]=n[i]||{},n[i][r]=a})),n}function co(e){return ao(e)[""]}function io(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var so=function(){function e(){!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.initialArgsByStoryId={},this.argsByStoryId={}}var o,t,n;return o=e,(t=[{key:"get",value:function(e){if(!(e in this.argsByStoryId))throw new Error("No args known for ".concat(e," -- has it been rendered yet?"));return this.argsByStoryId[e]}},{key:"setInitial",value:function(e){if(this.initialArgsByStoryId[e.id]){if(this.initialArgsByStoryId[e.id]!==e.initialArgs){var o=ro(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,o!==no&&this.updateFromDelta(e,o)}}else this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs}},{key:"updateFromDelta",value:function(e,o){var t=to(o,e.argTypes);this.argsByStoryId[e.id]=oo(this.argsByStoryId[e.id],t)}},{key:"updateFromPersisted",value:function(e,o){var t=eo(o,e.argTypes);return this.updateFromDelta(e,t)}},{key:"update",value:function(e,o){if(!(e in this.argsByStoryId))throw new Error("No args known for ".concat(e," -- has it been rendered yet?"));var t;this.argsByStoryId[e]=(t=Object.assign({},this.argsByStoryId[e],o),Object.keys(t).forEach((function(e){return void 0===t[e]&&delete t[e]})),t)}}])&&io(o.prototype,t),n&&io(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}();function mo(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return lo(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return lo(e,o)}(e,o)||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 lo(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var uo,po=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(e).reduce((function(e,o){var t=mo(o,2),n=t[0],r=t[1].defaultValue;return void 0!==r&&(e[n]=r),e}),{})};function ho(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||bo(e,o)||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 fo(e){return function(e){if(Array.isArray(e))return go(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bo(e,o){if(e){if("string"==typeof e)return go(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?go(e,o):void 0}}function go(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function yo(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ko,vo,wo,xo=r()((function(){}),Object(a.a)(uo||(ko=["\n Setting a global value that is undeclared (i.e. not in the user's initial set of globals\n or globalTypes) is deprecated and will have no effect in 7.0.\n "],vo||(vo=ko.slice(0)),uo=Object.freeze(Object.defineProperties(ko,{raw:{value:Object.freeze(vo)}}))))),jo=function(){function e(){!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.allowedGlobalNames=void 0,this.initialGlobals=void 0,this.globals={}}var o,t,n;return o=e,(t=[{key:"set",value:function(e){var o=e.globals,t=void 0===o?{}:o,n=e.globalTypes,r=void 0===n?{}:n,a=this.initialGlobals&&ro(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([].concat(fo(Object.keys(t)),fo(Object.keys(r))));var c=po(r);this.initialGlobals=Object.assign({},c,t),this.globals=this.initialGlobals,a&&a!==no&&this.updateFromPersisted(a)}},{key:"filterAllowedGlobals",value:function(e){var o=this;return Object.entries(e).reduce((function(e,t){var n=ho(t,2),r=n[0],a=n[1];return o.allowedGlobalNames.has(r)&&(e[r]=a),e}),{})}},{key:"updateFromPersisted",value:function(e){var o=this.filterAllowedGlobals(e);this.globals=Object.assign({},this.globals,o)}},{key:"get",value:function(){return this.globals}},{key:"update",value:function(e){var o=this;Object.keys(e).forEach((function(e){o.allowedGlobalNames.has(e)||xo()})),this.globals=Object.assign({},this.globals,e)}}])&&yo(o.prototype,t),n&&yo(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}();function Oo(e){return function(e){if(Array.isArray(e))return zo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(!e)return;if("string"==typeof e)return zo(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return zo(e,o)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zo(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var So=Object(a.a)(wo||(wo=function(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}(["\nCSF .story annotations deprecated; annotate story functions directly:\n- StoryFn.story.name => StoryFn.storyName\n- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)\nSee https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.\n"]))),_o=r()((function(){}),So);function Eo(e,o,t){var n,r;"function"==typeof o?(n=o,r=o):r=o;var a=r.story;a&&(s.a.debug("deprecated story",a),_o());var c=Object(m.storyNameFromExport)(e),i="function"!=typeof r&&r.name||r.storyName||(null==a?void 0:a.name)||c,l=[].concat(Oo(r.decorators||[]),Oo((null==a?void 0:a.decorators)||[])),u=Object.assign({},null==a?void 0:a.parameters,r.parameters),d=Object.assign({},null==a?void 0:a.args,r.args),p=Object.assign({},null==a?void 0:a.argTypes,r.argTypes),h=[].concat(Oo(r.loaders||[]),Oo((null==a?void 0:a.loaders)||[])),f=r,b=f.render,g=f.play,y=u.__id||Object(m.toId)(t.id||t.title,c);return Object.assign({id:y,name:i,decorators:l,parameters:u,args:d,argTypes:j(p),loaders:h},b&&{render:b},n&&{userStoryFn:n},g&&{play:g})}function Co(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.title,t=arguments.length>2?arguments[2]:void 0,n=e.id,r=e.argTypes;return Object.assign({id:Object(m.sanitize)(n||o)},e,{title:o},r&&{argTypes:j(r)},{parameters:Object.assign({fileName:t},e.parameters)})}var Po=["default","__namedExportsOrder"];function Io(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var To=function(e){e&&(function(e){var o=e.globals,t=e.globalTypes;(o||t)&&s.a.error("Global args/argTypes can only be set globally",JSON.stringify({globals:o,globalTypes:t}))}(e),function(e){var o=e.options;null!=o&&o.storySort&&s.a.error("The storySort option parameter can only be set globally")}(e))};function Ao(e,o,t){var n=e.default,r=(e.__namedExportsOrder,Io(e,Po)),a=Co(n,t,o);To(a.parameters);var c={meta:a,stories:{}};return Object.keys(r).forEach((function(e){if(Object(m.isExportStory)(e,a)){var o=Eo(e,r[e],a);To(o.parameters),c.stories[o.id]=o}})),c}var No,Do=t(295),qo=["componentId","title","kind","id","name","story","parameters","initialArgs","argTypes"];function Ro(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function Mo(e,o,t){var n=t(e);return function(e){return o(n,e)}}function Fo(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=(e.componentId,e.title,e.kind,e.id,e.name,e.story,e.parameters,e.initialArgs,e.argTypes,Ro(e,qo));return o}function Lo(e,o){var t={},n=function(e){return function(o){return t.value=Object.assign({},t.value,Fo(o)),e(t.value)}},r=o.reduce((function(e,o){return Mo(e,o,n)}),e);return function(e){return t.value=e,r(e)}}function Bo(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||Wo(e,o)||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 Ho(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function Uo(e){return function(e){if(Array.isArray(e))return Vo(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Wo(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Wo(e,o){if(e){if("string"==typeof e)return Vo(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Vo(e,o):void 0}}function Vo(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}var Yo,Go=r()((function(){}),Object(a.a)(No||(No=function(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}(["\n `argType.defaultValue` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#no-longer-inferring-default-values-of-args"],["\n \\`argType.defaultValue\\` is deprecated and will be removed in Storybook 7.0.\n\n https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#no-longer-inferring-default-values-of-args"]))));function $o(e,o,t){var n,r=e.id,a=e.name,c=o.title,i=b(t.parameters,o.parameters,e.parameters),s=[].concat(Uo(e.decorators||[]),Uo(o.decorators||[]),Uo(t.decorators||[])),l=t.applyDecorators,u=void 0===l?Lo:l,d=t.argTypesEnhancers,p=void 0===d?[]:d,h=t.argsEnhancers,f=void 0===h?[]:h,g=[].concat(Uo(t.loaders||[]),Uo(o.loaders||[]),Uo(e.loaders||[])),y=e.userStoryFn||e.render||o.render||t.render,k=b(t.argTypes,o.argTypes,e.argTypes),v=i.passArgsFirst,w=void 0===v||v;i.__isArgsStory=w&&y.length>0;var x=Object.assign({},t.args,o.args,e.args),j={componentId:o.id,title:c,kind:c,id:r,name:a,story:a,component:o.component,subcomponents:o.subcomponents,parameters:i,initialArgs:x,argTypes:k};j.argTypes=p.reduce((function(e,o){return o(Object.assign({},j,{argTypes:e}))}),j.argTypes);var O=po(j.argTypes);Object.keys(O).length>0&&Go();var z=Object.assign({},O,x);j.initialArgs=f.reduce((function(e,o){return Object.assign({},e,o(Object.assign({},j,{initialArgs:e})))}),z),null!==(n=qe.a.FEATURES)&&void 0!==n&&n.breakingChangesV7||(j.parameters=Object.assign({},j.parameters,{__id:r,globals:t.globals,globalTypes:t.globalTypes,args:j.initialArgs,argTypes:j.argTypes}));var S=function(){var e,o=(e=regeneratorRuntime.mark((function e(o){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all(g.map((function(e){return e(o)})));case 2:return t=e.sent,n=Object.assign.apply(Object,[{}].concat(Uo(t))),e.abrupt("return",Object.assign({},o,{loaded:n}));case 5:case"end":return e.stop()}}),e)})),function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){Ho(a,n,r,c,i,"next",e)}function i(e){Ho(a,n,r,c,i,"throw",e)}c(void 0)}))});return function(e){return o.apply(this,arguments)}}(),_=function(e){var o=Object.entries(e.args).reduce((function(o,t){var n,r=Bo(t,2),a=r[0],c=r[1],i=null===(n=e.argTypes[a])||void 0===n?void 0:n.mapping;return o[a]=i&&c in i?i[c]:c,o}),{}),t=Object.entries(o).reduce((function(t,n){var r=Bo(n,2),a=r[0],c=r[1],i=e.argTypes[a]||{};return Object(m.includeConditionalArg)(i,o,e.globals)&&(t[a]=c),t}),{}),n=Object.assign({},e,{args:t}),r=e.parameters.passArgsFirst;return void 0===r||r?y(n.args,n):y(n)},E=Object(Do.b)(u)(_,s),C=e.play;return Object.freeze(Object.assign({},j,{originalStoryFn:y,undecoratedStoryFn:_,unboundStoryFn:function(e){var o,t=e;if(null!==(o=qe.a.FEATURES)&&void 0!==o&&o.argTypeTargetsV7){var n=ao(Object.assign({args:e.args},e));t=Object.assign({},e,{allArgs:e.args,argsByTarget:n,args:n[""]||{}})}return E(t)},applyLoaders:S,playFunction:C}))}function Xo(e){return(Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Zo=function e(o,t,n){var r=Xo(o);switch(r){case"boolean":case"string":case"number":case"function":case"symbol":return{name:r}}return o?n.has(o)?(s.a.warn(Object(a.a)(Yo||(Yo=function(e,o){return o||(o=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(o)}}))}(["\n We've detected a cycle in arg '","'. Args should be JSON-serializable.\n\n Consider using the mapping feature or fully custom args:\n - Mapping: https://storybook.js.org/docs/react/writing-stories/args#mapping-to-complex-arg-values\n - Custom args: https://storybook.js.org/docs/react/essentials/controls#fully-custom-args\n "])),t)),{name:"other",value:"cyclic object"}):(n.add(o),Array.isArray(o)?{name:"array",value:o.length>0?e(o[0],t,new Set(n)):{name:"other",value:"unknown"}}:{name:"object",value:y()(o,(function(o){return e(o,t,new Set(n))}))}):{name:"object",value:{}}},Ko=function(e){var o=e.id,t=e.argTypes,n=void 0===t?{}:t,r=e.initialArgs,a=void 0===r?{}:r,c=y()(a,(function(e,t){return{name:t,type:Zo(e,"".concat(o,".").concat(t),new Set)}})),i=y()(n,(function(e,o){return{name:o}}));return b(c,i,n)};Ko.secondPass=!0;t(600);var Jo=t(359),Qo=t.n(Jo),et=function(e,o){return Array.isArray(o)?o.includes(e):e.match(o)},ot=function(e,o,t){return o||t?e&&Qo()(e,(function(e,n){var r=e.name||n;return(!o||et(r,o))&&(!t||!et(r,t))})):e},tt=function(e){var o=e.argTypes,t=e.parameters,n=t.__isArgsStory,r=t.controls,a=(r=void 0===r?{}:r).include,c=void 0===a?null:a,i=r.exclude,m=void 0===i?null:i,l=r.matchers,u=void 0===l?{}:l;if(!n)return o;var d=ot(o,c,m),p=y()(d,(function(e,o){return(null==e?void 0:e.type)&&function(e,o,t){var n=e.type,r=e.options;if(n||r){if(t.color&&t.color.test(o)){var a=e.type.name;if("string"===a)return{control:{type:"color"}};s.a.warn('Addon controls: Control of type color only supports string, received "'.concat(a,'" instead'))}if(t.date&&t.date.test(o))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":var c=n.value;return{control:{type:(null==c?void 0:c.length)<=5?"radio":"select"},options:c};case"function":case"symbol":return null;default:return{control:{type:r?"select":"object"}}}}}(e,o,u)}));return b(p,d)};tt.secondPass=!0;var nt=["argTypes","globalTypes","argTypesEnhancers"];function rt(e){return function(e){if(Array.isArray(e))return at(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(!e)return;if("string"==typeof e)return at(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return at(e,o)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function at(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function ct(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function it(e){var o=e.argTypes,t=e.globalTypes,n=e.argTypesEnhancers,r=ct(e,nt);return Object.assign({},o&&{argTypes:j(o)},t&&{globalTypes:j(t)},{argTypesEnhancers:[].concat(rt(n||[]),[Ko,tt])},r)}function st(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function mt(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return lt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return lt(e,o)}(e,o)||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 lt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function ut(e,o,t,n,r,a,c){try{var i=e[a](c),s=i.value}catch(e){return void t(e)}i.done?o(s):Promise.resolve(s).then(n,r)}function dt(e){return function(){var o=this,t=arguments;return new Promise((function(n,r){var a=e.apply(o,t);function c(e){ut(a,n,r,c,i,"next",e)}function i(e){ut(a,n,r,c,i,"throw",e)}c(void 0)}))}}function pt(e,o){for(var t=0;t<o.length;t++){var n=o[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var ht=function(){function e(){var o=this;!function(e,o){if(!(e instanceof o))throw new TypeError("Cannot call a class as a function")}(this,e),this.storyIndex=void 0,this.importFn=void 0,this.projectAnnotations=void 0,this.globals=void 0,this.args=void 0,this.hooks=void 0,this.cachedCSFFiles=void 0,this.processCSFFileWithCache=void 0,this.prepareStoryWithCache=void 0,this.initializationPromise=void 0,this.resolveInitializationPromise=void 0,this.getStoriesJsonData=function(){var e=o.getSetStoriesPayload(),t=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:y()(e.stories,(function(e){var n;return Object.assign({},Ne()(e,["id","name","title"]),{importPath:o.storyIndex.stories[e.id].importPath},!(null!==(n=qe.a.FEATURES)&&void 0!==n&&n.breakingChangesV7)&&{kind:e.title,story:e.name,parameters:Object.assign({},Ne()(e.parameters,t),{fileName:o.storyIndex.stories[e.id].importPath})})}))}},this.globals=new jo,this.args=new so,this.hooks={},this.processCSFFileWithCache=Te()(1e3)(Ao),this.prepareStoryWithCache=Te()(1e4)($o),this.initializationPromise=new O.SynchronousPromise((function(e){o.resolveInitializationPromise=e}))}var o,t,n,r,a;return o=e,(t=[{key:"setProjectAnnotations",value:function(e){this.projectAnnotations=it(e);var o=e.globals,t=e.globalTypes;this.globals.set({globals:o,globalTypes:t})}},{key:"initialize",value:function(e){var o=e.storyIndex,t=e.importFn,n=e.cache,r=void 0!==n&&n;return this.storyIndex=new Ue(o),this.importFn=t,this.resolveInitializationPromise(),r?this.cacheAllCSFFiles():O.SynchronousPromise.resolve()}},{key:"onStoriesChanged",value:(a=dt(regeneratorRuntime.mark((function e(o){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.importFn,n=o.storyIndex,t&&(this.importFn=t),n&&(this.storyIndex.stories=n.stories),!this.cachedCSFFiles){e.next=6;break}return e.next=6,this.cacheAllCSFFiles();case 6:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"loadCSFFileByStoryId",value:function(e){var o=this,t=this.storyIndex.storyIdToEntry(e),n=t.importPath,r=t.title;return this.importFn(n).then((function(e){return o.processCSFFileWithCache(e,n,r)}))}},{key:"loadAllCSFFiles",value:function(){var e=this,o={};Object.entries(this.storyIndex.stories).forEach((function(e){var t=mt(e,2),n=t[0],r=t[1].importPath;o[r]=n}));var t=Object.entries(o).map((function(o){var t=mt(o,2),n=t[0],r=t[1];return e.loadCSFFileByStoryId(r).then((function(e){return{importPath:n,csfFile:e}}))}));return O.SynchronousPromise.all(t).then((function(e){return e.reduce((function(e,o){var t=o.importPath,n=o.csfFile;return e[t]=n,e}),{})}))}},{key:"cacheAllCSFFiles",value:function(){var e=this;return this.initializationPromise.then((function(){return e.loadAllCSFFiles().then((function(o){e.cachedCSFFiles=o}))}))}},{key:"loadStory",value:(r=dt(regeneratorRuntime.mark((function e(o){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.storyId,e.next=3,this.initializationPromise;case 3:return e.next=5,this.loadCSFFileByStoryId(t);case 5:return n=e.sent,e.abrupt("return",this.storyFromCSFFile({storyId:t,csfFile:n}));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"storyFromCSFFile",value:function(e){var o=e.storyId,t=e.csfFile,n=t.stories[o];if(!n)throw new Error("Didn't find '".concat(o,"' in CSF file, this is unexpected"));var r=t.meta,a=this.prepareStoryWithCache(n,r,this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new Do.a,a}},{key:"componentStoriesFromCSFFile",value:function(e){var o=this,t=e.csfFile;return Object.keys(this.storyIndex.stories).filter((function(e){return!!t.stories[e]})).map((function(e){return o.storyFromCSFFile({storyId:e,csfFile:t})}))}},{key:"getStoryContext",value:function(e){return Object.assign({},e,{args:this.args.get(e.id),globals:this.globals.get(),hooks:this.hooks[e.id]})}},{key:"cleanupStory",value:function(e){this.hooks[e.id].clean()}},{key:"extract",value:function(){var e=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{includeDocsOnly:!1};if(!this.cachedCSFFiles)throw new Error("Cannot call extract() unless you call cacheAllCSFFiles() first.");return Object.entries(this.storyIndex.stories).reduce((function(t,n){var r=mt(n,2),a=r[0],c=r[1].importPath,i=e.cachedCSFFiles[c],s=e.storyFromCSFFile({storyId:a,csfFile:i});return!o.includeDocsOnly&&s.parameters.docsOnly||(t[a]=Object.entries(s).reduce((function(e,o){var t=mt(o,2),n=t[0],r=t[1];return"function"==typeof r?e:Array.isArray(r)?Object.assign(e,st({},n,r.slice().sort())):Object.assign(e,st({},n,r))}),{args:s.initialArgs})),t}),{})}},{key:"getSetStoriesPayload",value:function(){var e=this.extract({includeDocsOnly:!0}),o=Object.values(e).reduce((function(e,o){return e[o.title]={},e}),{});return{v:2,globals:this.globals.get(),globalParameters:{},kindParameters:o,stories:e}}},{key:"raw",value:function(){var e=this;return Object.values(this.extract()).map((function(o){var t=o.id;return e.fromId(t)}))}},{key:"fromId",value:function(e){var o,t=this;if(!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");try{o=this.storyIndex.storyIdToEntry(e).importPath}catch(e){return null}var n=this.cachedCSFFiles[o],r=this.storyFromCSFFile({storyId:e,csfFile:n});return Object.assign({},r,{storyFn:function(e){var o=Object.assign({},t.getStoryContext(r),{viewMode:"story"});return r.unboundStoryFn(Object.assign({},o,e))}})}}])&&pt(o.prototype,t),n&&pt(o,n),Object.defineProperty(o,"prototype",{writable:!1}),e}();function ft(e){return function(e){if(Array.isArray(e))return bt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,o){if(!e)return;if("string"==typeof e)return bt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return bt(e,o)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function gt(e,o){return e.map((function(e){return e[o]})).filter(Boolean)}function yt(e,o){return gt(e,o).reduce((function(e,o){return[].concat(ft(e),ft(o))}),[])}function kt(e,o){return Object.assign.apply(Object,[{}].concat(ft(gt(e,o))))}function vt(e,o){return gt(e,o).pop()}function wt(e){var o=yt(e,"argTypesEnhancers");return{parameters:b.apply(void 0,ft(gt(e,"parameters"))),decorators:yt(e,"decorators"),args:kt(e,"args"),argsEnhancers:yt(e,"argsEnhancers"),argTypes:kt(e,"argTypes"),argTypesEnhancers:[].concat(ft(o.filter((function(e){return!e.secondPass}))),ft(o.filter((function(e){return e.secondPass})))),globals:kt(e,"globals"),globalTypes:kt(e,"globalTypes"),loaders:yt(e,"loaders"),render:vt(e,"render"),renderToDOM:vt(e,"renderToDOM"),applyDecorators:vt(e,"applyDecorators")}}var xt=["default","__esModule","__namedExportsOrder"];function jt(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return Ot(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ot(e,o)}(e,o)||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 Ot(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function zt(e,o){if(null==e)return{};var t,n,r=function(e,o){if(null==e)return{};var t,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||(r[t]=e[t]);return r}(e,o);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)t=a[n],o.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var St={};function _t(e){var o=Array.isArray(e)?e:[e];St=wt(o)}function Et(e,o){var t,n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:St,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=arguments.length>4?arguments[4]:void 0;if(void 0===e)throw new Error("Expected a story but received undefined.");o.title=null!==(t=o.title)&&void 0!==t?t:"ComposedStory";var i=Co(o),s=c||e.storyName||(null===(n=e.story)||void 0===n?void 0:n.name)||e.name,m=Eo(s,e,i),l=it(Object.assign({},r,a)),u=$o(m,i,l),d=po(r.globalTypes),p=function(e){var o=Object.assign({},u,{hooks:new Do.a,globals:d,args:Object.assign({},u.initialArgs,e)});return u.unboundStoryFn(o)};return p.storyName=s,p.args=u.initialArgs,p.play=u.playFunction,p.parameters=u.parameters,p}function Ct(e,o,t){var n=e.default,r=(e.__esModule,e.__namedExportsOrder,zt(e,xt));return Object.entries(r).reduce((function(e,r){var a,c,i,s=jt(r,2),l=s[0],u=s[1];return Object(m.isExportStory)(l,n)?Object.assign(e,(a={},c=l,i=t(u,n,o,l),c in a?Object.defineProperty(a,c,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[c]=i,a)):e}),{})}var Pt=t(49),It=t(46),Tt=t(60);function At(e,o,t){return o in e?Object.defineProperty(e,o,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[o]=t,e}function Nt(e,o){return function(e){if(Array.isArray(e))return e}(e)||function(e,o){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,r,a=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(a.push(n.value),!o||a.length!==o);c=!0);}catch(e){i=!0,r=e}finally{try{c||null==t.return||t.return()}finally{if(i)throw r}}return a}(e,o)||function(e,o){if(!e)return;if("string"==typeof e)return Dt(e,o);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Dt(e,o)}(e,o)||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 Dt(e,o){(null==o||o>e.length)&&(o=e.length);for(var t=0,n=new Array(o);t<o;t++)n[t]=e[t];return n}function qt(e,o){var t=Tt.c.getChannel(),n=Nt(t.last("".concat(Pt.SHARED_STATE_CHANGED,"-manager-").concat(e))||t.last("".concat(Pt.SHARED_STATE_SET,"-manager-").concat(e))||[],1)[0],r=Nt(Object(Do.l)(n||o),2),a=r[0],c=r[1],i=Object(Do.h)((function(){var o;return At(o={},"".concat(Pt.SHARED_STATE_CHANGED,"-manager-").concat(e),(function(e){return c(e)})),At(o,"".concat(Pt.SHARED_STATE_SET,"-manager-").concat(e),(function(e){return c(e)})),o}),[e]),s=Object(Do.e)(i,[e]);return Object(Do.f)((function(){void 0===o||n||s("".concat(Pt.SHARED_STATE_SET,"-client-").concat(e),o)}),[e]),[a,function(o){c(o),s("".concat(Pt.SHARED_STATE_CHANGED,"-client-").concat(e),o)}]}function Rt(e,o){return qt(e,o)}t.d(o,"getQueryParams",(function(){return Ce})),t.d(o,"getQueryParam",(function(){return Pe})),t.d(o,"StoryStore",(function(){return ht})),t.d(o,"combineParameters",(function(){return b})),t.d(o,"filterArgTypes",(function(){return ot})),t.d(o,"inferControls",(function(){return tt})),t.d(o,"HooksContext",(function(){return It.HooksContext})),t.d(o,"applyHooks",(function(){return It.applyHooks})),t.d(o,"useMemo",(function(){return It.useMemo})),t.d(o,"useCallback",(function(){return It.useCallback})),t.d(o,"useRef",(function(){return It.useRef})),t.d(o,"useState",(function(){return It.useState})),t.d(o,"useReducer",(function(){return It.useReducer})),t.d(o,"useEffect",(function(){return It.useEffect})),t.d(o,"useChannel",(function(){return It.useChannel})),t.d(o,"useStoryContext",(function(){return It.useStoryContext})),t.d(o,"useParameter",(function(){return It.useParameter})),t.d(o,"useArgs",(function(){return It.useArgs})),t.d(o,"useGlobals",(function(){return It.useGlobals})),t.d(o,"useSharedState",(function(){return qt})),t.d(o,"useAddonState",(function(){return Rt})),t.d(o,"decorateStory",(function(){return Mo})),t.d(o,"sanitizeStoryContextUpdate",(function(){return Fo})),t.d(o,"defaultDecorateStory",(function(){return Lo})),t.d(o,"mapArgsToTypes",(function(){return eo})),t.d(o,"combineArgs",(function(){return oo})),t.d(o,"validateOptions",(function(){return to})),t.d(o,"DEEPLY_EQUAL",(function(){return no})),t.d(o,"deepDiff",(function(){return ro})),t.d(o,"NO_TARGET_NAME",(function(){return""})),t.d(o,"groupArgsByTarget",(function(){return ao})),t.d(o,"noTargetArgs",(function(){return co})),t.d(o,"userOrAutoTitleFromSpecifier",(function(){return U})),t.d(o,"userOrAutoTitle",(function(){return W})),t.d(o,"sortStoriesV7",(function(){return P})),t.d(o,"sortStoriesV6",(function(){return T})),t.d(o,"normalizeInputType",(function(){return x})),t.d(o,"normalizeInputTypes",(function(){return j})),t.d(o,"normalizeStory",(function(){return Eo})),t.d(o,"processCSFFile",(function(){return Ao})),t.d(o,"prepareStory",(function(){return $o})),t.d(o,"normalizeComponentAnnotations",(function(){return Co})),t.d(o,"normalizeProjectAnnotations",(function(){return it})),t.d(o,"getValuesFromArgTypes",(function(){return po})),t.d(o,"getField",(function(){return gt})),t.d(o,"getArrayField",(function(){return yt})),t.d(o,"getObjectField",(function(){return kt})),t.d(o,"getSingletonField",(function(){return vt})),t.d(o,"composeConfigs",(function(){return wt})),t.d(o,"setProjectAnnotations",(function(){return _t})),t.d(o,"composeStory",(function(){return Et})),t.d(o,"composeStories",(function(){return Ct})),t.d(o,"addArgsEnhancer",(function(){return xe})),t.d(o,"addArgTypesEnhancer",(function(){return je})),t.d(o,"addDecorator",(function(){return ge})),t.d(o,"addLoader",(function(){return ke})),t.d(o,"addArgs",(function(){return ve})),t.d(o,"addArgTypes",(function(){return we})),t.d(o,"addParameters",(function(){return ye})),t.d(o,"setGlobalRender",(function(){return Oe})),t.d(o,"ClientApi",(function(){return Se}))},,function(e,o,t){"use strict";t.r(o);var n=t(82),r=t(15),a=t(5);function c(e){Object(a.a)(1,arguments);var o=Object(r.a)(e);return o.setHours(0,0,0,0),o}t.d(o,"default",(function(){return i}));function i(e,o){Object(a.a)(2,arguments);var t=c(e),r=c(o),i=t.getTime()-Object(n.a)(t),s=r.getTime()-Object(n.a)(r);return Math.round((i-s)/864e5)}},,,,,,,,function(e,o,t){var n;
|