@quintype/arrow 3.13.1-subsequentload.0 → 3.13.1-subsequentloadcount.0

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