1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[46,3056,5525],{93056:function(e,n,t){t.r(n);var i=t(85893),o=t(96193),r=t(67294),a=t(75525),l=t(45752);n.default=e=>{let n=(0,o.Z)(e),t=(null==e?void 0:e.data)||n,c=(0,r.useRef)(null),s=(0,r.useRef)(null),[d,u]=(0,r.useState)(!1),[p,f]=(0,r.useState)(!1),[m,g]=(0,r.useState)({}),{id:h,marquees:b=[],title:x="",buttonTitle:_="",buttonLink:v="",button:k=!1}=t,w="blossom-marquees-t9",j=d?[...b,...b]:b;(0,r.useEffect)(()=>{let checkIfScrollNeeded=()=>{if(c.current&&s.current){let e=c.current.offsetWidth,n=s.current.querySelectorAll('[data-name="Marquee Logo"]'),t=0;n.forEach(e=>{t+=e.offsetWidth+32}),n.length>0&&(t-=32);let i=t>e;i!==d&&f(!1),u(i),i?setTimeout(()=>f(!0),200):f(!0)}};checkIfScrollNeeded(),window.addEventListener("resize",checkIfScrollNeeded);let e=setTimeout(checkIfScrollNeeded,500);return()=>{window.removeEventListener("resize",checkIfScrollNeeded),clearTimeout(e)}},[b,d]);let fetchSvgContent=async e=>{try{var n;let t=await fetch(e);if(t.ok&&(null===(n=t.headers.get("content-type"))||void 0===n?void 0:n.includes("svg")))return await t.text()}catch(e){console.warn("Failed to fetch SVG:",e)}return""};return(0,r.useEffect)(()=>{let loadSvgContents=async()=>{let e=b.filter(e=>(null==e?void 0:e.icon)&&"string"==typeof e.icon&&e.icon.startsWith("https://")).map(e=>e.icon);if(0===e.length)return;let n=e.map(async e=>{let n=await fetchSvgContent(e);return n&&g(t=>({...t,[e]:n})),{url:e,content:n}});await Promise.all(n)};b.length>0&&loadSvgContents()},[b]),(0,i.jsxs)(a.StyledBlossomMarquees,{className:w,id:h,"data-name":"Blossom marquees",children:[(0,i.jsxs)(a.MainFrame,{className:"".concat(w,"__main-frame"),"data-name":"Main frame",children:[x&&(0,i.jsx)(l.ZT,{as:"p",className:"".concat(w,"__text"),children:x}),b.length>0&&(0,i.jsx)(a.LogosWrapper,{className:"".concat(w,"__logos-wrapper"),ref:c,$needsScroll:d,children:(0,i.jsx)(a.LogosContainer,{ref:s,className:"".concat(w,"__logos"),"data-name":"Marquees",$needsScroll:d,$isReady:p,children:j.filter(e=>(null==e?void 0:e.status)!=="DISABLED").map((e,n)=>{var t,o;return(0,i.jsx)(a.LogoItem,{className:"".concat(w,"__logo-item"),"data-name":"Marquee Logo",children:(0,i.jsx)(a.LogoImage,{dangerouslySetInnerHTML:{__html:(null===(t=e.icon)||void 0===t?void 0:t.startsWith("https://"))?m[e.icon]||"":null!==(o=e.icon)&&void 0!==o?o:""}})},"".concat((null==e?void 0:e.name)||(null==e?void 0:e.id)||n,"-").concat(n))})})})]}),k&&(0,i.jsx)(a.LinkContainer,{className:"".concat(w,"__link"),"data-name":"Link",children:(0,i.jsx)(l.rU,{href:v,children:_})})]})}},75525:function(e,n,t){t.r(n),t.d(n,{LinkContainer:function(){return d},LogoImage:function(){return p},LogoItem:function(){return u},LogosContainer:function(){return s},LogosWrapper:function(){return c},MainFrame:function(){return l},StyledBlossomMarquees:function(){return a},designTokens:function(){return r}});var i=t(82729),o=t(14141);function _templateObject(){let e=(0,i._)(["\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n width: 100%;\n overflow: hidden;\n padding: ",";\n background: ",";\n\n @media (max-width: ",") {\n padding: ",";\n }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,i._)(["\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: flex-start;\n gap: ",";\n padding: 112px 0 8px 0;\n flex-shrink: 0;\n width: 100%;\n\n @media (max-width: ",") {\n gap: ",";\n }\n"]);return _templateObject1=function(){return e},e}function _templateObject2(){let e=(0,i._)(["\n width: 100%;\n overflow: ",";\n position: relative;\n mask: ",";\n -webkit-mask: ",";\n"]);return _templateObject2=function(){return e},e}function _templateObject3(){let e=(0,i._)(["\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ",";\n gap: ",";\n padding: 0;\n position: relative;\n flex-shrink: 0;\n width: ",";\n animation: ",";\n transition: justify-content 0.3s ease, width 0.3s ease;\n\n @keyframes scroll-infinite {\n from {\n transform: translateX(0%);\n }\n to {\n transform: translateX(-50%);\n }\n }\n\n &:hover {\n animation-play-state: ",";\n }\n\n @media (max-width: ",") {\n gap: ",";\n animation-duration: ",";\n }\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n"]);
1return _templateObject3=function(){return e},e}function _templateObject4(){let e=(0,i._)(["\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n position: relative;\n flex-shrink: 0;\n border-radius: 40px;\n gap: 4px;\n padding-top: 16px;\n"]);return _templateObject4=function(){return e},e}function _templateObject5(){let e=(0,i._)(["\n height: ",";\n overflow: hidden;\n position: relative;\n flex-shrink: 0;\n width: ",";\n min-width: 120px; /* Asegurar ancho m\xednimo visible */\n display: flex;\n align-items: center;\n justify-content: center;\n"]);return _templateObject5=function(){return e},e}function _templateObject6(){let e=(0,i._)(["\n width: 100%;\n height: 100%;\n svg {\n width: 100%;\n height: 100%;\n }\n"]);return _templateObject6=function(){return e},e}let r={colors:{textPrimary:"#001D3D",background:"transparent"},typography:{desktop:{body:{fontFamily:"GreycliffCF",fontSize:"18px",fontWeight:500,lineHeight:"normal"}},mobile:{body:{fontFamily:"GreycliffCF",fontSize:"14px",fontWeight:500,lineHeight:"normal"}}},spacing:{desktop:{containerPadding:"16px 0 8px 0",gap:"32px",logoGap:"32px"},mobile:{containerPadding:"16px 0 8px 0",gap:"8px",logoGap:"32px"}},logo:{width:"148.02px",height:"76.14px"},breakpoints:{mobile:"768px"}},a=o.ZP.div.withConfig({componentId:"sc-158b718e-0"})(_templateObject(),r.spacing.desktop.containerPadding,r.colors.background,r.breakpoints.mobile,r.spacing.mobile.containerPadding),l=o.ZP.div.withConfig({componentId:"sc-158b718e-1"})(_templateObject1(),r.spacing.desktop.gap,r.breakpoints.mobile,r.spacing.mobile.gap),c=o.ZP.div.withConfig({componentId:"sc-158b718e-2"})(_templateObject2(),e=>{let{$needsScroll:n}=e;return n?"hidden":"visible"},e=>{let{$needsScroll:n}=e;return n?"linear-gradient(to right, transparent, black 2%, black 98%, transparent)":"none"},e=>{let{$needsScroll:n}=e;return n?"linear-gradient(to right, transparent, black 2%, black 98%, transparent)":"none"}),s=o.ZP.div.withConfig({componentId:"sc-158b718e-3"})(_templateObject3(),e=>{let{$needsScroll:n}=e;return n?"flex-start":"center"},r.spacing.desktop.logoGap,e=>{let{$needsScroll:n}=e;return n?"fit-content":"100%"},e=>{let{$needsScroll:n,$isReady:t}=e;return n&&t?"scroll-infinite 30s linear infinite":"none"},e=>{let{$needsScroll:n,$isReady:t}=e;return n&&t?"paused":"running"},r.breakpoints.mobile,r.spacing.mobile.logoGap,e=>{let{$needsScroll:n,$isReady:t}=e;return n&&t?"40s":"0s"}),d=o.ZP.div.withConfig({componentId:"sc-158b718e-4"})(_templateObject4()),u=o.ZP.div.withConfig({componentId:"sc-158b718e-5"})(_templateObject5(),r.logo.height,r.logo.width),p=o.ZP.div.withConfig({componentId:"sc-158b718e-6"})(_templateObject6())},50046:function(e,n,t){t.r(n),t.d(n,{BlossomMarqueesT9:function(){return i.default}});var i=t(93056)}}]);
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.