PageSourceSearch

https://espacodocliente.smartfit.com.br/_next/static/chunks/pages/onboarding-475c7c118a12eae1.js

js smartfit.com.br collected 2026-09-24 09:45:10 UTC 13,327 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7411],{95602:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/onboarding",function(){return t(98434)}])},43357:function(n,e,t){"use strict";var i=t(82729);function _templateObject(){var n=(0,i._)(["\n  border-radius: 8px;\n"]);return _templateObject=function(){return n},n}var r=t(85444).ZP.div.withConfig({displayName:"Card",componentId:"sc-95aff6c6-0"})(_templateObject());e.Z=r},22670:function(n,e,t){"use strict";var i=t(82729);function _templateObject(){var n=(0,i._)(["\n  display: block;\n\n  @media (",") {\n    display: none;\n  }\n"]);return _templateObject=function(){return n},n}var r=t(85444).ZP.div.withConfig({displayName:"Tablet",componentId:"sc-15521da6-0"})(_templateObject(),function(n){return n.theme.sizes.large});e.Z=r},98434:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return H},default:function(){return onboarding}});var i=t(85893),r=t(67294),a=t(91546),o=t(14376),s=t(82729),c=t(85444),m=t(43357);function _templateObject(){var n=(0,s._)(["\n  background-color: ",";\n  width: ",";\n  border-radius: 0.8rem;\n  border: 1px solid",";\n  display: flex;\n  flex-direction: row;\n  min-height: 100%;\n\n  &.mouse-button {\n    cursor: pointer;\n  }\n"]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,s._)(["\n  padding: 0;\n  margin: 0;\n  min-width: 10rem;\n\n  img {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    border-radius: 0.8rem 0 0 0.8rem;\n  }\n"]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,s._)(["\n  padding: 1.6rem;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  width: 81%;\n\n  @media (",") {\n    padding: 1.6rem;\n  }\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,s._)(["\n  font-family: ",";\n  font-weight: 900;\n  font-size: 16px;\n  line-height: 16px;\n  margin: 0;\n\n  @media (",") {\n    font-size: 16px;\n  }\n"]);return _templateObject3=function(){return n},n}function _templateObject4(){var n=(0,s._)(["\n  font-size: 14px;\n  line-height: 16px;\n  margin-top: 0.5rem;\n\n  p {\n    margin-bottom: 0.5rem;\n  }\n\n  @media (",") {\n    margin-top: 1rem;\n  }\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){var n=(0,s._)(["\n  background-color: transparent;\n  border: none;\n  display: flex;\n  justify-content: center;\n  align-content: center;\n  align-items: center;\n"]);return _templateObject5=function(){return n},n}var l=(0,c.ZP)(m.Z).withConfig({displayName:"styles__Card",componentId:"sc-28d698e9-0"})(_templateObject(),function(n){return n.theme.colors.white},function(n){return n.width||"100%"},function(n){return n.theme.colors.gray2}),d=c.ZP.div.withConfig({displayName:"styles__Image",componentId:"sc-28d698e9-1"})(_templateObject1()),u=c.ZP.div.withConfig({displayName:"styles__CardBody",componentId:"sc-28d698e9-2"})(_templateObject2(),function(n){return n.theme.sizes.medium}),p=c.ZP.h2.withConfig({displayName:"styles__Title",componentId:"sc-28d698e9-3"})(_templateObject3(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.sizes.medium}),f=c.ZP.div.withConfig({displayName:"styles__Body",componentId:"sc-28d698e9-4"})(_templateObject4(),function(n){return n.theme.sizes.medium}),h=c.ZP.button.withConfig({displayName:"styles__ButtonArrow",componentId:"sc-28d698e9-5"})(_templateObject5()),components_CardHorizontal=function(n){var e=n.image,t=n.title,r=n.body,a=n.width,o=n.height,s=n.buttonAction;return(0,i.jsxs)(l,{width:a,height:o,className:s?"mouse-button":"",children:[(0,i.jsx)(d,{children:e}),(0,i.jsxs)(u,{children:[(0,i.jsx)(p,{children:t}),(0,i.jsx)(f,{children:r})]}),s&&(0,i.jsx)(h,{onClick:s,children:(0,i.jsx)("img",{src:"/icons/arrow-right.svg"})})]})},g=t(22670),_=t(20497),x=t(60369),getCardsData=function(){var n=(0,x.mM)().state.translate;return[{myProps:{title:n.Perfil,body:{text:n["D\xe1 pra atualizar seus dados pessoais e de endere\xe7o de forma r\xe1pida"],link:"/profile"}},image:(0,i.jsx)("img",{src:"/images/persona_data_card.svg"})},{myProps:{title:n["Meu plano"],body:{text:n["Troque de plano e academia sem sair de casa"],link:"/my-plan"}},image:(0,i.jsx)("img",{src:"/images/plan_card.svg"})},{myProps:{title:n.Pagamentos,body:{text:n["Consulte hist\xf3rico de pagamentos, altere a data de cobran\xe7a e forma de pagamento"],link:"/payment"}},image:(0,i.jsx)("img",{src:"/images/payments_card.svg"})},{myProps:{title:n["Turbine seu plano"],body:{text:n["Voc\xea consegue contratar servi\xe7os adicionais para turbinar seus resultados"],link:"/addons"}},image:(0,i.jsx)("img",{src:"/images/other_card.svg"})}]},OnboardingContent_useOnboardingContent=function(){var n,e,t,i,r=getCardsData(),a=(0,x.mM)(),o=null==a?void 0:null===(t=a.state)||void 0===t?void 0:t.currentLocale;return{t:null==a?void 0:null===(i=a.state)||void 0===i?void 0:i.translate,name:(e=(n=(null==a?void 0:a.state.user.personal.name)||"").split(" ")||[n])[0].charAt(0).toUpperCase()+e[0].slice(1),cardsData:r,currentLocale:o}},b=t(9008),y=t.n(b);
1function styles_templateObject(){var n=(0,s._)(["\n  display: flex;\n  align-items: center;\n  flex-direction: column;\n  padding: 3.2rem 2rem 2rem 2rem;\n  @media (",") {\n    flex-direction: column;\n    justify-content: justify-center;\n    background-image: none;\n    padding: 0px;\n  }\n\n  @media (",") {\n    flex-direction: row;\n    justify-content: center;\n    background-image: none;\n    padding: 0;\n  }\n\n  img {\n    width: -webkit-fill-available;\n    max-width: 320px;\n    @media (",") {\n      width: auto;\n      max-width: 320px;\n    }\n\n    @media (",") {\n      width: auto;\n      max-width: 320px;\n    }\n  }\n"]);return styles_templateObject=function(){return n},n}function styles_templateObject1(){var n=(0,s._)(["\n  padding: 1.6rem 0;\n  width: 100%;\n  text-align: initial;\n  @media (",") {\n    text-align: center;\n    width: 60%;\n  }\n\n  @media (",") {\n    text-align: initial;\n    width: 45%;\n    padding: 2rem;\n  }\n  p {\n    font-style: normal;\n    font-weight: 325;\n    font-size: 16px;\n    line-height: 24px;\n    text-align: center;\n    @media (",") {\n      text-align: center;\n      font-size: 16px;\n      line-height: 24px;\n      margin-top: 0.8rem;\n      margin-bottom: 1.6rem;\n    }\n\n    @media (",") {\n      text-align: left;\n      font-size: 16px;\n      line-height: 24px;\n      margin-top: 0.8rem;\n      margin-bottom: 1.6rem;\n    }\n  }\n  button {\n    margin: 0 auto;\n    @media (",") {\n      margin: 0 auto;\n    }\n\n    @media (",") {\n      margin: 0;\n    }\n  }\n"]);return styles_templateObject1=function(){return n},n}function styles_templateObject2(){var n=(0,s._)(["\n  font-family: ",";\n  font-style: normal;\n  font-weight: 900;\n  font-size: 20px;\n  line-height: 24px;\n  margin: 0 auto;\n  text-align: center;\n  @media (",") {\n    width: 100%;\n    margin: 0;\n    text-align: center;\n  }\n\n  @media (",") {\n    width: 100%;\n    margin: 0;\n    text-align: left;\n  }\n"]);return styles_templateObject2=function(){return n},n}function styles_templateObject3(){var n=(0,s._)(["\n  font-family: ",";\n  text-align: center;\n  font-size: 20px;\n  font-style: normal;\n  font-weight: 900;\n  line-height: 24px;\n  margin: 0.4rem auto 0.4rem auto;\n  width: 80%;\n  @media (",") {\n    width: 100%;\n    margin: 4.2rem 0 0.8rem 0;\n  }\n\n  @media (",") {\n    width: 100%;\n    margin: 4.2rem 0 0.8rem 0;\n  }\n"]);return styles_templateObject3=function(){return n},n}function styles_templateObject4(){var n=(0,s._)(["\n  font-style: normal;\n  font-weight: 325;\n  font-size: 12px;\n  color: rgba(1, 1, 20, 0.88);\n  background: white;\n  p:nth-child(2) {\n    margin-bottom: 0;\n  }\n"]);return styles_templateObject4=function(){return n},n}function styles_templateObject5(){var n=(0,s._)(["\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  font-family: ",";\n  font-size: 14px;\n  font-weight: 900;\n  line-height: 40px;\n  letter-spacing: 0em;\n  text-align: left;\n  color:",";
1\n  cursor: pointer;\n  text-transform: uppercase;\n"]);return styles_templateObject5=function(){return n},n}function _templateObject6(){var n=(0,s._)(["\n  display: flex;\n  flex-direction: column;\n  padding: 2rem;\n\n  @media (",") {\n    justify-content: center;\n    flex-direction: row;\n    flex-wrap: wrap;\n    padding: 0;\n  }\n\n  @media (",") {\n    justify-content: center;\n    flex-direction: row;\n    padding: 0;\n  }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){var n=(0,s._)(["\n  margin: 0.8rem 0;\n  width: 100%;\n  &:first-child {\n    margin: 0 0 0.8rem 0;\n  }\n  @media (",") {\n    width: 100%;\n    &:first-child {\n      margin: 0 0 0.8rem 0;\n    }\n  }\n\n  @media (",") {\n    width: 45%;\n    margin: 1.6rem;\n    &:first-child {\n      margin: 1.6rem;\n    }\n  }\n\n  @media (",") {\n    width: 45%;\n    margin: 1.6rem;\n    &:first-child {\n      margin: 1.6rem;\n    }\n  }\n"]);return _templateObject7=function(){return n},n}function _templateObject8(){var n=(0,s._)(["\n  background-color: transparent;\n  border: none;\n  display: flex;\n  justify-content: center;\n  align-content: center;\n  align-items: center;\n  color:",";\n"]);return _templateObject8=function(){return n},n}var j=c.ZP.div.withConfig({displayName:"styles__HeadWrapper",componentId:"sc-107b395a-0"})(styles_templateObject(),function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge},function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge}),w=c.ZP.div.withConfig({displayName:"styles__HeadTextAction",componentId:"sc-107b395a-1"})(styles_templateObject1(),function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge},function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge},function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge}),v=c.ZP.h2.withConfig({displayName:"styles__HeadTextTitle",componentId:"sc-107b395a-2"})(styles_templateObject2(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge}),O=c.ZP.h2.withConfig({displayName:"styles__SubTitle",componentId:"sc-107b395a-3"})(styles_templateObject3(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge}),C=c.ZP.div.withConfig({displayName:"styles__Body",componentId:"sc-107b395a-4"})(styles_templateObject4()),z=c.ZP.div.withConfig({displayName:"styles__ActionContent",componentId:"sc-107b395a-5"})(styles_templateObject5(),function(n){return n.theme.fonts.highlight},function(n){return n.theme.buttons.action.default}),P=c.ZP.div.withConfig({displayName:"styles__CardsWrapper",componentId:"sc-107b395a-6"})(_templateObject6(),function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.extralarge}),N=c.ZP.div.withConfig({displayName:"styles__CardsItem",componentId:"sc-107b395a-7"})(_templateObject7(),function(n){return n.theme.sizes.medium},function(n){return n.theme.sizes.large},function(n){return n.theme.sizes.extralarge}),Z=c.ZP.button.withConfig({displayName:"styles__ButtonArrow",componentId:"sc-107b395a-8"})(_templateObject8(),function(n){return n.theme.buttons.action.default}),I=t(75026),k=t(41664),T=t.n(k),components_OnboardingContent=function(){var n=OnboardingContent_useOnboardingContent(),e=n.t,t=n.cardsData,r=n.name,a=n.currentLocale,ShowHeadTitle=function(){return(0,i.jsx)(v,{children:e["Boas-vindas ao espa\xe7o do cliente, %{name}!"].replace("%{name}",r)})};return(0,i.jsxs)("div",{children:[(0,i.jsx)(y(),{children:(0,i.jsxs)("title",{children:[e["Smart Fit"]," - ",e["Espa\xe7o do Cliente"]," - ",e.Onboarding]})}),(0,i.jsxs)(j,{children:[(0,i.jsx)(g.Z,{children:(0,i.jsx)(ShowHeadTitle,{})}),(0,i.jsx)("img",{src:"/images/woman_show_cellphone.svg"}),(0,i.jsxs)(w,{children:[(0,i.jsx)(_.Z,{children:(0,i.jsx)(ShowHeadTitle,{})}),(0,i.jsx)("p",{children:e["Evite filas na academia e responda o Question\xe1rio"]}),(0,i.jsx)(T(),{legacyBehavior:!0,href:"/".concat(a,"/profile/medical-evaluation"),passHref:!0,children:(0,i.jsx)(I.Z,{variant:"secondary",type:"button",borderRadius:"2.25rem",width:"300px",children:e["Responder parq"]})})]})]}),(0,i.jsx)(O,{children:e["Cuide do seu plano sem precisar sair de casa"]}),(0,i.jsx)(P,{children:t.map(function(n,t){var r,a;return(0,i.jsx)(N,{children:(0,i.jsx)(components_CardHorizontal,{image:n.image,title:n.myProps.title,body:(r=n.myProps.body.text,a=n.myProps.body.link,(0,i.jsxs)(C,{children:[(0,i.jsx)("p",{children:r}),a&&(0,i.jsx)(T(),{legacyBehavior:!0,href:a,passHref:!0,children:(0,i.jsxs)(z,{children:[e["Ver mais"],(0,i.jsx)(Z,{children:(0,i.jsx)("img",{src:"/icons/arrow-right-blue.svg",height:"24px",width:"24px"})})]})})]}))})},t)})})]})},H=!0,onboarding=function(){var n=(0,r.useRef)(null);return(0,i.jsx)(a.Z,{footerRef:n,children:(0,i.jsx)(o.default,{noWrapperMobilePadding:!0,children:(0,i.jsx)(components_OnboardingContent,{})})})}},9008:function(n,e,t){n.exports=t(79201)}},function(n){n.O(0,[5445,9402,1546,3926,4376,9774,2888,179],function(){return n(n.s=95602)}),_N_E=n.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.