@quintype/arrow 3.1.0 → 3.2.1-arrow-chunking.1

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 (78) hide show
  1. package/AlsoRead/index.js +1 -0
  2. package/AlternateCollectionFilter/index.js +1 -0
  3. package/AsideCollection/index.js +1 -0
  4. package/Attachment/index.js +1 -0
  5. package/Author/index.js +1 -0
  6. package/AuthorIntroductionCard/index.js +1 -0
  7. package/AuthorWithTime/index.js +1 -0
  8. package/AuthorsList/index.js +1 -0
  9. package/BigFact/index.js +1 -0
  10. package/BlockQuote/index.js +1 -0
  11. package/Blurb/index.js +1 -0
  12. package/CollectionFilter/index.js +1 -0
  13. package/CollectionName/index.js +1 -0
  14. package/ElevenStories/index.js +1 -0
  15. package/FourColFiveStories/index.js +1 -0
  16. package/FourColFiveStories/styles.arrow.css +1 -1
  17. package/FourColGrid/index.js +1 -0
  18. package/FourColSixteenStories/index.js +1 -0
  19. package/FourColTwelveStories/index.js +1 -0
  20. package/FourStorySlider/index.js +1 -0
  21. package/FourTabbedBigStorySlider/index.js +1 -0
  22. package/FullScreenSlider/index.js +1 -0
  23. package/HalfScreenSlider/index.js +1 -0
  24. package/Headline/index.js +1 -0
  25. package/HeroImage/index.js +1 -0
  26. package/Image/index.js +1 -0
  27. package/ImageGallery/index.js +1 -0
  28. package/ImageSlideshow/index.js +1 -0
  29. package/KeyEvents/index.js +1 -0
  30. package/ListComponent/index.js +1 -0
  31. package/ListicleStoryTemplate/index.js +1 -0
  32. package/Listicles/index.js +1 -0
  33. package/LiveBlogStoryTemplate/index.js +1 -0
  34. package/LiveBlogStoryTemplate/styles.arrow.css +1 -1
  35. package/LoadmoreButton/index.js +1 -0
  36. package/MagazineEditions/index.js +1 -0
  37. package/MagazineHeaderCard/index.js +1 -0
  38. package/MagazineWidget/index.js +1 -0
  39. package/OneColStoryList/index.js +1 -0
  40. package/OpinionCollection/index.js +1 -0
  41. package/PageIntroductionCard/index.js +1 -0
  42. package/PhotoStoryTemplate/index.js +1 -0
  43. package/QuestionAnswer/index.js +1 -0
  44. package/Quote/index.js +1 -0
  45. package/Reference/index.js +1 -0
  46. package/ScrollSnap/index.js +1 -0
  47. package/SectionTag/index.js +1 -0
  48. package/SixColSixStories/index.js +1 -0
  49. package/SocialShareTemplate/index.js +1 -0
  50. package/StoryCard/index.js +1 -0
  51. package/StoryCollection/index.js +1 -0
  52. package/StoryElement/index.js +1 -0
  53. package/StoryElementCard/index.js +1 -0
  54. package/StorycardContent/index.js +1 -0
  55. package/Subheadline/index.js +1 -0
  56. package/Summary/index.js +1 -0
  57. package/TagIntroductionCard/index.js +1 -0
  58. package/Text/index.js +1 -0
  59. package/TextStoryTemplate/index.js +1 -0
  60. package/TextStoryTemplate/styles.arrow.css +1 -1
  61. package/ThreeColFlexStories/index.js +1 -0
  62. package/ThreeColFourteenStories/index.js +1 -0
  63. package/ThreeColGrid/index.js +1 -0
  64. package/ThreeColSevenStory/index.js +1 -0
  65. package/ThreeColSixStories/index.js +1 -0
  66. package/ThreeColTwelveStories/index.js +1 -0
  67. package/TimeStamp/index.js +1 -0
  68. package/TwoColFourStories/index.js +1 -0
  69. package/TwoColFourStoryHighlight/index.js +1 -0
  70. package/TwoColSixStories/index.js +1 -0
  71. package/TwoColSixStories/styles.arrow.css +1 -1
  72. package/TwoColTenStoriesSidebar/index.js +1 -0
  73. package/TwoColThreeStories/index.js +1 -0
  74. package/Video/index.js +1 -0
  75. package/VideoStoryTemplate/index.js +1 -0
  76. package/cjs/index.js +1 -9
  77. package/esm/index.js +1 -9
  78. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import t,{useContext as e,createContext as r}from"react";import n from"prop-types";import"react-timeago";var o="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function a(t){var e={exports:{}};return t(e,e.exports),e.exports}var u=a((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),c=i(a((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=u)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},u=a.handleMissingStyleName,c=void 0===u?n.default.handleMissingStyleName:u,l=a.autoResolveMultipleImports,s=void 0===l?n.default.autoResolveMultipleImports:l;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],u=i[1],c=r||n.default.handleMissingStyleName;return u?e[a]?e[a][u]?e[a][u]:o("CSS module does not exist: "+u,c):o("CSS module import does not exist: "+a,c):o("Invalid style name: "+t,c)}(t,e,c);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!s)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,c)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",c)})).filter((function(t){return t})).join(" "):""}}))),l=Array.isArray,s="object"==typeof o&&o&&o.Object===Object&&o,h="object"==typeof self&&self&&self.Object===Object&&self,f=s||h||Function("return this")(),p=f.Symbol,v=Object.prototype,d=v.hasOwnProperty,y=v.toString,g=p?p.toStringTag:void 0;var m=function(t){var e=d.call(t,g),r=t[g];try{t[g]=void 0;var n=!0}catch(t){}var o=y.call(t);return n&&(e?t[g]=r: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){return null!=t&&"object"==typeof t};var x=function(t){return"symbol"==typeof t||O(t)&&"[object Symbol]"==j(t)},S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,E=/^\w*$/;var L=function(t,e){if(l(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!x(t))||(E.test(t)||!S.test(t)||null!=e&&t in Object(e))};var N=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var C,k=function(t){if(!N(t))return!1;var e=j(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},z=f["__core-js_shared__"],F=(C=/[^.]+$/.exec(z&&z.keys&&z.keys.IE_PROTO||""))?"Symbol(src)_1."+C:"";var P=function(t){return!!F&&F in t},I=Function.prototype.toString;var T=function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""},A=/^\[object .+?Constructor\]$/,M=Function.prototype,$=Object.prototype,G=M.toString,R=$.hasOwnProperty,Y=RegExp("^"+G.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var U=function(t){return!(!N(t)||P(t))&&(k(t)?Y:A).test(T(t))};var q=function(t,e){return null==t?void 0:t[e]};var W=function(t,e){var r=q(t,e);return U(r)?r:void 0},B=W(Object,"create");var D=function(){this.__data__=B?B(null):{},this.size=0};var H=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},J=Object.prototype.hasOwnProperty;var K=function(t){var e=this.__data__;if(B){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return J.call(e,t)?e[t]:void 0},Q=Object.prototype.hasOwnProperty;var V=function(t){var e=this.__data__;return B?void 0!==e[t]:Q.call(e,t)};var X=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=B&&void 0===e?"__lodash_hash_undefined__":e,this};function Z(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Z.prototype.clear=D,Z.prototype.delete=H,Z.prototype.get=K,Z.prototype.has=V,Z.prototype.set=X;var tt=Z;var et=function(){this.__data__=[],this.size=0};var rt=function(t,e){return t===e||t!=t&&e!=e};var nt=function(t,e){for(var r=t.length;r--;)if(rt(t[r][0],e))return r;return-1},ot=Array.prototype.splice;var it=function(t){var e=this.__data__,r=nt(e,t);return!(r<0)&&(r==e.length-1?e.pop():ot.call(e,r,1),--this.size,!0)};var at=function(t){var e=this.__data__,r=nt(e,t);return r<0?void 0:e[r][1]};var ut=function(t){return nt(this.__data__,t)>-1};var ct=function(t,e){var r=this.__data__,n=nt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function lt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}lt.prototype.clear=et,lt.prototype.delete=it,lt.prototype.get=at,lt.prototype.has=ut,lt.prototype.set=ct;var st=lt,ht=W(f,"Map");var ft=function(){this.size=0,this.__data__={hash:new tt,map:new(ht||st),string:new tt}};var pt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var vt=function(t,e){var r=t.__data__;return pt(e)?r["string"==typeof e?"string":"hash"]:r.map};var dt=function(t){var e=vt(this,t).delete(t);return this.size-=e?1:0,e};var yt=function(t){return vt(this,t).get(t)};var gt=function(t){return vt(this,t).has(t)};var mt=function(t,e){var r=vt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function _t(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}_t.prototype.clear=ft,_t.prototype.delete=dt,_t.prototype.get=yt,_t.prototype.has=gt,_t.prototype.set=mt;var bt=_t;function wt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(wt.Cache||bt),r}wt.Cache=bt;var jt=wt;var Ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/\\(\\)?/g,St=function(t){var e=jt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ot,(function(t,r,n,o){e.push(n?o.replace(xt,"$1"):r||t)})),e}));var Et=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},Lt=p?p.prototype:void 0,Nt=Lt?Lt.toString:void 0;var Ct=function t(e){if("string"==typeof e)return e;if(l(e))return Et(e,t)+"";if(x(e))return Nt?Nt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var kt=function(t){return null==t?"":Ct(t)};var zt=function(t,e){return l(t)?t:L(t,e)?[t]:St(kt(t))};var Ft=function(t){if("string"==typeof t||x(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Pt=function(t,e){for(var r=0,n=(e=zt(e,t)).length;null!=t&&r<n;)t=t[Ft(e[r++])];return r&&r==n?t:void 0};var It=function(t,e,r){var n=null==t?void 0:Pt(t,e);return void 0===n?r:n},Tt=r();a((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=h;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=S(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=s(t,e,r);if("normal"===c.type){if(n=r.done?v:f,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=v,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var h="suspendedStart",f="suspendedYield",p="executing",v="completed",d={};function y(){}function g(){}function m(){}var _={};c(_,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(C([])));w&&w!==r&&n.call(w,i)&&(_=w);var j=m.prototype=y.prototype=Object.create(_);function O(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,u){var c=s(t[o],t,i);if("throw"!==c.type){var l=c.arg,h=l.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(h).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function S(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return g.prototype=m,c(j,"constructor",m),c(m,"constructor",g),g.displayName=c(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,c(t,u,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},O(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(j),c(j,u,"Generator"),c(j,i,(function(){return this})),c(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=C,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:C(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var At=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Mt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t};n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var $t={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Gt=function(r){var n=r.story,o=r.truncateChars,i=void 0===o?200:o,a=r.lineClamp,u=r.clazzName,l=void 0===u?"":u,s=r.forceShowAtom,h=r.showFullContent,f=e(Tt)||{};if(!(s||It(f,["showSubheadline"],!0)))return null;var p=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:Mt(t);return At(e)<155?"light":"dark"}(f.theme);return t.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+c("subheadline ".concat(p),$t)},h||"number"==typeof a?n.subheadline:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof t&&t.length>e?t.substring(0,e)+r:t}(n.subheadline,i,!0))};Gt.propTypes={story:n.object.isRequired,lineClamp:n.number,truncateChars:n.number,clazzName:n.string,forceShowAtom:n.bool,showFullContent:n.bool},Gt.defaultProps={forceShowAtom:!1,showFullContent:!1};export{Gt as Subheadline};
@@ -0,0 +1 @@
1
+ import t,{useContext as e,createContext as r}from"react";import n from"prop-types";import"react-timeago";function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function a(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t){var e={exports:{}};return t(e,e.exports),e.exports}var c=u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),l=s(u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=c)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var a=Object.keys(e),i=r||{},s=i.handleMissingStyleName,u=void 0===s?n.default.handleMissingStyleName:s,c=i.autoResolveMultipleImports,l=void 0===c?n.default.autoResolveMultipleImports:c;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var a=t.split("."),i=a[0],s=a[1],u=r||n.default.handleMissingStyleName;return s?e[i]?e[i][s]?e[i][s]:o("CSS module does not exist: "+s,u):o("CSS module import does not exist: "+i,u):o("Invalid style name: "+t,u)}(t,e,u);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(a.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(i.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+t+"'.",a):e[i[0]][t]}(t,e,u)}var r=e[a[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",u)})).filter((function(t){return t})).join(" "):""}}))),h=["element","render"],f=function(e){return function(r){var n=r.element,i=r.render,s=a(r,h);return n?i&&"function"==typeof i?i(r):t.createElement(e,o({},s,{element:n})):null}};f.propTypes={StoryElement:n.element},u((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),i=new N(n||[]);return a._invoke=function(t,e,r){var n=h;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw a;return P()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=E(i,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?d:f,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=d,r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",y={};function v(){}function m(){}function g(){}var _={};u(_,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(k([])));w&&w!==r&&n.call(w,a)&&(_=w);var O=g.prototype=v.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,a,i,s){var u=l(t[o],t,a);if("throw"!==u.type){var c=u.arg,h=c.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(h).then((function(t){c.value=t,i(c)}),(function(t){return r("throw",t,i,s)}))}s(u.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:P}}function P(){return{value:e,done:!0}}return m.prototype=g,u(O,"constructor",g),u(g,"constructor",m),m.displayName=u(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,s,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},j(x.prototype),u(x.prototype,i,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new x(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},j(O),u(O,s,"Generator"),u(O,a,(function(){return this})),u(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,y):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var p="object"==typeof i&&i&&i.Object===Object&&i,d="object"==typeof self&&self&&self.Object===Object&&self,y=p||d||Function("return this")(),v=y.Symbol,m=Object.prototype,g=m.hasOwnProperty,_=m.toString,b=v?v.toStringTag:void 0;var w=function(t){var e=g.call(t,b),r=t[b];try{t[b]=void 0;var n=!0}catch(t){}var o=_.call(t);return n&&(e?t[b]=r:delete t[b]),o},O=Object.prototype.toString;var j=function(t){return O.call(t)},x=v?v.toStringTag:void 0;var E=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":x&&x in Object(t)?w(t):j(t)};var S=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var L,N=function(t){if(!S(t))return!1;var e=E(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},k=y["__core-js_shared__"],P=(L=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"";var C=function(t){return!!P&&P in t},I=Function.prototype.toString;var T=function(t){if(null!=t){try{return I.call(t)}catch(t){}try{return t+""}catch(t){}}return""},M=/^\[object .+?Constructor\]$/,F=Function.prototype,z=Object.prototype,G=F.toString,R=z.hasOwnProperty,$=RegExp("^"+G.call(R).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var A=function(t){return!(!S(t)||C(t))&&(N(t)?$:M).test(T(t))};var H=function(t,e){return null==t?void 0:t[e]};var Y=function(t,e){var r=H(t,e);return A(r)?r:void 0},B=Y(Object,"create");var U=function(){this.__data__=B?B(null):{},this.size=0};var J=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},K=Object.prototype.hasOwnProperty;var V=function(t){var e=this.__data__;if(B){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return K.call(e,t)?e[t]:void 0},Z=Object.prototype.hasOwnProperty;var q=function(t){var e=this.__data__;return B?void 0!==e[t]:Z.call(e,t)};var D=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=B&&void 0===e?"__lodash_hash_undefined__":e,this};function Q(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Q.prototype.clear=U,Q.prototype.delete=J,Q.prototype.get=V,Q.prototype.has=q,Q.prototype.set=D;var W=Q;var X=function(){this.__data__=[],this.size=0};var tt=function(t,e){return t===e||t!=t&&e!=e};var et=function(t,e){for(var r=t.length;r--;)if(tt(t[r][0],e))return r;return-1},rt=Array.prototype.splice;var nt=function(t){var e=this.__data__,r=et(e,t);return!(r<0)&&(r==e.length-1?e.pop():rt.call(e,r,1),--this.size,!0)};var ot=function(t){var e=this.__data__,r=et(e,t);return r<0?void 0:e[r][1]};var at=function(t){return et(this.__data__,t)>-1};var it=function(t,e){var r=this.__data__,n=et(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function st(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}st.prototype.clear=X,st.prototype.delete=nt,st.prototype.get=ot,st.prototype.has=at,st.prototype.set=it;var ut=st,ct=Y(y,"Map");var lt=function(){this.size=0,this.__data__={hash:new W,map:new(ct||ut),string:new W}};var ht=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var ft=function(t,e){var r=t.__data__;return ht(e)?r["string"==typeof e?"string":"hash"]:r.map};var pt=function(t){var e=ft(this,t).delete(t);return this.size-=e?1:0,e};var dt=function(t){return ft(this,t).get(t)};var yt=function(t){return ft(this,t).has(t)};var vt=function(t,e){var r=ft(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function mt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}mt.prototype.clear=lt,mt.prototype.delete=pt,mt.prototype.get=dt,mt.prototype.has=yt,mt.prototype.set=vt;var gt=mt;function _t(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(_t.Cache||gt),r}_t.Cache=gt;var bt=_t;var wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ot=/\\(\\)?/g;(function(t){var e=bt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache})((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(wt,(function(t,r,n,o){e.push(n?o.replace(Ot,"$1"):r||t)})),e}));var jt=v?v.prototype:void 0;jt&&jt.toString;var xt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Et=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},St=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t),r=e?t:Et(t),n=xt(r)<155?"light":"dark";return n},Lt=n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),Nt=n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string}),kt=r(),Pt=["element","template","opts","css","story","config","render"],Ct={"./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"}},It=function(r){var n=r.element,i=r.template,s=void 0===i?"":i,u=r.opts,c=void 0===u?{}:u,h=r.css,f=void 0===h?{}:h;r.story,r.config,r.render;var p=a(r,Pt),d=e(kt)||{},y=St(d.theme),v=n.text;if(!v)return null;var m=f.headerBgColor,g=c.isExternalLink,_=void 0===g||g,b=c.headline,w=void 0===b?"Summary":b,O=c.hideHeadline,j=void 0!==O&&O,x=_&&function(t){var e=t,r=t.match(/(<a).*?(>)/g);return r&&r.forEach((function(t){/target=/g.test(t)||(e=e.replace(t,"<a aria-label='content' target='_blank'".concat(t.substring(2))))})),e}(v)||v,E=["header","border"].includes(s)?"summary-".concat(s):"summary",S=j?"content-border":"",L="header"===s||"border"===s,N=L?"".concat(m):"",k=L?St(m):"",P="header"===s?"":y;return t.createElement("div",o({"data-test-id":"summary"},p,{className:"arrow-component arr--summary-element arr-custom-style "+l(E,Ct)+" "+(p&&p.className||"")}),!j&&t.createElement("div",{"data-test-id":"summary-headline",className:l("heading-wrapper ".concat(y),Ct)},t.createElement("div",{style:{backgroundColor:N},className:l("headline ".concat(k," ").concat(y),Ct)},w)),t.createElement("div",{dangerouslySetInnerHTML:{__html:x},className:l("content ".concat(S," ").concat(P," ").concat(y),Ct)}))};It.propTypes={element:n.shape({text:n.string}),template:n.string,opts:n.shape({isExternalLink:n.bool,headline:n.string,hideHeadline:n.bool}),story:Nt,config:Lt,render:n.func,css:n.shape({headerBgColor:n.string})};var Tt=f(It);export{Tt as Summary};
@@ -0,0 +1 @@
1
+ import t from"react";import e from"prop-types";import"react-timeago";var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function o(t){var e={exports:{}};return t(e,e.exports),e.exports}var i=o((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),a=n(o((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=i)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},c=a.handleMissingStyleName,u=void 0===c?n.default.handleMissingStyleName:c,s=a.autoResolveMultipleImports,l=void 0===s?n.default.autoResolveMultipleImports:s;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],c=i[1],u=r||n.default.handleMissingStyleName;return c?e[a]?e[a][c]?e[a][c]:o("CSS module does not exist: "+c,u):o("CSS module import does not exist: "+a,u):o("Invalid style name: "+t,u)}(t,e,u);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,u)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",u)})).filter((function(t){return t})).join(" "):""}})));o((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new L(n||[]);return i._invoke=function(t,e,r){var n=h;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===h)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?d:f,u.arg===v)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=d,r.method="throw",r.arg=u.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",v={};function y(){}function g(){}function m(){}var _={};u(_,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(P([])));b&&b!==r&&n.call(b,i)&&(_=b);var j=m.prototype=y.prototype=Object.create(_);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,c){var u=l(t[o],t,i);if("throw"!==u.type){var s=u.arg,h=s.value;return h&&"object"==typeof h&&n.call(h,"__await")?e.resolve(h.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(h).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function P(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:k}}function k(){return{value:e,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 e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.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}},x(O.prototype),u(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(j),u(j,c,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=P,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var 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,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;S(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:P(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var c="object"==typeof r&&r&&r.Object===Object&&r,u="object"==typeof self&&self&&self.Object===Object&&self,s=c||u||Function("return this")(),l=s.Symbol,h=Object.prototype,f=h.hasOwnProperty,p=h.toString,d=l?l.toStringTag:void 0;var v=function(t){var e=f.call(t,d),r=t[d];try{t[d]=void 0;var n=!0}catch(t){}var o=p.call(t);return n&&(e?t[d]=r:delete t[d]),o},y=Object.prototype.toString;var g=function(t){return y.call(t)},m=l?l.toStringTag:void 0;var _=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":m&&m in Object(t)?v(t):g(t)};var w=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var b,j=function(t){if(!w(t))return!1;var e=_(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},x=s["__core-js_shared__"],O=(b=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+b:"";var E=function(t){return!!O&&O in t},N=Function.prototype.toString;var S=function(t){if(null!=t){try{return N.call(t)}catch(t){}try{return t+""}catch(t){}}return""},L=/^\[object .+?Constructor\]$/,P=Function.prototype,k=Object.prototype,I=P.toString,F=k.hasOwnProperty,T=RegExp("^"+I.call(F).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var z=function(t){return!(!w(t)||E(t))&&(j(t)?T:L).test(S(t))};var M=function(t,e){return null==t?void 0:t[e]};var C=function(t,e){var r=M(t,e);return z(r)?r:void 0},G=C(Object,"create");var $=function(){this.__data__=G?G(null):{},this.size=0};var R=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},A=Object.prototype.hasOwnProperty;var Y=function(t){var e=this.__data__;if(G){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return A.call(e,t)?e[t]:void 0},D=Object.prototype.hasOwnProperty;var B=function(t){var e=this.__data__;return G?void 0!==e[t]:D.call(e,t)};var H=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=G&&void 0===e?"__lodash_hash_undefined__":e,this};function K(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}K.prototype.clear=$,K.prototype.delete=R,K.prototype.get=Y,K.prototype.has=B,K.prototype.set=H;var U=K;var X=function(){this.__data__=[],this.size=0};var Z=function(t,e){return t===e||t!=t&&e!=e};var q=function(t,e){for(var r=t.length;r--;)if(Z(t[r][0],e))return r;return-1},J=Array.prototype.splice;var Q=function(t){var e=this.__data__,r=q(e,t);return!(r<0)&&(r==e.length-1?e.pop():J.call(e,r,1),--this.size,!0)};var V=function(t){var e=this.__data__,r=q(e,t);return r<0?void 0:e[r][1]};var W=function(t){return q(this.__data__,t)>-1};var tt=function(t,e){var r=this.__data__,n=q(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function et(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}et.prototype.clear=X,et.prototype.delete=Q,et.prototype.get=V,et.prototype.has=W,et.prototype.set=tt;var rt=et,nt=C(s,"Map");var ot=function(){this.size=0,this.__data__={hash:new U,map:new(nt||rt),string:new U}};var it=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var at=function(t,e){var r=t.__data__;return it(e)?r["string"==typeof e?"string":"hash"]:r.map};var ct=function(t){var e=at(this,t).delete(t);return this.size-=e?1:0,e};var ut=function(t){return at(this,t).get(t)};var st=function(t){return at(this,t).has(t)};var lt=function(t,e){var r=at(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function ht(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=ot,ht.prototype.delete=ct,ht.prototype.get=ut,ht.prototype.has=st,ht.prototype.set=lt;var ft=ht;function pt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(pt.Cache||ft),r}pt.Cache=ft;var dt=pt;var vt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yt=/\\(\\)?/g;(function(t){var e=dt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache})((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(vt,(function(t,r,n,o){e.push(n?o.replace(yt,"$1"):r||t)})),e}));var gt=l?l.prototype:void 0;gt&&gt.toString;var mt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},_t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t};e.shape({"sketches-host":e.string,"cdn-name":e.string,"cdn-image":e.string}),e.shape({headline:e.string,"last-published-at":e.number,subheadline:e.string});var wt={"./tag-intro-card.module.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",description:"tag-intro-card-module_description__2PKNY",headline:"tag-intro-card-module_headline__D69tv",wrapper:"tag-intro-card-module_wrapper__2bz6X",dark:"tag-intro-card-module_dark__1IlHe",light:"tag-intro-card-module_light__3BSZP"}},bt=function(e){var r=e.data,n=e.config,o=(void 0===n?{}:n).theme,i=void 0===o?"":o,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:_t(t);return mt(e)<155?"light":"dark"}(i),u=r.tagDescription,s=r.tagName;return t.createElement("div",{style:{backgroundColor:i,color:c},className:"full-width-with-padding arrow-component "+a("wrapper ".concat(c),wt)},t.createElement("h1",{className:a("headline ".concat(c),wt)},s),t.createElement("div",{className:a("description ".concat(c),wt)},u))};bt.propTypes={data:e.shape({tagName:e.string,tagDescription:e.string}),config:e.shape({theme:e.string})};export{bt as default};
package/Text/index.js ADDED
@@ -0,0 +1 @@
1
+ import t,{useContext as e,createContext as r}from"react";import n from"prop-types";import"react-timeago";function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function s(t){var e={exports:{}};return t(e,e.exports),e.exports}var c=s((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),l=u(s((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=c)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},u=a.handleMissingStyleName,s=void 0===u?n.default.handleMissingStyleName:u,c=a.autoResolveMultipleImports,l=void 0===c?n.default.autoResolveMultipleImports:c;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],u=i[1],s=r||n.default.handleMissingStyleName;return u?e[a]?e[a][u]?e[a][u]:o("CSS module does not exist: "+u,s):o("CSS module import does not exist: "+a,s):o("Invalid style name: "+t,s)}(t,e,s);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,s)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",s)})).filter((function(t){return t})).join(" "):""}}))),f=Array.isArray,h="object"==typeof a&&a&&a.Object===Object&&a,p="object"==typeof self&&self&&self.Object===Object&&self,v=h||p||Function("return this")(),y=v.Symbol,d=Object.prototype,g=d.hasOwnProperty,m=d.toString,_=y?y.toStringTag:void 0;var b=function(t){var e=g.call(t,_),r=t[_];try{t[_]=void 0;var n=!0}catch(t){}var o=m.call(t);return n&&(e?t[_]=r:delete t[_]),o},w=Object.prototype.toString;var x=function(t){return w.call(t)},j=y?y.toStringTag:void 0;var O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":j&&j in Object(t)?b(t):x(t)};var E=function(t){return null!=t&&"object"==typeof t};var S=function(t){return"symbol"==typeof t||E(t)&&"[object Symbol]"==O(t)},L=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,N=/^\w*$/;var k=function(t,e){if(f(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!S(t))||(N.test(t)||!L.test(t)||null!=e&&t in Object(e))};var P=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var I,M=function(t){if(!P(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},T=v["__core-js_shared__"],C=(I=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"";var F=function(t){return!!C&&C in t},z=Function.prototype.toString;var A=function(t){if(null!=t){try{return z.call(t)}catch(t){}try{return t+""}catch(t){}}return""},$=/^\[object .+?Constructor\]$/,G=Function.prototype,R=Object.prototype,Y=G.toString,U=R.hasOwnProperty,H=RegExp("^"+Y.call(U).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Q=function(t){return!(!P(t)||F(t))&&(M(t)?H:$).test(A(t))};var q=function(t,e){return null==t?void 0:t[e]};var B=function(t,e){var r=q(t,e);return Q(r)?r:void 0},D=B(Object,"create");var J=function(){this.__data__=D?D(null):{},this.size=0};var K=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},V=Object.prototype.hasOwnProperty;var W=function(t){var e=this.__data__;if(D){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return V.call(e,t)?e[t]:void 0},X=Object.prototype.hasOwnProperty;var Z=function(t){var e=this.__data__;return D?void 0!==e[t]:X.call(e,t)};var tt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=D&&void 0===e?"__lodash_hash_undefined__":e,this};function et(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}et.prototype.clear=J,et.prototype.delete=K,et.prototype.get=W,et.prototype.has=Z,et.prototype.set=tt;var rt=et;var nt=function(){this.__data__=[],this.size=0};var ot=function(t,e){return t===e||t!=t&&e!=e};var it=function(t,e){for(var r=t.length;r--;)if(ot(t[r][0],e))return r;return-1},at=Array.prototype.splice;var ut=function(t){var e=this.__data__,r=it(e,t);return!(r<0)&&(r==e.length-1?e.pop():at.call(e,r,1),--this.size,!0)};var st=function(t){var e=this.__data__,r=it(e,t);return r<0?void 0:e[r][1]};var ct=function(t){return it(this.__data__,t)>-1};var lt=function(t,e){var r=this.__data__,n=it(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function ft(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ft.prototype.clear=nt,ft.prototype.delete=ut,ft.prototype.get=st,ft.prototype.has=ct,ft.prototype.set=lt;var ht=ft,pt=B(v,"Map");var vt=function(){this.size=0,this.__data__={hash:new rt,map:new(pt||ht),string:new rt}};var yt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var dt=function(t,e){var r=t.__data__;return yt(e)?r["string"==typeof e?"string":"hash"]:r.map};var gt=function(t){var e=dt(this,t).delete(t);return this.size-=e?1:0,e};var mt=function(t){return dt(this,t).get(t)};var _t=function(t){return dt(this,t).has(t)};var bt=function(t,e){var r=dt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function wt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}wt.prototype.clear=vt,wt.prototype.delete=gt,wt.prototype.get=mt,wt.prototype.has=_t,wt.prototype.set=bt;var xt=wt;function jt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(jt.Cache||xt),r}jt.Cache=xt;var Ot=jt;var Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,St=/\\(\\)?/g,Lt=function(t){var e=Ot(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Et,(function(t,r,n,o){e.push(n?o.replace(St,"$1"):r||t)})),e}));var Nt=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},kt=y?y.prototype:void 0,Pt=kt?kt.toString:void 0;var It=function t(e){if("string"==typeof e)return e;if(f(e))return Nt(e,t)+"";if(S(e))return Pt?Pt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var Mt=function(t){return null==t?"":It(t)};var Tt=function(t,e){return f(t)?t:k(t,e)?[t]:Lt(Mt(t))};var Ct=function(t){if("string"==typeof t||S(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Ft=function(t,e){for(var r=0,n=(e=Tt(e,t)).length;null!=t&&r<n;)t=t[Ct(e[r++])];return r&&r==n?t:void 0};var zt=function(t,e,r){var n=null==t?void 0:Ft(t,e);return void 0===n?r:n},At=["element","render"],$t=function(e){return function(r){var n=r.element,a=r.render,u=i(r,At);return n?a&&"function"==typeof a?a(r):t.createElement(e,o({},u,{element:n})):null}};$t.propTypes={StoryElement:n.element},s((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){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 P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===y)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=l(t,e,r);if("normal"===s.type){if(n=r.done?v:h,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=v,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",y={};function d(){}function g(){}function m(){}var _={};s(_,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(k([])));w&&w!==r&&n.call(w,i)&&(_=w);var x=m.prototype=d.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,a,u){var s=l(t[o],t,i);if("throw"!==s.type){var c=s.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){c.value=t,a(c)}),(function(t){return r("throw",t,a,u)}))}u(s.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return g.prototype=m,s(x,"constructor",m),s(m,"constructor",g),g.displayName=s(m,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,s(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},j(O.prototype),s(O.prototype,a,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new O(c(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(x),s(x,u,"Generator"),s(x,i,(function(){return this})),s(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var Gt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Rt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},Yt=n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),Ut=n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string}),Ht=r(),Qt=["element","opts","css","story","config"],qt={"./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"}},Bt=function(r){var n=r.element,a=void 0===n?{}:n,u=r.opts,s=void 0===u?{}:u,c=r.css,f=void 0===c?{}:c;r.story,r.config;var h=i(r,Qt),p=a.text;if(!p)return null;var v=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:Rt(t);return Gt(e)<155?"light":"dark"}((e(Ht)||{}).theme),y=f.textColor,d=s.isExternalLink,g=(void 0===d||d)&&function(t){var e=t,r=t.match(/(<a).*?(>)/g);return r&&r.forEach((function(t){/target=/g.test(t)||(e=e.replace(t,"<a aria-label='content' target='_blank'".concat(t.substring(2))))})),e}(p)||p,m=zt(a,["metadata","promotional-message"],!1),_=m?"promotionalMessage":"textElement";return t.createElement("div",o({style:m?{}:{color:y},"data-test-id":m?"promotional-message":"text",dangerouslySetInnerHTML:{__html:g},id:"text-element"},h,{className:"arrow-component arr--text-element "+l("".concat(_," ").concat(v),qt)+" "+(h&&h.className||"")}))};Bt.propTypes={element:n.shape({text:n.string}),opts:n.shape({isExternalLink:n.bool}),css:n.shape({hyperlinkColor:n.string,textColor:n.string}),story:Ut,config:Yt};var Dt=$t(Bt);export{Dt as Text};
@@ -0,0 +1 @@
1
+ import e,{PropTypes as t,string as r,number as a,func as o,array as n,bool as i}from"prop-types";import l,{createContext as c,useContext as s,useState as m,useEffect as d,Suspense as u,lazy as p,useRef as h}from"react";import _ from"react-timeago";import{Link as f,ResponsiveImage as g,ResponsiveHeroImage as v,LinkBase as y,LazyLoadImages as b,StoryElement as w,SocialShare as E}from"@quintype/components";import{connect as x,useSelector as k}from"react-redux";var N="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function C(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function T(e){var t={exports:{}};return e(t,t.exports),t.exports}var j=T((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),I=C(T((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=j)&&r.__esModule?r:{default:r};var o=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var n=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?a.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,m=void 0===s?a.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var n=e.split("."),i=n[0],l=n[1],c=r||a.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:o("CSS module does not exist: "+l,c):o("CSS module import does not exist: "+i,c):o("Invalid style name: "+e,c)}(e,t,c);if(0===n.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(n.length>1){if(!m)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var n=r||a.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+e+"'.",n):t[i[0]][e]}(e,t,c)}var r=t[n[0]];return r[e]?r[e]:o("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}})));var O=function(e,t,r,a){var o=-1,n=null==e?0:e.length;for(a&&n&&(r=e[++o]);++o<n;)r=t(r,e[o],o,e);return r};var z=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"}),L="object"==typeof N&&N&&N.Object===Object&&N,S="object"==typeof self&&self&&self.Object===Object&&self,q=L||S||Function("return this")(),A=q.Symbol;var M=function(e,t){for(var r=-1,a=null==e?0:e.length,o=Array(a);++r<a;)o[r]=t(e[r],r,e);return o},P=Array.isArray,R=Object.prototype,B=R.hasOwnProperty,H=R.toString,F=A?A.toStringTag:void 0;var D=function(e){var t=B.call(e,F),r=e[F];try{e[F]=void 0;var a=!0}catch(e){}var o=H.call(e);return a&&(t?e[F]=r:delete e[F]),o},U=Object.prototype.toString;var W=function(e){return U.call(e)},V=A?A.toStringTag:void 0;var Z=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":V&&V in Object(e)?D(e):W(e)};var K=function(e){return null!=e&&"object"==typeof e};var G=function(e){return"symbol"==typeof e||K(e)&&"[object Symbol]"==Z(e)},Y=A?A.prototype:void 0,Q=Y?Y.toString:void 0;var J=function e(t){if("string"==typeof t)return t;if(P(t))return M(t,e)+"";if(G(t))return Q?Q.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var X=function(e){return null==e?"":J(e)},$=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ee=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var te=function(e){return(e=X(e))&&e.replace($,z).replace(ee,"")},re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ae=function(e){return e.match(re)||[]},oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ne=function(e){return oe.test(e)},ie="\\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",le="["+ie+"]",ce="\\d+",se="[\\u2700-\\u27bf]",me="[a-z\\xdf-\\xf6\\xf8-\\xff]",de="[^\\ud800-\\udfff"+ie+ce+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ue="(?:\\ud83c[\\udde6-\\uddff]){2}",pe="[\\ud800-\\udbff][\\udc00-\\udfff]",he="[A-Z\\xc0-\\xd6\\xd8-\\xde]",_e="(?:"+me+"|"+de+")",fe="(?:"+he+"|"+de+")",ge="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ve="[\\ufe0e\\ufe0f]?"+ge+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ue,pe].join("|")+")[\\ufe0e\\ufe0f]?"+ge+")*"),ye="(?:"+[se,ue,pe].join("|")+")"+ve,be=RegExp([he+"?"+me+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[le,he,"$"].join("|")+")",fe+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[le,he+_e,"$"].join("|")+")",he+"?"+_e+"+(?:['’](?:d|ll|m|re|s|t|ve))?",he+"+(?:['’](?: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_])",ce,ye].join("|"),"g");var we=function(e){return e.match(be)||[]};var Ee=function(e,t,r){return e=X(e),void 0===(t=r?void 0:t)?ne(e)?we(e):ae(e):e.match(t)||[]},xe=RegExp("['’]","g");var ke=function(e){return function(t){return O(Ee(te(t).replace(xe,"")),e,"")}},Ne=ke((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ce=c(),Te=function(e){return function(t){return l.createElement(Ce.Provider,{value:t.config},l.createElement(e,t))}},je=function(){return s(Ce)};function Ie(){return(Ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}var Oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ze=/^\w*$/;var Le=function(e,t){if(P(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!G(e))||(ze.test(e)||!Oe.test(e)||null!=t&&e in Object(t))};var Se=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var qe,Ae=function(e){if(!Se(e))return!1;var t=Z(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Me=q["__core-js_shared__"],Pe=(qe=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||""))?"Symbol(src)_1."+qe:"";var Re=function(e){return!!Pe&&Pe in e},Be=Function.prototype.toString;var He=function(e){if(null!=e){try{return Be.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Fe=/^\[object .+?Constructor\]$/,De=Function.prototype,Ue=Object.prototype,We=De.toString,Ve=Ue.hasOwnProperty,Ze=RegExp("^"+We.call(Ve).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Ke=function(e){return!(!Se(e)||Re(e))&&(Ae(e)?Ze:Fe).test(He(e))};var Ge=function(e,t){return null==e?void 0:e[t]};var Ye=function(e,t){var r=Ge(e,t);return Ke(r)?r:void 0},Qe=Ye(Object,"create");var Je=function(){this.__data__=Qe?Qe(null):{},this.size=0};var Xe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$e=Object.prototype.hasOwnProperty;var et=function(e){var t=this.__data__;if(Qe){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return $e.call(t,e)?t[e]:void 0},tt=Object.prototype.hasOwnProperty;var rt=function(e){var t=this.__data__;return Qe?void 0!==t[e]:tt.call(t,e)};var at=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Qe&&void 0===t?"__lodash_hash_undefined__":t,this};function ot(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}ot.prototype.clear=Je,ot.prototype.delete=Xe,ot.prototype.get=et,ot.prototype.has=rt,ot.prototype.set=at;var nt=ot;var it=function(){this.__data__=[],this.size=0};var lt=function(e,t){return e===t||e!=e&&t!=t};var ct=function(e,t){for(var r=e.length;r--;)if(lt(e[r][0],t))return r;return-1},st=Array.prototype.splice;var mt=function(e){var t=this.__data__,r=ct(t,e);return!(r<0)&&(r==t.length-1?t.pop():st.call(t,r,1),--this.size,!0)};var dt=function(e){var t=this.__data__,r=ct(t,e);return r<0?void 0:t[r][1]};var ut=function(e){return ct(this.__data__,e)>-1};var pt=function(e,t){var r=this.__data__,a=ct(r,e);return a<0?(++this.size,r.push([e,t])):r[a][1]=t,this};function ht(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])}}ht.prototype.clear=it,ht.prototype.delete=mt,ht.prototype.get=dt,ht.prototype.has=ut,ht.prototype.set=pt;var _t=ht,ft=Ye(q,"Map");var gt=function(){this.size=0,this.__data__={hash:new nt,map:new(ft||_t),string:new nt}};var vt=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var yt=function(e,t){var r=e.__data__;return vt(t)?r["string"==typeof t?"string":"hash"]:r.map};var bt=function(e){var t=yt(this,e).delete(e);return this.size-=t?1:0,t};var wt=function(e){return yt(this,e).get(e)};var Et=function(e){return yt(this,e).has(e)};var xt=function(e,t){var r=yt(this,e),a=r.size;return r.set(e,t),this.size+=r.size==a?0:1,this};function kt(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])}}kt.prototype.clear=gt,kt.prototype.delete=bt,kt.prototype.get=wt,kt.prototype.has=Et,kt.prototype.set=xt;var Nt=kt;function Ct(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var a=arguments,o=t?t.apply(this,a):a[0],n=r.cache;if(n.has(o))return n.get(o);var i=e.apply(this,a);return r.cache=n.set(o,i)||n,i};return r.cache=new(Ct.Cache||Nt),r}Ct.Cache=Nt;var Tt=Ct;var jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,It=/\\(\\)?/g,Ot=function(e){var t=Tt(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(jt,(function(e,r,a,o){t.push(a?o.replace(It,"$1"):r||e)})),t}));var zt=function(e,t){return P(e)?e:Le(e,t)?[e]:Ot(X(e))};var Lt=function(e){if("string"==typeof e||G(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var St=function(e,t){for(var r=0,a=(t=zt(t,e)).length;null!=e&&r<a;)e=e[Lt(t[r++])];return r&&r==a?e:void 0};var qt=function(e,t,r){var a=null==e?void 0:St(e,t);return void 0===a?r:a};function At(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,a=new Array(t);r<t;r++)a[r]=e[r];return a}function Mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var a,o,n=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){l=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return At(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?At(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Pt=function(e){var t=e.color,r=void 0===t?"#1CB7EB":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.createElement("path",{fill:r,d:"M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"}))};Pt.propTypes={color:e.string};var Rt=function(e){var t=e.color,r=void 0===t?"#3B5998":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.createElement("path",{fill:r,d:"M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"}))};Rt.propTypes={color:e.string};var Bt=function(e){var t=e.color,r=void 0===t?"#0077B5":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.createElement("path",{fill:r,d:"M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"}))};Bt.propTypes={color:e.string};var Ht=function(e){var t=e.color,r=void 0===t?"#4AC959":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.createElement("path",{fill:r,fillRule:"evenodd",d:"M18.404 5.505a9.457 9.457 0 012.02 2.96 8.587 8.587 0 01.715 3.449 8.665 8.665 0 01-1.245 4.53 9.282 9.282 0 01-3.347 3.307 8.894 8.894 0 01-4.552 1.225 8.835 8.835 0 01-4.327-1.102l-4.817 1.265 1.307-4.694a8.775 8.775 0 01-1.225-4.531 8.77 8.77 0 011.225-4.531 9.17 9.17 0 013.306-3.307 8.781 8.781 0 014.531-1.224c1.198 0 2.347.23 3.45.693a9.515 9.515 0 012.959 1.96zm-6.409 13.96c1.36 0 2.626-.34 3.797-1.02a7.75 7.75 0 002.796-2.756 7.202 7.202 0 001.04-3.775c0-.98-.203-1.933-.612-2.858a8.088 8.088 0 00-1.694-2.47 7.565 7.565 0 00-2.449-1.653 7.405 7.405 0 00-2.878-.571c-1.36 0-2.62.34-3.776 1.02a7.646 7.646 0 00-2.755 2.756 7.316 7.316 0 00-1.02 3.776c0 1.442.394 2.775 1.183 4l.164.286-.776 2.775 2.857-.734.286.163a7.275 7.275 0 003.837 1.061zm4.123-5.674l.123.082c.19.082.299.15.326.204.027.054.034.19.02.408a2.11 2.11 0 01-.163.674c-.095.231-.313.462-.653.694-.34.231-.633.36-.878.388-.38.054-.748.054-1.102 0-.408-.082-.952-.273-1.632-.572-1.388-.599-2.654-1.714-3.797-3.347l-.081-.082c-.6-.843-.898-1.62-.898-2.327 0-.707.244-1.32.734-1.837l.041-.04c.19-.19.395-.286.612-.286h.49c.11 0 .198.02.266.061.068.041.129.143.183.306l.694 1.674c.082.163.095.3.041.408a2.832 2.832 0 01-.53.735.917.917 0 00-.205.265c-.027.068 0 .143.082.225.38.707.83 1.265 1.347 1.673.381.3.952.64 1.714 1.02.218.11.381.096.49-.04.354-.408.599-.707.735-.898.054-.109.123-.163.204-.163.082 0 .177.013.286.04.218.082.735.327 1.551.735z"}))};Ht.propTypes={color:e.string};var Ft=function(e){var t=e.fbUrl,r=e.twitterUrl,a=e.linkedinUrl,o=e.whatsappUrl,n=e.iconColor,i=e.iconType,c=function(e,t){switch(t){case"plain-color-svg":return{facebook:l.createElement(Rt,{key:t}),twitter:l.createElement(Pt,{key:t}),linkedin:l.createElement(Bt,{key:t}),whatsapp:l.createElement(Ht,{key:t})};default:return{facebook:l.createElement(Rt,{color:e,key:t}),twitter:l.createElement(Pt,{color:e,key:t}),linkedin:l.createElement(Bt,{color:e,key:t}),whatsapp:l.createElement(Ht,{color:e,key:t})}}}(n,void 0===i?"plain-svg":i);return[{name:"facebook",url:t,icon:c.facebook,text:"Facebook",bgColor:"#4e71a8",alt:"fb icon"},{name:"twitter",url:r,icon:c.twitter,text:"Twitter",bgColor:"#1db7eb",alt:"twitter icon"},{name:"linkedin",url:a,icon:c.linkedin,text:"LinkedIn",bgColor:"#0077B5",alt:"linkedin icon"},{name:"whatsapp",url:o,icon:c.whatsapp,text:"Whatsapp",bgColor:"#25d366",alt:"whatsapp share"}]},Dt=function(e){var t=e.color,r=void 0===t?"#333":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.createElement("g",{fill:"none",stroke:r,strokeLinecap:"square",strokeWidth:"2"},l.createElement("path",{d:"M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"})))};function Ut(e,t,r,a,o,n,i){try{var l=e[n](i),c=l.value}catch(e){return void r(e)}l.done?t(c):Promise.resolve(c).then(a,o)}function Wt(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var n=e.apply(t,r);function i(e){Ut(n,a,o,i,l,"next",e)}function l(e){Ut(n,a,o,i,l,"throw",e)}i(void 0)}))}}function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Dt.propTypes={color:e.string};var Zt=T((function(e){var t=function(e){var t,r=Object.prototype,a=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},n=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,a){var o=t&&t.prototype instanceof f?t:f,n=Object.create(o.prototype),i=new j(a||[]);return n._invoke=function(e,t,r){var a=d;return function(o,n){if(a===p)throw new Error("Generator is already running");if(a===h){if("throw"===o)throw n;return O()}for(r.method=o,r.arg=n;;){var i=r.delegate;if(i){var l=N(i,r);if(l){if(l===_)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=p;var c=m(e,t,r);if("normal"===c.type){if(a=r.done?h:u,c.arg===_)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(a=h,r.method="throw",r.arg=c.arg)}}}(e,r,i),n}function m(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",u="suspendedYield",p="executing",h="completed",_={};function f(){}function g(){}function v(){}var y={};c(y,n,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(I([])));w&&w!==r&&a.call(w,n)&&(y=w);var E=v.prototype=f.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(o,n,i,l){var c=m(e[o],e,n);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var o;this._invoke=function(e,a){function n(){return new t((function(t,o){r(e,a,t,o)}))}return o=o?o.then(n,n):n()}}function N(e,r){var a=e.iterator[r.method];if(a===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,N(e,r),"throw"===r.method))return _;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var o=m(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,_;var n=o.arg;return n?n.done?(r[e.resultName]=n.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,_):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,_)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function I(e){if(e){var r=e[n];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(a.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:O}}function O(){return{value:t,done:!0}}return g.prototype=v,c(E,"constructor",v),c(v,"constructor",g),g.displayName=c(v,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(k.prototype),c(k.prototype,i,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,a,o,n){void 0===n&&(n=Promise);var i=new k(s(t,r,a,o),n);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,n,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},e.values=I,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(a,o){return l.type="throw",l.arg=e,r.next=a,o&&(r.method="next",r.arg=t),!!o}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc&&(n=null);var i=n?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),T(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var o=a.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,a){return this.delegate={iterator:I(e),resultName:r,nextLoc:a},"next"===this.method&&(this.arg=t),_}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})),Kt=ke((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Gt=ke((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var Yt=function(e,t,r,a){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},n=o.showTime,i=void 0!==n&&n,l=o.isTimeFirst,c=void 0!==l&&l,s=o.isUpperCase,m=void 0!==s&&s,d=o.disableMeridiem,u=void 0!==d&&d,p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=new Date(a),_=h.getDate().toString().padStart(2,0),f=p[h.getMonth()],g=f;m&&(g=Kt(f));var v,y=h.getFullYear(),b=o.localizedMeridiem,w=o.localizedMonths,E=o.direction,x=void 0===E?"ltr":E,k=Jt(a),N=k;if(w&&(g=qt(w,[Gt(f)])||f),b){var C=k.includes("am"),T=b.am,j=void 0===T?"am":T,I=b.pm,O=void 0===I?"pm":I;N=(C?k.replace("am",j):k.replace("pm",O))||k}return"rtl"===x?(v=i?"".concat(N):"","".concat(_," ").concat(g,", ").concat(y," ").concat(v," ")):u?"".concat(g," ").concat(_,", ").concat(y):c?"".concat(N,", ").concat(_," ").concat(g," ").concat(y):(v=i?", ".concat(N):"","".concat(_," ").concat(g,", ").concat(y).concat(v))};function Qt(e,t,r,a,o){var n,i=qt(o,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Yt(e,t,r,a,o):e>1?(n=qt(o,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(n," ").concat(i)):(n=qt(o,["localizedPublishTime",t])||t,"".concat(e," ").concat(n," ").concat(i," "))}function Jt(e){var t=new Date(e),r=t.getHours(),a=t.getMinutes(),o=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(a=a<10?"0"+a:a)+" "+o}var Xt=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},$t=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},er={mobile:767,tablet:1024},tr=function(e){var t=qt(er,e);return!!t&&qt(global,"document.documentElement.clientWidth")<=t},rr=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:$t(e),a=Xt(r)<155?"light":"dark";return a},ar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,a=void 0===r?"":r,o=t.isArchivePage,n=void 0!==o&&o;if(n)return"/magazine/archive/".concat(a);if(a)return"/magazine/".concat(a,"/").concat(e.slug);var i="section"===e.template;if(i){var l=qt(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 or(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,a=e.metadata,o=void 0===a?{}:a;return"news-elsewhere"===r?qt(o,["reference-url"],""):""}var nr=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},ir=function(e){return null==e||"object"===Vt(e)&&0===Object.entries(e).length&&e.constructor===Object||"string"==typeof e&&0===e.trim().length},lr=e.shape({"sketches-host":e.string,"cdn-name":e.string,"cdn-image":e.string}),cr=e.shape({headline:e.string,"last-published-at":e.number,subheadline:e.string}),sr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===qt(e,["story-template"])?qt(e,["metadata","reference-url"],""):e.url||t},mr=function(){var e=Wt(Zt.mark((function e(t){var r,a,o=arguments;return Zt.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>1&&void 0!==o[1]?o[1]:"",e.prev=1,e.next=4,fetch("".concat(r,"/api/v1/collections/").concat(t,"?item-type=story&limit=6"));case 4:return e.next=6,e.sent.json();case 6:return a=e.sent,e.abrupt("return",a);case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),dr=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.createElement(_,{date:e,formatter:function(e,a,o,n){return t(e,a,o,n,r)}})},ur={"./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"}},pr=function(e){var t=e.fbUrl,r=void 0===t?"":t,a=e.twitterUrl,o=void 0===a?"":a,n=e.linkedinUrl,i=void 0===n?"":n,c=e.whatsappUrl,s=void 0===c?"":c,m=e.theme,d=e.closePopup,u=void 0===d?"":d,p=e.iconType,h=void 0===p?"plain-color-svg":p,_=rr(m),f="dark"===_?"#000000":"#ffffff",g=Ft({fbUrl:r,twitterUrl:o,linkedinUrl:i,whatsappUrl:s,iconColor:f,iconType:h});return l.createElement("div",{className:I("share-popup-wrapper ".concat(_),ur)},l.createElement("div",{className:"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"},l.createElement("div",{className:"social-share-popup-m_top-bar__174Um"},l.createElement("span",{className:"social-share-popup-m_share-text__19E-F"},"Share via"),l.createElement("span",{className:"social-share-popup-m_close__3k-Hj",onClick:u},l.createElement(Dt,{color:f}))),l.createElement("ul",{className:"social-share-popup-m_wrapper__3Ytce"},g.map((function(e,t){var r=e.url,a=e.icon,o=e.text,n=e.bgColor;return e.alt,function(e,t,r,a){return e?l.createElement("li",{className:"social-share-popup-m_social-icon-wrapper__36jyV","data-testid":r,key:"popup-item-".concat(a)},l.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"social-share-popup-m_social-wrapper__1lPzr","aria-label":"social-icon"},t,l.createElement("span",{className:"social-share-popup-m_social-text__1QPXb"},r))):null}(r,a,o,n)})))))};pr.propTypes={fbUrl:e.string,twitterUrl:e.string,linkedinUrl:e.string,whatsappUrl:e.string,grey:e.string,primaryColor:e.string,closePopup:e.bool,theme:e.string,iconType:e.string};var hr=function(e){var t=e.color,r=void 0===t?"#0D0D0D":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.createElement("path",{fill:r,fillRule:"evenodd",d:"M15.843 3.189c-1.478 0-2.689 1.239-2.689 2.75 0 .293.046.58.13.846L8.844 9.31a2.638 2.638 0 00-1.687-.621c-1.477 0-2.688 1.238-2.688 2.75 0 1.51 1.21 2.75 2.688 2.75.638 0 1.224-.231 1.687-.615l4.446 2.525a2.778 2.778 0 00-.136.84c0 1.51 1.211 2.75 2.689 2.75 1.477 0 2.688-1.24 2.688-2.75 0-1.512-1.21-2.75-2.688-2.75-.742 0-1.419.317-1.907.82l-4.323-2.46a2.763 2.763 0 000-2.221l4.317-2.459c.488.506 1.168.82 1.913.82 1.477 0 2.688-1.239 2.688-2.75s-1.21-2.75-2.688-2.75z"}))};hr.propTypes={color:e.string};var _r=function(e,t,r){var a=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var n=Array(o);++a<o;)n[a]=e[a+t];return n};var fr=function(e,t,r){var a=e.length;return r=void 0===r?a:r,!t&&r>=a?e:_r(e,t,r)},gr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var vr=function(e){return gr.test(e)};var yr=function(e){return e.split("")},br="[\\ud800-\\udfff]",wr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Er="\\ud83c[\\udffb-\\udfff]",xr="[^\\ud800-\\udfff]",kr="(?:\\ud83c[\\udde6-\\uddff]){2}",Nr="[\\ud800-\\udbff][\\udc00-\\udfff]",Cr="(?:"+wr+"|"+Er+")"+"?",Tr="[\\ufe0e\\ufe0f]?"+Cr+("(?:\\u200d(?:"+[xr,kr,Nr].join("|")+")[\\ufe0e\\ufe0f]?"+Cr+")*"),jr="(?:"+[xr+wr+"?",wr,kr,Nr,br].join("|")+")",Ir=RegExp(Er+"(?="+Er+")|"+jr+Tr,"g");var Or=function(e){return e.match(Ir)||[]};var zr=function(e){return vr(e)?Or(e):yr(e)};var Lr=function(e){return function(t){t=X(t);var r=vr(t)?zr(t):void 0,a=r?r[0]:t.charAt(0),o=r?fr(r,1).join(""):t.slice(1);return a[e]()+o}}("toUpperCase");var Sr=function(e){return Lr(X(e).toLowerCase())},qr=ke((function(e,t,r){return t=t.toLowerCase(),e+(r?Sr(t):t)})),Ar={"./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"}},Mr=function(e){var t=e.name,r=e.url,a=e.icon,o=e.dataTestId;return r?l.createElement("li",{"data-testid":o,className:"social-share-template-m_icon__1Mnu5"},l.createElement("a",{href:r,target:"_blank",rel:"noopener noreferrer","data-share-icon":t,"aria-label":"share-icon"},a)):null};Mr.propTypes={name:e.string,url:e.string,icon:e.node,dataTestId:e.string};var Pr=function(e){var t=e.fbUrl,r=void 0===t?"":t,a=e.twitterUrl,o=void 0===a?"":a,n=e.linkedinUrl,i=void 0===n?"":n,c=e.whatsappUrl,s=void 0===c?"":c,u=e.vertical,p=void 0!==u&&u,h=e.theme,_=e.iconType,f=void 0===_?"plain-color-svg":_,g=e.open,v=void 0!==g&&g;if(!(r||o||i||s))return null;var y=rr(h),b="dark"===y?"#000000":"#ffffff",w=Ft({fbUrl:r,twitterUrl:o,linkedinUrl:i,whatsappUrl:s,iconColor:b,iconType:f}),E=Mt(m(v),2),x=E[0],k=E[1],N=p?"vertical":"horizontal";d((function(){return k(v)}),[v]);var C=function(){return l.createElement("li",{className:"social-share-template-m_icon__1Mnu5",key:"horizontal-0"},l.createElement("div",{onClick:T},function(e,t){return e?l.createElement(Dt,{color:t}):l.createElement(hr,{color:t})}(x,b)))},T=function(){k(!x)},j=!x&&p?"tablet-view-popup":"";return l.createElement("div",{"data-test-id":N,className:"arr--share "+I("".concat(y," ").concat(N," ").concat(j),Ar)},l.createElement("div",{className:"social-share-template-m_desktop-view__3TmkO"},l.createElement("ul",{"data-test-id":qr(f),className:"desktop-share-wrapper "+I("wrapper ".concat(x?"open":""),Ar)},C(),w.map((function(e,t){return l.createElement(Mr,Ie({},e,{key:e.name,dataTestId:"card-share-".concat(t)}))})))),l.createElement("div",{className:"social-share-template-m_tablet-view__kATzi"},!x&&l.createElement("ul",{className:I("wrapper ".concat(x?"open":""),Ar)},C()),x&&l.createElement(l.Fragment,null,l.createElement("div",{className:"social-share-template-m_overlay__1nBp-",onClick:T},l.createElement("div",{className:"arr--popup "+I("popup-wrapper ".concat(x?"popup-open":""),Ar)},l.createElement(pr,{fbUrl:r,twitterUrl:o,linkedinUrl:i,whatsappUrl:s,iconType:f,theme:h,closePopup:function(){k(!1)}}))))))};Pr.propTypes={fbUrl:e.string,twitterUrl:e.string,linkedinUrl:e.string,whatsappUrl:e.string,vertical:e.bool,theme:e.string,iconType:e.string,open:e.boolean};var Rr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},Br=function(e){var t=e.story,r=e.template,a=void 0===r?"":r,o=e.borderColor,n=void 0===o?"":o,i=e.isLightTheme,c=je()||{},s=qt(c,["showSection"],!0),m=qt(c,["sectionTagTemplate"]),d=qt(t,["sections",0],""),u=["borderBottomSml","borderLeft","solid"],p=d?d["section-url"]:"/",h="solid"===a||"solid"===m?n:c.theme,_=i?"light":rr(h),g=$t(n),v=u.includes(a)?"section section-".concat(a):"section";return m&&(v=u.includes(m)?"section section-".concat(m):"section"),s?l.createElement(f,{href:p,className:"arrow-component arr--section-name","aria-label":"section-name"},l.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:v.includes("section-solid")?g:""},className:"section-tag arrow-component "+I("".concat(_," ").concat(v),Rr)},v.includes("section-borderLeft")&&l.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:g}}),d["display-name"]||d.name,l.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===a?"":g)}}))):null};Br.propTypes={story:e.object.isRequired,template:e.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:e.string,solidBorderColor:e.string,isLightTheme:e.bool},Br.defaultProps={template:"",isLightTheme:!1};var Hr=function(e){var t=e.height,r=e.width,a=e.color,o=void 0===a?"#D8D8D8":a,n=e.positionTop;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("g",{transform:"translate(8 8)"},l.createElement("path",{d:"M0 0H24V24H0z"}),l.createElement("g",{fill:o,fillRule:"nonzero",transform:"translate(0 2)"},l.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"}))))))};Hr.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var Fr=function(e){var t=e.height,r=e.width,a=e.color,o=void 0===a?"#D5D5D5":a,n=e.positionTop;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("g",{transform:"translate(8 8)"},l.createElement("path",{d:"M0 0H24V24H0z"}),l.createElement("path",{fill:o,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Fr.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var Dr=function(e){var t=e.height,r=e.width,a=e.color,o=void 0===a?"#D5D5D5":a,n=e.positionTop;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:n}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("g",{transform:"translate(8 8)"},l.createElement("path",{d:"M0 0H24V24H0z"}),l.createElement("g",{fill:o,fillRule:"nonzero",transform:"translate(3)"},l.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"}))))))};Dr.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var Ur=function(e){var t=e.width,r=e.height,a=e.color,o=void 0===a?"#D5D5D5":a,n=e.positionTop,i=void 0===n?"":n;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("path",{fill:o,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Ur.propTypes={height:e.string,width:e.string,color:e.string,positionTop:e.string};var Wr=function(e){var t=e.width,r=e.height,a=e.color,o=e.iconType,n=e.positionTop;switch(o){case"crown":return l.createElement(Hr,{width:t,height:r,color:a,positionTop:n});case"lock":return l.createElement(Dr,{width:t,height:r,color:a,positionTop:n});case"key":return l.createElement(Fr,{width:t,height:r,color:a,positionTop:n});default:return l.createElement(Ur,{width:t,height:r,color:a,positionTop:n})}};Wr.propTypes={width:e.string,height:e.string,color:e.string,iconType:e.string,positionTop:e.string};var Vr={"./story-headline.m.css":{wrapper:"story-headline-m_wrapper__1Wey6",headline:"story-headline-m_headline__x10-O","premium-wrapper":"story-headline-m_premium-wrapper__1zqs0",dark:"story-headline-m_dark__1_kPz",light:"story-headline-m_light__2al9-"}},Zr=function(e){var t=e.story,r=e.premiumStoryIconConfig,a=void 0===r?{}:r,o=je()||{},n=rr(o.theme),i=a.iconColor,c=void 0===i?"#F7B500":i,s=a.iconStyle,m=void 0===s?"star":s,d=a.enablePremiumStoryIcon,u=void 0!==d&&d&&"subscription"===qt(t,["access"]),p=u?"premium-wrapper":"wrapper",h="40px";return l.createElement("div",{className:"arrow-component arr--story-headline "+I(p,Vr)},u&&l.createElement(Wr,{width:h,height:h,color:c,iconType:m,positionTop:"6px"}),l.createElement("h1",{"data-testid":"story-headline",className:I("headline ".concat(n),Vr)},l.createElement("bdi",{dangerouslySetInnerHTML:{__html:t.headline}})))};Zr.propTypes={story:e.object.isRequired,premiumStoryIconConfig:e.shape({iconColor:e.string,iconType:e.string,enablePremiumStoryIcon:e.bool})};var Kr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Gr=function(e){var t=e.story,r=e.truncateChars,a=void 0===r?200:r,o=e.lineClamp,n=e.clazzName,i=void 0===n?"":n,c=e.forceShowAtom,s=e.showFullContent,m=je()||{};if(!(c||qt(m,["showSubheadline"],!0)))return null;var d=rr(m.theme);return l.createElement("div",{style:{WebkitLineClamp:o},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(i)?"p-alt arr--sub-headline arrow-component ".concat(i)+" ":"")+I("subheadline ".concat(d),Kr)},s||"number"==typeof o?t.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(t.subheadline,a,!0))};function Yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Gr.propTypes={story:e.object.isRequired,lineClamp:e.number,truncateChars:e.number,clazzName:e.string,forceShowAtom:e.bool,showFullContent:e.bool},Gr.defaultProps={forceShowAtom:!1,showFullContent:!1};var Qr={"./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"}},Jr=function(e){var t=e.story,r=e.isBottom,a=e.config,o=void 0===a?{}:a,n=je()||{},i=qt(n,["showTime"],!0),c=t["last-published-at"]||t["first-published-at"],s=r?"bottom-fix":"",m=rr(n.theme);return l.createElement(l.Fragment,null,i&&l.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+I("time ".concat(m," ").concat(s),Qr)},l.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},dr(c,Qt,o))))};Jr.propTypes={story:e.object,isBottom:e.bool,config:e.object};var Xr={"./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"}},$r=function(e){var t=e.story,r=e.hideAuthorImage,a=e.isBottom,o=e.prefix,n=void 0===o?"":o,i=e.config,c=void 0===i?{}:i,s=je()||{},m=qt(s,["showAuthor"],!0),d=qt(t,["authors","0"],""),u=d["avatar-url"],p=d["avatar-s3-key"],h=d.name,_=d.slug,v=a?"bottom-fix":"",y=rr(s.theme),b=qt(c,["mountAt"],""),w=function(e){return n?l.createElement("div",{className:"arr-author-prefix "+I("prefix ".concat(y),Xr)},n):!r&&function(e){return u||p?l.createElement("div",{"data-test-id":"author-image",className:I("author-image ".concat(e,"-image"),Xr)},l.createElement("figure",null,p?l.createElement(g,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:h}):l.createElement("img",{src:u}))):null}(e)};return l.createElement(l.Fragment,null,m&&l.createElement(f,{href:"".concat(b,"/author/")+_,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+I("author ".concat(v),Xr)},w("ltr"),l.createElement("div",{"data-test-id":"author-name",className:"author-name "+I("author-name ".concat(y),Xr)},h||t["author-name"]),!n&&w("rtl")))};var ea=x((function(e){return{config:qt(e,["qt","config"],{})}}))($r);$r.propTypes={story:e.object.isRequired,hideAuthorImage:e.bool,isBottom:e.bool,prefix:e.string,config:e.object},$r.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ta={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ra=function(e){var t=e.width,r=void 0===t?"3px":t,a=e.height,o=void 0===a?"3px":a,n=e.color,i=void 0===n?"light":n;return l.createElement("div",{className:I(i,ta)},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 3 3"},l.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};ra.propTypes={color:e.string,width:e.string,height:e.string};var aa={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},oa=function(e){var t=e.width,r=void 0===t?"1":t,a=e.height,o=void 0===a?"10":a,n=e.color,i=void 0===n?"light":n;return l.createElement("div",{className:I(i,aa)},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o},l.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};oa.propTypes={color:e.string,width:e.string,height:e.string};var na={"./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"}},ia=function(e){var t=e.story,r=e.opts,a=void 0===r?{}:r,o=e.isLightTheme,n=void 0!==o&&o,i=je()||{},c=qt(i,["showReadTime"])||qt(a,["showReadTime"],!0),s=qt(t,["read-time"],0),m=n?"light":rr(i.theme);if(!c||!s)return null;var d=qt(a,["localizedTimeToRead"])||"min read";return l.createElement(l.Fragment,null,l.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+I("read-time-wrapper ".concat(m),na)},l.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},l.createElement(ra,{color:m})),l.createElement("span",null,s," ",d)))};ia.propTypes={story:e.shape({"read-time":e.number}),opts:e.shape({showReadTime:e.bool}),isLightTheme:e.bool};var la={"./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"}},ca=function(e){var t=e.story,r=e.separator,a=e.isBottom,o=e.hideAuthorImage,n=e.prefix,i=e.config,c=void 0===i?{}:i,s=e.isLightTheme,m=je()||{},d=qt(c,["showAuthor"],qt(m,["showAuthor"],!0)),u=qt(m,["showTime"],!0),p=qt(m,["showReadTime"],!0),h=a?"bottom-fix":"",_="dot"===r?"dot":"dash",f=s?"light":rr(m.theme),g=function(){return u?l.createElement(l.Fragment,null,d&&l.createElement("span",{className:"arr-separator "+I("".concat(_),la)},"divider"===r?l.createElement(oa,{color:f}):l.createElement(ra,{color:f})),l.createElement(Jr,{story:t,config:c}),p&&l.createElement(ia,{story:t,opts:c,isLightTheme:s})):null};return l.createElement("div",{className:"arr--author-time "+I("author-time-wrapper ".concat(h),la)},d?l.createElement(l.Fragment,null,l.createElement(ea,{story:t,isBottom:!0,hideAuthorImage:o,prefix:n}),g()):g())};ca.propTypes={story:e.object,separator:e.oneOf(["dot","divider"]),hideAuthorImage:e.bool,isBottom:e.bool,prefix:e.string,config:e.object,isLightTheme:e.bool},ca.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var sa={"./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"}},ma=function(e){var t=e.collectionNameBorderColor,r=void 0===t?"":t,a=e.collection,o=e.config,n=e.collectionNameTemplate,i=e.headerLevel,c=e.customCollectionName,s=void 0===c?"":c,m=e.navigate,d=void 0===m||m,u=je()||{},p=qt(u,["showRowTitle"],!0),h=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(n)?" collection-".concat(n):"",_=d&&a&&ar(a,o)||"",g=s||a.name||"",v=rr(u.theme),y="h"+i,b=$t(r),w=h.includes("collection-borderBottomFull")?"4px solid ".concat(b):"",E=tr("mobile");return l.createElement(l.Fragment,null,p&&g&&l.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+I("collection ".concat(v," ").concat(h),sa)},h.includes("collection-borderLeft")&&l.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:b,fontSize:function(){if(E)switch(i){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(i){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),_&&!_.includes(void 0)?l.createElement(f,{href:_,"aria-label":"collection-name"},l.createElement(y,null,g)):l.createElement(y,null,g),h.includes("collection-borderBottom")&&!h.includes("collection-borderBottomFull")?l.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(b)}}):""))};ma.propTypes={collectionNameBorderColor:t.string,collection:t.object,config:t.object,collectionNameTemplate:t.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:t.string,customCollectionName:t.string,navigate:t.bool},ma.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var da=x((function(e){return{config:qt(e,["qt","config"],{})}}))(ma),ua={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},pa=function(e){var t=e.story,r=e.headerLevel,a=e.premiumStoryIconConfig,o=void 0===a?{}:a,n=e.isLink,i=je()||{},c=o.iconColor,s=void 0===c?"#F7B500":c,m=o.iconStyle,d=void 0===m?"star":m,u=o.enablePremiumStoryIcon,p=void 0!==u&&u,h=qt(t,["alternative","home","default","headline"]),_=p&&"subscription"===qt(t,["access"]),g=h||t.headline,v="h"+r,y=rr(i.theme),b=_?"wrapper":"",w="24px";return l.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+I(b,ua)},_&&l.createElement(Wr,{width:w,height:w,color:s,iconType:d,positionTop:function(){switch(parseInt(r)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),n?l.createElement(f,{href:sr(t,"/".concat(t.slug)),externalLink:or(t),"aria-label":"headline"},l.createElement(v,{className:I("headline ".concat(y),ua)},g)):l.createElement(v,{className:I("headline ".concat(y),ua)},g))};pa.propTypes={story:e.object.isRequired,headerLevel:e.string,premiumStoryIconConfig:e.shape({iconColor:e.string,iconType:e.string,enablePremiumStoryIcon:e.bool}),isLink:e.bool},pa.defaultProps={headerLevel:"6",isLink:!0};var ha=function(e){var t=e.width,r=void 0===t?40:t,a=e.height,o=void 0===a?30:a,n=e.iconColor,i=void 0===n?"#99B0CB":n;return l.createElement("svg",{width:r,height:o,viewBox:"0 0 102 76",version:"1.1"},l.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},l.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},l.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:i,fillRule:"nonzero"}),l.createElement("rect",{id:"Rectangle-19",stroke:i,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};ha.propTypes={width:e.object,height:e.object,iconColor:e.object};var _a=function(){return l.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},l.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},l.createElement(ha,null)))},fa=function(e){var t=e.slug;return t?l.createElement(f,{href:t,"aria-label":"image-fallback"},_a()):_a()};fa.propTypes={slug:e.string};var ga={"./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"}},va=function(e){var t=e.story,r=e.FullBleed,a=e.aspectRatio,o=e.defaultWidth,n=e.widths,i=e.isHorizontal,c=e.isHorizontalMobile,s=e.isHorizontalWithImageLast,m=e.defaultFallback,d=e.isStoryPageImage,u=(je()||{}).fallbackImageUrl,p=void 0===u?"":u,h=k((function(e){return qt(e,["qt","config","showPlaceholder"])}))?"placeholder":"",_=r?"":"with-padding",y="hero-image";i?y="right-padding":s&&(y="left-padding");var b=c?"right-padding-mob":"",w=function(e){var t=Mt(e,2),r=t[0],a=t[1];return r>0&&a>0?a/r*100:0},E=Mt(a,2),x=E[0],N=E[1],C=void 0===N?x:N,T=tr("mobile"),j=T?x:C,O=w(T?x:C),z=qt(t,["hero-image-s3-key"])||qt(t,["alternative","home","default","hero-image","hero-image-s3-key"]),L=function(){return z?l.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+I("image ".concat(h),ga)},l.createElement(v,{story:t,aspectRatio:j,defaultWidth:o,widths:n,imgParams:{auto:["format","compress"],fit:"max"}})):p?l.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+I("image ".concat(h),ga)},l.createElement(g,{slug:!d&&p,metadata:{},"aspect-ratio":j,defaultWidth:o,widths:n,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):l.createElement(l.Fragment,null,m?l.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:O+"%"},className:"arr--fallback-hero-image "+I("image ".concat(h),ga)},l.createElement(fa,null)):null)};return t&&(d?l.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+I("".concat(y," ").concat(_," ").concat(b),ga)},L()):l.createElement(f,{"data-test-id":"arr--hero-image",href:sr(t,"/".concat(t.slug)),externalLink:or(t),"aria-label":"fallback-hero-image",className:"arr--hero-image "+I("".concat(y," ").concat(_," ").concat(b),ga)},L()))};va.propTypes={story:e.object.isRequired,FullBleed:e.bool,defaultWidth:e.number,widths:e.array,aspectRatio:e.array,isHorizontal:e.bool,isHorizontalMobile:e.bool,defaultFallback:e.bool,isHorizontalWithImageLast:e.bool},va.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var ya={"./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"}},ba=function(e){var t=e.story,r=e.children,a=e.isHorizontal,o=e.aspectRatio,n=e.border,i=e.useImageAsBackground,c=e.bgImgContentOverlap,s=e.theme,m=e.borderColor,d=e.isHorizontalMobile,u=e.centerAlign,p=e.headerLevel,h=e.hideAuthorImage,_=e.prefix,f=e.config,g=e.isHorizontalWithImageLast;if(!t||ir(t))return l.createElement("div",null);var v=["default","full","bottom","boxShadow"].includes(n)?"border-".concat(n):"",y="default-card";a?y="horizontal-card":g&&(y="horizontal-image-last");var b=i?"backgroung-img":"",w=c?"content-overlap":"",E=rr(s),x=d?"horizontal-mob":"",k=l.createElement(wa,{story:t,aspectRatio:o,border:n,isHorizontalMobile:d,isHorizontal:a,centerAlign:u,headerLevel:p,borderColor:m,hideAuthorImage:h,prefix:_,config:f,isHorizontalWithImageLast:g});return l.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:s,color:E},className:"arr--story-card "+I("card ".concat(y," ").concat(v," ").concat(E," ").concat(b," ").concat(w," ").concat(x),ya)},r||k)},wa=function(e){var t=e.story;e.border;var r=e.isHorizontal,a=e.aspectRatio,o=e.headerLevel,n=e.isHorizontalMobile,i=void 0!==n&&n,c=e.centerAlign,s=void 0!==c&&c,m=e.borderColor,d=e.hideAuthorImage,u=e.prefix,p=e.isHorizontalWithImageLast,h=e.config,_=s?"center-align":"",f=$t(m),g=h.localizationConfig,v=void 0===g?{}:g;return l.createElement(l.Fragment,null,r?l.createElement(va,{story:t,isHorizontal:!0,isHorizontalMobile:i,aspectRatio:a}):p?l.createElement(va,{story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:i,aspectRatio:a}):l.createElement(va,{story:t,isHorizontalMobile:i,aspectRatio:a}),l.createElement("div",{className:"arr--story-content "+I("content ".concat(_),ya)},l.createElement(Br,{story:t,borderColor:f}),l.createElement(pa,{story:t,headerLevel:o,premiumStoryIconConfig:h}),l.createElement(ca,{config:v,story:t,isBottom:!0,prefix:u,hideAuthorImage:d}),l.createElement(Gr,{story:t})))};wa.propTypes={story:e.object.isRequired,border:e.oneOfType([e.string]),isBottom:e.bool,isHorizontal:e.bool,aspectRatio:e.oneOfType([e.array]),isHorizontalMobile:e.bool,centerAlign:e.bool,headerLevel:e.string,borderColor:e.string,hideAuthorImage:e.bool,prefix:e.string,config:e.object,isHorizontalWithImageLast:e.bool},ba.propTypes={story:e.object.isRequired,children:e.node,isHorizontal:e.bool,border:e.oneOfType([e.string]),useImageAsBackground:e.bool,bgImgContentOverlap:e.bool,aspectRatio:e.oneOfType([e.array]),theme:e.string,isHorizontalMobile:e.bool,centerAlign:e.bool,headerLevel:e.string,borderColor:e.string,hideAuthorImage:e.bool,prefix:e.string,config:e.object,isHorizontalWithImageLast:e.bool},ba.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Ea=function(e){var t=e.color,r=void 0===t?"#333":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},l.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"}))};Ea.propTypes={color:e.string};var xa={"./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 ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Na(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(r),!0).forEach((function(t){Yr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ca=function(e){var t=e.config,r=void 0===t?{}:t,a=e.collection,o=e.template,n=void 0===o?"SubsequentLoadCount":o,i=e.onClick,c=e.navigate,s=e.qtConfig,m=r.showButton,d=void 0===m||m,u=r.buttonText,p=void 0===u?"Read More":u,h=r.theme,_=void 0===h?"":h,f=r.customUrlPath,g=void 0===f?"":f;if(!d)return null;var v=rr(_),b=g?"/".concat(g):function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var a=t.magazineSlug,o=void 0===a?"":a,n=t.isArchivePage;return void 0!==n&&n?"/magazine/archive/".concat(o):o?"/magazine/".concat(o,"/").concat(e.slug):e?ar(e,t):"/"}(a,Na(Na({},s),r));return"SubsequentLoadCount"===n?l.createElement("div",{onClick:i,"data-test-id":"load-more",className:"arr--button "+I("button ".concat(v," default"),xa)},p):l.createElement(y,{href:b,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},l.createElement("div",{className:"arr--button "+I("button ".concat(v," default"),xa)},p))};Ca.propTypes={collection:e.object,template:e.string,config:e.object,onClick:e.func,navigate:e.func,qtConfig:e.object};var Ta={"./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_"}},ja=function(e){var t=e.config,r=e.index,a=e.cardLength,o=e.card,n=void 0===o?{}:o,i=e.slug,c=e.loadCards,s=e.showLoadMore,m=n["card-added-at"],d=n["story-elements"],u=void 0===d?[]:d,p=n.id,h=t.theme,_=t.mountAt,f=void 0===_?"":_,g=rr(h),v="dark"===g?"#333":"#fff",y=r===a-1,b=y?"borderNone":"";return l.createElement(l.Fragment,null,l.createElement("div",{className:I("time-wrapper ".concat(g),Ta)},l.createElement(Ea,{color:v}),dr(m,Yt,{showTime:!0,isTimeFirst:!0})),l.createElement("a",{href:"".concat(f,"/").concat(i,"#").concat(p),"aria-label":"event-title"},l.createElement("div",{className:I("event-title ".concat(g," ").concat(b),Ta)},u.map((function(e,t){return"title"===e.type&&l.createElement("h3",{key:t},e.text)})),s&&y&&c&&l.createElement("div",{className:"key-events-m_fade-out__11jv_",style:{backgroundImage:"linear-gradient(to bottom, transparent, ".concat(h,")")}}))))};ja.propTypes={card:e.shape({"card-added-at":e.number,"story-elements":e.array,id:e.string}),config:e.object,slug:e.string,story:e.object,elements:e.array,index:e.number,cardLength:e.number,loadCards:e.bool,showLoadMore:e.bool};var Ia=function(e){var t=e.story,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.showLoadMore,i=void 0===n||n,c=qt(r,["cards"],[]),s=o.theme,d=o.initialLoadCount,u=void 0===d?4:d,p=rr(s),h=Mt(m(u),2),_=h[0],f=h[1],g=c.filter((function(e){return qt(e.metadata,["attributes","key-event"])})),v=g.length>_,y=k((function(e){return qt(e,["qt","config"],{})}));if(g.length<1)return null;var b=(i?g.slice(0,_):g.slice(0,4)).map((function(e,t,a){return l.createElement(ja,{cardLength:a.length,card:e,key:e.id,slug:r.slug,config:o,index:t,loadCards:v,showLoadMore:i})}));return l.createElement("div",{style:{background:s},className:"arrow-component "+I("container ".concat(p),Ta)},l.createElement("h3",null,"Key Events"),l.createElement("div",{className:"key-events-m_cards-wrapper__3f8aB"},b),i&&v&&l.createElement(Ca,{onClick:function(){f(_+u)},template:"SubsequentLoadCount",config:o,qtConfig:y}))};Ia.propTypes={story:e.object,config:e.object,showLoadMore:e.bool};var Oa=Te(Ia);function za(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function La(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?za(Object(r),!0).forEach((function(t){Yr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):za(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Sa={"./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"}},qa=function(e){var t=e.data,r=e.slotData,a=e.horizontal,o=e.config,n=e.opts,i=r||o,c=i.theme,s=void 0===c?"":c,u=i.title,p=void 0===u?"":u,h=i.collectionSlug,_=void 0===h?"":h,f=p||"Related Stories",g=a?"horizontal-wrapper":"",v=qt(o,["mountAtPrefix"],""),y=Mt(m([]),2),b=y[0],w=y[1],E=Mt(m([]),2),x=E[0],k=E[1],N=function(){var e=Wt(Zt.mark((function e(t){var r,a;return Zt.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,mr(t,v);case 2:r=e.sent,k(r),a=r.items,w(a);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return d((function(){_&&N(_)}),[_]),d((function(){if(!_&&t){var e=t.items||t;w(e)}}),[t,_]),l.createElement(l.Fragment,null,l.createElement(da,{customCollectionName:f,textColor:!0,collection:x}),l.createElement("div",{className:"aside-collection-m_stories__9wfUs"},b&&b.length>0?b.slice(0,4).map((function(e){var t=e.story||e;return l.createElement("div",{className:"aside-collection-m_story__17Jdm",key:t.id},l.createElement(ba,{story:t,isHorizontal:!0,theme:s,config:o},l.createElement("div",{className:"aside-collection-m_story-hero-image__13nFY"},l.createElement(va,{story:t,aspectRatio:[[4,3]]})),l.createElement("div",null,g&&l.createElement(Br,{story:t}),l.createElement(pa,{story:t}),l.createElement("div",{className:"aside-collection-m_story-byline__37KRG"},l.createElement(ca,{config:n,story:t})))))})):l.createElement("div",{"data-test-id":"no-stories",className:"aside-collection-m_info__3p4zt"},"No stories found.")))};qa.propTypes={data:e.oneOfType([e.object,e.array]),config:e.object,horizontal:e.bool,slotData:e.object,opts:e.object};var Aa=function(e){var t=e.data,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.horizontal,i=void 0!==n&&n,c=e.slots,s=void 0===c?[]:c,m=e.sticky,d=void 0!==m&&m,u=e.keyEventsData,p=void 0===u?{}:u,h=e.enableKeyEvents,_=void 0!==h&&h,f=e.adComponent,g=e.widgetComp,v=e.storyId,y=e.opts,b=void 0===y?{}:y;if(ir(r))return null;var w=o.theme,E=i?"horizontal-wrapper":"";if(i)return l.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",id:"aside-collection-".concat(v),className:"arrow-component arr--aside-collection "+I("wrapper ".concat(E),Sa)},l.createElement(qa,{data:r,horizontal:i,config:o,opts:b}));var x=d?"sticky":"";return l.createElement("div",{style:{backgroundColor:w},"data-test-id":"aside-collection",className:"arrow-component arr--aside-collection "+I(["wrapper",E,x].join(" "),Sa)},_&&l.createElement(Oa,{story:p.story,showLoadMore:p.showLoadMore,config:p.config}),s.map((function(e,t){return function(e,t,a){switch(e){case"ad":return l.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},f(La(La({},t),{},{id:"ad-".concat(a,"_").concat(v)})));case"widget":return l.createElement("div",{className:"aside-collection-ad-slot aside-collection-m_ad-slot__28nE2"},g(La(La({},t),{},{id:"widget-".concat(a,"_").concat(v)})));case"collection":return l.createElement("div",{id:"aside-collection-".concat(a,"_").concat(v)},l.createElement(qa,{slotData:t,data:r,horizontal:i,config:o,opts:b}))}}(e.type,e,t)})))};Aa.propTypes={data:e.oneOfType([e.object,e.array]),config:e.object,opts:e.object,horizontal:e.bool,slots:e.array,adComponent:e.func,widgetComp:e.func,sticky:e.bool,keyEventsData:e.shape({story:e.object,config:e.object,showLoadMore:e.boolean}),enableKeyEvents:e.boolean,storyId:e.string};var Ma=Te(Aa),Pa={"./author-card.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","author-card-wrapper":"author-card-m_author-card-wrapper__2tErR",centerAligned:"author-card-m_centerAligned__2h4Yq","author-image-wrapper":"author-card-m_author-image-wrapper__1at-z",default:"author-card-m_default__2dkRY","author-image":"author-card-m_author-image__3Fu25","multi-author-image":"author-card-m_multi-author-image__zAm2h","first-author-image":"author-card-m_first-author-image__18Y3p","author-details-wrapper":"author-card-m_author-details-wrapper__1c2uc",leftAligned:"author-card-m_leftAligned__3B9ao","author-name-share":"author-card-m_author-name-share__3vb9q","multiple-author-style":"author-card-m_multiple-author-style__1Fd3D","dot-wrapper":"author-card-m_dot-wrapper__2soc1","author-bio":"author-card-m_author-bio__2WDsW",dark:"author-card-m_dark__1u0YB",light:"author-card-m_light__3z8S3"}},Ra=function(e){var t=e.story,r=void 0===t?{}:t,a=e.template,o=void 0===a?"leftAligned":a,n=e.clazzName,i=void 0===n?"":n,c=e.opts,s=void 0===c?{}:c,m=e.mountAt,d=void 0===m?"":m,u=je()||{},p=r.authors,h=void 0===p?[]:p,_=1===h.length,v=s.showBio,y=void 0!==v&&v,b=s.showImage,w=void 0===b||b,E=s.showName,x=void 0===E||E,k=rr(u.theme);return l.createElement("div",{"data-test-id":"author-card-".concat(Ne(o)),className:(i?i+" ":"")+I("author-card-wrapper ".concat(o),Pa)},h.map((function(e,t){return l.createElement(l.Fragment,{key:e.id},w&&(e["avatar-url"]||e["avatar-s3-key"])&&l.createElement("div",{"data-test-id":"author-image",className:"author-card-m_author-image-wrapper__1at-z"},l.createElement(f,{href:"".concat(d,"/author/")+e.slug,key:"author-image-".concat(t),"aria-label":"author-image"},l.createElement("div",{className:I("author-image ".concat(t?"":"first-author-image"," ").concat(_?"":"multi-author-image"),Pa)},function(e){var t=e["avatar-url"],r=e["avatar-s3-key"],a=e.name;return t||r?l.createElement("figure",{"data-test-id":"author-image"},r?l.createElement(g,{slug:r,"aspect-ratio":[1,1],defaultWidth:48,imgParams:{auto:["format","compress"]},alt:a}):l.createElement("img",{src:t})):null}(e)))))})),x&&l.createElement("div",{"data-test-id":"author-name",className:"author-card-m_author-name-share__3vb9q"},h.map((function(e,t){return l.createElement(l.Fragment,null,0!==t&&(h.length>1?", ":""),l.createElement(f,{href:"".concat(d,"/author/")+e.slug,"aria-label":"author-name"},l.createElement("h5",{className:I("multiple-author-style ".concat(k),Pa)},e.name)))})),_&&"centerAligned"!==o&&l.createElement(l.Fragment,null,h[0]["twitter-handle"]&&l.createElement(l.Fragment,null,l.createElement("div",{className:"author-card-m_dot-wrapper__2soc1"},l.createElement(ra,{color:k})),l.createElement("a",{href:"http://twitter.com/"+h[0]["twitter-handle"],target:"_blank",rel:"noopener noreferrer"},l.createElement(Pt,null))))),l.createElement("div",{"data-test-id":"author-info",className:"author-card-m_author-details-wrapper__1c2uc"},y&&_&&"default"!==o&&l.createElement("p",{className:I("author-bio ".concat(k),Pa)},h[0].bio)))};Ra.propTypes={story:e.shape({authors:e.array}),template:e.string,opts:e.shape({showImage:e.bool,showBio:e.bool,showName:e.bool}),mountAt:e.string,clazzName:e.string};var Ba={"./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"}},Ha=function(e){var t=e.story,r=e.element;if(e.config,!t&&!r)return null;var a=je()||{},o=rr(a.theme),n=t||{},i=n["hero-image-caption"],c=void 0===i?"":i,s=n["hero-image-attribution"],m=void 0===s?"":s,d=r||{},u=d.title,p=void 0===u?"":u,h=d["image-attribution"],_=c||p,f=m||(void 0===h?"":h),g=_?"wrapper":"";return l.createElement("div",{"data-test-id":"caption",className:"arr--caption-attribution "+I("caption ".concat(o),Ba)},l.createElement("span",{dangerouslySetInnerHTML:{__html:_}}),f&&l.createElement("span",{"data-test-id":"attribution",dangerouslySetInnerHTML:{__html:f},className:I("attribution ".concat(o," ").concat(g),Ba)}))};Ha.propTypes={config:e.shape({theme:e.string}),story:cr,element:e.shape({"image-attribution":e.string,title:e.string})};var Fa={"./publish-details.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",timeStamp:"publish-details-m_timeStamp__2yL0k",dark:"publish-details-m_dark__1L30z",light:"publish-details-m_light__2r13-","publish-details":"publish-details-m_publish-details__2a1Xq","update-details":"publish-details-m_update-details__1VTp3","dot-indicator":"publish-details-m_dot-indicator____Mrp",date:"publish-details-m_date__3ZIQN"}};function Da(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Ua(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Da(Object(r),!0).forEach((function(t){Yr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Da(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Wa=function(e){var t=e.story,r=e.opts,a=void 0===r?{}:r,o=Mt(m("ltr"),2),n=o[0],i=o[1];d((function(){var e=document.getElementsByTagName("HTML");e&&e.length>0&&"rtl"===e[0].dir.toLocaleLowerCase()&&i("rtl")}),[]);var c=je()||{},s=t["first-published-at"],u=t["last-published-at"],p=t["updated-at"],h=a.enableUpdatedTime,_=a.enablePublishedTime,f=a.showReadTime,g=a.localizedPublishedOn,v=a.localizedUpdatedOn,y=u||s,b=rr(c.theme),w=Ua(Ua({},a),{},"rtl"===n?{direction:n,isTimeFirst:!0,showTime:!0}:{direction:n,showTime:!0});return l.createElement("div",{"data-test-id":"timeStamp",className:"arrow-component arr-publish-details "+I("timeStamp ".concat(b),Fa)},l.createElement("div",{"data-test-id":"publishDetails",className:I("publish-details ".concat(b),Fa)},_&&l.createElement(l.Fragment,null,g||"Published on"," : ",l.createElement("div",{className:"publish-details-m_date__3ZIQN"},dr(y,Yt,w)),f&&l.createElement(ia,{story:t,opts:a}))),h&&l.createElement("div",{"data-test-id":"updateDetails",className:I("update-details ".concat(b),Fa)},v||"Updated on"," : ",l.createElement("div",{className:"publish-details-m_date__3ZIQN"},dr(p,Yt,w)),f&&l.createElement(ia,{story:t,opts:a})))};Wa.propTypes={story:e.shape({"first-published-at":e.number,"last-published-at":e.number,"read-time":e.number,"updated-at":e.number}),opts:e.shape({showReadTime:e.bool,enableUpdatedTime:e.bool,enablePublishedTime:e.bool})};var Va={"./tags.m.css":{tags:"tags-m_tags__1Ncq0",roundCorners:"tags-m_roundCorners__3j9s1",dark:"tags-m_dark__28n8B",light:"tags-m_light__fi-tT"}},Za=function(e){var t=e.tags,r=void 0===t?[]:t,a=e.template,o=void 0===a?"":a,n=e.config;e.borderColor;var i=je()||{},c=rr(i.theme),s=qt(n,["mountAt"],""),m="roundCorners"===o?"roundCorners":"";return l.createElement("div",{className:"arrow-component arr--story-tags"},r.length>0&&r.map((function(e,t){return l.createElement("div",{key:t,"data-test-id":"story-tag",className:I("tags ".concat(m," ").concat(c),Va)},l.createElement(f,{href:"".concat(s,"/topic/")+e.slug,"aria-label":"story-tag-name"},e.name))})))};function Ka(e,t){if(null==e)return{};var r,a,o=function(e,t){if(null==e)return{};var r,a,o={},n=Object.keys(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(a=0;a<n.length;a++)r=n[a],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}Za.propTypes={tags:e.array,borderColor:e.string,config:e.object,template:r};var Ga=["element","render"],Ya=function(e){return function(t){var r=t.element,a=t.render,o=Ka(t,Ga);return r?a&&"function"==typeof a?a(t):l.createElement(e,Ie({},o,{element:r})):null}};Ya.propTypes={StoryElement:e.element};var Qa=["element","opts","css","story","config"],Ja={"./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"}},Xa=function(e){var t=e.element,r=void 0===t?{}:t,a=e.opts,o=void 0===a?{}:a,n=e.css,i=void 0===n?{}:n;e.story,e.config;var c=Ka(e,Qa),s=r.text;if(!s)return null;var m=je()||{},d=rr(m.theme),u=i.textColor,p=o.isExternalLink,h=(void 0===p||p)&&nr(s)||s,_=qt(r,["metadata","promotional-message"],!1),f=_?"promotionalMessage":"textElement";return l.createElement("div",Ie({style:_?{}:{color:u},"data-test-id":_?"promotional-message":"text",dangerouslySetInnerHTML:{__html:h},id:"text-element"},c,{className:"arrow-component arr--text-element "+I("".concat(f," ").concat(d),Ja)+" "+(c&&c.className||"")}))};Xa.propTypes={element:e.shape({text:e.string}),opts:e.shape({isExternalLink:e.bool}),css:e.shape({hyperlinkColor:e.string,textColor:e.string}),story:cr,config:lr};var $a=Ya(Xa),eo=["element","template","opts","css","story","config","render"],to={"./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"}},ro=function(e){var t=e.element,r=e.template,a=void 0===r?"":r,o=e.opts,n=void 0===o?{}:o,i=e.css,c=void 0===i?{}:i;e.story,e.config,e.render;var s=Ka(e,eo),u=t.text,p=c.borderColor,h="withBorder"===a?{border:"solid 2px ".concat(p)}:{borderLeft:"solid 2px ".concat(p)},_=Mt(m(h),2),f=_[0],g=_[1];if(!u)return null;d((function(){var e=document.getElementsByTagName("HTML");e&&e.length&&"rtl"===e[0].dir.toLowerCase()&&"withBorder"!==a&&g({borderRight:"solid 2px ".concat(p)})}),[]);var v=n.isExternalLink,y=(void 0===v||v)&&nr(u)||u,b=a?"blurb-".concat(a):"blurb",w=je()||{},E=rr(w.theme);return l.createElement("div",Ie({"data-test-id":"blurb",style:p&&f,dangerouslySetInnerHTML:{__html:y}},s,{className:"arrow-component arr-custom-style arr--blurb-element "+I("".concat(b," ").concat(E),to)+" "+(s&&s.className||"")}))};ro.propTypes={element:e.shape({text:e.string}),template:e.string,opts:e.shape({isExternalLink:e.bool}),story:cr,config:lr,render:e.func,css:e.object};var ao=Ya(ro),oo=["element","template","opts","css","story","config","render"],no={"./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"}},io=function(e){var t=e.element,r=e.template,a=void 0===r?"":r,o=e.opts,n=void 0===o?{}:o,i=e.css,c=void 0===i?{}:i;e.story,e.config,e.render;var s=Ka(e,oo),m=je()||{},d=rr(m.theme),u=t.text;if(!u)return null;var p=c.headerBgColor,h=n.isExternalLink,_=void 0===h||h,f=n.headline,g=void 0===f?"Summary":f,v=n.hideHeadline,y=void 0!==v&&v,b=_&&nr(u)||u,w=["header","border"].includes(a)?"summary-".concat(a):"summary",E=y?"content-border":"",x="header"===a||"border"===a,k=x?"".concat(p):"",N=x?rr(p):"",C="header"===a?"":d;return l.createElement("div",Ie({"data-test-id":"summary"},s,{className:"arrow-component arr--summary-element arr-custom-style "+I(w,no)+" "+(s&&s.className||"")}),!y&&l.createElement("div",{"data-test-id":"summary-headline",className:I("heading-wrapper ".concat(d),no)},l.createElement("div",{style:{backgroundColor:k},className:I("headline ".concat(N," ").concat(d),no)},g)),l.createElement("div",{dangerouslySetInnerHTML:{__html:b},className:I("content ".concat(E," ").concat(C," ").concat(d),no)}))};io.propTypes={element:e.shape({text:e.string}),template:e.string,opts:e.shape({isExternalLink:e.bool,headline:e.string,hideHeadline:e.bool}),story:cr,config:lr,render:e.func,css:e.shape({headerBgColor:e.string})};var lo=Ya(io),co=function(e){var t=e.width,r=e.height,a=e.color,o=e.opacity,n="light"===a&&"#ffffff",i="dark"===a&&"#0d0d0d";return l.createElement("div",{className:"icon-m_curve-wrapper__3-sLV",style:{fill:"".concat(n||i||a)}},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 64 64"},l.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"})))};co.propTypes={width:e.string,height:e.string,color:e.string,opacity:e.string};var so=function(e){var t=e.width,r=e.height,a=e.color,o=e.opacity,n="light"===a&&"#ffffff",i="dark"===a&&"#0d0d0d";return l.createElement("div",{className:"icon-m_edge-wrapper__xUOdp",style:{fill:"".concat(n||i||a)}},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 64 64"},l.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"})))};so.propTypes={width:e.string,height:e.string,color:e.string,opacity:e.string};var mo=["element","template","css","story","config","render"],uo={"./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"}},po=function(e,t,r,a){var o=tr("mobile")?"48px":"64px";return"withBackground"===t?"edgeIcon"===e?l.createElement(so,{width:o,height:o,color:a,opacity:".4"}):l.createElement(co,{width:o,height:o,color:a,opacity:".4"}):"withBackground"!==t?"edgeIcon"===e?l.createElement(so,{width:o,height:o,color:r}):l.createElement(co,{width:o,height:o,color:r}):void 0},ho=function(e){var t=e.element,r=e.template,a=e.css,o=void 0===a?{}:a;e.story,e.config,e.render;var n=Ka(e,mo),i=qt(t,["metadata"]),c=i.content,s=i.attribution;if(!c)return null;var m=o.blockQuoteColor,d=o.backgroundShade,u=o.iconType,p=r?"blockquote-".concat(r):"blockquote",h="withBackground"===r,_=h?rr(d):"",f=h&&d?{backgroundColor:d}:{},g=je()||{},v=rr(h?f.backgroundColor:g.theme);return l.createElement("div",Ie({"data-test-id":"blockquote",style:f},n,{className:"arrow-component arr--block-quote "+I("".concat(p," ").concat(_),uo)+" "+(n&&n.className||"")}),l.createElement("div",{className:"block-quote-m_quote-wrapper__83bEy"},"withBorder"===r?l.createElement("div",{className:"block-quote-m_icon-border__2xQQY"},l.createElement("div",{className:"block-quote-m_icon__m-EIZ"},po(u,r,m,_)),l.createElement("div",{className:"block-quote-m_border__1ZTPR",style:m&&{backgroundColor:m}})):l.createElement("div",{className:"block-quote-m_icon__m-EIZ"},po(u,r,m,_)),l.createElement("div",{className:"block-quote-m_wrapper__2KEhw",style:m&&{borderColor:m}},l.createElement("div",{dangerouslySetInnerHTML:{__html:c},className:I("content ".concat(v),uo)}),l.createElement("div",{dangerouslySetInnerHTML:{__html:s},className:I("attribution ".concat(v),uo)}))))};ho.propTypes={element:e.shape({metadata:e.shape({content:e.string,attribution:e.string})}),template:e.string,story:cr,config:lr,render:e.func,css:e.object};var _o=Ya(ho),fo=["element","story","config"],go={"./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"}},vo=function(e){var t=e.element;e.story,e.config;var r=Ka(e,fo),a=je()||{},o=rr(a.theme),n=t.metadata,i=n.content,c=n.attribution;return l.createElement("div",Ie({"data-test-id":"bigfact"},r,{className:"arrow-component arr--bigfact-element "+I("bigfact-element ".concat(o),go)+" "+(r&&r.className||"")}),l.createElement("div",{className:"big-fact-m_content__1u2Ul"},i),l.createElement("div",{"data-test-id":"attribution",className:I("attribution ".concat(o),go)},c))};vo.propTypes={element:e.shape({metadata:e.shape({content:e.string,attribution:e.string})}),story:e.object,config:e.object};var yo=Ya(vo),bo=["story","element","template","opts","css","config","render"],wo={"./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"}},Eo=function(e){var t=e.story,r=e.linkedImage,a=e.template,o=e.isRightAlign,n="textLeftAlign"===a,i=tr("mobile"),c=n?[16,9]:o&&i?[4,3]:[16,9],s=t["hero-image-caption"]||t.headline;return l.createElement("div",{className:"also-read-m_card-image-wrapper__3GFzu"},ir(r)?l.createElement("div",{className:"arr--fallback-also-read also-read-m_image__2jdRP"},l.createElement(fa,null)):l.createElement("figure",{className:"also-read-m_card-image__3CwAv"},l.createElement(b,null,l.createElement(g,{slug:r,"aspect-ratio":c,defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},alt:s}))))};Eo.propTypes={story:e.shape({"hero-image-caption":e.string,headline:e.string}),linkedImage:e.string,template:e.string,isRightAlign:e.bool};var xo=function(e){var t=e.story,r=void 0===t?{}:t,a=e.element,o=e.template,n=void 0===o?"":o,i=e.opts,c=void 0===i?{}:i,s=e.css,m=void 0===s?{}:s;e.config,e.render;var d=Ka(e,bo),u=a.text;if(!u)return null;var p=qt(r,["linked-stories"],{}),h=qt(a,["metadata","linked-story-id"]),_=qt(p,[h,"url"]),g=qt(p,[h,"hero-image-s3-key"],""),v=_&&_,y=je()||{},b=rr(y.theme),w=c.title,E=void 0===w?"":w,x=m.textColor,k=E||"Also Read",N=""===n||"default"===n,C="imageRightAlign"===n,T=n?"alsoread-".concat(n):"alsoread-default";return l.createElement(f,Ie({"data-test-id":"also-read",href:v,"aria-label":"also-read"},d,{className:"arrow-component arr--also-read-element "+I(T,wo)+" "+(d&&d.className||"")}),!N&&l.createElement("div",{className:I("default-text ".concat(b),wo)},k),N&&l.createElement(Eo,{story:r,linkedImage:g,template:n,isRightAlign:C}),l.createElement("div",{className:"also-read-m_content-wrapper__26AZX"},l.createElement("div",{className:"also-read-m_headline__VzF-c",style:x?{color:x}:{color:b},dangerouslySetInnerHTML:{__html:u}}),C&&l.createElement(Eo,{story:r,linkedImage:g,template:n})))};xo.propTypes={template:e.string,story:e.shape({"linked-stories":e.object}),element:e.shape({text:e.string,metadata:e.shape({linkedStoryId:e.shape({url:e.string,"hero-image-s3-key":e.string})})}),opts:e.shape({title:e.string}),config:lr,render:e.func,css:e.object};var ko=Ya(xo),No=function(e){return e.width,e.height,e.iconColor,l.createElement("div",{className:"loading-m_loading-indicator__2Dlst"},l.createElement("svg",{width:"40",height:"40",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},l.createElement("circle",{cx:"84",cy:"50",r:"0",fill:"currentColor"},l.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"}),l.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"})),l.createElement("circle",{cx:"84",cy:"50",r:".709",fill:"currentColor"},l.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"}),l.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"})),l.createElement("circle",{cx:"81.59",cy:"50",r:"10",fill:"currentColor"},l.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"}),l.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"})),l.createElement("circle",{cx:"47.59",cy:"50",r:"10",fill:"currentColor"},l.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"}),l.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"})),l.createElement("circle",{cx:"16",cy:"50",r:"9.291",fill:"currentColor"},l.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"}),l.createElement("animate",{attributeName:"cx",values:"16;16;16;50;84",keyTimes:"0;0.25;0.5;0.75;1",keySplines:"0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1;0 0.5 0.5 1",calcMode:"spline",dur:"2s",repeatCount:"indefinite",begin:"0s"}))))};function Co(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}No.propTypes={width:e.object,height:e.object,iconColor:e.object};var To=p((function(){return import("react-image-lightbox")})),jo=function(e){var t=e.imageSlug,r=void 0===t?"":t,a=e.template,o=e.element,n=void 0===o?{}:o,i=e.props,c=k((function(e){return qt(e,["qt","config","cdn-image"])})),s=Mt(m(0),2),d=s[0],p=s[1],h=Mt(m(!1),2),_=h[0],f=h[1],g=qt(global,["innerWidth"],0),v=[];r||(v=qt(n,["story-elements"],[]).map((function(e){return"//".concat(c,"/").concat(e["image-s3-key"],"?w=").concat(g)})));var y=r?"onClick":"onClickHandler",b=v.length,w=r?{mainSrc:"//".concat(c,"/").concat(r,"?w=").concat(g)}:{mainSrc:v[d],nextSrc:v[(d+1)%b],prevSrc:v[(d+b-1)%b],onMoveNextRequest:function(){return function(e){p((d+1)%e)}(b)},onMovePrevRequest:function(){return function(e){p((d+e-1)%e)}(b)}},E=function(){return l.createElement("div",null,l.createElement(No,null))};return l.createElement("div",null,l.createElement(a,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Co(Object(r),!0).forEach((function(t){Yr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Co(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}(Yr({},y,(function(e){f(!0),p(e)})),i)),_?l.createElement(u,{fallback:l.createElement(E,null)},l.createElement(To,Ie({wrapperClassName:"arr--image-lightbox",onCloseRequest:function(){p(0),f(!1)}},w))):null)};jo.propTypes={imageSlug:e.string,template:e.func,element:e.shape({"story-elements":e.array}),props:e.object};var Io=["element","opts","story","config","caption"],Oo=function(t){var r=t.element,a=t.opts,o=void 0===a?{}:a,n=t.story,i=void 0===n?{}:n;t.config;var c=t.caption,s=void 0===c||c,m=Ka(t,Io);if(!r)return null;var d=je()||{},u=function(e){var t=e.onClick;return l.createElement(l.Fragment,null,l.createElement("figure",{className:"image-m_element__KVuzX",onClick:function(){return t()}},l.createElement(g,{slug:r["image-s3-key"],metadata:r["image-metadata"],alt:r.title,aspectRatio:null,defaultWidth:640,widths:o.imageWidths||[360,640,1200],imgParams:{auto:["format","compress"]}})))};return u.propTypes={onClick:e.func},l.createElement("div",Ie({className:"arrow-component arr--image-element"},m,{"data-test-id":"image-element"}),l.createElement(jo,{template:u,element:r,imageSlug:r["image-s3-key"],story:i}),s&&l.createElement(Ha,{element:r,config:d}))};Oo.propTypes={element:e.shape({"image-s3-key":e.string,"image-metadata":e.object,"image-attribution":e.string,title:e.string}),caption:e.bool,opts:e.shape({imageWidths:e.array}),story:cr,config:lr};var zo=Ya(Oo),Lo=["element","template","css","story","config","opts","render"],So={"./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"}},qo=function(e){var t=e.element,r=e.template,a=e.css,o=void 0===a?{}:a;e.story,e.config;var n=e.opts,i=void 0===n?{}:n;e.render;var c=Ka(e,Lo),s=je()||{},m=rr(s.theme);if(!t)return null;var d=i.type,u=i.defaultIconType,p=i.isExternalLink,h=void 0===p||p,_=o.iconColor,f=function(e,t){switch(e){case"q-and-a":var r=qt(t,["metadata"]);return{question:r.question,answer:r.answer,questionAttribution:qt(t,["metadata","interviewer","avatar-url"]),answerAttribution:qt(t,["metadata","interviewee","avatar-url"])};case"question":return{question:qt(t,["text"]),questionAttribution:qt(t,["metadata","interviewer","avatar-url"])};case"answer":return{answer:qt(t,["text"]),answerAttribution:qt(t,["metadata","interviewee","avatar-url"])}}}(d,t),g=f.question,v=f.answer,y=f.questionAttribution,b=f.answerAttribution,w=rr(_),E=g&&(h&&nr(g)||g),x=v&&(h&&nr(v)||v),k="withAuthorImage"===r,N=k?"qa-withAuthorImage":"qa-default",C="curve"===u?"curveIcon":"edgeIcon",T=k?y&&l.createElement(l.Fragment,null,l.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},l.createElement("img",{src:y,loading:"lazy"})),l.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):l.createElement("div",{"data-test-id":C,style:{backgroundColor:_},className:I("".concat(C," ").concat(w),So)},"Q"),j=k?b&&l.createElement(l.Fragment,null,l.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},l.createElement("img",{src:b,loading:"lazy"})),l.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):l.createElement("div",{"data-test-id":C,style:{backgroundColor:_},className:I("".concat(C," ").concat(w),So)},"A");return l.createElement("div",Ie({"data-test-id":"question-answer"},c,{className:"arrow-component arr-custom-style arr--qa-element "+I(N,So)+" "+(c&&c.className||"")}),"answer"!==d&&l.createElement("div",{className:"question-answer-m_q-element__1ZA5d","data-test-id":"question"},T,l.createElement("div",{dangerouslySetInnerHTML:{__html:E},className:I("content ".concat(m),So)})),"question"!==d&&l.createElement("div",{className:"question-answer-m_a-element__BTxfl","data-test-id":"answer"},j,l.createElement("div",{dangerouslySetInnerHTML:{__html:x},className:I("content ".concat(m),So)})))};qo.propTypes={element:e.shape({metadata:e.shape({interviewer:e.shape({"avatar-url":e.string}),interviewee:e.shape({"avatar-url":e.string}),question:e.string,answer:e.string}),text:e.string}),opts:e.shape({type:e.string,defaultIconType:e.string,isExternalLink:e.bool}),template:e.string,css:e.object,config:lr,story:cr,render:e.func};var Ao=Ya(qo),Mo=["element","template","opts","story","config"],Po={"./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"}},Ro=function(t){var r=t.element,a=t.template,o=void 0===a?"":a;t.opts,t.story,t.config;var n=Ka(t,Mo);if(!r)return null;var i=tr("mobile"),c=r["story-elements"],s="template-2"===o&&c.length,m=s>6?c.slice(0,6):c,d=s>4?c.slice(0,4):c,u=i?d:m,p="template-2"===o?"template-2":"",h=function(){var e=s>6&&c.length-6,t=s>4&&c.length-4,r=i?t:e;return l.createElement("div",{className:"image-gallery-m_left-images__34gjv"},r)},_=function(e){var t=e.onClickHandler,r=u.map((function(e,r){return l.createElement("figure",{key:r,"data-text-id":"image-".concat(r),onClick:function(){return t&&t(r)},className:I("image ".concat(p),Po)},l.createElement(g,{slug:e["image-s3-key"],metadata:e["image-metadata"],alt:e.title,aspectRatio:[1,1],defaultWidth:640,imgParams:{auto:["format","compress"]}}),u.length-1===r&&l.createElement(h,null))}));return l.createElement("div",Ie({className:" arrow-component arr--image-element image-gallery-m_image-gallery__1Q7if "+(n&&n.className||"")},n,{"data-test-id":"image-gallery"}),r)};return _.propTypes={onClickHandler:e.func},l.createElement(jo,{template:_,element:r})};Ro.propTypes={element:e.shape({"story-elements":e.array}),opts:e.shape({imageWidths:e.array}),story:cr,config:lr,template:e.string};var Bo=Ya(Ro),Ho=["element","story","config"],Fo=function(e){var t=e.element;e.story,e.config;var r=Ka(e,Ho);return l.createElement("div",Ie({},r,{"data-test-id":"story-elements"}),l.createElement(w,{element:t}))},Do=Ya(Fo);Fo.propTypes={element:e.object,story:cr,config:lr};var Uo=["element","story","config","loadIframeOnClick"],Wo=function(e){var t=e.element;e.story,e.config;var r=e.loadIframeOnClick,a=void 0!==r&&r,o=Ka(e,Uo);return l.createElement("div",Ie({className:"video-m_container__MYuWI "+(o&&o.className||"")},o,{"data-test-id":"video"}),l.createElement(w,{element:t,loadIframeOnClick:a}))};Wo.propTypes={element:e.object,story:cr,config:lr,loadIframeOnClick:e.bool};var Vo=Ya(Wo),Zo=["element","template","css","story","config","render"],Ko={"./quote.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",quote:"quote-m_quote__13tTt",text:"quote-m_text__2hXSE","quote-borderNone":"quote-m_quote-borderNone__2EuoK","quote-borderTopSmall":"quote-m_quote-borderTopSmall__2DN-3","quote-borderLeft":"quote-m_quote-borderLeft__3QaAY",dark:"quote-m_dark__1migZ",light:"quote-m_light__30NnM",attribution:"quote-m_attribution__20Y6O",line:"quote-m_line__3gtoE"}},Go=function(e){var t=e.element,r=e.template,a=void 0===r?"":r,o=e.css,n=void 0===o?{}:o;e.story,e.config,e.render;var i=Ka(e,Zo),c=je()||{},s=rr(c.theme),m=t.metadata,d=m.content,u=m.attribution;if(!d)return null;var p=n.borderColor,h="borderLeft"===a&&"4px solid ".concat(p),_=a?"quote-".concat(a):"quote";return l.createElement("div",Ie({"data-test-id":"quote"},i,{className:"arrow-component arr--quote-element "+I(_,Ko)+" "+(i&&i.className||"")}),"borderTopSmall"===a&&l.createElement("div",{className:"quote-m_line__3gtoE",style:p&&{backgroundColor:p}}),l.createElement("p",{style:p&&{borderLeft:h},dangerouslySetInnerHTML:{__html:d},className:I("text ".concat(s),Ko)}),l.createElement("p",{"data-test-id":"quote-attribution",className:I("attribution ".concat(s),Ko)},u))};Go.propTypes={element:e.shape({metadata:e.shape({content:e.string,attribution:e.string})}),template:e.string,story:cr,config:lr,render:e.func,css:e.object};var Yo=Ya(Go),Qo=["element","config","opts"],Jo={"./reference.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",wrapper:"reference-m_wrapper__1C4Ot",name:"reference-m_name__24IwG",description:"reference-m_description__2x3Io",dark:"reference-m_dark__3Zlnx",light:"reference-m_light__1B8Ud"}},Xo=function(e){var t=e.element;e.config;var r=e.opts,a=void 0===r?{}:r,o=Ka(e,Qo);if(!t)return null;var n=je()||{},i=rr(n.theme),c=t["story-elements"]&&t["story-elements"].map((function(e){return e.metadata})),s=a.showHeadline,m=void 0===s||s,d=a.headlineText;return l.createElement("div",Ie({className:"arrow-component arr--reference-element"},o),c&&c.map((function(e,t){var r=e.name,a=void 0===r?"":r,o=e.description,n=void 0===o?"":o,c=e.url;return l.createElement("div",{key:t,className:I("wrapper ".concat(i),Jo)},l.createElement(f,{href:c,"aria-label":"reference-headline"},m&&l.createElement("div",{className:"reference-m_name__24IwG","data-test-id":"ref-headline"},d||a),l.createElement("div",{className:"reference-m_description__2x3Io"},n)))})))};Xo.propTypes={element:e.shape({"story-elements":e.arrayOf(e.shape({metadata:e.shape({name:e.string,description:e.string,url:e.string})}))}),opts:e.shape({hideHeadline:e.bool}),config:lr};var $o=Ya(Xo),en=["element","render"],tn={"./attachment.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",headline:"attachment-m_headline__kP7Hs","button-wrapper":"attachment-m_button-wrapper__2fajK","file-name":"attachment-m_file-name__1LU9q",dark:"attachment-m_dark__3ixF7",light:"attachment-m_light__1kcpj",pdf:"attachment-m_pdf__3i_bR",doc:"attachment-m_doc__6vUVo attachment-m_pdf__3i_bR",wrapper:"attachment-m_wrapper__3gMwN","content-wrapper":"attachment-m_content-wrapper__3Yu0B"}},rn=function(e){var t=e.element,r=void 0===t?{}:t;e.render;var a=Ka(e,en),o=r["file-name"],n=r.url,i=r["content-type"];if(!i||!n)return null;var c="application/pdf"===i,s=je()||{},m=rr(s.theme),d=o||(c?"Attached PDF":"Attached DOC");return l.createElement("div",Ie({"data-test-id":"attachment"},a,{className:"arrow-component arr--attachment-element "+I(m,tn)+" "+(a&&a.className||"")}),l.createElement("div",{className:"attachment-m_headline__kP7Hs"},"Attachment"),l.createElement("div",{className:"attachment-m_wrapper__3gMwN"},c?l.createElement("div",{"data-test-id":"pdf",className:"attachment-m_pdf__3i_bR"},"PDF"):l.createElement("div",{"data-test-id":"doc",className:"attachment-m_doc__6vUVo attachment-m_pdf__3i_bR"},"DOC"),l.createElement("div",{className:"attachment-m_content-wrapper__3Yu0B"},l.createElement("div",{className:"attachment-m_file-name__1LU9q",dangerouslySetInnerHTML:{__html:d}}),l.createElement(f,{className:"attachment-m_button-wrapper__2fajK",href:n,target:"_blank",rel:"noopener noreferrer",download:!0,"aria-label":"button"},c?"Preview":"Download"))))};rn.propTypes={element:e.shape({url:e.string,fileName:e.string,contentType:e.string}),render:e.func};var an=Ya(rn),on=function(e){var t=e.color,r=void 0===t?"#333":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},l.createElement("g",{fill:"none",fillRule:"nonzero"},l.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),l.createElement("path",{stroke:r,d:"M9 16L1 8l8-8"})))};on.propTypes={color:e.string};var nn=function(e){var t=e.color,r=void 0===t?"#333":t;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},l.createElement("g",{fill:"none",fillRule:"nonzero"},l.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),l.createElement("path",{stroke:r,d:"M1 0l8 8-8 8"})))};nn.propTypes={color:e.string};var ln={"./slider-arrow.m.css":{arrow:"slider-arrow-m_arrow__1eBUU","left-arrow-dark":"slider-arrow-m_left-arrow-dark__3mTJS","right-arrow-dark":"slider-arrow-m_right-arrow-dark__3hWZe","left-arrow-light":"slider-arrow-m_left-arrow-light__2ipUK","right-arrow-light":"slider-arrow-m_right-arrow-light__3omMU","left-arrow-ltr":"slider-arrow-m_left-arrow-ltr__1ngNF","right-arrow-ltr":"slider-arrow-m_right-arrow-ltr__2svWX","left-arrow-rtl":"slider-arrow-m_left-arrow-rtl__2ynyn","right-arrow-rtl":"slider-arrow-m_right-arrow-rtl__1GjPz"}},cn=function(e){var t=e.selectedIndex,r=e.previousClick,a=e.nextClick,o=e.noOfItems,n=e.perView,i=e.languageDirection;if(o<1)return null;var c=je()||{},s=rr(c.theme),m="rtl"===i?"left-arrow-rtl":"left-arrow-ltr",d="rtl"===i?"right-arrow-rtl":"right-arrow-ltr";return l.createElement(l.Fragment,null,0!==t?l.createElement("button",{onClick:r,className:("left-arrow ".concat(m)?"left-arrow ".concat(m)+" ":"")+I("arrow left-arrow-".concat(s," ").concat(m),ln)},l.createElement(on,{color:"dark"===s?"#fff":"#333"})):null,t<o-1&&!(t>=o-n)?l.createElement("button",{onClick:a,className:("right-arrow ".concat(d)?"right-arrow ".concat(d)+" ":"")+I("arrow right-arrow-".concat(s," ").concat(d),ln)},l.createElement(nn,{color:"dark"===s?"#fff":"#333"})):null)};cn.propTypes={noOfItems:a,perView:a,slideIndicator:r,previousClick:o,nextClick:o,selectedIndex:a,languageDirection:r};var sn={"./slider-indicator.m.css":{indicators:"slider-indicator-m_indicators__3MNXc",indicator:"slider-indicator-m_indicator__gTv3x","indicator-button":"slider-indicator-m_indicator-button__1e82r","indicator-dots":"slider-indicator-m_indicator-dots__2TR3H","indicator-dots-dark":"slider-indicator-m_indicator-dots-dark__sGrev","indicator-dots-light":"slider-indicator-m_indicator-dots-light__2nPn-","indicator-dashes":"slider-indicator-m_indicator-dashes__DyNCE","indicator-dashes-dark":"slider-indicator-m_indicator-dashes-dark__VrqJI","indicator-dashes-light":"slider-indicator-m_indicator-dashes-light__34ESx"}},mn=function(e){var t=e.indicatorItems,r=e.indicatorClick,a=e.selectedIndex,o=e.indicatorType;if(t.length<1)return null;var n=je()||{},i=rr(n.theme);return l.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},t.map((function(e,t){return l.createElement("li",{key:"slider-".concat(t),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(e){return r(e,t)}},l.createElement("button",{"aria-pressed":a===t?"true":"false",className:("indicator-button indicator-".concat(o)?"indicator-button indicator-".concat(o)+" ":"")+I("indicator-button indicator-".concat(o," indicator-").concat(o,"-").concat(i),sn)}))})))};mn.propTypes={indicatorItems:n,perView:a,indicatorType:r,indicatorClick:o,selectedIndex:a};var dn=function(e,t,r,a){var o,n,i,l,c=Math.floor(r.current.scrollWidth*(e/a)),s="rtl"===t?-1*c:c;o=r.current,n=s,i=!0,o.scrollTo((Yr(l={},i?"left":"top",n),Yr(l,"behavior","smooth"),l))},un=function(e){var t=e.children,r=e.isArrow,a=e.interval,o=e.isInfinite,n=e.pauseOnHover,i=e.perView,c=e.slideIndicator,s=Mt(m(0),2),u=s[0],p=s[1],_=Mt(m(!1),2),f=_[0],g=_[1],v=k((function(e){return qt(e,["qt","config","language","direction"],"ltr")})),y=t?t.length:0,b=h(null),w=t.length-(i-1),E=t.slice(0,w);d((function(){if(o&&!f){var e=setInterval((function(){x()}),a);return function(){clearInterval(e)}}}),[o,f]);var x=function(){p((function(e){var t=e===y-i?0:e+1;return dn(t,v,b,y),t}))},N=function(){n&&g(!f)};return l.createElement("div",{className:"scroll-snap-container"},l.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:N,onMouseLeave:N},l.createElement("div",{ref:b,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},t),r&&l.createElement(cn,{noOfItems:y,perView:i,previousClick:function(e){e.preventDefault(),e.stopPropagation();var t=u-1;p(t),dn(t,v,b,y)},nextClick:function(e){if(e.preventDefault(),e.stopPropagation(),u<y){var t=u+1;p(t),dn(t,v,b,y)}},selectedIndex:u,languageDirection:v})),t.length>i&&"none"!==c&&l.createElement(mn,{indicatorItems:E,indicatorClick:function(e,t){e.preventDefault(),e.stopPropagation(),p(t),dn(t,v,b,y)},selectedIndex:u,indicatorType:c}))};un.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},un.propTypes={children:n.isRequired,isArrow:i,isInfinite:i,interval:a,pauseOnHover:i,perView:a,slideIndicator:r};var pn=function(t){if(!t.element)return null;var r=function(e){var r=e.onClickHandler,a=qt(t,["element","story-elements"],[]);return l.createElement("div",{className:"arr--image-slideshow-element image-slideshow-m_slideshow__3jRFX","data-test-id":"image-slideshow"},l.createElement(un,{slideIndicator:"none"},a.map((function(e,t){return function(e,t,r){var a=e.id,o=e["image-s3-key"],n=e.metadata,i=e.title;return l.createElement("div",{onClick:function(){return r(t)},className:"image-slideshow-m_slide__3URCC",key:a},l.createElement("figure",{key:a,className:"image-slideshow-m_image-container__2VTEK"},l.createElement(b,{margin:"0px"},l.createElement(g,{slug:o,metadata:n,"aspect-ratio":[16,9],defaultWidth:480,widths:[250,480,640],imgParams:{auto:["format","compress"]},className:"image-slideshow-m_image__1p1fO",alt:i}))),l.createElement("p",{className:"image-slideshow-m_caption__mWpmc"},i))}(e,t,r)}))))};return r.propTypes={onClickHandler:e.func},l.createElement(jo,{template:r,element:t.element})};pn.propTypes={element:e.shape({"story-elements":e.array}),story:cr};var hn=Ya(pn),_n={"./story-element-card.m.css":{"element-container":"story-element-card-m_element-container__1ZeJL","live-blog":"story-element-card-m_live-blog__JSpmI","image-share":"story-element-card-m_image-share__2V7dB","story-card":"story-element-card-m_story-card__H2VYl",table:"story-element-card-m_table__34F2c",dark:"story-element-card-m_dark__1AX15",light:"story-element-card-m_light__3T2uA"}},fn=function(e){return e.subtype||e.type||""};e.object,e.object,e.object,e.node,e.shape({id:e.string});var gn=function(e){var t=e.story,r=e.card,a=e.heroVideoElementId,o=void 0===a?-1:a,n=e.config,i=e.isLive,c=e.theme,s=e.adComponent,m=e.widgetComp,d=rr(c),u=i?"live-blog":"",p=!0;return l.createElement("div",{className:"arr--story-page-card-wrapper"},qt(r,["story-elements"],[]).map((function(e,a){if(e.id===o)return!1;e.subtype&&"facebook-post"===e.subtype&&p&&("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),p=!1);var i=e&&"table"===e.subtype?"table":"",c=qt(r,["id"],"");return l.createElement("div",{key:e.id,className:"arr--element-container "+I("element-container ".concat(u," ").concat(i," ").concat(d),_n)},function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,n=arguments.length>5?arguments[5]:void 0,i=arguments.length>6?arguments[6]:void 0,c=r.text,s=void 0===c?{}:c,m=r.summary,d=void 0===m?{}:m,u=r.blurb,p=void 0===u?{}:u,h=r.blockquote,_=void 0===h?{}:h,f=r.quote,g=void 0===f?{}:f,v=r["also-read"],y=void 0===v?{}:v,b=r["q-and-a"],w=void 0===b?{}:b,E=r.question,x=void 0===E?{}:E,k=r.answer,N=void 0===k?{}:k,C=r.references,T=void 0===C?{}:C,j=fn(t);"image-gallery"===j&&(j=t.metadata.type);var I=qt(t,["id"]);switch(j){case"ad":return l.createElement(a,Ie({},t,{id:"ad-".concat(n,"_").concat(i)}));case"widget":return l.createElement(o,{widgetCode:t.config.customCode,id:"widget-".concat(n,"_").concat(i)});case"text":var O=s.css,z=(O=void 0===O?{}:O).textColor,L=void 0===z?"#000":z,S=O.hyperlinkColor,q=void 0===S?"#2f81cd":S;return l.createElement($a,{element:t,css:{textColor:L,hyperlinkColor:q}});case"summary":var A=d.template,M=void 0===A?"":A,P=d.css,R=(P=void 0===P?{}:P).headerBgColor,B=void 0===R?"":R,H=d.opts,F=(H=void 0===H?{}:H).headline,D=void 0===F?"":F,U=H.hideHeadline,W=void 0!==U&&U;return l.createElement(lo,{element:t,template:M,opts:{headline:D||"Summary",hideHeadline:W},css:{headerBgColor:B||""}});case"blurb":var V=p.template,Z=void 0===V?"default":V,K=p.css,G=(K=void 0===K?{}:K).borderColor,Y=void 0===G?"#2f81cd":G;return l.createElement(ao,{element:t,template:Z,css:{borderColor:Y}});case"blockquote":var Q=_.template,J=void 0===Q?"default":Q,X=_.css,$=(X=void 0===X?{}:X).iconType,ee=void 0===$?"edgeIcon":$,te=X.blockQuoteColor,re=void 0===te?"#2f81cd":te,ae=X.backgroundShade,oe=void 0===ae?"":ae;return l.createElement(_o,{element:t,template:J,css:{iconType:ee,blockQuoteColor:re,backgroundShade:oe}});case"quote":var ne=g.template,ie=void 0===ne?"borderNone":ne,le=g.css,ce=(le=void 0===le?{}:le).borderColor,se=void 0===ce?"#2f81cd":ce;return l.createElement(Yo,{element:t,template:ie,css:{borderColor:se}});case"bigfact":return l.createElement(yo,{element:t});case"also-read":var me=y.template,de=void 0===me?"default":me,ue=y.css,pe=(ue=void 0===ue?{}:ue).textColor,he=void 0===pe?"#000":pe,_e=y.opts,fe=(_e=void 0===_e?{}:_e).title,ge=void 0===fe?"":fe;return l.createElement(ko,{story:e,element:t,template:de,css:{textColor:he},opts:{title:ge}});case"image":return l.createElement(zo,{element:t});case"q-and-a":var ve=w.template,ye=void 0===ve?"default":ve,be=w.css,we=(be=void 0===be?{}:be).iconColor,Ee=void 0===we?"":we,xe=w.opts,ke=(xe=void 0===xe?{}:xe).defaultIconType,Ne=void 0===ke?"edge":ke;return l.createElement(Ao,{element:t,opts:{type:"q-and-a",defaultIconType:Ne},template:ye,css:{iconColor:Ee}});case"question":var Ce=x.template,Te=void 0===Ce?"default":Ce,je=x.css,Oe=(je=void 0===je?{}:je).questionIconColor,ze=void 0===Oe?"":Oe,Le=x.opts,Se=(Le=void 0===Le?{}:Le).defaultQuestionIconType,qe=void 0===Se?"edge":Se;return l.createElement(Ao,{element:t,opts:{type:"question",defaultIconType:qe},template:Te,css:{iconColor:ze}});case"answer":var Ae=N.template,Me=void 0===Ae?"default":Ae,Pe=N.css,Re=(Pe=void 0===Pe?{}:Pe).answerIconColor,Be=void 0===Re?"":Re,He=N.opts,Fe=(He=void 0===He?{}:He).defaultAnswerIconType,De=void 0===Fe?"edge":Fe;return l.createElement(Ao,{element:t,opts:{type:"answer",defaultIconType:De},template:Me,css:{iconColor:Be}});case"gallery":return l.createElement("div",{className:"content-style",id:"image-gallery-".concat(I)},l.createElement(Bo,{element:t}));case"slideshow":return l.createElement("div",{className:"content-style",id:"image-slideshow-".concat(I)},l.createElement(hn,{element:t}));case"youtube-video":case"dailymotion-video":return l.createElement("div",{className:"content-style",id:"video-".concat(I)},l.createElement(Vo,{element:t,story:e,loadIframeOnClick:!0}));case"attachment":return l.createElement(an,{element:t});case"tweet":case"jsembed":return l.createElement("div",{className:"content-style",id:"jsembed-".concat(I)},l.createElement(Do,{element:t}));case"references":var Ue=T.opts,We=(Ue=void 0===Ue?{}:Ue).showHeadline,Ve=void 0===We||We,Ze=Ue.headlineText,Ke=void 0===Ze?"":Ze;return l.createElement($o,{element:t,opts:{showHeadline:Ve,headlineText:Ke}});default:return l.createElement("div",{className:"content-style",id:"element-".concat(I)},l.createElement(Do,{element:t,story:e}))}}(t,e,n,s,m,a,c))})))};gn.propTypes={story:e.object,card:e.array,heroVideoElementId:e.number,config:e.object,isLive:e.bool,theme:e.string,adComponent:e.func,widgetComp:e.func},e.object,e.object,e.object,e.func,e.func;var vn=function(e){var t=e.id,r=void 0===t?"":t,a=e.element,o=void 0===a?{}:a,n=e.AdComponent,i=e.WidgetComp;switch(o.type){case"ad":return l.createElement(n,Ie({},o,{id:"ad-after-story-".concat(r)}));case"widget":return l.createElement(i,{widgetCode:o.config.customCode,id:"widget-after-story-".concat(r)});default:return null}};vn.propTypes={id:e.string,element:e.object,AdComponent:e.func,WidgetComp:e.func};var yn=function(e){var t=e.story,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.storyElementsConfig,i=e.widgetComp,c=e.adComponent,s=e.firstChild,m=e.secondChild,d=o.theme,u=void 0===d?"":d,p=o.asideCollection,h=void 0===p?{}:p,_=o.templateType,f=void 0===_?"default":_,g=o.noOfVisibleCards,v=void 0===g?0:g,y=o.publishedDetails,b=void 0===y?{}:y,w=o.authorDetails,x=void 0===w?{}:w,k=o.verticalShare,N=void 0===k?"":k,C=o.shareIconType,T=void 0===C?"plain-color-svg":C,j=o.premiumStoryIconConfig,I=void 0===j?{}:j,O=v<0?r.cards:r.cards.slice(0,v),z=qt(r,["id"],""),L=function(){return l.createElement("div",{className:"text-story-m_header-details__3D-Xf"},l.createElement(Br,{story:r}),l.createElement(Zr,{story:r,premiumStoryIconConfig:I}),l.createElement(Gr,{story:r,showFullContent:!0}))},S=function(){return h&&l.createElement("div",{className:"text-story-m_aside-collection__1hg7d text-story-m_tablet-index-2__1FdCR"},l.createElement(Ma,Ie({horizontal:!0},h,{widgetComp:i,adComponent:c,storyId:z,opts:b})))},q=function(){return l.createElement("div",{id:"story-share-".concat(z),className:"content-style"},l.createElement(E,{template:Pr,fullUrl:encodeURI(r.url),title:r.headline,theme:u,vertical:!!N,iconType:T,shareIconId:"share-icon-story-share-".concat(z)}))},A=function(){return l.createElement("div",{className:"text-story-m_gap-16__5BPKQ"},x&&l.createElement(Ra,{story:r,template:x.template,opts:x.opts}),l.createElement("div",{className:"text-story-m_timestamp-social-share__1tSR7"},l.createElement(Wa,{story:r,opts:b}),!N&&l.createElement(q,null)),O.map((function(e){return l.createElement(gn,{story:r,card:e,key:qt(e,["id"],""),config:n,adComponent:c,widgetComp:i})})),s,l.createElement("div",{className:"text-story-m_story-tags__Roh7y"},l.createElement(Za,{tags:r.tags}),l.createElement(vn,{id:r.id,element:r.customSlotAfterStory,AdComponent:c,WidgetComp:i})),m)},M=function(){return h&&l.createElement("div",{className:"text-story-m_text-story-side-column__ChMaj"},l.createElement(Ma,Ie({},h,{widgetComp:i,adComponent:c,sticky:!0,storyId:z,opts:b})))};return l.createElement(l.Fragment,null,function(e){switch(e){case"hero-priority-center":return l.createElement(l.Fragment,null,l.createElement("div",{className:"text-story-m_hero-image__288rD text-story-m_index-2__36i8Z","data-test-id":"hero-priority-center-image"},l.createElement(va,{story:r,FullBleed:!1,aspectRatio:[[16,9]],defaultFallback:!1,isStoryPageImage:!0})),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(Ha,{story:r,config:o}),l.createElement(L,null),l.createElement(A,null)),N&&l.createElement(q,null),l.createElement(S,null));case"default":return l.createElement(l.Fragment,null,l.createElement("div",{className:"text-story-m_hero-image__288rD text-story-m_index-2__36i8Z","data-test-id":"hero-priority-left-image"},l.createElement(va,{story:r,FullBleed:!1,aspectRatio:[[16,9]],defaultFallback:!1,isStoryPageImage:!0})),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(Ha,{story:r,config:o}),l.createElement(L,null),l.createElement(A,null)),N&&l.createElement(q,null),l.createElement(M,null));case"headline-hero-priority":return l.createElement(l.Fragment,null,l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(L,null)),l.createElement("div",{className:"text-story-m_hero-image__288rD text-story-m_index-2__36i8Z","data-test-id":"headline-hero-priority-image"},l.createElement(va,{story:r,FullBleed:!1,aspectRatio:[[16,9]],defaultFallback:!1,isStoryPageImage:!0})),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(Ha,{story:r,config:o}),l.createElement(A,null)),N&&l.createElement(q,null),l.createElement(S,null));case"hero-vertical-priority":return l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement("div",{className:"text-story-m_hero-image__288rD text-story-m_index-2__36i8Z","data-test-id":"hero-vertical-image"},l.createElement(va,{story:r,FullBleed:!1,aspectRatio:[[3,4]],defaultFallback:!1,isStoryPageImage:!0})),l.createElement(Ha,{story:r,config:o}),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(A,null)),N&&l.createElement(q,null),l.createElement(S,null));case"headline-priority":return l.createElement(l.Fragment,null,l.createElement(L,null),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp text-story-m_hero-image__288rD text-story-m_index-2__36i8Z","data-test-id":"headline-priority-hero-image"},l.createElement(va,{story:r,FullBleed:!1,aspectRatio:[[16,9]],defaultFallback:!1,isStoryPageImage:!0})),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(Ha,{story:r,config:o}),l.createElement(A,null)),N&&l.createElement(q,null),l.createElement(M,null));case"headline-overlay-priority":return l.createElement(l.Fragment,null,l.createElement("div",{className:"text-story-m_hero-image__288rD text-story-m_index-2__36i8Z","data-test-id":"headline-overlay-hero-image"},l.createElement(va,{story:r,FullBleed:!1,aspectRatio:[[3,4],[16,9]],isStoryPageImage:!0})),l.createElement(L,null),l.createElement("div",{className:"text-story-m_story-content-inner-wrapper__s3KPp"},l.createElement(Ha,{story:r,config:o}),l.createElement(A,null)),N&&l.createElement(q,null),l.createElement(S,null))}}(f))};yn.propTypes={story:e.object,config:e.shape({templateType:e.string,authorDetails:e.object,asideCollection:e.object}),firstChild:e.node,secondChild:e.node,storyElementsConfig:e.object,widgetComp:e.func,adComponent:e.func};var bn={"./text-story.m.css":{"header-details":"text-story-m_header-details__3D-Xf","timestamp-social-share":"text-story-m_timestamp-social-share__1tSR7","story-tags":"text-story-m_story-tags__Roh7y","hero-image":"text-story-m_hero-image__288rD",dark:"text-story-m_dark__MWiNW",light:"text-story-m_light__3G_yD","hero-vertical-priority":"text-story-m_hero-vertical-priority__2oiTi","headline-hero-priority":"text-story-m_headline-hero-priority__2oCmW","hero-priority-center":"text-story-m_hero-priority-center__3z1fN","headline-overlay-priority":"text-story-m_headline-overlay-priority__3lxqU","story-content-inner-wrapper":"text-story-m_story-content-inner-wrapper__s3KPp","aside-collection":"text-story-m_aside-collection__1hg7d",default:"text-story-m_default__3zTuW","story-details":"text-story-m_story-details__1jA86",sticky:"text-story-m_sticky__1qfLp","headline-priority":"text-story-m_headline-priority__2TsHT",container:"text-story-m_container__3EYA5",fullBleed:"text-story-m_fullBleed__vic5M","headline-first":"text-story-m_headline-first__3lY_O","text-story-side-column":"text-story-m_text-story-side-column__ChMaj","image-first":"text-story-m_image-first__2x1qs","image-wrapper":"text-story-m_image-wrapper__2iv-y","story-content-wrapper":"text-story-m_story-content-wrapper__3y_iM","gap-16":"text-story-m_gap-16__5BPKQ","index-2":"text-story-m_index-2__36i8Z","tablet-index-2":"text-story-m_tablet-index-2__1FdCR"}},wn=function(e){var t=e.story,r=void 0===t?{}:t,a=e.config,o=void 0===a?{}:a,n=e.storyElementsConfig,i=e.adComponent,c=e.widgetComp,s=e.firstChild,m=e.secondChild,d=o.theme,u=void 0===d?"":d,p=o.templateType,h=void 0===p?"default":p,_=o.imageRender,f=void 0===_?"fullBleed":_,g=o.sort,v=void 0===g?"headline-first":g,y=o.verticalShare,b=void 0===y?"":y,w="hero-vertical-priority"===h?v:"",E={default:f,"hero-priority-center":f,"headline-hero-priority":f,"hero-vertical-priority":f},x=E[h]?"text-story-".concat(h,"-").concat(Ne(E[h])):"text-story-".concat(h);return l.createElement("div",{"data-test-id":x,style:{backgroundColor:u},className:"arrow-component arr-story-grid arr--content-wrapper arr--text-story-template-wrapper "+I("".concat(h," ").concat(b," ").concat(E[h]||""," ").concat(w),bn)},l.createElement(yn,{story:r,config:o,storyElementsConfig:n,adComponent:i,widgetComp:c,firstChild:s,secondChild:m}))};wn.propTypes={story:e.object,config:e.shape({templateType:e.string,authorCard:e.object,asideCollection:e.object}),firstChild:e.node,secondChild:e.node,storyElementsConfig:e.object,adComponent:e.func,widgetComp:e.func};var En=Te(wn);export{En as default};