(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8941],{83136:function(e,t,s){"use strict";let i=s(38472).Z.create({baseURL:"".concat("https://gifts.enjoywishlist.com")});i.interceptors.request.use(e=>(e.headers={"Content-Type":"application/json"},e),e=>Promise.reject(e)),i.interceptors.response.use(e=>e,e=>Promise.reject(e)),t.Z=i},72512:function(e,t,s){"use strict";s.d(t,{pH:function(){return r},Hv:function(){return a},j1:function(){return o},wn:function(){return l}});var i=s(83136),n=s(94962);let r=e=>i.Z.get("/api/marketing/resource",{params:e}),a=()=>i.Z.get("/api/marketing/resourcetags"),o=e=>i.Z.get("/api/marketing/resourcebytype",{params:e}),l=(e,t,s,r)=>{i.Z.post("/api/marketing/access/gated-content",e).then(e=>{(null==e?void 0:e.data)?(t(),s(!1),r(),n.default.success("Thanks, you're all set!")):(n.default.error("Something went wrong"),s(!1))}).catch(()=>{n.default.error("Something went wrong"),s(!1)})}},40303:function(e,t,s){"use strict";var i=s(57437);s(2265),s(45319),t.Z=e=>{let{label:t}=e;return(0,i.jsx)("div",{className:"wl-chip",children:t})}},46234:function(e,t,s){"use strict";s.r(t);var i=s(57437),n=s(93301);s(36630);var r=s(16463);t.default=function(e){let{height:t,width:s,text:a=null,link:o=n.c.others.scheduleDemo,handleClick:l=()=>{}}=e,d=(0,r.useRouter)(),c=()=>{o&&d.push(o)};return(0,i.jsx)("button",{type:"button",style:{height:t,width:s},className:"primary-btn demo",onClick:()=>{l(),c()},children:null!=a?a:"Get a Demo"})}},37595:function(e,t,s){"use strict";var i=s(57437),n=s(87138),r=s(93301);s(49221);var a=s(66648);function o(e){let{navigationLink:t=r.c.others.scheduleDemo,text:s}=e;return(0,i.jsx)(n.default,{className:"read-more-btn",href:t,children:(0,i.jsxs)("div",{className:"read-more",children:[(0,i.jsx)("div",{className:"text",children:s}),(0,i.jsx)(a.default,{className:"arrow-image",src:"/images/arrow-right-fill.svg",alt:"arrow",width:22,height:22})]})})}o.defaultProps={navigationLink:r.c.others.scheduleDemo,text:"Read"},t.default=o},73926:function(e,t,s){"use strict";s.d(t,{Z:function(){return u}});var i=s(57437),n=s(2265);s(66589);var r=s(43153),a=s(66648);s(23975);var o=s(37595),l=s(69642),d=e=>{let{docType:t,title:s,description:n,link:r,imageUrl:d}=e;return(0,i.jsxs)("div",{className:"featured-container-content",children:[(0,i.jsxs)("div",{className:"textual-content",children:[(0,i.jsx)("div",{className:"doc-type",children:l.L[t]}),(0,i.jsx)("div",{className:"title",children:s}),(0,i.jsx)("div",{className:"document-content",children:n}),(0,i.jsx)("div",{className:"read-btn",children:(0,i.jsx)(o.default,{navigationLink:r})})]}),(0,i.jsx)("div",{className:"image-content",children:(0,i.jsx)(a.default,{className:"featured-image",src:d,width:1e3,height:1e3,alt:"join-team"})})]})},c=s(44774),u=e=>{let{data:t,loading:s=!1}=e,o=n.useRef(null);return(0,i.jsx)("div",{className:"featured-container",children:s?(0,i.jsx)(c.Z,{variant:"rounded",width:"100%",height:"320px"}):(0,i.jsxs)(i.Fragment,{children:[(null==t?void 0:t.length)>1&&(0,i.jsx)("button",{onClick:()=>{var e;return null==o?void 0:null===(e=o.current)||void 0===e?void 0:e.slickPrev()},className:"navigation-btn previous-btn",children:(0,i.jsx)(a.default,{src:"/images/icons/arrow-white.svg",alt:"arrow_down",width:100,height:100,className:"icon-image"})}),(0,i.jsx)(r.Z,{ref:o,dots:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,autoplay:!0,autoplaySpeed:3e3,children:null==t?void 0:t.map(e=>{var t;return(0,i.jsx)(d,{docType:e.type,title:e.title,description:e.description,link:null!==(t=e.link)&&void 0!==t?t:"",imageUrl:e.image},e.identifier)})}),(null==t?void 0:t.length)>1&&(0,i.jsx)("button",{onClick:()=>{var e;return null==o?void 0:null===(e=o.current)||void 0===e?void 0:e.slickNext()},className:"navigation-btn next-btn",children:(0,i.jsx)(a.default,{src:"/images/icons/arrow-white.svg",alt:"arrow_down",width:100,height:100,className:"icon-image"})})]})})}},33428:function(e,t,s){"use strict";var i=s(57437);s(2265),s(11862);var n=s(66648),r=s(40303),a=s(37595),o=s(16463),l=s(30092);t.Z=e=>{var t,s,d,c;let{data:u}=e,m=(0,o.useRouter)();return(0,i.jsxs)("div",{className:"document-card-container",onClick:()=>m.push("".concat(l.O[null==u?void 0:u.type],"/").concat(null==u?void 0:u.slug)),children:[(0,i.jsx)(n.default,{src:u.image,alt:"article-image",width:1e3,height:1e3,className:"article-image"}),(0,i.jsx)("div",{className:"chips-outer-container",children:(null==u?void 0:null===(t=u.tags)||void 0===t?void 0:t.length)>0&&(0,i.jsxs)("div",{className:"chips-container",children:[null==u?void 0:null===(s=u.tags)||void 0===s?void 0:s.slice(0,1).map(e=>(0,i.jsx)(r.Z,{label:e},e)),(null==u?void 0:null===(d=u.tags)||void 0===d?void 0:d.length)>1&&(0,i.jsx)(r.Z,{label:"+".concat((null==u?void 0:null===(c=u.tags)||void 0===c?void 0:c.length)-1)})]})}),(null==u?void 0:u.customerImageUrl)&&(0,i.jsx)(n.default,{src:u.customerImageUrl,alt:"company-image",width:1e3,height:1e3,className:"company-image"}),(0,i.jsx)("div",{className:"title-container",children:u.title}),(0,i.jsx)("div",{className:"read-btn-container",children:(0,i.jsx)(a.default,{navigationLink:u.link})})]})}},89183:function(e,t,s){"use strict";var i=s(57437),n=s(2265),r=s(46234),a=s(33428);s(5916);var o=s(92793);t.Z=e=>{let{document:t=[],showPagination:s=!0,title:l,loading:d,link:c=""}=e,[u,m]=(0,n.useState)(t);return(0,n.useEffect)(()=>{m(t)},[t]),(0,i.jsxs)("div",{className:"document-lane-container ".concat(u.length%2!=0?"document-lane-container-odd-cards":""),children:[(0,i.jsx)("h2",{className:"type",children:l}),(0,i.jsx)("div",{className:"cards-container",children:d?(0,i.jsx)(o.Z,{noOfCards:3}):null==u?void 0:u.map(e=>(0,i.jsx)(a.Z,{data:e},null==e?void 0:e.identifier))}),!d&&(null==u?void 0:u.length)>0&&s&&(0,i.jsxs)("div",{className:"btn-container ".concat(u.length%2!=0?"btn-container-odd-cards":""),children:[d,(0,i.jsx)(r.default,{width:"166px",height:"52px",text:"See All",link:c})]})]})}},92793:function(e,t,s){"use strict";var i=s(57437),n=s(91326),r=s(44774);s(2265),s(68289),t.Z=e=>{let{noOfCards:t,isArticle:s}=e;return(0,i.jsx)(n.Z,{className:"main-loading-container",children:[1,2,3].map(e=>(0,i.jsxs)(n.Z,{style:{minWidth:s?"300px":"364px"},children:[(0,i.jsx)(r.Z,{className:"article-image",variant:"rounded",height:"220px"}),(0,i.jsxs)(n.Z,{style:{paddingTop:"16px",display:"flex",gap:"16px"},children:[(0,i.jsx)(r.Z,{variant:"rounded",width:"80px",height:"24px"}),(0,i.jsx)(r.Z,{variant:"rounded",width:"80px",height:"24px"})]}),(0,i.jsx)(n.Z,{style:{paddingTop:"16px"},children:(0,i.jsx)(r.Z,{className:"title-container",variant:"rounded",height:"64px"})}),(0,i.jsx)(n.Z,{style:{paddingTop:"16px"},children:(0,i.jsx)(r.Z,{variant:"rounded",width:"73px",height:"24px"})})]},e))})}},30092:function(e,t,s){"use strict";s.d(t,{O:function(){return p}});var i=s(57437),n=s(2265),r=s(73926),a=s(93301),o=s(44774),l=s(84161),d=s(97183),c=s(89183);s(48518);var u=s(72512),m=s(73386),g=s(94962);let h=[{id:1,name:"Blogs",value:m._.Blog,link:a.c.resources.blogs,heading:"Articles",displayTitle:"Top Blogs",data:[]},{id:3,name:"Customer Stories",value:m._.CustomerStories,link:a.c.resources.customerStories,heading:"Customer Stories",displayTitle:"Top Customer Stories",data:[]},{id:4,name:"Guides & Reports",value:m._.GuidesAndReports,link:a.c.resources.guidesAndReports,displayTitle:"Top Guides And Reports",heading:"Guide & Reports",data:[]}],p={Blog:a.c.resources.blogs,CustomerStories:a.c.resources.customerStories,GuidesAndReports:a.c.resources.guidesAndReports};t.default=()=>{var e;let[t,s]=n.useState(null===(e=h[0])||void 0===e?void 0:e.value),[a,v]=n.useState(!0),[x,f]=n.useState(),[j,y]=n.useState(h),[b,w]=n.useState([]),N=(0,n.useRef)(null==j?void 0:j.reduce((e,t)=>(e[null==t?void 0:t.value]=n.createRef(),e),{})),k=e=>{let t=null==e?void 0:e.map(e=>({...e,image:"".concat("https://static.enjoywishlist.com/marketing-site/resource-center","/").concat(e.image),link:"".concat(p[e.type],"/").concat(e.slug)}));w(t),null==j||j.map(e=>{(null==e?void 0:e.value)===m._.Blog?e.data=null==t?void 0:t.filter(e=>(null==e?void 0:e.type)===m._.Blog):(null==e?void 0:e.value)===m._.CustomerStories?e.data=null==t?void 0:t.filter(e=>(null==e?void 0:e.type)===m._.CustomerStories):(null==e?void 0:e.value)===m._.GuidesAndReports&&(e.data=null==t?void 0:t.filter(e=>(null==e?void 0:e.type)===m._.GuidesAndReports))})},S=()=>{v(!0);let e=JSON.stringify([{type:m._.Blog},{type:m._.CustomerStories},{type:m._.GuidesAndReports}]);(0,u.pH)({pageIndex:0,pageSize:3,filters:e}).then(e=>{var t;k(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.data),v(!1)}).catch(e=>{v(!1),g.default.error(e.message)})},Z=()=>{v(!0);let e=JSON.stringify([{type:m._.Blog,isFeatured:!0},{type:m._.CustomerStories,isFeatured:!0},{type:m._.GuidesAndReports,isFeatured:!0}]);(0,u.pH)({pageIndex:0,pageSize:10,filters:e}).then(e=>{var t,s;f(null==e?void 0:null===(s=e.data)||void 0===s?void 0:null===(t=s.data)||void 0===t?void 0:t.map(e=>({...e,image:"".concat("https://static.enjoywishlist.com/marketing-site/resource-center","/").concat(e.image),link:"".concat(p[e.type],"/").concat(e.slug)}))),v(!1)}).catch(e=>{v(!1)})};return(0,n.useEffect)(()=>{S(),Z()},[]),(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)("div",{className:"resource-library-content",children:[(0,i.jsxs)("div",{className:"heading-container",children:[(0,i.jsx)("div",{className:"heading",children:"Wishlist Resources"}),(0,i.jsx)("div",{className:"sub-heading",children:"Stay up to date with the latest resources from Wishlist."})]}),a?(0,i.jsx)(o.Z,{variant:"rounded",sx:{marginTop:"80px"},width:"100%",height:"320px"}):x&&x.length>0&&(0,i.jsx)(r.Z,{data:null!=x?x:[]}),(0,i.jsxs)("div",{className:"tabs-container",children:[(0,i.jsx)("span",{children:"Filter by type:"}),(0,i.jsx)(l.Z,{value:t,onChange:(e,t)=>{var i;s(t),null===(i=document.getElementById(t))||void 0===i||i.scrollIntoView({behavior:"smooth",block:"center"})},"aria-label":"basic tabs example",variant:"scrollable",scrollButtons:!0,allowScrollButtonsMobile:!0,TabIndicatorProps:{style:{backgroundColor:"#7986FF",height:"3px"}},children:null==j?void 0:j.map(e=>(0,i.jsx)(d.Z,{value:null==e?void 0:e.value,label:null==e?void 0:e.name},null==e?void 0:e.id))})]}),null==j?void 0:j.map(e=>(0,i.jsx)("div",{id:null==e?void 0:e.value,ref:N.current[null==e?void 0:e.value],className:"document-main-container",children:(0,i.jsx)(c.Z,{loading:a,title:null==e?void 0:e.displayTitle,document:null==e?void 0:e.data,link:null==e?void 0:e.link})},null==e?void 0:e.id))]})})}},93301:function(e,t,s){"use strict";s.d(t,{c:function(){return i}});let i={solutions:{automatedRewards:"/solutions/automated-rewards",spotRewards:"/solutions/spot-rewards",marketplace:"/solutions/marketplace",recognition:"/solutions/recognition",dataInsight:"/solutions/data-insight",integrations:"/solutions/integrations",swag:"/swag"},company:{about:"/company/about",careers:"/company/careers",press:"/company/press"},resources:{blog:"https://blog.enjoywishlist.com",budgetBuilder:"/resources/budget-builder",resourceLibrary:"/resources/resource-library",blogs:"/resources/resource-library/blogs",customerStories:"/resources/resource-library/customer-stories",guidesAndReports:"/resources/resource-library/guides-and-reports"},others:{becomeVendor:"/become-a-vendor",channelPartners:"/channel-partners",termsOfUse:"/terms",scheduleDemo:"/schedule-demo",scheduleDemoConfirmed:"/schedule-demo-confirmed"}}},69642:function(e,t,s){"use strict";s.d(t,{L:function(){return n},h:function(){return i}});let i=[{id:1,message:"Credit Karma uses Wishlist to enhance employee engagement through personalized gifting.",imageUrl:"/images/resource-center/customer-stories/credit-karma.png",imageWidth:140,imageHeight:20},{id:2,message:"Sysco uses Wishlist to boost workplace morale with customized rewards.",imageUrl:"/images/resource-center/customer-stories/sysco.png",imageWidth:72,imageHeight:28},{id:3,message:"Noodles uses Wishlist to reward and recognize their deskless employees on the go.",imageUrl:"/images/resource-center/customer-stories/noodles.png",imageWidth:84,imageHeight:26},{id:4,message:"Go Fund Me uses Wishlist to streamline their employee recognition programs with automation.",imageUrl:"/images/resource-center/customer-stories/gofundme.png",imageWidth:98,imageHeight:56}],n={Blog:"Blog",CustomerStories:"Customer Stories",GuidesAndReports:"Guides And Reports"}},73386:function(e,t,s){"use strict";var i,n;s.d(t,{_:function(){return i}}),(n=i||(i={})).None="None",n.Blog="Blog",n.CustomerStories="CustomerStories",n.GuidesAndReports="GuidesAndReports",n.Videos="Videos",n.Webinar="Webinar"},45319:function(){},36630:function(){},57401:function(){},93443:function(){},49221:function(){},66589:function(){},23975:function(){},11862:function(){},5916:function(){},68289:function(){},48518:function(){}}]);