PageSourceSearch

https://whitelabel-loyalty.com/_next/static/chunks/5908.ad576538e4ae4550.js

js whitelabel-loyalty.com collected 2026-09-24 17:37:54 UTC 18,137 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5908],{85908:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return B}});var s=i(26042),n=i(85893),o=i(94184),r=i.n(o),l=i(25675),a=i.n(l),d=i(58192),c=i(67294),u=i(46066),p=i(85249),m=i(40483),h=i(93079),x=i.n(h),g=i(70655),f=i(33234),v=i(16014),b=i(96681);function _(e){var t=(0,b.h)((function(){return(0,f.B)(e)}));if((0,c.useContext)(v._).isStatic){var i=(0,g.__read)((0,c.useState)(e),2)[1];(0,c.useEffect)((function(){return t.onChange(i)}),[])}return t}var y=i(90612),w=i(40406);function j(e,t){void 0===t&&(t={});var i=(0,c.useContext)(v._).isStatic,s=(0,c.useRef)(null),n=_((0,w.i)(e)?e.get():e);return(0,c.useMemo)((function(){return n.attach((function(e,o){return i?o(e):(s.current&&s.current.stop(),s.current=(0,y.j)((0,g.__assign)((0,g.__assign)({from:n.get(),to:e,velocity:n.getVelocity()},t),{onUpdate:o})),n.get())}))}),Object.values(t)),function(e,t){(0,c.useEffect)((function(){if((0,w.i)(e))return e.onChange(t)}),[t])}(e,(function(e){return n.set(parseFloat(e))})),n}var N=i(59180),k=function(e){return function(e){return"object"===typeof e&&e.mix}(e)?e.mix:void 0};var F=i(54735);function T(e,t){var i=_(t()),s=function(){return i.set(t())};return s(),function(e,t){(0,c.useEffect)((function(){var i=e.map((function(e){return e.onChange(t)}));return function(){return i.forEach((function(e){return e()}))}}))}(e,(function(){return F.ZP.update(s,!1,!0)})),i}function S(e,t,i,s){var n="function"===typeof t?t:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=!Array.isArray(e[0]),s=i?0:-1,n=e[0+s],o=e[1+s],r=e[2+s],l=e[3+s],a=(0,N.s)(o,r,(0,g.__assign)({mixer:k(r[0])},l));return i?a(n):a}(t,i,s);return Array.isArray(e)?C(e,n):C([e],(function(e){var t=(0,g.__read)(e,1)[0];return n(t)}))}function C(e,t){var i=(0,b.h)((function(){return[]}));return T(e,(function(){i.length=0;for(var s=e.length,n=0;n<s;n++)i[n]=e[n].get();return t(i)}))}var A=i(20081),E=function(e){var t=e.src,i=e.className,s=void 0===i?"":i,o=e.sensitivity,r=void 0===o?60:o,l=_(0),a=_(0),d=j(l,{stiffness:50,damping:15}),u=j(a,{stiffness:50,damping:15}),m=(0,c.useState)({width:0,height:0}),h=m[0],x=m[1];(0,c.useEffect)((function(){p.B3&&x({width:window.innerWidth,height:window.innerHeight})}),[]);var g=S(d,(function(e){return(e-h.width/2)/r})),f=S(u,(function(e){return(e-h.height/2)/r}));return(0,c.useEffect)((function(){var e=function(e){l.set(e.clientX),a.set(e.clientY)};return window.addEventListener("mousemove",e),function(){return window.removeEventListener("mousemove",e)}}),[]),(0,n.jsx)(A.E.img,{src:t,className:"".concat(s," will-change-transform"),style:{x:g,y:f},alt:""})},z=i(28243);function B(e){var t=e.data,i=t.title,o=t.gradient_title,r=t.subtitle,l=(t.scroll_to_id,t.logos),u=void 0===l?[]:l,p=(t.grayscale,t.background,t.seconds,t.variant,"lg:h-[40px] h-[30px]"),m=(0,d.U0)(),h=(0,c.useState)(!1),g=h[0],f=h[1],v=(0,c.useRef)(null);return(0,n.jsxs)("div",{style:{background:"radial-gradient(50% 50% at 50% 50%, #D6E7FF 0%, #F0F7FF 100%)"},children:[(0,n.jsxs)("div",{className:"relative w-full overflow-hidden px-3 pb-44 pt-44 md:pb-52 lg:px-0 lg:pt-14",children:[(0,n.jsx)("div",{className:"absolute -left-12 top-4 lg:-left-16 lg:top-28",children:(0,n.jsxs)("div",{className:"relative w-[50%] md:w-[80%]",children:[(0,n.jsx)("div",{className:x().pulseWrapper,children:(0,n.jsx)(a(),{src:"/analytics-chart.svg",width:383,height:253})}),(0,n.jsx)("div",{className:"absolute -right-2 bottom-12",children:(0,n.jsx)(E,{src:"/analytics-chip.svg",className:p})})]})}),(0,n.jsx)("div",{className:"absolute bottom-0 left-0 hidden lg:block",children:(0,n.jsxs)("div",{className:"relative w-[50%] md:w-[80%]",children:[(0,n.jsx)("div",{className:x().pulseWrapper,children:(0,n.jsx)(a(),{src:"/reactor-view.svg",width:360,height:270})}),(0,n.jsx)("div",{className:"absolute -right-4 -top-8",children:(0,n.jsx)(E,{src:"/events-chip.svg",className:p})})]})}),(0,n.jsxs)("div",{className:"mb-12 flex flex-col items-center justify-center gap-6 text-center md:gap-12",children:[(0,n.jsx)("div",{className:"flex flex-col items-center gap-3 text-center md:gap-6",children:(0,n.jsxs)("h1",{className:"relative z-30 max-w-sm text-4xl font-bold leading-tight md:max-w-[9
160px] md:text-[60px] md:leading-[5rem] lg:text-[70px] xl:max-w-[960px] xl:text-8xl xl:leading-[7rem]",children:[(0,n.jsxs)("span",{className:"balance",children:[i," "]}),(0,n.jsx)("br",{className:"hidden xl:block"}),(0,n.jsx)("span",{className:"from-74.18% bg-gradient-to-r from-[#1AB3FF] to-[#1A40FF] to-60% bg-clip-text text-transparent",children:o})]})}),r&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:r},className:"max-w-xl leading-[24px] text-[#737C8F] md:text-[24px] md:leading-[36px] xl:max-w-[960px]"}),(0,n.jsx)("button",{ref:v,onClick:function(){m&&(m.capture("wizard_opened",{trigger_location:"hero",trigger_cta:"find_your_solution",step_number:1,step_name:"choose_your_path"}),m.capture("wizard_step_viewed",{step_number:1,step_name:"choose_your_path",trigger_location:"hero"})),f(!0)},className:"relative z-30 inline-flex h-[51px] w-full items-center justify-center gap-[10px] rounded-[4px] bg-primary-blue px-[88px] py-4 text-xl font-bold text-white transition-colors duration-200 hover:bg-primary-blue/90 md:h-[81px] md:w-auto md:max-w-[309px] md:rounded-lg md:py-6",children:"Find your solution"})]}),(0,n.jsx)(z.Z,{isOpen:g,onClose:function(){return f(!1)},triggerLocation:"hero",triggerCtaRef:v}),(0,n.jsx)("div",{className:"absolute -bottom-8 -translate-x-44 md:-bottom-64 lg:hidden xl:-bottom-60 xl:left-1/2 xl:block xl:-translate-x-1/2",children:(0,n.jsxs)("div",{className:"relative w-[50%] min-w-[300px] shadow-xl md:w-[80%] xl:w-[80%]",children:[(0,n.jsx)("div",{className:x().pulseWrapper,children:(0,n.jsx)(a(),{src:"/loyalty-console.png",width:870,height:545,className:"h-auto w-full rounded-xl"})}),(0,n.jsx)("div",{className:"absolute -right-6 -top-6 lg:left-1/2 lg:-translate-x-1/2",children:(0,n.jsx)(E,{src:"/loyalty-console-chip.svg",className:p})})]})}),(0,n.jsx)("div",{className:"absolute -bottom-10 -right-80 md:-right-48 md:bottom-0",children:(0,n.jsxs)("div",{className:"relative w-[50%] md:w-[80%]",children:[(0,n.jsx)("div",{className:x().pulseWrapper,children:(0,n.jsx)(a(),{src:"/user-wallet-details.svg",width:500,height:225})}),(0,n.jsx)("div",{className:"absolute -inset-2 md:-left-4 md:-top-1",children:(0,n.jsx)(E,{src:"/wallet-chip.svg",className:p})})]})}),(0,n.jsx)("div",{className:"absolute -right-36 md:-right-32 md:bottom-56",children:(0,n.jsxs)("div",{className:"relative w-[50%] md:w-[80%]",children:[(0,n.jsx)("div",{className:x().pulseWrapper,children:(0,n.jsx)(a(),{src:"/amazon-reward.svg",width:260,height:132})}),(0,n.jsx)("div",{className:"absolute -left-8 -top-6 md:-left-12 md:-top-6 lg:-top-10",children:(0,n.jsx)(E,{src:"/rewards-chip.svg",className:p})})]})}),(0,n.jsx)("div",{className:"absolute -right-36 top-4 lg:-right-20 lg:top-24",children:(0,n.jsxs)("div",{className:"relative w-[50%] lg:w-[80%]",children:[(0,n.jsx)("div",{className:x().pulseWrapper,children:(0,n.jsx)(a(),{src:"/loyalty-badge.png",width:259,height:259})}),(0,n.jsx)("div",{className:"absolute -left-16 bottom-24 md:bottom-6 lg:-left-24 lg:bottom-8",children:(0,n.jsx)(E,{src:"/badges-chip.svg",className:p})})]})})]}),u.length>0&&(0,n.jsx)(W,(0,s.Z)({},t))]})}var W=function(e){var t=e.background,i=(e.height,e.width,e.grayscale),s=(e.color,e.logos),o=e.variant,l=e.seconds,d=(null===o||void 0===o?void 0:o.toLowerCase())||"default",c=m.gX[d]||m.gX.default,h=c.width,x=r()("w-full border-b py-6",{"bg-gray-300":"gray"===t,"bg-white":"white"===t,"bg-brand":"brand_blue"===t,"bg-dark-blue":"dark_blue"===t,"bg-mid-blue":"light_blue"===t,"bg-[#F0F7FF]":"cloud"===t,transparent:"transparent"===t}),g=r()("container mx-auto max-w-[1312px]",{"max-w-[1455px]":"small"===d}),f=r()("",{"opacity-50 grayscale":i});return(0,n.jsx)("div",{className:x,children:(0,n.jsx)("div",{className:g,children:(0,n.jsx)(u.Z,{autoplay:l>0,autoplaySpeed:1e3*l,centerPadding:"20px",arrows:!1,dots:!1,variableWidth:!0,className:"\n            [&>.slick-list_.slick-track]:w-full\n            [&>.slick-list_.slick-track]:items-center\n          ",slidesToShow:Math.min(s.length,c.slidesToShow),slidesToScroll:1,pauseOnFocus:!0,infinite:!0,responsive:c.responsive,children:null===s||void 0===s?void 0:s.map((function(e){var t,i,s,o,r;return(0,n.jsx)("div",{className:"text-center",children:(0,n.jsx)(a(),{className:f,src:(0,p.T_)(null===e||void 0===e||null===(t=e.logo)||void 0===t?void 0:t.url),width:Number(h),height:(null===e||void 0===e||null===(i=e.logo)||void 0===i||null===(s=i.url)||void 0===s?void 0:s.toLowerCase().includes(".svg"))?"100%":Number((0,p.qN)(null===e||void 0===e||null===(o=e.logo)||void 0===o?void 0:o.height,null===e||void 0===e||null===(r=e.logo)||void 0===r?void 0:r.width,h)),alt:null===e||void 0===e?void 0:e.title})},null===e||void 0===e?void 0:e.id)}
1))})})})}},28243:function(e,t,i){"use strict";i.d(t,{Z:function(){return p}});var s=i(85893),n=i(11355),o=i(40741),r=i(93973),l=i(68163),a=(i(94184),i(11163)),d=i(58192),c=i(67294),u={step1:{title:"Choose your path",options:[{id:"add_loyalty_to_app",label:"Add loyalty to my app, website, or product",description:"I want loyalty built into an existing digital experience.",icon:"\ud83d\udd0c"},{id:"reach_customers_indirect",label:"Reach customers I don't sell to directly",description:"For selling via retailers/distributors, or first-party data needs - receipt scanning, code capture.",icon:"\ud83c\udfaf"},{id:"enterprise_solution",label:"I want an end to end enterprise loyalty solution",description:"I want a complete loyalty solution designed for my business.",icon:"\ud83c\udfe2"},{id:"not_sure_unique",label:"I'm not sure yet, or my setup is unique",description:"Help me find the right fit.",icon:"\ud83d\udca1"}]},step2:{add_loyalty_to_app:{title:"Add loyalty to my app, website, or product",subtitle:"How do you want to explore Dynamo, our loyalty API?",options:[{id:"try_it_myself",label:"Try it myself",description:"Free, no-commitment trial.",destination:"/products/dynamo/get-started/",destinationValue:"free_trial",icon:"\ud83d\ude80"},{id:"see_how_it_works",label:"See how it works",description:"Learn more about Dynamo.",destination:"/products/dynamo/",destinationValue:"dynamo_learn_more",icon:"\ud83d\udc40"},{id:"talk_to_expert",label:"Talk to an expert",description:"For complex or custom needs.",destination:"/get-in-touch/",destinationValue:"expert_contact",icon:"\ud83d\udde3"}]},reach_customers_indirect:{title:"Reach customers I don't sell to directly",options:[{id:"explore_activate",label:"Explore Activate",description:"Purpose-built for retailers, distributors, receipt scanning, and code capture.",destination:"/products/activate/",destinationValue:"activate_product",icon:"\ud83d\udcf1"},{id:"talk_to_expert",label:"Talk to an expert",description:"Get help understanding the right solution for you",destination:"/get-in-touch/",destinationValue:"expert_contact",icon:"\ud83d\udde3"}]},enterprise_solution:{title:"I want an end to end enterprise loyalty solution",options:[{id:"explore_enterprise",label:"Explore enterprise",description:"Learn more about our end to end enterprise loyalty solutions.",destination:"/products/enterprise/",destinationValue:"enterprise_solution",icon:"\ud83c\udfe2"},{id:"talk_to_expert",label:"Talk to an expert",description:"Get help understanding the right solution for you.",destination:"/get-in-touch/",destinationValue:"expert_contact",icon:"\ud83d\udde3"}]},not_sure_unique:{title:"I'm not sure yet, or my setup is unique",bodyText:"We recommend speaking with our team. We support a wide range of loyalty use cases and can help you find the right approach for your business.",options:[{id:"talk_to_expert",label:"Talk to an expert",description:"",destination:"/get-in-touch/",destinationValue:"expert_contact",icon:"\ud83d\udde3"}]}}};function p(e){var t,i,p,m,h=e.isOpen,x=e.onClose,g=e.triggerLocation,f=e.triggerCtaRef,v=(0,a.useRouter)(),b=(0,d.U0)(),_=(0,c.useState)(1),y=_[0],w=_[1],j=(0,c.useState)(null),N=j[0],k=j[1],F=function(){b&&b.capture("wizard_closed",{step_name:1===y?"choose_your_path":N,step_number:y,path_selected:N,trigger_location:g}),x(),(null===f||void 0===f?void 0:f.current)&&f.current.focus(),setTimeout((function(){w(1),k(null)}),300)},T=function(e,t){b&&b.capture("wizard_step_viewed",{step_number:e,step_name:t,trigger_location:g})};return(0,s.jsx)(n.u.Root,{show:h,as:c.Fragment,children:(0,s.jsx)(o.V,{as:"div",className:"fixed inset-0 z-50 overflow-y-auto",onClose:F,children:(0,s.jsxs)("div",{className:"flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0",children:[(0,s.jsx)(n.u.Child,{as:c.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,s.jsx)(o.V.Overlay,{className:"fixed inset-0 bg-very-dark-blue bg-opacity-80 transition-opacity backdrop-blur-sm"})}),(0,s.jsx)("span",{className:"hidden sm:inline-block sm:h-screen sm:align-middle","aria-hidden":"true",children:"\u200b"}),(0,s.jsx)(n.u.Child,{as:c.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,s.jsxs)("div",{className:"inline-block w-full max-w-2xl transform overflow-hidden rounded-2xl bg-white text-left align-middle shadow-2xl transition-all sm:my-8 text-[#0B1527]",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between border-b border-gray-100 px-6 py-4",children:[(0,s.jsxs)("div",{className:"flex items-center",children:[2===y&&(0,s.jsx)("button",{onClick:function(){b&&b.capture("wizard_back_clicked",{step_number:2,step_name:N,from_step_name:N,path_selected:N,trigger_location:g}),w(1),T(1,"choose_your_path")},className:"mr-4 rounded-full p-2 text-[#737C8F] hover:bg-gray-100 hover:text-[#0B1527] transition-colors","aria-label":"Go back",children:(0,s.jsx)(r.Z,{className:"h-5 w-5"})}),(0,s.jsx)("h3",{className:"text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-[#1AB3FF] to-[#1A40FF]",children:1===y?u.step1.title:null===(t=u.step2[N])||void 0===t?void 0:t.t
1itle})]}),(0,s.jsx)("button",{onClick:F,className:"rounded-full p-2 text-[#737C8F] hover:bg-gray-100 hover:text-[#0B1527] transition-colors","aria-label":"Close",children:(0,s.jsx)(l.Z,{className:"h-5 w-5"})})]}),(0,s.jsxs)("div",{className:"px-6 py-8",children:[2===y&&(null===(i=u.step2[N])||void 0===i?void 0:i.subtitle)&&(0,s.jsx)("p",{className:"text-sm font-medium text-[#737C8F] mb-6",children:u.step2[N].subtitle}),2===y&&(null===(p=u.step2[N])||void 0===p?void 0:p.bodyText)&&(0,s.jsx)("p",{className:"text-sm font-medium text-[#737C8F] mb-6",children:u.step2[N].bodyText}),(0,s.jsx)("div",{className:"flex flex-col gap-4",children:(1===y?u.step1.options:null===(m=u.step2[N])||void 0===m?void 0:m.options).map((function(e){return(0,s.jsxs)("button",{onClick:function(){return function(e,t){var i=!!e.destination;b&&b.capture("wizard_option_selected",{step_number:t,step_name:1===t?"choose_your_path":N,trigger_location:g,option_id:e.id,destination:e.destinationValue||null,exits_wizard:i}),i&&e.destination?v.push(e.destination):1===t&&(k(e.id),w(2),T(2,e.id))}(e,y)},className:"group relative flex w-full cursor-pointer items-start gap-4 roun
1ded-xl border border-gray-200 bg-white p-5 text-left transition-all hover:border-[#1AB3FF] hover:shadow-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-[#1AB3FF] focus:ring-offset-2",children:[(0,s.jsx)("div",{className:"flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-lg bg-[#F0F7FF] text-2xl transition-transform group-hover:scale-110",children:e.icon}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("h4",{className:"text-lg font-semibold text-[#0B1527]",children:e.label}),e.description&&(0,s.jsx)("p",{className:"mt-1 text-sm text-[#737C8F]",children:e.description})]})]},e.id)}))})]}),1===y&&(0,s.jsx)("div",{className:"bg-gray-50 px-6 py-5 text-center sm:px-6",children:(0,s.jsx)("a",{href:"/pricing",onClick:function(e){e.preventDefault(),b&&b.capture("wizard_link_clicked",{link_id:"want_pricing_first",destination:"pricing",exits_wizard:!0,trigger_location:g,step_number:y,step_name:1===y?"choose_your_path":N}),v.push("/pricing")},className:"text-sm font-medium text-[#737C8F] hover:text-[#1AB3FF] underline decoration-[#1AB3FF]/30 underline-offset-4 transition-colors",children:"Want pricing first?"})})]})})]})})})}},40483:function(e,t,i){"use strict";i.d(t,{K6:function(){return n},OI:function(){return s},gX:function(){return r},o2:function(){return o}});var s={dots:!0,infinite:!0,autoplay:!0,speed:900,slidesToShow:3,arrows:!1,slidesToScroll:3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:1}}]},n={dots:!0,infinite:!0,autoplay:!0,speed:900,slidesToShow:3,arrows:!0,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:1}}]},o={dots:!1,infinite:!1,autoplay:!1,speed:900,slidesToShow:3,slidesToScroll:3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:1}}]},r={default:{width:100,slidesToShow:6,responsive:[{breakpoint:900,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:500,settings:{slidesToShow:2,slidesToScroll:1}}]},small:{width:90,slidesToShow:9,responsive:[{breakpoint:900,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:500,settings:{slidesToShow:3,slidesToScroll:1}}]}}},93079:function(e){e.exports={pulseWrapper:"animations_pulseWrapper__gB7sE",pulse:"animations_pulse__yDxcS"}}}]);

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.