1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="72d19456-cf6e-529d-8eef-978326215823")}catch(e){}}(); 3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,255738,e=>{"use strict";e.s(["default",()=>v]);var t=e.i(196494),n=e.i(624536),i=e.i(119862),r=e.i(161822),o=e.i(618566),s=e.i(948148),a=e.i(271645),l=e.i(635042),c=e.i(125469),u=e.i(996840),d=e.i(596309),h=e.i(769494),f=e.i(316539),m=e.i(197786),p=e.i(284726),g=e.i(51791);let v=()=>{let{user:e,jwt:v}=(0,t.default)(),y=(0,s.useTranslations)(),b=(0,o.useRouter)(),w=(0,r.useAppDispatch)(),_=(0,i.default)(),T=(0,n.default)(),{fetchDashboard:E}=(0,f.default)(),{isFeatureActive:k}=(0,p.default)(),x=(0,a.useRef)(e),L=(0,a.useRef)(v);(0,a.useEffect)(()=>{x.current=e,L.current=v},[e,v]);let I=(0,a.useCallback)(async()=>{let e=Date.now();for(;Date.now()-e<5e3;){if(!g.default.LOADING&&x.current&&L.current)return{user:x.current,jwt:L.current};await new Promise(e=>setTimeout(e,100))}return!g.default.LOADING&&x.current&&L.current?{user:x.current,jwt:L.current}:null},[]);return{handleBasicAction:(0,a.useCallback)(async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=c.default.endpoints.actions.actionHandler,r=x.current,o=L.current;if(!i)return l.default.errorResponse;if((!r||!o)&&(g.default.LOADING||await g.default.hasActiveGigyaSession())){let e=await I();e&&(r=e.user,o=e.jwt)}return r&&o?fetch(i,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(o)},body:JSON.stringify({actionType:e,locale:T,...t})}).then(async e=>({response:e,json:await e.json()})).then(e=>{let{response:t,json:i}=e;return 403===t.status?void(0,u.displayAuthorizationError)(_,y):(i.error&&t.status>=300&&403!==t.status&&404!==t.status&&409!==t.status&&(n&&_({type:d.NotifyType.error,message:y(n,{requestId:i.requestId})}),t.status>=500&&h.default.log("critical",{url:window.location.href,errorCode:"500",message:JSON.stringify(i)})),l.default.handleDefaultResponse(t,i,r,o,b,w,_,E))}).catch(()=>l.default.errorResponse):(await m.default.handleQuestAction(c.default.endpoints.actions.anonymousActionHandler,T,_,e,k,t),l.default.errorResponse)},[w,E,k,T,_,b,y,I])}}},77308,256563,593154,e=>{"use strict";e.s(["default",()=>o],77308);var t=e.i(843476),n=e.i(124821),i=e.i(51791),r=e.i(813678);let o=e=>{let{className:o,onClick:s,children:a,ariaLabel:l,hasShimmerOnHover:c}=e,u=(0,r.default)();return(0,t.jsx)(n.default,{type:"button",className:o,ariaLabel:null!=l?l:void 0,hasShimmerOnHover:c,onClick:e=>{i.default.startLoginProcess(u),s&&s(e)},children:a})};e.s(["default",()=>u],593154),e.s(["default",()=>l],256563);var s=e.i(534411),a=function(e){return e.RegularVisitor="regular_visitor",e.TradeVisitor="trade_visitor",e.Exhibitor="exhibitor",e}(a||{});class l{static getTicketCustomerGroup(e){var t;if(!e||!(null==(t=e.gamescomTickets)?void 0:t.length))return null;let n=e.gamescomTickets.find(e=>Object.values(a).includes(e.customer_group));return n?{customerGroup:n.customer_group}:null}static getVisibilityIndicators(e){let t={TradeVisitorTicket:{state:!1,shortCut:"F",color:"var(--color-purple-100)"},RegularVisitorTicket:{state:!1,shortCut:"B",color:"var(--color-pink-100)"},ExhibitorTicket:{state:!1,shortCut:"A",color:"var(--color-orange-100)"},NoTicket:{state:!1,shortCut:"N",color:"var(--color-red-100)"},GuestUsers:{state:!1,shortCut:"G",color:"var(--color-black-40)"},LoggedInUsers:{state:!1,shortCut:"E",color:"var(--color-cyan-100)"},Creator:{state:!1,shortCut:"C",color:"var(--color-blue-100)"}};return e.forEach(e=>{t[e]&&(t[e].state=!0)}),Object.values(t).filter(e=>e.state).map(e=>{let{shortCut:t,color:n}=e;return{shortCut:t,color:n}})}static isVisibleToCurrentUser(e,t,n,i){return!!n||0===e.length||(t?this.isVisibleToLoggedInUser(e,t,this.getTicketCustomerGroup(t),i):e.includes(s.VisibilityOptions.GuestUsers))}static isVisibleToLoggedInUser(e,t,n,i){return!!(e.includes(s.VisibilityOptions.LoggedInUsers)||e.includes(s.VisibilityOptions.Creator)&&i)||(n?this.isVisibleToUserWithTicket(e,n.customerGroup):e.includes(s.VisibilityOptions.NoTicket))}static isVisibleToUserWithTicket(e,t){let n={regular_visitor:s.VisibilityOptions.RegularVisitorTicket,trade_visitor:s.VisibilityOptions.TradeVisitorTicket,exhibitor:s.VisibilityOptions.ExhibitorTicket};return e.includes(n[t])}}var c=e.i(410287);let u=e=>{let{visibilityOptions:n}=e,i=(0,c.default)(),r=l.getVisibilityIndicators(n);return i&&r.length?(0,t.jsx)("div",{className:"visibility-indicators d-flex align-items-center position-absolute top-0 end-0 text-center",children:r.map(e=>(0,t.jsx)("div",{style:{background:e.color},children:e.shortCut},e.shortCut))}):null}},550243,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(161822);let n=()=>({tenant:(0,t.useAppSelector)(e=>e.tenant).tenant})},70463,e=>{"use strict";e.s(["default",()=>t]);let t=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Date;return!!(e.inTestmode&&t||new Date(e.startsAt)<=n&&new Date(e.endsAt)>=n)}},734908,e=>{"use strict";e.s(["fetchPartnerChecklist",()=>i]);var t=e.i(465145),n=e.i(246820);async function i(e){let i=(0,t.getCookie)(t.DRAFT_MODE_COOKIE_NAME);if(!i)return r("No draftMode token set");let o=await fetch(n.default.partnerChecklistEndpoint,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({checkPatterns:e,ownerId:i})});return 200!==o.status?r("Error while fetching partner checklist"):{hasErrors:!1,checkLists:(await o.json()).checkLists}}let r=e=>({hasErrors:!0,message:e})},311657,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(843476),n=e.i(584855),i=e.i(151641),r=e.i(768265),o=e.i(958318),s=e.i(160195),a=e.i(813678),l=e.i(521410);let c=e=>{let{playlist:c,showMoreWasClicked:u,sliderIndex:d,showMoreButtonId:h}=e,f=(0,a.default)(),{image:m,slug:p,title:g,description:v,type:y,events:b,videos:w}=c,_="events"===y?null==b?void 0:b.length:null==w?void 0:w.length,T="events"===y?"event":"livestreams"===y&&"video",E=c.id+(void 0!==d?"-".concat(d):h?"-".concat(h):"");return(0,t.jsxs)("div",{className:"playlist-item w-100 h-100 p-35",id:E,children:[(0,t.jsxs)(n.default,{href:(0,o.getLinkByType)(o.LinkType.playlist,p,f),className:"d-block text-decoration-none",onClick:()=>(0,l.addItemToSessionStorage)(E,d?"slider":h?"showMore":"list",d,u?h:void 0),children:[(0,t.jsxs)("div",{className:"position-relative",children:[(0,t.jsx)(i.default,{alt:g,image:m,aspectRatio:"1-1",triggerImageDimensionUpdate:u}),T?(0,t.jsx)(r.EventTypeBadge,{type:T,customClassNames:"position-absolute bottom-0 start-0"}):null]}),(0,t.jsx)("div",{className:"playlist-item--title mt-3",children:g})]}),(0,t.jsx)("div",{className:"playlist-item--total-item mt-1",children:(0,t.jsx)(s.Translate,{id:"events"===y?"playlist.totalEvents":"playlist.totalVideos",values:{count:_}})}),v&&(0,t.jsx)("div",{className:"playlist-item--description mt-25",children:v})]})}},940454,e=>{"use strict";e.s(["default",()=>s],940454);var t=e.i(843476),n=e.i(271645),i=e.i(343794);let r=(e,t,n)=>{let[i,r]=t,[o,s]=n;return(e-i)*(s-o)/(r-i)+o},o=(()=>{let e=null,t=null;return n=>{if(n!==e){var i,r;t=null!=(r=null==(i=n.target)?void 0:i.getBoundingClientRect())?r:null,e=n}let{x:o,y:s,width:a,height:l}=null!=t?t:{x:0,y:0,width:0,height:0};return{x:Math.max(0,n.clientX-o),y:Math.max(0,n.clientY-s),width:Math.round(a),height:Math.round(l)}}})(),s=e=>{let{props:s,children:a,maxTilt:l=10,maxScale:c=1.08,transformOriginY:u="center",enableShadingEffect:d=!1,enableHoloEffect:h=!1,disableShadowOnHover:f=!1}=e,m=n.default.useRef(null),p=n.default.useRef(null),g=(0,n.useCallback)(e=>{p.current&&(p.current.style.cssText=((e,t,n)=>{let{x:i,y:s,width:a,height:l}=o(e),c=r(i/a*100,[0,100],[30,70]),u=r(s/l*100,[0,100],[30,70]),d=a/2-i,h=l/2-s,f=Math.sqrt(d**2+h**2),m=Math.sqrt((a/2)**2+(l/2)**2),p="--rangedPosX: ".concat(c,"%;\n --rangedPosY: ").concat(u,"%;\n --rotateX: ").concat(h/f,";\n --rotateY: ").concat(-d/f,";\n --rotateDeg: ").concat(f/m*t,"deg;\n --mouseX: ").concat(c,"%;\n --mouseY: ").concat(u,"%;");return n?"".concat(p," ").concat("filter: brightness(".concat(1.6-s/l,");")):p})(e,l,d))},[l]),v=(0,n.useCallback)(()=>{var e;null==(e=p.current)||e.removeAttribute("style")},[]);(0,n.useEffect)(()=>{var e,t;return null==(e=m.current)||e.addEventListener("mousemove",g,!1),null==(t=m.current)||t.addEventListener("mouseout",v,!1),()=>{var e,t;null==(e=m.current)||e.removeEventListener("mousemove",g),null==(t=m.current)||t.removeEventListener("mouseout",v)}},[g,v]);let y=(0,t.jsx)("div",{className:"transform-3d--wrapper",style:{"--scale":c},children:(0,t.jsxs)("div",{ref:p,className:(0,i.default)("transform-3d--content",{"has-no-shadow":f}),children:[a,(0,t.jsx)("span",{className:"transform-3d--light"}),(0,t.jsx)("span",{className:"transform-3d--darkness"})]})});return(0,t.jsx)("div",{ref:m,className:(0,i.default)("transform-3d",{[null==s?void 0:s.className]:null==s?void 0:s.className,["transform-origin-y-".concat(u)]:u,"enable-holo-effect":h}),children:y})}},46961,734913,876821,e=>{"use strict";e.s(["default",()=>A],46961);var t=e.i(843476),n=e.i(271645);e.s(["default",()=>T],734913);var i=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,i){return e[0]===t&&(n=i,!0)}),n}function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},t}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=e.g.Math===Math?e.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,i=!1,r=0;function o(){n&&(n=!1,e()),i&&l()}function a(){s(o)}function l(){var e=Date.now();if(n){if(e-r<2)return;i=!0}else n=!0,i=!1,setTimeout(a,20);r=e}return l}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
3w e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},h=g(0,0,0,0);function f(e){return parseFloat(e)||0}function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+f(e["border-"+n+"-width"])},0)}var p="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e,t,n,i){return{x:e,y:t,width:n,height:i}}var v=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!r)return h;if(p(e)){var t;return g(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t,n=e.clientWidth,i=e.clientHeight;if(!n&&!i)return h;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],o=e["padding-"+r];t[r]=f(o)}return t}(r),s=o.left+o.right,a=o.top+o.bottom,l=f(r.width),c=f(r.height);if("border-box"===r.boxSizing&&(Math.round(l+s)!==n&&(l-=m(r,"left","right")+s),Math.round(c+a)!==i&&(c-=m(r,"top","bottom")+a)),(t=e)!==d(t).document.documentElement){var u=Math.round(l+s)-n,p=Math.round(c+a)-i;1!==Math.abs(u)&&(l-=u),1!==Math.abs(p)&&(c-=p)}return g(o.left,o.top,l,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),y=function(e,t){var n,i,r,o,s,a=(n=t.x,i=t.y,r=t.width,o=t.height,u(s=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:i,width:r,height:o,top:i,right:n+r,bottom:o+i,left:n}),s);u(this,{target:e,contentRect:a})},b=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new i,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new v(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new y(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),w="undefined"!=typeof WeakMap?new WeakMap:new i,_=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new b(t,c.getInstance(),this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){_.prototype[e]=function(){var t;return(t=w.get(this))[e].apply(t,arguments)}});let T=void 0!==o.ResizeObserver?o.ResizeObserver:_;e.s(["FontSizeProvider",()=>k,"useFontSizeContext",()=>x],876821);let E=(0,n.createContext)(void 0),k=e=>{let{children:i}=e,{direction:r,lastWidth:o}=(()=>
3{let[e,t]=(0,n.useState)(window.innerWidth),[i,r]=(0,n.useState)(null);return(0,n.useEffect)(()=>{let n=()=>{let n=window.innerWidth;n>e?r("bigger"):n<e&&r("smaller"),t(n)};return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)},[e]),{direction:i,lastWidth:e}})(),[s,a]=(0,n.useState)(1/0),[l,c]=(0,n.useState)(1/0),u=(0,n.useRef)(null),d=(0,n.useCallback)((e,t)=>{h(e,t),a(t=>Math.min(t,e)),c(e=>Math.min(e,t))},[s,l]);(0,n.useEffect)(()=>{h(s,l)},[s,l]),(0,n.useEffect)(()=>{"bigger"===r&&o<1920&&(a(1/0),c(1/0))},[o]);let h=(e,t)=>{u.current&&(u.current.style.setProperty("--smallest-container-font-size","".concat(e<s?e:s,"px")),u.current.style.setProperty("--smallest-container-max-height","".concat(t<l?t:l,"px")))};return(0,t.jsx)(E,{value:{smallestFontSize:s,smallestMaxHeight:l,updateFontSize:d},children:(0,t.jsx)("div",{className:"w-100",ref:u,children:i})})},x=()=>{let e=(0,n.useContext)(E);if(!e)throw Error("useFontSizeContext must be used within a FontSizeProvider");return e};var L=e.i(343794),I=e.i(259087);let A=e=>{var i;let r,{text:o,maxFontSizeInPixel:s,lineHeightInPixel:a,maxNumberOfTextRows:l=2,minFontSizeInPixel:c=1,useRichText:u=!1}=e,d=(0,n.useRef)(null);try{r=x()}catch{r=void 0}let h=null!=(i=null==r?void 0:r.updateFontSize)?i:()=>{},f=a/s,m=e=>l*e*f;h(s,m(s));let p=()=>{let e=d.current;if(!e)return;let t=s,n=m(t);for(e.style.fontSize="".concat(t,"px"),e.style.maxHeight="".concat(n,"px");t>c&&(e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth);)t-=1,n=m(t),e.style.fontSize="".concat(t,"px"),e.style.maxHeight="".concat(n,"px"),h(t,n)};(0,n.useEffect)(()=>{let e=d.current;if(!e)return;let t=new T(p);return t.observe(e),()=>t.disconnect()},[]);let g=u?(0,I.default)(o):o;return(0,t.jsx)("div",{ref:d,className:(0,L.default)({"has-container-font-size":r}),style:{overflow:"hidden"},children:g})}},454479,e=>{"use strict";e.s(["default",()=>o],454479);var t=e.i(958318),n=e.i(769494);class i extends Error{}let r=e=>e.startsWith("&")?e.replace("&","?"):e.startsWith("?")?e:"?".concat(e),o=(e,o,s)=>{if(!o)return"";if("string"==typeof o)return o;let a="",l="";try{var c,u,d,h,f,m,p,g,v,y,b,w,_,T;switch(o.__typename){case"ExternalLink":return o.url||"";case"PartnerContentPageLink":return(0,t.getLinkByType)(t.LinkType.partnerContentPage,o.partnerContentPages&&o.partnerContentPages[0]?null==(c=o.partnerContentPages[0])?void 0:c.id:void 0,e);case"ContentPageLink":{let n=null==(u=o.contentPage)?void 0:u.slug;if(n&&("lan/home"===n?n="":n.startsWith("lan/")&&(n=n.substring(4))),a=(0,t.getLinkByType)(t.LinkType.contentPage,n,e),o.parameters&&(l=r(o.parameters)),!(null==(d=o.contentPage)?void 0:d.slug)&&(o.parameters||o.fragments))return"".concat(o.parameters?l:"").concat(o.fragments?"#".concat(o.fragments):"");let i="".concat(a).concat(o.parameters?l:"").concat(o.fragments?"#".concat(o.fragments):"");return(0,t.getLinkWithLocale)(i,e)}case"GameProductLink":return(0,t.getLinkByType)(t.LinkType.product,o.products&&o.products[0]?null==(h=o.products[0])?void 0:h.slug:void 0,e);case"VideoLink":return(0,t.getLinkByType)(t.LinkType.video,null==(f=o.video)?void 0:f.slug,e);case"PartnerLink":return(0,t.getLinkByType)(t.LinkType.partner,null==(m=o.partner)?void 0:m.slug,e);case"PlaylistLink":return(0,t.getLinkByType)(t.LinkType.playlist,o.playlists&&o.playlists[0]?null==(p=o.playlists[0])?void 0:p.slug:void 0,e);case"NewsLink":return(0,t.getLinkByType)(t.LinkType.news,o.newsList&&(null==(g=o.newsList[0])?void 0:g.slug),e);case"EventLink":return(0,t.getLinkByType)(t.LinkType.event,o.events&&o.events[0]?null==(v=o.events[0])?void 0:v.slug:void 0,e);case"ListPageLink":a=null==(y=o.listPage)?void 0:y.slice(0,-5).replace("_","-"),"partners"===a&&(a="exhibitors");let n={wallet_fastlanes_list:"account/wallet/fastlane-tickets",wallet_signing_list:"account/wallet/signing-tickets",wallet_event_list:"account/wallet/event-tickets",wallet_publictransport_list:"account/wallet/public-transport-tickets",tickets_list:"account/wallet/tickets",favorites_livestreams_list:"account/favorites/livestreams",favorites_events_list:"account/favorites/events",favorites_products_list:"account/favorites/products",favorites_partners_list:"account/favorites/partner",favorites_creators_list:"account/favorites/creators",creators_edit_list:"creators/edit"};if(o.parameters&&(l=r(o.parameters)),o.listPage in n)return(0,t.getLinkWithLocale)("".concat(n[o.listPage]).concat(o.parameters?l:""),e);let E="tickets"===a||"places"===a||"calendar"===a,k="".concat(E?"account/":"").concat(a).concat(o.parameters?l:"");return(0,t.getLinkWithLocale)(k,e);case"UserProfileLinkComponent":if(!s)throw new i("No user slug provided for UserProfileLink");return(0,t.getLinkWithLocale)(null==(b=o.userProfilePage)?void 0:b.replaceAll("_","/").replace("profile",s),e);case"EpixPageLink":if(a=null==(w=o.epixPage)?void 0:w.replace("_","/").replaceAll("_","-"),"epix/about"===a)return(0,t.getLinkWithLocale)("epix",e);return(0,t.getLinkWithLocale)(a,e);case"AreaPageLink":return(0,t.getLinkByType)(t.LinkType.area,null!=(T=null==(_=o.areaPage)?void 0:_.slug)?T:"",e);default:return""}}catch(t){if(t instanceof i)throw t;return n.default.captureEvent({message:"Error while generating link for ".concat(o.__typename),extra:{link:o,locale:e,userSlug:s},level:"error"}),""}}},246820,e=>{"use strict";e.s(["default",()=>t]);let t={facebookDomainVerificationIdInt:"yjo4qholxakjafy8zfg9x7vhwkf3zc",facebookDomainVerificationIdGermany:"3ityh1rg2alcv1wq0k6xll1lohmn51",reducer:{globalSettings:"gamescom-global-settings",user:"gamescom-user",userInfo:"gamescom-user-info",userEvents:"gamescom-user-events",filter:"gamescom-filter",lazyLoadedFilter:"gamescom-lazy-loaded-filter",listing:"gamescom-listing",sorting:"gamescom-sorting",genreGames:"gamescom-genre-games",videos:"gamescom-videos",partners:"gamescom-partners",partnerCategory:"gamescom-partner-category",player:"gamescom-player",filterResult:"gamescom-filter-result",notify:"gamescom-notify",tracking:"gamescom-tracking",clientIP:"gamescom-clientIP"},partnerChecklistEndpoint:"".concat("https://tnjghr7n7f.execute-api.eu-central-1.amazonaws.com/production","/partnerChecklist"),individualCouponsEndpoint:"https://957s27xqh5.execute-api.eu-central-1.amazonaws.com/production/get-coupon",homePageSlug:"/",reCaptchaSiteKey:"6LfNqMMUAAAAANnCAz
3jKcmAXMifPlLYJlDLI4m4H",internalLinkRegex:/(\/\/|virt.|virt.lan.|staging.|staging.now.|staging.lan.|staging.lan.now.|lan.|www.|next.now.*)(gamescom.)(de|global)+/}},837145,e=>{"use strict";e.s(["default",()=>a],837145);var t=e.i(843476),n=e.i(522016),i=e.i(454479),r=e.i(813678);let o=e=>{let{children:n}=e;return(0,t.jsx)("button",{type:"button","aria-label":"string"==typeof n?n:void 0,id:"ot-sdk-btn",className:"ot-sdk-show-settings text-decoration-none d-flex btn btn--link",children:n})};var s=e.i(246820);let a=e=>{let{link:a,children:l,...c}=e,u=(0,r.default)();if(!a)return null;let{internalLinkRegex:d}=s.default,h="string"==typeof a&&d.test(a),f="string"!=typeof a&&a.__typename&&"ExternalLink"===a.__typename||"string"==typeof a&&!h&&a.includes("//");if("string"!=typeof a&&a.__typename&&"ActionLink"===a.__typename)return(0,t.jsx)(o,{children:l});let m=(0,i.default)(u,a);return m&&""!==m?(0,t.jsx)(n.default,{scroll:!1,href:m,rel:f?"nofollow noopener noreferrer":void 0,target:f?"_blank":void 0,...c,children:l}):null}},436772,e=>{"use strict";e.s(["default",()=>a]);var t=e.i(843476),n=e.i(343794),i=e.i(523289),r=e.i(958318),o=e.i(813678),s=e.i(689573);let a=e=>{var a,l,c,u,d;let{className:h,authorContext:f,customPartnerName:m,linkSlugParam:p,linkUrlParam:g,showNameShort:v=!1}=e;if(!f)return null;let y=(0,o.default)(),b=null==(a=f.partnerPremium)?void 0:a.isVerified,w=null==(l=f.partnerPremium)?void 0:l.disablePartnerPage,_=null!=(u=null==(c=f.partnerPremium)?void 0:c.disabledPartnerUrl)?u:"/",T=(0,t.jsxs)(t.Fragment,{children:[(null!=m?m:v)?f.nameShort:null!=(d=f.name)?d:null,b?(0,t.jsx)(i.DynamicIcon,{name:"icon-verified",className:"ms-1",width:16,height:16}):null]});return w?(0,t.jsx)(s.default,{className:(0,n.default)("author-link text-decoration-none",h,{"is--verified":b}),href:_,owner:f,"aria-label":null!=m?m:f.name,title:null!=m?m:f.name,children:T}):(0,t.jsx)(s.default,{href:(0,r.getLinkByType)(g,null!=p?p:f.slug,y),className:(0,n.default)("author-link text-decoration-none",h,{"is--verified":b}),owner:f,"aria-label":null!=m?m:f.name,title:null!=m?m:f.name,children:T})}},245895,e=>{"use strict";e.s(["default",()=>i]);var t=e.i(161822),n=e.i(271645);let i=()=>{let e=(0,t.useAppSelector)(e=>e.enumConfiguration),i=(0,n.useMemo)(()=>e.enumConfiguration.seasonConfiguration.find(e=>!0===e.currentSeason),[e.enumConfiguration.seasonConfiguration]);return{accessibilityConfiguration:e.enumConfiguration.accessibilityConfiguration,genreConfiguration:e.enumConfiguration.genreConfiguration,platformConfiguration:e.enumConfiguration.platformConfiguration,topicConfiguration:e.enumConfiguration.topicConfiguration,eventOrVideoTypeConfiguration:e.enumConfiguration.eventOrVideoTypeConfiguration,seasonConfiguration:e.enumConfiguration.seasonConfiguration,currentSeason:i}}},768265,e=>{"use strict";e.s(["EventTypeBadge",()=>o]);var t=e.i(843476),n=e.i(343794),i=e.i(523289),r=e.i(160195);let o=e=>{let{type:o,customClassNames:s}=e;return(0,t.jsxs)("span",{className:(0,n.default)("event-type-badge d-inline-flex align-items-center",s,{["event-type-badge--".concat(o)]:!!o}),children:["event"===o&&(0,t.jsx)(i.DynamicIcon,{name:"icon-location-filled",className:"m-0 flex-shrink-0",width:12,height:12}),"video"===o&&(0,t.jsx)(i.DynamicIcon,{name:"icon-play-filled",className:"m-0 flex-shrink-0",width:12,height:12}),(0,t.jsx)("span",{children:(0,t.jsx)(r.Translate,{id:"iconObjects.".concat(o)})})]})}},851345,113129,e=>{"use strict";e.s(["YOUTUBE_URL_REGEX",()=>r,"default",()=>l],851345);var t=e.i(799235);e.s(["default",()=>i],113129);var n=e.i(769494);let i=(e,t)=>{let i=t.find(t=>t.configKey===e);return i?i.displayName:(n.default.log("warning",{url:window.location.href,message:"No enum configuration found for item: ".concat(e)}),e)},r=/^https:\/\/(?:www\.youtube\.com\/(?:embed\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?|watch\?v=[A-Za-z0-9_-]{11}(?:[&?][^#\s]*)?|watch\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?|live\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?|shorts\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?)|youtu\.be\/[A-Za-z0-9_-]{11}(?:[?&][^#\s]*)?)$/,o=/(?:youtu\.be\/|youtube\.com\/(?:watch\?v=|embed\/|v\/|shorts\/|live\/|watch\/))([a-zA-Z0-9_-]{11})/,s=/^https:\/\/(?:www\.)?twitch\.tv\/videos\/[a-zA-Z0-9]+$/,a=/^https:\/\/(?:www\.)?twitch\.tv\/[a-zA-Z0-9_]+\/?$/;class l{static shouldAutoplayVideo(e){if(!e.videoUrl||void 0===this.getVideoSourceFromUrl(e.videoUrl))return!1;let t=this.isVideoEnded(e)&&this.isTwitchLivestream(e.videoUrl),n=e.endsAt&&this.isVideoEnded(e);return!this.isVideoStartingInFuture(e)&&!t&&!n}static getCalculatedVideoProperties(e,t){var n,r,o;let s=l.isLive(e),a=e.videoType?i(e.videoType,t):"",c=null==(n=e.productList)?void 0:n.length,u=1===c?e.productList&&e.productList[0]:null,d=null!=(o=null==(r=e.owner)?void 0:r.nameShort)?o:null;return{isLive:s,length:this.getLength(e),product:u,productLength:c,videoType:a,partnerName:d}}static isLive(e){return this.isLivestream(e)&&this.isVideoStarted(e)&&!this.isVideoEnded(e)}static isLivestream(e){return!!e.isLivestream}static isVideoWithStartsAndEndsAtTimestamp(e){return!!(this.isLivestream(e)&&e.startsAt&&e.endsAt)}static isVideoEnded(e){if(!e.endsAt)return!0;try{return t.default.timeAfterNow(e.endsAt)}catch(e){return console.warn(e),!0}}static isVideoStarted(e){if(!e.startsAt)return!1;try{return t.default.timeAfterNow(e.startsAt)}catch(e){return console.warn(e),!1}}static isVideoStartingInFuture(e){return!!e.startsAt&&new Date(e.startsAt).getTime()>Date.now()}static sortVideosByEndTimestamp(e,t){if(!e.endsAt||!t.endsAt)return 0;let n=new Date(e.endsAt);return new Date(t.endsAt).getTime()-n.getTime()}static sortVideosByStartTimestamp(e,t){if(!e.startsAt||!t.startsAt)return 0;let n=new Date(e.startsAt),i=new Date(t.startsAt);return n.getTime()-i.getTime()}static getLength(e){return this.isLivestream(e)?e.startsAt&&e.endsAt&&e.startsAt<e.endsAt?t.default.formatTime(new Date(e.startsAt),new Date(e.endsAt)):"":e.length?t.default.formatDistance(e.length):""}static isTwitchLivestream(e){return a.test(e)&&!s.test(e)}static checkIfVideoIsTypeYouTube(e){return r.test(e)}static getVideoSourceFromUrl(e){if(e){if(r.test(e))return"YouTube";if(s.test(e))return"TwitchVideo";if(a.test(e))return"TwitchLivestream"}}static getVideoIdFromYouTubeLikeUrl(e){if("string"==typeof e){let t=Reg
3Exp(o).exec(e);return t&&11===t[1].length?t[1]:void 0}}static getVideoIdFromTwitchLikeUrl(e){if("string"==typeof e)try{let t=new URL(e);if(t.pathname.includes("videos"))return t.pathname.split("/")[2];return t.pathname.split("/")[1]}catch(e){return}}static getVideoIdFromUrl(e){let t=l.getVideoSourceFromUrl(e);if(t){if("YouTube"===t)return l.getVideoIdFromYouTubeLikeUrl(e);if("TwitchLivestream"===t||"TwitchVideo"===t)return l.getVideoIdFromTwitchLikeUrl(e)}}static trimVideoUrl(e){return"string"==typeof e?e.trim():""}}},536072,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(843476),n=e.i(523289),i=e.i(160195),r=e.i(522016),o=e.i(958318),s=e.i(124821),a=e.i(948148),l=e.i(813678);let c=e=>{let{videoSlug:c,onClick:u}=e,d=(0,a.useTranslations)(),h=(0,l.default)();return c?(0,t.jsx)("div",{className:"w-100",children:(0,t.jsx)(s.default,{type:"button",isButtonElement:!1,ariaLabel:d("videoAndEventTile.ctaButton.viewVideo"),children:(0,t.jsxs)(r.default,{href:(0,o.getLinkByType)(o.LinkType.video,c,h),className:"btn btn--secondary w-100 text-nowrap",draggable:!1,onClick:null!=u?u:void 0,children:[(0,t.jsx)(n.DynamicIcon,{name:"icon-play-circle-outline",className:"m-0 me-25",width:20,height:20}),(0,t.jsx)("span",{className:"truncate",children:(0,t.jsx)(i.Translate,{id:"videoAndEventTile.ctaButton.viewVideo"})})]})})}):null}},543680,e=>{"use strict";e.s(["default",()=>d]);var t=e.i(799235),n=e.i(822315),i=e.i(472856),r=e.i(77270),o=e.i(572639),s=e.i(120763),a=e.i(24002),l=e.i(948148),c=e.i(813678),u=e.i(271645);let d=e=>{let{startTime:d,endTime:h,children:f,showShortTime:m=!1}=e,p=(0,l.useTranslations)(),g=(0,c.default)(),v=t.default.toDateJS(d),y=t.default.toDateJS(h);if(!v&&!y)return null;let b="function"==typeof f?e=>f(e):e=>e,w=(0,u.useMemo)(()=>"de"===g?"DD.MM., LT":"MM/DD [at] LT",[g]),_=(0,n.default)();if(n.default.locale(g),n.default.extend(r.default),n.default.extend(i.default),n.default.extend(o.default),n.default.extend(a.default),n.default.extend(s.default),!v)return b(p("videoEventDate.fallback.end",{formattedDateString:y?t.default.formatLocalized(y,g,w):""}));if(!y)return b(p("videoEventDate.fallback.start",{formattedDateString:t.default.formatLocalized(v,g,w)}));if(m){let e=t.default.formatLocalized(v,g);return b(v.isTomorrow()?p("videoEventDate.tomorrow",{formattedDateString:e}):e)}if(v.isBefore(_.add(-1,"day"))){if(y.isBefore(_.add(-1,"day")))return b(p("videoEventDate.ended",{formattedDateString:y.fromNow()}));if(y.isYesterday())return b(p("videoEventDate.yesterday",{formattedDateString:t.default.formatLocalizedTimeSpan(v,y,g)}));if(_.isBefore(y))return b(p("videoEventDate.since",{formattedDateString:t.default.formatLocalized(v,g,w)}))}if(v.isYesterday()){if(y.isYesterday())return b(p("videoEventDate.yesterday",{formattedDateString:t.default.formatLocalizedTimeSpan(v,y,g)}));if(_.isBefore(y))return b(p("videoEventDate.sinceYesterday",{formattedDateString:t.default.formatLocalized(v,g)}));if(_.isAfter(y))return b(p("videoEventDate.ended",{formattedDateString:y.fromNow()}))}return v.isToday()?b(_.isBefore(v)&&_.isBefore(y)||_.isAfter(v)&&_.isAfter(y)?p("videoEventDate.today",{formattedDateString:t.default.formatLocalizedTimeSpan(v,y,g)}):p("videoEventDate.sinceToday",{formattedDateString:t.default.formatLocalized(v,g)})):b(v.isTomorrow()&&y.isTomorrow()?p("videoEventDate.tomorrow",{formattedDateString:t.default.formatLocalizedTimeSpan(v,y,g)}):v.isTomorrow()&&y.isAfter(v.add(1,"day"))?p("videoEventDate.tomorrow",{formattedDateString:"".concat(t.default.formatLocalized(v,g)," â ").concat(t.default.formatLocalized(y,g,w))}):p("videoEventDate.starts",{formattedDateString:t.default.formatLocalized(v,g,w)}))}},824324,e=>{"use strict";e.s(["default",()=>s],824324);var t=e.i(843476),n=e.i(343794),i=e.i(124821);let r=e=>{let{className:i}=e;return(0,t.jsx)("div",{className:(0,n.default)(i,"loading-button")})};var o=e.i(523289);let s=e=>{let{showLoadMore:s=!1,showSeeAll:a=!1,onClickShowMore:l,onClickSeeAll:c,className:u,disabled:d=!1,loading:h=!1,showMoreButtonType:f="tertiary",showMoreButtonText:m="Show more",seeAllButtonText:p="See all",disableMarginTop:g=!1,id:v}=e;return s||a?(0,t.jsx)("div",{className:(0,n.default)("row justify-content-center",u,{"mt-5":!g,"show-more--btn position-relative":!a,"has--btn-tertiary":"tertiary"===f}),children:(0,t.jsx)("div",{className:"col-sm-6 col-md-4 col-lg-3 col-xxxl-2 justify-content-center",children:s&&!a?(0,t.jsxs)(i.default,{disabled:d,className:(0,n.default)("btn",{"btn--default w-100 justify-content-center":"default"===f,"btn--secondary w-100 justify-content-center":"secondary"===f,"btn--tertiary mx-auto":"tertiary"===f}),type:"button",onClick:l,ariaLabel:m,id:v,children:[h?(0,t.jsx)(r,{className:"me-2"}):null,m,"Show more"===m?(0,t.jsx)(o.DynamicIcon,{name:"icon-chevron-down",width:14,height:14}):null]}):(0,t.jsx)(i.default,{className:"btn btn--default w-100 justify-content-center",type:"button",onClick:c,ariaLabel:p,id:v,children:p})})}):null}},760207,e=>{"use strict";e.s(["default",()=>f]);var t=e.i(843476),n=e.i(271645),i=e.i(259087),r=e.i(617870),o=e.i(343794),s=e.i(824324),a=e.i(522016),l=e.i(816108),c=e.i(837145),u=e.i(948148),d=e.i(521410),h=e.i(246820);let f=e=>{let{className:f="",value:m={},collapseOnMobile:p=!1,accordionId:g}=e,v=(0,n.useRef)(null),y="mobile"===(0,l.default)(),[b,w]=(0,n.use
3State)(!1),[_,T]=(0,n.useState)(!1),E=(0,u.useTranslations)(),{internalLinkRegex:k}=h.default,x={replace:e=>{if(!(e instanceof r.Element)||!e.attribs)return null;let n=(0,r.attributesToProps)(e.attribs);if("img"===e.name&&"tag"===e.type){let i=y?375:1140,r=Number(e.attribs.width),o=Number(e.attribs.height),s=r>0&&o>0?o/r:null,a=null!==s?Math.round(i*s):o,l=((e,t,n)=>{let i="resize=width:".concat(t,",height:").concat(n,"/"),r=e.replace(/resize=width:\d+,height:\d+\//g,"");return/output=format:[^/]+/.test(r)?r.replace(/output=format:[^/]+\/?/,e=>"".concat(e).concat(i)):r.replace(/\/([^/]+)$/,"/".concat(i,"$1"))})(e.attribs.src,i,a),c=e.attribs.src.replace(/resize=width:\d+,height:\d+\//g,"");return(0,t.jsx)("img",{...n,alt:e.attribs.alt||"",src:l,onLoad:e=>{let t=e.currentTarget;s&&t.naturalWidth&&t.naturalHeight&&t.naturalHeight/t.naturalWidth>1.5*s&&t.src!==c&&(t.src=c)}})}if("a"===e.name&&"tag"===e.type){let o=n.href||"",s=!k.test(o)&&o.includes("//"),l=e.attribs["data-gcms-embed-id"];if(l){var i;let o=null==(i=m.references)?void 0:i.find(e=>e.id===l);if(null==o?void 0:o.link)return(0,t.jsx)(c.default,{link:o.link,className:"string"==typeof n.className?n.className:void 0,onClick:()=>g&&!s?(0,d.addItemToSessionStorage)(g,"accordion"):void 0,...n,children:e.children&&(0,r.domToReact)(e.children,x)})}return(0,t.jsx)(a.default,{scroll:!1,href:o,className:"string"==typeof n.className?n.className:void 0,rel:s?"nofollow noopener noreferrer":void 0,target:s?"_blank":void 0,onClick:()=>g&&!s?(0,d.addItemToSessionStorage)(g,"accordion"):void 0,...n,children:e.children&&(0,r.domToReact)(e.children,x)})}return"table"===e.name&&"tag"===e.type?(0,t.jsx)("div",{className:"rich-text__table-wrapper",children:(0,t.jsx)("div",{className:"rich-text__table",children:(0,t.jsx)("table",{...n,children:e.children&&(0,r.domToReact)(e.children,x)})})}):null}};return((0,n.useEffect)(()=>{if(y){(()=>{let e=Array.from(document.querySelectorAll(".rich-text__table-wrapper")),t=window.innerWidth-32;e.forEach(e=>{let n=e.querySelector("table"),i=null==n?void 0:n.getBoundingClientRect().width;i&&i>t&&e.classList.add("is--overflow")})})(),p&&v.current&&v.current.clientHeight-100>400&&(T(!0),w(!0));return}w(!1),T(!1)},[y]),(null==m?void 0:m.html)&&(null==m?void 0:m.html)!=="<p></p>")?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:v,className:(0,o.default)("is--rich-text",f,{"is--collapsable":p,"is--collapsed":p&&b}),style:{maxHeight:_?"".concat(400,"px"):void 0},children:m&&(0,i.default)(m.html,x)}),y&&p&&b?(0,t.jsx)(s.default,{disableMarginTop:!0,showLoadMore:!0,showMoreButtonText:E("ui.buttons.readMore"),onClickShowMore:()=>{T(!1),w(!1)}}):null]}):null}},702416,e=>{"use strict";e.s(["ErrorBoundary",()=>g],702416);var t,n=e.i(250804),i=e.i(272598),r=e.i(662537),o=e.i(791338),s=e.i(249859),a=e.i(14438);function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=a.WINDOW.document,l=(null==t?void 0:t.head)||(null==t?void 0:t.body);if(!l){s.DEBUG_BUILD&&i.debug.error("[showReportDialog] Global document not defined");return}let c=(0,n.getCurrentScope)(),u=(0,n.getClient)(),d=null==u?void 0:u.getDsn();if(!d){s.DEBUG_BUILD&&i.debug.error("[showReportDialog] DSN not configured");return}let h={...e,user:{...c.getUser(),...e.user},eventId:e.eventId||(0,r.lastEventId)()},f=a.WINDOW.document.createElement("script");f.async=!0,f.crossOrigin="anonymous",f.src=(0,o.getReportDialogEndpoint)(d,h);let{onLoad:m,onClose:p}=h;if(m&&(f.onload=m),p){let e=t=>{if("__sentry_reportdialog_closed__"===t.data)try{p()}finally{a.WINDOW.removeEventListener("message",e)}};a.WINDOW.addEventListener("message",e)}l.appendChild(f)}var c=e.i(271645);let u="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__;var d=e.i(453288);let h=Symbol.for("react.forward_ref"),f=Symbol.for("react.memo"),m={};m[h]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},m[f]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.defineProperty.bind(Object),Object.getOwnPropertyNames.bind(Object),null==(t=Object.getOwnPropertySymbols)||t.bind(Object),Object.getOwnPropertyDescriptor.bind(Object),Object.getPrototypeOf.bind(Object),Object.prototype;let p={componentStack:null,error:null,eventId:null};
3class g extends c.Component{componentDidCatch(e,t){let{componentStack:i}=t,{beforeCapture:o,onError:s,showDialog:a,dialogOptions:u}=this.props;(0,n.withScope)(n=>{o&&o(n,e,i);let h=function(e,t,n){let{componentStack:i}=t;if(function(e){let t=e.match(/^([^.]+)/);return null!==t&&parseInt(t[0])>=17}(c.version)&&(0,d.isError)(e)&&i){let t=Error(e.message);t.name="React ErrorBoundary ".concat(e.name),t.stack=i;let n=new WeakSet;!function e(t,i){if(!n.has(t)){if(t.cause)return n.add(t),e(t.cause,i);t.cause=i}}(e,t)}return(0,r.captureException)(e,n)}(e,t,{mechanism:{handled:null!=this.props.handled?this.props.handled:!!this.props.fallback,type:"auto.function.react.error_boundary"}});s&&s(e,i,h),a&&(this._lastEventId=h,this._openFallbackReportDialog&&l({...u,eventId:h})),this.setState({error:e,componentStack:i,eventId:h})})}componentDidMount(){let{onMount:e}=this.props;e&&e()}componentWillUnmount(){let{error:e,componentStack:t,eventId:n}=this.state,{onUnmount:i}=this.props;i&&(this.state===p?i(null,null,null):i(e,t,n)),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}resetErrorBoundary(){let{onReset:e}=this.props,{error:t,componentStack:n,eventId:i}=this.state;e&&e(t,n,i),this.setState(p)}render(){let{fallback:e,children:t}=this.props,n=this.state;if(null===n.componentStack)return"function"==typeof t?t():t;let r="function"==typeof e?c.createElement(e,{error:n.error,componentStack:n.componentStack,resetError:()=>this.resetErrorBoundary(),eventId:n.eventId}):e;return c.isValidElement(r)?r:(e&&u&&i.debug.warn("fallback did not produce a valid ReactElement"),null)}constructor(e){super(e),this.state=p,this._openFallbackReportDialog=!0;let t=(0,n.getClient)();t&&e.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=t.on("afterSendEvent",t=>{!t.type&&this._lastEventId&&t.event_id===this._lastEventId&&l({...e.dialogOptions,eventId:this._lastEventId})}))}}},912321,944160,e=>{"use strict";e.s(["calculateAdPositionInLists",()=>h,"default",()=>m],912321);var t=e.i(843476),n=e.i(702416),i=e.i(816108),r=e.i(213659),o=e.i(271645),s=e.i(343794);e.s(["default",()=>a],944160);let a={adButlerID:188345,pageIds:{default:{desktop:{de:974298,en:974309},mobile:{de:974319,en:974329}},events:{desktop:{de:974300,en:974311},mobile:{de:974321,en:974331}},games:{desktop:{de:974301,en:974312},mobile:{de:974322,en:974332}},cards_boards:{desktop:{de:974308,en:974318},mobile:{de:974328,en:974338}},livestreams:{desktop:{de:974302,en:974313},mobile:{de:974323,en:974333}},sidebar:{desktop:{de:974303,en:974314},mobile:{de:974324,en:974334}},search:{desktop:{de:974304,en:974315},mobile:{de:974325,en:974335}},videos:{desktop:{de:974305,en:974316},mobile:{de:974326,en:974336}}}};var l=e.i(833997);let c=!1;class u{static async loadAd(e){try{let t=await fetch("https://servedbyadbutler.com/adserve/;ID=".concat(a.adButlerID,";size=0x0;setID=").concat(e,";type=json"));if(!t.ok)return null;let n=await t.json();if("SUCCESS"!==n.status)return null;return n.placements.placement_1.body}catch(e){return""}}}var d=e.i(543476);let h=e=>{let{isMobile:t,isTablet:n,isDesktop:i,mobileThreshold:r,tabletThreshold:o,desktopThreshold:s,currentPosition:a,totalNumberOfListItems:l}=e;return t&&a===r&&l>=r-1||n&&a===o&&l>=o-1||i&&a===s&&l>=s-1||t&&l<=r-1&&a===l-1||n&&l<=o-1&&a===l-1||i&&l<=s-1&&a===l-1},f={inline:e=>{let{id:n,format:i,pageId:r,isInListPositioned:u,adName:d,className:h=""}=e;if(!i)return null;let[f,m]=i.slice(1).split("x").map(Number),[p,g]=(0,o.useState)(!0),v="plc".concat(r),y=(0,o.useRef)(0),b=(0,o.useRef)(null);(0,l.default)("inlineAd"),(0,o.useEffect)(function(){(()=>{if(c)return;c=!0;let e=document.createElement("script");e.async=!0,e.src="https://servedbyadbutler.com/app.js",document.head.appendChild(e)})(),window.AdButler=window.AdButler||{ads:[],register:()=>{}},window.AdButler.ads=window.AdButler.ads||[],window[v]=window[v]||0,y.current=window[v];let e="placement_".concat(r,"_").concat(y.current),t="adbutler-style-".concat(e);if(!document.getElementById(t)){let n=document.createElement("style");n.id=t,n.textContent="#".concat(e," iframe { width: ").concat(f,"px !important; height: ").concat(m,"px !important; display: block !important; }"),document.head.appendChild(n)}let n=()=>{var t;let n=null==(t=b.current)?void 0:t.querySelector("#".concat(e));return!!n&&n.childElementCount>0},i=new MutationObserver(()=>{n()&&(i.disconnect(),clearTimeout(o),g(!0))});b.current&&i.observe(b.current,{childList:!0,subtree:!0});let o=setTimeout(()=>{n()?i.disconnect():g(!1)},3e3);return window.AdButler.ads.push({handler:e=>{window.AdButler.register(a.adButlerID,r,[f,m],"placement_".concat(r,"_").concat(e.place),e)},opt:{place:window[v]++,domain:"servedbyadbutler.com",click:"CLICK_MACRO_PLACEHOLDER"}}
3),()=>{i.disconnect(),clearTimeout(o)}},[]);let w=(0,t.jsx)("div",{className:"page-advertisement--wrapper",id:d,ref:b,children:(0,t.jsx)("div",{id:"placement_".concat(r,"_").concat(y.current)})});return u?(0,t.jsx)("div",{id:n,className:(0,s.default)("page-advertisement--inline d-flex position-relative align-items-center justify-content-center",{[h]:h,"d-none":!p}),children:w}):(0,t.jsx)("section",{className:(0,s.default)("page-advertisement container d-flex justify-content-center gap--m",{"d-none":!p}),children:w})},native_ad_template:e=>{let{pageId:n}=e,[i,r]=(0,o.useState)(!1),[s,a]=(0,o.useState)(null),c=(0,o.useRef)(null);return(0,l.default)("nativeAd"),(0,o.useEffect)(function(){n&&u.loadAd(n).then(e=>{a(e)})},[n]),(0,o.useEffect)(()=>{if(s){let e=setTimeout(()=>r(!0),500);return()=>{clearTimeout(e)}}},[s]),(0,o.useEffect)(function(){s&&c.current&&(c.current.innerHTML=s)},[s]),(0,o.useEffect)(function(){s&&i&&c.current&&c.current.querySelectorAll("script").forEach(e=>{e.replaceWith(function(e){let t=document.createElement("script");for(let n of e.attributes)t.setAttribute(n.name,n.value);return t.text=e.text,t}(e))})},[s,i]),(0,t.jsx)(d.default,{children:(0,t.jsx)("div",{ref:c,className:"native-ad-wrapper"})})}},m=e=>{var o;let s=null==(o=(0,r.default)().bannerEnabled)||o,a="mobile"===(0,i.default)();if(!s)return null;let{type:l,showDesktop:c,showMobile:u,pageId:d}=e,h=f[l];return d&&(a&&u||!a&&c)&&h?(0,t.jsx)(n.ErrorBoundary,{fallback:(0,t.jsx)(t.Fragment,{}),beforeCapture:e=>e.setTag("errorBoundary","ad:".concat(l)),children:(0,t.jsx)(h,{...e})}):null}},214616,e=>{"use strict";e.s(["fallbackErrorImage",()=>i,"fallbackNullstateImage",()=>n]);var t=e.i(250441);let n={handle:"AMwDHZTUSMaIlRlMFLL7Qz"===t.hygraphAssetEnvironmentIds.staging2023?"4UBxwrEQeI6Y9wSrpoA2":"DYrrKRRvTvKhWg2kvHnT",mimeType:"image/png",url:"",width:NaN,height:NaN,fileName:"",alt_en:"No Results",alt_de:"Keine Ergebnisse"},i={handle:"AMwDHZTUSMaIlRlMFLL7Qz"===t.hygraphAssetEnvironmentIds.staging2023?"NzQMSR9T4q8UA3Qo6YtM":"hiTg7dyTQnq8aRTy9BKH",mimeType:"image/jpeg",url:"",width:NaN,height:NaN,fileName:"",alt_en:"Error",alt_de:"Fehler"};"".concat(t.HYGRAPH_ASSET_URL,"/").concat("AMwDHZTUSMaIlRlMFLL7Qz","/resize=fit:clip,width:1200/"),"".concat(t.HYGRAPH_ASSET_URL,"/").concat("AMwDHZTUSMaIlRlMFLL7Qz","/resize=w:1150,fit:crop/quality=value:95/border=width:25,color:black,background:black/auto_image/compress/")},260790,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(540151);class n{static addImpression(e){if(!e)return;let{trkknImpressionMaxNumber:t,trkknImpressionMaxTimeInSeconds:i}=window;t&&n.maxLength!==t&&(n.maxLength=t),i&&n.maxTime!==i&&(n.maxTime=i);let r="".concat(e.item_id,"_").concat(e.location_id);if(!n.alreadyTracked.includes(r)){if(n.promotionImpressions.length>=n.maxLength&&n.pushImpressions(),n.promotionImpressions.push(e),n.alreadyTracked.push(r),n.promotionImpressions.length>=n.maxLength)return void n.pushImpressions();clearTimeout(n.impressionTimeout),n.impressionTimeout=setTimeout(()=>n.pushImpressions(),1e3*n.maxTime)}}static pushImpressions(){0!==n.promotionImpressions.length&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"Ecommerce - View Promotion",event_name:"view_promotion",view_promotion:{items:n.promotionImpressions}}),n.promotionImpressions=[])}static getTrackingObject(e,t){switch(e.typename){case"Video":return n.getVideoTrackingObject(e,t);case"News":return n.getNewsTrackingObject(e,t);case"Game":return n.getProductTrackingObject(e,t);case"Partner":return n.getPartnerTrackingObject(e,t);case"Event":return n.getEventTrackingObject(e,t);default:return null}}static getVideoTrackingObject(e,t){var i,r;let o=e.productList&&(null==(i=e.productList)?void 0:i.length)>0?e.productList[0].name:"";return{item_id:"".concat(e.id),item_name:"".concat(e.title),item_category:"".concat(o),item_category2:"".concat((null==(r=e.owner)?void 0:r.name)||n.FALLBACK_PARTNER),item_variant:"Video",location_id:t}}static getProductTrackingObject(e,t){var i;return{item_id:"".concat(e.id),item_name:"".concat(e.name),item_category:"".concat(e.name),item_category2:"".concat((null==(i=e.owner)?void 0:i.name)||n.FALLBACK_PARTNER),item_variant:"Product",location_id:t}}static getEventTrackingObject(e,t){var i;return{item_id:"".concat(e.id),item_name:"".concat(e.title),item_category:"".concat(e.title),item_category2:"".concat((null==(i=e.owner)?void 0:i.name)||n.FALLBACK_PARTNER),item_variant:"Event",location_id:t}}static getPartnerTrackingObject(e,t){return{item_id:"".concat(e.id),item_name:"".concat(e.name),item_category:"",item_category2:"".concat(e.name),item_variant:"Partner",location_id:t}}static getNewsTrackingObject(e,t){var i,r;return{item_id:"".concat(e.id),item_name:"".concat(e.title),item_category:"".concat((null==(i=e.product)?void 0:i.name)||""),item_category2:"".concat((null==(r=e.owner)?void 0:r.name)||n.FALLBACK_PARTNER),item_variant:"News",location_id:t}}}(0,t._)(n,"alreadyTracked",[]),(0,t._)(n,"FALLBACK_PARTNER",""),(0,t._)(n,"promotionImpressions",[]),(0,t._)(n,"maxLength",20),(0,t._)(n,"maxTime",30),(0,t._)(n,"impressionTimeout",null)},100337,e=>{"use strict";e.s(["useImpressionTracker",()=>l]);var t=e.i(271645),n=e.i(422233);!function(){if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Ob
3ject.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var e=function(e){for(var t=window.document,n=r(t);n;)n=r(t=n.ownerDocument);return t}(),t=[],n=null,i=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return n||(n=function(e,n){i=e&&n?d(e,n):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach(function(e){e._checkForIntersections()})}),n},s._resetCrossOriginUpdater=function(){n=null,i=null},s.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},s.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},s.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},s.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1==this._monitoringDocuments.indexOf(t)){var i=this._checkForIntersections,o=null,s=null;if(this.POLL_INTERVAL?o=n.setInterval(i,this.POLL_INTERVAL):(a(n,"resize",i,!0),a(t,"scroll",i,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in n&&(s=new n.MutationObserver(i)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),l(e,"resize",i,!0)),l(t,"scroll",i,!0),s&&s.disconnect()}),t!=(this.root&&(this.root.ownerDocument||this.root)||e)){var c=r(t);c&&this._monitorIntersections(c.ownerDocument)}}},s.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!=n){var i=this.root&&(this.root.ownerDocument||this.root)||e;if(!this._observationTargets.some(function(e){var n=e.element.ownerDocument;if(n==t)return!0;for(;n&&n!=i;){var o=r(n);if((n=o&&o.ownerDocument)==t)return!0}return!1})){var o=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),o(),t!=i){var s=r(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t<e.length;t++)e[t]()},s.prototype._checkForIntersections=function(){if(this.root||!n||i){var e=this._rootIsInDom(),t=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(i){var r=i.element,s=c(r),a=this._rootContainsTarget(r),l=i.entry,u=e&&a&&this._computeTargetAndRootIntersection(r,s,t),d=null;this._rootContainsTarget(r)?n&&!this.root||(d=t):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var h=i.entry=new o({time:window.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:d,intersectionRect:u});l?e&&a?this._hasCrossedThreshold(l,h)&&this._queuedEntries.push(h):l&&l.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(t,r,o){if("none"!=window.getComputedStyle(t).display){for(var s,a,l,u,h,m,p,g,v=r,y=f(t),b=!1;!b&&y;){var w=null,_=1==y.nodeType?window.getComputedStyle(y):{};if("none"==_.display)return null;if(y==this.root||9==y.nodeType)if(b=!0,y==this.root||y==e)n&&!this.root?i&&(0!=i.width||0!=i.height)?w=i:(y=null,w=null,v=null):w=o;else{var T=f(y),E=T&&c(T),k=T&&this._computeTargetAndRootIntersection(T,E,o);E&&k?(y=T,w=d(E,k)):(y=null,v=null)}else{var x=y.ownerDocument;y!=x.body&&y!=x.documentElement&&"visible"!=_.overflow&&(w=c(y))}if(w&&(s=w,a=v,l=void 0,u=void 0,h=void 0,m=void 0,p=void 0,g=void 0,l=Math.max(s.top,a.top),u=Math.min(s.bottom,a.bottom),h=Math.max(s.left,a.left),m=Math.min(s.right,a.right),g=u-l,v=(p=m-h)>=0&&g>=0&&{top:l,bottom:u,left:h,right:m,width:p,height:g}||null),!v)break;y=y&&f(y)}return v}},s.prototype._getRootRect=function(){var t;if(this.root&&!m(this.root))t=c(this.root);else{var n=m(this.root)?this.root:e,i=n.documentElement,r=n.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},s.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var r=0;r<this.thresholds.length;r++){var o=this.thresholds[r];if(o==n||o==i||o<n!=o<i)return!0}},s.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},s.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return h(n,t)&&(!this.root||n==t.ownerDocument)},s.prototype._registerInstance=function(){0>t.indexOf(this)&&t.push(this)},s.prototype._unregisterInstance=function(){var e=t.indexOf(this);-1!=e&&t.splice(e,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=o}function r(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(e){return null}}function o(e){this.time=e.time,this.target=e.target,this.rootBounds=u(e.rootBounds),this.boundingClientRect=u(e.boundingClientRect),this.intersectionRect=u(e.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,i=this.intersectionRect,r=i.width*i.height;this.intersectionRatio=n?Number((r/n).toFixed(4)):+!!this.isIntersecting}function s(e,t){var n,i,r,o=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(o.root&&1!=o.root.nodeType&&9!=o.root.nodeType)throw Error("root must be a Document or Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,r=null,function(){r||(r=setTimeout(function(){n(),r=null},i))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function a(e,t,n,i){"function"==typeof e.addEventListener?e.addEventListener(t,n,i):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function l(e,t,n,i){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,i):"function"==typeof e.detachEvent&&e.detachEvent("on"+t,n)}function c(e){var t;try{t=e.getBoundingClientRect()}catch(e){}
3return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function u(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function d(e,t){var n=t.top-e.top,i=t.left-e.left;return{top:n,left:i,height:t.height,width:t.width,bottom:n+t.height,right:i+t.width}}function h(e,t){for(var n=t;n;){if(n==e)return!0;n=f(n)}return!1}function f(t){var n=t.parentNode;return 9==t.nodeType&&t!=e?r(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11==n.nodeType&&n.host?n.host:n)}function m(e){return e&&9===e.nodeType}}();var i=new Map,r=new WeakMap,o=0,s=void 0;let a=e=>{let[n,i]=(0,t.useState)(e),r=(0,t.useRef)(n);return[n,(0,t.useCallback)(e=>{r.current="function"==typeof e?e(r.current):e,i(r.current)},[]),r]},l=e=>{let{contentId:l="",defaultSourceType:c=1,enable:u=!0,handleError:d,insertionId:h="",intersectionOptions:f={threshold:.5},logImpression:m,uuid:p=n.v4,visibilityTimeThreshold:g=1e3}=e,v=u;!v||h||l||(d(Error("insertionId or contentId should be set")),v=!1),v&&("undefined"==typeof window||void 0===window.IntersectionObserver)&&(v=!1);let[y,b]=(0,t.useState)(!1),[,w,_]=a(""),[,T,E]=a(""),[,k,x]=a(""),[L,I]=function(){var e;let{threshold:n,delay:a,trackVisibility:l,rootMargin:c,root:u,triggerOnce:d,skip:h,initialInView:f,fallbackInView:m,onChange:p}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[g,v]=t.useState(null),y=t.useRef(),[b,w]=t.useState({inView:!!f,entry:void 0});y.current=p,t.useEffect(()=>{let e;if(!h&&g)return e=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s;if(void 0===window.IntersectionObserver&&void 0!==a){let i=e.getBoundingClientRect();return t(a,{isIntersecting:a,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}let{id:l,observer:c,elements:u}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return"".concat(t,"_").concat("root"===t?(n=e.root)?(r.has(n)||(o+=1,r.set(n,o.toString())),r.get(n)):"0":e[t])}).toString(),n=i.get(t);if(!n){let r,o=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var n;let i=t.isIntersecting&&r.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=i),null==(n=o.get(t.target))||n.forEach(e=>{e(i,t)})})},e);r=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:o},i.set(t,n)}return n}(n),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(t),c.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(u.delete(e),c.unobserve(e)),0===u.size&&(c.disconnect(),i.delete(l))}}(g,(t,n)=>{w({inView:t,entry:n}),y.current&&y.current(t,n),n.isIntersecting&&d&&e&&(e(),e=void 0)},{root:u,rootMargin:c,threshold:n,trackVisibility:l,delay:a},m),()=>{e&&e()}},[Array.isArray(n)?n.toString():n,g,u,c,d,h,l,m,a]);let _=null==(e=b.entry)?void 0:e.target,T=t.useRef();g||!_||d||h||T.current===_||(T.current=_,w({inView:!!f,entry:void 0}));let E=[v,b.inView,b.entry];return E.ref=E[0],E.inView=E[1],E.entry=E[2],E}(Object.assign(Object.assign({},f),{skip:!v})),A=()=>{if(!v)return"";E.current&&l!==E.current&&d(Error("Unexpected contentId change from ".concat(E.current," to ").concat(l)));let e=x.current;return e&&_.current==h||(e=p()),w(h),T(l),k(e),e},j=()=>{if(!v||y)return;b(!0);let e=x.current;""===e&&(e=A());let t={impressionId:e,sourceType:c};_.current&&(t.insertionId=_.current),E.current&&(t.contentId=E.current),m(t)};return(0,t.useEffect)(()=>{A()},[h,l]),(0,t.useEffect)(()=>{if(v&&!y&&I){let e=setTimeout(j,g);return()=>clearTimeout(e)}},[L.current,I]),[L,x.current,j]}},828537,e=>{"use strict";e.s(["default",()=>n]);var t=e.i(271645);let n=(e,n)=>{(0,t.useEffect)(()=>{let t=t=>{e.some(e=>e.current&&e.current.contains(t.target))||n(t)};return document.addEventListener("click",t),()=>document.removeEventListener("click",t)},[e,n])}},833997,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(271645),n=e.i(662537);let i=new Map;function r(e){(0,t.useEffect)(()=>(o(e,1),()=>o(e,-1)),[e])}function o(e,t){var r;let o=(null!=(r=i.get(e))?r:0)+t;
3i.set(e,o),(0,n.setTag)("mounted.".concat(e),o>0?"yes":"no")}},416441,e=>{"use strict";e.s(["default",()=>E]);var t=e.i(843476),n=e.i(271645),i=e.i(151641),r=e.i(436772),o=e.i(63469),s=e.i(161822),a=e.i(958318),l=e.i(618566),c=e.i(816108),u=e.i(260790),d=e.i(844275),h=e.i(100337),f=e.i(813678),m=e.i(940454),p=e.i(689573),g=e.i(686955),v=e.i(933049),y=e.i(333891),b=e.i(523289),w=e.i(838439),_=e.i(521410),T=e.i(930414);let E=e=>{var E,k,x,L,I,A,j,O,S;let{product:D,triggerImageDimensionUpdate:C=!1,displayImageOnly:R=!1,showBoothOnly:N=!1,areaDetailsPageId:M,enableImpressionTracking:V=!1,impressionPosition:P=y.default.defaultImpressionPosition,sliderIndex:B}=e,U=(0,f.default)(),z=(0,l.usePathname)(),F=(null==z?void 0:z.includes("/partner/"))||(null==z?void 0:z.includes("/product/")),W="mobile"===(0,c.default)(),H=(0,n.useRef)(null),G=D.featured&&(null==(k=D.owner)||null==(E=k.partnerPremium)?void 0:E.isPremium),q=(0,s.useAppSelector)(e=>e.settings.settings),Y=(0,n.useMemo)(()=>{var e,t;return null!=(t=null!=(e=D.image)?e:null==q?void 0:q.productImageFallback)?t:null},[D,q]),K=null,Z=null,$=(null==(L=D.boostFactor)||null==(x=L.visibilityIndicators)?void 0:x.length)||0;G&&($+=1);let Q=D.owner?(0,a.getLinkByType)(a.LinkType.product,D.slug,U):"";if(V&&P){Z=u.default.getProductTrackingObject(D,P);let[e]=(0,h.useImpressionTracker)({enable:!0,contentId:D.id,handleError:()=>{},logImpression:()=>{u.default.addImpression(Z)}});K=(0,t.jsx)("div",{ref:e})}return((0,n.useEffect)(()=>{let e=H.current;return Z&&(null==e||e.addEventListener("click",()=>d.default.registerClick(Z))),()=>{V&&P&&u.default.pushImpressions(),null==e||e.removeEventListener("click",()=>d.default.registerClick(Z))}},[]),R)?(0,t.jsx)("div",{ref:H,className:"product-tile ",id:D.id,children:(0,t.jsx)(i.default,{aspectRatio:"3-4",alt:D.name,image:Y,triggerImageDimensionUpdate:C})}):(0,t.jsxs)("div",{ref:H,className:"product-tile ",id:D.id,children:[K,(0,t.jsx)(p.default,{href:Q,className:"product-tile--image aspect-ratio--3-4 text-decoration-none",owner:D.owner,onClick:Q&&(!D.owner||D.owner.logo&&w.default.hasImprint(D.owner))?()=>(0,_.addItemToSessionStorage)(D.id,B?"slider":"list",B):void 0,children:(0,t.jsx)(m.default,{enableShadingEffect:!0,children:(0,t.jsx)(i.default,{aspectRatio:"3-4",alt:D.name,image:Y,triggerImageDimensionUpdate:C})})}),(0,t.jsxs)("div",{className:"product-tile--caption",children:[(0,t.jsxs)("div",{className:"d-flex justify-content-between gap-2",children:[(0,t.jsxs)("div",{children:[function(e){var n;return W||F?null:(null==(n=e.owner)?void 0:n.id)&&e.owner.id!==g.default.gamescomId?(0,t.jsx)(r.default,{className:"product-tile--partner d-flex",authorContext:e.owner,linkUrlParam:a.LinkType.partner,showNameShort:!0}):(0,t.jsx)("div",{className:"product-tile--partner d-flex",children:"Â "})}(D),(0,t.jsx)(p.default,{href:Q,className:"product-tile--title d-flex text-decoration-none",owner:D.owner,onClick:Q&&(!D.owner||D.owner.logo&&w.default.hasImprint(D.owner))?()=>(0,_.addItemToSessionStorage)(D.id,B?"slider":"list",B):void 0,children:D.name})]}),(0,t.jsx)(v.default,{item:{id:D.id,type:"product"},buttonStyle:"default",isSimplifiedButton:!0,trackingInformation:{video_provider:null!=(S=null==(I=D.owner)?void 0:I.name)?S:"",game_name:D.name,clicked_element:D.name}})]}),N&&(0,t.jsx)("div",{className:"mt-2",children:(0,T.default)(D.places,null==(A=D.owner)?void 0:A.places).filter(e=>{var t;return(null==e||null==(t=e.area)?void 0:t.id)===M}).map(e=>{var n;return(0,t.jsxs)("div",{className:"product-tile--caption-location",children:[(0,t.jsx)("div",{children:(0,t.jsx)(b.DynamicIcon,{name:"icon-location-filled",width:14,height:14})}),(0,t.jsx)("span",{children:e.position})]},null==(n=e.area)?void 0:n.id)})}),$>0&&(0,t.jsxs)("div",{className:"product-tile--badges d-flex flex-wrap",children:[G&&(0,t.jsx)(o.default,{type:"featured",hideLabel:W&&$>1}),null==(O=D.boostFactor)||null==(j=O.visibilityIndicators)?void 0:j.map((e,n)=>(0,t.jsx)(o.default,{type:e},n))]})]})]})}}]); 4 5//# sourceMappingURL=04d4f62c8c444b21.js.map 6//# debugId=72d19456-cf6e-529d-8eef-978326215823
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.