import{j as e}from"./vendor-mui-69397583.js";import{r as m}from"./vendor-react-ece1c85f.js";import{L as d}from"./Logo-3f3c9ee6.js";import{h as x,A as p,C as u,n as h,L as f}from"./index-c62ac197.js";import{V as o}from"./Views-74429e81.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";const b=[30,55,42,68,50,78,62,90,72,95],j=()=>e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[e.jsx("path",{d:"M12 2l1.8 5.6L19.5 9l-5.7 1.4L12 16l-1.8-5.6L4.5 9l5.7-1.4z"}),e.jsx("path",{d:"M19 14l1 2 2 1-2 1-1 2-1-2-2-1 2-1z"})]}),v=({children:s,content:l,...r})=>e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
                @keyframes lgFloat {
                    0%,100% { transform:translate(0,0) scale(1); }
                    50%      { transform:translate(20px,-25px) scale(1.05); }
                }
                @keyframes lgBar {
                    0%,100% { transform:scaleY(1); transform-origin:bottom; }
                    50%     { transform:scaleY(.85); transform-origin:bottom; }
                }
                .lg-orb-1 { animation:lgFloat 8s ease-in-out infinite; }
                .lg-orb-2 { animation:lgFloat 10s ease-in-out -3s infinite; }
                .lg-bar   { animation:lgBar 2.6s ease-in-out infinite; }
            `}),e.jsxs("div",{className:"flex h-full",children:[e.jsx("div",{className:"flex-1 flex flex-col items-center justify-center bg-white dark:bg-gray-800 px-8 py-12 overflow-y-auto",children:e.jsxs("div",{className:"w-full max-w-[440px]",children:[e.jsx("div",{className:"mb-8 lg:hidden",children:e.jsx(d,{mode:"light",logoWidth:"160px"})}),l&&e.jsx("div",{className:"mb-8",children:l}),s?m.cloneElement(s,{...r}):null]})}),e.jsxs("aside",{className:"hidden lg:flex lg:w-[40%] relative overflow-hidden flex-col",style:{background:"#1B1B1B"},children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(circle at 20% 30%,rgba(241,90,34,.35),transparent 55%),radial-gradient(circle at 80% 70%,rgba(241,90,34,.18),transparent 55%),linear-gradient(135deg,#1a1612 0%,#1B1B1B 60%,#1a1309 100%)"}}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{backgroundImage:"linear-gradient(rgba(255,255,255,0.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.05) 1px,transparent 1px)",backgroundSize:"48px 48px",maskImage:"radial-gradient(circle at 50% 40%,#000 30%,transparent 80%)",WebkitMaskImage:"radial-gradient(circle at 50% 40%,#000 30%,transparent 80%)"}}),e.jsx("div",{className:"lg-orb-1 absolute rounded-full pointer-events-none",style:{top:-80,right:-100,width:360,height:360,background:"#F15A22",filter:"blur(40px)",opacity:.7}}),e.jsx("div",{className:"lg-orb-2 absolute rounded-full pointer-events-none",style:{bottom:-120,left:-80,width:420,height:420,background:"#0D9488",filter:"blur(40px)",opacity:.7}}),e.jsxs("div",{className:"relative z-10 flex flex-col justify-between flex-1 p-14 text-white",children:[e.jsx("div",{children:e.jsx(d,{mode:"dark",logoWidth:"180px"})}),e.jsxs("div",{className:"max-w-[480px]",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 text-xs font-bold tracking-widest uppercase rounded-full px-3 py-1.5 mb-5",style:{color:"#F15A22",background:"rgba(241,90,34,.12)",border:"1px solid rgba(241,90,34,.3)"},children:[e.jsx(j,{}),"Operations Platform"]}),e.jsxs("h1",{className:"text-[2.8rem] font-black leading-tight tracking-tight text-white mb-4",children:["Your Journey to"," ",e.jsx("em",{className:"not-italic",style:{background:"linear-gradient(120deg,#F15A22,#F49A5C)",WebkitBackgroundClip:"text",backgroundClip:"text",color:"transparent"},children:"Exceptional Service"})]}),e.jsx("p",{className:"text-base leading-relaxed mb-8",style:{color:"rgba(255,255,255,.7)",fontWeight:300},children:"Elevate your client relationships and deliver excellence every step of the way — with real-time data and full visibility into your operations."}),e.jsxs("div",{className:"rounded-xl p-4 mb-6",style:{background:"rgba(255,255,255,.04)",border:"1px solid rgba(255,255,255,.08)",backdropFilter:"blur(8px)"},children:[e.jsx("div",{className:"grid grid-cols-3 gap-2.5 mb-3",children:[{label:"On-time",value:"94.6%",delta:"▲ 2.4"},{label:"In transit",value:"1,284",delta:"▲ 118"},{label:"Idle / day",value:"18m",delta:"▼ 6m"}].map(t=>e.jsxs("div",{className:"rounded-lg p-2.5",style:{background:"rgba(255,255,255,.05)"},children:[e.jsx("div",{className:"text-[10px] font-bold tracking-wider uppercase",style:{color:"rgba(255,255,255,.5)"},children:t.label}),e.jsx("div",{className:"text-xl font-black text-white mt-1 leading-none",children:t.value}),e.jsx("div",{className:"text-[11px] font-bold mt-0.5",style:{color:"#4ade80"},children:t.delta})]},t.label))}),e.jsx("div",{className:"flex items-end gap-1.5 h-14 px-1",children:b.map((t,i)=>e.jsx("div",{className:"flex-1 rounded-sm lg-bar",style:{height:`${t}%`,animationDelay:`${i*.15}s`,background:"linear-gradient(180deg,#F15A22,rgba(241,90,34,.3))"}},i))})]}),e.jsxs("div",{className:"rounded-xl p-5",style:{background:"rgba(255,255,255,.04)",border:"1px solid rgba(255,255,255,.08)"},children:[e.jsx("p",{className:"text-sm leading-relaxed italic mb-3",style:{color:"rgba(255,255,255,.85)",fontWeight:300},children:`"We replaced six separate tools in a weekend. Our ops team didn't even notice — they just got a cleaner UI and faster workflows."`}),e.jsxs("div",{className:"flex items-center gap-2.5",children:[e.jsx("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-xs font-black text-white flex-shrink-0",style:{background:"#F15A22"},children:"SH"}),e.jsxs("div",{children:[e.jsx("div",{className:"text-sm font-bold text-white",children:"Sara Han"}),e.jsx("div",{className:"text-xs",style:{color:"rgba(255,255,255,.5)"},children:"Operations Lead"})]})]})]})]}),e.jsx("div",{className:"flex gap-4 flex-wrap",children:["SOC 2 Type II","GDPR & HIPAA-ready","Self-host or cloud"].map(t=>e.jsxs("span",{className:"flex items-center gap-1.5 text-xs",style:{color:"rgba(255,255,255,.5)"},children:[e.jsx("span",{className:"w-4 h-4 rounded-full flex items-center justify-center flex-shrink-0",style:{background:"rgba(74,222,128,.18)",color:"#4ade80"},children:e.jsx("svg",{width:"9",height:"9",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3.2",strokeLinecap:"round",strokeLinejoin:"round",children:e.jsx("polyline",{points:"20 6 9 17 4 12"})})}),t]},t))})]})]})]})]});function y(s){const l=[".jpg",".jpeg",".png",".gif",".webp"],r=[".mp4",".webm",".ogg"],t=s.slice(s.lastIndexOf(".")).toLowerCase();return l.includes(t)?"img":(r.includes(t),".mp4")}function N(s,l){if(!l)return"/img/video/bg-login.mp4";const t=l.replace(/\\/g,"/").split("/").map(encodeURIComponent).join("/");return`${s}/${t}`}const k=({children:s,content:l,...r})=>{const t=x(n=>{var g;return((g=n==null?void 0:n.theme)==null?void 0:g.coverLayout)||{}}),i=N(window.RUNTIME_CONFIG.VITE_API_BASE_URL,t==null?void 0:t.settingFilePath),c=y(i);let a={};try{if(t!=null&&t.moreInformation){const n=JSON.parse(t.moreInformation);a=(n==null?void 0:n.themeText)||{}}}catch(n){console.error("Error parsing themeText:",n)}return e.jsxs("div",{className:"grid lg:grid-cols-3 h-full",children:[e.jsxs("div",{className:"col-span-2 bg-no-repeat bg-cover py-6 px-16 flex-col justify-between hidden lg:flex",style:c=="img"?{backgroundImage:`url(${i})`}:void 0,children:[e.jsx(d,{mode:"dark",logoWidth:200}),e.jsx("div",{}),e.jsxs("span",{className:"text-white ",children:[e.jsxs("div",{className:"flex-col mb-10",children:[e.jsxs("h3",{className:"text-white text-xl",children:[" ",a==null?void 0:a.primaryText]}),e.jsx("h2",{className:"text-white",children:a==null?void 0:a.secondaryText}),e.jsx("p",{className:"pt-4 text-lg text-white opacity-80",children:a==null?void 0:a.description})]}),"Copyright © ",`${new Date().getFullYear()}`," ",e.jsx("span",{className:"font-semibold",children:`${p}`})," "]}),c===".mp4"&&e.jsx("div",{className:"video_container",children:e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,children:e.jsx("source",{src:i,type:"video/mp4"})})})]}),e.jsx("div",{className:"flex flex-col justify-center items-center bg-white dark:bg-gray-800",children:e.jsxs("div",{className:"xl:min-w-[450px] px-8",children:[e.jsx("div",{className:"mb-8",children:l}),s?m.cloneElement(s,{...r}):null]})})]})};function w(s){const l=[".jpg",".jpeg",".png",".gif",".webp"],r=[".mp4",".webm",".ogg"],t=s.slice(s.lastIndexOf(".")).toLowerCase();return l.includes(t)?"img":r.includes(t)?".mp4":"img"}function I(s,l){if(!l)return"/img/theme/bg_center_image.jpg";const t=l.replace(/\\/g,"/").split("/").map(encodeURIComponent).join("/");return`${s}/${t}`}const L=({children:s,content:l,...r})=>{const t=x(a=>{var n;return((n=a==null?void 0:a.theme)==null?void 0:n.centerLayout)||{}}),i=I(window.RUNTIME_CONFIG.VITE_API_BASE_URL,t==null?void 0:t.settingFilePath),c=w(i);return e.jsx("div",{className:"h-full bg-no-repeat bg-cover",style:c=="img"?{backgroundImage:`url(${i})`}:void 0,children:e.jsxs(u,{className:"flex flex-col flex-auto items-center justify-center min-w-0 h-full",children:[c===".mp4"&&e.jsx("div",{className:"center_video_container",children:e.jsx("video",{autoPlay:!0,muted:!0,loop:!0,children:e.jsx("source",{src:i,type:"video/mp4"})})}),e.jsxs(h,{className:"min-w-[320px] md:min-w-[450px]",bodyClass:"md:p-10",children:[e.jsx("div",{className:"text-center",children:e.jsx(d,{type:"streamline",imgClass:"mx-auto"})}),e.jsxs("div",{className:"text-center",children:[l,s?m.cloneElement(s,{contentClassName:"text-center",...r}):null]})]})]})})},A=()=>{const s=x(t=>t.theme.layout.type),l=x(t=>t.theme.loginLayout),r=()=>s===f?e.jsx(o,{}):location.pathname.indexOf("timelog-approval-view-validation")>-1?e.jsx(o,{}):l==="center_layout"?e.jsx(L,{children:e.jsx(o,{})}):location.pathname==="/setup"?e.jsx(o,{}):l==="cover_layout"?e.jsx(k,{children:e.jsx(o,{})}):e.jsx(v,{children:e.jsx(o,{})});return e.jsx("div",{className:"app-layout-blank flex flex-auto flex-col h-[100vh]",children:r()})},W=A;export{W as default};
