1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[515],{4515:function(n,r,t){"use strict";t.r(r),t.d(r,{default:function(){return T}});var e=t(5893),i=t(7294),a=t(1664),o=t.n(a),c=t(6142),s=t.n(c);t(5066);var l=t(7375),d=t(4651),m=t(7297),p=t(166);function u(){var n=(0,m.Z)(["\n width: 100%;\n\n @media (max-width: 767px) {\n display: none;\n }\n\n .glider-contain {\n width: 100%;\n\n .gliderContainer {\n width: 100%;\n\n overflow-x: overlay;\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar {\n background: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n .glider-track {\n width: 120rem !important;\n\n padding-top: 1rem;\n\n @media (max-width: 1366px) {\n width: 110.5rem !important;\n }\n\n @media (max-width: 980px) {\n width: 57.5rem !important;\n }\n\n .glider-slide {\n position: relative;\n\n > button {\n top: -0.8rem;\n right: 2rem;\n\n @media (max-width: 1366px) {\n top: -0.8rem;\n right: 1.5rem;\n }\n }\n\n &:first-of-type {\n margin-left: 1.25rem;\n }\n\n &:last-of-type {\n margin-right: 1rem;\n }\n\n @media (max-width: 1366px) {\n &:first-of-type {\n margin-left: 1rem;\n }\n\n &:last-of-type {\n margin-right: 1rem;\n }\n }\n\n @media (max-width: 980px) {\n margin: 0;\n\n &:first-of-type {\n margin-left: 1rem;\n }\n\n &:last-of-type {\n margin-right: 1rem;\n }\n }\n\n background-color: transparent;\n }\n }\n }\n\n .glider-prev,\n .glider-next {\n top: 4.5rem;\n\n width: 40px;\n height: 40px;\n\n padding: 0;\n\n > img {\n width: 100%;\n height: 100%;\n\n object-fit: contain;\n }\n\n @media (max-width: 1366px) {\n top: 3.5rem;\n }\n\n @media (max-width: 980px) {\n display: none;\n }\n }\n\n .glider-prev {\n left: -0.2rem;\n }\n\n .glider-next {\n right: -0.2rem;\n\n @media (max-width: 767px) {\n right: 0;\n }\n }\n }\n"]);return u=function(){return n},n}function g(){var n=(0,m.Z)(["\n width: 100%;\n\n display: flex;\n\n padding: 1rem 0 1rem 0.1rem;\n\n margin-top: -1rem;\n margin-bottom: -1rem;\n\n overflow-x: auto;\n overflow-y: hidden;\n\n ::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n ::-webkit-scrollbar {\n background: transparent;\n }\n\n ::-webkit-scrollbar-thumb {\n background: transparent;\n }\n\n @media (min-width: 767px) {\n display: none;\n }\n\n .glider-slide {\n position: relative !important;\n\n margin: 0;\n\n &:first-of-type {\n margin-left: 1rem;\n }\n\n background-color: transparent;\n }\n"]);return g=function(){return n},n}var h=p.Z.div(u()),f=p.Z.div(g()),x=t(1799),v=t(9396),w=t(9534),b=t(8790),k=t(917);function j(){var n=(0,m.Z)(["\n border: 1px solid #06BC00!important;\n background-color: #ffffff;\n outline: none;\n\n :hover {\n border: 1px solid #06BC00!important;\n }\n\n :active {\n border: 1px solid #06BC00!important;\n }\n\n > div {\n > img {\n color: #06BC00;\n }\n\n > p {\n color: #202020;\n\n :active {\n color: #06BC00;\n }\n\n :hover {\n color: #06BC00;\n }\n }\n }\n "]);return j=function(){return n},n}function y(){var n=(0,m.Z)(["\n border: 1px solid #EAEAEA !important;\n background-color: #EAEAEA;\n\n filter: grayscale(100%);\n\n > div {\n > img {\n color: #A8A8A8;\n opacity: 0.55;\n }\n\n > p {\n color: #A8A8A8;\n }\n }\n "]);return y=function(){return n},n}function A(){var n=(0,m.Z)(["\n ","\n "]);return A=function(){return n},n}function _(){var n=(0,m.Z)(["\n ",";\n\n max-width: 9.5rem !important;\n min-width: 9.5rem !important;\n max-height: 9.5rem !important;\n min-height: 9.5rem !important;\n\n padding-top: 1.6rem;\n\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: flex-start;\n\n border-radius: 0.375rem;\n\n box-shadow: 0px 1px 3px #00000026;\n\n > div {\n flex-direction: column;\n justify-content: center;\n\n > img {\n width: 2.8125rem;\n height: 2.8125rem;\n\n margin: 0 auto 0.75rem;\n\n @media (max-width: 1366px) {\n margin-bottom: 0.625rem;\n }\n }\n\n > p {\n font-weight: 800;\n text-align: center;\n font-size: 1.125rem;\n\n @media (max-width: 1366px) {\n font-size: 0.875rem;\n line-height: 17px;\n }\n }\n }\n\n @media (max-width: 1366px) {\n max-width: 7.5rem !important;\n min-width: 7.5rem !important;\n max-height: 7.5rem !important;\n min-height: 7.5rem !important;\n\n padding-top: 1.1rem;\n }\n"]);return _=function(){return n},n}var C={true:function(){return(0,k.iv)(j())},false:function(){return(0,k.iv)(y())}},E=p.Z.button(_(),function(n){var r=n.isActive;return(0,k.iv)(A(),r?C.true():C.false())});function Z(n){var r=n.src,t=n.alt,i=n.category,a=n.isActive,o=(0,w.Z)(n,["src","alt","category","isActive"]);return(0,e.jsx)(E,(0,v.Z)((0,x.Z)({isActive:void 0!==a&&a},o),{children:(0,e.jsxs)(b.kC,{children:[(0,e.jsx)(d.Ee,{src:r,alt:t,fallbackSrc:r}),(0,e.jsx)(b.xv,{as:"p",children:i})]})}))}var S=t(1163),B=t(5616),N=t(2802);function T(){var n=function(){switch(w){case"pace":case"calorias":case"conversor":default:x(1);break;case"imc":case"ritmo":case"tabela":case"km":case"projecao":case"pulseira":x(4)}},r=(0,S.useRouter)().asPath,t=(0,l.qY)(),a=t.isOpen,c=t.onOpen,m=t.onClose,p=r.split("#"),u=(0,i.useState)(0),g=u[0],x=u[1],v=(0,i.useState)(String(p[1])),w=v[0],b=v[1];return(0,i.useEffect)(function(){n()},[]),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(h,{children:g&&(0,e.jsx)(s(),{rewind:!0,draggable:!0,hasArrows:!0,dragVelocity:1,slidesToShow:6,slidesToScroll:1,scrollToSlide:g,iconLeft:(0,e.jsx)(d.Ee,{src:"/images/icons/iconLeft.svg",alt:"Anterior",fallbackSrc:"/images/icons/iconLeft.svg"}),iconRight:(0,e.jsx)(d.Ee,{src:"/images/icons/iconRight.svg",alt:"Pr\xf3ximo",fallbackSrc:"/images/icons/iconRight.svg"}),className:"gliderContainer",children:B.n.map(function(n){return(0,e.jsxs)("div",{className:"glider-slide",children:[(0,e.jsx)(N.Tz,{activeModal:c}),(0,e.jsx)(N.V8,{open:a,close:m,href:"".concat(n.link_to_render_url)}),(0,e.jsx)(o(),{href:"".concat(n.link_to_render_url),children:(0,e.jsx)(Z,{alt:n.alt,src:n.image,category:n.title,isActive:w===n.id,onMouseDownCapture:function(){return b(n.id)}})})]},n.id)})})}),(0,e.jsx)(f,{children:B.n.map(function(n){return(0,e.jsxs)("div",{className:"glider-slide",children:[(0,e.jsx)(N.Tz,{top:"-1rem",right:"0.8rem",activeModal:c}),(0,e.jsx)(N.V8,{open:a,close:m,href:"".concat("https://www.o2corre.com.br").concat(n.link_to_render_url)}),(0,e.jsx)(o(),{href:"".concat(n.link_to_render_url),children:(0,e.jsx)(Z,{alt:n.alt,src:n.image,category:n.title,isActive:w===n.id,onMouseDownCapture:function(){return b(n.id)}})})]},n.id)})})]})}},5066:function(){}}]);
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.