1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7977],{37977:function(e,t,n){"use strict";var r=n(73292),o=n(76341),i=n(93128),a=n(85893),s=n(83217),c=n(43973),l=n(93568),u=n(71689),d=n(57903),f=n(44603),p=n(91642),m=n(77006),v=n(31885),h=n(67294),y=n(9008),g=n.n(y),x=n(93967),_=n.n(x),w=n(11163),b=n(29254),j=n(39737),C=n(98731),k=n(37078),T=n(47915),S=n(78768),I=n.n(S),E=n(4298),L=n.n(E),O=n(6351),P=n(42823),N=n(94263),A=n(26252),M="GTM-TLW9XW3";t.Z=(0,w.withRouter)(function(e){var t,n=e.children,y=e.router,x=e.canonicalUrl,w=void 0===x?void 0:x,S=e.title,E=e.metaTags,q=e.noIndex,B=e.includeChat,F=e.includeCloudinary,Z=e.clientFirstName,W=void 0===Z?void 0:Z,D=e.disableAutoScale,H=e.fontFamily,R=e.appClass,G=e.referrer,U=e.userAgent,$=e.isFreeTrial,K=void 0!==$&&$,Q=e.applySafeAreaInsets,X=void 0===Q||Q,z=e.appStyles,J=w||null,Y=(0,N.Z)()===N.C.ThankYouPageGuestPass,V=(0,i._)((0,h.useState)(null),2),ee=V[0],et=V[1],en=(0,i._)((0,h.useState)(null),2),er=en[0],eo=en[1],ei=(0,i._)((0,h.useState)({}),2),ea=ei[0],es=ei[1],ec=(0,i._)((0,h.useState)(null),2),el=ec[0],eu=ec[1],ed=(0,A.H)();(0,h.useEffect)(function(){if(null==y?void 0:y.query){(null==y?void 0:null===(e=y.query)||void 0===e?void 0:e.deviceId)&&P.o.setDeviceId(null==y?void 0:null===(t=y.query)||void 0===t?void 0:t.deviceId);var e,t,n=s.Z(["utm_source","utm_medium","utm_campaign","utm_content","utm_term","ref"],y.query);c.Z(n)||P.o.setUserProperties(n)}},[null==y?void 0:y.query]);var ef=function(){var e;null===(e=ea.onClose)||void 0===e||e.call(ea),et(null),eo(null),es({})},ep={isOpen:!!ee,open:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.className,o=n.overlayClassName,i=n.theme,a=n.disableClose,s=n.blur,c=n.key,l=n.onClose;et(function(){return e}),eo(t),es({className:r,overlayClassName:o,theme:void 0===i?"white":i,disableClose:void 0!==a&&a,blur:void 0!==s&&s,onClose:l}),eu(void 0===c?null:c)},setProps:eo,setConfig:function(e){return es((0,o._)({},ea,e))},close:ef,isBlur:ea.blur,key:el},em=["width=device-width","initial-scale=1.0"];(void 0===D?void 0:D)&&em.push("maximum-scale=1.0, user-scalable=no");var ev=(0,i._)((0,h.useState)({}),2),eh=ev[0],ey=ev[1];(0,h.useEffect)(function(){var e=(0,k._T)();ey({"--has-touch":e,"--has-hover":!e})},[]);var eg=(0,h.useMemo)(function(){return X&&(ed.top||ed.bottom)?{paddingTop:ed.top,paddingBottom:ed.bottom}:null},[X,ed.bottom,ed.top]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{id:"app",style:(0,o._)({},void 0===z?{}:z,eg),className:_()(I().app,I()["fontFamily".concat(void 0===H?"Heebo":H)],void 0===R?void 0:R,eh),children:[(0,a.jsxs)(g(),{children:[(0,a.jsx)("meta",{content:em.join(", "),name:"viewport"}),(0,a.jsx)("meta",{name:"google",value:"notranslate"}),(void 0!==q&&q||!1)&&(0,a.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),J&&(0,a.jsx)("link",{rel:"canonical",href:J},"canonical"),l.Z(u.Z)(function(e,t){var n=e.fields,r=d.Z(function(e){var t=e.name,n=e.property,r=e.content,o=e.contentMedia;return{name:t,property:n,content:o?"https:".concat(f.Z(["fields","file","url"],o)):r}},p.Z(m.Z))(n);return(0,a.jsx)("meta",(0,o._)({},r),"meta-".concat(t))},v.Z(function(e){return W&&("og:image"===e.fields.property||"og:title"===e.fields.property||"og:description"===e.fields.property||"description"===e.fields.name)||K&&("og:description"===e.fields.property||"description"===e.fields.name)},void 0===E?[]:E)),W&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:title",content:"1 ".concat(Y?"Week":"Month"," Free Guest Pass | From: ").concat(W)}),(0,a.jsx)("meta",{property:"og:description",content:"Find your coach & get daily online personal training for free."}),(0,a.jsx)("meta",{name:"description",content:"Find your coach & get daily online personal training for free."}),Y?(0,a.jsx)("meta",{property:"og:image",content:"".concat(j.S$,"/giftcard-7-day.png")}):(0,a.jsx)("meta",{property:"og:image",content:"".concat(j.S$,"/giftcard-with-expire-date-v3.png")})]}),K&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"og:description",content:"Daily custom workout & nutrition plan curated by your own human fitness coach. On-demand support. 7 day free trial."}),(0,a.jsx)("meta",{name:"description",content:"Daily custom workout & nutrition plan curated by your own human fitness coach. On-demand support. 7 day free trial."})]}),(0,a.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"".concat(j.S$,"/apple-touch-icon-v3.png")}),(0,a.jsx)("link",{rel:"icon",type:"image/png",href:"".concat(j.S$,"/favicon-v3-32x32.png"),sizes:"32x32"}),(0,a.jsx)("link",{rel:"icon",type:"image/png",href:"".concat(j.S$,"/favicon-v3-16x16.png"),sizes:"16x16"}),(0,a.jsx)("title",{children:void 0===S?"Kickoff":S},"title")]}),void 0!==B&&B&&(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:'window.$crisp=[];window.CRISP_WEBSITE_ID="'.concat("2cf5e1a1-e8b1-487b-9430-ac738d7bf904",'";(function(){d=document;s=d.createElement("script");s.src="https://client.crisp.chat/l.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);})();')}}),void 0!==F&&F&&(0,a.jsx)(L(),{src:"https://widget.cloudinary.com/v2.0/global/all.js",type:"text/javascript"}),(0,a.jsx)(C.Z.Provider,{value:ep,children:(0,a.jsxs)(O.f,{referrer:void 0===G?void 0:G,userAgent:void 0===U?void 0:U,children:[n,!!ee&&(0,a.jsx)(T.Z,{children:(0,a.jsxs)("div",{className:I().modalWrapper,children:[(0,a.jsx)("div",{className:_()(I().modal,ea.className),children:ee(er)}),(0,a.jsx)("div",{className:_()(I().modalOverlay,(t={},(0,r._)(t,I().modalOverlayWhite,"white"===ea.theme),(0,r._)(t,I().modalOverlayBlack,"black"===ea.theme),t),ea.overlayClassName),onClick:function(){ea.disableClose||ef()}})]})})]})})]}),b.bX,(0,a.jsx)(L(),{strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n window.dataLayer.push({ APP_ENV: '".concat("production","' })\n ")}}),(0,a.jsx)(L(),{strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer', '".concat(M,"');\n ")}}),(0,a.jsx)("noscript",{children:(0,a.jsx)("iframe",{title:"GTM",src:"https://www.googletagmanager.com/ns.html?id=".concat(M),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]})})},6351:function(e,t,n){"use strict";n.d(t,{T:function(){return h},f:function(){return y}});var r=n(76341),o=n(67462),i=n(93128),a=n(85893),s=n(53103),c=n(11163),l=n(62286),u=n(67294),d=n(85518),f=n(39737),p=n(55801),m=f.LB,v=(0,u.createContext)(null);function h(){var e=(0,u.useContext)(v);if(null===e)throw Error("useLeadsContext must be used within a LeadsProvider");return e}function y(e){var t=(0,c.useRouter)(),n=(0,u.useMemo)(function(){return Object.keys(t.query).filter(function(e){return e.includes("utm")}).reduce(function(e,n){var r=n.toLowerCase().replace(/([-_][a-z])/g,function(e){return e.toUpperCase().replace("-","").replace("_","")}),o=t.query[n];return e[r]=Array.isArray(o)?o[0]:o,e},{})},[t.query]),f=(0,u.useRef)(e.referrer||""),h=(0,u.useRef)(e.userAgent||""),y=(0,i._)((0,u.useState)(),2),g=(y[0],y[1]);return(0,u.useEffect)(function(){var e=(0,l.parseCookies)().lead;if(e){var i=JSON.parse(e);Object.keys(n).filter(function(e){return!i[e]}).length&&(0,l.setCookie)(null,"lead",JSON.stringify((0,r._)((0,o._)((0,r._)({},n),{ref:t.query.ref}),i)),{path:"/",maxAge:s.x4})}else(0,l.setCookie)(null,"lead",JSON.stringify((0,o._)((0,r._)({},n),{ref:(0,p.Iu)(t.query.ref),landingPageUrl:"".concat(m).concat(t.asPath),deviceType:d.vO,referrer:f.current,userAgent:h.current,setLeadId:g})),{path:"/",maxAge:s.x4})},[t.asPath,t.query.ref,n]),(0,u.useEffect)(function(){document&&(f.current=document.referrer,h.current=navigator.userAgent)},[]),(0,a.jsx)(v.Provider,{value:{getLeadInfo:function(){var e=(0,l.parseCookies)().lead;if(e){var t=JSON.parse(e),n={},r=!0,o=!1,i=void 0;try{for(var a,s=Object.keys(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var c=a.value,u=t[c];c.includes("utm")&&Array.isArray(u)?n[c]=u[0]:n[c]=u}}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}},setLeadId:g},children:e.children})}},98731:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(67294),o=(0,r.createContext)({isOpen:!1,open:function(){},close:function(){},setProps:function(){},setConfig:function(){},isBlur:!1});t.Z=o;var i=function(){return(0,r.useContext)(o)}},94263:function(e,t,n){"use strict";n.d(t,{C:function(){return i.C}});var r=n(67294),o=n(11163),i=n(49138),a=n(55801),s=["coachwithkickoff"];t.Z=function(){var e=(0,o.useRouter)(),t=e.query,n=e.pathname,c=(t||{}).slug;return(0,r.useMemo)(function(){return s.includes((0,a.Iu)(c)||"")?i.C.Coach:(0,i.Q)({ref:(0,a.Iu)(null==t?void 0:t.ref),isCoachFreeTrial:"/coaches/[id]/free"===n||(null==t?void 0:t.ref)==="gp_freetrial_coach"})},[c,n,null==t?void 0:t.ref])}},37078:function(e,t,n){"use strict";n.d(t,{TQ:function(){return l},XK:function(){return s},_T:function(){return a},ar:function(){return c},sk:function(){return o},tq:function(){return i}});var r=n(18637),o=function(){return!1};function i(){return(0,r.x7)().isMobile}var a=function(){return document.documentElement&&("ontouchstart"in document.documentElement||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)},s=!0,c=!1,l=!1},49138:function(e,t,n){"use strict";n.d(t,{C:function(){return o},Q:function(){return a}});var r,o,i=n(93128);function a(e){var t=e.ref;if(e.isCoachFreeTrial)return"coachfreetrial";var n=(0,i._)((null==t?void 0:t.split("_"))||[],5),r=n[0],o=n[1],a=n[2],s=n[3],c=n[4];return"coachfreetrial"===o?"coachfreetrial":"typ"===s&&"7"===c?"typ_guestpass":"gp"===r&&a?"guestpass":"freetrial"===o?"freetrial":"client"}(r=o||(o={})).GuestPass="guestpass",r.ThankYouPageGuestPass="typ_guestpass",r.FreeTrial="freetrial",r.CoachFreeTrial="coachfreetrial",r.Client="client",r.Coach="coach"},18637:function(e,t,n){"use strict";n.d(t,{Q0:function(){return r},pl:function(){return a},x7:function(){return i}});var r=function(e){if(!e)return!1;var t=e.toLowerCase();return["bot","spider","crawler","googlebot","bingbot","slurp","duckduckbot","baiduspider","yandexbot","facebookexternalhit","twitterbot","rogerbot","linkedinbot","embedly","quora link preview","showyoubot","outbrain","pinterest","slackbot","vkShare","W3C_Validator"].some(function(e){return t.includes(e.toLowerCase())})},o={browser:"other",os:"other",isMobile:!1,isIpad:!1};function i(){return"undefined"==typeof navigator?o:function(e,t){if("string"!=typeof e||0===e.length)return o;var n=/macintosh/i.test(e)&&"number"==typeof t&&t>
11,r=/ipad/i.test(e)||n,i="other";/iphone|ipod/i.test(e)?i="ios":r?i="ios":/android/i.test(e)?i="android":/mac os x|macintosh/i.test(e)?i="macos":/windows nt/i.test(e)?i="windows":/cros|linux|x11/i.test(e)&&(i="linux");var a="other";/edg(a|ios)?\//i.test(e)?a="edge":/firefox|fxios/i.test(e)?a="firefox":/crios|chrome|chromium/i.test(e)?a="chrome":/safari/i.test(e)&&(a="safari");var s="ios"===i||"android"===i;return{browser:a,os:i,isMobile:s,isIpad:r}}(navigator.userAgent,navigator.maxTouchPoints)}function a(e){return"ios"!==e.os&&"safari"!==e.browser&&("chrome"===e.browser||"edge"===e.browser)}},78768:function(e){e.exports={colors:"'styles/colors.module.css'",CHARCOAL:"#282828",SEA_BLUE:"#1e6990",GREY_BLUE:"#6b9cb5",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",MOBILE_WIDTH_MAX:"992px",TABLET_WIDTH:"768px",app:"styles_app__u09y5",modal:"styles_modal__8ifXR",modalOverlay:"styles_modalOverlay__gK58i",modalOverlayWhite:"styles_modalOverlayWhite__W_LQw",modalOverlayBlack:"styles_modalOverlayBlack__Tf_hq"}}}]); 2//# sourceMappingURL=7977-be99778f063683db.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.