PageSourceSearch

https://www.sportsecyclopedia.com/_next/static/chunks/4c35b197ec21c2a1.js?dpl=dpl_Bx94mAXLNYtGV31uacSrqd1phXdm

js sportsecyclopedia.com collected 2026-10-02 07:56:55 UTC 227,202 bytes, 7 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,587016,e=>{"use strict";let t=(0,e.i(688094).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["default",()=>t])},341260,e=>{"use strict";var t=e.i(587016);e.s(["ChevronDown",()=>t.default])},775453,e=>{"use strict";function t(e,a,{checkForDefaultPrevented:r=!0}={}){return function(t){if(e?.(t),!1===r||!t.defaultPrevented)return a?.(t)}}e.s(["composeEventHandlers",()=>t])},699962,843594,e=>{"use strict";var t=e.i(19312),a=e.i(572256);function r(e,r){let s=t.createContext(r),i=e=>{let{children:r,...i}=e,n=t.useMemo(()=>i,Object.values(i));return(0,a.jsx)(s.Provider,{value:n,children:r})};return i.displayName=e+"Provider",[i,function(a){let i=t.useContext(s);if(i)return i;if(void 0!==r)return r;throw Error(`\`${a}\` must be used within \`${e}\``)}]}function s(e,r=[]){let i=[],n=()=>{let a=i.map(e=>t.createContext(e));return function(r){let s=r?.[e]||a;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:s}}),[r,s])}};return n.scopeName=e,[function(r,s){let n=t.createContext(s),l=i.length;i=[...i,s];let o=r=>{let{scope:s,children:i,...o}=r,d=s?.[e]?.[l]||n,c=t.useMemo(()=>o,Object.values(o));return(0,a.jsx)(d.Provider,{value:c,children:i})};return o.displayName=r+"Provider",[o,function(a,i){let o=i?.[e]?.[l]||n,d=t.useContext(o);if(d)return d;if(void 0!==s)return s;throw Error(`\`${a}\` must be used within \`${r}\``)}]},function(...e){let a=e[0];if(1===e.length)return a;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=r.reduce((t,{useScope:a,scopeName:r})=>{let s=a(e)[`__scope${r}`];return{...t,...s}},{});return t.useMemo(()=>({[`__scope${a.scopeName}`]:s}),[s])}};return r.scopeName=a.scopeName,r}(n,...r)]}e.s(["createContext",()=>r,"createContextScope",()=>s],699962);var i=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>i],843594)},654436,e=>{"use strict";var t=e.i(19312),a=e.i(843594);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var r=t[" useInsertionEffect ".trim().toString()]||a.useLayoutEffect;function s({prop:e,defaultProp:a,onChange:s=()=>{},caller:i}){let[n,l,o]=function({defaultProp:e,onChange:a}){let[s,i]=t.useState(e),n=t.useRef(s),l=t.useRef(a);return r(()=>{l.current=a},[a]),t.useEffect(()=>{n.current!==s&&(l.current?.(s),n.current=s)},[s,n]),[s,i,l]}({defaultProp:a,onChange:s}),d=void 0!==e,c=d?e:n;{let a=t.useRef(void 0!==e);t.useEffect(()=>{let e=a.current;if(e!==d){let t=d?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}a.current=d},[d,i])}return[c,t.useCallback(t=>{if(d){let a="function"==typeof t?t(e):t;a!==e&&o.current?.(a)}else l(t)},[d,e,l,o])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>s],654436)},417425,e=>{"use strict";var t=e.i(19312),a=e.i(843594),r=t[" useId ".trim().toString()]||(()=>void 0),s=0;function i(e){let[i,n]=t.useState(r());return(0,a.useLayoutEffect)(()=>{e||n(e=>e??String(s++))},[e]),e||(i?`radix-${i}`:"")}e.s(["useId",()=>i])},29079,e=>{"use strict";var t=e.i(19312),a=e.i(699962),r=e.i(154557),s=e.i(131129),i=e.i(572256);function n(e){let n=e+"CollectionProvider",[l,o]=(0,a.createContextScope)(n),[d,c]=l(n,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:a,children:r}=e,s=t.default.useRef(null),n=t.default.useRef(new Map).current;return(0,i.jsx)(d,{scope:a,itemMap:n,collectionRef:s,children:r})};u.displayName=n;let m=e+"CollectionSlot",p=(0,s.createSlot)(m),f=t.default.forwardRef((e,t)=>{let{scope:a,children:s}=e,n=c(m,a),l=(0,r.useComposedRefs)(t,n.collectionRef);return(0,i.jsx)(p,{ref:l,children:s})});f.displayName=m;let h=e+"CollectionItemSlot",x="data-radix-collection-item",g=(0,s.createSlot)(h),b=t.default.forwardRef((e,a)=>{let{scope:s,children:n,...l}=e,o=t.default.useRef(null),d=(0,r.useComposedRefs)(a,o),u=c(h,s);return t.default.useEffect(()=>(u.itemMap.set(o,{ref:o,...l}),()=>void u.itemMap.delete(o))),(0,i.jsx)(g,{...{[x]:""},ref:d,children:n})});return b.displayName=h,[{Provider:u,Slot:f,ItemSlot:b},function(a){let r=c(e+"CollectionConsumer",a);return t.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${x}]`));return Array.from(r.itemMap.values()).sort((e,a)=>t.indexOf(e.ref.current)-t.indexOf(a.ref.current))},[r.collectionRef,r.itemMap])},o]}var l=new WeakMap;function o(e,t){var a,r;let s,i,n;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let l=(a=e,r=t,s=a.length,(n=(i=d(r))>=0?i:s+i)<0||n>=s?-1:n);return -1===l?void 0:e[l]}function d(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],l.set(this,!0)}set(e,t){return l.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,a){let r,s=this.has(t),i=this.#e.length,n=d(e),l=n>=0?n:i+n,o=l<0||l>=i?-1:l;if(o===this.size||s&&o===this.size-1||-1===o)return this.set(t,a),this;let c=this.size+ +!s;n<0&&l++;let u=[...this.#e],m=!1;for(let e=l;e<c;e++)if(l===e){let i=u[e];u[e]===t&&(i=u[e+1]),s&&this.delete(t),r=this.get(i),this.set(t,a)}else{m||u[e-1]!==t||(m=!0);let a=u[m?e:e-1],s=r;r=this.get(a),this.delete(a),this.set(a,s)}return this}with(t,a,r){let s=new e(this);return s.insert(t,a,r),s}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,a){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,a)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,a){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,a)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=o(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=o(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return o(this.#e,e)}from(e,t){let a=this.indexOf(e);if(-1===a)return;let r=a+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let a=this.indexOf(e);if(-1===a)return;let r=a+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let a=0;for(let r of this){if(Reflect.apply(e,t,[r,a,this]))return r;a++}}findIndex(e,t){let a=0;for(let r of this){if(Reflect.apply(e,t,[r,a,this]))return a;a++}return -1}filter(t,a){let r=[],s=0;for(let e of this)Reflect.apply(t,a,[e,s,this])&&r.push(e),s++;return new e(r)}map(t,a){let r=[],s=0;for(let e of this)r.push([e[0],Reflect.apply(t,a,[e,s,this])]),s++;return new e(r)}
1reduce(...e){let[t,a]=e,r=0,s=a??this.at(0);for(let a of this)s=0===r&&1===e.length?a:Reflect.apply(t,this,[s,a,r,this]),r++;return s}reduceRight(...e){let[t,a]=e,r=a??this.at(-1);for(let a=this.size-1;a>=0;a--){let s=this.at(a);r=a===this.size-1&&1===e.length?s:Reflect.apply(t,this,[r,s,a,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let a=this.keyAt(e),r=this.get(a);t.set(a,r)}return t}toSpliced(...t){let a=[...this.entries()];return a.splice(...t),new e(a)}slice(t,a){let r=new e,s=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==a&&a>0&&(s=a-1);for(let e=t;e<=s;e++){let t=this.keyAt(e),a=this.get(t);r.set(t,a)}return r}every(e,t){let a=0;for(let r of this){if(!Reflect.apply(e,t,[r,a,this]))return!1;a++}return!0}some(e,t){let a=0;for(let r of this){if(Reflect.apply(e,t,[r,a,this]))return!0;a++}return!1}}),e.s(["createCollection",()=>n])},318589,e=>{"use strict";var t=e.i(19312),a=e.i(759129),r=e.i(131129),s=e.i(572256),i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let i=(0,r.createSlot)(`Primitive.${a}`),n=t.forwardRef((e,t)=>{let{asChild:r,...n}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(r?i:a,{...n,ref:t})});return n.displayName=`Primitive.${a}`,{...e,[a]:n}},{});function n(e,t){e&&a.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>i,"dispatchDiscreteCustomEvent",()=>n])},958277,e=>{"use strict";var t=e.i(19312);e.i(572256);var a=t.createContext(void 0);function r(e){let r=t.useContext(a);return e||r||"ltr"}e.s(["useDirection",()=>r])},596010,e=>{"use strict";var t=e.i(19312),a=e.i(154557),r=e.i(843594),s=e=>{var s;let n,l,{present:o,children:d}=e,c=function(e){var a,s;let[n,l]=t.useState(),o=t.useRef(null),d=t.useRef(e),c=t.useRef("none"),[u,m]=(a=e?"mounted":"unmounted",s={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>s[e][t]??e,a));return t.useEffect(()=>{let e=i(o.current);c.current="mounted"===u?e:"none"},[u]),(0,r.useLayoutEffect)(()=>
1{let t=o.current,a=d.current;if(a!==e){let r=c.current,s=i(t);e?m("MOUNT"):"none"===s||t?.display==="none"?m("UNMOUNT"):a&&r!==s?m("ANIMATION_OUT"):m("UNMOUNT"),d.current=e}},[e,m]),(0,r.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,a=a=>{let r=i(o.current).includes(a.animationName);if(a.target===n&&r&&(m("ANIMATION_END"),!d.current)){let a=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=a)})}},r=e=>{e.target===n&&(c.current=i(o.current))};return n.addEventListener("animationstart",r),n.addEventListener("animationcancel",a),n.addEventListener("animationend",a),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",r),n.removeEventListener("animationcancel",a),n.removeEventListener("animationend",a)}}m("ANIMATION_END")},[n,m]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(o),u="function"==typeof d?d({present:c.isPresent}):t.Children.only(d),m=(0,a.useComposedRefs)(c.ref,(s=u,(l=(n=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?s.ref:(l=(n=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?s.props.ref:s.props.ref||s.ref));return"function"==typeof d||c.isPresent?t.cloneElement(u,{ref:m}):null};function i(e){return e?.animationName||"none"}s.displayName="Presence",e.s(["Presence",()=>s])},994978,e=>{"use strict";var t=e.i(572256),a=e.i(19312),r=e.i(699962),s=e.i(29079),i=e.i(154557),n=e.i(775453),l=e.i(654436),o=e.i(318589),d=e.i(843594),c=e.i(596010),u=e.i(417425),m="Collapsible",[p,f]=(0,r.createContextScope)(m),[h,x]=p(m),g=a.forwardRef((e,r)=>{let{__scopeCollapsible:s,open:i,defaultOpen:n,disabled:d,onOpenChange:c,...p}=e,[f,x]=(0,l.useControllableState)({prop:i,defaultProp:n??!1,onChange:c,caller:m});return(0,t.jsx)(h,{scope:s,disabled:d,contentId:(0,u.useId)(),open:f,onOpenToggle:a.useCallback(()=>x(e=>!e),[x]),children:(0,t.jsx)(o.Primitive.div,{"data-state":N(f),"data-disabled":d?"":void 0,...p,ref:r})})});g.displayName=m;
1var b="CollapsibleTrigger",v=a.forwardRef((e,a)=>{let{__scopeCollapsible:r,...s}=e,i=x(b,r);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":N(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...s,ref:a,onClick:(0,n.composeEventHandlers)(e.onClick,i.onOpenToggle)})});v.displayName=b;var y="CollapsibleContent",j=a.forwardRef((e,a)=>{let{forceMount:r,...s}=e,i=x(y,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:r||i.open,children:({present:e})=>(0,t.jsx)(w,{...s,ref:a,present:e})})});j.displayName=y;var w=a.forwardRef((e,r)=>{let{__scopeCollapsible:s,present:n,children:l,...c}=e,u=x(y,s),[m,p]=a.useState(n),f=a.useRef(null),h=(0,i.useComposedRefs)(r,f),g=a.useRef(0),b=g.current,v=a.useRef(0),j=v.current,w=u.open||m,k=a.useRef(w),C=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,d.useLayoutEffect)(()=>{let e=f.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,v.current=t.width,k.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(n)}},[u.open,n]),(0,t.jsx)(o.Primitive.div,{"data-state":N(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!w,...c,ref:h,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:w&&l})});function N(e){return e?"open":"closed"}var k=e.i(958277),C="Accordion",P=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[S,T,E]=(0,s.createCollection)(C),[A,R]=(0,r.createContextScope)(C,[E,f]),D=f(),L=a.default.forwardRef((e,a)=>{let{type:r,...s}=e;return(0,t.jsx)(S.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,t.jsx)(_,{...s,ref:a}):(0,t.jsx)(B,{...s,ref:a})})});L.displayName=C;var[z,O]=A(C),[M,I]=A(C,{collapsible:!1}),B=a.default.forwardRef((e,r)=>{let{value:s,defaultValue:i,onValueChange:n=()=>{},collapsible:o=!1,...d}=e,[c,u]=(0,l.useControllableState)({prop:s,defaultProp:i??"",onChange:n,caller:C});return(0,t.jsx)(z,{scope:e.__scopeAccordion,value:a.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:u,onItemClose:a.default.useCallback(()=>o&&u(""),[o,u]),children:(0,t.jsx)(M,{scope:e.__scopeAccordion,collapsible:o,children:(0,t.jsx)($,{...d,ref:r})})})}),_=a.default.forwardRef((e,r)=>{let{value:s,defaultValue:i,onValueChange:n=()=>{},...o}=e,[d,c]=(0,l.useControllableState)({prop:s,defaultProp:i??[],onChange:n,caller:C}),u=a.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),m=a.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,t.jsx)(z,{scope:e.__scopeAccordion,value:d,onItemOpen:u,onItemClose:m,children:(0,t.jsx)(M,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)($,{...o,ref:r})})})}),[U,F]=A(C),$=a.default.forwardRef((e,r)=>{let{__scopeAccordion:s,disabled:l,dir:d,orientation:c="vertical",...u}=e,m=a.default.useRef(null),p=(0,i.useComposedRefs)(m,r),f=T(s),h="ltr"===(0,k.useDirection)(d),x=(0,n.composeEventHandlers)(e.onKeyDown,e=>{if(!P.includes(e.key))return;let t=e.target,a=f().filter(e=>!e.ref.current?.disabled),r=a.findIndex(e=>e.ref.current===t),s=a.length;if(-1===r)return;e.preventDefault();let i=r,n=s-1,l=()=>{(i=r+1)>n&&(i=0)},o=()=>{(i=r-1)<0&&(i=n)};switch(e.key){case"Home":i=0;break;case"End":i=n;break;case"ArrowRight":"horizontal"===c&&(h?l():o());break;case"ArrowDown":"vertical"===c&&l();break;case"ArrowLeft":"horizontal"===c&&(h?o():l());break;case"ArrowUp":"vertical"===c&&o()}let d=i%s;a[d].ref.current?.focus()});return(0,t.jsx)(U,{scope:s,disabled:l,direction:d,orientation:c,children:(0,t.jsx)(S.Slot,{scope:s,children:(0,t.jsx)(o.Primitive.div,{...u,"data-orientation":c,ref:p,onKeyDown:l?void 0:x})})})}),W="AccordionItem",[V,H]=A(W),G=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,value:s,...i}=e,n=F(W,r),l=O(W,r),o=D(r),d=(0,u.useId)(),c=s&&l.value.includes(s)||!1,m=n.disabled||e.disabled;return(0,t.jsx)(V,{scope:r,open:c,disabled:m,triggerId:d,children:(0,t.jsx)(g,{"data-orientation":n.orientation,"data-state":Q(c),...o,...i,ref:a,disabled:m,open:c,onOpenChange:e=>{e?l.onItemOpen(s):l.onItemClose(s)}})})});G.displayName=W;var q="AccordionHeader",Y=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,...s}=e,i=F(C,r),n=H(q,r);return(0,t.jsx)(o.Primitive.h3,{"data-orientation":i.orientation,"data-state":Q(n.open),"data-disabled":n.disabled?"":void 0,...s,ref:a})});Y.displayName=q;var K="AccordionTrigger",Z=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,...s}=e,i=F(C,r),n=H(K,r),l=I(K,r),o=D(r);return(0,t.jsx)(S.ItemSlot,{scope:r,children:(0,t.jsx)(v,{"aria-disabled":n.open&&!l.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId,...o,...s,ref:a})})});Z.displayName=K;var X="AccordionContent",J=a.default.forwardRef((e,a)=>{let{__scopeAccordion:r,...s}=e,i=F(C,r),n=H(X,r),l=D(r);return(0,t.jsx)(j,{role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation,...l,...s,ref:a,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Q(e){return e?"open":"closed"}J.displayName=X;var ee=e.i(632137);function et({...e}){return(0,t.jsx)(L,{"data-slot":"accordion",...e})}function ea({className:e,...a}){return(0,t.jsx)(G,{"data-slot":"accordion-item",className:(0,ee.cn)("border-b last:border-b-0",e),...a})}function er({className:e,children:a,headerClassName:r,...s}){return(0,t.jsx)(Y,{className:(0,ee.cn)("flex !mt-0",r),children:(0,t.jsx)(Z,{"data-slot":"accordion-trigger",className:(0,ee.cn)("cursor-pointer focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 roun
1ded-md py-4 text-left transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...s,children:a})})}function es({className:e,children:a,...r}){return(0,t.jsx)(J,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden",...r,children:(0,t.jsx)("div",{className:(0,ee.cn)("pt-0 pb-4",e),children:a})})}e.s(["Accordion",()=>et,"AccordionContent",()=>es,"AccordionItem",()=>ea,"AccordionTrigger",()=>er],994978)},670102,e=>{"use strict";var t=e.i(572256),a=e.i(632137);function r({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"skeleton",className:(0,a.cn)("bg-input animate-pulse rounded-md",e),...r})}e.s(["Skeleton",()=>r])},876694,e=>{"use strict";let t=(0,e.i(688094).default)("move-right",[["path",{d:"M18 8L22 12L18 16",key:"1r0oui"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);e.s(["default",()=>t])},687448,e=>{"use strict";var t=e.i(876694);e.s(["MoveRight",()=>t.default])},650561,e=>{"use strict";var t=e.i(572256),a=e.i(632137);function r({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card",className:(0,a.cn)("bg-card text-card-foreground flex flex-col gap-6 border py-6 shadow-sm",e),...r})}function s({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-header",className:(0,a.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function i({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-title",className:(0,a.cn)("leading-none font-semibold",e),...r})}function n({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-description",className:(0,a.cn)("text-muted-foreground text-sm",e),...r})}function l({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-content",className:(0,a.cn)("px-6",e),...r})}function o({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"card-footer",className:(0,a.cn)("flex items-center px-6 [.border-t]:pt-6",e),...r})}e.s(["Card",()=>r,"CardContent",()=>l,"CardDescription",()=>n,"CardFooter",()=>o,"CardHeader",()=>s,"CardTitle",()=>i])},201970,e=>{"use strict";let t=(0,e.i(688094).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["default",()=>t])},781710,e=>{"use strict";var t=e.i(201970);e.s(["ArrowRight",()=>t.default])},178071,e=>{"use strict";let t=(0,e.i(688094).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",()=>t])},291471,e=>{"use strict";var t=e.i(178071);e.s(["ChevronRight",()=>t.default])},329298,406326,e=>{"use strict";var t=e.i(19312),a=e.i(759129),r=e.i(154557),s=e.i(572256);function i(e){var a;let i,n=(a=e,(i=t.forwardRef((e,a)=>{var s;let i,n,{children:l,...o}=e,d=t.isValidElement(l)?(s=l,(n=(i=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?s.ref:(n=(i=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?s.props.ref:s.props.ref||s.ref):void 0,c=(0,r.useComposedRefs)(d,a);if(t.isValidElement(l)){let e=function(e,t){let a={...t};for(let r in t){let s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?a[r]=(...e)=>{let t=i(...e);return s(...e),t}:s&&(a[r]=s):"style"===r?a[r]={...s,...i}:"className"===r&&(a[r]=[s,i].filter(Boolean).join(" "))}return{...e,...a}}(o,l.props);return l.type!==t.Fragment&&(e.ref=c),t.cloneElement(l,e)}return t.Children.count(l)>1?t.Children.only(null):null})).displayName=`${a}.SlotClone`,i),l=t.forwardRef((e,a)=>{let{children:r,...i}=e,l=t.Children.toArray(r),d=l.find(o);if(d){let e=d.props.children,r=l.map(a=>a!==d?a:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,s.jsx)(n,{...i,ref:a,children:t.isValidElement(e)?t.cloneElement(e,void 0,r):null})}return(0,s.jsx)(n,{...i,ref:a,children:r})});return l.displayName=`${e}.Slot`,l}var n=Symbol("radix.slottable");function l(e){let t=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=n,t}function o(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===n}e.s(["createSlot",()=>i,"createSlottable",()=>l],406326);var d=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let r=i(`Primitive.${a}`),n=t.forwardRef((e,t)=>
1{let{asChild:i,...n}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(i?r:a,{...n,ref:t})});return n.displayName=`Primitive.${a}`,{...e,[a]:n}},{});function c(e,t){e&&a.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>d,"dispatchDiscreteCustomEvent",()=>c],329298)},418005,e=>{"use strict";var t,a=e.i(19312),r=e.i(775453),s=e.i(329298),i=e.i(154557),n=e.i(557750),l=e.i(141665),o=e.i(572256),d="dismissableLayer.update",c=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u=a.forwardRef((e,u)=>{let{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:h,onPointerDownOutside:x,onFocusOutside:g,onInteractOutside:b,onDismiss:v,...y}=e,j=a.useContext(c),[w,N]=a.useState(null),k=w?.ownerDocument??globalThis?.document,[,C]=a.useState({}),P=(0,i.useComposedRefs)(u,e=>N(e)),S=Array.from(j.layers),[T]=[...j.layersWithOutsidePointerEventsDisabled].slice(-1),E=S.indexOf(T),A=w?S.indexOf(w):-1,R=j.layersWithOutsidePointerEventsDisabled.size>0,D=A>=E,L=function(e,t=globalThis?.document){let r=(0,n.useCallbackRef)(e),s=a.useRef(!1),i=a.useRef(()=>{});return a.useEffect(()=>{let e=e=>{if(e.target&&!s.current){let a=function(){p("dismissableLayer.pointerDownOutside",r,s,{discrete:!0})},s={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);s.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>s.current=!0}}(e=>{let t=e.target,a=[...j.branches].some(e=>e.contains(t));D&&!a&&(x?.(e),b?.(e),e.defaultPrevented||v?.())},k),z=function(e,t=globalThis?.document){let r=(0,n.useCallbackRef)(e),s=a.useRef(!1);return a.useEffect(()=>{let e=e=>{e.target&&!s.current&&p("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}(e=>{let t=e.target;![...j.branches].some(e=>e.contains(t))&&(g?.(e),b?.(e),e.defaultPrevented||v?.())},k);return(0,l.useEscapeKeydown)(e=>{A===j.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},k),a.useEffect(()=>{if(w)return f&&(0===j.layersWithOutsidePointerEventsDisabled.size&&(t=k.body.style.pointerEvents,k.body.style.pointerEvents="none"),j.layersWithOutsidePointerEventsDisabled.add(w)),j.layers.add(w),m(),()=>{f&&1===j.layersWithOutsidePointerEventsDisabled.size&&(k.body.style.pointerEvents=t)}},[w,k,f,j]),a.useEffect(()=>()=>{w&&(j.layers.delete(w),j.layersWithOutsidePointerEventsDisabled.delete(w),m())},[w,j]),a.useEffect(()=>{let e=()=>C({});return document.addEventListener(d,e),()=>document.removeEventListener(d,e)},[]),(0,o.jsx)(s.Primitive.div,{...y,ref:P,style:{pointerEvents:R?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,z.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,z.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,L.onPointerDownCapture)})});function m(){let e=new CustomEvent(d);document.dispatchEvent(e)}function p(e,t,a,{discrete:r}){let i=a.originalEvent.target,n=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:a});t&&i.addEventListener(e,t,{once:!0}),r?(0,s.dispatchDiscreteCustomEvent)(i,n):i.dispatchEvent(n)}u.displayName="DismissableLayer",a.forwardRef((e,t)=>{let r=a.useContext(c),n=a.useRef(null),l=(0,i.useComposedRefs)(t,n);return a.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,o.jsx)(s.Primitive.div,{...e,ref:l})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",()=>u])},707022,e=>{"use strict";var t=e.i(19312),a=e.i(647178),r=e.i(111418),s=e.i(329298),i=e.i(572256),n=t.forwardRef((e,t)=>{let{children:a,width:r=10,height:n=5,...l}=e;return(0,i.jsx)(s.Primitive.svg,{...l,ref:t,width:r,height:n,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?a:(0,i.jsx)("polygon",{points:"0,0 30,0 15,10"})})});n.displayName="Arrow";var l=e.i(154557),o=e.i(699962),d=e.i(557750),c=e.i(843594),u=e.i(758905),m="Popper",[p,f]=(0,o.createContextScope)(m),[h,x]=p(m),g=e=>{let{__scopePopper:a,children:r}=e,[s,n]=t.useState(null);return(0,i.jsx)(h,{scope:a,anchor:s,onAnchorChange:n,children:r})};g.displayName=m;var b="PopperAnchor",v=t.forwardRef((e,a)=>{let{__scopePopper:r,virtualRef:n,...o}=e,d=x(b,r),c=t.useRef(null),u=(0,l.useComposedRefs)(a,c);return t.useEffect(()=>{d.onAnchorChange(n?.current||c.current)}),n?null:(0,i.jsx)(s.Primitive.div,{...o,ref:u})});v.displayName=b;
1var y="PopperContent",[j,w]=p(y),N=t.forwardRef((e,n)=>{let{__scopePopper:o,side:m="bottom",sideOffset:p=0,align:f="center",alignOffset:h=0,arrowPadding:g=0,avoidCollisions:b=!0,collisionBoundary:v=[],collisionPadding:w=0,sticky:N="partial",hideWhenDetached:k=!1,updatePositionStrategy:C="optimized",onPlaced:P,...A}=e,R=x(y,o),[D,L]=t.useState(null),z=(0,l.useComposedRefs)(n,e=>L(e)),[O,M]=t.useState(null),I=(0,u.useSize)(O),B=I?.width??0,_=I?.height??0,U="number"==typeof w?w:{top:0,right:0,bottom:0,left:0,...w},F=Array.isArray(v)?v:[v],$=F.length>0,W={padding:U,boundary:F.filter(S),altBoundary:$},{refs:V,floatingStyles:H,placement:G,isPositioned:q,middlewareData:Y}=(0,a.useFloating)({strategy:"fixed",placement:m+("center"!==f?"-"+f:""),whileElementsMounted:(...e)=>(0,r.autoUpdate)(...e,{animationFrame:"always"===C}),elements:{reference:R.anchor},middleware:[(0,a.offset)({mainAxis:p+_,alignmentAxis:h}),b&&(0,a.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===N?(0,a.limitShift)():void 0,...W}),b&&(0,a.flip)({...W}),(0,a.size)({...W,apply:({elements:e,rects:t,availableWidth:a,availableHeight:r})=>{let{width:s,height:i}=t.reference,n=e.floating.style;n.setProperty("--radix-popper-available-width",`${a}px`),n.setProperty("--radix-popper-available-height",`${r}px`),n.setProperty("--radix-popper-anchor-width",`${s}px`),n.setProperty("--radix-popper-anchor-height",`${i}px`)}}),O&&(0,a.arrow)({element:O,padding:g}),T({arrowWidth:B,arrowHeight:_}),k&&(0,a.hide)({strategy:"referenceHidden",...W})]}),[K,Z]=E(G),X=(0,d.useCallbackRef)(P);(0,c.useLayoutEffect)(()=>{q&&X?.()},[q,X]);let J=Y.arrow?.x,Q=Y.arrow?.y,ee=Y.arrow?.centerOffset!==0,[et,ea]=t.useState();return(0,c.useLayoutEffect)(()=>{D&&ea(window.getComputedStyle(D).zIndex)},[D]),(0,i.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:q?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(" "),...Y.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,i.jsx)(j,{scope:o,placedSide:K,onArrowChange:M,arrowX:J,arrowY:Q,shouldHideArrow:ee,children:(0,i.jsx)(s.Primitive.div,{"data-side":K,"data-align":Z,...A,ref:z,style:{...A.style,animation:q?void 0:"none"}})})})});N.displayName=y;var k="PopperArrow",C={top:"bottom",right:"left",bottom:"top",left:"right"},P=t.forwardRef(function(e,t){let{__scopePopper:a,...r}=e,s=w(k,a),l=C[s.placedSide];return(0,i.jsx)("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:(0,i.jsx)(n,{...r,ref:t,style:{...r.style,display:"block"}})})});function S(e){return null!==e}P.displayName=k;var T=e=>({name:"transformOrigin",options:e,fn(t){let{placement:a,rects:r,middlewareData:s}=t,i=s.arrow?.centerOffset!==0,n=i?0:e.arrowWidth,l=i?0:e.arrowHeight,[o,d]=E(a),c={start:"0%",center:"50%",end:"100%"}[d],u=(s.arrow?.x??0)+n/2,m=(s.arrow?.y??0)+l/2,p="",f="";return"bottom"===o?(p=i?c:`${u}px`,f=`${-l}px`):"top"===o?(p=i?c:`${u}px`,f=`${r.floating.height+l}px`):"right"===o?(p=`${-l}px`,f=i?c:`${m}px`):"left"===o&&(p=`${r.floating.width+l}px`,f=i?c:`${m}px`),{data:{x:p,y:f}}}});function E(e){let[t,a="center"]=e.split("-");return[t,a]}e.s(["Anchor",()=>v,"Arrow",()=>P,"Content",()=>N,"Root",()=>g,"createPopperScope",()=>f],707022)},898781,e=>{"use strict";var t=e.i(19312),a=e.i(759129),r=e.i(329298),s=e.i(843594),i=e.i(572256),n=t.forwardRef((e,n)=>{let{container:l,...o}=e,[d,c]=t.useState(!1);(0,s.useLayoutEffect)(()=>c(!0),[]);let u=l||d&&globalThis?.document?.body;return u?a.default.createPortal((0,i.jsx)(r.Primitive.div,{...o,ref:n}),u):null});n.displayName="Portal",e.s(["Portal",()=>n])},181241,372552,e=>{"use strict";var t=e.i(572256),a=e.i(19312),r=e.i(775453),s=e.i(154557),i=e.i(699962),n=e.i(418005),l=e.i(417425),o=e.i(707022),d=e.i(898781),c=e.i(596010),u=e.i(329298),m=e.i(406326),p=e.i(654436),f=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),h=a.forwardRef((e,a)=>(0,t.jsx)(u.Primitive.span,{...e,ref:a,style:{...f,...e.style}}));h.displayName="VisuallyHidden",e.s(["Root",()=>h],372552);var[x,g]=(0,i.createContextScope)("Tooltip",[o.createPopperScope]),b=(0,o.createPopperScope)(),v="TooltipProvider",y="tooltip.open",[j,w]=x(v),N=e=>{let{__scopeTooltip:r,delayDuration:s=700,skipDelayDuration:i=300,disableHoverableContent:n=!1,children:l}=e,o=a.useRef(!0),d=a.useRef(!1),c=a.useRef(0);return a.useEffect(()=>
1{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,t.jsx)(j,{scope:r,isOpenDelayedRef:o,delayDuration:s,onOpen:a.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:a.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,i)},[i]),isPointerInTransitRef:d,onPointerInTransitChange:a.useCallback(e=>{d.current=e},[]),disableHoverableContent:n,children:l})};N.displayName=v;var k="Tooltip",[C,P]=x(k),S=e=>{let{__scopeTooltip:r,children:s,open:i,defaultOpen:n,onOpenChange:d,disableHoverableContent:c,delayDuration:u}=e,m=w(k,e.__scopeTooltip),f=b(r),[h,x]=a.useState(null),g=(0,l.useId)(),v=a.useRef(0),j=c??m.disableHoverableContent,N=u??m.delayDuration,P=a.useRef(!1),[S,T]=(0,p.useControllableState)({prop:i,defaultProp:n??!1,onChange:e=>{e?(m.onOpen(),document.dispatchEvent(new CustomEvent(y))):m.onClose(),d?.(e)},caller:k}),E=a.useMemo(()=>S?P.current?"delayed-open":"instant-open":"closed",[S]),A=a.useCallback(()=>{window.clearTimeout(v.current),v.current=0,P.current=!1,T(!0)},[T]),R=a.useCallback(()=>{window.clearTimeout(v.current),v.current=0,T(!1)},[T]),D=a.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{P.current=!0,T(!0),v.current=0},N)},[N,T]);return a.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),(0,t.jsx)(o.Root,{...f,children:(0,t.jsx)(C,{scope:r,contentId:g,open:S,stateAttribute:E,trigger:h,onTriggerChange:x,onTriggerEnter:a.useCallback(()=>{m.isOpenDelayedRef.current?D():A()},[m.isOpenDelayedRef,D,A]),onTriggerLeave:a.useCallback(()=>{j?R():(window.clearTimeout(v.current),v.current=0)},[R,j]),onOpen:A,onClose:R,disableHoverableContent:j,children:s})})};S.displayName=k;var T="TooltipTrigger",E=a.forwardRef((e,i)=>{let{__scopeTooltip:n,...l}=e,d=P(T,n),c=w(T,n),m=b(n),p=a.useRef(null),f=(0,s.useComposedRefs)(i,p,d.onTriggerChange),h=a.useRef(!1),x=a.useRef(!1),g=a.useCallback(()=>h.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,t.jsx)(o.Anchor,{asChild:!0,...m,children:(0,t.jsx)(u.Primitive.button,{"aria-describedby":d.open?d.contentId:void 0,"data-state":d.stateAttribute,...l,ref:f,onPointerMove:(0,r.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(x.current||c.isPointerInTransitRef.current||(d.onTriggerEnter(),x.current=!0))}),onPointerLeave:(0,r.composeEventHandlers)(e.onPointerLeave,()=>{d.onTriggerLeave(),x.current=!1}),onPointerDown:(0,r.composeEventHandlers)(e.onPointerDown,()=>{d.open&&d.onClose(),h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>{h.current||d.onOpen()}),onBlur:(0,r.composeEventHandlers)(e.onBlur,d.onClose),onClick:(0,r.composeEventHandlers)(e.onClick,d.onClose)})})});E.displayName=T;var A="TooltipPortal",[R,D]=x(A,{forceMount:void 0}),L=e=>{let{__scopeTooltip:a,forceMount:r,children:s,container:i}=e,n=P(A,a);return(0,t.jsx)(R,{scope:a,forceMount:r,children:(0,t.jsx)(c.Presence,{present:r||n.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:i,children:s})})})};L.displayName=A;var z="TooltipContent",O=a.forwardRef((e,a)=>{let r=D(z,e.__scopeTooltip),{forceMount:s=r.forceMount,side:i="top",...n}=e,l=P(z,e.__scopeTooltip);return(0,t.jsx)(c.Presence,{present:s||l.open,children:l.disableHoverableContent?(0,t.jsx)(U,{side:i,...n,ref:a}):(0,t.jsx)(M,{side:i,...n,ref:a})})}),M=a.forwardRef((e,r)=>{let i=P(z,e.__scopeTooltip),n=w(z,e.__scopeTooltip),l=a.useRef(null),o=(0,s.useComposedRefs)(r,l),[d,c]=a.useState(null),{trigger:u,onClose:m}=i,p=l.current,{onPointerInTransitChange:f}=n,h=a.useCallback(()=>{c(null),f(!1)},[f]),x=a.useCallback((e,t)=>{let a,r=e.currentTarget,s={x:e.clientX,y:e.clientY},i=function(e,t){let a=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),s=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(a,r,s,i)){case i:return"left";case s:return"right";case a:return"top";case r:return"bottom";default:throw Error("unreachable")}}(s,r.getBoundingClientRect());c(((a=[...function(e,t,a=5){let r=[];switch(t){case"top":r.push({x:e.x-a,y:e.y+a},{x:e.x+a,y:e.y+a});break;case"bottom":r.push({x:e.x-a,y:e.y-a},{x:e.x+a,y:e.y-a});break;case"left":r.push({x:e.x+a,y:e.y-a},{x:e.x+a,y:e.y+a});break;case"right":r.push({x:e.x-a,y:e.y-a},{x:e.x-a,y:e.y+a})}return r}(s,i),...function(e){let{top:t,right:a,bottom:r,left:s}=e;return[{x:s,y:t},{x:a,y:t},{x:a,y:r},{x:s,y:r}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let a=0;a<e.length;a++){let r=e[a];for(;t.length>=2;){let e=t[t.length-1],a=t[t.length-2];if((e.x-a.x)*(r.y-a.y)>=(e.y-a.y)*(r.x-a.x))t.pop();else break}t.push(r)}t.pop();let a=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;a.length>=2;){let e=a[a.length-1],t=a[a.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))a.pop();else break}a.push(r)}return(a.pop(),1===t.length&&1===a.length&&t[0].x===a[0].x&&t[0].y===a[0].y)?t:t.concat(a)}(a))),f(!0)},[f]);return a.useEffect(()=>()=>h(),[h]),a.useEffect(()=>{if(u&&p){let e=e=>x(e,p),t=e=>x(e,u);return u.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[u,p,x,h]),a.useEffect(()=>{if(d){let e=e=>{let t=e.target,a={x:e.clientX,y:e.clientY},r=u?.contains(t)||p?.contains(t),s=!function(e,t){let{x:a,y:r}=e,s=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let n=t[e],l=t[i],o=n.x,d=n.y,c=l.x,u=l.y;d>r!=u>r&&a<(c-o)*(r-d)/(u-d)+o&&(s=!s)}return s}(a,d);r?h():s&&(h(),m())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,p,d,m,h]),(0,t.jsx)(U,{...e,ref:o})}),[I,B]=x(k,{isInside:!1}),_=(0,m.createSlottable)("TooltipContent"),U=a.forwardRef((e,r)=>{let{__scopeTooltip:s,children:i,"aria-label":l,onEscapeKeyDown:d,onPointerDownOutside:c,...u}=e,m=P(z,s),p=b(s),{onClose:f}=m;return a.useEffect(()=>(document.addEventListener(y,f),()=>document.removeEventListener(y,f)),[f]),a.useEffect(()=>{if(m.trigger){let e=e=>{let t=e.target;t?.contains(m.trigger)&&f()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[m.trigger,f]),(0,t.jsx)(n.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:d,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:f,children:(0,t.jsxs)(o.Content,{"data-state":m.stateAttribute,...p,...u,ref:r,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,t.jsx)(_,{children:i}),(0,t.jsx)(I,{scope:s,isInside:!0,children:(0,t.jsx)(h,{id:m.contentId,role:"tooltip",children:l||i})})]})})});O.displayName=z;var F="TooltipArrow",$=a.forwardRef((e,a)=>{let{__scopeTooltip:r,...s}=e,i=b(r);return B(F,r).isInside?null:(0,t.jsx)(o.Arrow,{...i,...s,ref:a})});$.displayName=F;var W=e.i(632137);function V({delayDuration:e=0,...a}){return(0,t.jsx)(N,{"data-slot":"tooltip-provider",delayDuration:e,...a})}function H({...e}){return(0,t.jsx)(V,{children:(0,t.jsx)(S,{"data-slot":"tooltip",...e})})}function G({...e}){return(0,t.jsx)(E,{"data-slot":"tooltip-trigger",...e})}function q({className:e,sideOffset:a=0,children:r,arrowClassName:s,contentWrapperClassName:i,...n}){return(0,t.jsx)(L,{children:(0,t.jsxs)(O,{"data-slot":"tooltip-content",sideOffset:a,className:(0,W.cn)("bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-40 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",e),...n,children:[(0,t.jsx)("div",{className:(0,W.cn)(i),children:r}),(0,t.jsx)($,{className:(0,W.cn)("bg-primary fill-primary z-40 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]",s)})]})})}e.s(["Tooltip",()=>H,"TooltipContent",()=>q,"TooltipProvider",()=>V,"TooltipTrigger",()=>G],181241)},299265,e=>{"use strict";var t=e.i(572256),a=e.i(520606),r=e.i(291471),s=e.i(19312),i=e.i(618384),n=e.i(632137),l=e.i(981831),o=e.i(181241);e.s(["AdDisclosure",0,({domain:e})=>{let{t:d}
1=(0,a.useTranslate)(),[c,u]=(0,s.useState)(!1),m=(0,n.getAdDisclosureTranslation)(e);return(0,t.jsx)(o.TooltipProvider,{children:(0,t.jsxs)(o.Tooltip,{open:c,onOpenChange:u,children:[(0,t.jsx)(o.TooltipTrigger,{asChild:!0,onClick:e=>e.preventDefault(),onPointerDown:e=>e.preventDefault(),onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:(0,t.jsxs)(l.Button,{variant:"link",className:"flex items-center gap-2 text-white text-sm !p-0 w-fit",onClick:()=>u(!c),children:[d("common.advertiserDisclosureLabel"),(0,t.jsx)(r.ChevronRight,{strokeWidth:4})]})}),(0,t.jsx)(o.TooltipContent,{className:"max-w-[300px]",onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:(0,t.jsx)("div",{className:"!text-card [&_a]:!text-card [&_a]:underline",children:(0,t.jsx)(i.default,{html:d(m)})})})]})})}])},895949,e=>{"use strict";var t=e.i(572256),a=e.i(520606),r=e.i(291471),s=e.i(19312),i=e.i(618384),n=e.i(981831),l=e.i(181241);e.s(["WhyTrustUs",0,()=>{let{t:e}=(0,a.useTranslate)(),[o,d]=(0,s.useState)(!1),c=e("websiteSettings.whyTrustUs");return"websiteSettings.whyTrustUs"===c?null:(0,t.jsx)(l.TooltipProvider,{children:(0,t.jsxs)(l.Tooltip,{open:o,onOpenChange:d,children:[(0,t.jsx)(l.TooltipTrigger,{asChild:!0,onClick:e=>e.preventDefault(),onPointerDown:e=>e.preventDefault(),onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:(0,t.jsxs)(n.Button,{variant:"link",className:"flex items-center gap-2 text-white text-sm !p-0 w-fit",onClick:()=>d(!o),children:[e("common.whyTrustUsLabel"),(0,t.jsx)(r.ChevronRight,{strokeWidth:4})]})}),(0,t.jsx)(l.TooltipContent,{className:"max-w-[300px]",onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:(0,t.jsx)("div",{className:"!text-card [&_a]:!text-card [&_a]:underline",children:(0,t.jsx)(i.default,{html:c})})})]})})}])},468659,e=>{"use strict";var t=e.i(19312);e.s(["default",0,(e="US")=>{let[a,r]=(0,t.useState)([e,"","loading"]),s=(0,t.useRef)(!1),i=(0,t.useCallback)(async()=>{if(s.current)return;let t=e,a="";try{let r=await fetch("/api/user-localisation");if(!r.ok)throw Error("Network response was not ok");let s=await r.json();t=s?.country||e,a=s?.region||""}catch(e){console.error("Error fetching user location:",e)}r([t,a,"loaded"])},[s.current,e]);return(0,t.useEffect)(()=>{let t=document.cookie.split("; "),a=t.find(e=>e.startsWith("user-location="))?.split("=")[1];if(a){let t=JSON.parse(decodeURIComponent(a));if(!t?.country)return void i();r([t?.country||e,t?.region||"","loaded"])}else s.current||i();s.current=!0},[]),a}])},293570,e=>{"use strict";var t=e.i(572256),a=e.i(19312),r=e.i(468659),s=e.i(632137),i=e.i(981831),n=e.i(398700),l=e.i(761290);e.s(["default",0,({href:e,className:o,blockedStringTemplate:d,blockedCountries:c=[],children:u,variant:m,...p})=>{let[f,h]=(0,a.useState)(!1),[x]=(0,r.default)();return((0,a.useEffect)(()=>{x&&0!==c.length&&h(c.includes(x))},[x]),f)?(0,t.jsx)(i.Button,{variant:"destructive",className:`cursor-not-allowed ${o}`,children:(0,t.jsx)(l.default,{itemKey:d,variables:{country:x||""}})}):e?(0,t.jsx)(i.Button,{asChild:!0,variant:m,className:(0,s.cn)(o),...p,children:(0,t.jsx)(n.Link,{target:"_blank",href:e,children:u})}):(0,t.jsx)(i.Button,{variant:m,className:(0,s.cn)(o),...p,children:u})}])},661615,e=>{"use strict";let t=(0,e.i(688094).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",()=>t])},244739,e=>{"use strict";var t=e.i(661615);e.s(["Info",()=>t.default])},290085,e=>{"use strict";var t=e.i(572256),a=e.i(181241),r=e.i(244739),s=e.i(19312);e.s(["default",0,({welcomeBonusDisclaimer:e})=>
1{let[i,n]=(0,s.useState)(!1),[l,o]=(0,s.useState)(!1),d=(0,s.useRef)(null),c=(0,s.useRef)(null),u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=()=>{if(d.current){let e=d.current;o(e.scrollHeight>e.clientHeight)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[e]),(0,s.useEffect)(()=>{let e=e=>{let t=e.target,a=c.current&&c.current.contains(t),r=u.current&&u.current.contains(t);a||r||n(!1)};return i&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[i]),(0,t.jsx)(t.Fragment,{children:l?(0,t.jsx)(a.TooltipProvider,{children:(0,t.jsxs)(a.Tooltip,{open:i,onOpenChange:()=>{},children:[(0,t.jsx)(a.TooltipTrigger,{asChild:!0,onClick:e=>e.preventDefault(),onPointerDown:e=>e.preventDefault(),onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:(0,t.jsxs)("div",{ref:c,className:"flex items-center gap-1 cursor-pointer",onClick:()=>n(!i),children:[(0,t.jsx)("p",{ref:d,className:"text-xs text-center line-clamp-1 break-all",children:e}),(0,t.jsx)(r.Info,{className:"w-3 h-3 flex-shrink-0"})]})}),(0,t.jsx)(a.TooltipContent,{ref:u,side:"bottom",className:"max-w-xs",onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),children:(0,t.jsx)("p",{className:"text-xs break-all",children:e})})]})}):(0,t.jsx)("p",{ref:d,className:"text-xs text-center line-clamp-1 break-all",children:e})})}])},283630,e=>{"use strict";var t=e.i(572256),a=e.i(165467),r=e.i(89),s=e.i(19312);let i={sports:"4x0Zko9cAzHgr5m0bMSrWF",casino:"4kPPIp3UObWaCi2jTctZGW",sweepstakes:"20cpvYpMfBYWRJWngfsvFI"};e.s(["default",0,({type:e,variation:n,className:l,loadingStrategy:o="afterInteractive"})=>{let[d,c]=(0,s.useState)(!1),u=i[e];return(0,t.jsxs)("div",{className:l,children:[d&&(0,t.jsx)("oc-offers-widget",{"vc-id":u,variation:n,geotargeting:"","inherit-font-family":"",theme:"confido"}),(0,t.jsx)(a.default,{children:(0,t.jsx)(r.default,{id:`oddschecker-widget-${o}`,src:"https://widgets.oddschecker.com/static/oc-offers-widget/index.js",type:"module",strategy:o,onLoad:()=>{c(!0)}},`oddschecker-widget-${o}`)})]})}])},284425,e=>{"use strict";var t=e.i(572256),a=e.i(478491),r=e.i(19312);e.s(["default",0,({players:e})=>{let[s,i]=(0,r.useState)(!1),[n,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=()=>{l(window.innerWidth<768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let o=n?4:16,d=e.length>o,c=s?e:e.slice(0,o);return(0,t.jsxs)("section",{children:[(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:c.map((e,r)=>(0,t.jsxs)("div",{className:"bg-white border border-gray-200 rounded-lg overflow-hidden shadow-sm hover:shadow-md transition-shadow flex flex-col",children:[(0,t.jsx)("div",{className:"relative w-full aspect-[3/4] bg-gray-100 overflow-hidden",children:(0,t.jsx)(a.default,{src:e.imageUrl,alt:e.name,fill:!0,className:"object-cover",sizes:"(max-width: 768px) 50vw, (max-width: 1024px) 33vw, 25vw",unoptimized:!0})}),(0,t.jsxs)("div",{className:"p-3 flex-1 flex flex-col justify-start",children:[(0,t.jsx)("h3",{className:"font-semibold text-base mb-1 line-clamp-2",children:e.name}),(0,t.jsx)("p",{className:"text-sm text-gray-600",children:e.yearsPlayed})]})]},r))}),d&&(0,t.jsx)("div",{className:"mt-6 text-center",children:(0,t.jsx)("button",{onClick:()=>i(!s),className:"px-6 py-2 bg-primary text-card rounded-lg hover:bg-primary/90 transition-colors font-medium",children:s?"Show Less":"See More"})})]})}])},417824,e=>{"use strict";let t=(0,e.i(688094).default)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);e.s(["default",()=>t])},35305,(e,t,a)=>{"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},561227,(e,t,a)=>{"use strict";var r=e.r(35305);function s(){}function i(){}i.resetWarningCache=s,t.exports=function(){function e(e,t,a,s,i,n){if(n!==r){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
1:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:s};return a.PropTypes=a,a}},304153,(e,t,a)=>{t.exports=e.r(561227)()},292305,e=>{"use strict";var t=e.i(572256),a=e.i(151539),r=e.i(674601),s=e.i(165467);let i=(0,r.default)(()=>e.A(481344).then(e=>e.default),{loadableGenerated:{modules:[666338]}}),n=(0,r.default)(()=>e.A(827455).then(e=>e.default),{loadableGenerated:{modules:[253985]}}),l=(0,r.default)(()=>e.A(105152).then(e=>e.LinkedInEmbed),{loadableGenerated:{modules:[45917]}}),o=(0,r.default)(()=>e.A(105152).then(e=>e.TikTokEmbed),{loadableGenerated:{modules:[45917]}}),d=(0,r.default)(()=>e.A(105152).then(e=>e.TwitterEmbed),{loadableGenerated:{modules:[45917]}}),c=(0,r.default)(()=>e.A(832637),{loadableGenerated:{modules:[448539]}});(0,r.default)(()=>e.A(982739),{loadableGenerated:{modules:[173948]}}),e.s(["default",0,e=>{let{source:r,config:u,className:m=""}=e;return r?(0,t.jsx)(s.default,{children:(0,t.jsxs)("div",{className:m,children:["infogram"===r&&u.infogramId&&(0,t.jsx)(n,{infogramId:u.infogramId,title:""}),"linkedinPost"===r&&u.linkedinUrl&&(0,t.jsx)(l,{url:"",postUrl:u.linkedinUrl,width:325,height:570}),"tiktok"===r&&u.tiktokUrl&&(0,t.jsx)(o,{url:u.tiktokUrl}),"twitterTweet"===r&&u.tweetUrl&&(0,t.jsx)(d,{url:u.tweetUrl}),"youtube"===r&&u.youtubeUrl&&(0,t.jsx)(c,{url:u.youtubeUrl,websiteConfig:e.websiteConfig,pageUrl:e.pageUrl,videoDetails:e.videoDetails}),"tradingview"===r&&u.embedCode&&(0,t.jsx)(i,{embedCode:(0,a.decode)(u?.embedCode||"")})]})}):null}])},908876,169394,e=>{"use strict";var t=e.i(572256),a=e.i(398700),r=e.i(172863),s=e.i(477130);let i=e=>{let{tags:r,className:i=""}=e;return(0,t.jsx)("div",{className:`flex flex-wrap gap-1 ${i}`,children:r.map(e=>(0,t.jsx)(a.Link,{href:e.url||"#",children:(0,t.jsx)(s.Badge,{variant:"outline",className:"rounded-full",children:e.name})},e.slug))})};e.s(["default",0,i],169394);var n=e.i(16618),l=e.i(234805),o=e.i(19312);function d({options:e,items:s,websiteConfig:d}){let[c,u]=(0,o.useState)(!1),m=s.slice(7),p=c?m:m.slice(0,6),f=m.length>6;return(0,t.jsx)("div",{className:"pb-8 pt-4",children:(0,t.jsx)("div",{className:"border bg-card p-4 lg:p-6 rounded-md",children:(0,t.jsxs)("div",{className:"flex flex-col gap-3",children:[p.map((s,o)=>{let c,u=[s?.primaryTag,...s?.tags||[]].filter(Boolean),m=e?.displayTags&&u?.length&&u?.length>0;return(0,t.jsx)("div",{className:"border-b border-border pb-4 last:border-b-0 last:pb-0",children:(0,t.jsxs)("div",{className:"flex",children:[e?.displayMedia!=="none"&&s?.featuredImage&&(0,t.jsx)(a.Link,{prefetch:!1,href:s?.urlPathWithAncestry,children:(0,t.jsx)(r.default,{usage:"content-card-lateral-sm",url:s?.featuredImage?.url,alt:s?.title,imageClassName:"h-[100px] w-[120px] min-w-[120px] lg:h-[110px] lg:w-[160px] lg:min-w-[160px] mr-3 rounded-md object-cover",websiteConfig:d})}),(0,t.jsxs)("div",{className:"flex flex-col flex-1 gap-2",children:[!!m&&(0,t.jsx)(i,{tags:u?.slice(0,2),className:"mb-1 text-xs"}),(0,t.jsx)("div",{children:(0,t.jsx)(a.Link,{prefetch:!1,href:s?.urlPathWithAncestry,className:"no-inherit hover:underline group-hover:underline !text-foreground",children:(0,t.jsx)(n.default,{level:5,className:"font-body-bold leading-tight line-clamp-2 text-sm lg:text-base",children:s?.title})})}),e?.displayExcerpts&&s?.excerpt&&(0,t.jsx)("div",{className:"line-clamp-2 text-muted-foreground/70 text-xs lg:text-sm leading-relaxed",children:s?.excerpt}),e?.displayDate&&s?.updatedAt&&(0,t.jsx)("div",{className:"font-body-medium tracking-widest uppercase text-xxs text-muted-foreground/60 mt-auto",children:(c=s.updatedAt,(0,l.formatDate)(c,"MMM d, yyyy h:mm a")+" ET")})]})]})},o)}),f&&!c&&(0,t.jsx)("div",{className:"pt-4 border-t border-border mt-2",children:(0,t.jsx)("button",{onClick:()=>u(!0),className:"cursor-pointer w-full py-3 px-4 bg-background border border-border rounded-md hover:bg-muted/50 transition-colors duration-200 text-sm font-medium text-foreground hover:text-foreground/80",children:"More news"})})]})})})}e.s(["default",()=>d],908876)},141684,900389,e=>{"use strict";var t=e.i(19312);e.i(759129);var a=e.i(154557),r=e.i(572256);function s(e){var s;let i,l=(s=e,(i=t.forwardRef((e,r)=>{let{children:s,...i}=e;if(t.isValidElement(s)){var n;let e,l,o=(n=s,(l=(e=Object.getOwnPropertyDescriptor(n.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?n.ref:(l=(e=Object.getOwnPropertyDescriptor(n,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?n.props.ref:n.props.ref||n.ref),d=function(e,t){let a={...t};for(let r in t){let s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?a[r]=(...e)=>{let t=i(...e);return s(...e),t}:s&&(a[r]=s):"style"===r?a[r]={...s,...i}:"className"===r&&(a[r]=[s,i].filter(Boolean).join(" "))}return{...e,...a}}(i,s.props);return s.type!==t.Fragment&&(d.ref=r?(0,a.composeRefs)(r,o):o),t.cloneElement(s,d)}return t.Children.count(s)>1?t.Children.only(null):null})).displayName=`${s}.SlotClone`,i),o=t.forwardRef((e,a)=>{let{children:s,...i}=e,o=t.Children.toArray(s),d=o.find(n);if(d){let e=d.props.children,s=o.map(a=>a!==d?a:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(l,{...i,ref:a,children:t.isValidElement(e)?t.cloneElement(e,void 0,s):null})}return(0,r.jsx)(l,{...i,ref:a,children:s})});return o.displayName=`${e}.Slot`,o}var i=Symbol("radix.slottable");function n(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}e.s(["createSlot",()=>s],900389);var l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{let i=s(`Primitive.${a}`),n=t.forwardRef((e,t)=>{let{asChild:s,...n}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(s?i:a,{...n,ref:t})});return n.displayName=`Primitive.${a}`,{...e,[a]:n}},{});e.s(["Primitive",()=>l],141684)},121954,e=>{"use strict";let t=(0,e.i(688094).default)("move-left",[["path",{d:"M6 8L2 12L6 16",key:"kyvwex"}],["path",{d:"M2 12H22",key:"1m8cig"}]]);e.s(["default",()=>t])},53164,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(121954),r=r,s=e.i(687448),i=e.i(19312);e.s(["default",0,({heading:e,stats:n})=>{let l=(0,i.useRef)(null),o=(0,i.useRef)(null),[d,c]=(0,i.useState)(!1),[u,m]=(0,i.useState)(0),[p,f]=(0,i.useState)(0),h=(e,t=!1)=>{if(!o.current||!l.current)return;let a=o.current.getBoundingClientRect(),r=Math.max(0,Math.min((e-a.left)/a.width,1));m(r),l.current.scrollTo({left:r*p,behavior:t?"smooth":"auto"})},x=()=>{c(!1)},g=()=>{if(!l.current)return;let{scrollLeft:e,scrollWidth:t,clientWidth:a}=l.current,r=t-a;r>0&&m(e/r)};return(0,i.useEffect)(()=>{let e=l.current;if(!e)return;let t=()=>{let{scrollWidth:t,clientWidth:a}=e;f(Math.max(0,t-a));let{scrollLeft:r}=e,s=t-a;s>0?m(r/s):m(0)};return e.addEventListener("scroll",g,{passive:!0}),window.addEventListener("resize",t),t(),()=>{e.removeEventListener("scroll",g),window.removeEventListener("resize",t)}},[]),(0,t.jsxs)("section",{"data-slot":"intent-team-key-stats",className:"text-white bg-default-topbar space-y-6 lg:space-y-8",children:[(0,t.jsx)(a.default,{level:2,className:"text-lg lg:text-lg px-4 pt-10 lg:pt-6 !mt-0",children:e}),(0,t.jsx)("div",{ref:l,className:"flex gap-4 overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",onScroll:g,children:(n||[]).map((e,a)=>(0,t.jsxs)("div",{className:"bg-primary pl-4 pr-[46px] py-4 flex gap-4 w-[300px] h-fit shrink-0 first:ml-4 last:mr-4",children:[(0,t.jsx)("p",{className:"text-[48px] font-heading",children:a+1}),(0,t.jsx)("p",{className:"font-semibold",children:e})]},`${a}-${e}`))}),(0,t.jsxs)("div",{className:"lg:flex lg:justify-between",children:[(0,t.jsxs)("div",{className:"gap-4 px-4 hidden lg:flex",children:[(0,t.jsx)(r.default,{className:"cursor-pointer",role:"button",onClick:()=>{if(!l.current)return;let{scrollLeft:e}=l.current;l.current.scrollTo({left:e-300,behavior:"smooth"})}}),(0,t.jsx)(s.MoveRight,{className:"cursor-pointer",role:"button",onClick:()=>{if(!l.current)return;let{scrollLeft:e}=l.current;l.current.scrollTo({left:e+300,behavior:"smooth"})}})]}),(0,t.jsxs)("div",{ref:o,className:"relative h-2 bg-card rounded-full cursor-pointer group mx-4 mb-10 lg:mb-6 lg:w-[177px]",onMouseDown:e=>{e.preventDefault(),c(!0),h(e.clientX)},onMouseMove:e=>{d&&h(e.clientX)},onMouseUp:x,onMouseLeave:x,onClick:e=>{h(e.clientX,!0)},children:[(0,t.jsx)("div",{className:"absolute h-full bg-primary rounded-full",style:{width:`${100*u}%`}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-transparent hover:bg-card/5 rounded-full transition-colors duration-150"})]})]})]})}],53164)},16403,(e,t,a)=>{Object.defineProperty(a,"__esModule",{value:!0});var r=e.r(19312),s=r&&"object"==typeof r&&"default"in r?r:{default:r};!function(e){if(!e||"undefined"==typeof window)return;let t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n  overflow-x: hidden;\n  display: flex;\n  flex-direction: row;\n  position: relative;\n  width: var(--width);\n  transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n  animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n  animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n  background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n  content: "";\n  height: 100%;\n  position: absolute;\n  width: var(--gradient-width);\n  z-index: 2;\n  pointer-events: none;\n  touch-action: none;\n}\n.rfm-overlay::after {\n  right: 0;\n  top: 0;\n  transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n  left: 0;\n  top: 0;\n}\n\n.rfm-marquee {\n  flex: 0 0 auto;\n  min-width: var(--min-width);\n  z-index: 1;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n  animation-play-state: var(--play);\n  animation-delay: var(--delay);\n  animation-direction: var(--direction);\n}\n@keyframes scroll {\n  0% {\n    transform: translateX(0%);\n  }\n  100% {\n    transform: translateX(-100%);\n  }\n}\n\n.rfm-initial-child-container {\n  flex: 0 0 auto;\n  display: flex;\n  min-width: auto;\n  flex-direction: row;\n  align-items: center;\n}\n\n.rfm-child {\n  transform: var(--transform);\n}'),a.default=r.forwardRef(function({style:e={},className:t="",autoFill:a=!1,play:i=!0,pauseOnHover:n=!1,pauseOnClick:l=!1,direction:o="left",speed:d=50,delay:c=0,loop:u=0,gradient:m=!1,gradientColor:p="white",gradientWidth:f=200,onFinish:h,onCycleComplete:x,onMount:g,children:b},v){let[y,j]=r.useState(0),[w,N]=r.useState(0),[k,C]=r.useState(1),[P,S]=r.useState(!1),T=r.useRef(null),E=v||T,A=r.useRef(null),R=r.useCallback(()=>
1{if(A.current&&E.current){let e=E.current.getBoundingClientRect(),t=A.current.getBoundingClientRect(),r=e.width,s=t.width;("up"===o||"down"===o)&&(r=e.height,s=t.height),a&&r&&s?C(s<r?Math.ceil(r/s):1):C(1),j(r),N(s)}},[a,E,o]);r.useEffect(()=>{if(P&&(R(),A.current&&E.current)){let e=new ResizeObserver(()=>R());return e.observe(E.current),e.observe(A.current),()=>{e&&e.disconnect()}}},[R,E,P]),r.useEffect(()=>{R()},[R,b]),r.useEffect(()=>{S(!0)},[]),r.useEffect(()=>{"function"==typeof g&&g()},[]);let D=r.useMemo(()=>a?w*k/d:w<y?y/d:w/d,[a,y,w,k,d]),L=r.useMemo(()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!i||n?"paused":"running","--pause-on-click":!i||n&&!l||l?"paused":"running","--width":"up"===o||"down"===o?"100vh":"100%","--transform":"up"===o?"rotate(-90deg)":"down"===o?"rotate(90deg)":"none"}),[e,i,n,l,o]),z=r.useMemo(()=>({"--gradient-color":p,"--gradient-width":"number"==typeof f?`${f}px`:f}),[p,f]),O=r.useMemo(()=>({"--play":i?"running":"paused","--direction":"left"===o?"normal":"reverse","--duration":`${D}s`,"--delay":`${c}s`,"--iteration-count":u?`${u}`:"infinite","--min-width":a?"auto":"100%"}),[i,o,D,c,u,a]),M=r.useMemo(()=>({"--transform":"up"===o?"rotate(90deg)":"down"===o?"rotate(-90deg)":"none"}),[o]),I=r.useCallback(e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>s.default.createElement(r.Fragment,{key:t},r.Children.map(b,e=>s.default.createElement("div",{style:M,className:"rfm-child"},e)))),[M,b]);return P?s.default.createElement("div",{ref:E,style:L,className:"rfm-marquee-container "+t},m&&s.default.createElement("div",{style:z,className:"rfm-overlay"}),s.default.createElement("div",{className:"rfm-marquee",style:O,onAnimationIteration:x,onAnimationEnd:h},s.default.createElement("div",{className:"rfm-initial-child-container",ref:A},r.Children.map(b,e=>s.default.createElement("div",{style:M,className:"rfm-child"},e))),I(k-1)),s.default.createElement("div",{className:"rfm-marquee",style:O},I(k))):null})},407810,e=>{"use strict";var t=e.i(572256),a=e.i(981831),r=e.i(165467),s=e.i(398700),i=e.i(520606),n=e.i(632137),l=e.i(631904),o=e.i(341260),d=e.i(291471),c=e.i(674601),u=e.i(19312);let m=({label:e,className:a})=>(0,t.jsx)("span",{className:(0,n.cn)("inline-block bg-primary text-card text-xs px-2 py-[4px] rounded-sm",a),children:e}),p=(0,c.default)(()=>e.A(141388),{loadableGenerated:{modules:[643110]}});e.s(["default",0,e=>{let{t:c}=(0,i.useTranslate)(),f=(0,l.createVisitUrl)(e.partnerSlug,{component:"mini-review"}),[h,x]=(0,u.useState)(!1),g=e.heading||e.partnerName,b=e.hideHeading||!1;return(0,t.jsx)(r.default,{children:(0,t.jsxs)("div",{className:`${e.className||""} border border-border rounded`,children:[!b&&(0,t.jsxs)("div",{className:`
2      relative flex items-center bg-mini-review-accent rounded-t border-b border-border py-4 px-4 bg-default-topbar text-white
3    `,children:[e.partnerLogo&&(0,t.jsx)("img",{className:"w-[60px] h-[60px] rounded-full",loading:"lazy",src:(0,l.getOptimisedImageUrl)({url:e.partnerLogo,width:90,height:90},e.websiteConfig),alt:e.partnerName,decoding:"async"}),(0,t.jsxs)("div",{className:"ml-4 font-heading flex flex-col justify-center",children:[e.partnerLabel&&(0,t.jsx)(m,{label:g,className:"mb-2 w-fit"}),(0,t.jsx)("span",{className:"text-xl text-heading leading-1",children:g})]})]}),(0,t.jsxs)("div",{className:"bg-card border-b border-border p-4 pt-8 lg:pt-12 lg:p-8",children:[(0,t.jsx)("div",{className:"flex flex-col gap-4",children:(0,t.jsx)(p,{nl2br:!0,html:e.content,websiteConfig:e.websiteConfig})}),e.isCollapsible&&(0,t.jsx)("div",{className:"flex items-center justify-center mb-0 mt-8",children:(0,t.jsx)(a.Button,{onClick:()=>x(!h),className:"no-inherit h-auto inline-flex items-center justify-center w-[220px] mx-2 rounded-xl bg-transparent text-primary border-primary border hover:text-card",children:(0,t.jsxs)("div",{className:"flex justify-center items-center w-full",children:[(0,t.jsx)("div",{className:"flex-1 w-[90%]",children:c(h?"miniReview.closeContent":"miniReview.expandContent")}),(0,t.jsx)(o.ChevronDown,{className:(0,n.cn)("ml-2 w-[10%] transition-transform",h&&"rotate-180")}
3)]})})})]}),e.isCollapsible&&e.collapsibleContent&&h&&(0,t.jsx)("div",{className:"p-8 bg-card",style:{willChange:"height"},children:(0,t.jsx)(p,{nl2br:!0,html:e.collapsibleContent,websiteConfig:e.websiteConfig})}),(0,t.jsx)("div",{className:"bg-mini-review-accent rounded-b px-2 py-4 lg:px-4 lg:py-8 bg-default-topbar",children:(0,t.jsxs)("div",{className:"flex flex-wrap justify-center -mb-4",children:[e.reviewLinkHref&&(0,t.jsx)(a.Button,{className:"no-inherit h-auto inline-flex items-center justify-center w-[220px] mx-2 rounded-xl bg-transparent text-primary border-primary border hover:text-card group bg-card",asChild:!0,children:(0,t.jsxs)(s.Link,{href:e.reviewLinkHref,className:(0,n.cn)("h-auto inline-flex items-center justify-center min-w-full xs:min-w-[275px] mb-4 mx-2"),children:[(0,t.jsx)("p",{className:"text-primary group-hover:text-card",children:c("miniReview.reviewLinkText")}),(0,t.jsx)(d.ChevronRight,{className:"ml-2"})]})}),(0,t.jsx)(a.Button,{className:"h-auto rounded-xl py-4 px-8",asChild:!0,children:(0,t.jsxs)(s.Link,{href:f,className:(0,n.cn)("inline-flex items-center justify-center min-w-full xs:min-w-[275px] mb-4 mx-2"),rel:"nofollow noopener",target:"_blank",children:[(0,t.jsx)("p",{className:"text-card",children:c("miniReview.ctaText")}),(0,t.jsx)(d.ChevronRight,{className:"ml-2 text-card"})]})})]})})]})})}],407810)},238138,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(632137),s=e.i(631904),i=e.i(478491),n=e.i(19312);e.s(["default",0,({headToHeadData:e,numberOfmatches:l=6,websiteConfig:o})=>{let d=(0,n.useMemo)(()=>{let t=e.matches?.slice(0,l),a=e.homeTeam.teamName,r=e.awayTeam.teamName,s=0,i=0,n=0;t?.forEach(e=>{let t=e.homeTeamScore>e.awayTeamScore,l=e.homeTeamScore<e.awayTeamScore;e.homeTeamName===a?t?s++:l?i++:n++:e.homeTeamName===r&&(t?i++:l?s++:n++)});let o=(l||t?.length)-n;return{homeTeamWinPercentage:Math.round(s/o*100),awayTeamWinPercentage:Math.round(i/o*100),drawsPercentage:Math.round(n/o*100)}},[e.matches]),c=d.homeTeamWinPercentage>d.awayTeamWinPercentage;return(0,t.jsxs)("section",{className:"intent-teams-head-to-head-stats",children:[(0,t.jsx)(a.default,{level:2,className:"mb-4 lg:mb-6",children:e.heading}),(0,t.jsxs)("div",{className:"flex flex-col justify-between bg-card px-4 py-6 gap-6 ",children:[(0,t.jsxs)("div",{className:"flex justify-between relative lg:gap-10",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between basis-5/12 lg:basis-auto lg:w-full",children:[!!e.homeTeam.teamLogo&&!!o&&(0,t.jsx)(i.default,{className:"size-14 object-contain",src:(0,s.getOptimisedImageUrl)({url:e.homeTeam.teamLogo,width:112,height:112},o),alt:e.homeTeam.teamName,width:56,height:56,unoptimized:!0}),(0,t.jsx)("div",{className:"flex items-end justify-center min-h-[2.8125rem] mb-6",children:(0,t.jsx)("p",{className:"mb-0 font-heading text-lg text-center",children:e.homeTeam.teamName})}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("div",{className:"w-full h-[6px] relative bg-muted mb-4 rounded-full",children:(0,t.jsx)("div",{style:{width:`${d.homeTeamWinPercentage}%`},className:(0,r.cn)("absolute bg-destructive h-full rounded-full",{"bg-primary":c})})}),(0,t.jsxs)("p",{className:"text-center font-semibold",children:[d.homeTeamWinPercentage,"%"]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between basis-5/12 lg:basis-auto lg:w-full",children:[!!e.awayTeam.teamLogo&&!!o&&(0,t.jsx)(i.default,{className:"size-14 object-contain",src:(0,s.getOptimisedImageUrl)({url:e.awayTeam.teamLogo,width:112,height:112},o),alt:e.awayTeam.teamName,width:56,height:56,unoptimized:!0}),(0,t.jsx)("div",{className:"flex items-end justify-center min-h-[2.8125rem] mb-6",children:(0,t.jsx)("p",{className:"mb-0 font-heading text-lg text-center",children:e.awayTeam.teamName})}),(0,t.jsxs)("div",{className:"w-full",children:[(0,t.jsx)("div",{className:"w-full h-[6px] relative bg-muted mb-4 rounded-full",children:(0,t.jsx)("div",{style:{width:`${d.awayTeamWinPercentage}%`},className:(0,r.cn)("absolute bg-destructive h-full rounded-full",{"bg-primary":!c})})}),(0,t.jsxs)("p",{className:"text-center font-semibold",children:[d.awayTeamWinPercentage,"%"]})]})]})]}),(0,t.jsx)("div",{children:(e.matches?.slice?.(0,l)||[]).map(e=>(0,t.jsxs)("div",{className:"border-b py-3 last:border-b-0",children:[(0,t.jsx)("div",{className:"mb-4",children:(0,t.jsx)("p",{className:"text-sm text-muted-foreground
3/60 text-center",children:new Date(e.matchDate?.value).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})})}),(0,t.jsxs)("div",{className:"flex justify-between gap-4",children:[(0,t.jsx)("p",{className:"basis-5/12 text-left",children:e.homeTeamName}),(0,t.jsxs)("p",{className:(0,r.cn)("font-heading text-lg whitespace-nowrap"),children:[e.homeTeamScore," : ",e.awayTeamScore]}),(0,t.jsx)("p",{className:"basis-5/12 text-right",children:e.awayTeamName})]})]},e.id))})]})]})}])},640409,e=>{"use strict";var t=e.i(260229);e.s(["ChevronUp",()=>t.default])},418427,e=>{"use strict";let t=(0,e.i(688094).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["default",()=>t])},429775,e=>{"use strict";var t=e.i(418427);e.s(["MapPin",()=>t.default])},560875,e=>{"use strict";var t=e.i(296391);e.s(["Circle",()=>t.default])},911109,e=>{"use strict";var t=e.i(572256),a=e.i(632137),r=e.i(341260),s=e.i(640409),i=e.i(560875),n=e.i(429775),l=e.i(19312);let o=({item:e,itemCount:l,index:o,isExpanded:d,onToggle:c})=>{let u=0===o,m=o===l-1,p=!u&&!m,f=o%2!=0;return(0,t.jsxs)("div",{className:(0,a.cn)("flex md:gap-4",{"mb-0.5":u,"mt-0.5":m,"my-0.5":p}),children:[(0,t.jsx)("div",{className:"relative timeline-container",children:(0,t.jsxs)("div",{className:(0,a.cn)("flex items-center justify-center w-8 h-full",{"flex-col":u||m,"justify-start":m}),children:[(0,t.jsx)("div",{className:(0,a.cn)("flex bg-background rounded-full absolute top-0",{"top-0 mt-6 flex text-center":p||m,"justify-start":m,"mt-6.5":u}),children:m?(0,t.jsx)(n.MapPin,{className:"text-[48px] text-primary"}):(0,t.jsx)(i.Circle,{className:"text-[40px] flex items-center justify-center text-border"})}),(0,t.jsx)("div",{className:(0,a.cn)("h-full border border-dashed border-border",{"h-6":m})})]})}),(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col w-full gap-2 rounded",{"-mb-4 mt-2 p-4":m,"my-2 p-4":p||u,"bg-muted":f,"border border-muted":!f}),children:[(0,t.jsxs)("button",{onClick:c,className:(0,a.cn)("flex justify-between items-center w-full gap-2 cursor-pointer hover:opacity-80 transition-opacity text-left"),children:[(0,t.jsx)("div",{className:"font-semibold text-foreground w-24 shrink-0",children:e.title}),(0,t.jsx)("div",{className:"flex items-center gap-2",children:d?(0,t.jsx)(s.ChevronUp,{className:"w-5 h-5 shrink-0"}):(0,t.jsx)(r.ChevronDown,{className:"w-5 h-5 shrink-0"})})]}),d&&e.time&&(0,t.jsx)("div",{className:"text-justify mt-2 md:ml-0 ml-0",children:(e=>{if(!e)return null;let a=e.match(/[^.!?]+[.!?]+/g)||[e],r=[];for(let e=0;e<a.length;e+=2){let t=a.slice(e,e+2).join(" ").trim();r.push(t)}return r.map((e,a)=>(0,t.jsx)("p",{className:a>0?"mt-2":"",children:e},a))})(e.time)})]})]})};e.s(["default",0,e=>{let{timelineItems:r}=e,[s,i]=(0,l.useState)(new Set(r[0]?.id?[r[0].id]:[]));return(0,t.jsxs)("div",{className:(0,a.cn)("my-4 p-4 lg:p-6 bg-card flex flex-col gap-3 [&_.timeline-container]:-ml-2 md:[&_.timeline-container]:ml-0","bg-card text-card-foreground flex flex-col gap-6 border py-6 shadow-sm"),children:[(0,t.jsx)("h2",{className:"font-heading text-2xl lg:text-3xl font-[500] leading-[1.1]",children:"Historical Moments"}),(0,t.jsx)("div",{className:"container max-md:!px-0",children:(0,t.jsx)("div",{className:(0,a.cn)({"flex gap-8 flex-col":0!==r.length}),children:0!==r.length&&(0,t.jsx)("div",{className:"flex-auto basis-auto",children:(0,t.jsx)("div",{className:"flex flex-col my-4",children:r.map((e,a)=>(0,t.jsx)("div",{children:(0,t.jsx)(o,{item:e,itemCount:r.length,index:a,isExpanded:s.has(e.id),onToggle:()=>{var t;return t=e.id,void i(e=>{let a=new Set(e);return a.has(t)?a.delete(t):a.add(t),a})}})},e.id||a))})})})})]})}])},190780,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(994978),s=e.i(632137),i=e.i(631904),n=e.i(478491),l=e.i(19312);function o({heading:e,content:o,websiteConfig:d}){let[c,u]=(0,l.useState)("0"),m=e=>({src:(0,i.getOptimisedImageUrl)({url:o[e]?.image,width:644,height:634},d),alt:o[e]?.imageAltText??""});return(0,t.jsx)("section",{className:"py-12 lg:py-20 bg-gradient-to-br from-background via-muted/10 to-background relative left-1/2 -translate-x-1/2 w-screen max-w-[100vw]",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("header",{className:"mb-10 lg:mb-8 text-center lg:text-left",children:(0,t.jsx)(a.default,{level:2,className:"text-3xl lg:text-4xl xl:text-5xl font-bold bg-gradient-to-br from-foreground to-foreground
3/70 bg-clip-text text-transparent",children:e})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-start",children:[(0,t.jsx)("div",{className:"space-y-6",children:(0,t.jsx)(r.Accordion,{type:"single",className:"w-full space-y-4",defaultValue:"0",onValueChange:u,children:o.map((e,a)=>(0,t.jsx)(r.AccordionItem,{value:a.toString(),className:(0,s.cn)("group border border-border rounded-xl bg-card shadow-sm hover:shadow-md transition-all duration-300",{"border-primary/50 shadow-md":c===a.toString(),"opacity-60 hover:opacity-80":c!==a.toString()}),children:(0,t.jsxs)("div",{className:"p-6",children:[(0,t.jsx)(r.AccordionTrigger,{className:"py-0 hover:no-underline",children:(0,t.jsx)("div",{className:"flex items-center gap-4 w-full text-left",children:(0,t.jsx)("span",{className:"text-lg lg:text-xl font-semibold group-hover:text-primary transition-colors",children:e.title})})}),(0,t.jsxs)(r.AccordionContent,{className:"pt-4 pb-0",children:[(0,t.jsx)("figure",{className:"relative w-full aspect-video overflow-hidden rounded-lg mb-4 lg:hidden",children:e.image&&(0,t.jsx)(n.default,{src:(0,i.getOptimisedImageUrl)({url:e.image,width:644,height:362},d),alt:e.imageAltText,className:"w-full h-full object-cover",width:644,height:362,unoptimized:!0,loading:"lazy"})}),(0,t.jsx)("p",{className:"text-muted-foreground leading-relaxed",children:e.description})]})]})},e.title))})}),(0,t.jsx)("aside",{className:"hidden lg:block sticky top-24",children:(0,t.jsxs)("figure",{className:"size-[644px] relative aspect-square overflow-hidden rounded-2xl shadow-xl border border-border/50 bg-muted/20",children:[m(Number(c)).src&&(0,t.jsx)(n.default,{src:m(Number(c)).src,alt:m(Number(c)).alt,width:644,height:644,unoptimized:!0,loading:"lazy",className:"w-full h-full object-cover transition-all duration-500"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/10 via-trans
3parent to-transparent pointer-events-none"})]})})]})]})})}e.s(["default",()=>o])},235237,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(994978),s=e.i(632137),i=e.i(631904),n=e.i(478491),l=e.i(19312);function o({heading:e,content:o,websiteConfig:d}){let[c,u]=(0,l.useState)("0"),m=e=>({src:(0,i.getOptimisedImageUrl)({url:o[e]?.image,width:644,height:634},d),alt:o[e]?.imageAltText??""});return(0,t.jsxs)("section",{className:"py-10 lg:py-12 bg-card container",children:[(0,t.jsx)(a.default,{level:2,className:"mb-8 lg:!hidden text-4xl",children:e}),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row lg:space-x-8 lg:items-center",children:[(0,t.jsxs)("div",{className:"lg:w-1/2 lg:h-[634px] flex flex-col justify-between",children:[(0,t.jsx)(a.default,{level:2,className:"!hidden lg:!block lg:text-5xl",children:e}),(0,t.jsx)(r.Accordion,{type:"single",className:"w-full",defaultValue:"0",onValueChange:u,children:o.map((e,a)=>(0,t.jsxs)(r.AccordionItem,{value:a.toString(),className:(0,s.cn)("py-2 flex flex-col lg:py-8",{"flex-col-reverse":a>0,"opacity-50":c!==a.toString()}),children:[(0,t.jsx)(r.AccordionContent,{className:"pb-0",children:(0,t.jsx)("div",{className:"relative w-full p-2 aspect-[644/398] lg:w-[644px] lg:h-[634px] lg:hidden",children:e.image&&(0,t.jsx)(n.default,{src:(0,i.getOptimisedImageUrl)({url:e.image,width:644,height:398},d),alt:e.imageAltText,className:"w-full h-full object-cover rounded-lg",width:644,height:398,unoptimized:!0,loading:"lazy"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(r.AccordionTrigger,{className:"py-[10px]",children:(0,t.jsx)("p",{className:"text-xl font-medium",children:e.title})}),(0,t.jsx)(r.AccordionContent,{className:"pb-2",children:e.description})]})]},e.title+a))})]}),(0,t.jsx)("div",{className:"hidden lg:block lg:w-1/2",children:(0,t.jsx)("div",{className:"max-w-[644px] h-[634px] relative",children:(0,t.jsx)(n.default,{src:m(Number(c)).src,alt:m(Number(c)).alt,width:644,height:634,unoptimized:!0,loading:"lazy",className:"w-full h-full object-cover rounded-xl"})})})]})]})}e.s(["default",()=>o])},511638,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(981831),s=e.i(398700),i=e.i(259199),n=e.i(631904),l=e.i(781710),o=e.i(341260),d=e.i(19312);function c({heading:e,cards:c,websiteConfig:u}){let[m,p]=(0,d.useState)(!0),f=(0,i.useIsMobile)(),{hasTrailingSlash:h}=u;(0,d.useEffect)(()=>{f?p(!1):p(!0)},[f]);let x=m?c:c.slice(0,3);return(0,t.jsxs)("section",{className:"relative bg-gradient-to-br from-primary via-primary/95 to-primary/90 overflow-hidden left-1/2 right-1/2 -ml-[50vw] -mr-[50vw] w-screen","aria-labelledby":"stacking-cards-heading",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_20%,rgba(255,255,255,0.1),transparent_50%)]"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_70%_80%,rgba(255,255,255,0.08),transparent_50%)]"}),(0,t.jsx)("div",{className:"relative container mx-auto px-4 sm:px-6 lg:px-8 py-12 lg:py-20",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-[1fr_auto] gap-10 lg:gap-16 items-start",children:[(0,t.jsx)("header",{className:"lg:sticky lg:top-24",children:(0,t.jsx)(a.default,{level:2,className:"text-white mb-4 text-4xl lg:text-5xl xl:text-6xl font-bold leading-tight",id:"stacking-cards-heading",children:e})}),(0,t.jsxs)("div",{className:"overflow-x-hidden flex flex-col gap-0 lg:min-w-[580px] lg:max-w-[580px] overflow-y-auto lg:max-h-[600px] [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-thumb]:bg-white/0 hover:[&::-webkit-scrollbar-thumb]:bg-white/30 [&::-webkit-scrollbar-thumb]:rounded-full",role:"list","aria-label":`${e} links`,children:[x.map((e,a)=>(0,t.jsx)("article",{style:{top:`${20*a}px`},className:"sticky pt-5 group",role:"listitem",children:(0,t.jsxs)(s.Link,{href:(e=>{if("partnerVisit"===e.destinationType){let t=(0,n.createVisitUrl)(e.partnerSlug||"",{partnerType:e.partnerType});return t.endsWith("/")&&h?t.slice(0,-1):t}{let t=e.url||"/",a=t.endsWith("/")?t.slice(0,-1):t;return h?a+"/":a}})(e),target:"partnerVisit"===e.destinationType?"_blank":void 0,rel:"partnerVisit"===e.destinationType?"noopener noreferrer":void 0,className:"block relative bg-white/95 backdrop-blur-sm rounded-2xl overflow-hidden border-2 border-white/20 shadow-xl","aria-label":`Visit ${e.title}`,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-trans
3parent to-primary/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),(0,t.jsxs)("div",{className:"relative p-6 lg:p-8 flex items-center justify-between gap-6 h-full",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4 flex-1",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 lg:w-12 lg:h-12 rounded-xl bg-primary/10 flex items-center justify-center",children:(0,t.jsx)("span",{className:"text-primary font-bold text-lg lg:text-xl",children:a+1})}),(0,t.jsx)("h3",{className:"text-xl lg:text-2xl font-bold text-foreground leading-tight flex-1",children:e.title})]}),(0,t.jsx)("div",{className:"flex-shrink-0 w-10 h-10 lg:w-12 lg:h-12 rounded-full bg-primary flex items-center justify-center text-white transform group-hover:translate-x-1 transition-transform duration-300",children:(0,t.jsx)(l.ArrowRight,{className:"w-5 h-5 lg:w-6 lg:h-6","aria-hidden":"true"})})]})]})},e.id)),(0,t.jsx)("div",{className:"hidden lg:block min-h-[400px] pointer-events-none","aria-hidden":"true"}),!m&&c.length>3&&(0,t.jsx)("div",{className:"lg:hidden mt-4",children:(0,t.jsxs)(r.Button,{onClick:()=>p(!0),className:"w-full h-14 rounded-xl bg-white/20 backdrop-blur-sm border-2 border-white/30 hover:bg-white/30 text-white font-semibold text-lg flex items-center justify-center gap-2 transition-all duration-300","aria-label":"Load more links",children:["Show ",c.length-3," more",(0,t.jsx)(o.ChevronDown,{className:"w-5 h-5",strokeWidth:2.5,"aria-hidden":"true"})]})})]})]})})]})}e.s(["default",()=>c])},127377,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(981831),s=e.i(398700),i=e.i(259199),n=e.i(631904),l=e.i(341260),o=e.i(687448),d=e.i(478491),c=e.i(19312);function u({heading:e,cards:u,websiteConfig:m}){let[p,f]=(0,c.useState)(!0),h=(0,i.useIsMobile)(),{hasTrailingSlash:x}=m;(0,c.useEffect)(()=>{h?f(!1):f(!0)},[h]);let g=p?u:u.slice(0,2);return(0,t.jsxs)("section",{className:"relative bg-default-topbar","aria-labelledby":"stacking-cards-heading",children:[(0,t.jsx)(d.default,{src:"/components/pattern-background.png",alt:"Decorative background pattern",width:1440,height:532,className:"w-full h-full absolute top-0 left-0 object-cover object-left",role:"presentation",loading:"lazy"}),(0,t.jsxs)("div",{className:"container py-10 flex flex-col lg:flex-row justify-between lg:py-24 lg:pb-0 lg:h-[532px] lg:gap-[90px] overflow-hidden",children:[(0,t.jsx)(a.default,{level:2,className:"text-white mb-6 text-4xl lg:text-5xl",id:"stacking-cards-heading",children:e}),(0,t.jsxs)("div",{className:"-mt-4 flex flex-col overflow-y-auto overflow-x-hidden shrink-0 relative [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-thumb]:bg-transparent hover:[&::-webkit-scrollbar-thumb]:bg-sidebar-border/50 [&::-webkit-scrollbar-thumb]:rounded-full",role:"list","aria-label":`${e} links`,children:[g.map((e,a)=>(0,t.jsx)("div",{style:{top:`${16*a}px`},className:"sticky pt-4",children:(0,t.jsxs)(s.Link,{href:(e=>{if("partnerVisit"===e.destinationType){let t=(0,n.createVisitUrl)(e.partnerSlug||"",{partnerType:e.partnerType});return t.endsWith("/")&&x?t.slice(0,-1):t}{let t=e.url||"/",a=t.endsWith("/")?t.slice(0,-1):t;return x?a+"/":a}})(e),target:"partnerVisit"===e.destinationType?"_blank":void 0,rel:"partnerVisit"===e.destinationType?"noopener noreferrer":void 0,className:"min-h-[166px] lg:w-[530px] bg-white border-primary border-3 rounded-[6px] flex items-end overflow-hidden relative",role:"listitem","aria-label":`Visit ${e.title}`,children:[(0,t.jsx)(d.default,{src:"/components/pattern-background.png",alt:"Decorative background pattern",width:318,height:166,className:"w-[318px] h-[166px] absolute top-0 right-0 object-cover object-left [filter:brightness(0.5)_saturate(1.2)]",role:"presentation",loading:"lazy"}),(0,t.jsxs)("div",{className:"flex justify-between items-center gap-[30px] p-6 w-full",children:[(0,t.jsx)("p",{className:"text-2xl font-medium font-family-heading leading-8",children:e.title}),(0,t.jsx)("p",{"aria-hidden":"true",children:(0,t.jsx)(o.MoveRight,{strokeWidth:2})})]})]})},e.id)),(0,t.jsx)("div",{className:"hidden lg:block min-h-[332px] pointer-events-none"}),!p&&(0,t.jsxs)(r.Button,{className:"mt-4 pb-[14px] h-[52px] flex items-center space-x-[6px]",onClick:()=>f(!0),"aria-label":"Load more links",children:["Load more",(0,t.jsx)(l.ChevronDown,{strokeWidth:4})]})]})]})]})}e.s(["default",()=>u])},241080,e=>{"use strict";var t=e.i(572256),a=e.i(631904),r=e.i(478491),s=e.i(981831),i=e.i(398700);e.s(["default",0,({homeTeam:e,awayTeam:n,subtitle:l,odds:o,link:d,websiteConfig:c}
3)=>{let u=(n,l)=>{if(l){let o=n===e?l.home:l.away;return(0,t.jsx)(i.Link,{href:(0,a.createVisitUrl)(o.partner.slug),target:"_blank",rel:"noopener noreferrer",className:"z-1 !no-underline",children:(0,t.jsxs)(s.Button,{className:"flex overflow-hidden p-0 h-auto gap-0 w-max min-h-8 md:min-h-10 text-sm md:text-base min-w-22 md:min-w-28 hover:opacity-80",style:{backgroundColor:o.partner.primaryColor},children:[o.partner.squareLogo?.url&&(0,t.jsx)(r.default,{src:(0,a.getOptimisedImageUrl)({url:o.partner.squareLogo.url,width:76,height:76},c),alt:o.partner.name,width:38,height:38,unoptimized:!0,className:"size-[38px] object-cover"}),(0,t.jsx)("div",{className:"text-sm md:text-base w-1/2",children:o.usOddsValue>0?`+${o.usOddsValue}`:o.usOddsValue})]})})}return n.partnerData&&n.oddsValue?(0,t.jsx)(i.Link,{href:(0,a.createVisitUrl)(n.partnerData.slug,{partnerType:"bettingAndGaming"}),target:"_blank",rel:"noopener noreferrer",className:"z-1 !no-underline",children:(0,t.jsxs)(s.Button,{className:"flex overflow-hidden p-0 h-auto gap-0 w-max min-h-8 md:min-h-10 text-sm md:text-base min-w-22 md:min-w-28 hover:opacity-80",style:{backgroundColor:n.partnerData.primaryColor||"#000000"},children:[n.partnerData.logo&&(0,t.jsx)(r.default,{src:(0,a.getOptimisedImageUrl)({url:n.partnerData.logo,width:76,height:76},c),alt:n.partnerData.name,width:38,height:38,unoptimized:!0,className:"size-[38px] object-cover"}),(0,t.jsx)("div",{className:"text-sm md:text-base w-1/2",children:Number(n.oddsValue)>0?`+${n.oddsValue}`:n.oddsValue})]})}):null};return(0,t.jsxs)("div",{className:"flex justify-between p-2 md:p-4 border bg-card relative gap-4 hover:scale-95 trasition-all duration-300",children:[(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between space-y-2 basis-1/3",children:[e.teamLogo&&(0,t.jsx)("div",{className:"size-12",children:(0,t.jsx)(r.default,{src:(0,a.getOptimisedImageUrl)({url:e.teamLogo,width:128,height:128,focus:"center"},c),alt:e.teamName,width:64,height:64,unoptimized:!0,className:"object-cover size-full"})}),(0,t.jsx)("p",{className:"text-center text-sm md:text-base",children:e.shortName}),o?o.map((a,r)=>(0,t.jsx)("div",{className:"z-10",children:u(e,a)},`${a.home.partner.id}-${r}`)):u(e)]}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center basis-1/3 gap-1",children:[(0,t.jsx)("p",{className:"md:text-sm text-xs text-center",children:l||"Moneyline"}),(0,t.jsx)("p",{className:"text-base md:text-lg  font-medium",children:"Win %"}),(0,t.jsx)("div",{className:"relative w-full rounded-full h-3 bg-input/50",children:(0,t.jsx)("div",{className:"h-full rounded-full bg-primary",style:{width:`${e.winProbability}%`}})}),(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsxs)("p",{className:"md:text-sm text-xs",children:[e.winProbability,"%"]}),(0,t.jsxs)("p",{className:"md:text-sm text-xs",children:[n.winProbability,"%"]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-between space-y-2 basis-1/3",children:[n.teamLogo&&(0,t.jsx)("div",{className:"size-12",children:(0,t.jsx)(r.default,{src:(0,a.getOptimisedImageUrl)({url:n.teamLogo,width:128,height:128,focus:"center"},c),alt:n.teamName,width:64,height:64,unoptimized:!0,className:"object-cover size-full"})}),(0,t.jsx)("p",{className:"text-center text-sm md:text-base",children:n.shortName}),o?o.map((e,a)=>(0,t.jsx)("div",{className:"z-10",children:u(n,e)},`${e.away.partner.id}-${a}`)):u(n)]}),d&&(0,t.jsx)(i.Link,{prefetch:!1,href:d,className:"!no-underline !text-black !hover:no-underline w-full h-full absolute top-0 left-0 z-0","aria-label":`View prediction details for ${e.teamName} vs ${n.teamName}`})]})}])},438496,e=>{"use strict";var t=e.i(572256),a=e.i(19312),r=e.i(340904),s=e.i(632137),i=e.i(241080);let n=({data:e,websiteConfig:r})=>{let[n,l]=(0,a.useState)(!0),[o,d]=(0,a.useState)("");return(0,a.useEffect)(()=>{d(window.location.pathname)},[]),(0,t.jsxs)("div",{className:"shadow-card rounded-xl overflow-hidden",children:[(0,t.jsxs)("div",{className:"w-full px-4 py-2 flex items-center justify-between bg-default-topbar",children:[(0,t.jsxs)("div",{className:"flex flex-col items-card",children:[(0,t.jsx)("div",{className:"font-heading text-card",children:e.league?.name}),(0,t.jsxs)("span",{className:"text-sm text-muted",children:[e.items.length," prediction",1!==e.items.length&&"s"]})]}),(0,t.jsxs)("a",{href:`${o}/${e.league?.name.toLowerCase().replace(/\s/g,"-")}`,className:"!no-underline !text-card flex items-center space-x-1",children:["View all"," ",(0,t.jsxs)("span",{className:"hidden md:block ml-[5px]",children:[" ",e.league?.name," predictions"]}),(0,t.jsx)("svg",{className:"w-3 h-3 transition-transform duration-300 text-card -rotate-90",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]}),(0,t.jsx)("div",{className:(0,s.cn)("transition-[max-height,opacity] duration-300 ease-in-out overflow-hidden",{"opacity-100":n,"opacity-0":!n}),children:(0,t.jsx)("div",{className:"p-2 px-1",children:e.items?.length?(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-2",children:e.items.map(e=>{let a;return(0,t.jsx)(i.default,{homeTeam:e.hubData.homeTeam,awayTeam:e.hubData.awayTeam,subtitle:(a=new Date(e.hubData.matchDate)).toLocaleStr
3ing("en-US",{hour:"numeric",minute:"2-digit",hour12:!0})+", "+a.toLocaleString("en-US",{month:"short",day:"numeric"}),odds:e.hubData.odds,link:e.link,websiteConfig:r},e.id)})}):(0,t.jsx)("div",{className:"p-10 w-full flex items-center justify-center text-muted",children:"No predictions available"})})})]})};e.s(["default",0,({predictionData:e,websiteConfig:s})=>{let[i,l]=(0,a.useState)({id:"all",name:"All Leagues"}),o=(0,a.useMemo)(()=>[{id:"all",name:"All Leagues"},...e.items.reduce((e,t)=>(e.some(e=>e.id===t.hubData.league.id)||e.push(t.hubData.league),e),[]).sort((e,t)=>e.name.localeCompare(t.name))],[]),d=(0,a.useMemo)(()=>{if("all"===i.id)return e.items.reduce((e,t)=>{if(e.find(e=>e.league.id===t.hubData.league.id)){let a=e.findIndex(e=>e.league.id===t.hubData.league.id);-1!==a&&e[a]?.items.push(t)}else e.push({league:t.hubData.league,items:[t]});return e},[]).sort((e,t)=>e.league.name.localeCompare(t.league.name));let t=e.items.filter(e=>e.hubData.league.id===i.id),a=t[0];return a?[{league:a.hubData.league,items:t}]:[]},[e,i]);return(0,t.jsx)("section",{className:"flex flex-col gap-3 mt-4",children:d.length?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex items-center justify-end",children:(0,t.jsxs)(r.Select,{value:i.id,onValueChange:e=>{l(o.find(t=>t.id===e)||{id:"all",name:"All Leagues"})},children:[(0,t.jsx)(r.SelectTrigger,{children:(0,t.jsx)(r.SelectValue,{})}),(0,t.jsx)(r.SelectContent,{children:o.map(e=>(0,t.jsx)(r.SelectItem,{value:e.id,children:e.name},e.id))})]})}),d.map((a,r)=>(0,t.jsx)(n,{data:{items:a.items.slice(0,9),sport:e.sport,league:a.league},websiteConfig:s},r))]}):(0,t.jsx)("div",{className:"shadow-card p-10 w-full flex items-center justify-center text-grey-dark",children:"No predictions available"})})}],438496)},486037,e=>{"use strict";let t=(0,e.i(688094).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["default",()=>t])},728152,e=>{"use strict";var t=e.i(486037);e.s(["X",()=>t.default])},789045,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(981831),s=e.i(398700),i=e.i(259199),n=e.i(631904),l=e.i(478491),o=e.i(19312),d=e.i(181241),c=e.i(618384),u=e.i(291471),m=e.i(728152);let p=null,f=new Set,h=({picks:e})=>{let[a,s]=(0,o.useState)(!1),i=(0,o.useRef)(null),n=(0,o.useRef)(`tooltip-${Math.random().toString(36).substring(2)}`),l=()=>{p===n.current&&(p=null),s(!1)};return(0,o.useEffect)(()=>{let e=e=>{e===n.current?s(!0):s(!1)};return f.add(e),()=>{f.delete(e)}},[]),(0,o.useEffect)(()=>{let e=e=>{a&&i.current&&!i.current.contains(e.target)&&(l(),p=null,f.forEach(e=>e(null)))};return a&&document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[a]),(0,t.jsx)(d.TooltipProvider,{children:(0,t.jsx)("div",{ref:i,children:(0,t.jsxs)(d.Tooltip,{open:a,onOpenChange:e=>{(e||!a)&&s(e)},children:[(0,t.jsx)(d.TooltipTrigger,{asChild:!0,onClick:e=>e.preventDefault(),onPointerDown:e=>e.preventDefault(),onPointerMove:e=>e.preventDefault(),children:(0,t.jsxs)(r.Button,{variant:"link",className:"flex items-center space-x-1.5",onClick:()=>a?l():void(p=n.current,f.forEach(e=>e(n.current))),children:[(0,t.jsx)("p",{className:"text-white font-medium",children:"About the pick"}),(0,t.jsx)(u.ChevronRight,{className:"text-white"})]})}),(0,t.jsxs)(d.TooltipContent,{className:"max-w-[340px] lg:max-w-[500px] space-y-2 bg-card text-default-topbar text-base shadow-xl !pr-1 relative",contentWrapperClassName:"space-y-2 max-h-[350px] overflow-y-auto  [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-track]:rounded-full [&::-webkit-scrollbar-thumb]:bg-transparent hover:[&::-webkit-scrollbar-thumb]:bg-sidebar/50 [&::-webkit-scrollbar-thumb]:rounded-full",arrowClassName:"bg-card fill-card",onPointerMove:e=>e.preventDefault(),onPointerLeave:e=>e.preventDefault(),onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),children:[(0,t.jsx)(r.Button,{variant:"ghost",size:"sm",className:"absolute -top-3 -left-3 h-6 w-6 hover:bg-destructive/80 z-10 bg-destructive rounded-full",onClick:e=>{e.stopPropagation(),l()},onMouseDown:e=>e.stopPropagation(),children:(0,t.jsx)(m.X,{className:"h-3 w-3 text-white"})}),e.map((e,a)=>(0,t.jsx)(c.default,{html:e.description},e.id+a))]})]})})})};function x({item:e,heading:d,websiteConfig:c}
3){let[u,m]=(0,o.useState)(!1),p=(0,i.useIsMobile)();if(e?.bestBetsAndPicks?.length)return(0,t.jsxs)("section",{className:"py-4 lg:py-12 border-y-[24px] lg:border-y-[33px] border-background",children:[(0,t.jsx)("div",{className:"flex flex-col space-y-6 lg:flex-row lg:justify-start mb-6 lg:mb-8 container",children:(0,t.jsx)(a.default,{level:2,className:"text-4xl lg:text-5xl font-heading shrink-0",children:d})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3 container",children:[e?.bestBetsAndPicks.slice(0,u||!p?void 0:2).map((e,a)=>(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsxs)("div",{className:"bg-default-topbar h-16 rounded-t-[6px] flex justify-between items-center px-[22px] py-[18px]",children:[(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)("div",{className:"size-7 relative",children:(0,t.jsx)(l.default,{src:(0,n.getOptimisedImageUrl)({url:e.league.logo,width:42,height:42},c),width:28,height:28,alt:e.league.name,unoptimized:!0,className:"object-cover"})}),(0,t.jsx)("p",{className:"font-semibold text-white",children:e.league.name})]}),(0,t.jsx)(h,{picks:e.picks})]}),(0,t.jsxs)("div",{className:"border px-[22px] py-4 rounded-b-[6px] flex flex-col justify-between grow",children:[(0,t.jsxs)("div",{className:"flex justify-between mb-4 space-x-4",children:[(0,t.jsx)("div",{className:"flex flex-col space-y-2",children:e.picks.map((a,r)=>(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("div",{className:"flex space-x-[6px]",children:(0,t.jsxs)("p",{className:"font-semibold",children:[a.pickName," ",(0,t.jsxs)("span",{className:"text-sidebar-border",children:["(",a.oddsValue,")"]})]})}),(0,t.jsx)("p",{className:"text-sm font-semibold shrink-0",children:new Date(e.matchDate.value).toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0,timeZone:e.matchDate.timezone})+", "+new Date(e.matchDate.value).toLocaleString("en-US",{month:"short",day:"numeric",timeZone:e.matchDate.timezone})})]},a.id+r))}),(0,t.jsxs)("div",{className:"space-y-2 shrink-0",children:[(0,t.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,t.jsx)("div",{className:"size-10 relative",children:(0,t.jsx)(l.default,{src:(0,n.getOptimisedImageUrl)({url:e.awayTeam.logo,width:90,height:90},c),alt:e.awayTeam.name,width:40,height:40,unoptimized:!0,className:"object-cover w-full h-full"})}),(0,t.jsx)("div",{className:"size-10 relative",children:(0,t.jsx)(l.default,{src:(0,n.getOptimisedImageUrl)({url:e.homeTeam.logo,width:90,height:90},c),alt:e.homeTeam.name,width:40,height:40,unoptimized:!0,className:"object-cover w-full h-full"})})]}),(0,t.jsxs)("p",{className:"text-sm",children:[e.awayTeam.name," @ ",e.homeTeam.name]})]})]}),(0,t.jsx)("div",{className:"flex flex-col space-y-2",children:e.picks.map((e,a)=>e.partner?(0,t.jsx)(s.Link,{href:e.partner.url,target:"_blank",rel:"noreferrer",className:"hover:!no-underline",children:(0,t.jsxs)(r.Button,{className:"w-full flex justify-center items-center h-auto",style:{backgroundColor:e.partner.primaryColor},children:[(0,t.jsxs)("p",{className:"text-white font-semibold whitespace-pre-line",children:["Bet ",e.pickName]}),(0,t.jsx)("div",{className:"size-7 relative shrink-0",children:(0,t.jsx)(l.default,{src:(0,n.getOptimisedImageUrl)({url:e.partner.squareLogo,width:42,height:42},c),alt:e.partner.name,width:28,height:28,unoptimized:!0,className:"object-cover size-full"})})]})},e.id+a):(0,t.jsx)(r.Button,{variant:"outline",className:"w-full flex justify-center items-center h-auto cursor-default",disabled:!0,children:(0,t.jsx)("p",{className:"font-semibold whitespace-pre-line",children:e.pickName})},e.id+a))})]})]},e.id+a)),!u&&p&&e?.bestBetsAndPicks?.length&&e.bestBetsAndPicks.length>2&&(0,t.jsx)("div",{className:"lg:hidden flex justify-center",role:"button",onClick:()=>m(!0),children:(0,t.jsx)(r.Button,{className:"w-full font-medium",children:"Load more"})})]})]})}e.s(["default",()=>x],789045)},464511,e=>{"use strict";let t=(0,e.i(688094).default)("quote",[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]);e.s(["default",()=>t])},575167,e=>{"use strict";var t=e.i(464511);e.s(["Quote",()=>t.default])},468541,e=>{"use strict";let t=(0,e.i(688094).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["default",()=>t])},411194,e=>{"use strict";let t=(0,e.i(688094).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",()=>t])},114677,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(981831),s=e.i(631904),i=e.i(468541),i=i,n=e.i(291471),l=e.i(575167),o=e.i(478491),d=e.i(19312);function c({heading:e,testimonials:c,websiteConfig:u}){let[m,p]=(0,d.useState)(0),f=c[m];return c&&0!==c.length?(0,t.jsxs)("section",{className:"relative bg-gradient-to-b from-muted/20 via-background to-muted/20 overflow-hidden left-1/2 right-1/2 -ml-[50vw] -mr-[50vw] w-screen",children:[(0,t.jsx)("div",{className:"absolute top-1/2 left-0 w-64 h-64 bg-primary/5 rounded-full blur-3xl -translate-y-1/2"}),(0,t.jsx)("div",{className:"absolute top-1/2 right-0 w-64 h-64 bg-primary/5 rounded-full blur-3xl -translate-y-1/2"}),(0,t.jsxs)("div",{className:"relative py-16 lg:py-24 container mx-auto px-4 sm:px-6 lg:px-8",role:"region","aria-label":"Customer testimonials",children:[(0,t.jsxs)("header",{className:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-6 mb-8 lg:mb-12",children:[(0,t.jsx)(a.default,{level:2,className:"text-3xl lg:text-5xl font-bold mb-2",children:e}),(0,t.jsxs)("nav",{className:"flex items-center gap-3","aria-label":"Testimonial navigation",children:[(0,t.jsx)(r.Button,{disabled:0===m,variant:"outline",className:"rounded-xl w-12 h-12 lg:w-14 lg:h-14 border-2 hover:border-primary hover:bg-primary hover:text-primary-foreground transition-all duration-300 disabled:opacity-30",size:"sm",onClick:()=>{m>0&&p(m-1)},"aria-label":"Previous testimonial",children:(0,t.jsx)(i.default,{className:"size-5 lg:size-6","aria-hidden":"true"})}),(0,t.jsxs)("span",{className:"text-sm font-medium text-muted-foreground px-2",children:[m+1," / ",c.length]}),(0,t.jsx)(r.Button,{disabled:m===c.length-1,variant:"outline",className:"rounded-xl w-12 h-12 lg:w-14 lg:h-14 border-2 hover:border-primary hover:bg-primary hover:text-primary-foreground transition-all duration-300 disabled:opacity-30",size:"sm",onClick:()=>{m<c.length-1&&p(m+1)},"aria-label":"Next testimonial",children:(0,t.jsx)(n.ChevronRight,{className:"size-5 lg:size-6","aria-hidden":"true"})})]})]}),(0,t.jsxs)("article",{className:"relative grid grid-cols-1 lg:grid-cols-[1fr_auto] gap-0 rounded-2xl overflow-hidden shadow-2xl border border-border/50 bg-card",itemScope:!0,itemType:"https://schema.org/Review","aria-live":"polite","aria-atomic":"true",children:[(0,t.jsxs)("div",{className:"relative p-8 lg:p-12 xl:p-16 flex flex-col justify-between min-h-[300px] lg:min-h-[447px]",children:[(0,t.jsx)(l.Quote,{className:"absolute top-6 left-6 size-12 lg:size-16 text-primary/10","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 space-y-8",children:[(0,t.jsx)("blockquote",{className:"text-lg lg:text-xl leading-relaxed whitespace-pre-line text-foreground
3/90",itemProp:"reviewBody",children:f.testimonial}),(0,t.jsx)("footer",{className:"flex items-center gap-4 pt-6 border-t border-border/50",children:(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsxs)("cite",{className:"not-italic",children:[(0,t.jsx)("p",{className:"text-xl lg:text-2xl font-bold font-heading text-foreground",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:(0,t.jsx)("span",{itemProp:"name",children:f.reviewer})}),(0,t.jsx)("p",{className:"text-sm lg:text-base text-muted-foreground font-medium mt-1",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:(0,t.jsx)("span",{itemProp:"jobTitle",children:f.reviewerRole})})]})})})]})]}),f.image&&(0,t.jsxs)("figure",{className:"relative w-full h-64 lg:h-full lg:w-[480px] shrink-0 overflow-hidden",children:[(0,t.jsx)(o.default,{src:(0,s.getOptimisedImageUrl)({url:f.image,width:640,height:560},u),alt:f.imageAltText,width:640,height:560,className:"w-full h-full object-cover transition-transform duration-700 hover:scale-105",itemProp:"image",unoptimized:!0,loading:"lazy"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/20 via-transparent to-transparent pointer-events-none"})]})]}),(0,t.jsx)("div",{className:"flex justify-center gap-2 mt-8",role:"tablist","aria-label":"Testimonial indicators",children:c.map((e,a)=>(0,t.jsx)("button",{onClick:()=>p(a),className:`h-2 rounded-full transition-all duration-300 ${a===m?"w-8 bg-primary":"w-2 bg-muted-foreground/30 hover:bg-muted-foreground/50"}`,"aria-label":`Go to testimonial ${a+1}`,role:"tab","aria-selected":a===m},a))}),(0,t.jsxs)("div",{className:"sr-only","aria-live":"polite","aria-atomic":"true",children:["Showing testimonial ",m+1," of ",c.length]})]})]}):null}e.s(["default",()=>c],114677)},487015,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(981831),s=e.i(631904),i=e.i(411194),i=i,n=e.i(781710),l=e.i(478491),o=e.i(19312);function d({heading:e,testimonials:d,websiteConfig:c}){let[u,m]=(0,o.useState)(0),p=d[u];return d&&0!==d.length?(0,t.jsx)("section",{className:"bg-background",children:(0,t.jsxs)("div",{className:"py-10 space-y-10 lg:py-28 container","aria-label":"Customer testimonials",role:"region",children:[(0,t.jsxs)("div",{className:"flex lg:justify-between items-center lg:mb-18",children:[(0,t.jsx)(a.default,{level:2,className:"text-4xl lg:text-5xl",children:e}),(0,t.jsxs)("nav",{className:"hidden lg:flex space-x-3","aria-label":"Testimonial navigation",children:[(0,t.jsx)(r.Button,{disabled:0===u,className:"rounded-full w-[54px] h-[54px] bg-default-topbar disabled:bg-input",size:"sm",onClick:()=>m(u-1),"aria-label":"Previous testimonial",title:"Previous testimonial",children:(0,t.jsx)(i.default,{className:"size-6","aria-hidden":"true"})}),(0,t.jsx)(r.Button,{disabled:u===d.length-1,className:"rounded-full w-[54px] h-[54px] bg-default-topbar disabled:bg-input",size:"sm",onClick:()=>m(u+1),"aria-label":"Next testimonial",title:"Next testimonial",children:(0,t.jsx)(n.ArrowRight,{className:"size-6","aria-hidden":"true"})})]})]}),(0,t.jsxs)("article",{className:"rounded-[8px] flex flex-col overflow-hidden lg:flex-row",itemScope:!0,itemType:"https://schema.org/Review","aria-live":"polite","aria-atomic":"true",children:[(0,t.jsxs)("div",{className:"p-6 space-y-6 bg-white flex flex-col lg:justify-between lg:min-h-[393px]",children:[(0,t.jsx)("blockquote",{className:"whitespace-pre-line",itemProp:"reviewBody",children:p.testimonial}),(0,t.jsx)("footer",{className:"space-y-2",children:(0,t.jsxs)("cite",{children:[(0,t.jsx)("p",{className:"text-xl font-heading",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:(0,t.jsx)("span",{itemProp:"name",children:p.reviewer})}),(0,t.jsx)("p",{className:"text-sm",itemProp:"author",itemScope:!0,itemType:"https://schema.org/Person",children:(0,t.jsx)("span",{itemProp:"jobTitle",children:p.reviewerRole})})]})})]}),p.image&&(0,t.jsx)("div",{className:"relative w-full h-[213px] lg:w-[640px] lg:h-[393px] shrink-0",children:(0,t.jsx)(l.default,{src:(0,s.getOptimisedImageUrl)({url:p.image,width:640,height:393},c),alt:p.imageAltText,width:640,height:393,className:"w-full h-full object-cover",itemProp:"image",unoptimized:!0,loading:"lazy"})})]}),(0,t.jsxs)("nav",{className:"flex space-x-3 lg:hidden mb-0","aria-label":"Testimonial navigation",children:[(0,t.jsx)(r.Button,{disabled:0===u,className:"rounded-full w-[54px] h-[54px] bg-default-topbar disabled:bg-input",size:"sm",onClick:()=>m(u-1),"aria-label":"Previous testimonial",title:"Previous testimonial",children:(0,t.jsx)(i.default,{className:"size-6","aria-hidden":"true"})}),(0,t.jsx)(r.Button,{disabled:u===d.length-1,className:"rounded-full w-[54px] h-[54px] bg-default-topbar disabled:bg-input",size:"sm",onClick:()=>m(u+1),"aria-label":"Next testimonial",title:"Next testimonial",children:(0,t.jsx)(n.ArrowRight,{className:"size-6","aria-hidden":"true"})})]}),(0,t.jsxs)("div",{className:"sr-only","aria-live":"polite",children:["Testimonial ",u+1," of ",d.length]})]})}):null}e.s(["default",()=>d],487015)},621133,e=>{"use strict";var t=e.i(572256),a=e.i(398700),r=e.i(340904),s=e.i(632137),i=e.i(631904),n=e.i(478491),l=e.i(19312);let o=({bookmakerUrl:e,children:r,className:i,anchorClassName:n})=>(0,t.jsx)(a.Link,{className:(0,s.cn)("!no-underline !text-default-topbar cursor-pointer hover:scale-90 !max-w-30 px-4 py-2 border border-sidebar-border rounded-xl w-full text-xs md:text-sm transition-all duration-300",n),href:e,target:"_blank",rel:"noreferrer",children:(0,t.jsx)("button",{className:(0,s.cn)(i,"w-full cursor-pointer"),children:r})}),d=e=>e?"number"==typeof e&&e>0?`+${e}`:e:void 0,c=(0,l.memo)(({fixture:e,columns:a,partnerRankingOrder:r,oddsType:c,timeZone:m,isLastRow:p,websiteConfig:f})=>{let h,x,g,b=(0,l.useMemo)(()=>Object.values(function(e,t="usValue"){let a={};for(let r of e){let e=r.outcomeName,s=u(r[t]);(!a[e]||s<u(a[e][t]))&&(a[e]=r)}return a}(Object.values(e.bookmakers).reduce((e,t)=>
3{let a=t.odds.filter(e=>e.market===c);return e.push(...a),e},[]))),[e,c]),v=(0,l.useMemo)(()=>a.reduce((a,r)=>{let i=e.bookmakers[r?.partner?.id];if(!i)return a;let n=i.odds.filter(e=>e.market===c),l=(0,t.jsx)("td",{className:"p-2 text-center relative align-top",children:(0,t.jsx)("div",{className:"flex flex-col gap-2 items-center",children:((e,a,r,i,n)=>{let l=(e,t,a=n)=>{let r=t?.oddsValueType==="american"?"usValue":"outcomeValue";return a.find(e)?.[r]===t?.[r]};switch(a){case"HOME_AWAY":case"MATCH_WINNER":{let e=r.find(e=>"HOME"===e.outcomeName),a=r.find(e=>"AWAY"===e.outcomeName),n=r.find(e=>"DRAW"===e.outcomeName),c=l(e=>"HOME"===e.outcomeName,e),u=l(e=>"AWAY"===e.outcomeName,a),m=l(e=>"DRAW"===e.outcomeName,n);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{bookmakerUrl:i,anchorClassName:(0,s.cn)({"bg-primary/5 border-primary":c}),children:d(e?.oddsValue)||"N/A"}),(0,t.jsx)(o,{bookmakerUrl:i,anchorClassName:(0,s.cn)({"bg-primary/5 border-primary":u}),children:d(a?.oddsValue)||"N/A"}),n&&(0,t.jsx)(o,{bookmakerUrl:i,anchorClassName:(0,s.cn)({"bg-primary/5 border-primary":m}),children:d(n?.oddsValue)||"N/A"})]})}case"PUCK_LINE":case"HANDICAP":{let a=r.find(t=>t.outcomeNameRaw.includes(e.homeTeam.shortName)),n=r.find(t=>t.outcomeNameRaw.includes(e.awayTeam.shortName)),c=l(t=>t.outcomeNameRaw.includes(e.homeTeam.shortName),a),u=l(t=>t.outcomeNameRaw.includes(e.awayTeam.shortName),n),m=a?.outcomeNameRaw.split(" ").pop(),p=n?.outcomeNameRaw.split(" ").pop();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o,{className:"flex flex-col justify-center",bookmakerUrl:i,anchorClassName:(0,s.cn)({"bg-primary/5 border-primary":c}),children:[(0,t.jsx)("strong",{children:m}),(0,t.jsx)("span",{className:"text-default-topbar/50",children:d(a?.oddsValue)||"N/A"})]}),(0,t.jsxs)(o,{className:"flex flex-col justify-center",bookmakerUrl:i,anchorClassName:(0,s.cn)({"bg-primary/5 border-primary":u}),children:[(0,t.jsx)("strong",{children:p}),(0,t.jsx)("span",{className:"text-default-topbar/50",children:d(n?.oddsValue)||"N/A"})]})]})}case"TOTAL":case"RESULT_TOTAL_GOALS":return r.map(e=>(0,t.jsxs)(o,{className:"flex flex-col justify-center",bookmakerUrl:i,anchorClassName:(0,s.cn)({"bg-primary/5 border-primary":l(t=>t.outcomeNameRaw===e.outcomeNameRaw,e,n.slice(0,2))}),children:[(0,t.jsx)("strong",{children:e.outcomeNameRaw}),(0,t.jsx)("span",{className:"text-default-topbar/50",children:d(e?.oddsValue)||"N/A"})]},e.id));default:return r.map(e=>(0,t.jsx)(o,{bookmakerUrl:i,children:e.usValue||"N/A"},e.id))}})(e,c,n,i.url,b)})},i.id);return a.push(l),a},[]),[e,a,c,r]),y=(0,l.useMemo)(()=>b.some(e=>"DRAW"===e.outcomeName),[b]);return(0,t.jsxs)("tr",{className:(0,s.cn)("!py-4",{"border-b border-default-topbar/10":!p}),children:[(0,t.jsxs)("td",{className:"sm:p-4 p-2 break-words max-w-34",children:[(0,t.jsxs)("div",{className:"font-heading text-sm md:text-md",children:[(0,t.jsxs)("span",{className:"capitalize",children:[(h=new Date(e.startAt),((g=new Date(x=new Date)).setDate(g.getDate()+1),h.toDateString()===x.toDateString())?"Today":h.toDateString()===g.toDateString()?"Tomorrow":h.toLocaleDateString("en-US",{weekday:"long",month:"long",day:"numeric",timeZone:m})),","," "]}),(0,t.jsx)("span",{children:new Date(e.startAt).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:m})})]}),(0,t.jsx)("div",{className:"text-xs md:text-sm",children:e?.venue})]}),(0,t.jsx)("td",{className:"px-4",children:(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 min-h-[38px]",children:[e?.homeTeam?.data?.logo?.imageUrl&&(0,t.jsx)(n.default,{className:"w-6 h-6 md:w-8 md:h-8 object-scale-down",src:(0,i.getOptimisedImageUrl)({url:e.homeTeam.data.logo.imageUrl,width:64,height:64,focus:"center"},f),alt:e?.homeTeam?.shortName,width:32,height:32,loading:"lazy",unoptimized:!0}),(0,t.jsx)("p",{className:"mb-0 font-heading text-sm md:text-md",children:e.homeTeam.shortName})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[e?.awayTeam?.data?.logo?.imageUrl&&(0,t.jsx)(n.default,{className:"w-6 h-6 md:w-8 md:h-8 object-scale-down",src:(0,i.getOptimisedImageUrl)({url:e.awayTeam.data.logo.imageUrl,width:64,height:64},f),alt:e.awayTeam.shortName,width:32,height:32,loading:"lazy",unoptimized:!0}),(0,t.jsx)("p",{className:"mb-0 font-heading text-sm md:text-md",children:e?.awayTeam?.shortName})]}),y&&(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"w-6 md:w-8"}),(0,t.jsx)("p",{className:"mb-0 font-heading text-sm md:text-md",children:"Draw"})]})]})}),...v]},e.id)});function u(e){return e>0?100/(e+100):Math.abs(e)/(Math.abs(e)+100)}e.s(["default",0,({market:e=[],partnerRankingOrder:o=[],fixtures:d=[],league:u,lastUpdated:m,timeZone:p,websiteConfig:f})=>{let[h,x]=(0,l.useState)(e?.[0]?.value),g=(0,l.useMemo)(()=>{let e="min-w-32 sm:min-w-34 px-4 sm:px-8 py-4 text-sm md:text-md",t=[{className:e,label:"Time"},{className:(0,s.cn)(e),label:"Game"}];return d?.length?[...t,...(d?.reduce((e,t)=>
3{let a=Object.keys(t.bookmakers),r=o.map(e=>t.bookmakers[e?.id]).filter(Boolean),s=a.filter(e=>!r.some(t=>t?.id===e)).map(e=>t.bookmakers[e]),i=[...r,...s],n=i.filter(t=>!e.some(e=>e?.id===t?.id));return e.length?n.length&&e.push(...n):e.push(...i),e},[])).map(t=>({className:(0,s.cn)(e,"sm:!px-4 !min-w-28 sm:!max-w-32 sm:w-auto"),label:t?.name,partner:t}))]:[...t,...[...Array(o?.length)].map((t,a)=>({className:e,label:"Loading...",id:a}))]},[d,h]),b=(0,l.useMemo)(()=>d?.length&&d?.sort((e,t)=>new Date(e.startAt).getTime()-new Date(t.startAt).getTime())||[],[d,h]);return(0,t.jsxs)("section",{className:"flex flex-col gap-2",children:[(0,t.jsx)("div",{className:"flex justify-end px-2",children:(0,t.jsxs)(r.Select,{value:h,onValueChange:e=>x(e),children:[(0,t.jsx)(r.SelectTrigger,{className:"w-[180px]",children:(0,t.jsx)(r.SelectValue,{placeholder:"Select market"})}),(0,t.jsx)(r.SelectContent,{children:e.map(e=>(0,t.jsx)(r.SelectItem,{value:e.value,children:e.label},e.value))})]})}),(0,t.jsx)("div",{className:"px-2",children:(0,t.jsxs)("p",{className:"text-xs md:text-sm text-sidebar-border text-right !mb-0",children:["Last updated:"," ",(0,t.jsx)("span",{children:new Date(m).toLocaleDateString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:p})})]})}),(0,t.jsx)("div",{className:"overflow-auto px-2 !shadow-card",children:(0,t.jsxs)("table",{className:"no-inherit w-full !rounded-xl overflow-auto mt-4 !max-w-[775px] sm:!max-w-[1020px] !p-4",children:[(0,t.jsx)("thead",{className:"border-b border-sidebar-border",children:(0,t.jsx)("tr",{children:g?.map(e=>(0,t.jsx)("th",{className:e.className,children:e?.partner?(0,t.jsx)("div",{className:"flex items-center justify-center",children:(0,t.jsx)(a.Link,{href:e.partner.url,target:"_blank",rel:"noreferrer",children:e?.partner?.logo?(0,t.jsx)(n.default,{src:(0,i.getOptimisedImageUrl)({url:e.partner.logo,width:192,height:64,focus:"center"},f),alt:e.label,width:96,height:32,className:"w-24 h-8 object-contain !rounded-xl",loading:"lazy",unoptimized:!0}):(0,t.jsx)("p",{className:"leading-[normal] text-sm",children:e.label})})}):e.label},e.label))})}),(0,t.jsx)("tbody",{children:b?.length?b.map((e,a)=>(0,t.jsx)(c,{fixture:e,columns:g,partnerRankingOrder:o,oddsType:h||"moneyline",timeZone:p,isLastRow:a===b.length-1,websiteConfig:f},e.id)):(0,t.jsx)("tr",{children:(0,t.jsx)("td",{colSpan:g.length,className:"text-center py-12 text-sidebar-border",children:(0,t.jsxs)("p",{children:["No Available ",u," Odds"]})})})})]})})]})}])},25186,e=>{"use strict";var t=e.i(572256),a=e.i(618384),r=e.i(632137),s=e.i(631904),i=e.i(640409),n=e.i(478491),l=e.i(19312),o=e.i(398700);let d=({pick:e,websiteConfig:a})=>e.partner?(0,t.jsx)(o.Link,{href:e.partner.url||(0,s.createVisitUrl)(e.partner.slug,{partnerType:"bettingAndGaming"}),target:"_blank",rel:"noopener noreferrer",className:"!no-underline",children:(0,t.jsxs)("button",{type:"button",className:"hover:scale-[0.99] cursor-pointer flex p-3 items-center justify-center gap-2 md:gap-4 w-full rounded-xl shadow-xl overflow-hidden text-sm md:text-md font-heading",style:{backgroundColor:e.partner.primaryColor||"#000",color:"white"},children:[(0,t.jsxs)("p",{className:"mb-0",children:["Bet ",e.pickName," on ",e.partner.name]}),e.partner.squareLogo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.partner.squareLogo,width:96,height:96},a),alt:e.partner.name,width:48,height:48,className:"size-12 !rounded-xl",loading:"lazy",unoptimized:!0})]})}):null,c=({pick:e,websiteConfig:s})=>{let[n,o]=(0,l.useState)(!1);return(0,t.jsxs)("section",{className:"tile-footer relative",children:[(0,t.jsx)("div",{className:(0,r.cn)("overflow-hidden flex flex-col gap-4 relative transition-all duration-300 ease-in-out",{"max-h-20 p-0 line-clamp-2 z-1":!n,"max-h-[1000px] pt-6 pb-8":n}),children:(0,t.jsx)(a.default,{html:e.description})}),(0,t.jsx)("div",{className:"z-[2] h-16 w-full bg-gradient-to-t from-card from-30%  to-transparent  mt-[-2.8rem] relative"}),(0,t.jsx)("div",{className:"flex items-center justify-center bg-card relative z-1",children:(0,t.jsxs)("button",{className:"flex items-center gap-2 cursor-pointer text-sm md:text-md text-secondary px-4 py-2",onClick:()=>o(!n),children:[(0,t.jsxs)("p",{className:"mb-0 font-heading underline",children:["Read ",n?"less":"more"]}),(0,t.jsx)(i.ChevronUp,{className:(0,r.cn)("transition-transform duration-300 text-secondary",{"rotate-180":!n})})]})}),(0,t.jsx)(d,{pick:e,websiteConfig:s},e.id)]})},u=({bet:e,hideHeader:a,websiteConfig:r})=>(0,t.jsxs)("div",{className:"rounded-xl shadow-lg overflow-hidden bg-card",children:[!a&&(0,t.jsxs)("div",{className:"bg-default-topbar text-card py-6 px-5 flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"mb-0 font-heading text-md md:text-lg",children:[new Date(e.matchDate.value).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:e.matchDate.timezone}).toUpperCase()," ","-"," ",new Date(e.matchDate.value).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:e.matchDate.timezone})]}),(0,t.jsx)("p",{className:"mb-0 text-xs md:text-sm",children:e.venue})]}),(0,t.jsx)("div",{className:"bg-muted text-primary border border-primary rounded-xl px-4 py-2 text-sm md:text-md",children:"Best bets"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"p-4 flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[e.picks.filter(
3Boolean).map(e=>(0,t.jsxs)("p",{className:"mb-0 text-md md:text-lg font-heading",children:[e.pickName," ",(0,t.jsxs)("span",{className:"font-body-regular text-xs md:text-sm",children:["(",e.oddsValue,")"]})]},e.id+"pick")),(0,t.jsxs)("p",{className:"text-sidebar-border mb-0 text-sm md:text-md",children:[e.awayTeam.name," @ ",e.homeTeam.name]})]}),(0,t.jsxs)("div",{className:"flex items-center flex-shrink-0 gap-2 md:gap-4",children:[e.awayTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.awayTeam.logo,width:112,height:112},r),alt:e.awayTeam.name,width:56,height:56,className:"size-14",loading:"lazy",unoptimized:!0}),e.homeTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.homeTeam.logo,width:112,height:112},r),alt:e.homeTeam.name,width:56,height:56,className:"size-14",loading:"lazy",unoptimized:!0})]})]}),(0,t.jsx)("div",{className:"p-4 flex flex-col gap-2",children:e.picks.filter(e=>e?.partner).map(e=>(0,t.jsx)(c,{pick:e,websiteConfig:r},e.id))})]})]});function m({bet:e,websiteConfig:a}){return(0,t.jsxs)("div",{className:"border border-[#e7e7e7] rounded-xl shadow-lg",children:[(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("div",{className:"basis-1/5 flex items-start justify-center my-auto",children:e.homeTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.homeTeam.logo,width:128,height:128},a),alt:`${e.homeTeam.name} logo`,width:64,height:64,className:"size-16 object-contain",loading:"lazy",unoptimized:!0})}),(0,t.jsxs)("div",{className:"p-2 basis-3/5 text-center font-heading border-x border-[#e7e7e7] flex flex-col items-center justify-center ",children:[(0,t.jsx)("p",{className:"mb-0 text-sm",children:new Date(e.matchDate.value).toLocaleDateString("en-US",{weekday:"long",month:"short",day:"numeric",timeZone:e.matchDate.timezone})}),(0,t.jsx)("p",{className:"mb-0 text-sm",children:new Date(e.matchDate.value).toLocaleTimeString("en-US",{hour:"numeric",minute:"numeric",timeZone:e.matchDate.timezone})}),(0,t.jsx)("p",{className:"mb-0 text-sm",children:e.venue})]}),(0,t.jsx)("div",{className:"basis-1/5 flex items-center justify-center my-auto",children:e.awayTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.awayTeam.logo,width:128,height:128},a),alt:`${e.awayTeam.name} logo`,width:64,height:64,className:"size-16 object-contain",loading:"lazy",unoptimized:!0})})]}),(0,t.jsx)("div",{className:"border-t border-[#e7e7e7] py-2 flex flex-col sm:flex-row justify-center items-center xs:gap-2 md:gap-4 px-2",children:e.picks.map((e,r)=>e.partner?(0,t.jsxs)(o.Link,{href:e.partner.url,target:"_blank",rel:"noreferrer",className:"flex items-center xs:gap-[8px] font-heading !no-underline cursor-pointer !text-[inherit] hover:!text-default-topbar",children:[(0,t.jsxs)("p",{className:"mb-0 text-sm text-center",children:[e.pickName," (",e.oddsValue,")"]}),e.partner.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.partner.logo,width:160,height:64},a),alt:`${e.partner.name} logo`,width:80,height:32,className:"w-20 xs:h-6 h-8 object-cover !rounded-xl",loading:"lazy",unoptimized:!0})]},e.id):(0,t.jsx)("div",{className:"flex items-center xs:gap-[8px] font-heading !text-[inherit]",children:(0,t.jsxs)("p",{className:"mb-0 text-sm text-center",children:[e.pickName," (",e.oddsValue,")"]})},e.id))})]},e.id)}function p({content:e,isCollapsed:s}){return(0,t.jsx)("div",{className:(0,r.cn)("overflow-hidden transition-all duration-300 ease-in-out",{"max-h-0 p-0":!s,"max-h-[1000px] pt-6 pb-8":s}),children:(0,t.jsx)(a.default,{html:e})})}let f=({pick:e,websiteConfig:a})=>{let[s,n]=(0,l.useState)(!1);return(0,t.jsxs)("section",{className:"tile-footer",children:[(0,t.jsx)("div",{className:"w-full flex justify-end",children:(0,t.jsxs)("button",{className:"flex items-center gap-2 cursor-pointer mt-4 mb-2 text-sm md:text-md mr-4 rounded-xl bg-primary text-card shadow-xl px-4 py-2",onClick:()=>n(!s),children:[(0,t.jsx)("p",{className:"mb-0 font-heading",children:"Reasoning"}),(0,t.jsx)(i.ChevronUp,{className:(0,r.cn)("transition-transform duration-300 text-card",{"rotate-180":!s})})]})}),(0,t.jsx)(p,{isCollapsed:s,content:e.description}),(0,t.jsx)(d,{pick:e,websiteConfig:a},e.id)]})},h=({bet:e,websiteConfig:a})=>
3{let r=e.matchDate.value&&e.venue&&e.matchDate.timezone;return(0,t.jsxs)("div",{className:"rounded-xl shadow-lg overflow-hidden",children:[r&&(0,t.jsxs)("div",{className:"bg-default-topbar text-card py-6 px-5 flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"mb-0 font-heading text-md md:text-lg",children:[new Date(e.matchDate.value).toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,timeZone:e.matchDate.timezone}).toUpperCase()," ","-"," ",new Date(e.matchDate.value).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:e.matchDate.timezone})]}),(0,t.jsx)("p",{className:"mb-0 text-xs md:text-sm",children:e.venue})]}),(0,t.jsx)("div",{className:"bg-muted text-primary border border-primary rounded-xl px-4 py-2 text-sm md:text-md",children:"Best bets"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"p-4 flex justify-between items-center",children:[(0,t.jsxs)("div",{children:[e.picks.map(e=>(0,t.jsxs)("p",{className:"mb-0 text-md md:text-lg font-heading",children:[e.pickName," ",(0,t.jsxs)("span",{className:"font-body-regular text-xs md:text-sm",children:["(",e.oddsValue,")"]})]},e.id+"pick")),(0,t.jsxs)("p",{className:"text-sidebar-border mb-0 text-sm md:text-md",children:[e.awayTeam.name," @ ",e.homeTeam.name]})]}),(0,t.jsxs)("div",{className:"flex items-center flex-shrink-0 gap-2 md:gap-4",children:[e.awayTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.awayTeam.logo,width:112,height:112},a),alt:e.awayTeam.name,width:56,height:56,className:"size-14",loading:"lazy",unoptimized:!0}),e.homeTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.homeTeam.logo,width:112,height:112},a),alt:e.homeTeam.name,width:56,height:56,className:"size-14",loading:"lazy",unoptimized:!0})]})]}),(0,t.jsx)("div",{className:"p-4 flex flex-col gap-2",children:e.picks.map(e=>(0,t.jsx)(f,{pick:e,websiteConfig:a},e.id))})]})]})};var x=e.i(981831);function g({bet:e,websiteConfig:a}){return(0,t.jsxs)("div",{className:"border border-[#e7e7e7] rounded-xl shadow-lg flex flex-col justify-between",children:[(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsxs)("div",{className:"basis-2/5 flex items-center justify-center gap-4 py-4",children:[e.homeTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.homeTeam.logo,width:128,height:128},a),alt:`${e.homeTeam.name} logo`,width:64,height:64,className:"size-16 object-contain",loading:"lazy",unoptimized:!0}),e.awayTeam.logo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.awayTeam.logo,width:128,height:128},a),alt:`${e.awayTeam.name} logo`,width:64,height:64,className:"size-16 object-contain",loading:"lazy",unoptimized:!0})]}),(0,t.jsxs)("div",{className:"p-2 basis-3/5 text-center flex flex-col items-end justify-center ",children:[(0,t.jsx)("p",{className:"mb-0 text-sm font-heading",children:new Date(e.matchDate.value).toLocaleDateString("en-US",{weekday:"long",month:"short",day:"numeric",timeZone:e.matchDate.timezone})}),(0,t.jsx)("p",{className:"mb-0 text-sm font-heading",children:new Date(e.matchDate.value).toLocaleTimeString("en-US",{hour:"numeric",minute:"numeric",timeZone:e.matchDate.timezone})}),(0,t.jsx)("p",{className:"mb-0 text-sm text-right",children:e.venue})]})]}),(0,t.jsx)("div",{className:"py-2 flex flex-col justify-center items-center xs:gap-2 md:gap-4 px-2",children:e.picks.map(e=>{let r=(0,t.jsxs)("p",{className:"mb-0 text-sm text-center",children:[e.pickName," (",e.oddsValue,")"]});return e.partner?.url?(0,t.jsx)(o.Link,{href:e.partner.url,target:"_blank",rel:"noreferrer",className:"z-1 !no-underline w-full",children:(0,t.jsxs)(x.Button,{className:"flex overflow-hidden p-0 h-auto gap-0 w-max min-h-8 md:min-h-10 text-sm md:text-base min-w-22 w-full md:min-w-28 hover:opacity-80",style:{backgroundColor:e.partner.primaryColor},children:[e.partner.squareLogo&&(0,t.jsx)(n.default,{src:(0,s.getOptimisedImageUrl)({url:e.partner.squareLogo,width:76,height:76},a),alt:`${e.partner.name} logo`,width:38,height:38,unoptimized:!0,className:"size-[38px] object-cover"}),(0,t.jsxs)("div",{className:"text-sm md:text-base px-2 py-1 flex-1 flex items-center justify-center",children:[e.pickName," (",e.oddsValue,")"]})]})},e.id):(0,t.jsx)("div",{className:"flex items-center xs:gap-[8px] font-heading",children:r},e.id)})})]},e.id)}e.s(["default",0,e=>{let{item:a,league:r,websiteConfig:s}=e;return(0,t.jsx)("section",{className:"prediction-items  flex flex-col gap-8 py-4 -mx-2 md:mx-0",children:a?.bestBetsAndPicks?.length?(0,t.jsx)("div",{className:"style4"===e.cardStyle?"grid grid-cols-1 md:grid-cols-2 gap-8":"grid grid-cols-1 gap-8 mt-4",children:a?.bestBetsAndPicks?.map((a,r)=>
3{switch(e.cardStyle){case"style4":return(0,t.jsx)(g,{bet:a,websiteConfig:s},r);case"style3":return(0,t.jsx)(u,{bet:a,websiteConfig:s},r);case"style2":return(0,t.jsx)(h,{bet:a,websiteConfig:s},r);default:return(0,t.jsx)(m,{bet:a,websiteConfig:s},r)}})}):(0,t.jsxs)("div",{className:"border bg-card p-20 w-full flex items-center justify-center text-sidebar-border",children:["No ",r," Picks and Best Bets available"]})})}],25186)},588873,e=>{"use strict";let t=(0,e.i(688094).default)("funnel",[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]]);e.s(["default",()=>t])},325703,e=>{"use strict";var t=e.i(588873);e.s(["Filter",()=>t.default])},477514,280090,671451,54751,e=>{"use strict";let t={states:{label:"Available States",fieldPath:"states",options:[{abbreviation:"AL",name:"Alabama"},{abbreviation:"AK",name:"Alaska"},{abbreviation:"AZ",name:"Arizona"},{abbreviation:"AR",name:"Arkansas"},{abbreviation:"CA",name:"California"},{abbreviation:"CO",name:"Colorado"},{abbreviation:"CT",name:"Connecticut"},{abbreviation:"DE",name:"Delaware"},{abbreviation:"FL",name:"Florida"},{abbreviation:"GA",name:"Georgia"},{abbreviation:"HI",name:"Hawaii"},{abbreviation:"ID",name:"Idaho"},{abbreviation:"IL",name:"Illinois"},{abbreviation:"IN",name:"Indiana"},{abbreviation:"IA",name:"Iowa"},{abbreviation:"KS",name:"Kansas"},{abbreviation:"KY",name:"Kentucky"},{abbreviation:"LA",name:"Louisiana"},{abbreviation:"ME",name:"Maine"},{abbreviation:"MD",name:"Maryland"},{abbreviation:"MA",name:"Massachusetts"},{abbreviation:"MI",name:"Michigan"},{abbreviation:"MN",name:"Minnesota"},{abbreviation:"MS",name:"Mississippi"},{abbreviation:"MO",name:"Missouri"},{abbreviation:"MT",name:"Montana"},{abbreviation:"NE",name:"Nebraska"},{abbreviation:"NV",name:"Nevada"},{abbreviation:"NH",name:"New Hampshire"},{abbreviation:"NJ",name:"New Jersey"},{abbreviation:"NM",name:"New Mexico"},{abbreviation:"NY",name:"New York"},{abbreviation:"NC",name:"North Carolina"},{abbreviation:"ND",name:"North Dakota"},{abbreviation:"OH",name:"Ohio"},{abbreviation:"OK",name:"Oklahoma"},{abbreviation:"OR",name:"Oregon"},{abbreviation:"PA",name:"Pennsylvania"},{abbreviation:"RI",name:"Rhode Island"},{abbreviation:"SC",name:"South Carolina"},{abbreviation:"SD",name:"South Dakota"},{abbreviation:"TN",name:"Tennessee"},{abbreviation:"TX",name:"Texas"},{abbreviation:"UT",name:"Utah"},{abbreviation:"VT",name:"Vermont"},{abbreviation:"VA",name:"Virginia"},{abbreviation:"WA",name:"Washington"},{abbreviation:"WV",name:"West Virginia"},{abbreviation:"WI",name:"Wisconsin"},{abbreviation:"WY",name:"Wyoming"}].map(e=>({value:e.abbreviation,label:e.name}))},sports:{label:"Sports",fieldPath:"sports",options:[{value:"sportsAmericanFootball",label:"American Football"},{value:"sportsBasketball",label:"Basketball"},{value:"sportsBaseball",label:"Baseball"},{value:"sportsHockey",label:"Hockey"},{value:"sportsSoccer",label:"Soccer"},{value:"sportsTennis",label:"Tennis"},{value:"sportsHorseRacing",label:"Horse Racing"},{value:"sportsGolf",label:"Golf"},{value:"sportsMotorsports",label:"Motorsport"},{value:"sportsCombatSports",label:"Combat Sports"},{value:"sportsEsports",label:"eSports"}]},familiarity:{label:"User Experience Level",fieldPath:"familiarity",options:[{value:"familiarityBeginner",label:"Beginner"},{value:"familiarityNovice",label:"Novice"},{value:"familiarityIntermediate",label:"Intermediate"},{value:"familiarityExpert",label:"Expert"}]},betPlan:{label:"Betting Plan",fieldPath:"betPlan",options:[{value:"betPlanPre",label:"Pre-Game Betting"},{value:"betPlanLive",label:"Live Betting"},{value:"betPlanBoth",label:"Both Pre-Game & Live"},{value:"betPlanUnkown",label:"Unknown/Other"}]},bonusesOrPromotions:{label:"Bonuses & Promotions",fieldPath:"bonusesOrPromotions",options:[{value:"riskFreeBets",label:"Risk-free bets"},{value:"welcomeBonuses",label:"Welcome Bonuses"},{value:"freeBets",label:"Free bets"},{value:"vipPrograms",label:"VIP programs"},{value:"enhancedOddsBoosts",label:"Enhanced odds (Boosts)"},{value:"parlayInsurance",label:"Parlay insurance"},{value:"referralBonuses",label:"Referral bonuses"},{value:"contestPrizePromotions",label:"Contest and prize promotions"}]},customerSupport:{label:"Customer Support",fieldPath:"customerSupport",options:[{value:"liveChat",label:"Live Chat"},{value:"phoneSupport",label:"Phone Support"},{value:"email",label:"Email"},{value:"247Availability",label:"24/7 Availability"}]},bettingDevice:{label:"Betting Devices",fieldPath:"bettingDevice",options:[{value:"mobile",label:"Mobile"},{value:"desktop",label:"Desktop"},{value:"both",label:"Both"}]},specialPreferences:{label:"Special Features",fieldPath:"specialPreferences",options:[{value:"socialFeatures",label:"Social Features"},{value:"microbetting",label:"Microbetting"},{value:"highStakes",label:"High stakes"},{value:"liveStreaming",label:"Live streaming"},{value:"betTracking",label:"Bet tracking"},{value:"tutorials",label:"Tutorials"},{value:"cashOutOption",label:"Cash out option"}]}};e.s(["BETTING_AND_GAMING_FILTERS",0,t],280090);let a=e=>Array.isArray(e)?e.filter(e=>null!==e).length:0,r=e=>"number"==typeof e?e:0;e.s(["sortBettingAndGamingPartners",0,(e,t)=>
3{switch(t){case"recommended":default:return e;case"rating":return[...e].sort((e,t)=>{let a=e.defaultRating||0;return(t.defaultRating||0)-a});case"az":return[...e].sort((e,t)=>e.name.toLowerCase().localeCompare(t.name.toLowerCase()));case"sportingpostOverallRating":let s;return s=["sportsAmericanFootball","sportsBasketball","sportsBaseball","sportsHockey","sportsSoccer","sportsTennis","sportsHorseRacing","sportsGolf","sportsMotorsports","sportsCombatSports","sportsEsports","familiarityBeginner","familiarityIntermediate","familiarityExpert","familiarityNovice","betPlanPre","betPlanLive","betPlanBoth","betPlanUnkown","bettingDevice","customerSupport","bonusesOrPromotions","specialPreferences"],[...e].sort((e,t)=>{let i=s.reduce((t,s)=>{let i=e.data?.sportsbookFields?.[s];return t+(Array.isArray(i)?a(i):r(i))},0),n=s.reduce((e,s)=>{let i=t.data?.sportsbookFields?.[s];return e+(Array.isArray(i)?a(i):r(i))},0);return i!==n?n-i:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});case"sportsVarietyRating":let i;return i=["sportsAmericanFootball","sportsBasketball","sportsBaseball","sportsHockey","sportsSoccer","sportsTennis","sportsHorseRacing","sportsGolf","sportsMotorsports","sportsCombatSports","sportsEsports"],[...e].sort((e,t)=>{let a=i.reduce((t,a)=>t+r(e.data?.sportsbookFields?.[a]),0),s=i.reduce((e,a)=>e+r(t.data?.sportsbookFields?.[a]),0);return a!==s?s-a:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});case"userExperienceRating":let n;return n=["familiarityBeginner","familiarityNovice","familiarityIntermediate","familiarityExpert"],[...e].sort((e,t)=>{let a=n.reduce((t,a)=>t+r(e.data?.sportsbookFields?.[a]),0),s=n.reduce((e,a)=>e+r(t.data?.sportsbookFields?.[a]),0);return a!==s?s-a:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});case"bettingPlatformRating":let l;return l=["betPlanPre","betPlanLive","betPlanBoth","betPlanUnkown","bettingDevice"],[...e].sort((e,t)=>{let s=l.reduce((t,s)=>{let i=e.data?.sportsbookFields?.[s];return t+(Array.isArray(i)?a(i):r(i))},0),i=l.reduce((e,s)=>{let i=t.data?.sportsbookFields?.[s];return e+(Array.isArray(i)?a(i):r(i))},0);return s!==i?i-s:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});case"customerSupport":return[...e].sort((e,t)=>{let r=e.data?.sportsbookFields?.customerSupport,s=t.data?.sportsbookFields?.customerSupport,i=a(r),n=a(s);return i!==n?n-i:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});case"bonusesOrPromotions":return[...e].sort((e,t)=>{let r=e.data?.sportsbookFields?.bonusesOrPromotions,s=t.data?.sportsbookFields?.bonusesOrPromotions,i=a(r),n=a(s);return i!==n?n-i:e.name.toLowerCase().localeCompare(t.name.toLowerCase())});case"specialPreferences":return[...e].sort((e,t)=>{let r=e.data?.sportsbookFields?.specialPreferences,s=t.data?.sportsbookFields?.specialPreferences,i=a(r),n=a(s);return i!==n?n-i:e.name.toLowerCase().localeCompare(t.name.toLowerCase())})}}],671451),e.s(["filterBettingAndGamingPartner",0,(e,t)=>{for(let[a,r]of Object.entries(t))if(Array.isArray(r)&&0!==r.length){if("states"===a){let t=e.data?.sportsbookFields?.usStates||e.supportedUSStates||[];if(!r.some(e=>t.includes(e)))return!1;continue}if(!r.some(t=>{if(["bonusesOrPromotions","customerSupport","bettingDevice","specialPreferences"].includes(a)){let r=e.data?.sportsbookFields?.[a];return!!Array.isArray(r)&&r.includes(t)}if(["sports","familiarity","betPlan"].includes(a)){let a=e.data?.sportsbookFields?.[t];if("number"==typeof a)return a>0}return!1}))return!1}return!0}],54751),e.s([],477514)},308521,e=>{"use strict";var t=e.i(572256),a=e.i(981831),r=e.i(670102),s=e.i(520606),i=e.i(468659),n=e.i(632137),l=e.i(674601),o=e.i(19312),d=e.i(341260),c=e.i(325703),u=e.i(340904);let m=(0,l.default)(()=>e.A(668544),{loadableGenerated:{modules:[300908]}}),p=({sortBy:e="",className:r="",onChange:i=()=>{}})=>{let{t:l}=(0,s.useTranslate)();return(0,t.jsxs)("div",{className:(0,n.cn)("flex items-center whitespace-nowrap overflow-x-auto -mr-4 xs:mr-0 sm:justify-end scrollbar-none",r),children:[(0,t.jsx)("div",{className:"font-body-bold text-xs text-body tracking-widest uppercase pr-2",children:l("partnerTable.sortByLabel")}),(0,t.jsx)("div",{className:"pl-2",children:(0,t.jsx)(a.Button,{variant:"recommended"===e?"secondary":"default",onClick:()=>i("recommended"),children:l("partnerTable.sortRecommended")})}),(0,t.jsx)("div",{className:"pl-2",children:(0,t.jsx)(a.Button,{variant:"az"===e?"secondary":"default",onClick:()=>i("az"),children:l("partnerTable.sortAZ")})}),(0,t.jsx)("div",{className:"pl-2",children:(0,t.jsx)(a.Button,{variant:"rating"===e?"secondary":"default",onClick:()=>i("rating"),children:l("partnerTable.sortRating")})})]})}
3,f=({sortBy:e="",className:a="",onChange:r=()=>{}})=>{let{t:i}=(0,s.useTranslate)(),l=[{value:"recommended",label:i("partnerTable.sortRecommended")},{value:"rating",label:i("partnerTable.sortRating")},{value:"az",label:i("partnerTable.sortAZ")},{value:"sportsVarietyRating",label:"Sports Variety"},{value:"userExperienceRating",label:"User Experience Level"},{value:"bettingPlatformRating",label:"Platform & Device Support"},{value:"customerSupport",label:"Customer Support Options"},{value:"bonusesOrPromotions",label:"Available Bonuses"},{value:"specialPreferences",label:"Special Features"}];return(0,t.jsxs)("div",{className:(0,n.cn)("flex items-center gap-2",a),children:[(0,t.jsx)("div",{className:"font-body-bold text-xs text-body tracking-widest uppercase",children:i("partnerTable.sortByLabel")}),(0,t.jsxs)(u.Select,{value:e,onValueChange:r,children:[(0,t.jsx)(u.SelectTrigger,{className:"w-[180px]",children:(0,t.jsx)(u.SelectValue,{placeholder:i("partnerTable.sortRecommended")})}),(0,t.jsx)(u.SelectContent,{children:l.map(e=>(0,t.jsx)(u.SelectItem,{value:e.value,children:e.label},e.value))})]})]})},h=({partnerType:e,showSorter:a,showFilters:r,filterPanelOpen:i,setFilterPanelOpen:l,activeFilterCount:o,sortBy:u,setSortBy:h,activeFilters:x,setActiveFilters:g})=>{let{t:b}=(0,s.useTranslate)();return a||r?"bettingAndGaming"===e?(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-end gap-4 sm:items-center justify-end mb-4 relative",children:[r&&(0,t.jsxs)("div",{className:"relative","data-filter-popover":!0,children:[(0,t.jsxs)("button",{type:"button",className:"cursor-pointer flex items-center font-body-bold text-xs text-body tracking-widest uppercase bg-gray-50 hover:bg-gray-100 active:bg-gray-200 px-4 py-2.5 rounded-md transition-colors shadow-sm border border-gray-200 hover:border-gray-300",onClick:()=>l(!i),children:[(0,t.jsx)(c.Filter,{className:"w-4 h-4 mr-2 text-gray-600"}),"Filters",o>0&&(0,t.jsx)("div",{className:"flex items-center justify-center ml-2 text-xxs w-[18px] h-[18px] rounded-full bg-primary text-white font-bold shadow-sm",children:o})]}),i&&x&&g&&(0,t.jsx)(m,{activeFilters:x,activeFilterCount:o,onFilterChange:g,onClose:()=>l(!1)})]}),(0,t.jsx)(f,{sortBy:u,onChange:e=>h(e)})]}):(0,t.jsxs)("div",{className:(0,n.cn)("flex items-center mb-4",{"justify-end":a&&!r,"justify-between":a&&r}),children:[r&&(0,t.jsx)("div",{className:"relative mr-10",children:(0,t.jsxs)("button",{type:"button",className:"flex items-center font-body-bold text-xs text-body tracking-widest uppercase @5xl:hidden",onClick:()=>l(!i),children:[(0,t.jsx)(d.ChevronDown,{className:(0,n.cn)("text-xs mr-2",{"transform rotate-180":i})}),b("partnerTable.filterButtonLabel"),o>0&&(0,t.jsx)("div",{className:"flex items-center justify-center absolute -right-[18px] -top-[6px] text-xxs w-[16px] h-[16px] pl-[2px] rounded-full bg-primary text-white",children:o})]})}),a&&(0,t.jsx)(p,{sortBy:u,onChange:e=>h(e)})]}):null};e.i(477514);var x=e.i(54751),g=e.i(671451);let b=(0,l.default)(()=>e.A(517802),{loadableGenerated:{modules:[377297]}}),v=(0,l.default)(()=>e.A(577162),{loadableGenerated:{modules:[398378]}}),y=(0,l.default)(()=>e.A(688938),{loadableGenerated:{modules:[354748]}}),j=(0,l.default)(()=>e.A(934105),{loadableGenerated:{modules:[433853]}});e.s(["default",0,e=>{let{layout:l="default",className:d=""}=e,c=(0,o.useRef)({filters:!1,sorter:!1}),{t:u}=(0,s.useTranslate)(),[m,p,f]=(0,i.default)(),[w,N]=(0,o.useState)("recommended"),k=e.filterConfig?.attributes?.reduce((e,t)=>(t.initialValue&&(e[t.fieldPath]=t.initialValue),e),{}),[C,P]=(0,o.useState)(k),S=Object.keys(C).reduce((e,t)=>{let a=C[t];if(Array.isArray(a)){if(a.length>0)return e+1}else if("yes"===a||"no"===a)return e+1;else if("object"==typeof a&&void 0!==a.min&&void 0!==a.max)return e+1;return e},0),T=(0,o.useMemo)(()=>"loading"===f?[]:e.partners.filter(t=>{if("us"===m.toLowerCase()){if(p&&(!t?.supportedUSStates?.some(e=>e===p)||t?.restrictedRegions?.some(e=>e.toLowerCase()===p.toLowerCase())))return!1}else if(t?.restrictedCountries?.some(e=>e.toLowerCase()===m.toLowerCase())||t?.restrictedRegions?.some(e=>e.toLowerCase()===p.toLowerCase()))return!1;if("bettingAndGaming"===e.partnerType)return(0,x.filterBettingAndGamingPartner)(t,C);for(let[a,r]of Object.entries(C)){let s=e.filterConfig?.attributes?.find(e=>e.fieldPath===a),i=t.filterableData?.[a];if(Array.isArray(r)){if(0===r.length)continue;if(!i||!i?.some(e=>r.includes(e)))return!1}else if(s?.type==="boolean"){if("yes"===r&&!i)return!1;else if("no"===r&&i)return!1}else if(["rating","number"].includes(s?.type||"")){if(void 0===r.min||void 0===r.max||r.min===s?.minValue&&r.max===s?.maxValue)continue;if(!i||i<r.min||i>r.max)return!1}}return t.disclaimer=t.disclaimer?.replace(/&quot;/g,'"'),!0}),[C,m,p,e.partnerType]),[E,A]=(0,o.useState)(!1),R=(0,o.useMemo)(()=>c.current.sorter?"bettingAndGaming"===e.partnerType?(0,g.sortBettingAndGamingPartners)(T,w):"recommended"===w?T:"rating"===w?[...T].sort((e,t)=>
3{let a=e.defaultRating||0;return(t.defaultRating||0)-a}):"az"===w?[...T].sort((e,t)=>e.name.toLowerCase().localeCompare(t.name.toLowerCase())):T:(c.current.sorter=!0,T),[T,w,m,c.current,e.partnerType]),D=(0,o.useMemo)(()=>e.showMore?1>Number(e.showMoreLimit)||Number(e.showMoreLimit)>R.length?1:Number(e.showMoreLimit):T.length,[e.showMore,e.showMoreLimit,R]),L=(0,o.useMemo)(()=>c.current.filters?T.length:(c.current.filters=!0,D),[c.current,D,C,T]),z=e.partners.length>1,O=!["information","information-comparison"].includes(l),M=z&&O,I=!!(O&&"default"===l&&("bettingAndGaming"===e.partnerType||e.filterConfig?.enabled&&e.filterConfig?.attributes&&e.filterConfig.attributes.length>0)),[B,_]=(0,o.useState)(!1),U=E?R:R.slice(0,D);return"loading"===f?(0,t.jsx)("div",{className:"flex flex-col space-y-4",children:[void 0,void 0].fill(0).map((e,a)=>(0,t.jsx)("div",{className:"flex gap-x-2 gap-y-2",children:(0,t.jsxs)("div",{className:"flex flex-col space-y-2 grow max-w-",children:[(0,t.jsx)(r.Skeleton,{className:"w-full h-20"}),(0,t.jsx)(r.Skeleton,{className:"w-full h-10"})]})},`partner-loading-${a}`))}):(0,t.jsx)("div",{className:(0,n.cn)(d),children:(0,t.jsxs)("div",{className:"@container",children:[(0,t.jsx)(h,{partnerType:e.partnerType,showSorter:M,showFilters:I,filterPanelOpen:B,setFilterPanelOpen:_,activeFilterCount:S,sortBy:w,setSortBy:N,activeFilters:C,setActiveFilters:P}),(0,t.jsxs)("div",{className:(0,n.cn)({"@5xl:flex":I&&"bettingAndGaming"!==e.partnerType}),children:[I&&"bettingAndGaming"!==e.partnerType&&(0,t.jsx)(b,{filterableAttributes:e.filterConfig?.attributes||[],activeFilters:C,activeFilterCount:S,onFilterChange:P,className:(0,n.cn)("w-full @5xl:w-[300px] @5xl:h-full @5xl:sticky @5xl:top-10 mr-4 mb-4",{"hidden @5xl:block":!B})}),(0,t.jsxs)("div",{className:"w-full",children:[I&&0===R.length&&(0,t.jsx)("div",{className:"pt-4",children:u("partnerTable.filterNoResultsText")}),"loaded"!==f&&(0,t.jsx)("div",{className:"flex flex-col space-y-4",children:[void 0,void 0].fill(0).map((e,a)=>(0,t.jsxs)("div",{className:"flex gap-x-4 gap-y-2",children:[(0,t.jsx)(r.Skeleton,{className:"w-20 h-20 rounded-full"}),(0,t.jsx)(r.Skeleton,{className:"h-20 grow"}),(0,t.jsxs)("div",{className:"flex flex-col space-y-2 grow max-w-32",children:[(0,t.jsx)(r.Skeleton,{className:"w-full min-h-8"}),(0,t.jsx)(r.Skeleton,{className:"w-full h-full"})]})]},`partner-loading-${a}`))}),"default"===l&&(0,t.jsx)(v,{...e,partners:U,limit:L,showPosition:z,accentText:e.accentText}),"information"===l&&(0,t.jsx)(y,{...e,partners:R}),"information-comparison"===l&&(0,t.jsx)(j,{...e,partners:R,limit:L,showPosition:z}),e.showMore&&R.length>D&&(0,t.jsx)("div",{className:"w-fit mx-auto",children:(0,t.jsx)(a.Button,{onClick:()=>{A(!E)},children:E?(0,t.jsx)(t.Fragment,{children:u("partnerTable.showLess")}):(0,t.jsx)(t.Fragment,{children:u("partnerTable.showMore")})})})]})]})]})})}],308521)},500784,e=>{"use strict";let t=(0,e.i(688094).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);e.s(["default",()=>t])},767430,554873,e=>{"use strict";var t=e.i(572256),a=e.i(341260),r=e.i(244739),s=e.i(500784),s=s,i=e.i(674601),n=e.i(19312),l=e.i(72701),o=e.i(632137),d=e.i(618384),c=e.i(981831),u=e.i(181241),m=e.i(398700),p=e.i(631904),f=e.i(291471),h=e.i(478491);let x=({partner:e,partnerType:a,selectedState:r,isLoading:s,index:i,websiteConfig:n})=>(0,t.jsxs)(m.Link,{href:(0,p.createVisitUrl)(e.slug||"",{partnerType:a}),target:"_blank",rel:"nofollow noreferrer",className:(0,o.cn)("flex flex-col space-y-4 justify-center group transition-all border-2 border-transparent px-4 py-2 rounded-[24px] !text-black !no-underline w-full min-w-full",{"animate-pulse":s}),children:[(0,t.jsxs)("div",{className:"relative flex items-center justify-between space-x-8",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between space-x-4",children:[(0,t.jsx)("div",{className:(0,o.cn)("text-sm rounded-full size-6 flex items-center flex-shrink-0 justify-center",{"bg-gold":1===i,"bg-silver":2===i,"text-white bg-bronze":3===i}),children:i}),(0,t.jsx)("div",{className:"size-16 bg-input flex-shrink-0",children:s?(0,t.jsx)("div",{className:"size-8 bg-input rounded-sm flex-shrink-0"}):(0,t.jsx)(t.Fragment,{children:(n?(0,p.getOptimisedImageUrl)({url:e.image,width:96,height:96},n):e.image)&&(0,t.jsx)(h.default,{src:n?(0,p.getOptimisedImageUrl)({url:e.image,width:96,height:96},n):e.image||"",alt:e.name,className:"size-full object-cover rounded-sm",width:64,height:64,unoptimized:!0,loading:"lazy"})})}),(0,t.jsxs)("div",{className:"flex h-full justify-center flex-col",children:[(0,t.jsx)("div",{className:"flex items-center justify-between mb-[4px]",children:(0,t.jsxs)("div",{className:"text-lg font-heading leading-[1.2] relative w-full",children:[(0,t.jsx)("div",{className:(0,o.cn)({"opacity-0":s}),children:e.name}),(0,t.jsx)("div",{className:(0,o.cn)("bg-input absolute bottom-0 left-0 w-full h-3 rounded-sm",{"opacity-0":!s})})]})}),(0,t.jsxs)("div",{className:"relative w-full",children:[(0,t.jsx)("div",{className:(0,o.cn)("text-xs w-full",{"opacity-0":s}),children:r&&!e?.states?.includes(r)?"Not available in your state":e.description}),(0,t.jsx)("div",{className:(0,o.cn)("bg-input absolute top-0 left-0 w-3/4 h-2 rounded-sm",{"opacity-0":!s})})]})]})]}),(0,t.jsx)("div",{className:(0,o.cn)("flex items-center justify-center",{"opacity-0":s}),children:(0,t.jsx)(f.ChevronRight,{className:"size-4"})})]}),(0,t.jsxs)("div",{className:"relative w-full",children:[(0,t.jsx)("div",{className:(0,o.cn)("!text-[8px] text-justify text-gray-500 border-t border-t-box-dark pt-2 break-all",{"opacity-0":s}),children:e.termsAndConditions}),(0,t.jsx)("div",{className:(0,o.cn)("bg-input absolute top-0 left-0 h-full w-full rounded-sm",{"opacity-0":!s})})]})]},e.name),g=(0,i.default)(()=>
3e.A(141388),{loadableGenerated:{modules:[643110]}});e.s(["default",0,e=>{let i=(0,n.useId)(),m=(0,n.useId)(),p=(0,n.useId)(),[f,h]=(0,n.useState)(1),[b,v]=(0,n.useState)(!1),[y,j]=(0,n.useState)(!1),[w,N]=(0,n.useState)("overflow-clip"),k=(0,n.useRef)(null),C=!!(0,d.stripHtmlTags)(e.additionalContent||""),P=e.pages.length,S=(0,l.useWatch)(),{reset:T}=(0,l.useFormContext)();(0,n.useEffect)(()=>{void 0!==e.currentPage&&h(e.currentPage)},[S]),(0,n.useEffect)(()=>{if(!e.isCollapsible){v(!0),N("overflow-unset");return}if(b){let e=setTimeout(()=>{N("overflow-unset")},200);return()=>clearTimeout(e)}N("overflow-clip")},[b,e.isCollapsible]);let E=(0,n.useMemo)(()=>e.partnerList?.partners?.map(t=>{let a=e.selectedState&&t?.states?.includes(e.selectedState)?e.calculateScore(t):-1;return{...t,score:a}}).sort((e,t)=>t.score-e.score),[e.partnerList?.partners,e.calculateScore,e.selectedState]);(0,n.useEffect)(()=>{j(!0);let e=setTimeout(()=>{j(!1)},500);return()=>clearTimeout(e)},[S]);let A=()=>{if(!e.isNextButtonDisabled){let t=window.innerWidth<768,a=document.getElementById(t?i:m);if(a){let e=a.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:e+(t?-170:-135),behavior:"smooth"})}setTimeout(()=>{let t=f+1;h(t),e.onPageChange?.(t)},200)}},R=()=>{let t=window.innerWidth<768?i:m,a=document.getElementById(t);if(a){let e=a.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:e+-60,behavior:"smooth"})}setTimeout(()=>{let t=f-1;h(t),e.onPageChange?.(t)},200)},D=()=>{let e=document.getElementById(p);if(e){let t=e.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:t+-110,behavior:"smooth"})}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{id:"confettiReward",className:"fixed bottom-1/4 md:bottom-1/3 left-1/2 transform -translate-x-1/2 -translate-y-1/2 z-100 pointer-events-none"}),(0,t.jsxs)("div",{id:m,className:(0,o.cn)("text-center relative bg-card",{"rounded-card shadow-button pt-6":e.isCollapsible,"pt-2":C}),children:[C&&(0,t.jsx)("div",{className:"text-left px-8 mb-8",children:(0,t.jsx)(g,{html:e.additionalContent,websiteConfig:e.websiteConfig})}),(0,t.jsx)("div",{id:i,className:(0,o.cn)("transition-all duration-300 text-left ease max-h-[13.43rem] w-full relative",{"max-h-[125rem]":b},w),ref:k,children:(0,t.jsxs)("section",{id:"top-sportsbook",className:"relative md:pb-10",children:[f===P&&(0,t.jsxs)("button",{className:(0,o.cn)("text-white relative w-[250px] h-[27px] cursor-pointer ml-4 lg:ml-8",{"opacity-0":f!==P,"opacity-100":f===P}),onClick:()=>{T(),e.onPageChange?.(1),h(1)},children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 bg-black rounded-full border-black w-full absolute top-0 left-0 px-4 z-2",children:[(0,t.jsx)(s.default,{className:"size-4"})," Restart your calculation"]}),(0,t.jsx)("div",{className:"w-full bg-accent rounded-full absolute -bottom-1 left-1 h-full"})]}),(0,t.jsxs)("div",{className:"flex flex-wrap space-y-8 md:space-y-0 pb-8 md:pb-0 items-start md:mx-4",children:[(0,t.jsxs)("div",{className:"flex-shrink-0 w-full md:w-1/2",children:[(0,t.jsxs)("div",{className:"flex flex-col items-start px-4",children:[f!==P&&(0,t.jsxs)("div",{className:"text-white relative w-[130px] h-[27px]",children:[(0,t.jsxs)("div",{className:"bg-black rounded-full border-black w-full absolute top-0 left-0 px-4 z-2",children:["Question ",f]}),(0,t.jsx)("div",{className:"w-full bg-accent rounded-full absolute -bottom-1 left-1 h-full"})]}),(0,t.jsx)("p",{className:(0,o.cn)(" mt-6 mb-4 font-heading",{"mt-8 mx-auto":f===P,"text-xxxl font-[700] mb-8":f===P,"text-[24px] font-[500]":f!==P}),children:e.pages[f-1]?.heading}),f!==P&&(0,t.jsxs)(u.Tooltip,{children:[(0,t.jsxs)(u.TooltipTrigger,{onClick:()=>v(!0),type:"button",className:"flex items-center justify-center space-x-2 mb-4",children:[(0,t.jsx)(r.Info,{className:"size-4 text-heading"}),(0,t.jsx)("p",{className:"mb-0 text-sm",children:"Why it's important?"})]}),(0,t.jsx)(u.TooltipContent,{className:"max-w-[300px] bg-black text-white rounded-card px-4 py-2 ml-4 z-100",children:(0,t.jsx)("span",{className:"text-xs",children:e.pages[f-1]?.tooltip})})]}),f!==P&&(0,t.jsxs)("div",{className:"mx-auto my-10 relative w-full",children:[(0,t.jsxs)("div",{className:"relative flex items-center rounded-full",children:[(0,t.jsx)("div",{className:"rounded-l-full bg-black h-1 z-1",style:{width:`${(f-1)/(P-1)*100}%`}}),(0,t.jsx)("div",{className:"bg-border h-[2px] rounded-full w-full absolute"})]}),(0,t.jsx)("div",{className:"absolute inset-0 flex justify-between items-center top-0 bottom-0 z-1",children:Array.from({length:P},(e,a)=>(0,t.jsx)("div",{className:"rounded-full size-1 bg-border border-4"},a))}),(0,t.jsx)("div",{className:"absolute inset-0 flex justify-between items-center top-0 bottom-0 z-2",children:Array.from({length:P},(e,a)=>(0,t.jsx)("div",{className:"relative text-sm font-medium text-gray-700",children:(0,t.jsx)("div",{className:`rounded-full  ${a<f?"size-4 bg-accent border-4 border-black":"size-4 bg-transparent"}`})},a))})]}),e.pages[f-1]?.component]}),f!==P&&(0,t.jsxs)("div",{className:(0,o.cn)("items-center mt-8 space-x-10 hidden md:flex",{"pl-4":e.isCollapsible}),children:[1!==f&&(0,t.jsxs)("button",{className:"font-body-bold items-center hidden md:flex cursor-pointer",onClick:R,children:[(0,t.jsx)("svg",{className:"size-2 mr-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})}),(0,t.jsx)("p",{className:"mb-0",children:"Back"})]}),(0,t.jsx)(c.Button,{color:"secondary",className:"h-13 rounded-xl hover:bg-card hover:text-black text-white rounded-sm border border-button-secondary cursor-pointer transition-all disabled:opacity-50 disabled:pointer-events-none hidden md:block",onClick:A,disabled:e.isNextButtonDisabled,children:"Next"})]})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center max-md:!mb-4 w-full md:w-1/2 max-md:!mt-0 relative px-2 md:px-0",children:[(0,t.jsxs)("button",{id:p,className:"flex items-center justify-center space-x-2 mx-auto min-h-[100px]",onClick:D,children:[(0,t.jsx)("span",{className:"text-lg md:text-xl",children:e?.pageContentProperties?.completionEmoji}),(0,t.jsx)("p",{className:(0,o.cn)("md:mx-auto text-lg md:text-[22px] font-heading font-medium my-4 ml-2"),children:e?.pageContentProperties?.heading}),(0,t.jsx)("span",{className:"text-lg md:text-xl",children:e?.pageContentProperties?.completionEmoji})]}),(0,t.jsx)("div",{className:"flex flex-col w-full space-y-4",children:E?.length?(0,t.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-4 w-full items-center",{"border-2 border-primary rounded-card m-2 md:border-none md:m-0 w-[calc(100%-32px)]":f===P}),children:E?.map((a,r)=>
3(0,t.jsx)(x,{partner:a,partnerType:e.partnerType,selectedState:e.selectedState,isLoading:y,index:r+1,websiteConfig:e.websiteConfig},a.name))}):(0,t.jsx)("div",{className:"flex flex-col space-y-4 w-full items-center pt-8",children:(0,t.jsx)("p",{className:"text-center text-sm",children:"No results found"})})})]})]}),b&&f<P&&(0,t.jsxs)("div",{slot:"tool-navigation",className:"md:hidden z-40 -translate-y-0 sticky bottom-0 left-0 flex justify-between items-center gap-2 bg-card py-6 px-4 box-border -mx-6",children:[(0,t.jsx)(c.Button,{variant:"secondary",disabled:1===f,className:(0,o.cn)("px-[40px] text-[10px] h-auto px-5 bg-black rounded-xl py-4",{"opacity-50 cursor-not-allowed":1===f}),onClick:R,children:"Back"}),(0,t.jsx)(c.Button,{className:(0,o.cn)("text-black px-[40px] h-auto bg-accent rounded-xl shadow-xl py-4 text-xs font-heading",{"text-[10px] px-[20px]":e?.toolType==="sweepstakes"}),onClick:D,children:e?.pageContentProperties?.mobileButtonNavigationLabel}),(0,t.jsx)(c.Button,{variant:"secondary",className:(0,o.cn)("px-[40px] text-[10px] h-auto px-5 bg-black rounded-xl py-4",{"opacity-50 cursor-not-allowed":e.isNextButtonDisabled}),onClick:A,children:"Next"})]})]})}),e.isCollapsible&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsxs)(c.Button,{variant:"secondary",className:"h-auto  whitespace-normal flex justify-center space-x-2 items-center px-2 py-2 w-full rounded-t-none rounded-b-[6px] z-10 bg-black",onClick:()=>v(!b),children:[(0,t.jsx)("p",{className:(0,o.cn)("mb-0 text-md font-heading",{hidden:b}),children:b?"Close":e?.pageContentProperties?.buttonCTA}),(0,t.jsx)(a.ChevronDown,{className:(0,o.cn)("size-6 text-white",{"rotate-180":b})})]})})}),e.isCollapsible&&(0,t.jsx)("div",{className:(0,o.cn)("absolute bottom-0 h-full w-full bg-gradient-to-t from-primary rounded-card z-9 animate-pulse rounded-b-[6px]",{"h-30 z-0 pointer-events-none":b})})]})]})}],767430);var b=e.i(670102);e.s(["LastPageSkeleton",0,()=>(0,t.jsxs)("div",{className:"space-y-4 w-full",children:[(0,t.jsx)(b.Skeleton,{className:"h-12 w-full bg-border"}),(0,t.jsx)(b.Skeleton,{className:"h-12 w-full bg-border"})]}),"PageSkeleton",0,()=>(0,t.jsx)("div",{className:"space-y-8 w-full",children:(0,t.jsx)("div",{className:"flex flex-col space-y-2",children:[...Array(6)].map((e,a)=>(0,t.jsxs)("div",{className:"flex space-x-4",children:[(0,t.jsx)(b.Skeleton,{className:"size-4 shrink-0 bg-border"}),(0,t.jsx)(b.Skeleton,{className:(0,o.cn)("h-4 w-full bg-border",{"w-2/3":a%2==0})})]},a))})})],554873)},902332,e=>{"use strict";var t=e.i(572256),a=e.i(674601),r=e.i(19312),s=e.i(72701),i=e.i(767430),n=e.i(554873);let l=(0,a.default)(()=>e.A(375419),{loadableGenerated:{modules:[521495]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),o=(0,a.default)(()=>e.A(233524),{loadableGenerated:{modules:[506306]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),d=(0,a.default)(()=>e.A(417795),{loadableGenerated:{modules:[864341]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),c=(0,a.default)(()=>e.A(970721),{loadableGenerated:{modules:[765401]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),u=(0,a.default)(()=>e.A(426403),{loadableGenerated:{modules:[579566]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),m=(0,a.default)(()=>e.A(123976),{loadableGenerated:{modules:[264588]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),p=(0,a.default)(()=>e.A(66322),{loadableGenerated:{modules:[871141]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),f=(0,a.default)(()=>e.A(854688),{loadableGenerated:{modules:[356508]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),h=(0,a.default)(()=>e.A(739419),{loadableGenerated:{modules:[677254]},loading:()=>(0,t.jsx)(n.LastPageSkeleton,{})});e.s(["default",0,e=>{let[a,n]=(0,r.useState)(1),x=(0,s.useForm)({defaultValues:{selectedState:"",selectedSport:[],selectedFamiliarity:void 0,selectedBetPlan:void 0,selectedBonuses:Array(13).fill(0),selectedCustomerSupport:[,,,,].fill(0),selectedDevice:void 0,selectedPreferences:Array(8).fill(0)},mode:"onChange"}),g=(0,r.useMemo)(()=>[{component:(0,t.jsx)(l,{states:e.states}),heading:"What state do you live in?",tooltip:"Each state has its own regulations on sports betting, and some sportsbooks operate only in certain states. By knowing where you live, we can recommend options that are licensed and accessible, ensuring a safe and compliant betting experience."},{component:(0,t.jsx)(o,{}),heading:"What sport(s) do you plan to bet on most?",tooltip:"Different sportsbooks specialize in various sports, offering unique features, promotions, and betting options tailored to specific games. By knowing your favorite sports, we can match you with a sportsbook that delivers the best experience, including live betting, odds boosts, and exclusive offers for the games you love most."},{component:(0,t.jsx)(d,{}),heading:"How familiar are you with sports betting?",tooltip:"Beginners may benefit from user-friendly platforms with tutorials and simple bet options, while more experienced bettors often look for advanced features, competitive odds, and diverse betting markets. By understanding your familiarity, we can ensure you get the right tools and features to enjoy your betting experience."},{component:(0,t.jsx)(c,{}),heading:"What is your betting plan?",tooltip:"Your betting plan can influence the sportsbooks that best suit your needs. Whether you're a casual bettor looking for fun or a serious bettor with a strategy, we can recommend the right sportsbook for your betting style."},{component:(0,t.jsx)(u,{}),heading:"What bonuses are you interested in?",tooltip:"Bonuses can enhance your betting experience, offering free bets, deposit matches, and other promotions. By understanding your preferences, we can match you with sportsbooks that offer the best bonuses for your needs."},{component:(0,t.jsx)(m,{}),heading:"Which customer support feature is most important to you?",tooltip:"
3Customer support can make or break your betting experience, providing assistance when you need it most. By knowing your preferences, we can recommend sportsbooks with the best customer service options for your needs."},{component:(0,t.jsx)(p,{}),heading:"Do you plan to bet most on mobile or desktop?",tooltip:"Some platforms excel on mobile with user-friendly apps and features designed for betting on the go, while others provide a richer experience on desktop with advanced tools and larger screen options. By knowing your preferred device, we can recommend a sportsbook optimized for your betting style."},{component:(0,t.jsx)(f,{}),heading:"What are your betting preferences?",tooltip:"Your betting preferences can shape your betting experience, from live betting and odds boosts to cash-out options and more. By understanding your preferences, we can match you with sportsbooks that offer the best features for your needs."},{component:(0,t.jsx)(h,{}),heading:"Touchdown! 🏈",tooltip:""}],[e.states]),{watch:b,trigger:v}=x,y=b();(0,r.useEffect)(()=>{(async()=>{let e=[];switch(a){case 1:e=["selectedState"];break;case 2:e=["selectedSport"];break;case 3:e=["selectedFamiliarity"];break;case 4:e=["selectedBetPlan"];break;case 5:e=["selectedBonuses"];break;case 6:e=["selectedCustomerSupport"];break;case 7:e=["selectedDevice"];break;case 8:e=["selectedPreferences"]}e.length>0&&await v(e)})()},[a,v]);let j=(0,r.useCallback)(e=>{let t=0;return e.states?.includes(y.selectedState)&&(t+=1),y.selectedSport.forEach(a=>{e.sports?.[a]&&(t+=e.sports[a])}),void 0!==y.selectedFamiliarity&&e.familiarity&&(t+=e.familiarity[y.selectedFamiliarity]||0),void 0!==y.selectedBetPlan&&e.betPlan&&(t+=e.betPlan[y.selectedBetPlan]||0),y.selectedBonuses.forEach((a,r)=>{1===a&&e.bonuses&&(t+=e.bonuses[r]||0)}),y.selectedCustomerSupport.forEach((a,r)=>{1===a&&e.customerSupport&&(t+=e.customerSupport[r]||0)}),void 0!==y.selectedDevice&&e.device&&(t+=e.device[y.selectedDevice]||0),y.selectedPreferences.forEach((a,r)=>{1===a&&e.preferences&&(t+=e.preferences[r]||0)}),t},[y]),w=(0,r.useMemo)(()=>{if(0===g.length)return!0;if(a===g.length)return!1;switch(a){case 1:return!y.selectedState;case 2:return 0===y.selectedSport.length;case 3:return void 0===y.selectedFamiliarity;case 4:return void 0===y.selectedBetPlan;case 5:return y.selectedBonuses.every(e=>0===e);case 6:return y.selectedCustomerSupport.every(e=>0===e);case 7:return void 0===y.selectedDevice;case 8:return 0===y.selectedPreferences.filter(e=>1===e).length;default:return!1}},[a,y,g.length]);return(0,t.jsx)(s.FormProvider,{...x,children:(0,t.jsx)(i.default,{...e,pages:g,calculateScore:j,isNextButtonDisabled:w,selectedState:y.selectedState,currentPage:a,onPageChange:e=>{n(e)},pageContentProperties:{heading:e?.pageContentProperties?.heading||"Top sportsbooks",buttonCTA:e?.pageContentProperties?.buttonCTA||"FIND THE BEST SPORTSBOOK FOR YOU!",mobileButtonNavigationLabel:e?.pageContentProperties?.mobileButtonNavigationLabel||"TOP SPORTSBOOK",completionEmoji:e?.pageContentProperties?.completionEmoji||"🌟"}})})}])},62285,e=>{"use strict";var t=e.i(572256),a=e.i(674601),r=e.i(19312),s=e.i(72701),i=e.i(767430),n=e.i(554873);let l=(0,a.default)(()=>e.A(375419),{loadableGenerated:{modules:[521495]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),o=(0,a.default)(()=>
3e.A(397712),{loadableGenerated:{modules:[873939]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),d=(0,a.default)(()=>e.A(435484),{loadableGenerated:{modules:[235684]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),c=(0,a.default)(()=>e.A(851801),{loadableGenerated:{modules:[398583]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),u=(0,a.default)(()=>e.A(537338),{loadableGenerated:{modules:[723194]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),m=(0,a.default)(()=>e.A(901456),{loadableGenerated:{modules:[799094]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),p=(0,a.default)(()=>e.A(613877),{loadableGenerated:{modules:[587597]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),f=(0,a.default)(()=>e.A(971215),{loadableGenerated:{modules:[45277]},loading:()=>(0,t.jsx)(n.PageSkeleton,{})}),h=(0,a.default)(()=>e.A(825760),{loadableGenerated:{modules:[952029]},loading:()=>(0,t.jsx)(n.LastPageSkeleton,{})});e.s(["default",0,e=>{let[a,n]=(0,r.useState)(1),[x,g]=(0,r.useState)(!1),b=(0,s.useForm)({defaultValues:{selectedState:"",selectedGames:[],selectedDevice:void 0,selectedBonuses:[],selectedPlan:void 0,selectedPreference:void 0,selectedRedemption:void 0,selectedSpecialPreferences:[]},mode:"onChange"}),{watch:v,trigger:y,register:j}=b;(0,r.useEffect)(()=>{j("selectedState",{required:"State is required"}),j("selectedGames",{validate:e=>e.length>0||"You must select at least one game"}),j("selectedDevice",{required:"Device preference is required"}),j("selectedBonuses",{validate:e=>!e.every(e=>0===e)||"You must select at least one bonus"}),j("selectedPlan",{required:"A plan selection is required"}),j("selectedPreference",{required:"A preference selection is required"}),j("selectedRedemption",{required:"A redemption option is required"}),j("selectedSpecialPreferences",{validate:e=>!e.every(e=>0===e)||"You must select at least one special preference"})},[j]);let w=(0,r.useMemo)(()=>[{component:(0,t.jsx)(l,{states:e.states}),heading:"What state do you live in?",tooltip:"Sweepstakes casinos follow different rules in each state. We need to know where you live to recommend legal and available options in your area."},{component:(0,t.jsx)(o,{}),heading:"Which games do you enjoy the most?",tooltip:"Not every site offers the same mix of games. Some are packed with slots, while others specialize in bingo or fish games. Your answer helps us find a casino that fits your style of play."},{component:(0,t.jsx)(d,{}),heading:"How do you usually play?",tooltip:"Some sweepstakes casinos work better on mobile, while others offer a smoother experience on desktop. Knowing how you play helps us recommend platforms that run well on your device."},{component:(0,t.jsx)(c,{}),heading:"What kind of bonuses are you most interested in?",tooltip:"Bonus types vary by casino. Whether you want daily rewards or free coins at sign-up, we'll use your answer to match you with sites that offer the bonuses you care about most."},{component:(0,t.jsx)(u,{}),heading:"Do you plan to buy Gold Coins or just play for free?",tooltip:"Some sweepstakes casinos are better for free play, while others reward purchases with extra perks. Your answer helps us find a site that fits your budget and playing style."},{component:(0,t.jsx)(m,{}),heading:"How do you prefer to make purchases (if at all)?",tooltip:"Payment options vary by casino. Whether you use crypto, cards, or mobile wallets—or don't spend at all—we'll steer you toward sites that support your preferred method."},{component:(0,t.jsx)(p,{}),heading:"How important are coin-to-cash redemption options to you?",tooltip:"Some players want a shot at real prizes, while others play just for fun. Your answer helps us suggest sweepstakes casinos with the right balance of entertainment and reward potential."},{component:(0,t.jsx)(f,{}),heading:"Do you have any special preferences? (pick any that matter to you)",tooltip:"Every player looks for something different—whether it's trusted brands, fun extras, or fresh new sites. Your picks help us narrow down casinos that match your vibe and priorities."},{component:(0,t.jsx)(h,{}),heading:"Jackpot! 💰",tooltip:""}],[e.states]),N=v();(0,r.useEffect)(()=>{(async()=>{let e=[],t=!1;switch(a){case 1:e=["selectedState"],t=!!N.selectedState;break;case 2:e=["selectedGames"],t=N.selectedGames.length>0;break;case 3:e=["selectedDevice"],t=void 0!==N.selectedDevice;break;case 4:e=["selectedBonuses"],t=!N.selectedBonuses.every(e=>0===e);break;case 5:e=["selectedPlan"],t=void 0!==N.selectedPlan;break;case 6:e=["selectedPreference"],t=void 0!==N.selectedPreference;break;case 7:e=["selectedRedemption"],t=void 0!==N.selectedRedemption;break;case 8:e=["selectedSpecialPreferences"],t=!N.selectedSpecialPreferences.every(e=>0===e);break;default:t=!0}g(t),e.length>0&&await y(e)})()},[a,y,N]);let k=(0,r.useCallback)(e=>{let t=0;return e.states?.includes(N.selectedState)&&(t+=1),N.selectedGames.forEac
3h(a=>{e.games?.[a]&&(t+=e.games[a]||0)}),void 0!==N.selectedDevice&&e.device&&(t+=e.device[N.selectedDevice]||0),N.selectedBonuses.forEach((a,r)=>{1===a&&e.bonuses?.[r]&&(t+=e.bonuses[r]||0)}),void 0!==N.selectedPlan&&e.plan&&(t+=e.plan[N.selectedPlan]||0),void 0!==N.selectedPreference&&e.preferences&&(t+=e.preferences[N.selectedPreference]||0),N.selectedSpecialPreferences.forEach((a,r)=>{1===a&&e.specialPreferences?.[r]&&(t+=e.specialPreferences?.[r]||0)}),void 0!==N.selectedRedemption&&e.redemption&&(t+=e.redemption[N.selectedRedemption]||0),t},[N]),C=(0,r.useMemo)(()=>0===w.length||a!==w.length&&!x,[a,x,w.length]);return(0,t.jsx)(s.FormProvider,{...b,children:(0,t.jsx)(i.default,{...e,pages:w,calculateScore:k,isNextButtonDisabled:C,selectedState:N.selectedState,currentPage:a,onPageChange:e=>{n(e)},pageContentProperties:{heading:e?.pageContentProperties?.heading||"Top sweepstakes casinos",buttonCTA:e?.pageContentProperties?.buttonCTA||"FIND THE BEST SWEEPSTAKES CASINO FOR YOU!",mobileButtonNavigationLabel:e?.pageContentProperties?.mobileButtonNavigationLabel||"TOP SWEEPSTAKES CASINO",completionEmoji:e?.pageContentProperties?.completionEmoji||"🌟"}})})}])},750619,e=>{"use strict";let t=(0,e.i(688094).default)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);e.s(["default",()=>t])},269714,e=>{"use strict";let t;var a=e.i(572256),r=e.i(131129),s=e.i(294237),i=e.i(750619),i=i,n=e.i(19312),l=e.i(981831),o=e.i(632137);function d({className:e,type:t,...r}){return(0,a.jsx)("input",{type:t,"data-slot":"input",className:(0,o.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...r})}var c=e.i(765918),u=e.i(775453),m=e.i(154557),p=e.i(699962),f=e.i(417425),h=e.i(654436),x=e.i(418005),g=e.i(329298),b=e.i(557750),v="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",j={bubbles:!1,cancelable:!0},w=n.forwardRef((e,t)=>{let{loop:r=!1,trapped:s=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...o}=e,[d,c]=n.useState(null),u=(0,b.useCallbackRef)(i),p=(0,b.useCallbackRef)(l),f=n.useRef(null),h=(0,m.useComposedRefs)(t,e=>c(e)),x=n.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;n.useEffect(()=>{if(s){let e=function(e){if(x.paused||!d)return;let t=e.target;d.contains(t)?f.current=t:C(f.current,{select:!0})},t=function(e){if(x.paused||!d)return;let t=e.relatedTarget;null!==t&&(d.contains(t)||C(f.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let a=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&C(d)});return d&&a.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),a.disconnect()}}},[s,d,x.paused]),n.useEffect(()=>{if(d){P.add(x);let e=document.activeElement;if(!d.contains(e)){let t=new CustomEvent(v,j);d.addEventListener(v,u),d.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let a=document.activeElement;for(let r of e)if(C(r,{select:t}),document.activeElement!==a)return}(N(d).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&C(d))}return()=>{d.removeEventListener(v,u),setTimeout(()=>{let t=new CustomEvent(y,j);d.addEventListener(y,p),d.dispatchEvent(t),t.defaultPrevented||C(e??document.body,{select:!0}),d.removeEventListener(y,p),P.remove(x)},0)}}},[d,u,p,x]);let w=n.useCallback(e=>{if(!r&&!s||x.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,a=document.activeElement;if(t&&a){var i;let t,s=e.currentTarget,[n,l]=[k(t=N(i=s),i),k(t.reverse(),i)];n&&l?e.shiftKey||a!==l?e.shiftKey&&a===n&&(e.preventDefault(),r&&C(l,{select:!0})):(e.preventDefault(),r&&C(n,{select:!0})):a===s&&e.preventDefault()}},[r,s,x.paused]);return(0,a.jsx)(g.Primitive.div,{tabIndex:-1,...o,ref:h,onKeyDown:w})});function N(e){let t=[],a=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;a.nextNode();)t.push(a.currentNode);return t}function k(e,t){for(let a of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(a,{upTo:t}))return a}function C(e,{select:t=!1}={}){if(e&&e.focus){var a;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(a=e)instanceof HTMLInputElement&&"select"in a&&t&&e.select()}}w.displayName="FocusScope";var P=(t=[],{add(e){let a=t[0];e!==a&&a?.pause(),(t=S(t,e)).unshift(e)},remove(e){t=S(t,e),t[0]?.resume()}});function S(e,t){let a=[...e],r=a.indexOf(t);return -1!==r&&a.splice(r,1),a}var T=e.i(898781),E=e.i(596010),A=e.i(638170),R=e.i(185401),D=e.i(645751),L=e.i(406326),z="Dialog",[O,M]=(0,p.createContextScope)(z),[I,B]=O(z),_=e=>{let{__scopeDialog:t,children:r,open:s,defaultOpen:i,onOpenChange:l,modal:o=!0}=e,d=n.useRef(null),c=n.useRef(null),[u,m]=(0,h.useControllableState)({prop:s,defaultProp:i??!1,onChange:l,caller:z});return(0,a.jsx)(I,{scope:t,triggerRef:d,contentRef:c,contentId:(0,f.useId)(),titleId:(0,f.useId)(),descriptionId:(0,f.useId)(),open:u,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),modal:o,children:r})};_.displayName=z;var U="DialogTrigger";n.forwardRef((e,t)=>
3{let{__scopeDialog:r,...s}=e,i=B(U,r),n=(0,m.useComposedRefs)(t,i.triggerRef);return(0,a.jsx)(g.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":ei(i.open),...s,ref:n,onClick:(0,u.composeEventHandlers)(e.onClick,i.onOpenToggle)})}).displayName=U;var F="DialogPortal",[$,W]=O(F,{forceMount:void 0}),V=e=>{let{__scopeDialog:t,forceMount:r,children:s,container:i}=e,l=B(F,t);return(0,a.jsx)($,{scope:t,forceMount:r,children:n.Children.map(s,e=>(0,a.jsx)(E.Presence,{present:r||l.open,children:(0,a.jsx)(T.Portal,{asChild:!0,container:i,children:e})}))})};V.displayName=F;var H="DialogOverlay",G=n.forwardRef((e,t)=>{let r=W(H,e.__scopeDialog),{forceMount:s=r.forceMount,...i}=e,n=B(H,e.__scopeDialog);return n.modal?(0,a.jsx)(E.Presence,{present:s||n.open,children:(0,a.jsx)(Y,{...i,ref:t})}):null});G.displayName=H;var q=(0,L.createSlot)("DialogOverlay.RemoveScroll"),Y=n.forwardRef((e,t)=>{let{__scopeDialog:r,...s}=e,i=B(H,r);return(0,a.jsx)(R.RemoveScroll,{as:q,allowPinchZoom:!0,shards:[i.contentRef],children:(0,a.jsx)(g.Primitive.div,{"data-state":ei(i.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),K="DialogContent",Z=n.forwardRef((e,t)=>{let r=W(K,e.__scopeDialog),{forceMount:s=r.forceMount,...i}=e,n=B(K,e.__scopeDialog);return(0,a.jsx)(E.Presence,{present:s||n.open,children:n.modal?(0,a.jsx)(X,{...i,ref:t}):(0,a.jsx)(J,{...i,ref:t})})});Z.displayName=K;var X=n.forwardRef((e,t)=>{let r=B(K,e.__scopeDialog),s=n.useRef(null),i=(0,m.useComposedRefs)(t,r.contentRef,s);return n.useEffect(()=>{let e=s.current;if(e)return(0,D.hideOthers)(e)},[]),(0,a.jsx)(Q,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,u.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:(0,u.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,a=0===t.button&&!0===t.ctrlKey;(2===t.button||a)&&e.preventDefault()}),onFocusOutside:(0,u.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),J=n.forwardRef((e,t)=>{let r=B(K,e.__scopeDialog),s=n.useRef(!1),i=n.useRef(!1);return(0,a.jsx)(Q,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(s.current||r.triggerRef.current?.focus(),t.preventDefault()),s.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(s.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),Q=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:s,onOpenAutoFocus:i,onCloseAutoFocus:l,...o}=e,d=B(K,r),c=n.useRef(null),u=(0,m.useComposedRefs)(t,c);return(0,A.useFocusGuards)(),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,a.jsx)(x.DismissableLayer,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":ei(d.open),...o,ref:u,onDismiss:()=>d.onOpenChange(!1)})}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ed,{titleId:d.titleId}),(0,a.jsx)(ec,{contentRef:c,descriptionId:d.descriptionId})]})]})}),ee="DialogTitle",et=n.forwardRef((e,t)=>{let{__scopeDialog:r,...s}=e,i=B(ee,r);return(0,a.jsx)(g.Primitive.h2,{id:i.titleId,...s,ref:t})});et.displayName=ee;var ea="DialogDescription";n.forwardRef((e,t)=>{let{__scopeDialog:r,...s}=e,i=B(ea,r);return(0,a.jsx)(g.Primitive.p,{id:i.descriptionId,...s,ref:t})}).displayName=ea;var er="DialogClose",es=n.forwardRef((e,t)=>{let{__scopeDialog:r,...s}=e,i=B(er,r);return(0,a.jsx)(g.Primitive.button,{type:"button",...s,ref:t,onClick:(0,u.composeEventHandlers)(e.onClick,()=>i.onOpenChange(!1))})});function ei(e){return e?"open":"closed"}es.displayName=er;var en="DialogTitleWarning",[el,eo]=(0,p.createContext)(en,{contentName:K,titleName:ee,docsSlug:"dialog"}),ed=({titleId:e})=>{let t=eo(en),a=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
4
5If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
6
7For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return n.useEffect(()=>{e&&(document.getElementById(e)||console.error(a))},[a,e]),null},ec=({contentRef:e,descriptionId:t})=>{let a=eo("DialogDescriptionWarning"),r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${a.contentName}}.`;return n.useEffect(()=>{let a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},eu=e.i(486037),eu=eu;function em({...e}){return(0,a.jsx)(_,{"data-slot":"sheet",...e})}function ep({...e}){return(0,a.jsx)(V,{"data-slot":"sheet-portal",...e})}function ef({className:e,...t}){return(0,a.jsx)(G,{"data-slot":"sheet-overlay",className:(0,o.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}function eh({className:e,children:t,side:r="right",...s}){return(0,a.jsxs)(ep,{children:[(0,a.jsx)(ef,{}),(0,a.jsxs)(Z,{"data-slot":"sheet-content",className:(0,o.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===r&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===r&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===r&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===r&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...s,children:[t,(0,a.jsxs)(es,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,a.jsx)(eu.default,{className:"size-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function ex({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sheet-header",className:(0,o.cn)("flex flex-col gap-1.5 p-4",e),...t})}function eg({className:e,...t}){return(0,a.jsx)(et,{"data-slot":"sheet-title",className:(0,o.cn)("text-foreground font-semibold",e),...t})}var eb=e.i(670102),ev=e.i(181241),ey=e.i(259199);let ej=n.createContext(null);function ew(){let e=n.useContext(ej);if(!e)throw Error("useSidebar must be used within a SidebarProvider.");return e}function eN({defaultOpen:e=!0,open:t,onOpenChange:r,className:s,style:i,children:l,...d}){let c=(0,ey.useIsMobile)(1021)||!0,[u,m]=n.useState(!1),[p,f]=n.useState(e),h=t??p,x=n.useCallback(e=>{let t="function"==typeof e?e(h):e;r?r(t):f(t),document.cookie=`sidebar_state=${t}; path=/; max-age=604800`},[r,h]),g=n.useCallback(()=>m(e=>!e),[c,x,m]);n.useEffect(()=>{let e=e=>
7{"b"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),g())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[g]);let b=h?"expanded":"collapsed",v=n.useMemo(()=>({state:b,open:h,setOpen:x,isMobile:c,openMobile:u,setOpenMobile:m,toggleSidebar:g}),[b,h,x,c,u,m,g]);return(0,a.jsx)(ej.Provider,{value:v,children:(0,a.jsx)(ev.TooltipProvider,{delayDuration:0,children:(0,a.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...i},className:(0,o.cn)("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",s),...d,children:l})})})}function ek({side:e="left",variant:t="sidebar",collapsible:r="offcanvas",className:s,children:i,modal:n=!0,...l}){let{isMobile:d,state:c,openMobile:u,setOpenMobile:m}=ew();return"none"===r?(0,a.jsx)("div",{"data-slot":"sidebar",className:(0,o.cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",s),...l,children:i}):d?(0,a.jsx)(em,{open:u,modal:n,onOpenChange:m,...l,children:(0,a.jsxs)(eh,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden border-sidebar-border",style:{"--sidebar-width":"18rem"},side:e,forceMount:!0,children:[(0,a.jsx)(ex,{className:"sr-only",children:(0,a.jsx)(eg,{children:"Menu"})}),(0,a.jsx)("div",{className:"flex h-full w-full flex-col",children:i})]})}):(0,a.jsxs)("div",{className:"group peer text-sidebar-foreground hidden md:block","data-state":c,"data-collapsible":"collapsed"===c?r:"","data-variant":t,"data-side":e,"data-slot":"sidebar",children:[(0,a.jsx)("div",{"data-slot":"sidebar-gap",className:(0,o.cn)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===t||"inset"===t?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)")}),(0,a.jsx)("div",{"data-slot":"sidebar-container",className:(0,o.cn)("fixed inset-y-0 z-[100] hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex","left"===e?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===t||"inset"===t?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",s),...l,children:(0,a.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:i})})]})}function eC({className:e,onClick:t,...r}){let{toggleSidebar:s}=ew();return(0,a.jsxs)(l.Button,{"data-sidebar":"trigger","data-slot":"sidebar-trigger",variant:"ghost",size:"icon",className:(0,o.cn)("size-7",e),onClick:e=>{t?.(e),s()},...r,children:[(0,a.jsx)(i.default,{}),(0,a.jsx)("span",{className:"sr-only",children:"Toggle Sidebar"})]})}function eP({className:e,...t}){let{toggleSidebar:r}=ew();return(0,a.jsx)("button",{"data-sidebar":"rail","data-slot":"sidebar-rail","aria-label":"Toggle Sidebar",tabIndex:-1,onClick:r,title:"Toggle Sidebar",className:(0,o.cn)("hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex","in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize","[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize","hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full","[[data-side=left][data-collapsible=offcanvas]_&]:-right-2","[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",e),...t})}function eS({className:e,...t}){return(0,a.jsx)("main",{"data-slot":"sidebar-inset",className:(0,o.cn)("bg-background relative flex w-full flex-1 flex-col","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",e),...t})}function eT({className:e,...t}){return(0,a.jsx)(d,{"data-slot":"sidebar-input","data-sidebar":"input",className:(0,o.cn)("bg-background h-8 w-full shadow-none",e),...t})}function eE({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,o.cn)("flex flex-col gap-2 p-2",e),...t})}function eA({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,o.cn)("flex flex-col gap-2 p-2",e),...t})}function eR({className:e,...t}){return(0,a.jsx)(c.Separator,{"data-slot":"sidebar-separator","data-sidebar":"separator",className:(0,o.cn)("bg-sidebar-border mx-2 w-auto",e),...t})}function eD({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,o.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",e),...t})}function eL({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,o.cn)("relative flex w-full min-w-0 flex-col p-2",e),...t})}function ez({className:e,asChild:t=!1,...s}){let i=t?r.Slot:"div";return(0,a.jsx)(i,{"data-slot":"sidebar-group-label","data-sidebar":"group-label",className:(0,o.cn)("text-sidebar-foreground
7/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",e),...s})}function eO({className:e,asChild:t=!1,...s}){let i=t?r.Slot:"button";return(0,a.jsx)(i,{"data-slot":"sidebar-group-action","data-sidebar":"group-action",className:(0,o.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","group-data-[collapsible=icon]:hidden",e),...s})}function eM({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,o.cn)("w-full text-sm",e),...t})}function eI({className:e,...t}){return(0,a.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,o.cn)("flex w-full min-w-0 flex-col gap-1",e),...t})}function eB({className:e,...t}){return(0,a.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,o.cn)("group/menu-item relative",e),...t})}let e_=(0,s.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function eU({asChild:e=!1,isActive:t=!1,variant:s="default",size:i="default",tooltip:n,className:l,...d}){let c=e?r.Slot:"button",{isMobile:u,state:m}=ew(),p=(0,a.jsx)(c,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":i,"data-active":t,className:(0,o.cn)(e_({variant:s,size:i}),l),...d});return n?("string"==typeof n&&(n={children:n}),(0,a.jsxs)(ev.Tooltip,{children:[(0,a.jsx)(ev.TooltipTrigger,{asChild:!0,children:p}),(0,a.jsx)(ev.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==m||u,...n})]})):p}function eF({className:e,asChild:t=!1,showOnHover:s=!1,...i}){let n=t?r.Slot:"button";return(0,a.jsx)(n,{"data-slot":"sidebar-menu-action","data-sidebar":"menu-action",className:(0,o.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0","after:absolute after:-inset-2 md:after:hidden","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",s&&"peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0",e),...i})}function e$({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"sidebar-menu-badge","data-sidebar":"menu-badge",className:(0,o.cn)("text-sidebar-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums select-none","peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground","peer-data-[size=sm]/menu-button:top-1","peer-data-[size=default]/menu-button:top-1.5","peer-data-[size=lg]/menu-button:top-2.5","group-data-[collapsible=icon]:hidden",e),...t})}function eW({className:e,showIcon:t=!1,...r}){let s=n.useMemo(()=>`${Math.floor(40*Math.random())+50}%`,[]);return(0,a.jsxs)("div",{"data-slot":"sidebar-menu-skeleton","data-sidebar":"menu-skeleton",className:(0,o.cn)("flex h-8 items-center gap-2 rounded-md px-2",e),...r,children:[t&&(0,a.jsx)(eb.Skeleton,{className:"size-4 rounded-md","data-sidebar":"menu-skeleton-icon"}),(0,a.jsx)(eb.Skeleton,{className:"h-4 max-w-(--skeleton-width) flex-1","data-sidebar":"menu-skeleton-text",style:{"--skeleton-width":s}})]})}function eV({className:e,...t}){return(0,a.jsx)("ul",{"data-slot":"sidebar-menu-sub","data-sidebar":"menu-sub",className:(0,o.cn)("border-sidebar-border mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l px-2.5 py-0.5","group-data-[collapsible=icon]:hidden",e),...t})}function eH({className:e,...t}){return(0,a.jsx)("li",{"data-slot":"sidebar-menu-sub-item","data-sidebar":"menu-sub-item",className:(0,o.cn)("group/menu-sub-item relative",e),...t})}function eG({asChild:e=!1,size:t="md",isActive:s=!1,className:i,...n}){let l=e?r.Slot:"a";return(0,a.jsx)(l,{"data-slot":"sidebar-menu-sub-button","data-sidebar":"menu-sub-button","data-size":t,"data-active":s,className:(0,o.cn)("text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 outline-hidden focu
7s-visible:ring-2 disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0","data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground","sm"===t&&"text-xs","md"===t&&"text-sm","group-data-[collapsible=icon]:hidden",i),...n})}e.s(["Sidebar",()=>ek,"SidebarContent",()=>eD,"SidebarFooter",()=>eA,"SidebarGroup",()=>eL,"SidebarGroupAction",()=>eO,"SidebarGroupContent",()=>eM,"SidebarGroupLabel",()=>ez,"SidebarHeader",()=>eE,"SidebarInput",()=>eT,"SidebarInset",()=>eS,"SidebarMenu",()=>eI,"SidebarMenuAction",()=>eF,"SidebarMenuBadge",()=>e$,"SidebarMenuButton",()=>eU,"SidebarMenuItem",()=>eB,"SidebarMenuSkeleton",()=>eW,"SidebarMenuSub",()=>eV,"SidebarMenuSubButton",()=>eG,"SidebarMenuSubItem",()=>eH,"SidebarProvider",()=>eN,"SidebarRail",()=>eP,"SidebarSeparator",()=>eR,"SidebarTrigger",()=>eC,"default",0,eN,"useSidebar",()=>ew],269714)},359141,e=>{"use strict";let t=(0,e.i(688094).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["default",()=>t])},207766,e=>{"use strict";var t=e.i(359141);e.s(["ExternalLink",()=>t.default])},926701,e=>{"use strict";var t=e.i(572256),a=e.i(432245),r=e.i(477130),s=e.i(650561),i=e.i(398700),n=e.i(234805),l=e.i(631904),o=e.i(19312),d=e.i(329298),c=o.forwardRef((e,a)=>{let{ratio:r=1,style:s,...i}=e;return(0,t.jsx)("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/r}%`},"data-radix-aspect-ratio-wrapper":"",children:(0,t.jsx)(d.Primitive.div,{...i,ref:a,style:{...s,position:"absolute",top:0,right:0,bottom:0,left:0}})})});c.displayName="AspectRatio";var u=e.i(172863),m=e.i(16618);let p=(0,e.i(674793).tv)({slots:{base:"",cardHeader:"",cardContent:""},variants:{orientation:{landscape:{base:"h-full flex flex-row !p-0 !rounded-md gap-4",cardHeader:"h-full w-full min-w-36 md:min-w-48 p-0 relative gap-0 grow grid-rows-none",cardContent:"flex flex-col gap-3 h-full px-0 pr-4 py-2"},portrait:{base:"h-full flex flex-col !pt-0 pb-4 !rounded-md gap-4",cardHeader:"px-0",cardContent:"flex flex-col gap-3 h-full px-3"}}},defaultVariants:{orientation:"portrait"}});function f({children:e,url:a,prefetch:r=!0}){return(0,t.jsx)(i.Link,{className:"!text-foreground",href:a,prefetch:r,children:e})}function h({article:e,websiteConfig:i,orientation:o="portrait"}){let d=e.tags?.slice(0,2),h=e.tags?.slice(2),{base:x,cardHeader:g,cardContent:b}=p({orientation:o}),v=!!e.author?.avatar?.url;return(0,t.jsxs)(s.Card,{className:x(),children:[(0,t.jsx)(s.CardHeader,{className:g(),children:(0,t.jsx)(f,{url:e.urlPathWithAncestry,prefetch:!0,children:(0,t.jsx)(c,{ratio:16/9,children:(0,t.jsx)(u.default,{url:e.featuredImage?.url,alt:`${e.title} featured image`,websiteConfig:i})})})}),(0,t.jsxs)(s.CardContent,{className:b(),children:[(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:(0,n.formatDateRelative)(e.publishedAt)}),(0,t.jsx)(f,{url:e.urlPathWithAncestry,prefetch:!0,children:(0,t.jsx)(m.default,{level:5,className:"text-ellipsis line-clamp-2 hover:underline",children:e.title})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"grow"}),(0,t.jsxs)("div",{className:"flex gap-3",children:[v&&(0,t.jsx)(a.Avatar,{className:"size-10",children:(0,t.jsx)(a.AvatarImage,{src:(0,l.getOptimisedImageUrl)({url:e.author?.avatar?.url,width:40,height:40},i),alt:`${e.author?.fullName} avatar`,width:40,height:40,unoptimized:!0,loading:"lazy"})}),(0,t.jsx)("div",{className:"flex flex-col justify-center",children:(0,t.jsx)(f,{url:e.author?.url,prefetch:!0,children:(0,t.jsx)("p",{className:"font-medium hover:underline",children:e.author?.fullName})})})]})]})]}),"portrait"===o&&(0,t.jsxs)(s.CardFooter,{className:"flex gap-2 px-3",children:[!!d?.length&&d?.map(e=>(0,t.jsx)(r.Badge,{variant:"outline",className:"rounded-full",size:"lg",children:e.name},e.slug)),!!h?.length&&(0,t.jsxs)(r.Badge,{variant:"outline",className:"rounded-full",size:"lg",children:["+",h?.length]})]})]})}e.s(["default",()=>h],926701)},264458,(e,t,a)=>{!function(){"use strict";var a={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var i=arguments[t];i&&(e=s(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var i in e)a.call(e,i)&&e[i]&&(t=s(t,i));return t}(i)))}return e}function s(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)r.default=r,t.exports=r;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==r&&e.v(r);else window.classNames=r}()},659979,(e,t,a)=>{function r(e,t,a){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+a:Math.ceil(e/t)+" "+a+"s"}t.exports=function(e,t){t=t||{};var a,s,i=typeof e;if("string"===i&&e.length>0){var n=e;if(!((n=String(n)).length>100)){var l=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(n);if(l){var o=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return 864e5*o;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*o;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*o;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:break}}}return}if("number"===i&&!1===isNaN(e)){return t.long?r(a=e,864e5,"day")||r(a,36e5,"hour")||r(a,6e4,"minute")||r(a,1e3,"second")||a+" ms":(s=e)>=864e5?Math.round(s/864e5)+"d":s>=36e5?Math.round(s/36e5)+"h":s>=6e4?Math.round(s/6e4)+"m":s>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},600741,(e,t,a)=>{var r;function s(e){function t(){if(t.enabled){var e=+new Date;t.diff=e-(r||e),t.prev=r,t.curr=e,r=e;for(var s=Array(arguments.length),i=0;i<s.length;i++)s[i]=arguments[i];s[0]=a.coerce(s[0]),"string"!=typeof s[0]&&s.unshift("%O");var n=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,function(e,r){if("%%"===e)return e;n++;var i=a.formatters[r];if("function"==typeof i){var l=s[n];e=i.call(t,l),s.splice(n,1),n--}return e}),a.formatArgs.call(t,s),(t.log||a.log||console.log.bind(console)).apply(t,s)}}return t.namespace=e,t.enabled=a.enabled(e),t.useColors=a.useColors(),t.color=function(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t)|0;return a.colors[Math.abs(r)%a.colors.length]}(e),"function"==typeof a.init&&a.init(t),t}(a=t.exports=s.debug=s.default=s).coerce=function(e){return e instanceof Error?e.stack||e.message:e},a.disable=function(){a.enable("")},a.enable=function(e){a.save(e),a.names=[],a.skips=[];
7for(var t=("string"==typeof e?e:"").split(/[\s,]+/),r=t.length,s=0;s<r;s++)t[s]&&("-"===(e=t[s].replace(/\*/g,".*?"))[0]?a.skips.push(RegExp("^"+e.substr(1)+"$")):a.names.push(RegExp("^"+e+"$")))},a.enabled=function(e){var t,r;for(t=0,r=a.skips.length;t<r;t++)if(a.skips[t].test(e))return!1;for(t=0,r=a.names.length;t<r;t++)if(a.names[t].test(e))return!0;return!1},a.humanize=e.r(659979),a.names=[],a.skips=[],a.formatters={}},39359,(e,t,a)=>{var r=e.i(145015);function s(){var e;try{e=a.storage.debug}catch(e){}return!e&&void 0!==r.default&&"env"in r.default&&(e=r.default.env.DEBUG),e}(a=t.exports=e.r(600741)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},a.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+a.humanize(this.diff),t){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var s=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(s++,"%c"===e&&(i=s))}),e.splice(i,0,r)}},a.save=function(e){try{null==e?a.storage.removeItem("debug"):a.storage.debug=e}catch(e){}},a.load=s,a.useColors=function(){return"undefined"!=typeof window&&!!window.process&&"renderer"===window.process.type||"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},a.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),a.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],a.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},a.enable(s())},403853,738883,e=>{"use strict";var t=e.i(121954);e.s(["MoveLeftIcon",()=>t.default],403853);var a=e.i(876694);e.s(["MoveRightIcon",()=>a.default],738883)},675579,e=>{"use strict";var t=e.i(572256),a=e.i(981831),r=e.i(632137),s=e.i(403853),i=e.i(738883),n=e.i(19312);function l({items:e,heading:l,isPreview:o=!1}
7){let d=(0,n.useRef)(null),[c,u]=(0,n.useState)(e?.[0]?.id||null),[m,p]=(0,n.useState)(!1),[f,h]=(0,n.useState)(0);if((0,n.useEffect)(()=>{let t=()=>{let t=window.pageYOffset,a=e[0]?.id||null,r=1/0;e.forEach(e=>{let s=document.getElementById(e.id);if(s){let i=Math.abs(s.getBoundingClientRect().top+t-(t+150));i<r&&(r=i,a=e.id)}}),u(a)};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),(0,n.useEffect)(()=>{if(c&&d.current&&m){let e=d.current.querySelector(`[data-id="${c}"]`);if(e){e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"});let t=()=>{d.current&&h(d.current.scrollLeft)};return d.current.addEventListener("scroll",t),()=>{d.current&&d.current.removeEventListener("scroll",t)}}}},[c]),(0,n.useEffect)(()=>{p(!0)},[]),!e?.length)return null;let x=c===e[0]?.id,g=c===e[e.length-1]?.id;return(0,t.jsx)("section",{className:(0,r.cn)("sticky top-[88px] z-[40] bg-card/95 backdrop-blur-sm border border-border/50 shadow-lg rounded-xl mx-4",{"top-[120px]":o}),children:(0,t.jsx)("div",{className:"container bg-inherit h-full overflow-hidden !px-0 sm:!px-8",children:(0,t.jsxs)("div",{className:"flex items-center overflow-hidden h-14 relative mx-2 rounded-xl",children:[(0,t.jsx)(a.Button,{disabled:x,onClick:()=>{d.current&&(d.current.scrollBy({left:-200,behavior:"smooth"}),h(d.current.scrollLeft-200))},className:"scroll-button left-0 h-full w-12 hidden md:flex items-center justify-center bg-background/80 hover:bg-background/90 transition-all duration-200 border-r border-border/30 rounded-l-xl",variant:"ghost",size:"sm",children:(0,t.jsx)(s.MoveLeftIcon,{className:"size-4"})}),(0,t.jsx)("div",{ref:d,className:"toc-items flex w-full overflow-x-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] md:overflow-x-hidden whitespace-nowrap h-full items-center px-4 relative",children:e.map(e=>(0,t.jsx)("div",{className:(0,r.cn)("px-2 h-full max-w-64 transition-all duration-200",{"border-primary border-b-2 shadow-sm rounded-t-lg":c===e.id}),children:(0,t.jsx)("div",{className:(0,r.cn)("toc-item inline-block text-sm text-center h-full flex items-center justify-center"),children:(0,t.jsx)("button",{"data-id":e.id,onClick:t=>{let a=document.getElementById(e.id);if(a){let e=a.getBoundingClientRect().top+window.pageYOffset-150;window.scrollTo({top:e,behavior:"smooth"})}},className:(0,r.cn)("truncate text-foreground/80 hover:text-foreground p-3 cursor-pointer h-full rounded-lg transition-all duration-200 hover:bg-accent/50 min-w-0",{"text-primary font-semibold bg-accent/20 rounded-full":c===e.id}),children:e.heading})},e.id)},e.id))}),(0,t.jsx)("div",{className:(0,r.cn)("hidden absolute left-12 top-0 h-full w-12 md:w-32 bg-gradient-to-r from-background via-background/90 to-transparent pointer-events-none rounded-l-xl",{"md:block":!x})}),(0,t.jsx)("div",{className:(0,r.cn)("hidden absolute right-12 top-0 h-full w-12 md:w-32 bg-gradient-to-l from-background via-background/90 to-transparent pointer-events-none rounded-r-xl",{"md:block":!g})}),(0,t.jsx)(a.Button,{disabled:g,onClick:()=>{d.current&&(d.current.scrollBy({left:200,behavior:"smooth"}),h(d.current.scrollLeft+200))},className:"scroll-button right-0 h-full w-12 hidden md:flex items-center justify-center bg-background/80 hover:bg-background/90 transition-all duration-200 border-l border-border/30 rounded-r-xl",variant:"ghost",size:"sm",children:(0,t.jsx)(i.MoveRightIcon,{className:"size-4"})})]})})})}e.s(["default",()=>l])},28212,e=>{"use strict";var t=e.i(572256),a=e.i(981831),r=e.i(632137),s=e.i(403853),i=e.i(738883),n=e.i(19312);function l({items:e,heading:l,isPreview:o=!1}
7){let d=(0,n.useRef)(null),[c,u]=(0,n.useState)(e?.[0]?.id||null),[m,p]=(0,n.useState)(!1),[f,h]=(0,n.useState)(0);if((0,n.useEffect)(()=>{let t=()=>{let t=window.pageYOffset,a=e[0]?.id||null,r=1/0;e.forEach(e=>{let s=document.getElementById(e.id);if(s){let i=Math.abs(s.getBoundingClientRect().top+t-(t+150));i<r&&(r=i,a=e.id)}}),u(a)};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[e]),(0,n.useEffect)(()=>{if(c&&d.current&&m){let e=d.current.querySelector(`[data-id="${c}"]`);if(e){e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"});let t=()=>{d.current&&h(d.current.scrollLeft)};return d.current.addEventListener("scroll",t),()=>{d.current&&d.current.removeEventListener("scroll",t)}}}},[c]),(0,n.useEffect)(()=>{p(!0)},[]),!e?.length)return null;let x=c===e[0]?.id,g=c===e[e.length-1]?.id;return(0,t.jsx)("section",{className:(0,r.cn)("sticky top-[88px] z-[40] bg-card border-b",{"top-[120px]":o}),children:(0,t.jsx)("div",{className:"container bg-inherit h-full overflow-hidden !px-0 sm:!px-8",children:(0,t.jsxs)("div",{className:"flex items-center overflow-hidden h-12 relative",children:[(0,t.jsx)(a.Button,{disabled:x,onClick:()=>{d.current&&(d.current.scrollBy({left:-200,behavior:"smooth"}),h(d.current.scrollLeft-200))},className:"scroll-button left-0 h-full w-12 hidden md:block",children:(0,t.jsx)(s.MoveLeftIcon,{className:"size-5"})}),(0,t.jsx)("div",{ref:d,className:"toc-items flex w-full overflow-x-auto [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] md:overflow-x-hidden whitespace-nowrap h-full items-center px-2 relative",children:e.map(e=>(0,t.jsx)("div",{className:(0,r.cn)("px-1 h-full max-w-60",{"border-primary border-b-2":c===e.id}),children:(0,t.jsx)("div",{className:(0,r.cn)("toc-item inline-block text-sm text-center h-full flex items-center justify-center"),children:(0,t.jsx)("button",{"data-id":e.id,onClick:t=>{let a=document.getElementById(e.id);if(a){let e=a.getBoundingClientRect().top+window.pageYOffset-150;window.scrollTo({top:e,behavior:"smooth"})}},className:(0,r.cn)("truncate text-foreground p-2 cursor-pointer h-full",{"text-primary font-[500]":c===e.id}),children:e.heading})},e.id)},e.id))}),(0,t.jsx)("div",{className:(0,r.cn)("hidden absolute left-12 top-0 h-full w-12 md:w-32 bg-gradient-to-r from-white via-white/80 to-transparent pointer-events-none",{"md:block":!x})}),(0,t.jsx)("div",{className:(0,r.cn)("hidden absolute right-12 top-0 h-full w-12 md:w-32 bg-gradient-to-l from-white via-white/80 to-transparent pointer-events-none",{"md:block":!g})}),(0,t.jsx)(a.Button,{disabled:g,onClick:()=>{d.current&&(d.current.scrollBy({left:200,behavior:"smooth"}),h(d.current.scrollLeft+200))},className:"scroll-button right-0 h-full w-12 hidden md:block",children:(0,t.jsx)(i.MoveRightIcon,{className:"size-5"})})]})})})}e.s(["default",()=>l])},606998,e=>{"use strict";var t=e.i(572256),a=e.i(967285);let r=e=>{let t="";return e?.language&&(t=e.language,e.region&&(t+="-")),e.region&&(t+=e.region),t};e.s(["buildLocaleNameString",0,r,"default",0,({xdefault:e="",alternates:s=[],websiteConfig:i})=>{let{hasTrailingSlash:n}=i||{},l=a.Env.domain;return(0,t.jsxs)("head",{children:[e&&(0,t.jsx)("link",{rel:"alternate",href:`https://${l}${e.replace(/([\/]+)$/gm,"")}${n?"/":""}`,hrefLang:"x-default"},"hreflang-xdefault"),s?.filter(e=>e?.path)?.map(e=>{let a=r(e),s=(e?.path||"").replace(/([\/]+)$/gm,"");return(0,t.jsx)("link",{rel:"alternate",href:`https://${l}${s}${n?"/":""}`,hrefLang:a},`hreflang-alternate-${a}`)}),s?.filter(e=>e?.path)?.map(e=>{let a=r(e);return(0,t.jsx)("meta",{property:"og:locale:alternate",content:a},`og-locale-alternate-${a}`)})]})}])},919444,e=>{"use strict";var t=e.i(572256),a=e.i(19312),r=e.i(775453),s=e.i(699962),i=e.i(654436),n=e.i(843594),l=e.i(154557),o=e.i(329298),d=e.i(596010),c=e.i(417425),u="Collapsible",[m,p]=(0,s.createContextScope)(u),[f,h]=m(u),x=a.forwardRef((e,r)=>{let{__scopeCollapsible:s,open:n,defaultOpen:l,disabled:d,onOpenChange:m,...p}=e,[h,x]=(0,i.useControllableState)({prop:n,defaultProp:l??!1,onChange:m,caller:u});return(0,t.jsx)(f,{scope:s,disabled:d,contentId:(0,c.useId)(),open:h,onOpenToggle:a.useCallback(()=>x(e=>!e),[x]),children:(0,t.jsx)(o.Primitive.div,{"data-state":w(h),"data-disabled":d?"":void 0,...p,ref:r})})});x.displayName=u;var g="CollapsibleTrigger",b=a.forwardRef((e,a)=>{let{__scopeCollapsible:s,...i}=e,n=h(g,s);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":w(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...i,ref:a,onClick:(0,r.composeEventHandlers)(e.onClick,n.onOpenToggle)})});b.displayName=g;var v="CollapsibleContent",y=a.forwardRef((e,a)=>{let{forceMount:r,...s}=e,i=h(v,e.__scopeCollapsible);return(0,t.jsx)(d.Presence,{present:r||i.open,children:({present:e})=>(0,t.jsx)(j,{...s,ref:a,present:e})})});y.displayName=v;var j=a.forwardRef((e,r)=>{let{__scopeCollapsible:s,present:i,children:d,...c}
7=e,u=h(v,s),[m,p]=a.useState(i),f=a.useRef(null),x=(0,l.useComposedRefs)(r,f),g=a.useRef(0),b=g.current,y=a.useRef(0),j=y.current,N=u.open||m,k=a.useRef(N),C=a.useRef(void 0);return a.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.useLayoutEffect)(()=>{let e=f.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();g.current=t.height,y.current=t.width,k.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(i)}},[u.open,i]),(0,t.jsx)(o.Primitive.div,{"data-state":w(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!N,...c,ref:x,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:N&&d})});function w(e){return e?"open":"closed"}function N({...e}){return(0,t.jsx)(x,{"data-slot":"collapsible",...e})}function k({...e}){return(0,t.jsx)(b,{"data-slot":"collapsible-trigger",...e})}function C({...e}){return(0,t.jsx)(y,{"data-slot":"collapsible-content",...e})}e.s(["Collapsible",()=>N,"CollapsibleContent",()=>C,"CollapsibleTrigger",()=>k],919444)},800364,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(477130),s=e.i(981831),i=e.i(632137),n=e.i(398700),l=e.i(207766),o=e.i(19312);e.s(["default",0,e=>{let{headerAlignment:d,categories:c=[],heading:u}=e,[m,p]=(0,o.useState)(c[0]?.name||""),f="text-left";"center"===d?f="text-center":"right"===d&&(f="text-right");let h=c.find(e=>e.name===m);return(0,t.jsxs)("section",{"data-slot":"content-section",className:"relative bg-gradient-to-br from-background via-muted/10 to-background overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_30%_20%,rgba(var(--primary-rgb,0,0,0),0.03),transparent_50%)]"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_70%_80%,rgba(var(--primary-rgb,0,0,0),0.02),transparent_50%)]"}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{className:"main-content",children:(0,t.jsxs)("section",{className:"pt-10 lg:pt-16 pb-12 lg:pb-24 flex flex-col container",children:[u&&(0,t.jsx)("header",{className:"mb-8 lg:mb-12",children:(0,t.jsx)(a.default,{className:(0,i.cn)("text-4xl lg:text-5xl xl:text-6xl font-bold mb-3 bg-gradient-to-br from-foreground to-foreground/70 bg-clip-text text-transparent",f),level:2,children:u})}),(0,t.jsx)("nav",{className:"flex flex-wrap gap-3 py-2 mb-8 lg:mb-12",role:"tablist","aria-label":"Content categories",children:c.map((e,a)=>(0,t.jsx)(r.Badge,{role:"tab","aria-selected":m===e.name,className:(0,i.cn)("cursor-pointer rounded-full px-6 py-2.5 font-medium text-sm lg:text-base transition-all duration-300 border-2",m===e.name?"bg-primary text-primary-foreground border-primary shadow-lg scale-105":"bg-background/80 backdrop-blur-sm text-foreground border-border/50 hover:border-primary/50 hover:bg-muted/50"),onClick:()=>p(e.name),children:e.name},e.name+a))}),(0,t.jsx)("div",{className:"grid gap-8 lg:gap-10 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4",children:h?.subCategories.map((a,r)=>(0,t.jsxs)("article",{className:"group p-6 rounded-2xl bg-card/50 backdrop-blur-sm border border-border/50 shadow-sm hover:shadow-xl transition-all duration-300 hover:-translate-y-1",children:[(0,t.jsx)("header",{className:"mb-5 pb-4 border-b border-border/50",children:(0,t.jsx)("h3",{className:"font-bold text-lg text-foreground group-hover:text-primary transition-colors",children:a.title})}),(0,t.jsx)("nav",{className:"flex flex-col space-y-3",children:a.content.map((a,r)=>{let i=((e,t)=>{if("partnerVisit"===e.destinationType&&e.partnerSlug)return`/visit/${e.partnerSlug}${t.hasTrailingSlash?"/":""}`;let a=e.url||"#",r=a.endsWith("/")?a.slice(0,-1):a;return`${r}${t.hasTrailingSlash?"/":""}`})(a,e.websiteConfig),o="partnerVisit"===a.destinationType;return(0,t.jsx)(s.Button,{variant:"ghost",className:"group/link justify-start h-auto p-2 font-normal text-sm hover:bg-muted/50 rounded-lg transition-all duration-200",asChild:!0,children:(0,t.jsxs)(n.Link,{href:i,target:o?"_blank":void 0,rel:o?"noopener noreferrer":void 0,className:"flex items-center gap-2 w-full",children:[(0,t.jsx)("span",{className:"flex-1 text-left group-hover/link:translate-x-1 transition-transform duration-200",children:a.title}),o&&(0,t.jsx)(l.ExternalLink,{className:"w-3.5 h-3.5 text-muted-foreground group-hover/link:text-primary transition-colors flex-shrink-0","aria-hidden":"true"})]})},a.title+r)})})]},a.title+r))})]})})})]})}])},671385,e=>{"use strict";var t=e.i(572256),a=e.i(16618),r=e.i(477130),s=e.i(981831),i=e.i(632137),n=e.i(398700),l=e.i(19312);e.s(["default",0,e=>{let{headerAlignment:o,categories:d=[],heading:c}
7=e,[u,m]=(0,l.useState)(d[0]?.name||""),p="text-left";"center"===o?p="text-center":"right"===o&&(p="text-right");let f=d.find(e=>e.name===u);return(0,t.jsx)("section",{"data-slot":"content-section",className:"bg-card",children:(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"main-content",children:(0,t.jsxs)("section",{className:"pt-5 lg:pt-10 pb-10 lg:pb-20 flex flex-col container",children:[c&&(0,t.jsx)(a.default,{className:(0,i.cn)("text-4xl lg:text-5xl",p),level:2,children:c}),(0,t.jsx)("div",{className:"flex space-x-2 py-2 my-4 overflow-x-auto lg:my-6",children:d.map((e,a)=>(0,t.jsx)(r.Badge,{className:(0,i.cn)("cursor-pointer rounded-[80px] px-4 py-2 bg-transparent border-secondary text-secondary",{"bg-secondary text-card":u===e.name}),onClick:()=>m(e.name),children:e.name},e.name+a))}),(0,t.jsx)("div",{className:"grid gap-8 grid-cols-1 md:grid-cols-2 lg:grid-cols-4",children:f?.subCategories.map((a,r)=>(0,t.jsxs)("div",{className:"max-w-[296px]",children:[(0,t.jsx)("p",{className:"font-semibold mb-4",children:a.title}),(0,t.jsx)("div",{className:"flex flex-col items-start space-y-2",children:a.content.map((a,r)=>{let i=((e,t)=>{if("partnerVisit"===e.destinationType&&e.partnerSlug)return`/visit/${e.partnerSlug}${t.hasTrailingSlash?"/":""}`;let a=e.url||"#",r=a.endsWith("/")?a.slice(0,-1):a;return`${r}${t.hasTrailingSlash?"/":""}`})(a,e.websiteConfig),l="partnerVisit"===a.destinationType;return(0,t.jsx)(s.Button,{variant:"ghost",className:"justify-start h-auto p-0 font-normal text-sm hover:bg-transparent hover:underline",asChild:!0,children:(0,t.jsx)(n.Link,{href:i,target:l?"_blank":void 0,rel:l?"noopener noreferrer":void 0,children:a.title})},a.title+r)})})]},a.title+r))})]})})})})}])},949437,e=>{e.v(t=>Promise.all(["static/chunks/28fed53962b40e1f.js"].map(t=>e.l(t))).then(()=>t(520907)))},707021,e=>{e.v(t=>Promise.all(["static/chunks/02bf06bc42ebdf38.js"].map(t=>e.l(t))).then(()=>t(698995)))},649425,e=>{e.v(t=>Promise.all(["static/chunks/a4a3e7eac3903649.js"].map(t=>e.l(t))).then(()=>t(358046)))},765260,e=>{e.v(t=>Promise.all(["static/chunks/6126b24705ce56aa.js"].map(t=>e.l(t))).then(()=>t(981213)))},140577,e=>{e.v(t=>Promise.all(["static/chunks/6e0eb636337d666a.js"].map(t=>e.l(t))).then(()=>t(578251)))},777121,e=>{e.v(t=>Promise.all(["static/chunks/f89c6e1b85d00c33.js"].map(t=>e.l(t))).then(()=>t(806245)))},140513,e=>{e.v(t=>Promise.all(["static/chunks/114f3489488b4f98.js"].map(t=>e.l(t))).then(()=>t(205744)))},366618,e=>{e.v(t=>Promise.all(["static/chunks/8601a45afe4f12b3.js"].map(t=>e.l(t))).then(()=>t(984486)))},507729,e=>{e.v(t=>Promise.all(["static/chunks/804b27fd6b9fd351.js"].map(t=>e.l(t))).then(()=>t(16394)))},229217,e=>{e.v(t=>Promise.all(["static/chunks/5855e6e60a62b0db.js"].map(t=>e.l(t))).then(()=>t(219258)))},75718,e=>{e.v(t=>Promise.all(["static/chunks/8e53d1949f1626e7.js"].map(t=>e.l(t))).then(()=>t(1406)))},216819,e=>{e.v(t=>Promise.all(["static/chunks/69d88278f1b07019.js"].map(t=>e.l(t))).then(()=>t(527332)))},343794,e=>{e.v(t=>Promise.all(["static/chunks/e34694cfad35468a.js"].map(t=>e.l(t))).then(()=>t(546714)))},16457,e=>{e.v(t=>Promise.all(["static/chunks/b8cf2ff413b41f70.js"].map(t=>e.l(t))).then(()=>t(702935)))},882510,e=>{e.v(t=>Promise.all(["static/chunks/b41a086ec4af16d2.js"].map(t=>e.l(t))).then(()=>t(830879)))},12348,e=>{e.v(t=>Promise.all(["static/chunks/4d31fde17d29c8fe.js"].map(t=>e.l(t))).then(()=>t(52137)))},480565,e=>{e.v(t=>Promise.all(["static/chunks/5b90c5c9fcd87b62.js"].map(t=>e.l(t))).then(()=>t(317519)))},248574,e=>{e.v(t=>Promise.all(["static/chunks/446bbf6b61deff7a.js"].map(t=>e.l(t))).then(()=>t(771959)))},296321,e=>{e.v(t=>Promise.all(["static/chunks/f041a7f581809ee8.js"].map(t=>e.l(t))).then(()=>t(906560)))},427781,e=>{e.v(t=>Promise.all(["static/chunks/376b3a4858aedc00.js"].map(t=>e.l(t))).then(()=>t(483937)))},95491,e=>{e.v(t=>Promise.all(["static/chunks/b2f4739444d7f045.js"].map(t=>e.l(t))).then(()=>t(498011)))},522181,e=>{e.v(t=>Promise.all(["static/chunks/a7d465906213be7e.js"].map(t=>e.l(t))).then(()=>t(728092)))},370871,e=>{e.v(t=>Promise.all(["static/chunks/5a4021bb238bca1d.js"].map(t=>e.l(t))).then(()=>t(545791)))},163429,e=>{e.v(t=>Promise.all(["static/chunks/d8478b0700354644.js"].map(t=>e.l(t))).then(()=>t(234090)))},232584,e=>{e.v(t=>Promise.all(["static/chunks/a6d6c5312e23a3e0.js"].map(t=>e.l(t))).then(()=>t(641051)))},220139,e=>{e.v(t=>Promise.all(["static/chunks/850ee2749c813d3b.js"].map(t=>e.l(t))).then(()=>t(88298)))},532661,e=>{e.v(t=>Promise.all(["static/chunks/fbf7af57a472fdec.js"].map(t=>e.l(t))).then(()=>t(242146)))},25407,e=>{e.v(t=>Promise.all(["static/chunks/d098ce912c0d4f17.js"].map(t=>e.l(t))).then(()=>t(663498)))},237296,e=>{e.v(t=>Promise.all(["static/chunks/c34d485d6d74dadb.js"].map(t=>e.l(t))).then(()=>t(486835)))},594516,e=>{e.v(t=>Promise.all(["static/chunks/c48f78f29f5d6228.js"].map(t=>e.l(t))).then(()=>t(689643)))},826725,e=>{e.v(t=>Promise.all(["static/chunks/dddc43331f1367cc.js"].map(t=>e.l(t))).then(()=>t(630558)))},991701,e=>{e.v(t=>Promise.all(["static/chunks/fc13aa39ac01d3ce.js"].map(t=>e.l(t))).then(()=>t(86139)))},511018,e=>{e.v(t=>Promise.all(["static/chunks/afc11aaaae1a5e77.js"].map(t=>e.l(t))).then(()=>t(324737)))},819795,e=>{e.v(t=>Promise.all(["static/chunks/291c54f04f55159a.js","static/chunks/ba6c3d67d53503bd.js"].map(t=>e.l(t))).then(()=>t(620547)))},30774,e=>{e.v(t=>Promise.all(["static/chunks/2fcae2fa9509f9c8.js"].map(t=>e.l(t))).then(()=>t(20893)))},210301,e=>{e.v(t=>Promise.all(["static/chunks/ec3ed1857c8a7b4f.js"].map(t=>e.l(t))).then(()=>t(853891)))},267313,e=>{e.v(t=>Promise.all(["static/chunks/7680efa500a350a0.js"].map(t=>e.l(t))).then(()=>t(639108)))},264378,e=>{e.v(t=>Promise.all(["static/chunks/6e55eecd6d3220ee.js"].map(t=>e.l(t))).then(()=>t(536511)))},932240,e=>{e.v(t=>Promise.all(["static/chunks/4c0b3096d9f7c311.js"].map(t=>e.l(t))).then(()=>t(183918)))},498158,e=>{e.v(t=>Promise.all(["static/chunks/17af31313f898c22.js"].map(t=>e.l(t))).then(()=>t(438180)))},372680,e=>{e.v(t=>Promise.all(["static/chunks/ca7ead8615608906.js"].map(t=>e.l(t))).then(()=>t(551742)))},23162,e=>{e.v(t=>Promise.all(["static/chunks/a31433225ccaf646.js"].map(t=>e.l(t))).then(()=>t(664526)))},797025,e=>{e.v(t=>Promise.all(["static/chunks/be07cc3d41916a4e.js"].map(t=>e.l(t))).then(()=>t(509057)))}
7,277213,e=>{e.v(t=>Promise.all(["static/chunks/68db491271d6c9b4.js"].map(t=>e.l(t))).then(()=>t(476872)))},603545,e=>{e.v(t=>Promise.all(["static/chunks/b8a8bc1b978bf7db.js"].map(t=>e.l(t))).then(()=>t(643021)))},347001,e=>{e.v(t=>Promise.all(["static/chunks/5c99463b10b77b98.js"].map(t=>e.l(t))).then(()=>t(345837)))},108443,e=>{e.v(t=>Promise.all(["static/chunks/fb2691b40c8abacc.js"].map(t=>e.l(t))).then(()=>t(845754)))},229530,e=>{e.v(t=>Promise.all(["static/chunks/e628fd3f64b598ee.js"].map(t=>e.l(t))).then(()=>t(60209)))},931602,e=>{e.v(t=>Promise.all(["static/chunks/21dc42f1e33d603e.js"].map(t=>e.l(t))).then(()=>t(56693)))},191643,e=>{e.v(t=>Promise.all(["static/chunks/dd211b5f5bdfdaea.js"].map(t=>e.l(t))).then(()=>t(272964)))},586604,e=>{e.v(t=>Promise.all(["static/chunks/a8c5b61a497f0a24.js"].map(t=>e.l(t))).then(()=>t(294e3)))},135515,e=>{e.v(t=>Promise.all(["static/chunks/a4b30b7a88e97936.js"].map(t=>e.l(t))).then(()=>t(349)))},827354,e=>{e.v(t=>Promise.all(["static/chunks/ff6d845f4b182667.js"].map(t=>e.l(t))).then(()=>t(787575)))},593320,e=>{e.v(t=>Promise.all(["static/chunks/a384890446b9b34e.js"].map(t=>e.l(t))).then(()=>t(229848)))},490613,e=>{e.v(t=>Promise.all(["static/chunks/e0c20a78c79bd34e.js"].map(t=>e.l(t))).then(()=>t(843153)))},167735,e=>{e.v(t=>Promise.all(["static/chunks/18fe243ce5965fc3.js"].map(t=>e.l(t))).then(()=>t(641519)))},752083,e=>{e.v(t=>Promise.all(["static/chunks/ff79815d8183fae0.js"].map(t=>e.l(t))).then(()=>t(40398)))},789116,e=>{e.v(t=>Promise.all(["static/chunks/42ed3fa622598e72.js"].map(t=>e.l(t))).then(()=>t(265865)))},481344,e=>{e.v(t=>Promise.all(["static/chunks/2d8118d315469c24.js"].map(t=>e.l(t))).then(()=>t(666338)))},827455,e=>{e.v(t=>Promise.all(["static/chunks/476257da89ec2d63.js"].map(t=>e.l(t))).then(()=>t(253985)))},105152,e=>{e.v(t=>Promise.all(["static/chunks/7ff5ab94ad214992.js"].map(t=>e.l(t))).then(()=>t(45917)))},832637,e=>{e.v(t=>Promise.all(["static/chunks/08995ce5a6fab181.js"].map(t=>e.l(t))).then(()=>t(448539)))},982739,e=>{e.v(t=>Promise.all(["static/chunks/2d388f9e70e1de0c.js"].map(t=>e.l(t))).then(()=>t(173948)))},141388,e=>{e.v(t=>Promise.all(["static/chunks/e6c84fc5033c8874.js"].map(t=>e.l(t))).then(()=>t(643110)))},375419,e=>{e.v(t=>Promise.all(["static/chunks/63c00751bbe2b9a0.js"].map(t=>e.l(t))).then(()=>t(521495)))},233524,e=>{e.v(t=>Promise.all(["static/chunks/2d5bd2a3ff3b70bd.js"].map(t=>e.l(t))).then(()=>t(506306)))},417795,e=>{e.v(t=>Promise.all(["static/chunks/ed11867a91c601c3.js"].map(t=>e.l(t))).then(()=>t(864341)))},970721,e=>{e.v(t=>Promise.all(["static/chunks/60129a3f98a5db51.js"].map(t=>e.l(t))).then(()=>t(765401)))},426403,e=>{e.v(t=>Promise.all(["static/chunks/1b0ffe9923b5359f.js"].map(t=>e.l(t))).then(()=>t(579566)))},123976,e=>{e.v(t=>Promise.all(["static/chunks/8750792cf2241fbf.js"].map(t=>e.l(t))).then(()=>t(264588)))},66322,e=>{e.v(t=>Promise.all(["static/chunks/61cd49d23ac1e75b.js"].map(t=>e.l(t))).then(()=>t(871141)))},854688,e=>{e.v(t=>Promise.all(["static/chunks/3a23e6ace5419851.js"].map(t=>e.l(t))).then(()=>t(356508)))},739419,e=>{e.v(t=>Promise.all(["static/chunks/cf53c408598c4ea8.js"].map(t=>e.l(t))).then(()=>t(677254)))},397712,e=>{e.v(t=>Promise.all(["static/chunks/c62223501f06e553.js"].map(t=>e.l(t))).then(()=>t(873939)))},435484,e=>{e.v(t=>Promise.all(["static/chunks/2b42bc0e5ed95352.js"].map(t=>e.l(t))).then(()=>t(235684)))},851801,e=>{e.v(t=>Promise.all(["static/chunks/c8075104f302f459.js"].map(t=>e.l(t))).then(()=>t(398583)))},537338,e=>{e.v(t=>Promise.all(["static/chunks/31587452571e3469.js"].map(t=>e.l(t))).then(()=>t(723194)))},901456,e=>{e.v(t=>Promise.all(["static/chunks/04456b20b19868c5.js"].map(t=>e.l(t))).then(()=>t(799094)))},613877,e=>{e.v(t=>Promise.all(["static/chunks/30146cfe40266c2d.js"].map(t=>e.l(t))).then(()=>t(587597)))},971215,e=>{e.v(t=>Promise.all(["static/chunks/62e3727a17d2168f.js"].map(t=>e.l(t))).then(()=>t(45277)))},825760,e=>{e.v(t=>Promise.all(["static/chunks/033a4fd1fc434622.js"].map(t=>e.l(t))).then(()=>t(952029)))},668544,e=>{e.v(t=>Promise.all(["static/chunks/046214b3a6092c65.js"].map(t=>e.l(t))).then(()=>t(300908)))},517802,e=>{e.v(t=>Promise.all(["static/chunks/a384bc7b80bdc7c3.js"].map(t=>e.l(t))).then(()=>t(377297)))},577162,e=>{e.v(t=>Promise.all(["static/chunks/dc3319f67bbf16ad.js"].map(t=>e.l(t))).then(()=>t(398378)))},688938,e=>{e.v(t=>Promise.all(["static/chunks/c68f5bfa5514e99a.js"].map(t=>e.l(t))).then(()=>t(354748)))},934105,e=>{e.v(t=>Promise.all(["static/chunks/fca29524c5bf98eb.js"].map(t=>e.l(t))).then(()=>t(433853)))}]);

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.