PageSourceSearch

https://www.trainwithkickoff.com/_next/static/chunks/pages/change-plan-d8ab34cdfb1f65fd.js

js trainwithkickoff.com collected 2026-10-04 00:04:15 UTC 64,997 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8180],{13622:function(e){var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"clientPlanFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Client"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"billingPeriodInMonths"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"versions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"unitAmount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"product"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isLiveVideo"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"callsPerWeek"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"versions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"group"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"descriptiveName"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"discount"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"coupon"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"amountOff"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"percentOff"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"duration"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"coach"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isOfferingLiveVideoWorkouts"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"gender"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"experiments"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"entryId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeVariant"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:666}};n.loc.source={body:"fragment clientPlanFields on Client {\n  id\n  subscription {\n    id\n    status\n    price {\n      id\n      billingPeriodInMonths\n      versions\n      unitAmount\n      product {\n        id\n        isLiveVideo\n        callsPerWeek\n        versions\n        name\n        group\n        descriptiveName\n      }\n    }\n    discount {\n      coupon {\n        id\n        amountOff\n        percentOff\n        duration\n      }\n    }\n  }\n  coach {\n    id\n    isOfferingLiveVideoWorkouts\n    user {\n      id\n      firstName\n    }\n  }\n  user {\n    id\n    gender\n    experiments {\n      name\n      entryId\n      activeVariant {\n        id\n        name\n        type\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.clientPlanFields=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,r=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"clientPlanFields")},26128:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateClientPlan"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"priceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateClientPlan"},arguments:[{kind:"Argument",name:{kind:"Name",value:"priceId"},value:{kind:"Variable",name:{kind:"Name",value:"priceId"}}},{kind:"Argument",name:{kind:"Name",value:"clientId"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientPlanFields"},directives:[]}]}}]}}],loc:{start:0,end:184}};t.loc.source={body:"#import './fragments.graphql'\n\nmutation updateClientPlan($priceId: String!, $clientId: ID) {\n  updateClientPlan(priceId: $priceId, clientId: $clientId) {\n    ...clientPlanFields\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(13622).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var s={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.updateClientPlan=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,o=new Set;for(t.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){o.add(e)}))})}return a.forEach(function(n){var t=r(e,n);t&&i.definitions.push(t)}),i}(t,"updateClientPlan")},21908:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getClientPlan"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"clientPlanFields"},directives:[]}]}}]}},{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getUpcomingInvoice"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}
1,{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"priceId"}},type:{kind:"NamedType",name:{kind:"Name",value:"ID"}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"prorationBehavior"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"upcomingInvoice"},arguments:[{kind:"Argument",name:{kind:"Name",value:"priceId"},value:{kind:"Variable",name:{kind:"Name",value:"priceId"}}},{kind:"Argument",name:{kind:"Name",value:"prorationBehavior"},value:{kind:"Variable",name:{kind:"Name",value:"prorationBehavior"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"amountDue"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"date"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:381}};t.loc.source={body:"#import './fragments.graphql'\n\nquery getClientPlan($clientId: ID!) {\n  client(id: $clientId) {\n    ...clientPlanFields\n  }\n}\n\nquery getUpcomingInvoice(\n  $clientId: ID!\n  $priceId: ID\n  $prorationBehavior: String\n) {\n  client(id: $clientId) {\n    id\n    upcomingInvoice(priceId: $priceId, prorationBehavior: $prorationBehavior) {\n      amountDue\n      date\n      total\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(13622).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var s={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}function o(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,o=new Set;for(t.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){o.add(e)}))})}return a.forEach(function(n){var t=r(e,n);t&&i.definitions.push(t)}),i}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.getClientPlan=o(t,"getClientPlan"),e.exports.getUpcomingInvoice=o(t,"getUpcomingInvoice")},64683:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getCoachProfileImage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"coachId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"coach"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"coachId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"user"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"username"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"profileImage"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[{kind:"Argument",name:{kind:"Name",value:"transformation"},value:{kind:"StringValue",value:"avatar200",block:!1}}],directives:[]}]}}]}}]}}],loc:{start:0,end:195}};n.loc.source={body:'query getCoachProfileImage($coachId: ID!) {\n  coach(id: $coachId) {\n    id\n    user {\n      id\n      username\n    }\n    profileImage {\n      id\n      url(transformation: "avatar200")\n    }\n  }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.getCoachProfileImage=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,r=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"getCoachProfileImage")},74548:function(e,n,i){var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"signInToken"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"token"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"signInToken"},arguments:[{kind:"Argument",name:{kind:"Name",value:"token"},value:{kind:"Variable",name:{kind:"Name",value:"token"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sessionToken"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"me"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"meFields"},directives:[]}]}}]}}]}}],loc:{start:0,end:159}};t.loc.source={body:"#import 'fragments/me.graphql'\n\nmutation signInToken($token: String!) {\n  signInToken(token: $token) {\n    sessionToken\n    me {\n      ...meFields\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(67973).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var s={};function r(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),s[e.name.value]=n}}),e.exports=t,e.exports.signInToken=function(e,n){var i={kind:e.kind,definitions:[r(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=s[n]||new Set,a=new Set,o=new Set;for(t.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){a.has(e)||(a.add(e),(s[e]||new Set).forEach(function(e){o.add(e)}))})}return a.forEach(function(n){var t=r(e,n);t&&i.definitions.push(t)}),i}(t,"signInToken")},41953:function(e){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getClientSubscription"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"clientId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"trackChangePlanView"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"clientId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subscription"},arguments:[{kind:"Argument",name:{kind:"Name",value:"trackChangePlanView"},value:{kind:"Variable",name:{kind:"Name",value:"trackChangePlanView"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:194}};n.loc.source={body:"query getClientSubscription($clientId: ID!, $trackChangePlanView: Boolean!) {\n  client(id: $clientId) {\n    id\n    subscription(trackChangePlanView: $trackChangePlanView) {\n      id\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;(function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})})(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.getClientSubscription=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var s=i[n]||new Set,r=new Set,o=new Set;for(s.forEach(function(e){o.add(e)});o.size>0;){var l=o;o=new Set,l.forEach(function(e){r.has(e)||(r.add(e),(i[e]||new Set).forEach(function(e){o.add(e)}))})}return r.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"getClientSubscription")},24578:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/change-plan",function(){return i(32963)}])},97627:function(e,n,i){"use strict";i.d(n,{L:function(){return l}});var t=i(76341),a=i(67462),s=i(32207),r=i(85893);i(67294);var o=i(94975),l=function(e){var n=e.className,i=e.color,l=e.size,c=(e.title,e.width),d=e.height,u=e.strokeWidth,m=(0,s._)(e,["className","color","size","title","width","height","strokeWidth"]);return(0,r.jsx)(o.I,(0,a._)((0,t._)({className:n,fill:"none",size:l,viewBox:"0 0 13 7",width:void 0===c?19:c,height:void 0===d?12:d},m),{children:(0,r.jsx)("path",{d:"M1.59998 3.69995C5.50522 3.69995 7.21854 3.69995 11.1238 3.69995M11.1238 3.69995L8.62379 1.19995M11.1238 3.69995L8.62379 6.19995",stroke:void 0===i?"#FFFFFF":i,strokeWidth:void 0===u?2.2:u,strokeLinecap:"round",strokeLinejoin:"round"})}))}},59874:function(e,n,i){"use strict";i.d(n,{Z:function(){return m}});var t=i(73292),a=i(85893),s=i(52825),r=i(73211),o=i.n(r),l=i(93967),c=i.n(l),d=i(41664),u=i.n(d);function m(e){var n,i;return e.href?(0,a.jsx)(u(),{href:e.href,id:e.id,disabled:e.disabled,target:e.target,className:c()(o().linkReset,o().buttonv2,o()[e.align||"spaceBetween"],e.className,(n={},(0,t._)(n,o().squared,e.squared),(0,t._)(n,o().disabled,e.disabled),n)),children:e.children}):(0,a.jsx)(s.Jj,{name:e.name,id:e.id,type:e.type||"button",disabled:e.disabled,onClick:e.onClick||void 0,className:c()(o().buttonv2,o()[e.align||"spaceBetween"],e.className,(i={},(0,t._)(i,o().squared,e.squared),(0,t._)(i,o().disabled,e.disabled),i)),children:e.children})}},96419:function(e,n,i){"use strict";i.d(n,{Z:function(){return m}});var t=i(73292),a=i(85893),s=i(93967),r=i.n(s),o=i(37479),l=i(77113),c=i.n(l),d=i(48254),u=i.n(d);function m(e){var n=e.onBackClick,i=e.backDisabled,s=e.fixed;return(0,a.jsxs)("div",{className:r()(u().topNav,(0,t._)({},u().fixed,void 0===s||s)),children:[n&&(0,a.jsx)("button",{className:u().backButton,onClick:n,disabled:i,children:(0,a.jsx)(o.wy,{className:u().icon})}),(0,a.jsx)("img",{src:c(),alt:"Kickoff Logo",className:u().logo})]})}},87184:function(e,n,i){"use strict";i.d(n,{Z:function(){return B}});var t=i(93128),a=i(85893),s=i(67913),r=i(7778),o=i(96419),l=i(37479),c=i(97627),d=i(8490),u=i.n(d),m=i(31250),v=i(67294),p=i(25675),f=i.n(p),_=i(73292),h=i(93967),k=i.n(h),g=i(66426),y=i.n(g),x=i(49081),N=i(52825),S=i(55872);function I(e){var n=e.images,i=e.imageWidth,t=void 0===i?44:i,s=e.imageHeight,r=void 0===s?44:s;return n&&0!==n.length?1===n.length?(0,a.jsx)("div",{className:y().liveOptionImagesWrapper,style:{width:t,height:r},children:(0,a.jsx)(f(),{src:n[0],alt:"Live Option",fill:!0,className:k()(y().liveOptionImages,(0,_._)({},y().scale,!0))})}):2===n.length?(0,a.jsx)("div",{className:y().liveOptionImagesContainer,children:n.map(function(e,n){return(0,a.jsx)("div",{className:k()(y().liveOptionImagesWrapper,(0,_._)({},y().secondImage,1===n)),style:{width:t+(n>0?4:0),height:r+(n>0?4:0),transform:0===n?"rotate(-10deg)":"rotate(10deg)"},children:(0,a.jsx)(f(),{src:e,alt:"Live Option",fill:!0,className:k()(y().liveOptionImages,(0,_._)({},y().scale,0===n))})},e)})}):3===n.length?(0,a.jsx)("div",{className:y().liveOptionImagesContainer,children:n.map(function(e,n){var i;return(0,a.jsx)("div",{className:k()(y().liveOptionImagesWrapper,(i={},(0,_._)(i,y().secondImage,1===n),(0,_._)(i,y().thirdImage,2===n),i)),style:{width:t+(n>0?4:0),height:r+(n>0?4:0),transform:0===n?"rotate(-23deg)":1===n?"rotate(17deg)":"rotate(-6deg)"},children:(0,a.jsx)(f(),{src:e,alt:"Live Option",fill:!0,className:k()(y().liveOptionImages,(0,_._)({},y().scale,0===n))})},e)})}):void 0:null}var b=i(19660),j=i(56449),T=i(21931),P=i(76818);function C(e){var n=e.className;return(0,a.jsx)("div",{className:n,children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"45",viewBox:"0 0 24 45",fill:"none",children:[(0,a.jsx)("path",{d:"M21.8504 44.7542C22.6715 44.8644 23.4264 44.288 23.5365 43.4669C23.6466 42.6459 23.0703 41.891 22.2492 41.7809L21.8504 44.7542ZM15.5306 0.0345879L0.764627 9.0881L15.9882 17.3491L15.5306 0.0345879ZM22.2492 41.7809C15.6841 40.9003 11.3547 39.3173 8.60662 37.3743C5.91519 35.4713 4.69392 33.1943 4.35726 30.6946C4.01086 28.1226 4.5876 25.1948 5.75631 22.059C6.92038 18.9357 8.62197 15.7339 10.3928 12.6468L7.79054 11.1541C6.00031 14.275 4.19804 17.6498 2.9452 21.0113C1.69701 24.3603 0.943781 27.8256 1.3841 31.095C1.83415 34.4366 3.51627 37.4492 6.87463 39.8238C10.1764 42.1584 15.0432 43.8412 21.8504 44.7542L22.2492 41.7809Z",fill:"url(#paint0_linear_2848_748)"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_2848_748",x1:"15.5306",y1:"0.0345894",x2:"-11.4886",y2:"18.2063",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#E57054"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#85254E"})]})})]})})}function E(e){var n=e.className;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"62",height:"229",viewBox:"0 0 62 229",fill:"none",className:n,children:[(0,a.jsx)("path",{d:"M20.162 1.64838C20.5732 0.929206 21.4896 0.679528 22.2087 1.09073C22.9279 1.50191 23.1776 2.41825 22.7664 3.13743L20.162 1.64838ZM61.3303 228.975L44.6199 224.418L56.9215 212.225L61.3303 228.975ZM22.7664 3.13743C14.2222 18.0812 2.92256 51.6507 3.20663 91.6465C3.49036 131.595 15.3275 177.86 52.9182 218.359L50.7194 220.4C12.519 179.244 0.494617 132.205 0.206705 91.6678C-0.0808681 51.1785 11.3377 17.0822 20.162 1.64838L22.7664 3.13743Z",fill:"url(#paint0_linear_2394_4502)"}),(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"paint0_linear_2394_4502",x1:"61.3303",y1:"228.975",x2:"-59.9872",y2:"177.361",gradientUnits:"userSpaceOnUse",children:[(0,a.jsx)("stop",{stopColor:"#E57054"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#85254E"})]})})]})}var O=function(e){return Array.from({length:3},function(n,i){return(0,b.g)("static/checkout_assets/".concat(e,"LiveOption").concat(i+1,".").concat("female"===e&&2===i?"png":"jpeg")).resize((0,j.hl)().width(100).height(100).gravity((0,P.v0)(T.Yj.face()))).toURL()})},D=O("male"),w=O("female"),L={1:{images:[0],width:44,height:44},2:{images:[0,1],width:30,height:30},3:{images:[0,1,2],width:26,height:26}};function M(e){var n=e.product,i=e.basePrice,t=e.clientGender,r=e.selected,o=e.onClick,l=e.billingPeriodInMonths,c=void 0===l?1:l,d=(0,v.useMemo)(function(){var e=n.prices.find(function(e){return e.billingPeriodInMonths===c}
1),t=e.unitAmount/c,a=t-i.unitAmount/c,s=Math.round(a/4.345/100/(0===n.callsPerWeek?1:n.callsPerWeek));return{price:e,monthlyPrice:t,additionalPrice:a,perSessionPrice:s}},[n,i,c]),u=d.price,m=d.additionalPrice,p=d.perSessionPrice,f=(0,v.useMemo)(function(){if(0===n.callsPerWeek)return{images:[],width:0,height:0};var e="M"===t?D:w,i=L[n.callsPerWeek],a=i.images,s=i.width,r=i.height;return{images:a.map(function(n){return e[n]}),width:s,height:r}},[t,n.callsPerWeek]);return(0,a.jsxs)(s.CF,{name:"Live Option Card",properties:{productId:n.id,productName:n.descriptiveName},children:[(0,a.jsxs)(N.Jj,{name:n.descriptiveName,className:k()(y().liveOptionContainer,(0,_._)({},y().selected,r)),onClick:function(){o(n,u)},children:[1===n.callsPerWeek&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:y().fyiDesktop,children:[(0,a.jsx)(E,{className:y().fyiDesktopArrowIcon}),(0,a.jsx)("span",{className:y().fyiText,children:"FYI: Conventional in-person trainers charge $100/Session!"})]}),(0,a.jsx)("div",{className:y().recommendedTag,children:(0,a.jsx)("span",{className:y().recommendedTagText,children:"Recommended"})})]}),(0,a.jsxs)("div",{className:y().liveOptionHeader,children:[(0,a.jsxs)("div",{className:y().liveOptionImageAndTitleWrapper,children:[n.callsPerWeek>0&&(0,a.jsx)("div",{className:y().liveOptionImageWrapper,children:(0,a.jsx)(I,{images:null==f?void 0:f.images,imageWidth:null==f?void 0:f.width,imageHeight:null==f?void 0:f.height})}),(0,a.jsx)("div",{className:k()(y().liveOptionTitleWrapper,(0,_._)({},y().noLeftMargin,0===n.callsPerWeek)),children:(0,a.jsx)("span",{className:y().liveOptionTitle,children:0===n.callsPerWeek?"No Live Sessions":"Live ".concat(n.callsPerWeek,"x / Week")})})]}),(0,a.jsx)("div",{className:k()(y().liveOptionSelectionDot,(0,_._)({},y().noMarginTop,0===n.callsPerWeek)),children:(0,a.jsx)(x.Z,{selected:r})})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)(S.Z,{text:"Initial video call + daily coaching via text message"}),n.callsPerWeek>0&&(0,a.jsx)(S.Z,{text:"".concat(n.callsPerWeek," weekly live, 1-on-1 workout with your coach"),textStyle:y().callsPerWeekText})]}),(0,a.jsxs)("div",{className:y().liveOptionPriceWrapper,children:[n.callsPerWeek>0&&(0,a.jsxs)("div",{className:y().liveOptionPrice,children:[(0,a.jsx)("span",{className:y().liveOptionSessionPrice,children:"$".concat(p)}),(0,a.jsx)("span",{className:y().liveOptionSessionPriceLabel,children:"/Session"})]}),(0,a.jsxs)("div",{className:y().liveOptionBasePlanPriceAndLabel,children:[(0,a.jsx)("span",{children:"Base Plan"}),n.callsPerWeek>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:" + $".concat(m/100)}),(0,a.jsx)("span",{children:"/mo"})]})]})]})]}),1===n.callsPerWeek&&(0,a.jsxs)("div",{className:y().fyi,children:[(0,a.jsx)(C,{className:y().fyiArrowIcon}),(0,a.jsx)("span",{className:y().fyiText,children:"FYI: Conventional in-person trainers charge $100/Session!"})]})]})}var A=i(37960),F=i(59874),W=i(44662);function B(e){var n=e.coach,i=e.productId,d=e.priceId,p=e.products,_=e.onBackClick,h=e.onSelection,k=e.onProductSelection,g=e.clientGender,y=e.billingPeriodInMonths,x=void 0===y?1:y,N=e.continueLoading,S=void 0!==N&&N,I=e.continueDisabled,C=void 0!==I&&I,E=e.defaultCallsPerWeek,O=e.children,D=(0,v.useMemo)(function(){var e,n,t=p.find(function(e){return e.id===i}),a=null==t?void 0:null===(e=t.prices)||void 0===e?void 0:e.find(function(e){return e.billingPeriodInMonths===x}),s=p.filter(function(e){return e.group===t.group&&e.callsPerWeek<4});return r.Z(E)||(n=s.find(function(e){return e.callsPerWeek===E})),{liveOptions:s,basePrice:a,selectedProduct:t,defaultOption:n}},[p,i,x,E]),w=D.liveOptions,L=D.basePrice,B=D.selectedProduct,R=D.defaultOption,Z=(0,t._)((0,v.useState)(R),2),z=Z[0],Y=Z[1];(0,v.useEffect)(function(){if(R){var e,n=null==R?void 0:null===(e=R.prices)||void 0===e?void 0:e.find(function(e){return e.billingPeriodInMonths===x});Y(R),h(R,n)}},[R]),(0,v.useEffect)(function(){z||Y(p.find(function(e){return e.prices.find(function(e){return e.id===d})}))},[d,p,z]);var V=function(e,n){Y(e),h(B,n)};return(0,a.jsxs)(s.Rh,{name:"Live Option Selection Page",children:[(0,a.jsxs)("div",{className:u().liveOptionsContainer,children:[(0,a.jsx)(o.Z,{onBackClick:_}),(0,a.jsxs)("button",{className:u().backWrapper,onClick:_,children:[(0,a.jsx)(l.wy,{size:"small",strokeWidth:2}),(0,a.jsx)("span",{children:"Back"})]}),(0,a.jsxs)("div",{className:u().liveOptionsHeader,children:[(0,a.jsxs)("div",{className:u().avatarImageWrapper,children:[(0,a.jsx)(m.Z,{coachId:n.id,wrapperClassName:u().coachAvatar}),(0,a.jsx)("div",{className:u().liveOptionImageWrapper,children:(0,a.jsx)(f(),{src:(0,b.g)("M"===g?"static/checkout_assets/maleLiveOption1.jpeg":"static/checkout_assets/femaleLiveOption1.jpeg").resize((0,j.hl)().width(80).height(80).gravity((0,P.v0)(T.Yj.face()))).toURL(),alt:"Live Workouts",width:80,height:80,className:u().liveOptionImage})})]}),(0,a.jsx)("h1",{className:u().title,children:"Add 1-on-1 Live Video Workouts"}),(0,a.jsx)("span",{className:u().subtitle,children:"Your coach will push you, optimize your form, and discuss your overall program in 30-45 minute sessions."})]}),O,(0,a.jsx)("div",{className:u().liveOptions,children:w.map(function(e){return(0,a.jsx)(M,{product:e,selected:e.id===(null==z?void 0:z.id),basePrice:L,clientGender:g,onClick:V,billingPeriodInMonths:x},e.id)})}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:u().note,children:"You can change your plan at any time."})}),(0,a.jsx)(s.CF,{name:"Footer",children:(0,a.jsx)("div",{className:u().buttonContainer,children:(0,a.jsx)("div",{children:(0,a.jsxs)(F.Z,{name:"Continue",onClick:function(){k()},disabled:S||C,className:(S||C)&&u().disabled,children:[(0,a.jsx)("span",{children:"Continue"}),S?(0,a.jsx)(W.Z,{}):(0,a.jsx)(c.L,{})]})})})})]}),(0,a.jsx)("div",{className:u().hideChatButton,children:(0,a.jsx)(A.Z,{})})]})}},28587:function(e,n,i){"use strict";var t=i(93128),a=i(85893),s=i(93568),r=i(71689),o=i(93967),l=i.n(o),c=i(67294),d=i(64896),u=i.n(d),m=i(67913),v=i(52825),p=[{text:"Monthly",value:1},{text:"6 Months",subtext:"Save 10%",value:6},{text:"Yearly",subtext:"Save 20%",value:12}];n.Z=function(e){var n=e.duration,i=void 0===n?0:n,o=e.onChange,d=(0,t._)((0,c.useState)(i),2),f=d[0],_=d[1],h=function(e){o(p[e].value)};return(0,c.useEffect)(function(){_(p.findIndex(function(e){return e.value===i}))},[i]),(0,a.jsx)(m.CF,{name:"Plan Duration Selection",children:(0,a.jsx)("div",{className:u().container,children:(0,a.jsx)("div",{className:u().options,children:s.Z(r.Z)(function(e,n){return(0,a.jsxs)(v.Jj,{name:e.text,className:l()(u().option,n===f?u().selected:null),onClick:function(){return h(n)},children:[(0,a.jsx)("div",{className:u().text,children:e.text}),(0,a.jsx)("div",{className:u().subtext,children:e.subtext})]},"plan-".concat(n))},p)})})})}},99813:function(e,n,i){"use strict";i.d(n,{Z:function(){return b}});var t=i(93128),a=i(85893),s=i(92442),r=i(74178),o=i(91642),l=i(31250),c=i(75198),d=i.n(c),u=i(41592),m=i(67294),v=i(59874),p=i(97627),f=i(96419),_=i(80784),h=i(10686),k=i(95537),g=i(37479),y=i(67913),x=i(37960),N=i(44662),S=[_.xP,_.vB,_.$N],I=[_.vB,_.xP,_.$N];function b(e){var n=e.coach,i=e.products,c=e.isPaidTrial,_=e.isGuestPass,b=e.onProductSelection,j=e.onBackClick,T=e.billingPeriodInMonths,P=void 0===T?1:T,C=e.continueLoading,E=void 0!==C&&C,O=e.children,D=e.coupon,w=(0,h.a)("screen and (max-width: ".concat(k.JH,"px)")),L=s.Z(function(e){return e.isRecommended},i)||r.Z(i),M=(0,t._)((0,m.useState)(L),2),A=M[0],F=M[1];(0,m.useEffect)(function(){A||F(L)},[L,A]);var W=o.Z(function(e){return 0===e.callsPerWeek},i).sort(function(e,n){var i=w?S.indexOf(e.id):I.indexOf(e.id),t=w?S.indexOf(n.id):I.indexOf(n.id);return -1===i&&-1===t?0:-1===i?1:-1===t?-1:i-t}),B=function(e){F(e)};return(0,a.jsxs)(y.Rh,{name:"Plan Selection Page",children:[(0,a.jsxs)("div",{className:d().productSelectionContainer,"data-testid":"plan-selection",children:[(0,a.jsx)(f.Z,{onBackClick:j}),j&&(0,a.jsxs)("button",{className:d().backWrapper,onClick:j,children:[(0,a.jsx)(g.wy,{size:"small",strokeWidth:2}),(0,a.jsx)("span",{children:"Back"})]}),(0,a.jsxs)("div",{className:d().productSelectionHeader,children:[(0,a.jsx)(l.Z,{coachId:n.id,wrapperClassName:d().coachAvatar}),(0,a.jsx)("h1",{className:d().title,children:c?"Try any of our plans with ".concat(n.user.firstName," for 7 days for $20"):"Choose Your Plan with Coach ".concat(n.user.firstName)}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:d().note,children:"You can cancel or change your plan at any time."})})]}),O,(0,a.jsx)("div",{className:d().planCardsContainer,children:W.map(function(e){return(0,a.jsx)(u.Z,{coupon:D,product:e,coachFirstName:n.user.firstName,selected:(null==e?void 0:e.id)===(null==A?void 0:A.id),isPaidTrial:c,isGuestPass:_,onClick:function(){return B(e)},billingPeriodInMonths:P},e.id)})}),(0,a.jsx)(y.CF,{name:"Footer",children:(0,a.jsx)("div",{className:d().buttonContainer,children:(0,a.jsx)("div",{children:(0,a.jsxs)(v.Z,{name:"Continue",onClick:function(){b(A)},disabled:E,children:[(0,a.jsx)("span",{children:"Continue"}),E?(0,a.jsx)(N.Z,{}):(0,a.jsx)(p.L,{})]})})})})]}),(0,a.jsx)("div",{className:d().hideChatButton,children:(0,a.jsx)(x.Z,{})})]})}},78923:function(e,n,i){"use strict";i.d(n,{Z:function(){return k}});var t=i(93128),a=i(85893),s=i(93967),r=i.n(s),o=i(29254),l=i(26933),c=i.n(l),d=i(43973),u=i(67294),m=i(71484),v=i(29033),p=i(42823),f=function(){function e(){(0,m._)(this,e)}return(0,v._)(e,null,[{key:"onChatButtonClick",value:function(e){var n=e.location;
1p.o.logEvent("".concat(n?n+" -":""," Live Chat Click"))}}]),e}(),_=i(5303),h=i.n(_),k=function(e){var n=e.buttonClassName,i=e.analyticProps,s=void 0===i?{location:""}:i,l=(0,t._)((0,u.useState)(!1),2),m=l[0],v=l[1];return((0,u.useEffect)(function(){var e,n=0,i=function(){if((n+=1)>20)return clearInterval(e);"undefined"==typeof $crisp||!$crisp||d.Z($crisp)||(v(!0),$crisp.push(["config","sound:mute",[!0]]),clearInterval(e))};return i(),e=setInterval(i,200),function(){clearInterval(e)}},[]),m)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{className:r()(h().button,n),onClick:function(){f.onChatButtonClick({location:s.location}),$crisp.push(["do","chat:toggle"])},children:[(0,a.jsxs)("div",{className:h().text,children:[(0,a.jsx)("span",{className:h().hiddenMobile,children:"Live "}),"Chat"]}),(0,a.jsx)("img",{src:c(),alt:"Chat",className:h().icon})]}),o.gC]}):o.gC}},31250:function(e,n,i){"use strict";var t=i(30137),a=i(93128),s=i(97582),r=i(85893),o=i(6812),l=i(93967),c=i.n(l),d=i(85843),u=i.n(d),m=i(44603),v=i(67294),p=i(39737),f=i(79514),_=i(64683),h=i(57228),k=i.n(h);n.Z=function(e){var n=e.coachId,i=e.wrapperClassName,l=(0,a._)((0,v.useState)(!1),2),d=l[0],h=l[1],g=(0,f.N)((0,o.a)(_.getCoachProfileImage,{variables:{coachId:n},skip:!n})),y=m.Z(["data","coach","profileImage"],g),x=m.Z(["data","coach","user","username"],g),N=y?y.url:"".concat(p.S$,"/coaches/").concat(x,".png"),S=d?u():N;return((0,v.useEffect)(function(){var e,n=(e=(0,t._)(function(){return(0,s.Jh)(this,function(e){switch(e.label){case 0:return[4,new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=N})];case 1:return h(!e.sent()),[2]}})}),function(){return e.apply(this,arguments)});g.isInitialLoad||n()},[N,g.isInitialLoad]),g.isInitialLoad)?(0,r.jsx)("div",{className:c()(k().thumbnailWrapper,i)}):(0,r.jsx)("div",{className:c()(k().thumbnailWrapper,i),children:(0,r.jsx)("img",{className:k().thumbnail,src:S,alt:"coach"})})}},90716:function(e,n,i){"use strict";var t=i(73292),a=i(85893),s=i(93967),r=i.n(s),o=i(44662),l=i(57236),c=i.n(l);n.Z=function(e){var n,i=e.padded,s=e.className,l=e.transparent,d=void 0!==l&&l;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:d?c().transparentBackground:""}),(0,a.jsx)("div",{className:r()(c().screen,(n={},(0,t._)(n,c().padded,void 0!==i&&i),(0,t._)(n,c().transparent,d),n),s),children:(0,a.jsx)(o.Z,{})})]})}},44662:function(e,n,i){"use strict";var t=i(85893),a=i(67814),s=i(93967),r=i.n(s),o=i(51436),l=i(78947),c=i(51892),d=i.n(c);l.vI.add(o.LM3),n.Z=function(e){var n=e.className;return(0,t.jsx)(a.G,{className:r()(d().spinner,n),icon:"spinner",spin:!0,pulse:!0})}},95537:function(e,n,i){"use strict";i.d(n,{BS:function(){return o},JH:function(){return r},Rc:function(){return d},_8:function(){return u},fk:function(){return m},uU:function(){return l},xh:function(){return c}});var t=i(65049),a=i.n(t),s=function(e){return parseInt(e.replace(/px/,""))};s(a().DESKTOP_LG_WIDTH),s(a().DESKTOP_MED_WIDTH);var r=s(a().DESKTOP_WIDTH),o=s(a().MOBILE_WIDTH_MAX),l=s(a().TABLET_WIDTH);s(a().MOBILE_WIDTH);var c=s(a().NEW_MOBILE_MAX);s(a().NEW_TABLET_PORTRAIT);var d=s(a().NEW_TABLET_PORTRAIT_MAX),u=s(a().NEW_TABLET_LANDSCAPE);s(a().NEW_TABLET_LANDSCAPE_MAX);var m=s(a().NEW_DESKTOP_SMALL)},10686:function(e,n,i){"use strict";i.d(n,{a:function(){return a}});var t=i(67294);function a(e){var n=(0,t.useCallback)(function(n){var i=window.matchMedia(e);return i.addEventListener("change",n),function(){i.removeEventListener("change",n)}},[e]);return(0,t.useSyncExternalStore)(n,function(){return window.matchMedia(e).matches},function(){return!1})}},22344:function(e,n,i){"use strict";var t=i(93128),a=i(67294);n.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:50,n=(0,t._)((0,a.useState)(!1),2),i=n[0],s=n[1];return(0,a.useEffect)(function(){var n=function(){return s(window.scrollY>=e)};return window.addEventListener("scroll",n),n(),function(){window.removeEventListener("scroll",n)}},[e]),i}},89007:function(e,n,i){"use strict";i.d(n,{Z:function(){return v}});
1var t=i(30137),a=i(73292),s=i(76341),r=i(67462),o=i(97582),l=i(62286),c=i(53103),d=i(63953),u=i(7433),m=i(74548),v=function(e){var n;return n=(0,t._)(function(n){var i,t,v,p,f,_,h;return(0,o.Jh)(this,function(o){switch(o.label){case 0:if(i=n.ctx||n,t=n.apolloClient,v=i.query.token,p=i.pathname,!("string"==typeof v&&""!==v&&"undefined"!==v&&"null"!==v))return[3,2];return[4,t.mutate({mutation:m.signInToken,variables:{token:v}})];case 1:(f=o.sent().data.signInToken.sessionToken)&&((0,l.setCookie)(i,d.I,f,{path:"/",maxAge:30*c.x4}),i.overrideCookies=(0,a._)({},d.I,f),t.__contextRef&&(t.__contextRef.current=i)),o.label=2;case 2:return _="/client-sign-up"===p,[4,t.query({query:_?u.getCurrentUserWithSurvey:u.getCurrentUser,fetchPolicy:"network-only"})];case 3:return h=o.sent(),[2,e((0,r._)((0,s._)({},n),{currentUserPayload:h}))]}})}),function(e){return n.apply(this,arguments)}}},17113:function(e,n,i){"use strict";var t=i(11680),a=i(57420),s=(0,t.Z)(function(e,n,i){return(0,a.Z)(n,i[e])});n.Z=s},32963:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return eb}});var t,a=i(30137),s=i(97582),r=i(85893),o=i(20726),l=i.n(o),c=i(9008),d=i.n(c),u=i(11163),m=i(37977),v=i(93128),p=i(50319),f=i(73359),_=i(6812),h=i(67294),k=i(73292),g=i(93967),y=i.n(g),x=i(78923),N=i(49467),S=i.n(N),I=i(22344),b=i(60740),j=i.n(b),T=function(e){var n=e.children,i=e.hideOnScroll,t=e.onBack,a=e.showBack,s=(0,I.Z)(50);return(0,r.jsxs)("div",{className:j().container,children:[(0,r.jsxs)("nav",{className:y()(j().nav,(0,k._)({},j().navScrolled,void 0!==i&&i&&s)),children:[(0,r.jsxs)("div",{className:j().leftSection,children:[void 0!==a&&a&&t&&(0,r.jsx)("button",{type:"button",onClick:t,className:j().backButton,"aria-label":"Go back",children:(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12.5 15L7.5 10L12.5 5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,r.jsx)("div",{className:j().logoWrapper,children:(0,r.jsx)("img",{src:S(),alt:"Kickoff logo",className:j().logo})})]}),(0,r.jsx)(x.Z,{analyticProps:{location:"Change Plan"}})]}),n]})},P=i(72085),C=i(23328),E=i(15902),O=i(79514),D=i(90716),w=i(99813),L=i(21908),M=i(26128),A=i(74138),F=i.n(A),W=i(87184),B=i(28587),R=i(86354),Z=i(7778),z=i(40546),Y=i(67913),V=i(50874),H=i.n(V),G=i(96419),U=i(37479),q=i(80029),K=i(92130),J=i(49657),$=i(59874),Q=i(97627),X=i(44662),ee=i(29254),en=i(96186),ei=R.Z(Z.Z,function(e){return z.format(e,"MMMM Do, YYYY")}),et=function(e){var n=e.onBackClick,i=e.oldPrice,t=e.newPrice,a=e.oldProduct,s=e.newProduct,o=e.upcomingInvoice,l=e.onContinueClick,c=e.loading,d=parseInt(o.date),u=(0,v._)((0,q.a6)({price:i,shouldRound:!1}),1)[0],m=(0,v._)((0,q.a6)({price:t,shouldRound:!1}),1)[0],p=t.billingPeriodInMonths,f=new Date(0).setUTCSeconds(d),_=z.isToday(f);return(0,r.jsxs)(Y.Rh,{name:"Change Plan Confirm",children:[(0,r.jsxs)("div",{className:H().confirmContainer,children:[(0,r.jsx)(G.Z,{onBackClick:n}),n&&(0,r.jsxs)("button",{className:H().backWrapper,onClick:n,children:[(0,r.jsx)(U.wy,{size:"small",strokeWidth:2}),(0,r.jsx)("span",{children:"Back"})]}),(0,r.jsxs)("div",{className:H().confirmPlanContent,children:[(0,r.jsx)("div",{className:H().title,children:"Confirm Your New Plan"}),(0,r.jsxs)("div",{className:H().card,children:[(0,r.jsx)("span",{className:H().planName,children:(null==s?void 0:s.descriptiveName)||(null==s?void 0:s.name)}),(0,r.jsxs)("span",{className:y()(H().price,H().newPrice),children:[(0,K.xG)(m),"/day"]}),(0,r.jsx)("div",{className:H().badge,children:"NEW PLAN"})]}),(0,r.jsxs)("div",{className:y()(H().card,H().oldCard),children:[(0,r.jsx)("span",{className:y()(H().planName,H().strikeThrough),children:a.descriptiveName||(null==a?void 0:a.name)}),(0,r.jsxs)("span",{className:y()(H().price,H().strikeThrough),children:[(0,K.xG)(u),"/day"]}),(0,r.jsx)("div",{className:y()(H().badge,H().oldBadge),children:"CURRENT PLAN"})]}),(0,r.jsxs)("div",{className:H().infoSection,children:[(0,r.jsx)("div",{className:H().divider}),o.amountDue>0&&_&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:H().infoRow,children:[(0,r.jsx)("span",{className:H().newPrice,children:"Prorated amount due today:"}),(0,r.jsx)("span",{className:H().newPrice,children:(0,K.xG)(o.amountDue/100)})]}),(0,r.jsx)("div",{className:H().divider})]}),o.total<0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:H().infoRow,children:[(0,r.jsx)("span",{className:H().credits,children:"Credits applied to your account"}),(0,r.jsx)("span",{className:H().credits,children:(0,K.xG)(-(o.total/100*1),{trailingZeroDisplay:"str
1ipIfInteger"})})]}),(0,r.jsx)("div",{className:H().divider})]}),!_&&(null==o?void 0:o.total)>0&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:H().infoRow,children:[(0,r.jsxs)("span",{children:["Charges on ",ei(f)]}),(0,r.jsx)("span",{children:(0,K.xG)(o.total/100,{trailingZeroDisplay:"stripIfInteger"})})]}),(0,r.jsx)("div",{className:H().divider})]}),(0,r.jsxs)("div",{className:H().infoRow,children:[(0,r.jsx)("span",{children:"Recurring Charges"}),(0,r.jsxs)("span",{children:[(0,K.xG)(t.unitAmount/100,{trailingZeroDisplay:"stripIfInteger"})," ".concat(en.BP[p])]})]}),(0,r.jsx)("div",{className:H().divider})]})]}),(0,r.jsx)(J.Z,{}),(0,r.jsx)(Y.CF,{name:"Footer",children:(0,r.jsx)("div",{className:H().buttonContainer,children:(0,r.jsxs)($.Z,{name:"Continue",onClick:l,children:[(0,r.jsx)("span",{children:"Confirm"}),c?(0,r.jsx)(X.Z,{}):(0,r.jsx)(Q.L,{})]})})})]}),ee.gC]})},ea=i(31250),es=i(21775),er=i.n(es),eo=i(81047),el=i(56320),ec=function(e){return"workout"===e.group},ed=function(e){return"nutrition"===e.group},eu=function(e){var n,i=e.oldProduct,t=e.oldPrice,a=e.newProduct,s=e.newPrice,o=e.coachId,l=ed(i),c=ed(a),d=ec(i),u=ec(a),m=null==t?void 0:t.billingPeriodInMonths,v=null==s?void 0:s.billingPeriodInMonths;return n=i.callsPerWeek<a.callsPerWeek?"We'll let your coach know to schedule your sessions ASAP! We encourage you to let them know any preferences for these sessions and to discuss how to optimize them for your context.":l&&!c?"You've successfully added workouts to your program and you are all set to supercharge your fitness journey! Your coach will build your workout plan shortly. Be sure to let your coach know any workout preferences you have.":d&&!u?"You've successfully added nutrition to your program! You are all set to start logging your meals to track macros and get nutritional insights from your coach! Be sure you mark when you're done logging for each day so your coach can provide comprehensive feedback!":!l&&c?"Your subscription was downgraded and access to workouts has been removed. You will receive a credit on your account for the unused portion of the current billing period. Thank you for training with us!":!d&&u?"Your subscription was downgraded and access to nutrition has been removed. You will receive a credit on your account for the unused portion of the current billing period. Thank you for training with us!":m<v?"Your billing frequency has been updated. Enjoy your discount!":"Your program was successfully updated!",(0,r.jsxs)(Y.Rh,{name:"Change Program Success",children:[(0,r.jsxs)("div",{className:er().container,children:[(0,r.jsx)(ea.Z,{coachId:o,wrapperClassName:er().avatarWrapper}),(0,r.jsx)("div",{className:er().title,children:"You're all set with your new program:"}),(0,r.jsx)("div",{className:er().card,children:(0,r.jsx)("span",{className:er().cardText,children:a.descriptiveName||a.name})}),(0,r.jsx)("div",{className:er().message,children:n}),(0,r.jsx)(Y.CF,{name:"Footer",children:(0,r.jsx)("div",{className:er().buttonContainer,children:(0,r.jsxs)($.Z,{name:"Continue",onClick:function(){return(0,el.b)(JSON.stringify({name:"goToDashboard"}))},children:[(0,r.jsx)("span",{children:"Done"}),(0,r.jsx)(eo.n,{color:"#FFF"})]})})})]}),ee.gC]})},em=function(){var e,n,i,t,o,l,c,d,m,k,g,y,x,N,S,I,b=(0,E.z)("Change Plan"),j=(0,u.useRouter)().query,A=(0,v._)((0,p.D)(M.updateClientPlan),2),R=A[0],Z=A[1].loading,z=(0,v._)((0,f.t)(L.getUpcomingInvoice),2),Y=z[0],V=z[1].loading,H=null===(i=(0,P.Z)().data)||void 0===i?void 0:i.me.user.client,G=j.clientId||(null==H?void 0:H.id),U=(0,O.N)((0,_.a)(L.getClientPlan,{variables:{clientId:G},skip:!G})),q=(0,v._)((0,h.useState)(null),2),K=q[0],J=q[1],$=(0,v._)((0,h.useState)(null),2),Q=$[0],X=$[1],ee=(0,v._)((0,h.useState)(null),2),en=ee[0],ei=ee[1],ea=(0,v._)((0,h.useState)(!1),2),es=ea[0],er=ea[1],eo=null===(t=U.data)||void 0===t?void 0:t.client.subscription,el=null===(l=U.data)||void 0===l?void 0:null===(o=l.client.coach)||void 0===o?void 0:o.id,ec=null==eo?void 0:eo.price,ed=null==ec?void 0:ec.product,em=(0,h.useRef)(ed),ev=(0,h.useRef)(ec),ep=!!(null==ed?void 0:ed.isLiveVideo)||(null===(m=U.data)||void 0===m?void 0:null===(d=m.client)||void 0===d?void 0:null===(c=d.coach)||void 0===c?void 0:c.isOfferingLiveVideoWorkouts)&&
1(null==eo?void 0:eo.status)!=="trialing",ef=null==ec?void 0:ec.billingPeriodInMonths,e_=(0,C.Z)({versions:(null==ed?void 0:ed.versions)?ed.versions[ed.versions.length-1]:void 0,priceVersions:null==ec?void 0:ec.versions,excludeLiveVideo:!ep,coachId:el}),eh=(0,v._)((0,h.useState)(ef),2),ek=eh[0],eg=eh[1],ey=(e=(0,a._)(function(e){var n,i,t,a;return(0,s.Jh)(this,function(s){switch(s.label){case 0:return i=null==ex?void 0:ex.find(function(n){var i;return null===(i=n.prices)||void 0===i?void 0:i.some(function(n){return n.id===e.id})}),b("New Plan Selected",{oldProductId:null==ed?void 0:ed.id,newProductId:null==i?void 0:i.id}),t=e.unitAmount>ec.unitAmount,[4,Y({variables:{clientId:G,priceId:e.id,prorationBehavior:t?"always_invoice":"create_prorations"}})];case 1:return a=s.sent(),X(e),J(i),ei(null===(n=a.data)||void 0===n?void 0:n.client.upcomingInvoice),[2]}})}),function(n){return e.apply(this,arguments)}),ex=(null==e_?void 0:null===(k=e_.data)||void 0===k?void 0:k.products)||[];return U.isInitialLoad||(null==U?void 0:U.loading)?(0,r.jsx)(T,{children:(0,r.jsx)("div",{className:F().content,children:(0,r.jsx)(D.Z,{})})}):es?(0,r.jsx)(eu,{coachId:el,oldPrice:ev.current,newPrice:Q,oldProduct:em.current,newProduct:K}):K&&Q&&!V&&en?(0,r.jsx)(et,{oldPrice:ec,newPrice:Q,oldProduct:ed,newProduct:K,onBackClick:function(){var e=ex.find(function(e){return e.group===K.group&&0===e.callsPerWeek});ei(null),X(null),J(e)},upcomingInvoice:en,loading:Z,onContinueClick:function(){return R({variables:{priceId:Q.id,clientId:G},onCompleted:function(){er(!0)}})}}):K&&ep?(0,r.jsx)(W.Z,{productId:K.id,coach:null===(x=U.data)||void 0===x?void 0:null===(y=x.client)||void 0===y?void 0:y.coach,products:ex,clientGender:null==U?void 0:null===(I=U.data)||void 0===I?void 0:null===(S=I.client)||void 0===S?void 0:null===(N=S.user)||void 0===N?void 0:N.gender,onSelection:function(e,n){X(n)},onProductSelection:function(){ey(Q)},onBackClick:function(){return J(null)},billingPeriodInMonths:ek,continueLoading:V,continueDisabled:!Q,defaultCallsPerWeek:null==ed?void 0:ed.callsPerWeek,children:(0,r.jsx)(B.Z,{duration:ek,onChange:function(e){return eg(e)}})}):(0,r.jsx)(w.Z,{coach:null===(g=U.data)||void 0===g?void 0:g.client.coach,products:ex,onProductSelection:(n=(0,a._)(function(e){var n;return(0,s.Jh)(this,function(i){return J(e),ep||ey(null===(n=e.prices)||void 0===n?void 0:n.find(function(e){return e.billingPeriodInMonths===ek})),[2]})}),function(e){return n.apply(this,arguments)}),billingPeriodInMonths:ek,continueLoading:V,children:(0,r.jsx)(B.Z,{duration:ek,onChange:function(e){return eg(e)}})})},ev=i(89007),ep=i(60248),ef=i(30470),e_=i(82513),eh=i.n(e_),ek=i(47915),eg=i(43783),ey=i(79930),ex=i.n(ey),eN=i(11342),eS=i(41953),eI=function(){var e=(0,u.useRouter)().query;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ep.Z.Provider,{value:e,children:(0,r.jsx)(eN.B,{children:(0,r.jsx)(m.Z,{includeChat:!0,children:(0,r.jsxs)(ek.Z,{children:[(0,r.jsx)(d(),{children:(0,r.jsx)("meta",{property:"og:image",content:eh(),className:l().dynamic([["ab6c96c4614b9ab6",[ex().SILVER]]])})}),(0,r.jsx)(Y.Rh,{name:"Change Plan Page",children:(0,r.jsx)(Y.CF,{name:"Change Plan",children:(0,r.jsx)(em,{})})})]})})})}),(0,r.jsx)(l(),{id:"ab6c96c4614b9ab6",dynamic:[ex().SILVER],children:"body{background-color:".concat(ex().SILVER,"}")})]})};eI.getInitialProps=(0,ev.Z)((t=(0,a._)(function(e){var n,i,t,a,r,o,l,c,d,u;return(0,s.Jh)(this,function(s){switch(s.label){case 0:if(a=e.apolloClient,r=e.currentUserPayload.data.me,o=e.ctx,l=e.ctx.query,d=(c=!!r.user)&&!!r.user.client,u=c&&!!(null===(n=r.user.coach)||void 0===n?void 0:n.isTopLevelAdmin),!d&&!u)return(0,eg.Z)("/sign-in",o),[2,{}];return[4,a.query({query:eS.getClientSubscription,variables:{clientId:l.clientId||(null===(i=r.user.client)||void 0===i?void 0:i.id),trackChangePlanView:d}})];case 1:return(null===(t=s.sent().data.client)||void 0===t?void 0:t.subscription)||(0,eg.Z)("/subscribe/".concat(o.query.token),o),[2,{}]}})}),function(e){return t.apply(this,arguments)}));var eb=(0,ef.C)(eI)},58961:function(e,n,i){"use strict";i.d(n,{Y:function(){return r}});var t=i(85893),a=i(20726),s=i.n(a),r=function(e){var n=e.font,i=e.children;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s(),{id:"56a506ffc98e56a8",dynamic:[n.style.fontFamily],children:"html{font-family:".concat(n.style.fontFamily,"}")}),i]})}},11342:function(e,n,i){"use strict";i.d(n,{B:function(){return o}});var t=i(85893),a=i(98415),s=i.n(a),r=i(58961),o=function(e){var n=e.children;return(0,t.jsx)(r.Y,{font:s(),children:n})}},98415:function(e){e.exports={style:{fontFamily:"'__heebo_a54333', '__heebo_Fallback_a54333'"},className:"__className_a54333"}},50874:function(e){e.exports={colors:"'styles/colors.module.css'",BLUE_GRAYS_00:"#F5F8FB",BLUE_GRAYS_015:"#E4EAF4",BLUE_GRAYS_04:"#959CB0",BLUE_GRAYS_05:"#62697D",BLUE_GRAYS_SEMI_BLACK:"#030017",SHADES_WHITE:"#FFFFFF",HORIZONTAL_GRADIENT:"linear-gradient(257deg, #E56F53 12.58%, #85244D 93.34%)",COMPLETED_GREEN:"#419C44",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_WIDTH:"993px",confirmContainer:"styles_confirmContainer__S35yX",backWrapper:"styles_backWrapper__PPK5U",confirmPlanContent:"styles_confirmPlanContent__5VNad",title:"styles_title__IpueW",card:"styles_card__8qC8p",oldCard:"styles_oldCard__Se_wm",planName:"styles_planName__bJsPY",strikeThrough:"styles_strikeThrough__AKM
1df",price:"styles_price__LkbSS",newPrice:"styles_newPrice__JUWIE",credits:"styles_credits__Gz3No",badge:"styles_badge__9T9g3",oldBadge:"styles_oldBadge__zgei_",divider:"styles_divider__qlG2x",infoRow:"styles_infoRow__Hdubb",infoSection:"styles_infoSection__DcHeI",buttonContainer:"styles_buttonContainer__fJ53g",productSelectionContainer:"styles_productSelectionContainer__dIRZs"}},21775:function(e){e.exports={colors:"'styles/colors.module.css'",BLUE_GRAYS_00:"#F5F8FB",BLUE_GRAYS_015:"#E4EAF4",BLUE_GRAYS_04:"#959CB0",BLUE_GRAYS_05:"#62697D",BLUE_GRAYS_SEMI_BLACK:"#030017",SHADES_WHITE:"#FFFFFF",HORIZONTAL_GRADIENT:"linear-gradient(257deg, #E56F53 12.58%, #85244D 93.34%)",container:"styles_container__GsCQE",title:"styles_title__VEV0j",avatarWrapper:"styles_avatarWrapper__VZXpp",buttonContainer:"styles_buttonContainer__4Zmsu",card:"styles_card__qjjwL",cardText:"styles_cardText__BR9M5",message:"styles_message__QRSN7"}},74138:function(e){e.exports={colors:"'styles/colors.module.css'",WHITE:"#fff",AVATAR_SIZE:"100px",content:"styles_content__EuVvv",product:"styles_product__fhOJo",headerRow:"styles_headerRow__guIJC",coachAvatar:"styles_coachAvatar__rxfjc",header:"styles_header__Z6G5n",dashboardButton:"styles_dashboardButton__aVXTw buttons_baseV2__6m2Ce buttons_sharedBase__ruhV4 buttons_mediumV2__opnId buttons_solidOrange__f9zVZ",planSelection:"styles_planSelection__ASICO"}},73211:function(e){e.exports={buttonv2:"styles_buttonv2__yZ_bL",squared:"styles_squared__I6BTT",center:"styles_center__9FUUs",spaceBetween:"styles_spaceBetween__nFagM",disabled:"styles_disabled__SqyoD",linkReset:"styles_linkReset___Zump links_unstyled__flMQ_",linkButton:"styles_linkButton__96kAx buttons_unstyled__fZBqL"}},48254:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",WHITE:"#fff",BLUE_GRAYS_05:"#62697D",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",TABLET_WIDTH:"768px",topNav:"styles_topNav__nJi1g",fixed:"styles_fixed__wx8pw",backButton:"styles_backButton__1CmJ0",icon:"styles_icon__tkSDs",logo:"styles_logo__xAn6J"}},66426:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",WHITE:"#fff",BLUE_GRAYS_00:"#F5F8FB",BLUE_GRAYS_02:"#CCD6E6",BLUE_GRAYS_04:"#959CB0",BLUE_GRAYS_05:"#62697D",BLUE_GRAYS_SEMI_BLACK:"#030017",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",TABLET_WIDTH:"768px",liveOptionContainer:"styles_liveOptionContainer__0rkqv",recommendedTag:"styles_recommendedTag__f04NV",recommendedTagText:"styles_recommendedTagText__THDKa",selected:"styles_selected__eyU48",liveOptionHeader:"styles_liveOptionHeader__MJb_F",liveOptionImageAndTitleWrapper:"styles_liveOptionImageAndTitleWrapper__Km8NH",liveOptionImageWrapper:"styles_liveOptionImageWrapper__1gUOQ",liveOptionImageOne:"styles_liveOptionImageOne__6TbIR",liveOptionRotatedLeftImage:"styles_liveOptionRotatedLeftImage__YChwZ",liveOptionRotatedRightImage:"styles_liveOptionRotatedRightImage__m_paK",liveOptionTitleWrapper:"styles_liveOptionTitleWrapper__NekPu",noLeftMargin:"styles_noLeftMargin__zR7OD",liveOptionTitle:"styles_liveOptionTitle__Tg56H",liveOptionSelectionDot:"styles_liveOptionSelectionDot__J9aJ_",liveOptionPriceWrapper:"styles_liveOptionPriceWrapper__opSlU",liveOptionDailyPrice:"styles_liveOptionDailyPrice__s77J7",liveOptionDailyPriceText:"styles_liveOptionDailyPriceText__UybpR",liveOptionCallsPerWeekText:"styles_liveOptionCallsPerWeekText__kHmdk",liveOptionMonthlyPrice:"styles_liveOptionMonthlyPrice___h_MD",liveOptionSessionPrice:"styles_liveOptionSessionPrice__lp4qA",liveOptionSessionPriceLabel:"styles_liveOptionSessionPriceLabel__WM6lr",liveOptionBasePlanPriceAndLabel:"styles_liveOptionBasePlanPriceAndLabel__YKVa8",liveOptionImagesContainer:"styles_liveOptionImagesContainer__jJaTL",liveOptionImagesWrapper:"styles_liveOptionImagesWrapper__X_9Go",liveOptionImages:"styles_liveOptionImages__3xkA6",scale:"styles_scale__AB2ww",secondImage:"styles_secondImage__EPEqy",thirdImage:"styles_thirdImage__UlbAi",fyi:"styles_fyi__b1gCt",fyiDesktop:"styles_fyiDesktop__PzVNs",fyiArrowIcon:"styles_fyiArrowIcon__Rz3G4",fyiText:"styles_fyiText__1NIm1",noMarginTop:"styles_noMarginTop__GHFHK",fyiDesktopArrowIcon:"styles_fyiDesktopArrowIcon__OMKjC"}},8490:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",WHITE:"#fff",BLUE_GRAYS_00:"#F5F8FB",BLUE_GRAYS_04:"#959CB0",BLUE_GRAYS_05:"#62697D",BLUE_GRAYS_SEMI_BLACK:"#030017",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",TABLET_WIDTH:"768px",liveOptionsContainer:"style_liveOptionsContainer__pnZTB",backWrapper:"style_backWrapper__nwaH_",liveOptionsHeader:"style_liveOptionsHeader__baX3y",avatarImageWrapper:"style_avatarImageWrapper__OdaIq",coachAvatar:"style_coachAvatar__6BxJW",liveOptionImageWrapper:"style_liveOptionImageWrapper__LvNwo",liveOptionImage:"style_liveOptionImage__fwdw4",title:"style_title__M_q8J",subt
1itle:"style_subtitle__toHw3",liveOptions:"style_liveOptions__J5zpy",liveOption:"style_liveOption__sGNKm",note:"style_note__pgwTK",buttonContainer:"style_buttonContainer__gZPAZ",hideChatButton:"style_hideChatButton__Fhm38",optionWithFyi:"style_optionWithFyi__gq3Hg",disabled:"style_disabled__6OlkL",fyiText:"style_fyiText__DEEq5"}},64896:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",WHITE:"#fff",NEUTRAL_GRAY_100:"#F1F5F9",BLUE_GRAYS_015:"#E4EAF4",BLUE_GRAYS_04:"#959CB0",BLUE_GRAYS_05:"#62697D",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",TABLET_WIDTH:"768px",container:"styles_container__ABRcr",label:"styles_label__dQz6v",options:"styles_options__y_djF",option:"styles_option__tD5AB",selected:"styles_selected__LI9g6",text:"styles_text__2fovF",subtext:"styles_subtext__5x2m2"}},75198:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",WHITE:"#fff",BLUE_GRAYS_00:"#F5F8FB",BLUE_GRAYS_05:"#62697D",BLUE_GRAYS_SEMI_BLACK:"#030017",breakpoints:"'styles/breakpoints.module.css'",DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",TABLET_WIDTH:"768px",productSelectionContainer:"styles_productSelectionContainer__JKiLP",backWrapper:"styles_backWrapper__pVvmA",productSelectionHeader:"styles_productSelectionHeader__Fj13X",title:"styles_title__uvUpb",coachAvatar:"styles_coachAvatar__7pjha",planCardsContainer:"styles_planCardsContainer__HWnUr",note:"styles_note__5AQnE",buttonContainer:"styles_buttonContainer__ezFMD",hideChatButton:"styles_hideChatButton__oVgcS"}},5303:function(e){e.exports={breakpoints:"'styles/breakpoints.module.css'",MOBILE_WIDTH_MAX:"992px",button:"styles_button__NQOlw buttons_baseV2__6m2Ce buttons_sharedBase__ruhV4 buttons_mediumV2__opnId buttons_hollowOrange__5VtJF",text:"styles_text__9LttG",icon:"styles_icon__GPBIU",hiddenMobile:"styles_hiddenMobile__fAzp_"}},57228:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",WHITE:"#fff",thumbnailWrapper:"styles_thumbnailWrapper__B993s",thumbnail:"styles_thumbnail__teCTV"}},57236:function(e){e.exports={screen:"styles_screen__JzZT2",padded:"styles_padded__wDJYB",transparentBackground:"styles_transparentBackground__ijoPP styles_screen__JzZT2",transparent:"styles_transparent__owvmg"}},51892:function(e){e.exports={colors:"'~styles/colors.module.css'",PURPLE:"#830051",spinner:"styles_spinner__wRTlm"}},60740:function(e){e.exports={colors:"'styles/colors.module.css'",PURPLE:"#830051",NAV_HEIGHT:"5rem",container:"styles_container__nX0tH",nav:"styles_nav__z4841",navScrolled:"styles_navScrolled__z4aeZ",leftSection:"styles_leftSection__2dSmZ",backButton:"styles_backButton__2A2vG",logo:"styles_logo__Ph9Pt"}},65049:function(e){e.exports={DESKTOP_LG_WIDTH:"1600px",DESKTOP_MED_WIDTH:"1200px",DESKTOP_WIDTH:"993px",MOBILE_WIDTH_MAX:"992px",TABLET_WIDTH:"768px",MOBILE_WIDTH:"576px",NEW_MOBILE_MAX:"743px",NEW_TABLET_PORTRAIT:"744px",NEW_TABLET_PORTRAIT_MAX:"1132px",NEW_TABLET_LANDSCAPE:"1133px",NEW_TABLET_LANDSCAPE_MAX:"1376px",NEW_DESKTOP_SMALL:"1377px"}},12918:function(e,n,i){e.exports=i(18529)},26933:function(e){e.exports="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzgiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzOCAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjkzMzIgMzEuNjY2N0gxOC4wOTk5TDE4LjM5OTkgMjYuNjY2N0gxMy4wNjY2QzYuMDY2NTcgMjYuNjY2NyAwLjM5OTkwMiAyMSAwLjM5OTkwMiAxNFYxMy40NjY3QzAuMzk5OTAyIDYuNDY2NjYgNi4wNjY1NyAwLjc5OTk4OCAxMy4wNjY2IDAuNzk5OTg4SDI0LjkzMzJDMzEuOTMzMiAwLjc5OTk4OCAzNy41OTk5IDYuNDY2NjYgMzcuNTk5OSAxMy40NjY3VjE0QzM3LjU5OTkgMTcuOTMzMyAzNS43OTk5IDIxLjYgMzIuNjY2NiAyNEMzMS4xMzMyIDI1LjIgMjIuMTMzMiAzMS42NjY3IDE4LjkzMzIgMzEuNjY2N1pNMTIuOTk5OSAyLjI5OTk5QzYuNzMzMjQgMi4yOTk5OSAxLjg5OTkgNy4xMzMzMiAxLjg5OTkgMTMuNFYxMy45MzMzQzEuODk5OSAyMC4yIDYuNzMzMjQgMjQuOCAxMi45OTk5IDI0LjhIMjAuMTk5OUwxOS44OTk5IDI5LjlDMjIuODMzMiAyOS4xIDI4Ljk5OTkgMjQuNyAzMS41OTk5IDIyLjdDMzQuMzk5OSAyMC41IDM1Ljc5OTkgMTcuNDY2NyAzNS43OTk5IDEzLjkzMzNWMTMuNEMzNS43OTk5IDcuMTMzMzIgMzEuMTk5OSAyLjI5OTk5IDI0LjkzMzIgMi4yOTk5OUgxMi45OTk5WiIgZmlsbD0iI0ZGNkQ0MiIvPgo8L3N2Zz4K"},49467:function(e){e.exports="/_next/static/images/kickoff-logo-light-876a66e15024c657796fa095f0998ba6.svg"},82513:function(e){e.exports="/_next/static/images/sms-preview-b13c9d5aefa39ba68ed7f10965a0bea5.png"},73359:function(e,n,i){"use strict";i.d(n,{t:function(){return c}});var t=i(97582),a=i(73914),s=i(14012),r=i(6812),o=i(66252),l=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function c(e,n){var i,c=a.useRef(),d=a.useRef(),u=a.useRef(),m=(0,s.J)(n,c.current||{}),v=null!==(i=null==m?void 0:m.query)&&void 0!==i?i:e;d.current=n,u.current=v;var p=(0,r.A)((0,o.x)(n&&n.client),v),f=p.useQuery((0,t.pi)((0,t.pi)({},m),{skip:!c.current})),_=f.observable.options.initialFetchPolicy||p.getDefaultFetchPolicy(),h=Object.assign(f,{called:!!c.current}),k=a.useMemo(function(){for(var e={},n=0;n<l.length;n++)!function(n){var i=h[n];e[n]=function(){return c.current||(c.current=Object.create(null),p.forceUpdateState()),i.apply(this,arguments)}}(l[n]);return e},[]);return Object.assign(h,k),[a.useCallback(function(e){c.current=e?(0,t.pi)((0,t.pi)({},e),{fetchPolicy:e.fetchPolicy||_}):{fetchPolicy:_};var n=(0,s.J)(d.current,(0,t.pi)({query:u.current},c.current)),i=p.executeQuery((0,t.pi)((0,t.pi)({},n),{skip:!1})).then(function(e){return Object.assign(e,k)});return i.catch(function(){}),i},[]),h]}}}
1,function(e){e.O(0,[9468,8523,4853,8407,6025,984,546,7362,7844,8909,5675,945,1182,6449,2201,2964,9405,7977,3420,4658,2888,9774,179],function(){return e(e.s=24578)}),_N_E=e.O()}]);
2//# sourceMappingURL=change-plan-d8ab34cdfb1f65fd.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.