@quintype/arrow 3.2.0 → 3.2.1-arrow-chunking.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AlsoRead/index.js +1 -0
- package/AlternateCollectionFilter/index.js +1 -0
- package/AsideCollection/index.js +1 -0
- package/Attachment/index.js +1 -0
- package/Author/index.js +1 -0
- package/AuthorIntroductionCard/index.js +1 -0
- package/AuthorWithTime/index.js +1 -0
- package/AuthorsList/index.js +1 -0
- package/BigFact/index.js +1 -0
- package/BlockQuote/index.js +1 -0
- package/Blurb/index.js +1 -0
- package/CollectionFilter/index.js +1 -0
- package/CollectionName/index.js +1 -0
- package/ElevenStories/index.js +1 -0
- package/FourColFiveStories/index.js +1 -0
- package/FourColGrid/index.js +1 -0
- package/FourColSixteenStories/index.js +1 -0
- package/FourColTwelveStories/index.js +1 -0
- package/FourStorySlider/index.js +1 -0
- package/FourTabbedBigStorySlider/index.js +1 -0
- package/FullScreenSlider/index.js +1 -0
- package/HalfScreenSlider/index.js +1 -0
- package/Headline/index.js +1 -0
- package/HeroImage/index.js +1 -0
- package/Image/index.js +1 -0
- package/ImageGallery/index.js +1 -0
- package/ImageSlideshow/index.js +1 -0
- package/KeyEvents/index.js +1 -0
- package/ListComponent/index.js +1 -0
- package/ListicleStoryTemplate/index.js +1 -0
- package/Listicles/index.js +1 -0
- package/LiveBlogStoryTemplate/index.js +1 -0
- package/LoadmoreButton/index.js +1 -0
- package/MagazineEditions/index.js +1 -0
- package/MagazineHeaderCard/index.js +1 -0
- package/MagazineWidget/index.js +1 -0
- package/OneColStoryList/index.js +1 -0
- package/OpinionCollection/index.js +1 -0
- package/PageIntroductionCard/index.js +1 -0
- package/PhotoStoryTemplate/index.js +1 -0
- package/QuestionAnswer/index.js +1 -0
- package/Quote/index.js +1 -0
- package/Reference/index.js +1 -0
- package/ScrollSnap/index.js +1 -0
- package/SectionTag/index.js +1 -0
- package/SixColSixStories/index.js +1 -0
- package/SocialShareTemplate/index.js +1 -0
- package/StoryCard/index.js +1 -0
- package/StoryCollection/index.js +1 -0
- package/StoryElement/index.js +1 -0
- package/StoryElementCard/index.js +1 -0
- package/StorycardContent/index.js +1 -0
- package/Subheadline/index.js +1 -0
- package/Summary/index.js +1 -0
- package/TagIntroductionCard/index.js +1 -0
- package/Text/index.js +1 -0
- package/TextStoryTemplate/index.js +1 -0
- package/ThreeColFlexStories/index.js +1 -0
- package/ThreeColFourteenStories/index.js +1 -0
- package/ThreeColGrid/index.js +1 -0
- package/ThreeColSevenStory/index.js +1 -0
- package/ThreeColSixStories/index.js +1 -0
- package/ThreeColTwelveStories/index.js +1 -0
- package/TimeStamp/index.js +1 -0
- package/TwoColFourStories/index.js +1 -0
- package/TwoColFourStoryHighlight/index.js +1 -0
- package/TwoColSixStories/index.js +1 -0
- package/TwoColTenStoriesSidebar/index.js +1 -0
- package/TwoColThreeStories/index.js +1 -0
- package/Video/index.js +1 -0
- package/VideoStoryTemplate/index.js +1 -0
- package/cjs/index.js +1 -9
- package/esm/index.js +1 -9
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{createContext as t,useContext as r,useState as o,useRef as n,useEffect as a}from"react";import{connect as i,useSelector as l,useDispatch as c}from"react-redux";import{Link as s,ResponsiveImage as u,ResponsiveHeroImage as d,LinkBase as m,collectionToStories as h}from"@quintype/components";import f,{PropTypes as p,number as g,string as v,func as _,array as b,bool as y}from"prop-types";import w from"react-timeago";function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var T=Array.isArray,k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function z(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function C(e){var t={exports:{}};return e(t,t.exports),t.exports}var L="object"==typeof k&&k&&k.Object===Object&&k,N="object"==typeof self&&self&&self.Object===Object&&self,j=L||N||Function("return this")(),I=j.Symbol,O=Object.prototype,S=O.hasOwnProperty,A=O.toString,M=I?I.toStringTag:void 0;var R=function(e){var t=S.call(e,M),r=e[M];try{e[M]=void 0;var o=!0}catch(e){}var n=A.call(e);return o&&(t?e[M]=r:delete e[M]),n},P=Object.prototype.toString;var H=function(e){return P.call(e)},B=I?I.toStringTag:void 0;var F=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?R(e):H(e)};var D=function(e){return null!=e&&"object"==typeof e};var W=function(e){return"symbol"==typeof e||D(e)&&"[object Symbol]"==F(e)},q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/;var V=function(e,t){if(T(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!W(e))||(U.test(e)||!q.test(e)||null!=t&&e in Object(t))};var G=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Z,J=function(e){if(!G(e))return!1;var t=F(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Y=j["__core-js_shared__"],$=(Z=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"";var K=function(e){return!!$&&$ in e},Q=Function.prototype.toString;var X=function(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ee=/^\[object .+?Constructor\]$/,te=Function.prototype,re=Object.prototype,oe=te.toString,ne=re.hasOwnProperty,ae=RegExp("^"+oe.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ie=function(e){return!(!G(e)||K(e))&&(J(e)?ae:ee).test(X(e))};var le=function(e,t){return null==e?void 0:e[t]};var ce=function(e,t){var r=le(e,t);return ie(r)?r:void 0},se=ce(Object,"create");var ue=function(){this.__data__=se?se(null):{},this.size=0};var de=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},me=Object.prototype.hasOwnProperty;var he=function(e){var t=this.__data__;if(se){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return me.call(t,e)?t[e]:void 0},fe=Object.prototype.hasOwnProperty;var pe=function(e){var t=this.__data__;return se?void 0!==t[e]:fe.call(t,e)};var ge=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=se&&void 0===t?"__lodash_hash_undefined__":t,this};function ve(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ve.prototype.clear=ue,ve.prototype.delete=de,ve.prototype.get=he,ve.prototype.has=pe,ve.prototype.set=ge;var _e=ve;var be=function(){this.__data__=[],this.size=0};var ye=function(e,t){return e===t||e!=e&&t!=t};var we=function(e,t){for(var r=e.length;r--;)if(ye(e[r][0],t))return r;return-1},Ee=Array.prototype.splice;var xe=function(e){var t=this.__data__,r=we(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ee.call(t,r,1),--this.size,!0)};var Te=function(e){var t=this.__data__,r=we(t,e);return r<0?void 0:t[r][1]};var ke=function(e){return we(this.__data__,e)>-1};var ze=function(e,t){var r=this.__data__,o=we(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ce(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ce.prototype.clear=be,Ce.prototype.delete=xe,Ce.prototype.get=Te,Ce.prototype.has=ke,Ce.prototype.set=ze;var Le=Ce,Ne=ce(j,"Map");var je=function(){this.size=0,this.__data__={hash:new _e,map:new(Ne||Le),string:new _e}};var Ie=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Oe=function(e,t){var r=e.__data__;return Ie(t)?r["string"==typeof t?"string":"hash"]:r.map};var Se=function(e){var t=Oe(this,e).delete(e);return this.size-=t?1:0,t};var Ae=function(e){return Oe(this,e).get(e)};var Me=function(e){return Oe(this,e).has(e)};var Re=function(e,t){var r=Oe(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Pe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Pe.prototype.clear=je,Pe.prototype.delete=Se,Pe.prototype.get=Ae,Pe.prototype.has=Me,Pe.prototype.set=Re;var He=Pe;function Be(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(Be.Cache||He),r}Be.Cache=He;var Fe=Be;var De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,We=/\\(\\)?/g,qe=function(e){var t=Fe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(De,(function(e,r,o,n){t.push(o?n.replace(We,"$1"):r||e)})),t}));var Ue=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Ve=I?I.prototype:void 0,Ge=Ve?Ve.toString:void 0;var Ze=function e(t){if("string"==typeof t)return t;if(T(t))return Ue(t,e)+"";if(W(t))return Ge?Ge.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Je=function(e){return null==e?"":Ze(e)};var Ye=function(e,t){return T(e)?e:V(e,t)?[e]:qe(Je(e))};var $e=function(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ke=function(e,t){for(var r=0,o=(t=Ye(t,e)).length;null!=e&&r<o;)e=e[$e(t[r++])];return r&&r==o?e:void 0};var Qe=function(e,t,r){var o=null==e?void 0:Ke(e,t);return void 0===o?r:o},Xe=C((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),et=z(C((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=Xe)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),tt=t(),rt=function(){return r(tt)};function ot(e){return(ot="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)}C((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new L(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return j()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=k(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(N([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function k(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function N(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:j}}function j(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=N,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},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 r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){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&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;C(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:N(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var nt=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var at=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),it=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ct=function(e){return(e=Je(e))&&e.replace(it,at).replace(lt,"")},st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ut=function(e){return e.match(st)||[]},dt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var mt=function(e){return dt.test(e)},ht="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="["+ht+"]",pt="\\d+",gt="[\\u2700-\\u27bf]",vt="[a-z\\xdf-\\xf6\\xf8-\\xff]",_t="[^\\ud800-\\udfff"+ht+pt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",yt="[\\ud800-\\udbff][\\udc00-\\udfff]",wt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+vt+"|"+_t+")",xt="(?:"+wt+"|"+_t+")",Tt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",kt="[\\ufe0e\\ufe0f]?"+Tt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",bt,yt].join("|")+")[\\ufe0e\\ufe0f]?"+Tt+")*"),zt="(?:"+[gt,bt,yt].join("|")+")"+kt,Ct=RegExp([wt+"?"+vt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ft,wt,"$"].join("|")+")",xt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ft,wt+Et,"$"].join("|")+")",wt+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",wt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pt,zt].join("|"),"g");var Lt=function(e){return e.match(Ct)||[]};var Nt=function(e,t,r){return e=Je(e),void 0===(t=r?void 0:t)?mt(e)?Lt(e):ut(e):e.match(t)||[]},jt=RegExp("['’]","g");var It=function(e){return function(t){return nt(Nt(ct(t).replace(jt,"")),e,"")}},Ot=It((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),St=It((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function At(e,t,r,o,n){var a,i=Qe(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Ot(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,T=Mt(o),k=T;if(w&&(v=Qe(w,[St(g)])||g),y){var z=T.includes("am"),C=y.am,L=void 0===C?"am":C,N=y.pm,j=void 0===N?"pm":N;k=(z?T.replace("am",L):T.replace("pm",j))||T}return"rtl"===x?(_=i?"".concat(k):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(k,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(k):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,n):e>1?(a=Qe(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Qe(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Mt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var Rt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Ht={mobile:767,tablet:1024},Bt=function(e){var t=Qe(Ht,e);return!!t&&Qe(global,"document.documentElement.clientWidth")<=t},Ft=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Pt(e),o=Rt(r)<155?"light":"dark";return o};var Dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Qe(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Wt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Qe(n,["reference-url"],""):""}f.shape({"sketches-host":f.string,"cdn-name":f.string,"cdn-image":f.string}),f.shape({headline:f.string,"last-published-at":f.number,subheadline:f.string});var qt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Qe(e,["story-template"])?Qe(e,["metadata","reference-url"],""):e.url||t},Ut=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Dt(e,t):"/"},Vt={"./collection-name.m.css":{collection:"collection-name-m_collection__JD6sx","collection-borderLeft":"collection-name-m_collection-borderLeft__3Dznk","border-left":"collection-name-m_border-left__3_pYw","collection-borderBottomFull":"collection-name-m_collection-borderBottomFull__Dkq3K","collection-borderBottom":"collection-name-m_collection-borderBottom__2rdQM","collection-crossLine":"collection-name-m_collection-crossLine__1sIpN","border-bottom":"collection-name-m_border-bottom__1MnlV",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN"}},Gt=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,c=t.customCollectionName,u=void 0===c?"":c,d=t.navigate,m=void 0===d||d,h=rt()||{},f=Qe(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Dt(n,a)||"",v=u||n.name||"",_=Ft(h.theme),b="h"+l,y=Pt(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=Bt("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+et("collection ".concat(_," ").concat(p),Vt)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(E)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(s,{href:g,"aria-label":"collection-name"},e.createElement(b,null,v)):e.createElement(b,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};Gt.propTypes={collectionNameBorderColor:p.string,collection:p.object,config:p.object,collectionNameTemplate:p.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:p.string,customCollectionName:p.string,navigate:p.bool},Gt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Zt=i((function(e){return{config:Qe(e,["qt","config"],{})}}))(Gt),Jt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Jt.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var Yt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Yt.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var $t=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};$t.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var Kt=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Kt.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var Qt=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Jt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement($t,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Yt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Kt,{width:r,height:o,color:n,positionTop:i})}};Qt.propTypes={width:f.string,height:f.string,color:f.string,iconType:f.string,positionTop:f.string};var Xt={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},er=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=rt()||{},c=a.iconColor,u=void 0===c?"#F7B500":c,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,p=Qe(r,["alternative","home","default","headline"]),g=f&&"subscription"===Qe(r,["access"]),v=p||r.headline,_="h"+o,b=Ft(l.theme),y=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+et(y,Xt)},g&&e.createElement(Qt,{width:w,height:w,color:u,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(s,{href:qt(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"headline"},e.createElement(_,{className:et("headline ".concat(b),Xt)},v)):e.createElement(_,{className:et("headline ".concat(b),Xt)},v))};er.propTypes={story:f.object.isRequired,headerLevel:f.string,premiumStoryIconConfig:f.shape({iconColor:f.string,iconType:f.string,enablePremiumStoryIcon:f.bool}),isLink:f.bool},er.defaultProps={headerLevel:"6",isLink:!0};var tr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},rr=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=rt()||{};if(!(c||Qe(u,["showSubheadline"],!0)))return null;var d=Ft(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+et("subheadline ".concat(d),tr)},s||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};rr.propTypes={story:f.object.isRequired,lineClamp:f.number,truncateChars:f.number,clazzName:f.string,forceShowAtom:f.bool,showFullContent:f.bool},rr.defaultProps={forceShowAtom:!1,showFullContent:!1};var or={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},nr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=rt()||{},l=Qe(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=Ft(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+et("time ".concat(u," ").concat(s),or)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(w,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,At,a))))};nr.propTypes={story:f.object,isBottom:f.bool,config:f.object};var ar={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},ir=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,c=void 0===l?{}:l,d=rt()||{},m=Qe(d,["showAuthor"],!0),h=Qe(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",b=Ft(d.theme),y=Qe(c,["mountAt"],""),w=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+et("prefix ".concat(b),ar)},i):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:et("author-image ".concat(t,"-image"),ar)},e.createElement("figure",null,p?e.createElement(u,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(s,{href:"".concat(y,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+et("author ".concat(_),ar)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+et("author-name ".concat(b),ar)},g||r["author-name"]),!i&&w("rtl")))};var lr=i((function(e){return{config:Qe(e,["qt","config"],{})}}))(ir);ir.propTypes={story:f.object.isRequired,hideAuthorImage:f.bool,isBottom:f.bool,prefix:f.string,config:f.object},ir.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var cr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},sr=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:et(l,cr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};sr.propTypes={color:f.string,width:f.string,height:f.string};var ur={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},dr=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:et(l,ur)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};dr.propTypes={color:f.string,width:f.string,height:f.string};var mr={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_","dot-indicator":"read-time-m_dot-indicator__3Sqh2",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},hr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=rt()||{},c=Qe(l,["showReadTime"])||Qe(n,["showReadTime"],!0),s=Qe(r,["read-time"],0),u=i?"light":Ft(l.theme);if(!c||!s)return null;var d=Qe(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+et("read-time-wrapper ".concat(u),mr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(sr,{color:u})),e.createElement("span",null,s," ",d)))};hr.propTypes={story:f.shape({"read-time":f.number}),opts:f.shape({showReadTime:f.bool}),isLightTheme:f.bool};var fr={"./author-with-timestamp.m.css":{"author-time-wrapper":"author-with-timestamp-m_author-time-wrapper__G7_eI","author-image":"author-with-timestamp-m_author-image__24xrD",dot:"author-with-timestamp-m_dot__1LHXD","bottom-fix":"author-with-timestamp-m_bottom-fix__1rWGv",dash:"author-with-timestamp-m_dash__2L5XC"}},pr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=rt()||{},d=Qe(c,["showAuthor"],Qe(u,["showAuthor"],!0)),m=Qe(u,["showTime"],!0),h=Qe(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":Ft(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+et("".concat(p),fr)},"divider"===o?e.createElement(dr,{color:g}):e.createElement(sr,{color:g})),e.createElement(nr,{story:r,config:c}),h&&e.createElement(hr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+et("author-time-wrapper ".concat(f),fr)},d?e.createElement(e.Fragment,null,e.createElement(lr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};pr.propTypes={story:f.object,separator:f.oneOf(["dot","divider"]),hideAuthorImage:f.bool,isBottom:f.bool,prefix:f.string,config:f.object,isLightTheme:f.bool},pr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var gr=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};gr.propTypes={width:f.object,height:f.object,iconColor:f.object};var vr=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(gr,null)))},_r=function(t){var r=t.slug;return r?e.createElement(s,{href:r,"aria-label":"image-fallback"},vr()):vr()};_r.propTypes={slug:f.string};var br={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U"}},yr=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,c=t.isHorizontal,m=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(rt()||{}).fallbackImageUrl,v=void 0===g?"":g,_=l((function(e){return Qe(e,["qt","config","showPlaceholder"])}))?"placeholder":"",b=o?"":"with-padding",y="hero-image";c?y="right-padding":h&&(y="left-padding");var w=m?"right-padding-mob":"",E=function(e){var t=x(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},T=x(n,2),k=T[0],z=T[1],C=void 0===z?k:z,L=Bt("mobile"),N=L?k:C,j=E(L?k:C),I=Qe(r,["hero-image-s3-key"])||Qe(r,["alternative","home","default","hero-image","hero-image-s3-key"]),O=function(){return I?e.createElement("figure",{style:{paddingTop:j+"%"},className:"arr--responsive-hero-image "+et("image ".concat(_),br)},e.createElement(d,{story:r,aspectRatio:N,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:j+"%"},className:"arr--responsive-hero-image "+et("image ".concat(_),br)},e.createElement(u,{slug:!p&&v,metadata:{},"aspect-ratio":N,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:j+"%"},className:"arr--fallback-hero-image "+et("image ".concat(_),br)},e.createElement(_r,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+et("".concat(y," ").concat(b," ").concat(w),br)},O()):e.createElement(s,{"data-test-id":"arr--hero-image",href:qt(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+et("".concat(y," ").concat(b," ").concat(w),br)},O()))};yr.propTypes={story:f.object.isRequired,FullBleed:f.bool,defaultWidth:f.number,widths:f.array,aspectRatio:f.array,isHorizontal:f.bool,isHorizontalMobile:f.bool,defaultFallback:f.bool,isHorizontalWithImageLast:f.bool},yr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var wr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},Er=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,l=t.isLightTheme,c=rt()||{},u=Qe(c,["showSection"],!0),d=Qe(c,["sectionTagTemplate"]),m=Qe(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:c.theme,g=l?"light":Ft(p),v=Pt(i),_=h.includes(n)?"section section-".concat(n):"section";return d&&(_=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(s,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+et("".concat(g," ").concat(_),wr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};Er.propTypes={story:f.object.isRequired,template:f.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:f.string,solidBorderColor:f.string,isLightTheme:f.bool},Er.defaultProps={template:"",isLightTheme:!1};var xr={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-bottom":"storycard-m_content-bottom__1QHeC","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},Tr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===ot(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var b=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":_&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",x=Ft(u),T=m?"horizontal-mob":"",k=e.createElement(kr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:x},className:"arr--story-card "+et("card ".concat(y," ").concat(b," ").concat(x," ").concat(w," ").concat(E," ").concat(T),xr)},n||k)},kr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=Pt(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(yr,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(yr,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(yr,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+et("content ".concat(p),xr)},e.createElement(Er,{story:r,borderColor:g}),e.createElement(er,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(pr,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(rr,{story:r})))};kr.propTypes={story:f.object.isRequired,border:f.oneOfType([f.string]),isBottom:f.bool,isHorizontal:f.bool,aspectRatio:f.oneOfType([f.array]),isHorizontalMobile:f.bool,centerAlign:f.bool,headerLevel:f.string,borderColor:f.string,hideAuthorImage:f.bool,prefix:f.string,config:f.object,isHorizontalWithImageLast:f.bool},Tr.propTypes={story:f.object.isRequired,children:f.node,isHorizontal:f.bool,border:f.oneOfType([f.string]),useImageAsBackground:f.bool,bgImgContentOverlap:f.bool,aspectRatio:f.oneOfType([f.array]),theme:f.string,isHorizontalMobile:f.bool,centerAlign:f.bool,headerLevel:f.string,borderColor:f.string,hideAuthorImage:f.bool,prefix:f.string,config:f.object,isHorizontalWithImageLast:f.bool},Tr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var zr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},Cr=function(t){var r=t.story,o=t.children,n=t.theme,a=t.border,i=t.isHorizontalMobile,l=t.headerLevel,c=t.borderColor,s=t.config,u=Ft(n),d=Pt(c),m=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+et("wrapper ".concat(m," ").concat(h),zr)},o||e.createElement(Lr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},Lr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Pt(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(Er,{story:r,borderColor:l}),e.createElement(er,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(pr,{config:s,story:r}))};function Nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Lr.propTypes={story:f.object.isRequired,border:f.string,theme:f.string,isHorizontalMobile:f.bool,headerLevel:f.string,borderColor:f.string,config:f.object},Cr.propTypes={story:f.object.isRequired,children:f.node,theme:f.string,border:f.string,isHorizontalMobile:f.bool,headerLevel:f.string,borderColor:f.string,config:f.object};var jr={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function Ir(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Or(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ir(Object(r),!0).forEach((function(t){Nr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ir(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Sr=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,c=t.navigate,s=t.qtConfig,u=o.showButton,d=void 0===u||u,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,_=void 0===v?"":v;if(!d)return null;var b=Ft(g),y=_?"/".concat(_):Ut(n,Or(Or({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+et("button ".concat(b," default"),jr)},f):e.createElement(m,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+et("button ".concat(b," default"),jr)},f))};Sr.propTypes={collection:f.object,template:f.string,config:f.object,onClick:f.func,navigate:f.func,qtConfig:f.object};var Ar=function(t){var r=t.color,o=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),e.createElement("path",{stroke:o,d:"M9 16L1 8l8-8"})))};Ar.propTypes={color:f.string};var Mr=function(t){var r=t.color,o=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),e.createElement("path",{stroke:o,d:"M1 0l8 8-8 8"})))};Mr.propTypes={color:f.string};var Rr={"./slider-arrow.m.css":{arrow:"slider-arrow-m_arrow__1eBUU","left-arrow-dark":"slider-arrow-m_left-arrow-dark__3mTJS","right-arrow-dark":"slider-arrow-m_right-arrow-dark__3hWZe","left-arrow-light":"slider-arrow-m_left-arrow-light__2ipUK","right-arrow-light":"slider-arrow-m_right-arrow-light__3omMU","left-arrow-ltr":"slider-arrow-m_left-arrow-ltr__1ngNF","right-arrow-ltr":"slider-arrow-m_right-arrow-ltr__2svWX","left-arrow-rtl":"slider-arrow-m_left-arrow-rtl__2ynyn","right-arrow-rtl":"slider-arrow-m_right-arrow-rtl__1GjPz"}},Pr=function(t){var r=t.selectedIndex,o=t.previousClick,n=t.nextClick,a=t.noOfItems,i=t.perView,l=t.languageDirection;if(a<1)return null;var c=rt()||{},s=Ft(c.theme),u="rtl"===l?"left-arrow-rtl":"left-arrow-ltr",d="rtl"===l?"right-arrow-rtl":"right-arrow-ltr";return e.createElement(e.Fragment,null,0!==r?e.createElement("button",{onClick:o,className:("left-arrow ".concat(u)?"left-arrow ".concat(u)+" ":"")+et("arrow left-arrow-".concat(s," ").concat(u),Rr)},e.createElement(Ar,{color:"dark"===s?"#fff":"#333"})):null,r<a-1&&!(r>=a-i)?e.createElement("button",{onClick:n,className:("right-arrow ".concat(d)?"right-arrow ".concat(d)+" ":"")+et("arrow right-arrow-".concat(s," ").concat(d),Rr)},e.createElement(Mr,{color:"dark"===s?"#fff":"#333"})):null)};Pr.propTypes={noOfItems:g,perView:g,slideIndicator:v,previousClick:_,nextClick:_,selectedIndex:g,languageDirection:v};var Hr={"./slider-indicator.m.css":{indicators:"slider-indicator-m_indicators__3MNXc",indicator:"slider-indicator-m_indicator__gTv3x","indicator-button":"slider-indicator-m_indicator-button__1e82r","indicator-dots":"slider-indicator-m_indicator-dots__2TR3H","indicator-dots-dark":"slider-indicator-m_indicator-dots-dark__sGrev","indicator-dots-light":"slider-indicator-m_indicator-dots-light__2nPn-","indicator-dashes":"slider-indicator-m_indicator-dashes__DyNCE","indicator-dashes-dark":"slider-indicator-m_indicator-dashes-dark__VrqJI","indicator-dashes-light":"slider-indicator-m_indicator-dashes-light__34ESx"}},Br=function(t){var r=t.indicatorItems,o=t.indicatorClick,n=t.selectedIndex,a=t.indicatorType;if(r.length<1)return null;var i=rt()||{},l=Ft(i.theme);return e.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},r.map((function(t,r){return e.createElement("li",{key:"slider-".concat(r),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(e){return o(e,r)}},e.createElement("button",{"aria-pressed":n===r?"true":"false",className:("indicator-button indicator-".concat(a)?"indicator-button indicator-".concat(a)+" ":"")+et("indicator-button indicator-".concat(a," indicator-").concat(a,"-").concat(l),Hr)}))})))};Br.propTypes={indicatorItems:b,perView:g,indicatorType:v,indicatorClick:_,selectedIndex:g};var Fr=function(e,t,r,o){var n,a,i,l,c=Math.floor(r.current.scrollWidth*(e/o)),s="rtl"===t?-1*c:c;n=r.current,a=s,i=!0,n.scrollTo((Nr(l={},i?"left":"top",a),Nr(l,"behavior","smooth"),l))},Dr=function(t){var r=t.children,i=t.isArrow,c=t.interval,s=t.isInfinite,u=t.pauseOnHover,d=t.perView,m=t.slideIndicator,h=x(o(0),2),f=h[0],p=h[1],g=x(o(!1),2),v=g[0],_=g[1],b=l((function(e){return Qe(e,["qt","config","language","direction"],"ltr")})),y=r?r.length:0,w=n(null),E=r.length-(d-1),T=r.slice(0,E);a((function(){if(s&&!v){var e=setInterval((function(){k()}),c);return function(){clearInterval(e)}}}),[s,v]);var k=function(){p((function(e){var t=e===y-d?0:e+1;return Fr(t,b,w,y),t}))},z=function(){u&&_(!v)};return e.createElement("div",{className:"scroll-snap-container"},e.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:z,onMouseLeave:z},e.createElement("div",{ref:w,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},r),i&&e.createElement(Pr,{noOfItems:y,perView:d,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=f-1;p(t),Fr(t,b,w,y)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),f<y){var t=f+1;p(t),Fr(t,b,w,y)}},selectedIndex:f,languageDirection:b})),r.length>d&&"none"!==m&&e.createElement(Br,{indicatorItems:T,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),p(t),Fr(t,b,w,y)},selectedIndex:f,indicatorType:m}))};Dr.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},Dr.propTypes={children:b.isRequired,isArrow:y,isInfinite:y,interval:g,pauseOnHover:y,perView:g,slideIndicator:v};var Wr=function(t){var r=t.collection,n=t.config,i=void 0===n?{}:n,s=i.collectionNameBorderColor,u=void 0===s?"":s,d=i.borderColor,m=void 0===d?"":d,f=i.theme,p=void 0===f?"":f,g=i.border,v=void 0===g?"":g,_=i.collectionNameTemplate,b=void 0===_?"":_,y=i.numberOfStoriesToShow,w=void 0===y?0:y,E=i.footerButton,T=void 0===E?"":E,k=i.footerSlotConfig,z=void 0===k?{}:k,C=i.navigationArrows,L=void 0===C||C,N=i.slideIndicator,j=void 0===N?"none":N,I=i.isInfinite,O=void 0!==I&&I,S=z.footerSlot,A=h(r);if(A.length<1)return null;var M=c(),R=l((function(e){return Qe(e,["qt","config"],{})})),P=Ut(r,R),H=x(o(1),2),B=H[0],F=H[1],D=function(e){return e?parseInt(e):1}(w),W=Ft(p),q=S?S():null;a((function(){var e=Qe(global,["innerWidth"],480);F(e>992?4:e>764?3:1)}),[]);var U=function(){return A.slice(0,D).map((function(t,r){return e.createElement(Tr,{story:t,theme:p,border:v,key:r,config:i},e.createElement(yr,{story:t,aspectRatio:[[16,9]]}),e.createElement(Cr,{story:t,border:v,borderColor:m,config:i}))}))};return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"four-story-slider",style:{backgroundColor:p,color:W}},e.createElement("div",{className:"four-story-slider-m_four-story-slider-wrapper__1WZcd"},e.createElement(Zt,{collection:r,collectionNameTemplate:b,collectionNameBorderColor:u}),A.length>4?e.createElement(Dr,{isArrow:L,perView:B,slideIndicator:j,isInfinite:O},U()):e.createElement("div",{className:"four-story-slider-m_story-grid__NcDMl"},U()),e.createElement(Sr,{collection:r,template:T,config:i,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(M,P)},qtConfig:R}),q))};Wr.propTypes={collection:f.object.isRequired,config:f.shape({borderColor:f.string,theme:f.string,border:f.string,footerButton:f.string,collectionNameTemplate:f.string,autoplaySpeed:f.number,numberOfStoriesToShow:f.number,collectionNameBorderColor:f.string})},Wr.defaultProps={theme:"#ffffff",slotConfig:"story",border:""};var qr,Ur=(qr=Wr,function(t){return e.createElement(tt.Provider,{value:t.config},e.createElement(qr,t))});export{Ur as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{createContext as t,useContext as r,useState as o}from"react";import n,{PropTypes as a}from"prop-types";import{connect as i,useSelector as l,useDispatch as c}from"react-redux";import{get as s}from"lodash";import{Link as u,LinkBase as d,ResponsiveImage as m,ResponsiveHeroImage as h,collectionToStories as f}from"@quintype/components";import p from"react-timeago";function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return g(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var v="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y(e){var t={exports:{}};return e(t,t.exports),t.exports}var w=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),E=_(y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=w)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),x=t(),T=function(){return r(x)};function L(e){return(L="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)}y((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new C(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return N()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=L(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function b(){}function v(){}var _={};c(_,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(j([])));w&&w!==r&&o.call(w,a)&&(_=w);var E=v.prototype=g.prototype=Object.create(_);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function L(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,L(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function j(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:N}}function N(){return{value:t,done:!0}}return b.prototype=v,c(E,"constructor",v),c(v,"constructor",b),b.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=j,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},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 r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){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&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:j(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var z=Array.isArray,k="object"==typeof v&&v&&v.Object===Object&&v,C="object"==typeof self&&self&&self.Object===Object&&self,j=k||C||Function("return this")(),N=j.Symbol,S=Object.prototype,O=S.hasOwnProperty,A=S.toString,I=N?N.toStringTag:void 0;var R=function(e){var t=O.call(e,I),r=e[I];try{e[I]=void 0;var o=!0}catch(e){}var n=A.call(e);return o&&(t?e[I]=r:delete e[I]),n},M=Object.prototype.toString;var B=function(e){return M.call(e)},H=N?N.toStringTag:void 0;var P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?R(e):B(e)};var F=function(e){return null!=e&&"object"==typeof e};var D=function(e){return"symbol"==typeof e||F(e)&&"[object Symbol]"==P(e)},W=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/;var U=function(e,t){if(z(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!D(e))||(q.test(e)||!W.test(e)||null!=t&&e in Object(t))};var G=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Z,J=function(e){if(!G(e))return!1;var t=P(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},V=j["__core-js_shared__"],Y=(Z=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"";var $=function(e){return!!Y&&Y in e},K=Function.prototype.toString;var Q=function(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""},X=/^\[object .+?Constructor\]$/,ee=Function.prototype,te=Object.prototype,re=ee.toString,oe=te.hasOwnProperty,ne=RegExp("^"+re.call(oe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ae=function(e){return!(!G(e)||$(e))&&(J(e)?ne:X).test(Q(e))};var ie=function(e,t){return null==e?void 0:e[t]};var le=function(e,t){var r=ie(e,t);return ae(r)?r:void 0},ce=le(Object,"create");var se=function(){this.__data__=ce?ce(null):{},this.size=0};var ue=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},de=Object.prototype.hasOwnProperty;var me=function(e){var t=this.__data__;if(ce){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return de.call(t,e)?t[e]:void 0},he=Object.prototype.hasOwnProperty;var fe=function(e){var t=this.__data__;return ce?void 0!==t[e]:he.call(t,e)};var pe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ce&&void 0===t?"__lodash_hash_undefined__":t,this};function ge(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ge.prototype.clear=se,ge.prototype.delete=ue,ge.prototype.get=me,ge.prototype.has=fe,ge.prototype.set=pe;var be=ge;var ve=function(){this.__data__=[],this.size=0};var _e=function(e,t){return e===t||e!=e&&t!=t};var ye=function(e,t){for(var r=e.length;r--;)if(_e(e[r][0],t))return r;return-1},we=Array.prototype.splice;var Ee=function(e){var t=this.__data__,r=ye(t,e);return!(r<0)&&(r==t.length-1?t.pop():we.call(t,r,1),--this.size,!0)};var xe=function(e){var t=this.__data__,r=ye(t,e);return r<0?void 0:t[r][1]};var Te=function(e){return ye(this.__data__,e)>-1};var Le=function(e,t){var r=this.__data__,o=ye(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ze.prototype.clear=ve,ze.prototype.delete=Ee,ze.prototype.get=xe,ze.prototype.has=Te,ze.prototype.set=Le;var ke=ze,Ce=le(j,"Map");var je=function(){this.size=0,this.__data__={hash:new be,map:new(Ce||ke),string:new be}};var Ne=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Se=function(e,t){var r=e.__data__;return Ne(t)?r["string"==typeof t?"string":"hash"]:r.map};var Oe=function(e){var t=Se(this,e).delete(e);return this.size-=t?1:0,t};var Ae=function(e){return Se(this,e).get(e)};var Ie=function(e){return Se(this,e).has(e)};var Re=function(e,t){var r=Se(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Me(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Me.prototype.clear=je,Me.prototype.delete=Oe,Me.prototype.get=Ae,Me.prototype.has=Ie,Me.prototype.set=Re;var Be=Me;function He(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(He.Cache||Be),r}He.Cache=Be;var Pe=He;var Fe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,De=/\\(\\)?/g,We=function(e){var t=Pe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Fe,(function(e,r,o,n){t.push(o?n.replace(De,"$1"):r||e)})),t}));var qe=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Ue=N?N.prototype:void 0,Ge=Ue?Ue.toString:void 0;var Ze=function e(t){if("string"==typeof t)return t;if(z(t))return qe(t,e)+"";if(D(t))return Ge?Ge.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Je=function(e){return null==e?"":Ze(e)};var Ve=function(e,t){return z(e)?e:U(e,t)?[e]:We(Je(e))};var Ye=function(e){if("string"==typeof e||D(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var $e=function(e,t){for(var r=0,o=(t=Ve(t,e)).length;null!=e&&r<o;)e=e[Ye(t[r++])];return r&&r==o?e:void 0};var Ke=function(e,t,r){var o=null==e?void 0:$e(e,t);return void 0===o?r:o};var Qe=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var Xe=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),et=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var rt=function(e){return(e=Je(e))&&e.replace(et,Xe).replace(tt,"")},ot=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var nt=function(e){return e.match(ot)||[]},at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var it=function(e){return at.test(e)},lt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ct="["+lt+"]",st="\\d+",ut="[\\u2700-\\u27bf]",dt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+lt+st+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",ft="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",gt="(?:"+dt+"|"+mt+")",bt="(?:"+pt+"|"+mt+")",vt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",_t="[\\ufe0e\\ufe0f]?"+vt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ht,ft].join("|")+")[\\ufe0e\\ufe0f]?"+vt+")*"),yt="(?:"+[ut,ht,ft].join("|")+")"+_t,wt=RegExp([pt+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ct,pt,"$"].join("|")+")",bt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ct,pt+gt,"$"].join("|")+")",pt+"?"+gt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",st,yt].join("|"),"g");var Et=function(e){return e.match(wt)||[]};var xt=function(e,t,r){return e=Je(e),void 0===(t=r?void 0:t)?it(e)?Et(e):nt(e):e.match(t)||[]},Tt=RegExp("['’]","g");var Lt=function(e){return function(t){return Qe(xt(rt(t).replace(Tt,"")),e,"")}},zt=Lt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),kt=Lt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function Ct(e,t,r,o,n){var a,i=Ke(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],b=g;u&&(b=zt(g));var v,_=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,T=jt(o),L=T;if(w&&(b=Ke(w,[kt(g)])||g),y){var z=T.includes("am"),k=y.am,C=void 0===k?"am":k,j=y.pm,N=void 0===j?"pm":j;L=(z?T.replace("am",C):T.replace("pm",N))||T}return"rtl"===x?(v=i?"".concat(L):"","".concat(p," ").concat(b,", ").concat(_," ").concat(v," ")):m?"".concat(b," ").concat(p,", ").concat(_):c?"".concat(L,", ").concat(p," ").concat(b," ").concat(_):(v=i?", ".concat(L):"","".concat(p," ").concat(b,", ").concat(_).concat(v))}(e,t,r,o,n):e>1?(a=Ke(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ke(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function jt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var Nt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},St=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Ot={mobile:767,tablet:1024},At=function(e){var t=Ke(Ot,e);return!!t&&Ke(global,"document.documentElement.clientWidth")<=t},It=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:St(e),o=Nt(r)<155?"light":"dark";return o},Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Ke(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ke(n,["reference-url"],""):""}n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var Bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ke(e,["story-template"])?Ke(e,["metadata","reference-url"],""):e.url||t},Ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Rt(e,t):"/"},Pt={"./collection-name.m.css":{collection:"collection-name-m_collection__JD6sx","collection-borderLeft":"collection-name-m_collection-borderLeft__3Dznk","border-left":"collection-name-m_border-left__3_pYw","collection-borderBottomFull":"collection-name-m_collection-borderBottomFull__Dkq3K","collection-borderBottom":"collection-name-m_collection-borderBottom__2rdQM","collection-crossLine":"collection-name-m_collection-crossLine__1sIpN","border-bottom":"collection-name-m_border-bottom__1MnlV",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN"}},Ft=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,c=t.customCollectionName,s=void 0===c?"":c,d=t.navigate,m=void 0===d||d,h=T()||{},f=Ke(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Rt(n,a)||"",b=s||n.name||"",v=It(h.theme),_="h"+l,y=St(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",x=At("mobile");return e.createElement(e.Fragment,null,f&&b&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+E("collection ".concat(v," ").concat(p),Pt)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(x)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(u,{href:g,"aria-label":"collection-name"},e.createElement(_,null,b)):e.createElement(_,null,b),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};Ft.propTypes={collectionNameBorderColor:a.string,collection:a.object,config:a.object,collectionNameTemplate:a.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:a.string,customCollectionName:a.string,navigate:a.bool},Ft.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Dt=i((function(e){return{config:Ke(e,["qt","config"],{})}}))(Ft);function Wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qt={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function Ut(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Gt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(r),!0).forEach((function(t){Wt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ut(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Zt=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,c=t.navigate,s=t.qtConfig,u=o.showButton,m=void 0===u||u,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,b=o.customUrlPath,v=void 0===b?"":b;if(!m)return null;var _=It(g),y=v?"/".concat(v):Ht(n,Gt(Gt({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+E("button ".concat(_," default"),qt)},f):e.createElement(d,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+E("button ".concat(_," default"),qt)},f))};Zt.propTypes={collection:n.object,template:n.string,config:n.object,onClick:n.func,navigate:n.func,qtConfig:n.object};var Jt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Jt.propTypes={height:n.string,width:n.string,color:n.string,positionTop:n.string};var Vt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Vt.propTypes={height:n.string,width:n.string,color:n.string,positionTop:n.string};var Yt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Yt.propTypes={height:n.string,width:n.string,color:n.string,positionTop:n.string};var $t=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};$t.propTypes={height:n.string,width:n.string,color:n.string,positionTop:n.string};var Kt=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Jt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Yt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Vt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement($t,{width:r,height:o,color:n,positionTop:i})}};Kt.propTypes={width:n.string,height:n.string,color:n.string,iconType:n.string,positionTop:n.string};var Qt={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Xt=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=T()||{},c=a.iconColor,s=void 0===c?"#F7B500":c,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ke(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ke(r,["access"]),b=p||r.headline,v="h"+o,_=It(l.theme),y=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+E(y,Qt)},g&&e.createElement(Kt,{width:w,height:w,color:s,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(u,{href:Bt(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"headline"},e.createElement(v,{className:E("headline ".concat(_),Qt)},b)):e.createElement(v,{className:E("headline ".concat(_),Qt)},b))};Xt.propTypes={story:n.object.isRequired,headerLevel:n.string,premiumStoryIconConfig:n.shape({iconColor:n.string,iconType:n.string,enablePremiumStoryIcon:n.bool}),isLink:n.bool},Xt.defaultProps={headerLevel:"6",isLink:!0};var er={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},tr=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=T()||{};if(!(c||Ke(u,["showSubheadline"],!0)))return null;var d=It(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+E("subheadline ".concat(d),er)},s||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};tr.propTypes={story:n.object.isRequired,lineClamp:n.number,truncateChars:n.number,clazzName:n.string,forceShowAtom:n.bool,showFullContent:n.bool},tr.defaultProps={forceShowAtom:!1,showFullContent:!1};var rr={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},or=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=T()||{},l=Ke(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=It(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+E("time ".concat(u," ").concat(s),rr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(p,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Ct,a))))};or.propTypes={story:n.object,isBottom:n.bool,config:n.object};var nr={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},ar=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,c=void 0===l?{}:l,s=T()||{},d=Ke(s,["showAuthor"],!0),h=Ke(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,b=h.slug,v=n?"bottom-fix":"",_=It(s.theme),y=Ke(c,["mountAt"],""),w=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+E("prefix ".concat(_),nr)},i):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:E("author-image ".concat(t,"-image"),nr)},e.createElement("figure",null,p?e.createElement(m,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,d&&e.createElement(u,{href:"".concat(y,"/author/")+b,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+E("author ".concat(v),nr)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+E("author-name ".concat(_),nr)},g||r["author-name"]),!i&&w("rtl")))};var ir=i((function(e){return{config:Ke(e,["qt","config"],{})}}))(ar);ar.propTypes={story:n.object.isRequired,hideAuthorImage:n.bool,isBottom:n.bool,prefix:n.string,config:n.object},ar.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var lr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},cr=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:E(l,lr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};cr.propTypes={color:n.string,width:n.string,height:n.string};var sr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},ur=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:E(l,sr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};ur.propTypes={color:n.string,width:n.string,height:n.string};var dr={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_","dot-indicator":"read-time-m_dot-indicator__3Sqh2",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},mr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=T()||{},c=Ke(l,["showReadTime"])||Ke(n,["showReadTime"],!0),s=Ke(r,["read-time"],0),u=i?"light":It(l.theme);if(!c||!s)return null;var d=Ke(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+E("read-time-wrapper ".concat(u),dr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(cr,{color:u})),e.createElement("span",null,s," ",d)))};mr.propTypes={story:n.shape({"read-time":n.number}),opts:n.shape({showReadTime:n.bool}),isLightTheme:n.bool};var hr={"./author-with-timestamp.m.css":{"author-time-wrapper":"author-with-timestamp-m_author-time-wrapper__G7_eI","author-image":"author-with-timestamp-m_author-image__24xrD",dot:"author-with-timestamp-m_dot__1LHXD","bottom-fix":"author-with-timestamp-m_bottom-fix__1rWGv",dash:"author-with-timestamp-m_dash__2L5XC"}},fr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=T()||{},d=Ke(c,["showAuthor"],Ke(u,["showAuthor"],!0)),m=Ke(u,["showTime"],!0),h=Ke(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":It(u.theme),b=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+E("".concat(p),hr)},"divider"===o?e.createElement(ur,{color:g}):e.createElement(cr,{color:g})),e.createElement(or,{story:r,config:c}),h&&e.createElement(mr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+E("author-time-wrapper ".concat(f),hr)},d?e.createElement(e.Fragment,null,e.createElement(ir,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),b()):b())};fr.propTypes={story:n.object,separator:n.oneOf(["dot","divider"]),hideAuthorImage:n.bool,isBottom:n.bool,prefix:n.string,config:n.object,isLightTheme:n.bool},fr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var pr=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};pr.propTypes={width:n.object,height:n.object,iconColor:n.object};var gr=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(pr,null)))},br=function(t){var r=t.slug;return r?e.createElement(u,{href:r,"aria-label":"image-fallback"},gr()):gr()};br.propTypes={slug:n.string};var vr={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U"}},_r=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,c=t.isHorizontal,s=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(T()||{}).fallbackImageUrl,v=void 0===g?"":g,_=l((function(e){return Ke(e,["qt","config","showPlaceholder"])}))?"placeholder":"",y=o?"":"with-padding",w="hero-image";c?w="right-padding":d&&(w="left-padding");var x=s?"right-padding-mob":"",L=function(e){var t=b(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},z=b(n,2),k=z[0],C=z[1],j=void 0===C?k:C,N=At("mobile"),S=N?k:j,O=L(N?k:j),A=Ke(r,["hero-image-s3-key"])||Ke(r,["alternative","home","default","hero-image","hero-image-s3-key"]),I=function(){return A?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+E("image ".concat(_),vr)},e.createElement(h,{story:r,aspectRatio:S,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+E("image ".concat(_),vr)},e.createElement(m,{slug:!p&&v,metadata:{},"aspect-ratio":S,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:O+"%"},className:"arr--fallback-hero-image "+E("image ".concat(_),vr)},e.createElement(br,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+E("".concat(w," ").concat(y," ").concat(x),vr)},I()):e.createElement(u,{"data-test-id":"arr--hero-image",href:Bt(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+E("".concat(w," ").concat(y," ").concat(x),vr)},I()))};_r.propTypes={story:n.object.isRequired,FullBleed:n.bool,defaultWidth:n.number,widths:n.array,aspectRatio:n.array,isHorizontal:n.bool,isHorizontalMobile:n.bool,defaultFallback:n.bool,isHorizontalWithImageLast:n.bool},_r.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var yr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},wr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,l=t.isLightTheme,c=T()||{},s=Ke(c,["showSection"],!0),d=Ke(c,["sectionTagTemplate"]),m=Ke(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:c.theme,g=l?"light":It(p),b=St(i),v=h.includes(n)?"section section-".concat(n):"section";return d&&(v=h.includes(d)?"section section-".concat(d):"section"),s?e.createElement(u,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:v.includes("section-solid")?b:""},className:"section-tag arrow-component "+E("".concat(g," ").concat(v),yr)},v.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:b}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":b)}}))):null};wr.propTypes={story:n.object.isRequired,template:n.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:n.string,solidBorderColor:n.string,isLightTheme:n.bool},wr.defaultProps={template:"",isLightTheme:!1};var Er={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-bottom":"storycard-m_content-bottom__1QHeC","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},xr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,b=t.config,v=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===L(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var _=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":v&&(y="horizontal-image-last");var w=c?"backgroung-img":"",x=s?"content-overlap":"",T=It(u),z=m?"horizontal-mob":"",k=e.createElement(Tr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:b,isHorizontalWithImageLast:v});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:T},className:"arr--story-card "+E("card ".concat(y," ").concat(_," ").concat(T," ").concat(w," ").concat(x," ").concat(z),Er)},n||k)},Tr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=St(u),b=f.localizationConfig,v=void 0===b?{}:b;return e.createElement(e.Fragment,null,o?e.createElement(_r,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(_r,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(_r,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+E("content ".concat(p),Er)},e.createElement(wr,{story:r,borderColor:g}),e.createElement(Xt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(fr,{config:v,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(tr,{story:r})))};Tr.propTypes={story:n.object.isRequired,border:n.oneOfType([n.string]),isBottom:n.bool,isHorizontal:n.bool,aspectRatio:n.oneOfType([n.array]),isHorizontalMobile:n.bool,centerAlign:n.bool,headerLevel:n.string,borderColor:n.string,hideAuthorImage:n.bool,prefix:n.string,config:n.object,isHorizontalWithImageLast:n.bool},xr.propTypes={story:n.object.isRequired,children:n.node,isHorizontal:n.bool,border:n.oneOfType([n.string]),useImageAsBackground:n.bool,bgImgContentOverlap:n.bool,aspectRatio:n.oneOfType([n.array]),theme:n.string,isHorizontalMobile:n.bool,centerAlign:n.bool,headerLevel:n.string,borderColor:n.string,hideAuthorImage:n.bool,prefix:n.string,config:n.object,isHorizontalWithImageLast:n.bool},xr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Lr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},zr=function(t){var r=t.story,o=t.children,n=t.theme,a=t.border,i=t.isHorizontalMobile,l=t.headerLevel,c=t.borderColor,s=t.config,u=It(n),d=St(c),m=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+E("wrapper ".concat(m," ").concat(h),Lr)},o||e.createElement(kr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},kr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=St(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(wr,{story:r,borderColor:l}),e.createElement(Xt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(fr,{config:s,story:r}))};kr.propTypes={story:n.object.isRequired,border:n.string,theme:n.string,isHorizontalMobile:n.bool,headerLevel:n.string,borderColor:n.string,config:n.object},zr.propTypes={story:n.object.isRequired,children:n.node,theme:n.string,border:n.string,isHorizontalMobile:n.bool,headerLevel:n.string,borderColor:n.string,config:n.object};var Cr,jr={"./four-tabbed-big-story-slider.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",desktop:"1025px","four-tabbed-big-story-slider":"four-tabbed-big-story-slider-m_four-tabbed-big-story-slider__2DfBf","story-card-content":"four-tabbed-big-story-slider-m_story-card-content__2kGFa","author-name":"four-tabbed-big-story-slider-m_author-name__2zbLA","arr--publish-time":"four-tabbed-big-story-slider-m_arr--publish-time__2Umbp","arr--read-time":"four-tabbed-big-story-slider-m_arr--read-time__32v1x","section-tag":"four-tabbed-big-story-slider-m_section-tag__1EWAG","arr-author-name":"four-tabbed-big-story-slider-m_arr-author-name__1NbK_","arr--author-time":"four-tabbed-big-story-slider-m_arr--author-time__2o47D","arr-separator":"four-tabbed-big-story-slider-m_arr-separator__86gdw","arr--story-card":"four-tabbed-big-story-slider-m_arr--story-card__2EOej","arr--button":"four-tabbed-big-story-slider-m_arr--button__3Jexf","arr--hero-image":"four-tabbed-big-story-slider-m_arr--hero-image__bSUeZ","arr--sub-headline":"four-tabbed-big-story-slider-m_arr--sub-headline__3n4hH","light-wrapper":"four-tabbed-big-story-slider-m_light-wrapper__13gJF","arr--collection-name":"four-tabbed-big-story-slider-m_arr--collection-name__2Y0yD","active-tab-indicator":"four-tabbed-big-story-slider-m_active-tab-indicator__EUMnV","no-button-wrapper":"four-tabbed-big-story-slider-m_no-button-wrapper__2Txid","stories-wrapper":"four-tabbed-big-story-slider-m_stories-wrapper__3p8-t","story-headline-container":"four-tabbed-big-story-slider-m_story-headline-container__B9XNs",story:"four-tabbed-big-story-slider-m_story__3fZFP",dark:"four-tabbed-big-story-slider-m_dark__2yERf","active-story":"four-tabbed-big-story-slider-m_active-story__3kvvE",light:"four-tabbed-big-story-slider-m_light__2TnxW","dark-headline-container":"four-tabbed-big-story-slider-m_dark-headline-container__242XH","active-dark-headline-container":"four-tabbed-big-story-slider-m_active-dark-headline-container__3X5xQ","light-headline-container":"four-tabbed-big-story-slider-m_light-headline-container__JjeJR","active-light-headline-container":"four-tabbed-big-story-slider-m_active-light-headline-container__3225o"}},Nr=function(t){var r=t.collection,n=t.config,a=void 0===n?{}:n,i=f(r);if(i.length<1)return null;var u=a.collectionNameBorderColor,d=void 0===u?"":u,m=a.theme,h=void 0===m?"":m,p=a.collectionNameTemplate,g=void 0===p?"":p,v=a.footerSlotConfig,_=void 0===v?{}:v,y=a.footerButton,w=void 0===y?"":y,x=a.borderColor,T=void 0===x?"":x,L=a.showSubheadline,z=void 0===L||L,k=a.showButton,C=void 0===k||k,j=_.footerSlot,N=l((function(e){return s(e,["qt","config"],{})})),S=Ht(r,N),O=b(o(i[0]),2),A=O[0],I=O[1],R=b(o(0),2),M=R[0],B=R[1],H=j?j():null,P=It(h),F=c(),D=function(e){return e?"active-story active-".concat(P,"-headline-container"):""},W="light"===P?"light-wrapper":"";return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"two-col-three-stories",style:{backgroundColor:h,color:P}},e.createElement("div",{className:E("four-tabbed-big-story-slider ".concat(W),jr)},e.createElement(Dt,{collection:r,collectionNameTemplate:g,collectionNameBorderColor:d}),e.createElement(xr,{story:A,useImageAsBackground:!0},e.createElement(_r,{story:A,aspectRatio:[[16,9]]}),e.createElement("div",{className:"four-tabbed-big-story-slider-m_story-card-content__2kGFa"},e.createElement(zr,{story:A,children:e.createElement(Sr,{story:A,config:a,borderColor:T,showSubheadline:z})}))),e.createElement("div",{className:"four-tabbed-big-story-slider-m_stories-wrapper__3p8-t"},i.map((function(t,r){return e.createElement("div",{onClick:function(){return function(e,t){I(e),B(t)}(t,r)},key:t.id,className:("story-headline-container ".concat(D(r===M))?"story-headline-container ".concat(D(r===M))+" ":"")+E("story-headline-container ".concat(P,"-headline-container ").concat(D(r===M)),jr)},e.createElement(Xt,{story:t,premiumStoryIconConfig:a,isLink:!1}),r===M&&e.createElement("div",{className:"four-tabbed-big-story-slider-m_active-tab-indicator__EUMnV"}))}))),e.createElement(Zt,{template:w,collection:r,config:a,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(F,S)},qtConfig:N}),e.createElement("div",{className:E("".concat(C?"":"no-button-wrapper"),jr)},H)))},Sr=function(t){var r=t.story,o=t.config,n=void 0===o?{}:o,a=t.borderColor,i=t.showSubheadline,l=St(a),c=n.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(wr,{story:r,borderColor:l,isLightTheme:!0}),e.createElement(Xt,{story:r,premiumStoryIconConfig:n}),e.createElement(fr,{config:s,story:r,isLightTheme:!0}),i&&e.createElement(u,{href:Bt(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"sub-headline"},e.createElement(tr,{story:r})))},Or=(Cr=Nr,function(t){return e.createElement(x.Provider,{value:t.config},e.createElement(Cr,t))});Nr.propTypes={collection:n.object.isRequired,config:n.shape({borderColor:n.string,theme:n.string,border:n.string,footerButton:n.string,collectionNameTemplate:n.string,collectionNameBorderColor:n.string})},Sr.propTypes={story:n.object.isRequired,config:n.object,borderColor:n.string,showSubheadline:n.bool};export{Nr as FourTabbedBigStorySlider,Or as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{createContext as t,useContext as r,useState as o,useRef as n,useEffect as a}from"react";import{connect as i,useSelector as l,useDispatch as c}from"react-redux";import s,{PropTypes as u,number as d,string as m,func as h,array as f,bool as p}from"prop-types";import{Link as g,LinkBase as v,ResponsiveImage as _,ResponsiveHeroImage as b,collectionToStories as y}from"@quintype/components";import w from"react-timeago";var E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function T(e){var t={exports:{}};return e(t,t.exports),t.exports}var k=T((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),z=x(T((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=k)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),L=Array.isArray,N="object"==typeof E&&E&&E.Object===Object&&E,I="object"==typeof self&&self&&self.Object===Object&&self,C=N||I||Function("return this")(),j=C.Symbol,O=Object.prototype,S=O.hasOwnProperty,A=O.toString,R=j?j.toStringTag:void 0;var M=function(e){var t=S.call(e,R),r=e[R];try{e[R]=void 0;var o=!0}catch(e){}var n=A.call(e);return o&&(t?e[R]=r:delete e[R]),n},P=Object.prototype.toString;var B=function(e){return P.call(e)},H=j?j.toStringTag:void 0;var F=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":H&&H in Object(e)?M(e):B(e)};var D=function(e){return null!=e&&"object"==typeof e};var W=function(e){return"symbol"==typeof e||D(e)&&"[object Symbol]"==F(e)},q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/;var G=function(e,t){if(L(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!W(e))||(U.test(e)||!q.test(e)||null!=t&&e in Object(t))};var V=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Z,J=function(e){if(!V(e))return!1;var t=F(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Y=C["__core-js_shared__"],$=(Z=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+Z:"";var Q=function(e){return!!$&&$ in e},K=Function.prototype.toString;var X=function(e){if(null!=e){try{return K.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ee=/^\[object .+?Constructor\]$/,te=Function.prototype,re=Object.prototype,oe=te.toString,ne=re.hasOwnProperty,ae=RegExp("^"+oe.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ie=function(e){return!(!V(e)||Q(e))&&(J(e)?ae:ee).test(X(e))};var le=function(e,t){return null==e?void 0:e[t]};var ce=function(e,t){var r=le(e,t);return ie(r)?r:void 0},se=ce(Object,"create");var ue=function(){this.__data__=se?se(null):{},this.size=0};var de=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},me=Object.prototype.hasOwnProperty;var he=function(e){var t=this.__data__;if(se){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return me.call(t,e)?t[e]:void 0},fe=Object.prototype.hasOwnProperty;var pe=function(e){var t=this.__data__;return se?void 0!==t[e]:fe.call(t,e)};var ge=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=se&&void 0===t?"__lodash_hash_undefined__":t,this};function ve(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ve.prototype.clear=ue,ve.prototype.delete=de,ve.prototype.get=he,ve.prototype.has=pe,ve.prototype.set=ge;var _e=ve;var be=function(){this.__data__=[],this.size=0};var ye=function(e,t){return e===t||e!=e&&t!=t};var we=function(e,t){for(var r=e.length;r--;)if(ye(e[r][0],t))return r;return-1},Ee=Array.prototype.splice;var xe=function(e){var t=this.__data__,r=we(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ee.call(t,r,1),--this.size,!0)};var Te=function(e){var t=this.__data__,r=we(t,e);return r<0?void 0:t[r][1]};var ke=function(e){return we(this.__data__,e)>-1};var ze=function(e,t){var r=this.__data__,o=we(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Le(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Le.prototype.clear=be,Le.prototype.delete=xe,Le.prototype.get=Te,Le.prototype.has=ke,Le.prototype.set=ze;var Ne=Le,Ie=ce(C,"Map");var Ce=function(){this.size=0,this.__data__={hash:new _e,map:new(Ie||Ne),string:new _e}};var je=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Oe=function(e,t){var r=e.__data__;return je(t)?r["string"==typeof t?"string":"hash"]:r.map};var Se=function(e){var t=Oe(this,e).delete(e);return this.size-=t?1:0,t};var Ae=function(e){return Oe(this,e).get(e)};var Re=function(e){return Oe(this,e).has(e)};var Me=function(e,t){var r=Oe(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Pe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Pe.prototype.clear=Ce,Pe.prototype.delete=Se,Pe.prototype.get=Ae,Pe.prototype.has=Re,Pe.prototype.set=Me;var Be=Pe;function He(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(He.Cache||Be),r}He.Cache=Be;var Fe=He;var De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,We=/\\(\\)?/g,qe=function(e){var t=Fe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(De,(function(e,r,o,n){t.push(o?n.replace(We,"$1"):r||e)})),t}));var Ue=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Ge=j?j.prototype:void 0,Ve=Ge?Ge.toString:void 0;var Ze=function e(t){if("string"==typeof t)return t;if(L(t))return Ue(t,e)+"";if(W(t))return Ve?Ve.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Je=function(e){return null==e?"":Ze(e)};var Ye=function(e,t){return L(e)?e:G(e,t)?[e]:qe(Je(e))};var $e=function(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Qe=function(e,t){for(var r=0,o=(t=Ye(t,e)).length;null!=e&&r<o;)e=e[$e(t[r++])];return r&&r==o?e:void 0};var Ke=function(e,t,r){var o=null==e?void 0:Qe(e,t);return void 0===o?r:o},Xe=t(),et=function(){return r(Xe)};function tt(e){return(tt="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)}T((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new N(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return C()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=k(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(I([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function k(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function I(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:C}}function C(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=I,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},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 r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){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&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;L(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:I(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var rt=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var ot=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),nt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,at=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var it=function(e){return(e=Je(e))&&e.replace(nt,ot).replace(at,"")},lt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ct=function(e){return e.match(lt)||[]},st=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ut=function(e){return st.test(e)},dt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",mt="["+dt+"]",ht="\\d+",ft="[\\u2700-\\u27bf]",pt="[a-z\\xdf-\\xf6\\xf8-\\xff]",gt="[^\\ud800-\\udfff"+dt+ht+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",vt="(?:\\ud83c[\\udde6-\\uddff]){2}",_t="[\\ud800-\\udbff][\\udc00-\\udfff]",bt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",yt="(?:"+pt+"|"+gt+")",wt="(?:"+bt+"|"+gt+")",Et="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",xt="[\\ufe0e\\ufe0f]?"+Et+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",vt,_t].join("|")+")[\\ufe0e\\ufe0f]?"+Et+")*"),Tt="(?:"+[ft,vt,_t].join("|")+")"+xt,kt=RegExp([bt+"?"+pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,bt,"$"].join("|")+")",wt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,bt+yt,"$"].join("|")+")",bt+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",bt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ht,Tt].join("|"),"g");var zt=function(e){return e.match(kt)||[]};var Lt=function(e,t,r){return e=Je(e),void 0===(t=r?void 0:t)?ut(e)?zt(e):ct(e):e.match(t)||[]},Nt=RegExp("['’]","g");var It=function(e){return function(t){return rt(Lt(it(t).replace(Nt,"")),e,"")}},Ct=It((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),jt=It((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function Ot(e,t,r,o,n){var a,i=Ke(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Ct(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,T=St(o),k=T;if(w&&(v=Ke(w,[jt(g)])||g),y){var z=T.includes("am"),L=y.am,N=void 0===L?"am":L,I=y.pm,C=void 0===I?"pm":I;k=(z?T.replace("am",N):T.replace("pm",C))||T}return"rtl"===x?(_=i?"".concat(k):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(k,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(k):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,n):e>1?(a=Ke(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ke(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function St(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var At=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Rt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Mt={mobile:767,tablet:1024},Pt=function(e){var t=Ke(Mt,e);return!!t&&Ke(global,"document.documentElement.clientWidth")<=t},Bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Rt(e),o=At(r)<155?"light":"dark";return o};var Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Ke(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Ft(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ke(n,["reference-url"],""):""}s.shape({"sketches-host":s.string,"cdn-name":s.string,"cdn-image":s.string}),s.shape({headline:s.string,"last-published-at":s.number,subheadline:s.string});var Dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ke(e,["story-template"])?Ke(e,["metadata","reference-url"],""):e.url||t},Wt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Ht(e,t):"/"},qt={"./collection-name.m.css":{collection:"collection-name-m_collection__JD6sx","collection-borderLeft":"collection-name-m_collection-borderLeft__3Dznk","border-left":"collection-name-m_border-left__3_pYw","collection-borderBottomFull":"collection-name-m_collection-borderBottomFull__Dkq3K","collection-borderBottom":"collection-name-m_collection-borderBottom__2rdQM","collection-crossLine":"collection-name-m_collection-crossLine__1sIpN","border-bottom":"collection-name-m_border-bottom__1MnlV",dark:"collection-name-m_dark__nMe5H",light:"collection-name-m_light__1vFDN"}},Ut=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,c=t.customCollectionName,s=void 0===c?"":c,u=t.navigate,d=void 0===u||u,m=et()||{},h=Ke(m,["showRowTitle"],!0),f=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",p=d&&n&&Ht(n,a)||"",v=s||n.name||"",_=Bt(m.theme),b="h"+l,y=Rt(o),w=f.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=Pt("mobile");return e.createElement(e.Fragment,null,h&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+z("collection ".concat(_," ").concat(f),qt)},f.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(E)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),p&&!p.includes(void 0)?e.createElement(g,{href:p,"aria-label":"collection-name"},e.createElement(b,null,v)):e.createElement(b,null,v),f.includes("collection-borderBottom")&&!f.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};Ut.propTypes={collectionNameBorderColor:u.string,collection:u.object,config:u.object,collectionNameTemplate:u.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:u.string,customCollectionName:u.string,navigate:u.bool},Ut.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Gt=i((function(e){return{config:Ke(e,["qt","config"],{})}}))(Ut);function Vt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Zt={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function Jt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Jt(Object(r),!0).forEach((function(t){Vt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Jt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var $t=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,c=t.navigate,s=t.qtConfig,u=o.showButton,d=void 0===u||u,m=o.buttonText,h=void 0===m?"Read More":m,f=o.theme,p=void 0===f?"":f,g=o.customUrlPath,_=void 0===g?"":g;if(!d)return null;var b=Bt(p),y=_?"/".concat(_):Wt(n,Yt(Yt({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+z("button ".concat(b," default"),Zt)},h):e.createElement(v,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+z("button ".concat(b," default"),Zt)},h))};$t.propTypes={collection:s.object,template:s.string,config:s.object,onClick:s.func,navigate:s.func,qtConfig:s.object};var Qt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Qt.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var Kt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Kt.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var Xt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Xt.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var er=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};er.propTypes={height:s.string,width:s.string,color:s.string,positionTop:s.string};var tr=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Qt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Xt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Kt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(er,{width:r,height:o,color:n,positionTop:i})}};tr.propTypes={width:s.string,height:s.string,color:s.string,iconType:s.string,positionTop:s.string};var rr={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},or=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=et()||{},c=a.iconColor,s=void 0===c?"#F7B500":c,u=a.iconStyle,d=void 0===u?"star":u,m=a.enablePremiumStoryIcon,h=void 0!==m&&m,f=Ke(r,["alternative","home","default","headline"]),p=h&&"subscription"===Ke(r,["access"]),v=f||r.headline,_="h"+o,b=Bt(l.theme),y=p?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+z(y,rr)},p&&e.createElement(tr,{width:w,height:w,color:s,iconType:d,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(g,{href:Dt(r,"/".concat(r.slug)),externalLink:Ft(r),"aria-label":"headline"},e.createElement(_,{className:z("headline ".concat(b),rr)},v)):e.createElement(_,{className:z("headline ".concat(b),rr)},v))};or.propTypes={story:s.object.isRequired,headerLevel:s.string,premiumStoryIconConfig:s.shape({iconColor:s.string,iconType:s.string,enablePremiumStoryIcon:s.bool}),isLink:s.bool},or.defaultProps={headerLevel:"6",isLink:!0};var nr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},ar=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=et()||{};if(!(c||Ke(u,["showSubheadline"],!0)))return null;var d=Bt(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+z("subheadline ".concat(d),nr)},s||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};ar.propTypes={story:s.object.isRequired,lineClamp:s.number,truncateChars:s.number,clazzName:s.string,forceShowAtom:s.bool,showFullContent:s.bool},ar.defaultProps={forceShowAtom:!1,showFullContent:!1};var ir={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},lr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=et()||{},l=Ke(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=Bt(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+z("time ".concat(u," ").concat(s),ir)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(w,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Ot,a))))};lr.propTypes={story:s.object,isBottom:s.bool,config:s.object};var cr={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},sr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,c=void 0===l?{}:l,s=et()||{},u=Ke(s,["showAuthor"],!0),d=Ke(r,["authors","0"],""),m=d["avatar-url"],h=d["avatar-s3-key"],f=d.name,p=d.slug,v=n?"bottom-fix":"",b=Bt(s.theme),y=Ke(c,["mountAt"],""),w=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+z("prefix ".concat(b),cr)},i):!o&&function(t){return m||h?e.createElement("div",{"data-test-id":"author-image",className:z("author-image ".concat(t,"-image"),cr)},e.createElement("figure",null,h?e.createElement(_,{slug:h,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:f}):e.createElement("img",{src:m}))):null}(t)};return e.createElement(e.Fragment,null,u&&e.createElement(g,{href:"".concat(y,"/author/")+p,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+z("author ".concat(v),cr)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+z("author-name ".concat(b),cr)},f||r["author-name"]),!i&&w("rtl")))};var ur=i((function(e){return{config:Ke(e,["qt","config"],{})}}))(sr);sr.propTypes={story:s.object.isRequired,hideAuthorImage:s.bool,isBottom:s.bool,prefix:s.string,config:s.object},sr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var dr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},mr=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:z(l,dr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};mr.propTypes={color:s.string,width:s.string,height:s.string};var hr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},fr=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:z(l,hr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};fr.propTypes={color:s.string,width:s.string,height:s.string};var pr={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_","dot-indicator":"read-time-m_dot-indicator__3Sqh2",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},gr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=et()||{},c=Ke(l,["showReadTime"])||Ke(n,["showReadTime"],!0),s=Ke(r,["read-time"],0),u=i?"light":Bt(l.theme);if(!c||!s)return null;var d=Ke(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+z("read-time-wrapper ".concat(u),pr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(mr,{color:u})),e.createElement("span",null,s," ",d)))};gr.propTypes={story:s.shape({"read-time":s.number}),opts:s.shape({showReadTime:s.bool}),isLightTheme:s.bool};var vr={"./author-with-timestamp.m.css":{"author-time-wrapper":"author-with-timestamp-m_author-time-wrapper__G7_eI","author-image":"author-with-timestamp-m_author-image__24xrD",dot:"author-with-timestamp-m_dot__1LHXD","bottom-fix":"author-with-timestamp-m_bottom-fix__1rWGv",dash:"author-with-timestamp-m_dash__2L5XC"}},_r=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=et()||{},d=Ke(c,["showAuthor"],Ke(u,["showAuthor"],!0)),m=Ke(u,["showTime"],!0),h=Ke(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":Bt(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+z("".concat(p),vr)},"divider"===o?e.createElement(fr,{color:g}):e.createElement(mr,{color:g})),e.createElement(lr,{story:r,config:c}),h&&e.createElement(gr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+z("author-time-wrapper ".concat(f),vr)},d?e.createElement(e.Fragment,null,e.createElement(ur,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};function br(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function yr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return br(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?br(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}_r.propTypes={story:s.object,separator:s.oneOf(["dot","divider"]),hideAuthorImage:s.bool,isBottom:s.bool,prefix:s.string,config:s.object,isLightTheme:s.bool},_r.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var wr=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};wr.propTypes={width:s.object,height:s.object,iconColor:s.object};var Er=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(wr,null)))},xr=function(t){var r=t.slug;return r?e.createElement(g,{href:r,"aria-label":"image-fallback"},Er()):Er()};xr.propTypes={slug:s.string};var Tr={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U"}},kr=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,c=t.isHorizontal,s=t.isHorizontalMobile,u=t.isHorizontalWithImageLast,d=t.defaultFallback,m=t.isStoryPageImage,h=(et()||{}).fallbackImageUrl,f=void 0===h?"":h,p=l((function(e){return Ke(e,["qt","config","showPlaceholder"])}))?"placeholder":"",v=o?"":"with-padding",y="hero-image";c?y="right-padding":u&&(y="left-padding");var w=s?"right-padding-mob":"",E=function(e){var t=yr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},x=yr(n,2),T=x[0],k=x[1],L=void 0===k?T:k,N=Pt("mobile"),I=N?T:L,C=E(N?T:L),j=Ke(r,["hero-image-s3-key"])||Ke(r,["alternative","home","default","hero-image","hero-image-s3-key"]),O=function(){return j?e.createElement("figure",{style:{paddingTop:C+"%"},className:"arr--responsive-hero-image "+z("image ".concat(p),Tr)},e.createElement(b,{story:r,aspectRatio:I,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})):f?e.createElement("figure",{style:{paddingTop:C+"%"},className:"arr--responsive-hero-image "+z("image ".concat(p),Tr)},e.createElement(_,{slug:!m&&f,metadata:{},"aspect-ratio":I,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,d?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:C+"%"},className:"arr--fallback-hero-image "+z("image ".concat(p),Tr)},e.createElement(xr,null)):null)};return r&&(m?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+z("".concat(y," ").concat(v," ").concat(w),Tr)},O()):e.createElement(g,{"data-test-id":"arr--hero-image",href:Dt(r,"/".concat(r.slug)),externalLink:Ft(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+z("".concat(y," ").concat(v," ").concat(w),Tr)},O()))};kr.propTypes={story:s.object.isRequired,FullBleed:s.bool,defaultWidth:s.number,widths:s.array,aspectRatio:s.array,isHorizontal:s.bool,isHorizontalMobile:s.bool,defaultFallback:s.bool,isHorizontalWithImageLast:s.bool},kr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var zr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},Lr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,l=t.isLightTheme,c=et()||{},s=Ke(c,["showSection"],!0),u=Ke(c,["sectionTagTemplate"]),d=Ke(r,["sections",0],""),m=["borderBottomSml","borderLeft","solid"],h=d?d["section-url"]:"/",f="solid"===n||"solid"===u?i:c.theme,p=l?"light":Bt(f),v=Rt(i),_=m.includes(n)?"section section-".concat(n):"section";return u&&(_=m.includes(u)?"section section-".concat(u):"section"),s?e.createElement(g,{href:h,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+z("".concat(p," ").concat(_),zr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),d["display-name"]||d.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};Lr.propTypes={story:s.object.isRequired,template:s.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:s.string,solidBorderColor:s.string,isLightTheme:s.bool},Lr.defaultProps={template:"",isLightTheme:!1};var Nr={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-bottom":"storycard-m_content-bottom__1QHeC","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},Ir=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===tt(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var b=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":_&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",x=Bt(u),T=m?"horizontal-mob":"",k=e.createElement(Cr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:x},className:"arr--story-card "+z("card ".concat(y," ").concat(b," ").concat(x," ").concat(w," ").concat(E," ").concat(T),Nr)},n||k)},Cr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=Rt(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(kr,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(kr,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(kr,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+z("content ".concat(p),Nr)},e.createElement(Lr,{story:r,borderColor:g}),e.createElement(or,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(_r,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(ar,{story:r})))};Cr.propTypes={story:s.object.isRequired,border:s.oneOfType([s.string]),isBottom:s.bool,isHorizontal:s.bool,aspectRatio:s.oneOfType([s.array]),isHorizontalMobile:s.bool,centerAlign:s.bool,headerLevel:s.string,borderColor:s.string,hideAuthorImage:s.bool,prefix:s.string,config:s.object,isHorizontalWithImageLast:s.bool},Ir.propTypes={story:s.object.isRequired,children:s.node,isHorizontal:s.bool,border:s.oneOfType([s.string]),useImageAsBackground:s.bool,bgImgContentOverlap:s.bool,aspectRatio:s.oneOfType([s.array]),theme:s.string,isHorizontalMobile:s.bool,centerAlign:s.bool,headerLevel:s.string,borderColor:s.string,hideAuthorImage:s.bool,prefix:s.string,config:s.object,isHorizontalWithImageLast:s.bool},Ir.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var jr=function(t){var r=t.color,o=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),e.createElement("path",{stroke:o,d:"M9 16L1 8l8-8"})))};jr.propTypes={color:s.string};var Or=function(t){var r=t.color,o=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),e.createElement("path",{stroke:o,d:"M1 0l8 8-8 8"})))};Or.propTypes={color:s.string};var Sr={"./slider-arrow.m.css":{arrow:"slider-arrow-m_arrow__1eBUU","left-arrow-dark":"slider-arrow-m_left-arrow-dark__3mTJS","right-arrow-dark":"slider-arrow-m_right-arrow-dark__3hWZe","left-arrow-light":"slider-arrow-m_left-arrow-light__2ipUK","right-arrow-light":"slider-arrow-m_right-arrow-light__3omMU","left-arrow-ltr":"slider-arrow-m_left-arrow-ltr__1ngNF","right-arrow-ltr":"slider-arrow-m_right-arrow-ltr__2svWX","left-arrow-rtl":"slider-arrow-m_left-arrow-rtl__2ynyn","right-arrow-rtl":"slider-arrow-m_right-arrow-rtl__1GjPz"}},Ar=function(t){var r=t.selectedIndex,o=t.previousClick,n=t.nextClick,a=t.noOfItems,i=t.perView,l=t.languageDirection;if(a<1)return null;var c=et()||{},s=Bt(c.theme),u="rtl"===l?"left-arrow-rtl":"left-arrow-ltr",d="rtl"===l?"right-arrow-rtl":"right-arrow-ltr";return e.createElement(e.Fragment,null,0!==r?e.createElement("button",{onClick:o,className:("left-arrow ".concat(u)?"left-arrow ".concat(u)+" ":"")+z("arrow left-arrow-".concat(s," ").concat(u),Sr)},e.createElement(jr,{color:"dark"===s?"#fff":"#333"})):null,r<a-1&&!(r>=a-i)?e.createElement("button",{onClick:n,className:("right-arrow ".concat(d)?"right-arrow ".concat(d)+" ":"")+z("arrow right-arrow-".concat(s," ").concat(d),Sr)},e.createElement(Or,{color:"dark"===s?"#fff":"#333"})):null)};Ar.propTypes={noOfItems:d,perView:d,slideIndicator:m,previousClick:h,nextClick:h,selectedIndex:d,languageDirection:m};var Rr={"./slider-indicator.m.css":{indicators:"slider-indicator-m_indicators__3MNXc",indicator:"slider-indicator-m_indicator__gTv3x","indicator-button":"slider-indicator-m_indicator-button__1e82r","indicator-dots":"slider-indicator-m_indicator-dots__2TR3H","indicator-dots-dark":"slider-indicator-m_indicator-dots-dark__sGrev","indicator-dots-light":"slider-indicator-m_indicator-dots-light__2nPn-","indicator-dashes":"slider-indicator-m_indicator-dashes__DyNCE","indicator-dashes-dark":"slider-indicator-m_indicator-dashes-dark__VrqJI","indicator-dashes-light":"slider-indicator-m_indicator-dashes-light__34ESx"}},Mr=function(t){var r=t.indicatorItems,o=t.indicatorClick,n=t.selectedIndex,a=t.indicatorType;if(r.length<1)return null;var i=et()||{},l=Bt(i.theme);return e.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},r.map((function(t,r){return e.createElement("li",{key:"slider-".concat(r),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(e){return o(e,r)}},e.createElement("button",{"aria-pressed":n===r?"true":"false",className:("indicator-button indicator-".concat(a)?"indicator-button indicator-".concat(a)+" ":"")+z("indicator-button indicator-".concat(a," indicator-").concat(a,"-").concat(l),Rr)}))})))};Mr.propTypes={indicatorItems:f,perView:d,indicatorType:m,indicatorClick:h,selectedIndex:d};var Pr=function(e,t,r,o){var n,a,i,l,c=Math.floor(r.current.scrollWidth*(e/o)),s="rtl"===t?-1*c:c;n=r.current,a=s,i=!0,n.scrollTo((Vt(l={},i?"left":"top",a),Vt(l,"behavior","smooth"),l))},Br=function(t){var r=t.children,i=t.isArrow,c=t.interval,s=t.isInfinite,u=t.pauseOnHover,d=t.perView,m=t.slideIndicator,h=yr(o(0),2),f=h[0],p=h[1],g=yr(o(!1),2),v=g[0],_=g[1],b=l((function(e){return Ke(e,["qt","config","language","direction"],"ltr")})),y=r?r.length:0,w=n(null),E=r.length-(d-1),x=r.slice(0,E);a((function(){if(s&&!v){var e=setInterval((function(){T()}),c);return function(){clearInterval(e)}}}),[s,v]);var T=function(){p((function(e){var t=e===y-d?0:e+1;return Pr(t,b,w,y),t}))},k=function(){u&&_(!v)};return e.createElement("div",{className:"scroll-snap-container"},e.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:k,onMouseLeave:k},e.createElement("div",{ref:w,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},r),i&&e.createElement(Ar,{noOfItems:y,perView:d,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=f-1;p(t),Pr(t,b,w,y)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),f<y){var t=f+1;p(t),Pr(t,b,w,y)}},selectedIndex:f,languageDirection:b})),r.length>d&&"none"!==m&&e.createElement(Mr,{indicatorItems:x,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),p(t),Pr(t,b,w,y)},selectedIndex:f,indicatorType:m}))};Br.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},Br.propTypes={children:f.isRequired,isArrow:p,isInfinite:p,interval:d,pauseOnHover:p,perView:d,slideIndicator:m};var Hr={"./full-screen-slider.m.css":{"full-screen-slider":"full-screen-slider-m_full-screen-slider__1hNvv","container-width":"full-screen-slider-m_container-width__3hCBm","full-width":"full-screen-slider-m_full-width__9OJuQ","full-screen-slider-wrapper":"full-screen-slider-m_full-screen-slider-wrapper__2bQ74",wrapper:"full-screen-slider-m_wrapper__1XlGT","content-align":"full-screen-slider-m_content-align__2gQn2"}},Fr=function(t){var r=t.collection,o=void 0===r?{}:r,n=t.config,a=void 0===n?{}:n,i=a.collectionNameBorderColor,s=void 0===i?"":i,u=a.borderColor,d=void 0===u?"":u,m=a.theme,h=void 0===m?"":m,f=a.collectionNameTemplate,p=void 0===f?"":f,g=a.isFullWidth,v=void 0!==g&&g,_=a.numberOfStoriesToShow,b=void 0===_?1:_,w=a.contentAlignment,E=void 0===w?"":w,x=a.footerButton,T=void 0===x?"":x,k=a.footerSlotConfig,L=void 0===k?{}:k,N=a.navigationArrows,I=void 0===N||N,C=a.slideIndicator,j=void 0===C?"none":C,O=a.isInfinite,S=void 0!==O&&O,A=L.footerSlot,R=y(o),M=v?"full-width":"container-width",P="center"===E?"content-align":"";if(R.length<1)return null;var B=c(),H=l((function(e){return Ke(e,["qt","config"],{})})),F=Wt(o,H),D=function(e){return e?parseInt(e):1}(b),W=Bt(h),q=A?A():null;return e.createElement("div",{className:("arrow-component full-width-with-padding ".concat(M)?"arrow-component full-width-with-padding ".concat(M)+" ":"")+"full-screen-slider-m_full-screen-slider-wrapper__2bQ74","data-test-id":"full-screen-slider",style:{backgroundColor:h,color:W}},e.createElement("div",{className:z("full-screen-slider ".concat(M),Hr)},e.createElement("span",{className:z("".concat(M),Hr)},e.createElement(Gt,{collection:o,collectionNameTemplate:p,collectionNameBorderColor:s,className:z("".concat(M),Hr)})),e.createElement("div",{className:z("wrapper ".concat(M," ").concat(P),Hr)},e.createElement(Br,{isArrow:I,slideIndicator:j,isInfinite:S},R.slice(0,D).map((function(t,r){return e.createElement(Ir,{key:r,story:t,useImageAsBackground:!0,aspectRatio:[[16,9],[4,2]],headerLevel:"1",borderColor:d,config:a})})))),e.createElement($t,{collection:o,template:T,config:a,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(B,F)},qtConfig:H}),q))};Fr.propTypes={collection:s.object.isRequired,config:s.shape({borderColor:s.string,theme:s.string,collectionTemplate:s.string,isFullWidth:s.bool,numberOfStoriesToShow:s.number,contentAlignment:s.string,footerButton:s.string,collectionNameBorderColor:s.string})};var Dr,Wr=(Dr=Fr,function(t){return e.createElement(Xe.Provider,{value:t.config},e.createElement(Dr,t))});export{Wr as default};
|