import{B as y,S as _,a as U,s as m,T as b,b as D,f as W}from"./App-f82e7c5d.js";import{b as c,j as n,bk as Y,r as d,t as x,bl as J,bm as K,u as z,ab as X,F as v}from"./vendor-fc9035d8.js";import{I as Z,C as tt}from"./New-fdfe9b5f.js";import{T as et}from"./Title-97848d8d.js";import{f as R}from"./currency-6fcbe5fc.js";import{C as st}from"./ClientsMarquee-fe8df95e.js";import{clients as nt}from"./Business-61f2e64b.js";import{H as rt}from"./HowItWorksComponent-12119280.js";import"./FourColumns-15fc027f.js";import"./index-116de7e0.js";import"./ContactForm-7904225b.js";import"./Form-ead318cd.js";import"./QrCodeScanner-96b14a4f.js";import"./isNativeReflectConstruct-ff095bc2.js";import"./index-6249d77e.js";import"./paymentMethodIcon-fb783fb6.js";const ot=({image:s,title:e,href:t,external:r=!1})=>c("div",{className:"flex flex-col justify-center text-center",children:[n("img",{alt:e,className:"mx-auto w-24",src:s}),c(y,{className:"mb-4 mt-4 text-center uppercase md:mb-0",href:t,external:r,children:[e,n(Y,{className:"ml-1 h-3"})]})]});function N(){return N=Object.assign?Object.assign.bind():function(s){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(s[r]=t[r])}return s},N.apply(this,arguments)}var it={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(s){},onComplete:function(s){},preStringTyped:function(s,e){},onStringTyped:function(s,e){},onLastStringBackspaced:function(s){},onTypingPaused:function(s,e){},onTypingResumed:function(s,e){},onReset:function(s){},onStop:function(s,e){},onStart:function(s,e){},onDestroy:function(s){}},at=new(function(){function s(){}var e=s.prototype;return e.load=function(t,r,o){if(t.el=typeof o=="string"?document.querySelector(o):o,t.options=N({},it,r),t.isInput=t.el.tagName.toLowerCase()==="input",t.attr=t.options.attr,t.bindInputFocusEvents=t.options.bindInputFocusEvents,t.showCursor=!t.isInput&&t.options.showCursor,t.cursorChar=t.options.cursorChar,t.cursorBlinking=!0,t.elContent=t.attr?t.el.getAttribute(t.attr):t.el.textContent,t.contentType=t.options.contentType,t.typeSpeed=t.options.typeSpeed,t.startDelay=t.options.startDelay,t.backSpeed=t.options.backSpeed,t.smartBackspace=t.options.smartBackspace,t.backDelay=t.options.backDelay,t.fadeOut=t.options.fadeOut,t.fadeOutClass=t.options.fadeOutClass,t.fadeOutDelay=t.options.fadeOutDelay,t.isPaused=!1,t.strings=t.options.strings.map(function(u){return u.trim()}),t.stringsElement=typeof t.options.stringsElement=="string"?document.querySelector(t.options.stringsElement):t.options.stringsElement,t.stringsElement){t.strings=[],t.stringsElement.style.cssText="clip: rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px;";var a=Array.prototype.slice.apply(t.stringsElement.children),i=a.length;if(i)for(var p=0;p<i;p+=1)t.strings.push(a[p].innerHTML.trim())}for(var l in t.strPos=0,t.arrayPos=0,t.stopNum=0,t.loop=t.options.loop,t.loopCount=t.options.loopCount,t.curLoop=0,t.shuffle=t.options.shuffle,t.sequence=[],t.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},t.typingComplete=!1,t.strings)t.sequence[l]=l;t.currentElContent=this.getCurrentElContent(t),t.autoInsertCss=t.options.autoInsertCss,this.appendAnimationCss(t)},e.getCurrentElContent=function(t){return t.attr?t.el.getAttribute(t.attr):t.isInput?t.el.value:t.contentType==="html"?t.el.innerHTML:t.el.textContent},e.appendAnimationCss=function(t){var r="data-typed-js-css";if(t.autoInsertCss&&(t.showCursor||t.fadeOut)&&!document.querySelector("["+r+"]")){var o=document.createElement("style");o.type="text/css",o.setAttribute(r,!0);var a="";t.showCursor&&(a+=`
        .typed-cursor{
          opacity: 1;
        }
        .typed-cursor.typed-cursor--blink{
          animation: typedjsBlink 0.7s infinite;
          -webkit-animation: typedjsBlink 0.7s infinite;
                  animation: typedjsBlink 0.7s infinite;
        }
        @keyframes typedjsBlink{
          50% { opacity: 0.0; }
        }
        @-webkit-keyframes typedjsBlink{
          0% { opacity: 1; }
          50% { opacity: 0.0; }
          100% { opacity: 1; }
        }
      `),t.fadeOut&&(a+=`
        .typed-fade-out{
          opacity: 0;
          transition: opacity .25s;
        }
        .typed-cursor.typed-cursor--blink.typed-fade-out{
          -webkit-animation: 0;
          animation: 0;
        }
      `),o.length!==0&&(o.innerHTML=a,document.body.appendChild(o))}},s}()),M=new(function(){function s(){}var e=s.prototype;return e.typeHtmlChars=function(t,r,o){if(o.contentType!=="html")return r;var a=t.substr(r).charAt(0);if(a==="<"||a==="&"){var i;for(i=a==="<"?">":";";t.substr(r+1).charAt(0)!==i&&!(1+ ++r>t.length););r++}return r},e.backSpaceHtmlChars=function(t,r,o){if(o.contentType!=="html")return r;var a=t.substr(r).charAt(0);if(a===">"||a===";"){var i;for(i=a===">"?"<":"&";t.substr(r-1).charAt(0)!==i&&!(--r<0););r--}return r},s}()),lt=function(){function s(t,r){at.load(this,r,t),this.begin()}var e=s.prototype;return e.toggle=function(){this.pause.status?this.start():this.stop()},e.stop=function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))},e.start=function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))},e.destroy=function(){this.reset(!1),this.options.onDestroy(this)},e.reset=function(t){t===void 0&&(t=!0),clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,t&&(this.insertCursor(),this.options.onReset(this),this.begin())},e.begin=function(){var t=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){t.currentElContent&&t.currentElContent.length!==0?t.backspace(t.currentElContent,t.currentElContent.length):t.typewrite(t.strings[t.sequence[t.arrayPos]],t.strPos)},this.startDelay)},e.typewrite=function(t,r){var o=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var a=this.humanizer(this.typeSpeed),i=1;this.pause.status!==!0?this.timeout=setTimeout(function(){r=M.typeHtmlChars(t,r,o);var p=0,l=t.substr(r);if(l.charAt(0)==="^"&&/^\^\d+/.test(l)){var u=1;u+=(l=/\d+/.exec(l)[0]).length,p=parseInt(l),o.temporaryPause=!0,o.options.onTypingPaused(o.arrayPos,o),t=t.substring(0,r)+t.substring(r+u),o.toggleBlinking(!0)}if(l.charAt(0)==="`"){for(;t.substr(r+i).charAt(0)!=="`"&&(i++,!(r+i>t.length)););var h=t.substring(0,r),g=t.substring(h.length+1,r+i),f=t.substring(r+i+1);t=h+g+f,i--}o.timeout=setTimeout(function(){o.toggleBlinking(!1),r>=t.length?o.doneTyping(t,r):o.keepTyping(t,r,i),o.temporaryPause&&(o.temporaryPause=!1,o.options.onTypingResumed(o.arrayPos,o))},p)},a):this.setPauseStatus(t,r,!0)},e.keepTyping=function(t,r,o){r===0&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this));var a=t.substr(0,r+=o);this.replaceText(a),this.typewrite(t,r)},e.doneTyping=function(t,r){var o=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),this.loop===!1||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){o.backspace(t,r)},this.backDelay))},e.backspace=function(t,r){var o=this;if(this.pause.status!==!0){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var a=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){r=M.backSpaceHtmlChars(t,r,o);var i=t.substr(0,r);if(o.replaceText(i),o.smartBackspace){var p=o.strings[o.arrayPos+1];o.stopNum=p&&i===p.substr(0,r)?r:0}r>o.stopNum?(r--,o.backspace(t,r)):r<=o.stopNum&&(o.arrayPos++,o.arrayPos===o.strings.length?(o.arrayPos=0,o.options.onLastStringBackspaced(),o.shuffleStringsIfNeeded(),o.begin()):o.typewrite(o.strings[o.sequence[o.arrayPos]],r))},a)}else this.setPauseStatus(t,r,!1)},e.complete=function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0},e.setPauseStatus=function(t,r,o){this.pause.typewrite=o,this.pause.curString=t,this.pause.curStrPos=r},e.toggleBlinking=function(t){this.cursor&&(this.pause.status||this.cursorBlinking!==t&&(this.cursorBlinking=t,t?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))},e.humanizer=function(t){return Math.round(Math.random()*t/2)+t},e.shuffleStringsIfNeeded=function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))},e.initFadeOut=function(){var t=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){t.arrayPos++,t.replaceText(""),t.strings.length>t.arrayPos?t.typewrite(t.strings[t.sequence[t.arrayPos]],0):(t.typewrite(t.strings[0],0),t.arrayPos=0)},this.fadeOutDelay)},e.replaceText=function(t){this.attr?this.el.setAttribute(this.attr,t):this.isInput?this.el.value=t:this.contentType==="html"?this.el.innerHTML=t:this.el.textContent=t},e.bindFocusEvents=function(){var t=this;this.isInput&&(this.el.addEventListener("focus",function(r){t.stop()}),this.el.addEventListener("blur",function(r){t.el.value&&t.el.value.length!==0||t.start()}))},e.insertCursor=function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.setAttribute("aria-hidden",!0),this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))},s}();const ct=({strings:s,backSpeed:e=75,className:t,typeSpeed:r=75})=>{const o=d.useRef(null),a=d.useRef();return d.useEffect(()=>{const i={backSpeed:e,loop:!0,strings:s,typeSpeed:r};return o.current&&(a.current=new lt(o.current,i)),()=>{a.current&&a.current.destroy()}},[]),n("span",{className:t,ref:o})},ut=({title:s,subtitle:e,children:t,wrapperClassName:r,hideVideo:o=!1})=>c("div",{className:`${x("relative h-[320px] bg-tertiary-500 text-white",r)}`,children:[!o&&n("div",{className:"absolute inset-0 hidden md:block",children:n("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:"/video/nolongerlost/epoxy_animation_bg.mp4",className:"h-full w-full max-w-full object-cover"})}),c("div",{className:"relative mx-auto max-w-7xl px-4 py-12 md:py-16 xl:px-0",children:[c("h2",{className:"font-semibold tracking-tight",children:[n("span",{className:"block text-2xl text-inherit",children:s}),n("span",{className:"block text-xl text-inherit",children:e})]}),n("div",{className:"mt-8 flex",children:t})]})]});function pt({max:s=99,min:e=0,step:t=1,initial:r=1,onChange:o}){const[a,i]=d.useState(r);return d.useEffect(()=>{o(a)},[a]),n("div",{children:c("div",{className:"flex rounded-md",children:[n("button",{type:"button",onClick:()=>i(a>e?a-t:e),className:"relative -mr-px inline-flex items-center gap-x-1.5 rounded-l-md border-r-0 px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:n(J,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})}),n("div",{className:"relative flex focus-within:z-10",children:n("input",{type:"text",name:"quantity",id:"quantity",min:e,max:s,step:t,onChange:p=>{const l=parseInt(p.target.value);if(isNaN(l)){i(e);return}if(l<e){i(e);return}if(l>s){i(s);return}i(l)},className:"block w-12 rounded-none border-0 py-2 text-center text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6",value:a})}),n("button",{type:"button",onClick:()=>i(a<s?a+t:s),className:"relative -ml-px inline-flex items-center gap-x-1.5 rounded-r-md border-l-0 px-4 py-2 text-sm font-semibold text-gray-900 ring-1 ring-inset ring-gray-300 hover:bg-gray-50",children:n(K,{className:"h-5 w-5 text-gray-400","aria-hidden":"true"})})]})})}function ht({productsIds:s}){const{t:e}=z(),{isLoading:t,data:r}=X("products",()=>fetch(`/products?ids=${s.join(",")}`).then(l=>l.json())),[o,a]=d.useState({}),i=l=>{const u={...o};delete u[l],a(u)},p=Object.entries(o).reduce((l,[u,h])=>`${l}${u}:${h},`,"https://store.nolongerlost.com/cart/");return c("div",{className:"mt-6 grid grid-cols-1 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8",children:[t?s.map((l,u)=>n("div",{className:`min-h-80 aspect-h-1 aspect-w-1 col-span-1 mb-16 flex w-full animate-pulse items-center justify-center overflow-hidden rounded-md bg-gray-200 lg:aspect-none lg:h-80 ${u===0?"lg:col-span-4":"lg:col-span-2"}`,children:n(_,{stroke:"#041014"})},l)):r&&r.map((l,u)=>c(d.Fragment,{children:[n("div",{className:`col-span-1 ${u===0?"lg:col-span-4":"lg:col-span-2"}`,children:n(mt,{...l,secondaryText:u===0?e("Order 4 labels and get a 15% discount"):null,minQuantity:u===0?1:0,quantity:u===0?1:0,removeFromQuantities:i,onQuantityChange:(h,g)=>{a(f=>({...f,[h]:g}))}})}),u===0&&n("div",{className:"col-span-1 sm:hidden",children:n(y,{color:"softGreen",className:"w-full items-center justify-center py-4 text-lg",href:p,external:!0,children:e("Buy now")})})]},l.name)),n("div",{className:"col-span-1 sm:col-span-2 lg:col-span-4",children:n(y,{color:"softGreen",className:"w-full items-center justify-center py-4 text-lg",href:p,external:!0,children:e("Buy now")})})]})}const dt={blue:"bg-blue-200",pink:"bg-pink-200",green:"bg-green-200","light-yellow":"bg-yellow-200"};function mt(s){const[e,t]=d.useState(s.quantity),[r,o]=d.useState(s.variants[0]),a=s.variants.length>1;return c("div",{className:"group relative",children:[n("div",{className:"min-h-80 aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none lg:h-80",children:n("img",{src:r.image,alt:s.name,className:"h-full w-full object-contain object-center lg:h-full lg:w-full"})}),c("div",{className:"mt-4 flex justify-between",children:[n("div",{children:c("h3",{className:"text-sm text-gray-700",children:[s.name,a&&` - ${r.name}`]})}),c("p",{className:"text-sm font-medium text-gray-900",children:[R(parseFloat(s.price))," ",s.compareAtPrice&&n("span",{className:"line-through",children:R(parseFloat(s.compareAtPrice))})]})]}),c("div",{className:"mt-2 grid grid-cols-2 justify-between text-right text-xl font-medium",children:[n("div",{className:"col-span-1",children:n(pt,{min:s.minQuantity,onChange:i=>{t(i),s.onQuantityChange(r.id,i)},initial:e})}),n("div",{className:"col-span-1",children:a&&n("ul",{role:"list",className:"mt-auto flex items-center justify-center space-x-6 py-3 lg:space-x-3",children:s.variants.map(i=>n("li",{onClick:()=>{s.removeFromQuantities(r.id),o(i),s.onQuantityChange(i.id,e)},className:`h-6 w-6 cursor-pointer rounded-full border border-black border-opacity-10 lg:h-4 lg:w-4 ${dt[i.slug]} ${r.id===i.id?"text-gray-900":"text-gray-500"}`,children:n("span",{className:"sr-only",children:i.name})},i.id))})}),s.secondaryText&&n("div",{className:"col-span-2",children:n("p",{className:"mt-2 text-left text-sm text-gray-600",children:s.secondaryText})})]})]})}function Q(s){var e;return c("div",{className:"relative bg-gray-100",children:[n("div",{className:`relative h-80 overflow-hidden bg-indigo-600 md:absolute md:h-full md:w-1/3 lg:w-1/2 ${s.reversed?"md:right-0":"md:left-0"}`,children:n("img",{className:"h-full w-full object-cover",src:s.image.src,alt:s.image.alt})}),n("div",{className:"relative mx-auto max-w-7xl py-24 sm:py-32 lg:px-8 lg:py-40",children:c("div",{className:`pl-6 pr-6 md:w-2/3 lg:w-1/2 ${s.reversed?"md:mr-auto md:pr-16 lg:pl-0 lg:pr-24 xl:pr-32":"md:ml-auto md:pl-16 lg:pl-24 lg:pr-0 xl:pl-32"}`,children:[n("h2",{className:"text-base font-semibold leading-7 text-indigo-400",children:s.tag}),n("p",{className:"mt-2 font-rany text-3xl font-bold tracking-tight text-primary-500 sm:text-4xl",children:s.heading}),n("p",{className:"mt-6 text-base leading-7 text-gray-700",children:s.description}),n("div",{className:"mt-8",children:n(y,{...s.buttonProps,children:(e=s.buttonProps)==null?void 0:e.children})})]})})]})}function gt({title:s,categories:e}){return n("div",{className:"bg-gray-50",children:n("div",{className:"mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:c("div",{className:"mx-auto max-w-2xl py-8 sm:py-16 lg:max-w-none",children:[n("h2",{className:"text-2xl font-bold text-gray-900",children:s}),n("div",{className:"mt-6 space-y-12 lg:grid lg:grid-cols-3 lg:gap-x-6 lg:space-y-0",children:e.map(t=>c("div",{className:"group relative",children:[n("div",{className:"relative h-80 w-full overflow-hidden rounded-lg bg-white sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-75 sm:h-64",children:n("img",{src:t.imageSrc,alt:t.imageAlt,className:"h-full w-full object-cover object-center"})}),n("h3",{className:"mt-6 text-sm text-gray-500",children:c("a",{href:t.href,children:[n("span",{className:"absolute inset-0"}),t.name]})}),n("p",{className:"text-base font-semibold text-gray-900",children:t.description})]},t.name))})]})})})}const Et=()=>{var o,a,i,p,l,u,h,g,f,w,C,k,S,T,P,L,O,j,B,E,I,F,A,q,H;const{t:s}=z(),e=U(),t=[{background:"/img/nolongerlost/backgrounds/luggage.jpg",href:"https://store.nolongerlost.com/collections/itemlost",image:"/img/nolongerlost/icons/luggage.png",title:s("SHOP ITEM LOST"),description:s("")},{background:"/img/nolongerlost/backgrounds/child_lost_3_2.jpg",href:"https://store.nolongerlost.com/collections/personlost",image:"/img/nolongerlost/icons/woman.png",title:s("SHOP PERSON LOST"),description:s("")},{background:"/img/nolongerlost/backgrounds/doggo.jpg",href:"https://store.nolongerlost.com/collections/petlost",image:"/img/nolongerlost/icons/dog.png",title:s("SHOP PET LOST"),description:s("")}],r=[{name:"Item lost",description:s("Shop products for your items"),imageSrc:"/img/nolongerlost/categories/luggage-label-on-suitcase.webp",imageAlt:"Luggage with NoLongerLost tag",href:"https://store.nolongerlost.com/collections/itemlost"},{name:"Person lost",description:s("Shop products for your loved ones"),imageSrc:"/img/nolongerlost/categories/elastic-wristband-action-photo-cropped.webp",imageAlt:"Child with NoLongerLost wristband",href:"https://store.nolongerlost.com/collections/personlost"},{name:"Pet lost",description:s("Shop products for your pets"),imageSrc:"/img/nolongerlost/categories/dog-with-metal-tag.webp",imageAlt:"Dog with NoLongerLost tag",href:"https://store.nolongerlost.com/collections/petlost"}];return e===null?n(Z,{}):c(v,{children:[n(et,{title:"Home"}),c("div",{className:x("relative bg-cover bg-center lg:h-[75vh]",((o=e==null?void 0:e.pages.homepage)==null?void 0:o.heroWrapperClassName)||"bg-hero-banner"),children:[m((a=e==null?void 0:e.pages.homepage)==null?void 0:a.showHeroOverlay)&&n("span",{className:"absolute bottom-0 left-0 right-0 top-0 z-10 bg-black/20"}),c("div",{className:"mx-auto grid h-full max-w-7xl grid-cols-2 lg:grid-cols-4",children:[n("div",{className:"col-span-2 flex items-center lg:col-span-2 xl:col-span-2",children:c("div",{className:"z-20 flex flex-col px-5 pb-8 pt-20 md:px-2 md:py-20",children:[n(b,{className:`inline-block p-2 leading-7 lg:text-5xl lg:leading-[3rem] ${e?"":"font-rany"} ${e&&((p=(i=e.pages.homepage)==null?void 0:i.title)==null?void 0:p.className)}`,color:"linen",size:"3xl",weight:"semibold",children:e?((u=(l=e.pages.homepage)==null?void 0:l.title)==null?void 0:u.label)||e.name:c(v,{children:["NO"," ",n("br",{}),"LONGER"," ",n("br",{}),"LOST"]})}),n(b,{className:x("inline-block p-2 font-rany sm:text-xl md:text-4xl",(h=e==null?void 0:e.pages.homepage)==null?void 0:h.subTitle.className),color:"linen",size:"lg",weight:"semibold",children:e&&e.pages.homepage?e.pages.homepage.subTitle.label:c(v,{children:["The people powered platform to bring back"," ",n(ct,{strings:["happiness","lost items","lost pets","lost persons"]})]})}),m((g=e==null?void 0:e.navigation)==null?void 0:g.showStore)&&n("div",{children:n(y,{href:"https://store.nolongerlost.com/",external:!0,color:"linen",className:"mt-6 px-5 py-3 text-2xl uppercase text-primary-500",children:s("Shop now")})}),((f=e==null?void 0:e.pages.homepage)==null?void 0:f.heroButton)&&n("div",{children:n(y,{href:e.pages.homepage.heroButton.href,className:e.pages.homepage.heroButton.className,children:e.pages.homepage.heroButton.label})}),((w=e==null?void 0:e.pages.homepage)==null?void 0:w.buyNow)&&n(ht,{...e.pages.homepage.buyNow})]})}),e&&n("div",{className:"relative z-20 col-span-2 mb-8 items-start justify-center lg:col-span-2 lg:mb-0 lg:mt-52 lg:flex",children:e.productIsVideo?n("div",{className:"absolute hidden items-center lg:flex",children:n("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,src:D("product.mp4",e),className:"h-auto w-[512px] max-w-full object-cover"})}):n("img",{src:D(((C=e.pages.homepage)==null?void 0:C.productImageFilename)||"product.png",e),alt:`${e.name} NoLongerLost label`,className:x("mx-auto h-36 w-auto transition-all ease-out hover:scale-110",e.productImageClassName)})})]})]}),n(ut,{title:((S=(k=e==null?void 0:e.pages.homepage)==null?void 0:k.codeForm)==null?void 0:S.title)||s("Found an item?"),subtitle:((P=(T=e==null?void 0:e.pages.homepage)==null?void 0:T.codeForm)==null?void 0:P.subtitle)||s("Enter the unique code printed on the label"),wrapperClassName:(O=(L=e==null?void 0:e.pages.homepage)==null?void 0:L.codeForm)==null?void 0:O.wrapperClassName,hideVideo:((B=(j=e==null?void 0:e.pages.homepage)==null?void 0:j.codeForm)==null?void 0:B.hideVideo)||!1,children:n(tt,{})}),m((I=(E=e==null?void 0:e.pages)==null?void 0:E.homepage)==null?void 0:I.showProductTypes)&&n("div",{className:"bg-linen-500",children:c("div",{className:"mx-auto max-w-7xl px-5 py-10",children:[n("div",{className:"mb-8 flex justify-center",children:c("div",{className:"pb-3 pt-7 text-center md:px-0",children:[n(W,{size:"3xl",className:"inline sm:text-5xl"}),n(b,{className:"pb-6 font-rany sm:text-2xl md:text-6xl",color:"secondary",size:"2xl",weight:"normal",children:s("bring back happiness")}),n(b,{className:"mx-auto md:max-w-[67%] md:text-xl",children:s("All found items, persons and pets can easily be returned to the owner or caretaker. And finders take pleasure in returning them.")})]})}),n("div",{className:"flex flex-col items-center justify-around pb-6 md:flex-row",children:t.map(({title:$,href:V,image:G})=>n(ot,{href:V,image:G,external:!0,title:$},`feature-${$}`))})]})}),n(rt,{className:"bg-white"}),m((F=e==null?void 0:e.pages.homepage)==null?void 0:F.showProductTypes)&&n(gt,{title:s("Categories"),categories:r}),m((A=e==null?void 0:e.pages.homepage)==null?void 0:A.showB2B)&&n(Q,{tag:s("Business"),heading:s("NOLONGERLOST for your business?"),description:s("Check out how you can strengthen your business with NoLongerLost"),image:{src:"/img/nolongerlost/logos/logo-cloud.webp",alt:"Retail store with NoLongerLost label on a product"},buttonProps:{href:"/business",children:s("Learn more")},reversed:!0}),m((q=e==null?void 0:e.pages.homepage)==null?void 0:q.showRetail)&&n(Q,{tag:s("Retail"),heading:s("NOLONGERLOST for your store?"),description:s("Find out how you can increase your profit with NoLongerLost."),image:{src:"/retailers/displays-with-background.webp",alt:"Retail store with NoLongerLost label on a product"},buttonProps:{href:"/retail",children:s("Learn more")}}),m((H=e==null?void 0:e.pages.homepage)==null?void 0:H.showClients)&&n(st,{clients:nt})]})};export{Et as default};
