1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bae343e3-1e17-4adf-b735-79821105bc79",e._sentryDebugIdIdentifier="sentry-dbid-bae343e3-1e17-4adf-b735-79821105bc79")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9512,2422,6949,9365],{63541:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dev/modals",function(){return a(70003)}])},62634:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});let n=(0,a(31134).Z)("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]])},16653:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});let n=(0,a(31134).Z)("ArrowUpToLine",[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]])},12895:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});let n=(0,a(31134).Z)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},4307:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});let n=(0,a(31134).Z)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},92805:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});let n=(0,a(31134).Z)("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]])},90163:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});let n=(0,a(31134).Z)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},20809:function(e,t,a){"use strict";a.d(t,{M:function(){return c},k:function(){return u}});var n=a(85893),o=a(67294),s=a(87441),r=a(63229),l=a(58597),i=a(39282);let c=e=>{let{open:t,onOpenChange:a,trigger:s,children:c,side:u="left",align:p="center",sideOffset:m=8,width:h="min(320px, calc(100vw - 48px))",contentTestId:f,scrollTestId:g,busy:x}=e,[b,w]=(0,o.useState)(null),[y,v]=(0,o.useState)(null),[k,_]=(0,o.useState)(null),[j,S]=(0,o.useState)(null),[C,N]=(0,o.useState)(null),P=(0,o.useCallback)(()=>{if(!y||!k)return;let e=y.getBoundingClientRect(),t=k.getBoundingClientRect(),a=y.offsetWidth,n=y.offsetHeight;if(!a||!n||!e.width||!e.height)return;let o=y.dataset.side||"left",s=e.width/a,r=e.height/n,l="left"===o||"right"===o,i=l?(t.top+t.height/2-e.top)/r:(t.left+t.width/2-e.left)/s,c=Number.isFinite(i)?i:l?n/2:a/2,d={width:a,height:n,side:o,tailCenter:c};w(e=>e&&e.width===d.width&&e.height===d.height&&e.side===d.side&&.25>Math.abs(e.tailCenter-d.tailCenter)?e:d)},[k,y]);(0,o.useLayoutEffect)(()=>{if(!t){w(null);return}if(!y||!k)return;let e=0,a=()=>{cancelAnimationFrame(e),e=requestAnimationFrame(P)};P(),a();let n=new ResizeObserver(a);n.observe(y),n.observe(k);let o=new MutationObserver(a);return o.observe(y,{attributes:!0,attributeFilter:["data-side"]}),k.parentElement&&o.observe(k.parentElement,{attributes:!0,attributeFilter:["style"]}),window.addEventListener("resize",a),()=>{cancelAnimationFrame(e),n.disconnect(),o.disconnect(),window.removeEventListener("resize",a)}},[k,y,P,t]),(0,o.useLayoutEffect)(()=>{if(!t){N(null);return}if(!j)return;let e=()=>{let e=j.offsetHeight;if(!e)return;let t=Number.parseFloat(y?window.getComputedStyle(y).getPropertyValue("--radix-popover-content-available-height"):""),a=Math.ceil(Math.min(e,Number.isFinite(t)?Math.min(350,t):350));N(e=>e===a?e:a)};e();let a=new ResizeObserver(e);return a.observe(j),window.addEventListener("resize",e),()=>{a.disconnect(),window.removeEventListener("resize",e)}},[j,y,t]);let D=b?function(e){let{width:t,height:a,side:n,tailCenter:o}=e,s=Math.min(20,t/2,a/2);if("left"===n||"right"===n){let e=d(o,s+10,a-s-10),r=e-10,l=e+10;return"left"===n?["M ".concat(s," 0"),"H ".concat(t-s),"Q ".concat(t," 0 ").concat(t," ").concat(s),"V ".concat(r),"L ".concat(t+10," ").concat(e),"L ".concat(t," ").concat(l),"V ".concat(a-s),"Q ".concat(t," ").concat(a," ").concat(t-s," ").concat(a),"H ".concat(s),"Q 0 ".concat(a," 0 ").concat(a-s),"V ".concat(s),"Q 0 0 ".concat(s," 0"),"Z"].join(" "):["M ".concat(s," 0"),"H ".concat(t-s),"Q ".concat(t," 0 ").concat(t," ").concat(s),"V ".concat(a-s),"Q ".concat(t," ").concat(a," ").concat(t-s," ").concat(a),"H ".concat(s),"Q 0 ".concat(a," 0 ").concat(a-s),"V ".concat(l),"L ".concat(-10," ").concat(e),"L 0 ".concat(r),"V ".concat(s),"Q 0 0 ".concat(s," 0"),"Z"].join(" ")}
1let r=d(o,s+10,t-s-10),l=r-10,i=r+10;return"top"===n?["M ".concat(s," 0"),"H ".concat(t-s),"Q ".concat(t," 0 ").concat(t," ").concat(s),"V ".concat(a-s),"Q ".concat(t," ").concat(a," ").concat(t-s," ").concat(a),"H ".concat(i),"L ".concat(r," ").concat(a+10),"L ".concat(l," ").concat(a),"H ".concat(s),"Q 0 ".concat(a," 0 ").concat(a-s),"V ".concat(s),"Q 0 0 ".concat(s," 0"),"Z"].join(" "):["M ".concat(s," 0"),"H ".concat(l),"L ".concat(r," ").concat(-10),"L ".concat(i," 0"),"H ".concat(t-s),"Q ".concat(t," 0 ").concat(t," ").concat(s),"V ".concat(a-s),"Q ".concat(t," ").concat(a," ").concat(t-s," ").concat(a),"H ".concat(s),"Q 0 ".concat(a," 0 ").concat(a-s),"V ".concat(s),"Q 0 0 ".concat(s," 0"),"Z"].join(" ")}(b):null;return(0,n.jsxs)(i.J2,{open:t,onOpenChange:a,modal:!1,children:[(0,n.jsx)(i.xo,{asChild:!0,children:s}),(0,n.jsxs)(i.yk,{ref:v,side:u,align:p,sideOffset:m,collisionPadding:12,"data-testid":f,className:"relative w-auto overflow-visible rounded-[20px] border-0 bg-gray-4 p-0 font-sf text-white shadow-none outline-none transition-[height] duration-[220ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none",style:{width:h,maxWidth:"var(--radix-popover-content-available-width)",maxHeight:"min(350px, var(--radix-popover-content-available-height))",height:null==C?void 0:"".concat(C,"px")},children:[b&&D&&(0,n.jsx)("svg",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 z-0 overflow-visible",width:"100%",height:"100%",viewBox:"0 0 ".concat(b.width," ").concat(b.height),preserveAspectRatio:"none",children:(0,n.jsx)("path",{d:D,fill:l.D["gray-4"],stroke:l.D["gray-3"],strokeWidth:"1",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke",style:{filter:"drop-shadow(0 12px 18px rgba(0, 0, 0, 0.55))"}})}),(0,n.jsx)("div",{className:"scrollbar-hide relative z-10 h-full overflow-y-auto overscroll-contain rounded-[20px]","data-testid":g,"aria-busy":x,children:(0,n.jsx)("div",{ref:S,className:"py-4",children:c})}),(0,n.jsx)(r.Eh,{ref:_,width:20,height:10,className:"pointer-events-none fill-transparent"})]})]})};function d(e,t,a){return Math.min(Math.max(e,t),a)}let u=e=>{let{markdown:t}=e,a=s.TU.parse(t||"",{async:!1}).replace(/<a /g,'<a target="_blank" rel="noopener noreferrer" ');return(0,n.jsx)("div",{className:"px-4 text-base leading-relaxed text-white [&_a]:text-green [&_a]:underline [&_h1]:mb-2 [&_h1]:text-2xl [&_h1]:font-extrabold [&_h2]:mb-2 [&_h2]:text-xl [&_h2]:font-bold [&_h3]:mb-1 [&_h3]:text-lg [&_h3]:font-bold [&_ol]:list-decimal [&_ol]:pl-5 [&_ul]:list-disc [&_ul]:pl-5 [&_p]:mb-2 [&_p:last-child]:mb-0",dangerouslySetInnerHTML:{__html:a}})}},39282:function(e,t,a){"use strict";a.d(t,{J2:function(){return l},tW:function(){return c},xo:function(){return i},yk:function(){return d}});var n=a(85893),o=a(67294),s=a(63229),r=a(55156);let l=s.fC,i=s.xz,c=s.ee;o.forwardRef((e,t)=>(0,n.jsx)(s.Eh,{ref:t,...e})).displayName=s.Eh.displayName;let d=o.forwardRef((e,t)=>{let{className:a,align:o="center",sideOffset:l=4,...i}=e;return(0,n.jsx)(s.h_,{children:(0,n.jsx)(s.VY,{ref:t,align:o,sideOffset:l,className:(0,r.cn)("z-[500] w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-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",a),...i})})});d.displayName=s.VY.displayName},66622:function(e,t,a){"use strict";a.d(t,{N9:function(){return r},_n:function(){return o},gq:function(){return i},js:function(){return d},ki:function(){return l},uU:function(){return c}});let n=e=>100*e,o=["PaymentSource::CheckoutCreditCard","PaymentSource::PayPal","PaymentSource::Venmo"],s={icon:"/Icons/deposit/paypal-glyph.svg",logo:"glyph",logoStyle:{backgroundImage:"linear-gradient(135deg, #0f326c 0%, #1685c6 100%)"}},r={name:"PayPal",...s,subtitle:"[email protected]"},l=[{id:"PaymentSource::PayPal",name:"PayPal",...s,subtitle:"[email protected]",selected:!0,disabled:!1,onSelect:()=>void 0},{id:"PaymentSource::Venmo",name:"Venmo",icon:"/Icons/deposit/venmo-box.svg",logo:"box",selected:!1,disabled:!1,onSelect:()=>void 0},{id:"PaymentSource::CheckoutCreditCard:1",name:"VISA",icon:"/Icons/credit.svg",logo:"box",subtitle:"â¢â¢â¢â¢ 4242 Expires: 02/29",selected:!1,disabled:!1,onSelect:()=>void 0}],i={id:1,title:"Why are there account limits?",description:"",rank:null,blocks:[{id:1,markdown:"Limits help protect your account and keep transaction fees low.",string:null,image_url:null,height:0}],tags:[]};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{state:"verified",requires_tax_information:!1,id:1,user_id:1,balance:n(650),promotion_balance:0,withdrawable_balance:0,pending_deposit_amount:0,deposit_pending_amount:0,deposit_advanced_amount:0,currency:"usd",default_payment_source_id:-1,instant_deposit_remaining:0,instant_deposit_limit:0,max_deposit_amount:n(500),min_deposit_amount:n(1),credit_card_limit:4,payment_sources:[],can_deposit:!0,can_withdraw:!0,created_at:"2026-01-01T00:00:00.000Z",updated_at:"2026-01-01T00:00:00.000Z",max_weekly_withdrawal_amount:0,total_deposit_limit:n(500),...e}}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"PaymentSource::PayPal";return{wallet:c({balance:n(675)}),transaction:{id:1,type:"deposit",amount:n(25),title:"Deposit",icon_url:"",direction_type:"credit",state:"cleared",created_at:"2026-01-01T00:00:00.000Z",purse_context:""},type:e,first_deposit:!1}}},64602:function(e,t,a){"use strict";a.d(t,{q:function(){return i}});let n=["1v1me-win","1v1me-lets-go-1","1v1me-kirk","1v1me-grk-2","1v1me-dak"],o=["1v1me-omarirevenge","1v1me-psycho","1v1me-roachy-2","1v1me-mfisher"],s=["1v1me-cleff","1v1me-alphahouse","1v1me-hexied","1v1me-onegreatuser"],r=["1v1me-everaldjr","1v1me-itzjason-1","1v1me-deen-thegreat","1v1me-landond"],l="https://static.klipy.com/ii/9294a2e836d178ddc22430dd7765727e/2c/f3/L4KIBGlBxlu7k.gif",i=[{title:"All",klipy_gif_slugs:[...n,...o,...s,...r]},{title:"Hype",icon_image_url:l,klipy_gif_slugs:n},{title:"Rage",klipy_gif_slugs:o},{title:"GG",klipy_gif_slugs:s},{title:"Clutch",klipy_gif_slugs:r},{title:"Hosted",hosted_gifs:[{url:l,aspect_ratio:1},{url:"https://static.klipy.com/ii/2fd1ee858360694ebc7272832a866c2b/ec/65/6bJ5goAUvbE0dGz.gif",aspect_ratio:1}],klipy_gif_slugs:["not-a-real-slug"]}]},93660:function(e,t,a){"use strict";a.d(t,{S9:function(){return i}});var n=a(85893),o=a(67294),s=a(73935),r=a(18309),l=a(37485);
1function i(e){let[t,a]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let t=()=>a((0,l.bf)(e));return t(),window.addEventListener(l.Ah,t),window.addEventListener("storage",t),()=>{window.removeEventListener(l.Ah,t),window.removeEventListener("storage",t)}},[e]),t}t.ZP=e=>{let{targetId:t,label:a,source:i,align:c="top-left"}=e,[d,u]=(0,o.useState)(!1),[p,m]=(0,o.useState)(!1),[h,f]=(0,o.useState)(""),g=(0,r.dD)();(0,o.useEffect)(()=>{var e,a;let n=(0,l.bf)(t);m(null!==(e=null==n?void 0:n.perfect)&&void 0!==e&&e),f(null!==(a=null==n?void 0:n.notes)&&void 0!==a?a:""),u(!1)},[t]);let x=(0,o.useCallback)((e,n)=>{if((0,l.fB)({perfect:e,notes:n})){(0,l.We)(t);return}(0,l.SN)(t,{perfect:e,notes:n,label:a,source:i,viewport:g?"mobile":"desktop"})},[t,a,i,g]),b=p?"perfect":h.trim()?"issue":"empty",w=function(){let[e,t]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll('[role="dialog"][data-state="open"]');t(e.length?e[e.length-1]:null)};e();let a=new MutationObserver(e);return a.observe(document.body,{childList:!0,subtree:!0}),()=>a.disconnect()},[]),e}(),y=(0,n.jsxs)("div",{"data-modal-feedback-widget":!0,className:"".concat(w?"absolute":"fixed"," ").concat("left-center"===c?"left-2 top-1/2 -translate-y-1/2":"left-2 top-2"," z-[110] font-sf pointer-events-auto"),children:[(0,n.jsxs)("button",{type:"button","data-testid":"feedback-toggle",onClick:()=>u(e=>!e),className:"flex h-8 items-center gap-1.5 rounded-full border px-3 text-xs font-bold shadow-lg backdrop-blur ".concat("perfect"===b?"border-green/60 bg-black/80 text-green":"issue"===b?"border-rose/60 bg-black/80 text-rose":"border-gray-3 bg-black/80 text-white"),children:["perfect"===b?"â":"issue"===b?"!":"â"," QA"]}),d&&(0,n.jsxs)("div",{className:"mt-2 w-72 rounded-2xl border border-gray-3 bg-black/95 p-4 shadow-xl backdrop-blur",children:[(0,n.jsx)("p",{className:"text-xs font-bold text-white",children:a}),(0,n.jsxs)("label",{className:"mt-3 flex cursor-pointer items-center gap-2 text-sm text-white",children:[(0,n.jsx)("input",{type:"checkbox","data-testid":"feedback-perfect",checked:p,onChange:e=>{m(e.target.checked),x(e.target.checked,h)},className:"size-4 accent-white"}),"Perfect as-is"]}),(0,n.jsx)("textarea",{"data-testid":"feedback-notes",value:h,onChange:e=>{f(e.target.value),x(p,e.target.value)},placeholder:"What's wrong with this modal?",rows:4,className:"mt-3 w-full resize-none rounded-lg border border-gray-3 bg-gray-5 p-2 text-sm text-white placeholder:text-gray-3 focus:outline-none"}),(0,n.jsxs)("div",{className:"mt-2 flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-[10px] text-gray-3",children:"Saved on this device as you type"}),(0,n.jsx)("button",{type:"button","data-testid":"feedback-clear",onClick:()=>{m(!1),f(""),(0,l.We)(t)},className:"text-[10px] font-bold text-gray-2 hover:text-white",children:"Clear"})]})]})]});return w?(0,s.createPortal)(y,w):y}},37485:function(e,t,a){"use strict";a.d(t,{Ah:function(){return o},Gd:function(){return p},SN:function(){return c},We:function(){return d},bf:function(){return l},cI:function(){return m},fB:function(){return u}});let n="1v1me:dev:modal-feedback",o="dev-modal-feedback-changed",s={version:1,entries:{}};function r(){try{let e=window.localStorage.getItem(n);if(!e)return s;let t=JSON.parse(e);if((null==t?void 0:t.version)!==1||"object"!=typeof t.entries)return s;return t}catch(e){return s}}function l(e){var t;return null!==(t=r().entries[e])&&void 0!==t?t:null}function i(e){window.localStorage.setItem(n,JSON.stringify(e)),window.dispatchEvent(new CustomEvent(o))}function c(e,t){let a=r();i({...a,entries:{...a.entries,[e]:{...t,updatedAt:new Date().toISOString()}}})}function d(e){let t=r(),a={...t.entries};delete a[e],i({...t,entries:a})}function u(e){return!e.perfect&&""===e.notes.trim()}function p(e){let{entries:t}=r(),a=new Set(e.map(e=>e.id)),n=[],o=[],s=[];for(let[e,r]of Object.entries(t)){if(!a.has(e)&&!e.startsWith("harness:")){s.push({id:e,label:r.label,...r.notes.trim()?{notes:r.notes.trim()}:{}});continue}r.perfect?n.push({id:e,label:r.label,...r.notes.trim()?{notes:r.notes.trim()}:{}}):r.notes.trim()&&o.push({id:e,label:r.label,...r.source?{source:r.source}:{},viewport:r.viewport,notes:r.notes.trim(),updatedAt:r.updatedAt})}let l=new Set(Object.keys(t)),i=e.filter(e=>e.mountable&&!e.legacy&&!l.has(e.id)).map(e=>({id:e.id,label:e.label}));return{generatedAt:new Date().toISOString(),perfect:n.sort((e,t)=>
1e.id.localeCompare(t.id)),issues:o.sort((e,t)=>e.id.localeCompare(t.id)),pending:i,stale:s.sort((e,t)=>e.id.localeCompare(t.id))}}function m(e){let{entries:t}=r(),a=0,n=0,o=0;for(let s of e){if(!s.mountable||s.legacy)continue;let e=t[s.id];(null==e?void 0:e.perfect)?a+=1:e&&e.notes.trim()?n+=1:o+=1}return{total:a+n+o,perfect:a,issues:n,pending:o}}},82422:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return T}});var n=a(85893),o=a(67294),s=a(27306),r=a(19133),l=a(77454),i=a(69094),c=a(96968),d=a(11163),u=a(69099),p=a(90373);let m=(e,t,a)=>{let n={value:t,expiry:new Date().getTime()+a};try{localStorage.setItem(e,JSON.stringify(n))}catch(e){}},h=e=>{try{let t=localStorage.getItem(e);if(!t)return null;let a=JSON.parse(t);if(new Date().getTime()>a.expiry)return localStorage.removeItem(e),null;return a.value}catch(e){return null}};var f=a(71700),g=a(39472);let x=e=>{let[t,{isLoading:a}]=(0,f.L5)(),n=(0,r.CG)(e=>e.auth.user),s=(0,r.TL)(),l=(0,o.useCallback)(async()=>{try{let e=await t().unwrap();(0,p.rk)({...(0,p.dd)(),user:e}),s((0,g.Nq)(e))}catch(e){}},[t,s]),i=(0,o.useCallback)(async()=>{!h("1v1Me_CheckIn_")&&(null==n?void 0:n.user)&&!a&&(m("1v1Me_CheckIn_",new Date().getTime(),36e5),await l())},[l,a,null==n?void 0:n.user]);return(0,o.useEffect)(()=>{if(!e){i();let e=setInterval(i,18e5);return()=>clearInterval(e)}},[i,e]),{checkinUser:l}};var b=a(37186),w=a(57791),y=a(62286),v=a.n(y),k=a(13377),_=a(5152),j=a.n(_);let S=j()(()=>Promise.all([a.e(4690),a.e(4538),a.e(9569)]).then(a.bind(a,99569)),{loadableGenerated:{webpack:()=>[99569]}}),C=j()(()=>a.e(668).then(a.bind(a,10668)),{loadableGenerated:{webpack:()=>[10668]}}),N=j()(()=>a.e(2241).then(a.bind(a,92241)),{loadableGenerated:{webpack:()=>[92241]}}),P=j()(()=>a.e(2334).then(a.bind(a,62334)),{loadableGenerated:{webpack:()=>[62334]}}),D=j()(()=>a.e(1266).then(a.bind(a,11266)),{loadableGenerated:{webpack:()=>[11266]}});var T=e=>{let t=(0,d.useRouter)(),a=(0,r.CG)(e=>e.authModal.page),p=(0,r.CG)(e=>e.authModal.isShowing),m=(0,r.CG)(e=>e.auth.user),h=(0,r.CG)(e=>e.auth.showPostAuthenticationFlow),f=(0,c.Z)(),y=(0,r.TL)(),_=(0,u.X4)(),{consent:j}=(0,b.u)();x();let T=(0,o.useCallback)(()=>{var e;m&&(null===(e=m.user)||void 0===e?void 0:e.status)==="unverified"&&f(),y((0,l.Zu)(!1))},[y,f,m]);return(0,o.useEffect)(()=>{var e,n,o;if(p){if(m){if((null==m?void 0:null===(e=m.user)||void 0===e?void 0:e.status)==="unverified"&&a<=i.LJ.PhoneNumber)y((0,l.YA)(i.LJ.PhoneNumber));else{if(a>=i.LJ.ReferralCode)return;(null==m?void 0:null===(n=m.user)||void 0===n?void 0:n.status)!=="unverified"&&h?(y((0,l.YA)(i.LJ.ReferralCode)),(0,k.wv)(!1),y((0,g.Mv)(!1))):(null==m?void 0:null===(o=m.user)||void 0===o?void 0:o.status)==="enabled"&&(v().destroy(null,"1v1me_referral",{path:"/"}),T(),"string"==typeof t.query.redirect&&t.push(t.query.redirect))}}else y((0,l.YA)(i.LJ.SignIn))}},[y,T,p,_,a,t,h,m]),(0,n.jsx)(s.default,{isOpen:p&&void 0!==j,onClose:T,fullPage:!0,children:(0,n.jsx)(w.default,{currentPage:a,debounce:100,items:[(0,n.jsx)(S,{loaded:e.loaded},"sign-in"),(0,n.jsx)(C,{},"phone-number"),(0,n.jsx)(N,{},"verify"),(0,n.jsx)(D,{},"referral-code"),(0,n.jsx)(P,{},"how")]})})}},89365:function(e,t,a){"use strict";a.r(t);var n=a(85893),o=a(67294),s=a(27306),r=a(29119),l=a(19133),i=a(74873),c=a(69099);t.default=()=>{let e=(0,c.X4)(),[t,a]=(0,o.useState)("Play games for real money"),d=(0,l.CG)(e=>e.notSupportedModal.content),u=(0,l.TL)();return(0,o.useEffect)(()=>{d&&(e.screenView("Download The App"),(null==d?void 0:d.text)?a(d.text):setTimeout(()=>{a("Play games for real money")},500))},[d,e]),(0,n.jsx)(s.default,{title:"",isOpen:!!d,onClose:()=>{u((0,i.o3)(null))},fluid:!0,children:(0,n.jsxs)("div",{className:"w-screen sm:max-w-xl lg:max-w-6xl flex items-center flex-col-reverse lg:flex-row lg:gap-4 pb-8 lg:pb-0",children:[(0,n.jsxs)("div",{className:"w-full lg:w-5/12 px-4 sm:px-16 lg:pr-4 lg:pl-16 pt-8 sm:py-0 lg:py-24",children:[(0,n.jsx)("div",{className:"h-12 w-12 lg:h-20 lg:w-20 rounded-full mb-6 lg:mb-10",children:(0,n.jsx)("img",{src:"/Icons/logo-small.svg",alt:"1v1ME Logo",className:"w-full object-contain"})}),(0,n.jsx)("h3",{className:"text-3xl font-extrabold text-white mb-2 lg:mb-3",children:"DOWNLOAD THE APP"}),(0,n.jsx)("p",{className:"mb-8 lg:mb-12",children:t}),(0,n.jsx)(r.default,{variant:"primary",text:"Download for Windows",onClick:()=>{e.buttonClick("Download The App",{platform:"windows"});let t=document.createElement("a");t.href="https://1v1me-desktop-update-server.vercel.app/download/win32",t.download="1v1me",document.body.appendChild(t),t.click(),document.body.removeChild(t)},rounded:!0,large:!0,image:"/Icons/windows.svg",className:"mb-4 !w-full",textClass:"w-[14rem] !text-left"}),(0,n.jsx)(r.default,{variant:"primary",text:"Download from the App Store",onClick:()=>{e.buttonClick("Download The App",{platform:"ios"}),window.open("https://1v1.me/webbanner")}
1,rounded:!0,large:!0,image:"/Icons/ios.svg",className:"mb-4 !w-full",textClass:"w-[14rem] !text-left"}),(0,n.jsx)(r.default,{variant:"primary",text:"MacOS Coming Soon",onClick:()=>{e.buttonClick("Download The App",{platform:"macos"})},rounded:!0,large:!0,disabled:!0,image:"/Icons/macos.svg",className:"mb-4 !w-full",textClass:"w-[14rem] !text-left"})]}),(0,n.jsx)("div",{className:"flex-1 self-stretch bg-left bg-cover lg:block hidden",style:{backgroundImage:'url("/Images/download-screen.png")'}}),(0,n.jsx)("img",{src:"/Images/download-screen-sm.png",alt:"App Screenshots",className:"lg:hidden block w-full max-w-md"})]})})}},67701:function(e,t,a){"use strict";var n=a(85893);a(67294);var o=a(75932),s=a(29119),r=a(23082);t.Z=e=>{let{error:t,isOpen:a,onDismiss:l,onGetHelp:i}=e;return(0,n.jsx)(o.S,{isOpen:a,onClose:l,title:t.title,maxWidth:"600",contentClassName:"!min-h-0 !z-[10001]",titleClassName:"!text-2xl !font-extrabold",children:(0,n.jsxs)("div",{className:"flex flex-col gap-8 pb-2",children:[(0,n.jsx)("p",{className:"text-gray-2 whitespace-pre-line text-base",children:t.description}),(0,n.jsxs)("div",{className:"flex items-center gap-4 md:justify-end",children:[i&&(0,n.jsx)(s.default,{variant:"grey",rounded:!0,large:!0,className:"!bg-gray-3 !flex-1 md:!flex-none md:!px-10",text:r.pS,onClick:i}),(0,n.jsx)(s.default,{variant:"primary",rounded:!0,large:!0,className:"!flex-1 md:!flex-none md:!px-10",text:r.IO,onClick:l})]})]})})}},23625:function(e,t,a){"use strict";var n=a(85893),o=a(67294),s=a(58597);t.Z=e=>
1{let{rating:t,size:a=40,badgeBackground:r=!1}=e,l="number"==typeof t?t:0,i=null==t||l<=0,c=Math.min(Math.max(l,0),99)/99,d=l>=99?"#22E05A":l>=81?s.D.green:l>=71?"#E8C722":l>=61?"#F4791F":"#D4233A",u=a/2,p=.08*a,m=(a-p)/2-1,h=e=>e*Math.PI/180,f=e=>{let t=h(130.14),a=h(130.14+e),n=u+m*Math.cos(t),o=u+m*Math.sin(t),s=u+m*Math.cos(a),r=u+m*Math.sin(a);return"M ".concat(n," ").concat(o," A ").concat(m," ").concat(m," 0 ").concat(e>180?1:0," 1 ").concat(s," ").concat(r)},g=i?.28*a:.45*a,x=.12*a,b=r?52/48*a:a,w=.08*a,y=.02*a,v=a/48*4,k=o.useRef(null),[_,j]=o.useState(null);o.useLayoutEffect(()=>{if(!r)return;let e=k.current;if(!(null==e?void 0:e.getBBox))return;let t=e.getBBox();t.width>0&&j({w:t.width,h:t.height})},[r,a]);let S=null!=_?_:{w:3.42*x,h:1.04*x},C=S.w+2*w,N=S.h+2*y,P=m+p/2,D=Math.min(C/2,P),T=u+Math.sqrt(Math.max(P*P-D*D,0)),M=T+N,A=Math.min(v,N/2,C/2),W=u-C/2,I=u+C/2,O=["M ".concat(W," ").concat(T),"L ".concat(I," ").concat(T),"L ".concat(I," ").concat(M-A),"Q ".concat(I," ").concat(M," ").concat(I-A," ").concat(M),"L ".concat(W+A," ").concat(M),"Q ".concat(W," ").concat(M," ").concat(W," ").concat(M-A),"Z"].join(" ");return(0,n.jsxs)("svg",{width:a,height:b,viewBox:"0 0 ".concat(a," ").concat(b),className:"shrink-0",children:[r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:u,cy:u,r:P,fill:s.D["gray-5"]}),(0,n.jsx)("path",{d:O,fill:s.D["gray-5"]})]}),(0,n.jsx)("path",{d:f(279.72),fill:"none",stroke:s.D["gray-3"],strokeWidth:p,strokeLinecap:"round"}),c>0&&(0,n.jsx)("path",{d:f(279.72*c),fill:"none",stroke:d,strokeWidth:p,strokeLinecap:"round"}),(0,n.jsx)("text",{x:u,y:u,textAnchor:"middle",dominantBaseline:"central",fill:l>=99?d:"white",fontSize:g,fontWeight:"800",fontFamily:"sf, 'SF Pro Display', system-ui, sans-serif",children:i?"NEW":l}),(0,n.jsx)("text",{ref:k,x:u,y:r?T+N/2:a-.4*x-2,textAnchor:"middle",dominantBaseline:r?"central":"auto",fill:"white",fontSize:x,fontWeight:"600",fontFamily:"sf, 'SF Pro Display', system-ui, sans-serif",opacity:.75,children:"RATING"})]})}},1489:function(e,t,a){"use strict";a.d(t,{I:function(){return l},x:function(){return r}});var n=a(67294);let o=new Map;function s(e,t){if(e.scrollTop=t,e.scrollTop+1>=t)return;let a=0,n=Date.now()+3e3,o=()=>{if(e.scrollTop=t,e.scrollTop+1>=t||Date.now()>n){s();return}a=requestAnimationFrame(o)};function s(){a&&cancelAnimationFrame(a),a=0,e.removeEventListener("wheel",s),e.removeEventListener("pointerdown",s),e.removeEventListener("keydown",s)}return a=requestAnimationFrame(o),e.addEventListener("wheel",s,{passive:!0}),e.addEventListener("pointerdown",s),e.addEventListener("keydown",s),s}function r(e,t){var a;let r=(0,n.useRef)(null),l=null!=t?t:"home",i=(0,n.useRef)(null!==(a=o.get(l))&&void 0!==a?a:0),c=(0,n.useRef)(t),d=(0,n.useRef)(e);return(0,n.useLayoutEffect)(()=>{let a=r.current;if(a&&d.current!==e){if(d.current=e,e){c.current=t,a.scrollTop=0;return}return s(a,c.current===t?i.current:0)}},[e,t]),(0,n.useLayoutEffect)(()=>{var t;let a=r.current;if(!a||e)return;let n=null!==(t=o.get(l))&&void 0!==t?t:0;if(!(n<=0))return s(a,n)},[]),{mainRef:r,onMainScroll:e?void 0:e=>{e.target===e.currentTarget&&(i.current=e.currentTarget.scrollTop,o.set(l,i.current))}}}function l(){o.clear()}},43644:function(e,t,a){"use strict";a.d(t,{X:function(){return i},q:function(){return l}});var n=a(85893),o=a(67294),s=a(86249);let r=(0,o.createContext)(null);function l(){return(0,o.useContext)(r)}let i=e=>{let{children:t}=e,[a,l]=(0,o.useState)(null),i=(0,o.useCallback)(e=>l(e),[]);return(0,n.jsxs)(r.Provider,{value:i,children:[t,a&&(0,n.jsx)(s.Z,{target:a,isOpen:!0,onClose:()=>l(null)},"profile"in a?"id:".concat(a.profile.id):"username"in a?"username:".concat(a.username):"userId"in a?"id:".concat(a.userId):"self")]})}},6949:function(e,t,a){"use strict";a.r(t);var n=a(85893),o=a(5745),s=a(50308),r=a.n(s),l=a(25675),i=a.n(l),c=a(11163),d=a(67294),u=a(27306),p=a(53280),m=a(19133),h=a(13302);t.default=()=>{var e;(0,c.useRouter)();let t=(0,m.CG)(e=>e.auth.user),a=(0,m.CG)(e=>e.shareModal.text),s=(0,m.CG)(e=>e.shareModal.link),l=(0,m.CG)(e=>e.shareModal.clip_id),f=(0,m.CG)(e=>e.shareModal.match_id),g=(0,p.QR)((null==t?void 0:t.user)?{page:1,pinned:!1}
1:o.CN),[x,b]=(0,p.oV)(),[w,y]=(0,d.useState)(!1),[v,k]=(0,d.useState)(!1);(0,d.useEffect)(()=>{navigator.share&&y(!0)},[]);let _=(0,m.TL)(),j=()=>{_((0,h.o3)({link:null}))},S=async e=>{try{await x({conversation_id:e,text:"".concat(a?"".concat(a,"\n"):"").concat(s),content_id:l||f,type:l?"Message::ClipMessage":f?"Message::MatchMessage":"Message::TextMessage"}),j()}catch(e){}};return(0,n.jsx)(u.default,{title:"Share",large:!0,isOpen:!!s,onClose:j,children:(0,n.jsxs)("div",{className:"grid grid-cols-2 sm:grid-cols-4 items-start gap-4 flex-wrap px-4 sm:px-8 pt-4 pb-8",children:[(0,n.jsxs)("button",{className:"text-xs text-center flex flex-col gap-2 items-center justify-center hover:opacity-75 transition-opacity !ring-0 !outline-none focus-visible:!outline-2 focus-visible:!outline-gold",onClick:()=>{navigator.clipboard.writeText("".concat(a?"".concat(a,"\n"):"").concat(s)).then(()=>{k(!0),setTimeout(()=>{k(!1)},2e3)}).catch(r())},children:[(0,n.jsx)(i(),{height:64,width:64,src:"/Icons/link_circle.svg",className:"rounded-full",alt:"Copy Link",style:{maxWidth:"100%",height:"auto",objectFit:"contain"}}),v?"Copied!":"Copy"]}),w&&(0,n.jsxs)("button",{className:"text-xs text-center flex flex-col gap-2 items-center justify-center hover:opacity-75 transition-opacity !ring-0 !outline-none focus-visible:!outline-2 focus-visible:!outline-gold",onClick:()=>{navigator.share({url:s,text:a||void 0}).catch(r())},children:[(0,n.jsx)("div",{className:"grid-cols-2 grid-rows-2 gap-2 grid h-[64px] w-[64px] bg-gray-4 rounded-full p-4",children:[{name:"tiktok",icon:"/Images/icon-tiktok.svg"},{name:"instagram",icon:"/Images/icon-instagram.svg"},{name:"twitter",icon:"/Images/icon-twitter.svg"},{name:"facebook",icon:"/Images/icon-facebook.svg"}].map(e=>(0,n.jsx)(i(),{src:e.icon,height:10,width:10,alt:e.name,style:{maxWidth:"100%",height:"auto",objectFit:"contain"}},e.name))}),"More"]}),null===(e=g.data)||void 0===e?void 0:e.slice(0,6).map(e=>{let a=e.preview_participants.filter(e=>{var a;return e.user_id!==(null==t?void 0:null===(a=t.user)||void 0===a?void 0:a.id)});return(0,n.jsxs)("button",{className:"text-xs text-center flex flex-col gap-2 items-center justify-center hover:opacity-75 transition-opacity !ring-0 !outline-none focus-visible:!outline-2 focus-visible:!outline-gold",disabled:b.isLoading,onClick:()=>S(e.id),children:[(0,n.jsx)(i(),{height:64,width:64,src:e.image_url||1===a.length?a[0].profile_image_url:"/Icons/profile_dark.svg",className:"rounded-full",alt:e.title,style:{maxWidth:"100%",height:"auto",objectFit:"cover"}}),e.title]},"chat_".concat(e.id))})]})})}},47961:function(e,t,a){"use strict";a.d(t,{B:function(){return c},R:function(){return d}});let n="https://mobile-assets.1v1me.com/transactions/v1",o="".concat(n,"/transaction_money_in.png"),s="".concat(n,"/transaction_money_out.png"),r="".concat(n,"/transaction_deposit_withdrawl.png"),l=e=>new Date(Date.now()+864e5*e).toISOString(),i=e=>({type:null,icon_url:o,state:"cleared",direction_type:"credit",created_at:new Date(Date.now()-72e5).toISOString(),subtitle:null,description:null,fee:null,payment_source_title:null,payment_source_description:null,target_date:null,...e}),c=[{key:"deposit-pending",label:"Deposit \xb7 pending (held)",transaction:i({id:101,type:"deposit",state:"pending",title:"Deposit",amount:500,fee:69,payment_source_title:"Apple Pay",payment_source_description:"*****5591"})},{key:"deposit-cleared",label:"Deposit \xb7 complete",transaction:i({id:102,type:"deposit",state:"cleared",title:"Deposit",amount:500,fee:69,payment_source_title:"Apple Pay",payment_source_description:"*****5591"})},{key:"deposit-cleared-no-fee",label:"Deposit \xb7 complete, no fee",transaction:i({id:103,type:"deposit",state:"cleared",title:"Deposit",amount:1e4,fee:0,payment_source_title:"Credit Card",payment_source_description:"*****1111"})},{key:"deposit-failed",label:"Deposit \xb7 failed",transaction:i({id:104,type:"deposit",state:"failed",title:"Deposit",amount:500,fee:0,payment_source_title:"Apple Pay",payment_source_description:"*****5591"})},{key:"withdrawal-target-pending",label:"Withdrawal \xb7 pending, arrival date",transaction:i({id:201,type:"withdrawal",state:"pending",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:9825,fee:175,payment_source_title:"PayPal",payment_source_description:"[email protected]",target_date:l(5)})},{key:"withdrawal-target-cleared",label:"Withdrawal \xb7 complete, arrival date",transaction:i({id:202,type:"withdrawal",state:"cleared",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:9825,fee:175,payment_source_title:"PayPal",payment_source_description:"[email protected]",target_date:l(3)})},{key:"withdrawal-pending",label:"Withdrawal \xb7 pending, no arrival date",transaction:i({id:203,type:"withdrawal",state:"pending",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:5e3,fee:115,payment_source_title:"Bank Transfer",payment_source_description:"****3567"})},{key:"withdrawal-returned",label:"Withdrawal \xb7 returned",transaction:i({id:204,type:"withdrawal",state:"return",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:5e3,fee:115,payment_source_title:"Bank Transfer",payment_source_description:"****3567",target_date:l(-20)})},{key:"withdrawal-failed",label:"Withdrawal \xb7 failed",transaction:i({id:205,type:"withdrawal",state:"failed",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:5e3,fee:115,payment_source_title:"PayPal",payment_source_description:"[email protected]"})},{key:"deposit-returned",label:"Deposit \xb7 returned",transaction:i({id:105,type:"deposit",state:"return",title:"Deposit",amount:2500,fee:0,payment_source_title:"Bank Transfer",payment_source_description:"****3567"})},{key:"deposit-cancelled",label:"Deposit \xb7 canceled",transaction:i({id:106,type:"deposit",state:"cancelled",title:"Deposit",amount:2500,fee:0,payment_source_title:"PayPal",payment_source_description:"[email protected]"})},{key:"withdrawal-cleared",label:"Withdrawal \xb7 complete, no arrival date",transaction:i({id:206,type:"withdrawal",state:"cleared",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:5e3,fee:115,payment_source_title:"Venmo",payment_source_description:"@q1v1me"})},{key:"withdrawal-cancelled",label:"Withdrawal \xb7 canceled",transaction:i({id:207,type:"withdrawal",state:"cancelled",direction_type:"debit",icon_url:s,title:"Withdrawal",amount:5e3,fee:115,payment_source_title:"PayPal",payment_source_description:"[email protected]"})},{key:"revenueshare",label:"Revenue share",transaction:i({id:301,type:"revenueshare",title:"Revenue Share - A real stream event",amount:2500})},{key:"transfer",label:"Transfer",transaction:i({id:302,type:"transfer",icon_url:r,title:"Cash Out Fee Refund",amount:175})},{key:"tournamentpayout",label:"Tournament payout",transaction:i({id:303,type:"tournamentpayout",title:"Tournament - 3rd Place",amount:5e3})},{key:"donation",label:"Donation",transaction:i({id:304,type:"donation",title:"Donation",amount:1e3})},{key:"fine",label:"Fine",transaction:i({id:305,type:"fine",direction_type:"debit",icon_url:r,title:"Partner Payout Fine - invoice 64",amount:2e3})}];function d(e){return c.find(t=>t.key===e)}},36587:function(e,t,a){"use strict";var n=a(85893),o=a(67294),s=a(75932),r=a(13163),l=a(70017),i=a(24658),c=a(31989),d=a(9374);let u=["Compare","Head-to-Head","All Stats","Rules"];t.Z=e=>{let{event:t,onClose:a}=e,[p,m]=(0,o.useState)("Compare");return(0,n.jsxs)(s.S,{title:"Player Stats",titleClassName:"text-[34px] font-extrabold leading-tight tracking-[-0.3px] text-white",isOpen:!0,onClose:a,maxWidth:"1040",className:"flex h-[calc(98dvh-1rem)] flex-col !overflow-hidden md:h-[min(760px,calc(85vh-1rem))]",children:[(0,n.jsx)(r.Z,{tabs:u,activeTab:p,onTabChange:m,scrollable:!0,className:"!border-[#1f1f1f]",tabClassName:"whitespace-nowrap px-4 pb-3 text-sm md:w-[160px] md:px-0",activeClassName:"font-medium text-white",inactiveClassName:"font-medium text-white/75"}),(0,n.jsxs)("div",{className:"-mx-6 -mb-6 min-h-0 flex-1 overflow-y-auto px-6 pb-6 pt-10 [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-grey-3 [&::-webkit-scrollbar-track]:bg-black",children:["Compare"===p&&(0,n.jsx)(i.Z,{event:t}
1),"Head-to-Head"===p&&(0,n.jsx)(c.Z,{event:t}),"All Stats"===p&&(0,n.jsx)(d.Z,{event:t}),"Rules"===p&&(0,n.jsx)(l.Z,{event:t})]})]})}},96968:function(e,t,a){"use strict";var n=a(11163),o=a(69099),s=a(90373),r=a(1489),l=a(13377),i=a(53280),c=a(99304),d=a(90757),u=a(74174),p=a(30041),m=a(39472),h=a(19133),f=a(16819);t.Z=()=>{let e=(0,o.X4)(),t=(0,h.TL)(),a=(0,n.useRouter)();return async n=>{await f.D7.deleteToken(),e.logout(),(0,s.gq)(),(0,r.I)(),(0,l.uh)(),t((0,m.av)(null)),t((0,m.Mv)(!1));try{localStorage.removeItem("1v1Me_CheckIn_")}catch(e){}t(p.fK.util.invalidateTags(["Transactions","Wallet","WithdrawSources"])),t(i.zN.util.invalidateTags(["Conversation","Details","Conversations","Details"])),t(d.$n.util.invalidateTags(["TeamStakes","StakeSlip","ActiveStakes","ActiveRound","MatchEvent","Community"])),t(u.se.util.invalidateTags(["GamerIds","NotifCount","User"])),t((0,c._L)()),n?a.replace(n):a.reload()}}},70003:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return eE},default:function(){return eZ}});var n=a(85893),o=a(67294),s=a(9008),r=a.n(s),l=a(41664),i=a.n(l),c=a(11163),d=a(18309),u=a(47797),p=a(43644),m=a(75583),h=a(74531);let f=[{id:"consumer-login-locked",label:"Consumer login gate â locked (home)",source:"src/features/Home/ConsumerLoginModal.tsx",surfaces:["home"],group:"Auth",mountable:!0,note:"No onClose â the hard gate. On mobile this is a bespoke full-screen takeover with an edge-to-edge video (Figma 533-22551), NOT AdaptiveModal â so it is meant to look nothing like the desktop 660px card (533-23691)."},{id:"consumer-login-dismissible",label:"Consumer login gate â dismissible (stake tap)",source:"src/features/Home/ConsumerLoginModal.tsx",surfaces:["watch"],group:"Auth",trigger:"DORMANT iOS-parity scaffolding (PlaceStakePresenter:14): on iOS, signed-out users browse stakes and the gate opens on tap. Web never shows them the stakes â WatchStakesSidebar skips its challenge queries without a user (skip = !user) and home sits behind the locked gate â so nothing can dispatch the tap. Becomes reviewable if/when signed-out stake browsing ships; its mobile rendering (desktop card in a sheet) needs design then."},{id:"auth-modal",label:"Phone auth modal",source:"src/features/AuthModal/AuthModal/index.tsx",surfaces:["global"],group:"Auth",mountable:!0,legacy:!0,note:"Pre-V2 (last real change c5920ec2, 2026-03-17) and built on BaseModal. Still mounted by _app, and still reachable from the NEW profile modal: useFollowAction.ts:71 opens THIS on a signed-out Follow, not the consumer gate."},{id:"not-supported",label:"Not supported on web",source:"src/features/AuthModal/NotSupportedModal.tsx",surfaces:["global"],group:"Auth",mountable:!0,legacy:!0,note:"Pre-V2, BaseModal. Every dispatcher is a V1 surface (Electron, Inbox, legacy Chat, Play) â none render on / or /watch, so it cannot actually open there."},{id:"age-verification",label:"Age verification",source:"src/features/AgeVerificationModal/index.tsx",surfaces:["global"],group:"Auth",trigger:"Opens by itself after GET /users/:id returns a user with no `dob` and status != disabled."},{id:"place-stake-mobile",label:"Place stake â mobile sheet",source:"src/features/Stakes/PlaceStake/PlaceStakeSheetContent.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0,only:"mobile",note:"The shell PlaceStakeSheetContainer picks below `lg`."},{id:"place-stake-desktop",label:"Place stake â pinned desktop sheet",source:"src/features/Stakes/PlaceStake/PinnedDesktopSheet.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0,only:"desktop",note:"Bottom-right pinned card, never rendered on a phone."},{id:"partial-promotion",label:"Partial promotion confirm",source:"src/features/Stakes/PlaceStake/PartialPromotionSheet.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0},{id:"partial-fill",label:"Partial fill result",source:"src/features/Stakes/PlaceStake/PartialFillResult.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0},{id:"stakes-closed",label:"Stakes closed result",source:"src/features/Stakes/PlaceStake/StakesClosedResult.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0},{id:"rejected-stake",label:"Rejected stake",source:"src/features/Stakes/PlaceStake/RejectedStakeSheet.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0},{id:"placement-error",label:"Placement error",source:"src/features/Stakes/PlaceStake/StakePlacementErrorSheet.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0},{id:"why-returns-change",label:"Why returns change",source:"src/features/Stakes/PlaceStake/WhyReturnsChangeSheet.tsx",surfaces:["home","watch"],group:"Place stake",mountable:!0},{id:"stake-details",label:"Stake details",source:"src/features/Stakes/StakeDetails/StakeDetailsModal.tsx",surfaces:["home","watch"],group:"My stakes",mountable:!0,harness:"/dev/stake-details",note:"Every lifecycle state lives at /dev/stake-details; this is the open state."}
1,{id:"transaction-details",label:"Transaction details",source:"src/features/Stakes/TransactionDetails/TransactionDetailsModal.tsx",surfaces:["home","watch"],group:"My stakes",mountable:!0,harness:"/dev/transaction-details",note:"Every transaction state lives at /dev/transaction-details; this is the held deposit."},{id:"cancel-stake",label:"Cancel stake",source:"src/features/Home/stakes/CancelStakeSheet.tsx",surfaces:["home","watch"],group:"My stakes",mountable:!0,note:"Current, not legacy: opens from the cancel affordance on a REQUESTED stake slip â wallet tab Requests (RequestRow) and watch My Stakes (WatchStakeRow). Confirming hits the real cancel endpoint â layout only here."},{id:"event-my-stakes-sheet",label:"Event My Stakes sheet",source:"src/features/Stakes/MyStakes/EventMyStakesSheet.tsx",surfaces:["watch"],group:"My stakes",trigger:"The $ button beside the mobile chat input: the event's Requests | Staked | History in a sheet (desktop stacks them as rail cards instead). Needs a signed-in session and a live event for rows."},{id:"stake-contracts",label:"Stake contracts",source:"src/features/Stakes/StakeDetails/StakeContractsSheet.tsx",surfaces:["home","watch"],group:"My stakes",mountable:!0,note:"Opened by View Contracts in Stake Details. Agreements are fetched, so this shows the loading/empty state without a live contract."},{id:"user-profile",label:"User profile",source:"src/features/Profile/UserProfileModal.tsx",surfaces:["home","watch"],group:"Profile",mountable:!0},{id:"admin-profile",label:"Admin profile",source:"src/features/Profile/AdminProfileView.tsx",surfaces:["home","watch"],group:"Profile",mountable:!0,note:"The employee branch of the profile modal â tapping an admin opens this instead of the staker profile."},{id:"admin-profile-long-name",label:"Admin profile (long name)",source:"src/features/Profile/AdminProfileView.tsx",surfaces:["home","watch"],group:"Profile",mountable:!0,note:"iOS's own preview name. The name shrinks to fit on one line rather than ellipsizing (A83), matching AdminProfileView.swift's .minimumScaleFactor(0.5)."},{id:"block-reason",label:"Block reason",source:"src/features/Profile/BlockReasonModal.tsx",surfaces:["home","watch"],group:"Profile",mountable:!0},{id:"admin-silence-user",label:"Admin silence user",source:"src/features/Admin/silence/AdminSilenceUserSheet.tsx",surfaces:["home","watch"],group:"Profile",trigger:"Employees only (renders nothing otherwise, and reads GET /admin/v1/users/:id on open). Sign in as a staging employee (236/242/243), then Silence from a watch chat message's right-click/long-press menu, the profile peek, or the profile sheet's Silence pill. Silence the user once to see the Remove Silence state."},{id:"edit-profile",label:"Edit profile",source:"src/features/UserProfile/EditProfileModal.tsx",surfaces:["home","watch"],group:"Profile",mountable:!0},{id:"settings",label:"Settings",source:"src/features/Settings/SettingsModal.tsx",surfaces:["home","watch"],group:"Settings",mountable:!0,note:"Root step; its three sub-views are separate entries below."},{id:"dev-options",label:"Dev Options",source:"src/features/DevTools/DevOptionsModal.tsx",surfaces:["home","watch"],group:"Settings",trigger:"Settings â Dev Options; the tile shows for developer users and on dev hosts."},{id:"tax-center",label:"Tax center",source:"src/features/Settings/TaxCenterView.tsx",surfaces:["home","watch"],group:"Settings",harness:"/dev/tax-center",trigger:"Settings â Taxes. Driven with fixtures at /dev/tax-center."},{id:"blocked-users",label:"Blocked users",source:"src/features/Settings/BlockedUsersView.tsx",surfaces:["home","watch"],group:"Settings",trigger:"Settings â Blocked Users. Needs the paged block list; open it from Settings above."},{id:"account-deletion",label:"Delete account",source:"src/features/Settings/AccountDeletionView.tsx",surfaces:["home","watch"],group:"Settings",trigger:"Settings â Delete Account. Six pages driven by reason/duration state; open it from Settings above."},{id:"deposit-core",label:"Deposit (amount + methods)",source:"src/features/Wallet/Deposit/DepositModalView.tsx",surfaces:["home","watch"],group:"Wallet â deposit",harness:"/dev/deposit-core",trigger:"Wallet â Deposit. Every phase (setup/processing/complete/held) is driven at /dev/deposit-core."},{id:"deposit-limits",label:"Deposit limits",source:"src/features/Wallet/Deposit/DepositLimitsSheet.tsx",surfaces:["home","watch"],group:"Wallet â deposit",mountable:!0},{id:"vpn-warning",label:"VPN warning",source:"src/features/Wallet/Deposit/VpnWarningModal.tsx",surfaces:["home","watch"],group:"Wallet â deposit",mountable:!0},{id:"checkout-add-card",label:"Add card (Checkout.com)",source:"src/features/Wallet/Deposit/CheckoutAddCardModal.tsx",surfaces:["home","watch"],group:"Wallet â deposit",mountable:!0,harness:"/dev/deposit-core/checkout",note:"Fields are mounted by the Checkout SDK; the skeleton is what renders without it."},{id:"checkout-3ds",label:"3DS challenge",source:"src/features/Wallet/Deposit/Checkout3dsModal.tsx",surfaces:["home","watch"],group:"Wallet â deposit",harness:"/dev/deposit-core/checkout",trigger:"First deposit on a new card. Needs a live 3DS redirect link â exercise at /dev/deposit-core/checkout."},{id:"paypal-deposit",label:"PayPal deposit",source:"src/features/Wallet/Deposit/PaypalDepositModal.tsx",surfaces:["home","watch"],group:"Wallet â deposit",harness:"/dev/deposit-core",trigger:"Deposit â PayPal. Renders the PayPal SDK buttons, which need live client tokens."},{id:"venmo-deposit",label:"Venmo deposit",source:"src/features/Wallet/Deposit/VenmoDepositModal.tsx",surfaces:["home","watch"],group:"Wallet â deposit",harness:"/dev/deposit-core",trigger:"Deposit â Venmo. Same SDK dependency as PayPal above."},{id:"limit-deposit",label:"Limit reached â deposit",source:"src/features/Wallet/LimitModal.tsx",surfaces:["home","watch"],group:"Wallet â deposit",mountable:!0,legacy:!0,note:"The deposit variant only opens from the V1 /wallet DepositInputPage â the V2 deposit flow shows DepositLimitsSheet instead. The withdraw variant of the same component IS current (separate entry)."},{id:"force-deposit",label:"Force deposit gate",source:"src/features/Wallet/ForceDeposit/ForceDepositGateHost.tsx",surfaces:["global"],group:"Wallet â deposit",harness:"/dev/force-deposit",trigger:"Opens by itself when the server marks the account deposit-gated; locked, with no dismissal."},{id:"force-deposit-load-error",label:"Force deposit gate â couldn't load (Try Again)",source:"src/features/Wallet/ForceDeposit/ForceDepositLoadError.tsx",surfaces:["global"],group:"Wallet â deposit",trigger:"Replaces the method picker when the wallet or deposit methods fail to load; locked, retries on Try Again or when the connection returns. Driven by e2e/network-recovery.spec.ts."},{id:"withdraw-core",label:"Withdraw (amount + methods)",source:"src/features/Wallet/Withdraw/WithdrawCoreView.tsx",surfaces:["home","watch"],group:"Wallet â withdraw",harness:"/dev/withdraw-core",trigger:"Wallet â Withdraw. Amount / methods / setup pages are all driven at /dev/withdraw-core."},{id:"limit-withdraw",label:"Limit reached â withdraw",source:"src/features/Wallet/LimitModal.tsx",surfaces:["home","watch"],group:"Wallet â withdraw",mountable:!0,note:"Current: the V2 withdraw's Remaining Withdrawal Amount â opens this (WithdrawModal.tsx:447, variant=withdraw). Converted from BaseModal to AdaptiveModal 2026-08-11 â mobile bottom sheet, footer pinned; the nested limits-FAQ modal converted with it."},{id:"dots-name",label:"Dots â legal name",source:"src/component/Dots/DotsNameModal.tsx",surfaces:["home","watch"],group:"Payout onboarding (Dots)",mountable:!0},{id:"dots-number",label:"Dots â phone number",source:"src/component/Dots/DotsNumberModal.tsx",surfaces:["home","watch"],group:"Payout onboarding (Dots)",mountable:!0},{id:"dots-connect",label:"Dots â connect account",source:"src/component/Dots/ConnectDotsIframeModal.tsx",surfaces:["home","watch"],group:"Payout onboarding (Dots)",mountable:!0,note:"Hosted iframe;
1 empty without a real Dots URL, but the shell is the responsive surface."},{id:"dots-compliance",label:"Dots â compliance",source:"src/component/Dots/DotsComplianceIframeModal.tsx",surfaces:["home","watch"],group:"Payout onboarding (Dots)",mountable:!0},{id:"tax-information-loading",label:"Tax information â loading",source:"src/features/Wallet/TaxInformation/TaxInformationPromptHost.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"tax-information-splash",label:"Tax information â needed",source:"src/features/Wallet/TaxInformation/TaxInformationPromptHost.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"tax-information-name",label:"Tax information â legal name",source:"src/component/Dots/DotsNameModal.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"tax-information-phone",label:"Tax information â phone number",source:"src/component/Dots/DotsNumberModal.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"tax-information-tab-blocked",label:"Tax information â provider tab blocked",source:"src/features/Wallet/TaxInformation/TaxInformationPromptHost.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"tax-information-tab-open",label:"Tax information â provider tab open",source:"src/features/Wallet/TaxInformation/TaxInformationPromptHost.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"tax-information-finished",label:"Tax information â finished",source:"src/features/Wallet/TaxInformation/TaxInformationPromptHost.tsx",surfaces:["global"],group:"Tax compliance",mountable:!0},{id:"verification-flow",label:"Identity verification (KYC)",source:"src/features/Verification/VerificationFlow.tsx",surfaces:["home","watch"],group:"Identity",harness:"/dev/kyc-core",trigger:"Withdraw or a gated action on an unverified wallet. Every phase is driven at /dev/kyc-core."},{id:"match-rule-detail",label:"Rule detail",source:"src/features/Match/MatchRulesTab.tsx",surfaces:["home"],group:"Match",mountable:!0,note:"Match page â Rules tab â a rule row carrying additional_information (e.g. Tier 1 Teams, Host). Also hosts the View All League Rules sheet."},{id:"match-stats",label:"Stats & rules",source:"src/features/WatchLive/MatchStatsModal.tsx",surfaces:["watch"],group:"Watch",mountable:!0,note:"Mobile-only entry: the three-dot menu above the video."},{id:"gif-picker",label:"GIF picker",source:"src/features/WatchLive/GifPicker.tsx",surfaces:["watch"],group:"Watch",mountable:!0,note:"Chat composer's GIF button. Hidden entirely without NEXT_PUBLIC_KLIPY_KEY."},{id:"gif-picker-sections",label:"GIF picker â CMS sections (fixture)",source:"src/features/WatchLive/GifPicker.tsx",surfaces:["watch"],group:"Watch",mountable:!0,note:"The sectioned picker (sc-14636) fed by a fixture in the shape of GET /api/v1/chats/{id}/gifs, resolved against Klipy on open, so it can be reviewed before the backend route exists. Needs NEXT_PUBLIC_KLIPY_KEY. The same fixture serves the real chat on dev hosts via ?gifs=fixture (undo with ?gifs=live)."},{id:"error-bottom-sheet",label:"Error bottom sheet",source:"src/features/ErrorPresenter/ErrorBottomSheet.tsx",surfaces:["global"],group:"Global",mountable:!0,harness:"/dev/error-states"},{id:"share",label:"Share",source:"src/features/ShareModal/index.tsx",surfaces:["global"],group:"Global",mountable:!0,legacy:!0,note:"Pre-V2 BaseModal shell, V1 pages only. The last home opener (StakeRecap's share CTA) now goes through navigator.share â the system sheet, which is also what iOS shows."},{id:"stake-recap",label:"Stake recap",source:"src/features/StakeRecapModal.tsx",surfaces:["global"],group:"Global",trigger:"Opens by itself when GET win-status returns an unseen recap for the signed-in user."}],g=f.reduce((e,t)=>e.includes(t.group)?e:[...e,t.group],[]);var x=a(19133),b=a(77454),w=a(13302),y=a(74873),v=a(35437),k=a(82422),_=a(89365),j=a(6949),S=a(75932),C=a(84482),N=a(49055),P=a(57702),D=a(19733),T=a(71956),M=a(7881),A=a(43314),W=a(22518),I=a(44515),O=a(72581),L=a(60333),E=a(95535),Z=a(86249),R=a(67384),F=a(65006),G=a(55225),H=a(67843),V=a(89823),q=a(37284),B=a(41408),z=a(90715),U=a(32420),J=a(71182),Q=a(23622),Y=a(8417),K=a(38960),X=a(67701),$=a(36587),ee=a(2016),et=a(6687),ea=a(64602),en=e=>{let{onClose:t}=e,[a,s]=(0,o.useState)("resolving");return((0,o.useEffect)(()=>{let e=!1;return(0,et.kq)(ea.q).then(t=>{if(!e){if(!t){s("failed");return}(0,et.R9)(-1,t),s("ready")}}),()=>{e=!0}},[]),"resolving"===a)?(0,n.jsx)("p",{className:"p-6 text-sm text-white/60",children:"Resolving fixture slugs via Klipyâ¦"}):"failed"===a?(0,n.jsx)("p",{className:"p-6 text-sm text-white/60",children:"Nothing resolved â is NEXT_PUBLIC_KLIPY_KEY set?"}):(0,n.jsx)(ee.Z,{chatId:-1,onSelect:t,onClose:t})},eo=a(70017),es=a(66622),er=a(47961);let el="https://mobile-assets.1v1me.com/users/v1/default_profile.png",ei=e=>new Date(Date.now()+e).toISOString(),ec={id:236,username:"THATGUYDJ",profile_image_url:el,card_image_url:null,follow_only_chat:!1,user_stats:{completed_matches:84,wins:51,losses:33,total_earnings:12840,follower_count:1204,following_count:87,total_staked_earnings:6400,total_wager_earnings:4440,total_tournament_earnings:2e3,num_of_stakeable_events:2}},ed={id:269472,username:"hhv",profile_image_url:el,card_image_url:null,badge:null,is_partner:!1,is_employee:!0,is_vip:!1,vip:null},eu={...ed,username:"AnthonyFrom1v1MeToday"},ep={token:"preview-token",is_registration:!1,user:{id:236,username:"THATGUYDJ",profile_image_url:el,email:"[email protected]",dob:"1996-04-02",status:"enabled",created_at:ei(-31536e6),updated_at:ei(-864e5)}};function em(e,t,a){return{jersey_color:null,placement:null,tag:{title:e,image_url:el,background_color:a,text_color:"#FFFFFF"},roster:{team_name:t,team_color:a,players:[{user_profile:{profile_image_url:el}}]},match_round_results:null}}let eh={id:42,state:"live",league_id:267,start_date:ei(-18e5),play_info:{num_of_rounds:3,play_interval_name:null,game_mode:"1v1",map:"Rust"},teams:[em("Knicks","THATGUYDJ","#1d6b3a"),em("Warriors","IBESTRAFING","#8a5a2b")]},ef={id:1,descriptor:{type:"winner",question:"Who will win?",answer:"Yes",title:"THATGUYDJ",logo_image_urls:[el],event_canceled:!1,start_date:ei(-72e5)},status:"open",refund_reason:null,rate:2.12,quantity:200,remaining_quantity:0,requested_quantity:200,potential_payout_amount:425,max_payout_amount:425,payout_amount:null,no_sweat_amount:0,cancelable_date:null,has_faster_rate:!1,competition_id:1,stake_type:"normal",is_flash_stake:!1,created_at:ei(-108e5)},eg={title:"Stake Not Placed",message:"We couldn't place your stake. Your balance has not been charged â try again in a moment."},ex={teamName:"THATGUYDJ",appliedCents:1500,maxCents:2500},eb={title:"Why do deposit limits exist?",blocks:[{type:"paragraph",text:"Limits keep play within a healthy range and are reviewed as your account history builds."}]},ew={title:"Something Went Wrong",message:"We couldn't complete that request. Please try again.",supportable:!0},ey=er.B[0].transaction,ev=()=>void 0,ek=e=>{let{onClose:t}=e;return(0,n.jsx)("button",{type:"button",onClick:t,className:"fixed right-4 top-4 z-[100] rounded-full bg-white/90 px-4 py-2 text-sm font-bold text-black",children:"Close (gallery only)"})};function e_(e){let t=(0,x.TL)();(0,o.useEffect)(()=>{e()},[t])}let ej=()=>{let e=(0,x.TL)();return e_(()=>e((0,b.Zu)(!0))),(0,n.jsx)(k.default,{loaded:!0})},eS=()=>{let e=(0,x.TL)();return e_(()=>e((0,y.o3)({link:"https://1v1me.com",text:"Open this in the 1v1Me app to continue."}))),(0,n.jsx)(_.default,{})},eC=()=>{let e=(0,x.TL)();return e_(()=>e((0,w.o3)({link:"https://1v1me.com/watch/42",match_id:42,text:"Watch THATGUYDJ vs IBESTRAFING live"}))),(0,n.jsx)(j.default,{})},eN=e=>{let{onClose:t}=e,[a,s]=o.useState("25"),[r]=o.useState(()=>new Date(Date.now()+42e3).toISOString());return(0,n.jsx)(N.Z,{teamName:"THATGUYDJ",teamLogoUrl:el,winConditionLabel:"to win the match",amount:a,onAmountChange:s,payoutCents:5300,ctaLabel:"Place Stake",countdownLabel:"Closes in",closesAt:r,countdownEnabled:!0,onPlace:ev,onClose:t})},eP={"consumer-login-locked":e=>{let{onClose:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.Z,{isOpen:!0}),(0,n.jsx)(ek,{onClose:t})]})},"auth-modal":()=>(0,n.jsx)(ej,{}),"not-supported":()=>(0,n.jsx)(eS,{}),"place-stake-mobile":e=>{let{onClose:t}=e;return(0,n.jsx)(S.S,{isOpen:!0,onClose:t,hideCloseButton:!0,hideBackdrop:!0,detent:"selfSizing",contentClassName:"bg-gray-5",children:(0,n.jsx)(eN,{onClose:t})})},"place-stake-desktop":e=>{let{onClose:t}=e;return(0,n.jsx)(C.Z,{isOpen:!0,onClose:t,"aria-label":"Place stake",surfaceClassName:"w-[340px] rounded-t-[32px] p-6",children:(0,n.jsx)(eN,{onClose:t})})},"partial-promotion":e=>{let{onClose:t}=e;return(0,n.jsx)(P.Z,{isOpen:!0,model:ex,onConfirm:t,onDismiss:t})},"partial-fill":e=>{let{onClose:t}=e;return(0,n.jsx)(D.Z,{isOpen:!0,requestedAmountCents:5e3,filledAmountCents:3200,onDismiss:t})},"stakes-closed":e=>{let{onClose:t}=e;return(0,n.jsx)(T.Z,{isOpen:!0,eventId:42,onDismiss:t,onWatchLive:t})},"rejected-stake":e=>{let{onClose:t}=e;return(0,n.jsx)(M.Z,{isOpen:!0,onClose:t})},"placement-error":e=>{let{onClose:t}=e;return(0,n.jsx)(A.Z,{isOpen:!0,failure:eg,onClose:t})},"why-returns-change":e=>{let{onClose:t}=e;return(0,n.jsx)(W.Z,{isOpen:!0,onClose:t})},"stake-details":e=>{let{onClose:t}=e;return(0,n.jsx)(I.Z,{contract:ef,isOpen:!0,onClose:t})}
1,"transaction-details":e=>{let{onClose:t}=e;return(0,n.jsx)(O.Z,{transaction:ey,isOpen:!0,onClose:t})},"cancel-stake":e=>{let{onClose:t}=e;return(0,n.jsx)(L.Z,{requestId:1,remainingAmount:2500,isOpen:!0,onClose:t,onCanceled:t})},"stake-contracts":e=>{let{onClose:t}=e;return(0,n.jsx)(E.Z,{contractId:ef.id,isOpen:!0,onClose:t})},"user-profile":e=>{let{onClose:t}=e;return(0,n.jsx)(Z.Z,{target:{profile:ec},isOpen:!0,onClose:t})},"admin-profile":e=>{let{onClose:t}=e;return(0,n.jsx)(Z.Z,{target:{profile:ed},isOpen:!0,onClose:t})},"admin-profile-long-name":e=>{let{onClose:t}=e;return(0,n.jsx)(Z.Z,{target:{profile:eu},isOpen:!0,onClose:t})},"block-reason":e=>{let{onClose:t}=e;return(0,n.jsx)(R.Z,{userId:236,isOpen:!0,onClose:t})},"edit-profile":e=>{let{onClose:t}=e;return(0,n.jsx)(F.Z,{isOpen:!0,onClose:t,user:ep})},settings:e=>{let{onClose:t}=e;return(0,n.jsx)(G.Z,{isOpen:!0,onClose:t})},"deposit-limits":e=>{let{onClose:t}=e;return(0,n.jsx)(V.Z,{isOpen:!0,onClose:t,totalCents:5e4,maxPerDepositCents:25e3,faq:eb})},"vpn-warning":e=>{let{onClose:t}=e;return(0,n.jsx)(q.ZP,{isOpen:!0,onClose:t})},"checkout-add-card":e=>{let{onClose:t}=e;return(0,n.jsx)(B.Z,{isOpen:!0,onClose:t,containerId:"dev-modals-add-card",status:"loading",canSubmit:!1,errorMessage:null,onSubmit:ev})},"limit-deposit":e=>{let{onClose:t}=e;return(0,n.jsx)(H.Z,{isOpen:!0,onClose:t,wallet:(0,es.uU)(),variant:"deposit"})},"limit-withdraw":e=>{let{onClose:t}=e;return(0,n.jsx)(H.Z,{isOpen:!0,onClose:t,wallet:(0,es.uU)(),variant:"withdraw"})},"dots-name":e=>{let{onClose:t}=e;return(0,n.jsx)(z.ZP,{isOpen:!0,onClose:t,onSuccess:t})},"dots-number":e=>{let{onClose:t}=e;return(0,n.jsx)(U.Z,{isOpen:!0,onClose:t,onSuccess:t})},"dots-connect":e=>{let{onClose:t}=e;return(0,n.jsx)(J.Z,{isOpen:!0,onClose:t})},"dots-compliance":e=>{let{onClose:t}=e;return(0,n.jsx)(Q.Z,{isOpen:!0,onClose:t,onDone:t})},"tax-information-loading":()=>(0,n.jsx)(K.lD,{}),"tax-information-splash":e=>{let{onClose:t}=e;return(0,n.jsx)(Y.Z,{isOpen:!0,onClose:t,title:"Tax Information Needed",children:(0,n.jsx)(K.z,{onEnter:ev})})},"tax-information-name":e=>{let{onClose:t}=e;return(0,n.jsx)(z.ZP,{isOpen:!0,context:"tax-compliance",onClose:t,onSuccess:t})},"tax-information-phone":e=>{let{onClose:t}=e;return(0,n.jsx)(U.Z,{isOpen:!0,onClose:t,onSuccess:t})},"tax-information-tab-blocked":e=>{let{onClose:t}=e;return(0,n.jsx)(Y.Z,{isOpen:!0,onClose:t,title:"Tax Information Needed",children:(0,n.jsx)(K.a,{tabState:"blocked",onOpen:ev})})},"tax-information-tab-open":e=>{let{onClose:t}=e;return(0,n.jsx)(Y.Z,{isOpen:!0,onClose:t,title:"Tax Information Needed",children:(0,n.jsx)(K.a,{tabState:"open",onOpen:ev})})},"tax-information-finished":e=>{let{onClose:t}=e;return(0,n.jsx)(K.OY,{onClose:t})},"match-stats":e=>{let{onClose:t}=e;return(0,n.jsx)($.Z,{event:eh,onClose:t})},"gif-picker":e=>{let{onClose:t}=e;return(0,n.jsx)("div",{className:"relative h-[600px] overflow-hidden bg-black",children:(0,n.jsx)(ee.Z,{chatId:0,onSelect:t,onClose:t})})},"gif-picker-sections":e=>{let{onClose:t}=e;return(0,n.jsx)("div",{className:"relative h-[600px] overflow-hidden bg-black",children:(0,n.jsx)(en,{onClose:t})})},"match-rule-detail":()=>(0,n.jsx)(eo.Z,{event:eh}),"error-bottom-sheet":e=>{let{onClose:t}=e;return(0,n.jsx)(X.Z,{error:ew,isOpen:!0,onDismiss:t,onGetHelp:ev})},share:()=>(0,n.jsx)(eC,{})};var eD=a(93660),eT=a(37485);let eM={home:"Home",watch:"Watch",global:"Global"},eA=[{id:"all",label:"All"},{id:"home",label:"Home"},{id:"watch",label:"Watch"},{id:"global",label:"Global"}],eW=e=>{let{surfaces:t}=e;return(0,n.jsx)("span",{className:"flex shrink-0 gap-1",children:t.map(e=>(0,n.jsx)("span",{className:"rounded-full border border-gray-3 px-2 py-0.5 text-[10px] uppercase tracking-wide text-gray-2",children:eM[e]},e))})},eI=e=>{let{entry:t,onOpen:a,applicable:o}=e,s=t.id in eP&&o,r=(0,eD.S9)(t.id);return(0,n.jsxs)("li",{className:"rounded-2xl border border-gray-4 bg-gray-5",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-3 p-4",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"font-bold text-white",children:t.label}),(0,n.jsx)("p",{className:"mt-0.5 break-all font-mono text-[11px] text-gray-3",children:t.source}),t.note&&(0,n.jsx)("p",{className:"mt-2 text-sm text-gray-2",children:t.note}),!s&&t.trigger&&(0,n.jsx)("p",{className:"mt-2 text-sm text-gray-2",children:t.trigger})]}),(0,n.jsxs)("span",{className:"flex shrink-0 flex-col items-end gap-1",children:[(0,n.jsx)(eW,{surfaces:t.surfaces}),t.only&&(0,n.jsxs)("span",{className:"rounded-full border border-gray-3 px-2 py-0.5 text-[10px] uppercase tracking-wide text-gray-2",children:[t.only," only"]}),t.legacy&&(0,n.jsx)("span",{className:"rounded-full border border-rose/60 px-2 py-0.5 text-[10px] uppercase tracking-wide text-rose",children:"legacy"}),(null==r?void 0:r.perfect)?(0,n.jsx)("span",{className:"rounded-full border border-green/60 px-2 py-0.5 text-[10px] uppercase tracking-wide text-green",children:"â QA'd"}):r?(0,n.jsx)("span",{className:"rounded-full border border-rose/60 px-2 py-0.5 text-[10px] uppercase tracking-wide text-rose",children:"has notes"}):null]})]}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-2 px-4 pb-4",children:[s&&(0,n.jsx)("button",{type:"button",onClick:a,className:"rounded-full bg-white px-4 py-2 text-sm font-bold text-black",children:"Open"}),t.harness&&(0,n.jsx)(i(),{href:t.harness,className:"rounded-full border border-gray-3 px-4 py-2 text-sm font-bold text-white",children:s?"Full harness":"Open harness"}
1),!o&&(0,n.jsx)("span",{className:"rounded-full border border-dashed border-gray-3 px-4 py-2 text-sm text-gray-2",children:"desktop"===t.only?"Desktop only â a phone never renders this":"Mobile only â resize below md to open it"}),o&&!s&&!t.harness&&(0,n.jsx)("span",{className:"rounded-full border border-dashed border-gray-3 px-4 py-2 text-sm text-gray-2",children:"Server-triggered"})]})]})},eO=()=>{let[e,t]=(0,o.useState)(null);(0,o.useEffect)(()=>{let e=()=>t((0,eT.cI)(f));return e(),window.addEventListener(eT.Ah,e),window.addEventListener("storage",e),()=>{window.removeEventListener(eT.Ah,e),window.removeEventListener("storage",e)}},[]);let a=e?e.perfect+e.issues:0,s=t=>e&&e.total>0?"".concat(t/e.total*100,"%"):"0%";return(0,n.jsxs)("div",{className:"mt-4","data-testid":"feedback-progress",children:[(0,n.jsx)("div",{className:"flex h-2 overflow-hidden rounded-full bg-gray-4",children:e&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"bg-green transition-[width] duration-300",style:{width:s(e.perfect)}}),(0,n.jsx)("div",{className:"bg-rose transition-[width] duration-300",style:{width:s(e.issues)}})]})}),(0,n.jsx)("p",{className:"mt-1.5 text-xs text-gray-2",children:e?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("span",{className:"font-bold text-white",children:[a,"/",e.total]})," ","reviewed on this device \xb7"," ",(0,n.jsxs)("span",{className:"text-green",children:[e.perfect," perfect"]})," \xb7"," ",(0,n.jsxs)("span",{className:"text-rose",children:[e.issues," with issues"]})," \xb7"," ",e.pending," left"]}):"â¦"})]})},eL=()=>{let[e,t]=(0,o.useState)(null),[a,s]=(0,o.useState)(null),r=o.useRef(null),l=()=>JSON.stringify((0,eT.Gd)(f),null,2),i=async()=>{let e=l();t(e);try{await navigator.clipboard.writeText(e),s("copied");return}catch(e){}requestAnimationFrame(()=>{let e=r.current;if(!e)return s("manual");e.focus(),e.select(),s(document.execCommand("copy")?"copied":"manual")})};return(0,n.jsxs)("div",{className:"mt-4",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,n.jsx)("button",{type:"button",onClick:()=>void i(),className:"rounded-full border border-gray-3 px-4 py-2 text-sm font-bold text-white",children:"Copy feedback JSON"}),(0,n.jsx)("button",{type:"button",onClick:()=>t(e=>null===e?l():null),className:"rounded-full border border-gray-3 px-4 py-2 text-sm font-bold text-gray-2",children:null===e?"Show JSON":"Hide JSON"}),"copied"===a&&(0,n.jsx)("span",{className:"text-xs text-green",children:"Copied â"}),"manual"===a&&(0,n.jsx)("span",{className:"text-xs text-rose",children:"Clipboard blocked â long-press the JSON below"})]}),null!==e&&(0,n.jsx)("textarea",{ref:r,readOnly:!0,value:e,rows:12,className:"mt-2 w-full rounded-2xl border border-gray-4 bg-gray-5 p-3 font-mono text-[11px] text-gray-2 focus:outline-none"}),(0,n.jsx)("p",{className:"mt-1 text-[11px] text-gray-3",children:"Feedback is stored per device â copy it from the device you reviewed on. Harness pages (deposit/withdraw core) write into the same store."})]})};var eE=!0,eZ=()=>{var e;let t=(0,c.useRouter)(),a=(e="string"==typeof t.query.m?t.query.m:void 0,f.find(t=>t.id===e)),[s,l]=(0,o.useState)("all"),[i,x]=(0,o.useState)(!1),[b,w]=(0,o.useState)(""),y=(0,d.dD)(),[v,k]=(0,o.useState)(!1);(0,o.useEffect)(()=>k(!0),[]);let _=v?y?"mobile":"desktop":null,j=e=>!e.only||null===_||e.only===_,S=(0,o.useMemo)(()=>{let e=b.trim().toLowerCase();return f.filter(t=>!!((!t.legacy||i)&&("all"===s||t.surfaces.includes(s)))&&(!e||t.label.toLowerCase().includes(e)||t.source.toLowerCase().includes(e)||t.group.toLowerCase().includes(e)))},[s,b,i]),C=(0,o.useMemo)(()=>{let e=f.filter(e=>!e.legacy),t=e.filter(e=>e.id in eP&&j(e)).length,a=e.filter(e=>!(e.id in eP&&j(e))&&e.harness).length;return{total:e.length,mountable:t,harnessOnly:a,manual:e.length-t-a,legacy:f.length-e.length}},[_]),N=e=>t.push({query:{...t.query,m:e}},void 0,{shallow:!0});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{children:[(0,n.jsx)("title",{children:"Modal Gallery"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"})]}),(0,n.jsx)(u.x,{children:(0,n.jsx)(p.X,{children:(0,n.jsx)(m.K,{children:(0,n.jsxs)(h.V,{children:[(0,n.jsxs)("div",{className:"min-h-screen bg-black px-4 py-6 font-sf text-white lg:px-12",children:[(0,n.jsx)("h1",{className:"text-3xl font-black",children:"Modal Gallery"}),(0,n.jsxs)("p",{className:"mt-2 max-w-2xl text-gray-2",children:["Every modal reachable from ",(0,n.jsx)("code",{children:"/"})," and"," ",(0,n.jsx)("code",{children:"/watch/[id]"}),", plus the ",(0,n.jsx)("code",{children:"_app"})," modals that render over both. Open this page on the device you are testing â the sheet-vs-centered switch reads the real viewport."]}),(0,n.jsxs)("p",{className:"mt-2 text-sm text-gray-2",children:[C.total," modals \xb7 ",C.mountable," open here \xb7"," ",C.harnessOnly," via a dedicated harness \xb7 ",C.manual," ","server-triggered \xb7 ",C.legacy," legacy hidden"]}),(0,n.jsx)(eO,{}),(0,n.jsx)(eL,{}),_&&(0,n.jsxs)("p",{className:"mt-1 text-sm text-gray-3",children:["Viewport: ",(0,n.jsx)("span",{className:"text-white",children:_})," â entries built only for the other form factor are shown but not open
1able."]}),(0,n.jsx)("div",{className:"sticky top-0 z-10 -mx-4 mt-6 bg-black px-4 py-3 lg:-mx-12 lg:px-12",children:(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[eA.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>l(e.id),className:s===e.id?"rounded-full bg-white px-4 py-2 text-sm font-bold text-black":"rounded-full border border-gray-3 px-4 py-2 text-sm font-bold text-white",children:e.label},e.id)),(0,n.jsx)("button",{type:"button",onClick:()=>x(e=>!e),className:i?"rounded-full bg-rose px-4 py-2 text-sm font-bold text-black":"rounded-full border border-gray-3 px-4 py-2 text-sm font-bold text-gray-2",children:"Legacy"}),(0,n.jsx)("input",{value:b,onChange:e=>w(e.target.value),placeholder:"Filterâ¦",className:"min-w-0 flex-1 rounded-full border border-gray-3 bg-transparent px-4 py-2 text-sm text-white placeholder:text-gray-3 focus:outline-none"})]})}),g.map(e=>{let t=S.filter(t=>t.group===e);return 0===t.length?null:(0,n.jsxs)("section",{className:"mt-8",children:[(0,n.jsx)("h2",{className:"text-xs font-bold uppercase tracking-widest text-gray-2",children:e}),(0,n.jsx)("ul",{className:"mt-3 flex flex-col gap-3",children:t.map(e=>(0,n.jsx)(eI,{entry:e,applicable:j(e),onOpen:()=>N(e.id)},e.id))})]},e)})]}),v&&a&&function(e,t){let a=eP[e];return a?a(t):null}(a.id,{onClose:()=>{let{m:e,...a}=t.query;t.push({query:a},void 0,{shallow:!0})}}),v&&a&&(0,n.jsx)(eD.ZP,{targetId:a.id,label:a.label,source:a.source})]})})})})]})}}},function(e){e.O(0,[4690,9391,5790,7988,4538,9079,7984,1262,3485,2876,537,9055,1218,9454,7601,4864,8781,2016,2888,9774,179],function(){return e(e.s=63541)}),_N_E=e.O()}]);
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.