1"use strict";(globalThis.webpackChunkionai||=[]).push([[908],{810(e,l,s){s.d(l,{A:()=>b});var t=s(5043),a=s(7223),n=s(5200),i=s(579);function r(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-hero hlp-animate","aria-labelledby":"hlp-hero-title",children:[(0,i.jsxs)("div",{className:"hlp-hero-copy",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h1",{id:"hlp-hero-title",children:l.heading}),(0,i.jsx)("p",{className:"hlp-lead",children:l.description}),(0,i.jsxs)("a",{className:"hlp-button",href:l.ctaHref,children:[l.ctaText,(0,i.jsx)("span",{className:"hlp-button-arrow","aria-hidden":"true",children:(0,i.jsx)(n.dyV,{})})]})]}),(0,i.jsxs)("div",{className:"hlp-dashboard hlp-hero-art","aria-label":l.workflow.title,children:[(0,i.jsx)("div",{className:"hlp-dashboard-title",children:l.workflow.title}),(0,i.jsx)("div",{className:"hlp-stage-track",children:l.workflow.stages.map((e,s)=>(0,i.jsxs)("div",{className:"hlp-stage",children:[(0,i.jsx)("span",{className:s<l.workflow.stages.length-1?"hlp-stage-dot is-done":"hlp-stage-dot",children:s<l.workflow.stages.length-1?(0,i.jsx)(n.YrT,{}):""}),(0,i.jsx)("small",{children:e})]},e))}),(0,i.jsx)("div",{className:"hlp-dashboard-rows",children:l.workflow.rows.map(e=>{let{label:l,detail:s,state:t,icon:a}=e;return(0,i.jsxs)("div",{className:"hlp-dashboard-row",children:[(0,i.jsx)(a,{className:"hlp-row-icon","aria-hidden":"true"}),(0,i.jsxs)("div",{className:"hlp-row-copy",children:[(0,i.jsx)("strong",{children:l}),(0,i.jsx)("span",{children:s})]}),(0,i.jsx)("span",{className:`hlp-status hlp-status-${t.toLowerCase().replace(" ","-")}`,children:t})]},l)})})]})]})}function o(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-industry hlp-animate","aria-labelledby":"hlp-industry-title",children:[(0,i.jsxs)("div",{className:"hlp-industry-heading",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-industry-title",children:l.heading}),l.description&&(0,i.jsx)("p",{className:"hlp-section-description",children:l.description})]}),(0,i.jsx)("div",{className:"hlp-industry-list","aria-label":l.listLabel||"Hospitality industries",children:l.items.map(e=>{let{label:l,icon:s}=e;return(0,i.jsxs)("div",{className:"hlp-industry-item hlp-animate-item",children:[(0,i.jsx)(s,{"aria-hidden":"true"}),(0,i.jsx)("span",{children:l})]},l)})})]})}function c(e){let{items:l,label:s,columns:a,mobileSlideWidth:n="82%",trackClassName:r="",renderItem:o}=e;const c=(0,t.useRef)(null),d=(0,t.useRef)(null),[h,m]=(0,t.useState)(0);(0,t.useEffect)(()=>()=>cancelAnimationFrame(d.current),[]);return(0,i.jsxs)("div",{className:"hlp-carousel",style:{"--hlp-carousel-columns":a,"--hlp-carousel-mobile-width":n},children:[(0,i.jsx)("div",{className:`hlp-carousel-track ${r}`.trim(),ref:c,role:"group","aria-label":s,"aria-roledescription":"carousel",tabIndex:0,onScroll:()=>{cancelAnimationFrame(d.current),d.current=requestAnimationFrame(()=>{const e=c.current;if(!e)return;const l=e.getBoundingClientRect().left+e.clientWidth/2,s=Array.from(e.children).reduce((e,s,t)=>{const a=s.getBoundingClientRect(),n=Math.abs(a.left+a.width/2-l);return n<e.distance?{index:t,distance:n}:e},{index:0,distance:Number.POSITIVE_INFINITY}).index;m(s)})},children:l.map((e,s)=>(0,i.jsx)("div",{className:"hlp-carousel-slide hlp-animate-item",role:"group","aria-label":`${s+1} of ${l.length}`,"aria-roledescription":"slide",children:o(e,s)},e.label||e.title||e.question||s))}),(0,i.jsx)("div",{className:"hlp-carousel-pagination",role:"group","aria-label":`${s} pagination`,children:l.map((e,l)=>(0,i.jsx)("button",{className:"hlp-carousel-dot"+(h===l?" is-active":""),type:"button","aria-label":`Show ${s.toLowerCase()} item ${l+1}`,"aria-current":h===l?"true":void 0,onClick:()=>(e=>{const l=c.current,s=null===l||void 0===l?void 0:l.children[e];l&&s&&(l.scrollLeft=l.scrollLeft+s.getBoundingClientRect().left-l.getBoundingClientRect().left)})(l)},e.label||e.title||e.question||l))})]})}function d(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-content-section hlp-animate","aria-labelledby":"hlp-challenges-title",children:[(0,i.jsxs)("div",{className:"hlp-section-heading",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-challenges-title",children:l.heading})]}),(0,i.jsx)(c,{items:l.items,label:"Hiring challenges",columns:4,trackClassName:"hlp-card-grid",renderItem:e=>{let{title:l,description:s,icon:t}=e;return(0,i.jsxs)("article",{className:"hlp-card",children:[(0,i.jsx)(t,{className:"hlp-card-icon","aria-hidden":"true"}),(0,i.jsx)("h3",{children:l}),(0,i.jsx)("p",{children:s})]})}})]})}
1function h(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-content-section hlp-agents hlp-animate","aria-labelledby":"hlp-agents-title",children:[(0,i.jsxs)("div",{className:"hlp-section-heading",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-agents-title",children:l.heading}),l.description&&(0,i.jsx)("p",{className:"hlp-section-description",children:l.description})]}),(0,i.jsx)("div",{className:"hlp-card-grid",children:l.items.map(e=>{let{title:l,description:s,icon:t,tone:a}=e;return(0,i.jsxs)("article",{className:"hlp-card hlp-agent-card hlp-animate-item",children:[(0,i.jsx)("span",{className:`hlp-agent-icon hlp-agent-${a}`,children:(0,i.jsx)(t,{"aria-hidden":"true"})}),(0,i.jsx)("h3",{children:l}),(0,i.jsx)("p",{children:s})]},l)})})]})}function m(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-workflow hlp-animate","aria-labelledby":"hlp-workflow-title",children:[(0,i.jsxs)("div",{className:"hlp-workflow-copy",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-workflow-title",children:l.heading})]}),(0,i.jsx)("div",{className:"hlp-workflow-steps",children:l.items.map((e,s)=>{let{label:a,icon:n}=e;return(0,i.jsxs)(t.Fragment,{children:[(0,i.jsxs)("div",{className:"hlp-workflow-step hlp-animate-item",children:[(0,i.jsx)("span",{children:(0,i.jsx)(n,{"aria-hidden":"true"})}),(0,i.jsx)("small",{children:a})]}),s<l.items.length-1&&(0,i.jsx)("span",{className:"hlp-workflow-arrow","aria-hidden":"true",children:"\u2192"})]},a)})})]})}function p(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-content-section hlp-stakeholders hlp-animate","aria-labelledby":"hlp-stakeholders-title",children:[(0,i.jsxs)("div",{className:"hlp-section-heading",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-stakeholders-title",children:l.heading})]}),(0,i.jsx)("div",{className:"hlp-card-grid",children:l.items.map(e=>{let{title:l,description:s,icon:t}=e;return(0,i.jsxs)("article",{className:"hlp-card hlp-stakeholder-card hlp-animate-item",children:[(0,i.jsx)(t,{className:"hlp-card-icon","aria-hidden":"true"}),(0,i.jsx)("h3",{children:l}),(0,i.jsx)("p",{children:s})]},l)})})]})}
1function u(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-impact hlp-animate","aria-labelledby":"hlp-impact-title",children:[(0,i.jsxs)("div",{className:"hlp-impact-copy",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-impact-title",children:l.heading}),(0,i.jsx)("p",{children:l.description}),(0,i.jsxs)("a",{className:"hlp-button",href:l.ctaHref,children:[l.ctaText,(0,i.jsx)("span",{className:"hlp-button-arrow","aria-hidden":"true",children:(0,i.jsx)(n.dyV,{})})]})]}),(0,i.jsx)("div",{className:"hlp-impact-art",children:(0,i.jsxs)("div",{className:"hlp-impact-panel",children:[(0,i.jsxs)("div",{className:"hlp-impact-label",children:[(0,i.jsx)("span",{className:"hlp-pulse-dot"}),"AI-first CHRO"]}),l.points.map(e=>{let{label:l,icon:s}=e;return(0,i.jsxs)("div",{className:"hlp-impact-row",children:[(0,i.jsx)(s,{"aria-hidden":"true"}),(0,i.jsx)("span",{children:l})]},l)})]})})]})}function x(e){let{content:l}=e;const[s,a]=(0,t.useState)(null);return(0,i.jsxs)("section",{className:"hlp-faq hlp-animate","aria-labelledby":"hlp-faq-title",children:[(0,i.jsxs)("div",{className:"hlp-faq-heading",children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-faq-title",children:l.heading})]}),l.linkText&&(0,i.jsxs)("a",{href:l.linkHref,children:[l.linkText,(0,i.jsx)("span",{"aria-hidden":"true",children:" \u2192"})]})]}),(0,i.jsx)("div",{className:"hlp-faq-grid",children:l.items.map((e,l)=>{let{question:t,answer:n}=e;const r=s===l,o=`hlp-faq-answer-${l}`;return(0,i.jsxs)("article",{className:"hlp-faq-item"+(r?" is-open":""),children:[(0,i.jsx)("h3",{children:(0,i.jsxs)("button",{type:"button","aria-expanded":r,"aria-controls":o,onClick:()=>a(r?null:l),children:[t,(0,i.jsx)("span",{className:"hlp-faq-toggle","aria-hidden":"true",children:r?"\u2212":"+"})]})}),(0,i.jsx)("div",{className:"hlp-faq-answer",id:o,"aria-hidden":!r,children:(0,i.jsx)("p",{children:n})})]},t)})})]})}var w=s(2055);function j(e){let{content:l}=e;return(0,i.jsxs)("section",{className:"hlp-contact hlp-animate",id:"contact-us","aria-labelledby":"hlp-contact-title",children:[(0,i.jsxs)("div",{className:"hlp-contact-copy",children:[(0,i.jsx)("p",{className:"hlp-eyebrow",children:l.eyebrow}),(0,i.jsx)("h2",{id:"hlp-contact-title",children:l.heading}),(0,i.jsx)("p",{children:l.description})]}),(0,i.jsx)("div",{className:"hlp-contact-form",children:(0,i.jsx)(w.A,{})})]})}function g(e){let{content:l}=e;return(0,i.jsx)("section",{className:"hlp-final-cta hlp-animate",children:(0,i.jsxs)("div",{children:[(0,i.jsx)("h2",{children:l.heading}),(0,i.jsx)("p",{children:l.description}),(0,i.jsxs)("a",{className:"hlp-button hlp-button-light",href:l.ctaHref,children:[l.ctaText,(0,i.jsx)("span",{className:"hlp-button-arrow","aria-hidden":"true",children:(0,i.jsx)(n.dyV,{})})]})]})})}function b(e){var l;let{content:s,pageClassName:n=""}=e;const c=(0,t.useRef)(null);return(0,t.useLayoutEffect)(()=>{var e,l;const s=c.current,t=document.querySelector("#root header"),a=null===s||void 0===s?void 0:s.querySelector(".hlp-hero"),n=null===a||void 0===a?void 0:a.querySelector(".hlp-eyebrow"),i=null===a||void 0===a?void 0:a.querySelector(".hlp-dashboard");if(!s||!t||!a||!n||!i)return void(null===s||void 0===s||s.classList.add("hlp-header-ready"));const r=s.closest("main"),o=()=>{const e=t.getBoundingClientRect().bottom,l=window.matchMedia("(min-width: 641px)").matches?i:n,o=window.getComputedStyle(a),c=new DOMMatrixReadOnly(o.transform).m42,d=Number.parseFloat(o.marginTop)||0,h=a.getBoundingClientRect().top,m=h-c-s.getBoundingClientRect().top-d,p=l.getBoundingClientRect().top-h,u=e+16-(r?r.getBoundingClientRect().top+window.scrollY+(Number.parseFloat(window.getComputedStyle(r).paddingTop)||0):0)-m-p;s.style.setProperty("--hlp-hero-clearance",`${u}px`),s.classList.add("hlp-header-ready")};let d;const h=()=>{s.classList.remove("hlp-header-ready"),window.clearTimeout(d),d=window.setTimeout(o,80)};let m;const p=new ResizeObserver(()=>{window.cancelAnimationFrame(m),m=window.requestAnimationFrame(o)}),u=new MutationObserver(o);p.observe(t),p.observe(a),p.observe(s),u.observe(t,{attributes:!0,childList:!0,subtree:!0}),window.addEventListener("resize",h),window.addEventListener("load",o),null===(e=window.visualVie
1wport)||void 0===e||e.addEventListener("resize",h),null===(l=document.fonts)||void 0===l||l.ready.then(o),o();const x=[100,350,800].map(e=>window.setTimeout(o,e));return()=>{var e;x.forEach(window.clearTimeout),window.clearTimeout(d),window.cancelAnimationFrame(m),p.disconnect(),u.disconnect(),window.removeEventListener("resize",h),window.removeEventListener("load",o),null===(e=window.visualViewport)||void 0===e||e.removeEventListener("resize",h)}},[]),(0,t.useEffect)(()=>{const e=c.current.querySelectorAll(".hlp-animate, .hlp-animate-item");if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||!("IntersectionObserver"in window))return void e.forEach(e=>e.classList.add("is-visible"));const l=new IntersectionObserver(e=>e.forEach(e=>{e.isIntersecting&&(e.target.classList.add("is-visible"),l.unobserve(e.target))}),{threshold:.12,rootMargin:"0px 0px -30px 0px"});return e.forEach(e=>l.observe(e)),()=>l.disconnect()},[]),(0,t.useEffect)(()=>{const e=c.current;let l,s=()=>{};const t=()=>{window.clearTimeout(l),s()},a=a=>{var n,i;if(a.defaultPrevented||0!==a.button||a.metaKey||a.ctrlKey||a.shiftKey||a.altKey)return;const r=null===(n=(i=a.target).closest)||void 0===n?void 0:n.call(i,'a[href^="#"]'),o=null===r||void 0===r?void 0:r.getAttribute("href");if(!o||o.length<2)return;const c=document.getElementById(o.slice(1));c&&e.contains(c)&&(a.preventDefault(),window.history.replaceState(window.history.state,"",o),(e=>{t();const a=window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth";e.scrollIntoView({behavior:a,block:"start"});const n=["wheel","touchstart","keydown"];n.forEach(e=>window.addEventListener(e,t,{passive:!0})),s=()=>n.forEach(e=>window.removeEventListener(e,t));let i=-1,r=0,o=0,c=0;const d=()=>{c+=1;const s=window.scrollY;if(r=Math.abs(s-i)<1?r+1:0,i=s,r>=2){const l=Number.parseFloat(window.getComputedStyle(e).scrollMarginTop)||0,n=e.getBoundingClientRect().top-l,i=window.innerHeight+s>=document.documentElement.scrollHeight-1;if(!(Math.abs(n)>2&&o<3)||n>0&&i)return void t();o+=1,r=0,e.scrollIntoView({behavior:a,block:"start"})}c<80?l=window.setTimeout(d,100):t()};l=window.setTimeout(d,100)})(c))};return e.addEventListener("click",a),()=>{e.removeEventListener("click",a),t()}},[]),(0,i.jsxs)("div",{ref:c,className:`hlp-page ${n}`.trim(),children:[(0,i.jsxs)(a.mg,{children:[(0,i.jsx)("title",{children:s.seo.title}),(0,i.jsx)("meta",{name:"description",content:s.seo.description}),(null===(l=s.seo.keywords)||void 0===l?void 0:l.length)>0&&(0,i.jsx)("meta",{name:"keywords",content:s.seo.keywords.join(", ")})]}),(0,i.jsxs)("div",{className:"hlp-container",children:[(0,i.jsx)(r,{content:s.hero}),(0,i.jsx)(o,{content:s.industries}),(0,i.jsx)(d,{content:s.challenges}),(0,i.jsx)(h,{content:s.agents}),(0,i.jsx)(m,{content:s.workflow}),(0,i.jsx)(p,{content:s.stakeholders}),(0,i.jsx)(u,{content:s.impact}),(0,i.jsx)(x,{content:s.faqs}),(0,i.jsx)(j,{content:s.contact})]}),(0,i.jsx)(g,{content:s.finalCta})]})}},2055(e,l,s){var t=s(5043),a=s(3156),n=s(2115),i=(s(2342),s(579));const r=function(){const[e,l]=(0,t.useState)({name:"",email:"",phone:"",message:"",source:""}),[s,r]=(0,t.useState)(!1),o=e=>{let{name:s,value:t}=e.target;"phone"===s&&(t=t.replace(/\D/g,""),t.length>13)||l(e=>({...e,[s]:t}))};return(0,i.jsx)("div",{id:"form",className:"w-full bg-[#FEFEFD] border border-[#C9C9C9] shadow-[0px_25px_50px_-12px_rgba(0,0,0,0.25)] rounded-xl font-lora",children:(0,i.jsxs)("form",{onSubmit:async s=>{s.preventDefault();const t=(()=>{var l;const s={};e.name.trim()||(s.name="Name is required",n.oR.error("Name is required")),e.email.trim()?/\S+@\S+\.\S+/.test(e.email)||(s.email="Invalid email",n.oR.error("Email is invalid")):(s.email="Email is required",n.oR.error("Email is required"));const t=null===(l=e.email.split("@")[1])||void 0===l?void 0:l.toLowerCase();return["gmail.com","yahoo.com","hotmail.com","outlook.com","live.com","icloud.com","aol.com","proton.me","protonmail.com","yandex.com"].includes(t)&&(n.oR.error("Please use your company email address (not a personal email)."),s.email="Company email required"),e.message.trim()||(s.message="Message is required",n.oR.error("Message is required")),e.source||(s.source="Please select a source",n.oR.error("Please select a source")),s})();if(!(Object.keys(t).length>0)){r(!0);try{if(!(await fetch("https://api.hsforms.com/submissions/v3/integration/submit/146385824/facd4b09-832e-4cc6-b760-447aff59df54",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fields:[{name:"email",value:e.email},{name:"firstname",value:e.name},{name:"phone",value:e.phone},{name:"message",value:e.message},{name:"leadsource",value:e.source}],context:{pageUri:window.location.href,pageName:document.title}}
1)})).ok)throw new Error("HubSpot submission failed");n.oR.success("Message sent successfully!"),window.location.href="/thank-you",l({name:"",email:"",phone:"",message:"",source:""})}catch(a){console.error(a),n.oR.error("Failed to send message. Please try again.")}finally{r(!1)}}},className:"p-6 md:p-10 flex flex-col space-y-6",children:[(0,i.jsx)("div",{className:"flex flex-col gap-2",children:(0,i.jsx)("h2",{className:"text-2xl md:text-3xl font-lora font-medium text-darkVoilet",children:"Send Us a Message"})}),[{name:"name",placeholder:"Full Name"},{name:"email",placeholder:"Enter your Work Email ",type:"email"}].map(l=>(0,i.jsx)("input",{type:l.type||"text",name:l.name,placeholder:l.placeholder,value:e[l.name],onChange:o,className:"border rounded-lg px-4 font-normal placeholder:font-normal py-2 text-sm"},l.name)),(0,i.jsx)("input",{type:"tel",name:"phone",placeholder:"Phone Number (Optional)",value:e.phone,onChange:o,maxLength:13,inputMode:"numeric",pattern:"[0-9]{10,13}",className:"border rounded-lg px-4 font-normal placeholder:font-normal py-2 text-sm"}),(0,i.jsx)("textarea",{name:"message",className:"border rounded-lg px-4 font-normal placeholder:font-normal py-2 text-sm",rows:6,placeholder:"Your message",value:e.message,onChange:o}),(0,i.jsxs)("select",{name:"source",value:e.source,onChange:o,className:"border rounded-lg px-4 py-2 text-sm bg-white",children:[(0,i.jsx)("option",{value:"",disabled:!0,children:"How did u here about us"}),["google","linkdin","referral","other"].map((e,l)=>(0,i.jsx)("option",{value:e,className:" capitalize",children:e},e))]}),(0,i.jsxs)("button",{type:"submit",disabled:s,className:"bg-primary text-white px-6 py-3 rounded-lg flex items-center gap-2 w-fit",children:[s?"Submitting...":"Submit",(0,i.jsx)(a.Z0P,{})]})]})})};s.d(l,["A",0,r])}}]); 2//# sourceMappingURL=908.ee0cecff.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.