PageSourceSearch

https://bdmdigital.com.br/_next/static/chunks/7013.9eed3888c1ac9c69.js

js bdmdigital.com.br collected 2026-10-09 21:46:03 UTC 8,735 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6473,6889,7013,9610],{6889:(e,t,a)=>{a.r(t),a.d(t,{Container:()=>n,Placeholder:()=>l,Text:()=>i,Title:()=>o});var r=a(59694);let n=r.Ay.section.withConfig({componentId:"sc-85dfc6bb-0"})(["background-color:#080b12;min-height:100vh;min-height:100svh;"," canvas{-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 62%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 62%,transparent 100%);}"],e=>{let{backgroundimage:t}=e;return t&&(0,r.AH)(["background-image:url(",");background-position:center;background-size:cover;background-repeat:no-repeat;"],t)}),l=r.Ay.img.withConfig({componentId:"sc-85dfc6bb-1"})([""]),o=r.Ay.h2.withConfig({componentId:"sc-85dfc6bb-2"})(["line-height:1.08;letter-spacing:-0.035em;p,span{font-size:inherit !important;line-height:inherit !important;}b,strong{font-weight:900;}"]),i=r.Ay.p.withConfig({componentId:"sc-85dfc6bb-3"})(["line-height:1.65;p,span{font-size:inherit !important;line-height:inherit !important;}"])},29610:(e,t,a)=>{a.r(t),a.d(t,{default:()=>i});var r=a(95155),n=a(12115);let l="250, 204, 21",o=()=>{let e=["circle","square","triangle"];return e[Math.floor(Math.random()*e.length)]},i=()=>{let e=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=e.current,a=null==t?void 0:t.parentElement,r=null==t?void 0:t.getContext("2d");if(!t||!a||!r)return;let n=window.matchMedia("(prefers-reduced-motion: reduce)").matches,i={active:!1,x:-1e3,y:-1e3},s=[],c=0,d=0,u=0,h=!0,m=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Math.random()*c,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Math.random()*d,a=arguments.length>2?arguments[2]:void 0,r=a?2.4:.55+.55*Math.random(),n=Math.random()*Math.PI*2;return{x:e,y:t,vx:Math.cos(n)*r,vy:Math.sin(n)*r,size:a?2+4*Math.random():1.5+3*Math.random(),rotation:Math.random()*Math.PI*2,rotationSpeed:(Math.random()-.5)*.018,opacity:.28+.42*Math.random(),shape:o(),life:a}},g=e=>{var t;let a=e.opacity*(null!=(t=e.life)?t:1);r.save(),r.translate(e.x,e.y),r.rotate(e.rotation),r.beginPath(),"circle"===e.shape?r.arc(0,0,e.size,0,2*Math.PI):"square"===e.shape?r.rect(-e.size,-e.size,2*e.size,2*e.size):(r.moveTo(0,-(1.25*e.size)),r.lineTo(1.1*e.size,e.size),r.lineTo(-(1.1*e.size),e.size),r.closePath()),r.fillStyle="rgba(".concat(l,", ").concat(.34*a,")"),r.strokeStyle="rgba(".concat(l,", ").concat(a,")"),r.lineWidth=1,r.fill(),r.stroke(),r.restore()},f=e=>{r.clearRect(0,0,c,d);for(let e=0;e<s.length;e+=1)for(let t=e+1;t<s.length;t+=1){let a=s[e],n=s[t],o=Math.hypot(a.x-n.x,a.y-n.y);if(o<120){let e=(1-o/120)*.18;r.beginPath(),r.moveTo(a.x,a.y),r.lineTo(n.x,n.y),r.strokeStyle="rgba(".concat(l,", ").concat(e,")"),r.lineWidth=.75,r.stroke()}}s.forEach(t=>{if(e){if(i.active){let e=t.x-i.x,a=t.y-i.y,r=Math.hypot(e,a);if(r>0&&r<150){let n=(1-r/150)*.035;t.vx+=e/r*n,t.vy+=a/r*n}}t.vx*=.995,t.vy*=.995,t.x+=t.vx,t.y+=t.vy,t.rotation+=t.rotationSpeed,t.x<-10&&(t.x=c+10),t.x>c+10&&(t.x=-10),t.y<-10&&(t.y=d+10),t.y>d+10&&(t.y=-10),void 0!==t.life&&(t.life-=.014)}g(t)}),s=s.filter(e=>void 0===e.life||e.life>0)},x=()=>{h&&f(!0),u=window.requestAnimationFrame(x)},p=()=>{let e=a.getBoundingClientRect(),n=Math.min(window.devicePixelRatio||1,2);c=Math.max(1,Math.round(e.width)),d=Math.max(1,Math.round(e.height)),t.width=Math.round(c*n),t.height=Math.round(d*n),t.style.width="".concat(c,"px"),t.style.height="".concat(d,"px"),r.setTransform(n,0,0,n,0,0),s=Array.from({length:c<768?28:Math.min(72,Math.max(44,Math.round(c*d/18e3)))},()=>m()),f(!1)},v=e=>{let t=a.getBoundingClientRect();return{x:e.clientX-t.left,y:e.clientY-t.top}},b=e=>{let t=v(e);i.active=!0,i.x=t.x,i.y=t.y},y=()=>{i.active=!1},w=e=>{let t=v(e);s.push(...Array.from({length:8},()=>m(t.x,t.y,1)))},k=new ResizeObserver(p),M=new IntersectionObserver(e=>{let[t]=e;h=t.isIntersecting},{threshold:.01});return k.observe(a),M.observe(a),p(),n||(a.addEventListener("pointermove",b),a.addEventListener("pointerleave",y),a.addEventListener("click",w),u=window.requestAnimationFrame(x)),()=>{window.cancelAnimationFrame(u),k.disconnect(),M.disconnect(),a.removeEventListener("pointermove",b),a.removeEventListener("pointerleave",y),a.removeEventListener("click",w)}},[]),(0,r.jsx)("canvas",{ref:e,"aria-hidden":"true",className:"pointer-events-none absolute inset-0 z-[1] h-full w-full"})}},31749:(e,t,a)=>{a.d(t,{u:()=>n});var r=a(58714);let n=async e=>(0,r.oE)(e)},47013:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var r=a(95155),n=a(12115),l=a(6889),o=a(73899),i=a(31749),s=a(66766),c=a(29300),d=a.n(c),u=a(29610);let h=e=>
1{let[t,a]=(0,n.useState)(!1),c=(0,n.useRef)(null),[h,m]=(0,n.useState)({backgroundimage:"",video:"",leftimage:"",rightImage:""}),g=!!(e.particles&&"0"!==e.particles),f=(0,n.useCallback)(async()=>{try{let[t,a,r,n]=await Promise.all([e.backgroundimage?(0,i.u)(e.backgroundimage):Promise.resolve(null),e.media?(0,i.u)(e.media):Promise.resolve(null),e.leftimage?(0,i.u)(e.leftimage):Promise.resolve(null),e.rightImage?(0,i.u)(e.rightImage):Promise.resolve(null)]);m({backgroundimage:(null==t?void 0:t.source_url)||"",video:(null==a?void 0:a.source_url)||"",leftimage:(null==r?void 0:r.source_url)||"",rightImage:(null==n?void 0:n.source_url)||""})}catch(e){}},[e.backgroundimage,e.media,e.leftimage,e.rightImage]);return(0,n.useEffect)(()=>{f()},[f]),(0,n.useEffect)(()=>{let e=new IntersectionObserver(e=>{let[t]=e;if(t.isIntersecting){var a;null==(a=c.current)||a.load()}},{threshold:.25}),t=c.current;return t&&e.observe(t),()=>{t&&e.unobserve(t)}},[]),(0,r.jsxs)(l.Container,{backgroundimage:g||null==h?void 0:h.backgroundimage,className:d()("hero w-full py-24 flex flex-col items-center justify-center relative overflow-hidden",e.classname),children:[g&&(0,r.jsx)(u.default,{}),!g&&!h.backgroundimage&&h.video&&(0,r.jsxs)(r.Fragment,{children:[!t&&e.placeholder&&(0,r.jsx)(l.Placeholder,{loading:"lazy",src:e.placeholder,alt:e.title,className:"opacity-25 block w-full h-full object-cover absolute top-0 left-0 z-0"}),(0,r.jsx)("video",{ref:c,src:h.video,className:"opacity-25 block w-full h-full object-cover absolute top-0 left-0 z-0 ".concat(t?"loaded":""),autoPlay:!0,loop:!0,muted:!0,onLoadedData:()=>a(!0),preload:"none"})]}),!g&&h.backgroundimage&&(0,r.jsx)(l.Placeholder,{loading:"lazy",src:h.backgroundimage,alt:e.title,className:"z-1 opacity-25 block w-full h-full object-cover absolute top-0 left-0"}),h.leftimage&&(0,r.jsx)("div",{className:"absolute left-0 top-1/2 -translate-y-1/2 w-[400px] h-[400px] overflow-hidden -ml-[200px] rounded-lg md:w-[600px] md:h-[600px] md:-ml-[300px] lg:w-[700px] lg:h-[700px] lg:-ml-[350px] hidden md:block",children:(0,r.jsx)(s.default,{src:h.leftimage,alt:"Left decorative image",layout:"fill",objectFit:"cover",quality:100,className:"rounded-lg shadow-lg"})}),h.rightImage&&(0,r.jsx)("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 w-[400px] h-[400px] overflow-hidden -mr-[200px] rounded-lg md:w-[600px] md:h-[600px] md:-mr-[300px] lg:w-[700px] lg:h-[700px] lg:-mr-[350px] hidden md:block",children:(0,r.jsx)(s.default,{src:h.rightImage,alt:"Right decorative image",layout:"fill",objectFit:"cover",quality:100,className:"rounded-lg shadow-lg"})}),(0,r.jsxs)("div",{className:"container relative m-auto flex flex-col gap-8 md:gap-10 items-center justify-center text-center max-w-5xl px-4 z-[2]",children:[e.title&&(0,r.jsx)(l.Title,{className:"text-3xl md:text-4xl lg:text-5xl",dangerouslySetInnerHTML:{__html:e.title}}),e.text&&(0,r.jsx)(l.Text,{className:"text-base lg:text-lg max-w-3xl",dangerouslySetInnerHTML:{__html:e.text}}),e.btnLabel&&e.url&&(0,r.jsx)(o.default,{effect:e.btnAnimation,radius:999,tag:"a",href:e.url,className:e.btnClass,children:e.btnLabel})]})]})}},56473:(e,t,a)=>{a.r(t),a.d(t,{Container:()=>n});var r=a(59694);let n=r.Ay.button.withConfig({componentId:"sc-d05d3d9-0"})(["border-radius:4px;text-align:center;cursor:pointer;","   &.--primary{color:black;background:var(--Dourado-Exchange-Dourado-Boto,linear-gradient(93deg,"," 1.67%,"," 83.65%));}&.--secondary{color:white;border:1px white solid;background:transparent;}"],e=>{let{radius:t}=e;return t&&(0,r.AH)(["border-radius:","px;"],t)},e=>e.theme._colors.primary.bdm1,e=>e.theme._colors.primary.bdm2)},73899:(e,t,a)=>{a.r(t),a.d(t,{default:()=>s});var r=a(95155),n=a(12115),l=a(56473),o=a(29300),i=a.n(o);function s(e){let{href:t,radius:a,className:o,effect:s,tag:c="button",children:d}=e,[u,h]=(0,n.useState)(!1);return(0,r.jsx)(l.Container,{radius:a,href:t,className:i()("button inline-flex items-center justify-center whitespace-nowrap font-bold text-center text-base px-8 py-3",o,{animate__animated:u,["animate__".concat(s)]:u&&s}),as:c,onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),children:d})}}}]);

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.