build.sh runs npm run build on macOS, so only the host's sharp binary (darwin-arm64) got traced into the standalone output. The container runs node:20-alpine (Linux, musl libc), which cannot load that binary - the server crashed at runtime, causing a 502 even though the docker build itself succeeded. npm pack can fetch another platform's prebuilt sharp/libvips tarballs without an install-time OS check, so build.sh now pulls the linux-musl x64 and arm64 builds directly into build/node_modules and drops the now-unused host binary.
702 lines
90 KiB
JavaScript
702 lines
90 KiB
JavaScript
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,i)=>{t.exports=e.r(76562)},82637,e=>{"use strict";var t=e.i(43476),i=e.i(71645);let n=(0,i.createContext)(null);e.s(["HeaderUIProvider",0,function({children:e}){let[l,a]=(0,i.useState)(!1),[o,r]=(0,i.useState)(!1),s=(0,i.useCallback)(()=>{a(e=>!e),r(!1)},[]),d=(0,i.useCallback)(()=>{r(e=>!e),a(!1)},[]),c=(0,i.useCallback)(()=>{a(!1),r(!1)},[]);return(0,t.jsx)(n.Provider,{value:{isMenuOpen:l,isSidebarOpen:o,toggleMenu:s,toggleSidebar:d,closeAll:c},children:e})},"useHeaderUI",0,function(){let e=(0,i.useContext)(n);if(!e)throw Error("useHeaderUI must be used inside <HeaderUIProvider>");return e}])},3374,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(22016),l=e.i(57688),a=e.i(18566),o=e.i(82637);let r={"/":"home","/how-it-works":"how-it-works","/miletruth":"miletruth","/solutions":"solutions","/about":"about","/empowerment":"entarpreneurship","/express":"express","/about-us":"about","/blog":"blogs","/contact":"contact","/privacy-policy":"privacy-policy","/terms-of-service":"terms-of-service","/cookie-policy":"cookie-policy"},s={home:["home"],"how-it-works":["how-it-works","how-its-works"],miletruth:["miletruth"],solutions:["solutions"],entarpreneurship:["entarpreneurship"],blogs:["blogs"],contact:["contact"],"privacy-policy":["privacy-policy"],"terms-of-service":["terms-of-service"],"cookie-policy":["cookie-policy"],company:["blogs","how-it-works","about"]};e.s(["default",0,function(){let e=(0,a.usePathname)(),{isMenuOpen:d,isSidebarOpen:c,toggleMenu:m,toggleSidebar:h,closeAll:p}=(0,o.useHeaderUI)(),u="/"===e,g=r[e]??"";e.startsWith("/blog/")&&(g="blogs");let f=e=>(s[e]??[]).includes(g)?" active":"",x=(t,i,n,l=!1)=>{if(l&&C(),e!==i)return;t.preventDefault();let a=`${i}#${n}`;`${window.location.pathname}${window.location.hash}`!==a&&window.history.pushState(null,"",a),requestAnimationFrame(()=>{let e;(e=document.getElementById(n))?e.scrollIntoView({behavior:"smooth",block:"start"}):window.scrollTo({top:0,behavior:"smooth"})})},[w,b]=(0,i.useState)(!1),[v,y]=(0,i.useState)(!1),[j,k]=(0,i.useState)(!1),[N,_]=(0,i.useState)(!1),C=()=>{_(!1),p()};(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>{b(!0)});return()=>cancelAnimationFrame(e)},[]),(0,i.useEffect)(()=>{let e=null,t=()=>{null===e&&(e=requestAnimationFrame(()=>{y(window.scrollY>50),e=null}))};return t(),window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t),null!==e&&cancelAnimationFrame(e)}},[]);let S=["elementor-element","elementor-element-466de1b","e-con-full","sticky-container-on","e-flex","cut-corner-no","e-con","e-parent","header-hide-until-scroll",w?"header-visible-scrolled":"",v?"dm-header-scrolled":""].filter(Boolean).join(" ");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("header",{id:"masthead",itemScope:!0,itemType:"https://schema.org/WPHeader",children:[(0,t.jsx)("p",{className:"main-title bhf-hidden",itemProp:"headline",children:(0,t.jsx)(n.default,{href:"/",title:"Doormile",rel:"home",children:"Doormile"})}),(0,t.jsx)("div",{"data-elementor-type":"wp-post","data-elementor-id":"5180",className:"elementor elementor-5180",children:(0,t.jsxs)("div",{className:S,"data-id":"466de1b","data-element_type":"container","data-settings":'{"position":"absolute"}',style:u&&!w?{opacity:0,visibility:"hidden"}:void 0,children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-e052838 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e052838","data-element_type":"container",children:(0,t.jsxs)("div",{className:"elementor-element elementor-element-d681ece e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"d681ece","data-element_type":"container",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-472172e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"472172e","data-element_type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-2f31137 elementor-hidden-laptop elementor-hidden-tablet_extra elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile elementor-widget elementor-widget-logico_slide_sidebar","data-id":"2f31137","data-element_type":"widget","data-widget_type":"logico_slide_sidebar.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsx)("div",{className:"logico-slide-sidebar-widget",children:(0,t.jsx)("div",{className:"dropdown-trigger","data-id":"2f31137",onClick:h,children:(0,t.jsx)("span",{className:"dropdown-trigger-icon"})})}),(0,t.jsxs)("div",{style:{zIndex:1e5},className:`slide-sidebar-wrapper slide-sidebar-position-left${c?" active":""}`,id:"side-panel-2f31137",children:[(0,t.jsx)("div",{className:"slide-sidebar-close",onClick:p}),(0,t.jsxs)("div",{className:"slide-sidebar",children:[(0,t.jsx)("div",{className:"slide-sidebar-header",children:(0,t.jsx)("figure",{className:"wp-block-image size-full is-resized",children:(0,t.jsx)(l.default,{width:305,height:58,src:"/images/doormile-logo.png",alt:"Doormile logo",className:"wp-image-5851",style:{width:"210px",height:"auto"},sizes:"(max-width: 305px) 100vw, 305px"})})}),(0,t.jsx)("div",{className:"slide-sidebar-content",tabIndex:0,role:"region","aria-label":"Menu content",children:(0,t.jsx)("div",{id:"block-37",className:"widget widget_block",children:(0,t.jsx)("div",{className:"widget-wrapper",children:(0,t.jsxs)("div",{className:"dm-block-group is-layout-constrained dm-block-group-is-layout-constrained",children:[(0,t.jsx)("div",{className:"wp-block-title",children:(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"18px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Address"})}),(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"14px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Hyderabad"}),(0,t.jsxs)("p",{children:["5th Floor, Vision Ultima,",(0,t.jsx)("br",{}),"Street No.3, Jayabheri Enclave,",(0,t.jsx)("br",{}),"Gachibowli, Hyderabad,",(0,t.jsx)("br",{}),"Telangana 500032."]}),(0,t.jsx)("div",{style:{height:"12px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"14px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Coimbatore"}),(0,t.jsxs)("p",{children:["Mayflower Valencia,",(0,t.jsx)("br",{}),"Near Nava India Bus Stop,",(0,t.jsx)("br",{}),"Avinashi Road,",(0,t.jsx)("br",{}),"Udayampalayam,",(0,t.jsx)("br",{}),"Tamil Nadu 641037."]}),(0,t.jsx)("div",{style:{height:"12px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"14px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Bengaluru"}),(0,t.jsxs)("p",{children:["C612, 6th Floor,",(0,t.jsx)("br",{}),"Trifecta Starlight,",(0,t.jsx)("br",{}),"ITPL Road,",(0,t.jsx)("br",{}),"Garudacharapalya,",(0,t.jsx)("br",{}),"Mahadevapura,",(0,t.jsx)("br",{}),"Bangalore 560048,",(0,t.jsx)("br",{}),"Karnataka, India."]}),(0,t.jsx)("div",{style:{height:"3px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("div",{className:"wp-block-title",children:(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"18px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Contact Us"})}),(0,t.jsx)("p",{children:"Tel : +91 86886 97941"}),(0,t.jsx)("div",{style:{height:"3px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsx)("div",{className:"wp-block-title",children:(0,t.jsx)("h6",{className:"wp-block-heading has-text-font-font-family",style:{fontSize:"18px",fontStyle:"normal",fontWeight:700,letterSpacing:"0px",textTransform:"none"},children:"Email"})}),(0,t.jsx)("p",{children:(0,t.jsx)("a",{href:"mailto:care@doormile.com","data-wplink-edit":"true",children:"care@doormile.com"})}),(0,t.jsx)("div",{style:{height:"3px"},"aria-hidden":"true",className:"wp-block-spacer"}),(0,t.jsxs)("ul",{className:"wp-block-social-links has-icon-color is-style-logos-only has-background is-layout-flex wp-block-social-links-is-layout-flex",style:{backgroundColor:"#1f1f1f"},children:[(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-facebook has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://www.facebook.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12c0 5 3.7 9.1 8.4 9.9v-7H7.9V12h2.5V9.8c0-2.5 1.5-3.9 3.8-3.9 1.1 0 2.2.2 2.2.2v2.5h-1.3c-1.2 0-1.6.8-1.6 1.6V12h2.8l-.4 2.9h-2.3v7C18.3 21.1 22 17 22 12c0-5.5-4.5-10-10-10z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"Facebook"})]})}),(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-x has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://x.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M13.982 10.622 20.54 3h-1.554l-5.693 6.618L8.745 3H3.5l6.876 10.007L3.5 21h1.554l6.012-6.989L15.868 21h5.245l-7.131-10.378Zm-2.128 2.474-.697-.997-5.543-7.93H8l4.474 6.4.697.996 5.815 8.318h-2.387l-4.745-6.787Z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"X"})]})}),(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-linkedin has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://www.linkedin.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M19.7,3H4.3C3.582,3,3,3.582,3,4.3v15.4C3,20.418,3.582,21,4.3,21h15.4c0.718,0,1.3-0.582,1.3-1.3V4.3 C21,3.582,20.418,3,19.7,3z M8.339,18.338H5.667v-8.59h2.672V18.338z M7.004,8.574c-0.857,0-1.549-0.694-1.549-1.548 c0-0.855,0.691-1.548,1.549-1.548c0.854,0,1.547,0.694,1.547,1.548C8.551,7.881,7.858,8.574,7.004,8.574z M18.339,18.338h-2.669 v-4.177c0-0.996-0.017-2.278-1.387-2.278c-1.389,0-1.601,1.086-1.601,2.206v4.249h-2.667v-8.59h2.559v1.174h0.037 c0.356-0.675,1.227-1.387,2.526-1.387c2.703,0,3.203,1.779,3.203,4.092V18.338z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"LinkedIn"})]})}),(0,t.jsx)("li",{style:{color:"#ffffff"},className:"wp-social-link wp-social-link-youtube has-white-color wp-block-social-link",children:(0,t.jsxs)("a",{rel:"noopener nofollow",target:"_blank",href:"https://www.youtube.com/",className:"wp-block-social-link-anchor",children:[(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:(0,t.jsx)("path",{d:"M21.8,8.001c0,0-0.195-1.378-0.795-1.985c-0.76-0.797-1.613-0.801-2.004-0.847c-2.799-0.202-6.997-0.202-6.997-0.202 h-0.009c0,0-4.198,0-6.997,0.202C4.608,5.216,3.756,5.22,2.995,6.016C2.395,6.623,2.2,8.001,2.2,8.001S2,9.62,2,11.238v1.517 c0,1.618,0.2,3.237,0.2,3.237s0.195,1.378,0.795,1.985c0.761,0.797,1.76,0.771,2.205,0.855c1.6,0.153,6.8,0.201,6.8,0.201 s4.203-0.006,7.001-0.209c0.391-0.047,1.243-0.051,2.004-0.847c0.6-0.607,0.795-1.985,0.795-1.985s0.2-1.618,0.2-3.237v-1.517 C22,9.62,21.8,8.001,21.8,8.001z M9.935,14.594l-0.001-5.62l5.404,2.82L9.935,14.594z"})}),(0,t.jsx)("span",{className:"wp-block-social-link-label screen-reader-text",children:"YouTube"})]})})]})]})})})}),(0,t.jsx)("div",{className:"slide-sidebar-cta",children:(0,t.jsx)("div",{className:"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex",children:(0,t.jsx)("div",{className:"wp-block-button is-style-simple is-style-theme",children:(0,t.jsx)(n.default,{href:"/contact",className:"wp-block-button__link wp-element-button",style:{borderRadius:"10px"},children:"Get in touch"})})})})]})]})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-846e53d elementor-widget elementor-widget-site-logo","data-id":"846e53d","data-element_type":"widget","data-widget_type":"site-logo.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"hfe-site-logo",children:(0,t.jsx)(n.default,{"data-elementor-open-lightbox":"",className:"elementor-clickable",href:"/",children:(0,t.jsx)("div",{className:"hfe-site-logo-set",children:(0,t.jsxs)("div",{className:"hfe-site-logo-container",children:[(0,t.jsx)(l.default,{width:748,height:100,className:"hfe-site-logo-img logo-desktop elementor-animation-",src:"/images/doormile-white.png",alt:"doormile-logo",priority:!0}),(0,t.jsx)(l.default,{width:748,height:100,className:"hfe-site-logo-img logo-mobile elementor-animation-",src:"/images/doormile-black.png",alt:"doormile-logo",priority:!0})]})})})})})})]}),(0,t.jsx)("div",{className:"elementor-element elementor-element-e44ee7e e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e44ee7e","data-element_type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-0b7bf6f logico-breakpoint-laptop elementor-widget__width-auto elementor-widget elementor-widget-logico_navigation_menu","data-id":"0b7bf6f","data-element_type":"widget","data-widget_type":"logico_navigation_menu.default",children:(0,t.jsxs)("div",{className:"elementor-widget-container",children:[(0,t.jsx)("div",{className:"header-menu-container",children:(0,t.jsx)("nav",{children:(0,t.jsxs)("ul",{id:"menu-main-menu",className:"main-menu",children:[(0,t.jsx)("li",{id:"menu-item-10508",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10508${f("home")}`,children:(0,t.jsx)(n.default,{href:"/#home",onClick:e=>x(e,"/","home"),children:"Home"})}),(0,t.jsx)("li",{id:"menu-item-10510",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10510${f("miletruth")}`,children:(0,t.jsx)(n.default,{href:"/miletruth#miletruth",onClick:e=>x(e,"/miletruth","miletruth"),children:"MileTruth™ AI"})}),(0,t.jsx)("li",{id:"menu-item-10511",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10511${f("solutions")}`,children:(0,t.jsx)(n.default,{href:"/solutions",prefetch:!0,children:"Solutions"})}),(0,t.jsx)("li",{id:"menu-item-10513",className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10513${f("entarpreneurship")}`,children:(0,t.jsx)(n.default,{href:"/empowerment",prefetch:!0,children:"Entrepreneurship"})}),(0,t.jsxs)("li",{id:"menu-item-10535",className:`menu-item menu-item-type-custom menu-item-has-children menu-item-10535${f("company")}`,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),onKeyDown:e=>{"Escape"===e.key&&(k(!1),e.currentTarget.querySelector(":scope > a")?.focus())},onBlur:e=>{e.currentTarget.contains(e.relatedTarget)||k(!1)},children:[(0,t.jsx)("a",{href:"#","aria-haspopup":"true","aria-expanded":j,onFocus:()=>k(!0),onClick:e=>{e.preventDefault(),k(e=>!e)},children:"Company"}),(0,t.jsxs)("ul",{className:"dm-solutions-dropdown",children:[(0,t.jsx)("li",{className:"about"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/about-us#about",onClick:e=>{k(!1),x(e,"/about-us","about")},children:"About"})}),(0,t.jsx)("li",{className:"blogs"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/blog#blogs",onClick:e=>{k(!1),x(e,"/blog","blogs")},children:"Blogs"})}),(0,t.jsx)("li",{className:"how-it-works"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/how-it-works#how-it-works",onClick:e=>{k(!1),x(e,"/how-it-works","how-it-works")},children:"How It Works"})})]})]})]})})}),(0,t.jsx)("div",{className:"menu-trigger","data-id":"0b7bf6f",onClick:()=>{_(!1),m()},children:(0,t.jsx)("span",{className:"menu-trigger-icon",children:(0,t.jsxs)("span",{className:"hamburger",children:[(0,t.jsx)("span",{}),(0,t.jsx)("span",{}),(0,t.jsx)("span",{})]})})}),(0,t.jsxs)("div",{style:{zIndex:1e5},className:`mobile-header-menu-container${d?" active":""}`,id:"mobile-header-0b7bf6f",children:[(0,t.jsx)("div",{className:"mobile-header-row",children:(0,t.jsxs)("div",{className:"header-icons-container",children:[(0,t.jsx)("div",{className:"header-icon login-logout",children:(0,t.jsx)("a",{href:"#",title:"Login/Register",className:"link-login"})}),(0,t.jsx)("div",{className:"header-icon menu-close",onClick:C,children:(0,t.jsx)("span",{className:"menu-close-icon"})})]})}),(0,t.jsx)("nav",{children:(0,t.jsxs)("ul",{id:"menu-main-menu-1",className:"main-menu",children:[(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10508${f("home")}`,children:(0,t.jsx)(n.default,{href:"/#home",onClick:e=>x(e,"/","home",!0),children:"Home"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10510${f("miletruth")}`,children:(0,t.jsx)(n.default,{href:"/miletruth#miletruth",onClick:e=>x(e,"/miletruth","miletruth",!0),children:"MileTruth™ AI"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10511${f("solutions")}`,children:(0,t.jsx)(n.default,{href:"/solutions",prefetch:!0,onClick:C,children:"Solutions"})}),(0,t.jsx)("li",{className:`menu-item menu-item-type-custom menu-item-object-custom menu-item-10513${f("entarpreneurship")}`,children:(0,t.jsx)(n.default,{href:"/empowerment",prefetch:!0,onClick:C,children:"Entrepreneurship"})}),(0,t.jsxs)("li",{className:`menu-item menu-item-type-custom menu-item-10535 dm-mobile-solutions${f("company")}${N?" dm-accordion-open":""}`,children:[(0,t.jsxs)("div",{className:"dm-mobile-solutions-row",children:[(0,t.jsx)("a",{href:"#",onClick:e=>{e.preventDefault(),_(e=>!e)},children:"Company"}),(0,t.jsx)("button",{type:"button",className:"dm-mobile-solutions-toggle","aria-label":N?"Close Company menu":"Open Company menu","aria-haspopup":"true","aria-expanded":N,onClick:()=>_(e=>!e),children:(0,t.jsx)("span",{className:"dm-accordion-chevron","aria-hidden":"true"})})]}),(0,t.jsxs)("ul",{className:"dm-mobile-solutions-panel",children:[(0,t.jsx)("li",{className:"about"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/about-us#about",onClick:e=>x(e,"/about-us","about",!0),children:"About"})}),(0,t.jsx)("li",{className:"blogs"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/blog#blogs",onClick:e=>x(e,"/blog","blogs",!0),children:"Blogs"})}),(0,t.jsx)("li",{className:"how-it-works"===g?"dm-child-active":"",children:(0,t.jsx)(n.default,{href:"/how-it-works#how-it-works",onClick:e=>x(e,"/how-it-works","how-it-works",!0),children:"How It Works"})})]})]})]})}),(0,t.jsxs)("div",{className:"header-mobile-contacts",children:[(0,t.jsxs)("div",{className:"contact-item contact-item-phone",children:[(0,t.jsx)("span",{className:"contact-item-label",children:"Phone"}),(0,t.jsx)("div",{className:"contact-item-value",children:(0,t.jsx)("p",{children:"Tel : +91 86886 97941"})})]}),(0,t.jsxs)("div",{className:"contact-item contact-item-email",children:[(0,t.jsx)("span",{className:"contact-item-label",children:"Email"}),(0,t.jsx)("div",{className:"contact-item-value",children:(0,t.jsx)("p",{children:(0,t.jsx)("a",{href:"mailto:care@doormile.com","data-wplink-edit":"true",children:"care@doormile.com"})})})]})]}),(0,t.jsx)("div",{className:"header-mobile-socials",children:(0,t.jsxs)("ul",{className:"mobile-menu-socials wrapper-socials",children:[(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.facebook.com/",target:"_blank","aria-label":"Facebook",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"})})})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://x.com/",target:"_blank","aria-label":"X (Twitter)",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"})})})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.linkedin.com/",target:"_blank","aria-label":"LinkedIn",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})})})}),(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:"https://www.youtube.com/",target:"_blank","aria-label":"YouTube",rel:"noreferrer",children:(0,t.jsx)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:(0,t.jsx)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})})})})]})}),(0,t.jsx)("div",{className:"header-mobile-button",children:(0,t.jsx)(n.default,{className:"logico-alter-button",href:"/contact",children:"Get in Touch"})})]})]})})})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-f961133 e-con-full elementor-hidden-laptop elementor-hidden-tablet_extra elementor-hidden-tablet elementor-hidden-mobile_extra elementor-hidden-mobile e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f961133","data-element_type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-cabdb09 elementor-widget elementor-widget-logico_header_button","data-id":"cabdb09","data-element_type":"widget","data-widget_type":"logico_header_button.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"header-button-container",children:(0,t.jsx)(n.default,{href:"/contact",className:"header-button header-button-animation-fade",children:"Contact Us"})})})})})]})})]}),(0,t.jsx)("style",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`
|
||
/* ── Off-canvas menu: full-height flex column ──
|
||
Header (logo) at top, scrollable content in the middle, and the
|
||
"Get in touch" CTA pinned at the bottom — so the panel stays
|
||
usable however much content (e.g. multiple office addresses) it
|
||
holds. Scoped to #side-panel-2f31137; no other sidebar is touched.
|
||
Width, colors, the slide-in animation, and open/close behaviour
|
||
(driven by the .active class on the wrapper) are all unchanged. */
|
||
#side-panel-2f31137 .slide-sidebar {
|
||
display: flex !important;
|
||
flex-direction: column !important;
|
||
height: 100% !important;
|
||
padding: 0 !important; /* the three sections own their padding */
|
||
overflow: hidden !important; /* scrolling lives on the content area */
|
||
}
|
||
/* Fit the *visible* viewport. The panel height is calc(100vh - 20px),
|
||
but on mobile 100vh is the larger, URL-bar-inclusive height, which
|
||
pushed the bottom of the scroll list + the CTA below the fold and
|
||
made scrolling appear broken. dvh tracks the actually-visible area;
|
||
vh is kept as a fallback for older browsers. */
|
||
#side-panel-2f31137.slide-sidebar-wrapper {
|
||
height: calc(100vh - 20px);
|
||
height: calc(100dvh - 20px) !important;
|
||
}
|
||
#side-panel-2f31137 .slide-sidebar-header {
|
||
flex: 0 0 auto;
|
||
padding: 52px 36px 18px; /* top clears the floating close button */
|
||
text-align: center; /* centre the logo */
|
||
}
|
||
#side-panel-2f31137 .slide-sidebar-header figure {
|
||
margin: 0;
|
||
text-align: center;
|
||
}
|
||
#side-panel-2f31137 .slide-sidebar-header img {
|
||
display: inline-block; /* centred by the header's text-align */
|
||
}
|
||
#side-panel-2f31137 .slide-sidebar-content {
|
||
flex: 1 1 auto;
|
||
min-height: 0; /* let the flex child shrink so it can scroll */
|
||
overflow-y: auto;
|
||
overflow-x: hidden;
|
||
-webkit-overflow-scrolling: touch; /* momentum scroll on iOS */
|
||
overscroll-behavior: contain; /* don't chain scroll to the page */
|
||
padding: 18px 60px 8px; /* top gap below the logo header */
|
||
}
|
||
#side-panel-2f31137 .slide-sidebar-content:focus-visible {
|
||
outline: none; /* container is scroll-focusable, not a control */
|
||
}
|
||
#side-panel-2f31137 .slide-sidebar-cta {
|
||
flex: 0 0 auto;
|
||
padding: 16px 60px 36px;
|
||
}
|
||
/* Compact, readable address blocks (tighter line + lead-in than the
|
||
default 1.75em body spacing). */
|
||
#side-panel-2f31137 .slide-sidebar-content p {
|
||
line-height: 1.5;
|
||
margin-top: 4px;
|
||
}
|
||
/* Larger social icons — the logos-only block style renders them at 18px. */
|
||
#side-panel-2f31137 .wp-block-social-links.is-style-logos-only .wp-block-social-link a svg {
|
||
width: 26px !important;
|
||
height: 26px !important;
|
||
}
|
||
|
||
#masthead .elementor-element.elementor-element-466de1b {
|
||
position: absolute !important;
|
||
top: 5px !important;
|
||
left: 0 !important;
|
||
right: 0 !important;
|
||
width: auto !important;
|
||
transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease !important;
|
||
z-index: 10000 !important;
|
||
}
|
||
|
||
/* .e-con's --padding-* falls through two competing stylesheets and lands at 10px locally
|
||
(vs 0 in production). Zero out the pill wrappers so the navbar matches prod height (~122px). */
|
||
#masthead .elementor-element.elementor-element-e052838,
|
||
#masthead .elementor-element.elementor-element-d681ece {
|
||
padding-top: 0 !important;
|
||
padding-bottom: 0 !important;
|
||
}
|
||
|
||
@media (min-width: 1025px) {
|
||
#masthead {
|
||
position: relative;
|
||
z-index: 10000;
|
||
}
|
||
|
||
/* Production pins the wrapper via Elementor sticky-effects JS (not shipped here).
|
||
Force position:fixed once scrolled past 50px so the header stays in viewport. */
|
||
#masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled {
|
||
position: fixed !important;
|
||
background: rgba(26, 26, 26, 0.92) !important;
|
||
-webkit-backdrop-filter: blur(14px) !important;
|
||
backdrop-filter: blur(14px) !important;
|
||
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
|
||
top: 0 !important;
|
||
}
|
||
|
||
#masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled .elementor-element.elementor-element-e052838 {
|
||
background: transparent !important;
|
||
}
|
||
}
|
||
|
||
/* ── Desktop navbar layout (3-section balanced grid) ──
|
||
The earlier Mac-M1 fix used justify-content:space-between, which
|
||
on wide screens flung the logo and nav to opposite edges and
|
||
left a large asymmetric gap between them. Replace it with a
|
||
responsive three-column grid so the nav stays optically centred
|
||
with equal space on both sides, the logo group sits left and the
|
||
Contact button right — proportional at every desktop width.
|
||
|
||
The logo group (472172e) and nav (e44ee7e) are nested inside
|
||
e052838 › d681ece, while the Contact button (f961133) is their
|
||
uncle. Those two wrappers carry no visual styling on desktop
|
||
(their background/padding live only in the <1024px mobile block),
|
||
so display:contents flattens them and promotes all three logical
|
||
sections to be direct items of one header grid. The grid only
|
||
applies >=1025px, leaving the mobile pill layout untouched. */
|
||
@media (min-width: 1025px) {
|
||
#masthead .elementor-element.elementor-element-466de1b {
|
||
display: grid !important;
|
||
grid-template-columns: 1fr auto 1fr !important;
|
||
align-items: center !important;
|
||
column-gap: clamp(16px, 2vw, 32px) !important;
|
||
/* Equal left/right safe areas pull the logo and Contact
|
||
button inward off the viewport edges. Because the inset
|
||
is symmetric, the 1fr side columns shrink equally and the
|
||
centred nav does not shift. */
|
||
padding-inline: clamp(24px, 3vw, 48px) !important;
|
||
/* Consistent top/bottom breathing room inside the bar; with
|
||
align-items:center every section stays vertically centred. */
|
||
padding-block: clamp(8px, 1vw, 16px) !important;
|
||
}
|
||
|
||
#masthead .elementor-element.elementor-element-e052838,
|
||
#masthead .elementor-element.elementor-element-d681ece {
|
||
display: contents !important;
|
||
}
|
||
|
||
/* navbar-left: menu/grid icon + logo */
|
||
#masthead .elementor-element.elementor-element-472172e {
|
||
justify-self: start !important;
|
||
display: flex !important;
|
||
align-items: center !important;
|
||
gap: clamp(16px, 1.5vw, 28px) !important;
|
||
flex: 0 0 auto !important;
|
||
}
|
||
|
||
/* Logo never shrinks — keeps a clean edge against the nav. */
|
||
#masthead .elementor-element.elementor-element-846e53d {
|
||
flex-shrink: 0 !important;
|
||
}
|
||
|
||
/* navbar-center: navigation menu, optically centred. */
|
||
#masthead .elementor-element.elementor-element-e44ee7e {
|
||
justify-self: center !important;
|
||
display: flex !important;
|
||
align-items: center !important;
|
||
}
|
||
|
||
/* navbar-right: Contact button, aligned to the right edge. */
|
||
#masthead .elementor-element.elementor-element-f961133 {
|
||
justify-self: end !important;
|
||
}
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.active > a:before {
|
||
background-color: #ffffff !important;
|
||
opacity: 1 !important;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.active > a {
|
||
color: #ffffff !important;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li > a:focus,
|
||
#masthead .header-menu-container .main-menu > li > a:focus-visible {
|
||
outline: none !important;
|
||
box-shadow: none !important;
|
||
}
|
||
|
||
/* Responsive logo adjustment on mobile/tablet */
|
||
@media (max-width: 1024px) {
|
||
#masthead .elementor-element.elementor-element-466de1b {
|
||
top: 18px !important;
|
||
}
|
||
#masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img {
|
||
width: 150px !important;
|
||
height: auto !important;
|
||
margin-left: 20px !important;
|
||
}
|
||
#masthead .header-menu-container {
|
||
display: none !important;
|
||
}
|
||
#masthead .menu-trigger {
|
||
display: block !important;
|
||
}
|
||
|
||
/* Sticky header on scroll for mobile/tablet too — the desktop
|
||
rule lived only in the min-width:1025px block, so on phones the
|
||
absolutely-positioned navbar scrolled away with the page. Pin it
|
||
to the top once scrolled past 50px, matching desktop behaviour. */
|
||
#masthead .elementor-element.elementor-element-466de1b.dm-header-scrolled {
|
||
position: fixed !important;
|
||
top: 18px !important;
|
||
left: 0 !important;
|
||
right: 0 !important;
|
||
}
|
||
|
||
#masthead .elementor-element.elementor-element-e052838 {
|
||
margin-left: 0px !important;
|
||
margin-right: 0px !important;
|
||
border-radius: 16px !important;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
#masthead .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img {
|
||
width: 150px !important;
|
||
margin-left: 8px !important;
|
||
}
|
||
}
|
||
|
||
/* The theme reveals the mobile slide-in menu via Elementor's
|
||
body[data-elementor-device-mode="mobile"] rules, which are set by
|
||
Elementor's frontend JS — that JS isn't shipped in this Next port,
|
||
so the panel stayed display:none and the hamburger opened nothing.
|
||
Restore it with the same 1024px breakpoint the nav already switches
|
||
at. The panel sits off-screen (right:-320px) until .active slides
|
||
it in, matching production behaviour. */
|
||
@media (max-width: 1024px) {
|
||
#masthead .elementor-widget-logico_navigation_menu .mobile-header-menu-container {
|
||
display: block !important;
|
||
}
|
||
}
|
||
|
||
/* The bundled 'fontello' subset is missing the search (\\e85c) and
|
||
close (\\e845) glyphs, so those two icons render as empty tofu
|
||
boxes. Replace them with inline SVGs via CSS masks so they paint
|
||
in the current text colour (matching the working cart/user icons)
|
||
and respond to hover. */
|
||
#masthead .header-icon.search-link .search-trigger-icon::before,
|
||
#masthead .header-icon.menu-close .menu-close-icon::before {
|
||
content: "" !important;
|
||
display: block;
|
||
width: 1em;
|
||
height: 1em;
|
||
background-color: currentColor;
|
||
-webkit-mask-repeat: no-repeat;
|
||
mask-repeat: no-repeat;
|
||
-webkit-mask-position: center;
|
||
mask-position: center;
|
||
-webkit-mask-size: contain;
|
||
mask-size: contain;
|
||
}
|
||
#masthead .header-icon.search-link .search-trigger-icon::before {
|
||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E");
|
||
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3C/svg%3E");
|
||
}
|
||
#masthead .header-icon.menu-close .menu-close-icon::before {
|
||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='5' y1='5' x2='19' y2='19'/%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3C/svg%3E");
|
||
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='5' y1='5' x2='19' y2='19'/%3E%3Cline x1='19' y1='5' x2='5' y2='19'/%3E%3C/svg%3E");
|
||
}
|
||
|
||
/* ── Company dropdown (desktop) / accordion (mobile) ──
|
||
Company (Blogs + How It Works) is a non-navigating parent —
|
||
its trigger is a plain anchor with no href target, only a
|
||
dropdown toggle. Class names below (.dm-solutions-dropdown,
|
||
.dm-mobile-solutions*) are unchanged from when this same
|
||
component/markup belonged to Solutions, reusing site.css's dead
|
||
.menu-item-has-children chevron (fontello glyph, already
|
||
coloured white for this exact header widget) instead of
|
||
inventing a new arrow. Desktop opens on hover/focus; mobile is a
|
||
height-collapsing accordion controlled by the chevron button. */
|
||
@media (min-width: 1025px) {
|
||
#masthead .header-menu-container nav {
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu {
|
||
display: inline-flex !important;
|
||
align-items: center;
|
||
gap: 16px !important;
|
||
margin: 0 !important;
|
||
line-height: 1;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li {
|
||
display: flex;
|
||
align-items: center;
|
||
margin-right: 0 !important;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li > a {
|
||
display: inline-flex !important;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding-top: 0 !important;
|
||
padding-bottom: 0 !important;
|
||
min-height: 48px;
|
||
line-height: 1.2 !important;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children {
|
||
position: relative;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children:after {
|
||
content: "";
|
||
position: absolute;
|
||
top: 100%;
|
||
left: 50%;
|
||
width: 100%;
|
||
min-width: 360px;
|
||
height: 24px;
|
||
transform: translateX(-50%);
|
||
pointer-events: auto;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown {
|
||
position: absolute;
|
||
top: 100%;
|
||
left: 50%;
|
||
transform: translate(-50%, 34px);
|
||
width: 240px;
|
||
min-width: 240px;
|
||
margin: 0;
|
||
padding: 12px;
|
||
list-style: none;
|
||
background: linear-gradient(180deg, rgba(31, 31, 31, 0.98) 0%, rgba(18, 18, 18, 0.98) 100%);
|
||
-webkit-backdrop-filter: blur(20px);
|
||
backdrop-filter: blur(20px);
|
||
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||
border: 1px solid rgba(255, 255, 255, 0.09);
|
||
border-radius: 18px;
|
||
opacity: 0;
|
||
visibility: hidden;
|
||
pointer-events: none;
|
||
transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
|
||
z-index: 20;
|
||
}
|
||
|
||
/* .main-menu li:not(:last-of-type) (site.css) is a descendant
|
||
selector that also matches these nested <li>s, pushing every
|
||
row but the last 12px to the right. Cancel it here. */
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li {
|
||
margin-right: 0 !important;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li + li {
|
||
margin-top: 10px;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-start;
|
||
gap: 10px;
|
||
height: 48px;
|
||
padding: 0 16px;
|
||
border-radius: 10px;
|
||
/* Hardcoded rather than var(--logico-dark-text-color): that
|
||
variable is only overridden to white inside a few unrelated
|
||
scoped contexts (e.g. #side-panel-2f31137) and otherwise
|
||
falls back to the sitewide light-theme value (#111111),
|
||
which would be invisible on this dark glass panel. */
|
||
color: rgba(255, 255, 255, 0.85);
|
||
font-family: var(--font-manrope), "Manrope", sans-serif;
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
line-height: 1.25;
|
||
letter-spacing: normal;
|
||
white-space: nowrap;
|
||
text-decoration: none;
|
||
transition: background-color 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:before {
|
||
content: "";
|
||
width: 11px;
|
||
height: 11px;
|
||
margin-left: -16px;
|
||
flex: 0 0 11px;
|
||
background-color: #c01227;
|
||
opacity: 0;
|
||
transform: translateX(-10px);
|
||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4'/%3E%3Cpath d='M5 4h7v7'/%3E%3C/svg%3E");
|
||
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12 12 4'/%3E%3Cpath d='M5 4h7v7'/%3E%3C/svg%3E");
|
||
-webkit-mask-repeat: no-repeat;
|
||
mask-repeat: no-repeat;
|
||
-webkit-mask-position: center;
|
||
mask-position: center;
|
||
-webkit-mask-size: contain;
|
||
mask-size: contain;
|
||
transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, background-color 0.25s ease-in-out;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:hover,
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:focus-visible {
|
||
background-color: rgba(255, 255, 255, 0.08);
|
||
color: #ffffff;
|
||
padding-left: 22px;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:hover:before,
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li > a:focus-visible:before {
|
||
opacity: 1;
|
||
transform: translateX(0);
|
||
background-color: #c01227;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children .dm-solutions-dropdown li.dm-child-active > a {
|
||
color: #ffffff;
|
||
font-weight: 700;
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children > a[aria-expanded="true"] ~ .dm-solutions-dropdown {
|
||
opacity: 1;
|
||
visibility: visible;
|
||
pointer-events: auto;
|
||
transform: translate(-50%, 24px);
|
||
}
|
||
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children > a[aria-expanded="true"]:after {
|
||
transform: rotate(180deg);
|
||
}
|
||
|
||
/* Outlines are globally suppressed for .main-menu>li>a above;
|
||
restore a visible focus ring scoped only to this trigger. */
|
||
#masthead .header-menu-container .main-menu > li.menu-item-has-children > a:focus-visible {
|
||
outline: 2px solid var(--logico-dark-text-color, #ffffff);
|
||
outline-offset: 6px;
|
||
border-radius: 4px;
|
||
}
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-row {
|
||
display: flex !important;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-row > a {
|
||
display: block;
|
||
flex: 1 1 auto;
|
||
padding: 0.75em 0;
|
||
color: var(--logico-default-text-color);
|
||
text-decoration: none;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-toggle {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 44px;
|
||
height: 44px;
|
||
margin: 0;
|
||
padding: 0;
|
||
flex: 0 0 44px;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--logico-default-text-color);
|
||
cursor: pointer;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-toggle:focus-visible {
|
||
outline: 2px solid currentColor;
|
||
outline-offset: 2px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-accordion-chevron {
|
||
display: inline-block;
|
||
width: 0.7em;
|
||
height: 0.7em;
|
||
flex: 0 0 auto;
|
||
background-color: currentColor;
|
||
-webkit-mask-repeat: no-repeat;
|
||
mask-repeat: no-repeat;
|
||
-webkit-mask-position: center;
|
||
mask-position: center;
|
||
-webkit-mask-size: contain;
|
||
mask-size: contain;
|
||
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
|
||
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
|
||
transition: transform 0.3s ease;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions.dm-accordion-open .dm-accordion-chevron {
|
||
transform: rotate(180deg);
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-panel {
|
||
max-height: 0;
|
||
overflow: hidden;
|
||
list-style: none;
|
||
margin: 0;
|
||
padding: 0;
|
||
padding-left: 18px;
|
||
transition: max-height 0.3s ease;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions.dm-accordion-open .dm-mobile-solutions-panel {
|
||
max-height: 160px;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li {
|
||
font-size: 0.9em;
|
||
}
|
||
|
||
/* .mobile-header-menu-container ul.main-menu>li>a (site.css) only
|
||
matches direct children of .main-menu, so these nested links
|
||
fall through to the sitewide generic underlined-anchor default.
|
||
Restore the plain sibling-item look explicitly. */
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li > a {
|
||
display: block;
|
||
padding: 0.35em 0;
|
||
color: var(--logico-default-text-color);
|
||
text-decoration: none;
|
||
}
|
||
|
||
/* A vendor li:before rule (checkmark bullet, likely intended for a
|
||
feature-list style elsewhere) leaks through here since the reset
|
||
at .mobile-header-menu-container ul.main-menu>li:before only
|
||
matches direct children of .main-menu, not this nested li.
|
||
Suppress it on both the <li> and <a> — these child rows aren't
|
||
top-level nav items and shouldn't carry any bullet/indicator. */
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li:before,
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li > a:before {
|
||
content: none !important;
|
||
display: none !important;
|
||
}
|
||
|
||
#masthead .mobile-header-menu-container .dm-mobile-solutions-panel > li.dm-child-active > a {
|
||
color: var(--logico-light-text-color);
|
||
text-decoration: underline;
|
||
}
|
||
`}})]})}])},95187,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return r.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var l in n)Object.defineProperty(i,l,{enumerable:!0,get:n[l]});let a=e.r(32120),o=e.r(92245),r=e.r(35326)},58234,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(22016),l=e.i(57688),a=e.i(95187);let o=(0,a.createServerReference)("40178d6214c1b2a677a6ba1e043a26ad439d28ae9a",a.callServer,void 0,a.findSourceMapURL,"sendEmailAction");var r=e.i(2018);e.s(["default",0,function(){let e={"--grid-column-gap":"52px","--grid-row-gap":"18px",columnGap:"52px",rowGap:"18px"},[a,s]=(0,i.useState)(!1),[d,c]=(0,i.useState)({fullName:"",email:"",subject:"",message:""}),[m,h]=(0,i.useState)("idle");(0,i.useEffect)(()=>{let e=()=>{window.scrollY>300?s(!0):s(!1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let p=e=>{let{name:t,value:i}=e.target;c(e=>({...e,[t]:i})),("success"===m||"error"===m)&&h("idle")},u=async e=>{e.preventDefault(),h("submitting");try{let e=await o(d);e.success?(h("success"),c({fullName:"",email:"",subject:"",message:""})):(console.error("Failed to submit contact form:",e.error),h("error"))}catch(e){console.error("Error submitting contact form:",e),h("error")}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:`
|
||
.logico-form-field.dm-field-filled .logico-label-wrapper>label {
|
||
font-size: 14px;
|
||
top: -14px;
|
||
color: var(--logico-dark-text-color);
|
||
}
|
||
.logico-form-field.dm-field-filled .logico-label-placeholder .logico-label-placeholder-text:before {
|
||
right: 100%;
|
||
left: initial;
|
||
}
|
||
.logico-form-field.dm-field-filled .logico-label-placeholder .logico-label-placeholder-text:after {
|
||
left: 100%;
|
||
right: initial;
|
||
}
|
||
`}}),(0,t.jsx)("footer",{"data-rocket-location-hash":"1eeca93394c4fc14089e9d12a2a92e22",itemScope:!0,itemType:"https://schema.org/WPFooter",id:"colophon",role:"contentinfo",children:(0,t.jsx)("div",{className:"footer-width-fixer",children:(0,t.jsx)("div",{"data-elementor-type":"wp-post","data-elementor-id":"6585",className:"elementor elementor-6585",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-3cd920c e-con-full e-flex cut-corner-no sticky-container-off e-con e-parent","data-id":"3cd920c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-b29b8fc e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"b29b8fc","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-ef6fa6d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"ef6fa6d","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-9990148 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"9990148","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-8899bdf elementor-absolute elementor-widget elementor-widget-image","data-id":"8899bdf","data-element_type":"widget","data-e-type":"widget","data-settings":'{"_position":"absolute"}',"data-widget_type":"image.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(l.default,{width:965,height:474,src:"/images/bg-map.png",className:"attachment-full size-full wp-image-1148",alt:""})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-a0e7516 elementor-widget elementor-widget-logico_heading","data-id":"a0e7516","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"/ get in touch /"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-687d944 elementor-widget elementor-widget-logico_heading","data-id":"687d944","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(r.ScrollReveal,{delay:.1,duration:.8,yOffset:25,children:(0,t.jsx)("h3",{className:"logico-title",style:{color:"white"},children:"We are always ready to help you and answer your questions"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-670d1b2 elementor-widget elementor-widget-text-editor","data-id":"670d1b2","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Connecting businesses with fast, secure, smart deliveries."})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-2631b42 e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"2631b42","data-element_type":"container","data-e-type":"container",children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-df89993 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"df89993","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-69b6892 elementor-widget elementor-widget-logico_heading","data-id":"69b6892","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsx)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"})}),(0,t.jsx)("span",{children:"Contact"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-87be926 elementor-widget elementor-widget-text-editor","data-id":"87be926","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"Tel : +91 86886 97941"})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-f5d8e63 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"f5d8e63","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-774e540 elementor-widget elementor-widget-logico_heading","data-id":"774e540","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsxs)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),(0,t.jsx)("circle",{cx:"12",cy:"10",r:"3"})]}),(0,t.jsx)("span",{children:"Address"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-9c1cf03 elementor-widget elementor-widget-text-editor","data-id":"9c1cf03","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:"5th Floor, Vision Ultima, Street No.3, Jayabheri Enclave, Gachibowli, Hyderabad, Telangana 500032."})})})]})]})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-645be8d e-flex e-con-boxed cut-corner-no sticky-container-off e-con e-child","data-id":"645be8d","data-element_type":"container","data-e-type":"container",children:(0,t.jsxs)("div",{className:"e-con-inner",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-a96d151 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"a96d151","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-37e647f elementor-widget elementor-widget-logico_heading","data-id":"37e647f","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsxs)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"m22 7-10 5L2 7"})]}),(0,t.jsx)("span",{children:"Email"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-ba67644 elementor-widget elementor-widget-text-editor","data-id":"ba67644","data-element_type":"widget","data-e-type":"widget","data-widget_type":"text-editor.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("p",{children:(0,t.jsx)("a",{href:"mailto:care@doormile.com",children:"care@doormile.com"})})})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-9ba4b82 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"9ba4b82","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-e9a5d79 elementor-widget elementor-widget-logico_heading","data-id":"e9a5d79","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"logico-title dm-foot-label",children:[(0,t.jsxs)("svg",{className:"dm-foot-ic",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("circle",{cx:"18",cy:"5",r:"3"}),(0,t.jsx)("circle",{cx:"6",cy:"12",r:"3"}),(0,t.jsx)("circle",{cx:"18",cy:"19",r:"3"}),(0,t.jsx)("line",{x1:"8.59",y1:"13.51",x2:"15.42",y2:"17.49"}),(0,t.jsx)("line",{x1:"15.41",y1:"6.51",x2:"8.59",y2:"10.49"})]}),(0,t.jsx)("span",{children:"Social"})]})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-a6bccba elementor-shape-square elementor-grid-0 elementor-widget elementor-widget-social-icons","data-id":"a6bccba","data-element_type":"widget","data-e-type":"widget","data-widget_type":"social-icons.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-social-icons-wrapper elementor-grid",role:"list",style:e,children:[(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-linkedin-in elementor-repeater-item-38e1bcc",href:"https://www.linkedin.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"LinkedIn"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-linkedin-in",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})})]})}),(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-youtube elementor-repeater-item-b0d5e1f",href:"https://www.youtube.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"YouTube"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-youtube",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})})]})})]})})})]})]})})]}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-a5c503d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"a5c503d","data-element_type":"container","data-e-type":"container","data-settings":'{"background_background":"classic"}',children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-535776a elementor-widget elementor-widget-logico_heading","data-id":"535776a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-title",children:"Get in Touch"})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-0e6fedf elementor-widget elementor-widget-logico_wpforms","data-id":"0e6fedf","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_wpforms.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"logico-wpforms-widget",children:(0,t.jsx)("div",{className:"wpforms-container wpforms-render-modern",id:"wpforms-369",children:(0,t.jsxs)("form",{id:"wpforms-form-369",className:"wpforms-validate wpforms-form",onSubmit:u,children:[(0,t.jsxs)("div",{className:"wpforms-field-container",children:[(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.fullName?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Full name"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-name",children:"Full name"})]}),(0,t.jsx)("input",{type:"text",id:"footer-field-name",className:"wpforms-field-large",name:"fullName",value:d.fullName,onChange:p,required:!0})]}),(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.email?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Email"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-email",children:"Email"})]}),(0,t.jsx)("input",{type:"email",id:"footer-field-email",className:"wpforms-field-large",name:"email",value:d.email,onChange:p,required:!0})]}),(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.subject?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Subject"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-subject",children:"Subject"})]}),(0,t.jsx)("input",{type:"text",id:"footer-field-subject",className:"wpforms-field-large",name:"subject",value:d.subject,onChange:p,required:!0})]}),(0,t.jsxs)("div",{className:`wpforms-field-wrapper logico-form-field${d.message?" dm-field-filled":""}`,children:[(0,t.jsxs)("div",{className:"logico-label-wrapper",style:{marginBottom:"12px"},children:[(0,t.jsx)("div",{className:"logico-label-placeholder",children:(0,t.jsx)("div",{className:"logico-label-placeholder-text",children:"Message"})}),(0,t.jsx)("label",{className:"wpforms-field-label",htmlFor:"footer-field-message",children:"Message"})]}),(0,t.jsx)("textarea",{id:"footer-field-message",className:"wpforms-field-large",name:"message",value:d.message,onChange:p,required:!0})]})]}),(0,t.jsxs)("div",{className:"wpforms-submit-container",children:[(0,t.jsx)("button",{type:"submit",id:"wpforms-submit-369",className:"logico-alter-button wpforms-submit",disabled:"submitting"===m,children:"submitting"===m?"Sending...":"Send a message"}),"success"===m&&(0,t.jsx)("div",{style:{marginTop:"16px",color:"#4CAF50",fontSize:"14px",fontWeight:"bold"},children:"Message sent successfully!"}),"error"===m&&(0,t.jsx)("div",{style:{color:"#f44336",marginTop:"10px",fontSize:"14px"},children:"Failed to send message. Please try again."})]})]})})})})})]})]}),(0,t.jsx)("div",{className:"elementor-element elementor-element-e183a77 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"e183a77","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-5219697 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5219697","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-e6af8aa elementor-widget__width-initial elementor-widget elementor-widget-logico_heading","data-id":"e6af8aa","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_heading.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(r.ScrollReveal,{delay:.1,duration:.8,yOffset:25,children:(0,t.jsxs)("h2",{className:"logico-title",children:["Delivered ",(0,t.jsx)("span",{style:{color:"#c01227"},children:"on time"})," with no hassle."]})})})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-ba22941 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"ba22941","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-54629ca elementor-widget-divider--view-line elementor-widget elementor-widget-divider","data-id":"54629ca","data-element_type":"widget","data-e-type":"widget","data-widget_type":"divider.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)("div",{className:"elementor-divider",children:(0,t.jsx)("span",{className:"elementor-divider-separator"})})})})}),(0,t.jsxs)("div",{className:"elementor-element elementor-element-3f1ba7a e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"3f1ba7a","data-element_type":"container","data-e-type":"container",children:[(0,t.jsxs)("div",{className:"elementor-element elementor-element-64e2e81 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"64e2e81","data-element_type":"container","data-e-type":"container",children:[(0,t.jsx)("div",{className:"elementor-element elementor-element-b5c897d elementor-widget elementor-widget-image","data-id":"b5c897d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"image.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsx)(n.default,{href:"/",children:(0,t.jsx)(l.default,{width:748,height:184,src:"/images/logo-slogan.png",style:{width:"280px",height:"auto"},className:"attachment-full size-full wp-image-5851",alt:"Doormile Tagline"})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-e4e6486 elementor-shape-square elementor-grid-0 elementor-widget elementor-widget-social-icons","data-id":"e4e6486","data-element_type":"widget","data-e-type":"widget","data-widget_type":"social-icons.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("div",{className:"elementor-social-icons-wrapper elementor-grid",role:"list",style:e,children:[(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-linkedin-in",href:"https://www.linkedin.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"LinkedIn"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-linkedin-in",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"})})]})}),(0,t.jsx)("span",{className:"elementor-grid-item",role:"listitem",style:{padding:"0 15px"},children:(0,t.jsxs)("a",{className:"elementor-icon elementor-social-icon elementor-social-icon-youtube",href:"https://www.youtube.com",target:"_blank",rel:"noopener noreferrer",children:[(0,t.jsx)("span",{className:"elementor-screen-only",children:"YouTube"}),(0,t.jsx)("svg",{"aria-hidden":"true",className:"e-font-icon-svg e-fab-youtube",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"})})]})})]})})})]}),(0,t.jsx)("div",{className:"elementor-element elementor-element-5b73dd3 e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"5b73dd3","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-b2507df elementor-widget elementor-widget-logico_custom_navigation_menu","data-id":"b2507df","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_custom_navigation_menu.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("ul",{className:"logico-custom-menu-widget",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/miletruth",children:"MileTruth™"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/how-it-works",children:"How It Works"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/solutions",children:"Use Cases"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/contact",children:"Request Demo"})})]})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-451f15c e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"451f15c","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-a219b7d elementor-widget elementor-widget-logico_custom_navigation_menu","data-id":"a219b7d","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_custom_navigation_menu.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("ul",{className:"logico-custom-menu-widget",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/about-us",children:"About Us"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/about-us#women-entrepreneurship",children:"Women entrepreneurship"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/blog",children:"Blog"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/contact",children:"Contact"})})]})})})}),(0,t.jsx)("div",{className:"elementor-element elementor-element-44a1f5d e-con-full e-flex cut-corner-no sticky-container-off e-con e-child","data-id":"44a1f5d","data-element_type":"container","data-e-type":"container",children:(0,t.jsx)("div",{className:"elementor-element elementor-element-189484a elementor-widget elementor-widget-logico_custom_navigation_menu","data-id":"189484a","data-element_type":"widget","data-e-type":"widget","data-widget_type":"logico_custom_navigation_menu.default",children:(0,t.jsx)("div",{className:"elementor-widget-container",children:(0,t.jsxs)("ul",{className:"logico-custom-menu-widget",children:[(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/privacy-policy",children:"Privacy Policy"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/terms-of-service",children:"Terms of Service"})}),(0,t.jsx)("li",{children:(0,t.jsx)(n.default,{href:"/cookie-policy",children:"Cookie Policy"})})]})})})})]})]})})})})})}),(0,t.jsx)("div",{className:`footer-scroll-top ${a?"active":""}`,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},style:{cursor:"pointer"}}),(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:`
|
||
.elementor-6585 .elementor-element.elementor-element-e6af8aa .logico-title,
|
||
.elementor-6585 .elementor-element.elementor-element-3f1ba7a .logico-title,
|
||
.elementor-6585 .elementor-element.elementor-element-3f1ba7a .logico-custom-menu-widget {
|
||
font-family: var(--font-manrope), system-ui, -apple-system, "Segoe UI", sans-serif;
|
||
}
|
||
/* Prevent footer custom navigation menu items from wrapping on hover,
|
||
which causes layout shifts, height changes, and cursor flickering loops. */
|
||
.elementor-6585 .logico-custom-menu-widget li a {
|
||
white-space: nowrap !important;
|
||
}
|
||
/* The divider widget is a flex child that should grow via Elementor's
|
||
--container-widget-flex-grow variable, but the base rule wiring that
|
||
variable to flex-grow lives in elementor-frontend.css (not loaded). */
|
||
.elementor-6585 .elementor-element.elementor-element-54629ca {
|
||
flex-grow: 1;
|
||
width: 100%;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-54629ca .elementor-divider-separator {
|
||
display: block;
|
||
border-top: var(--divider-border-width, 1px) var(--divider-border-style, solid) var(--divider-color, #CBCBCB);
|
||
}
|
||
|
||
/* Production renders footer social icons at ~25px; ours default to 50px because the
|
||
base Elementor icon-size rule (font-size + SVG width:1em) is in elementor-frontend.css
|
||
which isn't loaded. Match prod for both upper (a6bccba) and lower (e4e6486) groups. */
|
||
.elementor-6585 .elementor-element.elementor-element-a6bccba .elementor-social-icon,
|
||
.elementor-6585 .elementor-element.elementor-element-e4e6486 .elementor-social-icon {
|
||
font-size: 16px;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-a6bccba .elementor-social-icon svg,
|
||
.elementor-6585 .elementor-element.elementor-element-e4e6486 .elementor-social-icon svg {
|
||
width: 25px;
|
||
height: 25px;
|
||
}
|
||
|
||
/* Compact footer link columns on phones (<=480px). The kit only sets
|
||
column --width at min-width:481px, so below that all four blocks
|
||
fall back to 100% and stack into one very tall column. Put the
|
||
logo+social full-width on top, then lay the three link groups out
|
||
in a 2-up grid (matching the tablet 47% intent) so the footer is
|
||
roughly half as tall. */
|
||
/* Inline icon beside each contact label (Call Center / Our Location /
|
||
Email / Social network). */
|
||
.elementor-6585 .dm-foot-label {
|
||
display: inline-flex !important;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.elementor-6585 .dm-foot-label .dm-foot-ic {
|
||
flex: 0 0 auto;
|
||
color: #C01227;
|
||
}
|
||
|
||
/* ── Compact mobile contact footer (<=600px) ──
|
||
On phones the upper contact section stacked into one very tall
|
||
column with 50px margins between every block. Tighten the heading,
|
||
collapse those stack margins, and pair Email + Social side-by-side
|
||
(both are short) so the footer is far shorter without losing the
|
||
full-width address readability. */
|
||
@media (max-width: 600px) {
|
||
/* Trim the band's oversized top/bottom padding on phones. */
|
||
.elementor-6585 .elementor-element.elementor-element-b29b8fc > .e-con-inner {
|
||
padding-top: 40px !important;
|
||
padding-bottom: 40px !important;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-687d944 .logico-title {
|
||
font-size: clamp(24px, 6.6vw, 32px) !important;
|
||
line-height: 1.2 !important;
|
||
}
|
||
.elementor-6585 .dm-foot-label .dm-foot-ic { width: 14px; height: 14px; }
|
||
/* The Call Center / Our Location group carries a 10px side padding
|
||
the Email / Social group doesn't, leaving its labels indented
|
||
10px out of line with everything else — zero it so all four
|
||
contact blocks share the same left edge as the heading. */
|
||
.elementor-6585 .elementor-element.elementor-element-2631b42 {
|
||
padding-left: 0 !important;
|
||
padding-right: 0 !important;
|
||
}
|
||
/* All four contact blocks stack in one left-aligned column with a
|
||
consistent gap (Social network sits below Email). */
|
||
.elementor-6585 .elementor-element.elementor-element-2631b42,
|
||
.elementor-6585 .elementor-element.elementor-element-f5d8e63,
|
||
.elementor-6585 .elementor-element.elementor-element-645be8d,
|
||
.elementor-6585 .elementor-element.elementor-element-9ba4b82 {
|
||
margin-top: 22px !important;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-645be8d > .e-con-inner {
|
||
flex-direction: column !important;
|
||
gap: 0 !important;
|
||
align-items: stretch !important;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-a96d151,
|
||
.elementor-6585 .elementor-element.elementor-element-9ba4b82 {
|
||
width: 100% !important;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 480px) {
|
||
.elementor-6585 .elementor-element.elementor-element-3f1ba7a {
|
||
display: flex !important;
|
||
flex-direction: row !important;
|
||
flex-wrap: wrap !important;
|
||
gap: 36px 16px !important;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-64e2e81 {
|
||
flex: 0 0 100% !important;
|
||
width: 100% !important;
|
||
}
|
||
.elementor-6585 .elementor-element.elementor-element-5b73dd3,
|
||
.elementor-6585 .elementor-element.elementor-element-451f15c,
|
||
.elementor-6585 .elementor-element.elementor-element-44a1f5d {
|
||
flex: 1 1 calc(50% - 8px) !important;
|
||
width: calc(50% - 8px) !important;
|
||
min-width: 0 !important;
|
||
}
|
||
/* Allow long links (e.g. "Women entrepreneurship") to wrap inside
|
||
the narrow columns instead of overflowing. */
|
||
.elementor-6585 .logico-custom-menu-widget li a {
|
||
white-space: normal !important;
|
||
}
|
||
/* Trim the large social-icons top gap so the brand block stays tight. */
|
||
.elementor-6585 .elementor-element.elementor-element-e4e6486 > .elementor-widget-container {
|
||
margin-top: 24px !important;
|
||
}
|
||
}
|
||
`}})]})}],58234)},67989,e=>{"use strict";var t=e.i(71645),i=e.i(18566);let n="wp-singular page-template-default page wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-kit-5 elementor-page",l={"/":`home-page ${n} page-id-61 elementor-page-61 is-home-page`,"/how-it-works":"wp-singular page-template-default page page-id-59 wp-theme-logico wp-child-theme-logico-child theme-logico ehf-header ehf-footer ehf-template-logico ehf-stylesheet-logico-child logico-front-end logico-theme-style-rounded elementor-default elementor-page elementor-page-59","/miletruth":`${n} page-id-59 elementor-page-59`,"/solutions":`${n} page-id-59 elementor-page-59`,"/about-us":`home ${n} page-id-59 elementor-page-59`,"/empowerment":`home ${n} page-id-59 elementor-page-59`,"/blog":`${n} page-id-59 elementor-page-59`,"/contact":`${n} page-id-59 elementor-page-59`};e.s(["default",0,function(){let e=(0,i.usePathname)();return(0,t.useEffect)(()=>{document.body.className=l[e]??n},[e]),null}],67989)},92260,e=>{"use strict";var t=e.i(43476),i=e.i(82637);e.s(["default",0,function(){let{isMenuOpen:e,isSidebarOpen:n,closeAll:l}=(0,i.useHeaderUI)();return(0,t.jsx)("div",{className:`body-overlay${e||n?" active":""}`,onClick:l})}])},48064,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(18566),l=e.i(89970),a=e.i(83495);e.s(["default",0,function({children:e}){let o=(0,n.usePathname)(),r=()=>{a.ScrollTrigger.getAll().forEach(e=>{e.vars&&"block-deco"===e.vars.id&&e.kill()});let e=window.innerHeight||document.documentElement.clientHeight;document.querySelectorAll(".block-decoration").forEach(t=>{a.ScrollTrigger.create({id:"block-deco",trigger:t,start:"top 92%",onEnter:()=>{setTimeout(()=>{t.classList.add("animated")},150)},onEnterBack:()=>{setTimeout(()=>{t.classList.add("animated")},150)},onLeave:()=>{t.classList.remove("animated")},onLeaveBack:()=>{t.classList.remove("animated")}});let i=t.getBoundingClientRect();i.top<e&&i.bottom>0&&t.classList.add("animated")})};return(0,i.useEffect)(()=>{let e;l.default.registerPlugin(a.ScrollTrigger),l.default.defaults({ease:"power3.out",duration:.8}),a.ScrollTrigger.config({ignoreMobileResize:!0}),r();let t=()=>{r(),a.ScrollTrigger.refresh(!0)};window.addEventListener("load",t);let i=()=>{clearTimeout(e),e=setTimeout(()=>{r(),a.ScrollTrigger.refresh(!0)},200)};return window.addEventListener("resize",i),()=>{clearTimeout(e),window.removeEventListener("load",t),window.removeEventListener("resize",i),a.ScrollTrigger.getAll().forEach(e=>e.kill())}},[]),(0,i.useEffect)(()=>{let e=()=>{r(),a.ScrollTrigger.refresh(!0)};e();let t=[setTimeout(e,100),setTimeout(e,400),setTimeout(e,800),setTimeout(e,1500)];return()=>{t.forEach(clearTimeout)}},[o]),(0,t.jsx)(t.Fragment,{children:e})}])},26290,e=>{"use strict";var t=e.i(71645),i=e.i(18566),n=e.i(89970),l=e.i(83495),a=e.i(92599);let o=["/how-it-works"];e.s(["default",0,function(){let e=(0,i.usePathname)();return(0,t.useEffect)(()=>{let t,i=o.some(t=>e===t||e.startsWith(`${t}/`)),r=window.matchMedia("(prefers-reduced-motion: reduce)").matches,s=window.matchMedia("(hover: hover) and (pointer: fine)").matches;if(i||r||!s){if(window.location.hash){let e=()=>{try{let e=document.querySelector(window.location.hash);e&&e.scrollIntoView()}catch(e){console.warn(e)}};e(),t=setTimeout(e,100)}else window.scrollTo(0,0);return()=>{t&&clearTimeout(t)}}n.default.registerPlugin(l.ScrollTrigger);let d="/miletruth"===e||e.startsWith("/miletruth/"),c=new a.default(d?{lerp:.13,wheelMultiplier:1.3,touchMultiplier:1.6,orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0}:{duration:1.05,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),orientation:"vertical",gestureOrientation:"vertical",smoothWheel:!0});if(window.location.hash){let e=()=>{try{let e=document.querySelector(window.location.hash);e&&c.scrollTo(e,{immediate:!0})}catch(e){console.warn(e)}};e(),t=setTimeout(e,100)}else c.scrollTo(0,{immediate:!0}),window.scrollTo(0,0);c.on("scroll",l.ScrollTrigger.update);let m=e=>c.raf(1e3*e);return n.default.ticker.add(m),n.default.ticker.lagSmoothing(0),l.ScrollTrigger.refresh(),()=>{t&&clearTimeout(t),n.default.ticker.remove(m),c.destroy()}},[e]),null}])},8971,e=>{"use strict";var t=e.i(43476),i=e.i(71645),n=e.i(57688),l=e.i(18566);function a(e){return`${e.pathname}${e.search}`}e.s(["default",0,function(){let e=(0,l.usePathname)(),[o,r]=(0,i.useState)("hidden"),s=(0,i.useRef)("hidden"),d=(0,i.useRef)(0),c=(0,i.useRef)(null),m=(0,i.useRef)(null),h=(0,i.useRef)(null),p=(0,i.useRef)(null),u=e=>{s.current=e,r(e)},g=e=>{e.current&&(clearTimeout(e.current),e.current=null)},f=()=>{if(c.current=null,g(p),"hidden"===s.current||"hiding"===s.current)return;let e=Math.max(0,420-(performance.now()-d.current));g(h),h.current=setTimeout(()=>{u("hiding"),h.current=setTimeout(()=>u("hidden"),360)},e)};return((0,i.useEffect)(()=>{m.current=`${e}${window.location.search}`,f()},[e]),(0,i.useEffect)(()=>{let e=(e,t=!1)=>{(t||e!==a(new URL(window.location.href)))&&(c.current!==e||"visible"!==s.current)&&(c.current=e,g(h),g(p),d.current=performance.now(),u("visible"),p.current=setTimeout(()=>{f()},800))},t=t=>{if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;let i=t.target?.closest("a[href]");if(!i||!(i instanceof HTMLAnchorElement))return;let n=(e=>{let t=e.getAttribute("href");if(!t||t.startsWith("#")||e.target&&"_self"!==e.target||e.hasAttribute("download")||/^(mailto:|tel:|sms:|javascript:)/i.test(t))return null;let i=new URL(t,window.location.href);if(i.origin!==window.location.origin)return null;let n=new URL(window.location.href);return i.pathname===n.pathname&&i.search===n.search?null:a(i)})(i);n&&e(n)},i=window.history.pushState,n=window.history.replaceState,l=t=>{t!==a(new URL(window.location.href))&&window.setTimeout(()=>{e(t,!0)},0)};window.history.pushState=function(...e){let t=e[2];if("string"==typeof t||t instanceof URL){let e=new URL(t,window.location.href);e.origin===window.location.origin&&l(a(e))}return i.apply(this,e)},window.history.replaceState=function(...e){let t=e[2];if("string"==typeof t||t instanceof URL){let e=new URL(t,window.location.href);e.origin===window.location.origin&&l(a(e))}return n.apply(this,e)};let o=()=>{let t=a(new URL(window.location.href));t!==m.current&&e(t,!0)};return document.addEventListener("click",t,!0),window.addEventListener("popstate",o),()=>{document.removeEventListener("click",t,!0),window.removeEventListener("popstate",o),window.history.pushState=i,window.history.replaceState=n,g(h),g(p)}},[]),"hidden"===o)?null:(0,t.jsxs)("div",{className:`dm-loader${"hiding"===o?" is-hiding":""}`,role:"status","aria-live":"polite","aria-label":"Loading",onTransitionEnd:e=>{"opacity"===e.propertyName&&"hiding"===o&&(r("hidden"),s.current="hidden")},children:[(0,t.jsx)("div",{className:"dm-loader__pulse",children:(0,t.jsx)(n.default,{src:"/images/preloader.png",alt:"Doormile",width:325,height:239,priority:!0,className:"dm-loader__logo"})}),(0,t.jsx)("style",{children:`
|
||
.dm-loader {
|
||
position: fixed;
|
||
inset: 0;
|
||
z-index: 100000;
|
||
display: grid;
|
||
place-items: center;
|
||
background: #000;
|
||
opacity: 1;
|
||
transition: opacity 0.32s ease;
|
||
will-change: opacity;
|
||
}
|
||
.dm-loader.is-hiding { opacity: 0; pointer-events: none; }
|
||
.dm-loader__pulse { animation: dmLoaderPulse 1.5s linear infinite; display: grid; place-items: center; }
|
||
.dm-loader__logo { display: block; margin: 0 auto; width: clamp(120px, 32vw, 180px); height: auto; }
|
||
@keyframes dmLoaderPulse {
|
||
50% { transform: scale(0.85); }
|
||
100% { transform: scale(1); }
|
||
}
|
||
@media (prefers-reduced-motion: reduce) {
|
||
.dm-loader__pulse { animation: none; }
|
||
}
|
||
`})]})}])}]); |