PageSourceSearch

https://www.vakinha.com.br/_next/static/chunks/pages/campaign/events/events-496891de5f52c75d.js

js vakinha.com.br collected 2026-10-01 09:17:59 UTC 6,733 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1470,5970],{1602:(e,t,n)=>{var i=n(19031);e.exports=function(){return i.Date.now()}},4118:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var i=n(37876),r=n(11639),a=n(73567),o=n(57542),s=n(12503),l=n(95329),c=n(98922);let d=l.default.div.withConfig({componentId:"sc-3f581608-0"})(["border-radius:5px;background-color:",";width:100%;box-shadow:1px 1px 3px ",";height:",";display:flex;align-items:center;justify-content:center;"],c.ON,c.r7,e=>{let{height:t}=e;return"".concat(t,"px")}),u=e=>{let{height:t}=e;return(0,i.jsx)(o.A,{spacingSize:"md",spacingPosition:"both",children:(0,i.jsx)(d,{height:t,children:(0,i.jsx)(s.y$,{height:40,width:40})})})},f=e=>{let{count:t,height:n,children:o,loading:s,md:l=12,xs:c=12}=e;return s?(0,i.jsx)(()=>(0,i.jsx)(i.Fragment,{children:[...Array(t)].map(()=>(0,i.jsx)(r.Col,{md:l,xs:c,children:(0,i.jsx)(u,{height:n})},(0,a.L)()))}),{}):o}},4917:(e,t,n)=>{var i=n(98825),r=n(1602),a=n(52782),o=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,d,u,f,g,h=0,x=!1,p=!1,m=!0;if("function"!=typeof e)throw TypeError("Expected a function");function v(t){var n=l,i=c;return l=c=void 0,h=t,u=e.apply(i,n)}function j(e){var n=e-g,i=e-h;return void 0===g||n>=t||n<0||p&&i>=d}function w(){var e,n,i,a=r();if(j(a))return y(a);f=setTimeout(w,(e=a-g,n=a-h,i=t-e,p?s(i,d-n):i))}function y(e){return(f=void 0,m&&l)?v(e):(l=c=void 0,u)}function A(){var e,n=r(),i=j(n);if(l=arguments,c=this,g=n,i){if(void 0===f)return h=e=g,f=setTimeout(w,t),x?v(e):u;if(p)return clearTimeout(f),f=setTimeout(w,t),v(g)}return void 0===f&&(f=setTimeout(w,t)),u}return t=a(t)||0,i(n)&&(x=!!n.leading,d=(p="maxWait"in n)?o(a(n.maxWait)||0,t):d,m="trailing"in n?!!n.trailing:m),A.cancel=function(){void 0!==f&&clearTimeout(f),h=0,l=g=c=f=void 0},A.flush=function(){return void 0===f?u:y(r())},A}},12194:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i,r=n(14232);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(null,arguments)}let o=function(e){return r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:92.417,height:85.863,viewBox:"0 0 92.417 85.863"},e),i||(i=r.createElement("path",{fill:"#24ca68",fillRule:"evenodd",d:"M13.438 0h65.541a13.476 13.476 0 0 1 13.438 13.443v48.723c0 .214 0 .42-.012.622v23.075L74.954 75.612H13.45A13.48 13.48 0 0 1 0 62.167V13.443A13.48 13.48 0 0 1 13.438 0m33.279 46.306a11 11 0 0 0-1.487.1l-12.348-21.4a8.513 8.513 0 1 0-7.618 4.054l12.572 21.776a10.976 10.976 0 1 0 17.831.081L68.284 29.07a8.511 8.511 0 1 0-7.62-4.054L48.3 46.432a10 10 0 0 0-1.582-.124Z","data-name":"Caminho 697"})))}},38071:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(37876),r=n(64137),a=n(27415);let o=e=>{let{name:t,title:n,info:o,alignItems:s="center",alignInfo:l="center",headingTag:c="h1"}=e;return(0,i.jsxs)(r.wn,{flex:!0,justifyContent:"center",alignItems:s,flexDirection:"column",paddingDesktop:[0,0,32],paddingMobile:[0,0,16],children:[t&&(0,i.jsx)(r.o5,{textTransform:"uppercase",fontFamily:a.f,fontSizeDesktop:14,fontSizeMobile:12,weight:700,color:"green400",children:t}),(0,i.jsx)(r.wn,{padding:o?[8,0,12]:[8,0,0],children:(0,i.jsx)(r.o5,{as:c,fontSizeMobile:24,fontSizeDesktop:40,weight:700,color:"gray600",fontFamily:a.a,children:n})}),o&&(0,i.jsx)(r.o5,{align:l,fontSizeDesktop:16,fontSizeMobile:14,color:"gray400",fontFamily:a.f,children:o})]})}},59536:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/campaign/events/events",function(){return n(62819)}])},62819:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var i=n(37876),r=n(14232),a=n(64137),o=n(11639),s=n(86649),l=n(29454),c=n(57542),d=n(20212),u=n(80856),f=n(62936),g=n(92618),h=n(98344);let x=n(95329).default.div.withConfig({componentId:"sc-a25b19ea-0"})(["max-width:350px;margin:auto;padding:15px 0;"]);var p=n(63520),m=n(38071),v=n(4118),j=n(95433),w=n(51158),y=n(75600);let A=()=>{let{loggedUser:e}=(0,r.useContext)(w.A),[t,n]=(0,r.useState)([]),A=t.map((e,t)=>({id:null==e?void 0:e.campaignId,position:t})).filter(e=>!!e.id),{cardTracking:S}=(0,y.A)({surface:{page:"timeline",zone:"list"},cards:A,trackers:["viewed","clicked"]}),[k,b]=(0,r.useState)(!0),[C,_]=(0,r.useState)([]),[E,T]=(0,r.useState)(0),[z,M]=(0,r.useState)([]),[O,D]=(0,r.useState)(1),I=e=>{T(t=>t-e)},N=(null==e?void 0:e.avatar)||!1,L=l.A.get()?l.A.get().token:null,P=async()=>
1{if(L){let{data:{stickersQuantity:e}}=await (0,h.ll)(L);T(e)}},F=l.A.get()&&l.A.get().campaignsUserGaveSticker?JSON.parse(l.A.get().campaignsUserGaveSticker):[],U=async()=>{let{data:{ads:e}}=await (0,f.ax)();M(e),_([...[,,,].fill(e)].flat())},B=async()=>{let{data:e}=await (0,g.M)(8,O);n(t=>[...t,...e.events]),k&&b(!1)};(0,r.useEffect)(()=>{B().then(()=>b(!1)),P(),z.length>0&&O&&_([...Array(3*O).fill(z)].flat())},[O]),(0,r.useEffect)(()=>{U()},[]);let R=(0,s.Ay)("Acompanhe de perto o <strong>progresso e a constante evolu\xe7\xe3o das intera\xe7\xf5es e do apoio que as vaquinhas est\xe3o recebendo.</strong>");return(0,i.jsx)(j.default,{grayBackground:!0,children:(0,i.jsxs)(o.Container,{children:[(0,i.jsx)(o.Row,{children:(0,i.jsx)(o.Col,{children:(0,i.jsx)(a.wn,{padding:[32,0],children:(0,i.jsx)(m.A,{name:"LINHA DO TEMPO",title:"Acontecendo agora",info:R,alignItems:"flex-start",alignInfo:"left"})})})}),(0,i.jsx)(o.Row,{children:(0,i.jsx)(v.A,{md:4,count:15,height:382,loading:k,children:t.length&&t.map((e,n)=>(0,i.jsxs)(r.Fragment,{children:[0!==n&&n%5==0&&n!==t.length-1&&C.length>0&&(0,i.jsx)(o.Col,{md:4,sm:12,children:(0,i.jsx)(c.A,{spacingSize:"xl",spacingPosition:"onlyBottom",flex:!0,justifyContent:"center",children:(0,i.jsx)(d.A,{event:C[n/5-1]})})}),(0,i.jsx)(o.Col,{md:4,sm:12,children:(0,i.jsx)(c.A,{spacingSize:"xl",spacingPosition:"onlyBottom",flex:!0,justifyContent:"center",children:(0,i.jsx)(u.A,{cardTracking:S,event:e,onStickerDonation:I,defaultUserStickerQuantity:E,loggedUserAvatar:N,token:L,loggedUserAlreadyGaveSticker:null==F?void 0:F.includes(e.campaignSlug),utmInternalSource:"events_timeline_card"})})})]},null==e?void 0:e.id))})}),(0,i.jsx)(o.Row,{justifyContent:"center",children:(0,i.jsx)(o.Col,{md:4,children:(0,i.jsx)(x,{children:(0,i.jsx)(p.A,{size:"large",block:!0,onClick:()=>{D(e=>e+1)},isLoading:k,children:"Veja mais novidades"})})})})]})})}},73567:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});for(var i,r=256,a=[];r--;)a[r]=(r+256).toString(16).substring(1);function o(e){var t=0,n=e||11;if(!i||r+n>512)for(i="",r=0;t<256;t++)i+=a[256*Math.random()|0];return i.substring(r,r+++n)}}},e=>{e.O(0,[1170,888,4928,7044,8787,5222,9886,3078,6759,4208,5433,1137,2503,4117,3457,6955,1249,636,6593,8792],()=>e(e.s=59536)),_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.