@quintype/arrow 2.9.10 → 2.9.11-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/AlsoRead/styles.arrow.css +1 -1
- package/AsideCollection/index.js +1 -0
- package/AsideCollection/styles.arrow.css +1 -1
- package/Attachment/index.js +1 -0
- package/Attachment/styles.arrow.css +1 -1
- package/Author/index.js +1 -0
- package/Author/styles.arrow.css +1 -1
- package/AuthorIntroductionCard/index.js +1 -0
- package/AuthorIntroductionCard/styles.arrow.css +1 -1
- package/AuthorWithTime/index.js +1 -0
- package/AuthorWithTime/styles.arrow.css +1 -1
- package/AuthorsList/index.js +1 -0
- package/AuthorsList/styles.arrow.css +1 -1
- package/BigFact/index.js +1 -0
- package/BigFact/styles.arrow.css +1 -1
- package/BlockQuote/index.js +1 -0
- package/BlockQuote/styles.arrow.css +1 -1
- package/Blurb/index.js +1 -0
- package/Blurb/styles.arrow.css +1 -1
- package/CollectionFilter/index.js +1 -0
- package/CollectionFilter/styles.arrow.css +1 -1
- package/CollectionName/index.js +1 -0
- package/CollectionName/styles.arrow.css +1 -1
- package/ElevenStories/index.js +1 -0
- package/ElevenStories/styles.arrow.css +1 -1
- package/FourColFiveStories/index.js +1 -0
- package/FourColFiveStories/styles.arrow.css +1 -1
- package/FourColGrid/index.js +1 -0
- package/FourColGrid/styles.arrow.css +1 -1
- package/FourColSixteenStories/index.js +1 -0
- package/FourColSixteenStories/styles.arrow.css +1 -1
- package/FourColTwelveStories/index.js +1 -0
- package/FourColTwelveStories/styles.arrow.css +1 -1
- package/FourStorySlider/index.js +1 -0
- package/FourStorySlider/styles.arrow.css +1 -1
- package/FourTabbedBigStorySlider/index.js +1 -0
- package/FourTabbedBigStorySlider/styles.arrow.css +1 -0
- package/FullScreenSlider/index.js +1 -0
- package/FullScreenSlider/styles.arrow.css +1 -1
- package/HalfScreenSlider/index.js +1 -0
- package/HalfScreenSlider/styles.arrow.css +1 -1
- package/Headline/index.js +1 -0
- package/Headline/styles.arrow.css +1 -1
- package/HeroImage/index.js +1 -0
- package/HeroImage/styles.arrow.css +1 -1
- package/Image/index.js +1 -0
- package/Image/styles.arrow.css +1 -1
- package/ImageGallery/index.js +1 -0
- package/ImageGallery/styles.arrow.css +1 -1
- package/ImageSlideshow/index.js +1 -0
- package/ImageSlideshow/styles.arrow.css +1 -1
- package/KeyEvents/index.js +1 -0
- package/KeyEvents/styles.arrow.css +1 -1
- package/ListComponent/index.js +1 -0
- package/ListComponent/styles.arrow.css +1 -1
- package/ListicleStoryTemplate/index.js +1 -0
- package/ListicleStoryTemplate/styles.arrow.css +1 -1
- package/LiveBlogStoryTemplate/index.js +1 -0
- package/LiveBlogStoryTemplate/styles.arrow.css +1 -1
- package/LoadmoreButton/index.js +1 -0
- package/LoadmoreButton/styles.arrow.css +1 -1
- package/MagazineEditions/index.js +1 -0
- package/MagazineEditions/styles.arrow.css +1 -1
- package/MagazineHeaderCard/index.js +1 -0
- package/MagazineHeaderCard/styles.arrow.css +1 -1
- package/MagazineWidget/index.js +1 -0
- package/MagazineWidget/styles.arrow.css +1 -1
- package/OneColStoryList/index.js +1 -0
- package/OneColStoryList/styles.arrow.css +1 -1
- package/OpinionCollection/index.js +1 -0
- package/OpinionCollection/styles.arrow.css +1 -1
- package/PageIntroductionCard/index.js +1 -0
- package/PageIntroductionCard/styles.arrow.css +1 -1
- package/PhotoStoryTemplate/index.js +1 -0
- package/PhotoStoryTemplate/styles.arrow.css +1 -1
- package/QuestionAnswer/index.js +1 -0
- package/QuestionAnswer/styles.arrow.css +1 -1
- package/Quote/index.js +1 -0
- package/Quote/styles.arrow.css +1 -1
- package/Reference/index.js +1 -0
- package/Reference/styles.arrow.css +1 -1
- package/ScrollSnap/index.js +1 -0
- package/ScrollSnap/styles.arrow.css +1 -1
- package/SectionTag/index.js +1 -0
- package/SectionTag/styles.arrow.css +1 -1
- package/SixColSixStories/index.js +1 -0
- package/SixColSixStories/styles.arrow.css +1 -1
- package/SocialShareTemplate/index.js +1 -0
- package/SocialShareTemplate/styles.arrow.css +1 -1
- package/StoryCard/index.js +1 -0
- package/StoryCard/styles.arrow.css +1 -1
- package/StoryCollection/index.js +1 -0
- package/StoryCollection/styles.arrow.css +1 -1
- package/StoryElement/index.js +1 -0
- package/StoryElementCard/index.js +1 -0
- package/StoryElementCard/styles.arrow.css +1 -1
- package/StorycardContent/index.js +1 -0
- package/StorycardContent/styles.arrow.css +1 -1
- package/Subheadline/index.js +1 -0
- package/Subheadline/styles.arrow.css +1 -1
- package/Summary/index.js +1 -0
- package/Summary/styles.arrow.css +1 -1
- package/TagIntroductionCard/index.js +1 -0
- package/TagIntroductionCard/styles.arrow.css +1 -1
- package/Text/index.js +1 -0
- package/Text/styles.arrow.css +1 -1
- package/TextStoryTemplate/index.js +1 -0
- package/TextStoryTemplate/styles.arrow.css +1 -1
- package/ThreeColFlexStories/index.js +1 -0
- package/ThreeColFlexStories/styles.arrow.css +1 -1
- package/ThreeColFourteenStories/index.js +1 -0
- package/ThreeColFourteenStories/styles.arrow.css +1 -1
- package/ThreeColGrid/index.js +1 -0
- package/ThreeColGrid/styles.arrow.css +1 -1
- package/ThreeColSevenStory/index.js +1 -0
- package/ThreeColSevenStory/styles.arrow.css +1 -1
- package/ThreeColSixStories/index.js +1 -0
- package/ThreeColSixStories/styles.arrow.css +1 -1
- package/ThreeColTwelveStories/index.js +1 -0
- package/ThreeColTwelveStories/styles.arrow.css +1 -0
- package/TimeStamp/index.js +1 -0
- package/TwoColFourStories/index.js +1 -0
- package/TwoColFourStories/styles.arrow.css +1 -1
- package/TwoColFourStoryHighlight/index.js +1 -0
- package/TwoColFourStoryHighlight/styles.arrow.css +1 -1
- package/TwoColSixStories/index.js +1 -0
- package/TwoColSixStories/styles.arrow.css +1 -1
- package/TwoColTenStoriesSidebar/index.js +1 -0
- package/TwoColTenStoriesSidebar/styles.arrow.css +1 -0
- package/TwoColThreeStories/index.js +1 -0
- package/TwoColThreeStories/styles.arrow.css +1 -1
- package/Video/index.js +1 -0
- package/VideoStoryTemplate/index.js +1 -0
- package/VideoStoryTemplate/styles.arrow.css +1 -1
- package/app.scss +6 -0
- package/cjs/index.js +1 -1
- package/esm/index.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t,{useContext as e,createContext as r}from"react";import{Link as n,LazyLoadImages as o,ResponsiveImage as a}from"@quintype/components";import i from"prop-types";import"react-timeago";function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function s(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function f(t){var e={exports:{}};return t(e,e.exports),e.exports}var h=f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),p=u(f((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=h)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var a=Object.keys(e),i=r||{},l=i.handleMissingStyleName,s=void 0===l?n.default.handleMissingStyleName:l,c=i.autoResolveMultipleImports,u=void 0===c?n.default.autoResolveMultipleImports:c;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var a=t.split("."),i=a[0],l=a[1],s=r||n.default.handleMissingStyleName;return l?e[i]?e[i][l]?e[i][l]:o("CSS module does not exist: "+l,s):o("CSS module import does not exist: "+i,s):o("Invalid style name: "+t,s)}(t,e,s);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(i.length>1)throw new Error('Cannot resolve styleName "'+t+'" 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.'+t+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+t+"'.",a):e[i[0]][t]}(t,e,s)}var r=e[a[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",s)})).filter((function(t){return t})).join(" "):""}}))),d=Array.isArray,v="object"==typeof c&&c&&c.Object===Object&&c,m="object"==typeof self&&self&&self.Object===Object&&self,y=v||m||Function("return this")(),g=y.Symbol,_=Object.prototype,b=_.hasOwnProperty,w=_.toString,j=g?g.toStringTag:void 0;var E=function(t){var e=b.call(t,j),r=t[j];try{t[j]=void 0;var n=!0}catch(t){}var o=w.call(t);return n&&(e?t[j]=r:delete t[j]),o},x=Object.prototype.toString;var O=function(t){return x.call(t)},S=g?g.toStringTag:void 0;var k=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?E(t):O(t)};var L=function(t){return null!=t&&"object"==typeof t};var N=function(t){return"symbol"==typeof t||L(t)&&"[object Symbol]"==k(t)},A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,C=/^\w*$/;var I=function(t,e){if(d(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!N(t))||(C.test(t)||!A.test(t)||null!=e&&t in Object(e))};var P=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var R,T=function(t){if(!P(t))return!1;var e=k(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},F=y["__core-js_shared__"],z=(R=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"";var M=function(t){return!!z&&z in t},G=Function.prototype.toString;var $=function(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""},Y=/^\[object .+?Constructor\]$/,W=Function.prototype,Z=Object.prototype,B=W.toString,V=Z.hasOwnProperty,K=RegExp("^"+B.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var U=function(t){return!(!P(t)||M(t))&&(T(t)?K:Y).test($(t))};var X=function(t,e){return null==t?void 0:t[e]};var q=function(t,e){var r=X(t,e);return U(r)?r:void 0},D=q(Object,"create");var H=function(){this.__data__=D?D(null):{},this.size=0};var J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Q=Object.prototype.hasOwnProperty;var tt=function(t){var e=this.__data__;if(D){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Q.call(e,t)?e[t]:void 0},et=Object.prototype.hasOwnProperty;var rt=function(t){var e=this.__data__;return D?void 0!==e[t]:et.call(e,t)};var nt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=D&&void 0===e?"__lodash_hash_undefined__":e,this};function ot(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ot.prototype.clear=H,ot.prototype.delete=J,ot.prototype.get=tt,ot.prototype.has=rt,ot.prototype.set=nt;var at=ot;var it=function(){this.__data__=[],this.size=0};var lt=function(t,e){return t===e||t!=t&&e!=e};var st=function(t,e){for(var r=t.length;r--;)if(lt(t[r][0],e))return r;return-1},ct=Array.prototype.splice;var ut=function(t){var e=this.__data__,r=st(e,t);return!(r<0)&&(r==e.length-1?e.pop():ct.call(e,r,1),--this.size,!0)};var ft=function(t){var e=this.__data__,r=st(e,t);return r<0?void 0:e[r][1]};var ht=function(t){return st(this.__data__,t)>-1};var pt=function(t,e){var r=this.__data__,n=st(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function dt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}dt.prototype.clear=it,dt.prototype.delete=ut,dt.prototype.get=ft,dt.prototype.has=ht,dt.prototype.set=pt;var vt=dt,mt=q(y,"Map");var yt=function(){this.size=0,this.__data__={hash:new at,map:new(mt||vt),string:new at}};var gt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var _t=function(t,e){var r=t.__data__;return gt(e)?r["string"==typeof e?"string":"hash"]:r.map};var bt=function(t){var e=_t(this,t).delete(t);return this.size-=e?1:0,e};var wt=function(t){return _t(this,t).get(t)};var jt=function(t){return _t(this,t).has(t)};var Et=function(t,e){var r=_t(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function xt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}xt.prototype.clear=yt,xt.prototype.delete=bt,xt.prototype.get=wt,xt.prototype.has=jt,xt.prototype.set=Et;var Ot=xt;function St(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(St.Cache||Ot),r}St.Cache=Ot;var kt=St;var Lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nt=/\\(\\)?/g,At=function(t){var e=kt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Lt,(function(t,r,n,o){e.push(n?o.replace(Nt,"$1"):r||t)})),e}));var Ct=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},It=g?g.prototype:void 0,Pt=It?It.toString:void 0;var Rt=function t(e){if("string"==typeof e)return e;if(d(e))return Ct(e,t)+"";if(N(e))return Pt?Pt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var Tt=function(t){return null==t?"":Rt(t)};var Ft=function(t,e){return d(t)?t:I(t,e)?[t]:At(Tt(t))};var zt=function(t){if("string"==typeof t||N(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Mt=function(t,e){for(var r=0,n=(e=Ft(e,t)).length;null!=t&&r<n;)t=t[zt(e[r++])];return r&&r==n?t:void 0};var Gt=function(t,e,r){var n=null==t?void 0:Mt(t,e);return void 0===n?r:n},$t=["element","render"],Yt=function(e){return function(r){var n=r.element,o=r.render,a=s(r,$t);return n?o&&"function"==typeof o?o(r):t.createElement(e,l({},a,{element:n})):null}};Yt.propTypes={StoryElement:i.element};var Wt=function(e){var r=e.width,n=void 0===r?40:r,o=e.height,a=void 0===o?30:o,i=e.iconColor,l=void 0===i?"#99B0CB":i;return t.createElement("svg",{width:n,height:a,viewBox:"0 0 102 76",version:"1.1"},t.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},t.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},t.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"}),t.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Wt.propTypes={width:i.object,height:i.object,iconColor:i.object};var Zt=function(){return t.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},t.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},t.createElement(Wt,null)))},Bt=function(e){var r=e.slug;return r?t.createElement(n,{href:r,"aria-label":"image-fallback"},Zt()):Zt()};function Vt(t){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Bt.propTypes={slug:i.string},f((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),i=new L(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw a;return A()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var l=O(i,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=u(t,e,r);if("normal"===s.type){if(n=r.done?d:h,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=d,r.method="throw",r.arg=s.arg)}}}(t,r,i),a}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function m(){}function y(){}function g(){}var _={};s(_,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==r&&n.call(w,a)&&(_=w);var j=g.prototype=m.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,a,i,l){var s=u(t[o],t,a);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,i,l)}),(function(t){r("throw",t,i,l)})):e.resolve(f).then((function(t){c.value=t,i(c)}),(function(t){return r("throw",t,i,l)}))}l(s.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function O(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,O(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=u(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function N(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:A}}function A(){return{value:e,done:!0}}return y.prototype=g,s(j,"constructor",g),s(g,"constructor",y),y.displayName=s(g,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,l,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},E(x.prototype),s(x.prototype,i,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new x(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(j),s(j,l,"Generator"),s(j,a,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=N,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},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 r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){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&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var Kt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Ut=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},Xt={mobile:767,tablet:1024},qt=i.shape({"sketches-host":i.string,"cdn-name":i.string,"cdn-image":i.string});i.shape({headline:i.string,"last-published-at":i.number,subheadline:i.string});var Dt=r(),Ht=["story","element","template","opts","css","config","render"],Jt={"./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"}},Qt=function(e){var r,n,i=e.story,l=e.linkedImage,s=e.template,c=e.isRightAlign,u="textLeftAlign"===s,f=!!(r=Gt(Xt,"mobile"))&&Gt(global,"document.documentElement.clientWidth")<=r,h=u?[16,9]:c&&f?[4,3]:[16,9],p=i["hero-image-caption"]||i.headline;return t.createElement("div",{className:"also-read-m_card-image-wrapper__3GFzu"},null==(n=l)||"object"===Vt(n)&&0===Object.entries(n).length&&n.constructor===Object||"string"==typeof n&&0===n.trim().length?t.createElement("div",{className:"arr--fallback-also-read also-read-m_image__2jdRP"},t.createElement(Bt,null)):t.createElement("figure",{className:"also-read-m_card-image__3CwAv"},t.createElement(o,null,t.createElement(a,{slug:l,"aspect-ratio":h,defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},alt:p}))))};Qt.propTypes={story:i.shape({"hero-image-caption":i.string,headline:i.string}),linkedImage:i.string,template:i.string,isRightAlign:i.bool};var te=function(r){var o=r.story,a=void 0===o?{}:o,i=r.element,c=r.template,u=void 0===c?"":c,f=r.opts,h=void 0===f?{}:f,d=r.css,v=void 0===d?{}:d;r.config,r.render;var m=s(r,Ht),y=i.text;if(!y)return null;var g=Gt(a,["linked-stories"],{}),_=Gt(i,["metadata","linked-story-id"]),b=Gt(g,[_,"url"]),w=Gt(g,[_,"hero-image-s3-key"],""),j=b&&b,E=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:Ut(t);return Kt(e)<155?"light":"dark"}((e(Dt)||{}).theme),x=h.title,O=void 0===x?"":x,S=v.textColor,k=O||"Also Read",L=""===u||"default"===u,N="imageRightAlign"===u,A=u?"alsoread-".concat(u):"alsoread-default";return t.createElement(n,l({"data-test-id":"also-read",href:j,"aria-label":"also-read"},m,{className:"arrow-component arr--also-read-element "+p(A,Jt)+" "+(m&&m.className||"")}),!L&&t.createElement("div",{className:p("default-text ".concat(E),Jt)},k),L&&t.createElement(Qt,{story:a,linkedImage:w,template:u,isRightAlign:N}),t.createElement("div",{className:"also-read-m_content-wrapper__26AZX"},t.createElement("div",{className:"also-read-m_headline__VzF-c",style:S?{color:S}:{color:E},dangerouslySetInnerHTML:{__html:y}}),N&&t.createElement(Qt,{story:a,linkedImage:w,template:u})))};te.propTypes={template:i.string,story:i.shape({"linked-stories":i.object}),element:i.shape({text:i.string,metadata:i.shape({linkedStoryId:i.shape({url:i.string,"hero-image-s3-key":i.string})})}),opts:i.shape({title:i.string}),config:qt,render:i.func,css:i.object};var ee=Yt(te);export{ee as AlsoRead};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
.fallback-m_image-position__3KddP{bottom:0;left:0;position:absolute;right:0;top:0}.fallback-m_image__1GYCJ{background:var(--fallback-img)}.fallback-m_image__1GYCJ:after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.fallback-m_fallback-svg__tK9fL svg{bottom:0;height:100%;left:50%;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;transform:translateX(-50%)}.also-read-m_card-image__3CwAv img{height:100%;position:absolute;top:0}.also-read-m_default-text__hp2dp{font-family:var(--arrow-typeface-secondary)}.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_default-text__hp2dp,.also-read-m_alsoread-textLeftAlign__S0Dxe .also-read-m_default-text__hp2dp{font-size:var(--arrow-fs-xs);font-weight:var(--arrow-fw-bold);line-height:var(--arrow-lh-3)}@media (min-width:768px){.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_default-text__hp2dp,.also-read-m_alsoread-textLeftAlign__S0Dxe .also-read-m_default-text__hp2dp{font-size:var(--arrow-fs-s)}}.also-read-m_headline__VzF-c{font-family:var(--arrow-typeface-primary);font-weight:var(--arrow-fw-bold);line-height:var(--arrow-lh-3)}.also-read-m_alsoread-default__3cYER .also-read-m_headline__VzF-c{color:var(--arrow-c-dark);font-size:var(--arrow-fs-s);padding-top:var(--arrow-spacing-xs)}@media (min-width:768px){.also-read-m_alsoread-default__3cYER .also-read-m_headline__VzF-c{font-size:var(--arrow-fs-l);padding-top:0}}.also-read-m_alsoread-textLeftAlign__S0Dxe .also-read-m_headline__VzF-c{color:var(--arrow-c-brand1);font-size:var(--arrow-fs-m);margin-top:var(--arrow-spacing-xs)}@media (min-width:768px){.also-read-m_alsoread-textLeftAlign__S0Dxe .also-read-m_headline__VzF-c{font-size:var(--arrow-fs-l)}}.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_headline__VzF-c{color:var(--arrow-c-dark);font-size:var(--arrow-fs-m);margin-right:var(--arrow-spacing-m)}@media (min-width:768px){.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_headline__VzF-c{font-size:var(--arrow-fs-l)}}.also-read-m_card-image-wrapper__3GFzu{position:relative}@media (min-width:768px){.also-read-m_alsoread-default__3cYER .also-read-m_card-image-wrapper__3GFzu{flex-basis:30%;margin-right:var(--arrow-spacing-m)}}.also-read-m_card-image__3CwAv{display:block;position:relative}.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP,.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image__3CwAv{padding-top:75%}@media (min-width:768px){.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP,.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image__3CwAv{padding-top:56.25%}}.also-read-m_alsoread-default__3cYER{border:1px solid var(--arrow-c-mono5);display:block;padding:var(--arrow-spacing-m)}@media (min-width:768px){.also-read-m_alsoread-default__3cYER{display:flex}}.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_content-wrapper__26AZX{display:flex;margin-top:var(--arrow-spacing-xs)}@media (min-width:768px){.also-read-m_alsoread-default__3cYER .also-read-m_content-wrapper__26AZX{flex-basis:70%}}.also-read-m_alsoread-default__3cYER .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP,.also-read-m_alsoread-default__3cYER .also-read-m_card-image__3CwAv,.also-read-m_alsoread__1crOV .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP{padding-top:56.25%}.also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP div{background:var(--arrow-c-mono6)}.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_card-image__3CwAv,.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP,.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP .arr--fallback-image{height:75px;width:100px}@media (min-width:768px){.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_card-image__3CwAv,.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP,.also-read-m_alsoread-imageRightAlign__1bsF3 .also-read-m_card-image-wrapper__3GFzu .also-read-m_image__2jdRP .arr--fallback-image{height:90px;width:160px}}html[dir=rtl] .also-read-m_content-wrapper__26AZX{margin-right:var(--arrow-spacing-m)}html[dir=rtl] .also-read-m_card-image-wrapper__3GFzu{margin-right:0}.also-read-m_dark__1pUib{color:var(--arrow-c-mono1)}.also-read-m_light__bTCze{color:var(--arrow-c-invert-mono1)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{PropTypes as t}from"prop-types";import r,{createContext as o,useContext as n,useState as a,useEffect as i}from"react";import l from"react-timeago";import{Link as c,ResponsiveImage as s,ResponsiveHeroImage as u,LinkBase as d}from"@quintype/components";import{connect as m,useSelector as h}from"react-redux";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t,r,o,n,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(o,n)}function g(e){return function(){var t=this,r=arguments;return new Promise((function(o,n){var a=e.apply(t,r);function i(e){p(a,o,n,i,l,"next",e)}function l(e){p(a,o,n,i,l,"throw",e)}i(void 0)}))}}function v(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 _(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 v(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)?v(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 y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function w(e){var t={exports:{}};return e(t,t.exports),t.exports}var E=w((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})),x=b(w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=E)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),k=w((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 T(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=j(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(O([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=_.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(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 j(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,j(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function O(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=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(k.prototype),c(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new k(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=O,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;L(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:O(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)}})),j=Array.isArray,z="object"==typeof y&&y&&y.Object===Object&&y,L="object"==typeof self&&self&&self.Object===Object&&self,T=z||L||Function("return this")(),O=T.Symbol,N=Object.prototype,C=N.hasOwnProperty,S=N.toString,A=O?O.toStringTag:void 0;var I=function(e){var t=C.call(e,A),r=e[A];try{e[A]=void 0;var o=!0}catch(e){}var n=S.call(e);return o&&(t?e[A]=r:delete e[A]),n},R=Object.prototype.toString;var M=function(e){return R.call(e)},P=O?O.toStringTag:void 0;var B=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":P&&P in Object(e)?I(e):M(e)};var H=function(e){return null!=e&&"object"==typeof e};var F=function(e){return"symbol"==typeof e||H(e)&&"[object Symbol]"==B(e)},D=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,W=/^\w*$/;var U=function(e,t){if(j(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!F(e))||(W.test(e)||!D.test(e)||null!=t&&e in Object(t))};var q=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var G,Z=function(e){if(!q(e))return!1;var t=B(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},J=T["__core-js_shared__"],K=(G=/[^.]+$/.exec(J&&J.keys&&J.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"";var V=function(e){return!!K&&K in e},Y=Function.prototype.toString;var $=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Q=/^\[object .+?Constructor\]$/,X=Function.prototype,ee=Object.prototype,te=X.toString,re=ee.hasOwnProperty,oe=RegExp("^"+te.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ne=function(e){return!(!q(e)||V(e))&&(Z(e)?oe:Q).test($(e))};var ae=function(e,t){return null==e?void 0:e[t]};var ie=function(e,t){var r=ae(e,t);return ne(r)?r:void 0},le=ie(Object,"create");var ce=function(){this.__data__=le?le(null):{},this.size=0};var se=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ue=Object.prototype.hasOwnProperty;var de=function(e){var t=this.__data__;if(le){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ue.call(t,e)?t[e]:void 0},me=Object.prototype.hasOwnProperty;var he=function(e){var t=this.__data__;return le?void 0!==t[e]:me.call(t,e)};var fe=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=le&&void 0===t?"__lodash_hash_undefined__":t,this};function pe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}pe.prototype.clear=ce,pe.prototype.delete=se,pe.prototype.get=de,pe.prototype.has=he,pe.prototype.set=fe;var ge=pe;var ve=function(){this.__data__=[],this.size=0};var _e=function(e,t){return e===t||e!=e&&t!=t};var ye=function(e,t){for(var r=e.length;r--;)if(_e(e[r][0],t))return r;return-1},be=Array.prototype.splice;var we=function(e){var t=this.__data__,r=ye(t,e);return!(r<0)&&(r==t.length-1?t.pop():be.call(t,r,1),--this.size,!0)};var Ee=function(e){var t=this.__data__,r=ye(t,e);return r<0?void 0:t[r][1]};var xe=function(e){return ye(this.__data__,e)>-1};var ke=function(e,t){var r=this.__data__,o=ye(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function je(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])}}je.prototype.clear=ve,je.prototype.delete=we,je.prototype.get=Ee,je.prototype.has=xe,je.prototype.set=ke;var ze=je,Le=ie(T,"Map");var Te=function(){this.size=0,this.__data__={hash:new ge,map:new(Le||ze),string:new ge}};var Oe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ne=function(e,t){var r=e.__data__;return Oe(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ce=function(e){var t=Ne(this,e).delete(e);return this.size-=t?1:0,t};var Se=function(e){return Ne(this,e).get(e)};var Ae=function(e){return Ne(this,e).has(e)};var Ie=function(e,t){var r=Ne(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Re(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])}}Re.prototype.clear=Te,Re.prototype.delete=Ce,Re.prototype.get=Se,Re.prototype.has=Ae,Re.prototype.set=Ie;var Me=Re;function Pe(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(Pe.Cache||Me),r}Pe.Cache=Me;var Be=Pe;var He=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Fe=/\\(\\)?/g,De=function(e){var t=Be(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(He,(function(e,r,o,n){t.push(o?n.replace(Fe,"$1"):r||e)})),t}));var We=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Ue=O?O.prototype:void 0,qe=Ue?Ue.toString:void 0;var Ge=function e(t){if("string"==typeof t)return t;if(j(t))return We(t,e)+"";if(F(t))return qe?qe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ze=function(e){return null==e?"":Ge(e)};var Je=function(e,t){return j(e)?e:U(e,t)?[e]:De(Ze(e))};var Ke=function(e){if("string"==typeof e||F(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ve=function(e,t){for(var r=0,o=(t=Je(t,e)).length;null!=e&&r<o;)e=e[Ke(t[r++])];return r&&r==o?e:void 0};var Ye=function(e,t,r){var o=null==e?void 0:Ve(e,t);return void 0===o?r:o};function $e(e){return($e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Qe=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var Xe=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),et=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var rt=function(e){return(e=Ze(e))&&e.replace(et,Xe).replace(tt,"")},ot=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var nt=function(e){return e.match(ot)||[]},at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var it=function(e){return at.test(e)},lt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ct="["+lt+"]",st="\\d+",ut="[\\u2700-\\u27bf]",dt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+lt+st+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",ft="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",gt="(?:"+dt+"|"+mt+")",vt="(?:"+pt+"|"+mt+")",_t="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",yt="[\\ufe0e\\ufe0f]?"+_t+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ht,ft].join("|")+")[\\ufe0e\\ufe0f]?"+_t+")*"),bt="(?:"+[ut,ht,ft].join("|")+")"+yt,wt=RegExp([pt+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ct,pt,"$"].join("|")+")",vt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ct,pt+gt,"$"].join("|")+")",pt+"?"+gt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",st,bt].join("|"),"g");var Et=function(e){return e.match(wt)||[]};var xt=function(e,t,r){return e=Ze(e),void 0===(t=r?void 0:t)?it(e)?Et(e):nt(e):e.match(t)||[]},kt=RegExp("['’]","g");var jt=function(e){return function(t){return Qe(xt(rt(t).replace(kt,"")),e,"")}},zt=jt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Lt=jt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var Tt=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=zt(g));var _,y=f.getFullYear(),b=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,k=Nt(o),j=k;if(w&&(v=Ye(w,[Lt(g)])||g),b){var z=k.includes("am"),L=b.am,T=void 0===L?"am":L,O=b.pm,N=void 0===O?"pm":O;j=(z?k.replace("am",T):k.replace("pm",N))||k}return"rtl"===x?(_=i?"".concat(j):"","".concat(p," ").concat(v,", ").concat(y," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(y):c?"".concat(j,", ").concat(p," ").concat(v," ").concat(y):(_=i?", ".concat(j):"","".concat(p," ").concat(v,", ").concat(y).concat(_))};function Ot(e,t,r,o,n){var a,i=Ye(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Tt(e,t,r,o,n):e>1?(a=Ye(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ye(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Nt(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 Ct=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},St=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},At={mobile:767,tablet:1024},It=function(e){var t=Ye(At,e);return!!t&&Ye(global,"document.documentElement.clientWidth")<=t},Rt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:St(e),o=Ct(r)<155?"light":"dark";return o},Mt=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=Ye(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Pt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ye(n,["reference-url"],""):""}var Bt=function(e){return null==e||"object"===$e(e)&&0===Object.entries(e).length&&e.constructor===Object||"string"==typeof e&&0===e.trim().length};e.shape({"sketches-host":e.string,"cdn-name":e.string,"cdn-image":e.string}),e.shape({headline:e.string,"last-published-at":e.number,subheadline:e.string});var Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ye(e,["story-template"])?Ye(e,["metadata","reference-url"],""):e.url||t},Ft=function(){var e=g(k.mark((function e(t){var r,o,n=arguments;return k.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[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 o=e.sent,e.abrupt("return",o);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)}}(),Dt=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.createElement(l,{date:e,formatter:function(e,r,n,a){return t(e,r,n,a,o)}})},Wt=o(),Ut=function(e){return function(t){return r.createElement(Wt.Provider,{value:t.config},r.createElement(e,t))}},qt=function(){return n(Wt)},Gt={"./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"}},Zt=function(e){var t=e.story,o=e.isBottom,n=e.config,a=void 0===n?{}:n,i=qt()||{},l=Ye(i,["showTime"],!0),c=t["last-published-at"]||t["first-published-at"],s=o?"bottom-fix":"",u=Rt(i.theme);return r.createElement(r.Fragment,null,l&&r.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+x("time ".concat(u," ").concat(s),Gt)},r.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},Dt(c,Ot,a))))};Zt.propTypes={story:e.object,isBottom:e.bool,config:e.object};var Jt={"./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"}},Kt=function(e){var t=e.story,o=e.hideAuthorImage,n=e.isBottom,a=e.prefix,i=void 0===a?"":a,l=e.config,u=void 0===l?{}:l,d=qt()||{},m=Ye(d,["showAuthor"],!0),h=Ye(t,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",y=Rt(d.theme),b=Ye(u,["mountAt"],""),w=function(e){return i?r.createElement("div",{className:"arr-author-prefix "+x("prefix ".concat(y),Jt)},i):!o&&function(e){return f||p?r.createElement("div",{"data-test-id":"author-image",className:x("author-image ".concat(e,"-image"),Jt)},r.createElement("figure",null,p?r.createElement(s,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):r.createElement("img",{src:f}))):null}(e)};return r.createElement(r.Fragment,null,m&&r.createElement(c,{href:"".concat(b,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+x("author ".concat(_),Jt)},w("ltr"),r.createElement("div",{"data-test-id":"author-name",className:"author-name "+x("author-name ".concat(y),Jt)},g||t["author-name"]),!i&&w("rtl")))};var Vt=m((function(e){return{config:Ye(e,["qt","config"],{})}}))(Kt);Kt.propTypes={story:e.object.isRequired,hideAuthorImage:e.bool,isBottom:e.bool,prefix:e.string,config:e.object},Kt.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var Yt={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},$t=function(e){var t=e.width,o=void 0===t?"3px":t,n=e.height,a=void 0===n?"3px":n,i=e.color,l=void 0===i?"light":i;return r.createElement("div",{className:x(l,Yt)},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},r.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};$t.propTypes={color:e.string,width:e.string,height:e.string};var Qt={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},Xt=function(e){var t=e.width,o=void 0===t?"1":t,n=e.height,a=void 0===n?"10":n,i=e.color,l=void 0===i?"light":i;return r.createElement("div",{className:x(l,Qt)},r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},r.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};Xt.propTypes={color:e.string,width:e.string,height:e.string};var er={"./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"}},tr=function(e){var t=e.story,o=e.opts,n=void 0===o?{}:o,a=e.isLightTheme,i=void 0!==a&&a,l=qt()||{},c=Ye(l,["showReadTime"])||Ye(n,["showReadTime"],!0),s=Ye(t,["read-time"],0),u=i?"light":Rt(l.theme);if(!c||!s)return null;var d=Ye(n,["localizedTimeToRead"])||"min read";return r.createElement(r.Fragment,null,r.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+x("read-time-wrapper ".concat(u),er)},r.createElement("span",{className:"read-time-m_dot-indicator__3Sqh2"},r.createElement($t,{color:u})),r.createElement("span",null,s," ",d)))};tr.propTypes={story:e.shape({"read-time":e.number}),opts:e.shape({showReadTime:e.bool}),isLightTheme:e.bool};var rr={"./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"}},or=function(e){var t=e.story,o=e.separator,n=e.isBottom,a=e.hideAuthorImage,i=e.prefix,l=e.config,c=void 0===l?{}:l,s=e.isLightTheme,u=qt()||{},d=Ye(c,["showAuthor"],Ye(u,["showAuthor"],!0)),m=Ye(u,["showTime"],!0),h=Ye(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":Rt(u.theme),v=function(){return m?r.createElement(r.Fragment,null,d&&r.createElement("span",{className:"arr-separator "+x("".concat(p),rr)},"divider"===o?r.createElement(Xt,{color:g}):r.createElement($t,{color:g})),r.createElement(Zt,{story:t,config:c}),h&&r.createElement(tr,{story:t,opts:c,isLightTheme:s})):null};return r.createElement("div",{className:"arr--author-time "+x("author-time-wrapper ".concat(f),rr)},d?r.createElement(r.Fragment,null,r.createElement(Vt,{story:t,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};or.propTypes={story:e.object,separator:e.oneOf(["dot","divider"]),hideAuthorImage:e.bool,isBottom:e.bool,prefix:e.string,config:e.object,isLightTheme:e.bool},or.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var nr={"./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"}},ar=function(e){var t=e.collectionNameBorderColor,o=void 0===t?"":t,n=e.collection,a=e.config,i=e.collectionNameTemplate,l=e.headerLevel,s=e.customCollectionName,u=void 0===s?"":s,d=e.navigate,m=void 0===d||d,h=qt()||{},f=Ye(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Mt(n,a)||"",v=u||n.name||"",_=Rt(h.theme),y="h"+l,b=St(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(b):"",E=It("mobile");return r.createElement(r.Fragment,null,f&&v&&r.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+x("collection ".concat(_," ").concat(p),nr)},p.includes("collection-borderLeft")&&r.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"}}()}}),g&&!g.includes(void 0)?r.createElement(c,{href:g,"aria-label":"collection-name"},r.createElement(y,null,v)):r.createElement(y,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?r.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(b)}}):""))};ar.propTypes={collectionNameBorderColor:t.string,collection:t.object,config:t.object,collectionNameTemplate:t.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:t.string,customCollectionName:t.string,navigate:t.bool},ar.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var ir=m((function(e){return{config:Ye(e,["qt","config"],{})}}))(ar),lr=function(e){var t=e.height,o=e.width,n=e.color,a=void 0===n?"#D8D8D8":n,i=e.positionTop;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},r.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},r.createElement("g",null,r.createElement("g",{transform:"translate(8 8)"},r.createElement("path",{d:"M0 0H24V24H0z"}),r.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},r.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"}))))))};lr.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var cr=function(e){var t=e.height,o=e.width,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},r.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},r.createElement("g",null,r.createElement("g",{transform:"translate(8 8)"},r.createElement("path",{d:"M0 0H24V24H0z"}),r.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)"})))))};cr.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var sr=function(e){var t=e.height,o=e.width,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},r.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},r.createElement("g",null,r.createElement("g",{transform:"translate(8 8)"},r.createElement("path",{d:"M0 0H24V24H0z"}),r.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},r.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"}))))))};sr.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var ur=function(e){var t=e.width,o=e.height,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop,l=void 0===i?"":i;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},r.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},r.createElement("g",null,r.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"}))))};ur.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var dr=function(e){var t=e.width,o=e.height,n=e.color,a=e.iconType,i=e.positionTop;switch(a){case"crown":return r.createElement(lr,{width:t,height:o,color:n,positionTop:i});case"lock":return r.createElement(sr,{width:t,height:o,color:n,positionTop:i});case"key":return r.createElement(cr,{width:t,height:o,color:n,positionTop:i});default:return r.createElement(ur,{width:t,height:o,color:n,positionTop:i})}};dr.propTypes={width:e.string,height:e.string,color:e.string,iconType:e.string,positionTop:e.string};var mr={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},hr=function(e){var t=e.story,o=e.headerLevel,n=e.premiumStoryIconConfig,a=void 0===n?{}:n,i=e.isLink,l=qt()||{},s=a.iconColor,u=void 0===s?"#F7B500":s,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ye(t,["alternative","home","default","headline"]),g=f&&"subscription"===Ye(t,["access"]),v=p||t.headline,_="h"+o,y=Rt(l.theme),b=g?"wrapper":"",w="24px";return r.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+x(b,mr)},g&&r.createElement(dr,{width:w,height:w,color:u,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?r.createElement(c,{href:Ht(t,"/".concat(t.slug)),externalLink:Pt(t),"aria-label":"headline"},r.createElement(_,{className:x("headline ".concat(y),mr)},v)):r.createElement(_,{className:x("headline ".concat(y),mr)},v))};hr.propTypes={story:e.object.isRequired,headerLevel:e.string,premiumStoryIconConfig:e.shape({iconColor:e.string,iconType:e.string,enablePremiumStoryIcon:e.bool}),isLink:e.bool},hr.defaultProps={headerLevel:"6",isLink:!0};var fr=function(e){var t=e.width,o=void 0===t?40:t,n=e.height,a=void 0===n?30:n,i=e.iconColor,l=void 0===i?"#99B0CB":i;return r.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},r.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},r.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},r.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"}),r.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};fr.propTypes={width:e.object,height:e.object,iconColor:e.object};var pr=function(){return r.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},r.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},r.createElement(fr,null)))},gr=function(e){var t=e.slug;return t?r.createElement(c,{href:t,"aria-label":"image-fallback"},pr()):pr()};gr.propTypes={slug:e.string};var vr={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U"}},_r=function(e){var t=e.story,o=e.FullBleed,n=e.aspectRatio,a=e.defaultWidth,i=e.widths,l=e.isHorizontal,d=e.isHorizontalMobile,m=e.isHorizontalWithImageLast,f=e.defaultFallback,p=e.isStoryPageImage,g=(qt()||{}).fallbackImageUrl,v=void 0===g?"":g,y=h((function(e){return Ye(e,["qt","config","showPlaceholder"])}))?"placeholder":"",b=o?"":"with-padding",w="hero-image";l?w="right-padding":m&&(w="left-padding");var E=d?"right-padding-mob":"",k=function(e){var t=_(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},j=_(n,2),z=j[0],L=j[1],T=void 0===L?z:L,O=It("mobile"),N=O?z:T,C=k(O?z:T),S=Ye(t,["hero-image-s3-key"])||Ye(t,["alternative","home","default","hero-image","hero-image-s3-key"]),A=function(){return S?r.createElement("figure",{style:{paddingTop:C+"%"},className:"arr--responsive-hero-image "+x("image ".concat(y),vr)},r.createElement(u,{story:t,aspectRatio:N,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})):v?r.createElement("figure",{style:{paddingTop:C+"%"},className:"arr--responsive-hero-image "+x("image ".concat(y),vr)},r.createElement(s,{slug:!p&&v,metadata:{},"aspect-ratio":N,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):r.createElement(r.Fragment,null,f?r.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:C+"%"},className:"arr--fallback-hero-image "+x("image ".concat(y),vr)},r.createElement(gr,null)):null)};return t&&(p?r.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+x("".concat(w," ").concat(b," ").concat(E),vr)},A()):r.createElement(c,{"data-test-id":"arr--hero-image",href:Ht(t,"/".concat(t.slug)),externalLink:Pt(t),"aria-label":"fallback-hero-image",className:"arr--hero-image "+x("".concat(w," ").concat(b," ").concat(E),vr)},A()))};_r.propTypes={story:e.object.isRequired,FullBleed:e.bool,defaultWidth:e.number,widths:e.array,aspectRatio:e.array,isHorizontal:e.bool,isHorizontalMobile:e.bool,defaultFallback:e.bool,isHorizontalWithImageLast:e.bool},_r.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var yr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},br=function(e){var t=e.story,o=e.template,n=void 0===o?"":o,a=e.borderColor,i=void 0===a?"":a,l=e.isLightTheme,s=qt()||{},u=Ye(s,["showSection"],!0),d=Ye(s,["sectionTagTemplate"]),m=Ye(t,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:s.theme,g=l?"light":Rt(p),v=St(i),_=h.includes(n)?"section section-".concat(n):"section";return d&&(_=h.includes(d)?"section section-".concat(d):"section"),u?r.createElement(c,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},r.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+x("".concat(g," ").concat(_),yr)},_.includes("section-borderLeft")&&r.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,r.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};br.propTypes={story:e.object.isRequired,template:e.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:e.string,solidBorderColor:e.string,isLightTheme:e.bool},br.defaultProps={template:"",isLightTheme:!1};var wr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Er=function(e){var t=e.story,o=e.truncateChars,n=void 0===o?200:o,a=e.lineClamp,i=e.clazzName,l=void 0===i?"":i,c=e.forceShowAtom,s=e.showFullContent,u=qt()||{};if(!(c||Ye(u,["showSubheadline"],!0)))return null;var d=Rt(u.theme);return r.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)+" ":"")+x("subheadline ".concat(d),wr)},s||"number"==typeof a?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,n,!0))};Er.propTypes={story:e.object.isRequired,lineClamp:e.number,truncateChars:e.number,clazzName:e.string,forceShowAtom:e.bool,showFullContent:e.bool},Er.defaultProps={forceShowAtom:!1,showFullContent:!1};var xr={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-bottom":"storycard-m_content-bottom__1QHeC","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},kr=function(e){var t=e.story,o=e.children,n=e.isHorizontal,a=e.aspectRatio,i=e.border,l=e.useImageAsBackground,c=e.bgImgContentOverlap,s=e.theme,u=e.borderColor,d=e.isHorizontalMobile,m=e.centerAlign,h=e.headerLevel,f=e.hideAuthorImage,p=e.prefix,g=e.config,v=e.isHorizontalWithImageLast;if(!t||Bt(t))return r.createElement("div",null);var _=["default","full","bottom","boxShadow"].includes(i)?"border-".concat(i):"",y="default-card";n?y="horizontal-card":v&&(y="horizontal-image-last");var b=l?"backgroung-img":"",w=c?"content-overlap":"",E=Rt(s),k=d?"horizontal-mob":"",j=r.createElement(jr,{story:t,aspectRatio:a,border:i,isHorizontalMobile:d,isHorizontal:n,centerAlign:m,headerLevel:h,borderColor:u,hideAuthorImage:f,prefix:p,config:g,isHorizontalWithImageLast:v});return r.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:s,color:E},className:"arr--story-card "+x("card ".concat(y," ").concat(_," ").concat(E," ").concat(b," ").concat(w," ").concat(k),xr)},o||j)},jr=function(e){var t=e.story;e.border;var o=e.isHorizontal,n=e.aspectRatio,a=e.headerLevel,i=e.isHorizontalMobile,l=void 0!==i&&i,c=e.centerAlign,s=void 0!==c&&c,u=e.borderColor,d=e.hideAuthorImage,m=e.prefix,h=e.isHorizontalWithImageLast,f=e.config,p=s?"center-align":"",g=St(u),v=f.localizationConfig,_=void 0===v?{}:v;return r.createElement(r.Fragment,null,o?r.createElement(_r,{story:t,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?r.createElement(_r,{story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):r.createElement(_r,{story:t,isHorizontalMobile:l,aspectRatio:n}),r.createElement("div",{className:"arr--story-content "+x("content ".concat(p),xr)},r.createElement(br,{story:t,borderColor:g}),r.createElement(hr,{story:t,headerLevel:a,premiumStoryIconConfig:f}),r.createElement(or,{config:_,story:t,isBottom:!0,prefix:m,hideAuthorImage:d}),r.createElement(Er,{story:t})))};jr.propTypes={story:e.object.isRequired,border:e.oneOfType([e.string]),isBottom:e.bool,isHorizontal:e.bool,aspectRatio:e.oneOfType([e.array]),isHorizontalMobile:e.bool,centerAlign:e.bool,headerLevel:e.string,borderColor:e.string,hideAuthorImage:e.bool,prefix:e.string,config:e.object,isHorizontalWithImageLast:e.bool},kr.propTypes={story:e.object.isRequired,children:e.node,isHorizontal:e.bool,border:e.oneOfType([e.string]),useImageAsBackground:e.bool,bgImgContentOverlap:e.bool,aspectRatio:e.oneOfType([e.array]),theme:e.string,isHorizontalMobile:e.bool,centerAlign:e.bool,headerLevel:e.string,borderColor:e.string,hideAuthorImage:e.bool,prefix:e.string,config:e.object,isHorizontalWithImageLast:e.bool},kr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var zr=function(e){var t=e.color,o=void 0===t?"#333":t;return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{fill:o,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"}))};zr.propTypes={color:e.string};var Lr={"./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 Tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Or(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nr=function(e){var t=e.config,o=void 0===t?{}:t,n=e.collection,a=e.template,i=void 0===a?"SubsequentLoadCount":a,l=e.onClick,c=e.navigate,s=e.qtConfig,u=o.showButton,m=void 0===u||u,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,_=void 0===v?"":v;if(!m)return null;var y=Rt(g),b=_?"/".concat(_):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;return void 0!==a&&a?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Mt(e,t):"/"}(n,Or(Or({},s),o));return"SubsequentLoadCount"===i?r.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+x("button ".concat(y," default"),Lr)},f):r.createElement(d,{href:b,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},r.createElement("div",{className:"arr--button "+x("button ".concat(y," default"),Lr)},f))};Nr.propTypes={collection:e.object,template:e.string,config:e.object,onClick:e.func,navigate:e.func,qtConfig:e.object};var Cr={"./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_"}},Sr=function(e){var t=e.config,o=e.index,n=e.cardLength,a=e.card,i=void 0===a?{}:a,l=e.slug,c=e.loadCards,s=e.showLoadMore,u=i["card-added-at"],d=i["story-elements"],m=void 0===d?[]:d,h=i.id,f=t.theme,p=t.mountAt,g=void 0===p?"":p,v=Rt(f),_="dark"===v?"#333":"#fff",y=o===n-1,b=y?"borderNone":"";return r.createElement(r.Fragment,null,r.createElement("div",{className:x("time-wrapper ".concat(v),Cr)},r.createElement(zr,{color:_}),Dt(u,Tt,{showTime:!0,isTimeFirst:!0})),r.createElement("a",{href:"".concat(g,"/").concat(l,"#").concat(h),"aria-label":"event-title"},r.createElement("div",{className:x("event-title ".concat(v," ").concat(b),Cr)},m.map((function(e,t){return"title"===e.type&&r.createElement("h3",{key:t},e.text)})),s&&y&&c&&r.createElement("div",{className:"key-events-m_fade-out__11jv_",style:{backgroundImage:"linear-gradient(to bottom, transparent, ".concat(f,")")}}))))};Sr.propTypes={card:e.shape({"card-added-at":e.number,"story-elements":e.array,id:e.string}),config:e.object,slug:e.string,story:e.object,elements:e.array,index:e.number,cardLength:e.number,loadCards:e.bool,showLoadMore:e.bool};var Ar=function(e){var t=e.story,o=void 0===t?{}:t,n=e.config,i=void 0===n?{}:n,l=e.showLoadMore,c=void 0===l||l,s=Ye(o,["cards"],[]),u=i.theme,d=i.initialLoadCount,m=void 0===d?4:d,f=Rt(u),p=_(a(m),2),g=p[0],v=p[1],y=s.filter((function(e){return Ye(e.metadata,["attributes","key-event"])})),b=y.length>g,w=h((function(e){return Ye(e,["qt","config"],{})}));if(y.length<1)return null;var E=(c?y.slice(0,g):y.slice(0,4)).map((function(e,t,n){return r.createElement(Sr,{cardLength:n.length,card:e,key:e.id,slug:o.slug,config:i,index:t,loadCards:b,showLoadMore:c})}));return r.createElement("div",{style:{background:u},className:"arrow-component "+x("container ".concat(f),Cr)},r.createElement("h3",null,"Key Events"),r.createElement("div",{className:"key-events-m_cards-wrapper__3f8aB"},E),c&&b&&r.createElement(Nr,{onClick:function(){v(g+m)},template:"SubsequentLoadCount",config:i,qtConfig:w}))};Ar.propTypes={story:e.object,config:e.object,showLoadMore:e.bool};var Ir=Ut(Ar);function Rr(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 Mr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pr={"./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"}},Br=function(e){var t=e.data,o=e.slotData,n=e.horizontal,l=e.config,c=e.opts,s=o||l,u=s.theme,d=void 0===u?"":u,m=s.title,h=void 0===m?"":m,f=s.collectionSlug,p=void 0===f?"":f,v=h||"Related Stories",y=n?"horizontal-wrapper":"",b=Ye(l,["mountAtPrefix"],""),w=_(a([]),2),E=w[0],x=w[1],j=_(a([]),2),z=j[0],L=j[1],T=function(){var e=g(k.mark((function e(t){var r,o;return k.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ft(t,b);case 2:r=e.sent,L(r),o=r.items,x(o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return i((function(){p&&T(p)}),[p]),i((function(){if(!p&&t){var e=t.items||t;x(e)}}),[t,p]),r.createElement(r.Fragment,null,r.createElement(ir,{customCollectionName:v,textColor:!0,collection:z}),r.createElement("div",{className:"aside-collection-m_stories__9wfUs"},E&&E.length>0?E.slice(0,4).map((function(e){var t=e.story||e;return r.createElement("div",{className:"aside-collection-m_story__17Jdm",key:t.id},r.createElement(kr,{story:t,isHorizontal:!0,theme:d,config:l},r.createElement("div",{className:"aside-collection-m_story-hero-image__13nFY"},r.createElement(_r,{story:t,aspectRatio:[[4,3]]})),r.createElement("div",null,y&&r.createElement(br,{story:t}),r.createElement(hr,{story:t}),r.createElement("div",{className:"aside-collection-m_story-byline__37KRG"},r.createElement(or,{config:c,story:t})))))})):r.createElement("div",{"data-test-id":"no-stories",className:"aside-collection-m_info__3p4zt"},"No stories found.")))};Br.propTypes={data:e.oneOfType([e.object,e.array]),config:e.object,horizontal:e.bool,slotData:e.object,opts:e.object};var Hr=function(e){var t=e.data,o=void 0===t?{}:t,n=e.config,a=void 0===n?{}:n,i=e.horizontal,l=void 0!==i&&i,c=e.slots,s=void 0===c?[]:c,u=e.sticky,d=void 0!==u&&u,m=e.keyEventsData,h=void 0===m?{}:m,f=e.enableKeyEvents,p=void 0!==f&&f,g=e.adComponent,v=e.widgetComp,_=e.storyId,y=e.opts,b=void 0===y?{}:y;if(Bt(o))return null;var w=a.theme,E=l?"horizontal-wrapper":"";if(l)return r.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",id:"aside-collection-".concat(_),className:"arrow-component arr--aside-collection "+x("wrapper ".concat(E),Pr)},r.createElement(Br,{data:o,horizontal:l,config:a,opts:b}));var k=d?"sticky":"";return r.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",className:"arrow-component arr--aside-collection "+x(["wrapper",E,k].join(" "),Pr)},p&&r.createElement(Ir,{story:h.story,showLoadMore:h.showLoadMore,config:h.config}),s.map((function(e,t){return function(e,t,n){switch(e){case"ad":return r.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},g(Mr(Mr({},t),{},{id:"ad-".concat(n,"_").concat(_)})));case"widget":return r.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},v(Mr(Mr({},t),{},{id:"widget-".concat(n,"_").concat(_)})));case"collection":return r.createElement("div",{id:"aside-collection-".concat(n,"_").concat(_)},r.createElement(Br,{slotData:t,data:o,horizontal:l,config:a,opts:b}))}}(e.type,e,t)})))};Hr.propTypes={data:e.oneOfType([e.object,e.array]),config:e.object,opts:e.object,horizontal:e.bool,slots:e.array,adComponent:e.func,widgetComp:e.func,sticky:e.bool,keyEventsData:e.shape({story:e.object,config:e.object,showLoadMore:e.boolean}),enableKeyEvents:e.boolean,storyId:e.string};var Fr=Ut(Hr);export{Br as StoryCollection,Fr as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.aside-collection-m_stories__9wfUs{margin-top:var(--arrow-spacing-m)}.aside-collection-m_story__17Jdm,.aside-collection-m_wrapper__2TJi5 .arr--collection-name{margin-bottom:var(--arrow-spacing-m)}.aside-collection-m_story__17Jdm{display:flex}.aside-collection-m_story-hero-image__13nFY{min-width:82px;max-width:82px;margin-right:var(--arrow-spacing-xs)}.aside-collection-m_story-byline__37KRG{display:flex;flex-wrap:wrap;margin-top:var(--arrow-spacing-xs)}.aside-collection-m_info__3p4zt{text-align:center}.aside-collection-m_dark__2ElwM,.aside-collection-m_light__2lEO2{color:var(--arrow-c-mono4)}.aside-collection-m_wrapper__2TJi5 h3{font-size:var(--arrow-fs-m)}.aside-collection-m_ad-slot__28nE2{padding:var(--arrow-spacing-l) 0}@media (min-width:768px){.aside-collection-m_ad-slot__28nE2{padding:var(--arrow-spacing-xl) 0}}@media (min-width:768px){.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_stories__9wfUs{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:var(--arrow-spacing-l)}}@media (min-width:768px){.aside-collection-m_horizontal-wrapper__3-KW0 .arr--story-card{flex-direction:column}}@media (min-width:768px){.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_story-hero-image__13nFY{min-width:100%;margin-bottom:8px;margin-right:var(--arrow-spacing-xs)}}@media (min-width:768px){.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_story-byline__37KRG{margin-top:0}}@media (min-width:768px){.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_story__17Jdm{display:block}}html[dir=rtl] .aside-collection-m_story-hero-image__13nFY{margin-right:0;margin-left:var(--arrow-spacing-xs)}@media (min-width:768px){.aside-collection-m_wrapper__2TJi5{height:100%}}@media (min-width:768px){.aside-collection-m_sticky__AZXBP>:last-child{position:-webkit-sticky;position:sticky;top:125px;margin-bottom:64px}}.author-with-timestamp-m_author-time-wrapper__G7_eI{display:flex;flex-wrap:wrap;align-items:center;color:var(--arrow-c-mono2)}.author-with-timestamp-m_author-image__24xrD{border-radius:100%;width:var(--arrow-spacing-l);height:var(--arrow-spacing-l);margin-right:var(--arrow-spacing-xs)}.author-with-timestamp-m_dot__1LHXD{position:relative;margin-right:var(--arrow-spacing-xs);top:-6px}.author-with-timestamp-m_bottom-fix__1rWGv{margin-top:auto}.author-with-timestamp-m_dash__2L5XC{position:relative;margin-right:var(--arrow-spacing-xs);top:-1px}@media (min-width:768px){.author-with-timestamp-m_dash__2L5XC{top:-3px}}html[dir=rtl] .author-with-timestamp-m_dot__1LHXD{margin-left:var(--arrow-spacing-xs)}html[dir=rtl] .author-with-timestamp-m_dash__2L5XC{padding-left:var(--arrow-spacing-xs)}.section-m_section__2N4S3{margin-bottom:var(--arrow-spacing-xxs)}@media (min-width:768px){.section-m_section__2N4S3{margin-bottom:var(--arrow-spacing-xs)}}.section-m_section-borderBottomSml__2GNbo .section-m_border-bottom__3cRoD{width:20px;height:2px;margin-top:var(--arrow-spacing-xxs)}.section-m_section-borderLeft__3hKVj{display:flex;align-items:baseline}.section-m_section-borderLeft__3hKVj .section-m_border-left__2oUyp{margin-right:var(--arrow-spacing-xs);min-width:3px;max-width:3px;overflow:hidden}.section-m_section-borderLeft__3hKVj .section-m_border-left__2oUyp:before{content:"I";font-family:var(--arrow-sans-serif)}html[dir=rtl] .section-m_border-left__2oUyp{margin-left:var(--arrow-spacing-xs);margin-right:0}.section-m_section-solid__1vB1Q{color:var(--arrow-c-light);align-self:self-start;display:inline-flex;padding:var(--arrow-spacing-xxs) var(--arrow-spacing-s)}@media (min-width:768px){.section-m_section-solid__1vB1Q{padding:var(--arrow-spacing-xs) var(--arrow-spacing-m)}}.section-m_dark__1r3C4{color:var(--arrow-c-mono2)}.section-m_light__306hW{color:var(--arrow-c-invert-mono2)}.headline-m_wrapper__3nUmh{margin-bottom:6px}.headline-m_headline__3_NhV{margin-bottom:var(--arrow-spacing-xxs);color:var(--arrow-c-mono2);font-weight:var(--arrow-fw-semi-bold)}@media (min-width:768px){.headline-m_headline__3_NhV{margin-bottom:var(--arrow-spacing-xs)}}.headline-m_wrapper__3nUmh .headline-m_headline__3_NhV{display:inline;margin-bottom:var(--arrow-spacing-xs)}.headline-m_dark__en3hW{color:var(--arrow-c-mono2)}.headline-m_light__3lKJB{color:var(--arrow-c-invert-mono2)}.hero-image-m_hero-image__3lraV{margin-bottom:var(--arrow-spacing-xs);padding-right:0;flex-grow:1}.hero-image-m_right-padding__1LkCe{margin-bottom:0;padding-right:var(--arrow-spacing-s);flex-grow:1}.hero-image-m_left-padding__pYRAj{margin-bottom:0;padding-left:var(--arrow-spacing-s);flex-grow:1}.hero-image-m_right-padding-mob__3-uOU{margin-bottom:0;padding-right:var(--arrow-spacing-s);flex-grow:1;flex-basis:30%}@media (min-width:768px){.hero-image-m_right-padding-mob__3-uOU{padding-right:0;margin-bottom:var(--arrow-spacing-xs)}}.hero-image-m_placeholder__1omCm{background-color:#d3d3d3}html[dir=rtl] .hero-image-m_right-padding-mob__3-uOU,html[dir=rtl] .hero-image-m_right-padding__1LkCe{padding-right:0;padding-left:var(--arrow-spacing-s)}@media (min-width:768px){html[dir=rtl] .hero-image-m_right-padding-mob__3-uOU{padding-left:0}}.hero-image-m_hero-image-mob__13JJp{margin-bottom:var(--arrow-spacing-xs);padding-right:0;flex-grow:1}.hero-image-m_with-padding__324G_{padding:16px 16px 0}.hero-image-m_image__1mz0U{position:relative}.hero-image-m_image__1mz0U img{position:absolute;top:0;bottom:0;left:0;right:0;height:100%}.storycard-m_author-timestamp-wrapper__20yjp{display:flex;align-items:center}.storycard-m_default-card__1-POn{display:flex;flex-direction:column}.storycard-m_horizontal-card___7afz{display:flex;flex-direction:row}@media (min-width:768px){.storycard-m_backgroung-img__1FMJT>a>figure:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg,rgba(0,0,0,.7),transparent 50%,transparent)}}@media (min-width:768px){.storycard-m_backgroung-img__1FMJT>div:nth-child(2){padding:var(--arrow-spacing-m) var(--arrow-spacing-m) 48px;position:absolute;bottom:0;left:15%;right:15%}}.storycard-m_backgroung-img__1FMJT img{position:absolute;bottom:0}@media (min-width:768px){.storycard-m_content-overlap__1yNHR>div:nth-child(2){margin:0 var(--arrow-spacing-m);width:calc(100% - 32px);background-color:var(--arrow-c-light);padding:var(--arrow-spacing-m);position:absolute;bottom:0}}@media (min-width:768px){.storycard-m_content-overlap__1yNHR img{position:absolute;bottom:0}}.storycard-m_horizontal-card___7afz>div:first-child{flex-basis:30%}.storycard-m_horizontal-card___7afz>div:nth-child(2){flex-basis:70%}.storycard-m_border-full__1nhy7.storycard-m_light__3EhXN{border:1px solid var(--light-border)}.storycard-m_border-full__1nhy7.storycard-m_dark__2wCTq{border:1px solid var(--dark-border)}.storycard-m_border-bottom__2_E-I.storycard-m_light__3EhXN{border-bottom:1px solid var(--light-border);padding-bottom:var(--arrow-spacing-m)}.storycard-m_border-bottom__2_E-I.storycard-m_dark__2wCTq{border-bottom:1px solid var(--dark-border);padding-bottom:var(--arrow-spacing-m)}.storycard-m_border-boxShadow__2-k3Z{box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.storycard-m_center-align__1Sn8-{display:flex;flex-direction:column;align-items:left}@media (min-width:768px){.storycard-m_center-align__1Sn8-{align-items:center;text-align:center}}.storycard-m_content-boxShadow__2IAWZ,.storycard-m_content-full__2zJmU{padding:var(--arrow-spacing-xs) var(--arrow-spacing-m)}.storycard-m_backgroung-img__1FMJT,.storycard-m_content-overlap__1yNHR{position:relative}.storycard-m_hero-image__1H3MB{margin-bottom:var(--arrow-spacing-xs);padding-right:0}.storycard-m_right-padding__12-lQ{padding-bottom:0;padding-right:var(--arrow-spacing-xs)}.storycard-m_horizontal-mob__17JG2{display:flex;flex-direction:row}@media (min-width:768px){.storycard-m_horizontal-mob__17JG2{flex-direction:column}}.storycard-m_horizontal-mob__17JG2 .storycard-m_hero-image__1H3MB{flex-basis:30%}@media (min-width:768px){.storycard-m_horizontal-mob__17JG2 .storycard-m_hero-image__1H3MB{flex-basis:100%}}.storycard-m_horizontal-mob__17JG2 .storycard-m_content__1Q9vq{flex-basis:70%}@media (min-width:768px){.storycard-m_horizontal-mob__17JG2 .storycard-m_content__1Q9vq{flex-basis:100%}}.storycard-m_border-default__PEZ1x{border:none;height:100%}.storycard-m_card__KJwRa{height:100%}.storycard-m_horizontal-image-last__3o6LY{display:flex;flex-direction:row-reverse}.storycard-m_horizontal-image-last__3o6LY>div:first-child{flex-basis:30%}.storycard-m_horizontal-image-last__3o6LY>div:nth-child(2){flex-basis:70%}.collection-name-m_collection__JD6sx{font-size:var(--arrow-fs-m);margin-bottom:var(--arrow-spacing-m);font-weight:var(--arrow-fw-bold)}@media (min-width:768px){.collection-name-m_collection__JD6sx{font-size:var(--arrow-fs-l);margin-bottom:var(--arrow-spacing-l)}}.collection-name-m_collection-borderLeft__3Dznk{display:flex;align-items:baseline}.collection-name-m_collection-borderLeft__3Dznk .collection-name-m_border-left__3_pYw{margin-right:var(--arrow-spacing-xs);min-width:5px;width:5px;overflow:hidden}.collection-name-m_collection-borderLeft__3Dznk .collection-name-m_border-left__3_pYw:before{content:"I";font-family:var(--arrow-sans-serif)}.collection-name-m_collection-borderBottomFull__Dkq3K{display:inline-block}.collection-name-m_collection-borderBottom__2rdQM{display:block}.collection-name-m_collection-crossLine__1sIpN{display:flex;align-items:center}.collection-name-m_collection-crossLine__1sIpN:before{content:" ";position:relative;flex:1 1 auto;border-top:1px solid var(--arrow-c-mono5);margin-right:var(--arrow-spacing-l)}.collection-name-m_collection-crossLine__1sIpN:after{content:" ";position:relative;flex:1 1 auto;border-top:1px solid var(--arrow-c-mono5);margin-left:var(--arrow-spacing-l)}html[dir=rtl] .collection-name-m_collection-borderLeft__3Dznk .collection-name-m_border-left__3_pYw{margin-right:0;margin-left:var(--arrow-spacing-xs)}html[dir=rtl] .collection-name-m_collection-crossLine__1sIpN:before{margin-right:0;margin-left:var(--arrow-spacing-l)}html[dir=rtl] .collection-name-m_collection-crossLine__1sIpN:after{margin-left:0;margin-right:var(--arrow-spacing-l)}.collection-name-m_border-bottom__1MnlV{width:20px;height:4px;margin-top:var(--arrow-spacing-xxs)}.collection-name-m_collection-crossLine__1sIpN .collection-name-m_border-bottom__1MnlV{visibility:hidden}.collection-name-m_dark__nMe5H a,.collection-name-m_dark__nMe5H h2,.collection-name-m_dark__nMe5H h3,.collection-name-m_dark__nMe5H h5{color:var(--arrow-c-mono2)}.collection-name-m_light__1vFDN a,.collection-name-m_light__1vFDN h2,.collection-name-m_light__1vFDN h3,.collection-name-m_light__1vFDN h5{color:var(--arrow-c-invert-mono2)}.key-events-m_container__1slhR{border-bottom:1px solid var(--arrow-c-mono5)}.key-events-m_event-title__u9bt3>h3{font-size:var(--arrow-fs-xs)}.key-events-m_container__1slhR.arrow-component>h3{font-size:var(--arrow-fs-m);padding:var(--arrow-spacing-xs)}.key-events-m_cards-wrapper__3f8aB{margin-top:var(--arrow-spacing-s)}.key-events-m_time-wrapper__2poXn{display:flex;align-items:center;font-size:var(--arrow-fs-tiny)}.key-events-m_time-wrapper__2poXn svg{margin-right:var(--arrow-spacing-xxs)}.key-events-m_event-title__u9bt3{position:relative;padding:0 14px 28px;margin-left:var(--arrow-spacing-s)}.key-events-m_event-title__u9bt3.key-events-m_dark__hrnAr{border-left:1px solid var(--arrow-c-mono5)}.key-events-m_event-title__u9bt3.key-events-m_light__2gE0a{border-left:1px solid var(--arrow-c-invert-mono5)}.key-events-m_dark__hrnAr{color:var(--arrow-c-mono2)}.key-events-m_light__2gE0a{color:var(--arrow-c-invert-mono2)}.key-events-m_dark__hrnAr.key-events-m_borderNone__2tNUK,.key-events-m_light__2gE0a.key-events-m_borderNone__2tNUK{border-left:none}.key-events-m_fade-out__11jv_{position:absolute;top:-20px;height:100%;width:100%;background-image:inherit;pointer-events:none}.key-events-m_container__1slhR.key-events-m_light__2gE0a{border-bottom:1px solid var(--arrow-c-invert-mono5)}html[dir=rtl] .key-events-m_time-wrapper__2poXn{direction:ltr;flex-direction:row-reverse}html[dir=rtl] .key-events-m_time-wrapper__2poXn svg{margin-right:0;margin-left:var(--arrow-spacing-xxs)}html[dir=rtl] .key-events-m_event-title__u9bt3.key-events-m_dark__hrnAr,html[dir=rtl] .key-events-m_event-title__u9bt3.key-events-m_light__2gE0a{border-right:1px solid var(--arrow-c-mono5);border-left:none;margin-left:0;margin-right:var(--arrow-spacing-s)}html[dir=rtl] .key-events-m_dark__hrnAr.key-events-m_borderNone__2tNUK,html[dir=rtl] .key-events-m_light__2gE0a.key-events-m_borderNone__2tNUK{border-right:none}.dot-m_dark__1Njxl{fill:var(--arrow-c-mono4)}.dot-m_light__27IA3{fill:var(--arrow-c-invert-mono4)}.subheadline-m_subheadline__3fd7z{margin-bottom:var(--arrow-spacing-xxs);display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}@media (min-width:768px){.subheadline-m_subheadline__3fd7z{margin-bottom:var(--arrow-spacing-xs)}}.subheadline-m_dark__28u00{color:var(--arrow-c-mono4)}.subheadline-m_light__2YUOe{color:var(--arrow-c-invert-mono4)}.author-m_author__WRuLm{display:flex;align-items:center;color:var(--arrow-c-mono4);margin-bottom:var(--arrow-spacing-xs)}.author-m_author-image__3q2oc{border-radius:100%;width:var(--arrow-spacing-l);height:var(--arrow-spacing-l);margin-right:var(--arrow-spacing-xs);overflow:hidden}.author-m_author-image__3q2oc figure,.author-m_author-image__3q2oc img{height:100%;width:100%}.author-m_author-name__3WP-O{margin:auto var(--arrow-spacing-xs) auto 0}.author-m_bottom-fix__223TT{margin-top:auto}.author-m_prefix__YSInK{margin:auto var(--arrow-spacing-xxs) auto 0}.author-m_rtl-image__2nglD{display:none}html[dir=rtl] .author-m_author-name__3WP-O{margin-right:0}html[dir=rtl] .author-m_prefix__YSInK{margin-right:0;margin-left:var(--arrow-spacing-xxs)}html[dir=rtl] .author-m_ltr-image__3bc0L{display:none}html[dir=rtl] .author-m_rtl-image__2nglD{display:block}.author-m_dark__2TTlp{color:var(--arrow-c-mono4)}.author-m_light__3y8_x{color:var(--arrow-c-invert-mono4)}.divider-m_dark__26FRi{fill:var(--arrow-c-mono4)}.divider-m_light__w-7sy{fill:var(--arrow-c-invert-mono4)}.fallback-m_image-position__3KddP{position:absolute;top:0;right:0;left:0;bottom:0}.fallback-m_image__1GYCJ{background:var(--fallback-img)}.fallback-m_image__1GYCJ:after{content:"";position:absolute;top:0;right:0;left:0;bottom:0}.fallback-m_fallback-svg__tK9fL svg{-o-object-fit:cover;object-fit:cover;position:absolute;top:0;right:0;bottom:0;left:50%;transform:translateX(-50%);height:100%}.timestamp-m_time__2v46i{display:flex;margin-bottom:2px}.timestamp-m_time-wrapper__3O2lM{margin-bottom:var(--arrow-spacing-xxs)}.timestamp-m_bottom-fix__1Zh8r{margin-top:auto}.timestamp-m_dark__2lk9E{color:var(--arrow-c-mono4)}.timestamp-m_light__2QlrI{color:var(--arrow-c-invert-mono4)}.read-time-m_read-time-wrapper__3GyC_{display:flex;font-size:var(--arrow-fs-tiny);line-height:var(--arrow-lh-2)}.read-time-m_dot-indicator__3Sqh2{padding:0 var(--arrow-spacing-xs) var(--arrow-spacing-xs)}.read-time-m_dark__3yRaK{color:var(--arrow-c-mono4)}.read-time-m_light__1GAZu{color:var(--arrow-c-invert-mono4)}html[dir=rtl] .read-time-m_read-time-wrapper__3GyC_{margin-right:var(--arrow-spacing-xs)}.load-more-m_button__1mmf1{padding:var(--arrow-spacing-xs) var(--arrow-spacing-l);border:1px solid;display:flex;margin:var(--arrow-spacing-m) auto var(--arrow-spacing-xs) auto;font-size:var(--arrow-fs-xs);border-radius:var(--arrow-spacing-xxs);background-color:transparent;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;cursor:pointer}.load-more-m_default__2_k4V{display:block}.load-more-m_dark__3dfzb{color:var(--arrow-c-mono2)}.load-more-m_light__ePZQI{color:var(--arrow-c-invert-mono2)}
|
|
1
|
+
.timestamp-m_time__2v46i{display:flex;margin-bottom:2px}.timestamp-m_time-wrapper__3O2lM{margin-bottom:var(--arrow-spacing-xxs)}.timestamp-m_bottom-fix__1Zh8r{margin-top:auto}.timestamp-m_dark__2lk9E{color:var(--arrow-c-mono4)}.timestamp-m_light__2QlrI{color:var(--arrow-c-invert-mono4)}.author-m_author__WRuLm{align-items:center;color:var(--arrow-c-mono4);display:flex;margin-bottom:var(--arrow-spacing-xs)}.author-m_author-image__3q2oc{border-radius:100%;height:var(--arrow-spacing-l);margin-right:var(--arrow-spacing-xs);overflow:hidden;width:var(--arrow-spacing-l)}.author-m_author-image__3q2oc figure,.author-m_author-image__3q2oc img{height:100%;width:100%}.author-m_author-name__3WP-O{margin:auto var(--arrow-spacing-xs) auto 0}.author-m_bottom-fix__223TT{margin-top:auto}.author-m_prefix__YSInK{margin:auto var(--arrow-spacing-xxs) auto 0}.author-m_rtl-image__2nglD{display:none}html[dir=rtl] .author-m_author-name__3WP-O{margin-right:0}html[dir=rtl] .author-m_prefix__YSInK{margin-left:var(--arrow-spacing-xxs);margin-right:0}html[dir=rtl] .author-m_ltr-image__3bc0L{display:none}html[dir=rtl] .author-m_rtl-image__2nglD{display:block}.author-m_dark__2TTlp{color:var(--arrow-c-mono4)}.author-m_light__3y8_x{color:var(--arrow-c-invert-mono4)}.dot-m_dark__1Njxl{fill:var(--arrow-c-mono4)}.dot-m_light__27IA3{fill:var(--arrow-c-invert-mono4)}.divider-m_dark__26FRi{fill:var(--arrow-c-mono4)}.divider-m_light__w-7sy{fill:var(--arrow-c-invert-mono4)}.author-with-timestamp-m_author-time-wrapper__G7_eI{align-items:center;color:var(--arrow-c-mono2);display:flex;flex-wrap:wrap}.author-with-timestamp-m_author-image__24xrD{border-radius:100%;height:var(--arrow-spacing-l);margin-right:var(--arrow-spacing-xs);width:var(--arrow-spacing-l)}.author-with-timestamp-m_dot__1LHXD{margin-right:var(--arrow-spacing-xs);position:relative;top:-6px}.author-with-timestamp-m_bottom-fix__1rWGv{margin-top:auto}.author-with-timestamp-m_dash__2L5XC{margin-right:var(--arrow-spacing-xs);position:relative;top:-1px}@media (min-width:768px){.author-with-timestamp-m_dash__2L5XC{top:-3px}}html[dir=rtl] .author-with-timestamp-m_dot__1LHXD{margin-left:var(--arrow-spacing-xs)}html[dir=rtl] .author-with-timestamp-m_dash__2L5XC{padding-left:var(--arrow-spacing-xs)}.read-time-m_read-time-wrapper__3GyC_{display:flex;font-size:var(--arrow-fs-tiny);line-height:var(--arrow-lh-2)}.read-time-m_dot-indicator__3Sqh2{padding:0 var(--arrow-spacing-xs) var(--arrow-spacing-xs)}.read-time-m_dark__3yRaK{color:var(--arrow-c-mono4)}.read-time-m_light__1GAZu{color:var(--arrow-c-invert-mono4)}html[dir=rtl] .read-time-m_read-time-wrapper__3GyC_{margin-right:var(--arrow-spacing-xs)}.collection-name-m_collection__JD6sx{font-size:var(--arrow-fs-m);font-weight:var(--arrow-fw-bold);margin-bottom:var(--arrow-spacing-m)}@media (min-width:768px){.collection-name-m_collection__JD6sx{font-size:var(--arrow-fs-l);margin-bottom:var(--arrow-spacing-l)}}.collection-name-m_collection-borderLeft__3Dznk{align-items:baseline;display:flex}.collection-name-m_collection-borderLeft__3Dznk .collection-name-m_border-left__3_pYw{margin-right:var(--arrow-spacing-xs);min-width:5px;overflow:hidden;width:5px}.collection-name-m_collection-borderLeft__3Dznk .collection-name-m_border-left__3_pYw:before{content:"I";font-family:var(--arrow-sans-serif)}.collection-name-m_collection-borderBottomFull__Dkq3K{display:inline-block}.collection-name-m_collection-borderBottom__2rdQM{display:block}.collection-name-m_collection-crossLine__1sIpN{align-items:center;display:flex}.collection-name-m_collection-crossLine__1sIpN:before{border-top:1px solid var(--arrow-c-mono5);content:" ";flex:1 1 auto;margin-right:var(--arrow-spacing-l);position:relative}.collection-name-m_collection-crossLine__1sIpN:after{border-top:1px solid var(--arrow-c-mono5);content:" ";flex:1 1 auto;margin-left:var(--arrow-spacing-l);position:relative}html[dir=rtl] .collection-name-m_collection-borderLeft__3Dznk .collection-name-m_border-left__3_pYw{margin-left:var(--arrow-spacing-xs);margin-right:0}html[dir=rtl] .collection-name-m_collection-crossLine__1sIpN:before{margin-left:var(--arrow-spacing-l);margin-right:0}html[dir=rtl] .collection-name-m_collection-crossLine__1sIpN:after{margin-left:0;margin-right:var(--arrow-spacing-l)}.collection-name-m_border-bottom__1MnlV{height:4px;margin-top:var(--arrow-spacing-xxs);width:20px}.collection-name-m_collection-crossLine__1sIpN .collection-name-m_border-bottom__1MnlV{visibility:hidden}.collection-name-m_dark__nMe5H a,.collection-name-m_dark__nMe5H h2,.collection-name-m_dark__nMe5H h3,.collection-name-m_dark__nMe5H h5{color:var(--arrow-c-mono2)}.collection-name-m_light__1vFDN a,.collection-name-m_light__1vFDN h2,.collection-name-m_light__1vFDN h3,.collection-name-m_light__1vFDN h5{color:var(--arrow-c-invert-mono2)}.headline-m_wrapper__3nUmh{margin-bottom:6px}.headline-m_headline__3_NhV{color:var(--arrow-c-mono2);font-weight:var(--arrow-fw-semi-bold);margin-bottom:var(--arrow-spacing-xxs)}@media (min-width:768px){.headline-m_headline__3_NhV{margin-bottom:var(--arrow-spacing-xs)}}.headline-m_wrapper__3nUmh .headline-m_headline__3_NhV{display:inline;margin-bottom:var(--arrow-spacing-xs)}.headline-m_dark__en3hW{color:var(--arrow-c-mono2)}.headline-m_light__3lKJB{color:var(--arrow-c-invert-mono2)}.fallback-m_image-position__3KddP{bottom:0;left:0;position:absolute;right:0;top:0}.fallback-m_image__1GYCJ{background:var(--fallback-img)}.fallback-m_image__1GYCJ:after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.fallback-m_fallback-svg__tK9fL svg{bottom:0;height:100%;left:50%;-o-object-fit:cover;object-fit:cover;position:absolute;right:0;top:0;transform:translateX(-50%)}.hero-image-m_hero-image__3lraV{flex-grow:1;margin-bottom:var(--arrow-spacing-xs);padding-right:0}.hero-image-m_right-padding__1LkCe{flex-grow:1;margin-bottom:0;padding-right:var(--arrow-spacing-s)}.hero-image-m_left-padding__pYRAj{flex-grow:1;margin-bottom:0;padding-left:var(--arrow-spacing-s)}.hero-image-m_right-padding-mob__3-uOU{flex-basis:30%;flex-grow:1;margin-bottom:0;padding-right:var(--arrow-spacing-s)}@media (min-width:768px){.hero-image-m_right-padding-mob__3-uOU{margin-bottom:var(--arrow-spacing-xs);padding-right:0}}.hero-image-m_placeholder__1omCm{background-color:#d3d3d3}html[dir=rtl] .hero-image-m_right-padding-mob__3-uOU,html[dir=rtl] .hero-image-m_right-padding__1LkCe{padding-left:var(--arrow-spacing-s);padding-right:0}@media (min-width:768px){html[dir=rtl] .hero-image-m_right-padding-mob__3-uOU{padding-left:0}}.hero-image-m_hero-image-mob__13JJp{flex-grow:1;margin-bottom:var(--arrow-spacing-xs);padding-right:0}.hero-image-m_with-padding__324G_{padding:16px 16px 0}.hero-image-m_image__1mz0U{position:relative}.hero-image-m_image__1mz0U img{bottom:0;height:100%;left:0;position:absolute;right:0;top:0}.section-m_section__2N4S3{margin-bottom:var(--arrow-spacing-xxs)}@media (min-width:768px){.section-m_section__2N4S3{margin-bottom:var(--arrow-spacing-xs)}}.section-m_section-borderBottomSml__2GNbo .section-m_border-bottom__3cRoD{height:2px;margin-top:var(--arrow-spacing-xxs);width:20px}.section-m_section-borderLeft__3hKVj{align-items:baseline;display:flex}.section-m_section-borderLeft__3hKVj .section-m_border-left__2oUyp{margin-right:var(--arrow-spacing-xs);max-width:3px;min-width:3px;overflow:hidden}.section-m_section-borderLeft__3hKVj .section-m_border-left__2oUyp:before{content:"I";font-family:var(--arrow-sans-serif)}html[dir=rtl] .section-m_border-left__2oUyp{margin-left:var(--arrow-spacing-xs);margin-right:0}.section-m_section-solid__1vB1Q{align-self:self-start;color:var(--arrow-c-light);display:inline-flex;padding:var(--arrow-spacing-xxs) var(--arrow-spacing-s)}@media (min-width:768px){.section-m_section-solid__1vB1Q{padding:var(--arrow-spacing-xs) var(--arrow-spacing-m)}}.section-m_dark__1r3C4{color:var(--arrow-c-mono2)}.section-m_light__306hW{color:var(--arrow-c-invert-mono2)}.subheadline-m_subheadline__3fd7z{-webkit-box-orient:vertical;display:-webkit-box;margin-bottom:var(--arrow-spacing-xxs);overflow:hidden}@media (min-width:768px){.subheadline-m_subheadline__3fd7z{margin-bottom:var(--arrow-spacing-xs)}}.subheadline-m_dark__28u00{color:var(--arrow-c-mono4)}.subheadline-m_light__2YUOe{color:var(--arrow-c-invert-mono4)}.storycard-m_author-timestamp-wrapper__20yjp{align-items:center;display:flex}.storycard-m_default-card__1-POn{display:flex;flex-direction:column}.storycard-m_horizontal-card___7afz{display:flex;flex-direction:row}@media (min-width:768px){.storycard-m_backgroung-img__1FMJT>a>figure:after{background:linear-gradient(0deg,rgba(0,0,0,.7),transparent 50%,transparent);bottom:0;content:"";left:0;position:absolute;right:0;top:0}.storycard-m_backgroung-img__1FMJT>div:nth-child(2){bottom:0;left:15%;padding:var(--arrow-spacing-m) var(--arrow-spacing-m) 48px;position:absolute;right:15%}}.storycard-m_backgroung-img__1FMJT img{bottom:0;position:absolute}@media (min-width:768px){.storycard-m_content-overlap__1yNHR>div:nth-child(2){background-color:var(--arrow-c-light);bottom:0;margin:0 var(--arrow-spacing-m);padding:var(--arrow-spacing-m);position:absolute;width:calc(100% - 32px)}.storycard-m_content-overlap__1yNHR img{bottom:0;position:absolute}}.storycard-m_horizontal-card___7afz>div:first-child{flex-basis:30%}.storycard-m_horizontal-card___7afz>div:nth-child(2){flex-basis:70%}.storycard-m_border-full__1nhy7.storycard-m_light__3EhXN{border:1px solid var(--light-border)}.storycard-m_border-full__1nhy7.storycard-m_dark__2wCTq{border:1px solid var(--dark-border)}.storycard-m_border-bottom__2_E-I.storycard-m_light__3EhXN{border-bottom:1px solid var(--light-border);padding-bottom:var(--arrow-spacing-m)}.storycard-m_border-bottom__2_E-I.storycard-m_dark__2wCTq{border-bottom:1px solid var(--dark-border);padding-bottom:var(--arrow-spacing-m)}.storycard-m_border-boxShadow__2-k3Z{box-shadow:0 2px 10px 0 rgba(0,0,0,.1)}.storycard-m_center-align__1Sn8-{align-items:left;display:flex;flex-direction:column}@media (min-width:768px){.storycard-m_center-align__1Sn8-{align-items:center;text-align:center}}.storycard-m_content-boxShadow__2IAWZ,.storycard-m_content-full__2zJmU{padding:var(--arrow-spacing-xs) var(--arrow-spacing-m)}.storycard-m_backgroung-img__1FMJT,.storycard-m_content-overlap__1yNHR{position:relative}.storycard-m_hero-image__1H3MB{margin-bottom:var(--arrow-spacing-xs);padding-right:0}.storycard-m_right-padding__12-lQ{padding-bottom:0;padding-right:var(--arrow-spacing-xs)}.storycard-m_horizontal-mob__17JG2{display:flex;flex-direction:row}@media (min-width:768px){.storycard-m_horizontal-mob__17JG2{flex-direction:column}}.storycard-m_horizontal-mob__17JG2 .storycard-m_hero-image__1H3MB{flex-basis:30%}@media (min-width:768px){.storycard-m_horizontal-mob__17JG2 .storycard-m_hero-image__1H3MB{flex-basis:100%}}.storycard-m_horizontal-mob__17JG2 .storycard-m_content__1Q9vq{flex-basis:70%}@media (min-width:768px){.storycard-m_horizontal-mob__17JG2 .storycard-m_content__1Q9vq{flex-basis:100%}}.storycard-m_border-default__PEZ1x{border:none;height:100%}.storycard-m_card__KJwRa{height:100%}.storycard-m_horizontal-image-last__3o6LY{display:flex;flex-direction:row-reverse}.storycard-m_horizontal-image-last__3o6LY>div:first-child{flex-basis:30%}.storycard-m_horizontal-image-last__3o6LY>div:nth-child(2){flex-basis:70%}.load-more-m_button__1mmf1{background-color:transparent;border:1px solid;border-radius:var(--arrow-spacing-xxs);cursor:pointer;display:flex;font-size:var(--arrow-fs-xs);margin:var(--arrow-spacing-m) auto var(--arrow-spacing-xs) auto;padding:var(--arrow-spacing-xs) var(--arrow-spacing-l);width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.load-more-m_default__2_k4V{display:block}.load-more-m_dark__3dfzb{color:var(--arrow-c-mono2)}.load-more-m_light__ePZQI{color:var(--arrow-c-invert-mono2)}.key-events-m_container__1slhR{border-bottom:1px solid var(--arrow-c-mono5)}.key-events-m_event-title__u9bt3>h3{font-size:var(--arrow-fs-xs)}.key-events-m_container__1slhR.arrow-component>h3{font-size:var(--arrow-fs-m);padding:var(--arrow-spacing-xs)}.key-events-m_cards-wrapper__3f8aB{margin-top:var(--arrow-spacing-s)}.key-events-m_time-wrapper__2poXn{align-items:center;display:flex;font-size:var(--arrow-fs-tiny)}.key-events-m_time-wrapper__2poXn svg{margin-right:var(--arrow-spacing-xxs)}.key-events-m_event-title__u9bt3{margin-left:var(--arrow-spacing-s);padding:0 14px 28px;position:relative}.key-events-m_event-title__u9bt3.key-events-m_dark__hrnAr{border-left:1px solid var(--arrow-c-mono5)}.key-events-m_event-title__u9bt3.key-events-m_light__2gE0a{border-left:1px solid var(--arrow-c-invert-mono5)}.key-events-m_dark__hrnAr{color:var(--arrow-c-mono2)}.key-events-m_light__2gE0a{color:var(--arrow-c-invert-mono2)}.key-events-m_dark__hrnAr.key-events-m_borderNone__2tNUK,.key-events-m_light__2gE0a.key-events-m_borderNone__2tNUK{border-left:none}.key-events-m_fade-out__11jv_{background-image:inherit;height:100%;pointer-events:none;position:absolute;top:-20px;width:100%}.key-events-m_container__1slhR.key-events-m_light__2gE0a{border-bottom:1px solid var(--arrow-c-invert-mono5)}html[dir=rtl] .key-events-m_time-wrapper__2poXn{direction:ltr;flex-direction:row-reverse}html[dir=rtl] .key-events-m_time-wrapper__2poXn svg{margin-left:var(--arrow-spacing-xxs);margin-right:0}html[dir=rtl] .key-events-m_event-title__u9bt3.key-events-m_dark__hrnAr,html[dir=rtl] .key-events-m_event-title__u9bt3.key-events-m_light__2gE0a{border-left:none;border-right:1px solid var(--arrow-c-mono5);margin-left:0;margin-right:var(--arrow-spacing-s)}html[dir=rtl] .key-events-m_dark__hrnAr.key-events-m_borderNone__2tNUK,html[dir=rtl] .key-events-m_light__2gE0a.key-events-m_borderNone__2tNUK{border-right:none}.aside-collection-m_stories__9wfUs{margin-top:var(--arrow-spacing-m)}.aside-collection-m_story__17Jdm,.aside-collection-m_wrapper__2TJi5 .arr--collection-name{margin-bottom:var(--arrow-spacing-m)}.aside-collection-m_story__17Jdm{display:flex}.aside-collection-m_story-hero-image__13nFY{margin-right:var(--arrow-spacing-xs);max-width:82px;min-width:82px}.aside-collection-m_story-byline__37KRG{display:flex;flex-wrap:wrap;margin-top:var(--arrow-spacing-xs)}.aside-collection-m_info__3p4zt{text-align:center}.aside-collection-m_dark__2ElwM,.aside-collection-m_light__2lEO2{color:var(--arrow-c-mono4)}.aside-collection-m_wrapper__2TJi5 h3{font-size:var(--arrow-fs-m)}.aside-collection-m_ad-slot__28nE2{padding:var(--arrow-spacing-l) 0}@media (min-width:768px){.aside-collection-m_ad-slot__28nE2{padding:var(--arrow-spacing-xl) 0}.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_stories__9wfUs{grid-gap:var(--arrow-spacing-l);display:grid;grid-template-columns:repeat(4,1fr)}.aside-collection-m_horizontal-wrapper__3-KW0 .arr--story-card{flex-direction:column}.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_story-hero-image__13nFY{margin-bottom:8px;margin-right:var(--arrow-spacing-xs);min-width:100%}.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_story-byline__37KRG{margin-top:0}.aside-collection-m_horizontal-wrapper__3-KW0 .aside-collection-m_story__17Jdm{display:block}}html[dir=rtl] .aside-collection-m_story-hero-image__13nFY{margin-left:var(--arrow-spacing-xs);margin-right:0}@media (min-width:768px){.aside-collection-m_wrapper__2TJi5{height:100%}.aside-collection-m_sticky__AZXBP>:last-child{margin-bottom:64px;position:-webkit-sticky;position:sticky;top:125px}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t,{useContext as e,createContext as r}from"react";import n from"prop-types";import{Link as o}from"@quintype/components";import"react-timeago";function a(){return(a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function s(t){var e={exports:{}};return t(e,e.exports),e.exports}var l=s((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),h=u(s((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=l)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var a=Object.keys(e),i=r||{},c=i.handleMissingStyleName,u=void 0===c?n.default.handleMissingStyleName:c,s=i.autoResolveMultipleImports,l=void 0===s?n.default.autoResolveMultipleImports:s;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var a=t.split("."),i=a[0],c=a[1],u=r||n.default.handleMissingStyleName;return c?e[i]?e[i][c]?e[i][c]:o("CSS module does not exist: "+c,u):o("CSS module import does not exist: "+i,u):o("Invalid style name: "+t,u)}(t,e,u);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(a.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(i.length>1)throw new Error('Cannot resolve styleName "'+t+'" 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.'+t+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+t+"'.",a):e[i[0]][t]}(t,e,u)}var r=e[a[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",u)})).filter((function(t){return t})).join(" "):""}}))),f=["element","render"],p=function(e){return function(r){var n=r.element,o=r.render,c=i(r,f);return n?o&&"function"==typeof o?o(r):t.createElement(e,a({},c,{element:n})):null}};p.propTypes={StoryElement:n.element};var v=r();s((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),i=new L(n||[]);return a._invoke=function(t,e,r){var n=h;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw a;return k()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=E(i,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?v:f,u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=v,r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var h="suspendedStart",f="suspendedYield",p="executing",v="completed",d={};function m(){}function y(){}function _(){}var g={};u(g,a,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(P([])));b&&b!==r&&n.call(b,a)&&(g=b);var j=_.prototype=m.prototype=Object.create(g);function O(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,a,i,c){var u=l(t[o],t,a);if("throw"!==u.type){var s=u.arg,h=s.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,i,c)}),(function(t){r("throw",t,i,c)})):e.resolve(h).then((function(t){s.value=t,i(s)}),(function(t){return r("throw",t,i,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function P(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:k}}function k(){return{value:e,done:!0}}return y.prototype=_,u(j,"constructor",_),u(_,"constructor",y),y.displayName=u(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,u(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},O(x.prototype),u(x.prototype,i,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new x(s(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(j),u(j,c,"Generator"),u(j,a,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},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 r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(u&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){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(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(t,e){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&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var d="object"==typeof c&&c&&c.Object===Object&&c,m="object"==typeof self&&self&&self.Object===Object&&self,y=d||m||Function("return this")(),_=y.Symbol,g=Object.prototype,w=g.hasOwnProperty,b=g.toString,j=_?_.toStringTag:void 0;var O=function(t){var e=w.call(t,j),r=t[j];try{t[j]=void 0;var n=!0}catch(t){}var o=b.call(t);return n&&(e?t[j]=r:delete t[j]),o},x=Object.prototype.toString;var E=function(t){return x.call(t)},N=_?_.toStringTag:void 0;var S=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?O(t):E(t)};var L=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var P,k=function(t){if(!L(t))return!1;var e=S(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},F=y["__core-js_shared__"],T=(P=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"";var I=function(t){return!!T&&T in t},M=Function.prototype.toString;var C=function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""},z=/^\[object .+?Constructor\]$/,R=Function.prototype,A=Object.prototype,G=R.toString,$=A.hasOwnProperty,D=RegExp("^"+G.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var U=function(t){return!(!L(t)||I(t))&&(k(t)?D:z).test(C(t))};var Y=function(t,e){return null==t?void 0:t[e]};var q=function(t,e){var r=Y(t,e);return U(r)?r:void 0},H=q(Object,"create");var B=function(){this.__data__=H?H(null):{},this.size=0};var K=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},V=Object.prototype.hasOwnProperty;var J=function(t){var e=this.__data__;if(H){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return V.call(e,t)?e[t]:void 0},Q=Object.prototype.hasOwnProperty;var W=function(t){var e=this.__data__;return H?void 0!==e[t]:Q.call(e,t)};var X=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=H&&void 0===e?"__lodash_hash_undefined__":e,this};function Z(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Z.prototype.clear=B,Z.prototype.delete=K,Z.prototype.get=J,Z.prototype.has=W,Z.prototype.set=X;var tt=Z;var et=function(){this.__data__=[],this.size=0};var rt=function(t,e){return t===e||t!=t&&e!=e};var nt=function(t,e){for(var r=t.length;r--;)if(rt(t[r][0],e))return r;return-1},ot=Array.prototype.splice;var at=function(t){var e=this.__data__,r=nt(e,t);return!(r<0)&&(r==e.length-1?e.pop():ot.call(e,r,1),--this.size,!0)};var it=function(t){var e=this.__data__,r=nt(e,t);return r<0?void 0:e[r][1]};var ct=function(t){return nt(this.__data__,t)>-1};var ut=function(t,e){var r=this.__data__,n=nt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function st(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}st.prototype.clear=et,st.prototype.delete=at,st.prototype.get=it,st.prototype.has=ct,st.prototype.set=ut;var lt=st,ht=q(y,"Map");var ft=function(){this.size=0,this.__data__={hash:new tt,map:new(ht||lt),string:new tt}};var pt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var vt=function(t,e){var r=t.__data__;return pt(e)?r["string"==typeof e?"string":"hash"]:r.map};var dt=function(t){var e=vt(this,t).delete(t);return this.size-=e?1:0,e};var mt=function(t){return vt(this,t).get(t)};var yt=function(t){return vt(this,t).has(t)};var _t=function(t,e){var r=vt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function gt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}gt.prototype.clear=ft,gt.prototype.delete=dt,gt.prototype.get=mt,gt.prototype.has=yt,gt.prototype.set=_t;var wt=gt;function bt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(bt.Cache||wt),r}bt.Cache=wt;var jt=bt;var Ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/\\(\\)?/g;(function(t){var e=jt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache})((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ot,(function(t,r,n,o){e.push(n?o.replace(xt,"$1"):r||t)})),e}));var Et=_?_.prototype:void 0;Et&&Et.toString;var Nt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},St=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t};n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var Lt=["element","render"],Pt={"./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"}},kt=function(r){var n=r.element,c=void 0===n?{}:n;r.render;var u=i(r,Lt),s=c["file-name"],l=c.url,f=c["content-type"];if(!f||!l)return null;var p="application/pdf"===f,d=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:St(t);return Nt(e)<155?"light":"dark"}((e(v)||{}).theme),m=s||(p?"Attached PDF":"Attached DOC");return t.createElement("div",a({"data-test-id":"attachment"},u,{className:"arrow-component arr--attachment-element "+h(d,Pt)+" "+(u&&u.className||"")}),t.createElement("div",{className:"attachment-m_headline__kP7Hs"},"Attachment"),t.createElement("div",{className:"attachment-m_wrapper__3gMwN"},p?t.createElement("div",{"data-test-id":"pdf",className:"attachment-m_pdf__3i_bR"},"PDF"):t.createElement("div",{"data-test-id":"doc",className:"attachment-m_doc__6vUVo attachment-m_pdf__3i_bR"},"DOC"),t.createElement("div",{className:"attachment-m_content-wrapper__3Yu0B"},t.createElement("div",{className:"attachment-m_file-name__1LU9q",dangerouslySetInnerHTML:{__html:m}}),t.createElement(o,{className:"attachment-m_button-wrapper__2fajK",href:l,target:"_blank",rel:"noopener noreferrer",download:!0,"aria-label":"button"},p?"Preview":"Download"))))};kt.propTypes={element:n.shape({url:n.string,fileName:n.string,contentType:n.string}),render:n.func};var Ft=p(kt);export{Ft as Attachment};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.attachment-m_headline__kP7Hs{font-size:var(--arrow-fs-s);font-weight:var(--arrow-fw-bold);line-height:var(--arrow-lh-3);padding-bottom:var(--arrow-spacing-xs)}@media (min-width:768px){.attachment-m_headline__kP7Hs{font-size:var(--arrow-fs-l);padding-bottom:var(--arrow-spacing-s)}}@media (min-width:768px) and (min-width:992px){.attachment-m_headline__kP7Hs{padding-bottom:var(--arrow-spacing-m)}}.attachment-m_button-wrapper__2fajK{border-radius:3px;font-size:var(--arrow-fs-tiny);line-height:var(--arrow-lh-4);
|
|
1
|
+
.attachment-m_headline__kP7Hs{font-size:var(--arrow-fs-s);font-weight:var(--arrow-fw-bold);line-height:var(--arrow-lh-3);padding-bottom:var(--arrow-spacing-xs)}@media (min-width:768px){.attachment-m_headline__kP7Hs{font-size:var(--arrow-fs-l);padding-bottom:var(--arrow-spacing-s)}}@media (min-width:768px) and (min-width:992px){.attachment-m_headline__kP7Hs{padding-bottom:var(--arrow-spacing-m)}}.attachment-m_button-wrapper__2fajK{border-radius:3px;font-size:var(--arrow-fs-tiny);line-height:var(--arrow-lh-4);padding:6px var(--arrow-spacing-m);text-align:center}@media (min-width:992px){.attachment-m_button-wrapper__2fajK{margin-left:var(--arrow-spacing-m)}}.attachment-m_file-name__1LU9q{font-size:var(--arrow-fs-s);line-height:var(--arrow-lh-5);margin-bottom:var(--arrow-spacing-m);word-break:break-word}@media (min-width:768px){.attachment-m_file-name__1LU9q{font-size:var(--arrow-fs-m);line-height:var(--arrow-lh-3)}}@media (min-width:768px) and (min-width:992px){.attachment-m_file-name__1LU9q{margin-bottom:unset}}.attachment-m_dark__3ixF7 .attachment-m_button-wrapper__2fajK,.attachment-m_dark__3ixF7 .attachment-m_file-name__1LU9q,.attachment-m_dark__3ixF7 .attachment-m_headline__kP7Hs{color:var(--arrow-c-mono2)}.attachment-m_light__1kcpj .attachment-m_button-wrapper__2fajK,.attachment-m_light__1kcpj .attachment-m_file-name__1LU9q,.attachment-m_light__1kcpj .attachment-m_headline__kP7Hs{color:var(--arrow-c-invert-mono2)}.attachment-m_pdf__3i_bR{align-items:center;background-color:#db5449;border-radius:6px;color:var(--arrow-c-light);display:flex;font-size:var(--arrow-fs-tiny);font-weight:var(--arrow-fw-bold);height:35px;justify-content:center;margin-right:var(--arrow-spacing-m);width:35px}@media (min-width:768px){.attachment-m_pdf__3i_bR{border-radius:var(--arrow-spacing-xs);height:45px;width:45px}}.attachment-m_doc__6vUVo{background-color:#007bd8}.attachment-m_wrapper__3gMwN{border-radius:var(--arrow-spacing-xxs);display:flex;padding:var(--arrow-spacing-m)}@media (min-width:992px){.attachment-m_wrapper__3gMwN{padding:var(--arrow-spacing-l)}}.attachment-m_dark__3ixF7 .attachment-m_wrapper__3gMwN{background-color:var(--arrow-c-mono7);border:1px solid var(--arrow-c-mono7)}.attachment-m_light__1kcpj .attachment-m_wrapper__3gMwN{background-color:var(--arrow-c-invert-mono7);border:1px solid var(--arrow-c-invert-mono7)}.attachment-m_dark__3ixF7 .attachment-m_button-wrapper__2fajK{border:1px solid var(--arrow-c-mono2)}.attachment-m_light__1kcpj .attachment-m_button-wrapper__2fajK{border:1px solid var(--arrow-c-invert-mono2)}@media (min-width:992px){.attachment-m_content-wrapper__3Yu0B{align-items:center;display:flex;justify-content:space-between;width:100%}}html[dir=rtl] .attachment-m_doc__6vUVo,html[dir=rtl] .attachment-m_headline__kP7Hs,html[dir=rtl] .attachment-m_pdf__3i_bR{margin-right:0}html[dir=rtl] .attachment-m_content-wrapper__3Yu0B{margin-right:var(--arrow-spacing-m)}
|
package/Author/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import t,{useContext as r,createContext as e}from"react";import n from"prop-types";import{Link as o,ResponsiveImage as a}from"@quintype/components";import"react-timeago";import{connect as i}from"react-redux";var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function s(t){var r={exports:{}};return t(r,r.exports),r.exports}var l=s((function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};r.default=e})),f=c(s((function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e,n=(e=l)&&e.__esModule?e:{default:e};var o=function(t,r){if("throw"===r)throw new Error(t);return"warn"===r&&console.warn(t),null};r.default=function(t,r,e){var a=Object.keys(r),i=e||{},u=i.handleMissingStyleName,c=void 0===u?n.default.handleMissingStyleName:u,s=i.autoResolveMultipleImports,l=void 0===s?n.default.autoResolveMultipleImports:s;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,r,e){var a=t.split("."),i=a[0],u=a[1],c=e||n.default.handleMissingStyleName;return u?r[i]?r[i][u]?r[i][u]:o("CSS module does not exist: "+u,c):o("CSS module import does not exist: "+i,c):o("Invalid style name: "+t,c)}(t,r,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(a.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,r,e){var a=e||n.default.handleMissingStyleName,i=Object.keys(r).map((function(e){return r[e][t]&&e})).filter((function(t){return t}));if(i.length>1)throw new Error('Cannot resolve styleName "'+t+'" 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.'+t+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+t+"'.",a):r[i[0]][t]}(t,r,c)}var e=r[a[0]];return e[t]?e[t]:o("Could not resolve the styleName '"+t+"'.",c)})).filter((function(t){return t})).join(" "):""}}))),h=Array.isArray,p="object"==typeof u&&u&&u.Object===Object&&u,v="object"==typeof self&&self&&self.Object===Object&&self,d=p||v||Function("return this")(),y=d.Symbol,m=Object.prototype,g=m.hasOwnProperty,_=m.toString,b=y?y.toStringTag:void 0;var w=function(t){var r=g.call(t,b),e=t[b];try{t[b]=void 0;var n=!0}catch(t){}var o=_.call(t);return n&&(r?t[b]=e:delete t[b]),o},x=Object.prototype.toString;var j=function(t){return x.call(t)},O=y?y.toStringTag:void 0;var E=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":O&&O in Object(t)?w(t):j(t)};var L=function(t){return null!=t&&"object"==typeof t};var S=function(t){return"symbol"==typeof t||L(t)&&"[object Symbol]"==E(t)},N=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/;var P=function(t,r){if(h(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!S(t))||(I.test(t)||!N.test(t)||null!=r&&t in Object(r))};var T=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var k,A=function(t){if(!T(t))return!1;var r=E(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},F=d["__core-js_shared__"],M=(k=/[^.]+$/.exec(F&&F.keys&&F.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"";var z=function(t){return!!M&&M in t},C=Function.prototype.toString;var R=function(t){if(null!=t){try{return C.call(t)}catch(t){}try{return t+""}catch(t){}}return""},$=/^\[object .+?Constructor\]$/,G=Function.prototype,q=Object.prototype,Y=G.toString,B=q.hasOwnProperty,W=RegExp("^"+Y.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var D=function(t){return!(!T(t)||z(t))&&(A(t)?W:$).test(R(t))};var K=function(t,r){return null==t?void 0:t[r]};var U=function(t,r){var e=K(t,r);return D(e)?e:void 0},H=U(Object,"create");var J=function(){this.__data__=H?H(null):{},this.size=0};var Q=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},V=Object.prototype.hasOwnProperty;var X=function(t){var r=this.__data__;if(H){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return V.call(r,t)?r[t]:void 0},Z=Object.prototype.hasOwnProperty;var tt=function(t){var r=this.__data__;return H?void 0!==r[t]:Z.call(r,t)};var rt=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=H&&void 0===r?"__lodash_hash_undefined__":r,this};function et(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])}}et.prototype.clear=J,et.prototype.delete=Q,et.prototype.get=X,et.prototype.has=tt,et.prototype.set=rt;var nt=et;var ot=function(){this.__data__=[],this.size=0};var at=function(t,r){return t===r||t!=t&&r!=r};var it=function(t,r){for(var e=t.length;e--;)if(at(t[e][0],r))return e;return-1},ut=Array.prototype.splice;var ct=function(t){var r=this.__data__,e=it(r,t);return!(e<0)&&(e==r.length-1?r.pop():ut.call(r,e,1),--this.size,!0)};var st=function(t){var r=this.__data__,e=it(r,t);return e<0?void 0:r[e][1]};var lt=function(t){return it(this.__data__,t)>-1};var ft=function(t,r){var e=this.__data__,n=it(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function ht(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])}}ht.prototype.clear=ot,ht.prototype.delete=ct,ht.prototype.get=st,ht.prototype.has=lt,ht.prototype.set=ft;var pt=ht,vt=U(d,"Map");var dt=function(){this.size=0,this.__data__={hash:new nt,map:new(vt||pt),string:new nt}};var yt=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var mt=function(t,r){var e=t.__data__;return yt(r)?e["string"==typeof r?"string":"hash"]:e.map};var gt=function(t){var r=mt(this,t).delete(t);return this.size-=r?1:0,r};var _t=function(t){return mt(this,t).get(t)};var bt=function(t){return mt(this,t).has(t)};var wt=function(t,r){var e=mt(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function xt(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])}}xt.prototype.clear=dt,xt.prototype.delete=gt,xt.prototype.get=_t,xt.prototype.has=bt,xt.prototype.set=wt;var jt=xt;function Ot(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],a=e.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return e.cache=a.set(o,i)||a,i};return e.cache=new(Ot.Cache||jt),e}Ot.Cache=jt;var Et=Ot;var Lt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,St=/\\(\\)?/g,Nt=function(t){var r=Et(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache;return r}((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(Lt,(function(t,e,n,o){r.push(n?o.replace(St,"$1"):e||t)})),r}));var It=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o},Pt=y?y.prototype:void 0,Tt=Pt?Pt.toString:void 0;var kt=function t(r){if("string"==typeof r)return r;if(h(r))return It(r,t)+"";if(S(r))return Tt?Tt.call(r):"";var e=r+"";return"0"==e&&1/r==-Infinity?"-0":e};var At=function(t){return null==t?"":kt(t)};var Ft=function(t,r){return h(t)?t:P(t,r)?[t]:Nt(At(t))};var Mt=function(t){if("string"==typeof t||S(t))return t;var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var zt=function(t,r){for(var e=0,n=(r=Ft(r,t)).length;null!=t&&e<n;)t=t[Mt(r[e++])];return e&&e==n?t:void 0};var Ct=function(t,r,e){var n=null==t?void 0:zt(t,r);return void 0===n?e:n},Rt=e();s((function(t){var r=function(t){var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{c({},"")}catch(t){c=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,a=Object.create(o.prototype),i=new N(n||[]);return a._invoke=function(t,r,e){var n=f;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw a;return P()}for(e.method=o,e.arg=a;;){var i=e.delegate;if(i){var u=E(i,e);if(u){if(u===d)continue;return u}}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 c=l(t,r,e);if("normal"===c.type){if(n=e.done?v:h,c.arg===d)continue;return{value:c.arg,done:e.done}}"throw"===c.type&&(n=v,e.method="throw",e.arg=c.arg)}}}(t,e,i),a}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",d={};function y(){}function m(){}function g(){}var _={};c(_,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(I([])));w&&w!==e&&n.call(w,a)&&(_=w);var x=g.prototype=y.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(r){c(t,r,(function(t){return this._invoke(r,t)}))}))}function O(t,r){function e(o,a,i,u){var c=l(t[o],t,a);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,i,u)}),(function(t){e("throw",t,i,u)})):r.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return e("throw",t,i,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function a(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(a,a):a()}}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 d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,d):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}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 N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function I(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=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 i.next=i}}return{next:P}}function P(){return{value:r,done:!0}}return m.prototype=g,c(x,"constructor",g),c(g,"constructor",m),m.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===m||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},j(O.prototype),c(O.prototype,i,(function(){return this})),t.AsyncIterator=O,t.async=function(r,e,n,o,a){void 0===a&&(a=Promise);var i=new O(s(r,e,n,o),a);return t.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},j(x),c(x,u,"Generator"),c(x,a,(function(){return this})),c(x,"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=I,N.prototype={constructor:N,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 u.type="throw",u.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],u=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.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(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 a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=r&&r<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=r,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},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),d},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),d}},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:I(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),d}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}));var $t=function(t){var r=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*r.r+.587*r.g+.114*r.b},Gt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",r=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return r&&4===r.length?"#"+("0"+parseInt(r[1],10).toString(16)).slice(-2)+("0"+parseInt(r[2],10).toString(16)).slice(-2)+("0"+parseInt(r[3],10).toString(16)).slice(-2):t};n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var qt={"./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"}},Yt=function(e){var n=e.story,i=e.hideAuthorImage,u=e.isBottom,c=e.prefix,s=void 0===c?"":c,l=e.config,h=void 0===l?{}:l,p=r(Rt)||{},v=Ct(p,["showAuthor"],!0),d=Ct(n,["authors","0"],""),y=d["avatar-url"],m=d["avatar-s3-key"],g=d.name,_=d.slug,b=u?"bottom-fix":"",w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",r=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:Gt(t);return $t(r)<155?"light":"dark"}(p.theme),x=Ct(h,["mountAt"],""),j=function(r){return s?t.createElement("div",{className:"arr-author-prefix "+f("prefix ".concat(w),qt)},s):!i&&function(r){return y||m?t.createElement("div",{"data-test-id":"author-image",className:f("author-image ".concat(r,"-image"),qt)},t.createElement("figure",null,m?t.createElement(a,{slug:m,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):t.createElement("img",{src:y}))):null}(r)};return t.createElement(t.Fragment,null,v&&t.createElement(o,{href:"".concat(x,"/author/")+_,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+f("author ".concat(b),qt)},j("ltr"),t.createElement("div",{"data-test-id":"author-name",className:"author-name "+f("author-name ".concat(w),qt)},g||n["author-name"]),!s&&j("rtl")))};var Bt=i((function(t){return{config:Ct(t,["qt","config"],{})}}))(Yt);Yt.propTypes={story:n.object.isRequired,hideAuthorImage:n.bool,isBottom:n.bool,prefix:n.string,config:n.object},Yt.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};export{Bt as Author};
|
package/Author/styles.arrow.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.author-m_author__WRuLm{
|
|
1
|
+
.author-m_author__WRuLm{align-items:center;color:var(--arrow-c-mono4);display:flex;margin-bottom:var(--arrow-spacing-xs)}.author-m_author-image__3q2oc{border-radius:100%;height:var(--arrow-spacing-l);margin-right:var(--arrow-spacing-xs);overflow:hidden;width:var(--arrow-spacing-l)}.author-m_author-image__3q2oc figure,.author-m_author-image__3q2oc img{height:100%;width:100%}.author-m_author-name__3WP-O{margin:auto var(--arrow-spacing-xs) auto 0}.author-m_bottom-fix__223TT{margin-top:auto}.author-m_prefix__YSInK{margin:auto var(--arrow-spacing-xxs) auto 0}.author-m_rtl-image__2nglD{display:none}html[dir=rtl] .author-m_author-name__3WP-O{margin-right:0}html[dir=rtl] .author-m_prefix__YSInK{margin-left:var(--arrow-spacing-xxs);margin-right:0}html[dir=rtl] .author-m_ltr-image__3bc0L{display:none}html[dir=rtl] .author-m_rtl-image__2nglD{display:block}.author-m_dark__2TTlp{color:var(--arrow-c-mono4)}.author-m_light__3y8_x{color:var(--arrow-c-invert-mono4)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e,{useState as t,useEffect as r}from"react";import n from"prop-types";import"react-timeago";import{Link as a,ResponsiveImage as o,SocialShare as i}from"@quintype/components";var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e){var t={exports:{}};return e(t,t.exports),t.exports}var s=u((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})),p=c(u((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=s)&&r.__esModule?r:{default:r};var a=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var o=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?n.default.handleMissingStyleName:l,u=i.autoResolveMultipleImports,s=void 0===u?n.default.autoResolveMultipleImports:u;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 o=e.split("."),i=o[0],l=o[1],c=r||n.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:a("CSS module does not exist: "+l,c):a("CSS module import does not exist: "+i,c):a("Invalid style name: "+e,c)}(e,t,c);if(0===o.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(o.length>1){if(!s)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 o=r||n.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?a("Could not resolve the styleName '"+e+"'.",o):t[i[0]][e]}(e,t,c)}var r=t[o[0]];return r[e]?r[e]:a("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}})));u((function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",i=a.asyncIterator||"@@asyncIterator",l=a.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 u(e,t,r,n){var a=t&&t.prototype instanceof v?t:v,o=Object.create(a.prototype),i=new O(n||[]);return o._invoke=function(e,t,r){var n=p;return function(a,o){if(n===h)throw new Error("Generator is already running");if(n===m){if("throw"===a)throw o;return z()}for(r.method=a,r.arg=o;;){var i=r.delegate;if(i){var l=j(i,r);if(l){if(l===d)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=s(e,t,r);if("normal"===c.type){if(n=r.done?m:f,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=m,r.method="throw",r.arg=c.arg)}}}(e,r,i),o}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",d={};function v(){}function _(){}function g(){}var y={};c(y,o,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(T([])));b&&b!==r&&n.call(b,o)&&(y=b);var E=g.prototype=v.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(a,o,i,l){var c=s(e[a],e,o);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==typeof p&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(p).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var a;this._invoke=function(e,n){function o(){return new t((function(t,a){r(e,n,t,a)}))}return a=a?a.then(o,o):o()}}function j(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var a=s(n,e.iterator,r.arg);if("throw"===a.type)return r.method="throw",r.arg=a.arg,r.delegate=null,d;var o=a.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,d):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function N(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 A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function T(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,i=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:z}}function z(){return{value:t,done:!0}}return _.prototype=g,c(E,"constructor",g),c(g,"constructor",_),_.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(k.prototype),c(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var i=new k(u(t,r,n,a),o);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,o,(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 n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=T,O.prototype={constructor:O,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(A),!e)for(var r in this)"t"===r.charAt(0)&&n.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 a(n,a){return l.type="throw",l.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):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),d},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),A(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;A(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:T(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var f=Array.isArray,h="object"==typeof l&&l&&l.Object===Object&&l,m="object"==typeof self&&self&&self.Object===Object&&self,d=h||m||Function("return this")(),v=d.Symbol,_=Object.prototype,g=_.hasOwnProperty,y=_.toString,w=v?v.toStringTag:void 0;var b=function(e){var t=g.call(e,w),r=e[w];try{e[w]=void 0;var n=!0}catch(e){}var a=y.call(e);return n&&(t?e[w]=r:delete e[w]),a},E=Object.prototype.toString;var x=function(e){return E.call(e)},k=v?v.toStringTag:void 0;var j=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":k&&k in Object(e)?b(e):x(e)};var N=function(e){return null!=e&&"object"==typeof e};var A=function(e){return"symbol"==typeof e||N(e)&&"[object Symbol]"==j(e)},O=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/;var z=function(e,t){if(f(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!A(e))||(T.test(e)||!O.test(e)||null!=t&&e in Object(t))};var C=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var U,L=function(e){if(!C(e))return!1;var t=j(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},S=d["__core-js_shared__"],M=(U=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"";var I=function(e){return!!M&&M in e},R=Function.prototype.toString;var B=function(e){if(null!=e){try{return R.call(e)}catch(e){}try{return e+""}catch(e){}}return""},P=/^\[object .+?Constructor\]$/,F=Function.prototype,D=Object.prototype,G=F.toString,V=D.hasOwnProperty,Z=RegExp("^"+G.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var $=function(e){return!(!C(e)||I(e))&&(L(e)?Z:P).test(B(e))};var H=function(e,t){return null==e?void 0:e[t]};var q=function(e,t){var r=H(e,t);return $(r)?r:void 0},Q=q(Object,"create");var W=function(){this.__data__=Q?Q(null):{},this.size=0};var Y=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},J=Object.prototype.hasOwnProperty;var X=function(e){var t=this.__data__;if(Q){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return J.call(t,e)?t[e]:void 0},K=Object.prototype.hasOwnProperty;var ee=function(e){var t=this.__data__;return Q?void 0!==t[e]:K.call(t,e)};var te=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Q&&void 0===t?"__lodash_hash_undefined__":t,this};function re(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}re.prototype.clear=W,re.prototype.delete=Y,re.prototype.get=X,re.prototype.has=ee,re.prototype.set=te;var ne=re;var ae=function(){this.__data__=[],this.size=0};var oe=function(e,t){return e===t||e!=e&&t!=t};var ie=function(e,t){for(var r=e.length;r--;)if(oe(e[r][0],t))return r;return-1},le=Array.prototype.splice;var ce=function(e){var t=this.__data__,r=ie(t,e);return!(r<0)&&(r==t.length-1?t.pop():le.call(t,r,1),--this.size,!0)};var ue=function(e){var t=this.__data__,r=ie(t,e);return r<0?void 0:t[r][1]};var se=function(e){return ie(this.__data__,e)>-1};var pe=function(e,t){var r=this.__data__,n=ie(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function fe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}fe.prototype.clear=ae,fe.prototype.delete=ce,fe.prototype.get=ue,fe.prototype.has=se,fe.prototype.set=pe;var he=fe,me=q(d,"Map");var de=function(){this.size=0,this.__data__={hash:new ne,map:new(me||he),string:new ne}};var ve=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var _e=function(e,t){var r=e.__data__;return ve(t)?r["string"==typeof t?"string":"hash"]:r.map};var ge=function(e){var t=_e(this,e).delete(e);return this.size-=t?1:0,t};var ye=function(e){return _e(this,e).get(e)};var we=function(e){return _e(this,e).has(e)};var be=function(e,t){var r=_e(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ee.prototype.clear=de,Ee.prototype.delete=ge,Ee.prototype.get=ye,Ee.prototype.has=we,Ee.prototype.set=be;var xe=Ee;function ke(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,a=t?t.apply(this,n):n[0],o=r.cache;if(o.has(a))return o.get(a);var i=e.apply(this,n);return r.cache=o.set(a,i)||o,i};return r.cache=new(ke.Cache||xe),r}ke.Cache=xe;var je=ke;var Ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/\\(\\)?/g,Oe=function(e){var t=je(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(Ne,(function(e,r,n,a){t.push(n?a.replace(Ae,"$1"):r||e)})),t}));var Te=function(e,t){for(var r=-1,n=null==e?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a},ze=v?v.prototype:void 0,Ce=ze?ze.toString:void 0;var Ue=function e(t){if("string"==typeof t)return t;if(f(t))return Te(t,e)+"";if(A(t))return Ce?Ce.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Le=function(e){return null==e?"":Ue(e)};var Se=function(e,t){return f(e)?e:z(e,t)?[e]:Oe(Le(e))};var Me=function(e){if("string"==typeof e||A(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ie=function(e,t){for(var r=0,n=(t=Se(t,e)).length;null!=e&&r<n;)e=e[Me(t[r++])];return r&&r==n?e:void 0};var Re=function(e,t,r){var n=null==e?void 0:Ie(e,t);return void 0===n?r:n};var Be=function(e,t,r,n){var a=-1,o=null==e?0:e.length;for(n&&o&&(r=e[++a]);++a<o;)r=t(r,e[a],a,e);return r};var Pe=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"}),Fe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,De=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Ge=function(e){return(e=Le(e))&&e.replace(Fe,Pe).replace(De,"")},Ve=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ze=function(e){return e.match(Ve)||[]},$e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var He=function(e){return $e.test(e)},qe="\\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",Qe="["+qe+"]",We="\\d+",Ye="[\\u2700-\\u27bf]",Je="[a-z\\xdf-\\xf6\\xf8-\\xff]",Xe="[^\\ud800-\\udfff"+qe+We+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ke="(?:\\ud83c[\\udde6-\\uddff]){2}",et="[\\ud800-\\udbff][\\udc00-\\udfff]",tt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rt="(?:"+Je+"|"+Xe+")",nt="(?:"+tt+"|"+Xe+")",at="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ot="[\\ufe0e\\ufe0f]?"+at+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Ke,et].join("|")+")[\\ufe0e\\ufe0f]?"+at+")*"),it="(?:"+[Ye,Ke,et].join("|")+")"+ot,lt=RegExp([tt+"?"+Je+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Qe,tt,"$"].join("|")+")",nt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Qe,tt+rt,"$"].join("|")+")",tt+"?"+rt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",tt+"+(?:['’](?: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_])",We,it].join("|"),"g");var ct=function(e){return e.match(lt)||[]};var ut=function(e,t,r){return e=Le(e),void 0===(t=r?void 0:t)?He(e)?ct(e):Ze(e):e.match(t)||[]},st=RegExp("['’]","g");var pt=function(e){return function(t){return Be(ut(Ge(t).replace(st,"")),e,"")}},ft=!("undefined"==typeof window||!window.document||!window.document.createElement)&&window.location.href,ht=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},mt=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},dt={mobile:767,tablet:1024},vt=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:mt(e),n=ht(r)<155?"light":"dark";return n};n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var _t=function(t){var r=t.width,n=void 0===r?120:r,a=t.height,o=void 0===a?120:a;return e.createElement("svg",{width:n,height:o,viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M93.28 108.98c-1.055-17.675-15.47-31.678-33.098-31.678-17.708 0-32.173 14.129-33.11 31.916 9.415 6.311 20.741 9.993 32.927 9.993 12.338 0 23.795-3.774 33.28-10.23l.001-.001zM58.584 73.283c9.928 0 17.977-8.275 17.977-18.483 0-10.209-8.049-18.484-17.977-18.484-9.929 0-17.977 8.275-17.977 18.484 0 10.208 8.048 18.483 17.977 18.483zM60 120C26.863 120 0 93.137 0 60S26.863 0 60 0s60 26.863 60 60-26.863 60-60 60z",fill:"#DADADA",fillRule:"nonzero"}))};_t.propTypes={width:n.object,height:n.object};var gt={"./author-image.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px","image-container":"author-image-m_image-container__19WNd","author-image":"author-image-m_author-image__D8GMB",square:"author-image-m_square__bjK7M","small-circle":"author-image-m_small-circle__DbQMN","smaller-circle":"author-image-m_smaller-circle__2yMOZ"}},yt=function(t,r){var n=t["avatar-url"],a=t["avatar-s3-key"],i=t.name;return e.createElement("div",{"data-test-id":"author-image",className:"arr--author-image "+p("author-image ".concat(r),gt)},e.createElement("figure",{className:"author-image-m_image-container__19WNd"},a?e.createElement(o,{slug:a,alt:i,defaultWidth:250,widths:[250,480],aspectRatio:[[1,1],[1,1]],sizes:"98vw",imgParams:{auto:["format","compress"]}}):n?e.createElement("img",{src:n}):e.createElement(_t,null)))},wt=function(t){var r=t.author,n=void 0===r?{}:r,o=t.template,i=void 0===o?"":o,l=t.config,c=void 0===l?{}:l,u=n.slug,s=c.mountAt||"",p="";return"smallerCircle"===i?p="smaller-circle":"smallCircle"===i?p="small-circle":"square"===i&&(p="square"),u?e.createElement(a,{href:"".concat(s,"/author/")+u},yt(n,p)):yt(n,p)};function bt(){return(bt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xt(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 n,a,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);i=!0);}catch(e){l=!0,a=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Et(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)?Et(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.")}()}wt.propTypes={author:n.shape({"avatar-url":n.string,"avatar-s3-key":n.string,name:n.string,slug:n.string}),template:n.string};var kt=function(t){var r=t.color,n=void 0===r?"#1CB7EB":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:n,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"}))};kt.propTypes={color:n.string};var jt=function(t){var r=t.color,n=void 0===r?"#3B5998":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:n,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"}))};jt.propTypes={color:n.string};var Nt=function(t){var r=t.color,n=void 0===r?"#0077B5":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:n,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"}))};Nt.propTypes={color:n.string};var At=function(t){var r=t.color,n=void 0===r?"#4AC959":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:n,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"}))};At.propTypes={color:n.string};var Ot=function(t){var r=t.fbUrl,n=t.twitterUrl,a=t.linkedinUrl,o=t.whatsappUrl,i=t.iconColor,l=t.iconType,c=function(t,r){switch(r){case"plain-color-svg":return{facebook:e.createElement(jt,{key:r}),twitter:e.createElement(kt,{key:r}),linkedin:e.createElement(Nt,{key:r}),whatsapp:e.createElement(At,{key:r})};default:return{facebook:e.createElement(jt,{color:t,key:r}),twitter:e.createElement(kt,{color:t,key:r}),linkedin:e.createElement(Nt,{color:t,key:r}),whatsapp:e.createElement(At,{color:t,key:r})}}}(i,void 0===l?"plain-svg":l);return[{name:"facebook",url:r,icon:c.facebook,text:"Facebook",bgColor:"#4e71a8",alt:"fb icon"},{name:"twitter",url:n,icon:c.twitter,text:"Twitter",bgColor:"#1db7eb",alt:"twitter icon"},{name:"linkedin",url:a,icon:c.linkedin,text:"LinkedIn",bgColor:"#0077B5",alt:"linkedin icon"},{name:"whatsapp",url:o,icon:c.whatsapp,text:"Whatsapp",bgColor:"#25d366",alt:"whatsapp share"}]},Tt=function(t){var r=t.color,n=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("g",{fill:"none",stroke:n,strokeLinecap:"square",strokeWidth:"2"},e.createElement("path",{d:"M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"})))};Tt.propTypes={color:n.string};var zt={"./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"}},Ct=function(t){var r=t.fbUrl,n=void 0===r?"":r,a=t.twitterUrl,o=void 0===a?"":a,i=t.linkedinUrl,l=void 0===i?"":i,c=t.whatsappUrl,u=void 0===c?"":c,s=t.theme,f=t.closePopup,h=void 0===f?"":f,m=t.iconType,d=void 0===m?"plain-color-svg":m,v=vt(s),_="dark"===v?"#000000":"#ffffff",g=Ot({fbUrl:n,twitterUrl:o,linkedinUrl:l,whatsappUrl:u,iconColor:_,iconType:d});return e.createElement("div",{className:p("share-popup-wrapper ".concat(v),zt)},e.createElement("div",{className:"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"},e.createElement("div",{className:"social-share-popup-m_top-bar__174Um"},e.createElement("span",{className:"social-share-popup-m_share-text__19E-F"},"Share via"),e.createElement("span",{className:"social-share-popup-m_close__3k-Hj",onClick:h},e.createElement(Tt,{color:_}))),e.createElement("ul",{className:"social-share-popup-m_wrapper__3Ytce"},g.map((function(t,r){var n=t.url,a=t.icon,o=t.text,i=t.bgColor;return t.alt,function(t,r,n,a){return t?e.createElement("li",{className:"social-share-popup-m_social-icon-wrapper__36jyV","data-testid":n,key:"popup-item-".concat(a)},e.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"social-share-popup-m_social-wrapper__1lPzr","aria-label":"social-icon"},r,e.createElement("span",{className:"social-share-popup-m_social-text__1QPXb"},n))):null}(n,a,o,i)})))))};Ct.propTypes={fbUrl:n.string,twitterUrl:n.string,linkedinUrl:n.string,whatsappUrl:n.string,grey:n.string,primaryColor:n.string,closePopup:n.bool,theme:n.string,iconType:n.string};var Ut=function(t){var r=t.color,n=void 0===r?"#0D0D0D":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:n,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"}))};Ut.propTypes={color:n.string};var Lt=function(e,t,r){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=Array(a);++n<a;)o[n]=e[n+t];return o};var St=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:Lt(e,t,r)},Mt=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var It=function(e){return Mt.test(e)};var Rt=function(e){return e.split("")},Bt="[\\ud800-\\udfff]",Pt="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ft="\\ud83c[\\udffb-\\udfff]",Dt="[^\\ud800-\\udfff]",Gt="(?:\\ud83c[\\udde6-\\uddff]){2}",Vt="[\\ud800-\\udbff][\\udc00-\\udfff]",Zt="(?:"+Pt+"|"+Ft+")"+"?",$t="[\\ufe0e\\ufe0f]?"+Zt+("(?:\\u200d(?:"+[Dt,Gt,Vt].join("|")+")[\\ufe0e\\ufe0f]?"+Zt+")*"),Ht="(?:"+[Dt+Pt+"?",Pt,Gt,Vt,Bt].join("|")+")",qt=RegExp(Ft+"(?="+Ft+")|"+Ht+$t,"g");var Qt=function(e){return e.match(qt)||[]};var Wt=function(e){return It(e)?Qt(e):Rt(e)};var Yt=function(e){return function(t){t=Le(t);var r=It(t)?Wt(t):void 0,n=r?r[0]:t.charAt(0),a=r?St(r,1).join(""):t.slice(1);return n[e]()+a}}("toUpperCase");var Jt=function(e){return Yt(Le(e).toLowerCase())},Xt=pt((function(e,t,r){return t=t.toLowerCase(),e+(r?Jt(t):t)})),Kt={"./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"}},er=function(t){var r=t.name,n=t.url,a=t.icon,o=t.dataTestId;return n?e.createElement("li",{"data-testid":o,className:"social-share-template-m_icon__1Mnu5"},e.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer","data-share-icon":r,"aria-label":"share-icon"},a)):null};er.propTypes={name:n.string,url:n.string,icon:n.node,dataTestId:n.string};var tr=function(n){var a=n.fbUrl,o=void 0===a?"":a,i=n.twitterUrl,l=void 0===i?"":i,c=n.linkedinUrl,u=void 0===c?"":c,s=n.whatsappUrl,f=void 0===s?"":s,h=n.vertical,m=void 0!==h&&h,d=n.theme,v=n.iconType,_=void 0===v?"plain-color-svg":v,g=n.open,y=void 0!==g&&g;if(!(o||l||u||f))return null;var w=vt(d),b="dark"===w?"#000000":"#ffffff",E=Ot({fbUrl:o,twitterUrl:l,linkedinUrl:u,whatsappUrl:f,iconColor:b,iconType:_}),x=xt(t(y),2),k=x[0],j=x[1],N=m?"vertical":"horizontal";r((function(){return j(y)}),[y]);var A=function(){return e.createElement("li",{className:"social-share-template-m_icon__1Mnu5",key:"horizontal-0"},e.createElement("div",{onClick:O},function(t,r){return t?e.createElement(Tt,{color:r}):e.createElement(Ut,{color:r})}(k,b)))},O=function(){j(!k)},T=!k&&m?"tablet-view-popup":"";return e.createElement("div",{"data-test-id":N,className:"arr--share "+p("".concat(w," ").concat(N," ").concat(T),Kt)},e.createElement("div",{className:"social-share-template-m_desktop-view__3TmkO"},e.createElement("ul",{"data-test-id":Xt(_),className:"desktop-share-wrapper "+p("wrapper ".concat(k?"open":""),Kt)},A(),E.map((function(t,r){return e.createElement(er,bt({},t,{key:t.name,dataTestId:"card-share-".concat(r)}))})))),e.createElement("div",{className:"social-share-template-m_tablet-view__kATzi"},!k&&e.createElement("ul",{className:p("wrapper ".concat(k?"open":""),Kt)},A()),k&&e.createElement(e.Fragment,null,e.createElement("div",{className:"social-share-template-m_overlay__1nBp-",onClick:O},e.createElement("div",{className:"arr--popup "+p("popup-wrapper ".concat(k?"popup-open":""),Kt)},e.createElement(Ct,{fbUrl:o,twitterUrl:l,linkedinUrl:u,whatsappUrl:f,iconType:_,theme:d,closePopup:function(){j(!1)}}))))))};tr.propTypes={fbUrl:n.string,twitterUrl:n.string,linkedinUrl:n.string,whatsappUrl:n.string,vertical:n.bool,theme:n.string,iconType:n.string,open:n.boolean};var rr=function(t){var r=t.color,n=void 0===r?"#F61C0D":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:n,fillRule:"evenodd",d:"M22.077 6.844c.18.703.308 1.77.385 3.203L22.5 12l-.038 1.953c-.077 1.458-.206 2.54-.385 3.242a2.733 2.733 0 01-.692 1.172 2.654 2.654 0 01-1.193.703c-.666.183-2.23.313-4.692.39l-3.5.04-3.5-.04c-2.462-.077-4.026-.207-4.692-.39a2.657 2.657 0 01-1.193-.703 2.733 2.733 0 01-.692-1.172c-.18-.703-.308-1.784-.385-3.242L1.5 12c0-.573.013-1.224.038-1.953.077-1.432.206-2.5.385-3.203A2.718 2.718 0 013.808 4.93c.666-.183 2.23-.313 4.692-.39L12 4.5l3.5.04c2.462.077 4.026.207 4.692.39a2.718 2.718 0 011.885 1.914zm-12.23 8.36l5.5-3.204-5.5-3.164v6.367z"}))};rr.propTypes={color:n.string};var nr=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("defs",null,e.createElement("linearGradient",{id:"prefix__b",x1:"0%",x2:"110.694%",y1:"0%",y2:"109.202%"},e.createElement("stop",{offset:"0%",stopColor:"#724AC6"}),e.createElement("stop",{offset:"53.59%",stopColor:"#E5375E"}),e.createElement("stop",{offset:"100%",stopColor:"#FC9949"})),e.createElement("path",{id:"prefix__a",d:"M9 4.636c.784 0 1.512.196 2.182.588.67.392 1.202.924 1.594 1.594.392.67.588 1.398.588 2.182s-.196 1.512-.588 2.182a4.382 4.382 0 01-1.594 1.594c-.67.392-1.398.588-2.182.588s-1.512-.196-2.182-.588a4.382 4.382 0 01-1.594-1.594c-.392-.67-.588-1.398-.588-2.182s.196-1.512.588-2.182a4.382 4.382 0 011.594-1.594A4.247 4.247 0 019 4.636zm0 7.21c.784 0 1.455-.278 2.011-.835.557-.556.835-1.227.835-2.011s-.278-1.455-.835-2.011c-.556-.557-1.227-.835-2.011-.835s-1.455.278-2.011.835c-.557.556-.835 1.227-.835 2.011s.278 1.455.835 2.011A2.739 2.739 0 009 11.846zm5.578-7.4a1.181 1.181 0 01-.322.721.923.923 0 01-.702.304.981.981 0 01-.721-.304.98.98 0 01-.304-.72c0-.279.101-.52.304-.722a.984.984 0 01.72-.303c.279 0 .52.101.722.303a.987.987 0 01.303.721zm2.884 1.025c.025.708.038 1.885.038 3.529s-.019 2.827-.057 3.548c-.038.721-.145 1.347-.322 1.878a4.425 4.425 0 01-1.044 1.651 4.429 4.429 0 01-1.65 1.044c-.532.177-1.158.284-1.879.322-.721.038-1.904.057-3.548.057-1.644 0-2.827-.019-3.548-.057-.721-.038-1.347-.158-1.878-.36a4.05 4.05 0 01-1.651-1.006 4.429 4.429 0 01-1.044-1.65c-.177-.532-.284-1.158-.322-1.879C.519 11.827.5 10.644.5 9c0-1.644.019-2.827.057-3.548.038-.721.145-1.347.322-1.878a4.425 4.425 0 011.044-1.651A4.429 4.429 0 013.573.879C4.106.702 4.732.595 5.453.557 6.173.519 7.356.5 9 .5c1.644 0 2.827.019 3.548.057.721.038 1.347.145 1.878.322a4.425 4.425 0 011.651 1.044 4.429 4.429 0 011.044 1.65c.177.532.29 1.164.341 1.898zm-1.821 8.538c.151-.43.253-1.113.303-2.05.025-.556.038-1.34.038-2.352V8.393a54.22 54.22 0 00-.038-2.353c-.05-.961-.152-1.644-.303-2.049a2.743 2.743 0 00-1.632-1.632c-.405-.151-1.088-.253-2.05-.303a55.796 55.796 0 00-2.352-.038H8.393c-1.012 0-1.796.013-2.353.038-.936.05-1.619.152-2.049.303a2.743 2.743 0 00-1.632 1.632c-.151.405-.253 1.088-.303 2.05-.025.556-.038 1.34-.038 2.352v1.214c0 1.012.013 1.796.038 2.353.05.936.152 1.619.303 2.049.33.784.873 1.328 1.632 1.632.43.151 1.113.253 2.05.303.556.025 1.34.038 2.352.038h1.214a54.22 54.22 0 002.353-.038c.961-.05 1.644-.152 2.049-.303.784-.33 1.328-.873 1.632-1.632z"})),e.createElement("use",{fill:"url(#prefix__b)",fillRule:"nonzero",transform:"translate(3 3)",xlinkHref:"#prefix__a"}))},ar=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:"#E60023",d:"M21.5 12a9.209 9.209 0 01-1.283 4.75 9.6 9.6 0 01-3.467 3.467A9.209 9.209 0 0112 21.5c-.97 0-1.903-.14-2.796-.421.613-1.022.996-1.852 1.149-2.49l.613-2.26c.153.306.434.561.842.766.41.204.856.306 1.341.306.92 0 1.756-.262 2.51-.785.753-.524 1.34-1.232 1.761-2.126.422-.894.632-1.87.632-2.93s-.255-2.012-.766-2.854a5.318 5.318 0 00-2.107-1.973c-.893-.473-1.89-.709-2.987-.709-1.303 0-2.452.268-3.448.805a5.465 5.465 0 00-2.088 2.087 5.704 5.704 0 00-.747 2.854c0 .74.185 1.475.556 2.203.37.728.836 1.22 1.398 1.475.179.076.28.038.306-.115l.268-1.073a.266.266 0 00-.076-.268 3.048 3.048 0 01-.498-.977 3.908 3.908 0 01-.192-1.207c0-.715.173-1.385.518-2.01a3.99 3.99 0 011.474-1.514c.664-.408 1.43-.613 2.299-.613 1.174 0 2.132.364 2.873 1.092.74.728 1.11 1.654 1.11 2.777 0 1.277-.287 2.324-.861 3.141-.575.818-1.284 1.226-2.126 1.226-.486 0-.869-.172-1.15-.517-.28-.345-.37-.747-.268-1.207.051-.28.166-.689.345-1.225.281-.945.421-1.603.421-1.973 0-.37-.102-.677-.306-.92-.204-.242-.498-.363-.881-.363-.485 0-.894.217-1.226.65-.332.435-.498.984-.498 1.648 0 .562.09 1.034.268 1.417L8.591 18.13c-.154.638-.166 1.545-.039 2.72-1.813-.69-3.275-1.839-4.386-3.448C3.056 15.792 2.5 13.991 2.5 12c0-1.711.428-3.294 1.283-4.75A9.6 9.6 0 017.25 3.783 9.209 9.209 0 0112 2.5c1.711 0 3.294.428 4.75 1.283a9.6 9.6 0 013.467 3.467A9.209 9.209 0 0121.5 12z"}))},or={"./author-intro.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",connect:"author-intro-m_connect__15zIX","social-share":"author-intro-m_social-share__f5EpE","share-icon":"author-intro-m_share-icon__3gke5",default:"author-intro-m_default__1rQ_v","author-image":"author-intro-m_author-image__2jRxy","author-name":"author-intro-m_author-name__1L60a","author-description":"author-intro-m_author-description__2CTEw",wrapper:"author-intro-m_wrapper__2Bi-s","introduction-card":"author-intro-m_introduction-card__1kdGt","social-wrapper":"author-intro-m_social-wrapper__1F9jD",linkWrapper:"author-intro-m_linkWrapper__Au0nU","social-connect-wrapper":"author-intro-m_social-connect-wrapper__2B0QA",dark:"author-intro-m_dark__ALdDb",light:"author-intro-m_light__2SfeE","small-circle":"author-intro-m_small-circle__jyG1s",border:"author-intro-m_border__3Tii9","fade-out":"author-intro-m_fade-out__1EBqd"}},ir=function(t){var r,n=t.data,a=void 0===n?{}:n,o=t.config,l=void 0===o?{}:o,c=t.template,u=void 0===c?"":c,s=l.theme,f=void 0===s?"":s,h=l.enableBio,m=void 0===h||h,d=l.enableSocialLinks,v=void 0===d||d,_=l.borderSupport,g=void 0===_||_,y=vt(f),w=a.name,b=a.bio,E=a.social,x="smallCircle"===u,k=x?"small-circle":"default",j=!!(r=Re(dt,"mobile"))&&Re(global,"document.documentElement.clientWidth")<=r,N=x?"":"full-width-with-padding",A=x&&g?"border":"";return e.createElement("div",{"data-test-id":"author-intro",style:{backgroundColor:f,color:y},className:("".concat(N," arrow-component arr--author-intro-card")?"".concat(N," arrow-component arr--author-intro-card")+" ":"")+p("".concat(k," ").concat(A," ").concat(y),or)},e.createElement("div",{className:p("wrapper ".concat(y),or)},e.createElement("div",{className:"author-intro-m_introduction-card__1kdGt"},x&&j?null:e.createElement("h2",{className:p("author-name ".concat(y),or)},w),m&&b&&e.createElement("div",{"data-test-id":"author-bio",className:p("author-description ".concat(y),or)},b,x&&e.createElement("div",{className:"author-intro-m_fade-out__1EBqd",style:{backgroundImage:"linear-gradient(to right, transparent, ".concat(f,")")}})),e.createElement("div",{className:"author-intro-m_social-wrapper__1F9jD"},e.createElement("div",{className:"author-intro-m_social-connect-wrapper__2B0QA"},v&&E&&e.createElement(e.Fragment,null,"smallCircle"!==u&&e.createElement("div",{className:p("connect ".concat(y),or)},"Connect :"),Object.entries(E).map((function(t,r){return t.length>0&&t[1]&&t[1].url?e.createElement("a",{"data-test-id":"social-link",href:t[1].url,key:"".concat(t,"-").concat(r),rel:"noopener noreferrer",target:"_blank",className:"author-intro-m_social-share__f5EpE"},function(t){switch(t){case"twitter":return e.createElement(kt,null);case"facebook":return e.createElement(jt,null);case"youtube":return e.createElement(rr,null);case"linkedin":return e.createElement(Nt,null);case"whatsapp":return e.createElement(At,{color:"#4AC959"});case"instagram":return e.createElement(nr,null);case"pinterest":return e.createElement(ar,null)}}(t[0])):null})))),!x&&e.createElement(i,{template:tr,fullUrl:ft,title:w,theme:f,iconType:"plain-svg"}))),e.createElement("div",{className:"author-intro-m_author-image__2jRxy"},e.createElement(wt,{author:a,template:u}),x&&j&&e.createElement("h2",{className:p("author-name ".concat(y),or)},w))))};ir.propTypes={data:n.shape({name:n.string,bio:n.string,social:n.object}),config:n.shape({theme:n.string,enableBio:n.bool,enableSocialLinks:n.bool,borderSupport:n.bool}),template:n.string};export{ir as default};
|