PageSourceSearch

https://www.anciber.pt/_next/static/chunks/0mtdy9hsaqddp.js

js anciber.pt collected 2026-10-08 07:05:20 UTC 32,388 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71737,e=>{"use strict";var t=e.i(71645);e.s(["useScrollReveal",0,function(e={}){let{threshold:r=.1,rootMargin:a="0px",triggerOnce:i=!0}=e,n=(0,t.useRef)(null),[s,o]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(([r])=>{r.isIntersecting?(o(!0),i&&t.unobserve(e)):i||o(!1)},{threshold:r,rootMargin:a});return t.observe(e),()=>t.disconnect()},[r,a,i]),{ref:n,isVisible:s}}])},98879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return o}});let a=e.r(71645),i="u"<typeof window,n=i?()=>{}:a.useLayoutEffect,s=i?()=>{}:a.useEffect;function o(e){let{headManager:t,reduceComponentsToState:r}=e;function o(){if(t&&t.mountedInstances){let e=a.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(r(e))}}return i&&(t?.mountedInstances?.add(e.children),o()),n(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),n(()=>(t&&(t._pendingUpdate=o),()=>{t&&(t._pendingUpdate=o)})),s(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return p},defaultHead:function(){return u}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(55682),s=e.r(90809),o=e.r(43476),l=s._(e.r(71645)),c=n._(e.r(98879)),d=e.r(42732);function u(){return[(0,o.jsx)("meta",{charSet:"utf-8"},"charset"),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function m(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let f=["name","httpEquiv","charSet","itemProp"];function h(e){let t,r,a,i;return e.reduce(m,[]).reverse().concat(u().reverse()).filter((t=new Set,r=new Set,a=new Set,i={},e=>{let n=!0,s=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){s=!0;let r=e.key.slice(e.key.indexOf("$")+1);t.has(r)?n=!1:t.add(r)}switch(e.type){case"title":case"base":r.has(e.type)?n=!1:r.add(e.type);break;case"meta":for(let t=0,r=f.length;t<r;t++){let r=f[t];if(e.props.hasOwnProperty(r))if("charSet"===r)a.has(r)?n=!1:a.add(r);else{let t=e.props[r],a=i[r]||new Set;("name"!==r||!s)&&a.has(t)?n=!1:(a.add(t),i[r]=a)}}}return n})).reverse().map((e,t)=>{let r=e.key||t;return l.default.cloneElement(e,{key:r})})}let p=function({children:e}){let t=(0,l.useContext)(d.HeadManagerContext);return(0,o.jsx)(c.default,{reduceComponentsToState:h,headManager:t,children:e})};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},88143,(e,t,r)=>{"use strict";function a({widthInt:e,heightInt:t,blurWidth:r,blurHeight:i,blurDataURL:n,objectFit:s}){let o=r?40*r:e,l=i?40*i:t,c=o&&l?`viewBox='0 0 ${o} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${c}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${c?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${n}'/%3E%3C/svg%3E`}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImageBlurSvg",{enumerable:!0,get:function(){return a}})},87690,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={VALID_LOADERS:function(){return n},imageConfigDefault:function(){return s}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=["default","imgix","cloudinary","akamai","custom"],s={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,
1contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"getImgProps",{enumerable:!0,get:function(){return c}}),e.r(33525);let a=e.r(43369),i=e.r(88143),n=e.r(87690),s=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c({src:e,sizes:t,unoptimized:r=!1,priority:d=!1,preload:u=!1,loading:m,className:f,quality:h,width:p,height:x,fill:g=!1,style:b,overrideSrc:v,onLoad:w,onLoadingComplete:y,placeholder:j="empty",blurDataURL:N,fetchPriority:C,decoding:_="async",layout:S,objectFit:E,objectPosition:P,lazyBoundary:k,lazyRoot:O,...R},z){var M;let I,$,L,{imgConf:A,showAltText:B,blurComplete:T,defaultLoader:D}=z,F=A||n.imageConfigDefault;if("allSizes"in F)I=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),r=F.qualities?.sort((e,t)=>e-t);I={...F,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===D)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let q=R.loader||D;delete R.loader,delete R.srcSet;let U="__next_img_default"in q;if(U){if("custom"===I.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=q;q=t=>{let{config:r,...a}=t;return e(a)}}if(S){"fill"===S&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];e&&(b={...b,...e});let r={responsive:"100vw",fill:"100vw"}[S];r&&!t&&(t=r)}let W="",V=l(p),H=l(x);if((M=e)&&"object"==typeof M&&(o(M)||void 0!==M.src)){let t=o(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if($=t.blurWidth,L=t.blurHeight,N=N||t.blurDataURL,W=t.src,!g)if(V||H){if(V&&!H){let e=V/t.width;H=Math.round(t.height*e)}else if(!V&&H){let e=H/t.height;V=Math.round(t.width*e)}}else V=t.width,H=t.height}let G=!d&&!u&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:W)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,G=!1),I.unoptimized&&(r=!0),U&&!I.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let Y=l(h),X=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:P}:{},B?{}:{color:"transparent"},b),J=T||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:V,heightInt:H,blurWidth:$,blurHeight:L,blurDataURL:N||"",objectFit:X.objectFit})}")`:`url("${j}")`,K=s.includes(X.objectFit)?"fill"===X.objectFit?"100% 100%":"cover":X.objectFit,Q=J?{backgroundSize:K,backgroundPosition:X.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Z=function({config:e,src:t,unoptimized:r,width:i,quality:n,sizes:s,loader:o}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,a.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let a=new URLSearchParams(t.slice(r+1));a.get("dpl")||(a.append("dpl",e),t=t.slice(0,r)+"?"+a.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:c}=function({deviceSizes:e,allSizes:t},r,a){if(a){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(a);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,s),d=l.length-1;return{sizes:s||"w"!==c?s:"100vw",srcSet:l.map((r,a)=>`${o({config:e,src:t,quality:n,width:r})} ${"w"===c?r:a+1}${c}`).join(", "),src:o({config:e,src:t,quality:n,width:l[d]})}}({config:I,src:e,unoptimized:r,width:V,quality:Y,sizes:t,loader:q}),ee=G?"lazy":m;return{props:{...R,loading:ee,fetchPriority:C,width:V,height:H,decoding:_,className:f,style:{...X,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:v||Z.src},meta:{unoptimized:r,preload:u||d,placeholder:j,fill:g}}}},18556,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"ImageConfigContext",{enumerable:!0,get:function(){return n}});let a=e.r(55682)._(e.r(71645)),i=e.r(87690),n=a.default.createContext(i.imageConfigDefault)},65856,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"RouterContext",{enumerable:!0,get:function(){return a}});let a=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,r)=>{"use strict";function a(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"findClosestQuality",{enumerable:!0,get:function(){return a}})},1948,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return s}});let a=e.r(70965),i=e.r(43369);function n({config:e,src:t,width:r,quality:s}){let o=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),a=r.get("dpl");if(a){o=a,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,a.findClosestQuality)(s,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&o?`&dpl=${o}`:""}`}n.__next_img_default=!0;let s=n},5500,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"Image",{enumerable:!0,get:function(){return w}});let a=e.r(55682),i=e.r(90809),n=e.r(43476),s=i._(e.r(71645)),o=a._(e.r(74080)),l=a._(e.r(25633)),c=e.r(8927),d=e.r(87690),u=e.r(18556);e.r(33525);let m=e.r(65856),f=a._(e.r(1948)),h=e.r(18581),p={deviceSizes:[640,750,828,1080,1200,1920],imageSizes:[16,32,48,64,96,128,256],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function x(e,t,r,a,i,n,s){let o=e?.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let a=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>a,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{a=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}a?.current&&a.current(e)}}))}function g(e){return s.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,s.forwardRef)(({src:e,srcSet:t,sizes:r,height:a,width:i,decoding:o,className:l,style:c,fetchPriority:d,placeholder:u,loading:m,unoptimized:f,fill:p,onLoadRef:b,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:y,sizesInput:j,onLoad:N,onError:C,..._},S)=>{let E=(0,s.useCallback)(e=>{e&&(C&&(e.src=e.src),e.complete&&x(e,u,b,v,w,f,j))},[e,u,b,v,w,C,f,j]),P=(0,h.useMergedRef)(S,E);return(0,n.jsx)("img",{..._,...g(d),loading:m,width:i,height:a,decoding:o,"data-nimg":p?"fill":"1",className:l,style:c,sizes:r,srcSet:t,src:e,ref:P,onLoad:e=>{x(e.currentTarget,u,b,v,w,f,j)},onError:e=>{y(!0),"empty"!==u&&w(!0),C&&C(e)}})});function v({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&o.default.preload?(o.default.preload(t.src,r),null):(0,n.jsx)(l.default,{children:(0,n.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,s.forwardRef)((e,t)=>{let r=(0,s.useContext)(m.RouterContext),a=(0,s.useContext)(u.ImageConfigContext),i=(0,s.useMemo)(()=>{let e=p||a||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
3e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:"u"<typeof window?a?.localPatterns:e.localPatterns}},[a]),{onLoad:o,onLoadingComplete:l}=e,h=(0,s.useRef)(o);(0,s.useEffect)(()=>{h.current=o},[o]);let x=(0,s.useRef)(l);(0,s.useEffect)(()=>{x.current=l},[l]);let[g,w]=(0,s.useState)(!1),[y,j]=(0,s.useState)(!1),{props:N,meta:C}=(0,c.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:g,showAltText:y});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{...N,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:h,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:j,sizesInput:e.sizes,ref:t}),C.preload?(0,n.jsx)(v,{isAppRouter:!r,imgAttributes:N}):null]})});("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},94909,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return d},getImageProps:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let n=e.r(55682),s=e.r(8927),o=e.r(5500),l=n._(e.r(1948));function c(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920],imageSizes:[16,32,48,64,96,128,256],qualities:[75],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 d=o.Image},57688,(e,t,r)=>{t.exports=e.r(94909)},74629,e=>{"use strict";e.s(["trackEvent",0,function(e,t){window.gtag?.("event",e,t)}])},66639,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(74629);e.s(["default",0,function({variant:e="default"}){let i="footer"===e,[n,s]=(0,r.useState)(""),[o,l]=(0,r.useState)(""),c=(0,r.useRef)(null);(0,r.useEffect)(()=>{c.current??=Date.now()},[]);let[d,u]=(0,r.useState)("idle"),[m,f]=(0,r.useState)("Erro ao subscrever. Tenta novamente."),h=async e=>{if(e.preventDefault(),n){u("loading"),f("Erro ao subscrever. Tenta novamente.");try{let e=await fetch("/api/newsletter",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:n,website:o,t:c.current??Date.now()})});if(e.ok)u("success"),s(""),(0,a.trackEvent)("generate_lead",{form:"newsletter"});else{let t=await e.json().catch(()=>({}));f(t.error||"Erro ao subscrever. Tenta novamente."),u("error")}}catch{f("Sem ligação. Tenta novamente."),u("error")}}};return"success"===d?i?(0,t.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,t.jsx)("svg",{className:"w-5 h-5 shrink-0 text-emerald-400 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),(0,t.jsxs)("p",{className:"text-sm text-gray-300",children:[(0,t.jsx)("span",{className:"font-semibold text-white",children:"Falta só um passo."})," Enviámos-te um email para confirmares a subscrição. Verifica a caixa de entrada (e o spam)."]})]}):(0,t.jsxs)("div",{className:"max-w-md mx-auto text-center",children:[(0,t.jsx)("div",{className:"w-12 h-12 mx-auto mb-4 rounded-full bg-emerald-50 flex items-center justify-center",children:(0,t.jsx)("svg",{className:"w-6 h-6 text-emerald-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),(0,t.jsx)("p",{className:"text-[var(--anciber-dark)] font-semibold mb-2",children:"Falta só um passo"}),(0,t.jsx)("p",{className:"text-sm text-[var(--anciber-gray)]",children:"Enviámos-te um email para confirmares a subscrição. Verifica a caixa de entrada (e o spam)."})]}):(0,t.jsxs)("div",{className:i?"":"max-w-md mx-auto",children:[(0,t.jsxs)("form",{onSubmit:h,className:i?"flex gap-2":"flex flex-col sm:flex-row gap-3",children:[(0,t.jsx)("input",{type:"text",name:"website",value:o,onChange:e=>l(e.target.value),className:"hidden",tabIndex:-1,autoComplete:"off","aria-hidden":"true"}),(0,t.jsx)("input",{type:"email",value:n,onChange:e=>{s(e.target.value),"error"===d&&u("idle")},placeholder:"O teu email",required:!0,"aria-label":"Endereço de email para newsletter","aria-describedby":"error"===d?"newsletter-error":void 0,"aria-invalid":"error"===d,className:i?"w-full px-3.5 py-2.5 rounded-sm bg-white/5 border border-white/15 text-white placeholder:text-gray-500 focus:border-[var(--anciber-primary)] focus:ring-1 focus:ring-[var(--anciber-primary)]/40 outline-none transition-colors text-sm":"flex-1 px-4 py-3 border border-[var(--anciber-border)] focus:border-[var(--anciber-primary)] focus:ring-1 focus:ring-[var(--anciber-primary)]/20 outline-none transition-colors text-sm"}),(0,t.jsx)("button",{type:"submit",disabled:"loading"===d,className:i?"px-4 py-2.5 rounded-sm bg-[var(--anciber-primary)] text-white font-semibold hover:bg-[var(--anciber-secondary)] transition-colors disabled:opacity-50 text-sm whitespace-nowrap":"px-6 py-3 bg-[var(--anciber-primary)] text-white font-semibold hover:bg-[var(--anciber-secondary)] transition-colors disabled:opacity-50 text-sm whitespace-nowrap",children:"loading"===d?i?"...":"A enviar...":"Subscrever"})]}),"error"===d&&(0,t.jsxs)("div",{className:"mt-2 flex items-center justify-between gap-3",role:"alert","aria-live":"polite",id:"newsletter-error",children:[(0,t.jsx)("p",{className:i?"text-xs text-red-400":"text-xs text-[var(--anciber-accent)]",children:m}),(0,t.jsx)("button",{onClick:()=>u("idle"),className:i?"text-xs text-gray-300 font-medium hover:underline whitespace-nowrap":"text-xs text-[var(--anciber-primary)] font-medium hover:underline whitespace-nowrap",children:"Tentar novamente"})]})]})}])},13642,e=>{"use strict";var t=e.i(43476),r=e.i(22016),a=e.i(57688),i=e.i(71737),n=e.i(51479),s=e.i(66639);let o=[{name:"Início",href:"/"},{name:"Sobre",href:"/sobre"},{name:"Programa",href:"/programa"},{name:"Formação",href:"/formacao"},{name:"Materiais",href:"/s3cpack"},{name:"Equipa",href:"/equipa"},{name:"Blog",href:"/blog"},{name:"Inscrição",href:"/#inscricao"}],l=[{name:"Política de Privacidade",href:"/politica-privacidade"},{name:"Termos de Utilização",href:"/termos"},{name:"Política de Cookies",href:"/politica-cookies"},{name:"Livro de Reclamações",href:"https://www.livroreclamacoes.pt/",external:!0},{name:"Resolução de Litígios",href:"https://www.centroarbitragemlisboa.pt/",external:!0}],c=[{name:"Facebook",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M18.77,7.46H14.5v-1.9c0-.9.6-1.1,1-1.1h3V.5L14.5.5C10.45.5,9.5,3.38,9.5,5.32v2.15H6.77v4.03h2.73V24h5v-12h3.85l.42-4.03Z"})}),href:"https://www.facebook.com/anciber.pt"},{name:"LinkedIn",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})}),href:"https://www.linkedin.com/company/anciber"},{name:"Instagram",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zM12 0C8.741 0 8.333.014 7.053.072 2.695.272.273 2.69.073 7.052.014 8.333 0 8.741 0 12c0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98C8.333 23.986 8.741 24 12 24c3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98C15.668.014 15.259 0 12 0zm0 5.838a6.162 6.162 0 100 12.324 6.162 6.162 0 000-12.324zM12 16a4 4 0 110-8 4 4 0 010 8zm6.406-11.845a1.44 1.44 0 100 2.881 1.44 1.44 0 000-2.881z"})}),href:"https://www.instagram.com/anciber.pt"},{name:"YouTube",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})}),href:"https://www.youtube.com/@anciber"}];e.s(["default",0,function(){let{ref:e,isVisible:d}=(0,i.useScrollReveal)({threshold:.1});return(0,t.jsxs)("footer",{ref:e,className:"bg-[#1e232b] relative pb-16 lg:pb-0",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 py-20",children:[(0,t.jsxs)("div",{className:`grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 transition-[opacity,transform] duration-[600ms] ease-[cubic-bezier(0.16,1,0.3,1)] ${d?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:[(0,t.jsxs)("div",{className:"lg:col-span-2",children:[(0,t.jsxs)(r.default,{href:"/",className:"inline-flex items-center gap-3 mb-6",children:[(0,t.jsx)("div",{className:"relative w-12 h-12",children:(0,t.jsx)(a.default,{src:"/images/logoAnciber-white.svg",alt:"ANCIBER Logo",fill:!0,className:"object-contain"})}),(0,t.jsx)("span",{className:"font-mono text-2xl font-bold uppercase tracking-wider text-white",children:"ANCIBER"})]}),(0,t.jsxs)("p",{className:"text-gray-400 max-w-md leading-relaxed mb-8",children:["Academia Nacional de Cibersegurança - Formando profissionais de cibersegurança desde ",n.siteConfig.foun
3dedYear,". Mais de"," ",n.siteConfig.studentsCount," formandos e ",n.siteConfig.editionsCompleted," ","edições de sucesso."]}),(0,t.jsx)("div",{className:"flex gap-3",children:c.map(e=>(0,t.jsx)("a",{href:e.href,className:"w-11 h-11 rounded border border-white/10 flex items-center justify-center text-gray-400 hover:bg-[var(--anciber-primary)] hover:text-white hover:border-[var(--anciber-primary)] transition-colors duration-300","aria-label":e.name,children:e.icon},e.name))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-mono text-xs uppercase tracking-[0.2em] text-white mb-6",children:"Navegação"}),(0,t.jsx)("ul",{className:"space-y-4",children:o.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"text-gray-400 hover:text-white hover:underline transition-colors",children:e.name})},e.name))})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-mono text-xs uppercase tracking-[0.2em] text-white mb-6",children:"Legal"}),(0,t.jsx)("ul",{className:"space-y-4",children:l.map(e=>(0,t.jsx)("li",{children:e.external?(0,t.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 text-gray-400 hover:text-white hover:underline transition-colors",children:[e.name,(0,t.jsx)("svg",{className:"w-3 h-3 opacity-60",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M14 5h5m0 0v5m0-5L10 14M9 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-3"})})]}):(0,t.jsx)(r.default,{href:e.href,className:"text-gray-400 hover:text-white hover:underline transition-colors",children:e.name})},e.name))}),(0,t.jsxs)("div",{className:"mt-8 p-4 border border-white/10 rounded",children:[(0,t.jsx)("p",{className:"text-sm text-gray-400 mb-3",children:"Mantém-te atualizado sobre novas edições"}),(0,t.jsx)(s.default,{variant:"footer"})]})]})]}),(0,t.jsx)("div",{className:`mt-16 pt-8 border-t border-white/10 transition-[opacity,transform] duration-[600ms] ease-[cubic-bezier(0.16,1,0.3,1)] delay-200 ${d?"opacity-100 translate-y-0":"opacity-0 translate-y-8"}`,children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,t.jsxs)("div",{className:"text-center md:text-left",children:[(0,t.jsxs)("p",{className:"text-gray-500 text-sm",suppressHydrationWarning:!0,children:["© ",new Date().getFullYear()," ANCIBER - Academia Nacional de Cibersegurança. Todos os direitos reservados."]}),(0,t.jsx)("p",{className:"text-gray-600 text-xs mt-1.5",children:"ANCIBER (Academia Nacional de Cibersegurança) é uma marca registada da CYBERSEC, Lda. · NIPC 515403504"}),(0,t.jsx)("p",{className:"text-gray-600 text-xs mt-0.5",children:"Passeio das Ilhas 3 Loja B, 2670-322 Loures · [email protected] · +351 215 944 726"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-500 text-sm",children:[(0,t.jsx)("span",{children:"Feito com"}),(0,t.jsx)("svg",{className:"w-4 h-4 text-[var(--anciber-accent)]",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z",clipRule:"evenodd"})}),(0,t.jsx)("span",{children:"em Portugal"})]})]})})]}),(0,t.jsx)("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"absolute bottom-8 right-8 w-12 h-12 rounded border border-white/10 bg-white/5 text-white flex items-center justify-center hover:bg-[var(--anciber-primary)] hover:border-[var(--anciber-primary)] transition-colors duration-300","aria-label":"Voltar ao topo",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 10l7-7m0 0l7 7m-7-7v18"})})})]})}])},2971,e=>{"use strict";var t=e.i(43476),r=e.i(71645),a=e.i(22016),i=e.i(57688),n=e.i(18566);let s=[{name:"Início",href:"/"},{name:"Sobre",href:"/sobre"},{name:"Programa",href:"/programa"},{name:"Formação",href:"/formacao"},{name:"Materiais",href:"/s3cpack"},{name:"Equipa",href:"/equipa"},{name:"Blog",href:"/blog"}];e.s(["default",0,function(){let[e,o]=(0,r.useState)(!1),[l,c]=(0,r.useState)(!1),d=(0,n.usePathname)();(0,r.useEffect)(()=>{let e=()=>{o(window.scrollY>20)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let[u,m]=(0,r.useState)(d);return u!==d&&(m(d),c(!1)),(0,t.jsx)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ease-[
3cubic-bezier(0.16,1,0.3,1)] ${e?"bg-white/75 backdrop-blur-xl backdrop-saturate-150 border-b border-[var(--anciber-border)]/60 shadow-[var(--shadow-sm)] py-1":"bg-transparent py-4"}`,children:(0,t.jsxs)("nav",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsxs)("div",{className:`flex items-center justify-between transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] ${e?"h-14":"h-16"}`,children:[(0,t.jsx)("div",{className:"flex-shrink-0",children:(0,t.jsxs)(a.default,{href:"/",className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:`relative transition-all duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] ${e?"w-10 h-10":"w-14 h-14"}`,children:(0,t.jsx)(i.default,{src:"/images/logoAnciber.svg",alt:"ANCIBER Logo",fill:!0,className:"object-contain",priority:!0})}),(0,t.jsx)("span",{className:`font-mono text-base uppercase tracking-wider font-semibold transition-colors ${e?"text-[var(--anciber-dark)]":"text-white"}`,children:"ANCIBER"})]})}),(0,t.jsxs)("div",{className:"hidden md:flex md:items-center md:gap-1",children:[s.map(r=>{let i=d===r.href;return(0,t.jsxs)(a.default,{href:r.href,className:`group relative px-4 py-2 font-mono text-sm transition-colors ${e?i?"text-[var(--anciber-primary)]":"text-[var(--anciber-dark)] hover:text-[var(--anciber-primary)]":i?"text-white":"text-white/70 hover:text-white"}`,children:[r.name,(0,t.jsx)("span",{className:`absolute bottom-0 left-4 right-4 h-0.5 bg-current origin-left transition-transform duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] ${i?"scale-x-100":"scale-x-0 group-hover:scale-x-100"}`})]},r.name)}),(0,t.jsx)("div",{className:"ml-4 pl-4 border-l border-current/10",children:(0,t.jsx)(a.default,{href:"/inscricao",className:"rounded bg-[var(--anciber-primary)] text-white px-5 py-2 text-sm font-semibold font-mono uppercase tracking-wider transition-colors hover:bg-[var(--anciber-primary)]/90",children:"Inscrição"})})]}),(0,t.jsxs)("button",{type:"button",className:`md:hidden p-2.5 rounded transition-colors ${e?"text-[var(--anciber-dark)]":"text-white"}`,onClick:()=>c(!l),"aria-label":"Menu",children:[(0,t.jsx)("span",{className:"sr-only",children:"Menu"}),(0,t.jsxs)("div",{className:"w-6 h-5 flex flex-col justify-between",children:[(0,t.jsx)("span",{className:`h-0.5 rounded transition-all duration-300 ${e?"bg-[#1e232b]":"bg-white"} ${l?"rotate-45 translate-y-2":""}`}),(0,t.jsx)("span",{className:`h-0.5 rounded transition-all duration-300 ${e?"bg-[#1e232b]":"bg-white"} ${l?"opacity-0 scale-0":""}`}),(0,t.jsx)("span",{className:`h-0.5 rounded transition-all duration-300 ${e?"bg-[#1e232b]":"bg-white"} ${l?"-rotate-45 -translate-y-2":""}`})]})]})]}),(0,t.jsx)("div",{className:`md:hidden transition-all duration-300 overflow-hidden ${l?"max-h-96 opacity-100":"max-h-0 opacity-0"}`,children:(0,t.jsxs)("div",{className:"bg-white border border-[var(--anciber-border)] rounded mt-4 p-2",children:[s.map(e=>{let r=d===e.href;return(0,t.jsx)(a.default,{href:e.href,className:`flex items-center px-4 py-3 font-mono text-sm transition-colors ${r?"text-[var(--anciber-primary)] border-l-2 border-[var(--anciber-primary)]":"text-[var(--anciber-dark)] hover:text-[var(--anciber-primary)]"}`,children:e.name},e.name)}),(0,t.jsx)("div",{className:"mt-2 pt-2 border-t border-[var(--anciber-border)]",children:(0,t.jsx)(a.default,{href:"/inscricao",className:"flex items-center justify-center w-full rounded bg-[var(--anciber-primary)] px-6 py-3 text-sm font-semibold font-mono uppercase tracking-wider text-white",children:"Inscriçã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.