1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7594],{6549:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/locations/[code]/mktg/pass/2023-10-durango-hills",function(){return t(38890)}])},95876:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});var o=t(26042),a=t(69396),s=t(85893),i=t(14462);function r(e){var n,t=e.type,r=e.label,l=e.href,c=e.target,d=e.linkLabel,u=e.name,m=void 0===u?"":u,h=e.title,f=e.selectData,x=void 0===f?null:f,p=e.conditions,g=e.register,b=void 0===g?function(){}:g,v=e.errors,y=e.noPlaceholder,w=e.checked,j=e.checkBoxClick,S=e.defaultValue,N=e.disabled,k=void 0!==N&&N,C=function(e){var n=e.replace(/([A-Z])/g," $1");return n.charAt(0).toUpperCase()+n.slice(1)},Z="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(0,s.jsxs)("div",{children:["checkbox"==t?(0,s.jsxs)("label",{className:"customCheckbox mb-1 font-urw-din-condensed text-2xl font-medium leading-[1.33]",children:[(0,s.jsxs)("p",{className:"ml-2",children:[r," ",l?(0,s.jsx)(i.Z,{className:"border-b border-ufc-gray-153 no-underline",href:l,target:void 0===c?"_blank":c,children:d}):null]}),(0,s.jsx)("input",(0,o.Z)({type:"checkbox",id:m,checked:w,className:"".concat("checkbox"==t?"w-0":"w-full"," ").concat(Z),placeholder:C(m),disabled:k,onClick:j||null},b(m,p))),(0,s.jsx)("span",{className:"checkmark"})]}):(0,s.jsxs)("div",{className:"relative flex ".concat("checkbox"==t?"flex-row-reverse items-center justify-end":"flex-col"),children:[(0,s.jsx)("label",{htmlFor:m,className:"".concat("checkbox"==t?"ml-10":"ml-0"," mb-1 font-urw-din-condensed text-2xl font-medium leading-[1.33]"),children:"checkbox"==t?r:(void 0===h?"":h)||C(m)}),"textarea"==t?(0,s.jsx)("textarea",(0,o.Z)({rows:"5",id:m,className:"w-full ".concat(Z),placeholder:C(m)},b(m,p))):"select"==t?(0,s.jsx)("div",{className:"bg-ufc-gray-246",children:(0,s.jsx)("select",(0,a.Z)((0,o.Z)({name:m,id:m,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"},b(m,{required:"This field is required."})),{children:null==x?void 0:x.map(function(e){return(0,s.jsx)("option",{hidden:""==e.value,value:e.value,children:e.label},e.value)})}))}):(0,s.jsx)("input",(0,a.Z)((0,o.Z)({id:m,type:t||null,className:" ".concat("checkbox"==t?"w-0":"w-full"," ").concat(Z),placeholder:y?null:C(m)},b(m,p)),{disabled:k,defaultValue:void 0===S?"":S}))]}),(null==v?void 0:v[m])?(0,s.jsx)("p",{className:"!mt-2 text-sm text-ufc-red",children:null==v?void 0:null===(n=v[m])||void 0===n?void 0:n.message}):""]})}},4087:function(e,n,t){"use strict";t.d(n,{Z:function(){return y}});var o=t(47568),a=t(26042),s=t(69396),i=t(99534),r=t(97582),l=t(85893),c=t(67294),d=t(11163),u=t(87536),m=t(50259),h=t(87066),f=t(68837),x=t(95876),p=t(14462),g=t(22130),b=[[{name:"firstName",conditions:{required:"This field is required.",pattern:{value:/^[A-Za-z]+$/i,message:"This field may only contain alphabetic characters."}}},{name:"lastName",conditions:{required:"This field is required."}},],[{name:"email",conditions:{required:"This field is required.",pattern:{value:/^\S+@\S+\.\S+$/i,message:"The email field must be a valid email."}}},{name:"phone",conditions:{required:"This field is required.",pattern:{value:/^\d+$/i,message:"Invalid phone number."}}},],[{name:"state",conditions:{required:"This field is required.",pattern:{value:/^([a-zA-Z0-9_-]){2}$/i,message:"The state length must be 2."}}},{title:"Zip Code",name:"postalCode",conditions:{required:"This field is required."}},],],v=[{name:"consent",label:"I Agree to ",href:"/docs/UFC_Gym_Consent_and_Release.pdf",linkLabel:"Member Consent and Release",conditions:{required:"The Consent field is required."}},{name:"sms",label:"I Agree to Text Messages and Phone Calls",conditions:{required:"The SMS field is required. If you do not wish to opt in for text messages and phone calls, please visit the participating gym in-person to obtain your free pass."}},];function y(e){var n=e.gym,t=e.clubSlug,y=e.buttonText,w=(0,g.mr)().leadSource,j=(0,c.useState)(!1),S=j[0],N=j[1],k=(0,d.useRouter)(),C=(0,u.cI)(),Z=C.register,_=C.handleSubmit,F=C.formState.errors;void 0===y&&(y=(null==n?void 0:n.status)==="PRESALE"?"More Info":"Get Pass");var T,q=k.pathname.split("/"),I=q[q.length-1],M=(0,m.xX)().executeRecaptcha;(0,c.useEffect)(function(){if(!M){console.log("Execute recaptcha not yet available");return}},[M]);var G=(T=(0,o.Z)(function(e){var n,o,l;return(0,r.__generator)(this,function(r){switch(r.label){case 0:if(!M)return console.log("Execute recaptcha not yet available"),[2];return[4,M("prospect_form")];case 1:return n=r.sent(),N(!0),e.sms,e.consent,(o=(0,i.Z)(e,["sms","consent"])).clubSlug=t,l=(0,s.Z)((0,a.Z)({},o),{clubSlug:t,tags:I,salesFunnelStageId:1,source:{marketingSourceId:w.marketingSourceId,channelSourceId:w.channelSourceId,analytics:w.analytics},token:n}),h.Z.post("/api/prospect",l).then(function(e){e&&200==e.status&&k.push("/locations/".concat(t,"/pass/thanks")).then(function(){return N(!1)})}).catch(function(e){console.log(e),N(!1)}),[2]}})}),function(e){return T.apply(this,arguments)});return(0,l.jsxs)("form",{className:"space-y-8",onSubmit:_(G),children:[b.map(function(e,n){return(0,l.jsx)("div",{className:"grid grid-cols-1 gap-8 sm:grid-cols-2",children:e.map(function(e){return(0,l.jsx)(x.Z,{noPlaceholder:!0,title:null==e?void 0:e.title,name:null==e?void 0:e.name,conditions:null==e?void 0:e.conditions,register:Z,errors:F},null==e?void 0:e.name)})},n)}),(0,l.jsx)("div",{className:"overflow-hidden text-xs",children:"* By providing your email for a free pass or more info, you give your express written consent to receive emails from UFC GYM (which includes UFC FIT and CLASS UFC GYM), even if such communications are considered advertisements, and you further confirm that you are the authorized subscriber or customary user of any email you submit through the UFC GYM website."}),(0,l.jsxs)("div",{className:"overflow-hidden text-xs",children:['Stay updated on club news! By checking the box below titled "I Agree to Text Messages and Phone Calls" you are providing your signature as your acknowledgment that you give your express written consent to receive SMS text alerts and phone calls from UFC GYM (which includes UFC FIT and CLASS UFC GYM), even if such communications are considered advertisements or telephonic sales calls, and you further confirm that you are the authorized subscriber or customary user of any phone number you submit through the UFC GYM website. You further acknowledge that by checking the box below you agree to have your information used as described herein and according to the UFC GYM'," ",(0,l.jsx)(p.Z,{className:"underline hover:no-underline",href:"/privacy",children:"Privacy Policy"})," ","and"," ",(0,l.jsx)(p.Z,{className:"underline hover:no-underline",href:"/terms",children:"Terms of Service"})," ","contained herein. Your acknowledgment below indicates your express written consent that you understand and agree that text alerts and phone calls may be made using an automated system for the selection or dialing of telephone numbers or the playing of a recorded message when a connection is completed to a number called. Message frequency may very. You are further indicating your express written consent that message and data rates may apply, that your consent is not a condition to purchasing any goods or services, and that you may revoke your consent at any time by responding STOP to any SMS text alerts you receive or otherwise indicating on any such phone call that you are revoking your consent to be contacted. If you opt-out of receiving SMS text alerts, we may send you one final SMS text alert as confirmation and provide you with information on how to opt back in."]}),v.map(function(e){return(0,l.jsx)(x.Z,{type:"checkbox",label:e.label?e.label:null,href:e.href?e.href:null,linkLabel:e.linkLabel?e.linkLabel:null,name:e.name,conditions:e.conditions,register:Z,errors:F},e.name)}),(0,l.jsx)("p",{className:"mt-[5px] overflow-hidden text-sm text-ufc-red",children:"Guest Passes subject to availability and location participation."}),(0,l.jsxs)("div",{className:"my-8 w-full bg-gray-100 p-8 text-lg",children:[(0,l.jsxs)("h5",{className:"mb-4 font-urw-din-condensed text-2xl font-normal normal-case text-ufc-red",children:[(null==n?void 0:n.type)==="UFCFIT"?"UFC FIT":"UFC GYM"," ",null==n?void 0:n.name]}),(0,l.jsx)("div",{className:"leading-[0.8]",children:null==n?void 0:n.street}),(0,l.jsxs)("div",{className:"mb-3",children:[null==n?void 0:n.city,", ",null==n?void 0:n.state," ",null==n?void 0:n.zip]}),(0,l.jsx)(p.Z,{href:"/locations/pass",children:(0,l.jsx)("span",{className:"cursor-pointer text-center font-urw-din-condensed text-sm font-bold leading-7 tracking-widest text-ufc-red",children:"CHA
1NGE GYM"})})]}),(0,l.jsx)(f.Z,{type:"submit",text:y,variant:"whiteBtnBlackBorder",size:"big",extraClasses:"w-full",loading:S})]})}},38890:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return m},default:function(){return h}});var o=t(26042),a=t(69396),s=t(85893),i=t(40007),r=t(4087),l=t(35631),c=t(24035),d=t(2962),u=t(11163),m=!0;function h(e){var n,t=e.clubSlug,m=(0,u.useRouter)(),h=null==m?void 0:null===(n=m.query)||void 0===n?void 0:n.code,f=l.find(function(e){return e.code==h});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(d.PB,(0,a.Z)((0,o.Z)({},c.h.pass),{noindex:!0,nofollow:!0})),(0,s.jsxs)("div",{className:"py-10 md:py-14 lg:py-[72px]",children:[(0,s.jsx)("div",{className:"mx-4",children:(0,s.jsxs)("div",{className:"flex flex-col items-center pb-12 text-center sm:pb-8",children:[(0,s.jsx)("h3",{className:"mb-4 font-urw-din-condensed text-[32px] font-medium leading-[1.2] lg:mb-6 lg:text-[40px]",children:"DURANGO HILLS GOLF CLUB"}),(0,s.jsx)("h4",{className:"mb-4 font-urw-din-condensed text-[24px] leading-[1.2] lg:mb-6 lg:text-[32px]",children:"14-DAY GUEST PASS & 2 FREE CRYO SESSIONS"}),(0,s.jsx)("p",{className:"mx-auto max-w-[560px] lg:max-w-[800px]",children:"Empower the fighting spirit in you with this exclusive guest pass and cryotherapy promo for Durango Hills Golf Club."}),(0,s.jsx)("p",{className:"mx-auto max-w-[560px] lg:max-w-[800px]",children:"Complete the form below and receive an email with all the information needed to claim your free exclusives. *"})]})}),(0,s.jsxs)("div",{className:"mx-4 my-0 grid max-w-5xl grid-cols-1 gap-10 overflow-hidden sm:mx-auto sm:px-8 lg:grid-cols-2",children:[(0,s.jsx)(r.Z,{gym:f,clubSlug:t}),(0,s.jsx)("div",{className:"hidden lg:block",children:(0,s.jsx)(i.Z,{className:"justify-self-start",src:"/images/free-pass/Free_Pass_Image.webp",alt:"Close up shot of member",objectFit:"cover",width:400,height:1200})})]})]})]})}},47568:function(e,n,t){"use strict";function o(e,n,t,o,a,s,i){try{var r=e[s](i),l=r.value}catch(c){t(c);return}r.done?n(l):Promise.resolve(l).then(o,a)}function a(e){return function(){var n=this,t=arguments;return new Promise(function(a,s){var i=e.apply(n,t);function r(e){o(i,a,s,r,l,"next",e)}function l(e){o(i,a,s,r,l,"throw",e)}r(void 0)})}}t.d(n,{Z:function(){return a}})}},function(e){e.O(0,[7536,7066,4035,9774,2888,179],function(){return e(e.s=6549)}),_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.