@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 e,{useContext as t,createContext as r}from"react";import o from"prop-types";import{Link as n,ResponsiveImage as a,ResponsiveHeroImage as i}from"@quintype/components";import l from"lodash.get";import c from"react-timeago";import{utcToZonedTime as s,format as u}from"date-fns-tz";import{connect as h,useSelector as m}from"react-redux";var d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function p(e){var t={exports:{}};return e(t,t.exports),t.exports}var g=p((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})),v=f(p((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=g)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),y=r(),_=function(){return t(y)};function b(e){return b="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},b(e)}p((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new j(o||[]);return a._invoke=function(e,t,r){var o=h;return function(n,a){if(o===d)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return I()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=L(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===h)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var h="suspendedStart",m="suspendedYield",d="executing",f="completed",p={};function g(){}function v(){}function y(){}var _={};c(_,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(S([])));w&&w!==r&&o.call(w,a)&&(_=w);var E=y.prototype=g.prototype=Object.create(_);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,h=s.value;return h&&"object"==typeof h&&o.call(h,"__await")?t.resolve(h.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(h).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function L(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,L(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function S(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:I}}function I(){return{value:t,done:!0}}return v.prototype=y,c(E,"constructor",y),c(y,"constructor",v),v.displayName=c(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=S,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(k),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:S(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var w=Array.isArray,E="object"==typeof d&&d&&d.Object===Object&&d,x="object"==typeof self&&self&&self.Object===Object&&self,T=E||x||Function("return this")(),L=T.Symbol,z=Object.prototype,k=z.hasOwnProperty,j=z.toString,S=L?L.toStringTag:void 0;var I=function(e){var t=k.call(e,S),r=e[S];try{e[S]=void 0;var o=!0}catch(e){}var n=j.call(e);return o&&(t?e[S]=r:delete e[S]),n},A=Object.prototype.toString;var N=function(e){return A.call(e)},C=L?L.toStringTag:void 0;var O=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?I(e):N(e)};var R=function(e){return null!=e&&"object"==typeof e};var M=function(e){return"symbol"==typeof e||R(e)&&"[object Symbol]"==O(e)},H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;var P=function(e,t){if(w(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!M(e))||(F.test(e)||!H.test(e)||null!=t&&e in Object(t))};var B=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var W,D=function(e){if(!B(e))return!1;var t=O(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=T["__core-js_shared__"],U=(W=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";var Z=function(e){return!!U&&U in e},q=Function.prototype.toString;var J=function(e){if(null!=e){try{return q.call(e)}catch(e){}try{return e+""}catch(e){}}return""},$=/^\[object .+?Constructor\]$/,V=Function.prototype,Y=Object.prototype,K=V.toString,X=Y.hasOwnProperty,Q=RegExp("^"+K.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ee=function(e){return!(!B(e)||Z(e))&&(D(e)?Q:$).test(J(e))};var te=function(e,t){return null==e?void 0:e[t]};var re=function(e,t){var r=te(e,t);return ee(r)?r:void 0},oe=re(Object,"create");var ne=function(){this.__data__=oe?oe(null):{},this.size=0};var ae=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ie=Object.prototype.hasOwnProperty;var le=function(e){var t=this.__data__;if(oe){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ie.call(t,e)?t[e]:void 0},ce=Object.prototype.hasOwnProperty;var se=function(e){var t=this.__data__;return oe?void 0!==t[e]:ce.call(t,e)};var ue=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=oe&&void 0===t?"__lodash_hash_undefined__":t,this};function he(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}he.prototype.clear=ne,he.prototype.delete=ae,he.prototype.get=le,he.prototype.has=se,he.prototype.set=ue;var me=he;var de=function(){this.__data__=[],this.size=0};var fe=function(e,t){return e===t||e!=e&&t!=t};var pe=function(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1},ge=Array.prototype.splice;var ve=function(e){var t=this.__data__,r=pe(t,e);return!(r<0)&&(r==t.length-1?t.pop():ge.call(t,r,1),--this.size,!0)};var ye=function(e){var t=this.__data__,r=pe(t,e);return r<0?void 0:t[r][1]};var _e=function(e){return pe(this.__data__,e)>-1};var be=function(e,t){var r=this.__data__,o=pe(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function we(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}we.prototype.clear=de,we.prototype.delete=ve,we.prototype.get=ye,we.prototype.has=_e,we.prototype.set=be;var Ee=we,xe=re(T,"Map");var Te=function(){this.size=0,this.__data__={hash:new me,map:new(xe||Ee),string:new me}};var Le=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ze=function(e,t){var r=e.__data__;return Le(t)?r["string"==typeof t?"string":"hash"]:r.map};var ke=function(e){var t=ze(this,e).delete(e);return this.size-=t?1:0,t};var je=function(e){return ze(this,e).get(e)};var Se=function(e){return ze(this,e).has(e)};var Ie=function(e,t){var r=ze(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ae(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ae.prototype.clear=Te,Ae.prototype.delete=ke,Ae.prototype.get=je,Ae.prototype.has=Se,Ae.prototype.set=Ie;var Ne=Ae;function Ce(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(Ce.Cache||Ne),r}Ce.Cache=Ne;var Oe=Ce;var Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/\\(\\)?/g,He=function(e){var t=Oe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Re,(function(e,r,o,n){t.push(o?n.replace(Me,"$1"):r||e)})),t}));var Fe=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Pe=L?L.prototype:void 0,Be=Pe?Pe.toString:void 0;var We=function e(t){if("string"==typeof t)return t;if(w(t))return Fe(t,e)+"";if(M(t))return Be?Be.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var De=function(e){return null==e?"":We(e)};var Ge=function(e,t){return w(e)?e:P(e,t)?[e]:He(De(e))};var Ue=function(e){if("string"==typeof e||M(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ze=function(e,t){for(var r=0,o=(t=Ge(t,e)).length;null!=e&&r<o;)e=e[Ue(t[r++])];return r&&r==o?e:void 0};var qe=function(e,t,r){var o=null==e?void 0:Ze(e,t);return void 0===o?r:o};var Je=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var $e=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"}),Ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ye=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Ke=function(e){return(e=De(e))&&e.replace(Ve,$e).replace(Ye,"")},Xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Qe=function(e){return e.match(Xe)||[]},et=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var tt=function(e){return et.test(e)},rt="\\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",ot="["+rt+"]",nt="\\d+",at="[\\u2700-\\u27bf]",it="[a-z\\xdf-\\xf6\\xf8-\\xff]",lt="[^\\ud800-\\udfff"+rt+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",st="[\\ud800-\\udbff][\\udc00-\\udfff]",ut="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+it+"|"+lt+")",mt="(?:"+ut+"|"+lt+")",dt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ft="[\\ufe0e\\ufe0f]?"+dt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ct,st].join("|")+")[\\ufe0e\\ufe0f]?"+dt+")*"),pt="(?:"+[at,ct,st].join("|")+")"+ft,gt=RegExp([ut+"?"+it+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ot,ut,"$"].join("|")+")",mt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ot,ut+ht,"$"].join("|")+")",ut+"?"+ht+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ut+"+(?:['’](?: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_])",nt,pt].join("|"),"g");var vt=function(e){return e.match(gt)||[]};var yt=function(e,t,r){return e=De(e),void 0===(t=r?void 0:t)?tt(e)?vt(e):Qe(e):e.match(t)||[]},_t=RegExp("['’]","g");var bt=function(e){return function(t){return Je(yt(Ke(t).replace(_t,"")),e,"")}},wt=bt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Et=bt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var xt=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,h=n.disableMeridiem,m=void 0!==h&&h,d=n.timeFormat,f=void 0===d?"12hours":d,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),y=p[g.getMonth()],_=y;u&&(_=wt(y));var b,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,T=n.direction,L=void 0===T?"ltr":T,z=Lt(o,f),k=z;if(x&&(_=qe(x,[Et(y)])||y),E){var j=z.includes("am"),S=E.am,I=void 0===S?"am":S,A=E.pm,N=void 0===A?"pm":A;k=(j?z.replace("am",I):z.replace("pm",N))||z}return"rtl"===L?(b=i?"".concat(k):"","".concat(v," ").concat(_,", ").concat(w," ").concat(b," ")):m?"".concat(_," ").concat(v,", ").concat(w):c?"".concat(k,", ").concat(v," ").concat(_," ").concat(w):(b=i?", ".concat(k):"","".concat(v," ").concat(_,", ").concat(w).concat(b))};function Tt(e,t,r,o,n){var a,i=qe(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?xt(e,t,r,o,n):e>1?(a=qe(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=qe(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Lt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var zt=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},kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},jt={mobile:767,tablet:1024},St=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:kt(e),o=zt(r)<155?"light":"dark";return o};function It(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?qe(n,["reference-url"],""):""}o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var At=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===qe(e,["story-template"])?qe(e,["metadata","reference-url"],""):e.url||t},Nt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Nt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Ct=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Ct.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Ot=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Ot.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Rt=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Rt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Mt=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Nt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Ot,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Ct,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Rt,{width:r,height:o,color:n,positionTop:i})}};function Ht(){return e.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},e.createElement("path",{fill:"#ff5858",d:"M12 18a6 6 0 110-12 6 6 0 010 12zm0 2.5a8.5 8.5 0 110-17 8.5 8.5 0 010 17zm0-1a7.5 7.5 0 100-15 7.5 7.5 0 000 15z"}))}Mt.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var Ft={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Pt=function(t){var r=t.story,o=t.headerLevel,a=t.premiumStoryIconConfig,i=void 0===a?{}:a,c=t.isLink,s=_()||{},u=i.iconColor,h=void 0===u?"#F7B500":u,m=i.iconStyle,d=void 0===m?"star":m,f=i.enablePremiumStoryIcon,p=void 0!==f&&f,g=i.showLiveIcon,y=void 0!==g&&g,b=l(r,["alternative","home","default","headline"]),w=p&&"subscription"===l(r,["access"]),E=b||r.headline,x="h"+o,T=St(s.theme),L=w?"wrapper":"",z="24px",k=y&&"live-blog"===r["story-template"]&&!l(r,["metadata","is-closed"],!1);return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+v(L,Ft)},w&&e.createElement(Mt,{width:z,height:z,color:h,iconType:d,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),c?e.createElement(n,{href:At(r,"/".concat(r.slug)),externalLink:It(r),"aria-label":"headline"},e.createElement(x,{className:v("headline ".concat(T),Ft)},k&&e.createElement(Ht,null),E)):e.createElement(x,{className:v("headline ".concat(T),Ft)},k&&e.createElement(Ht,null),E))};Pt.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},Pt.defaultProps={headerLevel:"6",isLink:!0};var Bt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Wt=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,c=void 0===i?"":i,s=t.forceShowAtom,u=t.showFullContent,h=_()||{};if(!(s||l(h,["showSubheadline"],!0)))return null;var m=St(h.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+v("subheadline ".concat(m),Bt)},u||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};Wt.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},Wt.defaultProps={forceShowAtom:!1,showFullContent:!1};var Dt={"./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"}},Gt=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=_()||{},h=l(a,["showTime"],l(i,["showTime"],!0)),m=r["last-published-at"]||r["first-published-at"],d=o?"bottom-fix":"",f=St(i.theme);return e.createElement(e.Fragment,null,h&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+v("time ".concat(f," ").concat(d),Dt)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&s(t,a),l=i&&u(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),h=xt("","","",t,o);return e.createElement("time",{dateTime:l},h)}return e.createElement(c,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(m,Tt,a))))};Gt.propTypes={story:o.object,isBottom:o.bool,config:o.object};var Ut={"./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"}},Zt=function(t){var r=t.story,o=t.hideAuthorImage,i=t.isBottom,c=t.prefix,s=void 0===c?"":c,u=t.config,h=void 0===u?{}:u,m=_()||{},d=l(m,["showAuthor"],!0),f=l(r,["authors","0"],""),p=f["avatar-url"],g=f["avatar-s3-key"],y=f.name,b=f.slug,w=i?"bottom-fix":"",E=St(m.theme),x=l(h,["mountAt"],""),T=function(t){return s?e.createElement("div",{className:"arr-author-prefix "+v("prefix ".concat(E),Ut)},s):!o&&function(t){return p||g?e.createElement("div",{"data-test-id":"author-image",className:v("author-image ".concat(t,"-image"),Ut)},e.createElement("figure",null,g?e.createElement(a,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:y}):e.createElement("img",{src:p}))):null}(t)};return e.createElement(e.Fragment,null,d&&e.createElement(n,{href:"".concat(x,"/author/")+b,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+v("author ".concat(w),Ut)},T("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+v("author-name ".concat(E),Ut)},y||r["author-name"]),!s&&T("rtl")))};var qt=h((function(e){return{config:l(e,["qt","config"],{})}}))(Zt);Zt.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},Zt.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var Jt={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},$t=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:v(l,Jt)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};$t.propTypes={color:o.string,width:o.string,height:o.string};var Vt={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},Yt=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:v(l,Vt)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};Yt.propTypes={color:o.string,width:o.string,height:o.string};var Kt={"./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"}},Xt=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,c=_()||{},s=l(c,["showReadTime"])||l(n,["showReadTime"],!0),u=l(r,["read-time"],0),h=i?"light":St(c.theme);if(!s||!u)return null;var m=l(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+v("read-time-wrapper ".concat(h),Kt)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement($t,{color:h})),e.createElement("span",null,u," ",m)))};Xt.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var Qt={"./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"}},er=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,c=t.config,s=void 0===c?{}:c,u=t.isLightTheme,h=_()||{},m=l(s,["showAuthor"],l(h,["showAuthor"],!0)),d=l(s,["showTime"],l(h,["showTime"],!0)),f=l(h,["showReadTime"],!0),p=n?"bottom-fix":"",g="dot"===o?"dot":"dash",y=u?"light":St(h.theme),b=function(){return d?e.createElement(e.Fragment,null,m&&e.createElement("span",{className:"arr-separator "+v("".concat(g),Qt)},"divider"===o?e.createElement(Yt,{color:y}):e.createElement($t,{color:y})),e.createElement(Gt,{story:r,config:s}),f&&e.createElement(Xt,{story:r,opts:s,isLightTheme:u})):null};return e.createElement("div",{className:"arr--author-time "+v("author-time-wrapper ".concat(p),Qt)},m?e.createElement(e.Fragment,null,e.createElement(qt,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),b()):b())};function tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function rr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tr(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)?tr(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.")}()}er.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},er.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var or=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};or.propTypes={width:o.object,height:o.object,iconColor:o.object};var nr=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(or,null)))},ar=function(t){var r=t.slug;return r?e.createElement(n,{href:r,"aria-label":"image-fallback"},nr()):nr()};ar.propTypes={slug:o.string};var ir=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),e.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},lr=function(t){var r=t.hyperLink,o=void 0===r?"":r;return o?e.createElement(n,{href:o,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement(ir,null)):null};lr.propTypes={hyperLink:o.string};var cr={"./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"}},sr=function(t){var r=t.story,o=t.FullBleed,a=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,h=t.isHorizontalMobile,d=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=t.config,y=(_()||{}).fallbackImageUrl,b=void 0===y?"":y,w=g.StoryTemplateIcon,E=void 0===w?function(){return null}:w,x=m((function(e){return l(e,["qt","config","showPlaceholder"])}))?"placeholder":"",T=o?"":"with-padding",L="hero-image";u?L="right-padding":d&&(L="left-padding");var z,k=h?"right-padding-mob":"",j=function(e){var t=rr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},S=rr(a,2),I=S[0],A=S[1],N=void 0===A?I:A,C=!!(z=qe(jt,"mobile"))&&qe(global,"document.documentElement.clientWidth")<=z,O=C?I:N,R=j(C?I:N),M=l(r,["hero-image-s3-key"])||l(r,["alternative","home","default","hero-image","hero-image-s3-key"]),H=l(r,["hero-image-hyperlink"],""),F=function(){return M?e.createElement(e.Fragment,null,e.createElement("figure",{style:{paddingTop:R+"%"},className:"arr--responsive-hero-image "+v("image ".concat(x),cr)},e.createElement(E,{storyTemplate:r["story-template"]}),e.createElement(i,{story:r,aspectRatio:O,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})),p&&H&&e.createElement(lr,{hyperLink:H})):b&&!p?e.createElement("figure",{style:{paddingTop:R+"%"},className:"arr--responsive-hero-image "+v("image ".concat(x),cr)},e.createElement("img",{className:"qt-image","data-src":"".concat(b),alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:R+"%"},className:"arr--fallback-hero-image "+v("image ".concat(x),cr)},e.createElement(E,{storyTemplate:r["story-template"]}),e.createElement(ar,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+v("".concat(L," ").concat(T," ").concat(k),cr)},F()):e.createElement(n,{"data-test-id":"arr--hero-image",href:At(r,"/".concat(r.slug)),externalLink:It(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+v("".concat(L," ").concat(T," ").concat(k),cr)},F()))};sr.propTypes={story:o.object.isRequired,FullBleed:o.bool,defaultWidth:o.number,widths:o.array,aspectRatio:o.array,isHorizontal:o.bool,isHorizontalMobile:o.bool,defaultFallback:o.bool,isHorizontalWithImageLast:o.bool,isStoryPageImage:o.bool,config:o.object},sr.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 ur={"./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"}},hr=function(t){var r=t.story,o=t.template,a=void 0===o?"":o,i=t.borderColor,c=void 0===i?"":i,s=t.isLightTheme,u=_()||{},h=l(u,["showSection"],!0),m=l(u,["sectionTagTemplate"]),d=l(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],p=d?d["section-url"]:"/",g="solid"===a||"solid"===m?c:u.theme,y=s?"light":St(g),b=kt(c),w=f.includes(a)?"section section-".concat(a):"section";return m&&(w=f.includes(m)?"section section-".concat(m):"section"),h?e.createElement(n,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:w.includes("section-solid")?b:""},className:"section-tag arrow-component "+v("".concat(y," ").concat(w),ur)},w.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:b}}),d["display-name"]||d.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===a?"":b)}}))):null};hr.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},hr.defaultProps={template:"",isLightTheme:!1};var mr={"./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"}},dr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,h=t.borderColor,m=t.isHorizontalMobile,d=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,y=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===b(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var w=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",E="default-card";a?E="horizontal-card":_&&(E="horizontal-image-last");var x=c?"backgroung-img":"",T=s?"content-overlap":"",L=St(u),z=m?"horizontal-mob":"",k=e.createElement(fr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:d,headerLevel:f,borderColor:h,hideAuthorImage:p,prefix:g,config:y,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:L},className:"arr--story-card "+v("card ".concat(E," ").concat(w," ").concat(L," ").concat(x," ").concat(T," ").concat(z),mr)},n||k)},fr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,h=t.hideAuthorImage,m=t.prefix,d=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=kt(u),y=f.localizationConfig,_=void 0===y?{}:y;return e.createElement(e.Fragment,null,o?e.createElement(sr,{config:f,story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):d?e.createElement(sr,{config:f,story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(sr,{story:r,config:f,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+v("content ".concat(p),mr)},e.createElement(hr,{story:r,borderColor:g}),e.createElement(Pt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(er,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:h}),e.createElement(Wt,{story:r})))};fr.propTypes={story:o.object.isRequired,border:o.oneOfType([o.string]),isBottom:o.bool,isHorizontal:o.bool,aspectRatio:o.oneOfType([o.array]),isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},dr.propTypes={story:o.object.isRequired,children:o.node,isHorizontal:o.bool,border:o.oneOfType([o.string]),useImageAsBackground:o.bool,bgImgContentOverlap:o.bool,aspectRatio:o.oneOfType([o.array]),theme:o.string,isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},dr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};export{dr as StoryCard};
@@ -1 +0,0 @@
1
- import e from"lodash.get";import t,{PropTypes as r}from"prop-types";import o,{createContext as n,useContext as a,useState as i,useEffect as l}from"react";import c from"react-timeago";import{utcToZonedTime as s,format as u}from"date-fns-tz";import{Link as d,ResponsiveImage as m,ResponsiveHeroImage as h,LinkBase as f}from"@quintype/components";import{connect as p,useSelector as g}from"react-redux";function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _(e,t,r,o,n,a,i){try{var l=e[a](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(o,n)}function y(e){return function(){var t=this,r=arguments;return new Promise((function(o,n){var a=e.apply(t,r);function i(e){_(a,o,n,i,l,"next",e)}function l(e){_(a,o,n,i,l,"throw",e)}i(void 0)}))}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function w(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(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)?b(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 E="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function k(e){var t={exports:{}};return e(t,t.exports),t.exports}var L=k((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})),T=x(k((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=L)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),j=k((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new z(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return N()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=L(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var y={};c(y,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(O([])));w&&w!==r&&o.call(w,a)&&(y=w);var E=_.prototype=g.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function L(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,L(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function 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 j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function O(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:N}}function N(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(k.prototype),c(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new k(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=O,z.prototype={constructor:z,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(j),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;j(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:O(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));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)}var O=Array.isArray,N="object"==typeof E&&E&&E.Object===Object&&E,C="object"==typeof self&&self&&self.Object===Object&&self,S=N||C||Function("return this")(),A=S.Symbol,I=Object.prototype,M=I.hasOwnProperty,R=I.toString,P=A?A.toStringTag:void 0;var F=function(e){var t=M.call(e,P),r=e[P];try{e[P]=void 0;var o=!0}catch(e){}var n=R.call(e);return o&&(t?e[P]=r:delete e[P]),n},B=Object.prototype.toString;var H=function(e){return B.call(e)},D=A?A.toStringTag:void 0;var W=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":D&&D in Object(e)?F(e):H(e)};var q=function(e){return null!=e&&"object"==typeof e};var U=function(e){return"symbol"==typeof e||q(e)&&"[object Symbol]"==W(e)},G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Z=/^\w*$/;var J=function(e,t){if(O(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!U(e))||(Z.test(e)||!G.test(e)||null!=t&&e in Object(t))};var K=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var V,Y=function(e){if(!K(e))return!1;var t=W(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},$=S["__core-js_shared__"],X=(V=/[^.]+$/.exec($&&$.keys&&$.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";var Q=function(e){return!!X&&X in e},ee=Function.prototype.toString;var te=function(e){if(null!=e){try{return ee.call(e)}catch(e){}try{return e+""}catch(e){}}return""},re=/^\[object .+?Constructor\]$/,oe=Function.prototype,ne=Object.prototype,ae=oe.toString,ie=ne.hasOwnProperty,le=RegExp("^"+ae.call(ie).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ce=function(e){return!(!K(e)||Q(e))&&(Y(e)?le:re).test(te(e))};var se=function(e,t){return null==e?void 0:e[t]};var ue=function(e,t){var r=se(e,t);return ce(r)?r:void 0},de=ue(Object,"create");var me=function(){this.__data__=de?de(null):{},this.size=0};var he=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},fe=Object.prototype.hasOwnProperty;var pe=function(e){var t=this.__data__;if(de){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return fe.call(t,e)?t[e]:void 0},ge=Object.prototype.hasOwnProperty;var ve=function(e){var t=this.__data__;return de?void 0!==t[e]:ge.call(t,e)};var _e=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=de&&void 0===t?"__lodash_hash_undefined__":t,this};function ye(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ye.prototype.clear=me,ye.prototype.delete=he,ye.prototype.get=pe,ye.prototype.has=ve,ye.prototype.set=_e;var be=ye;var we=function(){this.__data__=[],this.size=0};var Ee=function(e,t){return e===t||e!=e&&t!=t};var xe=function(e,t){for(var r=e.length;r--;)if(Ee(e[r][0],t))return r;return-1},ke=Array.prototype.splice;var Le=function(e){var t=this.__data__,r=xe(t,e);return!(r<0)&&(r==t.length-1?t.pop():ke.call(t,r,1),--this.size,!0)};var Te=function(e){var t=this.__data__,r=xe(t,e);return r<0?void 0:t[r][1]};var je=function(e){return xe(this.__data__,e)>-1};var ze=function(e,t){var r=this.__data__,o=xe(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Oe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Oe.prototype.clear=we,Oe.prototype.delete=Le,Oe.prototype.get=Te,Oe.prototype.has=je,Oe.prototype.set=ze;var Ne=Oe,Ce=ue(S,"Map");var Se=function(){this.size=0,this.__data__={hash:new be,map:new(Ce||Ne),string:new be}};var Ae=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ie=function(e,t){var r=e.__data__;return Ae(t)?r["string"==typeof t?"string":"hash"]:r.map};var Me=function(e){var t=Ie(this,e).delete(e);return this.size-=t?1:0,t};var Re=function(e){return Ie(this,e).get(e)};var Pe=function(e){return Ie(this,e).has(e)};var Fe=function(e,t){var r=Ie(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Be.prototype.clear=Se,Be.prototype.delete=Me,Be.prototype.get=Re,Be.prototype.has=Pe,Be.prototype.set=Fe;var He=Be;function De(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(De.Cache||He),r}De.Cache=He;var We=De;var qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ue=/\\(\\)?/g,Ge=function(e){var t=We(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(qe,(function(e,r,o,n){t.push(o?n.replace(Ue,"$1"):r||e)})),t}));var Ze=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Je=A?A.prototype:void 0,Ke=Je?Je.toString:void 0;var Ve=function e(t){if("string"==typeof t)return t;if(O(t))return Ze(t,e)+"";if(U(t))return Ke?Ke.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ye=function(e){return null==e?"":Ve(e)};var $e=function(e,t){return O(e)?e:J(e,t)?[e]:Ge(Ye(e))};var Xe=function(e){if("string"==typeof e||U(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Qe=function(e,t){for(var r=0,o=(t=$e(t,e)).length;null!=e&&r<o;)e=e[Xe(t[r++])];return r&&r==o?e:void 0};var et=function(e,t,r){var o=null==e?void 0:Qe(e,t);return void 0===o?r:o};var tt=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var rt=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"}),ot=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var at=function(e){return(e=Ye(e))&&e.replace(ot,rt).replace(nt,"")},it=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var lt=function(e){return e.match(it)||[]},ct=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var st=function(e){return ct.test(e)},ut="\\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",dt="["+ut+"]",mt="\\d+",ht="[\\u2700-\\u27bf]",ft="[a-z\\xdf-\\xf6\\xf8-\\xff]",pt="[^\\ud800-\\udfff"+ut+mt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",gt="(?:\\ud83c[\\udde6-\\uddff]){2}",vt="[\\ud800-\\udbff][\\udc00-\\udfff]",_t="[A-Z\\xc0-\\xd6\\xd8-\\xde]",yt="(?:"+ft+"|"+pt+")",bt="(?:"+_t+"|"+pt+")",wt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Et="[\\ufe0e\\ufe0f]?"+wt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",gt,vt].join("|")+")[\\ufe0e\\ufe0f]?"+wt+")*"),xt="(?:"+[ht,gt,vt].join("|")+")"+Et,kt=RegExp([_t+"?"+ft+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[dt,_t,"$"].join("|")+")",bt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[dt,_t+yt,"$"].join("|")+")",_t+"?"+yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",_t+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mt,xt].join("|"),"g");var Lt=function(e){return e.match(kt)||[]};var Tt=function(e,t,r){return e=Ye(e),void 0===(t=r?void 0:t)?st(e)?Lt(e):lt(e):e.match(t)||[]},jt=RegExp("['’]","g");var zt=function(e){return function(t){return tt(Tt(at(t).replace(jt,"")),e,"")}},Ot=zt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Nt=Ot,Ct=zt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),St=Ct;var At=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=n.timeFormat,f=void 0===h?"12hours":h,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],g=new Date(o),v=g.getDate().toString().padStart(2,0),_=p[g.getMonth()],y=_;u&&(y=Nt(_));var b,w=g.getFullYear(),E=n.localizedMeridiem,x=n.localizedMonths,k=n.direction,L=void 0===k?"ltr":k,T=Mt(o,f),j=T;if(x&&(y=et(x,[St(_)])||_),E){var z=T.includes("am"),O=E.am,N=void 0===O?"am":O,C=E.pm,S=void 0===C?"pm":C;j=(z?T.replace("am",N):T.replace("pm",S))||T}return"rtl"===L?(b=i?"".concat(j):"","".concat(v," ").concat(y,", ").concat(w," ").concat(b," ")):m?"".concat(y," ").concat(v,", ").concat(w):c?"".concat(j,", ").concat(v," ").concat(y," ").concat(w):(b=i?", ".concat(j):"","".concat(v," ").concat(y,", ").concat(w).concat(b))};function It(e,t,r,o,n){var a,i=et(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?At(e,t,r,o,n):e>1?(a=et(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=et(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Mt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"12hours",r=new Date(e),o=r.getHours(),n=r.getMinutes(),a=o>=12?"pm":"am",i=(o=(o%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+a;return"24hours"===t?r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"}):i}var Rt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Ft={mobile:767,tablet:1024},Bt=function(e){var t=et(Ft,e);return!!t&&et(global,"document.documentElement.clientWidth")<=t},Ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Pt(e),o=Rt(r)<155?"light":"dark";return o},Dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=et(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Wt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?et(n,["reference-url"],""):""}var qt=function(e){return null==e||"object"===z(e)&&0===Object.entries(e).length&&e.constructor===Object||"string"==typeof e&&0===e.trim().length};t.shape({"sketches-host":t.string,"cdn-name":t.string,"cdn-image":t.string}),t.shape({headline:t.string,"last-published-at":t.number,subheadline:t.string});var Ut=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===et(e,["story-template"])?et(e,["metadata","reference-url"],""):e.url||t},Gt=function(){var e=y(j.mark((function e(t){var r,o,n=arguments;return j.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.length>1&&void 0!==n[1]?n[1]:"",e.prev=1,e.next=4,fetch("".concat(r,"/api/v1/collections/").concat(t,"?item-type=story&limit=6"));case 4:return e.next=6,e.sent.json();case 6:return o=e.sent,e.abrupt("return",o);case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),Zt=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;if(a&&"story"===n){var i=a&&s(e,a),l=i&&u(i,"yyyy-MM-dd'T'HH:mm:ssXXX",{timeZone:a}),d=At("","","",e,r);return o.createElement("time",{dateTime:l},d)}return o.createElement(c,{date:e,formatter:function(e,o,n,a){return t(e,o,n,a,r)}})},Jt=n(),Kt=function(e){return function(t){return o.createElement(Jt.Provider,{value:t.config},o.createElement(e,t))}},Vt=function(){return a(Jt)},Yt={"./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"}},$t=function(t){var r=t.story,n=t.isBottom,a=t.config,i=void 0===a?{}:a,l=Vt()||{},c=e(i,["showTime"],e(l,["showTime"],!0)),s=r["last-published-at"]||r["first-published-at"],u=n?"bottom-fix":"",d=Ht(l.theme);return o.createElement(o.Fragment,null,c&&o.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+T("time ".concat(d," ").concat(u),Yt)},o.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},Zt(s,It,i))))};$t.propTypes={story:t.object,isBottom:t.bool,config:t.object};var Xt={"./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"}},Qt=function(t){var r=t.story,n=t.hideAuthorImage,a=t.isBottom,i=t.prefix,l=void 0===i?"":i,c=t.config,s=void 0===c?{}:c,u=Vt()||{},h=e(u,["showAuthor"],!0),f=e(r,["authors","0"],""),p=f["avatar-url"],g=f["avatar-s3-key"],v=f.name,_=f.slug,y=a?"bottom-fix":"",b=Ht(u.theme),w=e(s,["mountAt"],""),E=function(e){return l?o.createElement("div",{className:"arr-author-prefix "+T("prefix ".concat(b),Xt)},l):!n&&function(e){return p||g?o.createElement("div",{"data-test-id":"author-image",className:T("author-image ".concat(e,"-image"),Xt)},o.createElement("figure",null,g?o.createElement(m,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:v}):o.createElement("img",{src:p}))):null}(e)};return o.createElement(o.Fragment,null,h&&o.createElement(d,{href:"".concat(w,"/author/")+_,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+T("author ".concat(y),Xt)},E("ltr"),o.createElement("div",{"data-test-id":"author-name",className:"author-name "+T("author-name ".concat(b),Xt)},v||r["author-name"]),!l&&E("rtl")))};var er=p((function(t){return{config:e(t,["qt","config"],{})}}))(Qt);Qt.propTypes={story:t.object.isRequired,hideAuthorImage:t.bool,isBottom:t.bool,prefix:t.string,config:t.object},Qt.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var tr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},rr=function(e){var t=e.width,r=void 0===t?"3px":t,n=e.height,a=void 0===n?"3px":n,i=e.color,l=void 0===i?"light":i;return o.createElement("div",{className:T(l,tr)},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a,viewBox:"0 0 3 3"},o.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};rr.propTypes={color:t.string,width:t.string,height:t.string};var or={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},nr=function(e){var t=e.width,r=void 0===t?"1":t,n=e.height,a=void 0===n?"10":n,i=e.color,l=void 0===i?"light":i;return o.createElement("div",{className:T(l,or)},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a},o.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};nr.propTypes={color:t.string,width:t.string,height:t.string};var ar={"./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"}},ir=function(t){var r=t.story,n=t.opts,a=void 0===n?{}:n,i=t.isLightTheme,l=void 0!==i&&i,c=Vt()||{},s=e(c,["showReadTime"])||e(a,["showReadTime"],!0),u=e(r,["read-time"],0),d=l?"light":Ht(c.theme);if(!s||!u)return null;var m=e(a,["localizedTimeToRead"])||"min read";return o.createElement(o.Fragment,null,o.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+T("read-time-wrapper ".concat(d),ar)},o.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},o.createElement(rr,{color:d})),o.createElement("span",null,u," ",m)))};ir.propTypes={story:t.shape({"read-time":t.number}),opts:t.shape({showReadTime:t.bool}),isLightTheme:t.bool};var lr={"./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"}},cr=function(t){var r=t.story,n=t.separator,a=t.isBottom,i=t.hideAuthorImage,l=t.prefix,c=t.config,s=void 0===c?{}:c,u=t.isLightTheme,d=Vt()||{},m=e(s,["showAuthor"],e(d,["showAuthor"],!0)),h=e(s,["showTime"],e(d,["showTime"],!0)),f=e(d,["showReadTime"],!0),p=a?"bottom-fix":"",g="dot"===n?"dot":"dash",v=u?"light":Ht(d.theme),_=function(){return h?o.createElement(o.Fragment,null,m&&o.createElement("span",{className:"arr-separator "+T("".concat(g),lr)},"divider"===n?o.createElement(nr,{color:v}):o.createElement(rr,{color:v})),o.createElement($t,{story:r,config:s}),f&&o.createElement(ir,{story:r,opts:s,isLightTheme:u})):null};return o.createElement("div",{className:"arr--author-time "+T("author-time-wrapper ".concat(p),lr)},m?o.createElement(o.Fragment,null,o.createElement(er,{story:r,isBottom:!0,hideAuthorImage:i,prefix:l}),_()):_())};cr.propTypes={story:t.object,separator:t.oneOf(["dot","divider"]),hideAuthorImage:t.bool,isBottom:t.bool,prefix:t.string,config:t.object,isLightTheme:t.bool},cr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var sr={"./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"}},ur=function(t){var r=t.collectionNameBorderColor,n=void 0===r?"":r,a=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,m=t.navigate,h=void 0===m||m,f=Vt()||{},p=e(f,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",v=h&&a&&Dt(a,i)||"",_=u||a.name||"",y=Ht(f.theme),b="h"+c,w=Pt(n),E=g.includes("collection-borderBottomFull")?"4px solid ".concat(w):"",x=Bt("mobile");return o.createElement(o.Fragment,null,p&&_&&o.createElement("div",{style:{borderBottom:E},"data-test-id":"collection-name",className:("arr--collection-name arrow-component ".concat(g)?"arr--collection-name arrow-component ".concat(g)+" ":"")+T("collection ".concat(y," ").concat(g),sr)},g.includes("collection-borderLeft")&&o.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:w,fontSize:function(){if(x)switch(c){case"1":return"32px";case"2":return"24px";case"3":default:return"20px";case"4":return"18px";case"5":case"6":return"16px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":default:return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px"}}()}}),v&&!v.includes(void 0)?o.createElement(d,{href:v,"aria-label":"collection-name"},o.createElement(b,null,_)):o.createElement(b,null,_),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?o.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(w)}}):""))};ur.propTypes={collectionNameBorderColor:r.string,collection:r.object,config:r.object,collectionNameTemplate:r.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:r.string,customCollectionName:r.string,navigate:r.bool},ur.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var dr=p((function(t){return{config:e(t,["qt","config"],{})}}))(ur),mr=function(e){var t=e.height,r=e.width,n=e.color,a=void 0===n?"#D8D8D8":n,i=e.positionTop;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("g",{transform:"translate(8 8)"},o.createElement("path",{d:"M0 0H24V24H0z"}),o.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},o.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"}))))))};mr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var hr=function(e){var t=e.height,r=e.width,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("g",{transform:"translate(8 8)"},o.createElement("path",{d:"M0 0H24V24H0z"}),o.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};hr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var fr=function(e){var t=e.height,r=e.width,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:i}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("g",{transform:"translate(8 8)"},o.createElement("path",{d:"M0 0H24V24H0z"}),o.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},o.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"}))))))};fr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var pr=function(e){var t=e.width,r=e.height,n=e.color,a=void 0===n?"#D5D5D5":n,i=e.positionTop,l=void 0===i?"":i;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:l}},o.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},o.createElement("g",null,o.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};pr.propTypes={height:t.string,width:t.string,color:t.string,positionTop:t.string};var gr=function(e){var t=e.width,r=e.height,n=e.color,a=e.iconType,i=e.positionTop;switch(a){case"crown":return o.createElement(mr,{width:t,height:r,color:n,positionTop:i});case"lock":return o.createElement(fr,{width:t,height:r,color:n,positionTop:i});case"key":return o.createElement(hr,{width:t,height:r,color:n,positionTop:i});default:return o.createElement(pr,{width:t,height:r,color:n,positionTop:i})}};function vr(){return o.createElement("svg",{className:"live-icon",xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24"},o.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"}))}gr.propTypes={width:t.string,height:t.string,color:t.string,iconType:t.string,positionTop:t.string};var _r={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},yr=function(t){var r=t.story,n=t.headerLevel,a=t.premiumStoryIconConfig,i=void 0===a?{}:a,l=t.isLink,c=Vt()||{},s=i.iconColor,u=void 0===s?"#F7B500":s,m=i.iconStyle,h=void 0===m?"star":m,f=i.enablePremiumStoryIcon,p=void 0!==f&&f,g=i.showLiveIcon,v=void 0!==g&&g,_=e(r,["alternative","home","default","headline"]),y=p&&"subscription"===e(r,["access"]),b=_||r.headline,w="h"+n,E=Ht(c.theme),x=y?"wrapper":"",k="24px",L=v&&"live-blog"===r["story-template"]&&!e(r,["metadata","is-closed"],!1);return o.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+T(x,_r)},y&&o.createElement(gr,{width:k,height:k,color:u,iconType:h,positionTop:function(){switch(parseInt(n)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),l?o.createElement(d,{href:Ut(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"headline"},o.createElement(w,{className:T("headline ".concat(E),_r)},L&&o.createElement(vr,null),b)):o.createElement(w,{className:T("headline ".concat(E),_r)},L&&o.createElement(vr,null),b))};yr.propTypes={story:t.object.isRequired,headerLevel:t.string,premiumStoryIconConfig:t.shape({iconColor:t.string,iconType:t.string,enablePremiumStoryIcon:t.bool}),isLink:t.bool},yr.defaultProps={headerLevel:"6",isLink:!0};var br=function(e){var t=e.width,r=void 0===t?40:t,n=e.height,a=void 0===n?30:n,i=e.iconColor,l=void 0===i?"#99B0CB":i;return o.createElement("svg",{width:r,height:a,viewBox:"0 0 102 76",version:"1.1"},o.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},o.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},o.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),o.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};br.propTypes={width:t.object,height:t.object,iconColor:t.object};var wr=function(){return o.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},o.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},o.createElement(br,null)))},Er=function(e){var t=e.slug;return t?o.createElement(d,{href:t,"aria-label":"image-fallback"},wr()):wr()};Er.propTypes={slug:t.string};var xr=function(){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},o.createElement("g",{fill:"none",fillRule:"evenodd"},o.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),o.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"})))},kr=function(e){var t=e.hyperLink,r=void 0===t?"":t;return r?o.createElement(d,{href:r,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},o.createElement(xr,null)):null};kr.propTypes={hyperLink:t.string};var Lr={"./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"}},Tr=function(t){var r=t.story,n=t.FullBleed,a=t.aspectRatio,i=t.defaultWidth,l=t.widths,c=t.isHorizontal,s=t.isHorizontalMobile,u=t.isHorizontalWithImageLast,m=t.defaultFallback,f=t.isStoryPageImage,p=t.config,v=(Vt()||{}).fallbackImageUrl,_=void 0===v?"":v,y=p.StoryTemplateIcon,b=void 0===y?function(){return null}:y,E=g((function(t){return e(t,["qt","config","showPlaceholder"])}))?"placeholder":"",x=n?"":"with-padding",k="hero-image";c?k="right-padding":u&&(k="left-padding");var L=s?"right-padding-mob":"",j=function(e){var t=w(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},z=w(a,2),O=z[0],N=z[1],C=void 0===N?O:N,S=Bt("mobile"),A=S?O:C,I=j(S?O:C),M=e(r,["hero-image-s3-key"])||e(r,["alternative","home","default","hero-image","hero-image-s3-key"]),R=e(r,["hero-image-hyperlink"],""),P=function(){return M?o.createElement(o.Fragment,null,o.createElement("figure",{style:{paddingTop:I+"%"},className:"arr--responsive-hero-image "+T("image ".concat(E),Lr)},o.createElement(b,{storyTemplate:r["story-template"]}),o.createElement(h,{story:r,aspectRatio:A,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"}})),f&&R&&o.createElement(kr,{hyperLink:R})):_&&!f?o.createElement("figure",{style:{paddingTop:I+"%"},className:"arr--responsive-hero-image "+T("image ".concat(E),Lr)},o.createElement("img",{className:"qt-image","data-src":"".concat(_),alt:"image-fallback"})):o.createElement(o.Fragment,null,m?o.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:I+"%"},className:"arr--fallback-hero-image "+T("image ".concat(E),Lr)},o.createElement(b,{storyTemplate:r["story-template"]}),o.createElement(Er,null)):null)};return r&&(f?o.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+T("".concat(k," ").concat(x," ").concat(L),Lr)},P()):o.createElement(d,{"data-test-id":"arr--hero-image",href:Ut(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+T("".concat(k," ").concat(x," ").concat(L),Lr)},P()))};Tr.propTypes={story:t.object.isRequired,FullBleed:t.bool,defaultWidth:t.number,widths:t.array,aspectRatio:t.array,isHorizontal:t.bool,isHorizontalMobile:t.bool,defaultFallback:t.bool,isHorizontalWithImageLast:t.bool,isStoryPageImage:t.bool,config:t.object},Tr.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 jr={"./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"}},zr=function(t){var r=t.story,n=t.template,a=void 0===n?"":n,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=Vt()||{},u=e(s,["showSection"],!0),m=e(s,["sectionTagTemplate"]),h=e(r,["sections",0],""),f=["borderBottomSml","borderLeft","solid"],p=h?h["section-url"]:"/",g="solid"===a||"solid"===m?l:s.theme,v=c?"light":Ht(g),_=Pt(l),y=f.includes(a)?"section section-".concat(a):"section";return m&&(y=f.includes(m)?"section section-".concat(m):"section"),u?o.createElement(d,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},o.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:y.includes("section-solid")?_:""},className:"section-tag arrow-component "+T("".concat(v," ").concat(y),jr)},y.includes("section-borderLeft")&&o.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:_}}),h["display-name"]||h.name,o.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===a?"":_)}}))):null};zr.propTypes={story:t.object.isRequired,template:t.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:t.string,solidBorderColor:t.string,isLightTheme:t.bool},zr.defaultProps={template:"",isLightTheme:!1};var Or={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Nr=function(t){var r=t.story,n=t.truncateChars,a=void 0===n?200:n,i=t.lineClamp,l=t.clazzName,c=void 0===l?"":l,s=t.forceShowAtom,u=t.showFullContent,d=Vt()||{};if(!(s||e(d,["showSubheadline"],!0)))return null;var m=Ht(d.theme);return o.createElement("div",{style:{WebkitLineClamp:i},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(c)?"p-alt arr--sub-headline arrow-component ".concat(c)+" ":"")+T("subheadline ".concat(m),Or)},u||"number"==typeof i?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,a,!0))};Nr.propTypes={story:t.object.isRequired,lineClamp:t.number,truncateChars:t.number,clazzName:t.string,forceShowAtom:t.bool,showFullContent:t.bool},Nr.defaultProps={forceShowAtom:!1,showFullContent:!1};var Cr={"./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"}},Sr=function(e){var t=e.story,r=e.children,n=e.isHorizontal,a=e.aspectRatio,i=e.border,l=e.useImageAsBackground,c=e.bgImgContentOverlap,s=e.theme,u=e.borderColor,d=e.isHorizontalMobile,m=e.centerAlign,h=e.headerLevel,f=e.hideAuthorImage,p=e.prefix,g=e.config,v=e.isHorizontalWithImageLast;if(!t||qt(t))return o.createElement("div",null);var _=["default","full","bottom","boxShadow"].includes(i)?"border-".concat(i):"",y="default-card";n?y="horizontal-card":v&&(y="horizontal-image-last");var b=l?"backgroung-img":"",w=c?"content-overlap":"",E=Ht(s),x=d?"horizontal-mob":"",k=o.createElement(Ar,{story:t,aspectRatio:a,border:i,isHorizontalMobile:d,isHorizontal:n,centerAlign:m,headerLevel:h,borderColor:u,hideAuthorImage:f,prefix:p,config:g,isHorizontalWithImageLast:v});return o.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:s,color:E},className:"arr--story-card "+T("card ".concat(y," ").concat(_," ").concat(E," ").concat(b," ").concat(w," ").concat(x),Cr)},r||k)},Ar=function(e){var t=e.story;e.border;var r=e.isHorizontal,n=e.aspectRatio,a=e.headerLevel,i=e.isHorizontalMobile,l=void 0!==i&&i,c=e.centerAlign,s=void 0!==c&&c,u=e.borderColor,d=e.hideAuthorImage,m=e.prefix,h=e.isHorizontalWithImageLast,f=e.config,p=s?"center-align":"",g=Pt(u),v=f.localizationConfig,_=void 0===v?{}:v;return o.createElement(o.Fragment,null,r?o.createElement(Tr,{config:f,story:t,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?o.createElement(Tr,{config:f,story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):o.createElement(Tr,{story:t,config:f,isHorizontalMobile:l,aspectRatio:n}),o.createElement("div",{className:"arr--story-content "+T("content ".concat(p),Cr)},o.createElement(zr,{story:t,borderColor:g}),o.createElement(yr,{story:t,headerLevel:a,premiumStoryIconConfig:f}),o.createElement(cr,{config:_,story:t,isBottom:!0,prefix:m,hideAuthorImage:d}),o.createElement(Nr,{story:t})))};Ar.propTypes={story:t.object.isRequired,border:t.oneOfType([t.string]),isBottom:t.bool,isHorizontal:t.bool,aspectRatio:t.oneOfType([t.array]),isHorizontalMobile:t.bool,centerAlign:t.bool,headerLevel:t.string,borderColor:t.string,hideAuthorImage:t.bool,prefix:t.string,config:t.object,isHorizontalWithImageLast:t.bool},Sr.propTypes={story:t.object.isRequired,children:t.node,isHorizontal:t.bool,border:t.oneOfType([t.string]),useImageAsBackground:t.bool,bgImgContentOverlap:t.bool,aspectRatio:t.oneOfType([t.array]),theme:t.string,isHorizontalMobile:t.bool,centerAlign:t.bool,headerLevel:t.string,borderColor:t.string,hideAuthorImage:t.bool,prefix:t.string,config:t.object,isHorizontalWithImageLast:t.bool},Sr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Ir=function(e){var t=e.color,r=void 0===t?"#333":t;return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},o.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"}))};Ir.propTypes={color:t.string};var Mr={"./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 Rr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Pr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Rr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Fr=function(e){var t=e.config,r=void 0===t?{}:t,n=e.collection,a=e.template,i=void 0===a?"SubsequentLoadCount":a,l=e.onClick,c=e.navigate,s=e.qtConfig,u=r.showButton,d=void 0===u||u,m=r.buttonText,h=void 0===m?"Read More":m,p=r.theme,g=void 0===p?"":p,v=r.customUrlPath,_=void 0===v?"":v;if(!d)return null;var y=Ht(g),b=_?"/".concat(_):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage;return void 0!==a&&a?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Dt(e,t):"/"}(n,Pr(Pr({},s),r));return"SubsequentLoadCount"===i?o.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+T("button ".concat(y," default"),Mr)},h):o.createElement(f,{href:b,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},o.createElement("div",{className:"arr--button "+T("button ".concat(y," default"),Mr)},h))};Fr.propTypes={collection:t.object,template:t.string,config:t.object,onClick:t.func,navigate:t.func,qtConfig:t.object};var Br={"./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_"}},Hr=function(e){var t=e.config,r=e.index,n=e.cardLength,a=e.card,i=void 0===a?{}:a,l=e.slug,c=e.loadCards,s=e.showLoadMore,u=i["card-added-at"],d=i["story-elements"],m=void 0===d?[]:d,h=i.id,f=t.theme,p=t.mountAt,g=void 0===p?"":p,v=Ht(f),_="dark"===v?"#333":"#fff",y=r===n-1,b=y?"borderNone":"";return o.createElement(o.Fragment,null,o.createElement("div",{className:T("time-wrapper ".concat(v),Br)},o.createElement(Ir,{color:_}),Zt(u,At,{showTime:!0,isTimeFirst:!0})),o.createElement("a",{href:"".concat(g,"/").concat(l,"#").concat(h),"aria-label":"event-title"},o.createElement("div",{className:T("event-title ".concat(v," ").concat(b),Br)},m.map((function(e,t){return"title"===e.type&&o.createElement("h3",{key:t},e.text)})),s&&y&&c&&o.createElement("div",{className:"key-events-m_fade-out__11jv_",style:{backgroundImage:"linear-gradient(to bottom, transparent, ".concat(f,")")}}))))};Hr.propTypes={card:t.shape({"card-added-at":t.number,"story-elements":t.array,id:t.string}),config:t.object,slug:t.string,story:t.object,elements:t.array,index:t.number,cardLength:t.number,loadCards:t.bool,showLoadMore:t.bool};var Dr=function(t){var r=t.story,n=void 0===r?{}:r,a=t.config,l=void 0===a?{}:a,c=t.showLoadMore,s=void 0===c||c,u=e(n,["cards"],[]),d=l.theme,m=l.initialLoadCount,h=void 0===m?4:m,f=Ht(d),p=w(i(h),2),v=p[0],_=p[1],y=u.filter((function(t){return e(t.metadata,["attributes","key-event"])})),b=y.length>v,E=g((function(t){return e(t,["qt","config"],{})}));if(y.length<1)return null;var x=(s?y.slice(0,v):y.slice(0,4)).map((function(e,t,r){return o.createElement(Hr,{cardLength:r.length,card:e,key:e.id,slug:n.slug,config:l,index:t,loadCards:b,showLoadMore:s})}));return o.createElement("div",{style:{background:d},className:"arrow-component "+T("container ".concat(f),Br)},o.createElement("h3",null,"Key Events"),o.createElement("div",{className:"key-events-m_cards-wrapper__3f8aB"},x),s&&b&&o.createElement(Fr,{onClick:function(){_(v+h)},template:"SubsequentLoadCount",config:l,qtConfig:E}))};Dr.propTypes={story:t.object,config:t.object,showLoadMore:t.bool};var Wr=Kt(Dr);function qr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Ur(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qr(Object(r),!0).forEach((function(t){v(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Gr={"./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"}},Zr=function(t){var r=t.data,n=t.slotData,a=t.horizontal,c=t.config,s=t.opts,u=n||c,d=u.theme,m=void 0===d?"":d,h=u.title,f=void 0===h?"":h,p=u.collectionSlug,g=void 0===p?"":p,v=f||"Related Stories",_=a?"horizontal-wrapper":"",b=e(c,["mountAtPrefix"],""),E=w(i([]),2),x=E[0],k=E[1],L=w(i([]),2),T=L[0],z=L[1],O=function(){var e=y(j.mark((function e(t){var r,o;return j.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Gt(t,b);case 2:r=e.sent,z(r),o=r.items,k(o);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return l((function(){g&&O(g)}),[g]),l((function(){if(!g&&r){var e=r.items||r;k(e)}}),[r,g]),o.createElement(o.Fragment,null,o.createElement(dr,{customCollectionName:v,textColor:!0,collection:T}),o.createElement("div",{className:"aside-collection-m_stories__9wfUs"},x&&x.length>0?x.slice(0,4).map((function(e){var t=e.story||e;return o.createElement("div",{className:"aside-collection-m_story__17Jdm",key:t.id},o.createElement(Sr,{story:t,isHorizontal:!0,theme:m,config:c},o.createElement("div",{className:"aside-collection-m_story-hero-image__13nFY"},o.createElement(Tr,{story:t,aspectRatio:[[4,3]]})),o.createElement("div",null,_&&o.createElement(zr,{story:t}),o.createElement(yr,{story:t}),o.createElement("div",{className:"aside-collection-m_story-byline__37KRG"},o.createElement(cr,{config:s,story:t})))))})):o.createElement("div",{"data-test-id":"no-stories",className:"aside-collection-m_info__3p4zt"},"No stories found.")))};Zr.propTypes={data:t.oneOfType([t.object,t.array]),config:t.object,horizontal:t.bool,slotData:t.object,opts:t.object};var Jr=function(e){var t=e.data,r=void 0===t?{}:t,n=e.config,a=void 0===n?{}:n,i=e.horizontal,l=void 0!==i&&i,c=e.slots,s=void 0===c?[]:c,u=e.sticky,d=void 0!==u&&u,m=e.keyEventsData,h=void 0===m?{}:m,f=e.enableKeyEvents,p=void 0!==f&&f,g=e.adComponent,v=e.widgetComp,_=e.storyId,y=e.opts,b=void 0===y?{}:y;if(qt(r))return null;var w=a.theme,E=l?"horizontal-wrapper":"";if(l)return o.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",id:"aside-collection-".concat(_),className:"arrow-component arr--aside-collection "+T("wrapper ".concat(E),Gr)},o.createElement(Zr,{data:r,horizontal:l,config:a,opts:b}));var x=d?"sticky":"";return o.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",className:"arrow-component arr--aside-collection "+T(["wrapper",E,x].join(" "),Gr)},p&&o.createElement(Wr,{story:h.story,showLoadMore:h.showLoadMore,config:h.config}),s.map((function(e,t){return function(e,t,n){switch(e){case"ad":return o.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},g(Ur(Ur({},t),{},{id:"ad-".concat(n,"_").concat(_)})));case"widget":return o.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},v(Ur(Ur({},t),{},{id:"widget-".concat(n,"_").concat(_)})));case"collection":return o.createElement("div",{id:"aside-collection-".concat(n,"_").concat(_)},o.createElement(Zr,{slotData:t,data:r,horizontal:l,config:a,opts:b}))}}(e.type,e,t)})))};Jr.propTypes={data:t.oneOfType([t.object,t.array]),config:t.object,opts:t.object,horizontal:t.bool,slots:t.array,adComponent:t.func,widgetComp:t.func,sticky:t.bool,keyEventsData:t.shape({story:t.object,config:t.object,showLoadMore:t.boolean}),enableKeyEvents:t.boolean,storyId:t.string};var Kr=Kt(Jr);export{Zr as StoryCollection,Kr as default};
@@ -1 +0,0 @@
1
- import t from"react";import{StoryElement as r}from"@quintype/components";import e from"prop-types";import"react-timeago";import"date-fns-tz";function n(){return n=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t},n.apply(this,arguments)}function o(t,r){if(null==t)return{};var e,n,o=function(t,r){if(null==t)return{};var e,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||(o[e]=t[e]);return o}(t,r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)e=i[n],r.indexOf(e)>=0||Object.prototype.propertyIsEnumerable.call(t,e)&&(o[e]=t[e])}return o}var i=["element","render"],a=function(r){return function(e){var a=e.element,c=e.render,u=o(e,i);return a?c&&"function"==typeof c?c(e):t.createElement(r,n({},u,{element:a})):null}};a.propTypes={StoryElement:e.element};var c,u,s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};c=function(t){var r=function(t){var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{u({},"")}catch(t){u=function(t,r,e){return t[r]=e}}function s(t,r,e,n){var o=r&&r.prototype instanceof d?r:d,i=Object.create(o.prototype),a=new P(n||[]);return i._invoke=function(t,r,e){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return z()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=E(a,e);if(c){if(c===y)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===f)throw n=v,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=p;var u=l(t,r,e);if("normal"===u.type){if(n=e.done?v:h,u.arg===y)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(n=v,e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function l(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",y={};function d(){}function g(){}function m(){}var _={};u(_,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==e&&n.call(w,i)&&(_=w);var j=m.prototype=d.prototype=Object.create(_);function O(t){["next","throw","return"].forEach((function(r){u(t,r,(function(t){return this._invoke(r,t)}))}))}function x(t,r){function e(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return e("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function E(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,E(t,e),"throw"===e.method))return y;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,y):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function L(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function S(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(L,this),this.reset(!0)}function T(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:z}}function z(){return{value:r,done:!0}}return g.prototype=m,u(j,"constructor",m),u(m,"constructor",g),g.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},O(x.prototype),u(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new x(s(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(j),u(j,c,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),y},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),S(e),y}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;S(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),y}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},c(u={exports:{}},u.exports);var l="object"==typeof s&&s&&s.Object===Object&&s,f="object"==typeof self&&self&&self.Object===Object&&self,h=l||f||Function("return this")(),p=h.Symbol,v=Object.prototype,y=v.hasOwnProperty,d=v.toString,g=p?p.toStringTag:void 0;var m=function(t){var r=y.call(t,g),e=t[g];try{t[g]=void 0;var n=!0}catch(t){}var o=d.call(t);return n&&(r?t[g]=e:delete t[g]),o},_=Object.prototype.toString;var b=function(t){return _.call(t)},w=p?p.toStringTag:void 0;var j=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":w&&w in Object(t)?m(t):b(t)};var O=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var x,E=function(t){if(!O(t))return!1;var r=j(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},L=h["__core-js_shared__"],S=(x=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"";var P=function(t){return!!S&&S in t},T=Function.prototype.toString;var z=function(t){if(null!=t){try{return T.call(t)}catch(t){}try{return t+""}catch(t){}}return""},k=/^\[object .+?Constructor\]$/,F=Function.prototype,G=Object.prototype,N=F.toString,$=G.hasOwnProperty,A=RegExp("^"+N.call($).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var I=function(t){return!(!O(t)||P(t))&&(E(t)?A:k).test(z(t))};var R=function(t,r){return null==t?void 0:t[r]};var C=function(t,r){var e=R(t,r);return I(e)?e:void 0},Y=C(Object,"create");var q=function(){this.__data__=Y?Y(null):{},this.size=0};var M=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},U=Object.prototype.hasOwnProperty;var B=function(t){var r=this.__data__;if(Y){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return U.call(r,t)?r[t]:void 0},D=Object.prototype.hasOwnProperty;var H=function(t){var r=this.__data__;return Y?void 0!==r[t]:D.call(r,t)};var J=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=Y&&void 0===r?"__lodash_hash_undefined__":r,this};function K(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}K.prototype.clear=q,K.prototype.delete=M,K.prototype.get=B,K.prototype.has=H,K.prototype.set=J;var Q=K;var V=function(){this.__data__=[],this.size=0};var W=function(t,r){return t===r||t!=t&&r!=r};var X=function(t,r){for(var e=t.length;e--;)if(W(t[e][0],r))return e;return-1},Z=Array.prototype.splice;var tt=function(t){var r=this.__data__,e=X(r,t);return!(e<0)&&(e==r.length-1?r.pop():Z.call(r,e,1),--this.size,!0)};var rt=function(t){var r=this.__data__,e=X(r,t);return e<0?void 0:r[e][1]};var et=function(t){return X(this.__data__,t)>-1};var nt=function(t,r){var e=this.__data__,n=X(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function ot(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}ot.prototype.clear=V,ot.prototype.delete=tt,ot.prototype.get=rt,ot.prototype.has=et,ot.prototype.set=nt;var it=ot,at=C(h,"Map");var ct=function(){this.size=0,this.__data__={hash:new Q,map:new(at||it),string:new Q}};var ut=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var st=function(t,r){var e=t.__data__;return ut(r)?e["string"==typeof r?"string":"hash"]:e.map};var lt=function(t){var r=st(this,t).delete(t);return this.size-=r?1:0,r};var ft=function(t){return st(this,t).get(t)};var ht=function(t){return st(this,t).has(t)};var pt=function(t,r){var e=st(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function vt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}vt.prototype.clear=ct,vt.prototype.delete=lt,vt.prototype.get=ft,vt.prototype.has=ht,vt.prototype.set=pt;var yt=vt;function dt(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return e.cache=i.set(o,a)||i,a};return e.cache=new(dt.Cache||yt),e}dt.Cache=yt;var gt=dt;var mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_t=/\\(\\)?/g;(function(t){var r=gt(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache})((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(mt,(function(t,e,n,o){r.push(n?o.replace(_t,"$1"):e||t)})),r}));var bt=p?p.prototype:void 0;bt&&bt.toString;var wt=e.shape({"sketches-host":e.string,"cdn-name":e.string,"cdn-image":e.string}),jt=e.shape({headline:e.string,"last-published-at":e.number,subheadline:e.string}),Ot=["element","story","config"],xt=function(e){var i=e.element;e.story,e.config;var a=o(e,Ot);return t.createElement("div",n({},a,{"data-test-id":"story-elements"}),t.createElement(r,{element:i}))},Et=a(xt);xt.propTypes={element:e.object,story:jt,config:wt};export{Et as StoryElement};
@@ -1 +0,0 @@
1
- import e,{useContext as t,createContext as r,useState as a,useEffect as n,Suspense as o,lazy as i,useRef as l}from"react";import c from"lodash.get";import s,{number as m,string as u,func as d,array as p,bool as h}from"prop-types";import"react-timeago";import"date-fns-tz";import{Link as f,LazyLoadImages as _,ResponsiveImage as v,StoryElement as g,SocialShare as y}from"@quintype/components";import{useSelector as b}from"react-redux";import w from"lodash.camelcase";function E(){return E=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},E.apply(this,arguments)}var k="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function x(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function N(e){var t={exports:{}};return e(t,t.exports),t.exports}var C=N((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})),T=x(N((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=C)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var o=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 o=e.split("."),i=o[0],l=o[1],c=r||a.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===o.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(o.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 o=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?n("Could not resolve the styleName '"+e+"'.",o):t[i[0]][e]}(e,t,c)}var r=t[o[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}})));function q(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)r=o[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var j=["element","render"],I=function(t){return function(r){var a=r.element,n=r.render,o=q(r,j);return a?n&&"function"==typeof n?n(r):e.createElement(t,E({},o,{element:a})):null}};function O(e){return O="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},O(e)}I.propTypes={StoryElement:s.element},N((function(e){var t=function(e){var t,r=Object.prototype,a=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,a){var n=t&&t.prototype instanceof _?t:_,o=Object.create(n.prototype),i=new q(a||[]);return o._invoke=function(e,t,r){var a=u;return function(n,o){if(a===p)throw new Error("Generator is already running");if(a===h){if("throw"===n)throw o;return I()}for(r.method=n,r.arg=o;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===f)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===u)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:d,c.arg===f)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),o}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 u="suspendedStart",d="suspendedYield",p="executing",h="completed",f={};function _(){}function v(){}function g(){}var y={};c(y,o,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(j([])));w&&w!==r&&a.call(w,o)&&(y=w);var E=g.prototype=_.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(n,o,i,l){var c=m(e[n],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&a.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(u).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,a){function o(){return new t((function(t,n){r(e,a,t,n)}))}return n=n?n.then(o,o):o()}}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 f;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=m(a,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,f;var o=n.arg;return o?o.done?(r[e.resultName]=o.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,f):o:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,f)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function q(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function j(e){if(e){var r=e[o];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(a.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:I}}function I(){return{value:t,done:!0}}return v.prototype=g,c(E,"constructor",g),c(g,"constructor",v),v.displayName=c(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,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,n,o){void 0===o&&(o=Promise);var i=new x(s(t,r,a,n),o);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,o,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},e.values=j,q.prototype={constructor:q,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(a,n){return l.type="throw",l.arg=e,r.next=a,n&&(r.method="next",r.arg=t),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],l=i.completion;if("root"===i.tryLoc)return n("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 n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,f):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),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),f}},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 n=a.arg;T(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:j(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),f}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var S=Array.isArray,L="object"==typeof k&&k&&k.Object===Object&&k,M="object"==typeof self&&self&&self.Object===Object&&self,A=L||M||Function("return this")(),P=A.Symbol,U=Object.prototype,R=U.hasOwnProperty,H=U.toString,B=P?P.toStringTag:void 0;var z=function(e){var t=R.call(e,B),r=e[B];try{e[B]=void 0;var a=!0}catch(e){}var n=H.call(e);return a&&(t?e[B]=r:delete e[B]),n},V=Object.prototype.toString;var F=function(e){return V.call(e)},W=P?P.toStringTag:void 0;var D=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":W&&W in Object(e)?z(e):F(e)};var G=function(e){return null!=e&&"object"==typeof e};var Q=function(e){return"symbol"==typeof e||G(e)&&"[object Symbol]"==D(e)},Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/;var K=function(e,t){if(S(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!Q(e))||(Y.test(e)||!Z.test(e)||null!=t&&e in Object(t))};var X=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var J,$=function(e){if(!X(e))return!1;var t=D(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ee=A["__core-js_shared__"],te=(J=/[^.]+$/.exec(ee&&ee.keys&&ee.keys.IE_PROTO||""))?"Symbol(src)_1."+J:"";var re=function(e){return!!te&&te in e},ae=Function.prototype.toString;var ne=function(e){if(null!=e){try{return ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""},oe=/^\[object .+?Constructor\]$/,ie=Function.prototype,le=Object.prototype,ce=ie.toString,se=le.hasOwnProperty,me=RegExp("^"+ce.call(se).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ue=function(e){return!(!X(e)||re(e))&&($(e)?me:oe).test(ne(e))};var de=function(e,t){return null==e?void 0:e[t]};var pe=function(e,t){var r=de(e,t);return ue(r)?r:void 0},he=pe(Object,"create");var fe=function(){this.__data__=he?he(null):{},this.size=0};var _e=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve=Object.prototype.hasOwnProperty;var ge=function(e){var t=this.__data__;if(he){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ve.call(t,e)?t[e]:void 0},ye=Object.prototype.hasOwnProperty;var be=function(e){var t=this.__data__;return he?void 0!==t[e]:ye.call(t,e)};var we=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=he&&void 0===t?"__lodash_hash_undefined__":t,this};function Ee(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])}}Ee.prototype.clear=fe,Ee.prototype.delete=_e,Ee.prototype.get=ge,Ee.prototype.has=be,Ee.prototype.set=we;var ke=Ee;var xe=function(){this.__data__=[],this.size=0};var Ne=function(e,t){return e===t||e!=e&&t!=t};var Ce=function(e,t){for(var r=e.length;r--;)if(Ne(e[r][0],t))return r;return-1},Te=Array.prototype.splice;var qe=function(e){var t=this.__data__,r=Ce(t,e);return!(r<0)&&(r==t.length-1?t.pop():Te.call(t,r,1),--this.size,!0)};var je=function(e){var t=this.__data__,r=Ce(t,e);return r<0?void 0:t[r][1]};var Ie=function(e){return Ce(this.__data__,e)>-1};var Oe=function(e,t){var r=this.__data__,a=Ce(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this};function Se(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])}}Se.prototype.clear=xe,Se.prototype.delete=qe,Se.prototype.get=je,Se.prototype.has=Ie,Se.prototype.set=Oe;var Le=Se,Me=pe(A,"Map");var Ae=function(){this.size=0,this.__data__={hash:new ke,map:new(Me||Le),string:new ke}};var Pe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ue=function(e,t){var r=e.__data__;return Pe(t)?r["string"==typeof t?"string":"hash"]:r.map};var Re=function(e){var t=Ue(this,e).delete(e);return this.size-=t?1:0,t};var He=function(e){return Ue(this,e).get(e)};var Be=function(e){return Ue(this,e).has(e)};var ze=function(e,t){var r=Ue(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this};function Ve(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])}}Ve.prototype.clear=Ae,Ve.prototype.delete=Re,Ve.prototype.get=He,Ve.prototype.has=Be,Ve.prototype.set=ze;var Fe=Ve;function We(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var a=arguments,n=t?t.apply(this,a):a[0],o=r.cache;if(o.has(n))return o.get(n);var i=e.apply(this,a);return r.cache=o.set(n,i)||o,i};return r.cache=new(We.Cache||Fe),r}We.Cache=Fe;var De=We;var Ge=function(e){var t=De(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t},Qe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ze=/\\(\\)?/g,Ye=Ge((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Qe,(function(e,r,a,n){t.push(a?n.replace(Ze,"$1"):r||e)})),t})),Ke=Ye;var Xe=function(e,t){for(var r=-1,a=null==e?0:e.length,n=Array(a);++r<a;)n[r]=t(e[r],r,e);return n},Je=P?P.prototype:void 0,$e=Je?Je.toString:void 0;var et=function e(t){if("string"==typeof t)return t;if(S(t))return Xe(t,e)+"";if(Q(t))return $e?$e.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var tt=function(e){return null==e?"":et(e)};var rt=function(e,t){return S(e)?e:K(e,t)?[e]:Ke(tt(e))};var at=function(e){if("string"==typeof e||Q(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var nt=function(e,t){for(var r=0,a=(t=rt(t,e)).length;null!=e&&r<a;)e=e[at(t[r++])];return r&&r==a?e:void 0};var ot=function(e,t,r){var a=null==e?void 0:nt(e,t);return void 0===a?r:a},it=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},lt=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},ct={mobile:767,tablet:1024},st=function(e){var t=ot(ct,e);return!!t&&ot(global,"document.documentElement.clientWidth")<=t},mt=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:lt(e),a=it(r)<155?"light":"dark";return a},ut=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},dt=s.shape({"sketches-host":s.string,"cdn-name":s.string,"cdn-image":s.string}),pt=s.shape({headline:s.string,"last-published-at":s.number,subheadline:s.string}),ht=function(){if("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)}},ft=r(),_t=function(){return t(ft)},vt=["element","opts","css","story","config"],gt={"./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"}},yt=function(t){var r=t.element,a=void 0===r?{}:r,n=t.opts,o=void 0===n?{}:n,i=t.css,l=void 0===i?{}:i;t.story,t.config;var s=q(t,vt),m=a.text;if(!m)return null;var u=_t()||{},d=mt(u.theme),p=l.textColor,h=o.isExternalLink,f=(void 0===h||h)&&ut(m)||m,_=c(a,["metadata","promotional-message"],!1),v=_?"promotionalMessage":"textElement";return e.createElement("div",E({style:_?{}:{color:p},"data-test-id":_?"promotional-message":"text",dangerouslySetInnerHTML:{__html:f},id:"text-element"},s,{className:"arrow-component arr--text-element "+T("".concat(v," ").concat(d),gt)+" "+(s&&s.className||"")}))};yt.propTypes={element:s.shape({text:s.string}),opts:s.shape({isExternalLink:s.bool}),css:s.shape({hyperlinkColor:s.string,textColor:s.string}),story:pt,config:dt};var bt=I(yt);function wt(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 Et(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,n,o=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(o.push(a.value),!t||o.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wt(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)?wt(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 kt=["element","template","opts","css","story","config","render"],xt={"./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"}},Nt=function(t){var r=t.element,o=t.template,i=void 0===o?"":o,l=t.opts,c=void 0===l?{}:l,s=t.css,m=void 0===s?{}:s;t.story,t.config,t.render;var u=q(t,kt),d=r.text,p=m.borderColor,h="withBorder"===i?{border:"solid 2px ".concat(p)}:{borderLeft:"solid 2px ".concat(p)},f=Et(a(h),2),_=f[0],v=f[1];if(!d)return null;n((function(){var e=document.getElementsByTagName("HTML");e&&e.length&&"rtl"===e[0].dir.toLowerCase()&&"withBorder"!==i&&v({borderRight:"solid 2px ".concat(p)})}),[]);var g=c.isExternalLink,y=(void 0===g||g)&&ut(d)||d,b=i?"blurb-".concat(i):"blurb",w=_t()||{},k=mt(w.theme);return e.createElement("div",E({"data-test-id":"blurb",style:p&&_,dangerouslySetInnerHTML:{__html:y}},u,{className:"arrow-component arr-custom-style arr--blurb-element "+T("".concat(b," ").concat(k),xt)+" "+(u&&u.className||"")}))};Nt.propTypes={element:s.shape({text:s.string}),template:s.string,opts:s.shape({isExternalLink:s.bool}),story:pt,config:dt,render:s.func,css:s.object};var Ct=I(Nt),Tt=["element","template","opts","css","story","config","render"],qt={"./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"}},jt=function(t){var r=t.element,a=t.template,n=void 0===a?"":a,o=t.opts,i=void 0===o?{}:o,l=t.css,c=void 0===l?{}:l;t.story,t.config,t.render;var s=q(t,Tt),m=_t()||{},u=mt(m.theme),d=r.text;if(!d)return null;var p=c.headerBgColor,h=i.isExternalLink,f=void 0===h||h,_=i.headline,v=void 0===_?"Summary":_,g=i.hideHeadline,y=void 0!==g&&g,b=f&&ut(d)||d,w=["header","border"].includes(n)?"summary-".concat(n):"summary",k=y?"content-border":"",x="header"===n||"border"===n,N=x?"".concat(p):"",C=x?mt(p):"",j="header"===n?"":u;return e.createElement("div",E({"data-test-id":"summary"},s,{className:"arrow-component arr--summary-element arr-custom-style "+T(w,qt)+" "+(s&&s.className||"")}),!y&&e.createElement("div",{"data-test-id":"summary-headline",className:T("heading-wrapper ".concat(u),qt)},e.createElement("div",{style:{backgroundColor:N},className:T("headline ".concat(C," ").concat(u),qt)},v)),e.createElement("div",{dangerouslySetInnerHTML:{__html:b},className:T("content ".concat(k," ").concat(j," ").concat(u),qt)}))};jt.propTypes={element:s.shape({text:s.string}),template:s.string,opts:s.shape({isExternalLink:s.bool,headline:s.string,hideHeadline:s.bool}),story:pt,config:dt,render:s.func,css:s.shape({headerBgColor:s.string})};var It=I(jt),Ot=function(t){var r=t.width,a=t.height,n=t.color,o=t.opacity,i="light"===n&&"#ffffff",l="dark"===n&&"#0d0d0d";return e.createElement("div",{className:"icon-m_curve-wrapper__3-sLV",style:{fill:"".concat(i||l||n)}},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a,viewBox:"0 0 64 64"},e.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"})))};Ot.propTypes={width:s.string,height:s.string,color:s.string,opacity:s.string};var St=function(t){var r=t.width,a=t.height,n=t.color,o=t.opacity,i="light"===n&&"#ffffff",l="dark"===n&&"#0d0d0d";return e.createElement("div",{className:"icon-m_edge-wrapper__xUOdp",style:{fill:"".concat(i||l||n)}},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:a,viewBox:"0 0 64 64"},e.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"})))};St.propTypes={width:s.string,height:s.string,color:s.string,opacity:s.string};var Lt=["element","template","css","story","config","render"],Mt={"./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"}},At=function(t,r,a,n){var o=st("mobile")?"48px":"64px";return"withBackground"===r?"edgeIcon"===t?e.createElement(St,{width:o,height:o,color:n,opacity:".4"}):e.createElement(Ot,{width:o,height:o,color:n,opacity:".4"}):"withBackground"!==r?"edgeIcon"===t?e.createElement(St,{width:o,height:o,color:a}):e.createElement(Ot,{width:o,height:o,color:a}):void 0},Pt=function(t){var r=t.element,a=t.template,n=t.css,o=void 0===n?{}:n;t.story,t.config,t.render;var i=q(t,Lt),l=c(r,["metadata"]),s=l.content,m=l.attribution;if(!s)return null;var u=o.blockQuoteColor,d=o.backgroundShade,p=o.iconType,h=a?"blockquote-".concat(a):"blockquote",f="withBackground"===a,_=f?mt(d):"",v=f&&d?{backgroundColor:d}:{},g=_t()||{},y=mt(f?v.backgroundColor:g.theme);return e.createElement("div",E({"data-test-id":"blockquote",style:v},i,{className:"arrow-component arr--block-quote "+T("".concat(h," ").concat(_),Mt)+" "+(i&&i.className||"")}),e.createElement("div",{className:"block-quote-m_quote-wrapper__83bEy"},"withBorder"===a?e.createElement("div",{className:"block-quote-m_icon-border__2xQQY"},e.createElement("div",{className:"block-quote-m_icon__m-EIZ"},At(p,a,u,_)),e.createElement("div",{className:"block-quote-m_border__1ZTPR",style:u&&{backgroundColor:u}})):e.createElement("div",{className:"block-quote-m_icon__m-EIZ"},At(p,a,u,_)),e.createElement("div",{className:"block-quote-m_wrapper__2KEhw",style:u&&{borderColor:u}},e.createElement("div",{dangerouslySetInnerHTML:{__html:s},className:T("content ".concat(y),Mt)}),e.createElement("div",{dangerouslySetInnerHTML:{__html:m},className:T("attribution ".concat(y),Mt)}))))};Pt.propTypes={element:s.shape({metadata:s.shape({content:s.string,attribution:s.string})}),template:s.string,story:pt,config:dt,render:s.func,css:s.object};var Ut=I(Pt),Rt=["element","story","config"],Ht={"./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"}},Bt=function(t){var r=t.element;t.story,t.config;var a=q(t,Rt),n=_t()||{},o=mt(n.theme),i=r.metadata,l=i.content,c=i.attribution;return e.createElement("div",E({"data-test-id":"bigfact"},a,{className:"arrow-component arr--bigfact-element "+T("bigfact-element ".concat(o),Ht)+" "+(a&&a.className||"")}),e.createElement("div",{className:"big-fact-m_content__1u2Ul"},l),e.createElement("div",{"data-test-id":"attribution",className:T("attribution ".concat(o),Ht)},c))};Bt.propTypes={element:s.shape({metadata:s.shape({content:s.string,attribution:s.string})}),story:s.object,config:s.object};var zt=I(Bt),Vt=function(t){var r=t.width,a=void 0===r?40:r,n=t.height,o=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:a,height:o,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Vt.propTypes={width:s.object,height:s.object,iconColor:s.object};var Ft=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(Vt,null)))},Wt=function(t){var r=t.slug;return r?e.createElement(f,{href:r,"aria-label":"image-fallback"},Ft()):Ft()};Wt.propTypes={slug:s.string};var Dt=["story","element","template","opts","css","config","render"],Gt={"./also-read.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","card-image":"also-read-m_card-image__3CwAv","default-text":"also-read-m_default-text__hp2dp","alsoread-textLeftAlign":"also-read-m_alsoread-textLeftAlign__S0Dxe","alsoread-imageRightAlign":"also-read-m_alsoread-imageRightAlign__1bsF3",headline:"also-read-m_headline__VzF-c","alsoread-default":"also-read-m_alsoread-default__3cYER","card-image-wrapper":"also-read-m_card-image-wrapper__3GFzu",image:"also-read-m_image__2jdRP","content-wrapper":"also-read-m_content-wrapper__26AZX",alsoread:"also-read-m_alsoread__1crOV",dark:"also-read-m_dark__1pUib",light:"also-read-m_light__bTCze"}},Qt=function(t){var r,a=t.story,n=t.linkedImage,o=t.template,i=t.isRightAlign,l="textLeftAlign"===o,c=st("mobile"),s=l?[16,9]:i&&c?[4,3]:[16,9],m=a["hero-image-caption"]||a.headline;return e.createElement("div",{className:"also-read-m_card-image-wrapper__3GFzu"},null==(r=n)||"object"===O(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length?e.createElement("div",{className:"arr--fallback-also-read also-read-m_image__2jdRP"},e.createElement(Wt,null)):e.createElement("figure",{className:"also-read-m_card-image__3CwAv"},e.createElement(_,null,e.createElement(v,{slug:n,"aspect-ratio":s,defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},alt:m}))))};Qt.propTypes={story:s.shape({"hero-image-caption":s.string,headline:s.string}),linkedImage:s.string,template:s.string,isRightAlign:s.bool};var Zt=function(t){var r=t.story,a=void 0===r?{}:r,n=t.element,o=t.template,i=void 0===o?"":o,l=t.opts,s=void 0===l?{}:l,m=t.css,u=void 0===m?{}:m;t.config,t.render;var d=q(t,Dt),p=n.text;if(!p)return null;var h=c(a,["linked-stories"],{}),_=c(n,["metadata","linked-story-id"]),v=c(h,[_,"url"]),g=c(h,[_,"hero-image-s3-key"],""),y=v&&v,b=_t()||{},w=mt(b.theme),k=s.title,x=void 0===k?"":k,N=u.textColor,C=x||"Also Read",j=""===i||"default"===i,I="imageRightAlign"===i,O=i?"alsoread-".concat(i):"alsoread-default";return e.createElement(f,E({"data-test-id":"also-read",href:y,"aria-label":"also-read"},d,{className:"arrow-component arr--also-read-element "+T(O,Gt)+" "+(d&&d.className||"")}),!j&&e.createElement("div",{className:T("default-text ".concat(w),Gt)},C),j&&e.createElement(Qt,{story:a,linkedImage:g,template:i,isRightAlign:I}),e.createElement("div",{className:"also-read-m_content-wrapper__26AZX"},e.createElement("div",{className:"also-read-m_headline__VzF-c",style:N?{color:N}:{color:w},dangerouslySetInnerHTML:{__html:p}}),I&&e.createElement(Qt,{story:a,linkedImage:g,template:i})))};Zt.propTypes={template:s.string,story:s.shape({"linked-stories":s.object}),element:s.shape({text:s.string,metadata:s.shape({linkedStoryId:s.shape({url:s.string,"hero-image-s3-key":s.string})})}),opts:s.shape({title:s.string}),config:dt,render:s.func,css:s.object};var Yt=I(Zt);function Kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xt=function(t){return t.width,t.height,t.iconColor,e.createElement("div",{className:"loading-m_loading-indicator__2Dlst"},e.createElement("svg",{width:"40",height:"40",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},e.createElement("circle",{cx:"84",cy:"50",r:"0",fill:"currentColor"},e.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"}),e.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"})),e.createElement("circle",{cx:"84",cy:"50",r:".709",fill:"currentColor"},e.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"}),e.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"})),e.createElement("circle",{cx:"81.59",cy:"50",r:"10",fill:"currentColor"},e.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"}),e.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"})),e.createElement("circle",{cx:"47.59",cy:"50",r:"10",fill:"currentColor"},e.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"}),e.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"})),e.createElement("circle",{cx:"16",cy:"50",r:"9.291",fill:"currentColor"},e.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"}),e.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"}))))};Xt.propTypes={width:s.object,height:s.object,iconColor:s.object};var Jt=function(){return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"28"},e.createElement("g",{fill:"none",fillRule:"evenodd"},e.createElement("rect",{width:"36",height:"28",fill:"#3D6FCF",rx:"4"}),e.createElement("path",{stroke:"#FFF",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M22 14.667v4c0 .736-.597 1.333-1.333 1.333h-7.334A1.333 1.333 0 0112 18.667v-7.334c0-.736.597-1.333 1.333-1.333h4M20 8h4v4m-7.333 3.333L24 8"})))},$t=function(t){var r=t.hyperLink,a=void 0===r?"":r;return a?e.createElement(f,{href:a,"aria-label":"hyperlink-button",className:"arr--hyperlink-button hyperlink-m_hyperlink-button__1CqWx",target:"_blank",rel:"noopener noreferrer"},e.createElement(Jt,null)):null};function er(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}$t.propTypes={hyperLink:s.string};var tr=i((function(){return import("react-image-lightbox")})),rr=function(t){var r=t.imageSlug,n=void 0===r?"":r,i=t.template,l=t.element,s=void 0===l?{}:l,m=t.props,u=b((function(e){return c(e,["qt","config","cdn-image"])})),d=Et(a(0),2),p=d[0],h=d[1],f=Et(a(!1),2),_=f[0],v=f[1],g=c(global,["innerWidth"],0),y=c(s,["story-elements"],[]).map((function(e){return e.hyperlink})),w=[];n||(w=c(s,["story-elements"],[]).map((function(e){return"//".concat(u,"/").concat(e["image-s3-key"],"?w=").concat(g)})));var k=n?"onClick":"onClickHandler",x=w.length,N=function(){return s.hyperlink||y[p]?e.createElement($t,{hyperLink:s.hyperlink||y[p]}):null},C=n?{mainSrc:"//".concat(u,"/").concat(n,"?w=").concat(g),toolbarButtons:[N()]}:{mainSrc:w[p],nextSrc:w[(p+1)%x],prevSrc:w[(p+x-1)%x],onMoveNextRequest:function(){return function(e){h((p+1)%e)}(x)},onMovePrevRequest:function(){return function(e){h((p+e-1)%e)}(x)},toolbarButtons:[N()]},T=function(){return e.createElement("div",null,e.createElement(Xt,null))};return e.createElement("div",null,e.createElement(i,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?er(Object(r),!0).forEach((function(t){Kt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}(Kt({},k,(function(e){v(!0),h(e)})),m)),_?e.createElement(o,{fallback:e.createElement(T,null)},e.createElement(tr,E({wrapperClassName:"arr--image-lightbox",onCloseRequest:function(){h(0),v(!1)}},C))):null)};rr.propTypes={imageSlug:s.string,template:s.func,element:s.shape({"story-elements":s.array}),props:s.object};var ar={"./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"}},nr=function(t){var r=t.story,a=t.element;if(t.config,!r&&!a)return null;var n=_t()||{},o=mt(n.theme),i=r||{},l=i["hero-image-caption"],c=void 0===l?"":l,s=i["hero-image-attribution"],m=void 0===s?"":s,u=a||{},d=u.title,p=void 0===d?"":d,h=u["image-attribution"],f=c||p,_=m||(void 0===h?"":h),v=f?"wrapper":"";return e.createElement("div",{"data-test-id":"caption",className:"arr--caption-attribution "+T("caption ".concat(o),ar)},e.createElement("span",{dangerouslySetInnerHTML:{__html:f}}),_&&e.createElement("span",{"data-test-id":"attribution",dangerouslySetInnerHTML:{__html:_},className:T("attribution ".concat(o," ").concat(v),ar)}))};nr.propTypes={config:s.shape({theme:s.string}),story:pt,element:s.shape({"image-attribution":s.string,title:s.string})};var or=["element","opts","story","config","caption"],ir=function(t){var r=t.element,a=t.opts,n=void 0===a?{}:a,o=t.story,i=void 0===o?{}:o;t.config;var l=t.caption,c=void 0===l||l,m=q(t,or);if(!r)return null;var u=_t()||{},d=function(t){var a=t.onClick;return e.createElement("div",{className:"image-m_image-template__3s9OA"},e.createElement("figure",{className:"image-m_element__KVuzX",onClick:function(){return a()}},e.createElement(v,{slug:r["image-s3-key"],metadata:r["image-metadata"],alt:r.title,aspectRatio:null,defaultWidth:640,widths:n.imageWidths||[360,640,1200],imgParams:{auto:["format","compress"]}})),r.hyperlink&&e.createElement($t,{hyperLink:r.hyperlink}))};return d.propTypes={onClick:s.func},e.createElement("div",E({className:"arrow-component arr--image-element"},m,{"data-test-id":"image-element"}),e.createElement(rr,{template:d,element:r,imageSlug:r["image-s3-key"],story:i}),c&&e.createElement(nr,{element:r,config:u}))};ir.propTypes={element:s.shape({"image-s3-key":s.string,"image-metadata":s.object,"image-attribution":s.string,title:s.string,hyperlink:s.string}),caption:s.bool,opts:s.shape({imageWidths:s.array}),story:pt,config:dt};var lr=I(ir),cr=["element","template","css","story","config","opts","render"],sr={"./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"}},mr=function(t){var r=t.element,a=t.template,n=t.css,o=void 0===n?{}:n;t.story,t.config;var i=t.opts,l=void 0===i?{}:i;t.render;var s=q(t,cr),m=_t()||{},u=mt(m.theme);if(!r)return null;var d=l.type,p=l.defaultIconType,h=l.isExternalLink,f=void 0===h||h,_=o.iconColor,v=function(e,t){switch(e){case"q-and-a":var r=c(t,["metadata"]);return{question:r.question,answer:r.answer,questionAttribution:c(t,["metadata","interviewer","avatar-url"]),answerAttribution:c(t,["metadata","interviewee","avatar-url"])};case"question":return{question:c(t,["text"]),questionAttribution:c(t,["metadata","interviewer","avatar-url"])};case"answer":return{answer:c(t,["text"]),answerAttribution:c(t,["metadata","interviewee","avatar-url"])}}}(d,r),g=v.question,y=v.answer,b=v.questionAttribution,w=v.answerAttribution,k=mt(_),x=g&&(f&&ut(g)||g),N=y&&(f&&ut(y)||y),C="withAuthorImage"===a,j=C?"qa-withAuthorImage":"qa-default",I="curve"===p?"curveIcon":"edgeIcon",O=C?b&&e.createElement(e.Fragment,null,e.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},e.createElement("img",{src:b,loading:"lazy"})),e.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):e.createElement("div",{"data-test-id":I,style:{backgroundColor:_},className:T("".concat(I," ").concat(k),sr)},"Q"),S=C?w&&e.createElement(e.Fragment,null,e.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},e.createElement("img",{src:w,loading:"lazy"})),e.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):e.createElement("div",{"data-test-id":I,style:{backgroundColor:_},className:T("".concat(I," ").concat(k),sr)},"A");return e.createElement("div",E({"data-test-id":"question-answer"},s,{className:"arrow-component arr-custom-style arr--qa-element "+T(j,sr)+" "+(s&&s.className||"")}),"answer"!==d&&e.createElement("div",{className:"question-answer-m_q-element__1ZA5d","data-test-id":"question"},O,e.createElement("div",{dangerouslySetInnerHTML:{__html:x},className:T("content ".concat(u),sr)})),"question"!==d&&e.createElement("div",{className:"question-answer-m_a-element__BTxfl","data-test-id":"answer"},S,e.createElement("div",{dangerouslySetInnerHTML:{__html:N},className:T("content ".concat(u),sr)})))};mr.propTypes={element:s.shape({metadata:s.shape({interviewer:s.shape({"avatar-url":s.string}),interviewee:s.shape({"avatar-url":s.string}),question:s.string,answer:s.string}),text:s.string}),opts:s.shape({type:s.string,defaultIconType:s.string,isExternalLink:s.bool}),template:s.string,css:s.object,config:dt,story:pt,render:s.func};var ur=I(mr),dr=["element","template","opts","story","config"],pr={"./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"}},hr=function(t){var r=t.element,a=t.template,n=void 0===a?"":a;t.opts,t.story,t.config;var o=q(t,dr);if(!r)return null;var i=st("mobile"),l=r["story-elements"],c="template-2"===n&&l.length,m=c>6?l.slice(0,6):l,u=c>4?l.slice(0,4):l,d=i?u:m,p="template-2"===n?"template-2":"",h=function(t){var r=t.onClickHandler,a=d.map((function(t,a){return e.createElement("div",{key:a,className:T((n=t.hyperlink,n?"hyperlink-gallery-image":""),pr)},e.createElement("figure",{key:a,"data-text-id":"image-".concat(a),onClick:function(){return r&&r(a)},className:T("image ".concat(p),pr)},e.createElement(v,{slug:t["image-s3-key"],metadata:t["image-metadata"],alt:t.title,aspectRatio:[1,1],defaultWidth:640,imgParams:{auto:["format","compress"]}})),t.hyperlink&&e.createElement($t,{hyperLink:t.hyperlink}));var n}));return e.createElement("div",E({className:" arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if "+(o&&o.className||"")},o,{"data-test-id":"image-gallery"}),a)};return h.propTypes={onClickHandler:s.func},e.createElement(rr,{template:h,element:r})};hr.propTypes={element:s.shape({"story-elements":s.array}),opts:s.shape({imageWidths:s.array}),story:pt,config:dt,template:s.string};var fr=I(hr),_r=["element","story","config"],vr=function(t){var r=t.element;t.story,t.config;var a=q(t,_r);return e.createElement("div",E({},a,{"data-test-id":"story-elements"}),e.createElement(g,{element:r}))},gr=I(vr);vr.propTypes={element:s.object,story:pt,config:dt};var yr=["element","story","config","loadIframeOnClick"],br=function(t){var r=t.element;t.story,t.config;var a=t.loadIframeOnClick,n=void 0!==a&&a,o=q(t,yr);return e.createElement("div",E({className:"video-m_container__MYuWI "+(o&&o.className||"")},o,{"data-test-id":"video"}),e.createElement(g,{element:r,loadIframeOnClick:n}))};br.propTypes={element:s.object,story:pt,config:dt,loadIframeOnClick:s.bool};var wr=I(br),Er=["element","template","css","story","config","render"],kr={"./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"}},xr=function(t){var r=t.element,a=t.template,n=void 0===a?"":a,o=t.css,i=void 0===o?{}:o;t.story,t.config,t.render;var l=q(t,Er),c=_t()||{},s=mt(c.theme),m=r.metadata,u=m.content,d=m.attribution;if(!u)return null;var p=i.borderColor,h="borderLeft"===n&&"4px solid ".concat(p),f=n?"quote-".concat(n):"quote";return e.createElement("div",E({"data-test-id":"quote"},l,{className:"arrow-component arr--quote-element "+T(f,kr)+" "+(l&&l.className||"")}),"borderTopSmall"===n&&e.createElement("div",{className:"quote-m_line__3gtoE",style:p&&{backgroundColor:p}}),e.createElement("p",{style:p&&{borderLeft:h},dangerouslySetInnerHTML:{__html:u},className:T("text ".concat(s),kr)}),e.createElement("p",{"data-test-id":"quote-attribution",className:T("attribution ".concat(s),kr)},d))};xr.propTypes={element:s.shape({metadata:s.shape({content:s.string,attribution:s.string})}),template:s.string,story:pt,config:dt,render:s.func,css:s.object};var Nr=I(xr),Cr=["element","config","opts"],Tr={"./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"}},qr=function(t){var r=t.element;t.config;var a=t.opts,n=void 0===a?{}:a,o=q(t,Cr);if(!r)return null;var i=_t()||{},l=mt(i.theme),c=r["story-elements"]&&r["story-elements"].map((function(e){return e.metadata})),s=n.showHeadline,m=void 0===s||s,u=n.headlineText;return e.createElement("div",E({className:"arrow-component arr--reference-element"},o),c&&c.map((function(t,r){var a=t.name,n=void 0===a?"":a,o=t.description,i=void 0===o?"":o,c=t.url;return e.createElement("div",{key:r,className:T("wrapper ".concat(l),Tr)},e.createElement(f,{href:c,"aria-label":"reference-headline"},m&&e.createElement("div",{className:"reference-m_name__24IwG","data-test-id":"ref-headline"},u||n),e.createElement("div",{className:"reference-m_description__2x3Io"},i)))})))};qr.propTypes={element:s.shape({"story-elements":s.arrayOf(s.shape({metadata:s.shape({name:s.string,description:s.string,url:s.string})}))}),opts:s.shape({hideHeadline:s.bool}),config:dt};var jr=I(qr),Ir=["element","render"],Or={"./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"}},Sr=function(t){var r=t.element,a=void 0===r?{}:r;t.render;var n=q(t,Ir),o=a["file-name"],i=a.url,l=a["content-type"];if(!l||!i)return null;var c="application/pdf"===l,s=_t()||{},m=mt(s.theme),u=o||(c?"Attached PDF":"Attached DOC");return e.createElement("div",E({"data-test-id":"attachment"},n,{className:"arrow-component arr--attachment-element "+T(m,Or)+" "+(n&&n.className||"")}),e.createElement("div",{className:"attachment-m_headline__kP7Hs"},"Attachment"),e.createElement("div",{className:"attachment-m_wrapper__3gMwN"},c?e.createElement("div",{"data-test-id":"pdf",className:"attachment-m_pdf__3i_bR"},"PDF"):e.createElement("div",{"data-test-id":"doc",className:"attachment-m_doc__6vUVo attachment-m_pdf__3i_bR"},"DOC"),e.createElement("div",{className:"attachment-m_content-wrapper__3Yu0B"},e.createElement("div",{className:"attachment-m_file-name__1LU9q",dangerouslySetInnerHTML:{__html:u}}),e.createElement(f,{className:"attachment-m_button-wrapper__2fajK",href:i,target:"_blank",rel:"noopener noreferrer",download:!0,"aria-label":"button"},c?"Preview":"Download"))))};Sr.propTypes={element:s.shape({url:s.string,fileName:s.string,contentType:s.string}),render:s.func};var Lr=I(Sr),Mr=function(t){var r=t.color,a=void 0===r?"#1CB7EB":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:a,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"}))};Mr.propTypes={color:s.string};var Ar=function(t){var r=t.color,a=void 0===r?"#3B5998":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:a,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"}))};Ar.propTypes={color:s.string};var Pr=function(t){var r=t.color,a=void 0===r?"#0077B5":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:a,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"}))};Pr.propTypes={color:s.string};var Ur=function(t){var r=t.color,a=void 0===r?"#4AC959":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:a,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"}))};Ur.propTypes={color:s.string};var Rr=function(t){var r=t.fbUrl,a=t.twitterUrl,n=t.linkedinUrl,o=t.whatsappUrl,i=t.iconColor,l=t.iconType,c=function(t,r){return"plain-color-svg"===r?{facebook:e.createElement(Ar,{key:r}),twitter:e.createElement(Mr,{key:r}),linkedin:e.createElement(Pr,{key:r}),whatsapp:e.createElement(Ur,{key:r})}:{facebook:e.createElement(Ar,{color:t,key:r}),twitter:e.createElement(Mr,{color:t,key:r}),linkedin:e.createElement(Pr,{color:t,key:r}),whatsapp:e.createElement(Ur,{color:t,key:r})}}(i,void 0===l?"plain-svg":l);return[{name:"facebook",url:r,icon:c.facebook,text:"Facebook",bgColor:"#4e71a8",alt:"fb icon"},{name:"twitter",url:a,icon:c.twitter,text:"Twitter",bgColor:"#1db7eb",alt:"twitter icon"},{name:"linkedin",url:n,icon:c.linkedin,text:"LinkedIn",bgColor:"#0077B5",alt:"linkedin icon"},{name:"whatsapp",url:o,icon:c.whatsapp,text:"Whatsapp",bgColor:"#25d366",alt:"whatsapp share"}]},Hr=function(t){var r=t.color,a=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("g",{fill:"none",stroke:a,strokeLinecap:"square",strokeWidth:"2"},e.createElement("path",{d:"M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"})))};Hr.propTypes={color:s.string};var Br={"./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"}},zr=function(t){var r=t.fbUrl,a=void 0===r?"":r,n=t.twitterUrl,o=void 0===n?"":n,i=t.linkedinUrl,l=void 0===i?"":i,c=t.whatsappUrl,s=void 0===c?"":c,m=t.theme,u=t.closePopup,d=void 0===u?"":u,p=t.iconType,h=void 0===p?"plain-color-svg":p,f=mt(m),_="dark"===f?"#000000":"#ffffff",v=Rr({fbUrl:a,twitterUrl:o,linkedinUrl:l,whatsappUrl:s,iconColor:_,iconType:h});return e.createElement("div",{className:T("share-popup-wrapper ".concat(f),Br)},e.createElement("div",{className:"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"},e.createElement("div",{className:"social-share-popup-m_top-bar__174Um"},e.createElement("span",{className:"social-share-popup-m_share-text__19E-F"},"Share via"),e.createElement("span",{className:"social-share-popup-m_close__3k-Hj",onClick:d},e.createElement(Hr,{color:_}))),e.createElement("ul",{className:"social-share-popup-m_wrapper__3Ytce"},v.map((function(t,r){var a=t.url,n=t.icon,o=t.text,i=t.bgColor;return t.alt,function(t,r,a,n){return t?e.createElement("li",{className:"social-share-popup-m_social-icon-wrapper__36jyV","data-testid":a,key:"popup-item-".concat(n)},e.createElement("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"social-share-popup-m_social-wrapper__1lPzr","aria-label":"social-icon"},r,e.createElement("span",{className:"social-share-popup-m_social-text__1QPXb"},a))):null}(a,n,o,i)})))))};zr.propTypes={fbUrl:s.string,twitterUrl:s.string,linkedinUrl:s.string,whatsappUrl:s.string,grey:s.string,primaryColor:s.string,closePopup:s.bool,theme:s.string,iconType:s.string};var Vr=function(t){var r=t.color,a=void 0===r?"#0D0D0D":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},e.createElement("path",{fill:a,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"}))};Vr.propTypes={color:s.string};var Fr={"./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(t){var r=t.name,a=t.url,n=t.icon,o=t.dataTestId;return a?e.createElement("li",{"data-testid":o,className:"social-share-template-m_icon__1Mnu5"},e.createElement("a",{href:a,target:"_blank",rel:"noopener noreferrer","data-share-icon":r,"aria-label":"share-icon"},n)):null};Wr.propTypes={name:s.string,url:s.string,icon:s.node,dataTestId:s.string};var Dr=function(t){var r=t.fbUrl,o=void 0===r?"":r,i=t.twitterUrl,l=void 0===i?"":i,c=t.linkedinUrl,s=void 0===c?"":c,m=t.whatsappUrl,u=void 0===m?"":m,d=t.vertical,p=void 0!==d&&d,h=t.theme,f=t.iconType,_=void 0===f?"plain-color-svg":f,v=t.open,g=void 0!==v&&v;if(!(o||l||s||u))return null;var y=mt(h),b="dark"===y?"#000000":"#ffffff",k=Rr({fbUrl:o,twitterUrl:l,linkedinUrl:s,whatsappUrl:u,iconColor:b,iconType:_}),x=Et(a(g),2),N=x[0],C=x[1],q=p?"vertical":"horizontal";n((function(){return C(g)}),[g]);var j=function(){return e.createElement("li",{className:"social-share-template-m_icon__1Mnu5",key:"horizontal-0"},e.createElement("div",{onClick:I},function(t,r){return t?e.createElement(Hr,{color:r}):e.createElement(Vr,{color:r})}(N,b)))},I=function(){C(!N)},O=!N&&p?"tablet-view-popup":"";return e.createElement("div",{"data-test-id":q,className:"arr--share "+T("".concat(y," ").concat(q," ").concat(O),Fr)},e.createElement("div",{className:"social-share-template-m_desktop-view__3TmkO"},e.createElement("ul",{"data-test-id":w(_),className:"desktop-share-wrapper "+T("wrapper ".concat(N?"open":""),Fr)},j(),k.map((function(t,r){return e.createElement(Wr,E({},t,{key:t.name,dataTestId:"card-share-".concat(r)}))})))),e.createElement("div",{className:"social-share-template-m_tablet-view__kATzi"},!N&&e.createElement("ul",{className:T("wrapper ".concat(N?"open":""),Fr)},j()),N&&e.createElement(e.Fragment,null,e.createElement("div",{className:"social-share-template-m_overlay__1nBp-",onClick:I},e.createElement("div",{className:"arr--popup "+T("popup-wrapper ".concat(N?"popup-open":""),Fr)},e.createElement(zr,{fbUrl:o,twitterUrl:l,linkedinUrl:s,whatsappUrl:u,iconType:_,theme:h,closePopup:function(){C(!1)}}))))))};Dr.propTypes={fbUrl:s.string,twitterUrl:s.string,linkedinUrl:s.string,whatsappUrl:s.string,vertical:s.bool,theme:s.string,iconType:s.string,open:s.boolean};var Gr=function(t){var r=t.color,a=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),e.createElement("path",{stroke:a,d:"M9 16L1 8l8-8"})))};Gr.propTypes={color:s.string};var Qr=function(t){var r=t.color,a=void 0===r?"#333":r;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},e.createElement("g",{fill:"none",fillRule:"nonzero"},e.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),e.createElement("path",{stroke:a,d:"M1 0l8 8-8 8"})))};Qr.propTypes={color:s.string};var Zr={"./slider-arrow.m.css":{arrow:"slider-arrow-m_arrow__1eBUU","left-arrow-dark":"slider-arrow-m_left-arrow-dark__3mTJS","right-arrow-dark":"slider-arrow-m_right-arrow-dark__3hWZe","left-arrow-light":"slider-arrow-m_left-arrow-light__2ipUK","right-arrow-light":"slider-arrow-m_right-arrow-light__3omMU","left-arrow-ltr":"slider-arrow-m_left-arrow-ltr__1ngNF","right-arrow-ltr":"slider-arrow-m_right-arrow-ltr__2svWX","left-arrow-rtl":"slider-arrow-m_left-arrow-rtl__2ynyn","right-arrow-rtl":"slider-arrow-m_right-arrow-rtl__1GjPz"}},Yr=function(t){var r=t.selectedIndex,a=t.previousClick,n=t.nextClick,o=t.noOfItems,i=t.perView,l=t.languageDirection;if(o<1)return null;var c=_t()||{},s=mt(c.theme),m="rtl"===l?"left-arrow-rtl":"left-arrow-ltr",u="rtl"===l?"right-arrow-rtl":"right-arrow-ltr";return e.createElement(e.Fragment,null,0!==r?e.createElement("button",{onClick:a,className:("left-arrow ".concat(m)?"left-arrow ".concat(m)+" ":"")+T("arrow left-arrow-".concat(s," ").concat(m),Zr)},e.createElement(Gr,{color:"dark"===s?"#fff":"#333"})):null,r<o-1&&!(r>=o-i)?e.createElement("button",{onClick:n,className:("right-arrow ".concat(u)?"right-arrow ".concat(u)+" ":"")+T("arrow right-arrow-".concat(s," ").concat(u),Zr)},e.createElement(Qr,{color:"dark"===s?"#fff":"#333"})):null)};Yr.propTypes={noOfItems:m,perView:m,slideIndicator:u,previousClick:d,nextClick:d,selectedIndex:m,languageDirection:u};var Kr={"./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"}},Xr=function(t){var r=t.indicatorItems,a=t.indicatorClick,n=t.selectedIndex,o=t.indicatorType;if(r.length<1)return null;var i=_t()||{},l=mt(i.theme);return e.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},r.map((function(t,r){return e.createElement("li",{key:"slider-".concat(r),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(e){return a(e,r)}},e.createElement("button",{"aria-pressed":n===r?"true":"false",className:("indicator-button indicator-".concat(o)?"indicator-button indicator-".concat(o)+" ":"")+T("indicator-button indicator-".concat(o," indicator-").concat(o,"-").concat(l),Kr)}))})))};Xr.propTypes={indicatorItems:p,perView:m,indicatorType:u,indicatorClick:d,selectedIndex:m};var Jr=function(e,t,r,a){var n,o,i,l,c=Math.floor(r.current.scrollWidth*(e/a)),s="rtl"===t?-1*c:c;n=r.current,o=s,i=!0,n.scrollTo((Kt(l={},i?"left":"top",o),Kt(l,"behavior","smooth"),l))},$r=function(e,t){var r;return function(){clearTimeout(r),r=setTimeout((function(){r=null,e()}),t)}},ea=function(t){var r=t.children,o=t.isArrow,i=t.interval,c=t.isInfinite,s=t.pauseOnHover,m=t.perView,u=t.slideIndicator,d=Et(a(0),2),p=d[0],h=d[1],f=Et(a(!1),2),_=f[0],v=f[1],g=b((function(e){return ot(e,["qt","config","language","direction"],"ltr")})),y=r?r.length:0,w=l(null),E=r.length-(m-1),k=r.slice(0,E);n((function(){return w.current&&(w.current.addEventListener("scroll",$r((function(){var e=Math.round(w.current.scrollLeft/w.current.scrollWidth*y);h(Math.abs(e))}),150)),0!==p&&Jr(p)),function(){w.current.removeEventListener("scroll",$r)}}),[]),n((function(){if(c&&!_){var e=setInterval((function(){x()}),i);return function(){clearInterval(e)}}}),[c,_]);var x=function(){h((function(e){var t=e===y-m?0:e+1;return Jr(t,g,w,y),t}))},N=function(){s&&v(!_)};return e.createElement("div",{className:"scroll-snap-container"},e.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:N,onMouseLeave:N},e.createElement("div",{ref:w,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},r),o&&e.createElement(Yr,{noOfItems:y,perView:m,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=p-1;h(t),Jr(t,g,w,y)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),p<y){var t=p+1;h(t),Jr(t,g,w,y)}},selectedIndex:p,languageDirection:g})),r.length>m&&"none"!==u&&e.createElement(Xr,{indicatorItems:k,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),h(t),Jr(t,g,w,y)},selectedIndex:p,indicatorType:u}))};ea.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},ea.propTypes={children:p.isRequired,isArrow:h,isInfinite:h,interval:m,pauseOnHover:h,perView:m,slideIndicator:u};var ta=function(t){if(!t.element)return null;var r=function(r){var a=r.onClickHandler,n=c(t,["element","story-elements"],[]);return e.createElement("div",{className:"arr--image-slideshow-element image-slideshow-m_slideshow__3jRFX","data-test-id":"image-slideshow"},e.createElement(ea,{slideIndicator:"none"},n.map((function(t,r){return function(t,r,a){var n=t.id,o=t["image-s3-key"],i=t.metadata,l=t.title,c=t.hyperlink,s=void 0===c?"":c;return e.createElement("div",{className:"image-slideshow-m_slide__3URCC",key:n},e.createElement("figure",{key:n,className:"image-slideshow-m_image-container__2VTEK",onClick:function(){return a(r)}},e.createElement(_,{margin:"0px"},e.createElement(v,{slug:o,metadata:i,"aspect-ratio":[16,9],defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},className:"image-slideshow-m_image__1p1fO",alt:l}))),s&&e.createElement($t,{hyperLink:s}),e.createElement("p",{className:"image-slideshow-m_caption__mWpmc",dangerouslySetInnerHTML:{__html:l}}))}(t,r,a)}))))};return r.propTypes={onClickHandler:s.func},e.createElement(rr,{template:r,element:t.element})};ta.propTypes={element:s.shape({"story-elements":s.array}),story:pt};var ra=I(ta),aa={"./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"}},na=function(e){return e.subtype||e.type||""},oa=function(t,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5?arguments[5]:void 0,l=arguments.length>6?arguments[6]:void 0,s=a.text,m=void 0===s?{}:s,u=a.summary,d=void 0===u?{}:u,p=a.blurb,h=void 0===p?{}:p,f=a.blockquote,_=void 0===f?{}:f,v=a.quote,g=void 0===v?{}:v,y=a["also-read"],b=void 0===y?{}:y,w=a["q-and-a"],k=void 0===w?{}:w,x=a.question,N=void 0===x?{}:x,C=a.answer,T=void 0===C?{}:C,q=a.references,j=void 0===q?{}:q,I=na(r);"image-gallery"===I&&(I=r.metadata.type);var O=c(r,["id"]);switch(I){case"ad":return e.createElement(n,E({},r,{id:"ad-".concat(i,"_").concat(l)}));case"widget":return e.createElement(o,{widgetCode:r.config.customCode,id:"widget-".concat(i,"_").concat(l)});case"text":case"cta":var S=m.css,L=(S=void 0===S?{}:S).textColor,M=void 0===L?"#000":L,A=S.hyperlinkColor,P=void 0===A?"#2f81cd":A;return e.createElement(bt,{element:r,css:{textColor:M,hyperlinkColor:P}});case"summary":var U=d.template,R=void 0===U?"":U,H=d.css,B=(H=void 0===H?{}:H).headerBgColor,z=void 0===B?"":B,V=d.opts,F=(V=void 0===V?{}:V).headline,W=void 0===F?"":F,D=V.hideHeadline,G=void 0!==D&&D;return e.createElement(It,{element:r,template:R,opts:{headline:W||"Summary",hideHeadline:G},css:{headerBgColor:z||""}});case"blurb":var Q=h.template,Z=void 0===Q?"default":Q,Y=h.css,K=(Y=void 0===Y?{}:Y).borderColor,X=void 0===K?"#2f81cd":K;return e.createElement(Ct,{element:r,template:Z,css:{borderColor:X}});case"blockquote":var J=_.template,$=void 0===J?"default":J,ee=_.css,te=(ee=void 0===ee?{}:ee).iconType,re=void 0===te?"edgeIcon":te,ae=ee.blockQuoteColor,ne=void 0===ae?"#2f81cd":ae,oe=ee.backgroundShade,ie=void 0===oe?"":oe;return e.createElement(Ut,{element:r,template:$,css:{iconType:re,blockQuoteColor:ne,backgroundShade:ie}});case"quote":var le=g.template,ce=void 0===le?"borderNone":le,se=g.css,me=(se=void 0===se?{}:se).borderColor,ue=void 0===me?"#2f81cd":me;return e.createElement(Nr,{element:r,template:ce,css:{borderColor:ue}});case"bigfact":return e.createElement(zt,{element:r});case"also-read":var de=b.template,pe=void 0===de?"default":de,he=b.css,fe=(he=void 0===he?{}:he).textColor,_e=void 0===fe?"#000":fe,ve=b.opts,ge=(ve=void 0===ve?{}:ve).title,ye=void 0===ge?"":ge;return e.createElement(Yt,{story:t,element:r,template:pe,css:{textColor:_e},opts:{title:ye}});case"image":return e.createElement(lr,{element:r});case"q-and-a":var be=k.template,we=void 0===be?"default":be,Ee=k.css,ke=(Ee=void 0===Ee?{}:Ee).iconColor,xe=void 0===ke?"":ke,Ne=k.opts,Ce=(Ne=void 0===Ne?{}:Ne).defaultIconType,Te=void 0===Ce?"edge":Ce;return e.createElement(ur,{element:r,opts:{type:"q-and-a",defaultIconType:Te},template:we,css:{iconColor:xe}});case"question":var qe=N.template,je=void 0===qe?"default":qe,Ie=N.css,Oe=(Ie=void 0===Ie?{}:Ie).questionIconColor,Se=void 0===Oe?"":Oe,Le=N.opts,Me=(Le=void 0===Le?{}:Le).defaultQuestionIconType,Ae=void 0===Me?"edge":Me;return e.createElement(ur,{element:r,opts:{type:"question",defaultIconType:Ae},template:je,css:{iconColor:Se}});case"answer":var Pe=T.template,Ue=void 0===Pe?"default":Pe,Re=T.css,He=(Re=void 0===Re?{}:Re).answerIconColor,Be=void 0===He?"":He,ze=T.opts,Ve=(ze=void 0===ze?{}:ze).defaultAnswerIconType,Fe=void 0===Ve?"edge":Ve;return e.createElement(ur,{element:r,opts:{type:"answer",defaultIconType:Fe},template:Ue,css:{iconColor:Be}});case"gallery":return e.createElement("div",{className:"content-style",id:"image-gallery-".concat(O)},e.createElement(fr,{element:r}));case"slideshow":return e.createElement("div",{className:"content-style",id:"image-slideshow-".concat(O)},e.createElement(ra,{element:r}));case"youtube-video":case"dailymotion-video":return e.createElement("div",{className:"content-style",id:"video-".concat(O)},e.createElement(wr,{element:r,story:t,loadIframeOnClick:!0}));case"attachment":return e.createElement(Lr,{element:r});case"tweet":case"jsembed":return e.createElement("div",{className:"content-style",id:"jsembed-".concat(O)},e.createElement(gr,{element:r}));case"references":var We=j.opts,De=(We=void 0===We?{}:We).showHeadline,Ge=void 0===De||De,Qe=We.headlineText,Ze=void 0===Qe?"":Qe;return e.createElement(jr,{element:r,opts:{showHeadline:Ge,headlineText:Ze}});default:return e.createElement("div",{className:"content-style",id:"element-".concat(O)},e.createElement(gr,{element:r,story:t}))}},ia=function(t){var r=t.imageElement,a=t.story;t.children;var n=t.config,o=t.card;return e.createElement(e.Fragment,null,e.createElement("div",{style:{backgroundColor:n.theme}},e.createElement(lr,{element:r,caption:!1}),e.createElement("div",{className:"story-element-card-m_image-share__2V7dB"},e.createElement(nr,{element:r,config:n}),e.createElement(y,{template:Dr,title:a.headline,theme:n.theme,fullUrl:encodeURI("".concat(c(a,["url"],""),"?cardId=").concat(c(o,["id"],-1)))}))))};ia.propTypes={story:s.object,imageElement:s.object,config:s.object,children:s.node,card:s.shape({id:s.string})};var la=function(t){var r=t.story,a=t.card,n=t.heroVideoElementId,o=void 0===n?-1:n,i=t.config,l=t.isLive,s=t.theme,m=t.adComponent,u=t.widgetComp,d=mt(s),p=l?"live-blog":"",h=!0;return e.createElement("div",{className:"arr--story-page-card-wrapper"},c(a,["story-elements"],[]).map((function(t,n){if(t.id===o)return!1;t.subtype&&"facebook-post"===t.subtype&&h&&(ht(),h=!1);var l=t&&"table"===t.subtype?"table":"",s=c(a,["id"],"");return e.createElement("div",{key:t.id,className:"arr--element-container "+T("element-container ".concat(p," ").concat(l," ").concat(d),aa)},oa(r,t,i,m,u,n,s))})))};la.propTypes={story:s.object,card:s.array,heroVideoElementId:s.number,config:s.object,isLive:s.bool,theme:s.string,adComponent:s.func,widgetComp:s.func};var ca=function(t){var r=t.card,a=void 0===r?{}:r,n=t.config,o=t.story,i=t.adComponent,l=t.widgetComp,s=!0;return e.createElement("div",{className:"story-element-card-m_story-card__H2VYl"},c(a,["story-elements"],[]).map((function(t,r){var m=c(a,["id"],"");return"image"===t.type?e.createElement(ia,{imageElement:t,story:o,config:n,card:a}):(t.subtype&&"facebook-post"===t.subtype&&s&&(ht(),s=!1),e.createElement("div",{className:"story-element-card-m_element-container__1ZeJL",key:r},oa(o,t,n,i,l,r,m)))})))};ca.propTypes={story:s.object,card:s.object,config:s.object,adComponent:s.func,widgetComp:s.func};var sa=function(t){var r=t.id,a=void 0===r?"":r,n=t.element,o=void 0===n?{}:n,i=t.AdComponent,l=t.WidgetComp;switch(o.type){case"ad":return e.createElement(i,E({},o,{id:"ad-after-story-".concat(a)}));case"widget":return e.createElement(l,{widgetCode:o.config.customCode,id:"widget-after-story-".concat(a)});default:return null}};sa.propTypes={id:s.string,element:s.object,AdComponent:s.func,WidgetComp:s.func};export{ca as PhotoStoryElement,sa as SlotAfterStory,la as StoryElementCard};