try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3b0202c3-4c5f-4d49-9db9-6ada54c49996`,e._sentryDebugIdIdentifier=`sentry-dbid-3b0202c3-4c5f-4d49-9db9-6ada54c49996`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,Xt as n,Zt as r,_m as i,_r as a,ar as o,eh as s,ei as c,hi as l,ng as u,pa as d,pi as f,xr as p}from"./entry.client-mpghtlrl.js";import{ut as m}from"./xds-react-components-ihgca01z.js";import{yn as h}from"./xds-icons-m106f2fc.js";import{t as g}from"./usePlanPickerProps-ovsyok80.js";import{t as _}from"./DialogShell-ga7ic6wy.js";import{t as v}from"./GameArtScroller-k420qq7e.js";var y=t(),b=e(f(),1),x=(0,b.default)(`flex`,`flex-col`,`min-h-0`,`overflow-y-auto sbar`,`self-stretch`,`items-start`,`w-full`,`gap-layout-vertical-group-of-items-regular`,`type-body`),S=e=>{let t=[`radial-gradient(50% 80% at 40% 15%, rgba(0, 125, 181, 0.13) 0%, rgba(0, 125, 181, 0) 100%)`,`radial-gradient(50% 75% at 60% 15%, rgba(0, 135, 70, 0.12) 0%, rgba(0, 135, 70, 0) 100%)`].join(`, `);return i(e)||e===`light`?`unset`:t},C=`FresnoTimeoutUpsellDialog`;function w(e,t){return{locLookingForMore:()=>e(`Looking for more cloud playtime?`,{ns:C,shortKey:`cloud_playtime_more_looking`}),locXGPPComesWith:()=>e(`XGPP comes with stream games.`,{ns:C,shortKey:`xgpp_stream_games`}),locFresnoComesWith:()=>e(`Your subscription includes stream select games.`,{ns:C,shortKey:`fresno_stream_games`}),locJoinGamePass:()=>e(`Join Game Pass Essential, Premium, or Ultimate to get unlimited cloud gaming.`,{ns:C,shortKey:`join_gamepass_unlimited_cloud`}),locViewPlans:()=>e(`View plans`,{ns:C,shortKey:`plans_view_4f6e4a`})}}var T=()=>s(C,w),E=u(),D=a(e=>{let t=(0,y.c)(39),{onViewPlansPress:n}=e,{locLookingForMore:r,locJoinGamePass:i,locFresnoComesWith:a,locViewPlans:s}=T(),u=v.useComponent(),f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f={default:!1,SM_20:!0},t[0]=f):f=t[0];let{data:g}=l(f),C=o(),w;t[1]===C?w=t[2]:(w=S(C),t[1]=C,t[2]=w);let D=w,O;t[3]===D?O=t[4]:(O={background:D},t[3]=D,t[4]=O);let k;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,b.default)(`flex`,`w-full`,`flex-col`,`items-start`,`gap-layout-vertical-related-content-in-a-section-loose`,`self-stretch`,`min-h-0`,`p-layout-horizontal-margin`,`text-noninteractive-content-primary-content`),t[5]=k):k=t[5];let A;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,E.jsx)(`div`,{className:`w-[120px]`,children:(0,E.jsx)(c,{icon:(0,E.jsx)(h,{}),size:`full`,className:`text-brand-foreground`})}),t[6]=A):A=t[6];let j;t[7]===r?j=t[8]:(j=r(),t[7]=r,t[8]=j);let M;t[9]===j?M=t[10]:(M=(0,E.jsx)(`div`,{className:`type-display2`,children:j}),t[9]=j,t[10]=M);let N;t[11]===a?N=t[12]:(N=a(),t[11]=a,t[12]=N);let P;t[13]===N?P=t[14]:(P=(0,E.jsx)(`div`,{children:N}),t[13]=N,t[14]=P);let F;t[15]===i?F=t[16]:(F=i(),t[15]=i,t[16]=F);let I;t[17]===F?I=t[18]:(I=(0,E.jsx)(`div`,{children:F}),t[17]=F,t[18]=I);let L;t[19]!==P||t[20]!==I?(L=(0,E.jsxs)(m,{className:x,children:[P,I]}),t[19]=P,t[20]=I,t[21]=L):L=t[21];let R;t[22]===s?R=t[23]:(R=s(),t[22]=s,t[23]=R);let z;t[24]!==n||t[25]!==R?(z=(0,E.jsx)(p,{as:`button`,kind:`brand`,className:`self-start`,onPress:n,"data-auto-focus":!0,children:R}),t[24]=n,t[25]=R,t[26]=z):z=t[26];let B;t[27]!==M||t[28]!==L||t[29]!==z?(B=(0,E.jsxs)(`div`,{className:k,children:[A,M,L,z]}),t[27]=M,t[28]=L,t[29]=z,t[30]=B):B=t[30];let V;t[31]!==g||t[32]!==u?(V=g&&(0,E.jsx)(u,{siglId:d.CloudMostPopular}),t[31]=g,t[32]=u,t[33]=V):V=t[33];let H;t[34]===Symbol.for(`react.memo_cache_sentinel`)?(H=(0,E.jsx)(`div`,{className:`pe-internal-container-padding-tight pt-internal-container-padding-tight`,children:(0,E.jsx)(_.CloseButton,{})}),t[34]=H):H=t[34];let U;return t[35]!==O||t[36]!==B||t[37]!==V?(U=(0,E.jsxs)(`div`,{className:`flex h-full w-full gap-layout-vertical-group-of-items-tight`,style:O,children:[B,V,H]}),t[35]=O,t[36]=B,t[37]=V,t[38]=U):U=t[38],U},()=>{let e=r({location:`FresnoTimeoutUpsell`}),t=g();return{onViewPlansPress:()=>{e({key:n.subscriptionPlanPicker.fullPath,props:t})}}});export{D as t};