(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,[154471,(e,t,a)=>{function n(e,t,a,n){return!1}e.i(350461),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getDomainLocale",{enumerable:!0,get:function(){return n}}),e.r(270090),("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},539149,(e,t,a)=>{e.i(350461),Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return w},useLinkStatus:function(){return _}};for(var r in n)Object.defineProperty(a,r,{enumerable:!0,get:n[r]});let i=e.r(952456),s=e.r(391398),o=i._(e.r(191788)),l=e.r(160472),d=e.r(471112),c=e.r(728169),u=e.r(889129),f=e.r(514862),h=e.r(425479),m=e.r(771914),p=e.r(154471),g=e.r(344113),x=e.r(663230),b=new Set;function v(e,t,a,n){if(!("u"{})}}function j(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let y=o.default.forwardRef(function(e,t){let a,n,{href:r,as:i,children:c,prefetch:b=null,passHref:y,replace:k,shallow:_,scroll:w,locale:T,onClick:P,onNavigate:I,onMouseEnter:C,onTouchStart:E,legacyBehavior:O=!1,transitionTypes:S,...N}=e;a=c,O&&("string"==typeof a||"number"==typeof a)&&(a=(0,s.jsx)("a",{children:a}));let L=o.default.useContext(h.RouterContext),M=!1!==b,{href:R,as:U}=o.default.useMemo(()=>{if(!L){let e=j(r);return{href:e,as:i?j(i):e}}let[e,t]=(0,l.resolveHref)(L,r,!0);return{href:e,as:i?(0,l.resolveHref)(L,i):t||e}},[L,r,i]),z=o.default.useRef(R),H=o.default.useRef(U);O&&(n=o.default.Children.only(a));let A=O?n&&"object"==typeof n&&n.ref:t,[D,q,F]=(0,m.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback(e=>{(H.current!==U||z.current!==R)&&(F(),H.current=U,z.current=R),D(e)},[U,R,F,D]),V=(0,x.useMergedRef)(W,A);o.default.useEffect(()=>{!L||q&&M&&v(L,R,U,{bypassPrefetchedCheck:!1,locale:T})},[U,R,q,T,M,null==L?void 0:L.locale,L]);let B={ref:V,onClick(e){O||"function"!=typeof P||P(e),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!L||e.defaultPrevented||function(e,t,a,n,r,i,s,o,l){let c,{nodeName:u}=e.currentTarget;if(!("A"===u.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,d.isLocalURL)(a)){r&&(e.preventDefault(),location.replace(a));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=null==s||s;"beforePopState"in t?t[r?"replace":"push"](a,n,{shallow:i,locale:o,scroll:e}):t[r?"replace":"push"](n||a,{scroll:e})})()}}(e,L,R,U,k,_,w,T,I)},onMouseEnter(e){O||"function"!=typeof C||C(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),L&&v(L,R,U,{locale:T,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){O||"function"!=typeof E||E(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),L&&v(L,R,U,{locale:T,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(U))B.href=U;else if(!O||y||"a"===n.type&&!("href"in n.props)){let e=void 0!==T?T:null==L?void 0:L.locale;B.href=(null==L?void 0:L.isLocaleDomain)&&(0,p.getDomainLocale)(U,e,null==L?void 0:L.locales,null==L?void 0:L.domainLocales)||(0,g.addBasePath)((0,f.addLocale)(U,e,null==L?void 0:L.defaultLocale))}return O?o.default.cloneElement(n,B):(0,s.jsx)("a",{...N,...B,children:a})}),k=(0,o.createContext)({pending:!1}),_=()=>(0,o.useContext)(k),w=y;("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},771914,(e,t,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useIntersection",{enumerable:!0,get:function(){return l}});let n=e.r(191788),r=e.r(799604),i="function"==typeof IntersectionObserver,s=new Map,o=[];function l(e){let{rootRef:t,rootMargin:a,disabled:l}=e,d=l||!i,[c,u]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(i){if(d||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,a){let{id:n,observer:r,elements:i}=function(e){let t,a={root:e.root||null,margin:e.rootMargin||""},n=o.find(e=>e.root===a.root&&e.margin===a.margin);if(n&&(t=s.get(n)))return t;let r=new Map;return t={id:a,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=r.get(e.target),a=e.isIntersecting||e.intersectionRatio>0;t&&a&&t(a)})},e),elements:r},o.push(a),s.set(a,t),t}(a);return i.set(e,t),r.observe(e),function(){if(i.delete(e),r.unobserve(e),0===i.size){r.disconnect(),s.delete(n);let e=o.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&o.splice(e,1)}}}(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:a})}else if(!c){let e=(0,r.requestIdleCallback)(()=>u(!0));return()=>(0,r.cancelIdleCallback)(e)}},[d,a,t,c,f.current]),[h,c,(0,n.useCallback)(()=>{u(!1)},[])]}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},663230,(e,t,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=e.r(191788);function r(e,t){let a=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=a.current;e&&(a.current=null,e());let t=r.current;t&&(r.current=null,t())}else e&&(a.current=i(e,n)),t&&(r.current=i(t,n))},[e,t])}function i(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},490839,e=>{var t,a=e.i(391398),n=e.i(145246),r=e.i(191788),i=e.i(251533),s=e.i(230184),o=e.i(109969),l=e.i(602692);function d(){return(d=Object.assign.bind()).apply(null,arguments)}let c=e=>r.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:4,height:7,viewBox:"0 0 4 7"},e),t||(t=r.createElement("path",{fill:"#333",fillRule:"evenodd",d:"m0 7 4-3.5L0 0z"}))),u=new String(".author.jsx-635efd738da6a98b{display:flex}@media (max-width:575px){.author.jsx-635efd738da6a98b{font-size:12px}}.author.jsx-635efd738da6a98b .author-info.jsx-635efd738da6a98b{flex:1 1 0;padding-right:8px}.author.jsx-635efd738da6a98b .top.jsx-635efd738da6a98b{align-items:center;display:flex}.author.jsx-635efd738da6a98b .top.jsx-635efd738da6a98b>svg{margin:0 5px 1px}.author.jsx-635efd738da6a98b .name.jsx-635efd738da6a98b{color:var(--user-color);align-items:center;font-size:15px;font-weight:700;display:flex}.author.jsx-635efd738da6a98b .name.jsx-635efd738da6a98b:hover{color:var(--color-accent-dark)}.author.jsx-635efd738da6a98b .forum-thread-stream.jsx-635efd738da6a98b{margin-left:8px}.author.jsx-635efd738da6a98b .forum-thread-stream.jsx-635efd738da6a98b .forum.jsx-635efd738da6a98b{margin-left:3px}.author.jsx-635efd738da6a98b .forum-thread-stream.jsx-635efd738da6a98b svg path{fill:var(--text-since)}.author.jsx-635efd738da6a98b .rank.jsx-635efd738da6a98b{color:var(--text-rank);font-size:11px}.author.jsx-635efd738da6a98b .since.jsx-635efd738da6a98b{color:var(--text-since);font-size:11px}.author.jsx-635efd738da6a98b .forum.jsx-635efd738da6a98b{color:var(--text-since)}.author.jsx-635efd738da6a98b .verify-badge.jsx-635efd738da6a98b{vertical-align:middle;margin:0 10px 0 3px;display:inline-block}.author.jsx-635efd738da6a98b .verify-badge.jsx-635efd738da6a98b svg{width:13px;height:13px;display:block}@media (min-width:576px){.author.jsx-635efd738da6a98b .hidden-xs{display:unset!important}}");u.__hash="635efd738da6a98b";let f=r.default.memo(e=>{let{user:t,postedSince:d,forum:f,thread:h}=e,m=(0,l.f)(t);return(0,a.jsxs)("div",{className:"jsx-".concat(u.__hash)+" author",children:[(0,a.jsx)(i.f,{src:t.avatar,alt:t.name,profile:t.link,noScale:!0}),(0,a.jsxs)("div",{className:"jsx-".concat(u.__hash)+" author-info",children:[t&&t.name&&(0,a.jsxs)("div",{className:"jsx-".concat(u.__hash)+" top",children:[(0,a.jsxs)("a",{href:t.link,style:{display:"flex",color:m},className:"jsx-".concat(u.__hash)+" name",children:[t.name,t.verified_badge&&(0,a.jsx)("i",{style:{marginLeft:7,color:m},className:"jsx-".concat(u.__hash)+" fas fa-check-circle"})]}),h&&(0,a.jsx)(o.f,{thread:h}),f&&f.id&&f.title&&(0,a.jsx)(r.Fragment,{children:(0,a.jsxs)("div",{className:"jsx-".concat(u.__hash)+" forum-thread-stream",children:[(0,a.jsx)(c,{}),(0,a.jsx)("span",{className:"jsx-".concat(u.__hash)+" forum",children:(0,a.jsx)("a",{href:"/forum/".concat(f.id),className:"jsx-".concat(u.__hash),children:f.title})})]})})]}),(0,a.jsx)("div",{className:"jsx-".concat(u.__hash)+" bottom",children:d&&(0,a.jsx)("span",{className:"jsx-".concat(u.__hash)+" since",children:(0,a.jsx)(s.f,{value:d})})})]}),(0,a.jsx)(n.default,{id:u.__hash,children:u})]})});e.s(["f",0,f],490839)},318892,e=>{var t,a=e.i(391398),n=e.i(145246),r=e.i(191788);function i(){return(i=Object.assign.bind()).apply(null,arguments)}let s=e=>r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:94,height:79,viewBox:"0 0 94 79"},e),t||(t=r.createElement("path",{fill:"#E4E4E4",fillRule:"nonzero",d:"M75.362 67.11a1.37 1.37 0 0 0-1.9.428c-3.435 5.444-9.31 8.695-15.713 8.695H22.346c-10.253 0-18.594-8.388-18.594-18.697V24.383A1.38 1.38 0 0 0 2.376 23C1.616 23 1 23.62 1 24.383v33.153C1 69.37 10.576 79 22.346 79H57.75c7.35 0 14.094-3.731 18.037-9.98.407-.645.217-1.5-.424-1.91M62.694 30.426l-10.298 11.09a1.534 1.534 0 0 0 0 2.057c.263.285.609.427.954.427a1.3 1.3 0 0 0 .956-.427l10.298-11.09a1.535 1.535 0 0 0 0-2.057 1.284 1.284 0 0 0-1.91 0m29.304-23.55-4.822-4.857a6.82 6.82 0 0 0-9.682 0L72.49 7.061C68.422 2.556 62.722 0 56.619 0h-35.6c-4.939 0-9.76 1.73-13.577 4.873a21.7 21.7 0 0 0-7.41 12.183 1.393 1.393 0 0 0 1.353 1.686c.639 0 1.212-.447 1.351-1.1A18.9 18.9 0 0 1 9.193 7.03a18.65 18.65 0 0 1 11.825-4.244H56.62c5.358 0 10.361 2.263 13.91 6.248L55.815 23.85h-38.58c-.765 0-1.384.623-1.384 1.393s.62 1.393 1.384 1.393h35.813l-6.633 6.68h-29.18a1.39 1.39 0 0 0-1.384 1.394c0 .769.62 1.393 1.384 1.393h26.413l-8.582 8.642a31.3 31.3 0 0 0-6.048 8.584l-3.938 8.238c-1.089 2.281-.645 4.91 1.132 6.7 1.13 1.138 2.597 1.733 4.1 1.733.858 0 1.729-.195 2.552-.594l3.97-1.924.002-.001 4.21-2.04a31.1 31.1 0 0 0 8.523-6.09l25.75-25.93v24.048a19 19 0 0 1-.54 4.51 1.393 1.393 0 0 0 1.345 1.726c.622 0 1.187-.425 1.342-1.06.411-1.685.62-3.427.62-5.176V30.635l3.845-3.873.001-.002 10.065-10.135c2.67-2.688 2.67-7.062 0-9.75M32.516 66.671c-1.479.712-2.819.153-3.58-.608-.76-.761-1.32-2.101-.608-3.58L29.523 60A35 35 0 0 1 35 65.477zm8.368-4.214L37.679 64a37 37 0 0 0-3.126-3.553A37 37 0 0 0 31 57.321l1.542-3.205c1.065-2.21 2.4-4.26 3.985-6.116L47 58.473a28.4 28.4 0 0 1-6.116 3.985M48.689 57 38 46.31 69.31 15 80 25.69zm32.896-33L71 13.414 74.414 10 85 20.586zm9.184-9.595L86.935 18 76 7.75l3.834-3.596A4.35 4.35 0 0 1 82.812 3c1.078 0 2.157.384 2.978 1.154l4.978 4.668c1.642 1.54 1.642 4.044.001 5.583M18.386 17h43.229c.764 0 1.385-.671 1.385-1.5s-.62-1.5-1.385-1.5H18.386c-.765 0-1.386.671-1.386 1.5s.62 1.5 1.386 1.5"}))),o=new String(".empty-state.jsx-e20a4db6236c317b{flex-direction:column;justify-content:center;align-items:center;height:50vh;margin:0 auto;padding:20px 15px;display:flex}@media (min-width:992px){.empty-state.jsx-e20a4db6236c317b{height:70vh}}.empty-state.jsx-e20a4db6236c317b svg{margin-left:auto;margin-right:auto}.empty-state.jsx-e20a4db6236c317b .message.jsx-e20a4db6236c317b{opacity:.5;margin:15px 0}");o.__hash="e20a4db6236c317b",e.s(["f",0,e=>{let{icon:t=(0,a.jsx)(s,{}),text:r="Sếp chưa trả bài, quay lại sau nhé anh em!",children:i}=e;return(0,a.jsxs)("div",{className:"jsx-".concat(o.__hash)+" empty-state text-center",children:[t,(0,a.jsx)("br",{className:"jsx-".concat(o.__hash)}),(0,a.jsx)("div",{className:"jsx-".concat(o.__hash)+" message",children:r}),i,(0,a.jsx)(n.default,{id:o.__hash,children:o})]})}],318892)},748667,e=>{var t=e.i(391398),a=e.i(145246),n=e.i(191788),r=e.i(86482),i=e.i(170723),s=e.i(574186),o=e.i(456310);let l=new String("");l.__hash="e43e7f1a484b1acb";let d=r.f.ApiConsumer(e=>{let{api:r,pageName:d,threadId:c,communityId:u}=e;return(0,n.useEffect)(()=>{i.default.initialize({currentPageName:d,idleTimeoutInSeconds:90}),i.default.callWhenUserLeaves(()=>{let e=i.default.getTimeOnCurrentPageInSeconds();if(e>0){let t=new s.U(r),a=o.f.Time_On_Page,n=[{key:"page_name",value:i.default.currentPageName},{key:"time_on_page",value:e},{key:"thread_id",value:c},{key:"community_id",value:u}];t.trackEvent(a,r.getUserId(),n)}}),i.default.callWhenUserReturns(()=>{i.default.resetAllRecordedPageTimes()})},[]),(0,t.jsx)(n.Fragment,{children:(0,t.jsx)(a.default,{id:l.__hash,children:l})})});e.s(["f",0,d],748667)},241427,e=>{var t=e.i(391398),a=e.i(145246),n=e.i(191788),r=e.i(86482),i=e.i(693084),s=e.i(587388),o=e.i(113503);let l=new String(".__react_modal_image__icon_menu{margin-top:10px}.tinhtefact-container.jsx-907011416ed6f509{border-radius:10px;width:100%;position:relative;overflow:hidden}.fact-background.jsx-907011416ed6f509{-webkit-filter:blur(8px);z-index:1;background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;top:-20px;bottom:-20px;left:-20px;right:-20px}.imgContainer.jsx-907011416ed6f509{z-index:2;margin-left:auto;margin-right:auto;position:relative}.imgWrapper.jsx-907011416ed6f509{padding:12px}.fact-image.jsx-907011416ed6f509{flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:relative}.attachments.jsx-907011416ed6f509{text-align:center;z-index:3;width:100%;padding:0 10px 10px;display:inline-block;position:relative;bottom:0}.attachment.jsx-907011416ed6f509{border:2px solid trasparent;cursor:pointer;background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:4px;flex:0 0 42px;width:42px;height:42px;margin:5px}.attachment.active.jsx-907011416ed6f509{border:2px solid var(--active-indicator)}.img.jsx-907011416ed6f509{object-fit:contain;cursor:pointer;border-radius:12px;margin:auto;display:block;position:relative}@media (max-width:700px){.img.jsx-907011416ed6f509{height:40vh;max-height:500px;margin-top:24px;margin-bottom:24px}}@media (min-width:701px){.img.jsx-907011416ed6f509{height:70vh;max-height:600px;margin-top:24px;margin-bottom:24px}}.fact-video.jsx-907011416ed6f509{width:100%}.fact-video.jsx-907011416ed6f509:focus{outline:none}.title.jsx-907011416ed6f509{color:var(--color-accent-light);background-color:var(--color-dark-2);text-align:center;text-transform:uppercase;border-top-left-radius:8px;border-top-right-radius:8px;font-weight:700}.body.jsx-907011416ed6f509{background:var(--thread-fact-background);color:var(--text-light);border-bottom-right-radius:8px;border-bottom-left-radius:8px}.body.center.jsx-907011416ed6f509{text-align:center}@media (max-width:700px){.body.jsx-907011416ed6f509{padding:12px;font-size:1.1rem;line-height:1.5rem}.attachments.jsx-907011416ed6f509{padding:0}}@media (min-width:701px){.body.jsx-907011416ed6f509{max-height:300px;padding:18px;font-size:1rem;line-height:1.5rem;overflow:auto}}.video-is-processing.jsx-907011416ed6f509{text-align:center;justify-content:center;align-items:center;min-height:200px;font-size:16px;font-weight:700;display:flex}");l.__hash="907011416ed6f509";class d extends n.default.Component{toogleLightbox(){let{showLightBox:e}=this.state;this.setState({showLightBox:!e})}updateFactImage(e){let{images:t}=this.state,a=e.links.permalink;this.setState({photoIndex:t.indexOf(a)})}render(){let{thread:e}=this.props,{showLightBox:r,images:d,photoIndex:c}=this.state,u="";e.firstPost&&(u=(u=e.firstPost.bodyHtml).replace('class="LinkExpander expanded externalLink has-thumbnail-cover is-secure"','class="externalLink has-thumbnail-cover is-secure" style="display:none"'));let f=d[c],h=e&&e.firstPost&&e.firstPost.videoAttachment,{videoAttachment:m}=h?e.firstPost:{};return(0,t.jsxs)("div",{className:"jsx-".concat(l.__hash)+" tinhtefact-container",children:[(0,t.jsx)("div",{style:h?{backgroundColor:"black"}:{backgroundImage:"linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,1)), url(".concat(f,")")},className:"jsx-".concat(l.__hash)+" fact-background"}),(0,t.jsxs)("div",{className:"jsx-".concat(l.__hash)+" imgContainer",children:[(0,t.jsx)("div",{href:f,role:"button",className:"jsx-".concat(l.__hash)+" imgWrapper",children:h?(0,t.jsx)(n.Fragment,{children:m.attachment_video_is_processing?(0,t.jsx)("p",{className:"jsx-".concat(l.__hash)+" video-is-processing",children:"Video đang xử lý, vài phút nữa bạn quay lại nha..."}):(0,t.jsx)(s.f,{preload:"auto",controls:!0,loop:!0,sources:[{src:m.links.video_url||m.links.permalink}],poster:m.links.thumbnail,videoRatio:m.video_ratio,attachment:m,largePortraitVideo:!0,thread:e,post:e.firstPost})}):(0,t.jsxs)("div",{className:"jsx-".concat(l.__hash)+" fact-image",children:[(0,t.jsx)("img",{src:d[c],alt:e.title,onClick:this.toogleLightbox,className:"jsx-".concat(l.__hash)+" img"}),e.firstPost&&e.firstPost.attachments&&e.firstPost.attachments.length>1&&(0,t.jsx)("div",{className:"jsx-".concat(l.__hash)+" attachments",children:e.firstPost.attachments.map((e,a)=>(0,t.jsx)("button",{onClick:()=>this.updateFactImage(e),style:{backgroundImage:"url(".concat(e.links.thumbnail,")")},className:"jsx-".concat(l.__hash)+" "+"attachment ".concat(a===c?"active":"")},e.attachment_id))})]})}),(0,t.jsx)("div",{className:"jsx-".concat(l.__hash)+" "+"body ".concat(u.length<150?"center":""),children:(0,t.jsx)(i.f,{body:u,highlightLinkOnDarkBackground:!0})}),r&&(0,t.jsx)(o.f,{mainSrc:d[c],onCloseRequest:()=>this.setState({showLightBox:!1}),nextSrc:d[(c+1)%d.length],prevSrc:d[(c+(d.length-1))%d.length],onMovePrevRequest:()=>this.setState({photoIndex:(c+(d.length-1))%d.length}),onMoveNextRequest:()=>this.setState({photoIndex:(c+1)%d.length})})]}),(0,t.jsx)(a.default,{id:l.__hash,children:l})]})}constructor(e){super(e);let t="",a=[];if(this.props.thread){let e=this.props.thread;if(t=this.props.thread.image,e.firstPost)if(e.firstPost.attachments&&e.firstPost.attachments.length>0){let n=e.firstPost.attachments[0];n&&(t=n.links.permalink),a=e.firstPost.attachments.map(e=>e.links.permalink)}else a=[t]}this.state={showLightBox:!1,images:a,photoIndex:0},this.toogleLightbox=this.toogleLightbox.bind(this),this.updateFactImage=this.updateFactImage.bind(this)}}let c=r.f.ApiConsumer(d);e.s(["f",0,c],241427)},588076,e=>{var t,a=e.i(191788);function n(){return(n=Object.assign.bind()).apply(null,arguments)}e.s(["f",0,e=>a.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",width:15,height:14,viewBox:"0 0 15 14"},e),t||(t=a.createElement("path",{fill:"#232F3D",fillRule:"nonzero",d:"m10.185 8.066 2.502-2.503.112.112a.871.871 0 1 0 1.234-1.234L9.838.246A.873.873 0 1 0 8.604 1.48l.111.111-2.502 2.503c-1.71-.388-3.942.449-5.274 1.78L4 8.934l-2.536 2.534c-.31.31-1.264 1.767-.954 2.077l.225.224c.31.31 1.767-.644 2.076-.954l2.535-2.535 3.06 3.06c1.33-1.332 2.168-3.565 1.78-5.274"})))])},532123,e=>{var t,a=e.i(191788);function n(){return(n=Object.assign.bind()).apply(null,arguments)}e.s(["f",0,e=>a.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",width:512,height:512,viewBox:"0 0 486.4 486.4"},e),t||(t=a.createElement("g",{fill:"#900"},a.createElement("path",{d:"M446 70H344.8V53.5c0-29.5-24-53.5-53.5-53.5h-96.2c-29.5 0-53.5 24-53.5 53.5V70H40.4c-7.5 0-13.5 6-13.5 13.5S32.9 97 40.4 97h24.4v317.2c0 39.8 32.4 72.2 72.2 72.2h212.4c39.8 0 72.2-32.4 72.2-72.2V97H446c7.5 0 13.5-6 13.5-13.5S453.5 70 446 70M168.6 53.5c0-14.6 11.9-26.5 26.5-26.5h96.2c14.6 0 26.5 11.9 26.5 26.5V70H168.6zm226 360.7c0 24.9-20.3 45.2-45.2 45.2H137c-24.9 0-45.2-20.3-45.2-45.2V97h302.9v317.2z",className:"active-path","data-old_color":"#000000","data-original":"#000000"}),a.createElement("path",{d:"M243.2 411c7.5 0 13.5-6 13.5-13.5V158.9c0-7.5-6-13.5-13.5-13.5s-13.5 6-13.5 13.5v238.5c0 7.5 6 13.6 13.5 13.6M155.1 396.1c7.5 0 13.5-6 13.5-13.5V173.7c0-7.5-6-13.5-13.5-13.5s-13.5 6-13.5 13.5v208.9c0 7.5 6.1 13.5 13.5 13.5M331.3 396.1c7.5 0 13.5-6 13.5-13.5V173.7c0-7.5-6-13.5-13.5-13.5s-13.5 6-13.5 13.5v208.9c0 7.5 6 13.5 13.5 13.5",className:"active-path","data-old_color":"#000000","data-original":"#000000"}))))])}],131254,(e,t,a)=>{var n=e.r(979021),r=e.r(903275);t.exports=function(e,t,a){var i=!0,s=!0;if("function"!=typeof e)throw TypeError("Expected a function");return r(a)&&(i="leading"in a?!!a.leading:i,s="trailing"in a?!!a.trailing:s),n(e,t,{leading:i,maxWait:t,trailing:s})}},41158,(e,t,a)=>{t.exports=e.r(539149)},170723,(e,t,a)=>{(()=>{((a,n)=>{let r;if(t.exports)return t.exports=n();if("function"!=typeof define||!define.amd)return a.TimeMe=n();void 0!==(r=a.TimeMe=n())&&e.v(r)})(e.e,()=>{let e={startStopTimes:{},idleTimeoutMs:3e4,currentIdleTimeMs:0,checkIdleStateRateMs:250,isUserCurrentlyOnPage:!0,isUserCurrentlyIdle:!1,currentPageName:"default-page-name",timeElapsedCallbacks:[],userLeftCallbacks:[],userReturnCallbacks:[],trackTimeOnElement:t=>{let a=document.getElementById(t);a&&(a.addEventListener("mouseover",()=>{e.startTimer(t)}),a.addEventListener("mousemove",()=>{e.startTimer(t)}),a.addEventListener("mouseleave",()=>{e.stopTimer(t)}),a.addEventListener("keypress",()=>{e.startTimer(t)}),a.addEventListener("focus",()=>{e.startTimer(t)}))},getTimeOnElementInSeconds:t=>{let a=e.getTimeOnPageInSeconds(t);return a||0},startTimer:(t,a)=>{if(t||(t=e.currentPageName),void 0===e.startStopTimes[t])e.startStopTimes[t]=[];else{let a=e.startStopTimes[t],n=a[a.length-1];if(void 0!==n&&void 0===n.stopTime)return}e.startStopTimes[t].push({startTime:a||new Date,stopTime:void 0})},stopAllTimers:()=>{let t=Object.keys(e.startStopTimes);for(let a=0;a{t||(t=e.currentPageName);let n=e.startStopTimes[t];void 0!==n&&0!==n.length&&void 0===n[n.length-1].stopTime&&(n[n.length-1].stopTime=a||new Date)},getTimeOnCurrentPageInSeconds:()=>e.getTimeOnPageInSeconds(e.currentPageName),getTimeOnPageInSeconds:t=>{let a=e.getTimeOnPageInMilliseconds(t);if(void 0!==a)return a/1e3},getTimeOnCurrentPageInMilliseconds:()=>e.getTimeOnPageInMilliseconds(e.currentPageName),getTimeOnPageInMilliseconds:t=>{let a=e.startStopTimes[t];if(void 0===a)return;let n=0;for(let e=0;e{let t=[],a=Object.keys(e.startStopTimes);for(let n=0;n{if(!1===isNaN(parseFloat(t)))e.idleTimeoutMs=1e3*t;else throw{name:"InvalidDurationException",message:"An invalid duration time ("+t+") was provided."}},setCurrentPageName:t=>{e.currentPageName=t},resetRecordedPageTime:t=>{delete e.startStopTimes[t]},resetAllRecordedPageTimes:()=>{let t=Object.keys(e.startStopTimes);for(let a=0;a{e.isUserCurrentlyIdle&&e.triggerUserHasReturned(),e.resetIdleCountdown()},resetIdleCountdown:()=>{e.isUserCurrentlyIdle=!1,e.currentIdleTimeMs=0},callWhenUserLeaves:(t,a)=>{e.userLeftCallbacks.push({callback:t,numberOfTimesToInvoke:a})},callWhenUserReturns:(t,a)=>{e.userReturnCallbacks.push({callback:t,numberOfTimesToInvoke:a})},triggerUserHasReturned:()=>{if(!e.isUserCurrentlyOnPage){e.isUserCurrentlyOnPage=!0,e.resetIdleCountdown();for(let t=0;t0)&&(a.numberOfTimesToInvoke-=1,a.callback())}}e.startTimer()},triggerUserHasLeftPageOrGoneIdle:()=>{if(e.isUserCurrentlyOnPage){e.isUserCurrentlyOnPage=!1;for(let t=0;t0)&&(a.numberOfTimesToInvoke-=1,a.callback())}}e.stopAllTimers()},callAfterTimeElapsedInSeconds:(t,a)=>{e.timeElapsedCallbacks.push({timeInSeconds:t,callback:a,pending:!0})},checkIdleState:()=>{for(let t=0;te.timeElapsedCallbacks[t].timeInSeconds&&(e.timeElapsedCallbacks[t].callback(),e.timeElapsedCallbacks[t].pending=!1);!1===e.isUserCurrentlyIdle&&e.currentIdleTimeMs>e.idleTimeoutMs?(e.isUserCurrentlyIdle=!0,e.triggerUserHasLeftPageOrGoneIdle()):e.currentIdleTimeMs+=e.checkIdleStateRateMs},visibilityChangeEventName:void 0,hiddenPropName:void 0,listenForVisibilityEvents:(t,a)=>{t&&e.listenForUserLeavesOrReturnsEvents(),a&&e.listForIdleEvents()},listenForUserLeavesOrReturnsEvents:()=>{void 0!==document.hidden?(e.hiddenPropName="hidden",e.visibilityChangeEventName="visibilitychange"):void 0!==document.mozHidden?(e.hiddenPropName="mozHidden",e.visibilityChangeEventName="mozvisibilitychange"):void 0!==document.msHidden?(e.hiddenPropName="msHidden",e.visibilityChangeEventName="msvisibilitychange"):void 0!==document.webkitHidden&&(e.hiddenPropName="webkitHidden",e.visibilityChangeEventName="webkitvisibilitychange"),document.addEventListener(e.visibilityChangeEventName,()=>{document[e.hiddenPropName]?e.triggerUserHasLeftPageOrGoneIdle():e.triggerUserHasReturned()},!1),window.addEventListener("blur",()=>{e.triggerUserHasLeftPageOrGoneIdle()}),window.addEventListener("focus",()=>{e.triggerUserHasReturned()})},listForIdleEvents:()=>{document.addEventListener("mousemove",()=>{e.userActivityDetected()}),document.addEventListener("keyup",()=>{e.userActivityDetected()}),document.addEventListener("touchstart",()=>{e.userActivityDetected()}),window.addEventListener("scroll",()=>{e.userActivityDetected()}),setInterval(()=>{!0!==e.isUserCurrentlyIdle&&e.checkIdleState()},e.checkIdleStateRateMs)},websocket:void 0,websocketHost:void 0,setUpWebsocket:t=>{if(window.WebSocket&&t){let a=t.websocketHost;try{e.websocket=new WebSocket(a),window.onbeforeunload=()=>{e.sendCurrentTime(t.appId)},e.websocket.onopen=()=>{e.sendInitWsRequest(t.appId)},e.websocket.onerror=e=>{console&&console.log("Error occurred in websocket connection: "+e)},e.websocket.onmessage=e=>{console&&console.log(e.data)}}catch(e){console&&console.error("Failed to connect to websocket host. Error:"+e)}}},websocketSend:t=>{e.websocket.send(JSON.stringify(t))},sendCurrentTime:t=>{let a={type:"INSERT_TIME",appId:t,timeOnPageMs:e.getTimeOnCurrentPageInMilliseconds(),pageName:e.currentPageName};e.websocketSend(a)},sendInitWsRequest:t=>{e.websocketSend({type:"INIT",appId:t})},initialize:t=>{let a,n,r=e.idleTimeoutMs||30,i=e.currentPageName||"default-page-name",s=!0,o=!0;t&&(r=t.idleTimeoutInSeconds||r,i=t.currentPageName||i,a=t.websocketOptions,n=t.initialStartTime,!1===t.trackWhenUserLeavesPage&&(s=!1),!1===t.trackWhenUserGoesIdle&&(o=!1)),e.setIdleDurationInSeconds(r),e.setCurrentPageName(i),e.setUpWebsocket(a),e.listenForVisibilityEvents(s,o),e.startTimer(void 0,n)}};return e})}).call(e.e)},34026,e=>{e.q("/_next/static/media/default.1nbmj46a5j1ye.png")},395659,e=>{e.q("/_next/static/media/audio.2gg4ns3bj8n-0.png")},174659,e=>{e.q("/_next/static/media/camera.0zh4ovqnoltyd.png")},910474,e=>{e.q("/_next/static/media/xe.3q44dcp7rfq9_.png")},58026,e=>{e.q("/_next/static/media/youtube.0rubkn-rhuf0z.png")}]);