@quintype/arrow 3.13.1-subsequentload.0 → 3.13.1-subsequentloadcount.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/AlternateCollectionFilter/styles.arrow.css +1 -0
- package/AstrologyCollection/styles.arrow.css +1 -0
- package/AuthorsList/styles.arrow.css +1 -0
- package/FourColFiveStories/styles.arrow.css +1 -0
- package/FourColPortraitStories/styles.arrow.css +1 -0
- package/FourColSixteenStories/styles.arrow.css +1 -0
- package/FourTabbedBigStorySlider/styles.arrow.css +1 -0
- package/ListComponent/styles.arrow.css +1 -0
- package/ListicleStoryTemplate/styles.arrow.css +1 -0
- package/Listicles/styles.arrow.css +1 -0
- package/LiveBlogStoryTemplate/styles.arrow.css +1 -0
- package/MagazineEditions/styles.arrow.css +1 -0
- package/MagazineHeaderCard/styles.arrow.css +1 -0
- package/MagazineWidget/styles.arrow.css +1 -0
- package/OpinionCollection/styles.arrow.css +1 -0
- package/PhotoStoryTemplate/styles.arrow.css +1 -0
- package/README.md +194 -0
- package/SixColSixStories/styles.arrow.css +1 -0
- package/TextStoryTemplate/styles.arrow.css +1 -0
- package/ThreeColFlexStories/styles.arrow.css +1 -0
- package/ThreeColTwelveStories/styles.arrow.css +1 -0
- package/TwoColFourStoryHighlight/styles.arrow.css +1 -0
- package/TwoColSixStories/styles.arrow.css +1 -0
- package/TwoColTenStoriesSidebar/styles.arrow.css +1 -0
- package/app.scss +276 -0
- package/cjs/index.js +9 -0
- package/esm/index.js +9 -0
- package/package.json +1 -1
- package/AlsoRead/index.js +0 -1
- package/AsideCollection/index.js +0 -1
- package/Attachment/index.js +0 -1
- package/Author/index.js +0 -1
- package/AuthorIntroductionCard/index.js +0 -1
- package/AuthorWithTime/index.js +0 -1
- package/BigFact/index.js +0 -1
- package/BlockQuote/index.js +0 -1
- package/Blurb/index.js +0 -1
- package/CollectionFilter/index.js +0 -1
- package/CollectionName/index.js +0 -1
- package/ElevenStories/index.js +0 -1
- package/FourColGrid/index.js +0 -1
- package/FourColTwelveStories/index.js +0 -1
- package/FourStorySlider/index.js +0 -1
- package/FourStorySliderPortrait/index.js +0 -1
- package/FullScreenSlider/index.js +0 -1
- package/HalfScreenSlider/index.js +0 -1
- package/Headline/index.js +0 -1
- package/HeroImage/index.js +0 -1
- package/Image/index.js +0 -1
- package/ImageGallery/index.js +0 -1
- package/ImageSlideshow/index.js +0 -1
- package/KeyEvents/index.js +0 -1
- package/LoadmoreButton/index.js +0 -1
- package/OneColStoryList/index.js +0 -1
- package/PageIntroductionCard/index.js +0 -1
- package/QuestionAnswer/index.js +0 -1
- package/Quote/index.js +0 -1
- package/Reference/index.js +0 -1
- package/ScrollSnap/index.js +0 -1
- package/SectionTag/index.js +0 -1
- package/SocialShareTemplate/index.js +0 -1
- package/StoryCard/index.js +0 -1
- package/StoryCollection/index.js +0 -1
- package/StoryElement/index.js +0 -1
- package/StoryElementCard/index.js +0 -1
- package/StorycardContent/index.js +0 -1
- package/Subheadline/index.js +0 -1
- package/Summary/index.js +0 -1
- package/TagIntroductionCard/index.js +0 -1
- package/Text/index.js +0 -1
- package/ThreeColFourteenStories/index.js +0 -1
- package/ThreeColGrid/index.js +0 -1
- package/ThreeColSevenStory/index.js +0 -1
- package/ThreeColSixStories/index.js +0 -1
- package/TimeStamp/index.js +0 -1
- package/TwoColFourStories/index.js +0 -1
- package/TwoColSevenStories/index.js +0 -1
- package/TwoColThreeStories/index.js +0 -1
- package/Video/index.js +0 -1
- package/VideoStoryTemplate/index.js +0 -1
package/FourColGrid/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r,useState as o,useEffect as n,useRef as a,Fragment as i}from"react";import l,{PropTypes as c}from"prop-types";import{Link as s,ResponsiveImage as u,ResponsiveHeroImage as d,LinkBase as m,collectionToStories as h}from"@quintype/components";import f from"lodash.get";import p from"react-timeago";import{utcToZonedTime as g,format as v}from"date-fns-tz";import{connect as b,useSelector as _,useDispatch as y}from"react-redux";import w from"react-dom";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 L(e){var t={exports:{}};return e(t,t.exports),t.exports}var T=L((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(L((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=T)&&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(" "):""}}))),k=t(),C=function(){return r(k)};function j(e){return j="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},j(e)}L((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=T(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 b(){}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=b.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 L(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 T(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,T(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 v.prototype=b,c(E,"constructor",b),c(b,"constructor",v),v.displayName=c(b,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,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(L.prototype),c(L.prototype,i,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new L(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 N=Array.isArray,S="object"==typeof E&&E&&E.Object===Object&&E,O="object"==typeof self&&self&&self.Object===Object&&self,I=S||O||Function("return this")(),M=I.Symbol,A=Object.prototype,R=A.hasOwnProperty,H=A.toString,P=M?M.toStringTag:void 0;var B=function(e){var t=R.call(e,P),r=e[P];try{e[P]=void 0;var o=!0}catch(e){}var n=H.call(e);return o&&(t?e[P]=r:delete e[P]),n},F=Object.prototype.toString;var D=function(e){return F.call(e)},q=M?M.toStringTag:void 0;var W=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":q&&q in Object(e)?B(e):D(e)};var G=function(e){return null!=e&&"object"==typeof e};var U=function(e){return"symbol"==typeof e||G(e)&&"[object Symbol]"==W(e)},Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V=/^\w*$/;var J=function(e,t){if(N(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!U(e))||(V.test(e)||!Z.test(e)||null!=t&&e in Object(t))};var Y=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var $,K=function(e){if(!Y(e))return!1;var t=W(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Q=I["__core-js_shared__"],X=($=/[^.]+$/.exec(Q&&Q.keys&&Q.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"";var ee=function(e){return!!X&&X in e},te=Function.prototype.toString;var re=function(e){if(null!=e){try{return te.call(e)}catch(e){}try{return e+""}catch(e){}}return""},oe=/^\[object .+?Constructor\]$/,ne=Function.prototype,ae=Object.prototype,ie=ne.toString,le=ae.hasOwnProperty,ce=RegExp("^"+ie.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var se=function(e){return!(!Y(e)||ee(e))&&(K(e)?ce:oe).test(re(e))};var ue=function(e,t){return null==e?void 0:e[t]};var de=function(e,t){var r=ue(e,t);return se(r)?r:void 0},me=de(Object,"create");var he=function(){this.__data__=me?me(null):{},this.size=0};var fe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},pe=Object.prototype.hasOwnProperty;var ge=function(e){var t=this.__data__;if(me){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return pe.call(t,e)?t[e]:void 0},ve=Object.prototype.hasOwnProperty;var be=function(e){var t=this.__data__;return me?void 0!==t[e]:ve.call(t,e)};var _e=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=me&&void 0===t?"__lodash_hash_undefined__":t,this};function ye(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])}}ye.prototype.clear=he,ye.prototype.delete=fe,ye.prototype.get=ge,ye.prototype.has=be,ye.prototype.set=_e;var we=ye;var Ee=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var Le=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},Te=Array.prototype.splice;var ze=function(e){var t=this.__data__,r=Le(t,e);return!(r<0)&&(r==t.length-1?t.pop():Te.call(t,r,1),--this.size,!0)};var ke=function(e){var t=this.__data__,r=Le(t,e);return r<0?void 0:t[r][1]};var Ce=function(e){return Le(this.__data__,e)>-1};var je=function(e,t){var r=this.__data__,o=Le(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ne(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])}}Ne.prototype.clear=Ee,Ne.prototype.delete=ze,Ne.prototype.get=ke,Ne.prototype.has=Ce,Ne.prototype.set=je;var Se=Ne,Oe=de(I,"Map");var Ie=function(){this.size=0,this.__data__={hash:new we,map:new(Oe||Se),string:new we}};var Me=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ae=function(e,t){var r=e.__data__;return Me(t)?r["string"==typeof t?"string":"hash"]:r.map};var Re=function(e){var t=Ae(this,e).delete(e);return this.size-=t?1:0,t};var He=function(e){return Ae(this,e).get(e)};var Pe=function(e){return Ae(this,e).has(e)};var Be=function(e,t){var r=Ae(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Fe(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])}}Fe.prototype.clear=Ie,Fe.prototype.delete=Re,Fe.prototype.get=He,Fe.prototype.has=Pe,Fe.prototype.set=Be;var De=Fe;function qe(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(qe.Cache||De),r}qe.Cache=De;var We=qe;var Ge=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ue=/\\(\\)?/g,Ze=function(e){var t=We(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(Ge,(function(e,r,o,n){t.push(o?n.replace(Ue,"$1"):r||e)})),t}));var Ve=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},Je=M?M.prototype:void 0,Ye=Je?Je.toString:void 0;var $e=function e(t){if("string"==typeof t)return t;if(N(t))return Ve(t,e)+"";if(U(t))return Ye?Ye.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ke=function(e){return null==e?"":$e(e)};var Qe=function(e,t){return N(e)?e:J(e,t)?[e]:Ze(Ke(e))};var Xe=function(e){if("string"==typeof e||U(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var et=function(e,t){for(var r=0,o=(t=Qe(t,e)).length;null!=e&&r<o;)e=e[Xe(t[r++])];return r&&r==o?e:void 0};var tt=function(e,t,r){var o=null==e?void 0:et(e,t);return void 0===o?r:o};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=Ke(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}",bt="[\\ud800-\\udbff][\\udc00-\\udfff]",_t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",yt="(?:"+pt+"|"+gt+")",wt="(?:"+_t+"|"+gt+")",Et="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",xt="[\\ufe0e\\ufe0f]?"+Et+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",vt,bt].join("|")+")[\\ufe0e\\ufe0f]?"+Et+")*"),Lt="(?:"+[ft,vt,bt].join("|")+")"+xt,Tt=RegExp([_t+"?"+pt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[mt,_t,"$"].join("|")+")",wt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[mt,_t+yt,"$"].join("|")+")",_t+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",_t+"+(?:['’](?: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,Lt].join("|"),"g");var zt=function(e){return e.match(Tt)||[]};var kt=function(e,t,r){return e=Ke(e),void 0===(t=r?void 0:t)?ut(e)?zt(e):ct(e):e.match(t)||[]},Ct=RegExp("['’]","g");var jt=function(e){return function(t){return rt(kt(it(t).replace(Ct,"")),e,"")}},Nt=jt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),St=Nt,Ot=jt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),It=Ot;var Mt=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=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),b=p[g.getMonth()],_=b;u&&(_=St(b));var y,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,L=n.direction,T=void 0===L?"ltr":L,z=Rt(o,f),k=z;if(x&&(_=tt(x,[It(b)])||b),E){var C=z.includes("am"),j=E.am,N=void 0===j?"am":j,S=E.pm,O=void 0===S?"pm":S;k=(C?z.replace("am",N):z.replace("pm",O))||z}return"rtl"===T?(y=i?"".concat(k):"","".concat(v," ").concat(_,", ").concat(w," ").concat(y," ")):m?"".concat(_," ").concat(v,", ").concat(w):c?"".concat(k,", ").concat(v," ").concat(_," ").concat(w):(y=i?", ".concat(k):"","".concat(v," ").concat(_,", ").concat(w).concat(y))};function At(e,t,r,o,n){var a,i=tt(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Mt(e,t,r,o,n):e>1?(a=tt(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=tt(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Rt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var Ht=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},Bt={mobile:767,tablet:1024},Ft=function(e){var t=tt(Bt,e);return!!t&&tt(global,"document.documentElement.clientWidth")<=t},Dt=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=Ht(r)<155?"light":"dark";return o},qt=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=tt(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?tt(n,["reference-url"],""):""}l.shape({"sketches-host":l.string,"cdn-name":l.string,"cdn-image":l.string}),l.shape({headline:l.string,"last-published-at":l.number,subheadline:l.string});var Gt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===tt(e,["story-template"])?tt(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?qt(e,t):"/"},Zt=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"}))))))};Zt.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.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:l.string,width:l.string,color:l.string,positionTop:l.string};var Jt=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"}))))))};Jt.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Yt=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"}))))};Yt.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var $t=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(Zt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Jt,{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(Yt,{width:r,height:o,color:n,positionTop:i})}};function Kt(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}$t.propTypes={width:l.string,height:l.string,color:l.string,iconType:l.string,positionTop:l.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=C()||{},c=a.iconColor,u=void 0===c?"#F7B500":c,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,p=void 0!==h&&h,g=a.showLiveIcon,v=void 0!==g&&g,b=f(r,["alternative","home","default","headline"]),_=p&&"subscription"===f(r,["access"]),y=b||r.headline,w="h"+o,E=Dt(l.theme),x=_?"wrapper":"",L="24px",T=v&&"live-blog"===r["story-template"]&&!f(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+z(x,Qt)},_&&e.createElement($t,{width:L,height:L,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:Gt(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"headline"},e.createElement(w,{className:z("headline ".concat(E),Qt)},T&&e.createElement(Kt,null),y)):e.createElement(w,{className:z("headline ".concat(E),Qt)},T&&e.createElement(Kt,null),y))};Xt.propTypes={story:l.object.isRequired,headerLevel:l.string,premiumStoryIconConfig:l.shape({iconColor:l.string,iconType:l.string,enablePremiumStoryIcon:l.bool}),isLink:l.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=C()||{};if(!(c||f(u,["showSubheadline"],!0)))return null;var d=Dt(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),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:l.object.isRequired,lineClamp:l.number,truncateChars:l.number,clazzName:l.string,forceShowAtom:l.bool,showFullContent:l.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=C()||{},l=f(a,["showTime"],f(i,["showTime"],!0)),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=Dt(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),rr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&g(t,a),l=i&&v(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),c=Mt("","","",t,o);return e.createElement("time",{dateTime:l},c)}return e.createElement(p,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,At,a))))};or.propTypes={story:l.object,isBottom:l.bool,config:l.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,d=C()||{},m=f(d,["showAuthor"],!0),h=f(r,["authors","0"],""),p=h["avatar-url"],g=h["avatar-s3-key"],v=h.name,b=h.slug,_=n?"bottom-fix":"",y=Dt(d.theme),w=f(c,["mountAt"],""),E=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+z("prefix ".concat(y),nr)},i):!o&&function(t){return p||g?e.createElement("div",{"data-test-id":"author-image",className:z("author-image ".concat(t,"-image"),nr)},e.createElement("figure",null,g?e.createElement(u,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):e.createElement("img",{src:p}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(s,{href:"".concat(w,"/author/")+b,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+z("author ".concat(_),nr)},E("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+z("author-name ".concat(y),nr)},v||r["author-name"]),!i&&E("rtl")))};var ir=b((function(e){return{config:f(e,["qt","config"],{})}}))(ar);ar.propTypes={story:l.object.isRequired,hideAuthorImage:l.bool,isBottom:l.bool,prefix:l.string,config:l.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:z(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:l.string,width:l.string,height:l.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:z(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:l.string,width:l.string,height:l.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=C()||{},c=f(l,["showReadTime"])||f(n,["showReadTime"],!0),s=f(r,["read-time"],0),u=i?"light":Dt(l.theme);if(!c||!s)return null;var d=f(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),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:l.shape({"read-time":l.number}),opts:l.shape({showReadTime:l.bool}),isLightTheme:l.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=C()||{},d=f(c,["showAuthor"],f(u,["showAuthor"],!0)),m=f(c,["showTime"],f(u,["showTime"],!0)),h=f(u,["showReadTime"],!0),p=n?"bottom-fix":"",g="dot"===o?"dot":"dash",v=s?"light":Dt(u.theme),b=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+z("".concat(g),hr)},"divider"===o?e.createElement(ur,{color:v}):e.createElement(cr,{color:v})),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 "+z("author-time-wrapper ".concat(p),hr)},d?e.createElement(e.Fragment,null,e.createElement(ir,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),b()):b())};function pr(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 gr(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 pr(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)?pr(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.")}()}fr.propTypes={story:l.object,separator:l.oneOf(["dot","divider"]),hideAuthorImage:l.bool,isBottom:l.bool,prefix:l.string,config:l.object,isLightTheme:l.bool},fr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var vr=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"}))))};vr.propTypes={width:l.object,height:l.object,iconColor:l.object};var br=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(vr,null)))},_r=function(t){var r=t.slug;return r?e.createElement(s,{href:r,"aria-label":"image-fallback"},br()):br()};_r.propTypes={slug:l.string};var yr=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),e.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},wr=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(s,{href:o,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement(yr,null)):null};wr.propTypes={hyperLink:l.string};var Er={"./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"}},xr=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,l=t.isHorizontal,c=t.isHorizontalMobile,u=t.isHorizontalWithImageLast,m=t.defaultFallback,h=t.isStoryPageImage,p=t.config,g=(C()||{}).fallbackImageUrl,v=void 0===g?"":g,b=p.StoryTemplateIcon,y=void 0===b?function(){return null}:b,w=_((function(e){return f(e,["qt","config","showPlaceholder"])}))?"placeholder":"",E=o?"":"with-padding",x="hero-image";l?x="right-padding":u&&(x="left-padding");var L=c?"right-padding-mob":"",T=function(e){var t=gr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},k=gr(n,2),j=k[0],N=k[1],S=void 0===N?j:N,O=Ft("mobile"),I=O?j:S,M=T(O?j:S),A=f(r,["hero-image-s3-key"])||f(r,["alternative","home","default","hero-image","hero-image-s3-key"]),R=f(r,["hero-image-hyperlink"],""),H=function(){return A?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:M+"%"},className:"arr--responsive-hero-image "+z("image ".concat(w),Er)},e.createElement(y,{storyTemplate:r["story-template"]}),e.createElement(d,{story:r,aspectRatio:I,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})),h&&R&&e.createElement(wr,{hyperLink:R})):v&&!h?e.createElement("figure",{style:{paddingTop:M+"%"},className:"arr--responsive-hero-image "+z("image ".concat(w),Er)},e.createElement("img",{className:"qt-image","data-src":"".concat(v),alt:"image-fallback"})):e.createElement(e.Fragment,null,m?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:M+"%"},className:"arr--fallback-hero-image "+z("image ".concat(w),Er)},e.createElement(y,{storyTemplate:r["story-template"]}),e.createElement(_r,null)):null)};return r&&(h?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+z("".concat(x," ").concat(E," ").concat(L),Er)},H()):e.createElement(s,{"data-test-id":"arr--hero-image",href:Gt(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+z("".concat(x," ").concat(E," ").concat(L),Er)},H()))};xr.propTypes={story:l.object.isRequired,FullBleed:l.bool,defaultWidth:l.number,widths:l.array,aspectRatio:l.array,isHorizontal:l.bool,isHorizontalMobile:l.bool,defaultFallback:l.bool,isHorizontalWithImageLast:l.bool,isStoryPageImage:l.bool,config:l.object},xr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1,config:{}};var Lr={"./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"}},Tr=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=C()||{},u=f(c,["showSection"],!0),d=f(c,["sectionTagTemplate"]),m=f(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],p=m?m["section-url"]:"/",g="solid"===n||"solid"===d?i:c.theme,v=l?"light":Dt(g),b=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:p,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?b:""},className:"section-tag arrow-component "+z("".concat(v," ").concat(_),Lr)},_.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};Tr.propTypes={story:l.object.isRequired,template:l.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:l.string,solidBorderColor:l.string,isLightTheme:l.bool},Tr.defaultProps={template:"",isLightTheme:!1};var zr={"./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"}},kr=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,b=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===j(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":b&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",x=Dt(u),L=m?"horizontal-mob":"",T=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:b});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:x},className:"arr--story-card "+z("card ".concat(y," ").concat(_," ").concat(x," ").concat(w," ").concat(E," ").concat(L),zr)},n||T)},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=Pt(u),v=f.localizationConfig,b=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(xr,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(xr,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(xr,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+z("content ".concat(p),zr)},e.createElement(Tr,{story:r,borderColor:g}),e.createElement(Xt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(fr,{config:b,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(tr,{story:r})))};Cr.propTypes={story:l.object.isRequired,border:l.oneOfType([l.string]),isBottom:l.bool,isHorizontal:l.bool,aspectRatio:l.oneOfType([l.array]),isHorizontalMobile:l.bool,centerAlign:l.bool,headerLevel:l.string,borderColor:l.string,hideAuthorImage:l.bool,prefix:l.string,config:l.object,isHorizontalWithImageLast:l.bool},kr.propTypes={story:l.object.isRequired,children:l.node,isHorizontal:l.bool,border:l.oneOfType([l.string]),useImageAsBackground:l.bool,bgImgContentOverlap:l.bool,aspectRatio:l.oneOfType([l.array]),theme:l.string,isHorizontalMobile:l.bool,centerAlign:l.bool,headerLevel:l.string,borderColor:l.string,hideAuthorImage:l.bool,prefix:l.string,config:l.object,isHorizontalWithImageLast:l.bool},kr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var jr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},Nr=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=Dt(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 "+z("wrapper ".concat(m," ").concat(h),jr)},o||e.createElement(Sr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},Sr=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(Tr,{story:r,borderColor:l}),e.createElement(Xt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(fr,{config:s,story:r}))};Sr.propTypes={story:l.object.isRequired,border:l.string,theme:l.string,isHorizontalMobile:l.bool,headerLevel:l.string,borderColor:l.string,config:l.object},Nr.propTypes={story:l.object.isRequired,children:l.node,theme:l.string,border:l.string,isHorizontalMobile:l.bool,headerLevel:l.string,borderColor:l.string,config:l.object};var Or={"./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"}},Ir=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=C()||{},p=f(h,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",v=m&&n&&qt(n,a)||"",b=u||n.name||"",_=Dt(h.theme),y="h"+l,w=Pt(o),E=g.includes("collection-borderBottomFull")?"4px solid ".concat(w):"",x=Ft("mobile");return e.createElement(e.Fragment,null,p&&b&&e.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+z("collection ".concat(_," ").concat(g),Or)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:w,fontSize:function(){if(x)switch(l){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":default:return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px"}}()}}),v&&!v.includes(void 0)?e.createElement(s,{href:v,"aria-label":"collection-name"},e.createElement(y,null,b)):e.createElement(y,null,b),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(w)}}):""))};Ir.propTypes={collectionNameBorderColor:c.string,collection:c.object,config:c.object,collectionNameTemplate:c.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:c.string,customCollectionName:c.string,navigate:c.bool},Ir.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Mr=b((function(e){return{config:f(e,["qt","config"],{})}}))(Ir);function Ar(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rr={"./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 Hr(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 Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Hr(Object(r),!0).forEach((function(t){Ar(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Hr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Br=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,b=void 0===v?"":v;if(!d)return null;var _=Dt(g),y=b?"/".concat(b):Ut(n,Pr(Pr({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+z("button ".concat(_," default"),Rr)},f):e.createElement(m,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+z("button ".concat(_," default"),Rr)},f))};Br.propTypes={collection:l.object,template:l.string,config:l.object,onClick:l.func,navigate:l.func,qtConfig:l.object};var Fr="undefined"!=typeof window,Dr=function(){return Promise.resolve(Fr&&!(void 0!==window.IntersectionObserver)&&import("intersection-observer"))},qr={root:null,rootMargin:"200px 0px 0px 0px"},Wr=function(e,t){e.filter((function(e){return e.isIntersecting})).forEach((function(e){e.target._onIntersect(t)}))},Gr=function(e){var t=e.ref,r=gr(o(!1),2),a=r[0],i=r[1];return n((function(){var e=t.current;if(e)return Dr().then((function(e){if(Fr)return new window.IntersectionObserver(Wr,qr)})).then((function(t){return t.observe(e)})),e._onIntersect=function(t){i(!0),t.unobserve(e)},function(){return e._isSubscribed=!1}}),[t]),a},Ur={__html:""},Zr="undefined"==typeof window,Vr=function(t){var r=t.children,o=a(null),i=Gr({ref:o});return n((function(){var e=o.current;if(i){var t=e.hasChildNodes()?"hydrate":"render";w[t](r,e)}}),[r,i]),Zr?e.createElement("div",{ref:o},r):e.createElement("div",{ref:o,suppressHydrationWarning:!0,dangerouslySetInnerHTML:Ur})};Vr.propTypes={children:l.element};var Jr=function(t){var r=t.collection,o=t.componentName,n=t.offset,a=t.limit;return console.log("###limit",a),e.createElement("div",{id:"ELM-".concat(r.id),"data-collection-slug":r.slug,"data-component-name":o,"data-collection-offset":n,"data-collection-limit":a})};Jr.propTypes={collection:l.shape({id:l.string,slug:l.string}),componentName:l.string,offset:l.number,limit:l.number};var Yr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=t.getMoreStories,l=t.isLoadMoreVisible,c=t.isLoading,s=t.isolatedLoadMore,u=n.collectionNameBorderColor,d=void 0===u?"":u,m=n.borderColor,p=void 0===m?"":m,g=n.theme,v=void 0===g?"":g,b=n.border,w=void 0===b?"":b,E=n.collectionNameTemplate,x=void 0===E?"":E,L=n.footerSlotConfig,T=void 0===L?{}:L,z=n.footerButton,k=void 0===z?"":z,C=n.customCollectionName,j=n.navigate,N=void 0===j||j,S=n.subsequentLoadCount,O=h(r);if(console.log("####subsequentLoadCount",S),!O.length)return null;var I=T.footerSlot,M=I?I():null,A=Dt(v),R=y(),H=_((function(e){return f(e,["qt","config"],{})}));return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"four-col-grid",style:{backgroundColor:v,color:A}},e.createElement("div",{className:"four-col-m_four-col-grid__1EiO7"},e.createElement(Mr,{collection:r,collectionNameTemplate:x,collectionNameBorderColor:d,customCollectionName:C,navigate:N}),e.createElement("div",{className:"four-col-m_wrapper__1vOV7"},O.map((function(t,r){return e.createElement(i,{key:"story-4col-".concat(r,"-").concat(f(t,["id"],"0"))},e.createElement("div",{className:"four-col-m_story-card-wrapper__1e8p0",key:"default-".concat(r)},e.createElement(kr,{story:t,border:w,theme:v,isHorizontalMobile:!0,config:n},e.createElement(xr,{aspectRatio:[[16,9]],story:t,isHorizontalMobile:!0}),e.createElement(Nr,{theme:v,border:w,borderColor:p,story:t,isHorizontalMobile:!0,config:n}))))}))),function(t){if(!l)return null;if(s)return e.createElement(Jr,{collection:r,componentName:"FourColGrid",offset:O.length,limit:S||4});var o=Ut(r,H);return e.createElement(Vr,null,e.createElement(Br,{config:n,collection:r,template:k,onClick:function(){return function(e){var t=e.isLoading,r=e.storyItems,o=e.getMoreStories,n=e.subsequentLoadCount;if(console.log("####subsequentLoadCount",n),!t){var a=n||4;o(r.length,a)}}(t)},navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(R,o)},qtConfig:H}))}({isLoading:c,storyItems:O,getMoreStories:a,subsequentLoadCount:S}),M))};Yr.propTypes={collection:l.object.isRequired,config:l.shape({borderColor:l.string,theme:l.string,border:l.bool,slotConfig:l.array,collectionNameTemplate:l.string,footerButton:l.string,collectionNameBorderColor:l.string,subsequentLoadCount:l.number}),getMoreStories:l.func,isLoadMoreVisible:l.bool,isLoading:l.bool,isolatedLoadMore:l.bool},Yr.defaultProps={getMoreStories:function(){},isLoadMoreVisible:!0,isLoading:!1};var $r,Kr=($r=Yr,function(t){return e.createElement(k.Provider,{value:t.config},e.createElement($r,t))});export{Kr as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import a from"lodash.get";import{Link as i,ResponsiveHeroImage as l,ResponsiveImage as c,collectionToStories as s}from"@quintype/components";import{useSelector as u,connect as m}from"react-redux";import d from"react-timeago";import{utcToZonedTime as h,format as f}from"date-fns-tz";function p(e){if(Array.isArray(e))return e}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 v(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}}function _(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e){return p(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||v(e)||_()}function b(e,t){return p(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)||v(e,t)||_()}var w="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function E(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x(e){var t={exports:{}};return e(t,t.exports),t.exports}var T=x((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})),L=E(x((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=T)&&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(" "):""}})));function z(e){return z="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},z(e)}x((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=m;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=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===m)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:d,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 m="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(S([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=_.prototype=g.prototype=Object.create(y);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,m=s.value;return m&&"object"==typeof m&&o.call(m,"__await")?t.resolve(m.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(m).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 N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function S(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=S,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(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:S(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 k=Array.isArray,N="object"==typeof w&&w&&w.Object===Object&&w,S="object"==typeof self&&self&&self.Object===Object&&self,j=N||S||Function("return this")(),C=j.Symbol,I=Object.prototype,A=I.hasOwnProperty,O=I.toString,R=C?C.toStringTag:void 0;var M=function(e){var t=A.call(e,R),r=e[R];try{e[R]=void 0;var o=!0}catch(e){}var n=O.call(e);return o&&(t?e[R]=r:delete e[R]),n},H=Object.prototype.toString;var F=function(e){return H.call(e)},B=C?C.toStringTag:void 0;var P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":B&&B in Object(e)?M(e):F(e)};var D=function(e){return null!=e&&"object"==typeof e};var W=function(e){return"symbol"==typeof e||D(e)&&"[object Symbol]"==P(e)},G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/;var q=function(e,t){if(k(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!W(e))||(U.test(e)||!G.test(e)||null!=t&&e in Object(t))};var Z=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Y,J=function(e){if(!Z(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=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+Y:"";var K=function(e){return!!$&&$ in e},X=Function.prototype.toString;var Q=function(e){if(null!=e){try{return X.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!(!Z(e)||K(e))&&(J(e)?ae:ee).test(Q(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 me=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},de=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 de.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=me,ve.prototype.get=he,ve.prototype.has=pe,ve.prototype.set=ge;var _e=ve;var ye=function(){this.__data__=[],this.size=0};var be=function(e,t){return e===t||e!=e&&t!=t};var we=function(e,t){for(var r=e.length;r--;)if(be(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 Le=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 ke(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])}}ke.prototype.clear=ye,ke.prototype.delete=xe,ke.prototype.get=Te,ke.prototype.has=Le,ke.prototype.set=ze;var Ne=ke,Se=ce(j,"Map");var je=function(){this.size=0,this.__data__={hash:new _e,map:new(Se||Ne),string:new _e}};var Ce=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ie=function(e,t){var r=e.__data__;return Ce(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ae=function(e){var t=Ie(this,e).delete(e);return this.size-=t?1:0,t};var Oe=function(e){return Ie(this,e).get(e)};var Re=function(e){return Ie(this,e).has(e)};var Me=function(e,t){var r=Ie(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function He(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])}}He.prototype.clear=je,He.prototype.delete=Ae,He.prototype.get=Oe,He.prototype.has=Re,He.prototype.set=Me;var Fe=He;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||Fe),r}Be.Cache=Fe;var Pe=Be;var De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,We=/\\(\\)?/g,Ge=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(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},qe=C?C.prototype:void 0,Ze=qe?qe.toString:void 0;var Ye=function e(t){if("string"==typeof t)return t;if(k(t))return Ue(t,e)+"";if(W(t))return Ze?Ze.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Je=function(e){return null==e?"":Ye(e)};var Ve=function(e,t){return k(e)?e:q(e,t)?[e]:Ge(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=Ve(t,e)).length;null!=e&&r<o;)e=e[$e(t[r++])];return r&&r==o?e:void 0};var Xe=function(e,t,r){var o=null==e?void 0:Ke(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 et=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"}),tt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ot=function(e){return(e=Je(e))&&e.replace(tt,et).replace(rt,"")},nt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var at=function(e){return e.match(nt)||[]},it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var lt=function(e){return it.test(e)},ct="\\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",st="["+ct+"]",ut="\\d+",mt="[\\u2700-\\u27bf]",dt="[a-z\\xdf-\\xf6\\xf8-\\xff]",ht="[^\\ud800-\\udfff"+ct+ut+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:\\ud83c[\\udde6-\\uddff]){2}",pt="[\\ud800-\\udbff][\\udc00-\\udfff]",gt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",vt="(?:"+dt+"|"+ht+")",_t="(?:"+gt+"|"+ht+")",yt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bt="[\\ufe0e\\ufe0f]?"+yt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ft,pt].join("|")+")[\\ufe0e\\ufe0f]?"+yt+")*"),wt="(?:"+[mt,ft,pt].join("|")+")"+bt,Et=RegExp([gt+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[st,gt,"$"].join("|")+")",_t+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[st,gt+vt,"$"].join("|")+")",gt+"?"+vt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",gt+"+(?:['’](?: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_])",ut,wt].join("|"),"g");var xt=function(e){return e.match(Et)||[]};var Tt=function(e,t,r){return e=Je(e),void 0===(t=r?void 0:t)?lt(e)?xt(e):at(e):e.match(t)||[]},Lt=RegExp("['’]","g");var zt=function(e){return function(t){return Qe(Tt(ot(t).replace(Lt,"")),e,"")}},kt=zt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Nt=kt,St=zt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),jt=St;var Ct=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,m=n.disableMeridiem,d=void 0!==m&&m,h=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),_=p[g.getMonth()],y=_;u&&(y=Nt(_));var b,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,T=n.direction,L=void 0===T?"ltr":T,z=At(o,f),k=z;if(x&&(y=Xe(x,[jt(_)])||_),E){var N=z.includes("am"),S=E.am,j=void 0===S?"am":S,C=E.pm,I=void 0===C?"pm":C;k=(N?z.replace("am",j):z.replace("pm",I))||z}return"rtl"===L?(b=i?"".concat(k):"","".concat(v," ").concat(y,", ").concat(w," ").concat(b," ")):d?"".concat(y," ").concat(v,", ").concat(w):c?"".concat(k,", ").concat(v," ").concat(y," ").concat(w):(b=i?", ".concat(k):"","".concat(v," ").concat(y,", ").concat(w).concat(b))};function It(e,t,r,o,n){var a,i=Xe(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Ct(e,t,r,o,n):e>1?(a=Xe(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Xe(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function At(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var Ot=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},Ht=function(e){var t=Xe(Mt,e);return!!t&&Xe(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:Rt(e),o=Ot(r)<155?"light":"dark";return o},Bt=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=Xe(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 Pt(){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?Xe(n,["reference-url"],""):""}o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var Dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Xe(e,["story-template"])?Xe(e,["metadata","reference-url"],""):e.url||t},Wt=t(),Gt=function(){return r(Wt)},Ut=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"}))))};Ut.propTypes={width:o.object,height:o.object,iconColor:o.object};var qt=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(Ut,null)))},Zt=function(t){var r=t.slug;return r?e.createElement(i,{href:r,"aria-label":"image-fallback"},qt()):qt()};Zt.propTypes={slug:o.string};var Yt=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),e.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},Jt=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(i,{href:o,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement(Yt,null)):null};Jt.propTypes={hyperLink:o.string};var Vt={"./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"}},$t=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,c=t.defaultWidth,s=t.widths,m=t.isHorizontal,d=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=t.config,v=(Gt()||{}).fallbackImageUrl,_=void 0===v?"":v,y=g.StoryTemplateIcon,w=void 0===y?function(){return null}:y,E=u((function(e){return a(e,["qt","config","showPlaceholder"])}))?"placeholder":"",x=o?"":"with-padding",T="hero-image";m?T="right-padding":h&&(T="left-padding");var z=d?"right-padding-mob":"",k=function(e){var t=b(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},N=b(n,2),S=N[0],j=N[1],C=void 0===j?S:j,I=Ht("mobile"),A=I?S:C,O=k(I?S:C),R=a(r,["hero-image-s3-key"])||a(r,["alternative","home","default","hero-image","hero-image-s3-key"]),M=a(r,["hero-image-hyperlink"],""),H=function(){return R?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+L("image ".concat(E),Vt)},e.createElement(w,{storyTemplate:r["story-template"]}),e.createElement(l,{story:r,aspectRatio:A,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})),p&&M&&e.createElement(Jt,{hyperLink:M})):_&&!p?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+L("image ".concat(E),Vt)},e.createElement("img",{className:"qt-image","data-src":"".concat(_),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 "+L("image ".concat(E),Vt)},e.createElement(w,{storyTemplate:r["story-template"]}),e.createElement(Zt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+L("".concat(T," ").concat(x," ").concat(z),Vt)},H()):e.createElement(i,{"data-test-id":"arr--hero-image",href:Dt(r,"/".concat(r.slug)),externalLink:Pt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+L("".concat(T," ").concat(x," ").concat(z),Vt)},H()))};$t.propTypes={story:o.object.isRequired,FullBleed:o.bool,defaultWidth:o.number,widths:o.array,aspectRatio:o.array,isHorizontal:o.bool,isHorizontalMobile:o.bool,defaultFallback:o.bool,isHorizontalWithImageLast:o.bool,isStoryPageImage:o.bool,config:o.object},$t.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1,config:{}};var Kt={"./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"}},Xt=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,l=t.borderColor,c=void 0===l?"":l,s=t.isLightTheme,u=Gt()||{},m=a(u,["showSection"],!0),d=a(u,["sectionTagTemplate"]),h=a(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],p=h?h["section-url"]:"/",g="solid"===n||"solid"===d?c:u.theme,v=s?"light":Ft(g),_=Rt(c),y=f.includes(n)?"section section-".concat(n):"section";return d&&(y=f.includes(d)?"section section-".concat(d):"section"),m?e.createElement(i,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:y.includes("section-solid")?_:""},className:"section-tag arrow-component "+L("".concat(v," ").concat(y),Kt)},y.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:_}}),h["display-name"]||h.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":_)}}))):null};Xt.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},Xt.defaultProps={template:"",isLightTheme:!1};var Qt={"./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"}},er=function(t){var r=t.story,o=t.isBottom,n=t.config,i=void 0===n?{}:n,l=Gt()||{},c=a(i,["showTime"],a(l,["showTime"],!0)),s=r["last-published-at"]||r["first-published-at"],u=o?"bottom-fix":"",m=Ft(l.theme);return e.createElement(e.Fragment,null,c&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+L("time ".concat(m," ").concat(u),Qt)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&h(t,a),l=i&&f(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),c=Ct("","","",t,o);return e.createElement("time",{dateTime:l},c)}return e.createElement(d,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(s,It,i))))};er.propTypes={story:o.object,isBottom:o.bool,config:o.object};var tr={"./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"}},rr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,l=t.prefix,s=void 0===l?"":l,u=t.config,m=void 0===u?{}:u,d=Gt()||{},h=a(d,["showAuthor"],!0),f=a(r,["authors","0"],""),p=f["avatar-url"],g=f["avatar-s3-key"],v=f.name,_=f.slug,y=n?"bottom-fix":"",b=Ft(d.theme),w=a(m,["mountAt"],""),E=function(t){return s?e.createElement("div",{className:"arr-author-prefix "+L("prefix ".concat(b),tr)},s):!o&&function(t){return p||g?e.createElement("div",{"data-test-id":"author-image",className:L("author-image ".concat(t,"-image"),tr)},e.createElement("figure",null,g?e.createElement(c,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):e.createElement("img",{src:p}))):null}(t)};return e.createElement(e.Fragment,null,h&&e.createElement(i,{href:"".concat(w,"/author/")+_,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+L("author ".concat(y),tr)},E("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+L("author-name ".concat(b),tr)},v||r["author-name"]),!s&&E("rtl")))};var or=m((function(e){return{config:a(e,["qt","config"],{})}}))(rr);rr.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},rr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var nr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ar=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:L(l,nr)},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)"})))};ar.propTypes={color:o.string,width:o.string,height:o.string};var ir={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},lr=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:L(l,ir)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};lr.propTypes={color:o.string,width:o.string,height:o.string};var cr={"./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"}},sr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,i=t.isLightTheme,l=void 0!==i&&i,c=Gt()||{},s=a(c,["showReadTime"])||a(n,["showReadTime"],!0),u=a(r,["read-time"],0),m=l?"light":Ft(c.theme);if(!s||!u)return null;var d=a(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+L("read-time-wrapper ".concat(m),cr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ar,{color:m})),e.createElement("span",null,u," ",d)))};sr.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var ur={"./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"}},mr=function(t){var r=t.story,o=t.separator,n=t.isBottom,i=t.hideAuthorImage,l=t.prefix,c=t.config,s=void 0===c?{}:c,u=t.isLightTheme,m=Gt()||{},d=a(s,["showAuthor"],a(m,["showAuthor"],!0)),h=a(s,["showTime"],a(m,["showTime"],!0)),f=a(m,["showReadTime"],!0),p=n?"bottom-fix":"",g="dot"===o?"dot":"dash",v=u?"light":Ft(m.theme),_=function(){return h?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+L("".concat(g),ur)},"divider"===o?e.createElement(lr,{color:v}):e.createElement(ar,{color:v})),e.createElement(er,{story:r,config:s}),f&&e.createElement(sr,{story:r,opts:s,isLightTheme:u})):null};return e.createElement("div",{className:"arr--author-time "+L("author-time-wrapper ".concat(p),ur)},d?e.createElement(e.Fragment,null,e.createElement(or,{story:r,isBottom:!0,hideAuthorImage:i,prefix:l}),_()):_())};mr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},mr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var dr={"./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"}},hr=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,l=t.config,c=t.collectionNameTemplate,s=t.headerLevel,u=t.customCollectionName,m=void 0===u?"":u,d=t.navigate,h=void 0===d||d,f=Gt()||{},p=a(f,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(c)?" collection-".concat(c):"",v=h&&n&&Bt(n,l)||"",_=m||n.name||"",y=Ft(f.theme),b="h"+s,w=Rt(o),E=g.includes("collection-borderBottomFull")?"4px solid ".concat(w):"",x=Ht("mobile");return e.createElement(e.Fragment,null,p&&_&&e.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+L("collection ".concat(y," ").concat(g),dr)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:w,fontSize:function(){if(x)switch(s){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(s){case"1":return"40px";case"2":return"32px";case"3":default:return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px"}}()}}),v&&!v.includes(void 0)?e.createElement(i,{href:v,"aria-label":"collection-name"},e.createElement(b,null,_)):e.createElement(b,null,_),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(w)}}):""))};hr.propTypes={collectionNameBorderColor:n.string,collection:n.object,config:n.object,collectionNameTemplate:n.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:n.string,customCollectionName:n.string,navigate:n.bool},hr.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var fr=m((function(e){return{config:a(e,["qt","config"],{})}}))(hr),pr=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"}))))))};pr.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var gr=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)"})))))};gr.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var vr=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"}))))))};vr.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var _r=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"}))))};_r.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var yr=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(pr,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(vr,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(gr,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(_r,{width:r,height:o,color:n,positionTop:i})}};function br(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}yr.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var wr={"./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,l=void 0===n?{}:n,c=t.isLink,s=Gt()||{},u=l.iconColor,m=void 0===u?"#F7B500":u,d=l.iconStyle,h=void 0===d?"star":d,f=l.enablePremiumStoryIcon,p=void 0!==f&&f,g=l.showLiveIcon,v=void 0!==g&&g,_=a(r,["alternative","home","default","headline"]),y=p&&"subscription"===a(r,["access"]),b=_||r.headline,w="h"+o,E=Ft(s.theme),x=y?"wrapper":"",T="24px",z=v&&"live-blog"===r["story-template"]&&!a(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+L(x,wr)},y&&e.createElement(yr,{width:T,height:T,color:m,iconType:h,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),c?e.createElement(i,{href:Dt(r,"/".concat(r.slug)),externalLink:Pt(r),"aria-label":"headline"},e.createElement(w,{className:L("headline ".concat(E),wr)},z&&e.createElement(br,null),b)):e.createElement(w,{className:L("headline ".concat(E),wr)},z&&e.createElement(br,null),b))};Er.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},Er.defaultProps={headerLevel:"6",isLink:!0};var xr={"./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,i=t.lineClamp,l=t.clazzName,c=void 0===l?"":l,s=t.forceShowAtom,u=t.showFullContent,m=Gt()||{};if(!(s||a(m,["showSubheadline"],!0)))return null;var d=Ft(m.theme);return e.createElement("div",{style:{WebkitLineClamp:i},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+L("subheadline ".concat(d),xr)},u||"number"==typeof i?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:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},Tr.defaultProps={forceShowAtom:!1,showFullContent:!1};var Lr={"./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"}},zr=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,m=t.borderColor,d=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"===z(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var y=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",b="default-card";a?b="horizontal-card":_&&(b="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",x=Ft(u),T=d?"horizontal-mob":"",k=e.createElement(kr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:d,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:m,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 "+L("card ".concat(b," ").concat(y," ").concat(x," ").concat(w," ").concat(E," ").concat(T),Lr)},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,m=t.hideAuthorImage,d=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($t,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement($t,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement($t,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+L("content ".concat(p),Lr)},e.createElement(Xt,{story:r,borderColor:g}),e.createElement(Er,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(mr,{config:_,story:r,isBottom:!0,prefix:d,hideAuthorImage:m}),e.createElement(Tr,{story:r})))};function Nr(t){var r=t.slug,o=t.textColor,n=t.Icon,a=t.text;return e.createElement(i,{href:r,"aria-label":"arrow-icon"},e.createElement("div",{className:"four-col-twelve-story-m_other-news-container__37wlp"},e.createElement("div",{className:"four-col-twelve-story-m_other-news-text__1zKt-",style:{color:o}},a),e.createElement("div",{className:"four-col-twelve-story-m_arrow-icon__2u_kA"},e.createElement(n,null))))}kr.propTypes={story:o.object.isRequired,border:o.oneOfType([o.string]),isBottom:o.bool,isHorizontal:o.bool,aspectRatio:o.oneOfType([o.array]),isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},zr.propTypes={story:o.object.isRequired,children:o.node,isHorizontal:o.bool,border:o.oneOfType([o.string]),useImageAsBackground:o.bool,bgImgContentOverlap:o.bool,aspectRatio:o.oneOfType([o.array]),theme:o.string,isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},zr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Sr=function(t){var r=t.collection,o=t.border,n=t.collectionNameTemplate,a=t.otherTextData,i=t.slug,l=t.theme,c=t.config,u=void 0===c?{}:c,m=s(r);if(m.length<1)return null;var d,h,f,p=y(m||[]),g=p[0],v=p.slice(1),_="top",b=u.localizationConfig,w=void 0===b?{}:b;return a&&(d=a.text,h=a.Icon,f=a.textColor,_=a.contentPosition||_),e.createElement("div",null,e.createElement("div",{className:"four-col-twelve-story-m_collection-name-container__1yTXx"},e.createElement(fr,{collection:r,headerLevel:"4",collectionNameTemplate:n}),"top"===_&&d&&h&&e.createElement("div",{className:"four-col-twelve-story-m_other-news-top-container__32-SF"},e.createElement(Nr,{textColor:f,Icon:h,slug:i,text:d}))),e.createElement("div",{className:"first-card"},e.createElement(zr,{story:g,border:o,theme:l,config:u},e.createElement($t,{story:g,aspectRatio:[[16,9],[16,9]]}),e.createElement(Xt,{story:g}),e.createElement(Er,{story:g,headerLevel:"4",premiumStoryIconConfig:u}),e.createElement(mr,{config:w,story:g}))),e.createElement("div",{className:"second-card"},v.slice(0,2).map((function(t,r){return e.createElement(zr,{key:r,story:t,isHorizontal:!0,theme:l,border:o},e.createElement($t,{story:t,aspectRatio:[[4,3],[4,3]]}),e.createElement("div",{className:"small-card-container four-col-twelve-story-m_small-card-content-container__1Lu7D"},e.createElement(Er,{story:t,premiumStoryIconConfig:u}),e.createElement(mr,{config:w,story:t})))}))),"bottom"===_&&d&&h&&e.createElement("div",{className:"four-col-twelve-story-m_other-news-link__1PEl4"},e.createElement(Nr,{textColor:f,Icon:h,slug:i,text:d})))},jr=function(t){var r=t.collection,o=void 0===r?{}:r,n=t.publisherConfig,i=void 0===n?{}:n,l=t.config,c=void 0===l?{}:l,s=t.otherTextData,u=c.theme,m=void 0===u?"":u,d=c.border,h=void 0===d?"":d,f=c.footerSlotConfig,p=void 0===f?{}:f,g=c.collectionNameTemplate,v=void 0===g?"":g,_=p.footerSlot,y=_?_():null,b=a(o,["items"],[]).filter((function(e){return"collection"===e.type}));if(b.length<4)return null;var w=Ft(m);return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"four-col-twelve-stories",style:{backgroundColor:m,color:w}},e.createElement("div",{className:"four-col-twelve-story-m_columns-container__1YHu8"},b.slice(0,4).map((function(t,r){var o=Bt(t,i);return e.createElement(Sr,{border:h,collection:t,collectionNameTemplate:v,key:r,slug:o,otherTextData:s,theme:m})}))),y)};jr.propTypes={collection:o.object.isRequired,publisherConfig:o.object,otherTextData:o.shape({text:o.string,Icon:o.func,textColor:o.string}),config:o.shape({theme:o.string,border:o.string,showSection:o.bool,showSubheadline:o.bool,showAuthor:o.bool,showTime:o.bool,showRowTitle:o.bool,collectionNameTemplate:o.string})},Sr.propTypes={collection:o.object.isRequired,border:o.string,collectionNameTemplate:o.string,slug:o.string,theme:o.string,otherTextData:o.shape({text:o.string,Icon:o.func,textColor:o.string,contentPosition:o.string}),config:o.object},Nr.propTypes={slug:o.string,textColor:o.string,Icon:o.func,text:o.string};var Cr,Ir=(Cr=jr,function(t){return e.createElement(Wt.Provider,{value:t.config},e.createElement(Cr,t))});export{Ir as default};
|
package/FourStorySlider/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
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"lodash.get";import E from"react-timeago";import{utcToZonedTime as x,format as T}from"date-fns-tz";function k(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 L(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 k(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)?k(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 z=Array.isArray,C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function I(e){var t={exports:{}};return e(t,t.exports),t.exports}var j="object"==typeof C&&C&&C.Object===Object&&C,S="object"==typeof self&&self&&self.Object===Object&&self,O=j||S||Function("return this")(),A=O.Symbol,M=Object.prototype,R=M.hasOwnProperty,H=M.toString,P=A?A.toStringTag:void 0;var B=function(e){var t=R.call(e,P),r=e[P];try{e[P]=void 0;var o=!0}catch(e){}var n=H.call(e);return o&&(t?e[P]=r:delete e[P]),n},F=Object.prototype.toString;var D=function(e){return F.call(e)},W=A?A.toStringTag:void 0;var q=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?B(e):D(e)};var U=function(e){return null!=e&&"object"==typeof e};var V=function(e){return"symbol"==typeof e||U(e)&&"[object Symbol]"==q(e)},G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/;var J=function(e,t){if(z(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!V(e))||(Z.test(e)||!G.test(e)||null!=t&&e in Object(t))};var Y=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var $,K=function(e){if(!Y(e))return!1;var t=q(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},X=O["__core-js_shared__"],Q=($=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+$:"";var ee=function(e){return!!Q&&Q in e},te=Function.prototype.toString;var re=function(e){if(null!=e){try{return te.call(e)}catch(e){}try{return e+""}catch(e){}}return""},oe=/^\[object .+?Constructor\]$/,ne=Function.prototype,ae=Object.prototype,ie=ne.toString,le=ae.hasOwnProperty,ce=RegExp("^"+ie.call(le).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var se=function(e){return!(!Y(e)||ee(e))&&(K(e)?ce:oe).test(re(e))};var ue=function(e,t){return null==e?void 0:e[t]};var de=function(e,t){var r=ue(e,t);return se(r)?r:void 0},me=de(Object,"create");var he=function(){this.__data__=me?me(null):{},this.size=0};var fe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},pe=Object.prototype.hasOwnProperty;var ge=function(e){var t=this.__data__;if(me){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return pe.call(t,e)?t[e]:void 0},ve=Object.prototype.hasOwnProperty;var _e=function(e){var t=this.__data__;return me?void 0!==t[e]:ve.call(t,e)};var be=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=me&&void 0===t?"__lodash_hash_undefined__":t,this};function ye(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])}}ye.prototype.clear=he,ye.prototype.delete=fe,ye.prototype.get=ge,ye.prototype.has=_e,ye.prototype.set=be;var we=ye;var Ee=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var Te=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},ke=Array.prototype.splice;var Le=function(e){var t=this.__data__,r=Te(t,e);return!(r<0)&&(r==t.length-1?t.pop():ke.call(t,r,1),--this.size,!0)};var ze=function(e){var t=this.__data__,r=Te(t,e);return r<0?void 0:t[r][1]};var Ce=function(e){return Te(this.__data__,e)>-1};var Ne=function(e,t){var r=this.__data__,o=Te(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ie(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])}}Ie.prototype.clear=Ee,Ie.prototype.delete=Le,Ie.prototype.get=ze,Ie.prototype.has=Ce,Ie.prototype.set=Ne;var je=Ie,Se=de(O,"Map");var Oe=function(){this.size=0,this.__data__={hash:new we,map:new(Se||je),string:new we}};var Ae=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Me=function(e,t){var r=e.__data__;return Ae(t)?r["string"==typeof t?"string":"hash"]:r.map};var Re=function(e){var t=Me(this,e).delete(e);return this.size-=t?1:0,t};var He=function(e){return Me(this,e).get(e)};var Pe=function(e){return Me(this,e).has(e)};var Be=function(e,t){var r=Me(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Fe(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])}}Fe.prototype.clear=Oe,Fe.prototype.delete=Re,Fe.prototype.get=He,Fe.prototype.has=Pe,Fe.prototype.set=Be;var De=Fe;function We(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(We.Cache||De),r}We.Cache=De;var qe=We;var Ue=function(e){var t=qe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t},Ve=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ge=/\\(\\)?/g,Ze=Ue((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ve,(function(e,r,o,n){t.push(o?n.replace(Ge,"$1"):r||e)})),t})),Je=Ze;var Ye=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},$e=A?A.prototype:void 0,Ke=$e?$e.toString:void 0;var Xe=function e(t){if("string"==typeof t)return t;if(z(t))return Ye(t,e)+"";if(V(t))return Ke?Ke.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Qe=function(e){return null==e?"":Xe(e)};var et=function(e,t){return z(e)?e:J(e,t)?[e]:Je(Qe(e))};var tt=function(e){if("string"==typeof e||V(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var rt=function(e,t){for(var r=0,o=(t=et(t,e)).length;null!=e&&r<o;)e=e[tt(t[r++])];return r&&r==o?e:void 0};var ot=function(e,t,r){var o=null==e?void 0:rt(e,t);return void 0===o?r:o},nt=I((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})),at=N(I((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=nt)&&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(" "):""}}))),it=t(),lt=function(){return r(it)};function ct(e){return ct="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},ct(e)}I((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 I()}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 L(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 z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,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:I}}function I(){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,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(z),!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),z(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;z(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 st=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 ut=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"}),dt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ht=function(e){return(e=Qe(e))&&e.replace(dt,ut).replace(mt,"")},ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var pt=function(e){return e.match(ft)||[]},gt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var vt=function(e){return gt.test(e)},_t="\\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",bt="["+_t+"]",yt="\\d+",wt="[\\u2700-\\u27bf]",Et="[a-z\\xdf-\\xf6\\xf8-\\xff]",xt="[^\\ud800-\\udfff"+_t+yt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",kt="[\\ud800-\\udbff][\\udc00-\\udfff]",Lt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",zt="(?:"+Et+"|"+xt+")",Ct="(?:"+Lt+"|"+xt+")",Nt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",It="[\\ufe0e\\ufe0f]?"+Nt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Tt,kt].join("|")+")[\\ufe0e\\ufe0f]?"+Nt+")*"),jt="(?:"+[wt,Tt,kt].join("|")+")"+It,St=RegExp([Lt+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[bt,Lt,"$"].join("|")+")",Ct+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[bt,Lt+zt,"$"].join("|")+")",Lt+"?"+zt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Lt+"+(?:['’](?: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_])",yt,jt].join("|"),"g");var Ot=function(e){return e.match(St)||[]};var At=function(e,t,r){return e=Qe(e),void 0===(t=r?void 0:t)?vt(e)?Ot(e):pt(e):e.match(t)||[]},Mt=RegExp("['’]","g");var Rt=function(e){return function(t){return st(At(ht(t).replace(Mt,"")),e,"")}},Ht=Rt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Pt=Ht,Bt=Rt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ft=Bt;var Dt=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=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),_=p[g.getMonth()],b=_;u&&(b=Pt(_));var y,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,T=n.direction,k=void 0===T?"ltr":T,L=qt(o,f),z=L;if(x&&(b=ot(x,[Ft(_)])||_),E){var C=L.includes("am"),N=E.am,I=void 0===N?"am":N,j=E.pm,S=void 0===j?"pm":j;z=(C?L.replace("am",I):L.replace("pm",S))||L}return"rtl"===k?(y=i?"".concat(z):"","".concat(v," ").concat(b,", ").concat(w," ").concat(y," ")):m?"".concat(b," ").concat(v,", ").concat(w):c?"".concat(z,", ").concat(v," ").concat(b," ").concat(w):(y=i?", ".concat(z):"","".concat(v," ").concat(b,", ").concat(w).concat(y))};function Wt(e,t,r,o,n){var a,i=ot(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Dt(e,t,r,o,n):e>1?(a=ot(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=ot(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function qt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var Ut=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},Vt=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},Gt={mobile:767,tablet:1024},Zt=function(e){var t=ot(Gt,e);return!!t&&ot(global,"document.documentElement.clientWidth")<=t},Jt=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:Vt(e),o=Ut(r)<155?"light":"dark";return o};var Yt=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=ot(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 $t(){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?ot(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 Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===ot(e,["story-template"])?ot(e,["metadata","reference-url"],""):e.url||t},Xt=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?Yt(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"}},er=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=lt()||{},f=w(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Yt(n,a)||"",v=u||n.name||"",_=Jt(h.theme),b="h"+l,y=Vt(o),E=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",x=Zt("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(p)?"arr--collection-name arrow-component ".concat(p)+" ":"")+at("collection ".concat(_," ").concat(p),Qt)},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":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":default:return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px"}}()}}),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)}}):""))};er.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},er.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var tr=i((function(e){return{config:w(e,["qt","config"],{})}}))(er),rr=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"}))))))};rr.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var or=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)"})))))};or.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var nr=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"}))))))};nr.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var ar=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"}))))};ar.propTypes={height:f.string,width:f.string,color:f.string,positionTop:f.string};var ir=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(rr,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(nr,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(or,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(ar,{width:r,height:o,color:n,positionTop:i})}};function lr(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}ir.propTypes={width:f.string,height:f.string,color:f.string,iconType:f.string,positionTop:f.string};var cr={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},sr=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=lt()||{},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=a.showLiveIcon,g=void 0!==p&&p,v=w(r,["alternative","home","default","headline"]),_=f&&"subscription"===w(r,["access"]),b=v||r.headline,y="h"+o,E=Jt(l.theme),x=_?"wrapper":"",T="24px",k=g&&"live-blog"===r["story-template"]&&!w(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+at(x,cr)},_&&e.createElement(ir,{width:T,height:T,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:Kt(r,"/".concat(r.slug)),externalLink:$t(r),"aria-label":"headline"},e.createElement(y,{className:at("headline ".concat(E),cr)},k&&e.createElement(lr,null),b)):e.createElement(y,{className:at("headline ".concat(E),cr)},k&&e.createElement(lr,null),b))};sr.propTypes={story:f.object.isRequired,headerLevel:f.string,premiumStoryIconConfig:f.shape({iconColor:f.string,iconType:f.string,enablePremiumStoryIcon:f.bool}),isLink:f.bool},sr.defaultProps={headerLevel:"6",isLink:!0};var ur={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},dr=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=lt()||{};if(!(c||w(u,["showSubheadline"],!0)))return null;var d=Jt(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)+" ":"")+at("subheadline ".concat(d),ur)},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))};dr.propTypes={story:f.object.isRequired,lineClamp:f.number,truncateChars:f.number,clazzName:f.string,forceShowAtom:f.bool,showFullContent:f.bool},dr.defaultProps={forceShowAtom:!1,showFullContent:!1};var mr={"./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"}},hr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=lt()||{},l=w(a,["showTime"],w(i,["showTime"],!0)),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=Jt(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+at("time ".concat(u," ").concat(s),mr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&x(t,a),l=i&&T(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),c=Dt("","","",t,o);return e.createElement("time",{dateTime:l},c)}return e.createElement(E,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Wt,a))))};hr.propTypes={story:f.object,isBottom:f.bool,config:f.object};var fr={"./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"}},pr=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=lt()||{},m=w(d,["showAuthor"],!0),h=w(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",b=Jt(d.theme),y=w(c,["mountAt"],""),E=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+at("prefix ".concat(b),fr)},i):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:at("author-image ".concat(t,"-image"),fr)},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 "+at("author ".concat(_),fr)},E("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+at("author-name ".concat(b),fr)},g||r["author-name"]),!i&&E("rtl")))};var gr=i((function(e){return{config:w(e,["qt","config"],{})}}))(pr);pr.propTypes={story:f.object.isRequired,hideAuthorImage:f.bool,isBottom:f.bool,prefix:f.string,config:f.object},pr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var vr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},_r=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:at(l,vr)},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)"})))};_r.propTypes={color:f.string,width:f.string,height:f.string};var br={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},yr=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:at(l,br)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};yr.propTypes={color:f.string,width:f.string,height:f.string};var wr={"./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"}},Er=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=lt()||{},c=w(l,["showReadTime"])||w(n,["showReadTime"],!0),s=w(r,["read-time"],0),u=i?"light":Jt(l.theme);if(!c||!s)return null;var d=w(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+at("read-time-wrapper ".concat(u),wr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(_r,{color:u})),e.createElement("span",null,s," ",d)))};Er.propTypes={story:f.shape({"read-time":f.number}),opts:f.shape({showReadTime:f.bool}),isLightTheme:f.bool};var xr={"./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"}},Tr=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=lt()||{},d=w(c,["showAuthor"],w(u,["showAuthor"],!0)),m=w(c,["showTime"],w(u,["showTime"],!0)),h=w(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":Jt(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+at("".concat(p),xr)},"divider"===o?e.createElement(yr,{color:g}):e.createElement(_r,{color:g})),e.createElement(hr,{story:r,config:c}),h&&e.createElement(Er,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+at("author-time-wrapper ".concat(f),xr)},d?e.createElement(e.Fragment,null,e.createElement(gr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};Tr.propTypes={story:f.object,separator:f.oneOf(["dot","divider"]),hideAuthorImage:f.bool,isBottom:f.bool,prefix:f.string,config:f.object,isLightTheme:f.bool},Tr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var kr=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"}))))};kr.propTypes={width:f.object,height:f.object,iconColor:f.object};var Lr=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(kr,null)))},zr=function(t){var r=t.slug;return r?e.createElement(s,{href:r,"aria-label":"image-fallback"},Lr()):Lr()};zr.propTypes={slug:f.string};var Cr=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),e.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},Nr=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(s,{href:o,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement(Cr,null)):null};Nr.propTypes={hyperLink:f.string};var Ir={"./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"}},jr=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,c=t.isHorizontal,u=t.isHorizontalMobile,m=t.isHorizontalWithImageLast,h=t.defaultFallback,f=t.isStoryPageImage,p=t.config,g=(lt()||{}).fallbackImageUrl,v=void 0===g?"":g,_=p.StoryTemplateIcon,b=void 0===_?function(){return null}:_,y=l((function(e){return w(e,["qt","config","showPlaceholder"])}))?"placeholder":"",E=o?"":"with-padding",x="hero-image";c?x="right-padding":m&&(x="left-padding");var T=u?"right-padding-mob":"",k=function(e){var t=L(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},z=L(n,2),C=z[0],N=z[1],I=void 0===N?C:N,j=Zt("mobile"),S=j?C:I,O=k(j?C:I),A=w(r,["hero-image-s3-key"])||w(r,["alternative","home","default","hero-image","hero-image-s3-key"]),M=w(r,["hero-image-hyperlink"],""),R=function(){return A?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+at("image ".concat(y),Ir)},e.createElement(b,{storyTemplate:r["story-template"]}),e.createElement(d,{story:r,aspectRatio:S,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})),f&&M&&e.createElement(Nr,{hyperLink:M})):v&&!f?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+at("image ".concat(y),Ir)},e.createElement("img",{className:"qt-image","data-src":"".concat(v),alt:"image-fallback"})):e.createElement(e.Fragment,null,h?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:O+"%"},className:"arr--fallback-hero-image "+at("image ".concat(y),Ir)},e.createElement(b,{storyTemplate:r["story-template"]}),e.createElement(zr,null)):null)};return r&&(f?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+at("".concat(x," ").concat(E," ").concat(T),Ir)},R()):e.createElement(s,{"data-test-id":"arr--hero-image",href:Kt(r,"/".concat(r.slug)),externalLink:$t(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+at("".concat(x," ").concat(E," ").concat(T),Ir)},R()))};jr.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,isStoryPageImage:f.bool,config:f.object},jr.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1,config:{}};var Sr={"./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"}},Or=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=lt()||{},u=w(c,["showSection"],!0),d=w(c,["sectionTagTemplate"]),m=w(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:c.theme,g=l?"light":Jt(p),v=Vt(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 "+at("".concat(g," ").concat(_),Sr)},_.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};Or.propTypes={story:f.object.isRequired,template:f.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:f.string,solidBorderColor:f.string,isLightTheme:f.bool},Or.defaultProps={template:"",isLightTheme:!1};var Ar={"./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"}},Mr=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"===ct(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=Jt(u),T=m?"horizontal-mob":"",k=e.createElement(Rr,{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 "+at("card ".concat(y," ").concat(b," ").concat(x," ").concat(w," ").concat(E," ").concat(T),Ar)},n||k)},Rr=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=Vt(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(jr,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(jr,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(jr,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+at("content ".concat(p),Ar)},e.createElement(Or,{story:r,borderColor:g}),e.createElement(sr,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(Tr,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(dr,{story:r})))};Rr.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},Mr.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},Mr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Hr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},Pr=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=Jt(n),d=Vt(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 "+at("wrapper ".concat(m," ").concat(h),Hr)},o||e.createElement(Br,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},Br=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Vt(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(Or,{story:r,borderColor:l}),e.createElement(sr,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(Tr,{config:s,story:r}))};function Fr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Br.propTypes={story:f.object.isRequired,border:f.string,theme:f.string,isHorizontalMobile:f.bool,headerLevel:f.string,borderColor:f.string,config:f.object},Pr.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 Dr={"./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 Wr(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 qr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wr(Object(r),!0).forEach((function(t){Fr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ur=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=Jt(g),y=_?"/".concat(_):Xt(n,qr(qr({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+at("button ".concat(b," default"),Dr)},f):e.createElement(m,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+at("button ".concat(b," default"),Dr)},f))};Ur.propTypes={collection:f.object,template:f.string,config:f.object,onClick:f.func,navigate:f.func,qtConfig:f.object};var Vr=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"})))};Vr.propTypes={color:f.string};var Gr=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"})))};Gr.propTypes={color:f.string};var Zr={"./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"}},Jr=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=lt()||{},s=Jt(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)+" ":"")+at("arrow left-arrow-".concat(s," ").concat(u),Zr)},e.createElement(Vr,{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)+" ":"")+at("arrow right-arrow-".concat(s," ").concat(d),Zr)},e.createElement(Gr,{color:"dark"===s?"#fff":"#333"})):null)};Jr.propTypes={noOfItems:g,perView:g,slideIndicator:v,previousClick:_,nextClick:_,selectedIndex:g,languageDirection:v};var Yr={"./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"}},$r=function(t){var r=t.indicatorItems,o=t.indicatorClick,n=t.selectedIndex,a=t.indicatorType;if(r.length<1)return null;var i=lt()||{},l=Jt(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)+" ":"")+at("indicator-button indicator-".concat(a," indicator-").concat(a,"-").concat(l),Yr)}))})))};$r.propTypes={indicatorItems:b,perView:g,indicatorType:v,indicatorClick:_,selectedIndex:g};var Kr=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((Fr(l={},i?"left":"top",a),Fr(l,"behavior","smooth"),l))},Xr=function(e,t){var r;return function(){clearTimeout(r),r=setTimeout((function(){r=null,e()}),t)}},Qr=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=L(o(0),2),f=h[0],p=h[1],g=L(o(!1),2),v=g[0],_=g[1],b=l((function(e){return ot(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(){return w.current&&(w.current.addEventListener("scroll",Xr((function(){var e=Math.round(w.current.scrollLeft/w.current.scrollWidth*y);p(Math.abs(e))}),150)),0!==f&&Kr(f)),function(){w.current.removeEventListener("scroll",Xr)}}),[]),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 Kr(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(Jr,{noOfItems:y,perView:d,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=f-1;p(t),Kr(t,b,w,y)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),f<y){var t=f+1;p(t),Kr(t,b,w,y)}},selectedIndex:f,languageDirection:b})),r.length>d&&"none"!==m&&e.createElement($r,{indicatorItems:x,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),p(t),Kr(t,b,w,y)},selectedIndex:f,indicatorType:m}))};Qr.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},Qr.propTypes={children:b.isRequired,isArrow:y,isInfinite:y,interval:g,pauseOnHover:y,perView:g,slideIndicator:v};var eo=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,x=void 0===E?"":E,T=i.footerSlotConfig,k=void 0===T?{}:T,z=i.navigationArrows,C=void 0===z||z,N=i.slideIndicator,I=void 0===N?"none":N,j=i.isInfinite,S=void 0!==j&&j,O=k.footerSlot,A=h(r);if(A.length<1)return null;var M=c(),R=l((function(e){return ot(e,["qt","config"],{})})),H=Xt(r,R),P=L(o(1),2),B=P[0],F=P[1],D=function(e){return e?parseInt(e):1}(w),W=Jt(p),q=O?O():null;a((function(){var e=ot(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(Mr,{story:t,theme:p,border:v,key:r,config:i},e.createElement(jr,{config:i,story:t,aspectRatio:[[16,9]]}),e.createElement(Pr,{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(tr,{collection:r,collectionNameTemplate:b,collectionNameBorderColor:u}),A.length>4?e.createElement(Qr,{isArrow:C,perView:B,slideIndicator:I,isInfinite:S},U()):e.createElement("div",{className:"four-story-slider-m_story-grid__NcDMl"},U()),e.createElement(Ur,{collection:r,template:x,config:i,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(M,H)},qtConfig:R}),q))};eo.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})},eo.defaultProps={theme:"#ffffff",slotConfig:"story",border:""};var to,ro=(to=eo,function(t){return e.createElement(it.Provider,{value:t.config},e.createElement(to,t))});export{ro as default};
|