PageSourceSearch

https://www.programaviva.com.br/_next/static/chunks/app/(public)/beneficios/page-0dce9ef2c0865ea9.js

js programaviva.com.br collected 2026-10-03 20:33:03 UTC 8,676 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2655],{368:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(1847).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},1121:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,2619,23)),Promise.resolve().then(r.t.bind(r,1356,23)),Promise.resolve().then(r.bind(r,1651))},1651:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var l=r(5155),s=r(2115),i=r(368),n=r(7937),a=r(4945),o=r(5239);function c(e){let{title:t,description:r,icon:s,highlight:i,isContent:n,slug:a,href:c,linkText:d}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-4 ws:gap-3 rounded-2xl border\n      p-8 ws:p-6 transition-shadow duration-300 h-full select-none\n      ".concat(i?"bg-secondary border-border":"bg-white border-border","\n      hover:shadow-lg"),children:[(0,l.jsx)(o.default,{src:s,alt:t,width:32,height:32,quality:95,className:"".concat(n?"w-12 h-12 ws:w-10 ws:h-10":"w-8 h-8 ws:w-7 ws:h-7"," ").concat(i?"":"mb-6 ws:mb-4"),priority:!0}),t&&(0,l.jsx)("h3",{className:"font-semibold text-lg ws:text-base",children:t}),(0,l.jsx)("div",{className:"text-sm ws:text-[13px] leading-relaxed ".concat(i?"mb-6 ws:mb-4":""),dangerouslySetInnerHTML:{__html:r}}),(n||!!d)&&(0,l.jsxs)("a",{href:null!=c?c:n?"/acesso-especial/saude-tratamento/".concat(a):"#",className:"inline-flex items-center gap-1 mt-auto font-semibold text-primary text-sm ws:text-[13px]",children:[null!=d?d:"Acesse os conte\xfados"," →"]})]})}function d(e){let{services:t,isContent:r,title:o,description:d,oneLine:h,medium:u}=e,m=(0,s.useRef)(null),[w,x]=(0,s.useState)(!1),[f,p]=(0,s.useState)(!0),[g,v]=(0,s.useState)(!1);function b(){let e=m.current;if(!e)return;let{scrollLeft:t,clientWidth:r,scrollWidth:l}=e;x(t>0),p(t+r<l-1),v(window.innerWidth>=1024)}function j(e){let t=m.current;if(!t)return;let r=t.firstElementChild;if(!r)return;let l=r.offsetWidth+32;t.scrollBy({left:"next"===e?l:-l,behavior:"smooth"})}(0,s.useEffect)(()=>{let e=m.current;if(e)return b(),e.addEventListener("scroll",b),window.addEventListener("resize",b),()=>{e.removeEventListener("scroll",b),window.removeEventListener("resize",b)}},[]);let C=h||!g||t.length>9,N=C&&(g||t.length>2),y=C?"w-[80vw] lg:w-[380px] ws:w-[320px] h-full snap-start shrink-0":"h-full";return(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsxs)("div",{className:"flex ".concat(!h&&r?"flex-col":"flex-col md:flex-row"," gap-3 md:gap-12 mb-6 ws:mb-4 ws:md:gap-8 ws:[&_h2]:text-[32px] ws:[&_h2]:leading-[1.15]"),children:[(0,l.jsx)(a.A,{as:"h2",showDivider:!0,medium:u,children:o}),d&&(0,l.jsx)("p",{className:"mt-4 mb-10 md:mb-2 lg:pl-30 ws:text-sm ws:mb-6",children:d}),(0,l.jsxs)("div",{className:"flex gap-2 -mt-8 lg:-mt-10 ws:-mt-8 ml-auto ".concat(N?"":"invisible"),children:[(0,l.jsx)("button",{"aria-label":"Anterior",onClick:()=>j("prev"),disabled:!w,className:"grid hover:shadow-md h-10 w-10 ws:h-9 ws:w-9 place-items-center rounded-full border focus:outline-none focus:ring-2 focus:ring-primary transition-colors\n              ".concat(w?"bg-primary cursor-pointer text-white border-transparent":"bg-white text-gray-400 border-purple-200"),children:(0,l.jsx)(i.A,{className:"w-5 h-5 ws:w-4 ws:h-4"})}),(0,l.jsx)("button",{"aria-label":"Pr\xf3ximo",onClick:()=>j("next"),disabled:!f,className:"grid h-10 w-10 ws:h-9 ws:w-9 hover:shadow-md place-items-center rounded-full border focus:outline-none focus:ring-2 focus:ring-primary transition-colors\n              ".concat(f?"bg-primary cursor-pointer text-white border-transparent":"bg-white text-gray-400 border-purple-200"),children:(0,l.jsx)(n.A,{className:"w-5 h-5 ws:w-4 ws:h-4"})})]})]}),(0,l.jsx)("div",{ref:m,className:"gap-8 ws:gap-6 grid pb-4 ".concat(C?h?"grid-rows-1 grid-flow-col overflow-x-auto scroll-smooth snap-mandatory snap-x no-scrollbar":"".concat(g?"grid-rows-3":"grid-rows-2"," grid-flow-col auto-rows-[1fr] overflow-x-auto scroll-smooth snap-mandatory snap-x no-scrollbar"):"grid-cols-3"),style:C?{scrollbarWidth:"none"}:{},children:t.map(e=>(0,l.jsx)("div",{className:y,children:(0,l.jsx)(c,{...e})},e.id))})]})}},1847:(e,t,r)=>{"use strict";r.d(t,{A:()=>
1o});var l=r(2115);let s=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,l.forwardRef)((e,t)=>{let{color:r="currentColor",size:s=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:h,...u}=e;return(0,l.createElement)("svg",{ref:t,...n,width:s,height:s,stroke:r,strokeWidth:o?24*Number(a)/Number(s):a,className:i("lucide",c),...u},[...h.map(e=>{let[t,r]=e;return(0,l.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let r=(0,l.forwardRef)((r,n)=>{let{className:o,...c}=r;return(0,l.createElement)(a,{ref:n,iconNode:t,className:i("lucide-".concat(s(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...c})});return r.displayName=s(e),r}},4652:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},getImageProps:function(){return a}});let l=r(8140),s=r(5040),i=r(1356),n=l._(r(1124));function a(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:n.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],qualities:[75,95,100],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let o=i.Image},4945:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var l=r(5155),s=r(5239);let i=()=>(0,l.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,l.jsx)("g",{clipPath:"url(#clip0_7749_3019)",children:(0,l.jsxs)("g",{clipPath:"url(#clip1_7749_3019)",children:[(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5741 7.60277C14.0771 9.67031 14.1097 11.6613 14.0501 13.7585C14.0386 14.168 14.353 14.5085 14.752 14.5209C15.1513 14.5332 15.4845 14.21 15.4963 13.8004C15.5527 11.8118 15.5072 9.91951 15.9788 7.95559C16.0742 7.55837 15.8368 7.15621 15.449 7.05999C15.0616 6.9613 14.6693 7.20554 14.5741 7.60277Z",fill:"#7A01E6"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.3526 3.59619C6.98145 6.74932 3.80508 10.8054 1.58496 14.901C1.39135 15.2588 1.51745 15.7103 1.86658 15.9077C2.2157 16.105 2.65645 15.9767 2.85006 15.619C4.99688 11.6591 8.06884 7.7362 11.3286 4.68916C11.6232 4.41283 11.6437 3.94406 11.3744 3.64305C11.1051 3.34205 10.6472 3.31986 10.3526 3.59619Z",fill:"#7A01E6"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.49839 0.151629C6.4151 -0.368958 3.23705 0.519236 0.43344 1.77506C0.0676789 1.94036 -0.0991731 2.37705 0.0606818 2.7496C0.220778 3.12462 0.647787 3.29488 1.01355 3.13204C3.56689 1.98724 6.45464 1.1385 9.26283 1.61221C9.6568 1.67883 10.0293 1.40497 10.0942 1.00281C10.1593 0.600653 9.89212 0.218244 9.49839 0.151629Z",fill:"#7A01E6"})]})}),(0,l.jsxs)("defs",{children:[(0,l.jsx)("clipPath",{id:"clip0_7749_3019",children:(0,l.jsx)("rect",{width:"16",height:"16",fill:"white"})}),(0,l.jsx)("clipPath",{id:"clip1_7749_3019",children:(0,l.jsx)("rect",{width:"16",height:"16",fill:"white"})})]})]});function n(e){let{children:t,center:r=!1,as:n="h1",showDivider:a=!1,showAccent:o=!1,small:c=!1,medium:d=!1,bold:h=!1}=e;return(0,l.jsxs)("div",{className:"title ".concat(r?"text-center":""),children:[(0,l.jsxs)("div",{className:"relative inline-block",children:[(0,l.jsx)(n,{className:"".concat(h?"font-bold":"font-semibold"," ").concat(c?"lg:text-[32px] text-2xl":d?"lg:text-[34px] text-2xl":"lg:text-[45px] text-2xl"," ").concat(d||c?"lg:leading-[1.2]":"lg:leading-14"),children:t}),o&&(0,l.jsx)("span",{className:"bottom-0 left-0 absolute translate-y-1/2 -translate-x-4",children:(0,l.jsx)(i,{})})]}),a&&(0,l.jsx)("div",{className:"mt-4 ".concat(r?"flex justify-center":""),children:(0,l.jsx)(s.default,{src:"/images/divider.svg",alt:"Divider",width:180,height:20})})]})}},5239:(e,t,r)=>{"use strict";r.d(t,{default:()=>s.a});var l=r(4652),s=r.n(l)},7937:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});let l=(0,r(1847).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])}},e=>{e.O(0,[1356,2619,8441,1255,7358],()=>e(e.s=1121)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.