@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 t,{useContext as e,createContext as r}from"react";import n from"prop-types";import"react-timeago";function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function a(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},a=Object.keys(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(n=0;n<a.length;n++)r=a[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t){var e={exports:{}};return t(e,e.exports),e.exports}var c=u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),l=s(u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=c)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var a=Object.keys(e),i=r||{},s=i.handleMissingStyleName,u=void 0===s?n.default.handleMissingStyleName:s,c=i.autoResolveMultipleImports,l=void 0===c?n.default.autoResolveMultipleImports:c;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var a=t.split("."),i=a[0],s=a[1],u=r||n.default.handleMissingStyleName;return s?e[i]?e[i][s]?e[i][s]:o("CSS module does not exist: "+s,u):o("CSS module import does not exist: "+i,u):o("Invalid style name: "+t,u)}(t,e,u);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(a.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(i.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+t+"'.",a):e[i[0]][t]}(t,e,u)}var r=e[a[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",u)})).filter((function(t){return t})).join(" "):""}}))),f=Array.isArray,h="object"==typeof i&&i&&i.Object===Object&&i,p="object"==typeof self&&self&&self.Object===Object&&self,v=h||p||Function("return this")(),d=v.Symbol,y=Object.prototype,m=y.hasOwnProperty,g=y.toString,_=d?d.toStringTag:void 0;var w=function(t){var e=m.call(t,_),r=t[_];try{t[_]=void 0;var n=!0}catch(t){}var o=g.call(t);return n&&(e?t[_]=r:delete t[_]),o},b=Object.prototype.toString;var j=function(t){return b.call(t)},E=d?d.toStringTag:void 0;var O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":E&&E in Object(t)?w(t):j(t)};var x=function(t){return null!=t&&"object"==typeof t};var q=function(t){return"symbol"==typeof t||x(t)&&"[object Symbol]"==O(t)},N=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,S=/^\w*$/;var I=function(t,e){if(f(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!q(t))||(S.test(t)||!N.test(t)||null!=e&&t in Object(e))};var L=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var A,k=function(t){if(!L(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},T=v["__core-js_shared__"],P=(A=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+A:"";var F=function(t){return!!P&&P in t},M=Function.prototype.toString;var z=function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""},C=/^\[object .+?Constructor\]$/,R=Function.prototype,G=Object.prototype,$=R.toString,K=G.hasOwnProperty,B=RegExp("^"+$.call(K).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Y=function(t){return!(!L(t)||F(t))&&(k(t)?B:C).test(z(t))};var H=function(t,e){return null==t?void 0:t[e]};var Z=function(t,e){var r=H(t,e);return Y(r)?r:void 0},J=Z(Object,"create");var Q=function(){this.__data__=J?J(null):{},this.size=0};var U=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},D=Object.prototype.hasOwnProperty;var V=function(t){var e=this.__data__;if(J){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return D.call(e,t)?e[t]:void 0},W=Object.prototype.hasOwnProperty;var X=function(t){var e=this.__data__;return J?void 0!==e[t]:W.call(e,t)};var tt=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=J&&void 0===e?"__lodash_hash_undefined__":e,this};function et(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}et.prototype.clear=Q,et.prototype.delete=U,et.prototype.get=V,et.prototype.has=X,et.prototype.set=tt;var rt=et;var nt=function(){this.__data__=[],this.size=0};var ot=function(t,e){return t===e||t!=t&&e!=e};var at=function(t,e){for(var r=t.length;r--;)if(ot(t[r][0],e))return r;return-1},it=Array.prototype.splice;var st=function(t){var e=this.__data__,r=at(e,t);return!(r<0)&&(r==e.length-1?e.pop():it.call(e,r,1),--this.size,!0)};var ut=function(t){var e=this.__data__,r=at(e,t);return r<0?void 0:e[r][1]};var ct=function(t){return at(this.__data__,t)>-1};var lt=function(t,e){var r=this.__data__,n=at(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function ft(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ft.prototype.clear=nt,ft.prototype.delete=st,ft.prototype.get=ut,ft.prototype.has=ct,ft.prototype.set=lt;var ht=ft,pt=Z(v,"Map");var vt=function(){this.size=0,this.__data__={hash:new rt,map:new(pt||ht),string:new rt}};var dt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var yt=function(t,e){var r=t.__data__;return dt(e)?r["string"==typeof e?"string":"hash"]:r.map};var mt=function(t){var e=yt(this,t).delete(t);return this.size-=e?1:0,e};var gt=function(t){return yt(this,t).get(t)};var _t=function(t){return yt(this,t).has(t)};var wt=function(t,e){var r=yt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function bt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}bt.prototype.clear=vt,bt.prototype.delete=mt,bt.prototype.get=gt,bt.prototype.has=_t,bt.prototype.set=wt;var jt=bt;function Et(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Et.Cache||jt),r}Et.Cache=jt;var Ot=Et;var xt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qt=/\\(\\)?/g,Nt=function(t){var e=Ot(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(xt,(function(t,r,n,o){e.push(n?o.replace(qt,"$1"):r||t)})),e}));var St=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},It=d?d.prototype:void 0,Lt=It?It.toString:void 0;var At=function t(e){if("string"==typeof e)return e;if(f(e))return St(e,t)+"";if(q(e))return Lt?Lt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var kt=function(t){return null==t?"":At(t)};var Tt=function(t,e){return f(t)?t:I(t,e)?[t]:Nt(kt(t))};var Pt=function(t){if("string"==typeof t||q(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Ft=function(t,e){for(var r=0,n=(e=Tt(e,t)).length;null!=t&&r<n;)t=t[Pt(e[r++])];return r&&r==n?t:void 0};var Mt=function(t,e,r){var n=null==t?void 0:Ft(t,e);return void 0===n?r:n};u((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),i=new S(n||[]);return a._invoke=function(t,e,r){var n=f;return function(o,a){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw a;return L()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=x(i,r);if(s){if(s===d)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(t,e,r);if("normal"===u.type){if(n=r.done?v:h,u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=v,r.method="throw",r.arg=u.arg)}}}(t,r,i),a}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",d={};function y(){}function m(){}function g(){}var _={};u(_,a,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(I([])));b&&b!==r&&n.call(b,a)&&(_=b);var j=g.prototype=y.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,a,i,s){var u=l(t[o],t,a);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,i,s)}),(function(t){r("throw",t,i,s)})):e.resolve(f).then((function(t){c.value=t,i(c)}),(function(t){return r("throw",t,i,s)}))}s(u.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function x(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,x(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function q(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function N(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(q,this),this.reset(!0)}function I(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:L}}function L(){return{value:e,done:!0}}return m.prototype=g,u(j,"constructor",g),u(g,"constructor",m),m.displayName=u(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,u(t,s,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},E(O.prototype),u(O.prototype,i,(function(){return this})),t.AsyncIterator=O,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new O(c(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(j),u(j,s,"Generator"),u(j,a,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=I,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(N),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return s.type="throw",s.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],s=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,d):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),N(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;N(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var zt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Ct=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},Rt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t),r=e?t:Ct(t),n=zt(r)<155?"light":"dark";return n},Gt=function(t){var e=t,r=t.match(/(<a).*?(>)/g);return r&&r.forEach((function(t){/target=/g.test(t)||(e=e.replace(t,"<a aria-label='content' target='_blank'".concat(t.substring(2))))})),e},$t=n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),Kt=n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string}),Bt=["element","render"],Yt=function(e){return function(r){var n=r.element,i=r.render,s=a(r,Bt);return n?i&&"function"==typeof i?i(r):t.createElement(e,o({},s,{element:n})):null}};Yt.propTypes={StoryElement:n.element};var Ht=r(),Zt=["element","template","css","story","config","opts","render"],Jt={"./question-answer.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px","qa-withAuthorImage":"question-answer-m_qa-withAuthorImage__1JB3N","a-element":"question-answer-m_a-element__BTxfl","qa-default":"question-answer-m_qa-default__2fGK3","q-element":"question-answer-m_q-element__1ZA5d",dark:"question-answer-m_dark__O4Mnm",hidden:"question-answer-m_hidden__K0n4n",curveIcon:"question-answer-m_curveIcon__64641",edgeIcon:"question-answer-m_edgeIcon__3js6c",labelAttribution:"question-answer-m_labelAttribution__Rq-v3",light:"question-answer-m_light__3Iqv4",content:"question-answer-m_content__16Ng7"}},Qt=function(r){var n=r.element,i=r.template,s=r.css,u=void 0===s?{}:s;r.story,r.config;var c=r.opts,f=void 0===c?{}:c;r.render;var h=a(r,Zt),p=e(Ht)||{},v=Rt(p.theme);if(!n)return null;var d=f.type,y=f.defaultIconType,m=f.isExternalLink,g=void 0===m||m,_=u.iconColor,w=function(t,e){switch(t){case"q-and-a":var r=Mt(e,["metadata"]);return{question:r.question,answer:r.answer,questionAttribution:Mt(e,["metadata","interviewer","avatar-url"]),answerAttribution:Mt(e,["metadata","interviewee","avatar-url"])};case"question":return{question:Mt(e,["text"]),questionAttribution:Mt(e,["metadata","interviewer","avatar-url"])};case"answer":return{answer:Mt(e,["text"]),answerAttribution:Mt(e,["metadata","interviewee","avatar-url"])}}}(d,n),b=w.question,j=w.answer,E=w.questionAttribution,O=w.answerAttribution,x=Rt(_),q=b&&(g&&Gt(b)||b),N=j&&(g&&Gt(j)||j),S="withAuthorImage"===i,I=S?"qa-withAuthorImage":"qa-default",L="curve"===y?"curveIcon":"edgeIcon",A=S?E&&t.createElement(t.Fragment,null,t.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},t.createElement("img",{src:E,loading:"lazy"})),t.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):t.createElement("div",{"data-test-id":L,style:{backgroundColor:_},className:l("".concat(L," ").concat(x),Jt)},"Q"),k=S?O&&t.createElement(t.Fragment,null,t.createElement("div",{className:"question-answer-m_labelAttribution__Rq-v3"},t.createElement("img",{src:O,loading:"lazy"})),t.createElement("span",{className:"question-answer-m_hidden__K0n4n"})):t.createElement("div",{"data-test-id":L,style:{backgroundColor:_},className:l("".concat(L," ").concat(x),Jt)},"A");return t.createElement("div",o({"data-test-id":"question-answer"},h,{className:"arrow-component arr-custom-style arr--qa-element "+l(I,Jt)+" "+(h&&h.className||"")}),"answer"!==d&&t.createElement("div",{className:"question-answer-m_q-element__1ZA5d","data-test-id":"question"},A,t.createElement("div",{dangerouslySetInnerHTML:{__html:q},className:l("content ".concat(v),Jt)})),"question"!==d&&t.createElement("div",{className:"question-answer-m_a-element__BTxfl","data-test-id":"answer"},k,t.createElement("div",{dangerouslySetInnerHTML:{__html:N},className:l("content ".concat(v),Jt)})))};Qt.propTypes={element:n.shape({metadata:n.shape({interviewer:n.shape({"avatar-url":n.string}),interviewee:n.shape({"avatar-url":n.string}),question:n.string,answer:n.string}),text:n.string}),opts:n.shape({type:n.string,defaultIconType:n.string,isExternalLink:n.bool}),template:n.string,css:n.object,config:$t,story:Kt,render:n.func};var Ut=Yt(Qt);export{Ut as QuestionAnswer};
package/Quote/index.js ADDED
@@ -0,0 +1 @@
1
+ import t,{useContext as e,createContext as r}from"react";import n from"prop-types";import"react-timeago";function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function c(t){var e={exports:{}};return t(e,e.exports),e.exports}var s=c((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),l=u(c((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=s)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},u=a.handleMissingStyleName,c=void 0===u?n.default.handleMissingStyleName:u,s=a.autoResolveMultipleImports,l=void 0===s?n.default.autoResolveMultipleImports:s;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],u=i[1],c=r||n.default.handleMissingStyleName;return u?e[a]?e[a][u]?e[a][u]:o("CSS module does not exist: "+u,c):o("CSS module import does not exist: "+a,c):o("Invalid style name: "+t,c)}(t,e,c);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,c)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",c)})).filter((function(t){return t})).join(" "):""}}))),f=["element","render"],h=function(e){return function(r){var n=r.element,a=r.render,u=i(r,f);return n?a&&"function"==typeof a?a(r):t.createElement(e,o({},u,{element:n})):null}};h.propTypes={StoryElement:n.element},c((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return T()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=E(a,r);if(u){if(u===d)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var c=l(t,e,r);if("normal"===c.type){if(n=r.done?v:h,c.arg===d)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=v,r.method="throw",r.arg=c.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",d={};function y(){}function m(){}function g(){}var _={};c(_,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(q([])));w&&w!==r&&n.call(w,i)&&(_=w);var O=g.prototype=y.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,u){var c=l(t[o],t,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,u)}),(function(t){r("throw",t,a,u)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,u)}))}u(c.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function q(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:T}}function T(){return{value:e,done:!0}}return m.prototype=g,c(O,"constructor",g),c(g,"constructor",m),m.displayName=c(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},j(x.prototype),c(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(s(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(O),c(O,u,"Generator"),c(O,i,(function(){return this})),c(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=q,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return u.type="throw",u.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(c&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:q(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var p="object"==typeof a&&a&&a.Object===Object&&a,v="object"==typeof self&&self&&self.Object===Object&&self,d=p||v||Function("return this")(),y=d.Symbol,m=Object.prototype,g=m.hasOwnProperty,_=m.toString,b=y?y.toStringTag:void 0;var w=function(t){var e=g.call(t,b),r=t[b];try{t[b]=void 0;var n=!0}catch(t){}var o=_.call(t);return n&&(e?t[b]=r:delete t[b]),o},O=Object.prototype.toString;var j=function(t){return O.call(t)},x=y?y.toStringTag:void 0;var E=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":x&&x in Object(t)?w(t):j(t)};var S=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var L,N=function(t){if(!S(t))return!1;var e=E(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},q=d["__core-js_shared__"],T=(L=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"";var P=function(t){return!!T&&T in t},k=Function.prototype.toString;var I=function(t){if(null!=t){try{return k.call(t)}catch(t){}try{return t+""}catch(t){}}return""},M=/^\[object .+?Constructor\]$/,F=Function.prototype,C=Object.prototype,z=F.toString,G=C.hasOwnProperty,$=RegExp("^"+z.call(G).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var A=function(t){return!(!S(t)||P(t))&&(N(t)?$:M).test(I(t))};var R=function(t,e){return null==t?void 0:t[e]};var Y=function(t,e){var r=R(t,e);return A(r)?r:void 0},D=Y(Object,"create");var H=function(){this.__data__=D?D(null):{},this.size=0};var K=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Q=Object.prototype.hasOwnProperty;var U=function(t){var e=this.__data__;if(D){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Q.call(e,t)?e[t]:void 0},X=Object.prototype.hasOwnProperty;var Z=function(t){var e=this.__data__;return D?void 0!==e[t]:X.call(e,t)};var B=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=D&&void 0===e?"__lodash_hash_undefined__":e,this};function J(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}J.prototype.clear=H,J.prototype.delete=K,J.prototype.get=U,J.prototype.has=Z,J.prototype.set=B;var V=J;var W=function(){this.__data__=[],this.size=0};var tt=function(t,e){return t===e||t!=t&&e!=e};var et=function(t,e){for(var r=t.length;r--;)if(tt(t[r][0],e))return r;return-1},rt=Array.prototype.splice;var nt=function(t){var e=this.__data__,r=et(e,t);return!(r<0)&&(r==e.length-1?e.pop():rt.call(e,r,1),--this.size,!0)};var ot=function(t){var e=this.__data__,r=et(e,t);return r<0?void 0:e[r][1]};var it=function(t){return et(this.__data__,t)>-1};var at=function(t,e){var r=this.__data__,n=et(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function ut(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ut.prototype.clear=W,ut.prototype.delete=nt,ut.prototype.get=ot,ut.prototype.has=it,ut.prototype.set=at;var ct=ut,st=Y(d,"Map");var lt=function(){this.size=0,this.__data__={hash:new V,map:new(st||ct),string:new V}};var ft=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var ht=function(t,e){var r=t.__data__;return ft(e)?r["string"==typeof e?"string":"hash"]:r.map};var pt=function(t){var e=ht(this,t).delete(t);return this.size-=e?1:0,e};var vt=function(t){return ht(this,t).get(t)};var dt=function(t){return ht(this,t).has(t)};var yt=function(t,e){var r=ht(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function mt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}mt.prototype.clear=lt,mt.prototype.delete=pt,mt.prototype.get=vt,mt.prototype.has=dt,mt.prototype.set=yt;var gt=mt;function _t(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(_t.Cache||gt),r}_t.Cache=gt;var bt=_t;var wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ot=/\\(\\)?/g;(function(t){var e=bt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache})((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(wt,(function(t,r,n,o){e.push(n?o.replace(Ot,"$1"):r||t)})),e}));var jt=y?y.prototype:void 0;jt&&jt.toString;var xt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Et=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},St=n.shape({"sketches-host":n.string,"cdn-name":n.string,"cdn-image":n.string}),Lt=n.shape({headline:n.string,"last-published-at":n.number,subheadline:n.string}),Nt=r(),qt=["element","template","css","story","config","render"],Tt={"./quote.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",quote:"quote-m_quote__13tTt",text:"quote-m_text__2hXSE","quote-borderNone":"quote-m_quote-borderNone__2EuoK","quote-borderTopSmall":"quote-m_quote-borderTopSmall__2DN-3","quote-borderLeft":"quote-m_quote-borderLeft__3QaAY",dark:"quote-m_dark__1migZ",light:"quote-m_light__30NnM",attribution:"quote-m_attribution__20Y6O",line:"quote-m_line__3gtoE"}},Pt=function(r){var n=r.element,a=r.template,u=void 0===a?"":a,c=r.css,s=void 0===c?{}:c;r.story,r.config,r.render;var f=i(r,qt),h=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:Et(t);return xt(e)<155?"light":"dark"}((e(Nt)||{}).theme),p=n.metadata,v=p.content,d=p.attribution;if(!v)return null;var y=s.borderColor,m="borderLeft"===u&&"4px solid ".concat(y),g=u?"quote-".concat(u):"quote";return t.createElement("div",o({"data-test-id":"quote"},f,{className:"arrow-component arr--quote-element "+l(g,Tt)+" "+(f&&f.className||"")}),"borderTopSmall"===u&&t.createElement("div",{className:"quote-m_line__3gtoE",style:y&&{backgroundColor:y}}),t.createElement("p",{style:y&&{borderLeft:m},dangerouslySetInnerHTML:{__html:v},className:l("text ".concat(h),Tt)}),t.createElement("p",{"data-test-id":"quote-attribution",className:l("attribution ".concat(h),Tt)},d))};Pt.propTypes={element:n.shape({metadata:n.shape({content:n.string,attribution:n.string})}),template:n.string,story:Lt,config:St,render:n.func,css:n.object};var kt=h(Pt);export{kt as Quote};
@@ -0,0 +1 @@
1
+ import t,{useContext as e,createContext as r}from"react";import n from"prop-types";import"react-timeago";import{Link as o}from"@quintype/components";function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function a(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function s(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t){var e={exports:{}};return t(e,e.exports),e.exports}var l=u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),f=s(u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=l)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},c=a.handleMissingStyleName,s=void 0===c?n.default.handleMissingStyleName:c,u=a.autoResolveMultipleImports,l=void 0===u?n.default.autoResolveMultipleImports:u;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],c=i[1],s=r||n.default.handleMissingStyleName;return c?e[a]?e[a][c]?e[a][c]:o("CSS module does not exist: "+c,s):o("CSS module import does not exist: "+a,s):o("Invalid style name: "+t,s)}(t,e,s);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,s)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",s)})).filter((function(t){return t})).join(" "):""}}))),h=["element","render"],p=function(e){return function(r){var n=r.element,o=r.render,c=a(r,h);return n?o&&"function"==typeof o?o(r):t.createElement(e,i({},c,{element:n})):null}};p.propTypes={StoryElement:n.element};var v=r();u((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===v){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=E(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=l(t,e,r);if("normal"===s.type){if(n=r.done?v:h,s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=v,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",v="completed",d={};function y(){}function m(){}function g(){}var _={};s(_,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(I([])));b&&b!==r&&n.call(b,i)&&(_=b);var O=g.prototype=y.prototype=Object.create(_);function j(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,c){var s=l(t[o],t,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function E(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,E(t,r),"throw"===r.method))return d;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,d;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,d):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function I(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:e,done:!0}}return m.prototype=g,s(O,"constructor",g),s(g,"constructor",m),m.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,c,"GeneratorFunction")),t.prototype=Object.create(O),t},t.awrap=function(t){return{__await:t}},j(x.prototype),s(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},j(O),s(O,c,"Generator"),s(O,i,(function(){return this})),s(O,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=I,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:I(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),d}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var d="object"==typeof c&&c&&c.Object===Object&&c,y="object"==typeof self&&self&&self.Object===Object&&self,m=d||y||Function("return this")(),g=m.Symbol,_=Object.prototype,w=_.hasOwnProperty,b=_.toString,O=g?g.toStringTag:void 0;var j=function(t){var e=w.call(t,O),r=t[O];try{t[O]=void 0;var n=!0}catch(t){}var o=b.call(t);return n&&(e?t[O]=r:delete t[O]),o},x=Object.prototype.toString;var E=function(t){return x.call(t)},S=g?g.toStringTag:void 0;var L=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":S&&S in Object(t)?j(t):E(t)};var N=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var I,P=function(t){if(!N(t))return!1;var e=L(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},k=m["__core-js_shared__"],T=(I=/[^.]+$/.exec(k&&k.keys&&k.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"";var F=function(t){return!!T&&T in t},M=Function.prototype.toString;var z=function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""},C=/^\[object .+?Constructor\]$/,G=Function.prototype,$=Object.prototype,R=G.toString,A=$.hasOwnProperty,Y=RegExp("^"+R.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var H=function(t){return!(!N(t)||F(t))&&(P(t)?Y:C).test(z(t))};var U=function(t,e){return null==t?void 0:t[e]};var q=function(t,e){var r=U(t,e);return H(r)?r:void 0},B=q(Object,"create");var Z=function(){this.__data__=B?B(null):{},this.size=0};var D=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},J=Object.prototype.hasOwnProperty;var K=function(t){var e=this.__data__;if(B){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return J.call(e,t)?e[t]:void 0},Q=Object.prototype.hasOwnProperty;var V=function(t){var e=this.__data__;return B?void 0!==e[t]:Q.call(e,t)};var W=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=B&&void 0===e?"__lodash_hash_undefined__":e,this};function X(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}X.prototype.clear=Z,X.prototype.delete=D,X.prototype.get=K,X.prototype.has=V,X.prototype.set=W;var tt=X;var et=function(){this.__data__=[],this.size=0};var rt=function(t,e){return t===e||t!=t&&e!=e};var nt=function(t,e){for(var r=t.length;r--;)if(rt(t[r][0],e))return r;return-1},ot=Array.prototype.splice;var it=function(t){var e=this.__data__,r=nt(e,t);return!(r<0)&&(r==e.length-1?e.pop():ot.call(e,r,1),--this.size,!0)};var at=function(t){var e=this.__data__,r=nt(e,t);return r<0?void 0:e[r][1]};var ct=function(t){return nt(this.__data__,t)>-1};var st=function(t,e){var r=this.__data__,n=nt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function ut(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}ut.prototype.clear=et,ut.prototype.delete=it,ut.prototype.get=at,ut.prototype.has=ct,ut.prototype.set=st;var lt=ut,ft=q(m,"Map");var ht=function(){this.size=0,this.__data__={hash:new tt,map:new(ft||lt),string:new tt}};var pt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var vt=function(t,e){var r=t.__data__;return pt(e)?r["string"==typeof e?"string":"hash"]:r.map};var dt=function(t){var e=vt(this,t).delete(t);return this.size-=e?1:0,e};var yt=function(t){return vt(this,t).get(t)};var mt=function(t){return vt(this,t).has(t)};var gt=function(t,e){var r=vt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function _t(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}_t.prototype.clear=ht,_t.prototype.delete=dt,_t.prototype.get=yt,_t.prototype.has=mt,_t.prototype.set=gt;var wt=_t;function bt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(bt.Cache||wt),r}bt.Cache=wt;var Ot=bt;var jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xt=/\\(\\)?/g;(function(t){var e=Ot(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache})((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(jt,(function(t,r,n,o){e.push(n?o.replace(xt,"$1"):r||t)})),e}));var Et=g?g.prototype:void 0;Et&&Et.toString;var St=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},Lt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},Nt=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 It=["element","config","opts"],Pt={"./reference.m.css":{viewports:'"../../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",tablet:"992px",wrapper:"reference-m_wrapper__1C4Ot",name:"reference-m_name__24IwG",description:"reference-m_description__2x3Io",dark:"reference-m_dark__3Zlnx",light:"reference-m_light__1B8Ud"}},kt=function(r){var n=r.element;r.config;var c=r.opts,s=void 0===c?{}:c,u=a(r,It);if(!n)return null;var l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:Lt(t);return St(e)<155?"light":"dark"}((e(v)||{}).theme),h=n["story-elements"]&&n["story-elements"].map((function(t){return t.metadata})),p=s.showHeadline,d=void 0===p||p,y=s.headlineText;return t.createElement("div",i({className:"arrow-component arr--reference-element"},u),h&&h.map((function(e,r){var n=e.name,i=void 0===n?"":n,a=e.description,c=void 0===a?"":a,s=e.url;return t.createElement("div",{key:r,className:f("wrapper ".concat(l),Pt)},t.createElement(o,{href:s,"aria-label":"reference-headline"},d&&t.createElement("div",{className:"reference-m_name__24IwG","data-test-id":"ref-headline"},y||i),t.createElement("div",{className:"reference-m_description__2x3Io"},c)))})))};kt.propTypes={element:n.shape({"story-elements":n.arrayOf(n.shape({metadata:n.shape({name:n.string,description:n.string,url:n.string})}))}),opts:n.shape({hideHeadline:n.bool}),config:Nt};var Tt=p(kt);export{Tt as Reference};
@@ -0,0 +1 @@
1
+ import t,{useContext as r,createContext as e,useState as n,useRef as o,useEffect as i}from"react";import{useSelector as a}from"react-redux";import c,{number as l,string as u,func as s,array as f,bool as h}from"prop-types";import"react-timeago";function d(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}function p(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i=[],a=!0,c=!1;try{for(e=e.call(t);!(a=(n=e.next()).done)&&(i.push(n.value),!r||i.length!==r);a=!0);}catch(t){c=!0,o=t}finally{try{a||null==e.return||e.return()}finally{if(c)throw o}}return i}}(t,r)||function(t,r){if(t){if("string"==typeof t)return d(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?d(t,r):void 0}}(t,r)||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.")}()}function v(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var y=Array.isArray,g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function m(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function _(t){var r={exports:{}};return t(r,r.exports),r.exports}var w="object"==typeof g&&g&&g.Object===Object&&g,b="object"==typeof self&&self&&self.Object===Object&&self,x=w||b||Function("return this")(),E=x.Symbol,j=Object.prototype,O=j.hasOwnProperty,I=j.toString,k=E?E.toStringTag:void 0;var S=function(t){var r=O.call(t,k),e=t[k];try{t[k]=void 0;var n=!0}catch(t){}var o=I.call(t);return n&&(r?t[k]=e:delete t[k]),o},N=Object.prototype.toString;var L=function(t){return N.call(t)},T=E?E.toStringTag:void 0;var C=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":T&&T in Object(t)?S(t):L(t)};var M=function(t){return null!=t&&"object"==typeof t};var P=function(t){return"symbol"==typeof t||M(t)&&"[object Symbol]"==C(t)},A=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,z=/^\w*$/;var F=function(t,r){if(y(t))return!1;var e=typeof t;return!("number"!=e&&"symbol"!=e&&"boolean"!=e&&null!=t&&!P(t))||(z.test(t)||!A.test(t)||null!=r&&t in Object(r))};var R=function(t){var r=typeof t;return null!=t&&("object"==r||"function"==r)};var G,$=function(t){if(!R(t))return!1;var r=C(t);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r},V=x["__core-js_shared__"],D=(G=/[^.]+$/.exec(V&&V.keys&&V.keys.IE_PROTO||""))?"Symbol(src)_1."+G:"";var H=function(t){return!!D&&D in t},U=Function.prototype.toString;var q=function(t){if(null!=t){try{return U.call(t)}catch(t){}try{return t+""}catch(t){}}return""},B=/^\[object .+?Constructor\]$/,W=Function.prototype,X=Object.prototype,Y=W.toString,J=X.hasOwnProperty,K=RegExp("^"+Y.call(J).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Z=function(t){return!(!R(t)||H(t))&&($(t)?K:B).test(q(t))};var Q=function(t,r){return null==t?void 0:t[r]};var tt=function(t,r){var e=Q(t,r);return Z(e)?e:void 0},rt=tt(Object,"create");var et=function(){this.__data__=rt?rt(null):{},this.size=0};var nt=function(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r},ot=Object.prototype.hasOwnProperty;var it=function(t){var r=this.__data__;if(rt){var e=r[t];return"__lodash_hash_undefined__"===e?void 0:e}return ot.call(r,t)?r[t]:void 0},at=Object.prototype.hasOwnProperty;var ct=function(t){var r=this.__data__;return rt?void 0!==r[t]:at.call(r,t)};var lt=function(t,r){var e=this.__data__;return this.size+=this.has(t)?0:1,e[t]=rt&&void 0===r?"__lodash_hash_undefined__":r,this};function ut(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}ut.prototype.clear=et,ut.prototype.delete=nt,ut.prototype.get=it,ut.prototype.has=ct,ut.prototype.set=lt;var st=ut;var ft=function(){this.__data__=[],this.size=0};var ht=function(t,r){return t===r||t!=t&&r!=r};var dt=function(t,r){for(var e=t.length;e--;)if(ht(t[e][0],r))return e;return-1},pt=Array.prototype.splice;var vt=function(t){var r=this.__data__,e=dt(r,t);return!(e<0)&&(e==r.length-1?r.pop():pt.call(r,e,1),--this.size,!0)};var yt=function(t){var r=this.__data__,e=dt(r,t);return e<0?void 0:r[e][1]};var gt=function(t){return dt(this.__data__,t)>-1};var mt=function(t,r){var e=this.__data__,n=dt(e,t);return n<0?(++this.size,e.push([t,r])):e[n][1]=r,this};function _t(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}_t.prototype.clear=ft,_t.prototype.delete=vt,_t.prototype.get=yt,_t.prototype.has=gt,_t.prototype.set=mt;var wt=_t,bt=tt(x,"Map");var xt=function(){this.size=0,this.__data__={hash:new st,map:new(bt||wt),string:new st}};var Et=function(t){var r=typeof t;return"string"==r||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t};var jt=function(t,r){var e=t.__data__;return Et(r)?e["string"==typeof r?"string":"hash"]:e.map};var Ot=function(t){var r=jt(this,t).delete(t);return this.size-=r?1:0,r};var It=function(t){return jt(this,t).get(t)};var kt=function(t){return jt(this,t).has(t)};var St=function(t,r){var e=jt(this,t),n=e.size;return e.set(t,r),this.size+=e.size==n?0:1,this};function Nt(t){var r=-1,e=null==t?0:t.length;for(this.clear();++r<e;){var n=t[r];this.set(n[0],n[1])}}Nt.prototype.clear=xt,Nt.prototype.delete=Ot,Nt.prototype.get=It,Nt.prototype.has=kt,Nt.prototype.set=St;var Lt=Nt;function Tt(t,r){if("function"!=typeof t||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return e.cache=i.set(o,a)||i,a};return e.cache=new(Tt.Cache||Lt),e}Tt.Cache=Lt;var Ct=Tt;var Mt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pt=/\\(\\)?/g,At=function(t){var r=Ct(t,(function(t){return 500===e.size&&e.clear(),t})),e=r.cache;return r}((function(t){var r=[];return 46===t.charCodeAt(0)&&r.push(""),t.replace(Mt,(function(t,e,n,o){r.push(n?o.replace(Pt,"$1"):e||t)})),r}));var zt=function(t,r){for(var e=-1,n=null==t?0:t.length,o=Array(n);++e<n;)o[e]=r(t[e],e,t);return o},Ft=E?E.prototype:void 0,Rt=Ft?Ft.toString:void 0;var Gt=function t(r){if("string"==typeof r)return r;if(y(r))return zt(r,t)+"";if(P(r))return Rt?Rt.call(r):"";var e=r+"";return"0"==e&&1/r==-Infinity?"-0":e};var $t=function(t){return null==t?"":Gt(t)};var Vt=function(t,r){return y(t)?t:F(t,r)?[t]:At($t(t))};var Dt=function(t){if("string"==typeof t||P(t))return t;var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var Ht=function(t,r){for(var e=0,n=(r=Vt(r,t)).length;null!=t&&e<n;)t=t[Dt(r[e++])];return e&&e==n?t:void 0};var Ut=function(t,r,e){var n=null==t?void 0:Ht(t,r);return void 0===n?e:n},qt=_((function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};r.default=e})),Bt=m(_((function(t,r){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e,n=(e=qt)&&e.__esModule?e:{default:e};var o=function(t,r){if("throw"===r)throw new Error(t);return"warn"===r&&console.warn(t),null};r.default=function(t,r,e){var i=Object.keys(r),a=e||{},c=a.handleMissingStyleName,l=void 0===c?n.default.handleMissingStyleName:c,u=a.autoResolveMultipleImports,s=void 0===u?n.default.autoResolveMultipleImports:u;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,r,e){var i=t.split("."),a=i[0],c=i[1],l=e||n.default.handleMissingStyleName;return c?r[a]?r[a][c]?r[a][c]:o("CSS module does not exist: "+c,l):o("CSS module import does not exist: "+a,l):o("Invalid style name: "+t,l)}(t,r,l);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!s)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,r,e){var i=e||n.default.handleMissingStyleName,a=Object.keys(r).map((function(e){return r[e][t]&&e})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):r[a[0]][t]}(t,r,l)}var e=r[i[0]];return e[t]?e[t]:o("Could not resolve the styleName '"+t+"'.",l)})).filter((function(t){return t})).join(" "):""}})));_((function(t){var r=function(t){var r,e=Object.prototype,n=e.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{l({},"")}catch(t){l=function(t,r,e){return t[r]=e}}function u(t,r,e,n){var o=r&&r.prototype instanceof y?r:y,i=Object.create(o.prototype),a=new S(n||[]);return i._invoke=function(t,r,e){var n=f;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===p){if("throw"===o)throw i;return L()}for(e.method=o,e.arg=i;;){var a=e.delegate;if(a){var c=O(a,e);if(c){if(c===v)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(n===f)throw n=p,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);n=d;var l=s(t,r,e);if("normal"===l.type){if(n=e.done?p:h,l.arg===v)continue;return{value:l.arg,done:e.done}}"throw"===l.type&&(n=p,e.method="throw",e.arg=l.arg)}}}(t,e,a),i}function s(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={};function y(){}function g(){}function m(){}var _={};l(_,i,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(N([])));b&&b!==e&&n.call(b,i)&&(_=b);var x=m.prototype=y.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(r){l(t,r,(function(t){return this._invoke(r,t)}))}))}function j(t,r){function e(o,i,a,c){var l=s(t[o],t,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?r.resolve(f.__await).then((function(t){e("next",t,a,c)}),(function(t){e("throw",t,a,c)})):r.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return e("throw",t,a,c)}))}c(l.arg)}var o;this._invoke=function(t,n){function i(){return new r((function(r,o){e(t,n,r,o)}))}return o=o?o.then(i,i):i()}}function O(t,e){var n=t.iterator[e.method];if(n===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=r,O(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function I(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(I,this),this.reset(!0)}function N(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}return{next:L}}function L(){return{value:r,done:!0}}return g.prototype=m,l(x,"constructor",m),l(m,"constructor",g),g.displayName=l(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,c,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},E(j.prototype),l(j.prototype,a,(function(){return this})),t.AsyncIterator=j,t.async=function(r,e,n,o,i){void 0===i&&(i=Promise);var a=new j(u(r,e,n,o),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(x),l(x,c,"Generator"),l(x,i,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=N,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;k(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:N(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),v}},t}(t.exports);try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}));var Wt=function(t){var r=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*r.r+.587*r.g+.114*r.b},Xt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",r=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return r&&4===r.length?"#"+("0"+parseInt(r[1],10).toString(16)).slice(-2)+("0"+parseInt(r[2],10).toString(16)).slice(-2)+("0"+parseInt(r[3],10).toString(16)).slice(-2):t},Yt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",r=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t),e=r?t:Xt(t),n=Wt(e)<155?"light":"dark";return n};c.shape({"sketches-host":c.string,"cdn-name":c.string,"cdn-image":c.string}),c.shape({headline:c.string,"last-published-at":c.number,subheadline:c.string});var Jt=function(r){var e=r.color,n=void 0===e?"#333":e;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},t.createElement("g",{fill:"none",fillRule:"nonzero"},t.createElement("path",{d:"M17 20H-7V-4h24z",opacity:".384"}),t.createElement("path",{stroke:n,d:"M9 16L1 8l8-8"})))};Jt.propTypes={color:c.string};var Kt=function(r){var e=r.color,n=void 0===e?"#333":e;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 10 16"},t.createElement("g",{fill:"none",fillRule:"nonzero"},t.createElement("path",{d:"M-7-4h24v24H-7z",opacity:".384"}),t.createElement("path",{stroke:n,d:"M1 0l8 8-8 8"})))};Kt.propTypes={color:c.string};var Zt=e(),Qt=function(){return r(Zt)},tr={"./slider-arrow.m.css":{arrow:"slider-arrow-m_arrow__1eBUU","left-arrow-dark":"slider-arrow-m_left-arrow-dark__3mTJS","right-arrow-dark":"slider-arrow-m_right-arrow-dark__3hWZe","left-arrow-light":"slider-arrow-m_left-arrow-light__2ipUK","right-arrow-light":"slider-arrow-m_right-arrow-light__3omMU","left-arrow-ltr":"slider-arrow-m_left-arrow-ltr__1ngNF","right-arrow-ltr":"slider-arrow-m_right-arrow-ltr__2svWX","left-arrow-rtl":"slider-arrow-m_left-arrow-rtl__2ynyn","right-arrow-rtl":"slider-arrow-m_right-arrow-rtl__1GjPz"}},rr=function(r){var e=r.selectedIndex,n=r.previousClick,o=r.nextClick,i=r.noOfItems,a=r.perView,c=r.languageDirection;if(i<1)return null;var l=Qt()||{},u=Yt(l.theme),s="rtl"===c?"left-arrow-rtl":"left-arrow-ltr",f="rtl"===c?"right-arrow-rtl":"right-arrow-ltr";return t.createElement(t.Fragment,null,0!==e?t.createElement("button",{onClick:n,className:("left-arrow ".concat(s)?"left-arrow ".concat(s)+" ":"")+Bt("arrow left-arrow-".concat(u," ").concat(s),tr)},t.createElement(Jt,{color:"dark"===u?"#fff":"#333"})):null,e<i-1&&!(e>=i-a)?t.createElement("button",{onClick:o,className:("right-arrow ".concat(f)?"right-arrow ".concat(f)+" ":"")+Bt("arrow right-arrow-".concat(u," ").concat(f),tr)},t.createElement(Kt,{color:"dark"===u?"#fff":"#333"})):null)};rr.propTypes={noOfItems:l,perView:l,slideIndicator:u,previousClick:s,nextClick:s,selectedIndex:l,languageDirection:u};var er={"./slider-indicator.m.css":{indicators:"slider-indicator-m_indicators__3MNXc",indicator:"slider-indicator-m_indicator__gTv3x","indicator-button":"slider-indicator-m_indicator-button__1e82r","indicator-dots":"slider-indicator-m_indicator-dots__2TR3H","indicator-dots-dark":"slider-indicator-m_indicator-dots-dark__sGrev","indicator-dots-light":"slider-indicator-m_indicator-dots-light__2nPn-","indicator-dashes":"slider-indicator-m_indicator-dashes__DyNCE","indicator-dashes-dark":"slider-indicator-m_indicator-dashes-dark__VrqJI","indicator-dashes-light":"slider-indicator-m_indicator-dashes-light__34ESx"}},nr=function(r){var e=r.indicatorItems,n=r.indicatorClick,o=r.selectedIndex,i=r.indicatorType;if(e.length<1)return null;var a=Qt()||{},c=Yt(a.theme);return t.createElement("ul",{className:"slider-indicators slider-indicator-m_indicators__3MNXc"},e.map((function(r,e){return t.createElement("li",{key:"slider-".concat(e),className:"indicator slider-indicator-m_indicator__gTv3x",onClick:function(t){return n(t,e)}},t.createElement("button",{"aria-pressed":o===e?"true":"false",className:("indicator-button indicator-".concat(i)?"indicator-button indicator-".concat(i)+" ":"")+Bt("indicator-button indicator-".concat(i," indicator-").concat(i,"-").concat(c),er)}))})))};nr.propTypes={indicatorItems:f,perView:l,indicatorType:u,indicatorClick:s,selectedIndex:l};var or=function(t,r,e,n){var o,i,a,c,l=Math.floor(e.current.scrollWidth*(t/n)),u="rtl"===r?-1*l:l;o=e.current,i=u,a=!0,o.scrollTo((v(c={},a?"left":"top",i),v(c,"behavior","smooth"),c))},ir=function(r){var e=r.children,c=r.isArrow,l=r.interval,u=r.isInfinite,s=r.pauseOnHover,f=r.perView,h=r.slideIndicator,d=p(n(0),2),v=d[0],y=d[1],g=p(n(!1),2),m=g[0],_=g[1],w=a((function(t){return Ut(t,["qt","config","language","direction"],"ltr")})),b=e?e.length:0,x=o(null),E=e.length-(f-1),j=e.slice(0,E);i((function(){if(u&&!m){var t=setInterval((function(){O()}),l);return function(){clearInterval(t)}}}),[u,m]);var O=function(){y((function(t){var r=t===b-f?0:t+1;return or(r,w,x,b),r}))},I=function(){s&&_(!m)};return t.createElement("div",{className:"scroll-snap-container"},t.createElement("div",{className:"scroll-snap-wrapper scroll-snap-m_wrapper__1Rz9v",onMouseEnter:I,onMouseLeave:I},t.createElement("div",{ref:x,className:"scroll-snap-carousel scroll-snap-m_carousel__2m3cg"},e),c&&t.createElement(rr,{noOfItems:b,perView:f,previousClick:function(t){t.preventDefault(),t.stopPropagation();var r=v-1;y(r),or(r,w,x,b)},nextClick:function(t){if(t.preventDefault(),t.stopPropagation(),v<b){var r=v+1;y(r),or(r,w,x,b)}},selectedIndex:v,languageDirection:w})),e.length>f&&"none"!==h&&t.createElement(nr,{indicatorItems:j,indicatorClick:function(t,r){t.preventDefault(),t.stopPropagation(),y(r),or(r,w,x,b)},selectedIndex:v,indicatorType:h}))};ir.defaultProps={isArrow:!0,isInfinite:!1,interval:4e3,pauseOnHover:!0,perView:1,slideIndicator:"dots"},ir.propTypes={children:f.isRequired,isArrow:h,isInfinite:h,interval:l,pauseOnHover:h,perView:l,slideIndicator:u};export{ir as ScrollSnap};
@@ -0,0 +1 @@
1
+ import t,{useContext as e,createContext as r}from"react";import{Link as n}from"@quintype/components";import o from"prop-types";import"react-timeago";var i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function a(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function c(t){var e={exports:{}};return t(e,e.exports),e.exports}var s=c((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),u=a(c((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=s)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var i=Object.keys(e),a=r||{},c=a.handleMissingStyleName,s=void 0===c?n.default.handleMissingStyleName:c,u=a.autoResolveMultipleImports,l=void 0===u?n.default.autoResolveMultipleImports:u;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var i=t.split("."),a=i[0],c=i[1],s=r||n.default.handleMissingStyleName;return c?e[a]?e[a][c]?e[a][c]:o("CSS module does not exist: "+c,s):o("CSS module import does not exist: "+a,s):o("Invalid style name: "+t,s)}(t,e,s);if(0===i.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(i.length>1){if(!l)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var i=r||n.default.handleMissingStyleName,a=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(a.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+a.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+a[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===a.length?o("Could not resolve the styleName '"+t+"'.",i):e[a[0]][t]}(t,e,s)}var r=e[i[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",s)})).filter((function(t){return t})).join(" "):""}}))),l=Array.isArray,f="object"==typeof i&&i&&i.Object===Object&&i,h="object"==typeof self&&self&&self.Object===Object&&self,p=f||h||Function("return this")(),d=p.Symbol,v=Object.prototype,y=v.hasOwnProperty,m=v.toString,g=d?d.toStringTag:void 0;var _=function(t){var e=y.call(t,g),r=t[g];try{t[g]=void 0;var n=!0}catch(t){}var o=m.call(t);return n&&(e?t[g]=r:delete t[g]),o},b=Object.prototype.toString;var w=function(t){return b.call(t)},j=d?d.toStringTag:void 0;var O=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":j&&j in Object(t)?_(t):w(t)};var x=function(t){return null!=t&&"object"==typeof t};var L=function(t){return"symbol"==typeof t||x(t)&&"[object Symbol]"==O(t)},S=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,E=/^\w*$/;var N=function(t,e){if(l(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!L(t))||(E.test(t)||!S.test(t)||null!=e&&t in Object(e))};var T=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var k,C=function(t){if(!T(t))return!1;var e=O(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},P=p["__core-js_shared__"],I=(k=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+k:"";var F=function(t){return!!I&&I in t},M=Function.prototype.toString;var z=function(t){if(null!=t){try{return M.call(t)}catch(t){}try{return t+""}catch(t){}}return""},R=/^\[object .+?Constructor\]$/,A=Function.prototype,G=Object.prototype,$=A.toString,B=G.hasOwnProperty,U=RegExp("^"+$.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Y=function(t){return!(!T(t)||F(t))&&(C(t)?U:R).test(z(t))};var q=function(t,e){return null==t?void 0:t[e]};var D=function(t,e){var r=q(t,e);return Y(r)?r:void 0},K=D(Object,"create");var Q=function(){this.__data__=K?K(null):{},this.size=0};var V=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},W=Object.prototype.hasOwnProperty;var H=function(t){var e=this.__data__;if(K){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return W.call(e,t)?e[t]:void 0},J=Object.prototype.hasOwnProperty;var X=function(t){var e=this.__data__;return K?void 0!==e[t]:J.call(e,t)};var Z=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=K&&void 0===e?"__lodash_hash_undefined__":e,this};function tt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}tt.prototype.clear=Q,tt.prototype.delete=V,tt.prototype.get=H,tt.prototype.has=X,tt.prototype.set=Z;var et=tt;var rt=function(){this.__data__=[],this.size=0};var nt=function(t,e){return t===e||t!=t&&e!=e};var ot=function(t,e){for(var r=t.length;r--;)if(nt(t[r][0],e))return r;return-1},it=Array.prototype.splice;var at=function(t){var e=this.__data__,r=ot(e,t);return!(r<0)&&(r==e.length-1?e.pop():it.call(e,r,1),--this.size,!0)};var ct=function(t){var e=this.__data__,r=ot(e,t);return r<0?void 0:e[r][1]};var st=function(t){return ot(this.__data__,t)>-1};var ut=function(t,e){var r=this.__data__,n=ot(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function lt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}lt.prototype.clear=rt,lt.prototype.delete=at,lt.prototype.get=ct,lt.prototype.has=st,lt.prototype.set=ut;var ft=lt,ht=D(p,"Map");var pt=function(){this.size=0,this.__data__={hash:new et,map:new(ht||ft),string:new et}};var dt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var vt=function(t,e){var r=t.__data__;return dt(e)?r["string"==typeof e?"string":"hash"]:r.map};var yt=function(t){var e=vt(this,t).delete(t);return this.size-=e?1:0,e};var mt=function(t){return vt(this,t).get(t)};var gt=function(t){return vt(this,t).has(t)};var _t=function(t,e){var r=vt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function bt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}bt.prototype.clear=pt,bt.prototype.delete=yt,bt.prototype.get=mt,bt.prototype.has=gt,bt.prototype.set=_t;var wt=bt;function jt(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=t.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(jt.Cache||wt),r}jt.Cache=wt;var Ot=jt;var xt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/\\(\\)?/g,St=function(t){var e=Ot(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(xt,(function(t,r,n,o){e.push(n?o.replace(Lt,"$1"):r||t)})),e}));var Et=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},Nt=d?d.prototype:void 0,Tt=Nt?Nt.toString:void 0;var kt=function t(e){if("string"==typeof e)return e;if(l(e))return Et(e,t)+"";if(L(e))return Tt?Tt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var Ct=function(t){return null==t?"":kt(t)};var Pt=function(t,e){return l(t)?t:N(t,e)?[t]:St(Ct(t))};var It=function(t){if("string"==typeof t||L(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Ft=function(t,e){for(var r=0,n=(e=Pt(e,t)).length;null!=t&&r<n;)t=t[It(e[r++])];return r&&r==n?t:void 0};var Mt=function(t,e,r){var n=null==t?void 0:Ft(t,e);return void 0===n?r:n},zt=r();c((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,i=Object.create(o.prototype),a=new N(n||[]);return i._invoke=function(t,e,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=L(a,r);if(c){if(c===v)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var s=l(t,e,r);if("normal"===s.type){if(n=r.done?d:h,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=d,r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={};function y(){}function m(){}function g(){}var _={};s(_,i,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==r&&n.call(w,i)&&(_=w);var j=g.prototype=y.prototype=Object.create(_);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function r(o,i,a,c){var s=l(t[o],t,i);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==typeof f&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(f).then((function(t){u.value=t,a(u)}),(function(t){return r("throw",t,a,c)}))}c(s.arg)}var o;this._invoke=function(t,n){function i(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(i,i):i()}}function L(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=l(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function T(t){if(t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return m.prototype=g,s(j,"constructor",g),s(g,"constructor",m),m.displayName=s(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,s(t,c,"GeneratorFunction")),t.prototype=Object.create(j),t},t.awrap=function(t){return{__await:t}},O(x.prototype),s(x.prototype,a,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(j),s(j,c,"Generator"),s(j,i,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=T,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(E),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),E(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;E(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var Rt=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},At=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t};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 Gt={"./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"}},$t=function(r){var o=r.story,i=r.template,a=void 0===i?"":i,c=r.borderColor,s=void 0===c?"":c,l=r.isLightTheme,f=e(zt)||{},h=Mt(f,["showSection"],!0),p=Mt(f,["sectionTagTemplate"]),d=Mt(o,["sections",0],""),v=["borderBottomSml","borderLeft","solid"],y=d?d["section-url"]:"/",m="solid"===a||"solid"===p?s:f.theme,g=l?"light":function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t)?t:At(t);return Rt(e)<155?"light":"dark"}(m),_=At(s),b=v.includes(a)?"section section-".concat(a):"section";return p&&(b=v.includes(p)?"section section-".concat(p):"section"),h?t.createElement(n,{href:y,className:"arrow-component arr--section-name","aria-label":"section-name"},t.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:b.includes("section-solid")?_:""},className:"section-tag arrow-component "+u("".concat(g," ").concat(b),Gt)},b.includes("section-borderLeft")&&t.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:_}}),d["display-name"]||d.name,t.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===a?"":_)}}))):null};$t.propTypes={story:o.object.isRequired,template:o.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:o.string,solidBorderColor:o.string,isLightTheme:o.bool},$t.defaultProps={template:"",isLightTheme:!1};export{$t as SectionTag};
@@ -0,0 +1 @@
1
+ import e,{createContext as t,useContext as r,useState as o,useEffect as n,useRef as a}from"react";import i,{PropTypes as l}from"prop-types";import{Link as c,ResponsiveImage as s,ResponsiveHeroImage as u,LinkBase as d,collectionToStories as m}from"@quintype/components";import{connect as h,useSelector as f,useDispatch as p}from"react-redux";import g from"react-timeago";import v from"react-dom";var _="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function b(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function y(e){var t={exports:{}};return e(t,t.exports),t.exports}var w=y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};t.default=r})),x=b(y((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=w)&&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(" "):""}}))),E=Array.isArray,L="object"==typeof _&&_&&_.Object===Object&&_,T="object"==typeof self&&self&&self.Object===Object&&self,z=L||T||Function("return this")(),k=z.Symbol,N=Object.prototype,j=N.hasOwnProperty,S=N.toString,C=k?k.toStringTag:void 0;var O=function(e){var t=j.call(e,C),r=e[C];try{e[C]=void 0;var o=!0}catch(e){}var n=S.call(e);return o&&(t?e[C]=r:delete e[C]),n},I=Object.prototype.toString;var A=function(e){return I.call(e)},M=k?k.toStringTag:void 0;var R=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":M&&M in Object(e)?O(e):A(e)};var P=function(e){return null!=e&&"object"==typeof e};var B=function(e){return"symbol"==typeof e||P(e)&&"[object Symbol]"==R(e)},H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;var D=function(e,t){if(E(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!B(e))||(F.test(e)||!H.test(e)||null!=t&&e in Object(t))};var W=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};var U,q=function(e){if(!W(e))return!1;var t=R(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},G=z["__core-js_shared__"],Z=(U=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||""))?"Symbol(src)_1."+U:"";var V=function(e){return!!Z&&Z in e},Y=Function.prototype.toString;var J=function(e){if(null!=e){try{return Y.call(e)}catch(e){}try{return e+""}catch(e){}}return""},$=/^\[object .+?Constructor\]$/,K=Function.prototype,Q=Object.prototype,X=K.toString,ee=Q.hasOwnProperty,te=RegExp("^"+X.call(ee).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var re=function(e){return!(!W(e)||V(e))&&(q(e)?te:$).test(J(e))};var oe=function(e,t){return null==e?void 0:e[t]};var ne=function(e,t){var r=oe(e,t);return re(r)?r:void 0},ae=ne(Object,"create");var ie=function(){this.__data__=ae?ae(null):{},this.size=0};var le=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ce=Object.prototype.hasOwnProperty;var se=function(e){var t=this.__data__;if(ae){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return ce.call(t,e)?t[e]:void 0},ue=Object.prototype.hasOwnProperty;var de=function(e){var t=this.__data__;return ae?void 0!==t[e]:ue.call(t,e)};var me=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ae&&void 0===t?"__lodash_hash_undefined__":t,this};function he(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var o=e[t];this.set(o[0],o[1])}}he.prototype.clear=ie,he.prototype.delete=le,he.prototype.get=se,he.prototype.has=de,he.prototype.set=me;var fe=he;var pe=function(){this.__data__=[],this.size=0};var ge=function(e,t){return e===t||e!=e&&t!=t};var ve=function(e,t){for(var r=e.length;r--;)if(ge(e[r][0],t))return r;return-1},_e=Array.prototype.splice;var be=function(e){var t=this.__data__,r=ve(t,e);return!(r<0)&&(r==t.length-1?t.pop():_e.call(t,r,1),--this.size,!0)};var ye=function(e){var t=this.__data__,r=ve(t,e);return r<0?void 0:t[r][1]};var we=function(e){return ve(this.__data__,e)>-1};var xe=function(e,t){var r=this.__data__,o=ve(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=pe,Ee.prototype.delete=be,Ee.prototype.get=ye,Ee.prototype.has=we,Ee.prototype.set=xe;var Le=Ee,Te=ne(z,"Map");var ze=function(){this.size=0,this.__data__={hash:new fe,map:new(Te||Le),string:new fe}};var ke=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};var Ne=function(e,t){var r=e.__data__;return ke(t)?r["string"==typeof t?"string":"hash"]:r.map};var je=function(e){var t=Ne(this,e).delete(e);return this.size-=t?1:0,t};var Se=function(e){return Ne(this,e).get(e)};var Ce=function(e){return Ne(this,e).has(e)};var Oe=function(e,t){var r=Ne(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this};function Ie(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])}}Ie.prototype.clear=ze,Ie.prototype.delete=je,Ie.prototype.get=Se,Ie.prototype.has=Ce,Ie.prototype.set=Oe;var Ae=Ie;function Me(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var o=arguments,n=t?t.apply(this,o):o[0],a=r.cache;if(a.has(n))return a.get(n);var i=e.apply(this,o);return r.cache=a.set(n,i)||a,i};return r.cache=new(Me.Cache||Ae),r}Me.Cache=Ae;var Re=Me;var Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Be=/\\(\\)?/g,He=function(e){var t=Re(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Pe,(function(e,r,o,n){t.push(o?n.replace(Be,"$1"):r||e)})),t}));var Fe=function(e,t){for(var r=-1,o=null==e?0:e.length,n=Array(o);++r<o;)n[r]=t(e[r],r,e);return n},De=k?k.prototype:void 0,We=De?De.toString:void 0;var Ue=function e(t){if("string"==typeof t)return t;if(E(t))return Fe(t,e)+"";if(B(t))return We?We.call(t):"";var r=t+"";return"0"==r&&1/t==-Infinity?"-0":r};var qe=function(e){return null==e?"":Ue(e)};var Ge=function(e,t){return E(e)?e:D(e,t)?[e]:He(qe(e))};var Ze=function(e){if("string"==typeof e||B(e))return e;var t=e+"";return"0"==t&&1/e==-Infinity?"-0":t};var Ve=function(e,t){for(var r=0,o=(t=Ge(t,e)).length;null!=e&&r<o;)e=e[Ze(t[r++])];return r&&r==o?e:void 0};var Ye=function(e,t,r){var o=null==e?void 0:Ve(e,t);return void 0===o?r:o},Je=t(),$e=function(){return r(Je)};function Ke(e){return(Ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}y((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 S()}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(j([])));w&&w!==r&&o.call(w,a)&&(b=w);var x=_.prototype=g.prototype=Object.create(b);function E(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 k(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 j(e){if(e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function r(){for(;++n<e.length;)if(o.call(e,n))return r.value=e[n],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}return{next:S}}function S(){return{value:t,done:!0}}return v.prototype=_,c(x,"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(x),e},e.awrap=function(e){return{__await:e}},E(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()}))},E(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(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 o=t.pop();if(o in e)return r.value=o,r.done=!1,r}return r.done=!0,r}},e.values=j,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(k),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(o,n){return l.type="throw",l.arg=e,r.next=o,n&&(r.method="next",r.arg=t),!!n}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,p):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),k(r),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var o=r.completion;if("throw"===o.type){var n=o.arg;k(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,o){return this.delegate={iterator:j(e),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}));var Qe=function(e,t,r,o){var n=-1,a=null==e?0:e.length;for(o&&a&&(r=e[++n]);++n<a;)r=t(r,e[n],n,e);return r};var Xe=function(e){return function(t){return null==e?void 0:e[t]}}({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),et=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tt=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var rt=function(e){return(e=qe(e))&&e.replace(et,Xe).replace(tt,"")},ot=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var nt=function(e){return e.match(ot)||[]},at=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var it=function(e){return at.test(e)},lt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ct="["+lt+"]",st="\\d+",ut="[\\u2700-\\u27bf]",dt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+lt+st+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",ht="(?:\\ud83c[\\udde6-\\uddff]){2}",ft="[\\ud800-\\udbff][\\udc00-\\udfff]",pt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",gt="(?:"+dt+"|"+mt+")",vt="(?:"+pt+"|"+mt+")",_t="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",bt="[\\ufe0e\\ufe0f]?"+_t+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",ht,ft].join("|")+")[\\ufe0e\\ufe0f]?"+_t+")*"),yt="(?:"+[ut,ht,ft].join("|")+")"+bt,wt=RegExp([pt+"?"+dt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[ct,pt,"$"].join("|")+")",vt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[ct,pt+gt,"$"].join("|")+")",pt+"?"+gt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",pt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",st,yt].join("|"),"g");var xt=function(e){return e.match(wt)||[]};var Et=function(e,t,r){return e=qe(e),void 0===(t=r?void 0:t)?it(e)?xt(e):nt(e):e.match(t)||[]},Lt=RegExp("['’]","g");var Tt=function(e){return function(t){return Qe(Et(rt(t).replace(Lt,"")),e,"")}},zt=Tt((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),kt=Tt((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}));function Nt(e,t,r,o,n){var a,i=Ye(n,["localizedPublishTime",r])||r;return"hour"===t&&e>23||-1!==["day","week","month","year"].indexOf(t)?function(e,t,r,o){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=n.showTime,i=void 0!==a&&a,l=n.isTimeFirst,c=void 0!==l&&l,s=n.isUpperCase,u=void 0!==s&&s,d=n.disableMeridiem,m=void 0!==d&&d,h=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],f=new Date(o),p=f.getDate().toString().padStart(2,0),g=h[f.getMonth()],v=g;u&&(v=zt(g));var _,b=f.getFullYear(),y=n.localizedMeridiem,w=n.localizedMonths,x=n.direction,E=void 0===x?"ltr":x,L=jt(o),T=L;if(w&&(v=Ye(w,[kt(g)])||g),y){var z=L.includes("am"),k=y.am,N=void 0===k?"am":k,j=y.pm,S=void 0===j?"pm":j;T=(z?L.replace("am",N):L.replace("pm",S))||L}return"rtl"===E?(_=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=Ye(n,["localizedPublishTime","".concat(t,"s")])||"".concat(t,"s"),"".concat(e," ").concat(a," ").concat(i)):(a=Ye(n,["localizedPublishTime",t])||t,"".concat(e," ").concat(a," ").concat(i," "))}function jt(e){var t=new Date(e),r=t.getHours(),o=t.getMinutes(),n=r>=12?"pm":"am";return(r=(r%=12)||12)+":"+(o=o<10?"0"+o:o)+" "+n}var St=function(e){var t=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}}(e);return.299*t.r+.587*t.g+.114*t.b},Ct=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},Ot={mobile:767,tablet:1024},It=function(e){var t=Ye(Ot,e);return!!t&&Ye(global,"document.documentElement.clientWidth")<=t},At=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",t=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e),r=t?e:Ct(e),o=St(r)<155?"light":"dark";return o},Mt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.magazineSlug,o=void 0===r?"":r,n=t.isArchivePage,a=void 0!==n&&n;if(a)return"/magazine/archive/".concat(o);if(o)return"/magazine/".concat(o,"/").concat(e.slug);var i="section"===e.template;if(i){var l=Ye(e,["metadata","section","0","id"],""),c=t.sections,s=c&&c.find((function(e){return e.id===l}));return s?s["section-url"]:"/"}return"/collection/".concat(e.slug)};function Rt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e["story-template"],r=void 0===t?"":t,o=e.metadata,n=void 0===o?{}:o;return"news-elsewhere"===r?Ye(n,["reference-url"],""):""}i.shape({"sketches-host":i.string,"cdn-name":i.string,"cdn-image":i.string}),i.shape({headline:i.string,"last-published-at":i.number,subheadline:i.string});var Pt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"news-elsewhere"===Ye(e,["story-template"])?Ye(e,["metadata","reference-url"],""):e.url||t},Bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(r)return r;var o=t.magazineSlug,n=void 0===o?"":o,a=t.isArchivePage,i=void 0!==a&&a;return i?"/magazine/archive/".concat(n):n?"/magazine/".concat(n,"/").concat(e.slug):e?Mt(e,t):"/"},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"}},Ft=function(t){var r=t.collectionNameBorderColor,o=void 0===r?"":r,n=t.collection,a=t.config,i=t.collectionNameTemplate,l=t.headerLevel,s=t.customCollectionName,u=void 0===s?"":s,d=t.navigate,m=void 0===d||d,h=$e()||{},f=Ye(h,["showRowTitle"],!0),p=["borderLeft","borderBottom","crossLine","borderBottomFull"].includes(i)?" collection-".concat(i):"",g=m&&n&&Mt(n,a)||"",v=u||n.name||"",_=At(h.theme),b="h"+l,y=Ct(o),w=p.includes("collection-borderBottomFull")?"4px solid ".concat(y):"",E=It("mobile");return e.createElement(e.Fragment,null,f&&v&&e.createElement("div",{style:{borderBottom:w},"data-test-id":"collection-name",className:"arr--collection-name arrow-component "+x("collection ".concat(_," ").concat(p),Ht)},p.includes("collection-borderLeft")&&e.createElement("span",{className:"arr-collection-name-border-left collection-name-m_border-left__3_pYw",style:{color:y,fontSize:function(){if(E)switch(l){case"1":return"32px";case"2":return"24px";case"3":return"20px";case"4":return"18px";case"5":case"6":return"16px";default:return"20px"}switch(l){case"1":return"40px";case"2":return"32px";case"3":return"24px";case"4":return"20px";case"5":return"18px";case"6":return"16px";default:return"24px"}}()}}),g&&!g.includes(void 0)?e.createElement(c,{href:g,"aria-label":"collection-name"},e.createElement(b,null,v)):e.createElement(b,null,v),p.includes("collection-borderBottom")&&!p.includes("collection-borderBottomFull")?e.createElement("div",{className:"collection-name-m_border-bottom__1MnlV",style:{borderBottom:"4px solid ".concat(y)}}):""))};Ft.propTypes={collectionNameBorderColor:l.string,collection:l.object,config:l.object,collectionNameTemplate:l.oneOf(["","borderLeft","borderBottom","crossLine","borderBottomFull"]),headerLevel:l.string,customCollectionName:l.string,navigate:l.bool},Ft.defaultProps={collectionNameTemplate:"",headerLevel:"3"};var Dt=h((function(e){return{config:Ye(e,["qt","config"],{})}}))(Ft);function Wt(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 Ut(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 Wt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var qt=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"}))))};qt.propTypes={width:i.object,height:i.object,iconColor:i.object};var Gt=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(qt,null)))},Zt=function(t){var r=t.slug;return r?e.createElement(c,{href:r,"aria-label":"image-fallback"},Gt()):Gt()};Zt.propTypes={slug:i.string};var Vt={"./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"}},Yt=function(t){var r=t.story,o=t.FullBleed,n=t.aspectRatio,a=t.defaultWidth,i=t.widths,l=t.isHorizontal,d=t.isHorizontalMobile,m=t.isHorizontalWithImageLast,h=t.defaultFallback,p=t.isStoryPageImage,g=($e()||{}).fallbackImageUrl,v=void 0===g?"":g,_=f((function(e){return Ye(e,["qt","config","showPlaceholder"])}))?"placeholder":"",b=o?"":"with-padding",y="hero-image";l?y="right-padding":m&&(y="left-padding");var w=d?"right-padding-mob":"",E=function(e){var t=Ut(e,2),r=t[0],o=t[1];return r>0&&o>0?o/r*100:0},L=Ut(n,2),T=L[0],z=L[1],k=void 0===z?T:z,N=It("mobile"),j=N?T:k,S=E(N?T:k),C=Ye(r,["hero-image-s3-key"])||Ye(r,["alternative","home","default","hero-image","hero-image-s3-key"]),O=function(){return C?e.createElement("figure",{style:{paddingTop:S+"%"},className:"arr--responsive-hero-image "+x("image ".concat(_),Vt)},e.createElement(u,{story:r,aspectRatio:j,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"}})):v?e.createElement("figure",{style:{paddingTop:S+"%"},className:"arr--responsive-hero-image "+x("image ".concat(_),Vt)},e.createElement(s,{slug:!p&&v,metadata:{},"aspect-ratio":j,defaultWidth:a,widths:i,imgParams:{auto:["format","compress"],fit:"max"},className:"",alt:"image-fallback"})):e.createElement(e.Fragment,null,h?e.createElement("div",{"data-test-id":"arr--fallback-hero-image",style:{paddingTop:S+"%"},className:"arr--fallback-hero-image "+x("image ".concat(_),Vt)},e.createElement(Zt,null)):null)};return r&&(p?e.createElement("div",{"data-test-id":"arr--hero-image",className:"arr--hero-image "+x("".concat(y," ").concat(b," ").concat(w),Vt)},O()):e.createElement(c,{"data-test-id":"arr--hero-image",href:Pt(r,"/".concat(r.slug)),externalLink:Rt(r),"aria-label":"fallback-hero-image",className:"arr--hero-image "+x("".concat(y," ").concat(b," ").concat(w),Vt)},O()))};Yt.propTypes={story:i.object.isRequired,FullBleed:i.bool,defaultWidth:i.number,widths:i.array,aspectRatio:i.array,isHorizontal:i.bool,isHorizontalMobile:i.bool,defaultFallback:i.bool,isHorizontalWithImageLast:i.bool},Yt.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 Jt=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"}))))))};Jt.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var $t=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("path",{fill:a,fillRule:"nonzero",d:"M12.71 4.364A6.54 6.54 0 000 6.545a6.54 6.54 0 0012.71 2.182h4.745v4.364h4.363V8.727H24V4.364H12.71zM6.544 8.727a2.181 2.181 0 110-4.362 2.181 2.181 0 010 4.362z",transform:"translate(0 5)"})))))};$t.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var Kt=function(t){var r=t.height,o=t.width,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:r,viewBox:"0 0 40 40",style:{position:"relative",top:i}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("g",{transform:"translate(8 8)"},e.createElement("path",{d:"M0 0H24V24H0z"}),e.createElement("g",{fill:a,fillRule:"nonzero",transform:"translate(3)"},e.createElement("path",{d:"M15.692 9h-.747V6c0-3.31-2.681-6-5.978-6C5.67 0 2.989 2.69 2.989 6v3h-.747A2.249 2.249 0 000 11.25v10.5A2.249 2.249 0 002.242 24h13.45a2.249 2.249 0 002.242-2.25v-10.5A2.249 2.249 0 0015.692 9zM4.982 6c0-2.206 1.787-4 3.985-4s3.985 1.794 3.985 4v3h-7.97V6z"}))))))};Kt.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var Qt=function(t){var r=t.width,o=t.height,n=t.color,a=void 0===n?"#D5D5D5":n,i=t.positionTop,l=void 0===i?"":i;return e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:o,viewBox:"0 0 40 40",style:{position:"relative",top:l}},e.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1"},e.createElement("g",null,e.createElement("path",{fill:a,d:"M20 26L12.946577 29.7082039 14.2936609 21.854102 8.5873218 16.2917961 16.4732885 15.145898 20 8 23.5267115 15.145898 31.4126782 16.2917961 25.7063391 21.854102 27.053423 29.7082039z"}))))};Qt.propTypes={height:i.string,width:i.string,color:i.string,positionTop:i.string};var Xt=function(t){var r=t.width,o=t.height,n=t.color,a=t.iconType,i=t.positionTop;switch(a){case"crown":return e.createElement(Jt,{width:r,height:o,color:n,positionTop:i});case"lock":return e.createElement(Kt,{width:r,height:o,color:n,positionTop:i});case"key":return e.createElement($t,{width:r,height:o,color:n,positionTop:i});default:return e.createElement(Qt,{width:r,height:o,color:n,positionTop:i})}};Xt.propTypes={width:i.string,height:i.string,color:i.string,iconType:i.string,positionTop:i.string};var er={"./headline.m.css":{wrapper:"headline-m_wrapper__3nUmh",headline:"headline-m_headline__3_NhV",dark:"headline-m_dark__en3hW",light:"headline-m_light__3lKJB"}},tr=function(t){var r=t.story,o=t.headerLevel,n=t.premiumStoryIconConfig,a=void 0===n?{}:n,i=t.isLink,l=$e()||{},s=a.iconColor,u=void 0===s?"#F7B500":s,d=a.iconStyle,m=void 0===d?"star":d,h=a.enablePremiumStoryIcon,f=void 0!==h&&h,p=Ye(r,["alternative","home","default","headline"]),g=f&&"subscription"===Ye(r,["access"]),v=p||r.headline,_="h"+o,b=At(l.theme),y=g?"wrapper":"",w="24px";return e.createElement("div",{"data-test-id":"headline",className:"arrow-component arr--headline "+x(y,er)},g&&e.createElement(Xt,{width:w,height:w,color:u,iconType:m,positionTop:function(){switch(parseInt(o)){case 1:return"-2px";case 2:return"2px";case 3:return"4px";case 4:return"5px";default:return"6px"}}()}),i?e.createElement(c,{href:Pt(r,"/".concat(r.slug)),externalLink:Rt(r),"aria-label":"headline"},e.createElement(_,{className:x("headline ".concat(b),er)},v)):e.createElement(_,{className:x("headline ".concat(b),er)},v))};tr.propTypes={story:i.object.isRequired,headerLevel:i.string,premiumStoryIconConfig:i.shape({iconColor:i.string,iconType:i.string,enablePremiumStoryIcon:i.bool}),isLink:i.bool},tr.defaultProps={headerLevel:"6",isLink:!0};var rr={"./subheadline.m.css":{subheadline:"subheadline-m_subheadline__3fd7z",dark:"subheadline-m_dark__28u00",light:"subheadline-m_light__2YUOe"}},or=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=$e()||{};if(!(c||Ye(u,["showSubheadline"],!0)))return null;var d=At(u.theme);return e.createElement("div",{style:{WebkitLineClamp:a},"data-test-id":"subheadline",className:("p-alt arr--sub-headline arrow-component ".concat(l)?"p-alt arr--sub-headline arrow-component ".concat(l)+" ":"")+x("subheadline ".concat(d),rr)},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))};or.propTypes={story:i.object.isRequired,lineClamp:i.number,truncateChars:i.number,clazzName:i.string,forceShowAtom:i.bool,showFullContent:i.bool},or.defaultProps={forceShowAtom:!1,showFullContent:!1};var nr={"./timestamp.m.css":{time:"timestamp-m_time__2v46i","time-wrapper":"timestamp-m_time-wrapper__3O2lM","bottom-fix":"timestamp-m_bottom-fix__1Zh8r",dark:"timestamp-m_dark__2lk9E",light:"timestamp-m_light__2QlrI"}},ar=function(t){var r=t.story,o=t.isBottom,n=t.config,a=void 0===n?{}:n,i=$e()||{},l=Ye(i,["showTime"],!0),c=r["last-published-at"]||r["first-published-at"],s=o?"bottom-fix":"",u=At(i.theme);return e.createElement(e.Fragment,null,l&&e.createElement("div",{"data-test-id":"publish-time",className:"time arr--publish-time "+x("time ".concat(u," ").concat(s),nr)},e.createElement("div",{className:"timestamp-m_time-wrapper__3O2lM"},function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.createElement(g,{date:t,formatter:function(e,t,n,a){return r(e,t,n,a,o)}})}(c,Nt,a))))};ar.propTypes={story:i.object,isBottom:i.bool,config:i.object};var ir={"./author.m.css":{author:"author-m_author__WRuLm","author-image":"author-m_author-image__3q2oc","author-name":"author-m_author-name__3WP-O","bottom-fix":"author-m_bottom-fix__223TT",prefix:"author-m_prefix__YSInK","rtl-image":"author-m_rtl-image__2nglD","ltr-image":"author-m_ltr-image__3bc0L",dark:"author-m_dark__2TTlp",light:"author-m_light__3y8_x"}},lr=function(t){var r=t.story,o=t.hideAuthorImage,n=t.isBottom,a=t.prefix,i=void 0===a?"":a,l=t.config,u=void 0===l?{}:l,d=$e()||{},m=Ye(d,["showAuthor"],!0),h=Ye(r,["authors","0"],""),f=h["avatar-url"],p=h["avatar-s3-key"],g=h.name,v=h.slug,_=n?"bottom-fix":"",b=At(d.theme),y=Ye(u,["mountAt"],""),w=function(t){return i?e.createElement("div",{className:"arr-author-prefix "+x("prefix ".concat(b),ir)},i):!o&&function(t){return f||p?e.createElement("div",{"data-test-id":"author-image",className:x("author-image ".concat(t,"-image"),ir)},e.createElement("figure",null,p?e.createElement(s,{slug:p,"aspect-ratio":[1,1],defaultWidth:400,imgParams:{auto:["format","compress"]},alt:g}):e.createElement("img",{src:f}))):null}(t)};return e.createElement(e.Fragment,null,m&&e.createElement(c,{href:"".concat(y,"/author/")+v,"aria-label":"author-name",className:"author-name arr-author-name arrow-component "+x("author ".concat(_),ir)},w("ltr"),e.createElement("div",{"data-test-id":"author-name",className:"author-name "+x("author-name ".concat(b),ir)},g||r["author-name"]),!i&&w("rtl")))};var cr=h((function(e){return{config:Ye(e,["qt","config"],{})}}))(lr);lr.propTypes={story:i.object.isRequired,hideAuthorImage:i.bool,isBottom:i.bool,prefix:i.string,config:i.object},lr.defaultProps={hideAuthorImage:!1,isBottom:!1,prefix:""};var sr={"./dot.m.css":{dark:"dot-m_dark__1Njxl",light:"dot-m_light__27IA3"}},ur=function(t){var r=t.width,o=void 0===r?"3px":r,n=t.height,a=void 0===n?"3px":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:x(l,sr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a,viewBox:"0 0 3 3"},e.createElement("circle",{cx:"87",cy:"9",r:"1",fill:"inherit",fillRule:"nonzero",transform:"translate(-86 -8)"})))};ur.propTypes={color:i.string,width:i.string,height:i.string};var dr={"./divider.m.css":{dark:"divider-m_dark__26FRi",light:"divider-m_light__w-7sy"}},mr=function(t){var r=t.width,o=void 0===r?"1":r,n=t.height,a=void 0===n?"10":n,i=t.color,l=void 0===i?"light":i;return e.createElement("div",{className:x(l,dr)},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:a},e.createElement("path",{fill:"inherit",d:"M0 0h1v10H0z"})))};mr.propTypes={color:i.string,width:i.string,height:i.string};var hr={"./read-time.m.css":{"read-time-wrapper":"read-time-m_read-time-wrapper__3GyC_","dot-indicator":"read-time-m_dot-indicator__3Sqh2",dark:"read-time-m_dark__3yRaK",light:"read-time-m_light__1GAZu"}},fr=function(t){var r=t.story,o=t.opts,n=void 0===o?{}:o,a=t.isLightTheme,i=void 0!==a&&a,l=$e()||{},c=Ye(l,["showReadTime"])||Ye(n,["showReadTime"],!0),s=Ye(r,["read-time"],0),u=i?"light":At(l.theme);if(!c||!s)return null;var d=Ye(n,["localizedTimeToRead"])||"min read";return e.createElement(e.Fragment,null,e.createElement("div",{"data-test-id":"read-time",className:"arrow-component arr--read-time "+x("read-time-wrapper ".concat(u),hr)},e.createElement("span",{className:"read-time-indicator read-time-m_dot-indicator__3Sqh2"},e.createElement(ur,{color:u})),e.createElement("span",null,s," ",d)))};fr.propTypes={story:i.shape({"read-time":i.number}),opts:i.shape({showReadTime:i.bool}),isLightTheme:i.bool};var pr={"./author-with-timestamp.m.css":{"author-time-wrapper":"author-with-timestamp-m_author-time-wrapper__G7_eI","author-image":"author-with-timestamp-m_author-image__24xrD",dot:"author-with-timestamp-m_dot__1LHXD","bottom-fix":"author-with-timestamp-m_bottom-fix__1rWGv",dash:"author-with-timestamp-m_dash__2L5XC"}},gr=function(t){var r=t.story,o=t.separator,n=t.isBottom,a=t.hideAuthorImage,i=t.prefix,l=t.config,c=void 0===l?{}:l,s=t.isLightTheme,u=$e()||{},d=Ye(c,["showAuthor"],Ye(u,["showAuthor"],!0)),m=Ye(u,["showTime"],!0),h=Ye(u,["showReadTime"],!0),f=n?"bottom-fix":"",p="dot"===o?"dot":"dash",g=s?"light":At(u.theme),v=function(){return m?e.createElement(e.Fragment,null,d&&e.createElement("span",{className:"arr-separator "+x("".concat(p),pr)},"divider"===o?e.createElement(mr,{color:g}):e.createElement(ur,{color:g})),e.createElement(ar,{story:r,config:c}),h&&e.createElement(fr,{story:r,opts:c,isLightTheme:s})):null};return e.createElement("div",{className:"arr--author-time "+x("author-time-wrapper ".concat(f),pr)},d?e.createElement(e.Fragment,null,e.createElement(cr,{story:r,isBottom:!0,hideAuthorImage:a,prefix:i}),v()):v())};gr.propTypes={story:i.object,separator:i.oneOf(["dot","divider"]),hideAuthorImage:i.bool,isBottom:i.bool,prefix:i.string,config:i.object,isLightTheme:i.bool},gr.defaultProps={separator:"dot",isBottom:!1,hideAuthorImage:!0,prefix:"",isLightTheme:!1};var vr={"./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"}},_r=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=$e()||{},u=Ye(s,["showSection"],!0),d=Ye(s,["sectionTagTemplate"]),m=Ye(r,["sections",0],""),h=["borderBottomSml","borderLeft","solid"],f=m?m["section-url"]:"/",p="solid"===n||"solid"===d?i:s.theme,g=l?"light":At(p),v=Ct(i),_=h.includes(n)?"section section-".concat(n):"section";return d&&(_=h.includes(d)?"section section-".concat(d):"section"),u?e.createElement(c,{href:f,className:"arrow-component arr--section-name","aria-label":"section-name"},e.createElement("div",{"data-test-id":"sectionTag",style:{backgroundColor:_.includes("section-solid")?v:""},className:"section-tag arrow-component "+x("".concat(g," ").concat(_),vr)},_.includes("section-borderLeft")&&e.createElement("span",{className:"section-m_border-left__2oUyp",style:{color:v}}),m["display-name"]||m.name,e.createElement("div",{className:"section-m_border-bottom__3cRoD",style:{backgroundColor:"".concat("solid"===n?"":v)}}))):null};_r.propTypes={story:i.object.isRequired,template:i.oneOf(["","borderBottomSml","borderLeft","solid"]),borderColor:i.string,solidBorderColor:i.string,isLightTheme:i.bool},_r.defaultProps={template:"",isLightTheme:!1};var br={"./storycard.m.css":{"author-timestamp-wrapper":"storycard-m_author-timestamp-wrapper__20yjp","default-card":"storycard-m_default-card__1-POn","horizontal-card":"storycard-m_horizontal-card___7afz","backgroung-img":"storycard-m_backgroung-img__1FMJT","content-overlap":"storycard-m_content-overlap__1yNHR","border-full":"storycard-m_border-full__1nhy7",light:"storycard-m_light__3EhXN",dark:"storycard-m_dark__2wCTq","border-bottom":"storycard-m_border-bottom__2_E-I","border-boxShadow":"storycard-m_border-boxShadow__2-k3Z","center-align":"storycard-m_center-align__1Sn8-","content-bottom":"storycard-m_content-bottom__1QHeC","content-full":"storycard-m_content-full__2zJmU","content-boxShadow":"storycard-m_content-boxShadow__2IAWZ","hero-image":"storycard-m_hero-image__1H3MB","right-padding":"storycard-m_right-padding__12-lQ","horizontal-mob":"storycard-m_horizontal-mob__17JG2",content:"storycard-m_content__1Q9vq","border-default":"storycard-m_border-default__PEZ1x",card:"storycard-m_card__KJwRa","horizontal-image-last":"storycard-m_horizontal-image-last__3o6LY"}},yr=function(t){var r,o=t.story,n=t.children,a=t.isHorizontal,i=t.aspectRatio,l=t.border,c=t.useImageAsBackground,s=t.bgImgContentOverlap,u=t.theme,d=t.borderColor,m=t.isHorizontalMobile,h=t.centerAlign,f=t.headerLevel,p=t.hideAuthorImage,g=t.prefix,v=t.config,_=t.isHorizontalWithImageLast;if(!o||(null==(r=o)||"object"===Ke(r)&&0===Object.entries(r).length&&r.constructor===Object||"string"==typeof r&&0===r.trim().length))return e.createElement("div",null);var b=["default","full","bottom","boxShadow"].includes(l)?"border-".concat(l):"",y="default-card";a?y="horizontal-card":_&&(y="horizontal-image-last");var w=c?"backgroung-img":"",E=s?"content-overlap":"",L=At(u),T=m?"horizontal-mob":"",z=e.createElement(wr,{story:o,aspectRatio:i,border:l,isHorizontalMobile:m,isHorizontal:a,centerAlign:h,headerLevel:f,borderColor:d,hideAuthorImage:p,prefix:g,config:v,isHorizontalWithImageLast:_});return e.createElement("div",{"data-test-id":"story-card",style:{backgroundColor:u,color:L},className:"arr--story-card "+x("card ".concat(y," ").concat(b," ").concat(L," ").concat(w," ").concat(E," ").concat(T),br)},n||z)},wr=function(t){var r=t.story;t.border;var o=t.isHorizontal,n=t.aspectRatio,a=t.headerLevel,i=t.isHorizontalMobile,l=void 0!==i&&i,c=t.centerAlign,s=void 0!==c&&c,u=t.borderColor,d=t.hideAuthorImage,m=t.prefix,h=t.isHorizontalWithImageLast,f=t.config,p=s?"center-align":"",g=Ct(u),v=f.localizationConfig,_=void 0===v?{}:v;return e.createElement(e.Fragment,null,o?e.createElement(Yt,{story:r,isHorizontal:!0,isHorizontalMobile:l,aspectRatio:n}):h?e.createElement(Yt,{story:r,isHorizontalWithImageLast:!0,isHorizontalMobile:l,aspectRatio:n}):e.createElement(Yt,{story:r,isHorizontalMobile:l,aspectRatio:n}),e.createElement("div",{className:"arr--story-content "+x("content ".concat(p),br)},e.createElement(_r,{story:r,borderColor:g}),e.createElement(tr,{story:r,headerLevel:a,premiumStoryIconConfig:f}),e.createElement(gr,{config:_,story:r,isBottom:!0,prefix:m,hideAuthorImage:d}),e.createElement(or,{story:r})))};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}wr.propTypes={story:i.object.isRequired,border:i.oneOfType([i.string]),isBottom:i.bool,isHorizontal:i.bool,aspectRatio:i.oneOfType([i.array]),isHorizontalMobile:i.bool,centerAlign:i.bool,headerLevel:i.string,borderColor:i.string,hideAuthorImage:i.bool,prefix:i.string,config:i.object,isHorizontalWithImageLast:i.bool},yr.propTypes={story:i.object.isRequired,children:i.node,isHorizontal:i.bool,border:i.oneOfType([i.string]),useImageAsBackground:i.bool,bgImgContentOverlap:i.bool,aspectRatio:i.oneOfType([i.array]),theme:i.string,isHorizontalMobile:i.bool,centerAlign:i.bool,headerLevel:i.string,borderColor:i.string,hideAuthorImage:i.bool,prefix:i.string,config:i.object,isHorizontalWithImageLast:i.bool},yr.defaultProps={isHorizontal:!1,isHorizontalMobile:!1,border:"default",theme:"",centerAlign:!1,borderColor:"",isHorizontalWithImageLast:!1};var Er={"./load-more.m.css":{button:"load-more-m_button__1mmf1",default:"load-more-m_default__2_k4V",dark:"load-more-m_dark__3dfzb",light:"load-more-m_light__ePZQI"}};function Lr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,o)}return r}function Tr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(r),!0).forEach((function(t){xr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var zr=function(t){var r=t.config,o=void 0===r?{}:r,n=t.collection,a=t.template,i=void 0===a?"SubsequentLoadCount":a,l=t.onClick,c=t.navigate,s=t.qtConfig,u=o.showButton,m=void 0===u||u,h=o.buttonText,f=void 0===h?"Read More":h,p=o.theme,g=void 0===p?"":p,v=o.customUrlPath,_=void 0===v?"":v;if(!m)return null;var b=At(g),y=_?"/".concat(_):Bt(n,Tr(Tr({},s),o));return"SubsequentLoadCount"===i?e.createElement("div",{onClick:l,"data-test-id":"load-more",className:"arr--button "+x("button ".concat(b," default"),Er)},f):e.createElement(d,{href:y,navigateTo:c,"data-test-id":"load-more","aria-label":"load-more"},e.createElement("div",{className:"arr--button "+x("button ".concat(b," default"),Er)},f))};zr.propTypes={collection:i.object,template:i.string,config:i.object,onClick:i.func,navigate:i.func,qtConfig:i.object};var kr="undefined"!=typeof window,Nr=function(){return Promise.resolve(kr&&!(void 0!==window.IntersectionObserver)&&import("intersection-observer"))},jr={root:null,rootMargin:"200px 0px 0px 0px"},Sr=function(e,t){e.filter((function(e){return e.isIntersecting})).forEach((function(e){e.target._onIntersect(t)}))},Cr=function(e){var t=e.ref,r=Ut(o(!1),2),a=r[0],i=r[1];return n((function(){var e=t.current;if(e)return Nr().then((function(e){if(kr)return new window.IntersectionObserver(Sr,jr)})).then((function(t){return t.observe(e)})),e._onIntersect=function(t){i(!0),t.unobserve(e)},function(){return e._isSubscribed=!1}}),[t]),a},Or={__html:""},Ir="undefined"==typeof window,Ar=function(t){var r=t.children,o=a(null),i=Cr({ref:o});return n((function(){var e=o.current;if(i){var t=e.hasChildNodes()?"hydrate":"render";v[t](r,e)}}),[r,i]),Ir?e.createElement("div",{ref:o},r):e.createElement("div",{ref:o,suppressHydrationWarning:!0,dangerouslySetInnerHTML:Or})};Ar.propTypes={children:i.element};var Mr=function(t){var r=t.collection,o=t.componentName,n=t.offset,a=t.limit;return e.createElement("div",{id:"ELM-".concat(r.id),"data-collection-slug":r.slug,"data-component-name":o,"data-collection-offset":n,"data-collection-limit":a})};Mr.propTypes={collection:i.shape({id:i.string,slug:i.string}),componentName:i.string,offset:i.number,limit:i.number};var Rr,Pr={"./six-col-six-stories.m.css":{viewports:'"../../../../assets/stylesheets/viewports.m.css"',mobile:"768px",desktop:"1025px",wrapper:"six-col-six-stories-m_wrapper__2k2bf","row-wrapper":"six-col-six-stories-m_row-wrapper__2YNUO","card-wrapper":"six-col-six-stories-m_card-wrapper__1B5FM","vertical-border":"six-col-six-stories-m_vertical-border__3iwon",light:"six-col-six-stories-m_light__2wu4e",dark:"six-col-six-stories-m_dark__2y_No","content-wrapper":"six-col-six-stories-m_content-wrapper__3n5nT"}},Br=function(t){var r=t.collection,o=void 0===r?{}:r,n=t.config,a=void 0===n?{}:n,i=t.getMoreStories,l=t.isLoadMoreVisible,c=t.isLoading,s=t.isolatedLoadMore,u=m(o);if(!u.length)return null;var d=a.collectionNameBorderColor,h=void 0===d?"":d,g=a.borderColor,v=void 0===g?"":g,_=a.theme,b=void 0===_?"":_,y=a.collectionNameTemplate,w=void 0===y?"":y,E=a.footerButton,L=void 0===E?"":E,T=a.border,z=void 0===T?"":T,k=a.localizationConfig,N=void 0===k?{}:k,j=At(b),S="fullBorder"===z?"vertical-border":"",C=p(),O=f((function(e){return Ye(e,["qt","config"],{})}));return e.createElement("div",{className:"full-width-with-padding arrow-component","data-test-id":"six-col-six-stories",style:{backgroundColor:b,color:j}},e.createElement("div",{className:"six-col-six-stories-m_wrapper__2k2bf"},e.createElement(Dt,{collection:o,collectionNameTemplate:w,collectionNameBorderColor:h,headerLevel:"2"}),e.createElement("div",{className:"six-col-six-stories-m_row-wrapper__2YNUO"},u.map((function(t,r){return e.createElement("div",{key:"six-col-six-stories-".concat(r),className:x("card-wrapper ".concat(S," ").concat(j),Pr)},e.createElement(yr,{story:t,theme:b,config:a},e.createElement(Yt,{story:t,aspectRatio:[[16,9],[16,9]]}),e.createElement("div",{className:"six-col-six-stories-m_content-wrapper__3n5nT"},e.createElement(_r,{story:t,borderColor:v}),e.createElement(tr,{story:t,headerLevel:"6",premiumStoryIconConfig:a})),e.createElement(gr,{config:N,story:t})))}))),function(t){if(!l)return null;if(s)return e.createElement(Mr,{collection:o,componentName:"SixColSixStories",offset:u.length,limit:6});var r=Bt(o,O);return e.createElement(Ar,null,e.createElement(zr,{config:a,collection:o,template:L,onClick:function(){return function(e){var t=e.isLoading,r=e.stories,o=e.getMoreStories;t||o(r.length,3)}(t)},navigate:function(){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";global.app.navigateToPage(e,t)}(C,r)},qtConfig:O}))}({isLoading:c,stories:u,getMoreStories:i})))},Hr=(Rr=Br,function(t){return e.createElement(Je.Provider,{value:t.config},e.createElement(Rr,t))});Br.propTypes={collection:i.object.isRequired,config:i.shape({borderColor:i.string,theme:i.string,border:i.string,slotConfig:i.array,footerButton:i.string,collectionNameTemplate:i.string,collectionNameBorderColor:i.string}),getMoreStories:i.func,isLoadMoreVisible:i.bool,isLoading:i.bool,isolatedLoadMore:i.bool},Br.defaultProps={getMoreStories:function(){},isLoadMoreVisible:!0,isLoading:!1};export{Hr as default};
@@ -0,0 +1 @@
1
+ import t,{useState as e,useEffect as r}from"react";import n from"prop-types";import"react-timeago";function o(){return(o=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a=[],i=!0,l=!1;try{for(r=r.call(t);!(i=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);i=!0);}catch(t){l=!0,o=t}finally{try{i||null==r.return||r.return()}finally{if(l)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t,e)||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 l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function c(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function u(t){var e={exports:{}};return t(e,e.exports),e.exports}var s=u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={attributeNames:{styleName:"className"},generateScopedName:"[path]___[name]__[local]___[hash:base64:5]",handleMissingStyleName:"throw"};e.default=r})),p=c(u((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,n=(r=s)&&r.__esModule?r:{default:r};var o=function(t,e){if("throw"===e)throw new Error(t);return"warn"===e&&console.warn(t),null};e.default=function(t,e,r){var a=Object.keys(e),i=r||{},l=i.handleMissingStyleName,c=void 0===l?n.default.handleMissingStyleName:l,u=i.autoResolveMultipleImports,s=void 0===u?n.default.autoResolveMultipleImports:u;return t?t.split(" ").filter((function(t){return t})).map((function(t){if(function(t){return-1!==t.indexOf(".")}(t))return function(t,e,r){var a=t.split("."),i=a[0],l=a[1],c=r||n.default.handleMissingStyleName;return l?e[i]?e[i][l]?e[i][l]:o("CSS module does not exist: "+l,c):o("CSS module import does not exist: "+i,c):o("Invalid style name: "+t,c)}(t,e,c);if(0===a.length)throw new Error("Cannot use styleName attribute for style name '"+t+"' without importing at least one stylesheet.");if(a.length>1){if(!s)throw new Error("Cannot use anonymous style name '"+t+"' with more than one stylesheet import without setting 'autoResolveMultipleImports' to true.");return function(t,e,r){var a=r||n.default.handleMissingStyleName,i=Object.keys(e).map((function(r){return e[r][t]&&r})).filter((function(t){return t}));if(i.length>1)throw new Error('Cannot resolve styleName "'+t+'" because it is present in multiple imports:\n\n\t'+i.join("\n\t")+'\n\nYou can resolve this by using a named import, e.g:\n\n\timport foo from "'+i[0]+'";\n\t<div styleName="foo.'+t+'" />\n\n');return 0===i.length?o("Could not resolve the styleName '"+t+"'.",a):e[i[0]][t]}(t,e,c)}var r=e[a[0]];return r[t]?r[t]:o("Could not resolve the styleName '"+t+"'.",c)})).filter((function(t){return t})).join(" "):""}}))),f=function(e){var r=e.color,n=void 0===r?"#1CB7EB":r;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("path",{fill:n,d:"M19.137 8.594c.023.094.035.246.035.457 0 1.687-.41 3.316-1.23 4.887-.844 1.664-2.028 2.988-3.551 3.972-1.664 1.102-3.575 1.652-5.73 1.652-2.063 0-3.95-.55-5.661-1.652.258.024.55.035.879.035 1.71 0 3.246-.527 4.605-1.582-.82 0-1.54-.24-2.162-.72a3.673 3.673 0 01-1.283-1.811c.234.023.457.035.668.035.328 0 .656-.035.984-.105a3.724 3.724 0 01-2.109-1.301 3.542 3.542 0 01-.844-2.32v-.07a3.493 3.493 0 001.653.492 4.097 4.097 0 01-1.196-1.336 3.557 3.557 0 01-.457-1.776c0-.644.176-1.26.528-1.845a10.188 10.188 0 003.357 2.742 10.222 10.222 0 004.236 1.125 5.122 5.122 0 01-.07-.844c0-.656.164-1.272.492-1.846a3.615 3.615 0 011.336-1.353 3.568 3.568 0 011.828-.492c.54 0 1.037.105 1.494.316.457.21.862.492 1.213.844a7.479 7.479 0 002.356-.88c-.281.868-.82 1.548-1.617 2.04A7.926 7.926 0 0021 6.66a8.132 8.132 0 01-1.863 1.934z"}))};f.propTypes={color:n.string};var h=function(e){var r=e.color,n=void 0===r?"#3B5998":r;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("path",{fill:n,d:"M9.906 20v-7.156H7.5V10h2.406V7.75c0-1.187.334-2.11 1-2.766.667-.656 1.552-.984 2.656-.984.896 0 1.625.042 2.188.125v2.531h-1.5c-.563 0-.948.125-1.156.375-.167.209-.25.542-.25 1V10H15.5l-.375 2.844h-2.281V20H9.906z"}))};h.propTypes={color:n.string};var d=function(e){var r=e.color,n=void 0===r?"#0077B5":r;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("path",{fill:n,d:"M6.71 19H3.26V7.904h3.45V19zM5.005 6.383a1.926 1.926 0 01-1.41-.594A1.923 1.923 0 013 4.38c0-.544.198-1.014.594-1.41a1.926 1.926 0 011.41-.594c.544 0 1.014.198 1.41.594.396.396.594.866.594 1.41 0 .544-.198 1.014-.594 1.41a1.926 1.926 0 01-1.41.594zM19.625 19h-3.451v-5.418c0-.89-.074-1.534-.223-1.93-.272-.668-.804-1.002-1.596-1.002-.791 0-1.348.297-1.67.891-.247.445-.37 1.1-.37 1.967V19H8.9V7.904h3.303v1.522h.037c.248-.495.643-.903 1.188-1.225.593-.396 1.286-.594 2.078-.594 1.608 0 2.734.508 3.377 1.522.495.816.742 2.078.742 3.785V19z"}))};d.propTypes={color:n.string};var v=function(e){var r=e.color,n=void 0===r?"#4AC959":r;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("path",{fill:n,fillRule:"evenodd",d:"M18.404 5.505a9.457 9.457 0 012.02 2.96 8.587 8.587 0 01.715 3.449 8.665 8.665 0 01-1.245 4.53 9.282 9.282 0 01-3.347 3.307 8.894 8.894 0 01-4.552 1.225 8.835 8.835 0 01-4.327-1.102l-4.817 1.265 1.307-4.694a8.775 8.775 0 01-1.225-4.531 8.77 8.77 0 011.225-4.531 9.17 9.17 0 013.306-3.307 8.781 8.781 0 014.531-1.224c1.198 0 2.347.23 3.45.693a9.515 9.515 0 012.959 1.96zm-6.409 13.96c1.36 0 2.626-.34 3.797-1.02a7.75 7.75 0 002.796-2.756 7.202 7.202 0 001.04-3.775c0-.98-.203-1.933-.612-2.858a8.088 8.088 0 00-1.694-2.47 7.565 7.565 0 00-2.449-1.653 7.405 7.405 0 00-2.878-.571c-1.36 0-2.62.34-3.776 1.02a7.646 7.646 0 00-2.755 2.756 7.316 7.316 0 00-1.02 3.776c0 1.442.394 2.775 1.183 4l.164.286-.776 2.775 2.857-.734.286.163a7.275 7.275 0 003.837 1.061zm4.123-5.674l.123.082c.19.082.299.15.326.204.027.054.034.19.02.408a2.11 2.11 0 01-.163.674c-.095.231-.313.462-.653.694-.34.231-.633.36-.878.388-.38.054-.748.054-1.102 0-.408-.082-.952-.273-1.632-.572-1.388-.599-2.654-1.714-3.797-3.347l-.081-.082c-.6-.843-.898-1.62-.898-2.327 0-.707.244-1.32.734-1.837l.041-.04c.19-.19.395-.286.612-.286h.49c.11 0 .198.02.266.061.068.041.129.143.183.306l.694 1.674c.082.163.095.3.041.408a2.832 2.832 0 01-.53.735.917.917 0 00-.205.265c-.027.068 0 .143.082.225.38.707.83 1.265 1.347 1.673.381.3.952.64 1.714 1.02.218.11.381.096.49-.04.354-.408.599-.707.735-.898.054-.109.123-.163.204-.163.082 0 .177.013.286.04.218.082.735.327 1.551.735z"}))};v.propTypes={color:n.string};var m=function(e){var r=e.fbUrl,n=e.twitterUrl,o=e.linkedinUrl,a=e.whatsappUrl,i=e.iconColor,l=e.iconType,c=function(e,r){switch(r){case"plain-color-svg":return{facebook:t.createElement(h,{key:r}),twitter:t.createElement(f,{key:r}),linkedin:t.createElement(d,{key:r}),whatsapp:t.createElement(v,{key:r})};default:return{facebook:t.createElement(h,{color:e,key:r}),twitter:t.createElement(f,{color:e,key:r}),linkedin:t.createElement(d,{color:e,key:r}),whatsapp:t.createElement(v,{color:e,key:r})}}}(i,void 0===l?"plain-svg":l);return[{name:"facebook",url:r,icon:c.facebook,text:"Facebook",bgColor:"#4e71a8",alt:"fb icon"},{name:"twitter",url:n,icon:c.twitter,text:"Twitter",bgColor:"#1db7eb",alt:"twitter icon"},{name:"linkedin",url:o,icon:c.linkedin,text:"LinkedIn",bgColor:"#0077B5",alt:"linkedin icon"},{name:"whatsapp",url:a,icon:c.whatsapp,text:"Whatsapp",bgColor:"#25d366",alt:"whatsapp share"}]},y=function(e){var r=e.color,n=void 0===r?"#333":r;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("g",{fill:"none",stroke:n,strokeLinecap:"square",strokeWidth:"2"},t.createElement("path",{d:"M16.95 6.914l-9.9 9.9M16.95 17.107l-9.9-9.9"})))};y.propTypes={color:n.string},u((function(t){var e=function(t){var e,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,a=Object.create(o.prototype),i=new T(n||[]);return a._invoke=function(t,e,r){var n=p;return function(o,a){if(n===h)throw new Error("Generator is already running");if(n===d){if("throw"===o)throw a;return A()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var l=j(i,r);if(l){if(l===v)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===p)throw n=d,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=h;var c=s(t,e,r);if("normal"===c.type){if(n=r.done?d:f,c.arg===v)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n=d,r.method="throw",r.arg=c.arg)}}}(t,r,i),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var p="suspendedStart",f="suspendedYield",h="executing",d="completed",v={};function m(){}function y(){}function _(){}var g={};c(g,a,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(N([])));b&&b!==r&&n.call(b,a)&&(g=b);var x=_.prototype=m.prototype=Object.create(g);function E(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,a,i,l){var c=s(t[o],t,a);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==typeof p&&n.call(p,"__await")?e.resolve(p.__await).then((function(t){r("next",t,i,l)}),(function(t){r("throw",t,i,l)})):e.resolve(p).then((function(t){u.value=t,i(u)}),(function(t){return r("throw",t,i,l)}))}l(c.arg)}var o;this._invoke=function(t,n){function a(){return new e((function(e,o){r(t,n,e,o)}))}return o=o?o.then(a,a):a()}}function j(t,r){var n=t.iterator[r.method];if(n===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var a=o.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function U(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function N(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:A}}function A(){return{value:e,done:!0}}return y.prototype=_,c(x,"constructor",_),c(_,"constructor",y),y.displayName=c(_,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,_):(t.__proto__=_,c(t,l,"GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},E(k.prototype),c(k.prototype,i,(function(){return this})),t.AsyncIterator=k,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new k(u(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(x),c(x,l,"Generator"),c(x,a,(function(){return this})),c(x,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=N,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(U),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return l.type="throw",l.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a],l=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),U(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;U(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}));var _=Array.isArray,g="object"==typeof l&&l&&l.Object===Object&&l,w="object"==typeof self&&self&&self.Object===Object&&self,b=g||w||Function("return this")(),x=b.Symbol,E=Object.prototype,k=E.hasOwnProperty,j=E.toString,O=x?x.toStringTag:void 0;var U=function(t){var e=k.call(t,O),r=t[O];try{t[O]=void 0;var n=!0}catch(t){}var o=j.call(t);return n&&(e?t[O]=r:delete t[O]),o},T=Object.prototype.toString;var N=function(t){return T.call(t)},A=x?x.toStringTag:void 0;var L=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":A&&A in Object(t)?U(t):N(t)};var S=function(t){return null!=t&&"object"==typeof t};var z=function(t){return"symbol"==typeof t||S(t)&&"[object Symbol]"==L(t)};var C=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};var I,M=function(t){if(!C(t))return!1;var e=L(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},P=b["__core-js_shared__"],R=(I=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"";var F=function(t){return!!R&&R in t},G=Function.prototype.toString;var V=function(t){if(null!=t){try{return G.call(t)}catch(t){}try{return t+""}catch(t){}}return""},B=/^\[object .+?Constructor\]$/,D=Function.prototype,Z=Object.prototype,$=D.toString,H=Z.hasOwnProperty,Y=RegExp("^"+$.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var J=function(t){return!(!C(t)||F(t))&&(M(t)?Y:B).test(V(t))};var Q=function(t,e){return null==t?void 0:t[e]};var q=function(t,e){var r=Q(t,e);return J(r)?r:void 0},X=q(Object,"create");var W=function(){this.__data__=X?X(null):{},this.size=0};var K=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},tt=Object.prototype.hasOwnProperty;var et=function(t){var e=this.__data__;if(X){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return tt.call(e,t)?e[t]:void 0},rt=Object.prototype.hasOwnProperty;var nt=function(t){var e=this.__data__;return X?void 0!==e[t]:rt.call(e,t)};var ot=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=X&&void 0===e?"__lodash_hash_undefined__":e,this};function at(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}at.prototype.clear=W,at.prototype.delete=K,at.prototype.get=et,at.prototype.has=nt,at.prototype.set=ot;var it=at;var lt=function(){this.__data__=[],this.size=0};var ct=function(t,e){return t===e||t!=t&&e!=e};var ut=function(t,e){for(var r=t.length;r--;)if(ct(t[r][0],e))return r;return-1},st=Array.prototype.splice;var pt=function(t){var e=this.__data__,r=ut(e,t);return!(r<0)&&(r==e.length-1?e.pop():st.call(e,r,1),--this.size,!0)};var ft=function(t){var e=this.__data__,r=ut(e,t);return r<0?void 0:e[r][1]};var ht=function(t){return ut(this.__data__,t)>-1};var dt=function(t,e){var r=this.__data__,n=ut(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function vt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}vt.prototype.clear=lt,vt.prototype.delete=pt,vt.prototype.get=ft,vt.prototype.has=ht,vt.prototype.set=dt;var mt=vt,yt=q(b,"Map");var _t=function(){this.size=0,this.__data__={hash:new it,map:new(yt||mt),string:new it}};var gt=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var wt=function(t,e){var r=t.__data__;return gt(e)?r["string"==typeof e?"string":"hash"]:r.map};var bt=function(t){var e=wt(this,t).delete(t);return this.size-=e?1:0,e};var xt=function(t){return wt(this,t).get(t)};var Et=function(t){return wt(this,t).has(t)};var kt=function(t,e){var r=wt(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function jt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}jt.prototype.clear=_t,jt.prototype.delete=bt,jt.prototype.get=xt,jt.prototype.has=Et,jt.prototype.set=kt;var Ot=jt;function Ut(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=e?e.apply(this,n):n[0],a=r.cache;if(a.has(o))return a.get(o);var i=t.apply(this,n);return r.cache=a.set(o,i)||a,i};return r.cache=new(Ut.Cache||Ot),r}Ut.Cache=Ot;var Tt=Ut;var Nt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/\\(\\)?/g;(function(t){var e=Tt(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache})((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Nt,(function(t,r,n,o){e.push(n?o.replace(At,"$1"):r||t)})),e}));var Lt=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r<n;)o[r]=e(t[r],r,t);return o},St=x?x.prototype:void 0,zt=St?St.toString:void 0;var Ct=function t(e){if("string"==typeof e)return e;if(_(e))return Lt(e,t)+"";if(z(e))return zt?zt.call(e):"";var r=e+"";return"0"==r&&1/e==-Infinity?"-0":r};var It=function(t){return null==t?"":Ct(t)};var Mt=function(t,e,r,n){var o=-1,a=null==t?0:t.length;for(n&&a&&(r=t[++o]);++o<a;)r=e(r,t[o],o,t);return r};var Pt=function(t){return function(e){return null==t?void 0:t[e]}}({"À":"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"}),Rt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ft=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Gt=function(t){return(t=It(t))&&t.replace(Rt,Pt).replace(Ft,"")},Vt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Bt=function(t){return t.match(Vt)||[]},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 Zt=function(t){return Dt.test(t)},$t="\\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",Ht="["+$t+"]",Yt="\\d+",Jt="[\\u2700-\\u27bf]",Qt="[a-z\\xdf-\\xf6\\xf8-\\xff]",qt="[^\\ud800-\\udfff"+$t+Yt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Xt="(?:\\ud83c[\\udde6-\\uddff]){2}",Wt="[\\ud800-\\udbff][\\udc00-\\udfff]",Kt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",te="(?:"+Qt+"|"+qt+")",ee="(?:"+Kt+"|"+qt+")",re="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",ne="[\\ufe0e\\ufe0f]?"+re+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Xt,Wt].join("|")+")[\\ufe0e\\ufe0f]?"+re+")*"),oe="(?:"+[Jt,Xt,Wt].join("|")+")"+ne,ae=RegExp([Kt+"?"+Qt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Ht,Kt,"$"].join("|")+")",ee+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Ht,Kt+te,"$"].join("|")+")",Kt+"?"+te+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Kt+"+(?:['’](?: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_])",Yt,oe].join("|"),"g");var ie=function(t){return t.match(ae)||[]};var le=function(t,e,r){return t=It(t),void 0===(e=r?void 0:e)?Zt(t)?ie(t):Bt(t):t.match(e)||[]},ce=RegExp("['’]","g");var ue=function(t){return function(e){return Mt(le(Gt(e).replace(ce,"")),t,"")}},se=function(t){var e=function(t){return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16)}}(t);return.299*e.r+.587*e.g+.114*e.b},pe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgba(255, 255, 255, 0)",e=t.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);return e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):t},fe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rgb(255,255,255)",e=/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(t),r=e?t:pe(t),n=se(r)<155?"light":"dark";return n};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 he={"./social-share-popup.m.css":{"share-popup-wrapper":"social-share-popup-m_share-popup-wrapper__GEJqD",light:"social-share-popup-m_light__gQmxf",dark:"social-share-popup-m_dark__26Igp","share-popup":"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD","social-wrapper":"social-share-popup-m_social-wrapper__1lPzr","social-icon-wrapper":"social-share-popup-m_social-icon-wrapper__36jyV",wrapper:"social-share-popup-m_wrapper__3Ytce","top-bar":"social-share-popup-m_top-bar__174Um","share-text":"social-share-popup-m_share-text__19E-F",close:"social-share-popup-m_close__3k-Hj","social-icon":"social-share-popup-m_social-icon__2a4nT","social-text":"social-share-popup-m_social-text__1QPXb"}},de=function(e){var r=e.fbUrl,n=void 0===r?"":r,o=e.twitterUrl,a=void 0===o?"":o,i=e.linkedinUrl,l=void 0===i?"":i,c=e.whatsappUrl,u=void 0===c?"":c,s=e.theme,f=e.closePopup,h=void 0===f?"":f,d=e.iconType,v=void 0===d?"plain-color-svg":d,_=fe(s),g="dark"===_?"#000000":"#ffffff",w=m({fbUrl:n,twitterUrl:a,linkedinUrl:l,whatsappUrl:u,iconColor:g,iconType:v});return t.createElement("div",{className:p("share-popup-wrapper ".concat(_),he)},t.createElement("div",{className:"social-share-popup-m_share-popup__QRt3l social-share-popup-m_share-popup-wrapper__GEJqD"},t.createElement("div",{className:"social-share-popup-m_top-bar__174Um"},t.createElement("span",{className:"social-share-popup-m_share-text__19E-F"},"Share via"),t.createElement("span",{className:"social-share-popup-m_close__3k-Hj",onClick:h},t.createElement(y,{color:g}))),t.createElement("ul",{className:"social-share-popup-m_wrapper__3Ytce"},w.map((function(e,r){var n=e.url,o=e.icon,a=e.text,i=e.bgColor;return e.alt,function(e,r,n,o){return e?t.createElement("li",{className:"social-share-popup-m_social-icon-wrapper__36jyV","data-testid":n,key:"popup-item-".concat(o)},t.createElement("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"social-share-popup-m_social-wrapper__1lPzr","aria-label":"social-icon"},r,t.createElement("span",{className:"social-share-popup-m_social-text__1QPXb"},n))):null}(n,o,a,i)})))))};de.propTypes={fbUrl:n.string,twitterUrl:n.string,linkedinUrl:n.string,whatsappUrl:n.string,grey:n.string,primaryColor:n.string,closePopup:n.bool,theme:n.string,iconType:n.string};var ve=function(e){var r=e.color,n=void 0===r?"#0D0D0D":r;return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("path",{fill:n,fillRule:"evenodd",d:"M15.843 3.189c-1.478 0-2.689 1.239-2.689 2.75 0 .293.046.58.13.846L8.844 9.31a2.638 2.638 0 00-1.687-.621c-1.477 0-2.688 1.238-2.688 2.75 0 1.51 1.21 2.75 2.688 2.75.638 0 1.224-.231 1.687-.615l4.446 2.525a2.778 2.778 0 00-.136.84c0 1.51 1.211 2.75 2.689 2.75 1.477 0 2.688-1.24 2.688-2.75 0-1.512-1.21-2.75-2.688-2.75-.742 0-1.419.317-1.907.82l-4.323-2.46a2.763 2.763 0 000-2.221l4.317-2.459c.488.506 1.168.82 1.913.82 1.477 0 2.688-1.239 2.688-2.75s-1.21-2.75-2.688-2.75z"}))};ve.propTypes={color:n.string};var me=function(t,e,r){var n=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(r=r>o?o:r)<0&&(r+=o),o=e>r?0:r-e>>>0,e>>>=0;for(var a=Array(o);++n<o;)a[n]=t[n+e];return a};var ye=function(t,e,r){var n=t.length;return r=void 0===r?n:r,!e&&r>=n?t:me(t,e,r)},_e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var ge=function(t){return _e.test(t)};var we=function(t){return t.split("")},be="[\\ud800-\\udfff]",xe="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",Ee="\\ud83c[\\udffb-\\udfff]",ke="[^\\ud800-\\udfff]",je="(?:\\ud83c[\\udde6-\\uddff]){2}",Oe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="(?:"+xe+"|"+Ee+")"+"?",Te="[\\ufe0e\\ufe0f]?"+Ue+("(?:\\u200d(?:"+[ke,je,Oe].join("|")+")[\\ufe0e\\ufe0f]?"+Ue+")*"),Ne="(?:"+[ke+xe+"?",xe,je,Oe,be].join("|")+")",Ae=RegExp(Ee+"(?="+Ee+")|"+Ne+Te,"g");var Le=function(t){return t.match(Ae)||[]};var Se=function(t){return ge(t)?Le(t):we(t)};var ze=function(t){return function(e){e=It(e);var r=ge(e)?Se(e):void 0,n=r?r[0]:e.charAt(0),o=r?ye(r,1).join(""):e.slice(1);return n[t]()+o}}("toUpperCase");var Ce=function(t){return ze(It(t).toLowerCase())},Ie=ue((function(t,e,r){return e=e.toLowerCase(),t+(r?Ce(e):e)})),Me={"./social-share-template.m.css":{"desktop-view":"social-share-template-m_desktop-view__3TmkO","tablet-view":"social-share-template-m_tablet-view__kATzi",wrapper:"social-share-template-m_wrapper__1wXin",horizontal:"social-share-template-m_horizontal__1c9Kt",vertical:"social-share-template-m_vertical__VU5JY",light:"social-share-template-m_light__3-V_k",dark:"social-share-template-m_dark__1lmTM",icon:"social-share-template-m_icon__1Mnu5",open:"social-share-template-m_open__3xObA","popup-wrapper":"social-share-template-m_popup-wrapper__1Zv3e","popup-open":"social-share-template-m_popup-open__21UNo",overlay:"social-share-template-m_overlay__1nBp-","tablet-view-popup":"social-share-template-m_tablet-view-popup__1hXU9"}},Pe=function(e){var r=e.name,n=e.url,o=e.icon,a=e.dataTestId;return n?t.createElement("li",{"data-testid":a,className:"social-share-template-m_icon__1Mnu5"},t.createElement("a",{href:n,target:"_blank",rel:"noopener noreferrer","data-share-icon":r,"aria-label":"share-icon"},o)):null};Pe.propTypes={name:n.string,url:n.string,icon:n.node,dataTestId:n.string};var Re=function(n){var a=n.fbUrl,l=void 0===a?"":a,c=n.twitterUrl,u=void 0===c?"":c,s=n.linkedinUrl,f=void 0===s?"":s,h=n.whatsappUrl,d=void 0===h?"":h,v=n.vertical,_=void 0!==v&&v,g=n.theme,w=n.iconType,b=void 0===w?"plain-color-svg":w,x=n.open,E=void 0!==x&&x;if(!(l||u||f||d))return null;var k=fe(g),j="dark"===k?"#000000":"#ffffff",O=m({fbUrl:l,twitterUrl:u,linkedinUrl:f,whatsappUrl:d,iconColor:j,iconType:b}),U=i(e(E),2),T=U[0],N=U[1],A=_?"vertical":"horizontal";r((function(){return N(E)}),[E]);var L=function(){return t.createElement("li",{className:"social-share-template-m_icon__1Mnu5",key:"horizontal-0"},t.createElement("div",{onClick:S},function(e,r){return e?t.createElement(y,{color:r}):t.createElement(ve,{color:r})}(T,j)))},S=function(){N(!T)},z=!T&&_?"tablet-view-popup":"";return t.createElement("div",{"data-test-id":A,className:"arr--share "+p("".concat(k," ").concat(A," ").concat(z),Me)},t.createElement("div",{className:"social-share-template-m_desktop-view__3TmkO"},t.createElement("ul",{"data-test-id":Ie(b),className:"desktop-share-wrapper "+p("wrapper ".concat(T?"open":""),Me)},L(),O.map((function(e,r){return t.createElement(Pe,o({},e,{key:e.name,dataTestId:"card-share-".concat(r)}))})))),t.createElement("div",{className:"social-share-template-m_tablet-view__kATzi"},!T&&t.createElement("ul",{className:p("wrapper ".concat(T?"open":""),Me)},L()),T&&t.createElement(t.Fragment,null,t.createElement("div",{className:"social-share-template-m_overlay__1nBp-",onClick:S},t.createElement("div",{className:"arr--popup "+p("popup-wrapper ".concat(T?"popup-open":""),Me)},t.createElement(de,{fbUrl:l,twitterUrl:u,linkedinUrl:f,whatsappUrl:d,iconType:b,theme:g,closePopup:function(){N(!1)}}))))))};Re.propTypes={fbUrl:n.string,twitterUrl:n.string,linkedinUrl:n.string,whatsappUrl:n.string,vertical:n.bool,theme:n.string,iconType:n.string,open:n.boolean};export{Re as SocialShareTemplate};