1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,170379,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.i(440840);var a=e.i(70323);e.i(26623);var r=e.i(400943);e.i(20509),e.i(851466),e.i(752756),e.i(934414),e.i(450627),e.i(18887);var i=e.i(890655),l=e.i(390301),s=e.i(544531);e.i(335679),e.i(686161),e.i(769368),e.i(847170),e.i(531996),e.i(629588),e.i(597455),e.i(144508),e.i(593857),e.i(385672);e.s(["HomeFreeCasesClient",0,function(e){let{showModal:n}=(0,a.useModal)("FreeCasesInfoModal");return(0,t.jsx)(s.default,{...e,onShowInfo:n})},"HomeGameModesClient",0,function(e){let{showModal:n}=(0,a.useOpenModal)();return(0,t.jsx)(i.default,{...e,onShowGiveaways:()=>n("GiveawaysListModal"),onShowPopularModes:()=>n("PopularModesModal")})},"HomeHashScroll",0,function(){let[e,t]=(0,n.useState)("");return(0,n.useEffect)(()=>{let e=()=>t(window.location.hash||"");return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),(0,n.useEffect)(()=>{if(!e)return;let n=setTimeout(()=>{let n=!1;if("#PopularCases"===e){let e=document.querySelector('[data-id="2"]');e&&(window.scrollTo({top:window.scrollY+e.getBoundingClientRect().top-100}),n=!0)}else{let t=document.getElementById(e.replace("#",""));t&&(t.scrollIntoView(),n=!0)}n&&(window.history.replaceState(window.history.state,"",window.location.pathname+window.location.search),t(""))},1e3);return()=>clearTimeout(n)},[e]),null},"HomeMobileDistributions",0,function(e){let n=(0,r.useIsMobile)(),{showModal:i}=(0,a.useOpenModal)();return n?(0,t.jsx)(l.Distributions,{...e,onOpenDetails:e=>i("GiveawayDetailsModal",{id:e})}):null}],170379)},678510,483527,e=>{"use strict";var t=e.i(138413),n=e.i(431466);(0,n.graphql)(` 2 fragment HomeHeroBannerFields on HeroBanner { 3 id 4 image 5 title 6 subtitle 7 showButton 8 buttonText 9 buttonLink 10 } 11`),(0,n.graphql)(` 12 fragment GetBannerFields on Banner { 13 id 14 image 15 isActive 16 } 17`);let a=(0,n.graphql)(` 18 query GetHeroBanners { 19 getHeroBanners { 20 ...HomeHeroBannerFields 21 } 22 } 23`),r=(0,n.graphql)(` 24 query GetSmallBanners { 25 getSmallBanners { 26 id 27 name 28 image 29 title 30 subtitle 31 buttonText 32 position 33 showButton 34 actionType 35 buttonLink 36 openInNewTab 37 promoCode 38 redirectPath 39 promoTimeoutMinutes 40 } 41 } 42`);(0,n.graphql)(` 43 query GetSliderData { 44 getActiveBanners { 45 ...GetBannerFields 46 } 47 } 48`),e.s(["GET_HERO_BANNERS_QUERY",0,a,"GET_SMALL_BANNERS_QUERY",0,r],483527),e.s(["useHeroBanners",0,e=>(0,t.useQuery)(a,{skip:!e}),"useSmallBanners",0,e=>(0,t.useQuery)(r,{skip:!e})],678510)},158101,e=>{"use strict";e.i(847170);var t=e.i(531996),n=e.i(219932),a=e.i(5860),r=e.i(830670),i=e.i(969035);e.s(["AUTO_SEARCH_TOOLTIP_STORAGE_KEY",()=>n.AUTO_SEARCH_TOOLTIP_STORAGE_KEY,"FIT_HYSTERESIS_PX",()=>a.FIT_HYSTERESIS_PX,"FIT_SLACK_PX",()=>a.FIT_SLACK_PX,"HomeFiltersProvider",()=>t.HomeFiltersProvider,"INITIAL_CATALOG_FILTERS",()=>r.INITIAL_CATALOG_FILTERS,"useAutoSearchTooltip",()=>n.useAutoSearchTooltip,"useCatalogFilters",()=>r.useCatalogFilters,"useDesktopFilterPresentation",()=>i.useDesktopFilterPresentation,"useFiltersFitMode",()=>a.useFiltersFitMode,"useHomeFilters",()=>t.useHomeFilters,"useMobileFilterBarPresentation",()=>i.useMobileFilterBarPresentation,"useMobileFilterSheetPresentation",()=>i.useMobileFilterSheetPresentation])},20509,e=>{"use strict";var t=e.i(843476);e.i(450627);var n=e.i(18887),a=e.i(271645);e.i(654893);var r=e.i(492055),i=e.i(948148),l=e.i(861745);e.i(26623);var s=e.i(30664),o=e.i(855424);let c=(0,a.memo)(({getSaleTime:e})=>{let a=(0,i.useTranslations)("common"),r=(0,o.useTimer)(e);return r?(0,t.jsxs)("div",{className:"main-banner-timer relative mt-[3px] pr-[10px] font-size-20px font-bold text-[var(--t-rarity-classified-start-a40)] [text-shadow:0px_0px_10px_var(--t-colors-static-black-a30)]",children:[(0,t.jsxs)("span",{className:(0,n.cn)("day relative mt-0 mr-[11px] mb-0 ml-0 inline-flex h-[32px] min-w-[44px] items-center radius-12px px-[8px] py-[2px] text-center text-[var(--t-rarity-classified-start)] [text-shadow:0px_2px_0px_var(--t-brand-surface-dark),0px_0px_40px_var(--t-brand-glow),0px_0px_12px_var(--t-brand-glow-a64)] before:absolute before:top-1/2 before:left-1/2 before:-ml-[1px] before:block before:h-[42px] before:w-[62px] before:-translate-x-1/2 before:-translate-y-1/2 before:[transform:skewX(-20deg)] before:bg-[linear-gradient(180deg,var(--t-rarity-classified-start)_0%,var(--t-stand-brand-066-a12)_100%)] before:opacity-20 before:content-['']"),children:[(0,t.jsx)("div",{className:"num text-center font-size-20px leading-[18.03px] tracking-[0.03em] text-(--t-text-text-0) [text-shadow:0px_0px_10px_var(--t-colors-static-black-a30)]",children:r?.days}),(0,t.jsxs)("div",{className:"text text-left font-size-16px leading-[18.03px] font-bold tracking-[0.03em] text-(--t-text-text-0) [text-shadow:0px_2px_0px_var(--t-brand-surface-dark),0px_0px_40px_var(--t-brand-glow),0px_0px_12px_var(--t-brand-glow-a64)]",children:[a("d"),"."]})]}),(0,t.jsx)("span",{className:"hours mx-[10px] text-[var(--t-rarity-classified-start)] [text-shadow:0px_2px_0px_var(--t-brand-surface-dark)]",children:r?.hours}),":",(0,t.jsx)("span",{className:"minutes mx-[10px] text-[var(--t-rarity-classified-start)] [text-shadow:0px_2px_0px_var(--t-brand-surface-dark)]",children:r?.minutes}),":",(0,t.jsx)("span",{className:"seconds mx-[10px] text-[var(--t-rarity-rare-start)] [text-shadow:0px_2px_0px_var(--t-brand-surface-dark)]",children:r?.seconds})]}):null});c.displayName="Timer";let d=(0,a.memo)(()=>{let e=(0,i.useTranslations)("home"),n=(0,i.useTranslations)("common"),a=(0,l.useLocale)(),o=(0,r.useConfig)();return o?.getSaleTime&&(o?.discount||o.isAnonDiscount)?(0,t.jsxs)("div",{className:"main-banner relative top-0 left-[5px] z-[4] mx-auto mt-0 mb-[-30px] h-[131px] w-[1315px] bg-[url(/images/bg-main-banner.webp)] bg-no-repeat",children:[(0,t.jsxs)("div",{className:"main-banner-text-wrap flex min-h-[92px] items-center justify-center pt-[52px] pl-[40px] text-center uppercase",children:[(0,t.jsx)("div",{className:"main-banner-text font-size-16px font-medium text-[var(--t-rarity-rare-start)] [text-shadow:0px_2px_0px_var(--t-stand-brand-119)]",children:(0,s.result)(o?.seo.discountName,[a],o?.seo?.discountName?.en)}),o?.discount>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"main-banner-percent mx-[12px] mt-[-4px] mb-0 text-center font-size-30px font-bold text-[var(--t-rarity-rare-start)] [text-shadow:0px_3px_0px_var(--t-stand-danger-003),0px_8px_8px_var(--t-stand-brand-015-a70)]",children:[o?.discount,"%"]}),(0,t.jsxs)("div",{className:"main-banner-text font-size-16px font-medium text-[var(--t-rarity-rare-start)] [text-shadow:0px_2px_0px_var(--t-stand-brand-119)]",children:[(0,t.jsx)("span",{className:"text-[var(--t-stand-brand-203)]",children:e("for all")})," ",n("cases")]})]})]}),(0,t.jsxs)("div",{className:"main-banner-timer-wrap absolute top-[38px] right-[145px]",children:[(0,t.jsx)("div",{className:"title relative mt-[-3px] mr-0 mb-[5px] ml-[80px] indent-[5px] font-light before:absolute before:top-[-8px] before:left-[-26px] before:block before:h-[32px] before:w-[168px] before:bg-[url(/images/main-banner-bg-title.webp)] before:bg-no-repeat before:content-['']",children:(0,t.jsxs)("span",{className:"relative z-[2] font-size-14px text-[var(--t-brand-foreground-strong-a70)]",children:[e("time lieft"),":"]})}),(0,t.jsx)(c,{getSaleTime:o?.getSaleTime})]})]}):null});d.displayName="DiscountBanner",e.s(["DiscountBanner",0,d])},390301,e=>{"use strict";var t=e.i(843476);e.i(26623);var n=e.i(30664);e.i(783411);var a=e.i(812042);e.i(363908);var r=e.i(657760);e.s(["Distributions",0,({initialDistributionGames:e,onOpenDetails:i}={})=>{let{data:l,loading:s}=(0,a.useGetDistributionGames)({filterOrder:{sortField:"type",sortOrder:"ASC"}}),o=l?.getDistributionGames??e?.getDistributionGames;return(0,t.jsxs)("div",{className:"relative mb-8 block h-[116px] max-xl-inclusive:mx-[-24px] max-xl-inclusive:mb-6 max-legacy-lg:mx-[-16px] min-[764px]:hidden","data-loading":s?"1":"0","data-slot":"giveaway-strip",children:[(0,t.jsx)("h2",{className:"absolute top-[43px] left-[-38px] z-[2] flex h-8 w-[116px] rotate-[-90deg] items-center justify-center rounded-lg bg-(--t-bg-consumer) text-base leading-5 font-bold uppercase max-xl-inclusive:rounded-[0_0_8px_8px]","data-slot":"giveaway-title",children:"GIVEAWAYS"}),(0,t.jsx)("div",{className:"relative flex h-[116px] gap-2 pl-[49px] max-xl-inclusive:mr-[-24px] max-xl-inclusive:w-full max-xl-inclusive:overflow-x-auto max-xl-inclusive:pr-6",children:Array.isArray(o)?(0,n.map)(o,e=>(0,t.jsx)(r.Distribution,{getDistributionGame:e,onOpenDetails:i}
48,e.id)):null})]})}])},544531,e=>{"use strict";var t=e.i(843476);e.i(745309);var n=e.i(289302);e.i(46240);var a=e.i(365884);e.i(327562);var r=e.i(922691);e.i(654893);var i=e.i(492055),l=e.i(271645);function s({size:e=16,color:n="var(--t-colors-white)"}){return(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M8.5 1.34375C12.1875 1.34375 15.1562 4.3125 15.1562 8C15.1562 11.6875 12.1875 14.6562 8.5 14.6562C4.8125 14.6562 1.84375 11.6875 1.84375 8C1.84375 4.3125 4.8125 1.34375 8.5 1.34375ZM8.5 11.3438C8.875 11.3438 9.15625 11.0312 9.15625 10.6562V8C9.15625 7.625 8.875 7.34375 8.5 7.34375C8.125 7.34375 7.84375 7.625 7.84375 8V10.6562C7.84375 11.0312 8.125 11.3438 8.5 11.3438ZM9.15625 6V4.65625H7.84375V6H9.15625Z",fill:n})})}e.i(629588);var o=e.i(445874),c=e.i(861034),d=e.i(516948),x=e.i(660585);e.i(885964);var m=e.i(84682),u=e.i(822315);e.i(26623);var p=e.i(909850),h=e.i(378714),f=e.i(397695),g=e.i(365562),_=e.i(678616),b=e.i(876023),v=e.i(695137),y=e.i(37602),w=e.i(798754);e.i(450627);var j=e.i(18887);let N={baseColor:"var(--t-bg-consumer)",highlightColor:"var(--t-stand-neutral-021)",variant:"shimmer"},S={baseColor:"var(--t-stand-neutral-021)",highlightColor:"var(--t-stand-neutral-031)",variant:"shimmer"},k=({id:e})=>(0,t.jsxs)("div",{className:"free-cases free-cases--skeleton mb-16 flex flex-col gap-8 rounded-2xl bg-[var(--t-bg-case-a8)] p-8 max-legacy-xl:mb-8 max-legacy-xl:gap-2 max-legacy-xl:rounded-none max-legacy-xl:bg-transparent max-legacy-xl:p-4","data-state":"skeleton","data-slot":"free-cases",id:e,children:[(0,t.jsxs)("div",{className:"free-cases__heading flex w-full items-start justify-between gap-4 max-legacy-xl:order-1 max-legacy-xl:mb-4 max-legacy-xl:grid max-legacy-xl:grid-cols-2 max-legacy-xl:items-center max-legacy-xl:justify-items-stretch","data-slot":"free-cases-heading",children:[(0,t.jsxs)("div",{className:(0,j.cn)("free-cases__heading-balance flex w-[260px] flex-col items-center gap-2 whitespace-nowrap max-legacy-xl:col-start-1 max-legacy-xl:row-start-2 max-legacy-xl:w-full max-legacy-xl:min-w-0 max-legacy-xl:items-center max-legacy-xl:justify-between max-legacy-xl:gap-1","max-legacy-xl:rounded-lg max-legacy-xl:bg-consumer max-legacy-xl:px-3 max-legacy-xl:py-1.5 max-[540px]:justify-center max-[540px]:gap-0.5 max-[540px]:text-center"),children:[(0,t.jsx)(w.SkeletonBlock,{width:200,height:20,...N}),(0,t.jsx)(w.SkeletonBlock,{width:80,height:44,...N})]}),(0,t.jsxs)("div",{className:"free-cases__heading-title flex flex-col items-center gap-2 max-legacy-xl:col-start-1 max-legacy-xl:col-end-3 max-legacy-xl:row-start-1 max-legacy-xl:w-full max-legacy-xl:justify-self-stretch max-legacy-xl:text-center",children:[(0,t.jsx)(w.SkeletonBlock,{width:240,height:24,...N}),(0,t.jsx)(w.SkeletonBlock,{width:280,height:24,...N})]}),(0,t.jsxs)("div",{className:(0,j.cn)("free-cases__heading-update flex w-[260px] flex-col items-end justify-end gap-2 whitespace-nowrap max-legacy-xl:col-start-2 max-legacy-xl:row-start-2 max-legacy-xl:w-full max-legacy-xl:min-w-0 max-legacy-xl:items-center max-legacy-xl:justify-between max-legacy-xl:gap-1","max-legacy-xl:rounded-lg max-legacy-xl:bg-consumer max-legacy-xl:px-3 max-legacy-xl:py-1.5 max-[540px]:justify-center max-[540px]:gap-0.5 max-[540px]:text-center"),children:[(0,t.jsx)(w.SkeletonBlock,{width:180,height:24,...N}),(0,t.jsx)(w.SkeletonBlock,{width:120,height:44,...N})]})]}),(0,t.jsx)("div",{className:"free-cases__progress relative mt-4 flex h-10 w-full items-center gap-3 radius-20px border-2 border-(--t-4-states-color-2-default-stroke) bg-bg px-0.5 py-0 max-legacy-xl:hidden","data-slot":"free-cases-progress",children:(0,t.jsx)("div",{className:"free-cases__progress-skeleton overflow-hidden radius-4px",children:(0,t.jsx)(w.SkeletonBlock,{height:8,width:"100%",radius:"sm",...N})})}),(0,t.jsx)("div",{className:(0,j.cn)("free-cases__list flex flex-row flex-nowrap gap-3 overflow-x-auto p-1 max-legacy-xl:order-2 max-legacy-xl:gap-2 max-mobile:grid max-mobile:grid-cols-2 max-mobile:gap-2 [&_.case]:w-[calc(16.66%-10px)] [&::-webkit-scrollbar]:hidden","max-xl-inclusive:[&_.case]:w-[calc(25%-10px)] max-md-inclusive:[&_.case]:w-[calc(33.3%-10px)] max-mobile:[&_.case]:w-auto max-mobile:[&_.case]:min-w-0 [&_.case\\_cost]:box-border [&_.case\\_cost]:
48h-11 [&_.case\\_cost]:pt-2.5","[&_.case\\_cost]:pb-2.5 max-xl-inclusive:[&_.case\\_cost]:h-8 max-xl-inclusive:[&_.case\\_cost]:pt-1 max-xl-inclusive:[&_.case\\_cost]:pb-1 max-md:[&_.case\\_cost]:px-3 max-md:[&_.case\\_cost]:py-0"),"data-slot":"free-cases-list",children:Array(6).fill(0).map((e,n)=>(0,t.jsx)(y.CaseCardSkeleton,{},n))}),(0,t.jsxs)("div",{className:"free-cases__promocode flex items-center justify-between gap-3 rounded-2xl bg-consumer py-3 pr-3 pl-4 max-legacy-xl:order-3 max-legacy-xl:flex-col max-md:-ml-4 max-md:w-[calc(100%+32px)] max-md:rounded-none max-md:px-4 max-md:py-3","data-slot":"free-cases-promocode",children:[(0,t.jsx)(w.SkeletonBlock,{width:402,height:24,...S}),(0,t.jsxs)("div",{className:"free-cases__promocode-actions flex items-center gap-2 max-md:w-full",children:[(0,t.jsx)(w.SkeletonBlock,{height:44,width:240,...S}),(0,t.jsx)(w.SkeletonBlock,{height:44,width:188,...S})]})]})]});var C=e.i(678626),A=e.i(948148),T=e.i(514089),O=e.i(462115),I=e.i(765036);function E({className:e="",...n}){return(0,t.jsx)("div",{...n,className:(0,j.cn)("rounded-lg bg-consumer px-4 py-3.5 text-center font-size-20px leading-[80%] font-bold whitespace-nowrap text-t0 tabular-nums max-legacy-xl:rounded-none max-legacy-xl:bg-transparent max-legacy-xl:px-0 max-legacy-xl:py-0 max-legacy-xl:font-size-16px max-legacy-xl:leading-[125%] max-[540px]:font-size-14px",e)})}function F({deposit48h:e}){let n=(0,f.useRevealPhase)(),{count:a,cents:r}=(e=>{let[t,n]=e.toFixed(2).split(".");return{count:Number(t),cents:n}})(e),i=(0,t.jsx)("span",{className:(0,j.cn)("free-cases-deposit-count","play"===n&&"animate-[motion-count-up_900ms_cubic-bezier(0.22,0.61,0.36,1)_both] motion-reduce:animate-none"),"data-phase":n,"data-slot":"free-cases-deposit-count",style:{"--fc-deposit-count":a},"data-cents":r,role:"img","aria-label":e.toFixed(2)});return(0,t.jsx)(E,{className:"free-cases__heading-value",children:(0,t.jsx)(x.CurrencyAmount,{children:i})})}function M({deposit48h:e,thresholds:n,conceal:a=!1}){let r=(0,f.useRevealPhase)(),i=((e,t)=>{let n=Array.from(new Set(t.map(Number))).filter(e=>e>=0).sort((e,t)=>e-t),a=n.length;if(!a)return 0;let r=100/a;if(e>n[a-1])return 100;let i=r/2;for(let t=0;t<a-1;t++){let a=n[t],l=n[t+1];if(e>=l){i+=r;continue}e>a&&(i+=(e-a)/(l-a)*r);break}return Math.min(100,Math.max(0,i))})(e,n),l="play"===r&&a?"conceal":r;return(0,t.jsx)("div",{className:{conceal:"absolute top-1/2 left-2.5 z-1 h-5 [transform:translateY(-50%)_scaleX(0)] rounded-2xl bg-(--t-4-states-color-main-default-bg)",play:"absolute top-1/2 left-2.5 z-1 h-5 origin-left [transform:translateY(-50%)] animate-[motion-progress-fill_900ms_cubic-bezier(0.22,0.61,0.36,1)_both] rounded-2xl bg-(--t-4-states-color-main-default-bg) motion-reduce:animate-none",static:"absolute top-1/2 left-2.5 z-1 h-5 [transform:translateY(-50%)] rounded-2xl bg-(--t-4-states-color-main-default-bg)"}[l],"data-phase":l,"data-slot":"free-cases-progress-bar",style:{width:`calc(${i}% - ${i/100*20}px)`,maxWidth:"calc(100% - 20px)"}})}function P({value:e}){let[n,a]=(0,l.useState)(e),[r,i]=(0,l.useState)(e),[s,o]=(0,l.useState)(0),c=(0,l.useRef)(e);(0,l.useEffect)(()=>{e!==c.current&&(i(c.current),c.current=e,a(e),o(e=>e+1))},[e]);let x=(0,l.useMemo)(()=>(0,d.createRollingChars)({animationKey:s,currentValue:n,previousValue:r}),[s,n,r]);return(0,t.jsx)("span",{className:"free-cases__rolling-countdown inline-flex items-center justify-center text-[length:inherit] leading-none [font-weight:inherit] text-inherit tabular-nums [&_span]:text-[length:inherit] [&_span]:[font-weight:inherit] [&_span]:text-inherit",role:"timer","aria-label":n,children:(0,t.jsx)("span",{"aria-hidden":"true",className:"free-cases__rolling-countdown-chars inline-flex h-[1em] items-center",children:x.map(({current:e,isChanged:n,isDigitChange:a,key:r,previous:i})=>(0,t.jsx)("span",{className:(0,j.cn)("free-cases__rolling-countdown-char inline-block h-[1em] min-w-[0.55em] overflow-hidden text-center text-[length:inherit] [font-weight:inherit] text-inherit [&:not(.is-digit-change)]:min-w-[0.32em]",n?"is-changed":"",a?"is-digit-change":""),children:n?(0,t.jsxs)("span",{className:(0,j.cn)("free-cases__rolling-countdown-char-inner flex [transform:translate3d(0,
480,0)] flex-col text-[length:inherit] [font-weight:inherit] text-inherit","animate-[motion-value-roll-up-half_560ms_cubic-bezier(0.14,0.9,0.22,1)_both] motion-reduce:[animation-duration:1ms] [&_span]:block [&_span]:h-[1em] [&_span]:text-[length:inherit] [&_span]:text-inherit","[&_span]:[font-weight:inherit]"),children:[(0,t.jsx)("span",{children:i}),(0,t.jsx)("span",{children:e})]}):(0,t.jsx)("span",{children:e})},r))})})}e.s(["default",0,function({isAuthed:e,initialStaticData:d,initialPersonalState:y=null,personalStatePending:w=!1,availabilityConceal:N=!1,onShowInfo:S=()=>void 0}){let D=(0,A.useTranslations)("home"),L=(0,a.useProfile)(),R=(0,l.useRef)(null),z=(0,_.useMountedAfterHydration)(),[B]=(0,l.useState)(()=>(0,g.getHasNavigated)()),{isAuthPending:H,isAuthed:G}=function({isAuthedProp:e,initialPersonalState:t,personalStatePending:n,mounted:a,hasProfileId:r,profileResolved:i,navigatedSinceLoad:l=!1}){let s=n&&!t;return{isWaitingForServerPersonalState:s,isAuthPending:s||void 0===e&&!t&&(!a||!i),isAuthed:!s&&(!!t||(void 0!==e?e||l&&r:a&&r))}}({isAuthedProp:e,initialPersonalState:y,personalStatePending:w,mounted:z,hasProfileId:!!L?.id,profileResolved:void 0!==L,navigatedSinceLoad:B}),U=!!d?.getFreeCasesStaticInfo,{cachedPersonalState:q,personalQuery:V,staticQuery:$}=(0,r.useHomeFreeCasesData)({hasInitialStaticInfo:U,initialPersonalState:y,isAuthed:G,mounted:z,navigatedSinceLoad:B}),{data:Y}=$,K=d?.getFreeCasesStaticInfo??Y?.getFreeCasesStaticInfo;if(v.APOLLO_DEBUG&&G){let e=!!q?.getFreeCasesPersonalState;R.current!==e&&(R.current=e,console.log(`%c[FreeCases] render â cacheHit:${e}`,(0,h.getThemeConsoleStyles)().debugApolloCache))}let{data:Q,loading:W}=V,X=(({queryPersonalState:e,initialPersonalState:t,navigatedSinceLoad:n})=>e||(n?null:t??null))({queryPersonalState:Q?.getFreeCasesPersonalState,initialPersonalState:y,navigatedSinceLoad:B}),J=!!X,Z=H||G&&W&&!J,ee=(0,f.useRevealPhase)(),et=(0,l.useMemo)(()=>{if(K){if(!X)return K;let e=new Map(X.cases.map(e=>[e.id,e]));return{resetAt:X.resetAt??K.resetAt,deposit48h:X.deposit48h??0,cases:K.cases.map(t=>{let n=e.get(t.id);return n?{...t,canOpen:n.canOpen,opened:n.opened,promoAvailable:n.promoAvailable}:t})}}return null},[X,K]),[en,ea]=(0,l.useState)(null),er=(0,i.useConfig)(),ei=(0,l.useCallback)(()=>{ea((e=>{if(!e)return 0;let t=(0,u.default)(e).diff((0,u.default)());return t>0?t:0})(et?.resetAt))},[et?.resetAt]);(0,l.useEffect)(()=>{ei()},[ei]),(0,p.useInterval)(ei,et?.resetAt?1e3:null);let[el,es]=(0,l.useState)(""),[eo,{loading:ec}]=(0,T.useMutation)(O.ACTIVATE_FREE_CASE_PROMO_MUTATION,{refetchQueries:(0,I.buildFreeCasePromoRefetchQueries)(),awaitRefetchQueries:!0}),ed=(0,l.useCallback)(async()=>{let e=el.trim();if(!G)return void C.toast.info(String(D("please_login_to_activate_promo")));if(!ec&&!(e.length<3))try{await eo({variables:{code:e}}),C.toast.info(String(D("promo_activated"))),es("")}catch(a){let e=b.CombinedGraphQLErrors.is(a)?a.errors[0]:a?.graphQLErrors?.[0]??a,t=(e?.extensions??{}).code||e?.message||"UNKNOWN",n={UNAUTHENTICATED:String(D("please_login_to_activate_promo")),PROMO_NOT_FOUND:String(D("promo_not_found")),PROMO_EXPIRED:String(D("promo_expired")),PROMO_LIMIT_REACHED:String(D("promo_limit_reached")),PROMO_FOR_OTHER_USER:String(D("promo_for_other_user")),PROMO_ALREADY_USED_BY_USER:String(D("promo_already_used_by_user")),PROMO_ALREADY_ACTIVE:String(D("promo_already_active")),PROMO_CASE_INVALID:String(D("promo_case_invalid")),USER_NOT_FOUND:String(D("internal_error")),INTERNAL_ERROR:String(D("internal_error")),FORBIDDEN:String(D("forbidden"))};C.toast.error(n[t]||String(D("unknown_error")))}},[el,G,ec,eo,D]);if(!et)return(0,t.jsx)(k,{id:"FreeCases"});let ex=et.cases,em=et.deposit48h??0,eu=(e=>{if(null===e)return"48 : 00 : 00";let t=Math.floor(e/1e3),n=String(Math.floor(t/3600)).padStart(2,"0"),a=String(Math.floor(t%3600/60)).padStart(2,"0"),r=String(t%60).padStart(2,"0");return`${n} : ${a} : ${r}`})(en),ep=ex.map(e=>({...e,depositThreshold:e.depositThreshold??0,canOpen:J?e.canOpen:!!e.canOpen,opened:J?e.opened:!!e.opened,promoAvailable:J?e.promoAvailable:!!e.promoAvailable})),eh=ex.map(e=>Number(e.depositThreshold)||0),ef=!!G&&!ec&&el.trim().length>=3;return(0,t.jsxs)("div",{className:"free-cases mb-16 flex flex-col gap-8 rounded-2xl bg-[var(--t-bg-case-a8)] p-8 max-legacy-xl:mb-6 max-legacy-xl:gap-2 max-legacy-xl:rou
48nded-none max-legacy-xl:bg-transparent max-legacy-xl:p-0 max-md:mb-4","data-slot":"free-cases",id:"FreeCases",children:[(0,t.jsxs)("div",{className:"free-cases__heading grid grid-cols-[1fr_auto_1fr] items-center gap-4 overflow-x-clip max-legacy-xl:order-1 max-legacy-xl:mb-4 max-legacy-xl:grid-cols-2 max-legacy-xl:items-stretch max-legacy-xl:justify-items-stretch max-legacy-xl:gap-2","data-slot":"free-cases-heading",children:[(0,t.jsxs)("div",{className:(0,j.cn)("free-cases__heading-balance col-start-1 flex flex-row items-center gap-2 justify-self-start whitespace-nowrap max-legacy-xl:col-start-1 max-legacy-xl:row-start-2 max-legacy-xl:w-full max-legacy-xl:min-w-0 max-legacy-xl:flex-row [&>span]:items-start","max-legacy-xl:flex-nowrap max-legacy-xl:items-center max-legacy-xl:justify-between max-legacy-xl:gap-1 max-legacy-xl:rounded-lg max-legacy-xl:bg-consumer max-legacy-xl:px-3 max-legacy-xl:py-1.5 max-[540px]:flex-col max-[540px]:items-center max-[540px]:justify-center","max-[540px]:gap-0.5 max-[540px]:text-center [&>span]:font-size-16px [&>span]:leading-6 [&>span]:font-medium [&>span]:whitespace-nowrap [&>span]:text-t1 max-legacy-xl:[&>span]:min-w-0 max-legacy-xl:[&>span]:overflow-hidden","max-legacy-xl:[&>span]:text-ellipsis max-[540px]:[&>span]:overflow-visible max-[540px]:[&>span]:font-size-13px max-[540px]:[&>span]:leading-4 max-[540px]:[&>span]:text-clip max-[540px]:[&>span]:whitespace-normal"),children:[(0,t.jsx)("span",{children:String(D("today_you_deposited"))}),(0,t.jsx)(F,{deposit48h:em})]}),(0,t.jsxs)("div",{className:(0,j.cn)("free-cases__heading-title col-start-2 flex flex-col items-center gap-2 justify-self-center max-legacy-xl:col-start-1 max-legacy-xl:col-end-3 max-legacy-xl:row-start-1 max-legacy-xl:w-full max-legacy-xl:justify-self-stretch max-legacy-xl:text-center [&_h2]:m-0","[&_h2]:text-center [&_h2]:font-size-24px [&_h2]:leading-none [&_h2]:font-bold [&_h2]:text-t0 [&_h2]:uppercase max-legacy-xl:[&_h2]:font-size-20px max-legacy-xl:[&_h2]:leading-[120%]"),children:[(0,t.jsx)("h2",{children:String(D("free_cases"))}),(0,t.jsxs)("button",{type:"button",className:"free-cases__heading-subtitle flex cursor-pointer items-center gap-1 font-size-16px leading-[150%] font-medium text-t1 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--t-stand-brand-183) max-legacy-xl:justify-center max-legacy-xl:whitespace-nowrap",onClick:()=>S(),children:[String(D("open_for_daily_dep"))," ",(0,t.jsx)("span",{className:"free-cases__heading-subtitle-info flex cursor-pointer",children:(0,t.jsx)(s,{})})]})]}),(0,t.jsxs)("div",{className:(0,j.cn)("free-cases__heading-update col-start-3 flex flex-row items-center justify-end gap-2 justify-self-end whitespace-nowrap max-legacy-xl:col-start-2 max-legacy-xl:row-start-2 max-legacy-xl:w-full max-legacy-xl:min-w-0 max-legacy-xl:flex-row max-legacy-xl:flex-nowrap","max-legacy-xl:items-center max-legacy-xl:justify-between max-legacy-xl:gap-1 max-legacy-xl:rounded-lg max-legacy-xl:bg-consumer max-legacy-xl:px-3 max-legacy-xl:py-1.5 max-[540px]:flex-col max-[540px]:items-center max-[540px]:justify-center max-[540px]:gap-0.5","max-[540px]:text-center [&>span]:font-size-16px [&>span]:leading-6 [&>span]:font-medium [&>span]:whitespace-nowrap [&>span]:text-t1 max-legacy-xl:[&>span]:min-w-0 max-legacy-xl:[&>span]:overflow-hidden max-legacy-xl:[&>span]:text-ellipsis","max-[540px]:[&>span]:overflow-visible max-[540px]:[&>span]:font-size-13px max-[540px]:[&>span]:leading-4 max-[540px]:[&>span]:text-clip max-[540px]:[&>span]:whitespace-normal"),children:[(0,t.jsx)("span",{children:String(D("until_progress_refresh"))}),(0,t.jsx)(E,{className:"free-cases__heading-timer",suppressHydrationWarning:!0,children:(0,t.jsx)(P,{value:eu})})]})]}),(0,t.jsxs)("div",{className:"free-cases__progress relative flex h-10 w-full items-center gap-3 radius-20px border-2 border-(--t-4-states-color-2-default-stroke) bg-bg px-0.5 py-0 max-legacy-xl:hidden","data-slot":"free-cases-progress",children:[(0,t.jsx)(M,{deposit48h:em,thresholds:eh,conceal:N}),eh.map((e,n)=>(0,t.jsx)("div",{className:"free-cases__progress-value-wrapper flex w-[calc(16.66%-10px)] justify-center",children:(0,t.jsx)("div",{className:(0,j.cn)("free-cases__progress-value z-2 radius-50px bg-consumer px-2.5 py-0 text-center font-size-16px leading-[125%] font-bold text-t0",0===e?"free-cases__progress-value--free":""),children:0===e?String(D("Free")):(0,t.jsxs)(t.Fragment,{children:[D("From "),(0,t.jsx)(x.CurrencyAmount,{children:e.toFixed(0)})]})})},n))]}),(0,t.jsx)("div",{className:(0,j.cn)("free-cases__list flex flex-row gap-3 max-legacy-xl:order-2 max-legacy-xl:flex-wrap max-legacy-xl:gap-2 max-mobile:grid max-mobile:grid-cols-2 max-mobile:gap-2 [&_.case]:w-[calc(16.66%-10px)] max-xl-inclusive:[&_.case]:w-[calc(25%-10px)]","max-md-inclusive:[&_.case]:w-[calc(33.3%-10px)] max-mobile:[&_.case]:w-auto max-mobile:[&_.case]:min-w-0 [&_[data-slot=case-card-action]]:box-border [&_[data-slot=case-card-action]]:h-11","[&_[data-slot=case-card-action]]:pt-2.5 [&_[data-slot=case-card-action]]:pb-2.5 max-xl-inclusive:[&_[data-slot=case-card-action]]:h-8 max-xl-inclusive:[&_[data-slot=case-card-action]]:pt-1","max-xl-inclusive:[&_[data-slot=case-card-action]]:pb-1 max-md:[&_[data-slot=case-card-action]]:px-3 max-md:[&_[data-slot=case-card-action]]:py-0"),"data-slot":"free-cases-list",children:ep.map((e,a)=>
48(0,t.jsx)(n.CatalogCaseCard,{getCase:e,freeCaseButtonPending:Z,freeCaseButtonPendingSkeleton:!0,freeCaseButtonPendingTone:0===a?"yellow":"gray",isAuthedOverride:!!J&&G,isBattlePassCoins:!!er?.getBattlePass,isFreeCase:!0,mediaPriorityIndex:a,deposit48h:em,freeCaseAvailabilityRevealPhase:ee,freeCasePersonalStateResolved:J||!N},e.id))}),(0,t.jsxs)("div",{className:"free-cases__promocode flex items-center justify-between gap-3 rounded-2xl bg-consumer py-3 pr-3 pl-4 max-legacy-xl:order-3 max-legacy-xl:flex-col max-md:-ml-4 max-md:w-[calc(100%+32px)] max-md:rounded-none max-md:px-4 max-md:py-3 md:max-legacy-xl:pb-5","data-slot":"free-cases-promocode",children:[(0,t.jsxs)("button",{type:"button",className:"free-cases__promocode-title flex cursor-pointer items-center gap-1 font-size-14px leading-[150%] font-medium text-t0 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-(--t-stand-brand-183) max-md:relative max-md:-top-px max-md:w-full max-md:justify-center legacy-xl:font-size-16px legacy-xl:leading-[25px]","data-slot":"free-cases-promocode-title",onClick:()=>S(),children:[(0,t.jsx)(c.GiftIcon,{className:"free-cases__promocode-title-icon max-md:hidden"}),(0,t.jsxs)("span",{className:"free-cases__promocode-title-text max-w-full min-w-0 text-left [&_svg]:ml-1 [&_svg]:inline [&_svg]:[vertical-align:-0.15em]",children:[String(D("activate_promo_get_case_for_free")),(0,t.jsx)(s,{})]})]}),(0,t.jsxs)("div",{className:(0,j.cn)("free-cases__promocode-actions flex items-center gap-4 max-md:relative max-md:-top-px max-md:w-full max-md:gap-3 [&_input]:h-11 [&_input]:min-w-60 [&_input]:rounded-lg [&_input]:border [&_input]:border-bg [&_input]:bg-bg","[&_input]:px-3 [&_input]:py-0 [&_input]:font-size-16px [&_input]:leading-[125%] [&_input]:font-normal [&_input]:text-t0 [&_input]:uppercase [&_input]:outline-transparent [&_input]:transition-colors [&_input]:duration-300 [&_input]:focus-visible:outline-2 [&_input]:focus-visible:outline-offset-[-2px] [&_input]:focus-visible:outline-(--t-4-states-color-main-default-bg) motion-reduce:[&_input]:duration-0","[&_input]:ease-out [&_input]:hover:border-(--t-4-states-color-2-hover-stroke) [&_input]:hover:bg-case max-md:[&_input]:grow [&_input::placeholder]:text-t4 [&_input::placeholder]:normal-case"),"data-slot":"free-cases-promocode-actions",children:[(0,t.jsx)("input",{"aria-label":D("I have promocode"),autoComplete:"off",name:"free-case-promocode",spellCheck:!1,value:el,onChange:e=>es(e.target.value),type:"text",placeholder:D("I have promocode")}),(0,t.jsx)(m.Button,{text:String(D("Activate")),variant:"yellow",className:"h-11 min-w-[188px] rounded-lg max-md:hidden",type:"button",disabled:!ef,onClick:ed}),(0,t.jsx)(m.Button,{is_icon:!0,icon:(0,t.jsx)(o.ClickIcon,{size:28,color:"var(--t-4-states-color-main-default-text)"}),variant:"yellow",className:"hidden h-11 w-11 min-w-11 shrink-0 max-md:flex",type:"button",ariaLabel:String(D("Activate")),disabled:!ef,onClick:ed})]})]})]})}],544531)},890655,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(948148);e.i(363908);var r=e.i(602417),i=e.i(629230),l=e.i(885899);function s(e){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e,children:(0,t.jsx)("path",{fill:"var(--t-colors-white)",d:"M19.984 10A9.963 9.963 0 0 1 10 19.984 9.963 9.963 0 0 1 .016 10 9.963 9.963 0 0 1 10 .016 9.963 9.963 0 0 1 19.984 10ZM10 12.813c0 .421.563.656.844.328l2.812-2.766c.188-.234.188-.516 0-.703l-2.812-2.813c-.281-.328-.844-.093-.844.329v1.828H7a.961.961 0 0 0-.984.984c0 .563.421.984.984.984h3v1.829Z"})})}e.i(885964);var o=e.i(84682);e.i(783411);var c=e.i(812042);e.i(464903);var d=e.i(207977);e.i(654893);var x=e.i(492055);e.i(26623);var m=e.i(711726),u=e.i(309710);e.i(317808);var p=e.i(979337);e.s(["default",0,function({gameModes:e,initialDistributionGames:h,onShowGiveaways:f,onShowPopularModes:g}){let _=(0,a.useTranslations)("common"),b=(0,x.useConfig)(),{data:{getStatistics:v},loading:y=!1}=(0,d.useGetStatistics)();(0,n.useEffect)(()=>{(0,m.prefetchAudio)(l.GAME_MODE_HOVER_AUDIO,l.GAME_MODE_CLICK_AUDIO)},[]);let{data:w,loading:j}=(0,c.useGetDistributionGames)({filterOrder:{sortField:"type",sortOrder:"ASC"}}),N=(0,n.useMemo)(()=>Array.isArray(e)?e.filter(e=>
48!(e?.href==="/"||e?.title==="Cases"||e?.href==="/terminals"&&(!b?.isTerminal||b?.isSkala)||e?.href==="/wheel"&&b?.isInfo)):[],[e,b?.isInfo,b?.isSkala,b?.isTerminal]),S=(0,n.useMemo)(()=>w?.getDistributionGames??h?.getDistributionGames??[],[w?.getDistributionGames,h]),k=(0,n.useMemo)(()=>{if(S&&0!==S.length)return S.reduce((e,t)=>e+("number"==typeof t?.usersCount?t.usersCount:0),0)},[S]),C=(0,n.useMemo)(()=>y?null:(0,u.calculateModeOnlineCounts)(v?.online,(0,u.resolveModeOnlineRatios)(b)),[b,v?.online,y]),A=C?.cases;return(0,t.jsxs)("div",{className:"flex flex-col max-mobile:flex-col-reverse","data-loading":j?"1":"0",children:[(0,t.jsxs)("div",{className:"mb-6 flex items-center justify-between mobile:grid mobile:grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)]",children:[(0,t.jsx)("div",{className:"flex min-w-0 items-center max-mobile:hidden mobile:col-start-2 mobile:row-start-1 mobile:justify-self-center",children:(0,t.jsx)("h2",{className:"truncate text-xl font-bold md:text-2xl",children:_("popular_modes")})}),(0,t.jsxs)("div",{className:"inline-flex items-center gap-0 rounded-lg bg-(--t-bg-consumer) px-1.5 py-[5px] whitespace-nowrap text-(--t-text-text-0) backdrop-blur-[8px] transition-[background-color,box-shadow,filter] duration-[160ms] motion-ease-standard has-[[data-interactive=true]]:hover:bg-[color-mix(in_srgb,var(--t-bg-consumer)_78%,var(--t-colors-white)_22%)] has-[[data-interactive=true]]:hover:shadow-[inset_0_0_0_1px_var(--t-colors-white-a11),0_0_18px_var(--t-status-online-a13)] has-[[data-interactive=true]]:hover:saturate-[1.06] max-mobile:hidden mobile:col-start-1 mobile:row-start-1 mobile:justify-self-start md:px-2.5 [&_[data-slot=cases-mode-divider]+[data-slot=mode-online-badge]]:gap-1 [&_[data-slot=cases-mode-divider]+[data-slot=mode-online-badge]_[data-slot=mode-online-icon]]:mr-1 [&_[data-slot=online-count-text]]:mr-[3px] [&_[data-slot=online-label]]:mr-[5px]","data-slot":"cases-mode-badge",children:[(0,t.jsx)("button",{className:"mr-1.5 cursor-pointer appearance-none border-0 bg-transparent p-0 font-[family-name:inherit] text-sm leading-none font-semibold text-inherit hover:underline hover:underline-offset-[3px] md:mr-2.5",type:"button",onClick:()=>{(0,p.scrollToCasesFilters)()},"data-slot":"cases-mode-link",children:_("Cases")}),(0,t.jsx)("span",{className:"mr-1 h-4 w-px flex-[0_0_1px] bg-(--t-colors-white-a24) md:mr-2","aria-hidden":"true","data-slot":"cases-mode-divider"}),(0,t.jsx)(i.ModeOnlineBadge,{mode:"cases",children:"number"==typeof A?(0,u.formatModeOnlineCount)(A):"â"})]}),(0,t.jsx)(o.Button,{text:_("all_modes"),icon:(0,t.jsx)(s,{}),icon_direction:"right",onClick:()=>{g?.()},className:"bg-(--t-bg-consumer) py-2.5 pr-2.5 pl-4 mobile:col-start-3 mobile:row-start-1 mobile:justify-self-end"})]}),(0,t.jsx)("div",{className:"mb-8 flex flex-wrap gap-4 max-legacy-2xl:flex-nowrap max-legacy-2xl:overflow-x-auto max-md:mb-2 max-md:w-full max-md:gap-2 max-md:overflow-x-hidden",children:N.map((e,n)=>{let a=e?.href||e?.title||`${e?.text??"mode"}-${n}`,i=(0,u.getModeOnlineKey)(e);return(0,t.jsx)(r.GameMode,{...e,modeOnlineCount:i?C?.[i]??null:void 0,modeOnlineKey:i,onShowGiveaways:f,usersInDistributionsCount:k},a)})})]})}],890655)},934414,593857,385672,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(948148);let r=e=>{let{children:n,...a}=e;return(0,t.jsx)("button",{type:"button",...a,children:n})},i={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function l(e={}){let t,n,a,r,s=null,o=0,c=!1,d=!1,x=!1,m=!1;function u(){if(!a){if(f()){x=!0;return}c||n.emit("autoplay:play"),function(){let{ownerWindow:e}=n.internalEngine();e.clearTimeout(o),o=e.setTimeout(y,r[n.selectedScrollSnap()]),s=new Date().getTime(),n.emit("autoplay:timerset")}(),c=!0}}function p(){a||(c&&n.emit("autoplay:stop"),function(){let{ownerWindow:e}=n.internalEngine();e.clearTimeout(o),o=0,s=null,n.emit("autoplay:timerstopped")}(),c=!1)}function h(){if(f())return x=c,p();x&&u()}function f(){let{ownerDocument:e}=n.internalEngine();return"hidden"===e.visibilityState}function g(){d||p()}function _(){d||u()}function b(){d=!0,p()}function v(){d=!1,u()}function y(){let{index:e}=n.internalEngine(),a=e.clone().add(1).get(),r=n.scrollSnapList().length-1,i=t.stopOnLastSnap&&a===r;if(n.canScrollNext()?n.scrollNext(m):n.scrollTo(0,m),n.emit("autoplay:select"),i)return p();u()}return{name:"autoplay",options:e,init:function(s,o){var c,d,x,f;let y,w;n=s;let{mergeOptions:j,optionsAtMedia:N}=o,S=j(i,l.globalOptions);if(t=N(j(S,e)),n.scrollSnapList().length<=1)return;m=t.jump,a=!1,c=n,d=t.delay,y=c.scrollSnapList(),r="number"==typeof d?y.map(()=>d):d(y,c);let{eventStore:k,ownerDocument:C}=n.internalEngine(),A=!!n.internalEngine().options.watchDrag,T=(x=n,f=t.rootNode,w=x.rootNode(),f&&f(w)||w);k.add(C,"visibilitychange",h),A&&n.on("pointerDown",g),A&&!t.stopOn
48Interaction&&n.on("pointerUp",_),t.stopOnMouseEnter&&k.add(T,"mouseenter",b),t.stopOnMouseEnter&&!t.stopOnInteraction&&k.add(T,"mouseleave",v),t.stopOnFocusIn&&n.on("slideFocusStart",p),t.stopOnFocusIn&&!t.stopOnInteraction&&k.add(n.containerNode(),"focusout",u),t.playOnInit&&u()},destroy:function(){n.off("pointerDown",g).off("pointerUp",_).off("slideFocusStart",p),p(),a=!0,c=!1},play:function(e){void 0!==e&&(m=e),u()},stop:function(){c&&p()},reset:function(){c&&u()},isPlaying:function(){return c},timeUntilNext:function(){return s?r[n.selectedScrollSnap()]-(new Date().getTime()-s):null}}}function s(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),a=Object.keys(t);return n.length===a.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let a=e[n],r=t[n];return"function"==typeof a?`${a}`==`${r}`:s(a)&&s(r)?o(a,r):a===r})}function c(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function d(e){return"number"==typeof e}function x(e){return"string"==typeof e}function m(e){return"boolean"==typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function p(e){return Math.abs(e)}function h(e){return Math.sign(e)}l.globalOptions=void 0;function f(e){return v(e).map(Number)}function g(e){return e[_(e)]}function _(e){return Math.max(0,e.length-1)}function b(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function y(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function w(){let e=[],t={add:function(n,a,r,i={passive:!0}){let l;return"addEventListener"in n?(n.addEventListener(a,r,i),l=()=>n.removeEventListener(a,r,i)):(n.addListener(r),l=()=>n.removeListener(r)),e.push(l),t},clear:function(){e=e.filter(e=>e())}};return t}function j(e=0,t=0){let n=p(e-t);function a(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return a(n)?n<e?e:t:n},reachedAny:a,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function N(e){let t=e;function n(e){return d(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function S(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},a=t.style,r=null,i=!1;return{clear:function(){!i&&(a.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;let l=Math.round(100*e.direction(t))/100;l!==r&&(a.transform=n(l),r=l)},toggleActive:function(e){i=!e}}}let k={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function C(e,t,n){let a,r,i,l,s,o,c,A,T=e.ownerDocument,O=T.defaultView,I=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(v(n).forEach(a=>{let r=t[a],i=n[a],l=u(r)&&u(i);t[a]=l?e(r,i):i}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let a=n.breakpoints||{},r=v(a).filter(t=>e.matchMedia(t).matches).map(e=>a[e]).reduce((e,n)=>t(e,n),{});return t(n,r)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(O),E=(A=[],{init:function(e,t){return(A=t.filter(({options:e})=>!1!==I.optionsAtMedia(e).active)).forEach(t=>t.init(e,I)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){A=A.filter(e=>e.destroy())}}),F=w(),M=(r={},i={init:function(e){a=e},emit:function(e){return(r[e]||[]).forEach(t=>t(a,e)),i},off:function(e,t){return r[e]=(r[e]||[]).filter(e=>e!==t),i},on:function(e,t){return r[e]=(r[e]||[]).concat([t]),i},clear:function(){r={}}}),{mergeOptions:P,optionsAtMedia:D,optionsMediaQueries:L}=I,{on:R,off:z,emit:B}=M,H=!1,G=P(k,C.globalOptions),U=P(G),q=[];function V(t,n){H||(U=D(G=P(G,t)),q=n||q,function(){let{container:t,slides:n}=U;o=(x(t)?e.querySelector(t):t)||e.children[0];let a=x(n)?o.querySelectorAll(n):n;c=[].slice.call(a||o.children)}(),l=function t(n){let a=function(e,t,n,a,r,i,l){var s,o;let c,u,k,C,A,T,O,I,E,F,M,P,D,L,{align:R,axis:z,direction:B,startIndex:H,loop:G,duration:U,dragFree:q,dragThreshold:V,inViewThreshold:$,slidesToScroll:Y,skipSnaps:K,containScroll:Q,watchResize:W,watchSlides:X,watchDrag:J,watchFocus:Z}=i,ee={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:a,offsetHeight:r}=e;return{top:t,right:n+a,bottom:t+r,left:n,width:a,height:r}}},et=ee.measure(t),en=n.map(ee.measure),ea=(u="rtl"===B,C=(k="y"===z)||!u?1:-1,A=k?"top":u?"right":"left",T=k?"bottom":u?"left"
48:"right",{scroll:k?"y":"x",cross:k?"x":"y",startEdge:A,endEdge:T,measureSize:function(e){let{height:t,width:n}=e;return k?t:n},direction:function(e){return e*C}}),er=ea.measureSize(et),ei={measure:function(e){return e/100*er}},el=(s=R,o=er,c={start:function(){return 0},center:function(e){return(o-e)/2},end:function(e){return o-e}},{measure:function(e,t){return x(s)?c[s](e):s(o,e,t)}}),es=!G&&!!Q,{slideSizes:eo,slideSizesWithGaps:ec,startGap:ed,endGap:ex}=function(e,t,n,a,r,i){let{measureSize:l,startEdge:s,endEdge:o}=e,c=n[0]&&r,d=function(){if(!c)return 0;let e=n[0];return p(t[s]-e[s])}(),x=c?parseFloat(i.getComputedStyle(g(a)).getPropertyValue(`margin-${o}`)):0,m=n.map(l),u=n.map((e,t,n)=>{let a=t===_(n);return t?a?m[t]+x:n[t+1][s]-e[s]:m[t]+d}).map(p);return{slideSizes:m,slideSizesWithGaps:u,startGap:d,endGap:x}}(ea,et,en,n,G||!!Q,r),em=function(e,t,n,a,r,i,l,s){let{startEdge:o,endEdge:c,direction:x}=e,m=d(n);return{groupSlides:function(e){return m?f(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?f(e).reduce((n,d,m)=>{let u=g(n)||0,h=d===_(e),f=r[o]-i[u][o],b=r[o]-i[d][c],v=a||0!==u?0:x(l),y=p(b-(!a&&h?x(s):0)-(f+v));return m&&y>t+2&&n.push(d),h&&n.push(e.length),n},[]).map((t,n,a)=>{let r=Math.max(a[n-1]||0);return e.slice(r,t)}):[]}}}(ea,er,Y,G,et,en,ed,ex),{snaps:eu,snapsAligned:ep}=function(e,t,n,a,r){let{startEdge:i,endEdge:l}=e,{groupSlides:s}=r,o=s(a).map(e=>g(e)[l]-e[0][i]).map(p).map(t.measure),c=a.map(e=>n[i]-e[i]).map(e=>-p(e)),d=s(c).map(e=>e[0]).map((e,t)=>e+o[t]);return{snaps:c,snapsAligned:d}}(ea,el,et,en,em),eh=-g(eu)+g(ec),{snapsContained:ef,scrollContainLimit:eg}=function(e,t,n,a){let r,i,l=j(-t+e,0),s=n.map((e,t)=>{let{min:a,max:r}=l,i=l.constrain(e),s=t===_(n);return t?s||function(e,t){return 1>=p(e-t)}(a,i)?a:function(e,t){return 1>=p(e-t)}(r,i)?r:i:r}).map(e=>parseFloat(e.toFixed(3))),o=(r=s[0],i=g(s),j(s.lastIndexOf(r),s.indexOf(i)+1));return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===a)return s;let{min:n,max:r}=o;return s.slice(n,r)}(),scrollContainLimit:o}}(er,eh,ep,Q),e_=es?ef:ep,{limit:eb}=(O=e_[0],{limit:j(G?O-eh:g(e_),O)}),ev=function e(t,n,a){let{constrain:r}=j(0,t),i=t+1,l=s(n);function s(e){return a?p((i+e)%i):r(e)}function o(){return e(t,l,a)}let c={get:function(){return l},set:function(e){return l=s(e),c},add:function(e){return o().set(l+e)},clone:o};return c}(_(e_),H,G),ey=ev.clone(),ew=f(n),ej=function(e,t,n,a){let r=w(),i=1e3/60,l=null,s=0,o=0;function c(e){if(!o)return;l||(l=e,n(),n());let r=e-l;for(l=e,s+=r;s>=i;)n(),s-=i;a(s/i),o&&(o=t.requestAnimationFrame(c))}function d(){t.cancelAnimationFrame(o),l=null,s=0,o=0}return{init:function(){r.add(e,"visibilitychange",()=>{e.hidden&&(l=null,s=0)})},destroy:function(){d(),r.clear()},start:function(){o||(o=t.requestAnimationFrame(c))},stop:d,update:n,render:a}}(a,r,()=>(({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:a}})=>{a||n.constrain(e.pointerDown()),t.seek()})(eL),e=>(({scrollBody:e,translate:t,location:n,offsetLocation:a,previousLocation:r,scrollLooper:i,slideLooper:l,dragHandler:s,animation:o,eventHandler:c,scrollBounds:d,options:{loop:x}},m)=>{let u=e.settled(),p=!d.shouldConstrain(),h=x?u:u&&p,f=h&&!s.pointerDown();f&&o.stop();let g=n.get()*m+r.get()*(1-m);a.set(g),x&&(i.loop(e.direction()),l.loop()),t.to(a.get()),f&&c.emit("settle"),h||c.emit("scroll")})(eL,e)),eN=e_[ev.get()],eS=N(eN),ek=N(eN),eC=N(eN),eA=N(eN),eT=function(e,t,n,a,r){let i=0,l=0,s=r,o=.68,c=e.get(),d=0;function x(e){return s=e,u}function m(e){return o=e,u}let u={direction:function(){return l},duration:function(){return s},velocity:function(){return i},seek:function(){let t=a.get()-e.get(),r=0;return s?(n.set(e),i+=t/s,i*=o,c+=i,e.add(i),r=c-d):(i=0,n.set(a),e.set(a),r=t),l=h(r),d=c,u},settled:function(){return .001>p(a.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return x(r)},useFriction:m,useDuration:x};return u}(eS,eC,ek,eA,U),eO=function(e,t,n,a,r){let{reachedAny:i,removeOffset:l,constrain:s}=a;function o(e){return e.concat().sort((e,t)=>p(e)-p(t))[0]}function c(t,a){let r=[t,t+n,t-n];if(!e)return t;if(!a)return o(r);let i=r.filter(e=>h(e)===a);return i.length?o(i):g(r)-n}return{byDistance:function(n,a){let o=r.get()+n,{index:d,distance:x}=function(n){let a=e?l(n):s(n),{index:r}=t.map((e,t)=>({diff:c(e-a,0),index:t})).sort((e,t)=>
48p(e.diff)-p(t.diff))[0];return{index:r,distance:a}}(o),m=!e&&i(o);if(!a||m)return{index:d,distance:n};let u=n+c(t[d]-x,0);return{index:d,distance:u}},byIndex:function(e,n){let a=c(t[e]-r.get(),n);return{index:e,distance:a}},shortcut:c}}(G,e_,eh,eb,eA),eI=function(e,t,n,a,r,i,l){function s(r){let s=r.distance,o=r.index!==t.get();i.add(s),s&&(a.duration()?e.start():(e.update(),e.render(1),e.update())),o&&(n.set(t.get()),t.set(r.index),l.emit("select"))}return{distance:function(e,t){s(r.byDistance(e,t))},index:function(e,n){let a=t.clone().set(e);s(r.byIndex(a.get(),n))}}}(ej,ev,ey,eT,eO,eA,l),eE=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eb),eF=w(),eM=(E={},F=null,M=null,P=!1,{init:function(){I=new IntersectionObserver(e=>{P||(e.forEach(e=>{E[n.indexOf(e.target)]=e}),F=null,M=null,l.emit("slidesInView"))},{root:t.parentElement,threshold:$}),n.forEach(e=>I.observe(e))},destroy:function(){I&&I.disconnect(),P=!0},get:function(e=!0){if(e&&F)return F;if(!e&&M)return M;let t=v(E).reduce((t,n)=>{let a=parseInt(n),{isIntersecting:r}=E[a];return(e&&r||!e&&!r)&&t.push(a),t},[]);return e&&(F=t),e||(M=t),t}}),{slideRegistry:eP}=function(e,t,n,a,r,i){let l,{groupSlides:s}=r,{min:o,max:c}=a;return{slideRegistry:(l=s(i),1===n.length?[i]:e&&"keepSnaps"!==t?l.slice(o,c).map((e,t,n)=>{let a=t===_(n);return t?a?b(_(i)-g(n)[0]+1,g(n)[0]):e:b(g(n[0])+1)}):l)}}(es,Q,e_,eg,em,ew),eD=function(e,t,n,a,r,i,l,s){let o={passive:!0,capture:!0},c=0;function x(e){"Tab"===e.code&&(c=new Date().getTime())}return{init:function(u){s&&(i.add(document,"keydown",x,!1),t.forEach((t,x)=>{i.add(t,"focus",t=>{(m(s)||s(u,t))&&function(t){if(new Date().getTime()-c>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let i=n.findIndex(e=>e.includes(t));d(i)&&(r.useDuration(0),a.index(i,0),l.emit("slideFocus"))}(x)},o)}))}}}(e,n,eP,eI,eT,eF,l,Z),eL={ownerDocument:a,ownerWindow:r,eventHandler:l,containerRect:et,slideRects:en,animation:ej,axis:ea,dragHandler:function(e,t,n,a,r,i,l,s,o,c,d,x,u,f,g,_,b,v){let{cross:N,direction:S}=e,k=["INPUT","SELECT","TEXTAREA"],C={passive:!1},A=w(),T=w(),O=j(50,225).constrain(f.measure(20)),I={mouse:300,touch:400},E={mouse:500,touch:600},F=g?43:25,M=!1,P=0,D=0,L=!1,R=!1,z=!1,B=!1;function H(e){if(!y(e,a)&&e.touches.length>=2)return G(e);let t=i.readPoint(e),n=i.readPoint(e,N),l=p(t-P),o=p(n-D);if(!R&&!B&&(!e.cancelable||!(R=l>o)))return G(e);let d=i.pointerMove(e);l>_&&(z=!0),c.useFriction(.3).useDuration(.75),s.start(),r.add(S(d)),e.preventDefault()}function G(e){var t;let n,a,r=d.byDistance(0,!1).index!==x.get(),l=i.pointerUp(e)*(g?E:I)[B?"mouse":"touch"],s=(t=S(l),n=x.add(-1*h(t)),a=d.byDistance(t,!g).distance,g||p(t)<O?a:b&&r?.5*a:d.byIndex(n.get(),0).distance),m=function(e,t){var n,a;if(0===e||0===t||p(e)<=p(t))return 0;let r=(n=p(e),a=p(t),p(n-a));return p(r/e)}(l,s);R=!1,L=!1,T.clear(),c.useDuration(F-10*m).useFriction(.68+m/50),o.distance(s,!g),B=!1,u.emit("pointerUp")}function U(e){z&&(e.stopPropagation(),e.preventDefault(),z=!1)}return{init:function(e){v&&A.add(t,"dragstart",e=>e.preventDefault(),C).add(t,"touchmove",()=>void 0,C).add(t,"touchend",()=>void 0).add(t,"touchstart",s).add(t,"mousedown",s).add(t,"touchcancel",G).add(t,"contextmenu",G).add(t,"click",U,!0);function s(s){(m(v)||v(e,s))&&function(e){let s,o=y(e,a);if((B=o,z=g&&o&&!e.buttons&&M,M=p(r.get()-l.get())>=2,!o||0===e.button)&&(s=e.target.nodeName||"",!k.includes(s))){let a;L=!0,i.pointerDown(e),c.useFriction(0).useDuration(0),r.set(l),a=B?n:t,T.add(a,"touchmove",H,C).add(a,"touchend",G).add(a,"mousemove",H,C).add(a,"mouseup",G),P=i.readPoint(e),D=i.readPoint(e,N),u.emit("pointerDown")}}(s)}},destroy:function(){A.clear(),T.clear()},pointerDown:function(){return L}}}(ea,e,a,r,eA,function(e,t){let n,a;function r(e){return e.timeStamp}function i(n,a){let r=a||e.scroll,i=`client${"x"===r?"X":"Y"}`;return(y(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,a=e,i(e)},pointerMove:function(e){let t=i(e)-i(a),l=r(e)-r(n)>170;return a=e,l&&(n=e),t},pointerUp:function(e){if(!n||!a)return 0;let t=i(a)-i(n),l=r(e)-r(n),s=r(e)-r(a)>170,o=t/l;return l&&!s&&p(o)>.1?o:0},readPoint:i}}(ea,r),eS,ej,eI,eT,eO,ev,l,ei,q,V,K,J),eventStore:eF,percentOfView:ei,index:ev,indexPrevious:ey,limit:eb,location:eS,offsetLocation:eC,previousLocation:ek,options:i,resizeHandler:function(e,t,n,a,r,i,l){let s,o,c=[e].concat(a),d=[],x=!1;function u(e){return r.measureSize(l.measure(e))}return{init:function(r){i&&(o=u(e),d=a.map(u),s=new ResizeObserver(n=>{(m(i)||i(r,n))&&function(n){for(let i of n){if(x)return;let n=i.target===e,l=a.indexOf(i.target),s=n?o:d[l];if(p(u(n?e:a[l])-s)>=.5){r.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
48{c.forEach(e=>s.observe(e))}))},destroy:function(){x=!0,s&&s.disconnect()}}}(t,l,r,n,ea,W,ee),scrollBody:eT,scrollBounds:function(e,t,n,a,r){let i=r.measure(10),l=r.measure(50),s=j(.1,.99),o=!1;function c(){return!o&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(r){if(!c())return;let o=e.reachedMin(t.get())?"min":"max",d=p(e[o]-t.get()),x=n.get()-t.get(),m=s.constrain(d/l);n.subtract(x*m),!r&&p(x)<i&&(n.set(e.constrain(n.get())),a.useDuration(25).useBaseFriction())},toggleActive:function(e){o=!e}}}(eb,eC,eA,eT,ei),scrollLooper:function(e,t,n,a){let{reachedMin:r,reachedMax:i}=j(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?i(n.get()):-1===t&&r(n.get())))return;let l=-1*t*e;a.forEach(e=>e.add(l))}}}(eh,eb,eC,[eS,eC,ek,eA]),scrollProgress:eE,scrollSnapList:e_.map(eE.get),scrollSnaps:e_,scrollTarget:eO,scrollTo:eI,slideLooper:function(e,t,n,a,r,i,l,s,o){let c=f(r),d=f(r).reverse(),x=p(u(d,l[0]),n,!1).concat(p(u(c,t-l[0]-1),-n,!0));function m(e,t){return e.reduce((e,t)=>e-r[t],t)}function u(e,t){return e.reduce((e,n)=>m(e,t)>0?e.concat([n]):e,[])}function p(r,l,c){let d=i.map((e,n)=>({start:e-a[n]+.5+l,end:e+t-.5+l}));return r.map(t=>{let a=c?0:-n,r=c?n:0,i=d[t][c?"end":"start"];return{index:t,loopPoint:i,slideLocation:N(-1),translate:S(e,o[t]),target:()=>s.get()>i?a:r}})}return{canLoop:function(){return x.every(({index:e})=>.1>=m(c.filter(t=>t!==e),t))},clear:function(){x.forEach(e=>e.translate.clear())},loop:function(){x.forEach(e=>{let{target:t,translate:n,slideLocation:a}=e,r=t();r!==a.get()&&(n.to(r),a.set(r))})},loopPoints:x}}(ea,er,eh,eo,ec,eu,e_,eC,n),slideFocus:eD,slidesHandler:(L=!1,{init:function(e){X&&(D=new MutationObserver(t=>{!L&&(m(X)||X(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),l.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){D&&D.disconnect(),L=!0}}),slidesInView:eM,slideIndexes:ew,slideRegistry:eP,slidesToScroll:em,target:eA,translate:S(ea,t)};return eL}(e,o,c,T,O,n,M);return n.loop&&!a.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):a}(U),L([G,...q.map(({options:e})=>e)]).forEach(e=>F.add(e,"change",$)),U.active&&(l.translate.to(l.location.get()),l.animation.init(),l.slidesInView.init(),l.slideFocus.init(W),l.eventHandler.init(W),l.resizeHandler.init(W),l.slidesHandler.init(W),l.options.loop&&l.slideLooper.loop(),o.offsetParent&&c.length&&l.dragHandler.init(W),s=E.init(W,q)))}function $(e,t){let n=Q();Y(),V(P({startIndex:n},e),t),M.emit("reInit")}function Y(){l.dragHandler.destroy(),l.eventStore.clear(),l.translate.clear(),l.slideLooper.clear(),l.resizeHandler.destroy(),l.slidesHandler.destroy(),l.slidesInView.destroy(),l.animation.destroy(),E.destroy(),F.clear()}function K(e,t,n){U.active&&!H&&(l.scrollBody.useBaseFriction().useDuration(!0===t?0:U.duration),l.scrollTo.index(e,n||0))}function Q(){return l.index.get()}let W={canScrollNext:function(){return l.index.add(1).get()!==Q()},canScrollPrev:function(){return l.index.add(-1).get()!==Q()},containerNode:function(){return o},internalEngine:function(){return l},destroy:function(){H||(H=!0,F.clear(),Y(),M.emit("destroy"),M.clear())},off:z,on:R,emit:B,plugins:function(){return s},previousScrollSnap:function(){return l.indexPrevious.get()},reInit:$,rootNode:function(){return e},scrollNext:function(e){K(l.index.add(1).get(),e,-1)},scrollPrev:function(e){K(l.index.add(-1).get(),e,1)},scrollProgress:function(){return l.scrollProgress.get(l.offsetLocation.get())},scrollSnapList:function(){return l.scrollSnapList}
48,scrollTo:K,selectedScrollSnap:Q,slideNodes:function(){return c},slidesInView:function(){return l.slidesInView.get()},slidesNotInView:function(){return l.slidesInView.get(!1)}};return V(t,n),setTimeout(()=>M.emit("init"),0),W}function A(e={},t=[]){let a=(0,n.useRef)(e),r=(0,n.useRef)(t),[i,l]=(0,n.useState)(),[s,d]=(0,n.useState)(),x=(0,n.useCallback)(()=>{i&&i.reInit(a.current,r.current)},[i]);return(0,n.useEffect)(()=>{o(a.current,e)||(a.current=e,x())},[e,x]),(0,n.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=c(e),a=c(t);return n.every((e,t)=>o(e,a[t]))}(r.current,t)&&(r.current=t,x())},[t,x]),(0,n.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&s){C.globalOptions=A.globalOptions;let e=C(s,a.current,r.current);return l(e),()=>e.destroy()}l(void 0)},[s,l]),[d,i]}C.globalOptions=void 0,A.globalOptions=void 0;var T=e.i(657688),O=e.i(522016),I=e.i(496708);e.i(450627);var E=e.i(18887);e.i(26623);var F=e.i(321239);let M=(0,E.cn)("embla w-full mx-auto [--slide-spacing:1rem] [--slide-size:100%]","max-md-inclusive:[--slide-spacing:0.75rem]"),P=(0,E.cn)("hero-slide__content absolute inset-0 flex flex-col justify-center gap-1 p-3 text-(--t-text-text-0)","min-[419px]:p-4 mobile:gap-3 mobile:p-6","legacy-2xl:gap-4 legacy-2xl:p-10 3xl:gap-6"),D=(0,E.cn)("hero-slide__title m-0 w-[58.5%] text-[0.875rem] leading-[1.5] font-bold","min-[419px]:text-[1rem] mobile:text-[1.5rem]","legacy-2xl:w-[59.5%] legacy-2xl:text-[2rem] 3xl:w-[58.5%] 3xl:text-[2.5rem]"),L=(0,E.cn)("hero-slide__subtitle m-0 w-[58%] text-[0.625rem] leading-[1.5] font-medium text-(--t-text-text-0)","min-[419px]:text-[0.75rem] mobile:text-[1.125rem]","legacy-2xl:w-[59.5%] legacy-2xl:text-[1.25rem] 3xl:w-[58.5%] 3xl:text-[1.5rem]"),R=(0,E.cn)("hero-slide__button hidden h-6 min-h-6 w-[6.25rem] flex-none self-start rounded-[0.25rem] px-2 py-0 text-[0.625rem] leading-[1.5] font-semibold","min-[419px]:flex mobile:h-8 mobile:min-h-8 mobile:w-[7.5rem] mobile:text-[0.875rem]","legacy-2xl:h-12 legacy-2xl:min-h-12 legacy-2xl:w-[13.0625rem] legacy-2xl:rounded-[0.5rem] legacy-2xl:text-[1.25rem]","3xl:h-14 3xl:min-h-14 3xl:w-[11.25rem] 3xl:rounded-[0.625rem] 3xl:text-[1.5rem]"),z=(0,E.cn)("embla__dot relative flex h-1.5 w-1.5 items-center justify-center rounded-full mobile:h-4 mobile:w-4","cursor-pointer border-0 p-0 m-0 bg-transparent no-underline touch-manipulation","appearance-none [-webkit-appearance:none]","[-webkit-tap-highlight-color:rgba(var(--text-high-contrast-rgb-value),0.5)]","animate-[motion-fade-from-transparent_400ms_ease-out] motion-reduce:animate-none","before:content-[''] before:h-full before:w-full before:rounded-full before:bg-(--t-text-text-4)","after:content-[''] after:absolute after:top-1/2 after:left-1/2 after:-translate-x-1/2 after:-translate-y-1/2","after:h-6 after:w-6 after:rounded-full"),B=e=>{let{slides:i,options:s,onBannerButtonClick:o}=e,c=(0,a.useTranslations)("home"),d=i.length<=1,x=(0,n.useMemo)(()=>d?{...s,loop:!1,watchDrag:!1}:s??{},[s,d]),m=(0,F.useIsHydrated)(),[u,p]=A(x,(0,n.useMemo)(()=>m&&!d?[l({delay:15e3})]:[],[m,d])),{selectedIndex:h,scrollSnaps:f,onDotButtonClick:g}=((e,t)=>
48{let[a,r]=(0,n.useState)(0),[i,l]=(0,n.useState)([]),s=(0,n.useCallback)(n=>{e&&(e.scrollTo(n),t&&t(e))},[e,t]),o=(0,n.useCallback)(e=>{l(e.scrollSnapList())},[]),c=(0,n.useCallback)(e=>{r(e.selectedScrollSnap())},[]);return(0,n.useEffect)(()=>{e&&(o(e),c(e),e.on("reInit",o).on("reInit",c).on("select",c))},[e,o,c]),{selectedIndex:a,scrollSnaps:i,onDotButtonClick:s}})(p,(0,n.useCallback)(e=>{let t=e?.plugins()?.autoplay;t&&(!1===t.options.stopOnInteraction?t.reset:t.stop)()},[]));return(0,t.jsx)("section",{className:M,"data-slot":"hero-carousel",children:(0,t.jsxs)("div",{className:"embla__viewport relative overflow-hidden","data-slot":"hero-carousel-viewport",ref:u,children:[(0,t.jsx)("div",{className:"embla__container flex [touch-action:pan-y_pinch-zoom] ml-[calc(var(--slide-spacing)_*_-1)]",children:i.map((e,n)=>(0,t.jsx)(O.default,{className:"embla__slide [transform:translate3d(0,0,0)] flex-[0_0_var(--slide-size)] min-w-0 pl-[var(--slide-spacing)]","data-btn":"","data-slot":"hero-slide-link",href:e.buttonLink||"#",target:e.isExternal?"_blank":void 0,rel:e.isExternal?"noopener noreferrer":void 0,onClick:t=>{!e.buttonLink||o&&(t.preventDefault(),o(e))},children:(0,t.jsxs)("div",{className:"hero-slide relative aspect-[1100/376] overflow-hidden rounded-2xl bg-[var(--t-stand-info-010)] legacy-2xl:rounded-3xl","data-slot":"hero-slide",children:[(0,t.jsx)(T.default,{src:e.image,width:1930,height:695,sizes:"(max-width: 1280px) 100vw, 66vw",alt:e.titleText||"hero-banner",className:"hero-slide__image w-full h-full object-cover block","data-slot":"hero-slide-image",...e.blurDataURL?{placeholder:"blur",blurDataURL:e.blurDataURL}:{},...0===n?{priority:!0}:{loading:"lazy"}}),(0,t.jsx)(I.HeroBannerVisual,{titleHtml:e.title,subtitleHtml:e.subtitle,buttonText:e.buttonText,showButton:!!(e.showButton&&e.buttonLink),content:{className:P},title:{className:D},subtitle:{className:L},cta:{variant:"yellow",className:R}})]})},e.id))}),i.length>1&&(0,t.jsx)("div",{className:"embla__controls absolute bottom-1 left-1/2 -translate-x-1/2 legacy-2xl:bottom-3","data-slot":"hero-carousel-controls",children:(0,t.jsx)("div",{className:"embla__dots flex items-center justify-center gap-2 mobile:gap-4","data-slot":"hero-carousel-dots",children:f.map((e,n)=>(0,t.jsx)(r,{onClick:()=>g(n),"aria-label":c("goToSlide",{number:n+1}),"aria-current":n===h?"true":void 0,"data-slot":"hero-carousel-dot",className:(0,E.cn)(z,n===h?"embla__dot--selected opacity-100 after:shadow-[inset_0_0_0_0.2rem_var(--text-body)]":"opacity-50 after:shadow-[inset_0_0_0_0.2rem_var(--detail-medium-contrast)]")},n))})})]})})};var H=e.i(556624),G=e.i(618566);e.i(46240);var U=e.i(365884);e.i(654893);var q=e.i(492055);e.i(233475);var V=e.i(331505),$=e.i(995129);e.i(629588);var Y=e.i(445874);function K({banners:e}){let n=(0,G.useRouter)(),a=(0,U.useProfile)(),[,r]=(0,H.useCookies)(["promoCodeValue","promo","redirect"]),i=e=>(0,t.jsx)($.SmallBannerVisual,{artwork:(0,t.jsx)(T.default,{src:e.image,alt:"","aria-hidden":"true",loading:"eager",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 30vw",className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit] object-cover object-center"}),titleHtml:e.title,subtitleHtml:e.subtitle,buttonTextHtml:e.buttonText,showButton:e.showButton,cta:{variant:"yellow",className:"bonus-button hidden h-6 min-h-6 w-[6.25rem] flex-none items-center justify-center rounded-[0.25rem] px-2 py-0 min-[419px]:inline-flex min-[993px]:hidden legacy-2xl:inline-flex 3xl:h-8 3xl:min-h-8 3xl:w-[7.5rem]"},ctaLabel:{className:"bonus-button__label block max-w-full truncate text-[0.625rem] leading-[1.5] font-semibold 3xl:text-[0.875rem]"},ctaIcon:{className:"bonus-button__icon hidden",content:(0,t.jsx)(Y.ClickIcon,{color:"currentColor"})}});return(0,t.jsx)(t.Fragment,{children:e.map(e=>"PROMO"===e.actionType?(0,t.jsx)("button",{type:"button","data-btn":"","data-slot":"hero-secondary-card",className:(0,E.cn)("hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain","hero-button-item--button appearance-none border-0 text-left text-inherit [-webkit-appearance:none] [background:none] [font:inherit]","cursor-pointer text-(--t-text-text-0) no-underline"),onClick:()=>(e=>{if(!e.promoCode||!e.redirectPath)return;let t=e.promoTimeoutMinutes??30,i=new Date(Date.now()+60*t*1e3);for(let t of["promoCodeValue","promo"])r(t,e.promoCode,{expires:i,path:"/"}),r(t,e.promoCode,{expires:i,path:e.redirectPath});a?n.push(`${e.redirectPath}?promoCode=${encodeURIComponent(e.promoCode)}&promoCodeTimeOut=${t}`):(r("redirect",e.redirectPath,{expires:new Date(Date.now()+3e5),path:"/"}),(0,V.openSignInModal)())})(e),children:i(e)},e.id):e.buttonLink?e.openInNewTab||/^https?:\/\//i.test(e.buttonLink)?(0,t.jsx)("a",{"data-btn":"","data-slot":"hero-secondary-card",className:(0,E.cn)("hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain","cursor-pointer text-(--t-text-text-0) no-underline"),href:e.buttonLink,target:e.openInNewTab?"_blank":void 0,rel:e.openInNewTab?"noopener noreferrer":void 0,children:i(e)},e.id):(0,t.jsx)(O.default,{"data-btn":"","data-slot":"hero-secondary-card",className:(0,E.cn)("hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain","cursor-pointer text-(--t-text-text-0) no-underline"),href:e.buttonLink,children:i(e)},e.id):(0,t.jsx)("div",{"data-slot":"hero-secondary-card",className:(0,E.cn)("hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain","cursor-pointer text-(--t-text-text-0) no-underline"),children:i(e)},e.id))})}var Q=e.i(861745),W=e.i(678510);e.i(483527);var X=e.i(678616),J=e.i(30664),Z=e.i(573338);let ee={b:["style"],br:[],em:["style"],i:["style"],p:[],span:["style"],strong:["style"],u:["style"]},et=/^#[0-9a-f]{3,8}$/i,en=/^(?:black|white|transparent|currentcolor)$/i,ea=/^-?(?:\d+|\d*\.\d+)$/,er=/^-?(?:\d+|\d*\.\d+)%$/,ei=/^-?(?:\d+|\d*\.\d+)(?:px)?$/i;function el(e,t,n){let a=Number.parseFloat(e);return Number.isFinite(a)&&a>=t&&a<=n}function es(e){let t=e.trim();return et.test(t)||en.test(t)||function(e){let t=e.match(/^rgba?\((.*)\)$/i);if(!t)return!1;let n=t[1].split(",").map(e=>e.trim()),a=/^rgba/i.test(e);
48if(n.length!==(a?4:3)||!n.slice(0,3).every(e=>er.test(e)?el(e,0,100):ea.test(e)&&el(e,0,255)))return!1;if(!a)return!0;let r=n[3];return er.test(r)?el(r,0,100):ea.test(r)&&el(r,0,1)}(t)}function eo(e,t){let n=[],a=0,r="";for(let i of e){if("("===i&&(a+=1),")"===i&&(a-=1),a<0)return[];if(0===a&&(","===t?","===i:/\s/.test(i))){r.trim()&&n.push(r.trim()),r="";continue}r+=i}return 0!==a?[]:(r.trim()&&n.push(r.trim()),n)}function ec(e,t){if(!ei.test(e))return!1;let n=Number.parseFloat(e);return!!Number.isFinite(n)&&(2===t?n>=0&&n<=128:n>=-128&&n<=128)}function ed(e){if(!e||/(?:url|expression|var)\s*\(/i.test(e))return!1;let t=eo(e,",");return!(t.length<1)&&!(t.length>3)&&t.every(e=>{let t=eo(e," ");if(1!==t.filter(es).length)return!1;let n=t.filter(e=>!es(e));return(2===n.length||3===n.length)&&n.every(ec)})}let ex=/^\s*(<p>\s*(<br\s*\/?>)?\s*<\/p>\s*)+$/i,em={"&":"&","<":"<",">":">",""":'"',"'":"'"};function eu(e){var t;if("string"!=typeof e||0===e.length)return"";let n="string"!=typeof(t=e.replace(/&(?:amp|lt|gt|quot|#39);/g,e=>em[e]))||0===t.length?"":(0,Z.filterXSS)(t,{allowList:ee,stripIgnoreTag:!0,stripIgnoreTagBody:["embed","iframe","object","script","style"],css:{whiteList:{color:es,"background-color":es,"text-shadow":ed}}}).replace(/<[a-z][^<>]*>/gi,e=>e.replace(/\sstyle(?:=(?:""|''))?(?=[\s>])/gi,"")).replace(/(?: |\u00a0)/gi," ");return ex.test(n)?"":n.replace(/<p>\s*(<br\s*\/?>)?\s*<\/p>/gi,"").replace(/<\/p>\s*<p(?:\s[^>]*)?>/gi,"<br>").replace(/<\/?p(?:\s[^>]*)?>/gi,"").trim().replace(/^(?:<br\s*\/?>\s*)+/i,"").replace(/(?:\s*<br\s*\/?>)+$/i,"").trim()}function ep(e){return e&&"string"==typeof e?(0,J.unescape)(e).replace(/ /gi," ").replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim():""}function eh(e,t){let n=e?.getHeroBanners??[],a=e=>e&&"object"==typeof e?e?.[t]??e?.en??e?.ru??Object.values(e)[0]??"":"";return n.map(e=>{let t=a(e.buttonText),n="string"==typeof e.buttonLink?e.buttonLink.trim():void 0,r=n&&(n.startsWith("/")||/^https?:\/\//i.test(n))?n:void 0,i=!!e.showButton&&!!t&&!!r,l=a(e.title);return{id:e.id,image:e.image,title:eu(l),titleText:ep(l),subtitle:eu(a(e.subtitle)),showButton:i,buttonText:t,buttonLink:r,isExternal:!!r&&r.startsWith("http")}}).filter(e=>!!e.image)}e.s(["mapHeroBannersToSlides",0,eh],593857);let ef=e=>e.startsWith("/")&&!e.startsWith("//")&&!e.startsWith("/\\");function eg(e,t){let n=e=>e&&"object"==typeof e?e[t]??e.en??e.ru??Object.values(e)[0]??"":"";return(e?.getSmallBanners??[]).map(e=>{let t="string"==typeof e.buttonLink?e.buttonLink.trim():"",a=ef(t)||/^https?:\/\//i.test(t)?t:void 0,r=n(e.title),i="PROMO"===e.actionType?"PROMO":"LINK",l="string"==typeof e.redirectPath&&ef(e.redirectPath)?e.redirectPath:void 0;return{id:e.id,name:e.name,image:e.image,title:eu(r),titleText:ep(r),subtitle:eu(n(e.subtitle)),buttonText:eu(n(e.buttonText)),position:Number(e.position),showButton:!!e.showButton,actionType:i,buttonLink:a,openInNewTab:!!e.openInNewTab,promoCode:"string"==typeof e.promoCode?e.promoCode:void 0,redirectPath:l,promoTimeoutMinutes:Number.isInteger(e.promoTimeoutMinutes)?e.promoTimeoutMinutes:void 0}}).filter(e=>!!e.image).sort((e,t)=>e.position===t.position?e.id-t.id:e.position-t.position)}e.s(["mapSmallBanners",0,eg],385672),e.i(885964);var e_=e.i(566392),eb=e.i(382865),ev=e.i(357881);(0,E.cn)("hero-container mt-1 mb-3 grid grid-cols-1 gap-2 max-[419px]:mx-[-0.25rem]","mobile:mx-1 mobile:mt-2 mobile:mb-5 mobile:grid-cols-2 mobile:gap-3","min-[993px]:mx-[-0.25rem] min-[993px]:grid-cols-[minmax(0,calc(67.3077%_+_1.4808rem))_minmax(0,1fr)]","3xl:mx-0 3xl:mb-10 3xl:gap-4"),(0,E.cn)("hero-slider col-start-1 flex w-full [&>*]:flex-1","mobile:col-span-2 min-[993px]:col-span-1"),(0,E.cn)("hero-buttons flex min-w-0 flex-col gap-2","mobile:col-span-2 mobile:grid mobile:aspect-[728/134] mobile:grid-cols-2 mobile:gap-3","min-[993px]:col-span-1 min-[993px]:flex min-[993px]:aspect-auto min-[993px]:min-h-0 min-[993px]:flex-col min-[993px]:[contain:size]","3xl:gap-4"),(0,E.cn)("hero-button-item relative isolate flex aspect-[1100/376] w-full min-h-0 flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3","[transition:filter_0.3s_ease] [filter:saturate(1)] hover:[filter:brightness(1.1)]","[&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold","[&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium","[&_svg]:absolute [&_svg]:right-[5%] [&_svg]:top-1/2 [&_svg]:[transform:translateY(-50%)]","[&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:left-auto","[&_svg]:object-contain [&_svg]:z-[-1]","min-[419px]:p-4 min-[419px]:[&_h3]:text-[1rem] min-[419px]:[&_p]:text-[0.75rem]","mobile:h-full mobile:aspect-auto mobile:p-4 mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem]","min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1","legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem]","3xl:gap-3 3xl:p-6 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem]"),(0,E.cn)("hero-slider__fallback as
48pect-[1100/376] self-start rounded-2xl bg-[var(--t-bg-bg)] legacy-2xl:rounded-3xl","bg-[image:linear-gradient(120deg,var(--t-colors-white-a8),var(--t-colors-white-a2),var(--t-colors-white-a8))]","bg-[length:200%_200%]","animate-[motion-shimmer-left-to-right_var(--skeleton-shimmer-duration)_ease_infinite] motion-reduce:animate-none"),(0,E.cn)("bonus-button hidden h-6 min-h-6 w-[6.25rem] flex-none items-center justify-center rounded-[0.25rem] px-2 py-0","min-[419px]:inline-flex min-[993px]:hidden legacy-2xl:inline-flex","3xl:h-8 3xl:min-h-8 3xl:w-[7.5rem]");let ey={align:"start",loop:!0},ew="/pay";e.s(["default",0,function({initialSlides:e,initialSmallBanners:n=[]}){let r=(0,a.useTranslations)("home"),i=(0,a.useTranslations)("common"),[,l]=(0,H.useCookies)(["promoCodeValue","promo","redirect"]),s=(0,q.useConfig)(),o=(0,U.useProfile)(),c=(0,G.useRouter)(),{slides:d}=function(e){let t=(0,Q.useLocale)(),n=!!e?.length,a=(0,X.useMountedAfterHydration)(),{data:r}=(0,W.useHeroBanners)(!n&&a);return n?{slides:e}:{slides:r?eh(r,t):[]}}(e),{banners:x}=function(e){let t=(0,Q.useLocale)(),n=!!e?.length,a=(0,X.useMountedAfterHydration)(),{data:r}=(0,W.useSmallBanners)(!n&&a);return n?{banners:e}:{banners:r?eg(r,t):[]}}(n),m=e=>{let t=new Date(Date.now()+18e5);(l("promoCodeValue",e,{expires:t,path:"/"}),l("promoCodeValue",e,{expires:t,path:"/pay"}),l("promo",e,{expires:t,path:"/"}),l("promo",e,{expires:t,path:"/pay"}),o)?c.push(`${ew}?promoCode=${encodeURIComponent(e)}&promoCodeTimeOut=30`):(l("redirect",ew,{expires:new Date(Date.now()+3e5),path:"/"}),(0,V.openSignInModal)())},u=!!s?.isSkala,p=u?"hero-highlight font-bold text-(--t-text-text-0) [text-shadow:0_0_6px_var(--t-colors-white-a85),0_0_12px_var(--t-colors-white-a50),0_0_18px_var(--t-colors-white-a25)]":"hero-highlight font-bold text-(--t-text-text)",h=u?"SKALA7":"BONUS7",f=d.length>0;return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:(0,E.cn)("hero-container mt-1 mb-3 grid grid-cols-1 gap-2 max-[419px]:mx-[-0.25rem] mobile:mx-1 mobile:mt-2 mobile:mb-5 mobile:grid-cols-2 mobile:gap-3 min-[993px]:mx-[-0.25rem] min-[993px]:grid-cols-[minmax(0,calc(67.3077%_+_1.4808rem))_minmax(0,1fr)] 3xl:mx-0 3xl:mb-10 3xl:gap-4",u?"hero-container--skala":""),"data-slot":"hero-layout",children:[(0,t.jsx)("div",{className:"hero-slider col-start-1 flex w-full mobile:col-span-2 min-[993px]:col-span-1 [&>*]:flex-1","data-slot":"hero-primary",children:f?(0,t.jsx)(B,{slides:d,options:ey,onBannerButtonClick:e=>{let t=e.buttonLink;if(t){if(t===ew)return void m(h);e.isExternal?window.open(t,"_blank","noopener,noreferrer"):c.push(t)}}}):(0,t.jsx)("div",{className:(0,E.cn)("hero-slider__fallback aspect-[1100/376] self-start rounded-2xl bg-[var(--t-bg-bg)] legacy-2xl:rounded-3xl","bg-[image:linear-gradient(120deg,var(--t-colors-white-a8),var(--t-colors-white-a2),var(--t-colors-white-a8))] bg-[length:200%_200%]","animate-[motion-shimmer-left-to-right_var(--skeleton-shimmer-duration)_ease_infinite] motion-reduce:animate-none"),"aria-busy":"false","data-slot":"hero-slider-fallback"})}),(0,t.jsx)("div",{className:"hero-buttons flex min-w-0 flex-col gap-2 mobile:col-span-2 mobile:grid mobile:aspect-[728/134] mobile:grid-cols-2 mobile:gap-3 min-[993px]:col-span-1 min-[993px]:flex min-[993px]:aspect-auto min-[993px]:min-h-0 min-[993px]:flex-col min-[993px]:[contain:size] 3xl:gap-4","data-slot":"hero-secondary",children:x.length>0?(0,t.jsx)(K,{banners:x}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{type:"button","data-slot":"hero-secondary-card",className:(0,E.cn)("hero-button-item--button appearance-none border-0 text-left text-inherit [-webkit-appearance:none] [background:none] [font:inherit]","hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain","hero-promo cursor-pointer [background:linear-gradient(90deg,var(--t-stand-brand-168)_0%,var(--t-stand-brand-131)_100%)]"),onClick:()=>{m(h)},children:[(0,t.jsx)(T.default,{src:"/images/small-banners/hero-promo.png",alt:"","aria-hidden":"true",loading:"eager",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 30vw",className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit] object-cover object-center"}),(0,t.jsxs)(eb.AutoExpandHeading,{children:[r("heroPromo.h1.prefix")," ",(0,t.jsx)("span",{className:p,children:r("heroPromo.h1.highlight")})," ",r("heroPromo.h1.suffix")]}),(0,t.jsxs)("p",{children:[(0,t.jsx)("span",{className:p,children:r("heroPromo.h2.highlight")})," ",r("heroPromo.h2.rest")]}),(0,t.jsxs)(e_.ButtonVisual,{variant:"yellow","data-slot":"hero-secondary-cta",className:"bonus-button hidden h-6 min-h-6 w-[6.25rem] flex-none items-center justify-center rounded-[0.25rem] px-2 py-0 min-[419px]:inline-flex min-[993px]:hidden legacy-2xl:inline-flex 3xl:h-8 3xl:min-h-8 3xl:w-[7.5rem]","aria-hidden":"true",children:[(0,t.jsx)(ev.AutoFitText,{"data-slot":"hero-secondary-cta-label",className:"bonus-button__label block max-w-full truncate text-[0.625rem] leading-[1.5] font-semibold 3xl:text-[0.875rem]",children:r("heroPromo.button")}),(0,t.jsx)("span",{className:"bonus-button__icon hidden","aria-hidden":"true",children:(0,t.jsx)(Y.ClickIcon,{color:"currentColor"})})]})]}),s?.isSkala?(0,t.jsxs)("a",{className:(0,E.cn)("hero-bonus-fb text-(--t-text-text-0) no-underline [background:linear-gradient(270deg,var(--t-stand-info-052),var(--t-stand-info-031))]","hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain"),"data-btn":"","data-slot":"hero-secondary-card",href:"https://www.facebook.com/profile.php?id=61587196401748",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)(T.default,{src:"/images/small-banners/hero-socials.png",alt:"","aria-hidden":"true",loading:"eager",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 30vw",className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit] object-cover object-center"}),(0,t.jsx)(eb.AutoExpandHeading,{children:r("Follow up and get free skins")}),(0,t.jsx)("p",{children:r("Join our giveaways and raffles")}),(0,t.jsxs)(e_.ButtonVisual,{variant:"yellow","data-slot":"hero-secondary-cta",className:"bonus-button hidden h-6 min-h-6 w-[6.25rem] flex-none items-center justify-center rounded-[0.25rem] px-2 py-0 min-[419px]:inline-flex min-[993px]:hidden legacy-2xl:inline-flex 3xl:h-8 3xl:min-h-8 3xl:w-[7.5rem]","aria-hidden":"true",children:[(0,t.jsx)(ev.AutoFitText,{"data-slot":"hero-secondary-cta-label",className:"bonus-button__label block max-w-full truncate text-[0.625rem] leading-[1.5] font-semibold 3xl:text-[0.875rem]",children:i("Get bonus")}),(0,t.jsx)("span",{className:"bonus-button__icon hidden","aria-hidden":"true",children:(0,t.jsx)(Y.ClickIcon,{color:"currentColor"})})]})]}):s?.isEU?(0,t.jsxs)(O.default,{className:(0,E.cn)("hero-bonus text-(--t-text-text-0) no-underline [background:linear-gradient(to_right,var(--t-brand-band),var(--t-stand-info-016))]","hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain"),"data-btn":"","data-slot":"hero-secondary-card",href:"/bonus",children:[(0,t.jsx)(T.default,{src:"/images/small-banners/hero-bonus.png",alt:"","aria-hidden":"true",loading:"eager",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 30vw",className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit] object-cover object-center"}),(0,t.jsx)(eb.AutoExpandHeading,{children:r("Bonuses are waiting for you!")}),(0,t.jsx)("p",{children:r("Gifts are updated regularly")}),(0,t.jsxs)(e_.ButtonVisual,{variant:"yellow","data-slot":"hero-secondary-cta",className:"bonus-button hidden h-6 min-h-6 w-[6.25rem] flex-none items-center justify-center rounded-[0.25rem] px-2 py-0 min-[419px]:inline-flex min-[993px]:hidden legacy-2xl:inline-flex 3xl:h-8 3xl:min-h-8 3xl:w-[7.5rem]","aria-hidden":"true",children:[(0,t.jsx)(ev.AutoFitText,{"data-slot":"hero-secondary-cta-label",className:"bonus-button__label block max-w-full truncate text-[0.625rem] leading-[1.5] font-semibold 3xl:text-[0.875rem]",children:i("Get bonus")}),(0,t.jsx)("span",{className:"bonus-button__icon hidden","aria-hidden":"true",children:(0,t.jsx)(Y.ClickIcon,{color:"currentColor"})})]})]}):(0,t.jsxs)(O.default,{className:(0,E.cn)("hero-bonus-tg text-(--t-text-text-0) no-underline [background:linear-gradient(270deg,var(--t-stand-info-033),var(--t-stand-info-060))]","hero-button-item relative isolate flex aspect-[1100/376] min-h-0 w-full flex-col justify-center gap-1 overflow-hidden rounded-2xl p-3 [filter:saturate(1)] [transition:filter_0.3s_ease] hover:[filter:brightness(1.1)] min-[419px]:p-4 mobile:aspect-auto mobile:h-full mobile:p-4 min-[993px]:h-auto min-[993px]:min-h-0 min-[993px]:flex-1 legacy-2xl:gap-2 legacy-2xl:rounded-3xl legacy-2xl:p-5 3xl:gap-3 3xl:p-6 [&_h3]:m-0 [&_h3]:max-h-[3em] [&_h3]:w-[58%] [&_h3]:shrink-0 [&_h3]:overflow-hidden [&_h3]:text-[0.875rem] [&_h3]:leading-[1.5] [&_h3]:font-bold min-[419px]:[&_h3]:text-[1rem] mobile:[&_h3]:w-[54.5%] mobile:[&_h3]:text-[0.875rem] legacy-2xl:[&_h3]:w-[55%] legacy-2xl:[&_h3]:text-[1rem] 3xl:[&_h3]:w-[56.25%] 3xl:[&_h3]:text-[1.125rem] [&_p]:m-0 [&_p]:w-[58%] [&_p]:shrink-0 [&_p]:text-[0.625rem] [&_p]:leading-[1.5] [&_p]:font-medium min-[419px]:[&_p]:text-[0.75rem] mobile:[&_p]:w-[54.5%] mobile:[&_p]:text-[0.625rem] legacy-2xl:[&_p]:w-[55%] legacy-2xl:[&_p]:text-[0.75rem] 3xl:[&_p]:w-[56.25%] 3xl:[&_p]:text-[0.875rem] [&_svg]:absolute [&_svg]:top-1/2 [&_svg]:right-[5%] [&_svg]:left-auto [&_svg]:z-[-1] [&_svg]:h-auto [&_svg]:max-h-[92%] [&_svg]:w-auto [&_svg]:max-w-[52%] [&_svg]:[transform:translateY(-50%)] [&_svg]:object-contain"),"data-btn":"","data-slot":"hero-secondary-card",href:"https://t.me/cscase_top",children:[(0,t.jsx)(T.default,{src:"/images/small-banners/tg
48-coin.png",alt:"","aria-hidden":"true",loading:"eager",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 30vw",className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit] object-cover object-center"}),(0,t.jsx)(eb.AutoExpandHeading,{children:r("heroTg.title")}),(0,t.jsxs)("p",{children:[r("heroTg.subtitle1")," ",r("heroTg.subtitle2")]}),(0,t.jsxs)(e_.ButtonVisual,{variant:"yellow","data-slot":"hero-secondary-cta",className:"bonus-button hidden h-6 min-h-6 w-[6.25rem] flex-none items-center justify-center rounded-[0.25rem] px-2 py-0 min-[419px]:inline-flex min-[993px]:hidden legacy-2xl:inline-flex 3xl:h-8 3xl:min-h-8 3xl:w-[7.5rem]","aria-hidden":"true",children:[(0,t.jsx)(ev.AutoFitText,{"data-slot":"hero-secondary-cta-label",className:"bonus-button__label block max-w-full truncate text-[0.625rem] leading-[1.5] font-semibold 3xl:text-[0.875rem]",children:r("heroTg.button")}),(0,t.jsx)("span",{className:"bonus-button__icon hidden","aria-hidden":"true",children:(0,t.jsx)(Y.ClickIcon,{color:"currentColor"})})]})]})]})})]})})}],934414)},335679,e=>{"use strict";var t=e.i(843476);e.i(745309);var n=e.i(648355);e.i(317808);var a=e.i(531996);e.s(["default",0,function({isRecomended:e,initialData:r}){let{filters:i,searchQuery:l}=(0,a.useHomeFilters)();return l?null:(0,t.jsx)(n.ServerDataCategoriesView,{initialData:r,filters:i,isRecomended:e})}])},686161,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(861745),r=e.i(948148);e.i(317808);var i=e.i(272095);e.i(847170);var l=e.i(830670);e.i(268698);var s=e.i(812629),o=e.i(487471),c=e.i(752357);e.i(26623);var d=e.i(556427),x=e.i(979337),m=e.i(5860);e.i(745309);var u=e.i(273287),p=e.i(806405);e.i(46240);var h=e.i(365884),f=e.i(531996);e.s(["default",0,function({initialCategories:e}){let g=(0,a.useLocale)(),_=(0,r.useTranslations)("home"),b=(0,h.useProfile)(),{filters:v,updateFilters:y,searchQuery:w,searchDraft:j,setSearchDraft:N,submitSearch:S}=(0,f.useHomeFilters)(),[k,{called:C,data:A}]=(0,c.useLazyFilterCategories)(),T=(0,n.useMemo)(()=>(0,d.normalizeArray)(e?.getCategories?.getCategories),[e]);(0,n.useEffect)(()=>{T.length||C||k({variables:(0,s.buildGetCategoriesForFiltersVariables)()})},[C,T.length,k]);let O=T.length?e?.getCategories:A?.getCategories,I=`${b?.id??"guest"}:${b?.group??"guest"}`,{categories:E,maxCasePrice:F}=(0,o.useAudienceFilterCategories)(O,I),M=(0,n.useMemo)(()=>{let e=(0,i.buildCategoryOptions)((0,d.normalizeArray)(E),g);return[{value:"All",label:_("All")},...e]},[E,g,_]),P=F/100,D=(0,l.useCatalogFilters)({categoryOptions:M,categoryOptionsReady:T.length>0||void 0!==A,initialFilters:v,onFilterChange:y}),{mode:L,barRef:R}=(0,m.useFiltersFitMode)(D.filters);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{id:x.CASES_FILTERS_ANCHOR_ID,"aria-hidden":"true",style:{scrollMarginTop:90}}),(0,t.jsx)(p.HomeFiltersMob,{model:D,categoryOptions:M,searchQuery:w,searchDraft:j,onSearchDraftChange:N,onSearch:S,maxCasePrice:P,fitMode:L}),(0,t.jsx)(u.HomeFilters,{model:D,isProfileFilter:!1,categoryOptions:M,onResetSearch:()=>N(""),maxCasePrice:P,fitMode:L,fitRef:R})]})}])},769368,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(948148);e.i(637137);var r=e.i(861199);e.i(46240);var i=e.i(365884);e.i(26623);var l=e.i(400943);e.i(745309);var s=e.i(289302),o=e.i(368906);e.i(327562);var c=e.i(37602);e.i(317808);var d=e.i(272095),x=e.i(531996);e.i(652800);var m=e.i(982417);e.i(450627);var u=e.i(18887);let p=" flex flex-col gap-6 max-md:gap-4",h="m-0 text-center text-[var(--t-4-states-color-main-default-text-2,var(--t-stand-neutral-049))]";function f({title:e,cases:a,collapsible:r=!0}
48){let[i,l]=(0,n.useState)(!1);return(0,t.jsxs)("article",{className:"relative flex flex-col gap-6 max-md-inclusive:gap-4",children:[e&&r?(0,t.jsxs)("button",{type:"button",className:"inline-flex cursor-pointer items-center justify-center gap-2.5 self-center border-none bg-transparent p-0 text-center text-2xl leading-none font-bold text-inherit uppercase max-md-inclusive:text-xl max-md-inclusive:leading-[1.2]",onClick:()=>l(e=>!e),"aria-expanded":!i,children:[(0,t.jsx)("span",{children:e}),(0,t.jsx)("span",{className:(0,u.cn)("h-2.5 w-2.5 flex-none border-r-2 border-b-2 border-current text-[var(--t-4-states-color-main-default-text-2,var(--t-stand-neutral-049))] transition-transform duration-150 motion-ease-standard",i?"rotate-45":"rotate-[-135deg]")})]}):e?(0,t.jsx)("h2",{className:"text-center text-2xl leading-none font-bold uppercase max-md-inclusive:text-xl max-md-inclusive:leading-[1.2]",children:e}):null,(0,t.jsx)(o.CaseListGrid,{hidden:i,"aria-hidden":i,children:a.map(e=>(0,t.jsx)(s.CatalogCaseCard,{getCase:e},e.id))})]})}e.s(["default",0,function(){let e=(0,a.useTranslations)("home"),{filters:s,searchQuery:u}=(0,x.useHomeFilters)(),g=(0,i.useProfile)(),_=(0,m.useCaseFavorites)(),b=(0,l.useIsMobile)(),{data:v,loading:y,error:w}=(0,r.useHomeSearch)({variables:{input:{value:u}},skip:!u,errorPolicy:"all"}),j="number"==typeof g?.money?g.money:null,N=v?.getHomeSearch,S=(0,n.useMemo)(()=>new Set((_?.favoriteCases??[]).map(({id:e})=>e)),[_?.favoriteCases]),k=(0,n.useMemo)(()=>(0,d.buildFilteredSearchGroups)(N?.byName??[],N?.byItems??[],s,j,S),[S,s,j,N?.byItems,N?.byName]),C=N?.popular??[];if(!u)return null;if(y&&!v)return(0,t.jsx)("section",{className:p,children:(0,t.jsx)(o.CaseListGrid,{children:Array(b?2:5).fill(0).map((e,n)=>(0,t.jsx)(c.CaseCardSkeleton,{},n))})});if(w&&!v)return(0,t.jsx)("section",{className:p,children:(0,t.jsx)("p",{className:h,children:e("internal_error")})});let A=0===k.byName.length&&0===k.byItems.length;return(0,t.jsx)("section",{className:p,children:A?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:h,children:e("search_no_results",{query:u})}),C.length>0&&(0,t.jsx)(f,{title:e("search_maybe_like"),cases:C,collapsible:!1})]}):(0,t.jsxs)(t.Fragment,{children:[k.byName.length>0&&(0,t.jsx)(f,{title:e("search_matches_names"),cases:k.byName}),k.byItems.length>0&&(0,t.jsx)(f,{title:e("search_matches_items"),cases:k.byItems})]})})}])},851466,e=>{"use strict";var t=e.i(843476),n=e.i(271645);e.i(654893);var a=e.i(492055);e.i(26623);var r=e.i(855424),i=e.i(657688);let l={src:e.i(982742).default,width:228,height:128,blurWidth:8,blurHeight:4,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAYAAACzzX7wAAAAj0lEQVR42gGEAHv/AEMnQv8xESf/ORcu/0IZLv9FGy//KRYw/xAXPP8lJE7/AFw/VP84JkH/TTBA/1krN/9dNUb/NjBS/xMgSP87Lkz/AJNndP9YPFP/TDRP/0cnO/9GMUr/IiNJ/y4pSf9eO0n/AIRXa/9dOU7/SChB/zUZLv8tGC//Jh86/0YxR/9jPU3/ixQ2Tn9wB60AAAAASUVORK5CYII="};var s=e.i(948148);e.i(629588);var o=e.i(809360);e.i(450627);var c=e.i(18887);e.s(["Stream",0,()=>{let e=(0,s.useTranslations)("home"),d=(0,a.useConfig)(),[x,m]=(0,n.use
48State)(!1),u=(0,r.useTimer)(d?.stream?.started_at,!0);if(!d?.stream||!u)return null;let p=()=>m(!0),h=(0,t.jsx)("iframe",{className:"fixed z-[99] h-[155px] w-[275px] rounded-2xl border-0",width:275,height:155,src:`https://player.twitch.tv/?channel=${d?.stream?.broadcaster_user_login}&parent=${d.hostname}&video=${d?.stream?.id}`,allowFullScreen:!0});return(0,t.jsx)("div",{className:(0,c.cn)("group/stream fixed top-96 right-5 z-[99] h-[155px] w-[275px] cursor-pointer rounded-2xl bg-[linear-gradient(180deg,var(--t-stand-brand-098)_0%,var(--t-stand-brand-110)_100%)]","shadow-[0_20px_28px_var(--t-brand-surface-deepest),0_28px_64px_var(--t-rarity-classified-start-a20),inset_0_0_0_4px_var(--t-rarity-classified-start-a40)] before:absolute before:top-1 before:left-1 before:block","before:h-[calc(100%_-_8px)] before:w-[calc(100%_-_8px)] before:bg-[repeating-linear-gradient(0deg,transparent,transparent_2px,var(--t-brand-glow-a20)_2px,var(--t-brand-glow-a20)_4px)] before:content-['']"),role:"button",tabIndex:0,onClick:p,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),p())},children:x?h:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{className:"h-[calc(100%_-_8px)] w-[calc(100%_-_8px)] translate-x-1 translate-y-1 rounded-xl object-cover opacity-40",src:l,alt:"",width:275,height:155,loading:"lazy",fetchPriority:"low"}),(0,t.jsx)("div",{className:(0,c.cn)("absolute top-1 left-1 flex h-6 items-center rounded-xl border border-(--t-stand-brand-120) bg-(--t-stand-neutral-002) py-1 pr-2.5 pl-[7px] font-size-14px leading-4 font-bold tracking-[0.35px] text-(--t-stand-danger-008)","uppercase before:mr-[5px] before:block before:h-2.5 before:w-2.5 before:animate-[motion-blink-opacity_0.9s_ease_infinite] before:rounded-full before:border-2 before:border-(--t-stand-danger-002) motion-reduce:before:animate-none","before:bg-(--t-stand-danger-001) before:content-['']"),children:e("Stream with prizes")}),(0,t.jsxs)("div",{className:"absolute right-1 bottom-1 z-2 flex h-6 items-center rounded-lg bg-(--t-brand-surface-deepest-a32) py-0 pr-2 pl-1 text-(--t-brand-foreground-muted-a40) backdrop-blur-[4px]",children:[(0,t.jsx)(o.Icon,{className:(0,c.cn)("relative mx-1.5 -ml-px flex h-4 w-4 items-center justify-center rounded-full bg-none font-size-16px text-(--t-reward-foreground-soft) shadow-none","[text-shadow:-1px_-1px_0_var(--t-stand-danger-009),1px_-1px_0_var(--t-stand-danger-009),-1px_1px_0_var(--t-stand-danger-009),1px_1px_0_var(--t-stand-danger-009),0_0_12px_var(--t-stand-danger-010)]"),name:"timer"}),(0,t.jsxs)("span",{children:[u?.hours," : ",u?.minutes," : ",u?.seconds]})]}),(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 h-16 w-16 -translate-x-1/2 -translate-y-1/2 rounded-full",children:(0,t.jsx)(o.Icon,{className:(0,c.cn)("absolute top-1/2 left-1/2 h-16 w-16 -translate-x-1/2 -translate-y-1/2 font-size-64px leading-16 text-(--t-brand-foreground)","[text-shadow:-2px_-2px_0_var(--t-rarity-classified-start),2px_-2px_0_var(--t-rarity-classified-start),-2px_2px_0_var(--t-rarity-classified-start),2px_2px_0_var(--t-rarity-classified-start),0_0_32px_var(--t-rarity-classified-start)]","transition-[color,transform] duration-300 group-hover/stream:scale-[1.062] group-hover/stream:text-(--t-stand-brand-195)"),name:"play_circle"})})]})})}],851466)},752756,e=>{"use strict";var t=e.i(843476),n=e.i(271645),a=e.i(948148);e.i(450627);var r=e.i(18887);e.i(629588);var i=e.i(502016);e.s(["default",0,function(){let[e,l]=(0,n.useState)(!1),s=(0,a.useTranslations)("home");return(0,t.jsxs)("div",{className:"mb-6 border-b-2 border-(--t-4-states-color-2-default-stroke) pb-6 text-xs leading-[1.6] font-light [&_p]:m-0",children:[(0,t.jsxs)("div",{className:(0,r.cn)("overflow-hidden",e?"h-auto":"h-[54px]"),children:[(0,t.jsx)("div",{className:"mb-2 text-base",children:s("dropdown_title")}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{children:s("h1")}),(0,t.jsx)("p",{children:s("intro.p1")}),(0,t.jsx)("p",{children:s("intro.p2")}),(0,t.jsx)("p",{children:s("intro.p3")}),(0,t.jsx)("h2",{children:s("howTo.h2")}),(0,t.jsx)("p",{children:s("howTo.p1")}),(0,t.jsx)("p",{children:s("howTo.p2")}),(0,t.jsx)("p",{children:s("howTo.p3")}),(0,t.jsx)("p",{children:s("howTo.p4")}
48),(0,t.jsx)("h2",{children:s("fairWay.h2")}),(0,t.jsx)("p",{children:s("fairWay.p1")}),(0,t.jsx)("p",{children:s("fairWay.p2")}),(0,t.jsx)("h2",{children:s("cs2Case.h2")}),(0,t.jsx)("p",{children:s("cs2Case.p1")}),(0,t.jsx)("p",{children:s("cs2Case.p2")}),(0,t.jsx)("p",{children:s("cs2Case.p3")}),(0,t.jsx)("p",{children:s("cs2Case.p4")}),(0,t.jsx)("h2",{children:s("realItems.h2")}),(0,t.jsx)("p",{children:s("realItems.p1")}),(0,t.jsx)("p",{children:s("realItems.p2")}),(0,t.jsx)("p",{children:s("realItems.p3")}),(0,t.jsx)("p",{children:s("realItems.p4")}),(0,t.jsx)("h2",{children:s("whyPeople.h2")}),(0,t.jsx)("p",{children:s("whyPeople.p1")}),(0,t.jsx)("p",{children:s("whyPeople.p2")}),(0,t.jsx)("p",{children:s("whyPeople.p3")}),(0,t.jsx)("h2",{children:s("notJustExperts.h2")}),(0,t.jsx)("p",{children:s("notJustExperts.p1")}),(0,t.jsx)("p",{children:s("notJustExperts.p2")}),(0,t.jsx)("p",{children:s("notJustExperts.p3")}),(0,t.jsx)("h2",{children:s("yourSkins.h2")}),(0,t.jsx)("p",{children:s("yourSkins.p1")}),(0,t.jsx)("p",{children:s("yourSkins.p2")}),(0,t.jsx)("p",{children:s("yourSkins.p3")}),(0,t.jsx)("h2",{children:s("start.h2")}),(0,t.jsx)("p",{children:s("start.p1")}),(0,t.jsx)("p",{children:s("start.p2")}),(0,t.jsx)("p",{children:s("start.p3")}),(0,t.jsxs)("section",{"aria-labelledby":"faq-title",children:[(0,t.jsx)("h2",{id:"faq-title",children:s("faq.title")}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("details",{children:[(0,t.jsx)("summary",{children:s("faq.q1.question")}),(0,t.jsx)("p",{children:s("faq.q1.answer.p1")})]}),(0,t.jsxs)("details",{children:[(0,t.jsx)("summary",{children:s("faq.q2.question")}),(0,t.jsx)("p",{children:s("faq.q2.answer.p1")})]}),(0,t.jsxs)("details",{children:[(0,t.jsx)("summary",{children:s("faq.q3.question")}),(0,t.jsx)("p",{children:s("faq.q3.answer.p1")})]}),(0,t.jsxs)("details",{children:[(0,t.jsx)("summary",{children:s("faq.q4.question")}),(0,t.jsx)("p",{children:s("faq.q4.answer.p1")})]})]})]})]})]}),(0,t.jsxs)("button",{type:"button","aria-expanded":e,className:(0,r.cn)("mt-2 inline-flex cursor-pointer items-center gap-2 border-0 bg-transparent p-0 text-base leading-none text-inherit uppercase",e&&"[&_svg]:rotate-180"),onClick:()=>l(!e),children:[(0,t.jsx)(i.ChevronDownIcon,{}),(0,t.jsx)("span",{children:s(e?"button.hide":"button.showMore")})]})]})}])}]);
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.