PageSourceSearch

https://www.ufcgym.com/_next/static/chunks/pages/locations/[code]/mktg/join/[promoCode]-11d221ed68632b30.js

js ufcgym.com collected 2026-10-04 00:10:42 UTC 22,024 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2578],{5243:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/locations/[code]/mktg/join/[promoCode]",function(){return n(2417)}])},5876:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var o=n(6042),r=n(9396),l=n(5893),a=n(7294),i=n(4462);function s(e){var t,n=e.type,s=e.label,c=e.href,d=e.value,u=e.target,m=e.linkLabel,f=e.name,p=void 0===f?"":f,x=e.title,h=e.selectData,N=void 0===h?null:h,v=e.conditions,O=e.register,g=void 0===O?function(){}:O,E=e.errors,b=e.noPlaceholder,S=e.checked,F=e.checkBoxClick,y=e.defaultValue,w=void 0===y?"":y,j=e.disabled,T=void 0!==j&&j,R=e.extraClasses,k=void 0===R?"":R,I=e.required,C=void 0!==I&&I,Z=(0,a.useState)(""),D=Z[0],M=Z[1],J=function(e){var t=e.replace(/\D/g,"").slice(0,10);return 0===t.length?"":t.length<=3?"(".concat(t):t.length<=6?"(".concat(t.slice(0,3),") ").concat(t.slice(3)):"(".concat(t.slice(0,3),") ").concat(t.slice(3,6),"-").concat(t.slice(6))},P="phone"===p&&g?g(p,(0,r.Z)((0,o.Z)({},v),{setValueAs:function(e){return e.replace(/\D/g,"")}})):null,A=function(e){var t=J(e.target.value);M(t);var n=t.replace(/\D/g,"");P&&P.onChange&&P.onChange({target:{name:p,value:n},type:"change"})};(0,a.useEffect)(function(){if("phone"===p){if(w){var e=J(w);M(e)}else M("")}},[w,p]);var W=function(e){var t=e.replace(/([A-Z])/g," $1");return t.charAt(0).toUpperCase()+t.slice(1)},L="text-basetext-ufc-gray-153 rounded-none border-2 border-ufc-gray-246 bg-ufc-gray-246 p-4 outline-none focus:border-2 focus:border-black";return(console.log("required",C),"hidden"==n)?(0,l.jsx)("input",(0,o.Z)({type:"hidden",name:p,value:d},g(p))):(0,l.jsxs)("div",{children:["checkbox"==n?(0,l.jsxs)("label",{className:"customCheckbox mb-1 font-urw-din-condensed text-2xl font-medium leading-[1.33]",children:[(0,l.jsxs)("p",{className:"ml-2",children:[s," ",c?(0,l.jsx)(i.Z,{className:"border-b border-ufc-gray-153 no-underline",href:c,target:void 0===u?"_blank":u,children:m}):null]}),(0,l.jsx)("input",(0,o.Z)({type:"checkbox",id:p,checked:S,className:"".concat("checkbox"==n?"w-0":"w-full"," ").concat(L," ").concat(k||""),placeholder:W(p),disabled:T,onClick:F||null},g(p,v))),(0,l.jsx)("span",{className:"checkmark"})]}):(0,l.jsxs)("div",{className:"relative flex ".concat("checkbox"==n?"flex-row-reverse items-center justify-end":"flex-col"),children:[(0,l.jsxs)("label",{htmlFor:p,className:"".concat("checkbox"==n?"ml-10":"ml-0"," mb-1 font-urw-din-condensed text-2xl font-medium leading-[1.33]"),children:["checkbox"==n?s:(void 0===x?"":x)||W(p),(0,l.jsx)("span",{className:"text-ufc-red",children:!1!==C?"*":""})]}),"textarea"==n?(0,l.jsx)("textarea",(0,o.Z)({rows:"5",id:p,className:"w-full ".concat(L," ").concat(k||""),placeholder:W(p)},g(p,v))):"select"==n?(0,l.jsx)("div",{className:"bg-ufc-gray-246",children:(0,l.jsx)("select",(0,r.Z)((0,o.Z)({name:p,id:p,className:"inline-block h-[60px] w-full appearance-none overflow-hidden rounded-none border-2 border-ufc-gray-26 bg-transparent bg-[url('/images/baseline-arrow_drop_down.svg')] bg-[position:100%] bg-no-repeat py-[5px] px-4 text-sm font-bold leading-loose outline-none"},g(p,{required:"This field is required."})),{children:null==N?void 0:N.map(function(e){return(0,l.jsx)("option",{hidden:""==e.value,value:e.value,selected:e.value==w?"selected":"",children:e.label},e.value)})}))}):"phone"===p?(0,l.jsx)("input",(0,r.Z)((0,o.Z)({id:p},P?{ref:P.ref}:{}),{type:"tel",className:"w-full ".concat(L," ").concat(k||""),placeholder:b?null:"(###) ###-####",value:D,onChange:A,onBlur:null==P?void 0:P.onBlur,disabled:T,maxLength:14})):(0,l.jsx)("input",(0,r.Z)((0,o.Z)({id:p,type:n||null,className:" ".concat("checkbox"==n?"w-0":"w-full"," ").concat(L," ").concat(k||""),placeholder:b?null:W(p)},g(p,v)),{disabled:T,defaultValue:w}))]}),(null==E?void 0:E[p])?(0,l.jsx)("p",{className:"!mt-2 text-sm text-ufc-red",children:null==E?void 0:null===(t=E[p])||void 0===t?void 0:t.message}):""]})}},7673:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var o=n(5893),r=n(7294);function l(e){var t=e.headlines,n=e.speed,l=void 0===n?10:n;if(!t||!Array.isArray(t)||0===t.length)return null;var a=function(){return(0,o.jsxs)(o.Fragment,{children:[t.map(function(e,n){return(0,o.jsxs)(r.Fragment,{children:[(0,o.jsx)("span",{className:"inline-block px-4 font-urw-din-condensed text-2xl font-bold uppercase text-white md:text-3xl lg:text-4xl",children:e}),n<t.length-1&&(0,o.jsx)("span",{className:"inline-block font-urw-din-condensed text-2xl font-bold uppercase text-white md:text-3xl lg:text-4xl mx-4",children:"  •  "})]},n)}),(0,o.jsx)("span",{className:"inline-block px-4 font-urw-din-condensed text-2xl font-bold uppercase text-white md:text-3xl lg:text-4xl",children:"  •  "})]})},i="ticker-scroll-".concat(l);return(0,o.jsxs)("div",{className:"relative w-full overflow-hidden bg-ufc-gray-26 py-4",children:[(0,o.jsx)("style",{children:"\n        @keyframes ".concat(i," {\n          0% {\n            transform: translate3d(0, 0, 0);\n          }\n          100% {\n            transform: translate3d(-50%, 0, 0);\n          }\n        }\n      ")}),(0,o.jsx)("div",{className:"relative w-full overflow-hidden",children:(0,o.jsxs)("div",{className:"flex whitespace-nowrap",style:{animation:"".concat(i," ").concat(l,"s linear infinite"),willChange:"transform"},children:[a(),a()]})})]})}},2417:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return A},default:function(){return W}});var o=n(5893),r=n(1163),l=n(2962),a=n(5631),i=n(7568),s=n(6042),c=n(9396),d=n(7582),u=n(7294),m=n(8100),f=n(7066),p=n(259),x=n(2130),h=n(9815),N=n(7536),v=n(4466),O=n(7709),g=n(8725),E=function(){return(0,o.jsx)("div",{className:"mt-48 inline-block size-24 animate-spin rounded-full border-4 border-solid border-current border-r-transparent align-[-0.125em] motion-reduce:animate-[spin_1.5s_linear_infinite]",role:"status",children:(0,o.jsx)("span",{className:"!absolute !-m-px !h-px !w-px !overflow-hidden !whitespace-nowrap !border-0 !p-0 ![clip:rect(0,0,0,0)]",children:"Loading..."})})},b=function(e){var t,n=e.location,r=e.promoCode;return(null==n?void 0:null===(t=n.joinPage)||void 0===t?void 0:t.promoMessage)?(0,o.jsx)("div",{className:"-mt-4 mb-8 text-xl text-center md:text-2xl",children:(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:n.joinPage.promoMessage}})}):(null==n?void 0:n.code)==="san-jose"?null:"july25"===r||"July25"===r||"JULY25"===r?(0,o.jsx)("div",{className:"-mt-4 mb-8 text-xl text-center md:text-2xl",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h3",{className:"mb-4 font-urw-din-condensed text-[32px] font-bold leading-[1.2] text-ufc-red lg:mb-0 lg:text-[40px]",children:"GET YOUR FIRST & LAST MONTH FREE!"}),(0,o.jsxs)("p",{children:[(0,o.jsx)("b",{children:"Pay only $1 enrollment."}),(0,o.jsx)("br",{}),"Don't miss out—offer ends August 5th."]})]})}):(null==n?void 0:n.owner)==="CORP"||(null==n?void 0:n.owner)==="MSA"||(null==n?void 0:n.code)==="chicago-morgan-park"||(null==n?void 0:n.code)==="concord-sunvalley"?(0,o.jsx)(g.Z,{location:n,variant:"join"}):null},S=function(e){var t=e.location,n=e.promoCode,l=(0,N.cI)(),a=l.register,i=l.handleSubmit,c=l.reset,d=(0,r.useRouter)(),u=function(e){var n=e.promoCode;c(),d.push({pathname:"/locations/".concat(t.code,"/join"),query:{promoCode:n.trim()}})};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(b,{location:t,promoCode:n}),(0,o.jsx)("div",{className:"text-center",children:"Got a Promo Code? Enter it here:"}),(0,o.jsx)("div",{className:"flex justify-center items-center mt-4 bg-transparent",children:(0,o.jsx)("form",{onSubmit:i(u),children:(0,o.jsxs)("div",{className:"relative text-gray-600 focus-within:text-gray-400",children:[(0,o.jsx)("span",{className:"flex absolute inset-y-0 left-0 items-center pl-2",children:(0,o.jsx)("button",{type:"submit",className:"p-1 focus:shadow-outline focus:outline-none",children:(0,o.jsx)("svg",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",className:"size-6",children:(0,o.jsx)("path",{d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})})}),(0,o.jsx)("input",(0,s.Z)({name:"promoCode",type:"search",className:"py-2 pl-10 text-black bg-gray-100 focus:bg-gray-100 focus:text-gray-900 focus:outline-none",placeholder:"Search..."},a("promoCode",{})))]})})})]})},F=function(e){var t=e.thePromoCode;return"PRESALE"===e.location.status?(0,o.jsx)("div",{className:"mt-16 text-4xl font-bold text-center font-urw-din-condensed",children:"Coming Soon!"}):(0,o.jsxs)("div",{className:"mt-48 text-2xl",children:["No online offers ",t&&'with Promo Code "'.concat(t,'"')," at this location."]})},y=function(e){var t=e.location,n=e.typeCheck,r=e.thePromoCode,l=e.showPromoCodeForm,a=e.offers,i=e.offerCta,s=e.onClickOffer;return(0,o.jsxs)("div",{id:"promo-plans",className:"pt-0 md:pt-0",children:[(0,o.jsxs)(v.Z,{title:"EXCLUSIVE OFFER WHEN YOU COMMIT TO YOUR FITNESS",titleStyle:"font-bold ".concat((null==t?void 0:t.type)==="UFCFIT"?"text-ufc-blue":"text-ufc-red"),extra:"max-w-[592px] my-5",color:n?"black":"text-ufc-blue",children:["Only available at "," ",(0,o.jsxs)("span",{className:"font-bold",children:[(null==t?void 0:t.name)===(null==t?void 0:t.city)?null==t?void 0:t.name:"".concat(t.name," ").concat(null==t?void 0:t.city),", ",null==t?void 0:t.state]}),"."]}),(void 0===l||l)&&(0,o.jsx)(S,{location:t,promoCode:r}),"PRESALE"===t.status&&(0,o.jsx)("div",{className:"mt-16 text-4xl font-bold text-center font-urw-din-condensed",children:"Presale Specials"}),(0,o.jsxs)("div",{className:"mt-0 flex min-h-[480px] flex-wrap justify-center",children:[!a&&(0,o.jsx)(E,{}),a&&a.offers&&Array.isArray(a.offers)&&a.offers.length>0&&a.offers.sort(function(e,t){return(0,O.y5)(e.name)-(0,O.y5)(t.name)}).map(function(e){return(0,o.jsx)(O.ZP,{location:t,typeCheck:n,offer:e,offerCta:i,onClick:s},e.info.planId)}),a&&a.offers&&Array.isArray(a.offers)&&0===a.offers.length&&(0,o.jsx)(F,{thePromoCode:r,location:t})]}),a&&a.offers&&Array.isArray(a.offers)&&a.offers.length>0&&(0,o.jsxs)("div",{className:"mb-8 text-sm text-center max-w-3xl mx-auto",children:["*"," ",function(){var e=(0,h.Z)(new Set(a.offers.map(function(e){return{fee:null==e?void 0:e.enhancementFee,date:Math.floor((new Date(null==e?void 0:e.enhancementFeeDate).getTime()-new Date().getTime())/864e5)+1}}
1).filter(Boolean)));if(1===e.length)return 0===e[0].fee||"0"===e[0].fee?"":"$".concat(e[0].fee," annual assessment fee charged ").concat(e[0].date," days after enrollment. ");if(!(e.length>1))return"";var t,n,o,r,l=(t=Math).min.apply(t,(0,h.Z)(e.map(function(e){return e.fee}))),i=(n=Math).max.apply(n,(0,h.Z)(e.map(function(e){return e.fee}))),s=(o=Math).min.apply(o,(0,h.Z)(e.map(function(e){return e.date}))),c=(r=Math).max.apply(r,(0,h.Z)(e.map(function(e){return e.date})));return console.log(s,c),"$".concat(l).concat(l!==i?"-$".concat(i):""," annual assessment fee charged ").concat(s==c?c:s>0?s+"-"+c:"0-"+c," days after enrollment. ")}(),"summer74"===r||"summer99"===r?"":(null==t?void 0:t.owner)=="CORP"||(null==t?void 0:t.owner)=="MSA"?"Month-to-month memberships require a minimum 3-month commitment. ":"","Amenities vary by location. Some memberships may display amenities not available at your selected home gym."]})]})},w=n(6788),j=n(1215),T=n(7547),R=n(2914),k=n(2706),I=n(8665),C=function(e,t,n){return f.Z.post(e,{clubSlug:t,promoCode:n}).then(function(e){return e.data})},Z=function(e){var t=e.location,n=e.showPromoCodeForm,l=e.promoCode,a=e.offerCta,h=(0,x.mr)().leadSource,N=(0,u.useState)(1),v=N[0],O=N[1],g=(0,u.useState)(R.Rt),E=g[0],b=g[1],S=(0,u.useState)(void 0),F=S[0],Z=S[1],D=(0,u.useState)(!1),M=D[0],J=D[1],P=(0,u.useState)({loading:!1,message:null}),A=P[0],W=P[1],L=(0,r.useRouter)(),_=(void 0===l?null:l)||L.query.promoCode,U=(null==t?void 0:t.type)=="SIGNATURE"||(null==t?void 0:t.type)=="UFCGYM",G=(0,m.ZP)(["https://ufcgym-fitcms.netlify.app/.netlify/functions/offers-abc",t.code,_],C),V=G.data;G.error;var Y=(0,p.xX)().executeRecaptcha;(0,u.useEffect)(function(){if(!Y){console.log("Execute recaptcha not yet available");return}},[Y]);var $,B,H=function(e){Z(e),O(2),window.scrollTo(0,0)},q=($=(0,i.Z)(function(e){var n,o,r,l,a,i;return(0,d.__generator)(this,function(l){switch(l.label){case 0:if(!Y)return console.log("Execute recaptcha not yet available"),[2];return[4,Y("prospect_form")];case 1:if(n=l.sent(),M)return[3,5];l.label=2;case 2:return l.trys.push([2,4,,5]),o=(0,c.Z)((0,s.Z)({},E),{offer:{clubSlug:t.code,offerInfo:F.info,totalDueToday:F.totalDueToday},member:{firstName:e.firstName,lastName:e.lastName,email:e.email,phone:e.phone.replace(/\D/g,"")}}),(r=(0,R.E)(o,h)).token=n,[4,f.Z.post("/api/prospect",r)];case 3:return a=l.sent().data.lead.id,b((0,c.Z)((0,s.Z)({},o),{leadId:a})),J(!0),window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"join_info",pageUrl:window.location.href,club:t.code}),[3,5];case 4:return i=l.sent(),console.error("onSubmitMemberInfoForm Error",i),W({loading:!1,message:errorMessage}),O(2),[3,5];case 5:return O(3),window.scrollTo(0,0),[2]}})}),function(e){return $.apply(this,arguments)}),X=function(e){var t=(0,c.Z)((0,s.Z)({},E),{member:(0,c.Z)((0,s.Z)({},E.member),{street:null==e?void 0:e.street,city:null==e?void 0:e.city,state:null==e?void 0:e.state,postalCode:null==e?void 0:e.postalCode,gender:null==e?void 0:e.gender,birthdate:null==e?void 0:e.birthdate}),billing:{accountNumber:null==e?void 0:e.accountNumber,expiresMonth:+(null==e?void 0:e.expiresMonth),expiresYear:+(null==e?void 0:e.expiresYear),cvvCode:null==e?void 0:e.cvvCode}});b(t),O(4),window.scrollTo(0,0)},z=(B=(0,i.Z)(function(e){var n,o,r,l,a,i,s,c,u,m;return(0,d.__generator)(this,function(e){switch(e.label){case 0:if(!Y)return console.log("Execute recaptcha not yet available"),[2];return[4,Y("contact_form")];case 1:n=e.sent(),W({loading:!0,message:"Please wait..."}),e.label=2;case 2:return e.trys.push([2,4,,5]),(o=(0,R.gc)(E,h)).token=n,r=(null==t?void 0:t.code)==="chicago-morgan-park"?"/api/mmembership-with-ach":"/api/membership",[4,f.Z.post(r,o)];case 3:return a=(l=e.sent()).data,console.log("response",l),console.log("member",a),(null==l?void 0:l.status)===200?(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"join_confirmation",pageUrl:window.location.href,club:t.code}),i=null==a?void 0:a.externalId,(0,I.f)(null==t?void 0:t.id,i),L.push((0,k.tk)({location:t,memberId:i,offerName:null==F?void 0:F.name,joinPath:(0,k.Yv)(L)})).then(function(){return window.scrollTo(0,0)})):W({loading:!1,message:"ERROR: ".concat(null==l?void 0:l.status," ").concat((null==l?void 0:null===(s=l.data)||void 0===s?void 0:s.message)||"Unknown error")}),[3,5];case 4:return c=e.sent(),console.error("onSubmitReviewForm Error",c),u="Unable to complete your membership purchase. Please call the club.",W({loading:!1,message:u=c.response?(null===(m=c.response.data)||void 0===m?void 0:m.message)||u:c.request?"Unable to connect to the server. Please check your internet connection.":"An unexpected error occurred. Please call the club."}),[3,5];case 5:return[2]}})}),function(e){return B.apply(this,arguments)}),K=[{id:1,name:"membership",status:1===v?"active":"completed",content:(0,o.jsx)(y,{setStep:O,step:v,location:t,typeCheck:U,thePromoCode:_,showPromoCodeForm:void 0===n||n,offers:V,offerCta:a,onClickOffer:function(e){return H(e)}})},{id:2,name:"info",status:2===v?"active":v>2?"completed":"todo",content:(0,o.jsx)(w.Z,{setStep:O,step:v,cart:E,selectedOffer:F,hasSubmittedCartLead:M,purchaseStatus:A,onSubmitMemberInfoForm:function(e){return q(e)}})},{id:3,name:"billing",status:3===v?"active":v>3?"completed":"todo",content:(0,o.jsx)(j.Z,{setStep:O,cart:E,selectedOffer:F,onSubmitPaymentForm:X,location:t,showACHInfo:(null==t?void 0:t.code)==="chicago-morgan-park"})},{id:4,name:"review",status:4===v?"active":v>4?"completed":"todo",content:(0,o.jsx)(T.Z,{setStep:O,step:v,cart:E,location:t,selectedOffer:F,purchaseStatus:A,onSubmitReviewForm:z})},],Q=(null==t?void 0:t.type)==="UFCFIT"?"ufc-blue":"ufc-red";return(0,o.jsxs)("nav",{className:"px-5 py-10 sm:px-10 md:py-14 lg:py-[72px]",children:[(0,o.jsx)("div",{className:"max-w-4xl mx-auto ",children:(0,o.jsx)("ol",{className:"flex space-x-8 space-y-0",children:K.map(function(e){return(0,o.jsx)("li",{className:"flex-1",children:(0,o.jsxs)("div",{className:"flex flex-col ".concat("todo"==e.status?"border-gray-200":"border-"+Q," border-t-4 py-2 pl-0 md:pb-0 md:pt-4"),children:[(0,o.jsxs)("span",{className:"font-urw-din-condensed text-[13px] font-bold uppercase leading-tight tracking-[1px] ".concat("todo"==e.status?"text-gray-500":"text-"+Q),children:["step ",e.id]}),(0,o.jsx)("span",{className:"text-sm font-bold capitalize sm:text-base",children:e.name})]})},e.name)})})}),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,o.jsx)("div",{className:"mx-auto max-w-[1400px]",children:K[v-1].content})]})},D=n(7673),M=n(6005),J=n(4462),P={"1perform499":{preTitle:"BUY 10 MONTHS",title:"GET 2 MONTHS FREE!",postTitle:"($500 SAVINGS)",ticker:["JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!"]},"2perform699":{preTitle:"GET 2 YEARS FOR",title:"$699",postTitle:"LOCK IN AND SAVE!",ticker:["JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!"]},"2perform799":{preTitle:"GET 2 YEARS FOR",title:"$799",postTitle:"LOCK IN AND SAVE!",ticker:["JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!"]},"1joinfirst":{preTitle:"EXCLUSIVE OFFER",title:"$1 TO JOIN",postTitle:"+ FIRST MONTH FREE!",ticker:"generic-ticker"},zerojoin:{preTitle:"EXCLUSIVE OFFER",title:"$0 TO JOIN",postTitle:"LOCK IN AND SAVE!",ticker:"generic-ticker"},zerojoinfirst:{preTitle:"EXCLUSIVE OFFER",title:"$0 TO JOIN",postTitle:"+ FIRST MONTH FREE!",ticker:"generic-ticker"},zerojoinrest:{preTitle:"EXCLUSIVE OFFER",title:"$0 TO JOIN",postTitle:"+ REST OF THE MONTH FREE!",ticker:"generic-ticker"},"1joinfirstlast":{preTitle:"EXCLUSIVE OFFER",title:"$1 TO JOIN",postTitle:"+ FIRST & LAST MONTH FREE!",ticker:"generic-ticker"},gbitg:{preTitle:"LIMITED TIME OFFER",title:"REJOIN FOR $0",postTitle:"GET BACK IN THE GAME!",ticker:["REJOIN NOW","OFFER ENDS SEPTEMBER 27!","REJOIN NOW","OFFER ENDS SEPTEMBER 27!","REJOIN NOW","OFFER ENDS SEPTEMBER 27!","REJOIN NOW","OFFER ENDS SEPTEMBER 27!","REJOIN NOW","OFFER ENDS SEPTEMBER 27!"]}},A=!0,W=function(){var e=(0,r.useRouter)(),t=null==e?void 0:e.query.code,n=a.find(function(e){return e.code==t}),i=null==e?void 0:e.query.promoCode,s=null;s="1perform499"==i.toLowerCase()&&"miami-kendall"==t?{preTitle:"BUY 6 MONTHS",title:"GET 6 MONTHS FREE!",postTitle:"($500 SAVINGS)",ticker:["JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!","JOIN NOW","OFFER ENDS SOON!"]}:P[i];var c=new Date,d=new Date(c.getFullYear(),c.getMonth()+1,0).toLocaleStr
1ing("en-US",{month:"long",day:"numeric",year:"numeric"}),u=["JOIN NOW","OFFER ENDS ".concat(d,"!"),"JOIN NOW","OFFER ENDS ".concat(d,"!"),"JOIN NOW","OFFER ENDS ".concat(d,"!"),"JOIN NOW","OFFER ENDS ".concat(d,"!"),"JOIN NOW","OFFER ENDS ".concat(d,"!")];return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(l.PB,{title:"Gym Memberships | Train Different | UFC GYM/FIT",description:"UFC GYM/FIT offers gym memberships for individuals, couples and even families. Learn more about our gym membership options, here."}),s&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("section",{className:"flex w-screen flex-col items-center gap-6 bg-black bg-gradient-to-r px-4 py-10 sm:gap-4 ".concat((null==n?void 0:n.type)=="UFCFIT"?"from-ufc-electric-blue to-ufc-blue":"from-ufc-red to-ufc-dark-red"),children:[(null==s?void 0:s.preTitle)&&(0,o.jsx)("h2",{className:"font-heading max-w-3xl pt-0 px-6 text-center font-urw-din-condensed text-3xl text-[40px] leading-[1.0] font-black uppercase text-white sm:text-4xl sm:leading-tight md:text-[40px]",children:null==s?void 0:s.preTitle}),(null==s?void 0:s.title)&&(0,o.jsx)("h2",{className:"font-heading max-w-3xl pt-0 px-6 text-center font-urw-din-condensed text-3xl text-[100px] leading-[1.0] font-black uppercase text-white sm:text-4xl sm:leading-tight md:text-[100px]",children:null==s?void 0:s.title}),(null==s?void 0:s.postTitle)&&(0,o.jsx)("h2",{className:"font-heading max-w-3xl pt-0 px-6 text-center font-urw-din-condensed text-3xl text-[40px] leading-[1.0] font-black uppercase text-white sm:text-4xl sm:leading-tight md:text-[40px]",children:null==s?void 0:s.postTitle}),i&&(0,o.jsx)(J.Z,{href:"#promo-plans",children:(0,o.jsx)(M.Z,{text:"View Offers",variant:"white",size:"big"})})]}),(null==s?void 0:s.ticker)&&(null==s?void 0:s.ticker)!="generic-ticker"&&(0,o.jsx)(D.Z,{headlines:null==s?void 0:s.ticker}),(null==s?void 0:s.ticker)&&(null==s?void 0:s.ticker)=="generic-ticker"&&(0,o.jsx)(D.Z,{headlines:u})]}),(0,o.jsx)("div",{className:"",children:(0,o.jsx)(Z,{location:n,promoCode:i,showPromoCodeForm:!1,offerCta:"GET OFFER"})})]})}},7568:function(e,t,n){"use strict";function o(e,t,n,o,r,l,a){try{var i=e[l](a),s=i.value}catch(c){n(c);return}i.done?t(s):Promise.resolve(s).then(o,r)}function r(e){return function(){var t=this,n=arguments;return new Promise(function(r,l){var a=e.apply(t,n);function i(e){o(a,r,l,i,s,"next",e)}function s(e){o(a,r,l,i,s,"throw",e)}i(void 0)})}}n.d(t,{Z:function(){return r}})},9815:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var o=n(943),r=n(3375),l=n(1566);function a(e){return function(e){if(Array.isArray(e))return(0,o.Z)(e)}(e)||(0,r.Z)(e)||(0,l.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}}},function(e){e.O(0,[7536,7066,8100,8725,5115,9774,2888,179],function(){return e(e.s=5243)}),_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.