PageSourceSearch

https://www.fightrealm.com/_next/static/chunks/7894-b2ca2d745d415405.js

js fightrealm.com collected 2026-10-02 01:31:53 UTC 13,287 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4e14ecd8-1140-42c6-a291-e1576b904448",e._sentryDebugIdIdentifier="sentry-dbid-4e14ecd8-1140-42c6-a291-e1576b904448")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7894],{17894:function(e,t,n){n.d(t,{z:function(){return w}});var r=n(30137),a=n(93128),i=n(53353),s=n(97582),l=n(85893),o=n(67294),c=n(25675),u=n.n(c),p=n(41664),d=n.n(p),x=n(47584),_=n(70110),h=n(85182),f=n(21142),g=n(63844),b=n(32791),m=n(24426),v=n(62880),w={fantasy_competitions:"Fantasy Competitions",community:"Community Access",site_message_board:"Sitewide Message Board and Discussion",leaderboards:"Leaderboards",live_chat:"Instant Messaging",performance_dashboard:"Your Performance",advanced_metrics:"Advanced Metrics",individual_prize_bonuses:"Individual Prize Bonuses",group_prize_bonuses:"Group Prize Bonuses",group_prize_pools:"Private Prize Pools",private_message_board:"Private Message Board",custom_features:"Custom Features"},y=["Forever Free","Group chat","Fantasy Competitions","Small Groups Up to 5"],j=["Everything in Free","Instant Messaging","Advanced Metrics","Individual Prize Bonuses","Your Performance","Founding Member Status"];function N(e){var t;return null!==(t=w[e])&&void 0!==t?t:e.split("_").filter(Boolean).map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}).join(" ")}function k(){return(0,l.jsx)("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",className:"h-4 w-4 text-main-red",children:(0,l.jsx)("path",{d:"M3.5 8.3 6.6 11l5.9-6.2",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}t.Z=function(){var e,t,n,c,p,w=(0,f.Z)(function(e){return e.isAuthenticated}),S=(0,g.Z)(w).hasPlus,A=(0,a._)((0,o.useState)("annual"),2),C=A[0],F=A[1],z=(0,a._)((0,o.useState)([]),2),P=z[0],M=z[1],Z=(0,h._)();(0,o.useEffect)(function(){var e=!0;function t(){return(t=(0,r._)(function(){var t,n;return(0,s.Jh)(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=(0,h._)(),[4,(0,x.WK)({currency:t})];case 1:return n=r.sent(),e&&M(Array.isArray(n)?n:[]),[3,3];case 2:return r.sent(),[3,3];case 3:return[2]}})})).apply(this,arguments)}return!function(){t.apply(this,arguments)}(),function(){e=!1}},[]);var B=(0,o.useMemo)(function(){return null!==(e=P.find(function(e){return"free"===e.id}))&&void 0!==e?e:null},[P]),I=(0,o.useMemo)(function(){var e,t,n,r=P.filter(function(t){return"free"!==t.id&&t.billing_cycle===C&&(null!==(e=t.price_cents)&&void 0!==e?e:0)>0}).sort(function(e,t){var n,r,a,i,s=null!==(n=e.tier_level)&&void 0!==n?n:0,l=null!==(r=t.tier_level)&&void 0!==r?r:0;return s!==l?s-l:(null!==(a=e.price_cents)&&void 0!==a?a:0)-(null!==(i=t.price_cents)&&void 0!==i?i:0)});return null!==(n=null!==(t=r.find(function(e){return 1===e.tier_level}))&&void 0!==t?t:r[0])&&void 0!==n?n:null},[C,P]),E=(0,_.ue)(I,Z),G=(0,o.useMemo)(function(){if(!B)return y;var e,t=(null!==(e=B.features)&&void 0!==e?e:[]).filter(function(e){return"live_chat"!==e}).map(N),n=B.max_group_size>0?["Small Groups Up to ".concat(B.max_group_size)]:[],r=["Forever Free","Group chat"].concat((0,i._)(t),(0,i._)(n));return Array.from(new Set(r)).slice(0,4)},[B]),U=(0,o.useMemo)(function(){if(!I)return j;var e,t,n="Everything in ".concat(null!==(e=null==B?void 0:B.display_name)&&void 0!==e?e:"Free"),r=(null!==(t=I.features)&&void 0!==t?t:[]).filter(function(e){var t;return!(null==B?void 0:null===(t=B.features)||void 0===t?void 0:t.includes(e))}).map(N),a=I.max_group_size>0?["Max Group Size ".concat(I.max_group_size)]:["Unlimited Group Size"],s=[n].concat((0,i._)(r),(0,i._)(a));return Array.from(new Set(s))},[B,I]),D=U.slice(0,6),L=null!==(t=U[6])&&void 0!==t?t:"Premium Stats, Insights, and Fighter Analytics (Coming Soon)";return n=S?(0,l.jsx)(d(),{href:v.Z,className:"mt-5 flex h-[72px] w-full items-center justify-center rounded-[20px] border border-white/40 bg-black/25 font-inter text-[20px] font-bold uppercase leading-[24px] tracking-[-1px] text-white/90 shadow-[0_6px_8px_rgba(0,0,0,0.25),0_8px_36px_rgba(215,215,215,0.32)] transition-all duration-200 ease-out hover:bg-white/10 hover:shadow-[0_10px_28px_rgba(215,215,215,0.35)] hover:brightness-110 active:scale-[0.99]",children:"Already a member"}):w?(0,l.jsx)(d(),{href:v.Z,className:"mt-5 flex h-[72px] w-full items-center justify-center rounded-[20px] border border-white bg-black/35 font-inter text-[20px] font-bold uppercase leading-[24px] tracking-[-1px] text-white shadow-[0_6px_8px_rgba(0,0,0,0.25),0_8px_36px_rgba(215,215,215,0.32)] transition-all duration-200 ease-out hover:bg-white/10 hover:shadow-[0_10px_28px_rgba(215,215,215,0.35)] hover:brightness-110 active:scale-[0.99]",children:"Sign Up Now"}):(0,l.jsx)(b.Z,{defaultView:"register",redirectAfterAuth:v.Z,trigger:(0,l.jsx)("button",{type:"button",className:"mt-5 h-[72px] w-full rounded-[20px] border border-white bg-black/35 font-inter text-[20px] font-bold uppercase leading-[24px] tracking-[-1px] text-white shadow-[0_6px_8px_rgba(0,0,0,0.25),0_8px_36px_rgba(215,215,215,0.32)] transition-all duration-200 ease-out hover:bg-white/10 hover:shadow-[0_10px_28px_rgba(215,215,215,0.35)] hover:brightness-110 active:scale-[0.99]",children:"Sign Up Now"})}),(0,l.jsx)("section",{className:"relative hidden overflow-hidden bg-transparent py-[80px] lg:block",children:(0,l.jsxs)("div",{className:"relative z-10 mx-auto flex w-full max-w-[1200px] flex-col items-center px-5",children:[(0,l.jsxs)("h2",{className:"text-center font-basement text-[60px] font-black uppercase leading-[64px] tracking-[-0.8px] text-white [text-shadow:0_8px_36px_rgba(183,0,76,0.56),0_6px_8px_rgba(0,0,0,0.25)]",children:["Limited-Time Annual ",(0,l.jsx)("span",{className:"text-main-red",children:"Offer"})]}),(0,l.jsxs)("div",{className:"mt-5 flex items-center gap-4",children:[(0,l.jsx)("button",{type:"button",onClick:function(){return F("monthly")},className:"font-basement text-[14px] font-black uppercase leading-5 tracking-[-0.8px] [text-shadow:0_8px_36px_rgba(183,0,76,0.56),0_6px_8px_rgba(0,0,0,0.25)] ".concat("monthly"===C?"text-main-red":"text-white"),children:"Monthly"}),(0,l.jsx)("button",{type:"button","aria-label":"Toggle billing cycle",onClick:function(){return F(function(e){return"monthly"===e?"annual"
1:"monthly"})},className:"relative inline-flex h-6 w-[38px] items-center rounded-full bg-main-red p-[3px]",children:(0,l.jsx)("span",{className:"h-[18px] w-[18px] rounded-full bg-white shadow-[0_2px_0_rgba(0,0,0,0.16)] transition-transform ".concat("annual"===C?"translate-x-[14px]":"translate-x-0")})}),(0,l.jsx)("button",{type:"button",onClick:function(){return F("annual")},className:"font-basement text-[14px] font-black uppercase leading-5 tracking-[-0.8px] [text-shadow:0_8px_36px_rgba(183,0,76,0.56),0_6px_8px_rgba(0,0,0,0.25)] ".concat("annual"===C?"text-main-red":"text-white"),children:"Annual"})]}),(0,l.jsxs)("div",{className:"mt-10 grid w-full grid-cols-[432px_1fr] gap-6",children:[(0,l.jsxs)("article",{style:{border:"1px solid #555"},className:"relative h-[412px] rounded-[24px] bg-[#070707]/95 p-6",children:[(0,l.jsxs)("div",{className:"flex flex-col items-center gap-2 text-white",children:[(0,l.jsx)("p",{className:"font-inter text-[14px] leading-5 tracking-[-1px]",children:"Free"}),(0,l.jsx)("p",{className:"font-basement text-[32px] font-black uppercase leading-[40px] tracking-[-0.8px] [text-shadow:0_8px_36px_rgba(183,0,76,0.56),0_6px_8px_rgba(0,0,0,0.25)]",children:(0,_.xJ)(null!==(c=null==B?void 0:B.price_cents)&&void 0!==c?c:0,(0,_.Au)(B,Z))})]}),(0,l.jsx)("div",{className:"mt-6 flex flex-col gap-2",children:G.map(function(e){return(0,l.jsxs)("div",{style:{border:"1px solid white"},className:"flex h-[38px] items-center gap-2 rounded-[12px] px-[13px]",children:[(0,l.jsx)(k,{}),(0,l.jsx)("p",{className:"font-inter text-[14px] uppercase leading-5 text-white [text-shadow:0_2px_0_rgba(0,0,0,0.16)]",children:e})]},e)})}),n]}),(0,l.jsxs)("article",{style:{border:"1px solid #f0595e"},className:"relative h-[412px] overflow-hidden rounded-[24px] bg-[#070707]/95 p-6",children:[(0,l.jsx)(u(),{src:"/img/subscription-fr/support/support-bg-2.png",alt:"FR+ plan background",fill:!0,quality:95,className:"pointer-events-none object-fill object-center opacity-40"}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_45%,rgba(240,89,94,0.38),transparent_58%)]"}),(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,rgba(240,89,94,0.3),transparent_52%)]"}),(0,l.jsxs)("div",{className:"relative flex items-start justify-between text-white",children:[(0,l.jsxs)("div",{className:"flex w-full flex-col items-center gap-2",children:[(0,l.jsx)("p",{className:"font-inter text-[14px] font-light leading-5 tracking-[-1px]",children:null!==(p=null==I?void 0:I.display_name)&&void 0!==p?p:"FR+"}),(0,l.jsxs)("p",{className:"font-basement text-[32px] font-black uppercase leading-[40px] tracking-[-0.8px] [text-shadow:0_8px_36px_rgba(183,0,76,0.56),0_6px_8px_rgba(0,0,0,0.25)]",children:[I?E.amount:"—",I&&E.unit?(0,l.jsx)("span",{className:"ml-1.5 font-inter text-[14px] font-medium normal-case tracking-normal [text-shadow:none]",children:E.unit}):null]}),I&&E.caption?(0,l.jsx)("p",{className:"font-inter text-[11px] font-light uppercase tracking-[0.14em] text-white/60",children:E.caption}):null]}),"annual"===C&&(0,l.jsx)("p",{className:"absolute right-0 top-0 font-inter text-[14px] font-bold uppercase leading-5 text-main-red [text-shadow:0_2px_0_rgba(0,0,0,0.16)]",children:"Recommended"})]}),(0,l.jsxs)("div",{className:"relative mt-6 flex flex-col gap-2",children:[D.map(function(e,t){var n=D[t+1];return t%2!=0?null:(0,l.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,l.jsxs)("div",{style:{border:"1px solid white"},className:"flex h-[38px] items-center gap-2 rounded-[12px] border border-white px-[13px]",children:[(0,l.jsx)(k,{}),(0,l.jsx)("p",{className:"font-inter text-[14px] uppercase leading-5 text-white [text-shadow:0_2px_0_rgba(0,0,0,0.16)]",children:e})]}),(0,l.jsxs)("div",{style:{border:"1px solid white"},className:"flex h-[38px] items-center gap-2 rounded-[12px] border border-white px-[13px]",children:[n?(0,l.jsx)(k,{}):null,(0,l.jsx)("p",{className:"font-inter text-[14px] uppercase leading-5 text-white [text-shadow:0_2px_0_rgba(0,0,0,0.16)]",children:null!=n?n:""})]})]},e)}),(0,l.jsxs)("div",{style:{border:"1px solid white"},className:"flex h-[38px] items-center gap-2 rounded-[12px] border border-white px-[13px]",children:[(0,l.jsx)(k,{}),(0,l.jsx)("p",{className:"font-inter text-[14px] uppercase leading-5 text-white [text-shadow:0_2px_0_rgba(0,0,0,0.16)]",children:L})]})]}),(0,l.jsx)(m.Z,{className:"relative mt-5 h-[72px] w-full rounded-[20px] bg-main-red font-inter text-[20px] font-bold uppercase leading-[24px] tracking-[-1px] text-white shadow-[0_6px_8px_rgba(0,0,0,0.25),0_8px_36px_rgba(183,0,76,0.56)]",children:"Subscribe Now"})]})]})]})})}},24426:function(e,t,n){n.d(t,{Z:function(){return d}});var r=n(85893),a=n(76341),i=n(93128),s=n(67294),l=n(21142),o=n(45470),c=n(45091),u=function(e){var t=e.className,n=e.children,u=e.style,p=e.defaultBillingCycle,d=e.analyticsSource,x=void 0===d?o.JV.FRPLUS_PAGE:d,_=(0,l.Z)(function(e){return e.isAuthenticated}
1),h=(0,i._)((0,s.useState)(!1),2),f=h[0],g=h[1],b=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(null===(t=window.posthog)||void 0===t?void 0:t.capture)&&window.posthog.capture(e,n)}(e,(0,a._)({source:x},t))},m=function(){g(!0),b("frplus_subscription_modal_opened",{auth_state:_?"authenticated":"guest"})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",className:t,style:u,onClick:function(){b("frplus_subscribe_cta_clicked",{auth_state:_?"authenticated":"guest"}),m()},children:n}),(0,r.jsx)(c.Z,{open:f,defaultBillingCycle:p,analyticsSource:x,onClose:function(){g(!1),b("frplus_subscription_modal_closed")},onStepView:function(e){return b("frplus_subscription_step_viewed",{step:e})},onAuthSuccess:function(e){var t;b("frplus_auth_success",{auth_provider:null!==(t=null==e?void 0:e.authProvider)&&void 0!==t?t:"unknown",is_new_user:!!(null==e?void 0:e.created)})},onPaymentStepReached:function(){return b("frplus_subscription_payment_step_reached")},onSubscriptionSuccess:function(){return b("frplus_subscription_success")},onSubscriptionError:function(e){return b("frplus_subscription_error",{error:e||"unknown_error"})}})]})},p={red:"hover:shadow-[0_10px_26px_rgba(183,0,76,0.45)]",green:"hover:shadow-[0_10px_26px_rgba(207,255,63,0.35)]",none:""},d=function(e){var t=e.className,n=e.children,a=e.style,i=e.billingCycle,s=e.glow,l=e.analyticsSource,o="".concat(t," transition-all duration-200 ease-out hover:brightness-110 ").concat(p[void 0===s?"red":s]," active:scale-[0.99]").trim();return(0,r.jsx)(u,{className:o,style:a,defaultBillingCycle:i,analyticsSource:l,children:n})}},62880:function(e,t){t.Z="/settings?tab=subscription"}}]);
2//# sourceMappingURL=7894-b2ca2d745d415405.js.map

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.