@quintype/arrow 3.2.0 → 3.2.1-arrow-chunking.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) 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/FourColGrid/index.js +1 -0
  17. package/FourColSixteenStories/index.js +1 -0
  18. package/FourColTwelveStories/index.js +1 -0
  19. package/FourStorySlider/index.js +1 -0
  20. package/FourTabbedBigStorySlider/index.js +1 -0
  21. package/FullScreenSlider/index.js +1 -0
  22. package/HalfScreenSlider/index.js +1 -0
  23. package/Headline/index.js +1 -0
  24. package/HeroImage/index.js +1 -0
  25. package/Image/index.js +1 -0
  26. package/ImageGallery/index.js +1 -0
  27. package/ImageSlideshow/index.js +1 -0
  28. package/KeyEvents/index.js +1 -0
  29. package/ListComponent/index.js +1 -0
  30. package/ListicleStoryTemplate/index.js +1 -0
  31. package/Listicles/index.js +1 -0
  32. package/LiveBlogStoryTemplate/index.js +1 -0
  33. package/LoadmoreButton/index.js +1 -0
  34. package/MagazineEditions/index.js +1 -0
  35. package/MagazineHeaderCard/index.js +1 -0
  36. package/MagazineWidget/index.js +1 -0
  37. package/OneColStoryList/index.js +1 -0
  38. package/OpinionCollection/index.js +1 -0
  39. package/PageIntroductionCard/index.js +1 -0
  40. package/PhotoStoryTemplate/index.js +1 -0
  41. package/QuestionAnswer/index.js +1 -0
  42. package/Quote/index.js +1 -0
  43. package/Reference/index.js +1 -0
  44. package/ScrollSnap/index.js +1 -0
  45. package/SectionTag/index.js +1 -0
  46. package/SixColSixStories/index.js +1 -0
  47. package/SocialShareTemplate/index.js +1 -0
  48. package/StoryCard/index.js +1 -0
  49. package/StoryCollection/index.js +1 -0
  50. package/StoryElement/index.js +1 -0
  51. package/StoryElementCard/index.js +1 -0
  52. package/StorycardContent/index.js +1 -0
  53. package/Subheadline/index.js +1 -0
  54. package/Summary/index.js +1 -0
  55. package/TagIntroductionCard/index.js +1 -0
  56. package/Text/index.js +1 -0
  57. package/TextStoryTemplate/index.js +1 -0
  58. package/ThreeColFlexStories/index.js +1 -0
  59. package/ThreeColFourteenStories/index.js +1 -0
  60. package/ThreeColGrid/index.js +1 -0
  61. package/ThreeColSevenStory/index.js +1 -0
  62. package/ThreeColSixStories/index.js +1 -0
  63. package/ThreeColTwelveStories/index.js +1 -0
  64. package/TimeStamp/index.js +1 -0
  65. package/TwoColFourStories/index.js +1 -0
  66. package/TwoColFourStoryHighlight/index.js +1 -0
  67. package/TwoColSixStories/index.js +1 -0
  68. package/TwoColTenStoriesSidebar/index.js +1 -0
  69. package/TwoColThreeStories/index.js +1 -0
  70. package/Video/index.js +1 -0
  71. package/VideoStoryTemplate/index.js +1 -0
  72. package/cjs/index.js +1 -9
  73. package/esm/index.js +1 -9
  74. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import{Link as a,ResponsiveImage as i,ResponsiveHeroImage as l,LinkBase as c,collectionToStories as s}from"@quintype/components";import u from"react-timeago";import{useSelector as m,connect as d,useDispatch as h}from"react-redux";function f(e){if(Array.isArray(e))return e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function g(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e){return f(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||v()}var b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function w(e){var t={exports:{}};return e(t,t.exports),t.exports}var E=w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),x=y(w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=E)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),T=t(),C=function(){return r(T)};function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}w((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new k(o||[]);return a._invoke=function(e,t,r){var o=m;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return N()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=C(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:d,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var m="suspendedStart",d="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(j([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,m=s.value;return m&&"object"==typeof m&&o.call(m,"__await")?t.resolve(m.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(m).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function C(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,C(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function j(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:N}}function N(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=j,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),L(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;L(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:j(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var L=Array.isArray,k="object"==typeof b&&b&&b.Object===Object&&b,j="object"==typeof self&&self&&self.Object===Object&&self,N=k||j||Function("return this")(),S=N.Symbol,O=Object.prototype,I=O.hasOwnProperty,A=O.toString,R=S?S.toStringTag:void 0;var M=function(e){var t=I.call(e,R),r=e[R];try{e[R]=void 0;var o=!0}catch(e){}var n=A.call(e);return o&&(t?e[R]=r:delete e[R]),n},B=Object.prototype.toString;var H=function(e){return B.call(e)},P=S?S.toStringTag:void 0;var W=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":P&&P in Object(e)?M(e):H(e)};var F=function(e){return null!=e&&"object"==typeof e};var D=function(e){return"symbol"==typeof e||F(e)&&"[object Symbol]"==W(e)},q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,G=/^\w*$/;var U=function(e,t){if(L(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!D(e))||(G.test(e)||!q.test(e)||null!=t&&e in Object(t))};var Z=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var V,J=function(e){if(!Z(e))return!1;var t=W(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Y=N["__core-js_shared__"],$=(V=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"";var K=function(e){return!!$&&$ in e},Q=Function.prototype.toString;var X=function(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""},ee=/^\[object .+?Constructor\]$/,te=Function.prototype,re=Object.prototype,oe=te.toString,ne=re.hasOwnProperty,ae=RegExp("^"+oe.call(ne).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ie=function(e){return!(!Z(e)||K(e))&&(J(e)?ae:ee).test(X(e))};var le=function(e,t){return null==e?void 0:e[t]};var ce=function(e,t){var r=le(e,t);return ie(r)?r:void 0},se=ce(Object,"create");var ue=function(){this.__data__=se?se(null):{},this.size=0};var me=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},de=Object.prototype.hasOwnProperty;var he=function(e){var t=this.__data__;if(se){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return de.call(t,e)?t[e]:void 0},fe=Object.prototype.hasOwnProperty;var pe=function(e){var t=this.__data__;return se?void 0!==t[e]:fe.call(t,e)};var ge=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=se&&void 0===t?"__lodash_hash_undefined__":t,this};function ve(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}ve.prototype.clear=ue,ve.prototype.delete=me,ve.prototype.get=he,ve.prototype.has=pe,ve.prototype.set=ge;var _e=ve;var be=function(){this.__data__=[],this.size=0};var ye=function(e,t){return e===t||e!=e&&t!=t};var we=function(e,t){for(var r=e.length;r--;)if(ye(e[r][0],t))return r;return-1},Ee=Array.prototype.splice;var xe=function(e){var t=this.__data__,r=we(t,e);return!(r<0)&&(r==t.length-1?t.pop():Ee.call(t,r,1),--this.size,!0)};var Te=function(e){var t=this.__data__,r=we(t,e);return r<0?void 0:t[r][1]};var Ce=function(e){return we(this.__data__,e)>-1};var ze=function(e,t){var r=this.__data__,o=we(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Le(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Le.prototype.clear=be,Le.prototype.delete=xe,Le.prototype.get=Te,Le.prototype.has=Ce,Le.prototype.set=ze;var ke=Le,je=ce(N,"Map");var Ne=function(){this.size=0,this.__data__={hash:new _e,map:new(je||ke),string:new _e}};var Se=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Oe=function(e,t){var r=e.__data__;return Se(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ie=function(e){var t=Oe(this,e).delete(e);return this.size-=t?1:0,t};var Ae=function(e){return Oe(this,e).get(e)};var Re=function(e){return Oe(this,e).has(e)};var Me=function(e,t){var r=Oe(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Be.prototype.clear=Ne,Be.prototype.delete=Ie,Be.prototype.get=Ae,Be.prototype.has=Re,Be.prototype.set=Me;var He=Be;function Pe(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(Pe.Cache||He),r}Pe.Cache=He;var We=Pe;var Fe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,De=/\\(\\)?/g,qe=function(e){var t=We(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Fe,(function(e,r,o,n){t.push(o?n.replace(De,"$1"):r||e)})),t}));var Ge=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Ue=S?S.prototype:void 0,Ze=Ue?Ue.toString:void 0;var Ve=function e(t){if("string"==typeof t)return t;if(L(t))return Ge(t,e)+"";if(D(t))return Ze?Ze.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Je=function(e){return null==e?"":Ve(e)};var Ye=function(e,t){return L(e)?e:U(e,t)?[e]:qe(Je(e))};var $e=function(e){if("string"==typeof e||D(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ke=function(e,t){for(var r=0,o=(t=Ye(t,e)).length;null!=e&&r<o;)e=e[$e(t[r++])];return r&&r==o?e:void 0};var Qe=function(e,t,r){var o=null==e?void 0:Ke(e,t);return void 0===o?r:o};var Xe=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var et=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"}),tt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,rt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ot=function(e){return(e=Je(e))&&e.replace(tt,et).replace(rt,"")},nt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var at=function(e){return e.match(nt)||[]},it=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var lt=function(e){return it.test(e)},ct="\\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",st="["+ct+"]",ut="\\d+",mt="[\\u2700-\\u27bf]",dt="[a-z\\xdf-\\xf6\\xf8-\\xff]",ht="[^\\ud800-\\udfff"+ct+ut+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ft="(?:\\ud83c[\\udde6-\\uddff]){2}",pt="[\\ud800-\\udbff][\\udc00-\\udfff]",gt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",vt="(?:"+dt+"|"+ht+")",_t="(?:"+gt+"|"+ht+")",bt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",yt="[\\ufe0e\\ufe0f]?"+bt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ft,pt].join("|")+")[\\ufe0e\\ufe0f]?"+bt+")*"),wt="(?:"+[mt,ft,pt].join("|")+")"+yt,Et=RegExp([gt+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[st,gt,"$"].join("|")+")",_t+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[st,gt+vt,"$"].join("|")+")",gt+"?"+vt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",gt+"+(?:['’](?: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_])",ut,wt].join("|"),"g");var xt=function(e){return e.match(Et)||[]};var Tt=function(e,t,r){return e=Je(e),void 0===(t=r?void 0:t)?lt(e)?xt(e):at(e):e.match(t)||[]},Ct=RegExp("['’]","g");var zt=function(e){return function(t){return Xe(Tt(ot(t).replace(Ct,"")),e,"")}},Lt=zt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),kt=zt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function jt(e,t,r,o,n){var a,i=Qe(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,m=n.disableMeridiem,d=void 0!==m&&m,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Lt(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,T=Nt(o),C=T;if(w&&(v=Qe(w,[kt(g)])||g),y){var z=T.includes("am"),L=y.am,k=void 0===L?"am":L,j=y.pm,N=void 0===j?"pm":j;C=(z?T.replace("am",k):T.replace("pm",N))||T}return"rtl"===x?(_=i?"".concat(C):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):d?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(C,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(C):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,n):e>1?(a=Qe(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Qe(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Nt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var St=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},Ot=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},It={mobile:767,tablet:1024},At=function(e){var t=Qe(It,e);return!!t&&Qe(global,"document.documentElement.clientWidth")<=t},Rt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Ot(e),o=St(r)<155?"light":"dark";return o},Mt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Qe(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 Bt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Qe(n,["reference-url"],""):""}o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Qe(e,["story-template"])?Qe(e,["metadata","reference-url"],""):e.url||t},Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Mt(e,t):"/"};function Wt(e,t){return f(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||g(e,t)||v()}var Ft=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Ft.propTypes={width:o.object,height:o.object,iconColor:o.object};var Dt=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(Ft,null)))},qt=function(t){var r=t.slug;return r?e.createElement(a,{href:r,"aria-label":"image-fallback"},Dt()):Dt()};qt.propTypes={slug:o.string};var Gt={"./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"}},Ut=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,d=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(C()||{}).fallbackImageUrl,v=void 0===g?"":g,_=m((function(e){return Qe(e,["qt","config","showPlaceholder"])}))?"placeholder":"",b=o?"":"with-padding",y="hero-image";u?y="right-padding":h&&(y="left-padding");var w=d?"right-padding-mob":"",E=function(e){var t=Wt(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},T=Wt(n,2),z=T[0],L=T[1],k=void 0===L?z:L,j=At("mobile"),N=j?z:k,S=E(j?z:k),O=Qe(r,["hero-image-s3-key"])||Qe(r,["alternative","home","default","hero-image","hero-image-s3-key"]),I=function(){return O?e.createElement("figure",{style:{paddingTop:S+"%"},className:"arr--responsive-hero-image "+x("image ".concat(_),Gt)},e.createElement(l,{story:r,aspectRatio:N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:S+"%"},className:"arr--responsive-hero-image "+x("image ".concat(_),Gt)},e.createElement(i,{slug:!p&&v,metadata:{},"aspect-ratio":N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:S+"%"},className:"arr--fallback-hero-image "+x("image ".concat(_),Gt)},e.createElement(qt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+x("".concat(y," ").concat(b," ").concat(w),Gt)},I()):e.createElement(a,{"data-test-id":"arr--hero-image",href:Ht(r,"/".concat(r.slug)),externalLink:Bt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+x("".concat(y," ").concat(b," ").concat(w),Gt)},I()))};Ut.propTypes={story:o.object.isRequired,FullBleed:o.bool,defaultWidth:o.number,widths:o.array,aspectRatio:o.array,isHorizontal:o.bool,isHorizontalMobile:o.bool,defaultFallback:o.bool,isHorizontalWithImageLast:o.bool},Ut.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 Zt={"./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"}},Vt=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,m=t.navigate,d=void 0===m||m,h=C()||{},f=Qe(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",g=d&&n&&Mt(n,i)||"",v=u||n.name||"",_=Rt(h.theme),b="h"+c,y=Ot(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=At("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+x("collection ".concat(_," ").concat(p),Zt)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(E)switch(c){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(a,{href:g,"aria-label":"collection-name"},e.createElement(b,null,v)):e.createElement(b,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};Vt.propTypes={collectionNameBorderColor:n.string,collection:n.object,config:n.object,collectionNameTemplate:n.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:n.string,customCollectionName:n.string,navigate:n.bool},Vt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Jt=d((function(e){return{config:Qe(e,["qt","config"],{})}}))(Vt),Yt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Yt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var $t=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};$t.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Kt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Kt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Qt=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Qt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Xt=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Yt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Kt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement($t,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Qt,{width:r,height:o,color:n,positionTop:i})}};Xt.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var er={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},tr=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,i=void 0===n?{}:n,l=t.isLink,c=C()||{},s=i.iconColor,u=void 0===s?"#F7B500":s,m=i.iconStyle,d=void 0===m?"star":m,h=i.enablePremiumStoryIcon,f=void 0!==h&&h,p=Qe(r,["alternative","home","default","headline"]),g=f&&"subscription"===Qe(r,["access"]),v=p||r.headline,_="h"+o,b=Rt(c.theme),y=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+x(y,er)},g&&e.createElement(Xt,{width:w,height:w,color:u,iconType:d,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),l?e.createElement(a,{href:Ht(r,"/".concat(r.slug)),externalLink:Bt(r),"aria-label":"headline"},e.createElement(_,{className:x("headline ".concat(b),er)},v)):e.createElement(_,{className:x("headline ".concat(b),er)},v))};tr.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},tr.defaultProps={headerLevel:"6",isLink:!0};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"}},or=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=C()||{},u=Qe(s,["showSection"],!0),m=Qe(s,["sectionTagTemplate"]),d=Qe(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=d?d["section-url"]:"/",p="solid"===n||"solid"===m?l:s.theme,g=c?"light":Rt(p),v=Ot(l),_=h.includes(n)?"section section-".concat(n):"section";return m&&(_=h.includes(m)?"section section-".concat(m):"section"),u?e.createElement(a,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+x("".concat(g," ").concat(_),rr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),d["display-name"]||d.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};or.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},or.defaultProps={template:"",isLightTheme:!1};var nr={"./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"}},ar=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=C()||{},l=Qe(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",m=Rt(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+x("time ".concat(m," ").concat(s),nr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(u,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,jt,a))))};ar.propTypes={story:o.object,isBottom:o.bool,config:o.object};var ir={"./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"}},lr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,l=t.prefix,c=void 0===l?"":l,s=t.config,u=void 0===s?{}:s,m=C()||{},d=Qe(m,["showAuthor"],!0),h=Qe(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",b=Rt(m.theme),y=Qe(u,["mountAt"],""),w=function(t){return c?e.createElement("div",{className:"arr-author-prefix "+x("prefix ".concat(b),ir)},c):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:x("author-image ".concat(t,"-image"),ir)},e.createElement("figure",null,p?e.createElement(i,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,d&&e.createElement(a,{href:"".concat(y,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+x("author ".concat(_),ir)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+x("author-name ".concat(b),ir)},g||r["author-name"]),!c&&w("rtl")))};var cr=d((function(e){return{config:Qe(e,["qt","config"],{})}}))(lr);lr.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},lr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var sr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ur=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:x(l,sr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};ur.propTypes={color:o.string,width:o.string,height:o.string};var mr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},dr=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:x(l,mr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};dr.propTypes={color:o.string,width:o.string,height:o.string};var hr={"./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"}},fr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=C()||{},c=Qe(l,["showReadTime"])||Qe(n,["showReadTime"],!0),s=Qe(r,["read-time"],0),u=i?"light":Rt(l.theme);if(!c||!s)return null;var m=Qe(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+x("read-time-wrapper ".concat(u),hr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ur,{color:u})),e.createElement("span",null,s," ",m)))};fr.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var pr={"./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"}},gr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=C()||{},m=Qe(c,["showAuthor"],Qe(u,["showAuthor"],!0)),d=Qe(u,["showTime"],!0),h=Qe(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":Rt(u.theme),v=function(){return d?e.createElement(e.Fragment,null,m&&e.createElement("span",{className:"arr-separator "+x("".concat(p),pr)},"divider"===o?e.createElement(dr,{color:g}):e.createElement(ur,{color:g})),e.createElement(ar,{story:r,config:c}),h&&e.createElement(fr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+x("author-time-wrapper ".concat(f),pr)},m?e.createElement(e.Fragment,null,e.createElement(cr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};gr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},gr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var vr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},_r=function(t){var r=t.story,o=t.children,n=t.theme,a=t.border,i=t.isHorizontalMobile,l=t.headerLevel,c=t.borderColor,s=t.config,u=Rt(n),m=Ot(c),d=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+x("wrapper ".concat(d," ").concat(h),vr)},o||e.createElement(br,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:m,config:s}))},br=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Ot(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(or,{story:r,borderColor:l}),e.createElement(tr,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(gr,{config:s,story:r}))};br.propTypes={story:o.object.isRequired,border:o.string,theme:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object},_r.propTypes={story:o.object.isRequired,children:o.node,theme:o.string,border:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object};var yr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},wr=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=C()||{};if(!(c||Qe(u,["showSubheadline"],!0)))return null;var m=Rt(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+x("subheadline ".concat(m),yr)},s||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};wr.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},wr.defaultProps={forceShowAtom:!1,showFullContent:!1};var Er={"./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"}},xr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,m=t.borderColor,d=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===z(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var b=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":_&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",T=Rt(u),C=d?"horizontal-mob":"",L=e.createElement(Tr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:d,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:m,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:T},className:"arr--story-card "+x("card ".concat(y," ").concat(b," ").concat(T," ").concat(w," ").concat(E," ").concat(C),Er)},n||L)},Tr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,m=t.hideAuthorImage,d=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=Ot(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Ut,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Ut,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Ut,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+x("content ".concat(p),Er)},e.createElement(or,{story:r,borderColor:g}),e.createElement(tr,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(gr,{config:_,story:r,isBottom:!0,prefix:d,hideAuthorImage:m}),e.createElement(wr,{story:r})))};function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Tr.propTypes={story:o.object.isRequired,border:o.oneOfType([o.string]),isBottom:o.bool,isHorizontal:o.bool,aspectRatio:o.oneOfType([o.array]),isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},xr.propTypes={story:o.object.isRequired,children:o.node,isHorizontal:o.bool,border:o.oneOfType([o.string]),useImageAsBackground:o.bool,bgImgContentOverlap:o.bool,aspectRatio:o.oneOfType([o.array]),theme:o.string,isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},xr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var zr={"./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 Lr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(r),!0).forEach((function(t){Cr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var jr=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,s=t.navigate,u=t.qtConfig,m=o.showButton,d=void 0===m||m,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,_=void 0===v?"":v;if(!d)return null;var b=Rt(g),y=_?"/".concat(_):Pt(n,kr(kr({},u),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+x("button ".concat(b," default"),zr)},f):e.createElement(c,{href:y,navigateTo:s,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+x("button ".concat(b," default"),zr)},f))};jr.propTypes={collection:o.object,template:o.string,config:o.object,onClick:o.func,navigate:o.func,qtConfig:o.object};var Nr,Sr={"./two-col-four-story-highlight.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",desktop:"1025px",componentWrapper:"two-col-four-story-highlight-m_componentWrapper__1MNn3",bulletCardWrapper:"two-col-four-story-highlight-m_bulletCardWrapper__2GVby",bullet:"two-col-four-story-highlight-m_bullet__2WeXf",dark:"two-col-four-story-highlight-m_dark__1Lqym",light:"two-col-four-story-highlight-m_light__IKs4n",bulletStyle:"two-col-four-story-highlight-m_bulletStyle__1QfgG",highlightWrapper:"two-col-four-story-highlight-m_highlightWrapper__1FXMf",coverCardWrapper:"two-col-four-story-highlight-m_coverCardWrapper__1vnU8",storyHighlightWrapper:"two-col-four-story-highlight-m_storyHighlightWrapper__1Jl9S"}},Or=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=s(r);if(!a.length)return null;var i=n.showBorder,l=void 0===i||i,c=n.borderColor,u=void 0===c?"":c,d=n.collectionNameBorderColor,f=void 0===d?"":d,p=n.theme,g=void 0===p?"":p,v=n.collectionNameTemplate,b=void 0===v?"":v,y=n.showBullet,w=void 0===y||y,E=n.customBulletColor,T=void 0===E?"":E,C=n.localizationConfig,z=void 0===C?{}:C,L=n.bulletColorType,k=void 0===L?"default":L,j=Rt(g),N=_(a),S=N[0],O=N.slice(1),I=h(),A=m((function(e){return Qe(e,["qt","config"],{})})),R=Pt(r,A),M=Ot(u);return e.createElement("div",{"data-test-id":"two-col-four-story-highlight",style:{backgroundColor:g,color:j},className:"full-width-with-padding arrow-component arr--two-col-four-story-highlight "+x("componentWrapper ".concat(w?"bulletStyle":""),Sr)},e.createElement("div",{className:"two-col-four-story-highlight-m_highlightWrapper__1FXMf"},e.createElement(Jt,{collection:r,collectionNameTemplate:b,collectionNameBorderColor:f}),e.createElement("div",{className:"two-col-four-story-highlight-m_storyHighlightWrapper__1Jl9S"},O.slice(0,3).map((function(t,r){return e.createElement("div",{className:"two-col-four-story-highlight-m_bulletCardWrapper__2GVby",key:r},w&&e.createElement("span",{"data-test-id":"bullet",style:{color:T},className:x("bullet ".concat("default"===k?j:""),Sr)}),e.createElement(xr,{story:t,bgImgContentOverlap:!0,config:n,border:l?"bottom":"",theme:g},e.createElement(_r,{story:t,borderColor:M})))}))),e.createElement(jr,{template:"NavigateToPage",collection:r,config:n,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(I,R)},qtConfig:A})),e.createElement("div",{className:"two-col-four-story-highlight-m_coverCardWrapper__1vnU8"},e.createElement(Jt,{collection:r,collectionNameTemplate:b,collectionNameBorderColor:f}),e.createElement(xr,{story:S,bgImgContentOverlap:!0,config:n,border:l?"full":"",theme:g},e.createElement(Ut,{story:S}),e.createElement("div",{style:{backgroundColor:g,color:j}},e.createElement(or,{story:S,borderColor:M}),e.createElement(tr,{story:S,headerLevel:4,premiumStoryIconConfig:n}),e.createElement(wr,{story:S}),e.createElement(gr,{config:z,story:S})))))},Ir=(Nr=Or,function(t){return e.createElement(T.Provider,{value:t.config},e.createElement(Nr,t))});Or.propTypes={collection:o.object.isRequired,config:o.shape({theme:o.string,showBorder:o.bool,collectionNameTemplate:o.string,collectionNameBorderColor:o.string,borderColor:o.string,showBullet:o.bool,localizationConfig:o.object})};export{Or as TwoColFourStoryHighlight,Ir as default};
@@ -0,0 +1 @@
1
+ import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import{useSelector as a,connect as i,useDispatch as l}from"react-redux";import{Link as c,ResponsiveImage as s,ResponsiveHeroImage as u,LinkBase as d,collectionToStories as m}from"@quintype/components";import h from"react-timeago";function f(e){if(Array.isArray(e))return e}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function g(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}function v(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e){return f(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||v()}var b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function w(e){var t={exports:{}};return e(t,t.exports),t.exports}var E=w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),x=y(w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=E)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),L=Array.isArray,z="object"==typeof b&&b&&b.Object===Object&&b,T="object"==typeof self&&self&&self.Object===Object&&self,k=z||T||Function("return this")(),j=k.Symbol,C=Object.prototype,N=C.hasOwnProperty,O=C.toString,S=j?j.toStringTag:void 0;var I=function(e){var t=N.call(e,S),r=e[S];try{e[S]=void 0;var o=!0}catch(e){}var n=O.call(e);return o&&(t?e[S]=r:delete e[S]),n},A=Object.prototype.toString;var R=function(e){return A.call(e)},M=j?j.toStringTag:void 0;var H=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":M&&M in Object(e)?I(e):R(e)};var P=function(e){return null!=e&&"object"==typeof e};var B=function(e){return"symbol"==typeof e||P(e)&&"[object Symbol]"==H(e)},F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,D=/^\w*$/;var W=function(e,t){if(L(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!B(e))||(D.test(e)||!F.test(e)||null!=t&&e in Object(t))};var q=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var U,G=function(e){if(!q(e))return!1;var t=H(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},Z=k["__core-js_shared__"],J=(U=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"";var V=function(e){return!!J&&J in e},Y=Function.prototype.toString;var $=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},K=/^\[object .+?Constructor\]$/,Q=Function.prototype,X=Object.prototype,ee=Q.toString,te=X.hasOwnProperty,re=RegExp("^"+ee.call(te).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var oe=function(e){return!(!q(e)||V(e))&&(G(e)?re:K).test($(e))};var ne=function(e,t){return null==e?void 0:e[t]};var ae=function(e,t){var r=ne(e,t);return oe(r)?r:void 0},ie=ae(Object,"create");var le=function(){this.__data__=ie?ie(null):{},this.size=0};var ce=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},se=Object.prototype.hasOwnProperty;var ue=function(e){var t=this.__data__;if(ie){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return se.call(t,e)?t[e]:void 0},de=Object.prototype.hasOwnProperty;var me=function(e){var t=this.__data__;return ie?void 0!==t[e]:de.call(t,e)};var he=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ie&&void 0===t?"__lodash_hash_undefined__":t,this};function fe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}fe.prototype.clear=le,fe.prototype.delete=ce,fe.prototype.get=ue,fe.prototype.has=me,fe.prototype.set=he;var pe=fe;var ge=function(){this.__data__=[],this.size=0};var ve=function(e,t){return e===t||e!=e&&t!=t};var _e=function(e,t){for(var r=e.length;r--;)if(ve(e[r][0],t))return r;return-1},be=Array.prototype.splice;var ye=function(e){var t=this.__data__,r=_e(t,e);return!(r<0)&&(r==t.length-1?t.pop():be.call(t,r,1),--this.size,!0)};var we=function(e){var t=this.__data__,r=_e(t,e);return r<0?void 0:t[r][1]};var Ee=function(e){return _e(this.__data__,e)>-1};var xe=function(e,t){var r=this.__data__,o=_e(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Le(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Le.prototype.clear=ge,Le.prototype.delete=ye,Le.prototype.get=we,Le.prototype.has=Ee,Le.prototype.set=xe;var ze=Le,Te=ae(k,"Map");var ke=function(){this.size=0,this.__data__={hash:new pe,map:new(Te||ze),string:new pe}};var je=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ce=function(e,t){var r=e.__data__;return je(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ne=function(e){var t=Ce(this,e).delete(e);return this.size-=t?1:0,t};var Oe=function(e){return Ce(this,e).get(e)};var Se=function(e){return Ce(this,e).has(e)};var Ie=function(e,t){var r=Ce(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ae(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ae.prototype.clear=ke,Ae.prototype.delete=Ne,Ae.prototype.get=Oe,Ae.prototype.has=Se,Ae.prototype.set=Ie;var Re=Ae;function Me(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(Me.Cache||Re),r}Me.Cache=Re;var He=Me;var Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/\\(\\)?/g,Fe=function(e){var t=He(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(Pe,(function(e,r,o,n){t.push(o?n.replace(Be,"$1"):r||e)})),t}));var De=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},We=j?j.prototype:void 0,qe=We?We.toString:void 0;var Ue=function e(t){if("string"==typeof t)return t;if(L(t))return De(t,e)+"";if(B(t))return qe?qe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ge=function(e){return null==e?"":Ue(e)};var Ze=function(e,t){return L(e)?e:W(e,t)?[e]:Fe(Ge(e))};var Je=function(e){if("string"==typeof e||B(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ve=function(e,t){for(var r=0,o=(t=Ze(t,e)).length;null!=e&&r<o;)e=e[Je(t[r++])];return r&&r==o?e:void 0};var Ye=function(e,t,r){var o=null==e?void 0:Ve(e,t);return void 0===o?r:o};function $e(e,t){return f(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||g(e,t)||v()}function Ke(e){return(Ke="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)}w((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new j(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return N()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=z(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(C([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function z(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,z(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function C(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:N}}function N(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(L.prototype),c(L.prototype,i,(function(){return this})),e.AsyncIterator=L,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new L(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=C,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:C(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var Qe=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var Xe=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),et=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var rt=function(e){return(e=Ge(e))&&e.replace(et,Xe).replace(tt,"")},ot=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var nt=function(e){return e.match(ot)||[]},at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var it=function(e){return at.test(e)},lt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ct="["+lt+"]",st="\\d+",ut="[\\u2700-\\u27bf]",dt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+lt+st+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",ft="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",gt="(?:"+dt+"|"+mt+")",vt="(?:"+pt+"|"+mt+")",_t="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bt="[\\ufe0e\\ufe0f]?"+_t+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ht,ft].join("|")+")[\\ufe0e\\ufe0f]?"+_t+")*"),yt="(?:"+[ut,ht,ft].join("|")+")"+bt,wt=RegExp([pt+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ct,pt,"$"].join("|")+")",vt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ct,pt+gt,"$"].join("|")+")",pt+"?"+gt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",st,yt].join("|"),"g");var Et=function(e){return e.match(wt)||[]};var xt=function(e,t,r){return e=Ge(e),void 0===(t=r?void 0:t)?it(e)?Et(e):nt(e):e.match(t)||[]},Lt=RegExp("['’]","g");var zt=function(e){return function(t){return Qe(xt(rt(t).replace(Lt,"")),e,"")}},Tt=zt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),kt=zt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function jt(e,t,r,o,n){var a,i=Ye(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Tt(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,L=Ct(o),z=L;if(w&&(v=Ye(w,[kt(g)])||g),y){var T=L.includes("am"),k=y.am,j=void 0===k?"am":k,C=y.pm,N=void 0===C?"pm":C;z=(T?L.replace("am",j):L.replace("pm",N))||L}return"rtl"===x?(_=i?"".concat(z):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(z,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(z):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,n):e>1?(a=Ye(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ye(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Ct(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var Nt=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},Ot=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},St={mobile:767,tablet:1024},It=function(e){var t=Ye(St,e);return!!t&&Ye(global,"document.documentElement.clientWidth")<=t},At=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:Ot(e),o=Nt(r)<155?"light":"dark";return o},Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Ye(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Mt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ye(n,["reference-url"],""):""}o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var Ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ye(e,["story-template"])?Ye(e,["metadata","reference-url"],""):e.url||t},Pt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Rt(e,t):"/"},Bt=t(),Ft=function(){return r(Bt)},Dt=function(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Dt.propTypes={width:o.object,height:o.object,iconColor:o.object};var Wt=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(Dt,null)))},qt=function(t){var r=t.slug;return r?e.createElement(c,{href:r,"aria-label":"image-fallback"},Wt()):Wt()};qt.propTypes={slug:o.string};var Ut={"./hero-image.m.css":{"hero-image":"hero-image-m_hero-image__3lraV","right-padding":"hero-image-m_right-padding__1LkCe","left-padding":"hero-image-m_left-padding__pYRAj","right-padding-mob":"hero-image-m_right-padding-mob__3-uOU",placeholder:"hero-image-m_placeholder__1omCm","hero-image-mob":"hero-image-m_hero-image-mob__13JJp","with-padding":"hero-image-m_with-padding__324G_",image:"hero-image-m_image__1mz0U"}},Gt=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,i=t.defaultWidth,l=t.widths,d=t.isHorizontal,m=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(Ft()||{}).fallbackImageUrl,v=void 0===g?"":g,_=a((function(e){return Ye(e,["qt","config","showPlaceholder"])}))?"placeholder":"",b=o?"":"with-padding",y="hero-image";d?y="right-padding":h&&(y="left-padding");var w=m?"right-padding-mob":"",E=function(e){var t=$e(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},L=$e(n,2),z=L[0],T=L[1],k=void 0===T?z:T,j=It("mobile"),C=j?z:k,N=E(j?z:k),O=Ye(r,["hero-image-s3-key"])||Ye(r,["alternative","home","default","hero-image","hero-image-s3-key"]),S=function(){return O?e.createElement("figure",{style:{paddingTop:N+"%"},className:"arr--responsive-hero-image "+x("image ".concat(_),Ut)},e.createElement(u,{story:r,aspectRatio:C,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:N+"%"},className:"arr--responsive-hero-image "+x("image ".concat(_),Ut)},e.createElement(s,{slug:!p&&v,metadata:{},"aspect-ratio":C,defaultWidth:i,widths:l,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:N+"%"},className:"arr--fallback-hero-image "+x("image ".concat(_),Ut)},e.createElement(qt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+x("".concat(y," ").concat(b," ").concat(w),Ut)},S()):e.createElement(c,{"data-test-id":"arr--hero-image",href:Ht(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+x("".concat(y," ").concat(b," ").concat(w),Ut)},S()))};Gt.propTypes={story:o.object.isRequired,FullBleed:o.bool,defaultWidth:o.number,widths:o.array,aspectRatio:o.array,isHorizontal:o.bool,isHorizontalMobile:o.bool,defaultFallback:o.bool,isHorizontalWithImageLast:o.bool},Gt.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var Zt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Zt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Jt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Jt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Vt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Vt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Yt=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Yt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var $t=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Zt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Vt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Jt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Yt,{width:r,height:o,color:n,positionTop:i})}};$t.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var Kt={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Qt=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=Ft()||{},s=a.iconColor,u=void 0===s?"#F7B500":s,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ye(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ye(r,["access"]),v=p||r.headline,_="h"+o,b=At(l.theme),y=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+x(y,Kt)},g&&e.createElement($t,{width:w,height:w,color:u,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(c,{href:Ht(r,"/".concat(r.slug)),externalLink:Mt(r),"aria-label":"headline"},e.createElement(_,{className:x("headline ".concat(b),Kt)},v)):e.createElement(_,{className:x("headline ".concat(b),Kt)},v))};Qt.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},Qt.defaultProps={headerLevel:"6",isLink:!0};var Xt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},er=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=Ft()||{};if(!(c||Ye(u,["showSubheadline"],!0)))return null;var d=At(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+x("subheadline ".concat(d),Xt)},s||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};er.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},er.defaultProps={forceShowAtom:!1,showFullContent:!1};var tr={"./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"}},rr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=Ft()||{},l=Ye(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=At(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+x("time ".concat(u," ").concat(s),tr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(h,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,jt,a))))};rr.propTypes={story:o.object,isBottom:o.bool,config:o.object};var or={"./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"}},nr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,u=void 0===l?{}:l,d=Ft()||{},m=Ye(d,["showAuthor"],!0),h=Ye(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",b=At(d.theme),y=Ye(u,["mountAt"],""),w=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+x("prefix ".concat(b),or)},i):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:x("author-image ".concat(t,"-image"),or)},e.createElement("figure",null,p?e.createElement(s,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(c,{href:"".concat(y,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+x("author ".concat(_),or)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+x("author-name ".concat(b),or)},g||r["author-name"]),!i&&w("rtl")))};var ar=i((function(e){return{config:Ye(e,["qt","config"],{})}}))(nr);nr.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},nr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ir={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},lr=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:x(l,ir)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};lr.propTypes={color:o.string,width:o.string,height:o.string};var cr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},sr=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:x(l,cr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};sr.propTypes={color:o.string,width:o.string,height:o.string};var ur={"./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"}},dr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=Ft()||{},c=Ye(l,["showReadTime"])||Ye(n,["showReadTime"],!0),s=Ye(r,["read-time"],0),u=i?"light":At(l.theme);if(!c||!s)return null;var d=Ye(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+x("read-time-wrapper ".concat(u),ur)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(lr,{color:u})),e.createElement("span",null,s," ",d)))};dr.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var mr={"./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"}},hr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=Ft()||{},d=Ye(c,["showAuthor"],Ye(u,["showAuthor"],!0)),m=Ye(u,["showTime"],!0),h=Ye(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":At(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+x("".concat(p),mr)},"divider"===o?e.createElement(sr,{color:g}):e.createElement(lr,{color:g})),e.createElement(rr,{story:r,config:c}),h&&e.createElement(dr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+x("author-time-wrapper ".concat(f),mr)},d?e.createElement(e.Fragment,null,e.createElement(ar,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};hr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},hr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var fr={"./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"}},pr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,l=t.isLightTheme,s=Ft()||{},u=Ye(s,["showSection"],!0),d=Ye(s,["sectionTagTemplate"]),m=Ye(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:s.theme,g=l?"light":At(p),v=Ot(i),_=h.includes(n)?"section section-".concat(n):"section";return d&&(_=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(c,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+x("".concat(g," ").concat(_),fr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};pr.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},pr.defaultProps={template:"",isLightTheme:!1};var gr={"./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"}},vr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===Ke(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var b=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":_&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",L=At(u),z=m?"horizontal-mob":"",T=e.createElement(_r,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:L},className:"arr--story-card "+x("card ".concat(y," ").concat(b," ").concat(L," ").concat(w," ").concat(E," ").concat(z),gr)},n||T)},_r=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=Ot(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Gt,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Gt,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Gt,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+x("content ".concat(p),gr)},e.createElement(pr,{story:r,borderColor:g}),e.createElement(Qt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(hr,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(er,{story:r})))};_r.propTypes={story:o.object.isRequired,border:o.oneOfType([o.string]),isBottom:o.bool,isHorizontal:o.bool,aspectRatio:o.oneOfType([o.array]),isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},vr.propTypes={story:o.object.isRequired,children:o.node,isHorizontal:o.bool,border:o.oneOfType([o.string]),useImageAsBackground:o.bool,bgImgContentOverlap:o.bool,aspectRatio:o.oneOfType([o.array]),theme:o.string,isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},vr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var br={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},yr=function(t){var r=t.story,o=t.children,n=t.theme,a=t.border,i=t.isHorizontalMobile,l=t.headerLevel,c=t.borderColor,s=t.config,u=At(n),d=Ot(c),m=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+x("wrapper ".concat(m," ").concat(h),br)},o||e.createElement(wr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},wr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=Ot(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(pr,{story:r,borderColor:l}),e.createElement(Qt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(hr,{config:s,story:r}))};wr.propTypes={story:o.object.isRequired,border:o.string,theme:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object},yr.propTypes={story:o.object.isRequired,children:o.node,theme:o.string,border:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object};var Er={"./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"}},xr=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,m=void 0===d||d,h=Ft()||{},f=Ye(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Rt(n,a)||"",v=u||n.name||"",_=At(h.theme),b="h"+l,y=Ot(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=It("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+x("collection ".concat(_," ").concat(p),Er)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(E)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(c,{href:g,"aria-label":"collection-name"},e.createElement(b,null,v)):e.createElement(b,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};xr.propTypes={collectionNameBorderColor:n.string,collection:n.object,config:n.object,collectionNameTemplate:n.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:n.string,customCollectionName:n.string,navigate:n.bool},xr.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Lr=i((function(e){return{config:Ye(e,["qt","config"],{})}}))(xr);function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Tr={"./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 kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function jr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(r),!0).forEach((function(t){zr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Cr=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,c=t.navigate,s=t.qtConfig,u=o.showButton,m=void 0===u||u,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,_=void 0===v?"":v;if(!m)return null;var b=At(g),y=_?"/".concat(_):Pt(n,jr(jr({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+x("button ".concat(b," default"),Tr)},f):e.createElement(d,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+x("button ".concat(b," default"),Tr)},f))};Cr.propTypes={collection:o.object,template:o.string,config:o.object,onClick:o.func,navigate:o.func,qtConfig:o.object};var Nr={"./two-col-six-stories.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",desktop:"1025px","two-col-six-stories":"two-col-six-stories-m_two-col-six-stories__2L-D_",wrapper:"two-col-six-stories-m_wrapper__qjQr8","first-card":"two-col-six-stories-m_first-card__2jRkL",border:"two-col-six-stories-m_border__17MqY",light:"two-col-six-stories-m_light__J3vUz",dark:"two-col-six-stories-m_dark__2lZMb","other-cards":"two-col-six-stories-m_other-cards__2M7fy",card:"two-col-six-stories-m_card__2PszD"}},Or=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,i=m(r),c=n.collectionNameBorderColor,s=void 0===c?"":c,u=n.theme,d=void 0===u?"":u,h=n.slotConfig,f=void 0===h?[]:h,p=n.collectionNameTemplate,g=void 0===p?"":p,v=n.border,b=void 0===v?"fullBorder":v,y=n.borderColor,w=void 0===y?"":y,E=Ye(f,[0],{}),L=E.type,z=void 0===L?"story":L,T=E.component,k=At(d),j="fullBorder"===b?"border":"",C=l(),N=a((function(e){return Ye(e,["qt","config"],{})})),O=Pt(r,N),S=Ot(w),I=_(i||[]),A=I[0],R=I.slice(1),M=function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(z,T,(function(){return R.slice(3,5).map((function(t,r){return e.createElement("div",{key:r,className:x("card ".concat(j," ").concat(k),Nr)},e.createElement(vr,{story:t,theme:d,headerLevel:"4",isHorizontalWithImageLast:!0,config:n},e.createElement(Gt,{story:t,isHorizontalWithImageLast:!0,aspectRatio:[[16,9]]}),e.createElement(yr,{theme:d,story:t,config:n,borderColor:S})))}))}));return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"two-col-six-stories",style:{backgroundColor:d,color:k}},e.createElement("div",{className:"two-col-six-stories-m_two-col-six-stories__2L-D_",style:{backgroundColor:d,color:k}},e.createElement(Lr,{collection:r,collectionNameTemplate:g,collectionNameBorderColor:s,headerLevel:2}),e.createElement("div",{className:"two-col-six-stories-m_wrapper__qjQr8"},e.createElement("div",{className:x("first-card ".concat(j," ").concat(k),Nr)},e.createElement(vr,{story:A,config:n},e.createElement(Gt,{story:A,aspectRatio:[[16,9]]}),e.createElement(yr,{story:A,headerLevel:"3",config:n},e.createElement(pr,{story:A,borderColor:S}),e.createElement(Qt,{story:A,headerLevel:2}),e.createElement(er,{story:A}),e.createElement(hr,{story:A})))),e.createElement("div",{className:"two-col-six-stories-m_other-cards__2M7fy"},e.createElement("div",null,R.slice(0,3).map((function(t,r){return e.createElement("div",{key:r,className:x("card ".concat(j," ").concat(k),Nr)},e.createElement(vr,{story:t,theme:d,headerLevel:"4",isHorizontalWithImageLast:!0,config:n},e.createElement(Gt,{story:t,isHorizontalWithImageLast:!0,aspectRatio:[[16,9]]}),e.createElement(yr,{theme:d,story:t,config:n,headerLevel:6,borderColor:S})))}))),e.createElement("div",null,M)))),e.createElement(Cr,{collection:r,config:n,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(C,O)},qtConfig:N,template:"NavigateToPage"}))};Or.propTypes={collection:o.object,config:o.object};var Sr,Ir=(Sr=Or,function(t){return e.createElement(Bt.Provider,{value:t.config},e.createElement(Sr,t))});export{Ir as default};
@@ -0,0 +1 @@
1
+ import e,{createContext as t,useContext as r}from"react";import o,{PropTypes as n}from"prop-types";import{Link as a,ResponsiveImage as i,ResponsiveHeroImage as l,LinkBase as c,collectionToStories as s}from"@quintype/components";import u from"react-timeago";import{useSelector as d,connect as m,useDispatch as h}from"react-redux";var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g(e){var t={exports:{}};return e(t,t.exports),t.exports}var v=g((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),_=p(g((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=v)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),b=t(),y=function(){return r(b)};function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}g((function(e){var t=function(e){var t,r=Object.prototype,o=r.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n=t&&t.prototype instanceof g?t:g,a=Object.create(n.prototype),i=new C(o||[]);return a._invoke=function(e,t,r){var o=d;return function(n,a){if(o===h)throw new Error("Generator is already running");if(o===f){if("throw"===n)throw a;return j()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=z(i,r);if(l){if(l===p)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===d)throw o=f,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var c=u(e,t,r);if("normal"===c.type){if(o=r.done?f:m,c.arg===p)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=f,r.method="throw",r.arg=c.arg)}}}(e,r,i),a}function u(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var d="suspendedStart",m="suspendedYield",h="executing",f="completed",p={};function g(){}function v(){}function _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(N([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function r(n,a,i,l){var c=u(e[n],e,a);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==typeof d&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,i,l)}),(function(e){r("throw",e,i,l)})):t.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){return r("throw",e,i,l)}))}l(c.arg)}var n;this._invoke=function(e,o){function a(){return new t((function(t,n){r(e,o,t,n)}))}return n=n?n.then(a,a):a()}}function z(e,r){var o=e.iterator[r.method];if(o===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,z(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,p;var a=n.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,p):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,p)}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function N(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:j}}function j(){return{value:t,done:!0}}return v.prototype=_,c(E,"constructor",_),c(_,"constructor",v),v.displayName=c(_,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,c(e,l,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},x(T.prototype),c(T.prototype,i,(function(){return this})),e.AsyncIterator=T,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new T(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(k),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:N(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var E=Array.isArray,x="object"==typeof f&&f&&f.Object===Object&&f,T="object"==typeof self&&self&&self.Object===Object&&self,z=x||T||Function("return this")(),L=z.Symbol,k=Object.prototype,C=k.hasOwnProperty,N=k.toString,j=L?L.toStringTag:void 0;var O=function(e){var t=C.call(e,j),r=e[j];try{e[j]=void 0;var o=!0}catch(e){}var n=N.call(e);return o&&(t?e[j]=r:delete e[j]),n},S=Object.prototype.toString;var I=function(e){return S.call(e)},R=L?L.toStringTag:void 0;var A=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":R&&R in Object(e)?O(e):I(e)};var M=function(e){return null!=e&&"object"==typeof e};var H=function(e){return"symbol"==typeof e||M(e)&&"[object Symbol]"==A(e)},P=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/;var F=function(e,t){if(E(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!H(e))||(B.test(e)||!P.test(e)||null!=t&&e in Object(t))};var D=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var W,U=function(e){if(!D(e))return!1;var t=A(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},q=z["__core-js_shared__"],V=(W=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";var G=function(e){return!!V&&V in e},Z=Function.prototype.toString;var J=function(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Y=/^\[object .+?Constructor\]$/,$=Function.prototype,K=Object.prototype,Q=$.toString,X=K.hasOwnProperty,ee=RegExp("^"+Q.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var te=function(e){return!(!D(e)||G(e))&&(U(e)?ee:Y).test(J(e))};var re=function(e,t){return null==e?void 0:e[t]};var oe=function(e,t){var r=re(e,t);return te(r)?r:void 0},ne=oe(Object,"create");var ae=function(){this.__data__=ne?ne(null):{},this.size=0};var ie=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},le=Object.prototype.hasOwnProperty;var ce=function(e){var t=this.__data__;if(ne){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return le.call(t,e)?t[e]:void 0},se=Object.prototype.hasOwnProperty;var ue=function(e){var t=this.__data__;return ne?void 0!==t[e]:se.call(t,e)};var de=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ne&&void 0===t?"__lodash_hash_undefined__":t,this};function me(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}me.prototype.clear=ae,me.prototype.delete=ie,me.prototype.get=ce,me.prototype.has=ue,me.prototype.set=de;var he=me;var fe=function(){this.__data__=[],this.size=0};var pe=function(e,t){return e===t||e!=e&&t!=t};var ge=function(e,t){for(var r=e.length;r--;)if(pe(e[r][0],t))return r;return-1},ve=Array.prototype.splice;var _e=function(e){var t=this.__data__,r=ge(t,e);return!(r<0)&&(r==t.length-1?t.pop():ve.call(t,r,1),--this.size,!0)};var be=function(e){var t=this.__data__,r=ge(t,e);return r<0?void 0:t[r][1]};var ye=function(e){return ge(this.__data__,e)>-1};var we=function(e,t){var r=this.__data__,o=ge(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function Ee(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Ee.prototype.clear=fe,Ee.prototype.delete=_e,Ee.prototype.get=be,Ee.prototype.has=ye,Ee.prototype.set=we;var xe=Ee,Te=oe(z,"Map");var ze=function(){this.size=0,this.__data__={hash:new he,map:new(Te||xe),string:new he}};var Le=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ke=function(e,t){var r=e.__data__;return Le(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ce=function(e){var t=ke(this,e).delete(e);return this.size-=t?1:0,t};var Ne=function(e){return ke(this,e).get(e)};var je=function(e){return ke(this,e).has(e)};var Oe=function(e,t){var r=ke(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}Se.prototype.clear=ze,Se.prototype.delete=Ce,Se.prototype.get=Ne,Se.prototype.has=je,Se.prototype.set=Oe;var Ie=Se;function Re(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(Re.Cache||Ie),r}Re.Cache=Ie;var Ae=Re;var Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,He=/\\(\\)?/g,Pe=function(e){var t=Ae(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(Me,(function(e,r,o,n){t.push(o?n.replace(He,"$1"):r||e)})),t}));var Be=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},Fe=L?L.prototype:void 0,De=Fe?Fe.toString:void 0;var We=function e(t){if("string"==typeof t)return t;if(E(t))return Be(t,e)+"";if(H(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ue=function(e){return null==e?"":We(e)};var qe=function(e,t){return E(e)?e:F(e,t)?[e]:Pe(Ue(e))};var Ve=function(e){if("string"==typeof e||H(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ge=function(e,t){for(var r=0,o=(t=qe(t,e)).length;null!=e&&r<o;)e=e[Ve(t[r++])];return r&&r==o?e:void 0};var Ze=function(e,t,r){var o=null==e?void 0:Ge(e,t);return void 0===o?r:o};var Je=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var Ye=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),$e=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ke=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Qe=function(e){return(e=Ue(e))&&e.replace($e,Ye).replace(Ke,"")},Xe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var et=function(e){return e.match(Xe)||[]},tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var rt=function(e){return tt.test(e)},ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",nt="["+ot+"]",at="\\d+",it="[\\u2700-\\u27bf]",lt="[a-z\\xdf-\\xf6\\xf8-\\xff]",ct="[^\\ud800-\\udfff"+ot+at+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",st="(?:\\ud83c[\\udde6-\\uddff]){2}",ut="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",mt="(?:"+lt+"|"+ct+")",ht="(?:"+dt+"|"+ct+")",ft="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",pt="[\\ufe0e\\ufe0f]?"+ft+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",st,ut].join("|")+")[\\ufe0e\\ufe0f]?"+ft+")*"),gt="(?:"+[it,st,ut].join("|")+")"+pt,vt=RegExp([dt+"?"+lt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[nt,dt,"$"].join("|")+")",ht+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[nt,dt+mt,"$"].join("|")+")",dt+"?"+mt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",dt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",at,gt].join("|"),"g");var _t=function(e){return e.match(vt)||[]};var bt=function(e,t,r){return e=Ue(e),void 0===(t=r?void 0:t)?rt(e)?_t(e):et(e):e.match(t)||[]},yt=RegExp("['’]","g");var wt=function(e){return function(t){return Je(bt(Qe(t).replace(yt,"")),e,"")}},Et=wt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),xt=wt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function Tt(e,t,r,o,n){var a,i=Ze(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=Et(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,T=zt(o),z=T;if(w&&(v=Ze(w,[xt(g)])||g),y){var L=T.includes("am"),k=y.am,C=void 0===k?"am":k,N=y.pm,j=void 0===N?"pm":N;z=(L?T.replace("am",C):T.replace("pm",j))||T}return"rtl"===x?(_=i?"".concat(z):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(z,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(z):"","".concat(p," ").concat(v,", ").concat(b).concat(_))}(e,t,r,o,n):e>1?(a=Ze(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ze(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function zt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var Lt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",t=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return t&&4===t.length?"#"+("0"+parseInt(t[1],10).toString(16)).slice(-2)+("0"+parseInt(t[2],10).toString(16)).slice(-2)+("0"+parseInt(t[3],10).toString(16)).slice(-2):e},Ct={mobile:767,tablet:1024},Nt=function(e){var t=Ze(Ct,e);return!!t&&Ze(global,"document.documentElement.clientWidth")<=t},jt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:kt(e),o=Lt(r)<155?"light":"dark";return o},Ot=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Ze(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function St(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ze(n,["reference-url"],""):""}o.shape({"sketches-host":o.string,"cdn-name":o.string,"cdn-image":o.string}),o.shape({headline:o.string,"last-published-at":o.number,subheadline:o.string});var It=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ze(e,["story-template"])?Ze(e,["metadata","reference-url"],""):e.url||t},Rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)},At=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Ot(e,t):"/"};function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function Ht(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,n,a=[],i=!0,l=!1;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(a.push(o.value),!t||a.length!==t);i=!0);}catch(e){l=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(l)throw n}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mt(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)?Mt(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(t){var r=t.width,o=void 0===r?40:r,n=t.height,a=void 0===n?30:n,i=t.iconColor,l=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:o,height:a,viewBox:"0 0 102 76",version:"1.1"},e.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},e.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},e.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:l,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:l,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Pt.propTypes={width:o.object,height:o.object,iconColor:o.object};var Bt=function(){return e.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},e.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},e.createElement(Pt,null)))},Ft=function(t){var r=t.slug;return r?e.createElement(a,{href:r,"aria-label":"image-fallback"},Bt()):Bt()};Ft.propTypes={slug:o.string};var Dt={"./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"}},Wt=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,c=t.defaultWidth,s=t.widths,u=t.isHorizontal,m=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,p=t.isStoryPageImage,g=(y()||{}).fallbackImageUrl,v=void 0===g?"":g,b=d((function(e){return Ze(e,["qt","config","showPlaceholder"])}))?"placeholder":"",w=o?"":"with-padding",E="hero-image";u?E="right-padding":h&&(E="left-padding");var x=m?"right-padding-mob":"",T=function(e){var t=Ht(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},z=Ht(n,2),L=z[0],k=z[1],C=void 0===k?L:k,N=Nt("mobile"),j=N?L:C,O=T(N?L:C),S=Ze(r,["hero-image-s3-key"])||Ze(r,["alternative","home","default","hero-image","hero-image-s3-key"]),I=function(){return S?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+_("image ".concat(b),Dt)},e.createElement(l,{story:r,aspectRatio:j,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:O+"%"},className:"arr--responsive-hero-image "+_("image ".concat(b),Dt)},e.createElement(i,{slug:!p&&v,metadata:{},"aspect-ratio":j,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,f?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:O+"%"},className:"arr--fallback-hero-image "+_("image ".concat(b),Dt)},e.createElement(Ft,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+_("".concat(E," ").concat(w," ").concat(x),Dt)},I()):e.createElement(a,{"data-test-id":"arr--hero-image",href:It(r,"/".concat(r.slug)),externalLink:St(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+_("".concat(E," ").concat(w," ").concat(x),Dt)},I()))};Wt.propTypes={story:o.object.isRequired,FullBleed:o.bool,defaultWidth:o.number,widths:o.array,aspectRatio:o.array,isHorizontal:o.bool,isHorizontalMobile:o.bool,defaultFallback:o.bool,isHorizontalWithImageLast:o.bool},Wt.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var Ut={"./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"}},qt=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,i=t.config,l=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,m=void 0===d||d,h=y()||{},f=Ze(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(l)?" collection-".concat(l):"",g=m&&n&&Ot(n,i)||"",v=u||n.name||"",b=jt(h.theme),w="h"+c,E=kt(o),x=p.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",T=Nt("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:x},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+_("collection ".concat(b," ").concat(p),Ut)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:E,fontSize:function(){if(T)switch(c){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(c){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(a,{href:g,"aria-label":"collection-name"},e.createElement(w,null,v)):e.createElement(w,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(E)}}):""))};qt.propTypes={collectionNameBorderColor:n.string,collection:n.object,config:n.object,collectionNameTemplate:n.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:n.string,customCollectionName:n.string,navigate:n.bool},qt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Vt=m((function(e){return{config:Ze(e,["qt","config"],{})}}))(qt),Gt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D8D8D8":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(0 2)"},e.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};Gt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Zt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};Zt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Jt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Jt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var Yt=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Yt.propTypes={height:o.string,width:o.string,color:o.string,positionTop:o.string};var $t=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Gt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Jt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement(Zt,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Yt,{width:r,height:o,color:n,positionTop:i})}};$t.propTypes={width:o.string,height:o.string,color:o.string,iconType:o.string,positionTop:o.string};var Kt={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},Qt=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,i=void 0===n?{}:n,l=t.isLink,c=y()||{},s=i.iconColor,u=void 0===s?"#F7B500":s,d=i.iconStyle,m=void 0===d?"star":d,h=i.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ze(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ze(r,["access"]),v=p||r.headline,b="h"+o,w=jt(c.theme),E=g?"wrapper":"",x="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+_(E,Kt)},g&&e.createElement($t,{width:x,height:x,color:u,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),l?e.createElement(a,{href:It(r,"/".concat(r.slug)),externalLink:St(r),"aria-label":"headline"},e.createElement(b,{className:_("headline ".concat(w),Kt)},v)):e.createElement(b,{className:_("headline ".concat(w),Kt)},v))};Qt.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},Qt.defaultProps={headerLevel:"6",isLink:!0};var Xt={"./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"}},er=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,i=t.borderColor,l=void 0===i?"":i,c=t.isLightTheme,s=y()||{},u=Ze(s,["showSection"],!0),d=Ze(s,["sectionTagTemplate"]),m=Ze(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?l:s.theme,g=c?"light":jt(p),v=kt(l),b=h.includes(n)?"section section-".concat(n):"section";return d&&(b=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(a,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:b.includes("section-solid")?v:""},className:"section-tag arrow-component "+_("".concat(g," ").concat(b),Xt)},b.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};er.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},er.defaultProps={template:"",isLightTheme:!1};var tr={"./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"}},rr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=y()||{},l=Ze(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",d=jt(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+_("time ".concat(d," ").concat(s),tr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(u,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Tt,a))))};rr.propTypes={story:o.object,isBottom:o.bool,config:o.object};var or={"./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"}},nr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,l=t.prefix,c=void 0===l?"":l,s=t.config,u=void 0===s?{}:s,d=y()||{},m=Ze(d,["showAuthor"],!0),h=Ze(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,b=n?"bottom-fix":"",w=jt(d.theme),E=Ze(u,["mountAt"],""),x=function(t){return c?e.createElement("div",{className:"arr-author-prefix "+_("prefix ".concat(w),or)},c):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:_("author-image ".concat(t,"-image"),or)},e.createElement("figure",null,p?e.createElement(i,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(a,{href:"".concat(E,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+_("author ".concat(b),or)},x("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+_("author-name ".concat(w),or)},g||r["author-name"]),!c&&x("rtl")))};var ar=m((function(e){return{config:Ze(e,["qt","config"],{})}}))(nr);nr.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},nr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ir={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},lr=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:_(l,ir)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};lr.propTypes={color:o.string,width:o.string,height:o.string};var cr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},sr=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:_(l,cr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};sr.propTypes={color:o.string,width:o.string,height:o.string};var ur={"./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"}},dr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=y()||{},c=Ze(l,["showReadTime"])||Ze(n,["showReadTime"],!0),s=Ze(r,["read-time"],0),u=i?"light":jt(l.theme);if(!c||!s)return null;var d=Ze(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+_("read-time-wrapper ".concat(u),ur)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(lr,{color:u})),e.createElement("span",null,s," ",d)))};dr.propTypes={story:o.shape({"read-time":o.number}),opts:o.shape({showReadTime:o.bool}),isLightTheme:o.bool};var mr={"./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"}},hr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=y()||{},d=Ze(c,["showAuthor"],Ze(u,["showAuthor"],!0)),m=Ze(u,["showTime"],!0),h=Ze(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":jt(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+_("".concat(p),mr)},"divider"===o?e.createElement(sr,{color:g}):e.createElement(lr,{color:g})),e.createElement(rr,{story:r,config:c}),h&&e.createElement(dr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+_("author-time-wrapper ".concat(f),mr)},d?e.createElement(e.Fragment,null,e.createElement(ar,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};hr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},hr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var fr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},pr=function(t){var r=t.story,o=t.children,n=t.theme,a=t.border,i=t.isHorizontalMobile,l=t.headerLevel,c=t.borderColor,s=t.config,u=jt(n),d=kt(c),m=["full"].includes(a)?"border-".concat(a):"",h=i?"horizontal-content-wrapper":"";return e.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:n,color:u},className:"arr--content-wrapper "+_("wrapper ".concat(m," ").concat(h),fr)},o||e.createElement(gr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:d,config:s}))},gr=function(t){var r=t.story,o=t.headerLevel,n=t.borderColor,a=t.config,i=void 0===a?{}:a,l=kt(n),c=i.localizationConfig,s=void 0===c?{}:c;return e.createElement("div",null,e.createElement(er,{story:r,borderColor:l}),e.createElement(Qt,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(hr,{config:s,story:r}))};gr.propTypes={story:o.object.isRequired,border:o.string,theme:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object},pr.propTypes={story:o.object.isRequired,children:o.node,theme:o.string,border:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object};var vr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},_r=function(t){var r=t.story,o=t.truncateChars,n=void 0===o?200:o,a=t.lineClamp,i=t.clazzName,l=void 0===i?"":i,c=t.forceShowAtom,s=t.showFullContent,u=y()||{};if(!(c||Ze(u,["showSubheadline"],!0)))return null;var d=jt(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+_("subheadline ".concat(d),vr)},s||"number"==typeof a?r.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(r.subheadline,n,!0))};_r.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},_r.defaultProps={forceShowAtom:!1,showFullContent:!1};var br={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-bottom":"storycard-m_content-bottom__1QHeC","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},yr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,b=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===w(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var y=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",E="default-card";a?E="horizontal-card":b&&(E="horizontal-image-last");var x=c?"backgroung-img":"",T=s?"content-overlap":"",z=jt(u),L=m?"horizontal-mob":"",k=e.createElement(wr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:b});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:z},className:"arr--story-card "+_("card ".concat(E," ").concat(y," ").concat(z," ").concat(x," ").concat(T," ").concat(L),br)},n||k)},wr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=kt(u),v=f.localizationConfig,b=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Wt,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Wt,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Wt,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+_("content ".concat(p),br)},e.createElement(er,{story:r,borderColor:g}),e.createElement(Qt,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(hr,{config:b,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(_r,{story:r})))};wr.propTypes={story:o.object.isRequired,border:o.oneOfType([o.string]),isBottom:o.bool,isHorizontal:o.bool,aspectRatio:o.oneOfType([o.array]),isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},yr.propTypes={story:o.object.isRequired,children:o.node,isHorizontal:o.bool,border:o.oneOfType([o.string]),useImageAsBackground:o.bool,bgImgContentOverlap:o.bool,aspectRatio:o.oneOfType([o.array]),theme:o.string,isHorizontalMobile:o.bool,centerAlign:o.bool,headerLevel:o.string,borderColor:o.string,hideAuthorImage:o.bool,prefix:o.string,config:o.object,isHorizontalWithImageLast:o.bool},yr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Er={"./bullet-point.m.css":{bullet:"bullet-point-m_bullet__SbeId",dark:"bullet-point-m_dark__Po6Ze",light:"bullet-point-m_light__1Xy6_"}},xr=function(t){var r=t.bulletValue,o=void 0===r?"":r,n=y()||{},a=jt(n.theme);return e.createElement("div",{className:"arrow-component arr--bullet-point"},e.createElement("span",{className:_("bullet ".concat(a),Er)},o))};xr.propTypes={bulletValue:o.string};var Tr=function(t){var r=t.story,o=t.config,n=t.bulletValue,a=o.theme,i=void 0===a?"":a,l=o.localizationConfig,c=void 0===l?{}:l;return e.createElement("div",{className:"story-card-with-bullet-point-m_card-with-bullet-wrapper__qTviw"},e.createElement(xr,{bulletValue:n}),e.createElement(yr,{story:r,bgImgContentOverlap:!0,config:o,theme:i},e.createElement(pr,null,e.createElement(Qt,{story:r,headerLevel:"6",premiumStoryIconConfig:o}),e.createElement(hr,{config:c,story:r,prefix:"By"}))))};function zr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Tr.propTypes={story:o.object.isRequired,config:o.shape({theme:o.string,localizationConfig:o.object}),bulletValue:o.string};var Lr={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function kr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Cr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kr(Object(r),!0).forEach((function(t){zr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Nr=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,s=t.navigate,u=t.qtConfig,d=o.showButton,m=void 0===d||d,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,b=void 0===v?"":v;if(!m)return null;var y=jt(g),w=b?"/".concat(b):At(n,Cr(Cr({},u),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+_("button ".concat(y," default"),Lr)},f):e.createElement(c,{href:w,navigateTo:s,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+_("button ".concat(y," default"),Lr)},f))};Nr.propTypes={collection:o.object,template:o.string,config:o.object,onClick:o.func,navigate:o.func,qtConfig:o.object};var jr,Or={"./two-col-ten-stories-sidebar.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",desktop:"1025px","component-wrapper":"two-col-ten-stories-sidebar-m_component-wrapper__2R--T","collection-wrapper":"two-col-ten-stories-sidebar-m_collection-wrapper__3U_EX","sidebar-collection-wrapper":"two-col-ten-stories-sidebar-m_sidebar-collection-wrapper__1gOyr","sidebar-cards-container":"two-col-ten-stories-sidebar-m_sidebar-cards-container__32zii","story-cards":"two-col-ten-stories-sidebar-m_story-cards__3bhIo",card:"two-col-ten-stories-sidebar-m_card__kR47U","first-card":"two-col-ten-stories-sidebar-m_first-card__3HJ3k"}},Sr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=Ze(r,["items"],[]).filter((function(e){return"collection"===e.type}));if(a.length<2)return null;var i=s(a[0]),l=s(a[1]);if(!i.length&&!l.length)return null;var c=n.border,u=void 0===c?"":c,m=n.borderColor,f=void 0===m?"":m,p=n.collectionNameBorderColor,g=void 0===p?"":p,v=n.theme,b=void 0===v?"":v,y=n.slotConfig,w=void 0===y?[]:y,E=n.collectionNameTemplate,x=void 0===E?"":E,T=jt(b),z=h(),L=d((function(e){return Ze(e,["qt","config"],{})})),k="bottom"===u?"first-card-border-box":"",C=Ze(w,[0],{}),N=C.type,j=void 0===N?"story":N,O=C.component,S="ad"===j||"widget"===j?function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(j,O):null,I=0;return e.createElement("div",{className:"full-width-with-padding arrow-component two-col-ten-stories-sidebar-m_component-wrapper__2R--T","data-test-id":"two-col-ten-stories-sidebar",style:{backgroundColor:b,color:T}},e.createElement("div",{className:"two-col-ten-stories-sidebar-m_collection-wrapper__3U_EX"},e.createElement(Vt,{collection:a[0],collectionNameTemplate:x,collectionNameBorderColor:g,headerLevel:"2"}),e.createElement("div",{className:"two-col-ten-stories-sidebar-m_story-cards__3bhIo"},e.createElement("div",{className:"two-col-ten-stories-sidebar-m_first-card__3HJ3k"},e.createElement(yr,{story:i[0],theme:b,headerLevel:"3",bgImgContentOverlap:!0,aspectRatio:[[16,9],[16,9]],config:n},e.createElement(Wt,{story:i[0],aspectRatio:[[16,9],[16,9]]}),e.createElement(pr,{story:i[0],headerLevel:"3",theme:b,isHorizontal:!0,borderColor:f,config:n,className:_(k,Or)}))),i.slice(1,5).map((function(t,r){return e.createElement("div",{className:"two-col-ten-stories-sidebar-m_card__kR47U",key:r},e.createElement(yr,{story:t,theme:b,headerLevel:"4",isHorizontal:!0,border:u,aspectRatio:[[16,9],[16,9]],config:n},e.createElement(Wt,{story:t,isHorizontal:!0,aspectRatio:[[16,9],[16,9]]}),e.createElement(pr,{theme:b,story:t,isHorizontal:!0,borderColor:f,config:n})))}))),e.createElement(Nr,{template:"NavigateToPage",collection:a[0],config:n,navigate:function(){return Rt(z,At(a[0],L))},qtConfig:L})),e.createElement("div",{className:"two-col-ten-stories-sidebar-m_sidebar-collection-wrapper__1gOyr"},e.createElement(Vt,{collection:a[1],collectionNameTemplate:x,collectionNameBorderColor:g,headerLevel:"2"}),e.createElement("div",{className:"two-col-ten-stories-sidebar-m_sidebar-cards-container__32zii"},e.createElement("div",null,l.slice(0,4).map((function(t){return e.createElement("div",{className:"two-col-ten-stories-sidebar-m_card__kR47U",key:t.id},e.createElement(Tr,{story:t,bulletValue:"".concat(++I),config:n}))}))),e.createElement("div",null,e.createElement("div",{className:"two-col-ten-stories-sidebar-m_card__kR47U"},e.createElement(Tr,{story:l[4],bulletValue:"".concat(++I),config:n})),S?e.createElement("div",null,S):l.slice(5,8).map((function(t){return e.createElement("div",{className:"two-col-ten-stories-sidebar-m_card__kR47U",key:t.id},e.createElement(Tr,{story:t,bulletValue:"".concat(++I),config:n}))})))),e.createElement(Nr,{template:"NavigateToPage",collection:a[1],config:n,navigate:function(){return Rt(z,At(a[1],L))},qtConfig:L})))},Ir=(jr=Sr,function(t){return e.createElement(b.Provider,{value:t.config},e.createElement(jr,t))});Sr.propTypes={collection:o.object.isRequired,config:o.shape({theme:o.string,showBorder:o.bool,collectionNameTemplate:o.string,slotConfig:o.array,collectionNameBorderColor:o.string,borderColor:o.string,localizationConfig:o.object})};export{Sr as TwoColTenStoriesSidebar,Ir as default};