PageSourceSearch

https://darwinbox.com/_next/static/chunks/3047.b6235bf0291c94b4.js

js darwinbox.com collected 2026-09-24 17:43:27 UTC 13,726 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3047,2210,1380],{3623:function(e,l){l.Z={src:"/_next/static/media/close.72871da2.svg",height:20,width:20,blurWidth:0,blurHeight:0}},63047:function(e,l,t){t.r(l);var a=t(85893),i=t(67294),n=t(5152),s=t.n(n),d=t(41664),r=t.n(d),o=t(11163),c=t(70724),h=t(70240),u=t.n(h),x=t(42210);let m=s()(()=>t.e(1721).then(t.bind(t,1721)),{loadableGenerated:{webpack:()=>[1721]}}),p=s()(()=>t.e(530).then(t.bind(t,40530)).then(e=>e.ImageComponent),{loadableGenerated:{webpack:()=>[40530]}}),v=s()(()=>t.e(1002).then(t.bind(t,71417)),{loadableGenerated:{webpack:()=>[71417]}});s()(()=>t.e(8966).then(t.bind(t,98966)),{loadableGenerated:{webpack:()=>[98966]}});let f=s()(()=>t.e(3287).then(t.bind(t,53287)),{loadableGenerated:{webpack:()=>[53287]}}),_=s()(()=>t.e(8374).then(t.bind(t,38374)),{loadableGenerated:{webpack:()=>[38374]}}),b=s()(()=>t.e(8228).then(t.bind(t,68228)),{loadableGenerated:{webpack:()=>[68228]}}),w=s()(()=>t.e(8542).then(t.bind(t,8542)),{loadableGenerated:{webpack:()=>[8542]}}),j=s()(()=>t.e(8624).then(t.bind(t,38624)),{loadableGenerated:{webpack:()=>[38624]}}),g=new Set(["innovations/artificial-intelligence-in-hr/super-agent","innovations/artificial-intelligence-in-hr/ai-in-recruitment","innovations/artificial-intelligence-in-hr/employee-support-agent"]),k=e=>{var l;return(null==e?void 0:e.is_featured_tile)===!0||g.has(null==e?void 0:null===(l=e.url)||void 0===l?void 0:l.cached_url)};l.default=e=>{var l,t,n,s,d,h,g;let{headerParent:y,hoveredParent:N,index:C,hoveredSubChild:S,setHoveredSubparentIndex:F,setHoveredIndex:L}=e,[T,E]=(0,i.useState)(!1),[I,G]=(0,i.useState)(!1),Y=(0,o.useRouter)(),A=()=>{y.head_item[2].head_item[0].is_popup&&G(!0)},B=()=>{y.head_item[2].head_item[0].is_popup&&G(!1)};(0,i.useEffect)(()=>{let e=()=>{E(!1)};return Y.events.on("routeChangeStart",e),()=>{Y.events.off("routeChangeStart",e)}},[Y.events]),(0,i.useEffect)(()=>{N===C?E(!0):E(!1)},[N,C]);let M=(e,l)=>{let t=[];for(let a=0;a<e.length;a+=l)t.push(e.slice(a,a+l));return t},P=(e,l)=>{let t=[],a=Math.floor(e.length/l),i=e.length%l,n=0;for(let s=0;s<l;s+=1){let l=a+(s<i?1:0);t.push(e.slice(n,n+l)),n+=l}return t.filter(e=>e.length>0)},K=(e,l,t)=>{let a=e.filter(e=>!(null==e?void 0:e.hide_menu_option));if(t>0){let e=a.filter(k),l=P(a.filter(e=>!k(e)),t);return e.length?[...l,e]:l}if(l<=0)return a.length?[a]:[[]];let i=a.filter(k);if(0===i.length)return M(a,l);let n=M(a.filter(e=>!k(e)),l);if(n.length>1&&n[n.length-1].length<l){var s;let e=null!==(s=n.pop())&&void 0!==s?s:[];n[0]=[...n[0],...e]}return[...n,i]};return(0,a.jsxs)("div",{className:"".concat(T||I?"visible opacity-100 translate-y-0 h-auto ":"invisible opacity-0 translate-y-[-10px] h-0"," tracking-normal absolute transition-transform duration-200 delay-75 ease-linear z-10 dropdown-menu w-full left-0 top-[69px] bg-[#f2f9ff] text-[#003b73] rounded-b-[20px] overflow-hidden ").concat(I?"!overflow-visible":""," "),children:[(0,a.jsx)(v,{blok:y.title}),"dropdown"===y.key?(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{className:"w-[18.5%] bg-blueshade4 justify-end pr-[30px] py-[30px] pl-[2px] flex items-center min-h-[325px]",children:(0,a.jsx)("ul",{className:"max-w-[200px] w-full flex flex-wrap gap-7",children:y.head_item.map((e,l)=>e?(0,a.jsxs)("li",{className:"".concat(S===e.key?"bg-blueshade8 text-white rounded":""," font-medium md:flex-row md:space-x-8 rtl:space-x-reverse w-full"),onMouseEnter:()=>F(e.key),onMouseLeave:()=>{S!==e.key&&F("products_new")},children:[(0,a.jsxs)("div",{className:"w-full flex justify-between cursor-pointer text-lg font-bold items-center px-4 py-3",children:[e.is_new&&(0,a.jsx)("span",{children:"New"}),(null==e?void 0:e.header_title)?(0,a.jsx)(v,{blok:e.header_title}):(null==e?void 0:e.key)==="products_new"?"Products":null,(0,a.jsx)(j,{className:"w-6 h-6 -mr-1.5",viewBox:"0 0 24 24",d:"M19 12H5m14 0-4 4m4-4-4-4",height:"24",width:"24"})]}),"key"!==e.key&&(0,a.jsx)(a.Fragment,{})]},l):null)})}),(0,a.jsx)("div",{className:"dropdown-menu w-[81.5%] !m-0 p-2.5 min-h-[325px] flex flex-wrap items-start",children:y.head_item.map((e,l)=>{let t=[];if("products"===e.key){let t=Array.isArray(e.columns)?e.columns:Array.isArray(e.head_item)?e.head_item:[],i=Number.parseInt(e.itemsToShow,10),n=Number.isFinite(i)&&i>0?i:t.length||1,s=t.length?M(t,n):[[]];return(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(_,{header_title:{...e,columns:t},hoveredSubChild:S,chunks:s})},l)}if("innovation"===e.key){let i=e.head_item,n=parseInt(e.itemsToShow),s=Number.parseInt(e.columnsToShow,10);return t=K(i,n,Number.isFinite(s)?s:0),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(f,{header_title:e,hoveredSubChild:S,chunks:t})},l)}if("products_new"===e.key){let t=Array.isArray(e.columns)?e.columns:Array.isArray(e.head_item)?e.head_item:[],i=Number.parseInt(e.itemsToShow,10),n=Number.isFinite(i)&&i>0?i:t.length||1,s=t.length?M(t,n):[[]];return(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(_,{header_title:{...e,columns:t},hoveredSubChild:S,chunks:s})},l)}return null})})]}):(0,a.jsxs)("div",{className:"max-w-[1260px] m-auto flex flex-wrap items++-center min-h-[307px] px-5",children:[(0,a.jsx)("div",{className:"flex w-full gap-5",children:y.head_item.map((e,l)=>{if(e&&e.header_title&&"demo"!==e.key&&"video"!==e.key&&"WhySwitch"!==e.key)return(0,a.jsxs)("div",{className:"w-[calc((100%/4)+10px)] px-5 pt-9 pb-[26px] ml-2.5  ".concat((0,c.LY)(e.bg_color,u())),children:[(0,a.jsxs)("p",{className:"".concat((0,c.LY)(e.section_class,u())),children:[(0,a.jsx)(v,{blok:e.header_title}),e.is_new&&(0,a.jsx)("span",{className:"rounded-xl px-2 py-0.5 leading-4 text-[#000000] block bg-yellowshade5 w-[35px] text-[9px]",children:"New"})]}),(0,a.jsx)("ul",{className:"",children:e.head_item.map((e,l)=>{var t,i,n,s;return(0,a.jsx)("li",{className:"rounded-[5px] hover:bg-[#f2f9ff] hover:shadow-[0px_4px_4px_0px_#b8d1eb] transition-all duration-100 ".concat(e.para.content[0].content?"my-4":"my-0"),children:(0,a.jsx)(r(),{href:(0,c.yc)(null===(t=e.url)||void 0===t?void 0:t.cached_url),locale:!(0,c.K4)(null===(i=e.url)||void 0===i?void 0:i.cached_url)&&void 0,className:"".concat((0,c.LY)(e.tile_custom_class,u())),prefetch:!1,children:(0,a.jsxs)("div",{className:"flex items-center gap-2 justify-between",children:[(0,a.jsxs)("div",{className:"".concat(e.para.content[0].content?"w-[calc(100%-36px)]":""),children:[(0,a.jsx)(p,{url:null===(n=e.link_aseet)||void 0===n?void 0:n.filename,altText:null===(s=e.link_aseet)||void 0===s?void 0:s.alt,withContainer:!0,imgClass:"mb-2 ".concat((0,c.LY)(e.image_class,u())," !static !h-auto")}),e.para.content[0].content&&(0,a.jsx)("span",{className:"text-xs font-[600] pt-[5px] text-blackshade2",children:(0,a.jsx)(v,{className:"text-xs font-[600] pt-[5px] text-blackshade2",blok:e.para})})]}),(0,a.jsx)("p",{className:"font-semibold text-sm text-blueshade2",children:(0,a.jsx)(v,{blok:e.title})}),e.para.content[0].content&&(0,a.jsx)(j,{className:"w-6 h-6 text-redshade3",viewBox:"0 0 24 24",d:"M4 15v2a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3v-2m-8 1V4m0 12-4-4m4 4 4-4",height:"24",width:"24",fill:"none"})]})})},l)})})]},l);if("video"===e.header_title){var t,n,s,d,o,h,f,_,g,k,y;return(0,a.jsxs)("div",{className:"w-[calc((100%/4)+10px)] px-5 pt-9 pb-[26px] ml-2.5  ".concat((0,c.LY)(e.bg_color,u())),children:[(0,a.jsxs)("p",{className:"".concat((0,c.LY)(e.head_item[0].tile_custom_class,u())),children:[(0,a.jsx)(v,{blok:e.head_item[0].title}),e.is_new&&(0,a.jsx)("span",{className:"rounded-xl px-2 py-0.5 leading-4 text-[#000000] block bg-yellowshade5 w-[35px] text-[9px]",children:"New"})]}),(0,a.jsx)("div",{className:"".concat((0,c.LY)(e.head_item[0].para_class,u())),children:(0,a.jsx)(v,{blok:e.head_item[0].para})}),e.head_item[0].is_popup?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:A,children:e.head_item[0].link_aseet&&(0,a.jsx)(p,{url:null===(t=e.head_item[0].link_aseet)||void 0===t?void 0:t.filename,altText:null===(n=e.head_item[0].link_aseet)||void 0===n?void 0:n.alt,withContainer:!0,imgClass:"".concat((0,c.LY)(null===(s=e.head_item[0])||void 0===s?void 0:s.image_class,u())," !static !w-[266px] !h-auto ")})}),(0,a.jsx)("div",{className:"companymodal",children:(0,a.jsx)(x.default,{show:I,onClose:B,children:(0,a.jsx)("div",{className:"h-[100vh] flex items-center justify-center md:mt-0 -mt-[80px] bg-blackshade11",children:(0,a.jsx)("div",{className:"relative md:w-[70%] w-full mx-auto 
1shadow-popvideo ",children:e.head_item[0].youtube_videoId?(0,a.jsx)(m,{videoId:e.head_item[0].youtube_videoId}):(0,a.jsx)("video",{src:null===(d=e.head_item[0].asset)||void 0===d?void 0:d.filename,loop:!0,autoPlay:e.head_item[0].is_autoplay,muted:e.head_item[0].is_autoplay})})})})})]}):(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(r(),{href:null===(o=e.head_item[0].url)||void 0===o?void 0:o.url,target:null===(h=e.head_item[0].url)||void 0===h?void 0:h.target,prefetch:!1,children:(0,a.jsx)(p,{url:null===(_=e.head_item[0])||void 0===_?void 0:null===(f=_.link_aseet)||void 0===f?void 0:f.filename,altText:null===(k=e.head_item[0])||void 0===k?void 0:null===(g=k.link_aseet)||void 0===g?void 0:g.alt,withContainer:!0,imgClass:"".concat((0,c.LY)(null===(y=e.head_item[0])||void 0===y?void 0:y.image_class,u())," !static !w-[266px] !h-auto ")})})})]},l)}if("By Products"===e.header_title||"By Use-case"===e.header_title){let t=M(e.head_item,parseInt(e.itemsToShow));return(0,a.jsxs)("div",{className:"menu-interactive-demos pt-6 ".concat("By Products"===e.header_title?"w-2/4 pl-5":"w-1/4 pr-1"),children:["By Products"===e.header_title&&(0,a.jsx)(b,{chunks:t,header_title:e}),"By Use-case"===e.header_title&&(0,a.jsx)(w,{chunks:t,header_title:e})]},l)}if("WhySwitch"===e.key){let t=M(e.head_item,parseInt(e.itemsToShow));return(0,a.jsxs)("div",{className:"w-[calc((100%/2))] pt-9 pb-2.5",children:[(0,a.jsx)("p",{className:"relative text-base font-bold text-blueshade8 ".concat(u().title_line),children:(0,a.jsx)("span",{className:"inline-block bg-[#f2f9ff] relative pr-4",children:(0,a.jsx)(v,{blok:e.header_title})})}),(0,a.jsx)("div",{className:"flex gap-5",children:(0,a.jsx)(i.Fragment,{children:t.map((e,l)=>(0,a.jsx)("ul",{className:"w-[calc((100%/2))] pt-3 pb-2.5",children:e.map((e,l)=>{var t,i;return(0,a.jsx)(a.Fragment,{children:!e.hide_menu_option&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("li",{className:"!py-[15px] !pr-2.5 !pl-[13px] !mb-[2px] rounded-[5px] hover:shadow-[0px_4px_4px_0px_#b8d1eb] transition-all duration-100",children:(0,a.jsxs)(r(),{href:(0,c.yc)(null===(t=e.url)||void 0===t?void 0:t.cached_url),locale:!(0,c.K4)(null===(i=e.url)||void 0===i?void 0:i.cached_url)&&void 0,prefetch:!1,children:[(0,a.jsx)("p",{className:"font-bold text-sm flex gap-1 text-blueshade2 pb-[5px]",children:(0,a.jsx)(v,{blok:e.title})}),(0,a.jsx)("span",{className:"text-xs text-blackshade6 font-semibold leading-[18px]",children:(0,a.jsx)(v,{blok:e.para})})]})},l)})})})},l))},l)})]},l)}if(!e.header_title){let t=M(e.head_item,parseInt(e.itemsToShow));return(0,a.jsx)(i.Fragment,{children:t.map((e,l)=>(0,a.jsx)("ul",{className:"w-[calc((100%/4)-20px)] pt-[25px] pb-2.5",children:e.map((e,l)=>{var t,i;return(0,a.jsx)(a.Fragment,{children:!e.hide_menu_option&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("li",{className:"!py-[15px] !pr-2.5 !pl-[13px] !mb-[2px] rounded-[5px] hover:shadow-[0px_4px_4px_0px_#b8d1eb] transition-all duration-100",children:(0,a.jsxs)(r(),{href:(0,c.yc)(null===(t=e.url)||void 0===t?void 0:t.cached_url),locale:!(0,c.K4)(null===(i=e.url)||void 0===i?void 0:i.cached_url)&&void 0,prefetch:!1,children:[(0,a.jsx)("p",{className:"font-bold text-sm flex gap-1 text-blueshade2 pb-[5px]",children:(0,a.jsx)(v,{blok:e.title})}),(0,a.jsx)("span",{className:"text-xs text-blackshade6 font-semibold leading-[18px]",children:(0,a.jsx)(v,{blok:e.para})})]})},l)})})})},l))},l)}return null})}),(null===(l=y.link[0])||void 0===l?void 0:l.url.url)&&(0,a.jsx)("div",{className:"w-full px-5 my-7",children:(0,a.jsxs)(r(),{prefetch:!1,className:"w-max flex gap-2.5 items-center text-[13px] text-[#2f373d] hover:text-[#257cff] transition-all duration-100",target:null===(t=y.link[0])||void 0===t?void 0:t.url.target,href:(0,c.yc)(null===(n=y.link[0])||void 0===n?void 0:n.url.cached_url),locale:!(0,c.K4)(null===(s=y.link[0])||void 0===s?void 0:s.url.cached_url)&&void 0,children:[(0,a.jsx)("span",{className:"underline",children:(0,a.jsx)(v,{blok:null===(d=y.link[0])||void 0===d?void 0:d.title})}),(0,a.jsx)(p,{url:null===(h=y.link[0].link_aseet)||void 0===h?void 0:h.filename,altText:null===(g=y.link[0].link_aseet)||void 0===g?void 0:g.alt,withContainer:!0,imgClass:"!static m-auto !w-[40p
1x] !h-[9px]"})]})})]})]})}},42210:function(e,l,t){t.r(l);var a=t(85893),i=t(67294),n=t(25675),s=t.n(n),d=t(3623);l.default=e=>{let{children:l,show:t,headerChild:n,footerChild:r,onClose:o}=e,[c,h]=(0,i.useState)(t||!1),u=(0,i.useCallback)(()=>{o&&o(),setTimeout(()=>{h(!1)},500)},[o]);return(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&u()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[u]),(0,i.useEffect)(()=>{let e=document.body;return c?e.style.overflow="hidden":e.style.overflow="auto",()=>{e.style.overflow="auto"}},[c]),(0,i.useEffect)(()=>{h(t)},[t]),(0,a.jsx)(a.Fragment,{children:c?(0,a.jsxs)("div",{id:"modelConfirm",className:"fixed z-50 inset-0 bg-[#000000] bg-opacity-80 w-full",children:[(0,a.jsxs)("div",{className:"md:w-9/12 w-full mx-auto relative",children:[n||null,d.Z&&(0,a.jsx)(s(),{src:d.Z,alt:"close",width:20,height:20,className:"cursor-pointer bg-redshade4 !ml-auto absolute right-0 !rounded md:mt-8 mt-10 !pb-0",onClick:o})]}),(0,a.jsx)("div",{children:l}),r||null]}):null})}}}]);

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.