(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5915],{37104:(e,a,o)=>{"use strict";o.d(a,{LoginChrome:()=>t});var l=o(4208),r=o(91356),n=o(81647);function t({children:e}){return(0,r.useEffect)(()=>{(0,n.Z)()},[]),(0,l.jsx)("div",{className:"ultimail-login relative flex min-h-dvh flex-col bg-app-canvas",children:e})}},40611:(e,a,o)=>{Promise.resolve().then(o.bind(o,37104))},81647:(e,a,o)=>{"use strict";o.d(a,{Z:()=>r,i:()=>n});var l=o(81893);function r(e=document.documentElement){delete e.dataset.mailBackground,e.style.removeProperty("--mail-bg-layer"),e.style.removeProperty("--mail-bg-fallback")}function n(e,a=document.documentElement){let o=(0,l.y9)(e),{background:t,fallbackColor:c}=(0,l.Pu)(o);"none"===o||"none"===t?r(a):(a.dataset.mailBackground=o,a.style.setProperty("--mail-bg-layer",t),a.style.setProperty("--mail-bg-fallback",c))}},81893:(e,a,o)=>{"use strict";o.d(a,{Pu:()=>t,UT:()=>r,y9:()=>n});let l={mountains:"photo-mountains",ocean:"gradient-ocean",forest:"photo-nature",abstract:"gradient-blossom"},r=[{id:"none",label:"Aucun",background:"none",fallbackColor:"var(--app-canvas)"},{id:"gradient-aurora",label:"Aurore",background:'url("/mail-backgrounds/gradient-aurora.svg") center / cover no-repeat',fallbackColor:"#667eea"},{id:"gradient-sunset",label:"Coucher de soleil",background:'url("/mail-backgrounds/gradient-sunset.svg") center / cover no-repeat',fallbackColor:"#e44d26"},{id:"gradient-ocean",label:"Oc\xe9an",background:'url("/mail-backgrounds/gradient-ocean.svg") center / cover no-repeat',fallbackColor:"#203a43"},{id:"gradient-blossom",label:"Floral",background:'url("/mail-backgrounds/gradient-blossom.svg") center / cover no-repeat',fallbackColor:"#ffecd2"},{id:"photo-mountains",label:"Montagnes",background:'url("https://picsum.photos/seed/ultimail-mountains/1920/1080") center / cover no-repeat',fallbackColor:"#5c6b73"},{id:"photo-ocean",label:"Mer",background:'url("https://picsum.photos/seed/ultimail-ocean/1920/1080") center / cover no-repeat',fallbackColor:"#1a5276"},{id:"photo-city",label:"Ville",background:'url("https://picsum.photos/seed/ultimail-city/1920/1080") center / cover no-repeat',fallbackColor:"#2c3e50"},{id:"photo-nature",label:"Nature",background:'url("https://picsum.photos/seed/ultimail-nature/1920/1080") center / cover no-repeat',fallbackColor:"#2d5016"}];function n(e){return r.some(a=>a.id===e)?e:l[e]??"none"}function t(e){let a,o=(a=n(e),r.find(e=>e.id===a)??r[0]);return{background:o.background,fallbackColor:o.fallbackColor}}}},e=>{e.O(0,[1614,1506,7358],()=>e(e.s=40611)),_N_E=e.O()}]);