PageSourceSearch

https://corporalabs.com/assets/SiteLayout-CG1M4_v4.js

js corporalabs.com collected 2026-10-09 23:12:40 UTC 15,320 bytes, 1 lines download raw bytes

vendor: 1,095 bytes, line 1
1import{c as e,d as t,l as n}from"./useSelector-C2y1hyvh.js";import{c as r,d as i,i as a,n as o,r as s,s as c,u as l}from"./index-BhTY3Agy.js";var u=t(n()),d=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),f=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),p=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),m=e=>{let t=p(e);return t.charAt(0).toUpperCase()+t.slice(1)},h={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`},g=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},_=(0,u.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,u.createElement)(`svg`,{ref:c,...h,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:d(`lucide`,i),...!a&&!g(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,u.createElement)(e,t)),...Array.isArray(a)?a:[a]])),v=(e,t)=>
1{let n=(0,u.forwardRef)(({className:n,...r},i)=>(0,u.createElement)(_,{ref:i,iconNode:t,className:d(`lucide-${f(m(e))}`,`lucide-${e}`,n),...r}));return n.displayName=m(e),n},y=v(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),b=v(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),x={asset_id:`ba483e67-ccf9-41a1-a13b-1a53e2d094b2`,content_type:`image/png`,created_at:`2026-07-27T16:56:50Z`,original_filename:`corporalabs-logo.png`,project_id:`3c36221d-ef13-4c6b-a041-d9a95dbaa456`,r2_key:`a/v1/3c36221d-ef13-4c6b-a041-d9a95dbaa456/ba483e67-ccf9-41a1-a13b-1a53e2d094b2/corporalabs-logo.png`,size:17423,url:`/__l5e/assets-v1/ba483e67-ccf9-41a1-a13b-1a53e2d094b2/corporalabs-logo.png`,version:1},S=`corporalabs:lang`;function C(){if(typeof window>`u`)return null;try{let e=window.localStorage.getItem(S);return e===`es`||e===`en`?e:null}catch{return null}}function w(e){if(!(typeof window>`u`))try{window.localStorage.setItem(S,e)}catch{}}function T(){return typeof navigator>`u`?`en`:([...navigator.languages??[],navigator.language??``].filter(Boolean)[0]?.toLowerCase()??``).startsWith(`es`)?`es`:`en`}function E(){return C()??T()}var D=e(),O=[{to:`/soluciones`,label:`Soluciones B2B`},{to:`/suite-studio`,label:`Suite Studio`},{to:`/colorio`,label:`Colorio`},{to:`/nosotros`,label:`Nosotros`},{to:`/contacto`,label:`Contacto`}],k=[{to:`/en/solutions`,label:`B2B Solutions`},{to:`/en/suite-studio`,label:`Suite Studio`},{to:`/en/colorio`,label:`Colorio`},{to:`/en/about`,label:`About`},{to:`/en/contact`,label:`Contact`}];function A(){let[e,t]=(0,u.useState)(!1),[n,r]=(0,u.useState)(!1),d=s(),f=a(),p=i(),m=d===`en`?k:O,h=e=>{r(!1),w(e),p({to:o(f,e)})};return(0,u.useEffect)(()=>{let e=()=>t(window.scrollY>12);return e(),window.addEventListener(`scroll`,e,{passive:!0}),()=>window.removeEventListener(`scroll`,e)},[]),(0,D.jsxs)(`header`,{className:`fixed inset-x-0 top-0 z-50 transition-all duration-300 ${e?`border-b border-border bg-background`:`bg-transparent`}`,children:[(0,D.jsxs)(`div`,{className:`container-x flex h-16 items-center justify-between gap-6`,children:[(0,D.jsx)(l,{to:d===`en`?`/en`:`/`,className:`flex items-center`,onClick:()=>r(!1),children:(0,D.jsx)(`img`,{src:x.url,alt:`Corporalabs`,className:`h-7 w-auto`})}),(0,D.jsx)(`nav`,{className:`hidden items-center gap-8 lg:flex`,children:m.map(e=>(0,D.jsx)(l,{to:e.to,className:`text-sm text-foreground/80 transition-colors hover:text-foreground`,activeProps:{className:`text-foreground font-medium`},children:e.label},e.to))}),(0,D.jsx)(`div`,{className:`hidden items-center gap-4 lg:flex`,children:(0,D.jsxs)(`div`,{className:`flex items-center gap-1 text-xs tracking-widest text-muted-foreground`,children:[(0,D.jsx)(`button`,{onClick:()=>h(`es`),className:d===`es`?`text-foreground font-semibold`:``,children:`ES`}),(0,D.jsx)(`span`,{className:`opacity-40`,children:`/`}),(0,D.jsx)(`button`,{onClick:()=>h(`en`),className:d===`en`?`text-foreground font-semibold`:``,children:`EN`})]})}),(0,D.jsx)(`button`,{className:`lg:hidden`,onClick:()=>r(e=>!e),"aria-label":`Abrir menú`,children:n?(0,D.jsx)(b,{size:22}):(0,D.jsx)(y,{size:22})})]}),n&&(0,D.jsx)(`div`,{className:`border-t border-border bg-background lg:hidden`,children:(0,D.jsxs)(`div`,{className:`container-x flex flex-col gap-4 py-6`,children:[m.map(e=>(0,D.jsx)(l,{to:e.to,className:`text-base text-foreground`,onClick:()=>r(!1),children:e.label},e.to)),(0,D.jsxs)(`div`,{className:`mt-2 flex flex-col gap-3`,children:[(0,D.jsxs)(`div`,{className:`flex items-center gap-2 text-xs tracking-widest text-muted-foreground`,children:[(0,D.jsx)(`button`,{onClick:()=>h(`es`),className:d===`es`?`text-foreground font-semibold`:``,children:`ES`}),(0,D.jsx)(`span`,{className:`opacity-40`,children:`/`}),(0,D.jsx)(`button`,{onClick:()=>h(`en`),className:d===`en`?`text-foreground font-semibold`:``,children:`EN`})]}),(0,D.jsx)(c,{asChild:!0,className:`rounded-none`,children:(0,D.jsx)(l,{to:d===`en`?`/en/contact`:`/contacto`,onClick:()=>r(!1),children:d===`en`?`Request a demo`:`Solicitar demo`})})]})]})})]})}var j={asset_id:`8bbe7503-1c32-4b0e-96ee-c2806b792935`,content_type:`image/png`,created_at:`2026-07-27T16:57:26Z`,original_filename:`corporalabs-logo-white.png`,project_id:`3c36221d-ef13-4c6b-a041-d9a95dbaa456`,r2_key:`a/v1/3c36221d-ef13-4c6b-a041-d9a95dbaa456/8bbe7503-1c32-4b0e-96ee-c2806b792935/corporalabs-logo-white.png`,size:10641,url:`/__l5e/assets-v1/8bbe7503-1c32-4b0e-96ee-c2806b792935/corporalabs-logo-white.png`,version:1},M=`G-SMLSN97F68`,N=`cl-cookie-consent`,P=new Set,F=!1;function I(){if(typeof window>`u`)return null;try{let e=window.localStorage.getItem(N);return e===`accepted`||e===`rejected`?e:null}catch{return null}}function L(e){return P.add(e),()=>P.delete(e)}function R(e){try{window.localStorage.setItem(N,e)}catch{}e===`accepted`?V():U(),P.forEach(t=>t(e))}function z(){try{window.localStorage.removeItem(N)}catch{}
1U(),P.forEach(e=>e(null))}var B=function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push(arguments)};function V(){if(typeof window>`u`||F||I()!==`accepted`)return;F=!0,window[`ga-disable-${M}`]=!1;let e=document.createElement(`script`);e.async=!0,e.src=`https://www.googletagmanager.com/gtag/js?id=${M}`,e.setAttribute(`data-ga-consent`,`true`),document.head.appendChild(e),B(`js`,new Date),B(`config`,M,{send_page_view:!0,page_path:window.location.pathname+window.location.search})}function H(){let e=window.location.hostname,t=[e,`.${e}`,`.${e.split(`.`).slice(-2).join(`.`)}`];document.cookie.split(`;`).forEach(e=>{let n=e.split(`=`)[0]?.trim();n&&(n===`_ga`||n.startsWith(`_ga_`)||n.startsWith(`_gid`)||n.startsWith(`_gat`))&&(t.forEach(e=>{document.cookie=`${n}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${e}`}),document.cookie=`${n}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`)})}function U(){typeof window>`u`||(window[`ga-disable-${M}`]=!0,H())}function W(e){typeof window>`u`||I()!==`accepted`||!F||B(`event`,`page_view`,{page_path:e,page_location:window.location.href})}function G(){window.dispatchEvent(new CustomEvent(`cl-open-cookie-preferences`))}function K(){let e=s()===`en`;return(0,D.jsx)(`footer`,{className:`bg-[#111111] text-[#FAFAF8]`,children:(0,D.jsxs)(`div`,{className:`container-x py-16`,children:[(0,D.jsxs)(`div`,{className:`grid gap-12 md:grid-cols-2 lg:grid-cols-5`,children:[(0,D.jsxs)(`div`,{className:`lg:col-span-2`,children:[(0,D.jsx)(`img`,{src:j.url,alt:`Corporalabs`,className:`h-8 w-auto`}),(0,D.jsx)(`p`,{className:`mt-4 max-w-sm text-sm text-white/60`,children:e?`Engineering studio specialised in software for fashion and retail — since 2015.`:`Estudio de Ingeniería especializado en software para moda y retail - desde 2015.`}),(0,D.jsxs)(`div`,{className:`mt-6 space-y-1 text-sm text-white/70`,children:[(0,D.jsx)(`div`,{children:`[email protected]`}),(0,D.jsx)(`div`,{children:`+34 911 407 846`}),(0,D.jsx)(`div`,{className:`pt-3 text-white/50`})]})]}),(0,D.jsx)(q,{title:e?`Solutions`:`Soluciones`,items:e?[{label:`Digital Linebook`,to:`/en/solutions/linebook`},{label:`Digital Showroom`,to:`/en/solutions/showroom`},{label:`B2B Portal`,to:`/en/solutions/b2b-portal`},{label:`Sales Planning`,to:`/en/solutions/planning`}]:[{label:`Linebook Digital`,to:`/soluciones/linebook`},{label:`Showroom Digital`,to:`/soluciones/showroom`},{label:`Portal B2B`,to:`/soluciones/portal-b2b`},{label:`Planificación de Ventas`,to:`/soluciones/planificacion`}]}),(0,D.jsx)(q,{title:e?`TOOLS`:`HERRAMIENTAS`,items:e?[{label:`Suite Studio`,to:`/en/suite-studio`},{label:`Colorio`,to:`/en/colorio`}]:[{label:`Suite Studio`,to:`/suite-studio`},{label:`Colorio`,to:`/colorio`}]}),(0,D.jsx)(q,{title:e?`Company`:`Compañía`,items:e?[{label:`About`,to:`/en/about`},{label:`Contact`,to:`/en/contact`},{label:`Brand`,to:`/en/brand`}]:[{label:`Nosotros`,to:`/nosotros`},{label:`Contacto`,to:`/contacto`},{label:`Marca`,to:`/marca`}]})]}),(0,D.jsxs)(`div`,{className:`mt-16 border-t border-white/10 pt-8 text-xs text-white/50`,children:[(0,D.jsx)(`p`,{className:`mb-4`,children:e?`Some images on this website have been generated or edited using artificial intelligence.`:`Parte de las imágenes de este sitio web han sido generadas o editadas mediante inteligencia artificial.`}),(0,D.jsxs)(`div`,{className:`flex flex-col justify-between gap-4 md:flex-row`,children:[(0,D.jsx)(`span`,{children:e?`© 2026 Corporalabs — Technology for fashion and retail, made in Europe.`:`© 2026 Corporalabs — Tecnología para moda y retail, hecha en Europa.`}),(0,D.jsxs)(`div`,{className:`flex gap-6`,children:[(0,D.jsx)(l,{to:e?`/en/legal-notice`:`/aviso-legal`,className:`hover:text-white`,children:e?`Legal notice`:`Aviso legal`}),(0,D.jsx)(l,{to:e?`/en/privacy`:`/privacidad`,className:`hover:text-white`,children:e?`Privacy`:`Privacidad`}),(0,D.jsx)(l,{to:e?`/en/cookies`:`/cookies`,className:`hover:text-white`,children:`Cookies`}),(0,D.jsx)(l,{to:e?`/en/security`:`/seguridad`,className:`hover:text-white`,children:e?`Security`:`Seguridad`}),(0,D.jsx)(`button`,{type:`button`,onClick:()=>G(),className:`text-left hover:text-white`,children:e?`Cookie settings`:`Configuración de cookies`})]})]})]})]})})}function q({title:e,items:t}){return(0,D.jsxs)(`div`,{children:[(0,D.jsx)(`h4`,{className:`font-display text-xs font-semibold uppercase tracking-[0.24em] text-white/50`,children:e}),(0,D.jsx)(`ul`,{className:`mt-4 space-y-2 text-sm text-white/80`,children:t.map(e=>(0,D.jsx)(`li`,{children:(0,D.jsx)(l,{to:e.to,className:`hover:text-white`,children:e.label})},e.label))})]})}function J(){let e=s()===`en`,[t,n]=(0,u.useState)(null),[i,a]=(0,u.useState)(!1),[o,c]=(0,u.useState)(!1),[d,f]=(0,u.useState)(!1),p=r({select:e=>e.location.pathname});return(0,u.useEffect)(()=>{let e=I();n(e),f(e===`accepted`),a(!0),e===`accepted`&&V();let t=L(e=>{n(e),f(e===`accepted`)}),r=()=>c(!0);return window.addEventListener(`cl-open-cookie-preferences`,r),()=>{t(),window.removeEventListener(`cl-open-cookie-preferences`,r)}},[]),(0,u.useEffect)(()=>{i&&W(p)},[p,i]),i?(0,D.jsxs)(D.Fragment,{children:[t===null&&!o&&(0,D.jsx)(`div`,{className:`fixed inset-x-0 bottom-0 z-50 border-t border-black/10 bg-background/100 text-foreground shadow-[0_-1px_0_0_rgba(0,0,0,0.04)]`,children:(0,D.jsxs)(`div`,{className:`container-x flex flex-col gap-4 py-4 md:flex-row md:items-center md:justify-between`,children:[(0,D.jsxs)(`p`,{className:`max-w-3xl text-xs leading-relaxed text-muted-foreground`,children:[e?`We use analytics cookies (Google Analytics) to understand how the site is used. They are only enabled if you accept them. You can reject or configure them.`:`Utilizamos cookies analíticas (Google Analytics) para entender cómo se usa la web. Solo se activan si las aceptáis. Podéis rechazarlas o configurarlas.`,` `,(0,D.jsx)(l,{to:e?`/en/cookie
1s`:`/politica-de-cookies`,className:`underline underline-offset-2 hover:no-underline`,children:e?`Cookie policy`:`Política de cookies`})]}),(0,D.jsxs)(`div`,{className:`flex shrink-0 flex-wrap gap-2`,children:[(0,D.jsx)(Y,{onClick:()=>R(`accepted`),children:e?`Accept`:`Aceptar`}),(0,D.jsx)(Y,{onClick:()=>R(`rejected`),children:e?`Reject`:`Rechazar`}),(0,D.jsx)(Y,{onClick:()=>c(!0),children:e?`Configure`:`Configurar`})]})]})}),o&&(0,D.jsx)(`div`,{className:`fixed inset-x-0 bottom-0 z-50 border-t border-black/10 bg-background text-foreground`,children:(0,D.jsxs)(`div`,{className:`container-x py-5`,children:[(0,D.jsx)(`h2`,{className:`font-display text-xs font-semibold uppercase tracking-[0.24em] text-muted-foreground`,children:e?`Cookie settings`:`Configuración de cookies`}),(0,D.jsxs)(`div`,{className:`mt-4 space-y-3 text-xs leading-relaxed text-muted-foreground`,children:[(0,D.jsxs)(`div`,{className:`flex items-start justify-between gap-6 border-t border-black/10 pt-3`,children:[(0,D.jsxs)(`div`,{children:[(0,D.jsx)(`p`,{className:`font-medium text-foreground`,children:e?`Technical cookies`:`Cookies técnicas`}),(0,D.jsx)(`p`,{children:e?`Necessary for the website to work. Always active.`:`Necesarias para el funcionamiento de la web. Siempre activas.`})]}),(0,D.jsx)(`span`,{className:`shrink-0 pt-1 text-[11px] uppercase tracking-[0.2em]`,children:e?`Always on`:`Siempre activas`})]}),(0,D.jsxs)(`div`,{className:`flex items-start justify-between gap-6 border-t border-black/10 pt-3`,children:[(0,D.jsxs)(`div`,{children:[(0,D.jsx)(`p`,{className:`font-medium text-foreground`,children:e?`Analytics cookies (Google Analytics)`:`Cookies analíticas (Google Analytics)`}),(0,D.jsx)(`p`,{children:e?`Help us understand how the site is used. Not loaded until you enable them.`:`Nos ayudan a entender cómo se usa la web. No se cargan hasta que las activáis.`})]}),(0,D.jsxs)(`label`,{className:`flex shrink-0 items-center gap-2 pt-1 text-[11px] uppercase tracking-[0.2em]`,children:[(0,D.jsx)(`input`,{type:`checkbox`,checked:d,onChange:e=>f(e.target.checked),className:`h-4 w-4 rounded-[2px] border border-black/30 accent-primary`}),d?e?`On`:`Activadas`:e?`Off`:`Desactivadas`]})]})]}),(0,D.jsxs)(`div`,{className:`mt-5 flex flex-wrap items-center gap-2`,children:[(0,D.jsx)(Y,{onClick:()=>{R(d?`accepted`:`rejected`),c(!1)},children:e?`Save preferences`:`Guardar preferencias`}),t!==null&&(0,D.jsx)(Y,{onClick:()=>{z(),c(!1)},children:e?`Withdraw consent`:`Retirar consentimiento`}),(0,D.jsx)(Y,{onClick:()=>c(!1),children:e?`Close`:`Cerrar`}),(0,D.jsx)(l,{to:e?`/en/cookies`:`/politica-de-cookies`,className:`ml-auto text-xs underline underline-offset-2 hover:no-underline`,children:e?`Cookie policy`:`Política de cookies`})]})]})})]}):null}function Y({children:e,onClick:t}){return(0,D.jsx)(`button`,{type:`button`,onClick:t,className:`rounded-[2px] border border-foreground
1/80 bg-transparent px-5 py-2 text-xs font-medium uppercase tracking-[0.12em] text-foreground transition-colors hover:bg-foreground hover:text-background`,children:e})}function X({children:e}){return(0,D.jsxs)(`div`,{className:`flex min-h-screen flex-col bg-background text-foreground`,children:[(0,D.jsx)(A,{}),(0,D.jsx)(`main`,{className:`flex-1 pt-16`,children:e}),(0,D.jsx)(K,{}),(0,D.jsx)(J,{})]})}export{v as i,j as n,E as r,X as t};

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.