@quintype/arrow 3.2.0 → 3.2.1-arrow-chunking.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AlsoRead/index.js +1 -0
- package/AlternateCollectionFilter/index.js +1 -0
- package/AsideCollection/index.js +1 -0
- package/Attachment/index.js +1 -0
- package/Author/index.js +1 -0
- package/AuthorIntroductionCard/index.js +1 -0
- package/AuthorWithTime/index.js +1 -0
- package/AuthorsList/index.js +1 -0
- package/BigFact/index.js +1 -0
- package/BlockQuote/index.js +1 -0
- package/Blurb/index.js +1 -0
- package/CollectionFilter/index.js +1 -0
- package/CollectionName/index.js +1 -0
- package/ElevenStories/index.js +1 -0
- package/FourColFiveStories/index.js +1 -0
- package/FourColGrid/index.js +1 -0
- package/FourColSixteenStories/index.js +1 -0
- package/FourColTwelveStories/index.js +1 -0
- package/FourStorySlider/index.js +1 -0
- package/FourTabbedBigStorySlider/index.js +1 -0
- package/FullScreenSlider/index.js +1 -0
- package/HalfScreenSlider/index.js +1 -0
- package/Headline/index.js +1 -0
- package/HeroImage/index.js +1 -0
- package/Image/index.js +1 -0
- package/ImageGallery/index.js +1 -0
- package/ImageSlideshow/index.js +1 -0
- package/KeyEvents/index.js +1 -0
- package/ListComponent/index.js +1 -0
- package/ListicleStoryTemplate/index.js +1 -0
- package/Listicles/index.js +1 -0
- package/LiveBlogStoryTemplate/index.js +1 -0
- package/LoadmoreButton/index.js +1 -0
- package/MagazineEditions/index.js +1 -0
- package/MagazineHeaderCard/index.js +1 -0
- package/MagazineWidget/index.js +1 -0
- package/OneColStoryList/index.js +1 -0
- package/OpinionCollection/index.js +1 -0
- package/PageIntroductionCard/index.js +1 -0
- package/PhotoStoryTemplate/index.js +1 -0
- package/QuestionAnswer/index.js +1 -0
- package/Quote/index.js +1 -0
- package/Reference/index.js +1 -0
- package/ScrollSnap/index.js +1 -0
- package/SectionTag/index.js +1 -0
- package/SixColSixStories/index.js +1 -0
- package/SocialShareTemplate/index.js +1 -0
- package/StoryCard/index.js +1 -0
- package/StoryCollection/index.js +1 -0
- package/StoryElement/index.js +1 -0
- package/StoryElementCard/index.js +1 -0
- package/StorycardContent/index.js +1 -0
- package/Subheadline/index.js +1 -0
- package/Summary/index.js +1 -0
- package/TagIntroductionCard/index.js +1 -0
- package/Text/index.js +1 -0
- package/TextStoryTemplate/index.js +1 -0
- package/ThreeColFlexStories/index.js +1 -0
- package/ThreeColFourteenStories/index.js +1 -0
- package/ThreeColGrid/index.js +1 -0
- package/ThreeColSevenStory/index.js +1 -0
- package/ThreeColSixStories/index.js +1 -0
- package/ThreeColTwelveStories/index.js +1 -0
- package/TimeStamp/index.js +1 -0
- package/TwoColFourStories/index.js +1 -0
- package/TwoColFourStoryHighlight/index.js +1 -0
- package/TwoColSixStories/index.js +1 -0
- package/TwoColTenStoriesSidebar/index.js +1 -0
- package/TwoColThreeStories/index.js +1 -0
- package/Video/index.js +1 -0
- package/VideoStoryTemplate/index.js +1 -0
- package/cjs/index.js +1 -9
- package/esm/index.js +1 -9
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import{Link as a,ResponsiveImage as i,ResponsiveHeroImage as l,LinkBase as c,collectionToStories as s}from"@quintype/components";import{connect as u,useSelector as d,useDispatch as m}from"react-redux";import h from"react-timeago";var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g(e){var t={exports:{}};return e(t,t.exports),t.exports}var v=g((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})),b=p(g((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=v)&&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(" "):""}}))),_=t(),y=function(){return r(_)},w=Array.isArray,E="object"==typeof f&&f&&f.Object===Object&&f,x="object"==typeof self&&self&&self.Object===Object&&self,z=E||x||Function("return this")(),T=z.Symbol,L=Object.prototype,C=L.hasOwnProperty,j=L.toString,k=T?T.toStringTag:void 0;var N=function(e){var t=C.call(e,k),r=e[k];try{e[k]=void 0;var o=!0}catch(e){}var n=j.call(e);return o&&(t?e[k]=r:delete e[k]),n},O=Object.prototype.toString;var S=function(e){return O.call(e)},A=T?T.toStringTag:void 0;var I=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":A&&A in Object(e)?N(e):S(e)};var R=function(e){return null!=e&&"object"==typeof e};var M=function(e){return"symbol"==typeof e||R(e)&&"[object Symbol]"==I(e)},H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/;var P=function(e,t){if(w(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!M(e))||(B.test(e)||!H.test(e)||null!=t&&e in Object(t))};var F=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var D,W=function(e){if(!F(e))return!1;var t=I(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},q=z["__core-js_shared__"],G=(D=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";var U=function(e){return!!G&&G in e},Z=Function.prototype.toString;var J=function(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""},V=/^\[object .+?Constructor\]$/,Y=Function.prototype,$=Object.prototype,K=Y.toString,Q=$.hasOwnProperty,X=RegExp("^"+K.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ee=function(e){return!(!F(e)||U(e))&&(W(e)?X:V).test(J(e))};var te=function(e,t){return null==e?void 0:e[t]};var re=function(e,t){var r=te(e,t);return ee(r)?r:void 0},oe=re(Object,"create");var ne=function(){this.__data__=oe?oe(null):{},this.size=0};var ae=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ie=Object.prototype.hasOwnProperty;var le=function(e){var t=this.__data__;if(oe){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ie.call(t,e)?t[e]:void 0},ce=Object.prototype.hasOwnProperty;var se=function(e){var t=this.__data__;return oe?void 0!==t[e]:ce.call(t,e)};var ue=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=oe&&void 0===t?"__lodash_hash_undefined__":t,this};function de(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])}}de.prototype.clear=ne,de.prototype.delete=ae,de.prototype.get=le,de.prototype.has=se,de.prototype.set=ue;var me=de;var he=function(){this.__data__=[],this.size=0};var fe=function(e,t){return e===t||e!=e&&t!=t};var pe=function(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1},ge=Array.prototype.splice;var ve=function(e){var t=this.__data__,r=pe(t,e);return!(r<0)&&(r==t.length-1?t.pop():ge.call(t,r,1),--this.size,!0)};var be=function(e){var t=this.__data__,r=pe(t,e);return r<0?void 0:t[r][1]};var _e=function(e){return pe(this.__data__,e)>-1};var ye=function(e,t){var r=this.__data__,o=pe(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function we(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])}}we.prototype.clear=he,we.prototype.delete=ve,we.prototype.get=be,we.prototype.has=_e,we.prototype.set=ye;var Ee=we,xe=re(z,"Map");var ze=function(){this.size=0,this.__data__={hash:new me,map:new(xe||Ee),string:new me}};var Te=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Le=function(e,t){var r=e.__data__;return Te(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ce=function(e){var t=Le(this,e).delete(e);return this.size-=t?1:0,t};var je=function(e){return Le(this,e).get(e)};var ke=function(e){return Le(this,e).has(e)};var Ne=function(e,t){var r=Le(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Oe(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])}}Oe.prototype.clear=ze,Oe.prototype.delete=Ce,Oe.prototype.get=je,Oe.prototype.has=ke,Oe.prototype.set=Ne;var Se=Oe;function Ae(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(Ae.Cache||Se),r}Ae.Cache=Se;var Ie=Ae;var Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/\\(\\)?/g,He=function(e){var t=Ie(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(Re,(function(e,r,o,n){t.push(o?n.replace(Me,"$1"):r||e)})),t}));var Be=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},Pe=T?T.prototype:void 0,Fe=Pe?Pe.toString:void 0;var De=function e(t){if("string"==typeof t)return t;if(w(t))return Be(t,e)+"";if(M(t))return Fe?Fe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var We=function(e){return null==e?"":De(e)};var qe=function(e,t){return w(e)?e:P(e,t)?[e]:He(We(e))};var Ge=function(e){if("string"==typeof e||M(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ue=function(e,t){for(var r=0,o=(t=qe(t,e)).length;null!=e&&r<o;)e=e[Ge(t[r++])];return r&&r==o?e:void 0};var Ze=function(e,t,r){var o=null==e?void 0:Ue(e,t);return void 0===o?r:o};function Je(e){return(Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}g((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 j(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(k([])));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 z(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 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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function k(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(z.prototype),c(z.prototype,i,(function(){return this})),e.AsyncIterator=z,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new z(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=k,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;C(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:k(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 Ve=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 Ye=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"}),$e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ke=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Qe=function(e){return(e=We(e))&&e.replace($e,Ye).replace(Ke,"")},Xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var et=function(e){return e.match(Xe)||[]},tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var rt=function(e){return tt.test(e)},ot="\\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",nt="["+ot+"]",at="\\d+",it="[\\u2700-\\u27bf]",lt="[a-z\\xdf-\\xf6\\xf8-\\xff]",ct="[^\\ud800-\\udfff"+ot+at+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",mt="(?:"+lt+"|"+ct+")",ht="(?:"+dt+"|"+ct+")",ft="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",pt="[\\ufe0e\\ufe0f]?"+ft+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",st,ut].join("|")+")[\\ufe0e\\ufe0f]?"+ft+")*"),gt="(?:"+[it,st,ut].join("|")+")"+pt,vt=RegExp([dt+"?"+lt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[nt,dt,"$"].join("|")+")",ht+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[nt,dt+mt,"$"].join("|")+")",dt+"?"+mt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?: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_])",at,gt].join("|"),"g");var bt=function(e){return e.match(vt)||[]};var _t=function(e,t,r){return e=We(e),void 0===(t=r?void 0:t)?rt(e)?bt(e):et(e):e.match(t)||[]},yt=RegExp("['’]","g");var wt=function(e){return function(t){return Ve(_t(Qe(t).replace(yt,"")),e,"")}},Et=wt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),xt=wt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function zt(e,t,r,o,n){var a,i=Ze(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Et(g));var b,_=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,z=Tt(o),T=z;if(w&&(v=Ze(w,[xt(g)])||g),y){var L=z.includes("am"),C=y.am,j=void 0===C?"am":C,k=y.pm,N=void 0===k?"pm":k;T=(L?z.replace("am",j):z.replace("pm",N))||z}return"rtl"===x?(b=i?"".concat(T):"","".concat(p," ").concat(v,", ").concat(_," ").concat(b," ")):m?"".concat(v," ").concat(p,", ").concat(_):c?"".concat(T,", ").concat(p," ").concat(v," ").concat(_):(b=i?", ".concat(T):"","".concat(p," ").concat(v,", ").concat(_).concat(b))}(e,t,r,o,n):e>1?(a=Ze(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ze(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Tt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var Lt=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},Ct=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},jt={mobile:767,tablet:1024},kt=function(e){var t=Ze(jt,e);return!!t&&Ze(global,"document.documentElement.clientWidth")<=t},Nt=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:Ct(e),o=Lt(r)<155?"light":"dark";return o},Ot=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=Ze(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 St(){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?Ze(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 At=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ze(e,["story-template"])?Ze(e,["metadata","reference-url"],""):e.url||t},It=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?Ot(e,t):"/"},Rt={"./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"}},Mt=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,m=void 0===d||d,h=y()||{},f=Ze(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",g=m&&n&&Ot(n,i)||"",v=u||n.name||"",_=Nt(h.theme),w="h"+c,E=Ct(o),x=p.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",z=kt("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:x},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+b("collection ".concat(_," ").concat(p),Rt)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:E,fontSize:function(){if(z)switch(c){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(a,{href:g,"aria-label":"collection-name"},e.createElement(w,null,v)):e.createElement(w,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(E)}}):""))};Mt.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},Mt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Ht=u((function(e){return{config:Ze(e,["qt","config"],{})}}))(Mt);function Bt(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 Pt(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 Bt(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)?Bt(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 Ft=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"}))))};Ft.propTypes={width:o.object,height:o.object,iconColor:o.object};var Dt=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(Ft,null)))},Wt=function(t){var r=t.slug;return r?e.createElement(a,{href:r,"aria-label":"image-fallback"},Dt()):Dt()};Wt.propTypes={slug:o.string};var qt={"./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"}},Gt=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,m=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(y()||{}).fallbackImageUrl,v=void 0===g?"":g,_=d((function(e){return Ze(e,["qt","config","showPlaceholder"])}))?"placeholder":"",w=o?"":"with-padding",E="hero-image";u?E="right-padding":h&&(E="left-padding");var x=m?"right-padding-mob":"",z=function(e){var t=Pt(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},T=Pt(n,2),L=T[0],C=T[1],j=void 0===C?L:C,k=kt("mobile"),N=k?L:j,O=z(k?L:j),S=Ze(r,["hero-image-s3-key"])||Ze(r,["alternative","home","default","hero-image","hero-image-s3-key"]),A=function(){return S?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+b("image ".concat(_),qt)},e.createElement(l,{story:r,aspectRatio:N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+b("image ".concat(_),qt)},e.createElement(i,{slug:!p&&v,metadata:{},"aspect-ratio":N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:O+"%"},className:"arr--fallback-hero-image "+b("image ".concat(_),qt)},e.createElement(Wt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+b("".concat(E," ").concat(w," ").concat(x),qt)},A()):e.createElement(a,{"data-test-id":"arr--hero-image",href:At(r,"/".concat(r.slug)),externalLink:St(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+b("".concat(E," ").concat(w," ").concat(x),qt)},A()))};Gt.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},Gt.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var Ut=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"}))))))};Ut.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Zt=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)"})))))};Zt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.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:o.string,width:o.string,color:o.string,positionTop:o.string};var Vt=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"}))))};Vt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Yt=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(Ut,{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(Zt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Vt,{width:r,height:o,color:n,positionTop:i})}};Yt.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var $t={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Kt=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,i=void 0===n?{}:n,l=t.isLink,c=y()||{},s=i.iconColor,u=void 0===s?"#F7B500":s,d=i.iconStyle,m=void 0===d?"star":d,h=i.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ze(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ze(r,["access"]),v=p||r.headline,_="h"+o,w=Nt(c.theme),E=g?"wrapper":"",x="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+b(E,$t)},g&&e.createElement(Yt,{width:x,height:x,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"}}()}),l?e.createElement(a,{href:At(r,"/".concat(r.slug)),externalLink:St(r),"aria-label":"headline"},e.createElement(_,{className:b("headline ".concat(w),$t)},v)):e.createElement(_,{className:b("headline ".concat(w),$t)},v))};Kt.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},Kt.defaultProps={headerLevel:"6",isLink:!0};var Qt={"./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,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=y()||{},u=Ze(s,["showSection"],!0),d=Ze(s,["sectionTagTemplate"]),m=Ze(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?l:s.theme,g=c?"light":Nt(p),v=Ct(l),_=h.includes(n)?"section section-".concat(n):"section";return d&&(_=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(a,{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 "+b("".concat(g," ").concat(_),Qt)},_.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};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 er={"./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"}},tr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=y()||{},l=Ze(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=Nt(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+b("time ".concat(u," ").concat(s),er)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(h,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,zt,a))))};tr.propTypes={story:o.object,isBottom:o.bool,config:o.object};var rr={"./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"}},or=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,l=t.prefix,c=void 0===l?"":l,s=t.config,u=void 0===s?{}:s,d=y()||{},m=Ze(d,["showAuthor"],!0),h=Ze(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",w=Nt(d.theme),E=Ze(u,["mountAt"],""),x=function(t){return c?e.createElement("div",{className:"arr-author-prefix "+b("prefix ".concat(w),rr)},c):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:b("author-image ".concat(t,"-image"),rr)},e.createElement("figure",null,p?e.createElement(i,{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(a,{href:"".concat(E,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+b("author ".concat(_),rr)},x("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+b("author-name ".concat(w),rr)},g||r["author-name"]),!c&&x("rtl")))};var nr=u((function(e){return{config:Ze(e,["qt","config"],{})}}))(or);or.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},or.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ar={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ir=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:b(l,ar)},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)"})))};ir.propTypes={color:o.string,width:o.string,height:o.string};var lr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},cr=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:b(l,lr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};cr.propTypes={color:o.string,width:o.string,height:o.string};var sr={"./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"}},ur=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=y()||{},c=Ze(l,["showReadTime"])||Ze(n,["showReadTime"],!0),s=Ze(r,["read-time"],0),u=i?"light":Nt(l.theme);if(!c||!s)return null;var d=Ze(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+b("read-time-wrapper ".concat(u),sr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ir,{color:u})),e.createElement("span",null,s," ",d)))};ur.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var dr={"./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,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=y()||{},d=Ze(c,["showAuthor"],Ze(u,["showAuthor"],!0)),m=Ze(u,["showTime"],!0),h=Ze(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":Nt(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+b("".concat(p),dr)},"divider"===o?e.createElement(cr,{color:g}):e.createElement(ir,{color:g})),e.createElement(tr,{story:r,config:c}),h&&e.createElement(ur,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+b("author-time-wrapper ".concat(f),dr)},d?e.createElement(e.Fragment,null,e.createElement(nr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};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 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"}},fr=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=Nt(n),d=Ct(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 "+b("wrapper ".concat(m," ").concat(h),hr)},o||e.createElement(pr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},pr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Ct(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(Xt,{story:r,borderColor:l}),e.createElement(Kt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(mr,{config:s,story:r}))};pr.propTypes={story:o.object.isRequired,border:o.string,theme:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object},fr.propTypes={story:o.object.isRequired,children:o.node,theme:o.string,border:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object};var gr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},vr=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=y()||{};if(!(c||Ze(u,["showSubheadline"],!0)))return null;var d=Nt(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)+" ":"")+b("subheadline ".concat(d),gr)},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))};vr.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},vr.defaultProps={forceShowAtom:!1,showFullContent:!1};var br={"./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"}},_r=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"===Je(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):"",w="default-card";a?w="horizontal-card":_&&(w="horizontal-image-last");var E=c?"backgroung-img":"",x=s?"content-overlap":"",z=Nt(u),T=m?"horizontal-mob":"",L=e.createElement(yr,{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:z},className:"arr--story-card "+b("card ".concat(w," ").concat(y," ").concat(z," ").concat(E," ").concat(x," ").concat(T),br)},n||L)},yr=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=Ct(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Gt,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Gt,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Gt,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+b("content ".concat(p),br)},e.createElement(Xt,{story:r,borderColor:g}),e.createElement(Kt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(mr,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(vr,{story:r})))};function wr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}yr.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},_r.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},_r.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Er={"./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 xr(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 zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xr(Object(r),!0).forEach((function(t){wr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Tr=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,s=t.navigate,u=t.qtConfig,d=o.showButton,m=void 0===d||d,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(!m)return null;var y=Nt(g),w=_?"/".concat(_):It(n,zr(zr({},u),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+b("button ".concat(y," default"),Er)},f):e.createElement(c,{href:w,navigateTo:s,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+b("button ".concat(y," default"),Er)},f))};Tr.propTypes={collection:o.object,template:o.string,config:o.object,onClick:o.func,navigate:o.func,qtConfig:o.object};var Lr,Cr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=s(r),i=n.border,l=void 0===i?"":i,c=n.borderColor,u=void 0===c?"":c,h=n.collectionNameBorderColor,f=void 0===h?"":h,p=n.theme,g=void 0===p?"":p,v=n.collectionNameTemplate,b=void 0===v?"":v,_=n.footerSlotConfig,y=void 0===_?{}:_,w=n.footerButton,E=void 0===w?"":w,x=y.footerSlot;if(a.length<1)return null;var z=m(),T=d((function(e){return Ze(e,["qt","config"],{})})),L=It(r,T),C=Nt(g),j=x?x():null;return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"two-col-three-stories",style:{backgroundColor:g,color:C}},e.createElement("div",{className:"two-col-three-story-m_two-col-three-story__2RBJq"},e.createElement(Ht,{collection:r,collectionNameTemplate:b,collectionNameBorderColor:f}),e.createElement("div",{className:"two-col-three-story-m_wrapper__3gGEO"},e.createElement("div",{className:"two-col-three-story-m_first-card__2J2Ea"},e.createElement(_r,{story:a[0],theme:g,border:l,bgImgContentOverlap:!0,headerLevel:"2",aspectRatio:[[16,9],[16,9]],config:n},e.createElement(Gt,{story:a[0],aspectRatio:[[16,9],[16,9]]}),e.createElement(fr,{story:a[0],headerLevel:"2",border:l,theme:g,borderColor:u,config:n}))),e.createElement("div",null,a.slice(1,3).map((function(t,r){return 1===r?e.createElement("div",{key:r},e.createElement(_r,{story:t,border:l,theme:g,isHorizontalMobile:!0,config:n},e.createElement(Gt,{story:t,isHorizontalMobile:!0}),e.createElement(fr,{theme:g,border:l,story:t,isHorizontalMobile:!0,borderColor:u,config:n}))):e.createElement("div",{className:"two-col-three-story-m_storycard__3Gmsw",key:r},e.createElement(_r,{story:t,border:l,theme:g,isHorizontalMobile:!0,config:n},e.createElement(Gt,{story:t,isHorizontalMobile:!0}),e.createElement(fr,{theme:g,border:l,story:t,isHorizontalMobile:!0,borderColor:u,config:n})))})))),e.createElement(Tr,{template:E,collection:r,config:n,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(z,L)},qtConfig:T}),j))},jr=(Lr=Cr,function(t){return e.createElement(_.Provider,{value:t.config},e.createElement(Lr,t))});Cr.propTypes={collection:o.object.isRequired,config:o.shape({borderColor:o.string,theme:o.string,border:o.string,footerButton:o.string,collectionNameTemplate:o.string,collectionNameBorderColor:o.string})};export{Cr as TwoColThreeStories,jr as default};
|
package/Video/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t from"react";import{StoryElement as r}from"@quintype/components";import e from"prop-types";import"react-timeago";function n(){return(n=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t}).apply(this,arguments)}function o(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||(o[e]=t[e]);return o}(t,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}var i=["element","render"],a=function(r){return function(e){var a=e.element,c=e.render,u=o(e,i);return a?c&&"function"==typeof c?c(e):t.createElement(r,n({},u,{element:a})):null}};a.propTypes={StoryElement:e.element};var c,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};(function(t){var r=function(t){var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new k(n||[]);return i._invoke=function(t,r,e){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return T()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=E(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===f)throw n=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var u=l(t,r,e);if("normal"===u.type){if(n=e.done?v:h,u.arg===y)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=v,e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function l(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",y={};function d(){}function g(){}function m(){}var _={};u(_,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(P([])));w&&w!==e&&n.call(w,i)&&(_=w);var O=m.prototype=d.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function x(t,r){function e(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return e("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function L(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function S(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function P(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:T}}function T(){return{value:r,done:!0}}return g.prototype=m,u(O,"constructor",m),u(m,"constructor",g),g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},j(x.prototype),u(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new x(s(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(O),u(O,c,"Generator"),u(O,i,(function(){return this})),u(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=P,k.prototype={constructor:k,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),y},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),y}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}})(c={exports:{}},c.exports);var s="object"==typeof u&&u&&u.Object===Object&&u,l="object"==typeof self&&self&&self.Object===Object&&self,f=s||l||Function("return this")(),h=f.Symbol,p=Object.prototype,v=p.hasOwnProperty,y=p.toString,d=h?h.toStringTag:void 0;var g=function(t){var r=v.call(t,d),e=t[d];try{t[d]=void 0;var n=!0}catch(t){}var o=y.call(t);return n&&(r?t[d]=e:delete t[d]),o},m=Object.prototype.toString;var _=function(t){return m.call(t)},b=h?h.toStringTag:void 0;var w=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":b&&b in Object(t)?g(t):_(t)};var O=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var j,x=function(t){if(!O(t))return!1;var r=w(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},E=f["__core-js_shared__"],L=(j=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||""))?"Symbol(src)_1."+j:"";var S=function(t){return!!L&&L in t},k=Function.prototype.toString;var P=function(t){if(null!=t){try{return k.call(t)}catch(t){}try{return t+""}catch(t){}}return""},T=/^\[object .+?Constructor\]$/,z=Function.prototype,F=Object.prototype,N=z.toString,I=F.hasOwnProperty,G=RegExp("^"+N.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var C=function(t){return!(!O(t)||S(t))&&(x(t)?G:T).test(P(t))};var $=function(t,r){return null==t?void 0:t[r]};var A=function(t,r){var e=$(t,r);return C(e)?e:void 0},R=A(Object,"create");var Y=function(){this.__data__=R?R(null):{},this.size=0};var M=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},q=Object.prototype.hasOwnProperty;var U=function(t){var r=this.__data__;if(R){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return q.call(r,t)?r[t]:void 0},W=Object.prototype.hasOwnProperty;var B=function(t){var r=this.__data__;return R?void 0!==r[t]:W.call(r,t)};var D=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=R&&void 0===r?"__lodash_hash_undefined__":r,this};function H(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}H.prototype.clear=Y,H.prototype.delete=M,H.prototype.get=U,H.prototype.has=B,H.prototype.set=D;var J=H;var K=function(){this.__data__=[],this.size=0};var Q=function(t,r){return t===r||t!=t&&r!=r};var V=function(t,r){for(var e=t.length;e--;)if(Q(t[e][0],r))return e;return-1},X=Array.prototype.splice;var Z=function(t){var r=this.__data__,e=V(r,t);return!(e<0)&&(e==r.length-1?r.pop():X.call(r,e,1),--this.size,!0)};var tt=function(t){var r=this.__data__,e=V(r,t);return e<0?void 0:r[e][1]};var rt=function(t){return V(this.__data__,t)>-1};var et=function(t,r){var e=this.__data__,n=V(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function nt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}nt.prototype.clear=K,nt.prototype.delete=Z,nt.prototype.get=tt,nt.prototype.has=rt,nt.prototype.set=et;var ot=nt,it=A(f,"Map");var at=function(){this.size=0,this.__data__={hash:new J,map:new(it||ot),string:new J}};var ct=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var ut=function(t,r){var e=t.__data__;return ct(r)?e["string"==typeof r?"string":"hash"]:e.map};var st=function(t){var r=ut(this,t).delete(t);return this.size-=r?1:0,r};var lt=function(t){return ut(this,t).get(t)};var ft=function(t){return ut(this,t).has(t)};var ht=function(t,r){var e=ut(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function pt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}pt.prototype.clear=at,pt.prototype.delete=st,pt.prototype.get=lt,pt.prototype.has=ft,pt.prototype.set=ht;var vt=pt;function yt(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return e.cache=i.set(o,a)||i,a};return e.cache=new(yt.Cache||vt),e}yt.Cache=vt;var dt=yt;var gt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/\\(\\)?/g;(function(t){var r=dt(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache})((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(gt,(function(t,e,n,o){r.push(n?o.replace(mt,"$1"):e||t)})),r}));var _t=h?h.prototype:void 0;_t&&_t.toString;var bt=e.shape({"sketches-host":e.string,"cdn-name":e.string,"cdn-image":e.string}),wt=e.shape({headline:e.string,"last-published-at":e.number,subheadline:e.string}),Ot=["element","story","config","loadIframeOnClick"],jt=function(e){var i=e.element;e.story,e.config;var a=e.loadIframeOnClick,c=void 0!==a&&a,u=o(e,Ot);return t.createElement("div",n({className:"video-m_container__MYuWI "+(u&&u.className||"")},u,{"data-test-id":"video"}),t.createElement(r,{element:i,loadIframeOnClick:c}))};jt.propTypes={element:e.object,story:wt,config:bt,loadIframeOnClick:e.bool};var xt=a(jt);export{xt as Video};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Link as e,StoryElement as t,ResponsiveImage as r,ResponsiveHeroImage as a,LinkBase as o,LazyLoadImages as n,SocialShare as i}from"@quintype/components";import l,{PropTypes as c,string as s,number as m,func as d,array as u,bool as p}from"prop-types";import h,{useState as _,useEffect as f,createContext as g,useContext as v,Suspense as y,lazy as b,useRef as w}from"react";import E from"react-timeago";import{connect as k,useSelector as x}from"react-redux";function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}var C="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function T(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function j(e){var t={exports:{}};return e(t,t.exports),t.exports}var O=j((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})),I=T(j((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=O)&&r.__esModule?r:{default:r};var o=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var n=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?a.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,m=void 0===s?a.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 n=e.split("."),i=n[0],l=n[1],c=r||a.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:o("CSS module does not exist: "+l,c):o("CSS module import does not exist: "+i,c):o("Invalid style name: "+e,c)}(e,t,c);if(0===n.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(n.length>1){if(!m)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 n=r||a.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?o("Could not resolve the styleName '"+e+"'.",n):t[i[0]][e]}(e,t,c)}var r=t[n[0]];return r[e]?r[e]:o("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),z=Array.isArray,L="object"==typeof C&&C&&C.Object===Object&&C,S="object"==typeof self&&self&&self.Object===Object&&self,q=L||S||Function("return this")(),A=q.Symbol,M=Object.prototype,P=M.hasOwnProperty,R=M.toString,B=A?A.toStringTag:void 0;var H=function(e){var t=P.call(e,B),r=e[B];try{e[B]=void 0;var a=!0}catch(e){}var o=R.call(e);return a&&(t?e[B]=r:delete e[B]),o},U=Object.prototype.toString;var F=function(e){return U.call(e)},D=A?A.toStringTag:void 0;var V=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":D&&D in Object(e)?H(e):F(e)};var W=function(e){return null!=e&&"object"==typeof e};var Z=function(e){return"symbol"==typeof e||W(e)&&"[object Symbol]"==V(e)},K=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/;var Y=function(e,t){if(z(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Z(e))||(G.test(e)||!K.test(e)||null!=t&&e in Object(t))};var J=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var Q,X=function(e){if(!J(e))return!1;var t=V(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},$=q["__core-js_shared__"],ee=(Q=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+Q:"";var te=function(e){return!!ee&&ee in e},re=Function.prototype.toString;var ae=function(e){if(null!=e){try{return re.call(e)}catch(e){}try{return e+""}catch(e){}}return""},oe=/^\[object .+?Constructor\]$/,ne=Function.prototype,ie=Object.prototype,le=ne.toString,ce=ie.hasOwnProperty,se=RegExp("^"+le.call(ce).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var me=function(e){return!(!J(e)||te(e))&&(X(e)?se:oe).test(ae(e))};var de=function(e,t){return null==e?void 0:e[t]};var ue=function(e,t){var r=de(e,t);return me(r)?r:void 0},pe=ue(Object,"create");var he=function(){this.__data__=pe?pe(null):{},this.size=0};var _e=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},fe=Object.prototype.hasOwnProperty;var ge=function(e){var t=this.__data__;if(pe){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return fe.call(t,e)?t[e]:void 0},ve=Object.prototype.hasOwnProperty;var ye=function(e){var t=this.__data__;return pe?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]=pe&&void 0===t?"__lodash_hash_undefined__":t,this};function we(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}we.prototype.clear=he,we.prototype.delete=_e,we.prototype.get=ge,we.prototype.has=ye,we.prototype.set=be;var Ee=we;var ke=function(){this.__data__=[],this.size=0};var xe=function(e,t){return e===t||e!=e&&t!=t};var Ne=function(e,t){for(var r=e.length;r--;)if(xe(e[r][0],t))return r;return-1},Ce=Array.prototype.splice;var Te=function(e){var t=this.__data__,r=Ne(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ce.call(t,r,1),--this.size,!0)};var je=function(e){var t=this.__data__,r=Ne(t,e);return r<0?void 0:t[r][1]};var Oe=function(e){return Ne(this.__data__,e)>-1};var Ie=function(e,t){var r=this.__data__,a=Ne(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this};function ze(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}ze.prototype.clear=ke,ze.prototype.delete=Te,ze.prototype.get=je,ze.prototype.has=Oe,ze.prototype.set=Ie;var Le=ze,Se=ue(q,"Map");var qe=function(){this.size=0,this.__data__={hash:new Ee,map:new(Se||Le),string:new Ee}};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 Pe=function(e){var t=Me(this,e).delete(e);return this.size-=t?1:0,t};var Re=function(e){return Me(this,e).get(e)};var Be=function(e){return Me(this,e).has(e)};var He=function(e,t){var r=Me(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this};function Ue(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}Ue.prototype.clear=qe,Ue.prototype.delete=Pe,Ue.prototype.get=Re,Ue.prototype.has=Be,Ue.prototype.set=He;var Fe=Ue;function De(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var a=arguments,o=t?t.apply(this,a):a[0],n=r.cache;if(n.has(o))return n.get(o);var i=e.apply(this,a);return r.cache=n.set(o,i)||n,i};return r.cache=new(De.Cache||Fe),r}De.Cache=Fe;var Ve=De;var We=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ze=/\\(\\)?/g,Ke=function(e){var t=Ve(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(We,(function(e,r,a,o){t.push(a?o.replace(Ze,"$1"):r||e)})),t}));var Ge=function(e,t){for(var r=-1,a=null==e?0:e.length,o=Array(a);++r<a;)o[r]=t(e[r],r,e);return o},Ye=A?A.prototype:void 0,Je=Ye?Ye.toString:void 0;var Qe=function e(t){if("string"==typeof t)return t;if(z(t))return Ge(t,e)+"";if(Z(t))return Je?Je.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Xe=function(e){return null==e?"":Qe(e)};var $e=function(e,t){return z(e)?e:Y(e,t)?[e]:Ke(Xe(e))};var et=function(e){if("string"==typeof e||Z(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var tt=function(e,t){for(var r=0,a=(t=$e(t,e)).length;null!=e&&r<a;)e=e[et(t[r++])];return r&&r==a?e:void 0};var rt=function(e,t,r){var a=null==e?void 0:tt(e,t);return void 0===a?r:a};function at(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function ot(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 a,o,n=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return at(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)?at(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 nt=function(e){var t=e.color,r=void 0===t?"#1CB7EB":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("path",{fill:r,d:"M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"}))};nt.propTypes={color:l.string};var it=function(e){var t=e.color,r=void 0===t?"#3B5998":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("path",{fill:r,d:"M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"}))};it.propTypes={color:l.string};var lt=function(e){var t=e.color,r=void 0===t?"#0077B5":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("path",{fill:r,d:"M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"}))};lt.propTypes={color:l.string};var ct=function(e){var t=e.color,r=void 0===t?"#4AC959":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("path",{fill:r,fillRule:"evenodd",d:"M18.404 5.505a9.457 9.457 0 012.02 2.96 8.587 8.587 0 01.715 3.449 8.665 8.665 0 01-1.245 4.53 9.282 9.282 0 01-3.347 3.307 8.894 8.894 0 01-4.552 1.225 8.835 8.835 0 01-4.327-1.102l-4.817 1.265 1.307-4.694a8.775 8.775 0 01-1.225-4.531 8.77 8.77 0 011.225-4.531 9.17 9.17 0 013.306-3.307 8.781 8.781 0 014.531-1.224c1.198 0 2.347.23 3.45.693a9.515 9.515 0 012.959 1.96zm-6.409 13.96c1.36 0 2.626-.34 3.797-1.02a7.75 7.75 0 002.796-2.756 7.202 7.202 0 001.04-3.775c0-.98-.203-1.933-.612-2.858a8.088 8.088 0 00-1.694-2.47 7.565 7.565 0 00-2.449-1.653 7.405 7.405 0 00-2.878-.571c-1.36 0-2.62.34-3.776 1.02a7.646 7.646 0 00-2.755 2.756 7.316 7.316 0 00-1.02 3.776c0 1.442.394 2.775 1.183 4l.164.286-.776 2.775 2.857-.734.286.163a7.275 7.275 0 003.837 1.061zm4.123-5.674l.123.082c.19.082.299.15.326.204.027.054.034.19.02.408a2.11 2.11 0 01-.163.674c-.095.231-.313.462-.653.694-.34.231-.633.36-.878.388-.38.054-.748.054-1.102 0-.408-.082-.952-.273-1.632-.572-1.388-.599-2.654-1.714-3.797-3.347l-.081-.082c-.6-.843-.898-1.62-.898-2.327 0-.707.244-1.32.734-1.837l.041-.04c.19-.19.395-.286.612-.286h.49c.11 0 .198.02.266.061.068.041.129.143.183.306l.694 1.674c.082.163.095.3.041.408a2.832 2.832 0 01-.53.735.917.917 0 00-.205.265c-.027.068 0 .143.082.225.38.707.83 1.265 1.347 1.673.381.3.952.64 1.714 1.02.218.11.381.096.49-.04.354-.408.599-.707.735-.898.054-.109.123-.163.204-.163.082 0 .177.013.286.04.218.082.735.327 1.551.735z"}))};ct.propTypes={color:l.string};var st=function(e){var t=e.fbUrl,r=e.twitterUrl,a=e.linkedinUrl,o=e.whatsappUrl,n=e.iconColor,i=e.iconType,l=function(e,t){switch(t){case"plain-color-svg":return{facebook:h.createElement(it,{key:t}),twitter:h.createElement(nt,{key:t}),linkedin:h.createElement(lt,{key:t}),whatsapp:h.createElement(ct,{key:t})};default:return{facebook:h.createElement(it,{color:e,key:t}),twitter:h.createElement(nt,{color:e,key:t}),linkedin:h.createElement(lt,{color:e,key:t}),whatsapp:h.createElement(ct,{color:e,key:t})}}}(n,void 0===i?"plain-svg":i);return[{name:"facebook",url:t,icon:l.facebook,text:"Facebook",bgColor:"#4e71a8",alt:"fb icon"},{name:"twitter",url:r,icon:l.twitter,text:"Twitter",bgColor:"#1db7eb",alt:"twitter icon"},{name:"linkedin",url:a,icon:l.linkedin,text:"LinkedIn",bgColor:"#0077B5",alt:"linkedin icon"},{name:"whatsapp",url:o,icon:l.whatsapp,text:"Whatsapp",bgColor:"#25d366",alt:"whatsapp share"}]},mt=function(e){var t=e.color,r=void 0===t?"#333":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("g",{fill:"none",stroke:r,strokeLinecap:"square",strokeWidth:"2"},h.createElement("path",{d:"M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"})))};function dt(e,t,r,a,o,n,i){try{var l=e[n](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(a,o)}function ut(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var n=e.apply(t,r);function i(e){dt(n,a,o,i,l,"next",e)}function l(e){dt(n,a,o,i,l,"throw",e)}i(void 0)}))}}function pt(e){return(pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}mt.propTypes={color:l.string};var ht=j((function(e){var t=function(e){var t,r=Object.prototype,a=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.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,a){var o=t&&t.prototype instanceof f?t:f,n=Object.create(o.prototype),i=new j(a||[]);return n._invoke=function(e,t,r){var a=d;return function(o,n){if(a===p)throw new Error("Generator is already running");if(a===h){if("throw"===o)throw n;return I()}for(r.method=o,r.arg=n;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===_)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=p;var c=m(e,t,r);if("normal"===c.type){if(a=r.done?h:u,c.arg===_)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),n}function m(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",u="suspendedYield",p="executing",h="completed",_={};function f(){}function g(){}function v(){}var y={};c(y,n,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(O([])));w&&w!==r&&a.call(w,n)&&(y=w);var E=v.prototype=f.prototype=Object.create(y);function k(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function r(o,n,i,l){var c=m(e[o],e,n);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&a.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 o;this._invoke=function(e,a){function n(){return new t((function(t,o){r(e,a,t,o)}))}return o=o?o.then(n,n):n()}}function N(e,r){var a=e.iterator[r.method];if(a===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method))return _;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var o=m(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,_;var n=o.arg;return n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,_):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,_)}function C(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 T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function O(e){if(e){var r=e[n];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(a.call(e,o))return r.value=e[o],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 g.prototype=v,c(E,"constructor",v),c(v,"constructor",g),g.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},k(x.prototype),c(x.prototype,i,(function(){return this})),e.AsyncIterator=x,e.async=function(t,r,a,o,n){void 0===n&&(n=Promise);var i=new x(s(t,r,a,o),n);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},k(E),c(E,l,"Generator"),c(E,n,(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 a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},e.values=O,j.prototype={constructor:j,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(T),!e)for(var r in this)"t"===r.charAt(0)&&a.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 o(a,o){return l.type="throw",l.arg=e,r.next=a,o&&(r.method="next",r.arg=t),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,_):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),_},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),T(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var o=a.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:O(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),_}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var _t=function(e,t,r,a){var o=-1,n=null==e?0:e.length;for(a&&n&&(r=e[++o]);++o<n;)r=t(r,e[o],o,e);return r};var ft=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"}),gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var yt=function(e){return(e=Xe(e))&&e.replace(gt,ft).replace(vt,"")},bt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var wt=function(e){return e.match(bt)||[]},Et=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var kt=function(e){return Et.test(e)},xt="\\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",Nt="["+xt+"]",Ct="\\d+",Tt="[\\u2700-\\u27bf]",jt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ot="[^\\ud800-\\udfff"+xt+Ct+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",zt="[\\ud800-\\udbff][\\udc00-\\udfff]",Lt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",St="(?:"+jt+"|"+Ot+")",qt="(?:"+Lt+"|"+Ot+")",At="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Mt="[\\ufe0e\\ufe0f]?"+At+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",It,zt].join("|")+")[\\ufe0e\\ufe0f]?"+At+")*"),Pt="(?:"+[Tt,It,zt].join("|")+")"+Mt,Rt=RegExp([Lt+"?"+jt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Nt,Lt,"$"].join("|")+")",qt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Nt,Lt+St,"$"].join("|")+")",Lt+"?"+St+"+(?:['’](?: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_])",Ct,Pt].join("|"),"g");var Bt=function(e){return e.match(Rt)||[]};var Ht=function(e,t,r){return e=Xe(e),void 0===(t=r?void 0:t)?kt(e)?Bt(e):wt(e):e.match(t)||[]},Ut=RegExp("['’]","g");var Ft=function(e){return function(t){return _t(Ht(yt(t).replace(Ut,"")),e,"")}},Dt=Ft((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Vt=Ft((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var Wt=function(e,t,r,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},n=o.showTime,i=void 0!==n&&n,l=o.isTimeFirst,c=void 0!==l&&l,s=o.isUpperCase,m=void 0!==s&&s,d=o.disableMeridiem,u=void 0!==d&&d,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=new Date(a),_=h.getDate().toString().padStart(2,0),f=p[h.getMonth()],g=f;m&&(g=Dt(f));var v,y=h.getFullYear(),b=o.localizedMeridiem,w=o.localizedMonths,E=o.direction,k=void 0===E?"ltr":E,x=Kt(a),N=x;if(w&&(g=rt(w,[Vt(f)])||f),b){var C=x.includes("am"),T=b.am,j=void 0===T?"am":T,O=b.pm,I=void 0===O?"pm":O;N=(C?x.replace("am",j):x.replace("pm",I))||x}return"rtl"===k?(v=i?"".concat(N):"","".concat(_," ").concat(g,", ").concat(y," ").concat(v," ")):u?"".concat(g," ").concat(_,", ").concat(y):c?"".concat(N,", ").concat(_," ").concat(g," ").concat(y):(v=i?", ".concat(N):"","".concat(_," ").concat(g,", ").concat(y).concat(v))};function Zt(e,t,r,a,o){var n,i=rt(o,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Wt(e,t,r,a,o):e>1?(n=rt(o,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(n," ").concat(i)):(n=rt(o,["localizedPublishTime",t])||t,"".concat(e," ").concat(n," ").concat(i," "))}function Kt(e){var t=new Date(e),r=t.getHours(),a=t.getMinutes(),o=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(a=a<10?"0"+a:a)+" "+o}var Gt=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},Yt=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},Jt={mobile:767,tablet:1024},Qt=function(e){var t=rt(Jt,e);return!!t&&rt(global,"document.documentElement.clientWidth")<=t},Xt=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:Yt(e),a=Gt(r)<155?"light":"dark";return a},$t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,a=void 0===r?"":r,o=t.isArchivePage,n=void 0!==o&&o;if(n)return"/magazine/archive/".concat(a);if(a)return"/magazine/".concat(a,"/").concat(e.slug);var i="section"===e.template;if(i){var l=rt(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 er(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,a=e.metadata,o=void 0===a?{}:a;return"news-elsewhere"===r?rt(o,["reference-url"],""):""}var tr=function(e){var t=e,r=e.match(/(<a).*?(>)/g);return r&&r.forEach((function(e){/target=/g.test(e)||(t=t.replace(e,"<a aria-label='content' target='_blank'".concat(e.substring(2))))})),t},rr=function(e){return null==e||"object"===pt(e)&&0===Object.entries(e).length&&e.constructor===Object||"string"==typeof e&&0===e.trim().length},ar=l.shape({"sketches-host":l.string,"cdn-name":l.string,"cdn-image":l.string}),or=l.shape({headline:l.string,"last-published-at":l.number,subheadline:l.string}),nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===rt(e,["story-template"])?rt(e,["metadata","reference-url"],""):e.url||t},ir=function(){var e=ut(ht.mark((function e(t){var r,a,o=arguments;return ht.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:"",e.prev=1,e.next=4,fetch("".concat(r,"/api/v1/collections/").concat(t,"?item-type=story&limit=6"));case 4:return e.next=6,e.sent.json();case 6:return a=e.sent,e.abrupt("return",a);case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),lr=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return h.createElement(E,{date:e,formatter:function(e,a,o,n){return t(e,a,o,n,r)}})},cr={"./social-share-popup.m.css":{"share-popup-wrapper":"social-share-popup-m_share-popup-wrapper__GEJqD",light:"social-share-popup-m_light__gQmxf",dark:"social-share-popup-m_dark__26Igp","share-popup":"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD","social-wrapper":"social-share-popup-m_social-wrapper__1lPzr","social-icon-wrapper":"social-share-popup-m_social-icon-wrapper__36jyV",wrapper:"social-share-popup-m_wrapper__3Ytce","top-bar":"social-share-popup-m_top-bar__174Um","share-text":"social-share-popup-m_share-text__19E-F",close:"social-share-popup-m_close__3k-Hj","social-icon":"social-share-popup-m_social-icon__2a4nT","social-text":"social-share-popup-m_social-text__1QPXb"}},sr=function(e){var t=e.fbUrl,r=void 0===t?"":t,a=e.twitterUrl,o=void 0===a?"":a,n=e.linkedinUrl,i=void 0===n?"":n,l=e.whatsappUrl,c=void 0===l?"":l,s=e.theme,m=e.closePopup,d=void 0===m?"":m,u=e.iconType,p=void 0===u?"plain-color-svg":u,_=Xt(s),f="dark"===_?"#000000":"#ffffff",g=st({fbUrl:r,twitterUrl:o,linkedinUrl:i,whatsappUrl:c,iconColor:f,iconType:p});return h.createElement("div",{className:I("share-popup-wrapper ".concat(_),cr)},h.createElement("div",{className:"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"},h.createElement("div",{className:"social-share-popup-m_top-bar__174Um"},h.createElement("span",{className:"social-share-popup-m_share-text__19E-F"},"Share via"),h.createElement("span",{className:"social-share-popup-m_close__3k-Hj",onClick:d},h.createElement(mt,{color:f}))),h.createElement("ul",{className:"social-share-popup-m_wrapper__3Ytce"},g.map((function(e,t){var r=e.url,a=e.icon,o=e.text,n=e.bgColor;return e.alt,function(e,t,r,a){return e?h.createElement("li",{className:"social-share-popup-m_social-icon-wrapper__36jyV","data-testid":r,key:"popup-item-".concat(a)},h.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"social-share-popup-m_social-wrapper__1lPzr","aria-label":"social-icon"},t,h.createElement("span",{className:"social-share-popup-m_social-text__1QPXb"},r))):null}(r,a,o,n)})))))};sr.propTypes={fbUrl:l.string,twitterUrl:l.string,linkedinUrl:l.string,whatsappUrl:l.string,grey:l.string,primaryColor:l.string,closePopup:l.bool,theme:l.string,iconType:l.string};var mr=function(e){var t=e.color,r=void 0===t?"#0D0D0D":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("path",{fill:r,fillRule:"evenodd",d:"M15.843 3.189c-1.478 0-2.689 1.239-2.689 2.75 0 .293.046.58.13.846L8.844 9.31a2.638 2.638 0 00-1.687-.621c-1.477 0-2.688 1.238-2.688 2.75 0 1.51 1.21 2.75 2.688 2.75.638 0 1.224-.231 1.687-.615l4.446 2.525a2.778 2.778 0 00-.136.84c0 1.51 1.211 2.75 2.689 2.75 1.477 0 2.688-1.24 2.688-2.75 0-1.512-1.21-2.75-2.688-2.75-.742 0-1.419.317-1.907.82l-4.323-2.46a2.763 2.763 0 000-2.221l4.317-2.459c.488.506 1.168.82 1.913.82 1.477 0 2.688-1.239 2.688-2.75s-1.21-2.75-2.688-2.75z"}))};mr.propTypes={color:l.string};var dr=function(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var n=Array(o);++a<o;)n[a]=e[a+t];return n};var ur=function(e,t,r){var a=e.length;return r=void 0===r?a:r,!t&&r>=a?e:dr(e,t,r)},pr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var hr=function(e){return pr.test(e)};var _r=function(e){return e.split("")},fr="[\\ud800-\\udfff]",gr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",vr="\\ud83c[\\udffb-\\udfff]",yr="[^\\ud800-\\udfff]",br="(?:\\ud83c[\\udde6-\\uddff]){2}",wr="[\\ud800-\\udbff][\\udc00-\\udfff]",Er="(?:"+gr+"|"+vr+")"+"?",kr="[\\ufe0e\\ufe0f]?"+Er+("(?:\\u200d(?:"+[yr,br,wr].join("|")+")[\\ufe0e\\ufe0f]?"+Er+")*"),xr="(?:"+[yr+gr+"?",gr,br,wr,fr].join("|")+")",Nr=RegExp(vr+"(?="+vr+")|"+xr+kr,"g");var Cr=function(e){return e.match(Nr)||[]};var Tr=function(e){return hr(e)?Cr(e):_r(e)};var jr=function(e){return function(t){t=Xe(t);var r=hr(t)?Tr(t):void 0,a=r?r[0]:t.charAt(0),o=r?ur(r,1).join(""):t.slice(1);return a[e]()+o}}("toUpperCase");var Or=function(e){return jr(Xe(e).toLowerCase())},Ir=Ft((function(e,t,r){return t=t.toLowerCase(),e+(r?Or(t):t)})),zr={"./social-share-template.m.css":{"desktop-view":"social-share-template-m_desktop-view__3TmkO","tablet-view":"social-share-template-m_tablet-view__kATzi",wrapper:"social-share-template-m_wrapper__1wXin",horizontal:"social-share-template-m_horizontal__1c9Kt",vertical:"social-share-template-m_vertical__VU5JY",light:"social-share-template-m_light__3-V_k",dark:"social-share-template-m_dark__1lmTM",icon:"social-share-template-m_icon__1Mnu5",open:"social-share-template-m_open__3xObA","popup-wrapper":"social-share-template-m_popup-wrapper__1Zv3e","popup-open":"social-share-template-m_popup-open__21UNo",overlay:"social-share-template-m_overlay__1nBp-","tablet-view-popup":"social-share-template-m_tablet-view-popup__1hXU9"}},Lr=function(e){var t=e.name,r=e.url,a=e.icon,o=e.dataTestId;return r?h.createElement("li",{"data-testid":o,className:"social-share-template-m_icon__1Mnu5"},h.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer","data-share-icon":t,"aria-label":"share-icon"},a)):null};Lr.propTypes={name:l.string,url:l.string,icon:l.node,dataTestId:l.string};var Sr=function(e){var t=e.fbUrl,r=void 0===t?"":t,a=e.twitterUrl,o=void 0===a?"":a,n=e.linkedinUrl,i=void 0===n?"":n,l=e.whatsappUrl,c=void 0===l?"":l,s=e.vertical,m=void 0!==s&&s,d=e.theme,u=e.iconType,p=void 0===u?"plain-color-svg":u,g=e.open,v=void 0!==g&&g;if(!(r||o||i||c))return null;var y=Xt(d),b="dark"===y?"#000000":"#ffffff",w=st({fbUrl:r,twitterUrl:o,linkedinUrl:i,whatsappUrl:c,iconColor:b,iconType:p}),E=ot(_(v),2),k=E[0],x=E[1],C=m?"vertical":"horizontal";f((function(){return x(v)}),[v]);var T=function(){return h.createElement("li",{className:"social-share-template-m_icon__1Mnu5",key:"horizontal-0"},h.createElement("div",{onClick:j},function(e,t){return e?h.createElement(mt,{color:t}):h.createElement(mr,{color:t})}(k,b)))},j=function(){x(!k)},O=!k&&m?"tablet-view-popup":"";return h.createElement("div",{"data-test-id":C,className:"arr--share "+I("".concat(y," ").concat(C," ").concat(O),zr)},h.createElement("div",{className:"social-share-template-m_desktop-view__3TmkO"},h.createElement("ul",{"data-test-id":Ir(p),className:"desktop-share-wrapper "+I("wrapper ".concat(k?"open":""),zr)},T(),w.map((function(e,t){return h.createElement(Lr,N({},e,{key:e.name,dataTestId:"card-share-".concat(t)}))})))),h.createElement("div",{className:"social-share-template-m_tablet-view__kATzi"},!k&&h.createElement("ul",{className:I("wrapper ".concat(k?"open":""),zr)},T()),k&&h.createElement(h.Fragment,null,h.createElement("div",{className:"social-share-template-m_overlay__1nBp-",onClick:j},h.createElement("div",{className:"arr--popup "+I("popup-wrapper ".concat(k?"popup-open":""),zr)},h.createElement(sr,{fbUrl:r,twitterUrl:o,linkedinUrl:i,whatsappUrl:c,iconType:p,theme:d,closePopup:function(){x(!1)}}))))))};Sr.propTypes={fbUrl:l.string,twitterUrl:l.string,linkedinUrl:l.string,whatsappUrl:l.string,vertical:l.bool,theme:l.string,iconType:l.string,open:l.boolean};var qr=g(),Ar=function(e){return function(t){return h.createElement(qr.Provider,{value:t.config},h.createElement(e,t))}},Mr=function(){return v(qr)},Pr={"./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"}},Rr=function(t){var r=t.story,a=t.template,o=void 0===a?"":a,n=t.borderColor,i=void 0===n?"":n,l=t.isLightTheme,c=Mr()||{},s=rt(c,["showSection"],!0),m=rt(c,["sectionTagTemplate"]),d=rt(r,["sections",0],""),u=["borderBottomSml","borderLeft","solid"],p=d?d["section-url"]:"/",_="solid"===o||"solid"===m?i:c.theme,f=l?"light":Xt(_),g=Yt(i),v=u.includes(o)?"section section-".concat(o):"section";return m&&(v=u.includes(m)?"section section-".concat(m):"section"),s?h.createElement(e,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},h.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:v.includes("section-solid")?g:""},className:"section-tag arrow-component "+I("".concat(f," ").concat(v),Pr)},v.includes("section-borderLeft")&&h.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:g}}),d["display-name"]||d.name,h.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===o?"":g)}}))):null};Rr.propTypes={story:l.object.isRequired,template:l.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:l.string,solidBorderColor:l.string,isLightTheme:l.bool},Rr.defaultProps={template:"",isLightTheme:!1};var Br=function(e){var t=e.height,r=e.width,a=e.color,o=void 0===a?"#D8D8D8":a,n=e.positionTop;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},h.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},h.createElement("g",null,h.createElement("g",{transform:"translate(8 8)"},h.createElement("path",{d:"M0 0H24V24H0z"}),h.createElement("g",{fill:o,fillRule:"nonzero",transform:"translate(0 2)"},h.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"}))))))};Br.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Hr=function(e){var t=e.height,r=e.width,a=e.color,o=void 0===a?"#D5D5D5":a,n=e.positionTop;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},h.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},h.createElement("g",null,h.createElement("g",{transform:"translate(8 8)"},h.createElement("path",{d:"M0 0H24V24H0z"}),h.createElement("path",{fill:o,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)"})))))};Hr.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Ur=function(e){var t=e.height,r=e.width,a=e.color,o=void 0===a?"#D5D5D5":a,n=e.positionTop;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},h.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},h.createElement("g",null,h.createElement("g",{transform:"translate(8 8)"},h.createElement("path",{d:"M0 0H24V24H0z"}),h.createElement("g",{fill:o,fillRule:"nonzero",transform:"translate(3)"},h.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"}))))))};Ur.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Fr=function(e){var t=e.width,r=e.height,a=e.color,o=void 0===a?"#D5D5D5":a,n=e.positionTop,i=void 0===n?"":n;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},h.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},h.createElement("g",null,h.createElement("path",{fill:o,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"}))))};Fr.propTypes={height:l.string,width:l.string,color:l.string,positionTop:l.string};var Dr=function(e){var t=e.width,r=e.height,a=e.color,o=e.iconType,n=e.positionTop;switch(o){case"crown":return h.createElement(Br,{width:t,height:r,color:a,positionTop:n});case"lock":return h.createElement(Ur,{width:t,height:r,color:a,positionTop:n});case"key":return h.createElement(Hr,{width:t,height:r,color:a,positionTop:n});default:return h.createElement(Fr,{width:t,height:r,color:a,positionTop:n})}};Dr.propTypes={width:l.string,height:l.string,color:l.string,iconType:l.string,positionTop:l.string};var Vr={"./story-headline.m.css":{wrapper:"story-headline-m_wrapper__1Wey6",headline:"story-headline-m_headline__x10-O","premium-wrapper":"story-headline-m_premium-wrapper__1zqs0",dark:"story-headline-m_dark__1_kPz",light:"story-headline-m_light__2al9-"}},Wr=function(e){var t=e.story,r=e.premiumStoryIconConfig,a=void 0===r?{}:r,o=Mr()||{},n=Xt(o.theme),i=a.iconColor,l=void 0===i?"#F7B500":i,c=a.iconStyle,s=void 0===c?"star":c,m=a.enablePremiumStoryIcon,d=void 0!==m&&m&&"subscription"===rt(t,["access"]),u=d?"premium-wrapper":"wrapper",p="40px";return h.createElement("div",{className:"arrow-component arr--story-headline "+I(u,Vr)},d&&h.createElement(Dr,{width:p,height:p,color:l,iconType:s,positionTop:"6px"}),h.createElement("h1",{"data-testid":"story-headline",className:I("headline ".concat(n),Vr)},h.createElement("bdi",{dangerouslySetInnerHTML:{__html:t.headline}})))};Wr.propTypes={story:l.object.isRequired,premiumStoryIconConfig:l.shape({iconColor:l.string,iconType:l.string,enablePremiumStoryIcon:l.bool})};var Zr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Kr=function(e){var t=e.story,r=e.truncateChars,a=void 0===r?200:r,o=e.lineClamp,n=e.clazzName,i=void 0===n?"":n,l=e.forceShowAtom,c=e.showFullContent,s=Mr()||{};if(!(l||rt(s,["showSubheadline"],!0)))return null;var m=Xt(s.theme);return h.createElement("div",{style:{WebkitLineClamp:o},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(i)?"p-alt arr--sub-headline arrow-component ".concat(i)+" ":"")+I("subheadline ".concat(m),Zr)},c||"number"==typeof o?t.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}(t.subheadline,a,!0))};function Gr(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}Kr.propTypes={story:l.object.isRequired,lineClamp:l.number,truncateChars:l.number,clazzName:l.string,forceShowAtom:l.bool,showFullContent:l.bool},Kr.defaultProps={forceShowAtom:!1,showFullContent:!1};var Yr=["element","render"],Jr=function(e){return function(t){var r=t.element,a=t.render,o=Gr(t,Yr);return r?a&&"function"==typeof a?a(t):h.createElement(e,N({},o,{element:r})):null}};Jr.propTypes={StoryElement:l.element};var Qr=["element","story","config","loadIframeOnClick"],Xr=function(e){var r=e.element;e.story,e.config;var a=e.loadIframeOnClick,o=void 0!==a&&a,n=Gr(e,Qr);return h.createElement("div",N({className:"video-m_container__MYuWI "+(n&&n.className||"")},n,{"data-test-id":"video"}),h.createElement(t,{element:r,loadIframeOnClick:o}))};Xr.propTypes={element:l.object,story:or,config:ar,loadIframeOnClick:l.bool};var $r=Jr(Xr);function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ta={"./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"}},ra=function(e){var t=e.story,r=e.isBottom,a=e.config,o=void 0===a?{}:a,n=Mr()||{},i=rt(n,["showTime"],!0),l=t["last-published-at"]||t["first-published-at"],c=r?"bottom-fix":"",s=Xt(n.theme);return h.createElement(h.Fragment,null,i&&h.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+I("time ".concat(s," ").concat(c),ta)},h.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},lr(l,Zt,o))))};ra.propTypes={story:l.object,isBottom:l.bool,config:l.object};var aa={"./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"}},oa=function(t){var a=t.story,o=t.hideAuthorImage,n=t.isBottom,i=t.prefix,l=void 0===i?"":i,c=t.config,s=void 0===c?{}:c,m=Mr()||{},d=rt(m,["showAuthor"],!0),u=rt(a,["authors","0"],""),p=u["avatar-url"],_=u["avatar-s3-key"],f=u.name,g=u.slug,v=n?"bottom-fix":"",y=Xt(m.theme),b=rt(s,["mountAt"],""),w=function(e){return l?h.createElement("div",{className:"arr-author-prefix "+I("prefix ".concat(y),aa)},l):!o&&function(e){return p||_?h.createElement("div",{"data-test-id":"author-image",className:I("author-image ".concat(e,"-image"),aa)},h.createElement("figure",null,_?h.createElement(r,{slug:_,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:f}):h.createElement("img",{src:p}))):null}(e)};return h.createElement(h.Fragment,null,d&&h.createElement(e,{href:"".concat(b,"/author/")+g,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+I("author ".concat(v),aa)},w("ltr"),h.createElement("div",{"data-test-id":"author-name",className:"author-name "+I("author-name ".concat(y),aa)},f||a["author-name"]),!l&&w("rtl")))};var na=k((function(e){return{config:rt(e,["qt","config"],{})}}))(oa);oa.propTypes={story:l.object.isRequired,hideAuthorImage:l.bool,isBottom:l.bool,prefix:l.string,config:l.object},oa.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ia={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},la=function(e){var t=e.width,r=void 0===t?"3px":t,a=e.height,o=void 0===a?"3px":a,n=e.color,i=void 0===n?"light":n;return h.createElement("div",{className:I(i,ia)},h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 3 3"},h.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};la.propTypes={color:l.string,width:l.string,height:l.string};var ca={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},sa=function(e){var t=e.width,r=void 0===t?"1":t,a=e.height,o=void 0===a?"10":a,n=e.color,i=void 0===n?"light":n;return h.createElement("div",{className:I(i,ca)},h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o},h.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};sa.propTypes={color:l.string,width:l.string,height:l.string};var ma={"./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"}},da=function(e){var t=e.story,r=e.opts,a=void 0===r?{}:r,o=e.isLightTheme,n=void 0!==o&&o,i=Mr()||{},l=rt(i,["showReadTime"])||rt(a,["showReadTime"],!0),c=rt(t,["read-time"],0),s=n?"light":Xt(i.theme);if(!l||!c)return null;var m=rt(a,["localizedTimeToRead"])||"min read";return h.createElement(h.Fragment,null,h.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+I("read-time-wrapper ".concat(s),ma)},h.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},h.createElement(la,{color:s})),h.createElement("span",null,c," ",m)))};da.propTypes={story:l.shape({"read-time":l.number}),opts:l.shape({showReadTime:l.bool}),isLightTheme:l.bool};var ua={"./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"}},pa=function(e){var t=e.story,r=e.separator,a=e.isBottom,o=e.hideAuthorImage,n=e.prefix,i=e.config,l=void 0===i?{}:i,c=e.isLightTheme,s=Mr()||{},m=rt(l,["showAuthor"],rt(s,["showAuthor"],!0)),d=rt(s,["showTime"],!0),u=rt(s,["showReadTime"],!0),p=a?"bottom-fix":"",_="dot"===r?"dot":"dash",f=c?"light":Xt(s.theme),g=function(){return d?h.createElement(h.Fragment,null,m&&h.createElement("span",{className:"arr-separator "+I("".concat(_),ua)},"divider"===r?h.createElement(sa,{color:f}):h.createElement(la,{color:f})),h.createElement(ra,{story:t,config:l}),u&&h.createElement(da,{story:t,opts:l,isLightTheme:c})):null};return h.createElement("div",{className:"arr--author-time "+I("author-time-wrapper ".concat(p),ua)},m?h.createElement(h.Fragment,null,h.createElement(na,{story:t,isBottom:!0,hideAuthorImage:o,prefix:n}),g()):g())};pa.propTypes={story:l.object,separator:l.oneOf(["dot","divider"]),hideAuthorImage:l.bool,isBottom:l.bool,prefix:l.string,config:l.object,isLightTheme:l.bool},pa.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var ha={"./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"}},_a=function(t){var r=t.collectionNameBorderColor,a=void 0===r?"":r,o=t.collection,n=t.config,i=t.collectionNameTemplate,l=t.headerLevel,c=t.customCollectionName,s=void 0===c?"":c,m=t.navigate,d=void 0===m||m,u=Mr()||{},p=rt(u,["showRowTitle"],!0),_=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",f=d&&o&&$t(o,n)||"",g=s||o.name||"",v=Xt(u.theme),y="h"+l,b=Yt(a),w=_.includes("collection-borderBottomFull")?"4px solid ".concat(b):"",E=Qt("mobile");return h.createElement(h.Fragment,null,p&&g&&h.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+I("collection ".concat(v," ").concat(_),ha)},_.includes("collection-borderLeft")&&h.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:b,fontSize:function(){if(E)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),f&&!f.includes(void 0)?h.createElement(e,{href:f,"aria-label":"collection-name"},h.createElement(y,null,g)):h.createElement(y,null,g),_.includes("collection-borderBottom")&&!_.includes("collection-borderBottomFull")?h.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(b)}}):""))};_a.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},_a.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var fa=k((function(e){return{config:rt(e,["qt","config"],{})}}))(_a),ga={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},va=function(t){var r=t.story,a=t.headerLevel,o=t.premiumStoryIconConfig,n=void 0===o?{}:o,i=t.isLink,l=Mr()||{},c=n.iconColor,s=void 0===c?"#F7B500":c,m=n.iconStyle,d=void 0===m?"star":m,u=n.enablePremiumStoryIcon,p=void 0!==u&&u,_=rt(r,["alternative","home","default","headline"]),f=p&&"subscription"===rt(r,["access"]),g=_||r.headline,v="h"+a,y=Xt(l.theme),b=f?"wrapper":"",w="24px";return h.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+I(b,ga)},f&&h.createElement(Dr,{width:w,height:w,color:s,iconType:d,positionTop:function(){switch(parseInt(a)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?h.createElement(e,{href:nr(r,"/".concat(r.slug)),externalLink:er(r),"aria-label":"headline"},h.createElement(v,{className:I("headline ".concat(y),ga)},g)):h.createElement(v,{className:I("headline ".concat(y),ga)},g))};va.propTypes={story:l.object.isRequired,headerLevel:l.string,premiumStoryIconConfig:l.shape({iconColor:l.string,iconType:l.string,enablePremiumStoryIcon:l.bool}),isLink:l.bool},va.defaultProps={headerLevel:"6",isLink:!0};var ya=function(e){var t=e.width,r=void 0===t?40:t,a=e.height,o=void 0===a?30:a,n=e.iconColor,i=void 0===n?"#99B0CB":n;return h.createElement("svg",{width:r,height:o,viewBox:"0 0 102 76",version:"1.1"},h.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},h.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},h.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:i,fillRule:"nonzero"}),h.createElement("rect",{id:"Rectangle-19",stroke:i,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};ya.propTypes={width:l.object,height:l.object,iconColor:l.object};var ba=function(){return h.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},h.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},h.createElement(ya,null)))},wa=function(t){var r=t.slug;return r?h.createElement(e,{href:r,"aria-label":"image-fallback"},ba()):ba()};wa.propTypes={slug:l.string};var Ea={"./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"}},ka=function(t){var o=t.story,n=t.FullBleed,i=t.aspectRatio,l=t.defaultWidth,c=t.widths,s=t.isHorizontal,m=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,u=t.defaultFallback,p=t.isStoryPageImage,_=(Mr()||{}).fallbackImageUrl,f=void 0===_?"":_,g=x((function(e){return rt(e,["qt","config","showPlaceholder"])}))?"placeholder":"",v=n?"":"with-padding",y="hero-image";s?y="right-padding":d&&(y="left-padding");var b=m?"right-padding-mob":"",w=function(e){var t=ot(e,2),r=t[0],a=t[1];return r>0&&a>0?a/r*100:0},E=ot(i,2),k=E[0],N=E[1],C=void 0===N?k:N,T=Qt("mobile"),j=T?k:C,O=w(T?k:C),z=rt(o,["hero-image-s3-key"])||rt(o,["alternative","home","default","hero-image","hero-image-s3-key"]),L=function(){return z?h.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+I("image ".concat(g),Ea)},h.createElement(a,{story:o,aspectRatio:j,defaultWidth:l,widths:c,imgParams:{auto:["format","compress"],fit:"max"}})):f?h.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+I("image ".concat(g),Ea)},h.createElement(r,{slug:!p&&f,metadata:{},"aspect-ratio":j,defaultWidth:l,widths:c,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):h.createElement(h.Fragment,null,u?h.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:O+"%"},className:"arr--fallback-hero-image "+I("image ".concat(g),Ea)},h.createElement(wa,null)):null)};return o&&(p?h.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+I("".concat(y," ").concat(v," ").concat(b),Ea)},L()):h.createElement(e,{"data-test-id":"arr--hero-image",href:nr(o,"/".concat(o.slug)),externalLink:er(o),"aria-label":"fallback-hero-image",className:"arr--hero-image "+I("".concat(y," ").concat(v," ").concat(b),Ea)},L()))};ka.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},ka.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var xa={"./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"}},Na=function(e){var t=e.story,r=e.children,a=e.isHorizontal,o=e.aspectRatio,n=e.border,i=e.useImageAsBackground,l=e.bgImgContentOverlap,c=e.theme,s=e.borderColor,m=e.isHorizontalMobile,d=e.centerAlign,u=e.headerLevel,p=e.hideAuthorImage,_=e.prefix,f=e.config,g=e.isHorizontalWithImageLast;if(!t||rr(t))return h.createElement("div",null);var v=["default","full","bottom","boxShadow"].includes(n)?"border-".concat(n):"",y="default-card";a?y="horizontal-card":g&&(y="horizontal-image-last");var b=i?"backgroung-img":"",w=l?"content-overlap":"",E=Xt(c),k=m?"horizontal-mob":"",x=h.createElement(Ca,{story:t,aspectRatio:o,border:n,isHorizontalMobile:m,isHorizontal:a,centerAlign:d,headerLevel:u,borderColor:s,hideAuthorImage:p,prefix:_,config:f,isHorizontalWithImageLast:g});return h.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:c,color:E},className:"arr--story-card "+I("card ".concat(y," ").concat(v," ").concat(E," ").concat(b," ").concat(w," ").concat(k),xa)},r||x)},Ca=function(e){var t=e.story;e.border;var r=e.isHorizontal,a=e.aspectRatio,o=e.headerLevel,n=e.isHorizontalMobile,i=void 0!==n&&n,l=e.centerAlign,c=void 0!==l&&l,s=e.borderColor,m=e.hideAuthorImage,d=e.prefix,u=e.isHorizontalWithImageLast,p=e.config,_=c?"center-align":"",f=Yt(s),g=p.localizationConfig,v=void 0===g?{}:g;return h.createElement(h.Fragment,null,r?h.createElement(ka,{story:t,isHorizontal:!0,isHorizontalMobile:i,aspectRatio:a}):u?h.createElement(ka,{story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:i,aspectRatio:a}):h.createElement(ka,{story:t,isHorizontalMobile:i,aspectRatio:a}),h.createElement("div",{className:"arr--story-content "+I("content ".concat(_),xa)},h.createElement(Rr,{story:t,borderColor:f}),h.createElement(va,{story:t,headerLevel:o,premiumStoryIconConfig:p}),h.createElement(pa,{config:v,story:t,isBottom:!0,prefix:d,hideAuthorImage:m}),h.createElement(Kr,{story:t})))};Ca.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},Na.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},Na.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Ta=function(e){var t=e.color,r=void 0===t?"#333":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},h.createElement("path",{fill:r,fillRule:"evenodd",d:"M12 19.75a7.513 7.513 0 003.875-1.047 7.832 7.832 0 002.828-2.828A7.513 7.513 0 0019.75 12a7.513 7.513 0 00-1.047-3.875c-.698-1.187-1.64-2.13-2.828-2.828S13.395 4.25 12 4.25a7.51 7.51 0 00-3.875 1.047c-1.188.698-2.13 1.64-2.828 2.828S4.25 10.605 4.25 12a7.51 7.51 0 001.047 3.875 7.824 7.824 0 002.828 2.828A7.513 7.513 0 0012 19.75zm.016-1a6.64 6.64 0 01-3.391-.906 6.716 6.716 0 01-2.469-2.453 6.563 6.563 0 01-.906-3.375c0-1.22.302-2.35.906-3.391A6.711 6.711 0 018.61 6.156a6.563 6.563 0 013.375-.906c1.22 0 2.35.302 3.391.906a6.716 6.716 0 012.469 2.453A6.592 6.592 0 0118.751 12a6.616 6.616 0 01-.906 3.375 6.716 6.716 0 01-2.453 2.469 6.563 6.563 0 01-3.375.906zm2.283-3.92l.076-.002a.343.343 0 00.25-.14l.25-.375a.365.365 0 00.078-.266.328.328 0 00-.14-.234l-2.22-1.625V7.625a.362.362 0 00-.109-.266.36.36 0 00-.265-.109h-.438a.357.357 0 00-.265.11.358.358 0 00-.11.265v5c0 .125.052.219.156.281l2.532 1.844a.383.383 0 00.281.078l-.076.001z"}))};Ta.propTypes={color:l.string};var ja={"./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 Oa(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Ia(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Oa(Object(r),!0).forEach((function(t){ea(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Oa(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var za=function(e){var t=e.config,r=void 0===t?{}:t,a=e.collection,n=e.template,i=void 0===n?"SubsequentLoadCount":n,l=e.onClick,c=e.navigate,s=e.qtConfig,m=r.showButton,d=void 0===m||m,u=r.buttonText,p=void 0===u?"Read More":u,_=r.theme,f=void 0===_?"":_,g=r.customUrlPath,v=void 0===g?"":g;if(!d)return null;var y=Xt(f),b=v?"/".concat(v):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 a=t.magazineSlug,o=void 0===a?"":a,n=t.isArchivePage;return void 0!==n&&n?"/magazine/archive/".concat(o):o?"/magazine/".concat(o,"/").concat(e.slug):e?$t(e,t):"/"}(a,Ia(Ia({},s),r));return"SubsequentLoadCount"===i?h.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+I("button ".concat(y," default"),ja)},p):h.createElement(o,{href:b,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},h.createElement("div",{className:"arr--button "+I("button ".concat(y," default"),ja)},p))};za.propTypes={collection:l.object,template:l.string,config:l.object,onClick:l.func,navigate:l.func,qtConfig:l.object};var La={"./key-events.m.css":{container:"key-events-m_container__1slhR","event-title":"key-events-m_event-title__u9bt3","cards-wrapper":"key-events-m_cards-wrapper__3f8aB","time-wrapper":"key-events-m_time-wrapper__2poXn",dark:"key-events-m_dark__hrnAr",light:"key-events-m_light__2gE0a",borderNone:"key-events-m_borderNone__2tNUK","fade-out":"key-events-m_fade-out__11jv_"}},Sa=function(e){var t=e.config,r=e.index,a=e.cardLength,o=e.card,n=void 0===o?{}:o,i=e.slug,l=e.loadCards,c=e.showLoadMore,s=n["card-added-at"],m=n["story-elements"],d=void 0===m?[]:m,u=n.id,p=t.theme,_=t.mountAt,f=void 0===_?"":_,g=Xt(p),v="dark"===g?"#333":"#fff",y=r===a-1,b=y?"borderNone":"";return h.createElement(h.Fragment,null,h.createElement("div",{className:I("time-wrapper ".concat(g),La)},h.createElement(Ta,{color:v}),lr(s,Wt,{showTime:!0,isTimeFirst:!0})),h.createElement("a",{href:"".concat(f,"/").concat(i,"#").concat(u),"aria-label":"event-title"},h.createElement("div",{className:I("event-title ".concat(g," ").concat(b),La)},d.map((function(e,t){return"title"===e.type&&h.createElement("h3",{key:t},e.text)})),c&&y&&l&&h.createElement("div",{className:"key-events-m_fade-out__11jv_",style:{backgroundImage:"linear-gradient(to bottom, transparent, ".concat(p,")")}}))))};Sa.propTypes={card:l.shape({"card-added-at":l.number,"story-elements":l.array,id:l.string}),config:l.object,slug:l.string,story:l.object,elements:l.array,index:l.number,cardLength:l.number,loadCards:l.bool,showLoadMore:l.bool};var qa=function(e){var t=e.story,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.showLoadMore,i=void 0===n||n,l=rt(r,["cards"],[]),c=o.theme,s=o.initialLoadCount,m=void 0===s?4:s,d=Xt(c),u=ot(_(m),2),p=u[0],f=u[1],g=l.filter((function(e){return rt(e.metadata,["attributes","key-event"])})),v=g.length>p,y=x((function(e){return rt(e,["qt","config"],{})}));if(g.length<1)return null;var b=(i?g.slice(0,p):g.slice(0,4)).map((function(e,t,a){return h.createElement(Sa,{cardLength:a.length,card:e,key:e.id,slug:r.slug,config:o,index:t,loadCards:v,showLoadMore:i})}));return h.createElement("div",{style:{background:c},className:"arrow-component "+I("container ".concat(d),La)},h.createElement("h3",null,"Key Events"),h.createElement("div",{className:"key-events-m_cards-wrapper__3f8aB"},b),i&&v&&h.createElement(za,{onClick:function(){f(p+m)},template:"SubsequentLoadCount",config:o,qtConfig:y}))};qa.propTypes={story:l.object,config:l.object,showLoadMore:l.bool};var Aa=Ar(qa);function Ma(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Pa(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ma(Object(r),!0).forEach((function(t){ea(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ma(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ra={"./aside-collection.m.css":{stories:"aside-collection-m_stories__9wfUs",wrapper:"aside-collection-m_wrapper__2TJi5",story:"aside-collection-m_story__17Jdm","story-hero-image":"aside-collection-m_story-hero-image__13nFY","story-byline":"aside-collection-m_story-byline__37KRG",info:"aside-collection-m_info__3p4zt",dark:"aside-collection-m_dark__2ElwM",light:"aside-collection-m_light__2lEO2","ad-slot":"aside-collection-m_ad-slot__28nE2","horizontal-wrapper":"aside-collection-m_horizontal-wrapper__3-KW0",sticky:"aside-collection-m_sticky__AZXBP"}},Ba=function(e){var t=e.data,r=e.slotData,a=e.horizontal,o=e.config,n=e.opts,i=r||o,l=i.theme,c=void 0===l?"":l,s=i.title,m=void 0===s?"":s,d=i.collectionSlug,u=void 0===d?"":d,p=m||"Related Stories",g=a?"horizontal-wrapper":"",v=rt(o,["mountAtPrefix"],""),y=ot(_([]),2),b=y[0],w=y[1],E=ot(_([]),2),k=E[0],x=E[1],N=function(){var e=ut(ht.mark((function e(t){var r,a;return ht.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ir(t,v);case 2:r=e.sent,x(r),a=r.items,w(a);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return f((function(){u&&N(u)}),[u]),f((function(){if(!u&&t){var e=t.items||t;w(e)}}),[t,u]),h.createElement(h.Fragment,null,h.createElement(fa,{customCollectionName:p,textColor:!0,collection:k}),h.createElement("div",{className:"aside-collection-m_stories__9wfUs"},b&&b.length>0?b.slice(0,4).map((function(e){var t=e.story||e;return h.createElement("div",{className:"aside-collection-m_story__17Jdm",key:t.id},h.createElement(Na,{story:t,isHorizontal:!0,theme:c,config:o},h.createElement("div",{className:"aside-collection-m_story-hero-image__13nFY"},h.createElement(ka,{story:t,aspectRatio:[[4,3]]})),h.createElement("div",null,g&&h.createElement(Rr,{story:t}),h.createElement(va,{story:t}),h.createElement("div",{className:"aside-collection-m_story-byline__37KRG"},h.createElement(pa,{config:n,story:t})))))})):h.createElement("div",{"data-test-id":"no-stories",className:"aside-collection-m_info__3p4zt"},"No stories found.")))};Ba.propTypes={data:l.oneOfType([l.object,l.array]),config:l.object,horizontal:l.bool,slotData:l.object,opts:l.object};var Ha=function(e){var t=e.data,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.horizontal,i=void 0!==n&&n,l=e.slots,c=void 0===l?[]:l,s=e.sticky,m=void 0!==s&&s,d=e.keyEventsData,u=void 0===d?{}:d,p=e.enableKeyEvents,_=void 0!==p&&p,f=e.adComponent,g=e.widgetComp,v=e.storyId,y=e.opts,b=void 0===y?{}:y;if(rr(r))return null;var w=o.theme,E=i?"horizontal-wrapper":"";if(i)return h.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",id:"aside-collection-".concat(v),className:"arrow-component arr--aside-collection "+I("wrapper ".concat(E),Ra)},h.createElement(Ba,{data:r,horizontal:i,config:o,opts:b}));var k=m?"sticky":"";return h.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",className:"arrow-component arr--aside-collection "+I(["wrapper",E,k].join(" "),Ra)},_&&h.createElement(Aa,{story:u.story,showLoadMore:u.showLoadMore,config:u.config}),c.map((function(e,t){return function(e,t,a){switch(e){case"ad":return h.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},f(Pa(Pa({},t),{},{id:"ad-".concat(a,"_").concat(v)})));case"widget":return h.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},g(Pa(Pa({},t),{},{id:"widget-".concat(a,"_").concat(v)})));case"collection":return h.createElement("div",{id:"aside-collection-".concat(a,"_").concat(v)},h.createElement(Ba,{slotData:t,data:r,horizontal:i,config:o,opts:b}))}}(e.type,e,t)})))};Ha.propTypes={data:l.oneOfType([l.object,l.array]),config:l.object,opts:l.object,horizontal:l.bool,slots:l.array,adComponent:l.func,widgetComp:l.func,sticky:l.bool,keyEventsData:l.shape({story:l.object,config:l.object,showLoadMore:l.boolean}),enableKeyEvents:l.boolean,storyId:l.string};var Ua=Ar(Ha),Fa=Ft((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Da={"./author-card.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","author-card-wrapper":"author-card-m_author-card-wrapper__2tErR",centerAligned:"author-card-m_centerAligned__2h4Yq","author-image-wrapper":"author-card-m_author-image-wrapper__1at-z",default:"author-card-m_default__2dkRY","author-image":"author-card-m_author-image__3Fu25","multi-author-image":"author-card-m_multi-author-image__zAm2h","first-author-image":"author-card-m_first-author-image__18Y3p","author-details-wrapper":"author-card-m_author-details-wrapper__1c2uc",leftAligned:"author-card-m_leftAligned__3B9ao","author-name-share":"author-card-m_author-name-share__3vb9q","multiple-author-style":"author-card-m_multiple-author-style__1Fd3D","dot-wrapper":"author-card-m_dot-wrapper__2soc1","author-bio":"author-card-m_author-bio__2WDsW",dark:"author-card-m_dark__1u0YB",light:"author-card-m_light__3z8S3"}},Va=function(t){var a=t.story,o=void 0===a?{}:a,n=t.template,i=void 0===n?"leftAligned":n,l=t.clazzName,c=void 0===l?"":l,s=t.opts,m=void 0===s?{}:s,d=t.mountAt,u=void 0===d?"":d,p=Mr()||{},_=o.authors,f=void 0===_?[]:_,g=1===f.length,v=m.showBio,y=void 0!==v&&v,b=m.showImage,w=void 0===b||b,E=m.showName,k=void 0===E||E,x=Xt(p.theme);return h.createElement("div",{"data-test-id":"author-card-".concat(Fa(i)),className:(c?c+" ":"")+I("author-card-wrapper ".concat(i),Da)},f.map((function(t,a){return h.createElement(h.Fragment,{key:t.id},w&&(t["avatar-url"]||t["avatar-s3-key"])&&h.createElement("div",{"data-test-id":"author-image",className:"author-card-m_author-image-wrapper__1at-z"},h.createElement(e,{href:"".concat(u,"/author/")+t.slug,key:"author-image-".concat(a),"aria-label":"author-image"},h.createElement("div",{className:I("author-image ".concat(a?"":"first-author-image"," ").concat(g?"":"multi-author-image"),Da)},function(e){var t=e["avatar-url"],a=e["avatar-s3-key"],o=e.name;return t||a?h.createElement("figure",{"data-test-id":"author-image"},a?h.createElement(r,{slug:a,"aspect-ratio":[1,1],defaultWidth:48,imgParams:{auto:["format","compress"]},alt:o}):h.createElement("img",{src:t})):null}(t)))))})),k&&h.createElement("div",{"data-test-id":"author-name",className:"author-card-m_author-name-share__3vb9q"},f.map((function(t,r){return h.createElement(h.Fragment,null,0!==r&&(f.length>1?", ":""),h.createElement(e,{href:"".concat(u,"/author/")+t.slug,"aria-label":"author-name"},h.createElement("h5",{className:I("multiple-author-style ".concat(x),Da)},t.name)))})),g&&"centerAligned"!==i&&h.createElement(h.Fragment,null,f[0]["twitter-handle"]&&h.createElement(h.Fragment,null,h.createElement("div",{className:"author-card-m_dot-wrapper__2soc1"},h.createElement(la,{color:x})),h.createElement("a",{href:"http://twitter.com/"+f[0]["twitter-handle"],target:"_blank",rel:"noopener noreferrer"},h.createElement(nt,null))))),h.createElement("div",{"data-test-id":"author-info",className:"author-card-m_author-details-wrapper__1c2uc"},y&&g&&"default"!==i&&h.createElement("p",{className:I("author-bio ".concat(x),Da)},f[0].bio)))};Va.propTypes={story:l.shape({authors:l.array}),template:l.string,opts:l.shape({showImage:l.bool,showBio:l.bool,showName:l.bool}),mountAt:l.string,clazzName:l.string};var Wa={"./publish-details.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",timeStamp:"publish-details-m_timeStamp__2yL0k",dark:"publish-details-m_dark__1L30z",light:"publish-details-m_light__2r13-","publish-details":"publish-details-m_publish-details__2a1Xq","update-details":"publish-details-m_update-details__1VTp3","dot-indicator":"publish-details-m_dot-indicator____Mrp",date:"publish-details-m_date__3ZIQN"}};function Za(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Ka(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Za(Object(r),!0).forEach((function(t){ea(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ga=function(e){var t=e.story,r=e.opts,a=void 0===r?{}:r,o=ot(_("ltr"),2),n=o[0],i=o[1];f((function(){var e=document.getElementsByTagName("HTML");e&&e.length>0&&"rtl"===e[0].dir.toLocaleLowerCase()&&i("rtl")}),[]);var l=Mr()||{},c=t["first-published-at"],s=t["last-published-at"],m=t["updated-at"],d=a.enableUpdatedTime,u=a.enablePublishedTime,p=a.showReadTime,g=a.localizedPublishedOn,v=a.localizedUpdatedOn,y=s||c,b=Xt(l.theme),w=Ka(Ka({},a),{},"rtl"===n?{direction:n,isTimeFirst:!0,showTime:!0}:{direction:n,showTime:!0});return h.createElement("div",{"data-test-id":"timeStamp",className:"arrow-component arr-publish-details "+I("timeStamp ".concat(b),Wa)},h.createElement("div",{"data-test-id":"publishDetails",className:I("publish-details ".concat(b),Wa)},u&&h.createElement(h.Fragment,null,g||"Published on"," : ",h.createElement("div",{className:"publish-details-m_date__3ZIQN"},lr(y,Wt,w)),p&&h.createElement(da,{story:t,opts:a}))),d&&h.createElement("div",{"data-test-id":"updateDetails",className:I("update-details ".concat(b),Wa)},v||"Updated on"," : ",h.createElement("div",{className:"publish-details-m_date__3ZIQN"},lr(m,Wt,w)),p&&h.createElement(da,{story:t,opts:a})))};Ga.propTypes={story:l.shape({"first-published-at":l.number,"last-published-at":l.number,"read-time":l.number,"updated-at":l.number}),opts:l.shape({showReadTime:l.bool,enableUpdatedTime:l.bool,enablePublishedTime:l.bool})};var Ya={"./tags.m.css":{tags:"tags-m_tags__1Ncq0",roundCorners:"tags-m_roundCorners__3j9s1",dark:"tags-m_dark__28n8B",light:"tags-m_light__fi-tT"}},Ja=function(t){var r=t.tags,a=void 0===r?[]:r,o=t.template,n=void 0===o?"":o,i=t.config;t.borderColor;var l=Mr()||{},c=Xt(l.theme),s=rt(i,["mountAt"],""),m="roundCorners"===n?"roundCorners":"";return h.createElement("div",{className:"arrow-component arr--story-tags"},a.length>0&&a.map((function(t,r){return h.createElement("div",{key:r,"data-test-id":"story-tag",className:I("tags ".concat(m," ").concat(c),Ya)},h.createElement(e,{href:"".concat(s,"/topic/")+t.slug,"aria-label":"story-tag-name"},t.name))})))};Ja.propTypes={tags:l.array,borderColor:l.string,config:l.object,template:s};var Qa=["element","opts","css","story","config"],Xa={"./text.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",promotionalMessage:"text-m_promotionalMessage__CUsPM",textElement:"text-m_textElement__e3QEt",dark:"text-m_dark__1TC18",light:"text-m_light__2cRe8"}},$a=function(e){var t=e.element,r=void 0===t?{}:t,a=e.opts,o=void 0===a?{}:a,n=e.css,i=void 0===n?{}:n;e.story,e.config;var l=Gr(e,Qa),c=r.text;if(!c)return null;var s=Mr()||{},m=Xt(s.theme),d=i.textColor,u=o.isExternalLink,p=(void 0===u||u)&&tr(c)||c,_=rt(r,["metadata","promotional-message"],!1),f=_?"promotionalMessage":"textElement";return h.createElement("div",N({style:_?{}:{color:d},"data-test-id":_?"promotional-message":"text",dangerouslySetInnerHTML:{__html:p},id:"text-element"},l,{className:"arrow-component arr--text-element "+I("".concat(f," ").concat(m),Xa)+" "+(l&&l.className||"")}))};$a.propTypes={element:l.shape({text:l.string}),opts:l.shape({isExternalLink:l.bool}),css:l.shape({hyperlinkColor:l.string,textColor:l.string}),story:or,config:ar};var eo=Jr($a),to=["element","template","opts","css","story","config","render"],ro={"./blurb.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",blurb:"blurb-m_blurb__3pXi5","blurb-default":"blurb-m_blurb-default__JR86y","blurb-withBorder":"blurb-m_blurb-withBorder__SjW--",dark:"blurb-m_dark__1eErz",light:"blurb-m_light__OBWiH"}},ao=function(e){var t=e.element,r=e.template,a=void 0===r?"":r,o=e.opts,n=void 0===o?{}:o,i=e.css,l=void 0===i?{}:i;e.story,e.config,e.render;var c=Gr(e,to),s=t.text,m=l.borderColor,d="withBorder"===a?{border:"solid 2px ".concat(m)}:{borderLeft:"solid 2px ".concat(m)},u=ot(_(d),2),p=u[0],g=u[1];if(!s)return null;f((function(){var e=document.getElementsByTagName("HTML");e&&e.length&&"rtl"===e[0].dir.toLowerCase()&&"withBorder"!==a&&g({borderRight:"solid 2px ".concat(m)})}),[]);var v=n.isExternalLink,y=(void 0===v||v)&&tr(s)||s,b=a?"blurb-".concat(a):"blurb",w=Mr()||{},E=Xt(w.theme);return h.createElement("div",N({"data-test-id":"blurb",style:m&&p,dangerouslySetInnerHTML:{__html:y}},c,{className:"arrow-component arr-custom-style arr--blurb-element "+I("".concat(b," ").concat(E),ro)+" "+(c&&c.className||"")}))};ao.propTypes={element:l.shape({text:l.string}),template:l.string,opts:l.shape({isExternalLink:l.bool}),story:or,config:ar,render:l.func,css:l.object};var oo=Jr(ao),no=["element","template","opts","css","story","config","render"],io={"./summary.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",headline:"summary-m_headline__30sie",summary:"summary-m_summary__3-CnO",content:"summary-m_content__37n8C","summary-header":"summary-m_summary-header__UKVHi","summary-border":"summary-m_summary-border__M9hrr",dark:"summary-m_dark__1ZuzR",light:"summary-m_light__2SYiC","heading-wrapper":"summary-m_heading-wrapper__23S51","content-border":"summary-m_content-border__3ilmJ"}},lo=function(e){var t=e.element,r=e.template,a=void 0===r?"":r,o=e.opts,n=void 0===o?{}:o,i=e.css,l=void 0===i?{}:i;e.story,e.config,e.render;var c=Gr(e,no),s=Mr()||{},m=Xt(s.theme),d=t.text;if(!d)return null;var u=l.headerBgColor,p=n.isExternalLink,_=void 0===p||p,f=n.headline,g=void 0===f?"Summary":f,v=n.hideHeadline,y=void 0!==v&&v,b=_&&tr(d)||d,w=["header","border"].includes(a)?"summary-".concat(a):"summary",E=y?"content-border":"",k="header"===a||"border"===a,x=k?"".concat(u):"",C=k?Xt(u):"",T="header"===a?"":m;return h.createElement("div",N({"data-test-id":"summary"},c,{className:"arrow-component arr--summary-element arr-custom-style "+I(w,io)+" "+(c&&c.className||"")}),!y&&h.createElement("div",{"data-test-id":"summary-headline",className:I("heading-wrapper ".concat(m),io)},h.createElement("div",{style:{backgroundColor:x},className:I("headline ".concat(C," ").concat(m),io)},g)),h.createElement("div",{dangerouslySetInnerHTML:{__html:b},className:I("content ".concat(E," ").concat(T," ").concat(m),io)}))};lo.propTypes={element:l.shape({text:l.string}),template:l.string,opts:l.shape({isExternalLink:l.bool,headline:l.string,hideHeadline:l.bool}),story:or,config:ar,render:l.func,css:l.shape({headerBgColor:l.string})};var co=Jr(lo),so=function(e){var t=e.width,r=e.height,a=e.color,o=e.opacity,n="light"===a&&"#ffffff",i="dark"===a&&"#0d0d0d";return h.createElement("div",{className:"icon-m_curve-wrapper__3-sLV",style:{fill:"".concat(n||i||a)}},h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 64 64"},h.createElement("path",{fill:"inherit",opacity:o,d:"M61 44.702c0 3.465-1.13 6.214-3.39 8.248-2.261 2.033-5.125 3.05-8.59 3.05-4.07 0-7.423-1.356-10.06-4.067-2.638-2.712-3.956-6.704-3.956-11.976 0-4.971.716-9.227 2.147-12.767 1.432-3.54 3.165-6.553 5.2-9.039 2.034-2.485 4.144-4.481 6.33-5.988 2.184-1.506 4.106-2.56 5.763-3.163l5.652 7.909c-3.316 1.657-5.99 3.879-8.025 6.666-2.035 2.786-3.052 6.289-3.052 10.507.603-.15 1.432-.226 2.487-.226 3.014 0 5.35 1.054 7.007 3.163C60.171 39.13 61 41.69 61 44.702zm-33.004 0c0 3.465-1.13 6.214-3.39 8.248-2.261 2.033-5.125 3.05-8.59 3.05-4.07 0-7.423-1.356-10.06-4.067C3.319 49.22 2 45.229 2 39.957c0-4.971.716-9.227 2.148-12.767 1.431-3.54 3.164-6.553 5.199-9.039 2.034-2.485 4.144-4.481 6.33-5.988C17.86 10.657 19.782 9.603 21.44 9l5.651 7.909c-3.316 1.657-5.99 3.879-8.025 6.666-2.034 2.786-3.052 6.289-3.052 10.507.603-.15 1.432-.226 2.487-.226 3.014 0 5.35 1.054 7.008 3.163 1.657 2.11 2.486 4.67 2.486 7.683z"})))};so.propTypes={width:l.string,height:l.string,color:l.string,opacity:l.string};var mo=function(e){var t=e.width,r=e.height,a=e.color,o=e.opacity,n="light"===a&&"#ffffff",i="dark"===a&&"#0d0d0d";return h.createElement("div",{className:"icon-m_edge-wrapper__xUOdp",style:{fill:"".concat(n||i||a)}},h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 64 64"},h.createElement("path",{fill:"inherit",opacity:o,d:"M16.858 29.836v4.727H28V60H4V29.836c0-9.6 2.606-16.727 7.746-21.187C15.3 5.564 19.8 4 25.122 4v13.627c-2.888 0-8.264 0-8.264 12.209zm40.264-12.21V4c-5.32 0-9.82 1.564-13.376 4.65C38.606 13.108 36 20.236 36 29.835V60h24V34.563H48.857v-4.727c0-12.21 5.377-12.21 8.265-12.21z"})))};mo.propTypes={width:l.string,height:l.string,color:l.string,opacity:l.string};var uo=["element","template","css","story","config","render"],po={"./block-quote.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","blockquote-withBackground":"block-quote-m_blockquote-withBackground__1yW-u",icon:"block-quote-m_icon__m-EIZ","icon-border":"block-quote-m_icon-border__2xQQY",blockquote:"block-quote-m_blockquote__HPVh0","blockquote-default":"block-quote-m_blockquote-default__fZ8a1","blockquote-withBorder":"block-quote-m_blockquote-withBorder__1GVQL",border:"block-quote-m_border__1ZTPR",content:"block-quote-m_content__xpMqX",wrapper:"block-quote-m_wrapper__2KEhw",attribution:"block-quote-m_attribution__2m4s2","quote-wrapper":"block-quote-m_quote-wrapper__83bEy",dark:"block-quote-m_dark__HaZuG",light:"block-quote-m_light__1QrNc"}},ho=function(e,t,r,a){var o=Qt("mobile")?"48px":"64px";return"withBackground"===t?"edgeIcon"===e?h.createElement(mo,{width:o,height:o,color:a,opacity:".4"}):h.createElement(so,{width:o,height:o,color:a,opacity:".4"}):"withBackground"!==t?"edgeIcon"===e?h.createElement(mo,{width:o,height:o,color:r}):h.createElement(so,{width:o,height:o,color:r}):void 0},_o=function(e){var t=e.element,r=e.template,a=e.css,o=void 0===a?{}:a;e.story,e.config,e.render;var n=Gr(e,uo),i=rt(t,["metadata"]),l=i.content,c=i.attribution;if(!l)return null;var s=o.blockQuoteColor,m=o.backgroundShade,d=o.iconType,u=r?"blockquote-".concat(r):"blockquote",p="withBackground"===r,_=p?Xt(m):"",f=p&&m?{backgroundColor:m}:{},g=Mr()||{},v=Xt(p?f.backgroundColor:g.theme);return h.createElement("div",N({"data-test-id":"blockquote",style:f},n,{className:"arrow-component arr--block-quote "+I("".concat(u," ").concat(_),po)+" "+(n&&n.className||"")}),h.createElement("div",{className:"block-quote-m_quote-wrapper__83bEy"},"withBorder"===r?h.createElement("div",{className:"block-quote-m_icon-border__2xQQY"},h.createElement("div",{className:"block-quote-m_icon__m-EIZ"},ho(d,r,s,_)),h.createElement("div",{className:"block-quote-m_border__1ZTPR",style:s&&{backgroundColor:s}})):h.createElement("div",{className:"block-quote-m_icon__m-EIZ"},ho(d,r,s,_)),h.createElement("div",{className:"block-quote-m_wrapper__2KEhw",style:s&&{borderColor:s}},h.createElement("div",{dangerouslySetInnerHTML:{__html:l},className:I("content ".concat(v),po)}),h.createElement("div",{dangerouslySetInnerHTML:{__html:c},className:I("attribution ".concat(v),po)}))))};_o.propTypes={element:l.shape({metadata:l.shape({content:l.string,attribution:l.string})}),template:l.string,story:or,config:ar,render:l.func,css:l.object};var fo=Jr(_o),go=["element","story","config"],vo={"./big-fact.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","bigfact-element":"big-fact-m_bigfact-element__3uAwv",light:"big-fact-m_light__ha49M",content:"big-fact-m_content__1u2Ul",attribution:"big-fact-m_attribution__3XK_P",dark:"big-fact-m_dark__7a_KC"}},yo=function(e){var t=e.element;e.story,e.config;var r=Gr(e,go),a=Mr()||{},o=Xt(a.theme),n=t.metadata,i=n.content,l=n.attribution;return h.createElement("div",N({"data-test-id":"bigfact"},r,{className:"arrow-component arr--bigfact-element "+I("bigfact-element ".concat(o),vo)+" "+(r&&r.className||"")}),h.createElement("div",{className:"big-fact-m_content__1u2Ul"},i),h.createElement("div",{"data-test-id":"attribution",className:I("attribution ".concat(o),vo)},l))};yo.propTypes={element:l.shape({metadata:l.shape({content:l.string,attribution:l.string})}),story:l.object,config:l.object};var bo=Jr(yo),wo=["story","element","template","opts","css","config","render"],Eo={"./also-read.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","card-image":"also-read-m_card-image__3CwAv","default-text":"also-read-m_default-text__hp2dp","alsoread-textLeftAlign":"also-read-m_alsoread-textLeftAlign__S0Dxe","alsoread-imageRightAlign":"also-read-m_alsoread-imageRightAlign__1bsF3",headline:"also-read-m_headline__VzF-c","alsoread-default":"also-read-m_alsoread-default__3cYER","card-image-wrapper":"also-read-m_card-image-wrapper__3GFzu",image:"also-read-m_image__2jdRP","content-wrapper":"also-read-m_content-wrapper__26AZX",alsoread:"also-read-m_alsoread__1crOV",dark:"also-read-m_dark__1pUib",light:"also-read-m_light__bTCze"}},ko=function(e){var t=e.story,a=e.linkedImage,o=e.template,i=e.isRightAlign,l="textLeftAlign"===o,c=Qt("mobile"),s=l?[16,9]:i&&c?[4,3]:[16,9],m=t["hero-image-caption"]||t.headline;return h.createElement("div",{className:"also-read-m_card-image-wrapper__3GFzu"},rr(a)?h.createElement("div",{className:"arr--fallback-also-read also-read-m_image__2jdRP"},h.createElement(wa,null)):h.createElement("figure",{className:"also-read-m_card-image__3CwAv"},h.createElement(n,null,h.createElement(r,{slug:a,"aspect-ratio":s,defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},alt:m}))))};ko.propTypes={story:l.shape({"hero-image-caption":l.string,headline:l.string}),linkedImage:l.string,template:l.string,isRightAlign:l.bool};var xo=function(t){var r=t.story,a=void 0===r?{}:r,o=t.element,n=t.template,i=void 0===n?"":n,l=t.opts,c=void 0===l?{}:l,s=t.css,m=void 0===s?{}:s;t.config,t.render;var d=Gr(t,wo),u=o.text;if(!u)return null;var p=rt(a,["linked-stories"],{}),_=rt(o,["metadata","linked-story-id"]),f=rt(p,[_,"url"]),g=rt(p,[_,"hero-image-s3-key"],""),v=f&&f,y=Mr()||{},b=Xt(y.theme),w=c.title,E=void 0===w?"":w,k=m.textColor,x=E||"Also Read",C=""===i||"default"===i,T="imageRightAlign"===i,j=i?"alsoread-".concat(i):"alsoread-default";return h.createElement(e,N({"data-test-id":"also-read",href:v,"aria-label":"also-read"},d,{className:"arrow-component arr--also-read-element "+I(j,Eo)+" "+(d&&d.className||"")}),!C&&h.createElement("div",{className:I("default-text ".concat(b),Eo)},x),C&&h.createElement(ko,{story:a,linkedImage:g,template:i,isRightAlign:T}),h.createElement("div",{className:"also-read-m_content-wrapper__26AZX"},h.createElement("div",{className:"also-read-m_headline__VzF-c",style:k?{color:k}:{color:b},dangerouslySetInnerHTML:{__html:u}}),T&&h.createElement(ko,{story:a,linkedImage:g,template:i})))};xo.propTypes={template:l.string,story:l.shape({"linked-stories":l.object}),element:l.shape({text:l.string,metadata:l.shape({linkedStoryId:l.shape({url:l.string,"hero-image-s3-key":l.string})})}),opts:l.shape({title:l.string}),config:ar,render:l.func,css:l.object};var No=Jr(xo),Co=function(e){return e.width,e.height,e.iconColor,h.createElement("div",{className:"loading-m_loading-indicator__2Dlst"},h.createElement("svg",{width:"40",height:"40",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},h.createElement("circle",{cx:"84",cy:"50",r:"0",fill:"currentColor"},h.createElement("animate",{attributeName:"r",values:"10;0;0;0;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}),h.createElement("animate",{attributeName:"cx",values:"84;84;84;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"})),h.createElement("circle",{cx:"84",cy:"50",r:".709",fill:"currentColor"},h.createElement("animate",{attributeName:"r",values:"0;10;10;10;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-1s"}),h.createElement("animate",{attributeName:"cx",values:"16;16;50;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-1s"})),h.createElement("circle",{cx:"81.59",cy:"50",r:"10",fill:"currentColor"},h.createElement("animate",{attributeName:"r",values:"0;10;10;10;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-0.5s"}),h.createElement("animate",{attributeName:"cx",values:"16;16;50;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"-0.5s"})),h.createElement("circle",{cx:"47.59",cy:"50",r:"10",fill:"currentColor"},h.createElement("animate",{attributeName:"r",values:"0;10;10;10;0",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}),h.createElement("animate",{attributeName:"cx",values:"16;16;50;84;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"})),h.createElement("circle",{cx:"16",cy:"50",r:"9.291",fill:"currentColor"},h.createElement("animate",{attributeName:"r",values:"0;0;10;10;10",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}),h.createElement("animate",{attributeName:"cx",values:"16;16;16;50;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}))))};function To(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}Co.propTypes={width:l.object,height:l.object,iconColor:l.object};var jo=b((function(){return import("react-image-lightbox")})),Oo=function(e){var t=e.imageSlug,r=void 0===t?"":t,a=e.template,o=e.element,n=void 0===o?{}:o,i=e.props,l=x((function(e){return rt(e,["qt","config","cdn-image"])})),c=ot(_(0),2),s=c[0],m=c[1],d=ot(_(!1),2),u=d[0],p=d[1],f=rt(global,["innerWidth"],0),g=[];r||(g=rt(n,["story-elements"],[]).map((function(e){return"//".concat(l,"/").concat(e["image-s3-key"],"?w=").concat(f)})));var v=r?"onClick":"onClickHandler",b=g.length,w=r?{mainSrc:"//".concat(l,"/").concat(r,"?w=").concat(f)}:{mainSrc:g[s],nextSrc:g[(s+1)%b],prevSrc:g[(s+b-1)%b],onMoveNextRequest:function(){return function(e){m((s+1)%e)}(b)},onMovePrevRequest:function(){return function(e){m((s+e-1)%e)}(b)}},E=function(){return h.createElement("div",null,h.createElement(Co,null))};return h.createElement("div",null,h.createElement(a,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?To(Object(r),!0).forEach((function(t){ea(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):To(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}(ea({},v,(function(e){p(!0),m(e)})),i)),u?h.createElement(y,{fallback:h.createElement(E,null)},h.createElement(jo,N({wrapperClassName:"arr--image-lightbox",onCloseRequest:function(){m(0),p(!1)}},w))):null)};Oo.propTypes={imageSlug:l.string,template:l.func,element:l.shape({"story-elements":l.array}),props:l.object};var Io={"./caption-attribution.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",caption:"caption-attribution-m_caption__BM5NN",wrapper:"caption-attribution-m_wrapper__oHBX7",dark:"caption-attribution-m_dark__uER8u",attribution:"caption-attribution-m_attribution__279W9",light:"caption-attribution-m_light__19OWp"}},zo=function(e){var t=e.story,r=e.element;if(e.config,!t&&!r)return null;var a=Mr()||{},o=Xt(a.theme),n=t||{},i=n["hero-image-caption"],l=void 0===i?"":i,c=n["hero-image-attribution"],s=void 0===c?"":c,m=r||{},d=m.title,u=void 0===d?"":d,p=m["image-attribution"],_=l||u,f=s||(void 0===p?"":p),g=_?"wrapper":"";return h.createElement("div",{"data-test-id":"caption",className:"arr--caption-attribution "+I("caption ".concat(o),Io)},h.createElement("span",{dangerouslySetInnerHTML:{__html:_}}),f&&h.createElement("span",{"data-test-id":"attribution",dangerouslySetInnerHTML:{__html:f},className:I("attribution ".concat(o," ").concat(g),Io)}))};zo.propTypes={config:l.shape({theme:l.string}),story:or,element:l.shape({"image-attribution":l.string,title:l.string})};var Lo=["element","opts","story","config","caption"],So=function(e){var t=e.element,a=e.opts,o=void 0===a?{}:a,n=e.story,i=void 0===n?{}:n;e.config;var c=e.caption,s=void 0===c||c,m=Gr(e,Lo);if(!t)return null;var d=Mr()||{},u=function(e){var a=e.onClick;return h.createElement(h.Fragment,null,h.createElement("figure",{className:"image-m_element__KVuzX",onClick:function(){return a()}},h.createElement(r,{slug:t["image-s3-key"],metadata:t["image-metadata"],alt:t.title,aspectRatio:null,defaultWidth:640,widths:o.imageWidths||[360,640,1200],imgParams:{auto:["format","compress"]}})))};return u.propTypes={onClick:l.func},h.createElement("div",N({className:"arrow-component arr--image-element"},m,{"data-test-id":"image-element"}),h.createElement(Oo,{template:u,element:t,imageSlug:t["image-s3-key"],story:i}),s&&h.createElement(zo,{element:t,config:d}))};So.propTypes={element:l.shape({"image-s3-key":l.string,"image-metadata":l.object,"image-attribution":l.string,title:l.string}),caption:l.bool,opts:l.shape({imageWidths:l.array}),story:or,config:ar};var qo=Jr(So),Ao=["element","template","css","story","config","opts","render"],Mo={"./question-answer.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","qa-withAuthorImage":"question-answer-m_qa-withAuthorImage__1JB3N","a-element":"question-answer-m_a-element__BTxfl","qa-default":"question-answer-m_qa-default__2fGK3","q-element":"question-answer-m_q-element__1ZA5d",dark:"question-answer-m_dark__O4Mnm",hidden:"question-answer-m_hidden__K0n4n",curveIcon:"question-answer-m_curveIcon__64641",edgeIcon:"question-answer-m_edgeIcon__3js6c",labelAttribution:"question-answer-m_labelAttribution__Rq-v3",light:"question-answer-m_light__3Iqv4",content:"question-answer-m_content__16Ng7"}},Po=function(e){var t=e.element,r=e.template,a=e.css,o=void 0===a?{}:a;e.story,e.config;var n=e.opts,i=void 0===n?{}:n;e.render;var l=Gr(e,Ao),c=Mr()||{},s=Xt(c.theme);if(!t)return null;var m=i.type,d=i.defaultIconType,u=i.isExternalLink,p=void 0===u||u,_=o.iconColor,f=function(e,t){switch(e){case"q-and-a":var r=rt(t,["metadata"]);return{question:r.question,answer:r.answer,questionAttribution:rt(t,["metadata","interviewer","avatar-url"]),answerAttribution:rt(t,["metadata","interviewee","avatar-url"])};case"question":return{question:rt(t,["text"]),questionAttribution:rt(t,["metadata","interviewer","avatar-url"])};case"answer":return{answer:rt(t,["text"]),answerAttribution:rt(t,["metadata","interviewee","avatar-url"])}}}(m,t),g=f.question,v=f.answer,y=f.questionAttribution,b=f.answerAttribution,w=Xt(_),E=g&&(p&&tr(g)||g),k=v&&(p&&tr(v)||v),x="withAuthorImage"===r,C=x?"qa-withAuthorImage":"qa-default",T="curve"===d?"curveIcon":"edgeIcon",j=x?y&&h.createElement(h.Fragment,null,h.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},h.createElement("img",{src:y,loading:"lazy"})),h.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):h.createElement("div",{"data-test-id":T,style:{backgroundColor:_},className:I("".concat(T," ").concat(w),Mo)},"Q"),O=x?b&&h.createElement(h.Fragment,null,h.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},h.createElement("img",{src:b,loading:"lazy"})),h.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):h.createElement("div",{"data-test-id":T,style:{backgroundColor:_},className:I("".concat(T," ").concat(w),Mo)},"A");return h.createElement("div",N({"data-test-id":"question-answer"},l,{className:"arrow-component arr-custom-style arr--qa-element "+I(C,Mo)+" "+(l&&l.className||"")}),"answer"!==m&&h.createElement("div",{className:"question-answer-m_q-element__1ZA5d","data-test-id":"question"},j,h.createElement("div",{dangerouslySetInnerHTML:{__html:E},className:I("content ".concat(s),Mo)})),"question"!==m&&h.createElement("div",{className:"question-answer-m_a-element__BTxfl","data-test-id":"answer"},O,h.createElement("div",{dangerouslySetInnerHTML:{__html:k},className:I("content ".concat(s),Mo)})))};Po.propTypes={element:l.shape({metadata:l.shape({interviewer:l.shape({"avatar-url":l.string}),interviewee:l.shape({"avatar-url":l.string}),question:l.string,answer:l.string}),text:l.string}),opts:l.shape({type:l.string,defaultIconType:l.string,isExternalLink:l.bool}),template:l.string,css:l.object,config:ar,story:or,render:l.func};var Ro=Jr(Po),Bo=["element","template","opts","story","config"],Ho={"./image-gallery.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","image-gallery":"image-gallery-m_image-gallery__1Q7if",image:"image-gallery-m_image__3qwSJ","template-2":"image-gallery-m_template-2__2pjmE","left-images":"image-gallery-m_left-images__34gjv"}},Uo=function(e){var t=e.element,a=e.template,o=void 0===a?"":a;e.opts,e.story,e.config;var n=Gr(e,Bo);if(!t)return null;var i=Qt("mobile"),c=t["story-elements"],s="template-2"===o&&c.length,m=s>6?c.slice(0,6):c,d=s>4?c.slice(0,4):c,u=i?d:m,p="template-2"===o?"template-2":"",_=function(){var e=s>6&&c.length-6,t=s>4&&c.length-4,r=i?t:e;return h.createElement("div",{className:"image-gallery-m_left-images__34gjv"},r)},f=function(e){var t=e.onClickHandler,a=u.map((function(e,a){return h.createElement("figure",{key:a,"data-text-id":"image-".concat(a),onClick:function(){return t&&t(a)},className:I("image ".concat(p),Ho)},h.createElement(r,{slug:e["image-s3-key"],metadata:e["image-metadata"],alt:e.title,aspectRatio:[1,1],defaultWidth:640,imgParams:{auto:["format","compress"]}}),u.length-1===a&&h.createElement(_,null))}));return h.createElement("div",N({className:" arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if "+(n&&n.className||"")},n,{"data-test-id":"image-gallery"}),a)};return f.propTypes={onClickHandler:l.func},h.createElement(Oo,{template:f,element:t})};Uo.propTypes={element:l.shape({"story-elements":l.array}),opts:l.shape({imageWidths:l.array}),story:or,config:ar,template:l.string};var Fo=Jr(Uo),Do=["element","story","config"],Vo=function(e){var r=e.element;e.story,e.config;var a=Gr(e,Do);return h.createElement("div",N({},a,{"data-test-id":"story-elements"}),h.createElement(t,{element:r}))},Wo=Jr(Vo);Vo.propTypes={element:l.object,story:or,config:ar};var Zo=["element","template","css","story","config","render"],Ko={"./quote.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",quote:"quote-m_quote__13tTt",text:"quote-m_text__2hXSE","quote-borderNone":"quote-m_quote-borderNone__2EuoK","quote-borderTopSmall":"quote-m_quote-borderTopSmall__2DN-3","quote-borderLeft":"quote-m_quote-borderLeft__3QaAY",dark:"quote-m_dark__1migZ",light:"quote-m_light__30NnM",attribution:"quote-m_attribution__20Y6O",line:"quote-m_line__3gtoE"}},Go=function(e){var t=e.element,r=e.template,a=void 0===r?"":r,o=e.css,n=void 0===o?{}:o;e.story,e.config,e.render;var i=Gr(e,Zo),l=Mr()||{},c=Xt(l.theme),s=t.metadata,m=s.content,d=s.attribution;if(!m)return null;var u=n.borderColor,p="borderLeft"===a&&"4px solid ".concat(u),_=a?"quote-".concat(a):"quote";return h.createElement("div",N({"data-test-id":"quote"},i,{className:"arrow-component arr--quote-element "+I(_,Ko)+" "+(i&&i.className||"")}),"borderTopSmall"===a&&h.createElement("div",{className:"quote-m_line__3gtoE",style:u&&{backgroundColor:u}}),h.createElement("p",{style:u&&{borderLeft:p},dangerouslySetInnerHTML:{__html:m},className:I("text ".concat(c),Ko)}),h.createElement("p",{"data-test-id":"quote-attribution",className:I("attribution ".concat(c),Ko)},d))};Go.propTypes={element:l.shape({metadata:l.shape({content:l.string,attribution:l.string})}),template:l.string,story:or,config:ar,render:l.func,css:l.object};var Yo=Jr(Go),Jo=["element","config","opts"],Qo={"./reference.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",wrapper:"reference-m_wrapper__1C4Ot",name:"reference-m_name__24IwG",description:"reference-m_description__2x3Io",dark:"reference-m_dark__3Zlnx",light:"reference-m_light__1B8Ud"}},Xo=function(t){var r=t.element;t.config;var a=t.opts,o=void 0===a?{}:a,n=Gr(t,Jo);if(!r)return null;var i=Mr()||{},l=Xt(i.theme),c=r["story-elements"]&&r["story-elements"].map((function(e){return e.metadata})),s=o.showHeadline,m=void 0===s||s,d=o.headlineText;return h.createElement("div",N({className:"arrow-component arr--reference-element"},n),c&&c.map((function(t,r){var a=t.name,o=void 0===a?"":a,n=t.description,i=void 0===n?"":n,c=t.url;return h.createElement("div",{key:r,className:I("wrapper ".concat(l),Qo)},h.createElement(e,{href:c,"aria-label":"reference-headline"},m&&h.createElement("div",{className:"reference-m_name__24IwG","data-test-id":"ref-headline"},d||o),h.createElement("div",{className:"reference-m_description__2x3Io"},i)))})))};Xo.propTypes={element:l.shape({"story-elements":l.arrayOf(l.shape({metadata:l.shape({name:l.string,description:l.string,url:l.string})}))}),opts:l.shape({hideHeadline:l.bool}),config:ar};var $o=Jr(Xo),en=["element","render"],tn={"./attachment.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",headline:"attachment-m_headline__kP7Hs","button-wrapper":"attachment-m_button-wrapper__2fajK","file-name":"attachment-m_file-name__1LU9q",dark:"attachment-m_dark__3ixF7",light:"attachment-m_light__1kcpj",pdf:"attachment-m_pdf__3i_bR",doc:"attachment-m_doc__6vUVo attachment-m_pdf__3i_bR",wrapper:"attachment-m_wrapper__3gMwN","content-wrapper":"attachment-m_content-wrapper__3Yu0B"}},rn=function(t){var r=t.element,a=void 0===r?{}:r;t.render;var o=Gr(t,en),n=a["file-name"],i=a.url,l=a["content-type"];if(!l||!i)return null;var c="application/pdf"===l,s=Mr()||{},m=Xt(s.theme),d=n||(c?"Attached PDF":"Attached DOC");return h.createElement("div",N({"data-test-id":"attachment"},o,{className:"arrow-component arr--attachment-element "+I(m,tn)+" "+(o&&o.className||"")}),h.createElement("div",{className:"attachment-m_headline__kP7Hs"},"Attachment"),h.createElement("div",{className:"attachment-m_wrapper__3gMwN"},c?h.createElement("div",{"data-test-id":"pdf",className:"attachment-m_pdf__3i_bR"},"PDF"):h.createElement("div",{"data-test-id":"doc",className:"attachment-m_doc__6vUVo attachment-m_pdf__3i_bR"},"DOC"),h.createElement("div",{className:"attachment-m_content-wrapper__3Yu0B"},h.createElement("div",{className:"attachment-m_file-name__1LU9q",dangerouslySetInnerHTML:{__html:d}}),h.createElement(e,{className:"attachment-m_button-wrapper__2fajK",href:i,target:"_blank",rel:"noopener noreferrer",download:!0,"aria-label":"button"},c?"Preview":"Download"))))};rn.propTypes={element:l.shape({url:l.string,fileName:l.string,contentType:l.string}),render:l.func};var an=Jr(rn),on=function(e){var t=e.color,r=void 0===t?"#333":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},h.createElement("g",{fill:"none",fillRule:"nonzero"},h.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),h.createElement("path",{stroke:r,d:"M9 16L1 8l8-8"})))};on.propTypes={color:l.string};var nn=function(e){var t=e.color,r=void 0===t?"#333":t;return h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},h.createElement("g",{fill:"none",fillRule:"nonzero"},h.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),h.createElement("path",{stroke:r,d:"M1 0l8 8-8 8"})))};nn.propTypes={color:l.string};var ln={"./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"}},cn=function(e){var t=e.selectedIndex,r=e.previousClick,a=e.nextClick,o=e.noOfItems,n=e.perView,i=e.languageDirection;if(o<1)return null;var l=Mr()||{},c=Xt(l.theme),s="rtl"===i?"left-arrow-rtl":"left-arrow-ltr",m="rtl"===i?"right-arrow-rtl":"right-arrow-ltr";return h.createElement(h.Fragment,null,0!==t?h.createElement("button",{onClick:r,className:("left-arrow ".concat(s)?"left-arrow ".concat(s)+" ":"")+I("arrow left-arrow-".concat(c," ").concat(s),ln)},h.createElement(on,{color:"dark"===c?"#fff":"#333"})):null,t<o-1&&!(t>=o-n)?h.createElement("button",{onClick:a,className:("right-arrow ".concat(m)?"right-arrow ".concat(m)+" ":"")+I("arrow right-arrow-".concat(c," ").concat(m),ln)},h.createElement(nn,{color:"dark"===c?"#fff":"#333"})):null)};cn.propTypes={noOfItems:m,perView:m,slideIndicator:s,previousClick:d,nextClick:d,selectedIndex:m,languageDirection:s};var sn={"./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"}},mn=function(e){var t=e.indicatorItems,r=e.indicatorClick,a=e.selectedIndex,o=e.indicatorType;if(t.length<1)return null;var n=Mr()||{},i=Xt(n.theme);return h.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},t.map((function(e,t){return h.createElement("li",{key:"slider-".concat(t),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(e){return r(e,t)}},h.createElement("button",{"aria-pressed":a===t?"true":"false",className:("indicator-button indicator-".concat(o)?"indicator-button indicator-".concat(o)+" ":"")+I("indicator-button indicator-".concat(o," indicator-").concat(o,"-").concat(i),sn)}))})))};mn.propTypes={indicatorItems:u,perView:m,indicatorType:s,indicatorClick:d,selectedIndex:m};var dn=function(e,t,r,a){var o,n,i,l,c=Math.floor(r.current.scrollWidth*(e/a)),s="rtl"===t?-1*c:c;o=r.current,n=s,i=!0,o.scrollTo((ea(l={},i?"left":"top",n),ea(l,"behavior","smooth"),l))},un=function(e){var t=e.children,r=e.isArrow,a=e.interval,o=e.isInfinite,n=e.pauseOnHover,i=e.perView,l=e.slideIndicator,c=ot(_(0),2),s=c[0],m=c[1],d=ot(_(!1),2),u=d[0],p=d[1],g=x((function(e){return rt(e,["qt","config","language","direction"],"ltr")})),v=t?t.length:0,y=w(null),b=t.length-(i-1),E=t.slice(0,b);f((function(){if(o&&!u){var e=setInterval((function(){k()}),a);return function(){clearInterval(e)}}}),[o,u]);var k=function(){m((function(e){var t=e===v-i?0:e+1;return dn(t,g,y,v),t}))},N=function(){n&&p(!u)};return h.createElement("div",{className:"scroll-snap-container"},h.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:N,onMouseLeave:N},h.createElement("div",{ref:y,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},t),r&&h.createElement(cn,{noOfItems:v,perView:i,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=s-1;m(t),dn(t,g,y,v)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),s<v){var t=s+1;m(t),dn(t,g,y,v)}},selectedIndex:s,languageDirection:g})),t.length>i&&"none"!==l&&h.createElement(mn,{indicatorItems:E,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),m(t),dn(t,g,y,v)},selectedIndex:s,indicatorType:l}))};un.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},un.propTypes={children:u.isRequired,isArrow:p,isInfinite:p,interval:m,pauseOnHover:p,perView:m,slideIndicator:s};var pn=function(e){if(!e.element)return null;var t=function(t){var a=t.onClickHandler,o=rt(e,["element","story-elements"],[]);return h.createElement("div",{className:"arr--image-slideshow-element image-slideshow-m_slideshow__3jRFX","data-test-id":"image-slideshow"},h.createElement(un,{slideIndicator:"none"},o.map((function(e,t){return function(e,t,a){var o=e.id,i=e["image-s3-key"],l=e.metadata,c=e.title;return h.createElement("div",{onClick:function(){return a(t)},className:"image-slideshow-m_slide__3URCC",key:o},h.createElement("figure",{key:o,className:"image-slideshow-m_image-container__2VTEK"},h.createElement(n,{margin:"0px"},h.createElement(r,{slug:i,metadata:l,"aspect-ratio":[16,9],defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},className:"image-slideshow-m_image__1p1fO",alt:c}))),h.createElement("p",{className:"image-slideshow-m_caption__mWpmc"},c))}(e,t,a)}))))};return t.propTypes={onClickHandler:l.func},h.createElement(Oo,{template:t,element:e.element})};pn.propTypes={element:l.shape({"story-elements":l.array}),story:or};var hn=Jr(pn),_n={"./story-element-card.m.css":{"element-container":"story-element-card-m_element-container__1ZeJL","live-blog":"story-element-card-m_live-blog__JSpmI","image-share":"story-element-card-m_image-share__2V7dB","story-card":"story-element-card-m_story-card__H2VYl",table:"story-element-card-m_table__34F2c",dark:"story-element-card-m_dark__1AX15",light:"story-element-card-m_light__3T2uA"}},fn=function(e){return e.subtype||e.type||""};l.object,l.object,l.object,l.node,l.shape({id:l.string});var gn=function(e){var t=e.story,r=e.card,a=e.heroVideoElementId,o=void 0===a?-1:a,n=e.config,i=e.isLive,l=e.theme,c=e.adComponent,s=e.widgetComp,m=Xt(l),d=i?"live-blog":"",u=!0;return h.createElement("div",{className:"arr--story-page-card-wrapper"},rt(r,["story-elements"],[]).map((function(e,a){if(e.id===o)return!1;e.subtype&&"facebook-post"===e.subtype&&u&&("undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(max-width: 767px)").matches&&setTimeout((function(){document.querySelectorAll(".story-element-jsembed.story-element-jsembed-facebook-post span").forEach((function(e){e.classList.contains("fixed-mobile-fb-video")||(e.style.height="".concat(Math.ceil(.7*e.offsetHeight),"px"),e.classList.add("fixed-mobile-fb-video"))}))}),3e3),u=!1);var i=e&&"table"===e.subtype?"table":"",l=rt(r,["id"],"");return h.createElement("div",{key:e.id,className:"arr--element-container "+I("element-container ".concat(d," ").concat(i," ").concat(m),_n)},function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,n=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,l=r.text,c=void 0===l?{}:l,s=r.summary,m=void 0===s?{}:s,d=r.blurb,u=void 0===d?{}:d,p=r.blockquote,_=void 0===p?{}:p,f=r.quote,g=void 0===f?{}:f,v=r["also-read"],y=void 0===v?{}:v,b=r["q-and-a"],w=void 0===b?{}:b,E=r.question,k=void 0===E?{}:E,x=r.answer,C=void 0===x?{}:x,T=r.references,j=void 0===T?{}:T,O=fn(t);"image-gallery"===O&&(O=t.metadata.type);var I=rt(t,["id"]);switch(O){case"ad":return h.createElement(a,N({},t,{id:"ad-".concat(n,"_").concat(i)}));case"widget":return h.createElement(o,{widgetCode:t.config.customCode,id:"widget-".concat(n,"_").concat(i)});case"text":var z=c.css,L=(z=void 0===z?{}:z).textColor,S=void 0===L?"#000":L,q=z.hyperlinkColor,A=void 0===q?"#2f81cd":q;return h.createElement(eo,{element:t,css:{textColor:S,hyperlinkColor:A}});case"summary":var M=m.template,P=void 0===M?"":M,R=m.css,B=(R=void 0===R?{}:R).headerBgColor,H=void 0===B?"":B,U=m.opts,F=(U=void 0===U?{}:U).headline,D=void 0===F?"":F,V=U.hideHeadline,W=void 0!==V&&V;return h.createElement(co,{element:t,template:P,opts:{headline:D||"Summary",hideHeadline:W},css:{headerBgColor:H||""}});case"blurb":var Z=u.template,K=void 0===Z?"default":Z,G=u.css,Y=(G=void 0===G?{}:G).borderColor,J=void 0===Y?"#2f81cd":Y;return h.createElement(oo,{element:t,template:K,css:{borderColor:J}});case"blockquote":var Q=_.template,X=void 0===Q?"default":Q,$=_.css,ee=($=void 0===$?{}:$).iconType,te=void 0===ee?"edgeIcon":ee,re=$.blockQuoteColor,ae=void 0===re?"#2f81cd":re,oe=$.backgroundShade,ne=void 0===oe?"":oe;return h.createElement(fo,{element:t,template:X,css:{iconType:te,blockQuoteColor:ae,backgroundShade:ne}});case"quote":var ie=g.template,le=void 0===ie?"borderNone":ie,ce=g.css,se=(ce=void 0===ce?{}:ce).borderColor,me=void 0===se?"#2f81cd":se;return h.createElement(Yo,{element:t,template:le,css:{borderColor:me}});case"bigfact":return h.createElement(bo,{element:t});case"also-read":var de=y.template,ue=void 0===de?"default":de,pe=y.css,he=(pe=void 0===pe?{}:pe).textColor,_e=void 0===he?"#000":he,fe=y.opts,ge=(fe=void 0===fe?{}:fe).title,ve=void 0===ge?"":ge;return h.createElement(No,{story:e,element:t,template:ue,css:{textColor:_e},opts:{title:ve}});case"image":return h.createElement(qo,{element:t});case"q-and-a":var ye=w.template,be=void 0===ye?"default":ye,we=w.css,Ee=(we=void 0===we?{}:we).iconColor,ke=void 0===Ee?"":Ee,xe=w.opts,Ne=(xe=void 0===xe?{}:xe).defaultIconType,Ce=void 0===Ne?"edge":Ne;return h.createElement(Ro,{element:t,opts:{type:"q-and-a",defaultIconType:Ce},template:be,css:{iconColor:ke}});case"question":var Te=k.template,je=void 0===Te?"default":Te,Oe=k.css,Ie=(Oe=void 0===Oe?{}:Oe).questionIconColor,ze=void 0===Ie?"":Ie,Le=k.opts,Se=(Le=void 0===Le?{}:Le).defaultQuestionIconType,qe=void 0===Se?"edge":Se;return h.createElement(Ro,{element:t,opts:{type:"question",defaultIconType:qe},template:je,css:{iconColor:ze}});case"answer":var Ae=C.template,Me=void 0===Ae?"default":Ae,Pe=C.css,Re=(Pe=void 0===Pe?{}:Pe).answerIconColor,Be=void 0===Re?"":Re,He=C.opts,Ue=(He=void 0===He?{}:He).defaultAnswerIconType,Fe=void 0===Ue?"edge":Ue;return h.createElement(Ro,{element:t,opts:{type:"answer",defaultIconType:Fe},template:Me,css:{iconColor:Be}});case"gallery":return h.createElement("div",{className:"content-style",id:"image-gallery-".concat(I)},h.createElement(Fo,{element:t}));case"slideshow":return h.createElement("div",{className:"content-style",id:"image-slideshow-".concat(I)},h.createElement(hn,{element:t}));case"youtube-video":case"dailymotion-video":return h.createElement("div",{className:"content-style",id:"video-".concat(I)},h.createElement($r,{element:t,story:e,loadIframeOnClick:!0}));case"attachment":return h.createElement(an,{element:t});case"tweet":case"jsembed":return h.createElement("div",{className:"content-style",id:"jsembed-".concat(I)},h.createElement(Wo,{element:t}));case"references":var De=j.opts,Ve=(De=void 0===De?{}:De).showHeadline,We=void 0===Ve||Ve,Ze=De.headlineText,Ke=void 0===Ze?"":Ze;return h.createElement($o,{element:t,opts:{showHeadline:We,headlineText:Ke}});default:return h.createElement("div",{className:"content-style",id:"element-".concat(I)},h.createElement(Wo,{element:t,story:e}))}}(t,e,n,c,s,a,l))})))};gn.propTypes={story:l.object,card:l.array,heroVideoElementId:l.number,config:l.object,isLive:l.bool,theme:l.string,adComponent:l.func,widgetComp:l.func},l.object,l.object,l.object,l.func,l.func;var vn=function(e){var t=e.id,r=void 0===t?"":t,a=e.element,o=void 0===a?{}:a,n=e.AdComponent,i=e.WidgetComp;switch(o.type){case"ad":return h.createElement(n,N({},o,{id:"ad-after-story-".concat(r)}));case"widget":return h.createElement(i,{widgetCode:o.config.customCode,id:"widget-after-story-".concat(r)});default:return null}};vn.propTypes={id:l.string,element:l.object,AdComponent:l.func,WidgetComp:l.func};var yn={"./video-story.m.css":{default:"video-story-m_default__Y0gcI","hero-priority":"video-story-m_hero-priority__LzhJF","headline-priority":"video-story-m_headline-priority__1-0tX",adSlot:"video-story-m_adSlot__3RzTR","hero-video":"video-story-m_hero-video__1rumO","header-details":"video-story-m_header-details__1MgWw","story-details":"video-story-m_story-details__2KI1H","timestamp-social-share":"video-story-m_timestamp-social-share__1Vma8",author:"video-story-m_author__3AscN","story-tags":"video-story-m_story-tags__1OnlS","aside-collection":"video-story-m_aside-collection__3ecnd",sticky:"video-story-m_sticky__2RJZt","story-content-wrapper":"video-story-m_story-content-wrapper__g87mo","video-story-side-column":"video-story-m_video-story-side-column__155nW","index-2":"video-story-m_index-2__32Kzt","tablet-index-2":"video-story-m_tablet-index-2__2sPXB"}},bn=function(e){var t=e.story,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.storyElementsConfig,l=e.widgetComp,c=e.adComponent,s=e.firstChild,m=e.secondChild,d=r.cards.flatMap((function(e){return e["story-elements"]})).find((function(e){var t=e.type,r=e.subtype;return"youtube-video"===t||"jsembed"===t&&"dailymotion-video"===r}))||{},u=o.theme,p=void 0===u?"":u,_=o.authorCard,f=void 0===_?{}:_,g=o.authorDetails,v=void 0===g?{}:g,y=o.asideCollection,b=void 0===y?{}:y,w=o.templateType,E=void 0===w?"":w,k=o.noOfVisibleCards,x=void 0===k?0:k,C=o.publishedDetails,T=void 0===C?{}:C,j=o.verticalShare,O=void 0===j?"":j,z=o.shareIconType,L=void 0===z?"plain-color-svg":z,S=o.premiumStoryIconConfig,q=void 0===S?{}:S,A=x<0?r.cards:r.cards.slice(0,x),M=rt(r,["id"],""),P=function(){return h.createElement("div",{className:"video-story-m_hero-video__1rumO video-story-m_index-2__32Kzt",id:"video-".concat(rt(d,["id"]))},h.createElement($r,{element:d}))},R=function(){return h.createElement("div",{id:"story-share-".concat(M),className:"content-style"},h.createElement(i,{template:Sr,fullUrl:encodeURI(r.url),title:r.headline,theme:p,vertical:!!O,iconType:L,shareIconId:"share-icon-story-share-".concat(M)}))},B=function(){return h.createElement("div",{className:"video-story-m_header-details__1MgWw"},h.createElement(Rr,{story:r}),h.createElement(Wr,{story:r,premiumStoryIconConfig:q}),h.createElement(Kr,{story:r,showFullContent:!0}))},H=function(){return h.createElement("div",{className:"video-story-m_story-details__2KI1H"},h.createElement("div",{className:"video-story-m_author__3AscN"},f&&h.createElement(Va,{story:r,template:v.template,opts:v.opts})),h.createElement("div",{className:"video-story-m_timestamp-social-share__1Vma8"},h.createElement(Ga,{story:r,opts:T}),!O&&h.createElement(R,null)),A.map((function(e){return h.createElement(gn,{heroVideoElementId:d.id,story:r,card:e,key:rt(e,["id"],""),config:n,adComponent:c,widgetComp:l})})),s,h.createElement("div",{className:"video-story-m_story-tags__1OnlS"},h.createElement(Ja,{tags:r.tags}),h.createElement(vn,{id:r.id,element:r.customSlotAfterStory,AdComponent:c,WidgetComp:l})),m)},U=function(){return b&&h.createElement("div",{className:"video-story-m_video-story-side-column__155nW"},h.createElement(Ua,N({},b,{widgetComp:l,adComponent:c,sticky:!0,storyId:M,opts:T})))},F=E&&"default"!==E?E:"default",D=E?"video-story-".concat(E):"video-story";return h.createElement("div",{"data-test-id":D,style:{backgroundColor:p},className:"arrow-component arr--content-wrapper arr-story-grid arr--video-story-template-wrapper "+I("".concat(F," ").concat(O),yn)},function(e){switch(e){case"hero-priority":return h.createElement(h.Fragment,null,h.createElement(P,null),h.createElement("div",{className:"video-story-m_story-content-wrapper__g87mo"},h.createElement(B,null),h.createElement(H,null)),O&&h.createElement(R,null),b&&h.createElement("div",{className:"video-story-m_aside-collection__3ecnd video-story-m_tablet-index-2__2sPXB"},h.createElement(Ua,N({horizontal:!0},b,{widgetComp:l,adComponent:c,storyId:M,opts:T}))));case"headline-priority":return h.createElement(h.Fragment,null,h.createElement("div",{className:"video-story-m_story-content-wrapper__g87mo"},h.createElement(B,null)),h.createElement("div",{className:"video-story-m_story-content-wrapper__g87mo video-story-m_index-2__32Kzt"},h.createElement(P,null)),h.createElement("div",{className:"video-story-m_story-content-wrapper__g87mo"},h.createElement(H,null)),O&&h.createElement(R,null),h.createElement(U,null));default:return h.createElement(h.Fragment,null,h.createElement(P,null),h.createElement("div",{className:"video-story-m_story-content-wrapper__g87mo"},h.createElement(B,null),h.createElement(H,null)),O&&h.createElement(R,null),h.createElement(U,null))}}(E))};bn.propTypes={story:l.object,config:l.shape({templateType:l.string,authorCard:l.object,asideCollection:l.object}),firstChild:l.node,secondChild:l.node,storyElementsConfig:l.object,adComponent:l.func,widgetComp:l.func};var wn=Ar(bn);export{wn as default};
|