PageSourceSearch

https://klirr.com/_next/static/immutable/chunks/438ncn__4jwj3.js

js klirr.com collected 2026-10-08 03:29:13 UTC 24,755 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="c97a8aa4-0c8c-996f-eb5d-b4cb45dedf03")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,931811,e=>{"use strict";var t,a=e.i(843476),l=((t={}).Home="HOME_FAQ",t.Main="MAIN_FAQ",t.Jackpot="JACKPOT_FAQ",t),s=e.i(316091),n=e.i(835447),i=e.i(537367),r=e.i(340140),o=e.i(581411),d=e.i(190673),c=e.i(377763);e.s(["default",0,({faqItems:e})=>{let t=(0,s.useText)();return(0,a.jsxs)(r.default,{width:"wide",children:[(0,a.jsx)(d.default,{children:t("JACKPOT_INFO")}),(0,a.jsx)(n.default,{}),(0,a.jsx)("div",{className:"w-full overflow-hidden",children:(0,a.jsx)(c.LocalJackpotPromo,{showReadMore:!1})}),(0,a.jsx)(o.default,{level:o.HeadingLevel.H2,children:t("JACKPOT_INFO_FAQ_TITLE")}),(0,a.jsx)(i.default,{items:e,id:l.Jackpot})]})}],931811)},308329,589263,681655,e=>{"use strict";var t=e.i(843476),a=e.i(615602);e.s(["ButtonGroupContainer",0,({children:e})=>(0,t.jsx)("div",{className:a.default["button-group-container"],children:e})],589263);var l=e.i(343794);e.s(["ButtonGroupButton",0,({children:e,selected:s,onSelect:n,className:i})=>{let r=(0,l.default)(a.default["button-group-button"],{[a.default["button-group-button--selected"]]:s},i);return(0,t.jsx)("div",{draggable:!1,className:r,onMouseDown:n,onTouchStart:n,children:e})}],681655),e.s([],308329)},615602,e=>{e.v({"button-group-button":"styles-module__sPLqZW__button-group-button","button-group-button--selected":"styles-module__sPLqZW__button-group-button--selected","button-group-container":"styles-module__sPLqZW__button-group-container"})},404253,e=>{"use strict";var t=e.i(843476),a=e.i(316091),l=e.i(450796),s=e.i(835447),n=e.i(340140),i=e.i(475274);e.s(["default",0,({isOpen:e,onConfirm:r,onCancel:o,title:d,loading:c,children:u})=>{let m=(0,a.useText)();return(0,t.jsx)(i.default,{title:d,handleClose:o,isOpen:e,children:(0,t.jsxs)(n.default,{width:"small",children:[u,(0,t.jsx)(s.default,{}),(0,t.jsx)(l.default,{fullWidth:!0,loading:c,variant:l.ButtonVariant.PRIMARY,onClick:r,children:m("COMMON_CONFIRM")}),(0,t.jsx)(l.default,{fullWidth:!0,variant:l.ButtonVariant.TERTIARY,onClick:o,children:m("COMMON_CANCEL")})]})})}])},537367,e=>{"use strict";var t=e.i(843476),a=e.i(316091),l=e.i(343794),s=e.i(532181),n=e.i(3303),i=e.i(271645),r=e.i(701768),o=e.i(384434),d=e.i(532256),c=e.i(581411);function u({item:e}){let[a,n]=(0,i.useState)(!1);return(0,t.jsxs)("details",{className:"group open:bg-transparent mb-3 last:mb-0",onToggle:e=>n(e.target.open),children:[(0,t.jsxs)("summary",{className:(0,l.default)("select-none rounded-lg flex items-center justify-between gap-4 cursor-pointer list-none py-4 px-6 bg-contrast/10",{"rounded-b-none":a}),children:[(0,t.jsx)("div",{className:"text-left text-card-text! text-sm font-bold",children:e.question}),(0,t.jsx)("div",{className:"size-7 flex-shrink-0 transition-transform duration-200 group-open:rotate-180",children:(0,t.jsx)(r.Icon,{name:o.SvgIcon.ArrowDown})})]}),(0,t.jsx)(s.motion.div,{initial:!1,animate:{height:a?"auto":0},transition:{duration:.2,ease:"easeOut"},className:"overflow-hidden","aria-hidden":!a,children:(0,t.jsx)("div",{className:"text-left text-contrast/60 text-sm bg-contrast/10 rounded-lg rounded-t-none px-6 pb-6",children:(0,t.jsx)(d.default,{mdString:e.answer})})})]})}e.i(989249),e.s(["default",0,function({items:e,title:l,className:s,isDedicatedFAQPage:i=!1,id:r="faq"}){let o=(0,a.useText)();if(!e||0===e.length)return null;let d=function(e,t){let a=e.filter(e=>e?.question&&e?.answer);if(0===a.length)return null;let l=a.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer.replace(/^#{1,6}\s+/gm,"").replace(/\*\*(.+?)\*\*/g,"$1").replace(/\*(.+?)\*/g,"$1").replace(/__(.+?)__/g,"$1").replace(/_(.+?)_/g,"$1").replace(/\[([^\]]+)\]\([^)]+\)/g,"$1").replace(/!\[([^\]]*)\]\([^)]+\)/g,"").replace(/`([^`]+)`/g,"$1").replace(/^>\s+/gm,"").replace(/^---+$/gm,"").replace(/^[\s]*[-*+]\s+/gm,"").replace(/^[\s]*\d+\.\s+/gm,"").replace(/\n{3,}/g,"\n\n").trim()}}));try{return JSON.stringify(t?{"@context":"https://schema.org","@type":"FAQPage",mainEntity:l}:{"@context":"https://schema.org","@graph":l})}catch(e){return console.error("Failed to generate FAQ JSON-LD:",e),null}}(e,i);return(0,t.jsxs)("section",{id:r,"aria-label":o("COMMON_FAQ_TITLE"),className:s,children:[(0,t.jsx)("div",{className:"relative pt-8",children:(0,t.jsx)("div",{className:"pb-16 md:pb-24",children:(0,t.jsxs)("div",{className:"max-w-lg mx-auto",children:[l&&(0,t.jsx)(c.default,{level:c.HeadingLevel.H2,className:"text-xl! md:text-2xl! text-center font-semibold mb-6 md:mb-8",children:l}),(0,t.jsx)("div",{className:"rounded-lg",children:e.map(e=>(0,t.jsx)(u,{item:e},e.id))})]})})}),d&&(0,t.jsx)(n.default,{id:"faq-json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:d}})]})}],537367)},919557,e=>{"use strict";var t=e.i(843476),a=e.i(316091),l=e.i(701768),s=e.i(384434),n=e.i(532256),i=e.i(343794);e.s(["EEResponsibleGaming",0,({orientation:e="horizontal"})=>{let r=(0,a.useText)();return(0,t.jsx)("div",{className:"w-full px-4 lg:px-0 text-sm max-w-screen-md mx-auto",children:(0,t.jsxs)("div",{className:(0,i.default)("border border-contrast-dimmed p-4 rounded-xl flex flex-col gap-4 w-full items-center justify-center",{"lg:flex-row":"horizontal"===e}),children:[(0,t.jsx)("div",{children:(0,t.jsx)(l.Icon,{size:{width:"2.25rem",height:"2.25rem"},name:s.SvgIcon.ErrorCircle})}),(0,t.jsx)("div",{children:(0,t.jsx)(n.default,{className:(0,i.default)({"text-center lg:text-left":"horizontal"===e,"text-center":"vertical"===e}),mdString:r("FOOTER_EE_RESPONSIBLE_GAMING")})})]})})}])},980778,e=>{e.v({info:"footer-module__C5vPuq__info",link:"footer-module__C5vPuq__link",links:"footer-module__C5vPuq__links",root:"footer-module__C5vPuq__root",sga:"footer-module__C5vPuq__sga",wrapper:"footer-module__C5vPuq__wrapper"})},39062,e=>{"use strict";var t=e.i(843476);e.i(348175);var a=e.i(157773),l=e.i(479017),s=e.i(393374),n=e.i(673104),i=e.i(316091),r=e.i(671496);e.i(825181);var o=e.i(559827),d=e.i(921181),c=e.i(129213),u=e.i(450796),m=e.i(964964),_=e.i(760516),f=e.i(271645),p=e.i(835447),x=e.i(701768),h=e.i(384434),N=e.i(475274);let j=()=>{let[e,s]=(0,f.useState)(!1),{isHydrated:n}=(0,a.useIsHydrated)(),r=(0,i.useText)(),{isLoggedIn:o}=(0,m.useAuth)(),d=(0,l.getAppsByBrand)(l.AppConfig.brand).sort(e=>e.countryCode===l.AppConfig.countryCode?-1:1);return n&&l.AppConfig.isMultizone&&1!==d.length&&o!==_.IsLoggedIn.YES?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.default,{variant:u.ButtonVariant.SECONDARY,svgIconLeft:(0,t.jsx)(x.Icon,{className:"rounded-full shadow-[0_0_0_0.15rem_#00000022]",name:(0,x.getCountryIconFromAppConfig)(l.AppConfig)}
2),svgIconRight:(0,t.jsx)(x.Icon,{name:h.SvgIcon.ArrowDown}),onClick:()=>s(!0),children:r(`COMMON_COUNTRY_${l.AppConfig.countryCode.toUpperCase()}`)}),(0,t.jsxs)(N.default,{title:r("COMMON_COUNTRY_PICKER_TITLE"),isOpen:e,handleClose:()=>s(!1),children:[(0,t.jsx)(p.default,{}),(0,t.jsx)("div",{className:"flex flex-col gap-4 max-w-[18rem] mx-auto mt-8",children:d.map(e=>(0,t.jsx)(u.default,{variant:e.countryCode===l.AppConfig.countryCode?u.ButtonVariant.SECONDARY:u.ButtonVariant.TERTIARY,svgIconLeft:(0,t.jsx)(x.Icon,{className:"rounded-full shadow-[0_0_0_0.15rem_#00000022] [&_svg]:!opacity-100",name:(0,x.getCountryIconFromAppConfig)(e)}),onClick:()=>{window.location.href=e.basePath??""},children:r(`COMMON_COUNTRY_${e.countryCode.toUpperCase()}`)},e.countryCode))})]})]}):null};var O=e.i(532256),g=e.i(657688),C=e.i(522016),v=e.i(267469),I=e.i(919557),T=e.i(980778);e.s(["default",0,()=>{let e=(0,i.useText)(),{isHydrated:m}=(0,a.useIsHydrated)(),_=(0,c.useMobileAppTrackingStatus)();return(0,t.jsx)("footer",{className:T.default.root,children:(0,t.jsxs)("div",{className:T.default.wrapper,children:[(0,t.jsx)(v.default,{}),(0,t.jsxs)("div",{className:T.default.links,children:[(0,t.jsx)(u.default,{className:T.default.link,size:"small",variant:u.ButtonVariant.INLINE,href:n.Route.INFO_TERMS_AND_CONDITIONS,prefetch:!1,children:e("FOOTER_LINK_TERMS_AND_CONDITIONS")}),l.AppConfig.localJackpotName&&(0,t.jsx)(u.default,{className:T.default.link,size:"small",variant:u.ButtonVariant.INLINE,href:n.Route.INFO_JACKPOT_TERMS,prefetch:!1,children:e("FOOTER_LINK_JACKPOT_TERMS")}),(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,href:n.Route.INFO_PRIVACY_POLICY,prefetch:!1,children:e("FOOTER_LINK_PRIVACY_POLICY")}),(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,href:n.Route.INFO_RESPONSIBLE_GAMING,prefetch:!1,children:e("FOOTER_LINK_RESPONSIBLE_GAMING")}),(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,href:n.Route.LOBBY,prefetch:!1,children:e("FOOTER_LINK_LOBBY")}),(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,href:n.Route.INFO_COPYRIGHT,prefetch:!1,children:e("FOOTER_LINK_COPYRIGHT")}),l.AppConfig.campaignsEnabled&&(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,href:n.Route.INFO_BONUS_TERMS,prefetch:!1,children:e("FOOTER_LINK_BONUS_TERMS")}),(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,href:n.Route.INFO_FAQ,prefetch:!1,children:e("FOOTER_LINK_FAQ")}),(0,d.isMobileApp)()&&m&&"granted"!==_?(0,t.jsx)(o.CookieSettingsUnavailable,{className:T.default.link}):(0,t.jsx)(u.default,{size:"small",className:T.default.link,variant:u.ButtonVariant.INLINE,id:"csconsentlink",children:e("FOOTER_LINK_COOKIE_SETTINGS")})]}),(0,t.jsx)(g.default,{alt:e("COMMON_BRAND_LOGO_ALT",{brandName:l.AppConfig.brandName}),width:"64",height:"64",src:(0,s.getCdnAsset)(s.CdnAsset.LogoSmall)}),(0,t.jsx)("div",{className:T.default.info,children:(0,t.jsx)(O.default,{className:"text-center",mdString:e("COMMON_FOOTER_TEXT")})}),l.AppConfig.jurisdiction===r.Jurisdiction.Ee&&(0,t.jsx)(I.EEResponsibleGaming,{}),(0,t.jsx)(j,{}),(0,t.jsxs)("div",{className:T.default.sga,children:[(0,t.jsx)(C.default,{target:"_blank",href:l.AppRegulatoryLink,children:l.AppConfig.jurisdiction===r.Jurisdiction.Ee?(0,t.jsx)(x.Icon,{name:h.EEComplianceIcon.EELogo,size:{width:"10rem",height:"4rem"}}):(0,t.jsx)(x.Icon,{name:h.SgaIcon.SgaLogo,size:{width:"4rem",height:"4rem"}})}),(0,t.jsx)(x.Icon,{name:h.SgaIcon.TwentyOne,size:{width:"4rem",height:"4rem"}})]})]})})}],39062)},610702,e=>{e.v({back:"header-module__EhKL-G__back","have-title":"header-module__EhKL-G__have-title",light:"header-module__EhKL-G__light",title:"header-module__EhKL-G__title","title-inset":"header-module__EhKL-G__title-inset"})},16082,e=>{"use strict";var t=e.i(843476),a=e.i(31378);e.i(825181);var l=e.i(921181),s=e.i(21393),n=e.i(385514),i=e.i(701768),r=e.i(384434),o=e.i(581411),d=e.i(343794),c=e.i(522016),u=e.i(618566),m=e.i(610702);
2e.s(["default",0,({title:e,parent:_,backClick:f})=>{let p,{back:x,canGoBack:h}=(0,a.useHistory)(),N=(0,u.useRouter)(),j="function"==typeof _?_():_;return e||j?(0,t.jsxs)("div",{className:(0,d.default)({[m.default["have-title"]]:!!e,"absolute top-12 left-6":!e}),children:[j&&(p=(0,d.default)("icon-button",m.default.back,{"h-12 w-12":!!e,"h-14 w-14":!e}),"function"==typeof _?(0,t.jsx)("button",{className:p,onClick:()=>{if(f)f();else if((0,l.isMobileApp)())h()?N.back():(0,s.mobileAppPostMessage)(n.WebCommand.NAVIGATE_TO_START_SCREEN);else{let e=_();e&&x(e)}},children:(0,t.jsx)(i.Icon,{name:r.SvgIcon.ArrowLeft})}):j?(0,t.jsx)(c.default,{className:p,href:j,onClick:e=>{e.preventDefault(),(0,l.isMobileApp)()?h()?N.back():(0,s.mobileAppPostMessage)(n.WebCommand.NAVIGATE_TO_START_SCREEN):f?f():x(j)},children:(0,t.jsx)(i.Icon,{name:r.SvgIcon.ArrowLeft})}):null),e&&(0,t.jsx)(o.default,{level:o.HeadingLevel.H1,className:(0,d.default)(m.default.title,{[m.default["title-inset"]]:!!j}),children:e})]}):null}])},521153,e=>{e.v({hotAnimate:"styles-module__fQIhEq__hotAnimate",hotBadge:"styles-module__fQIhEq__hotBadge",pulse:"styles-module__fQIhEq__pulse",root:"styles-module__fQIhEq__root",value:"styles-module__fQIhEq__value"})},663582,e=>{e.v({arrowhead:"styles-module__N1a_Ja__arrowhead",buttonGroup:"styles-module__N1a_Ja__buttonGroup",line:"styles-module__N1a_Ja__line"})},688113,e=>{"use strict";var t=e.i(843476);e.i(348175);var a=e.i(715452),l=e.i(415099),s=e.i(393374),n=e.i(858050),i=e.i(316091);e.i(991039);var r=e.i(807275),o=e.i(394952),d=e.i(450796);e.i(308329);var c=e.i(681655),u=e.i(589263),m=e.i(404253),_=e.i(532256),f=e.i(475274),p=e.i(190673),x=e.i(39165),h=e.i(343794),N=e.i(657688),j=e.i(271645),O=e.i(663582);function g(){let{contributionOptions:e}=n.JackpotConfig;return e.find(e=>"standard"===e.key)??e[1]}e.s(["JoinJackpotModal",0,({isOpen:e,handleClose:C})=>{let v=(0,i.useText)(),{format:I}=(0,a.useCurrencyFormat)(),{optInStatus:T,optIn:A,changeContribution:b,optOut:E,loading:R}=(0,o.useOptInStatus)(),{isReconnecting:k,isUsingFallback:y}=(0,r.useJackpotAvailable)(),{setJackpotTermsAccepted:J}=(0,l.useUpdateUserMeta)(),P=(0,j.useRef)(!1),[L,S]=(0,j.useState)(!1),[M,w]=(0,j.useState)(!1),[B,K]=(0,j.useState)(g),[F,q]=(0,j.useState)(null),[D,G]=(0,j.useState)(null),z=k&&!y,V=T?.opted_in??!1,Y=T?.opted_in&&T?.preferred_contribution_value!==B.amount,U=async()=>{G(null);try{await E(),w(!1),C()}catch{G(v("JACKPOT_ERROR_COULD_NOT_OPT_OUT"))}},H=async()=>{q(null);try{await A(B.amount),J(v("JACKPOT_TERMS_NOTICE_VERSION")),C()}catch{q(v("JACKPOT_ERROR_COULD_NOT_OPT_IN"))}},W=async()=>{if(Y){q(null);try{await b(B.amount)}catch{q(v("JACKPOT_ERROR_COULD_NOT_UPDATE"));return}}C()};return(0,j.useEffect)(()=>{if(e&&T?.preferred_contribution_value&&!P.current){P.current=!0;let e=n.JackpotConfig.contributionOptions.find(e=>e.amount===T.preferred_contribution_value);e&&K(e)}else e||(P.current=!1)},[T?.preferred_contribution_value,e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.Modal,{showInnerPopup:L,onInnerPopupClose:()=>S(!1),headerContent:(0,t.jsx)("div",{className:"flex justify-center items-center",children:(0,t.jsx)("div",{className:"absolute local-jackpot-promo-logo z-30",children:(0,t.jsx)(N.default,{fill:!0,sizes:"138px",src:(0,s.getCdnAsset)(s.CdnAsset.JackpotLogo),alt:"Jackpot"})})}),innerPopupContent:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(x.default,{className:"text-center text-sm font-bold",children:v("COMMON_TERMS_AND_CONDITIONS")}),(0,t.jsx)(_.default,{smallText:!0,className:"text-left [&_ol:last-child]:mb-0",mdString:v("JACKPOT_TERMS_AND_CONDITIONS")})]}),isOpen:e,handleClose:C,children:(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(p.default,{className:"mt-4 text-center",children:v("JACKPOT_JOIN_MODAL_TITLE")}),(0,t.jsx)("div",{className:O.default.buttonGroup,children:(0,t.jsx)(u.ButtonGroupContainer,{children:n.JackpotConfig.contributionOptions.map(e=>(0,t.jsx)(c.ButtonGroupButton,{selected:B.key===e.key,onSelect:()=>{K(e)},className:"min-w-[5rem]!",children:(0,t.jsx)("div",{className:(0,h.default)("text-sm leading-none",{"font-bold":"max"===e.key}),children:"max"===e.key?"Max":I(e.amount)})},e.key))})}),(0,t.jsxs)("div",{className:"mt-4 flex items-center gap-2",children:[(0,t.jsx)("div",{className:O.default.line}),(0,t.jsx)("div",{className:"text-xs uppercase tracking-widest whitespace-nowrap opacity-70",children:v("JACKPOT_JOIN_MODAL_BIGGER_WIN_CHANCE")}),(0,t.jsx)("div",{className:O.default.line}),(0,t.jsx)("div",{className:O.default.arrowhead})]}),(0,t.jsx)("p",{className:"mt-7 mb-5 mx-auto text-sm text-center min-h-6 opacity-70 max-w-[24rem]",children:B?.key=="max"?v("JACKPOT_JOIN_MODAL_DESCRIPTION_MAX",{amount:I(B.amount)}):v("JACKPOT_JOIN_MODAL_DESCRIPTION",{amount:I(B.amount)})}),z&&(0,t.jsx)("p",{className:"mb-4 text-sm text-center text-error",children:v("JACKPOT_
2CONNECTION_MISSING")}),F&&(0,t.jsx)("p",{className:"mb-4 text-sm text-center text-error",children:F}),R?(0,t.jsx)(d.default,{fullWidth:!0,variant:d.ButtonVariant.PRIMARY,disabled:!0,loading:!0,children:v("COMMON_LOADING")}):V?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.default,{fullWidth:!0,variant:Y?d.ButtonVariant.PRIMARY:d.ButtonVariant.TERTIARY,onClick:W,disabled:Y&&(z||R),loading:Y&&R,children:Y?v("JACKPOT_CONFIRM_CHANGE"):v("JACKPOT_MODAL_CLOSE")}),(0,t.jsx)(d.default,{variant:d.ButtonVariant.INLINE,className:"text-center w-full mt-5 disabled:border-none",onClick:()=>w(!0),disabled:z||R,children:v("JACKPOT_OPT_OUT")})]}):(0,t.jsx)(d.default,{fullWidth:!0,variant:d.ButtonVariant.PRIMARY,onClick:H,disabled:z||R,loading:R,children:v("JACKPOT_JOIN")}),(0,t.jsx)(d.default,{variant:d.ButtonVariant.INLINE,className:"text-center w-full mt-10 -mb-6 text-sm! font-normal",onClick:()=>S(!0),children:v("COMMON_TERMS_AND_CONDITIONS")})]})}),(0,t.jsxs)(m.default,{isOpen:M,onConfirm:U,onCancel:()=>{w(!1),G(null)},title:v("JACKPOT_OPT_OUT_TITLE"),loading:R,children:[(0,t.jsx)(x.default,{className:"text-center",children:v("JACKPOT_OPT_OUT_CONFIRMATION")}),D&&(0,t.jsx)("p",{className:"mt-4 text-sm text-center text-error",children:D})]})]})}])},376853,e=>{e.v({root:"styles-module__VBLYmq__root"})},377763,e=>{"use strict";var t=e.i(843476);e.i(348175);var a=e.i(715452),l=e.i(479017),s=e.i(393374),n=e.i(673104),i=e.i(964964),r=e.i(760516),o=e.i(316091);e.i(991039);var d=e.i(807275),c=e.i(461914),u=e.i(394952),m=e.i(450796),_=e.i(343794),f=e.i(657688),p=e.i(522016),x=e.i(618566),h=e.i(271645),N=e.i(858050),j=e.i(479958),O=e.i(664287),g=e.i(521153);let C=({pot:e})=>{let{formatRounded:l}=(0,a.useCurrencyFormat)(),s=(0,o.useText)(),n=e.id,i=N.JackpotConfig.mustDropAt[n],r=(0,O.getPotHotness)(n,e.current_value);return(0,t.jsxs)("div",{className:(0,_.default)(g.default.root,g.default[e.id]),children:[(0,t.jsx)(j.JackpotIconComponent,{tier:e.id}),(0,t.jsx)("div",{className:"text-localJackpot-contrast font-bold text-sm flex items-center",children:(0,t.jsx)("div",{className:"leading-none uppercase mb-2",children:s(N.jackpotTierTranslationKeys[n])})}),(0,t.jsx)("div",{className:"absolute bottom-3 left-[3.65rem] right-6",children:(0,t.jsx)("div",{className:"w-full bg-localJackpot-contrast/20 rounded-full h-1",children:(0,t.jsxs)("div",{className:(0,_.default)("h-full rounded-full relative transition-all duration-300 ease-out",{"bg-localJackpot-contrast":"normal"===r,"bg-localJackpot-hot":"hot"===r,"bg-localJackpot-superhot":"superhot"===r}),style:{width:`${100*(0,O.getJackpotProgress)(e.current_value,i)}%`},children:["hot"===r&&(0,t.jsx)("div",{className:(0,_.default)(g.default.hotBadge,"bg-localJackpot-hot"),children:s("JACKPOT_HOT")}),"superhot"===r&&(0,t.jsx)("div",{className:(0,_.default)(g.default.hotBadge,g.default.hotAnimate,"bg-localJackpot-superhot"),children:s("JACKPOT_SUPERHOT")})]})})}),(0,t.jsx)("div",{className:g.default.value,children:l(e.current_value)})]})},v=({tier:e})=>{let a=(0,o.useText)();return(0,t.jsxs)("div",{className:(0,_.default)(g.default.root,g.default[e]),children:[(0,t.jsx)(j.JackpotIconComponent,{tier:e}),(0,t.jsx)("div",{className:"text-localJackpot-contrast font-bold text-sm flex items-center",children:(0,t.jsx)("div",{className:"leading-none uppercase mb-2",children:a(N.jackpotTierTranslationKeys[e])})}),(0,t.jsx)("div",{className:(0,_.default)(g.default.value,"w-24 h-5 rounded-full bg-white/70 animate-pulse mt-2")})]})},I=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{tier:"tier1"}),(0,t.jsx)(v,{tier:"tier2"}),(0,t.jsx)(v,{tier:"tier3"}),(0,t.jsx)(v,{tier:"tier4"})]});var T=e.i(688113),A=e.i(671496),b=e.i(698582),E=e.i(560491);let R=e=>fetch(e).then(e=>e.json());function k({className:e}){let{winners:s}=function(){let e=l.AppConfig?.basePath??"",{data:t,error:a,isLoading:s}=(0,E.default)(`${e}/api/jackpot-winners`,R,{refreshInterval:3e5,dedupingInterval:6e4});return{winners:t?.winners??[],lastUpdated:t?.lastUpdated,isLoading:s,isError:!!a}}(),n=(0,h.useRef)(null),{format:i}=(0,a.useCurrencyFormat)(),r=(0,o.useText)(),d=[...s,...s];return((0,h.useEffect)(()=>
2{if(!n.current||0===s.length)return;let e=n.current;requestAnimationFrame(()=>{let t=e.scrollWidth/2;e.style.setProperty("--scroll-duration",`${t/50}s`)})},[s]),0===s.length)?(0,t.jsx)("div",{className:(0,_.default)(b.default.root,e),children:(0,t.jsx)("div",{className:(0,_.default)(b.default.scrollContainer,b.default.skeleton)})}):(0,t.jsx)("div",{className:(0,_.default)(b.default.root,e),children:(0,t.jsx)("div",{className:b.default.scrollContainer,children:(0,t.jsx)("div",{ref:n,className:b.default.scrollTrack,children:d.map((e,a)=>(0,t.jsxs)("div",{className:b.default.card,children:[(0,t.jsx)("div",{className:b.default.cardIcon,children:(0,t.jsx)(j.JackpotIconComponent,{tier:e.tier,size:"small"})}),(0,t.jsxs)("div",{className:b.default.cardContent,children:[(0,t.jsxs)("div",{className:b.default.mainText,children:[(0,t.jsx)("span",{className:b.default.amount,children:i(e.amount)}),(0,t.jsx)("span",{className:b.default.text,children:l.AppConfig.jurisdiction===A.Jurisdiction.Sga&&"SE"===e.countryCode?r("JACKPOT_WINNERS_WIN_IN",{city:e.city.toLowerCase().split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}):r("JACKPOT_WINNERS_WON")})]}),(0,t.jsx)("div",{className:b.default.time,children:e.relativeTime})]})]},`${e.id}-${a}`))})})})}var y=e.i(376853);e.s(["LocalJackpotPromo",0,({showReadMore:e=!0})=>{let N=(0,o.useText)(),{format:j}=(0,a.useCurrencyFormat)(),g=(0,x.useRouter)(),{isLoggedIn:v}=(0,i.useAuth)(),[A,b]=(0,h.useState)(!1),{optInStatus:E}=(0,u.useOptInStatus)(),{pots:R}=(0,c.useJackpotTicker)(),{isUnavailable:J,isReconnecting:P,isUsingFallback:L}=(0,d.useJackpotAvailable)(),S=E?.opted_in??!1,M=R.length>0,w=(0,h.useMemo)(()=>(0,O.formatContributionAmount)(E?.preferred_contribution_value,j),[E?.preferred_contribution_value,j]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,_.default)(y.default.root,"rounded-thumbMobile lg:rounded-thumbDesktop mt-10 mb-6 pt-8 pb-8","local-jackpot-promo relative"),children:[(0,t.jsx)("div",{className:"flex justify-center items-center",children:(0,t.jsx)("div",{className:"relative local-jackpot-promo-logo",children:(0,t.jsx)(f.default,{fill:!0,sizes:"138px",src:(0,s.getCdnAsset)(s.CdnAsset.JackpotLogo),alt:"Jackpot"})})}),(0,t.jsx)("div",{className:"relative z-[1]",children:(0,t.jsxs)("div",{className:"flex justify-center flex-col gap-4 px-6 max-w-[30rem] mx-auto",children:[J?(0,t.jsxs)("div",{className:"text-center py-8 text-localJackpot-contrast",children:[(0,t.jsx)("p",{className:"text-lg font-bold mb-2",children:N("JACKPOT_TEMPORARILY_UNAVAILABLE")}),(0,t.jsx)("p",{className:"text-sm opacity-70",children:N("JACKPOT_TRYING_TO_RECONNECT")})]}):R.length?R.map(e=>(0,t.jsx)(C,{pot:e},e.id)):(0,t.jsx)(I,{}),(0,t.jsxs)("div",{className:"flex justify-center flex-col gap-1 max-w-[20rem] mx-auto mt-4",children:[!J&&(0,t.jsxs)("div",{className:"flex justify-center items-center mt-0.5",children:[(0,t.jsx)(m.default,{className:"relative! z-[1]!",variant:m.ButtonVariant.PRIMARY,size:"small",onClick:()=>{v===r.IsLoggedIn.YES?b(!0):g.push(n.Route.START_PLAYING)},disabled:!M&&P&&!L,children:N(S?"JACKPOT_CHANGE_BET":"JACKPOT_JOIN_TO_WIN")}),S&&(0,t.jsx)("div",{className:"text-localJackpot-contrast bg-black/10 rounded-r-full -ml-3 pl-5 pr-3 py-3 text-sm text-nowrap relative z-[0]",children:w})]}),e&&(0,t.jsx)(p.default,{className:"text-center font-bold text-sm mt-3 !text-localJackpot-contrast",href:n.Route.JACKPOT,children:N("COMMON_READ_MORE_ABOUT_X",{name:l.AppConfig.localJackpotName??""})})]})]})}),!J&&(0,t.jsx)(k,{className:"mt-6 -mb-8"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-0 overflow-hidden rounded-thumbMobile lg:rounded-thumbDesktop",children:(0,t.jsx)("div",{className:(0,_.default)("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full aspect-square bg-cover bg-no-repeat bg-center z-0","jackpot-rays scale-[4] md:scale-150"),style:{backgroundImage:"url('https://sga.cdnary.com/rays-solid.webp')"}})})]}),(0,t.jsx)(T.JoinJackpotModal,{isOpen:A,handleClose:()=>b(!1)})]})}],377763)},698582,e=>{e.v({amount:"styles-module__6B9ojq__amount",card:"styles-module__6B9ojq__card",cardContent:"styles-module__6B9ojq__cardContent",cardIcon:"styles-module__6B9ojq__cardIcon",mainText:"styles-module__6B9ojq__mainText",pulse:"styles-module__6B9ojq__pulse",root:"styles-module__6B9ojq__root",scroll:"styles-module__6B9ojq__scroll",scrollC
2ontainer:"styles-module__6B9ojq__scrollContainer",scrollTrack:"styles-module__6B9ojq__scrollTrack",skeleton:"styles-module__6B9ojq__skeleton",text:"styles-module__6B9ojq__text",time:"styles-module__6B9ojq__time"})}]);
3
4//# debugId=c97a8aa4-0c8c-996f-eb5d-b4cb45dedf03

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.