@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 n,{PropTypes as o}from"prop-types";import{connect as a,useSelector as i,useDispatch as c}from"react-redux";import{Link as l,LazyLoadImages as u,ResponsiveImage as s,LinkBase as f}from"@quintype/components";import d from"react-timeago";function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h="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 v(e){var t={exports:{}};return e(t,t.exports),t.exports}var g=v((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})),y=p(v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=g)&&r.__esModule?r:{default:r};var o=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},c=i.handleMissingStyleName,l=void 0===c?n.default.handleMissingStyleName:c,u=i.autoResolveMultipleImports,s=void 0===u?n.default.autoResolveMultipleImports:u;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],c=a[1],l=r||n.default.handleMissingStyleName;return c?t[i]?t[i][c]?t[i][c]:o("CSS module does not exist: "+c,l):o("CSS module import does not exist: "+i,l):o("Invalid style name: "+e,l)}(e,t,l);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(!s)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,l)}var r=t[a[0]];return r[e]?r[e]:o("Could not resolve the styleName '"+e+"'.",l)})).filter((function(e){return e})).join(" "):""}}))),b=Array.isArray,_="object"==typeof h&&h&&h.Object===Object&&h,w="object"==typeof self&&self&&self.Object===Object&&self,x=_||w||Function("return this")(),E=x.Symbol,O=Object.prototype,j=O.hasOwnProperty,N=O.toString,L=E?E.toStringTag:void 0;var z=function(e){var t=j.call(e,L),r=e[L];try{e[L]=void 0;var n=!0}catch(e){}var o=N.call(e);return n&&(t?e[L]=r:delete e[L]),o},k=Object.prototype.toString;var S=function(e){return k.call(e)},C=E?E.toStringTag:void 0;var P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?z(e):S(e)};var T=function(e){return null!=e&&"object"==typeof e};var A=function(e){return"symbol"==typeof e||T(e)&&"[object Symbol]"==P(e)},M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,I=/^\w*$/;var F=function(e,t){if(b(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!A(e))||(I.test(e)||!M.test(e)||null!=t&&e in Object(t))};var D=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var R,B=function(e){if(!D(e))return!1;var t=P(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},U=x["__core-js_shared__"],G=(R=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"";var Z=function(e){return!!G&&G in e},$=Function.prototype.toString;var q=function(e){if(null!=e){try{return $.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Y=/^\[object .+?Constructor\]$/,J=Function.prototype,W=Object.prototype,H=J.toString,K=W.hasOwnProperty,V=RegExp("^"+H.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Q=function(e){return!(!D(e)||Z(e))&&(B(e)?V:Y).test(q(e))};var X=function(e,t){return null==e?void 0:e[t]};var ee=function(e,t){var r=X(e,t);return Q(r)?r:void 0},te=ee(Object,"create");var re=function(){this.__data__=te?te(null):{},this.size=0};var ne=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},oe=Object.prototype.hasOwnProperty;var ae=function(e){var t=this.__data__;if(te){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return oe.call(t,e)?t[e]:void 0},ie=Object.prototype.hasOwnProperty;var ce=function(e){var t=this.__data__;return te?void 0!==t[e]:ie.call(t,e)};var le=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=te&&void 0===t?"__lodash_hash_undefined__":t,this};function ue(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ue.prototype.clear=re,ue.prototype.delete=ne,ue.prototype.get=ae,ue.prototype.has=ce,ue.prototype.set=le;var se=ue;var fe=function(){this.__data__=[],this.size=0};var de=function(e,t){return e===t||e!=e&&t!=t};var me=function(e,t){for(var r=e.length;r--;)if(de(e[r][0],t))return r;return-1},he=Array.prototype.splice;var pe=function(e){var t=this.__data__,r=me(t,e);return!(r<0)&&(r==t.length-1?t.pop():he.call(t,r,1),--this.size,!0)};var ve=function(e){var t=this.__data__,r=me(t,e);return r<0?void 0:t[r][1]};var ge=function(e){return me(this.__data__,e)>-1};var ye=function(e,t){var r=this.__data__,n=me(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}be.prototype.clear=fe,be.prototype.delete=pe,be.prototype.get=ve,be.prototype.has=ge,be.prototype.set=ye;var _e=be,we=ee(x,"Map");var xe=function(){this.size=0,this.__data__={hash:new se,map:new(we||_e),string:new se}};var Ee=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 Ee(t)?r["string"==typeof t?"string":"hash"]:r.map};var je=function(e){var t=Oe(this,e).delete(e);return this.size-=t?1:0,t};var Ne=function(e){return Oe(this,e).get(e)};var Le=function(e){return Oe(this,e).has(e)};var ze=function(e,t){var r=Oe(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function ke(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ke.prototype.clear=xe,ke.prototype.delete=je,ke.prototype.get=Ne,ke.prototype.has=Le,ke.prototype.set=ze;var Se=ke;function Ce(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Ce.Cache||Se),r}Ce.Cache=Se;var Pe=Ce;var Te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ae=/\\(\\)?/g,Me=function(e){var t=Pe(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(Te,(function(e,r,n,o){t.push(n?o.replace(Ae,"$1"):r||e)})),t}));var Ie=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},Fe=E?E.prototype:void 0,De=Fe?Fe.toString:void 0;var Re=function e(t){if("string"==typeof t)return t;if(b(t))return Ie(t,e)+"";if(A(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Be=function(e){return null==e?"":Re(e)};var Ue=function(e,t){return b(e)?e:F(e,t)?[e]:Me(Be(e))};var Ge=function(e){if("string"==typeof e||A(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ze=function(e,t){for(var r=0,n=(t=Ue(t,e)).length;null!=e&&r<n;)e=e[Ge(t[r++])];return r&&r==n?e:void 0};var $e=function(e,t,r){var n=null==e?void 0:Ze(e,t);return void 0===n?r:n};v((function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new z(n||[]);return a._invoke=function(e,t,r){var n=f;return function(o,a){if(n===m)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return S()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=j(i,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=m;var l=s(e,t,r);if("normal"===l.type){if(n=r.done?h:d,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",m="executing",h="completed",p={};function v(){}function g(){}function y(){}var b={};l(b,a,(function(){return this}));var _=Object.getPrototypeOf,w=_&&_(_(k([])));w&&w!==r&&n.call(w,a)&&(b=w);var x=y.prototype=v.prototype=Object.create(b);function E(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(f).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}}function j(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,p;var a=o.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 N(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function L(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function z(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(N,this),this.reset(!0)}function k(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 o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:S}}function S(){return{value:t,done:!0}}return g.prototype=y,l(x,"constructor",y),l(y,"constructor",g),g.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},E(O.prototype),l(O.prototype,i,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new O(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(x),l(x,c,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=k,z.prototype={constructor:z,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;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 n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"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,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,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"}),Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,We=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var He=function(e){return(e=Be(e))&&e.replace(Je,Ye).replace(We,"")},Ke=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Ve=function(e){return e.match(Ke)||[]},Qe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Xe=function(e){return Qe.test(e)},et="\\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",tt="["+et+"]",rt="\\d+",nt="[\\u2700-\\u27bf]",ot="[a-z\\xdf-\\xf6\\xf8-\\xff]",at="[^\\ud800-\\udfff"+et+rt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",it="(?:\\ud83c[\\udde6-\\uddff]){2}",ct="[\\ud800-\\udbff][\\udc00-\\udfff]",lt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ut="(?:"+ot+"|"+at+")",st="(?:"+lt+"|"+at+")",ft="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",dt="[\\ufe0e\\ufe0f]?"+ft+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",it,ct].join("|")+")[\\ufe0e\\ufe0f]?"+ft+")*"),mt="(?:"+[nt,it,ct].join("|")+")"+dt,ht=RegExp([lt+"?"+ot+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[tt,lt,"$"].join("|")+")",st+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[tt,lt+ut,"$"].join("|")+")",lt+"?"+ut+"+(?:['’](?:d|ll|m|re|s|t|ve))?",lt+"+(?:['’](?: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_])",rt,mt].join("|"),"g");var pt=function(e){return e.match(ht)||[]};var vt=function(e,t,r){return e=Be(e),void 0===(t=r?void 0:t)?Xe(e)?pt(e):Ve(e):e.match(t)||[]},gt=RegExp("['’]","g");var yt=function(e){return function(t){return qe(vt(He(t).replace(gt,"")),e,"")}},bt=yt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),_t=yt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),wt=function(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=o.showTime,i=void 0!==a&&a,c=o.isTimeFirst,l=void 0!==c&&c,u=o.isUpperCase,s=void 0!==u&&u,f=o.disableMeridiem,d=void 0!==f&&f,m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=new Date(n),p=h.getDate().toString().padStart(2,0),v=m[h.getMonth()],g=v;s&&(g=bt(v));var y,b=h.getFullYear(),_=o.localizedMeridiem,w=o.localizedMonths,x=o.direction,E=void 0===x?"ltr":x,O=xt(n),j=O;if(w&&(g=$e(w,[_t(v)])||v),_){var N=O.includes("am"),L=_.am,z=void 0===L?"am":L,k=_.pm,S=void 0===k?"pm":k;j=(N?O.replace("am",z):O.replace("pm",S))||O}return"rtl"===E?(y=i?"".concat(j):"","".concat(p," ").concat(g,", ").concat(b," ").concat(y," ")):d?"".concat(g," ").concat(p,", ").concat(b):l?"".concat(j,", ").concat(p," ").concat(g," ").concat(b):(y=i?", ".concat(j):"","".concat(p," ").concat(g,", ").concat(b).concat(y))};function xt(e){var t=new Date(e),r=t.getHours(),n=t.getMinutes(),o=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+o}var Et=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},jt={mobile:767,tablet:1024},Nt=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),n=Et(r)<155?"light":"dark";return n},Lt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,n=void 0===r?"":r,o=t.isArchivePage,a=void 0!==o&&o;if(a)return"/magazine/archive/".concat(n);if(n)return"/magazine/".concat(n,"/").concat(e.slug);var i="section"===e.template;if(i){var c=$e(e,["metadata","section","0","id"],""),l=t.sections,u=l&&l.find((function(e){return e.id===c}));return u?u["section-url"]:"/"}return"/collection/".concat(e.slug)};n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var zt=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 n=t.magazineSlug,o=void 0===n?"":n,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(o):o?"/magazine/".concat(o,"/").concat(e.slug):e?Lt(e,t):"/"},kt=function(t){var r=t.width,n=void 0===r?40:r,o=t.height,a=void 0===o?30:o,i=t.iconColor,c=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:n,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:c,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:c,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};kt.propTypes={width:n.object,height:n.object,iconColor:n.object};var St=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(kt,null)))},Ct=function(t){var r=t.slug;return r?e.createElement(l,{href:r,"aria-label":"image-fallback"},St()):St()};Ct.propTypes={slug:n.string};var Pt=function(t){var r=t.collection,n=t.config,o=void 0===n?{}:n,a=$e(r,["metadata","magazine","name"],"cover-image"),i=$e(r,["metadata","cover-image"])||{},c=o.magazineSlug,f=void 0===c?"":c,d=i["cover-image-url"],m=i["cover-image-s3-key"],h=i["cover-image-metadata"],p=f&&r&&Lt(r,o);return e.createElement("div",{className:"arr--magazine-cover-img magazine-cover-image-m_cover-image__1McI_"},m||d?e.createElement("figure",{className:"magazine-cover-image-m_image__3-ZtB"},m?e.createElement(l,{href:p,"aria-label":"magazine-cover-image"},e.createElement(u,null,e.createElement(s,{slug:m,aspectRatio:[1,2],metadata:{coverImageMetaData:h},defaultWidth:400,imgParams:{auto:["format","compress"]},alt:a}))):e.createElement("img",{src:d,alt:"cover-image",loading:"lazy"})):e.createElement("div",{className:"magazine-cover-image-m_fallback-img__cyAjK"},e.createElement(Ct,{slug:p})))};Pt.propTypes={collection:n.shape({"cover-image-url":n.string,"cover-image-s3-key":n.string,"cover-image-metadata":n.string,slug:n.string}),config:n.shape({magazineSlug:n.string})};var Tt=t(),At={"./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"}},Mt=function(t){var n,o=t.collectionNameBorderColor,a=void 0===o?"":o,i=t.collection,c=t.config,u=t.collectionNameTemplate,s=t.headerLevel,f=t.customCollectionName,d=void 0===f?"":f,m=t.navigate,h=void 0===m||m,p=r(Tt)||{},v=$e(p,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(u)?" collection-".concat(u):"",b=h&&i&&Lt(i,c)||"",_=d||i.name||"",w=Nt(p.theme),x="h"+s,E=Ot(a),O=g.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",j=!!(n=$e(jt,"mobile"))&&$e(global,"document.documentElement.clientWidth")<=n;return e.createElement(e.Fragment,null,v&&_&&e.createElement("div",{style:{borderBottom:O},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+y("collection ".concat(w," ").concat(g),At)},g.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(j)switch(s){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(s){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"}}()}}),b&&!b.includes(void 0)?e.createElement(l,{href:b,"aria-label":"collection-name"},e.createElement(x,null,_)):e.createElement(x,null,_),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(E)}}):""))};Mt.propTypes={collectionNameBorderColor:o.string,collection:o.object,config:o.object,collectionNameTemplate:o.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:o.string,customCollectionName:o.string,navigate:o.bool},Mt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var It=a((function(e){return{config:$e(e,["qt","config"],{})}}))(Mt),Ft={"./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 Dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Bt=function(t){var r=t.config,n=void 0===r?{}:r,o=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,c=t.onClick,l=t.navigate,u=t.qtConfig,s=n.showButton,d=void 0===s||s,m=n.buttonText,h=void 0===m?"Read More":m,p=n.theme,v=void 0===p?"":p,g=n.customUrlPath,b=void 0===g?"":g;if(!d)return null;var _=Nt(v),w=b?"/".concat(b):zt(o,Rt(Rt({},u),n));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:c,"data-test-id":"load-more",className:"arr--button "+y("button ".concat(_," default"),Ft)},h):e.createElement(f,{href:w,navigateTo:l,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+y("button ".concat(_," default"),Ft)},h))};Bt.propTypes={collection:n.object,template:n.string,config:n.object,onClick:n.func,navigate:n.func,qtConfig:n.object};var Ut={"./magazine-editions.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",container:"magazine-editions-m_container__25yef",issues:"magazine-editions-m_issues__3uAxC",date:"magazine-editions-m_date__3Pk-s",info:"magazine-editions-m_info__qUEWB",dark:"magazine-editions-m_dark__2Fh4J",light:"magazine-editions-m_light__3Nki0"}};function Gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var $t=function(t){var r=t.collection,n=void 0===r?[]:r,o=t.config,a=void 0===o?{}:o,l=t.onClick,u=t.limit,s=t.showLoadmore,f=void 0!==s&&s;if(!n.length)return null;var m=a.theme,h=void 0===m?"":m,p=a.collectionNameTemplate,v=void 0===p?"":p,g=a.showRowTitle,b=void 0===g||g,_=a.rowTitle,w=void 0===_?"Other Issues":_,x=a.editionNameFormat,E=void 0===x?"magazineDate":x,O=a.template,j=void 0===O?"NavigateToPage":O,N=Nt(h),L=n.map((function(e){return e.collection}))||[],z=i((function(e){return $e(e,["qt","config"],{})})),k=c(),S=zt(n,Zt(Zt({},z),a));return e.createElement("div",{className:"full-width-with-padding arrow-component arr-magazine-issues",style:{backgroundColor:h,color:N},"data-test-id":"editions"},e.createElement("div",{className:y("container ".concat(N),Ut)},b&&e.createElement(It,{collection:L,collectionNameTemplate:v,customCollectionName:w,navigate:!1}),e.createElement("div",{className:"magazine-editions-m_issues__3uAxC"},L.slice(0,u).map((function(t,r){var n=t.name,o=t["created-at"],i=t["collection-date"]||o;return e.createElement("div",{key:r,"data-test-id":"current-issue-".concat(r)},e.createElement(Pt,{collection:t,config:Zt(Zt({},a),{},{isArchivePage:!1})}),e.createElement("div",{className:"magazine-editions-m_date__3Pk-s","data-test-id":"issue-label"},"magazineTitle"===E?n:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(d,{date:t,formatter:function(e,t,o,a){return r(e,t,o,a,n)}})}(i,wt,{isUpperCase:!0,disableMeridiem:!0})))}))),f&&e.createElement(Bt,{onClick:l,template:j,config:a,qtConfig:z,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(k,S)}})))};$t.propTypes={collection:n.array,config:n.shape({rowTitle:n.string,collectionNameTemplate:n.string,collectionNameBorderColor:n.string,theme:n.string,editionNameFormat:n.string,showRowTitle:n.bool}),onClick:n.func,limit:n.number,showLoadmore:n.bool};var qt,Yt=(qt=$t,function(t){return e.createElement(Tt.Provider,{value:t.config},e.createElement(qt,t))});export{Yt as default};
@@ -0,0 +1 @@
1
+ import e,{createContext as t,useContext as r}from"react";import n,{PropTypes as o}from"prop-types";import{connect as a,useDispatch as i,useSelector as c}from"react-redux";import{Link as l,LinkBase as u,LazyLoadImages as s,ResponsiveImage as f}from"@quintype/components";import d from"react-timeago";function m(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h="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 v(e){var t={exports:{}};return e(t,t.exports),t.exports}var g=v((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})),y=p(v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,n=(r=g)&&r.__esModule?r:{default:r};var o=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},c=i.handleMissingStyleName,l=void 0===c?n.default.handleMissingStyleName:c,u=i.autoResolveMultipleImports,s=void 0===u?n.default.autoResolveMultipleImports:u;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],c=a[1],l=r||n.default.handleMissingStyleName;return c?t[i]?t[i][c]?t[i][c]:o("CSS module does not exist: "+c,l):o("CSS module import does not exist: "+i,l):o("Invalid style name: "+e,l)}(e,t,l);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(!s)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,l)}var r=t[a[0]];return r[e]?r[e]:o("Could not resolve the styleName '"+e+"'.",l)})).filter((function(e){return e})).join(" "):""}}))),_=t(),b=Array.isArray,w="object"==typeof h&&h&&h.Object===Object&&h,x="object"==typeof self&&self&&self.Object===Object&&self,E=w||x||Function("return this")(),O=E.Symbol,j=Object.prototype,z=j.hasOwnProperty,L=j.toString,S=O?O.toStringTag:void 0;var N=function(e){var t=z.call(e,S),r=e[S];try{e[S]=void 0;var n=!0}catch(e){}var o=L.call(e);return n&&(t?e[S]=r:delete e[S]),o},P=Object.prototype.toString;var k=function(e){return P.call(e)},C=O?O.toStringTag:void 0;var T=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":C&&C in Object(e)?N(e):k(e)};var A=function(e){return null!=e&&"object"==typeof e};var I=function(e){return"symbol"==typeof e||A(e)&&"[object Symbol]"==T(e)},M=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;var D=function(e,t){if(b(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!I(e))||(F.test(e)||!M.test(e)||null!=t&&e in Object(t))};var R=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var B,U=function(e){if(!R(e))return!1;var t=T(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=E["__core-js_shared__"],Z=(B=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+B:"";var $=function(e){return!!Z&&Z in e},Y=Function.prototype.toString;var q=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},J=/^\[object .+?Constructor\]$/,K=Function.prototype,H=Object.prototype,V=K.toString,W=H.hasOwnProperty,Q=RegExp("^"+V.call(W).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var X=function(e){return!(!R(e)||$(e))&&(U(e)?Q:J).test(q(e))};var ee=function(e,t){return null==e?void 0:e[t]};var te=function(e,t){var r=ee(e,t);return X(r)?r:void 0},re=te(Object,"create");var ne=function(){this.__data__=re?re(null):{},this.size=0};var oe=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ae=Object.prototype.hasOwnProperty;var ie=function(e){var t=this.__data__;if(re){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ae.call(t,e)?t[e]:void 0},ce=Object.prototype.hasOwnProperty;var le=function(e){var t=this.__data__;return re?void 0!==t[e]:ce.call(t,e)};var ue=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=re&&void 0===t?"__lodash_hash_undefined__":t,this};function se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}se.prototype.clear=ne,se.prototype.delete=oe,se.prototype.get=ie,se.prototype.has=le,se.prototype.set=ue;var fe=se;var de=function(){this.__data__=[],this.size=0};var me=function(e,t){return e===t||e!=e&&t!=t};var he=function(e,t){for(var r=e.length;r--;)if(me(e[r][0],t))return r;return-1},pe=Array.prototype.splice;var ve=function(e){var t=this.__data__,r=he(t,e);return!(r<0)&&(r==t.length-1?t.pop():pe.call(t,r,1),--this.size,!0)};var ge=function(e){var t=this.__data__,r=he(t,e);return r<0?void 0:t[r][1]};var ye=function(e){return he(this.__data__,e)>-1};var _e=function(e,t){var r=this.__data__,n=he(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function be(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}be.prototype.clear=de,be.prototype.delete=ve,be.prototype.get=ge,be.prototype.has=ye,be.prototype.set=_e;var we=be,xe=te(E,"Map");var Ee=function(){this.size=0,this.__data__={hash:new fe,map:new(xe||we),string:new fe}};var Oe=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var je=function(e,t){var r=e.__data__;return Oe(t)?r["string"==typeof t?"string":"hash"]:r.map};var ze=function(e){var t=je(this,e).delete(e);return this.size-=t?1:0,t};var Le=function(e){return je(this,e).get(e)};var Se=function(e){return je(this,e).has(e)};var Ne=function(e,t){var r=je(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};function Pe(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Pe.prototype.clear=Ee,Pe.prototype.delete=ze,Pe.prototype.get=Le,Pe.prototype.has=Se,Pe.prototype.set=Ne;var ke=Pe;function Ce(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=e.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Ce.Cache||ke),r}Ce.Cache=ke;var Te=Ce;var Ae=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ie=/\\(\\)?/g,Me=function(e){var t=Te(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(Ae,(function(e,r,n,o){t.push(n?o.replace(Ie,"$1"):r||e)})),t}));var Fe=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o},De=O?O.prototype:void 0,Re=De?De.toString:void 0;var Be=function e(t){if("string"==typeof t)return t;if(b(t))return Fe(t,e)+"";if(I(t))return Re?Re.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ue=function(e){return null==e?"":Be(e)};var Ge=function(e,t){return b(e)?e:D(e,t)?[e]:Me(Ue(e))};var Ze=function(e){if("string"==typeof e||I(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var $e=function(e,t){for(var r=0,n=(t=Ge(t,e)).length;null!=e&&r<n;)e=e[Ze(t[r++])];return r&&r==n?e:void 0};var Ye=function(e,t,r){var n=null==e?void 0:$e(e,t);return void 0===n?r:n};v((function(e){var t=function(e){var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,a=Object.create(o.prototype),i=new S(n||[]);return a._invoke=function(e,t,r){var n=f;return function(o,a){if(n===m)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw a;return P()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=j(i,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=m;var l=s(e,t,r);if("normal"===l.type){if(n=r.done?h:d,l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=h,r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",m="executing",h="completed",p={};function v(){}function g(){}function y(){}var _={};l(_,a,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(N([])));w&&w!==r&&n.call(w,a)&&(_=w);var x=y.prototype=v.prototype=Object.create(_);function E(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function r(o,a,i,c){var l=s(e[o],e,a);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,i,c)}),(function(e){r("throw",e,i,c)})):t.resolve(f).then((function(e){u.value=e,i(u)}),(function(e){return r("throw",e,i,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function a(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(a,a):a()}}function j(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method))return p;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var o=s(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,p;var a=o.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 S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,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 o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:P}}function P(){return{value:t,done:!0}}return g.prototype=y,l(x,"constructor",y),l(y,"constructor",g),g.displayName=l(y,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,c,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},E(O.prototype),l(O.prototype,i,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new O(u(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(x),l(x,c,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,S.prototype={constructor:S,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)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],c=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;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 n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"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,n){var o=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++o]);++o<a;)r=t(r,e[o],o,e);return r};var Je=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"}),Ke=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Ve=function(e){return(e=Ue(e))&&e.replace(Ke,Je).replace(He,"")},We=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Qe=function(e){return e.match(We)||[]},Xe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var et=function(e){return Xe.test(e)},tt="\\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",rt="["+tt+"]",nt="\\d+",ot="[\\u2700-\\u27bf]",at="[a-z\\xdf-\\xf6\\xf8-\\xff]",it="[^\\ud800-\\udfff"+tt+nt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ct="(?:\\ud83c[\\udde6-\\uddff]){2}",lt="[\\ud800-\\udbff][\\udc00-\\udfff]",ut="[A-Z\\xc0-\\xd6\\xd8-\\xde]",st="(?:"+at+"|"+it+")",ft="(?:"+ut+"|"+it+")",dt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",mt="[\\ufe0e\\ufe0f]?"+dt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ct,lt].join("|")+")[\\ufe0e\\ufe0f]?"+dt+")*"),ht="(?:"+[ot,ct,lt].join("|")+")"+mt,pt=RegExp([ut+"?"+at+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[rt,ut,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[rt,ut+st,"$"].join("|")+")",ut+"?"+st+"+(?:['’](?:d|ll|m|re|s|t|ve))?",ut+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",nt,ht].join("|"),"g");var vt=function(e){return e.match(pt)||[]};var gt=function(e,t,r){return e=Ue(e),void 0===(t=r?void 0:t)?et(e)?vt(e):Qe(e):e.match(t)||[]},yt=RegExp("['’]","g");var _t=function(e){return function(t){return qe(gt(Ve(t).replace(yt,"")),e,"")}},bt=_t((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),wt=_t((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),xt=function(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=o.showTime,i=void 0!==a&&a,c=o.isTimeFirst,l=void 0!==c&&c,u=o.isUpperCase,s=void 0!==u&&u,f=o.disableMeridiem,d=void 0!==f&&f,m=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],h=new Date(n),p=h.getDate().toString().padStart(2,0),v=m[h.getMonth()],g=v;s&&(g=bt(v));var y,_=h.getFullYear(),b=o.localizedMeridiem,w=o.localizedMonths,x=o.direction,E=void 0===x?"ltr":x,O=Et(n),j=O;if(w&&(g=Ye(w,[wt(v)])||v),b){var z=O.includes("am"),L=b.am,S=void 0===L?"am":L,N=b.pm,P=void 0===N?"pm":N;j=(z?O.replace("am",S):O.replace("pm",P))||O}return"rtl"===E?(y=i?"".concat(j):"","".concat(p," ").concat(g,", ").concat(_," ").concat(y," ")):d?"".concat(g," ").concat(p,", ").concat(_):l?"".concat(j,", ").concat(p," ").concat(g," ").concat(_):(y=i?", ".concat(j):"","".concat(p," ").concat(g,", ").concat(_).concat(y))};function Et(e){var t=new Date(e),r=t.getHours(),n=t.getMinutes(),o=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(n=n<10?"0"+n:n)+" "+o}var Ot=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},jt=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},zt={mobile:767,tablet:1024},Lt=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:jt(e),n=Ot(r)<155?"light":"dark";return n},St=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,n=void 0===r?"":r,o=t.isArchivePage,a=void 0!==o&&o;if(a)return"/magazine/archive/".concat(n);if(n)return"/magazine/".concat(n,"/").concat(e.slug);var i="section"===e.template;if(i){var c=Ye(e,["metadata","section","0","id"],""),l=t.sections,u=l&&l.find((function(e){return e.id===c}));return u?u["section-url"]:"/"}return"/collection/".concat(e.slug)};n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string});var Nt=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 n=t.magazineSlug,o=void 0===n?"":n,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(o):o?"/magazine/".concat(o,"/").concat(e.slug):e?St(e,t):"/"},Pt={"./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"}},kt=function(t){var n,o=t.collectionNameBorderColor,a=void 0===o?"":o,i=t.collection,c=t.config,u=t.collectionNameTemplate,s=t.headerLevel,f=t.customCollectionName,d=void 0===f?"":f,m=t.navigate,h=void 0===m||m,p=r(_)||{},v=Ye(p,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(u)?" collection-".concat(u):"",b=h&&i&&St(i,c)||"",w=d||i.name||"",x=Lt(p.theme),E="h"+s,O=jt(a),j=g.includes("collection-borderBottomFull")?"4px solid ".concat(O):"",z=!!(n=Ye(zt,"mobile"))&&Ye(global,"document.documentElement.clientWidth")<=n;return e.createElement(e.Fragment,null,v&&w&&e.createElement("div",{style:{borderBottom:j},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+y("collection ".concat(x," ").concat(g),Pt)},g.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:O,fontSize:function(){if(z)switch(s){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(s){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"}}()}}),b&&!b.includes(void 0)?e.createElement(l,{href:b,"aria-label":"collection-name"},e.createElement(E,null,w)):e.createElement(E,null,w),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(O)}}):""))};kt.propTypes={collectionNameBorderColor:o.string,collection:o.object,config:o.object,collectionNameTemplate:o.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:o.string,customCollectionName:o.string,navigate:o.bool},kt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Ct=a((function(e){return{config:Ye(e,["qt","config"],{})}}))(kt),Tt={"./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 At(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function It(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?At(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):At(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Mt=function(t){var r=t.config,n=void 0===r?{}:r,o=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,c=t.onClick,l=t.navigate,s=t.qtConfig,f=n.showButton,d=void 0===f||f,m=n.buttonText,h=void 0===m?"Read More":m,p=n.theme,v=void 0===p?"":p,g=n.customUrlPath,_=void 0===g?"":g;if(!d)return null;var b=Lt(v),w=_?"/".concat(_):Nt(o,It(It({},s),n));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:c,"data-test-id":"load-more",className:"arr--button "+y("button ".concat(b," default"),Tt)},h):e.createElement(u,{href:w,navigateTo:l,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+y("button ".concat(b," default"),Tt)},h))};Mt.propTypes={collection:n.object,template:n.string,config:n.object,onClick:n.func,navigate:n.func,qtConfig:n.object};var Ft=function(t){var r=t.width,n=void 0===r?40:r,o=t.height,a=void 0===o?30:o,i=t.iconColor,c=void 0===i?"#99B0CB":i;return e.createElement("svg",{width:n,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:c,fillRule:"nonzero"}),e.createElement("rect",{id:"Rectangle-19",stroke:c,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};Ft.propTypes={width:n.object,height:n.object,iconColor:n.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)))},Rt=function(t){var r=t.slug;return r?e.createElement(l,{href:r,"aria-label":"image-fallback"},Dt()):Dt()};Rt.propTypes={slug:n.string};var Bt=function(t){var r=t.collection,n=t.config,o=void 0===n?{}:n,a=Ye(r,["metadata","magazine","name"],"cover-image"),i=Ye(r,["metadata","cover-image"])||{},c=o.magazineSlug,u=void 0===c?"":c,d=i["cover-image-url"],m=i["cover-image-s3-key"],h=i["cover-image-metadata"],p=u&&r&&St(r,o);return e.createElement("div",{className:"arr--magazine-cover-img magazine-cover-image-m_cover-image__1McI_"},m||d?e.createElement("figure",{className:"magazine-cover-image-m_image__3-ZtB"},m?e.createElement(l,{href:p,"aria-label":"magazine-cover-image"},e.createElement(s,null,e.createElement(f,{slug:m,aspectRatio:[1,2],metadata:{coverImageMetaData:h},defaultWidth:400,imgParams:{auto:["format","compress"]},alt:a}))):e.createElement("img",{src:d,alt:"cover-image",loading:"lazy"})):e.createElement("div",{className:"magazine-cover-image-m_fallback-img__cyAjK"},e.createElement(Rt,{slug:p})))};Bt.propTypes={collection:n.shape({"cover-image-url":n.string,"cover-image-s3-key":n.string,"cover-image-metadata":n.string,slug:n.string}),config:n.shape({magazineSlug:n.string})};var Ut={"./magazine-cards.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px","magazine-header":"magazine-cards-m_magazine-header__2pSI3",content:"magazine-cards-m_content__16_KC",time:"magazine-cards-m_time__3DIrk","story-cards":"magazine-cards-m_story-cards__1mNHC",widget:"magazine-cards-m_widget__2aE9g","intro-button":"magazine-cards-m_intro-button__3J5c6","widget-button":"magazine-cards-m_widget-button__3P7F7",summary:"magazine-cards-m_summary__2jUgG",dark:"magazine-cards-m_dark__3CSmK",light:"magazine-cards-m_light__33r9r"}};function Gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(r),!0).forEach((function(t){m(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var $t=function(t){var r=t.collection,n=void 0===r?{}:r,o=t.config,a=void 0===o?{}:o,l=n["created-at"],u=n["collection-date"],s=n.summary,f=a.theme,m=void 0===f?"":f,h=a.customUrlPath,p=void 0===h?"":h,v=a.magazineTitle,g=void 0===v?"":v,_=a.magazinePageUrl,b=void 0===_?"":_,w=a.magazineSlug,x=void 0===w?"":w,E=Lt(m),O=i(),j=c((function(e){return Ye(e,["qt","config"],{})})),z=Nt(n,j,p),L=u||l;return e.createElement("div",{className:"full-width-with-padding arrow-component",style:{backgroundColor:m},"data-test-id":"magazine-header-card"},e.createElement("div",{className:"arr-magazine-card magazine-cards-m_magazine-header__2pSI3 magazine-cards-m_intro-button__3J5c6"},e.createElement(Bt,{collection:n,config:Zt(Zt({},a),{},{magazineSlug:x})}),e.createElement("div",{className:"magazine-cards-m_content__16_KC"},e.createElement("div",{"data-test-id":"title-time",className:y("time ".concat(E),Ut)},e.createElement("a",{href:b,"data-test-id":"magazine-title","aria-label":"magazine-title"},bt(g)),"  |  ",function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(d,{date:t,formatter:function(e,t,o,a){return r(e,t,o,a,n)}})}(L,xt,{isUpperCase:!0,disableMeridiem:!0})),e.createElement(Ct,{collection:n,headerLevel:"2",navigate:!1}),e.createElement("div",{"data-test-id":"magazine-summary",className:y("summary ".concat(E),Ut)},s),e.createElement(Mt,{collection:n,template:"customUrlPath",config:a,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(O,z)},qtConfig:j}))))};$t.propTypes={collection:n.shape({"created-at":n.number,summary:n.string,items:n.array}),config:n.shape({theme:n.string,footerButton:n.string,magazineTitle:n.string,magazinePageUrl:n.string,customUrlPath:n.string})};var Yt,qt=(Yt=$t,function(t){return e.createElement(_.Provider,{value:t.config},e.createElement(Yt,t))});export{qt 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{connect as a,useSelector as i,useDispatch as l}from"react-redux";import{Link as c,LinkBase as s,ResponsiveImage as u,ResponsiveHeroImage as m,LazyLoadImages as d}from"@quintype/components";import h from"react-timeago";function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var g="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 v(e){var t={exports:{}};return e(t,t.exports),t.exports}var _=v((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})),b=p(v((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=_)&&r.__esModule?r:{default:r};var n=function(e,t){if("throw"===t)throw new Error(e);return"warn"===t&&console.warn(e),null};t.default=function(e,t,r){var a=Object.keys(t),i=r||{},l=i.handleMissingStyleName,c=void 0===l?o.default.handleMissingStyleName:l,s=i.autoResolveMultipleImports,u=void 0===s?o.default.autoResolveMultipleImports:s;return e?e.split(" ").filter((function(e){return e})).map((function(e){if(function(e){return-1!==e.indexOf(".")}(e))return function(e,t,r){var a=e.split("."),i=a[0],l=a[1],c=r||o.default.handleMissingStyleName;return l?t[i]?t[i][l]?t[i][l]:n("CSS module does not exist: "+l,c):n("CSS module import does not exist: "+i,c):n("Invalid style name: "+e,c)}(e,t,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+e+"' without importing at least one stylesheet.");if(a.length>1){if(!u)throw new Error("Cannot use anonymous style name '"+e+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(e,t,r){var a=r||o.default.handleMissingStyleName,i=Object.keys(t).map((function(r){return t[r][e]&&r})).filter((function(e){return e}));if(i.length>1)throw new Error('Cannot resolve styleName "'+e+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+e+'" />\n\n');return 0===i.length?n("Could not resolve the styleName '"+e+"'.",a):t[i[0]][e]}(e,t,c)}var r=t[a[0]];return r[e]?r[e]:n("Could not resolve the styleName '"+e+"'.",c)})).filter((function(e){return e})).join(" "):""}}))),y=t(),w=function(){return r(y)},E=Array.isArray,x="object"==typeof g&&g&&g.Object===Object&&g,z="object"==typeof self&&self&&self.Object===Object&&self,T=x||z||Function("return this")(),j=T.Symbol,L=Object.prototype,k=L.hasOwnProperty,O=L.toString,C=j?j.toStringTag:void 0;var N=function(e){var t=k.call(e,C),r=e[C];try{e[C]=void 0;var o=!0}catch(e){}var n=O.call(e);return o&&(t?e[C]=r:delete e[C]),n},S=Object.prototype.toString;var I=function(e){return S.call(e)},A=j?j.toStringTag:void 0;var P=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":A&&A in Object(e)?N(e):I(e)};var R=function(e){return null!=e&&"object"==typeof e};var M=function(e){return"symbol"==typeof e||R(e)&&"[object Symbol]"==P(e)},H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\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&&!M(e))||(B.test(e)||!H.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,q=function(e){if(!D(e))return!1;var t=P(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},U=T["__core-js_shared__"],G=(W=/[^.]+$/.exec(U&&U.keys&&U.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";var Z=function(e){return!!G&&G in e},J=Function.prototype.toString;var V=function(e){if(null!=e){try{return J.call(e)}catch(e){}try{return e+""}catch(e){}}return""},Y=/^\[object .+?Constructor\]$/,K=Function.prototype,$=Object.prototype,Q=K.toString,X=$.hasOwnProperty,ee=RegExp("^"+Q.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var te=function(e){return!(!D(e)||Z(e))&&(q(e)?ee:Y).test(V(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 me=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 de(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])}}de.prototype.clear=ae,de.prototype.delete=ie,de.prototype.get=ce,de.prototype.has=ue,de.prototype.set=me;var he=de;var fe=function(){this.__data__=[],this.size=0};var ge=function(e,t){return e===t||e!=e&&t!=t};var pe=function(e,t){for(var r=e.length;r--;)if(ge(e[r][0],t))return r;return-1},ve=Array.prototype.splice;var _e=function(e){var t=this.__data__,r=pe(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=pe(t,e);return r<0?void 0:t[r][1]};var ye=function(e){return pe(this.__data__,e)>-1};var we=function(e,t){var r=this.__data__,o=pe(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function 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,ze=oe(T,"Map");var Te=function(){this.size=0,this.__data__={hash:new he,map:new(ze||xe),string:new he}};var je=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Le=function(e,t){var r=e.__data__;return je(t)?r["string"==typeof t?"string":"hash"]:r.map};var ke=function(e){var t=Le(this,e).delete(e);return this.size-=t?1:0,t};var Oe=function(e){return Le(this,e).get(e)};var Ce=function(e){return Le(this,e).has(e)};var Ne=function(e,t){var r=Le(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=Te,Se.prototype.delete=ke,Se.prototype.get=Oe,Se.prototype.has=Ce,Se.prototype.set=Ne;var Ie=Se;function Ae(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(Ae.Cache||Ie),r}Ae.Cache=Ie;var Pe=Ae;var Re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Me=/\\(\\)?/g,He=function(e){var t=Pe(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Re,(function(e,r,o,n){t.push(o?n.replace(Me,"$1"):r||e)})),t}));var 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=j?j.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(M(t))return De?De.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var qe=function(e){return null==e?"":We(e)};var Ue=function(e,t){return E(e)?e:F(e,t)?[e]:He(qe(e))};var Ge=function(e){if("string"==typeof e||M(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ze=function(e,t){for(var r=0,o=(t=Ue(t,e)).length;null!=e&&r<o;)e=e[Ge(t[r++])];return r&&r==o?e:void 0};var Je=function(e,t,r){var o=null==e?void 0:Ze(e,t);return void 0===o?r:o};function Ve(e){return(Ve="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)}v((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 p?t:p,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 C()}for(r.method=n,r.arg=a;;){var i=r.delegate;if(i){var l=T(i,r);if(l){if(l===g)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===g)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",g={};function p(){}function v(){}function _(){}var b={};c(b,a,(function(){return this}));var y=Object.getPrototypeOf,w=y&&y(y(O([])));w&&w!==r&&o.call(w,a)&&(b=w);var E=_.prototype=p.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function z(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 T(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,T(e,r),"throw"===r.method))return g;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var n=u(o,e.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,g;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,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function j(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(j,this),this.reset(!0)}function O(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:C}}function C(){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(z.prototype),c(z.prototype,i,(function(){return this})),e.AsyncIterator=z,e.async=function(t,r,o,n,a){void 0===a&&(a=Promise);var i=new z(s(t,r,o,n),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},x(E),c(E,l,"Generator"),c(E,a,(function(){return this})),c(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=O,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,g):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),g},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),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;L(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:O(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var Ye=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 Ke=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,Qe=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Xe=function(e){return(e=qe(e))&&e.replace($e,Ke).replace(Qe,"")},et=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var tt=function(e){return e.match(et)||[]},rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var ot=function(e){return rt.test(e)},nt="\\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",at="["+nt+"]",it="\\d+",lt="[\\u2700-\\u27bf]",ct="[a-z\\xdf-\\xf6\\xf8-\\xff]",st="[^\\ud800-\\udfff"+nt+it+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ut="(?:\\ud83c[\\udde6-\\uddff]){2}",mt="[\\ud800-\\udbff][\\udc00-\\udfff]",dt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:"+ct+"|"+st+")",ft="(?:"+dt+"|"+st+")",gt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",pt="[\\ufe0e\\ufe0f]?"+gt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ut,mt].join("|")+")[\\ufe0e\\ufe0f]?"+gt+")*"),vt="(?:"+[lt,ut,mt].join("|")+")"+pt,_t=RegExp([dt+"?"+ct+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[at,dt,"$"].join("|")+")",ft+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[at,dt+ht,"$"].join("|")+")",dt+"?"+ht+"+(?:['’](?: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_])",it,vt].join("|"),"g");var bt=function(e){return e.match(_t)||[]};var yt=function(e,t,r){return e=qe(e),void 0===(t=r?void 0:t)?ot(e)?bt(e):tt(e):e.match(t)||[]},wt=RegExp("['’]","g");var Et=function(e){return function(t){return Ye(yt(Xe(t).replace(wt,"")),e,"")}},xt=Et((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),zt=Et((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));var Tt=function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,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),g=f.getDate().toString().padStart(2,0),p=h[f.getMonth()],v=p;u&&(v=xt(p));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,z=Lt(o),T=z;if(w&&(v=Je(w,[zt(p)])||p),y){var j=z.includes("am"),L=y.am,k=void 0===L?"am":L,O=y.pm,C=void 0===O?"pm":O;T=(j?z.replace("am",k):z.replace("pm",C))||z}return"rtl"===x?(_=i?"".concat(T):"","".concat(g," ").concat(v,", ").concat(b," ").concat(_," ")):d?"".concat(v," ").concat(g,", ").concat(b):c?"".concat(T,", ").concat(g," ").concat(v," ").concat(b):(_=i?", ".concat(T):"","".concat(g," ").concat(v,", ").concat(b).concat(_))};function jt(e,t,r,o,n){var a,i=Je(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?Tt(e,t,r,o,n):e>1?(a=Je(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Je(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function Lt(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 kt=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},Ct={mobile:767,tablet:1024},Nt=function(e){var t=Je(Ct,e);return!!t&&Je(global,"document.documentElement.clientWidth")<=t},St=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Ot(e),o=kt(r)<155?"light":"dark";return o},It=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=Je(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 At(){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?Je(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 Pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Je(e,["story-template"])?Je(e,["metadata","reference-url"],""):e.url||t},Rt=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?It(e,t):"/"},Mt=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)}})},Ht={"./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"}},Bt=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,m=t.navigate,d=void 0===m||m,h=w()||{},f=Je(h,["showRowTitle"],!0),g=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",p=d&&n&&It(n,a)||"",v=u||n.name||"",_=St(h.theme),y="h"+l,E=Ot(o),x=g.includes("collection-borderBottomFull")?"4px solid ".concat(E):"",z=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 "+b("collection ".concat(_," ").concat(g),Ht)},g.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(z)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"}}()}}),p&&!p.includes(void 0)?e.createElement(c,{href:p,"aria-label":"collection-name"},e.createElement(y,null,v)):e.createElement(y,null,v),g.includes("collection-borderBottom")&&!g.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(E)}}):""))};Bt.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},Bt.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Ft=a((function(e){return{config:Je(e,["qt","config"],{})}}))(Bt),Dt={"./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 Wt(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 qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wt(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ut=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,u=t.qtConfig,m=o.showButton,d=void 0===m||m,h=o.buttonText,f=void 0===h?"Read More":h,g=o.theme,p=void 0===g?"":g,v=o.customUrlPath,_=void 0===v?"":v;if(!d)return null;var y=St(p),w=_?"/".concat(_):Rt(n,qt(qt({},u),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+b("button ".concat(y," default"),Dt)},f):e.createElement(s,{href:w,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+b("button ".concat(y," default"),Dt)},f))};Ut.propTypes={collection:o.object,template:o.string,config:o.object,onClick:o.func,navigate:o.func,qtConfig:o.object};var 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 Vt=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"}))))};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=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(Vt,{width:r,height:o,color:n,positionTop:i})}};Yt.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"}},$t=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=w()||{},s=a.iconColor,u=void 0===s?"#F7B500":s,m=a.iconStyle,d=void 0===m?"star":m,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,g=Je(r,["alternative","home","default","headline"]),p=f&&"subscription"===Je(r,["access"]),v=g||r.headline,_="h"+o,y=St(l.theme),E=p?"wrapper":"",x="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+b(E,Kt)},p&&e.createElement(Yt,{width:x,height:x,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"}}()}),i?e.createElement(c,{href:Pt(r,"/".concat(r.slug)),externalLink:At(r),"aria-label":"headline"},e.createElement(_,{className:b("headline ".concat(y),Kt)},v)):e.createElement(_,{className:b("headline ".concat(y),Kt)},v))};$t.propTypes={story:o.object.isRequired,headerLevel:o.string,premiumStoryIconConfig:o.shape({iconColor:o.string,iconType:o.string,enablePremiumStoryIcon:o.bool}),isLink:o.bool},$t.defaultProps={headerLevel:"6",isLink:!0};var Qt={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Xt=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=w()||{};if(!(c||Je(u,["showSubheadline"],!0)))return null;var m=St(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)+" ":"")+b("subheadline ".concat(m),Qt)},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))};Xt.propTypes={story:o.object.isRequired,lineClamp:o.number,truncateChars:o.number,clazzName:o.string,forceShowAtom:o.bool,showFullContent:o.bool},Xt.defaultProps={forceShowAtom:!1,showFullContent:!1};var er={"./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"}},tr=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=w()||{},l=Je(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=St(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+b("time ".concat(u," ").concat(s),er)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},Mt(c,jt,a))))};tr.propTypes={story:o.object,isBottom:o.bool,config:o.object};var rr={"./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"}},or=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,s=void 0===l?{}:l,m=w()||{},d=Je(m,["showAuthor"],!0),h=Je(r,["authors","0"],""),f=h["avatar-url"],g=h["avatar-s3-key"],p=h.name,v=h.slug,_=n?"bottom-fix":"",y=St(m.theme),E=Je(s,["mountAt"],""),x=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+b("prefix ".concat(y),rr)},i):!o&&function(t){return f||g?e.createElement("div",{"data-test-id":"author-image",className:b("author-image ".concat(t,"-image"),rr)},e.createElement("figure",null,g?e.createElement(u,{slug:g,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:p}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,d&&e.createElement(c,{href:"".concat(E,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+b("author ".concat(_),rr)},x("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+b("author-name ".concat(y),rr)},p||r["author-name"]),!i&&x("rtl")))};var nr=a((function(e){return{config:Je(e,["qt","config"],{})}}))(or);or.propTypes={story:o.object.isRequired,hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object},or.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var ar={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ir=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:b(l,ar)},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)"})))};ir.propTypes={color:o.string,width:o.string,height:o.string};var lr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},cr=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:b(l,lr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};cr.propTypes={color:o.string,width:o.string,height:o.string};var sr={"./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"}},ur=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=w()||{},c=Je(l,["showReadTime"])||Je(n,["showReadTime"],!0),s=Je(r,["read-time"],0),u=i?"light":St(l.theme);if(!c||!s)return null;var m=Je(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+b("read-time-wrapper ".concat(u),sr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ir,{color:u})),e.createElement("span",null,s," ",m)))};ur.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"}},dr=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=w()||{},m=Je(c,["showAuthor"],Je(u,["showAuthor"],!0)),d=Je(u,["showTime"],!0),h=Je(u,["showReadTime"],!0),f=n?"bottom-fix":"",g="dot"===o?"dot":"dash",p=s?"light":St(u.theme),v=function(){return d?e.createElement(e.Fragment,null,m&&e.createElement("span",{className:"arr-separator "+b("".concat(g),mr)},"divider"===o?e.createElement(cr,{color:p}):e.createElement(ir,{color:p})),e.createElement(tr,{story:r,config:c}),h&&e.createElement(ur,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+b("author-time-wrapper ".concat(f),mr)},m?e.createElement(e.Fragment,null,e.createElement(nr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};function hr(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 fr(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 hr(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)?hr(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.")}()}dr.propTypes={story:o.object,separator:o.oneOf(["dot","divider"]),hideAuthorImage:o.bool,isBottom:o.bool,prefix:o.string,config:o.object,isLightTheme:o.bool},dr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var gr=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"}))))};gr.propTypes={width:o.object,height:o.object,iconColor:o.object};var pr=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(gr,null)))},vr=function(t){var r=t.slug;return r?e.createElement(c,{href:r,"aria-label":"image-fallback"},pr()):pr()};vr.propTypes={slug:o.string};var _r={"./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"}},br=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,l=t.widths,s=t.isHorizontal,d=t.isHorizontalMobile,h=t.isHorizontalWithImageLast,f=t.defaultFallback,g=t.isStoryPageImage,p=(w()||{}).fallbackImageUrl,v=void 0===p?"":p,_=i((function(e){return Je(e,["qt","config","showPlaceholder"])}))?"placeholder":"",y=o?"":"with-padding",E="hero-image";s?E="right-padding":h&&(E="left-padding");var x=d?"right-padding-mob":"",z=function(e){var t=fr(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},T=fr(n,2),j=T[0],L=T[1],k=void 0===L?j:L,O=Nt("mobile"),C=O?j:k,N=z(O?j:k),S=Je(r,["hero-image-s3-key"])||Je(r,["alternative","home","default","hero-image","hero-image-s3-key"]),I=function(){return S?e.createElement("figure",{style:{paddingTop:N+"%"},className:"arr--responsive-hero-image "+b("image ".concat(_),_r)},e.createElement(m,{story:r,aspectRatio:C,defaultWidth:a,widths:l,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:N+"%"},className:"arr--responsive-hero-image "+b("image ".concat(_),_r)},e.createElement(u,{slug:!g&&v,metadata:{},"aspect-ratio":C,defaultWidth:a,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 "+b("image ".concat(_),_r)},e.createElement(vr,null)):null)};return r&&(g?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+b("".concat(E," ").concat(y," ").concat(x),_r)},I()):e.createElement(c,{"data-test-id":"arr--hero-image",href:Pt(r,"/".concat(r.slug)),externalLink:At(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+b("".concat(E," ").concat(y," ").concat(x),_r)},I()))};br.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},br.defaultProps={FullBleed:!0,aspectRatio:[[1,1],[16,9]],defaultWidth:480,widths:[250,480,640],isHorizontal:!1,isHorizontalMobile:!1,defaultFallback:!0,isStoryPageImage:!1,isHorizontalWithImageLast:!1};var yr={"./section.m.css":{section:"section-m_section__2N4S3","section-borderBottomSml":"section-m_section-borderBottomSml__2GNbo","border-bottom":"section-m_border-bottom__3cRoD","section-borderLeft":"section-m_section-borderLeft__3hKVj","border-left":"section-m_border-left__2oUyp","section-solid":"section-m_section-solid__1vB1Q",dark:"section-m_dark__1r3C4",light:"section-m_light__306hW"}},wr=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=w()||{},u=Je(s,["showSection"],!0),m=Je(s,["sectionTagTemplate"]),d=Je(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=d?d["section-url"]:"/",g="solid"===n||"solid"===m?i:s.theme,p=l?"light":St(g),v=Ot(i),_=h.includes(n)?"section section-".concat(n):"section";return m&&(_=h.includes(m)?"section section-".concat(m):"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 "+b("".concat(p," ").concat(_),yr)},_.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};wr.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},wr.defaultProps={template:"",isLightTheme:!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,g=t.hideAuthorImage,p=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===Ve(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):"",w="default-card";a?w="horizontal-card":_&&(w="horizontal-image-last");var E=c?"backgroung-img":"",x=s?"content-overlap":"",z=St(u),T=d?"horizontal-mob":"",j=e.createElement(zr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:d,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:m,hideAuthorImage:g,prefix:p,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:z},className:"arr--story-card "+b("card ".concat(w," ").concat(y," ").concat(z," ").concat(E," ").concat(x," ").concat(T),Er)},n||j)},zr=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,g=s?"center-align":"",p=Ot(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(br,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(br,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(br,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+b("content ".concat(g),Er)},e.createElement(wr,{story:r,borderColor:p}),e.createElement($t,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(dr,{config:_,story:r,isBottom:!0,prefix:d,hideAuthorImage:m}),e.createElement(Xt,{story:r})))};zr.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 Tr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},jr=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=St(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 "+b("wrapper ".concat(d," ").concat(h),Tr)},o||e.createElement(Lr,{story:r,headerLevel:l,isHorizontalMobile:i,borderColor:m,config:s}))},Lr=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(wr,{story:r,borderColor:l}),e.createElement($t,{story:r,headerLevel:o,premiumStoryIconConfig:i}),e.createElement(dr,{config:s,story:r}))};Lr.propTypes={story:o.object.isRequired,border:o.string,theme:o.string,isHorizontalMobile:o.bool,headerLevel:o.string,borderColor:o.string,config:o.object},jr.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 kr=function(t){var r=t.collection,o=t.config,n=void 0===o?{}:o,a=Je(r,["metadata","magazine","name"],"cover-image"),i=Je(r,["metadata","cover-image"])||{},l=n.magazineSlug,s=void 0===l?"":l,m=i["cover-image-url"],h=i["cover-image-s3-key"],f=i["cover-image-metadata"],g=s&&r&&It(r,n);return e.createElement("div",{className:"arr--magazine-cover-img magazine-cover-image-m_cover-image__1McI_"},h||m?e.createElement("figure",{className:"magazine-cover-image-m_image__3-ZtB"},h?e.createElement(c,{href:g,"aria-label":"magazine-cover-image"},e.createElement(d,null,e.createElement(u,{slug:h,aspectRatio:[1,2],metadata:{coverImageMetaData:f},defaultWidth:400,imgParams:{auto:["format","compress"]},alt:a}))):e.createElement("img",{src:m,alt:"cover-image",loading:"lazy"})):e.createElement("div",{className:"magazine-cover-image-m_fallback-img__cyAjK"},e.createElement(vr,{slug:g})))};kr.propTypes={collection:o.shape({"cover-image-url":o.string,"cover-image-s3-key":o.string,"cover-image-metadata":o.string,slug:o.string}),config:o.shape({magazineSlug:o.string})};var Or={"../MagazineHeaderCard/magazine-cards.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px","magazine-header":"magazine-cards-m_magazine-header__2pSI3",content:"magazine-cards-m_content__16_KC",time:"magazine-cards-m_time__3DIrk","story-cards":"magazine-cards-m_story-cards__1mNHC",widget:"magazine-cards-m_widget__2aE9g","intro-button":"magazine-cards-m_intro-button__3J5c6","widget-button":"magazine-cards-m_widget-button__3P7F7",summary:"magazine-cards-m_summary__2jUgG",dark:"magazine-cards-m_dark__3CSmK",light:"magazine-cards-m_light__33r9r"}};function Cr(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 Nr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Cr(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Cr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Sr=function(t){var r=t.collection,o=void 0===r?{}:r,n=t.config,a=void 0===n?{}:n,c=o["created-at"],s=o["collection-date"],u=o.summary,m=o.items,d=o.metadata,h=void 0===d?{}:d,f=a.theme,g=void 0===f?"":f,p=a.footerButton,v=void 0===p?"":p,_=a.border,y=a.localizationConfig,w=void 0===y?{}:y,E=a.navigate,x=void 0===E||E,z=a.magazineSlug,T=void 0===z?"":z,j=St(g),L=l(),k=i((function(e){return Je(e,["qt","config"],{})})),O=T||Je(h,["entities","collectionEntities","magazine",0,"slug"],""),C=Nr(Nr({},a),{},{magazineSlug:O}),N=Rt(o,Nr(Nr({},k),C)),S=Nt("tablet"),I=s||c,A=function(){return e.createElement("div",{className:"magazine-cards-m_widget__2aE9g"},function(t){return e.createElement("div",{className:"magazine-cards-m_story-cards__1mNHC"},t.slice(0,4).map((function(t,r){var o=t.story,n=Nt("mobile"),i="borderBottom"===_?n&&!1===r?"bottom":[2,3].includes(r)?void 0:"bottom":"";return e.createElement(e.Fragment,null,e.createElement(xr,{story:o,border:i,isHorizontal:!0,config:a},e.createElement(br,{story:o,isHorizontal:!0,aspectRatio:[[4,3]]}),e.createElement(jr,{story:o,config:a},e.createElement($t,{story:o,premiumStoryIconConfig:a}),e.createElement(dr,{config:w,story:o,prefix:"By"}))))})))}(m),e.createElement(Ut,{collection:o,template:v,config:C,navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(L,N)},qtConfig:k}))};return e.createElement("div",{className:"full-width-with-padding arrow-component",style:{backgroundColor:g},"data-test-id":"magazine-widget"},e.createElement("div",{className:"arr-magazine-widget magazine-cards-m_magazine-header__2pSI3 magazine-cards-m_widget-button__3P7F7"},e.createElement(kr,{collection:o,config:C}),e.createElement("div",{className:"magazine-cards-m_content__16_KC"},e.createElement("div",{"data-test-id":"widget-date",className:b("time ".concat(j),Or)},Mt(I,Tt,{isUpperCase:!0,disableMeridiem:!0})),e.createElement(Ft,{collection:o,config:a,navigate:x}),e.createElement("div",{"data-test-id":"widget-summary",className:b("summary ".concat(j),Or)},u),!S&&A()),S&&A()))};Sr.propTypes={collection:o.shape({"created-at":o.number,summary:o.string,items:o.array}),config:o.shape({theme:o.string,footerButton:o.string,border:o.string})};var Ir,Ar=(Ir=Sr,function(t){return e.createElement(y.Provider,{value:t.config},e.createElement(Ir,t))});export{Ar as default};
@@ -0,0 +1 @@
1
+ import{Link as e,ResponsiveImage as t,ResponsiveHeroImage as r,LinkBase as o,collectionToStories as n}from"@quintype/components";import a,{PropTypes as i}from"prop-types";import l,{useState as c,useEffect as s,useRef as u,createContext as d,useContext as m}from"react";import{connect as h,useSelector as f,useDispatch as p}from"react-redux";import g from"react-dom";import v from"react-timeago";var _=Array.isArray,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="object"==typeof b&&b&&b.Object===Object&&b,x="object"==typeof self&&self&&self.Object===Object&&self,L=E||x||Function("return this")(),T=L.Symbol,z=Object.prototype,C=z.hasOwnProperty,N=z.toString,k=T?T.toStringTag:void 0;var j=function(e){var t=C.call(e,k),r=e[k];try{e[k]=void 0;var o=!0}catch(e){}var n=N.call(e);return o&&(t?e[k]=r:delete e[k]),n},S=Object.prototype.toString;var O=function(e){return S.call(e)},I=T?T.toStringTag:void 0;var A=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":I&&I in Object(e)?j(e):O(e)};var M=function(e){return null!=e&&"object"==typeof e};var R=function(e){return"symbol"==typeof e||M(e)&&"[object Symbol]"==A(e)},H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,B=/^\w*$/;var P=function(e,t){if(_(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!R(e))||(B.test(e)||!H.test(e)||null!=t&&e in Object(t))};var F=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var D,W=function(e){if(!F(e))return!1;var t=A(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},q=L["__core-js_shared__"],U=(D=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"";var G=function(e){return!!U&&U in e},Z=Function.prototype.toString;var V=function(e){if(null!=e){try{return Z.call(e)}catch(e){}try{return e+""}catch(e){}}return""},J=/^\[object .+?Constructor\]$/,Y=Function.prototype,$=Object.prototype,K=Y.toString,Q=$.hasOwnProperty,X=RegExp("^"+K.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ee=function(e){return!(!F(e)||G(e))&&(W(e)?X:J).test(V(e))};var te=function(e,t){return null==e?void 0:e[t]};var re=function(e,t){var r=te(e,t);return ee(r)?r:void 0},oe=re(Object,"create");var ne=function(){this.__data__=oe?oe(null):{},this.size=0};var ae=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ie=Object.prototype.hasOwnProperty;var le=function(e){var t=this.__data__;if(oe){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ie.call(t,e)?t[e]:void 0},ce=Object.prototype.hasOwnProperty;var se=function(e){var t=this.__data__;return oe?void 0!==t[e]:ce.call(t,e)};var ue=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=oe&&void 0===t?"__lodash_hash_undefined__":t,this};function de(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])}}de.prototype.clear=ne,de.prototype.delete=ae,de.prototype.get=le,de.prototype.has=se,de.prototype.set=ue;var me=de;var he=function(){this.__data__=[],this.size=0};var fe=function(e,t){return e===t||e!=e&&t!=t};var pe=function(e,t){for(var r=e.length;r--;)if(fe(e[r][0],t))return r;return-1},ge=Array.prototype.splice;var ve=function(e){var t=this.__data__,r=pe(t,e);return!(r<0)&&(r==t.length-1?t.pop():ge.call(t,r,1),--this.size,!0)};var _e=function(e){var t=this.__data__,r=pe(t,e);return r<0?void 0:t[r][1]};var be=function(e){return pe(this.__data__,e)>-1};var ye=function(e,t){var r=this.__data__,o=pe(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this};function we(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}we.prototype.clear=he,we.prototype.delete=ve,we.prototype.get=_e,we.prototype.has=be,we.prototype.set=ye;var Ee=we,xe=re(L,"Map");var Le=function(){this.size=0,this.__data__={hash:new me,map:new(xe||Ee),string:new me}};var Te=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var ze=function(e,t){var r=e.__data__;return Te(t)?r["string"==typeof t?"string":"hash"]:r.map};var Ce=function(e){var t=ze(this,e).delete(e);return this.size-=t?1:0,t};var Ne=function(e){return ze(this,e).get(e)};var ke=function(e){return ze(this,e).has(e)};var je=function(e,t){var r=ze(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function 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=Le,Se.prototype.delete=Ce,Se.prototype.get=Ne,Se.prototype.has=ke,Se.prototype.set=je;var Oe=Se;function Ie(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(Ie.Cache||Oe),r}Ie.Cache=Oe;var Ae=Ie;var Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Re=/\\(\\)?/g,He=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(Re,"$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},Pe=T?T.prototype:void 0,Fe=Pe?Pe.toString:void 0;var De=function e(t){if("string"==typeof t)return t;if(_(t))return Be(t,e)+"";if(R(t))return Fe?Fe.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var We=function(e){return null==e?"":De(e)};var qe=function(e,t){return _(e)?e:P(e,t)?[e]:He(We(e))};var Ue=function(e){if("string"==typeof e||R(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[Ue(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};function Ve(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 Je(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 Ve(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)?Ve(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 Ye="undefined"!=typeof window,$e=function(){return Promise.resolve(Ye&&!(void 0!==window.IntersectionObserver)&&import("intersection-observer"))},Ke={root:null,rootMargin:"200px 0px 0px 0px"},Qe=function(e,t){e.filter((function(e){return e.isIntersecting})).forEach((function(e){e.target._onIntersect(t)}))},Xe=function(e){var t=e.ref,r=Je(c(!1),2),o=r[0],n=r[1];return s((function(){var e=t.current;if(e)return $e().then((function(e){if(Ye)return new window.IntersectionObserver(Qe,Ke)})).then((function(t){return t.observe(e)})),e._onIntersect=function(t){n(!0),t.unobserve(e)},function(){return e._isSubscribed=!1}}),[t]),o},et={__html:""},tt="undefined"==typeof window,rt=function(e){var t=e.children,r=u(null),o=Xe({ref:r});return s((function(){var e=r.current;if(o){var n=e.hasChildNodes()?"hydrate":"render";g[n](t,e)}}),[t,o]),tt?l.createElement("div",{ref:r},t):l.createElement("div",{ref:r,suppressHydrationWarning:!0,dangerouslySetInnerHTML:et})};function ot(e){return(ot="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)}rt.propTypes={children:a.element},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 N(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=T(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(k([])));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 T(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,T(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(z,this),this.reset(!0)}function k(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(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=k,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&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),C(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;C(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:k(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 nt=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 at=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"}),it=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var ct=function(e){return(e=We(e))&&e.replace(it,at).replace(lt,"")},st=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var ut=function(e){return e.match(st)||[]},dt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var mt=function(e){return dt.test(e)},ht="\\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",ft="["+ht+"]",pt="\\d+",gt="[\\u2700-\\u27bf]",vt="[a-z\\xdf-\\xf6\\xf8-\\xff]",_t="[^\\ud800-\\udfff"+ht+pt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",yt="[\\ud800-\\udbff][\\udc00-\\udfff]",wt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Et="(?:"+vt+"|"+_t+")",xt="(?:"+wt+"|"+_t+")",Lt="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Tt="[\\ufe0e\\ufe0f]?"+Lt+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",bt,yt].join("|")+")[\\ufe0e\\ufe0f]?"+Lt+")*"),zt="(?:"+[gt,bt,yt].join("|")+")"+Tt,Ct=RegExp([wt+"?"+vt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ft,wt,"$"].join("|")+")",xt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ft,wt+Et,"$"].join("|")+")",wt+"?"+Et+"+(?:['’](?:d|ll|m|re|s|t|ve))?",wt+"+(?:['’](?: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_])",pt,zt].join("|"),"g");var Nt=function(e){return e.match(Ct)||[]};var kt=function(e,t,r){return e=We(e),void 0===(t=r?void 0:t)?mt(e)?Nt(e):ut(e):e.match(t)||[]},jt=RegExp("['’]","g");var St=function(e){return function(t){return nt(kt(ct(t).replace(jt,"")),e,"")}},Ot=St((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),It=St((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function At(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=Ot(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,E=n.direction,x=void 0===E?"ltr":E,L=Mt(o),T=L;if(w&&(v=Ze(w,[It(g)])||g),y){var z=L.includes("am"),C=y.am,N=void 0===C?"am":C,k=y.pm,j=void 0===k?"pm":k;T=(z?L.replace("am",N):L.replace("pm",j))||L}return"rtl"===x?(_=i?"".concat(T):"","".concat(p," ").concat(v,", ").concat(b," ").concat(_," ")):m?"".concat(v," ").concat(p,", ").concat(b):c?"".concat(T,", ").concat(p," ").concat(v," ").concat(b):(_=i?", ".concat(T):"","".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 Mt(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 Rt=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Ht=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},Bt={mobile:767,tablet:1024},Pt=function(e){var t=Ze(Bt,e);return!!t&&Ze(global,"document.documentElement.clientWidth")<=t},Ft=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:Ht(e),o=Rt(r)<155?"light":"dark";return o},Dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=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 Wt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ze(n,["reference-url"],""):""}a.shape({"sketches-host":a.string,"cdn-name":a.string,"cdn-image":a.string}),a.shape({headline:a.string,"last-published-at":a.number,subheadline:a.string});var qt=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},Ut=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?Dt(e,t):"/"},Gt=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})),Zt=y(w((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=Gt)&&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(" "):""}}))),Vt=d(),Jt=function(){return m(Vt)},Yt={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},$t=function(e){var t=e.story,r=e.isBottom,o=e.config,n=void 0===o?{}:o,a=Jt()||{},i=Ze(a,["showTime"],!0),c=t["last-published-at"]||t["first-published-at"],s=r?"bottom-fix":"",u=Ft(a.theme);return l.createElement(l.Fragment,null,i&&l.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+Zt("time ".concat(u," ").concat(s),Yt)},l.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return l.createElement(v,{date:e,formatter:function(e,o,n,a){return t(e,o,n,a,r)}})}(c,At,n))))};$t.propTypes={story:a.object,isBottom:a.bool,config:a.object};var Kt={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},Qt=function(r){var o=r.story,n=r.hideAuthorImage,a=r.isBottom,i=r.prefix,c=void 0===i?"":i,s=r.config,u=void 0===s?{}:s,d=Jt()||{},m=Ze(d,["showAuthor"],!0),h=Ze(o,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=a?"bottom-fix":"",b=Ft(d.theme),y=Ze(u,["mountAt"],""),w=function(e){return c?l.createElement("div",{className:"arr-author-prefix "+Zt("prefix ".concat(b),Kt)},c):!n&&function(e){return f||p?l.createElement("div",{"data-test-id":"author-image",className:Zt("author-image ".concat(e,"-image"),Kt)},l.createElement("figure",null,p?l.createElement(t,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):l.createElement("img",{src:f}))):null}(e)};return l.createElement(l.Fragment,null,m&&l.createElement(e,{href:"".concat(y,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+Zt("author ".concat(_),Kt)},w("ltr"),l.createElement("div",{"data-test-id":"author-name",className:"author-name "+Zt("author-name ".concat(b),Kt)},g||o["author-name"]),!c&&w("rtl")))};var Xt=h((function(e){return{config:Ze(e,["qt","config"],{})}}))(Qt);Qt.propTypes={story:a.object.isRequired,hideAuthorImage:a.bool,isBottom:a.bool,prefix:a.string,config:a.object},Qt.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var er={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},tr=function(e){var t=e.width,r=void 0===t?"3px":t,o=e.height,n=void 0===o?"3px":o,a=e.color,i=void 0===a?"light":a;return l.createElement("div",{className:Zt(i,er)},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:n,viewBox:"0 0 3 3"},l.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};tr.propTypes={color:a.string,width:a.string,height:a.string};var rr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},or=function(e){var t=e.width,r=void 0===t?"1":t,o=e.height,n=void 0===o?"10":o,a=e.color,i=void 0===a?"light":a;return l.createElement("div",{className:Zt(i,rr)},l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:n},l.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};or.propTypes={color:a.string,width:a.string,height:a.string};var nr={"./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"}},ar=function(e){var t=e.story,r=e.opts,o=void 0===r?{}:r,n=e.isLightTheme,a=void 0!==n&&n,i=Jt()||{},c=Ze(i,["showReadTime"])||Ze(o,["showReadTime"],!0),s=Ze(t,["read-time"],0),u=a?"light":Ft(i.theme);if(!c||!s)return null;var d=Ze(o,["localizedTimeToRead"])||"min read";return l.createElement(l.Fragment,null,l.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+Zt("read-time-wrapper ".concat(u),nr)},l.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},l.createElement(tr,{color:u})),l.createElement("span",null,s," ",d)))};ar.propTypes={story:a.shape({"read-time":a.number}),opts:a.shape({showReadTime:a.bool}),isLightTheme:a.bool};var ir={"./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"}},lr=function(e){var t=e.story,r=e.separator,o=e.isBottom,n=e.hideAuthorImage,a=e.prefix,i=e.config,c=void 0===i?{}:i,s=e.isLightTheme,u=Jt()||{},d=Ze(c,["showAuthor"],Ze(u,["showAuthor"],!0)),m=Ze(u,["showTime"],!0),h=Ze(u,["showReadTime"],!0),f=o?"bottom-fix":"",p="dot"===r?"dot":"dash",g=s?"light":Ft(u.theme),v=function(){return m?l.createElement(l.Fragment,null,d&&l.createElement("span",{className:"arr-separator "+Zt("".concat(p),ir)},"divider"===r?l.createElement(or,{color:g}):l.createElement(tr,{color:g})),l.createElement($t,{story:t,config:c}),h&&l.createElement(ar,{story:t,opts:c,isLightTheme:s})):null};return l.createElement("div",{className:"arr--author-time "+Zt("author-time-wrapper ".concat(f),ir)},d?l.createElement(l.Fragment,null,l.createElement(Xt,{story:t,isBottom:!0,hideAuthorImage:n,prefix:a}),v()):v())};lr.propTypes={story:a.object,separator:a.oneOf(["dot","divider"]),hideAuthorImage:a.bool,isBottom:a.bool,prefix:a.string,config:a.object,isLightTheme:a.bool},lr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var cr={"./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"}},sr=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,c=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,m=void 0===d||d,h=Jt()||{},f=Ze(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Dt(n,a)||"",v=u||n.name||"",_=Ft(h.theme),b="h"+c,y=Ht(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=Pt("mobile");return l.createElement(l.Fragment,null,f&&v&&l.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+Zt("collection ".concat(_," ").concat(p),cr)},p.includes("collection-borderLeft")&&l.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)?l.createElement(e,{href:g,"aria-label":"collection-name"},l.createElement(b,null,v)):l.createElement(b,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?l.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};sr.propTypes={collectionNameBorderColor:i.string,collection:i.object,config:i.object,collectionNameTemplate:i.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:i.string,customCollectionName:i.string,navigate:i.bool},sr.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var ur=h((function(e){return{config:Ze(e,["qt","config"],{})}}))(sr),dr=function(e){var t=e.height,r=e.width,o=e.color,n=void 0===o?"#D8D8D8":o,a=e.positionTop;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:a}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("g",{transform:"translate(8 8)"},l.createElement("path",{d:"M0 0H24V24H0z"}),l.createElement("g",{fill:n,fillRule:"nonzero",transform:"translate(0 2)"},l.createElement("path",{d:"M21.043 19.553c0-.743-.601-1.344-1.344-1.344h-15.4a1.343 1.343 0 100 2.688h15.4c.743 0 1.344-.603 1.344-1.344zM1.598 8.673c.022 0 .042 0 .064-.003l2.131 7.713h16.411l2.132-7.713c.022 0 .041.003.063.003a1.599 1.599 0 10-1.52-1.108L17.025 9.82 12.882 2.95a1.599 1.599 0 10-1.765 0L6.976 9.82 3.121 7.565a1.599 1.599 0 10-1.523 1.107z"}))))))};dr.propTypes={height:a.string,width:a.string,color:a.string,positionTop:a.string};var mr=function(e){var t=e.height,r=e.width,o=e.color,n=void 0===o?"#D5D5D5":o,a=e.positionTop;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:a}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("g",{transform:"translate(8 8)"},l.createElement("path",{d:"M0 0H24V24H0z"}),l.createElement("path",{fill:n,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)"})))))};mr.propTypes={height:a.string,width:a.string,color:a.string,positionTop:a.string};var hr=function(e){var t=e.height,r=e.width,o=e.color,n=void 0===o?"#D5D5D5":o,a=e.positionTop;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:t,viewBox:"0 0 40 40",style:{position:"relative",top:a}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("g",{transform:"translate(8 8)"},l.createElement("path",{d:"M0 0H24V24H0z"}),l.createElement("g",{fill:n,fillRule:"nonzero",transform:"translate(3)"},l.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};hr.propTypes={height:a.string,width:a.string,color:a.string,positionTop:a.string};var fr=function(e){var t=e.width,r=e.height,o=e.color,n=void 0===o?"#D5D5D5":o,a=e.positionTop,i=void 0===a?"":a;return l.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},l.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},l.createElement("g",null,l.createElement("path",{fill:n,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"}))))};fr.propTypes={height:a.string,width:a.string,color:a.string,positionTop:a.string};var pr=function(e){var t=e.width,r=e.height,o=e.color,n=e.iconType,a=e.positionTop;switch(n){case"crown":return l.createElement(dr,{width:t,height:r,color:o,positionTop:a});case"lock":return l.createElement(hr,{width:t,height:r,color:o,positionTop:a});case"key":return l.createElement(mr,{width:t,height:r,color:o,positionTop:a});default:return l.createElement(fr,{width:t,height:r,color:o,positionTop:a})}};pr.propTypes={width:a.string,height:a.string,color:a.string,iconType:a.string,positionTop:a.string};var gr={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},vr=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,c=Jt()||{},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=Ze(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ze(r,["access"]),v=p||r.headline,_="h"+o,b=Ft(c.theme),y=g?"wrapper":"",w="24px";return l.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+Zt(y,gr)},g&&l.createElement(pr,{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?l.createElement(e,{href:qt(r,"/".concat(r.slug)),externalLink:Wt(r),"aria-label":"headline"},l.createElement(_,{className:Zt("headline ".concat(b),gr)},v)):l.createElement(_,{className:Zt("headline ".concat(b),gr)},v))};vr.propTypes={story:a.object.isRequired,headerLevel:a.string,premiumStoryIconConfig:a.shape({iconColor:a.string,iconType:a.string,enablePremiumStoryIcon:a.bool}),isLink:a.bool},vr.defaultProps={headerLevel:"6",isLink:!0};var _r=function(e){var t=e.width,r=void 0===t?40:t,o=e.height,n=void 0===o?30:o,a=e.iconColor,i=void 0===a?"#99B0CB":a;return l.createElement("svg",{width:r,height:n,viewBox:"0 0 102 76",version:"1.1"},l.createElement("g",{id:"demo-home-copy",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",transform:"translate(-377.000000, -314.000000)"},l.createElement("g",{id:"Group-13",transform:"translate(377.000000, 314.000000)"},l.createElement("path",{d:"M43.2,49.7 L62.2,19.2 L87.2,59.4 L17,59.4 L32.8,39.4 L43.2,49.7 Z M29.9,28.6 C25.8683213,28.6 22.6,25.3316787 22.6,21.3 C22.6,17.2683213 25.8683213,14 29.9,14 C33.9316787,14 37.2,17.2683213 37.2,21.3 C37.2,25.3316787 33.9316787,28.6 29.9,28.6 Z",id:"Combined-Shape",fill:i,fillRule:"nonzero"}),l.createElement("rect",{id:"Rectangle-19",stroke:i,strokeWidth:"3",x:"1.5",y:"1.5",width:"99",height:"73",rx:"3"}))))};_r.propTypes={width:a.object,height:a.object,iconColor:a.object};var br=function(){return l.createElement("div",{className:"arr--fallback-image fallback-m_image__1GYCJ fallback-m_image-position__3KddP"},l.createElement("figure",{className:"arr--fallback-svg fallback-m_fallback-svg__tK9fL"},l.createElement(_r,null)))},yr=function(t){var r=t.slug;return r?l.createElement(e,{href:r,"aria-label":"image-fallback"},br()):br()};yr.propTypes={slug:a.string};var wr={"./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"}},Er=function(o){var n=o.story,a=o.FullBleed,i=o.aspectRatio,c=o.defaultWidth,s=o.widths,u=o.isHorizontal,d=o.isHorizontalMobile,m=o.isHorizontalWithImageLast,h=o.defaultFallback,p=o.isStoryPageImage,g=(Jt()||{}).fallbackImageUrl,v=void 0===g?"":g,_=f((function(e){return Ze(e,["qt","config","showPlaceholder"])}))?"placeholder":"",b=a?"":"with-padding",y="hero-image";u?y="right-padding":m&&(y="left-padding");var w=d?"right-padding-mob":"",E=function(e){var t=Je(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},x=Je(i,2),L=x[0],T=x[1],z=void 0===T?L:T,C=Pt("mobile"),N=C?L:z,k=E(C?L:z),j=Ze(n,["hero-image-s3-key"])||Ze(n,["alternative","home","default","hero-image","hero-image-s3-key"]),S=function(){return j?l.createElement("figure",{style:{paddingTop:k+"%"},className:"arr--responsive-hero-image "+Zt("image ".concat(_),wr)},l.createElement(r,{story:n,aspectRatio:N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"}})):v?l.createElement("figure",{style:{paddingTop:k+"%"},className:"arr--responsive-hero-image "+Zt("image ".concat(_),wr)},l.createElement(t,{slug:!p&&v,metadata:{},"aspect-ratio":N,defaultWidth:c,widths:s,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):l.createElement(l.Fragment,null,h?l.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:k+"%"},className:"arr--fallback-hero-image "+Zt("image ".concat(_),wr)},l.createElement(yr,null)):null)};return n&&(p?l.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+Zt("".concat(y," ").concat(b," ").concat(w),wr)},S()):l.createElement(e,{"data-test-id":"arr--hero-image",href:qt(n,"/".concat(n.slug)),externalLink:Wt(n),"aria-label":"fallback-hero-image",className:"arr--hero-image "+Zt("".concat(y," ").concat(b," ").concat(w),wr)},S()))};function xr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Er.propTypes={story:a.object.isRequired,FullBleed:a.bool,defaultWidth:a.number,widths:a.array,aspectRatio:a.array,isHorizontal:a.bool,isHorizontalMobile:a.bool,defaultFallback:a.bool,isHorizontalWithImageLast:a.bool},Er.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 Lr={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function Tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function zr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(r),!0).forEach((function(t){xr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Cr=function(e){var t=e.config,r=void 0===t?{}:t,n=e.collection,a=e.template,i=void 0===a?"SubsequentLoadCount":a,c=e.onClick,s=e.navigate,u=e.qtConfig,d=r.showButton,m=void 0===d||d,h=r.buttonText,f=void 0===h?"Read More":h,p=r.theme,g=void 0===p?"":p,v=r.customUrlPath,_=void 0===v?"":v;if(!m)return null;var b=Ft(g),y=_?"/".concat(_):Ut(n,zr(zr({},u),r));return"SubsequentLoadCount"===i?l.createElement("div",{onClick:c,"data-test-id":"load-more",className:"arr--button "+Zt("button ".concat(b," default"),Lr)},f):l.createElement(o,{href:y,navigateTo:s,"data-test-id":"load-more","aria-label":"load-more"},l.createElement("div",{className:"arr--button "+Zt("button ".concat(b," default"),Lr)},f))};Cr.propTypes={collection:a.object,template:a.string,config:a.object,onClick:a.func,navigate:a.func,qtConfig:a.object};var Nr={"./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"}},kr=function(t){var r=t.story,o=t.template,n=void 0===o?"":o,a=t.borderColor,i=void 0===a?"":a,c=t.isLightTheme,s=Jt()||{},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?i:s.theme,g=c?"light":Ft(p),v=Ht(i),_=h.includes(n)?"section section-".concat(n):"section";return d&&(_=h.includes(d)?"section section-".concat(d):"section"),u?l.createElement(e,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},l.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+Zt("".concat(g," ").concat(_),Nr)},_.includes("section-borderLeft")&&l.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,l.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};kr.propTypes={story:a.object.isRequired,template:a.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:a.string,solidBorderColor:a.string,isLightTheme:a.bool},kr.defaultProps={template:"",isLightTheme:!1};var jr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},Sr=function(e){var t=e.story,r=e.truncateChars,o=void 0===r?200:r,n=e.lineClamp,a=e.clazzName,i=void 0===a?"":a,c=e.forceShowAtom,s=e.showFullContent,u=Jt()||{};if(!(c||Ze(u,["showSubheadline"],!0)))return null;var d=Ft(u.theme);return l.createElement("div",{style:{WebkitLineClamp:n},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(i)?"p-alt arr--sub-headline arrow-component ".concat(i)+" ":"")+Zt("subheadline ".concat(d),jr)},s||"number"==typeof n?t.subheadline:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,r=arguments.length>2&&void 0!==arguments[2]&&!arguments[2]?"":" ...";return"string"==typeof e&&e.length>t?e.substring(0,t)+r:e}(t.subheadline,o,!0))};Sr.propTypes={story:a.object.isRequired,lineClamp:a.number,truncateChars:a.number,clazzName:a.string,forceShowAtom:a.bool,showFullContent:a.bool},Sr.defaultProps={forceShowAtom:!1,showFullContent:!1};var Or={"./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"}},Ir=function(e){var t,r=e.story,o=e.children,n=e.isHorizontal,a=e.aspectRatio,i=e.border,c=e.useImageAsBackground,s=e.bgImgContentOverlap,u=e.theme,d=e.borderColor,m=e.isHorizontalMobile,h=e.centerAlign,f=e.headerLevel,p=e.hideAuthorImage,g=e.prefix,v=e.config,_=e.isHorizontalWithImageLast;if(!r||(null==(t=r)||"object"===ot(t)&&0===Object.entries(t).length&&t.constructor===Object||"string"==typeof t&&0===t.trim().length))return l.createElement("div",null);var b=["default","full","bottom","boxShadow"].includes(i)?"border-".concat(i):"",y="default-card";n?y="horizontal-card":_&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",x=Ft(u),L=m?"horizontal-mob":"",T=l.createElement(Ar,{story:r,aspectRatio:a,border:i,isHorizontalMobile:m,isHorizontal:n,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return l.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:x},className:"arr--story-card "+Zt("card ".concat(y," ").concat(b," ").concat(x," ").concat(w," ").concat(E," ").concat(L),Or)},o||T)},Ar=function(e){var t=e.story;e.border;var r=e.isHorizontal,o=e.aspectRatio,n=e.headerLevel,a=e.isHorizontalMobile,i=void 0!==a&&a,c=e.centerAlign,s=void 0!==c&&c,u=e.borderColor,d=e.hideAuthorImage,m=e.prefix,h=e.isHorizontalWithImageLast,f=e.config,p=s?"center-align":"",g=Ht(u),v=f.localizationConfig,_=void 0===v?{}:v;return l.createElement(l.Fragment,null,r?l.createElement(Er,{story:t,isHorizontal:!0,isHorizontalMobile:i,aspectRatio:o}):h?l.createElement(Er,{story:t,isHorizontalWithImageLast:!0,isHorizontalMobile:i,aspectRatio:o}):l.createElement(Er,{story:t,isHorizontalMobile:i,aspectRatio:o}),l.createElement("div",{className:"arr--story-content "+Zt("content ".concat(p),Or)},l.createElement(kr,{story:t,borderColor:g}),l.createElement(vr,{story:t,headerLevel:n,premiumStoryIconConfig:f}),l.createElement(lr,{config:_,story:t,isBottom:!0,prefix:m,hideAuthorImage:d}),l.createElement(Sr,{story:t})))};Ar.propTypes={story:a.object.isRequired,border:a.oneOfType([a.string]),isBottom:a.bool,isHorizontal:a.bool,aspectRatio:a.oneOfType([a.array]),isHorizontalMobile:a.bool,centerAlign:a.bool,headerLevel:a.string,borderColor:a.string,hideAuthorImage:a.bool,prefix:a.string,config:a.object,isHorizontalWithImageLast:a.bool},Ir.propTypes={story:a.object.isRequired,children:a.node,isHorizontal:a.bool,border:a.oneOfType([a.string]),useImageAsBackground:a.bool,bgImgContentOverlap:a.bool,aspectRatio:a.oneOfType([a.array]),theme:a.string,isHorizontalMobile:a.bool,centerAlign:a.bool,headerLevel:a.string,borderColor:a.string,hideAuthorImage:a.bool,prefix:a.string,config:a.object,isHorizontalWithImageLast:a.bool},Ir.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Mr={"./storycardContent.m.css":{wrapper:"storycardContent-m_wrapper__TEmfA","horizontal-content-wrapper":"storycardContent-m_horizontal-content-wrapper__NgpuC","border-full":"storycardContent-m_border-full__2km37"}},Rr=function(e){var t=e.story,r=e.children,o=e.theme,n=e.border,a=e.isHorizontalMobile,i=e.headerLevel,c=e.borderColor,s=e.config,u=Ft(o),d=Ht(c),m=["full"].includes(n)?"border-".concat(n):"",h=a?"horizontal-content-wrapper":"";return l.createElement("div",{"data-test-id":"story-card-content",style:{backgroundColor:o,color:u},className:"arr--content-wrapper "+Zt("wrapper ".concat(m," ").concat(h),Mr)},r||l.createElement(Hr,{story:t,headerLevel:i,isHorizontalMobile:a,borderColor:d,config:s}))},Hr=function(e){var t=e.story,r=e.headerLevel,o=e.borderColor,n=e.config,a=void 0===n?{}:n,i=Ht(o),c=a.localizationConfig,s=void 0===c?{}:c;return l.createElement("div",null,l.createElement(kr,{story:t,borderColor:i}),l.createElement(vr,{story:t,headerLevel:r,premiumStoryIconConfig:a}),l.createElement(lr,{config:s,story:t}))};Hr.propTypes={story:a.object.isRequired,border:a.string,theme:a.string,isHorizontalMobile:a.bool,headerLevel:a.string,borderColor:a.string,config:a.object},Rr.propTypes={story:a.object.isRequired,children:a.node,theme:a.string,border:a.string,isHorizontalMobile:a.bool,headerLevel:a.string,borderColor:a.string,config:a.object};var Br=function(e){var t=e.collection,r=e.componentName,o=e.offset,n=e.limit;return l.createElement("div",{id:"ELM-".concat(t.id),"data-collection-slug":t.slug,"data-component-name":r,"data-collection-offset":o,"data-collection-limit":n})};Br.propTypes={collection:a.shape({id:a.string,slug:a.string}),componentName:a.string,offset:a.number,limit:a.number};var Pr=function(e){var t=e.collection,r=e.config,o=void 0===r?{}:r,a=e.getMoreStories,i=e.isLoadMoreVisible,c=e.isLoading,s=e.isolatedLoadMore,u=n(t);if(!u.length)return null;var d=o.collectionNameBorderColor,m=void 0===d?"":d,h=o.borderColor,g=void 0===h?"":h,v=o.theme,_=void 0===v?"":v,b=o.border,y=void 0===b?"":b,w=o.slotConfig,E=void 0===w?[]:w,x=o.collectionNameTemplate,L=void 0===x?"":x,T=o.footerSlotConfig,z=void 0===T?{}:T,C=o.footerButton,N=void 0===C?"":C,k=o.localizationConfig,j=void 0===k?{}:k,S=z.footerSlot,O=Ze(E,[0],{}),I=O.type,A=O.component,M=p(),R=f((function(e){return Ze(e,["qt","config"],{})})),H=S?S():null,B=function(e){switch(y){case"bottom":return l.createElement("div",{className:"one-col-story-list-m_one-col-border-bottom__13nPb"},l.createElement(Ir,{story:e,theme:_,headerLevel:"4",isHorizontal:!0,border:y,aspectRatio:[[1,1],[4,3]],borderColor:g,prefix:"By",config:o}));case"full":return l.createElement("div",{className:"one-col-story-list-m_one-col-border-full__3PSl0"},l.createElement(Ir,{story:e,border:y,theme:_,isHorizontal:!0,borderColor:g},l.createElement(Er,{story:e,isHorizontal:!0,aspectRatio:[[1,1],[4,3]]}),l.createElement("div",{className:"one-col-story-list-m_story-card-content-wrapper__1baqS"},l.createElement(Rr,{story:e,borderColor:g,config:o},l.createElement(kr,{story:e}),l.createElement(vr,{story:e,headerLevel:"4",premiumStoryIconConfig:o}),l.createElement(Sr,{story:e}),l.createElement(lr,{config:j,story:e,prefix:"By"})))));default:return l.createElement("div",{className:"one-col-story-list-m_one-col-border-default__2BDg7"},l.createElement(Ir,{story:e,theme:_,headerLevel:"4",isHorizontal:!0,border:y,aspectRatio:[[1,1],[4,3]],borderColor:g,prefix:"By",config:o}))}},P=Ft(_);return l.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"one-col-story-list",style:{backgroundColor:_,color:P}},l.createElement("div",{className:"one-col-story-list-m_one-col-story-list-wrapper__ICvTq"},l.createElement(ur,{collection:t,collectionNameTemplate:L,collectionNameBorderColor:m}),l.createElement("div",{className:"one-col-story-list-m_wrapper__38qTp",style:{backgroundColor:_,color:P}},l.createElement("div",{className:"one-col-story-list-m_one-col-first-story__1aC6i"},u.slice(0,1).map((function(e,t){return l.createElement("div",{key:"default-".concat(t)},B(e))}))),l.createElement("div",{className:"one-col-story-list-m_one-col-story-list__3d6Bp"},u.slice(1).map((function(e,t){return l.createElement("div",{key:"default-".concat(t)},B(e))}))),l.createElement("div",{className:"one-col-story-list-m_one-col-ads__UN_hF"},function(e,t,r,o){switch(e){case"story":return r();case"collection":return o();default:return t?t():null}}(I,A,(function(){return null}),(function(){return null})))),l.createElement("div",{className:"one-col-story-list-m_footer-ad-wrapper__NGgvp"},function(e){if(!i)return null;if(s)return l.createElement(Br,{collection:t,componentName:"OneColStoryList",offset:u.length,limit:4});var r=Ut(t,R);return l.createElement(rt,null,l.createElement(Cr,{config:o,collection:t,template:N,onClick:function(){return function(e){var t=e.isLoading,r=e.storyItems,o=e.getMoreStories;t||o(r.length,8)}(e)},navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(M,r)},qtConfig:R}))}({isLoading:c,storyItems:u,getMoreStories:a}),l.createElement("div",{className:"one-col-story-list-m_ad-wrapper__3_cNc"},H))))};Pr.propTypes={collection:a.object.isRequired,config:a.shape({borderColor:a.string,theme:a.string,border:a.string,footerButton:a.string,collectionNameTemplate:a.string,collectionNameBorderColor:a.string}),getMoreStories:a.func,isLoadMoreVisible:a.bool,isLoading:a.bool,isolatedLoadMore:a.bool},Pr.defaultProps={getMoreStories:function(){},isLoadMoreVisible:!0,isLoading:!1};var Fr,Dr=(Fr=Pr,function(e){return l.createElement(Vt.Provider,{value:e.config},l.createElement(Fr,e))});export{Dr as default};