PageSourceSearch

https://wrappedgifts.co.za/_next/static/chunks/0x5070-pcz1zr.js

js wrappedgifts.co.za collected 2026-10-03 21:47:43 UTC 18,689 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="4836412d-fe62-d53a-d3cb-cdef511c4185")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,850278,348207,e=>{"use strict";var t=e.i(644296);function i(e,i){return(0,t.createMotionComponent)(e,i)}let r=i("div"),s=i("h1");e.s(["MotionDiv",0,r,"MotionH1",0,s],348207),e.s(["div",0,r],850278)},150508,751090,e=>{"use strict";var t=e.i(338896),i=e.i(876569);let r={renderer:e.i(563562).createDomVisualElement,...t.animations,...i.gestureAnimations};e.s(["domAnimation",0,r],150508);var s=e.i(325390),n=e.i(655493),l=e.i(594387),o=e.i(328047);function a(e){return"function"==typeof e}e.s(["LazyMotion",0,function({children:e,features:t,strict:i=!1}){let[,r]=(0,n.useState)(!a(t)),c=(0,n.useRef)(void 0);if(!a(t)){let{renderer:e,...i}=t;c.current=e,(0,o.loadFeatures)(i)}return(0,n.useEffect)(()=>{a(t)&&t().then(({renderer:e,...t})=>{(0,o.loadFeatures)(t),c.current=e,r(!0)})},[]),(0,s.jsx)(l.LazyContext.Provider,{value:{renderer:c.current,strict:i},children:e})}],751090)},639124,(e,t,i)=>{},39868,(e,t,i)=>{var r=e.i(486370);e.r(639124);var s=e.r(655493),n=s&&"object"==typeof s&&"default"in s?s:{default:s},l=void 0!==r.default&&r.default.env&&!0,o=function(e){return"[object String]"===Object.prototype.toString.call(e)},a=function(){function e(e){var t=void 0===e?{}:e,i=t.name,r=void 0===i?"stylesheet":i,s=t.optimizeForSpeed,n=void 0===s?l:s;c(o(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",c("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var a="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=a?a.getAttribute("content"):null}var t,i=e.prototype;return i.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},i.isOptimizeForSpeed=function(){return this._optimizeForSpeed},i.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(l||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,i){return"number"==typeof i?e._serverSheet.cssRules[i]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),i},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},i.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},i.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},i.insertRule=function(e,t){if(c(o(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var i=this.getSheet();"number"!=typeof t&&(t=i.cssRules.length);try{i.insertRule(e,t)}catch(t){return l||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},i.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var i="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!i.cssRules[e])return e;i.deleteRule(e);try{i.insertRule(t,e)}catch(r){l||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),i.insertRule(this._deletedRulePlaceholder,e)}
2}else{var r=this._tags[e];c(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},i.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},i.flush=function(){this._injected=!1,this._rulesCount=0,"u">typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},i.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,i){return i?t=t.concat(Array.prototype.map.call(e.getSheetForTag(i).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},i.makeStyleTag=function(e,t,i){t&&c(o(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var s=document.head||document.getElementsByTagName("head")[0];return i?s.insertBefore(r,i):s.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,i=e.length;i;)t=33*t^e.charCodeAt(--i);return t>>>0},u={};function m(e,t){if(!t)return"jsx-"+e;var i=String(t),r=e+i;return u[r]||(u[r]="jsx-"+d(e+"-"+i)),u[r]}function h(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var i=e+t;return u[i]||(u[i]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[i]}var p=function(){function e(e){var t=void 0===e?{}:e,i=t.styleSheet,r=void 0===i?null:i,s=t.optimizeForSpeed,n=void 0!==s&&s;this._sheet=r||new a({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),r&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var i=this.getIdAndRules(e),r=i.styleId,s=i.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var n=s.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=n,this._instancesCounts[r]=1},t.remove=function(e){var t=this,i=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(i in this._instancesCounts,"styleId: `"+i+"` not found"),this._instancesCounts[i]-=1,this._instancesCounts[i]<1){var r=this._fromServer&&this._fromServer[i];r?(r.parentNode.removeChild(r),delete this._fromServer[i]):(this._indices[i].forEac
2h(function(e){return t._sheet.deleteRule(e)}),delete this._indices[i]),delete this._instancesCounts[i]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],i=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return i[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,i;return t=this.cssRules(),void 0===(i=e)&&(i={}),t.map(function(e){var t=e[0],r=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:i.nonce?i.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,i=e.dynamic,r=e.id;if(i){var s=m(r,i);return{styleId:s,rules:Array.isArray(t)?t.map(function(e){return h(s,e)}):[h(s,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=s.createContext(null);function x(){return new p}function v(){return s.useContext(f)}f.displayName="StyleSheetContext";var g=n.default.useInsertionEffect||n.default.useLayoutEffect,y="u">typeof window?x():void 0;function w(e){var t=y||v();return t&&("u"<typeof window?t.add(e):g(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}w.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},i.StyleRegistry=function(e){var t=e.registry,i=e.children,r=s.useContext(f),l=s.useState(function(){return r||t||x()})[0];return n.default.createElement(f.Provider,{value:l},i)},i.createStyleRegistry=x,i.style=w,i.useStyleRegistry=v},864091,(e,t,i)=>{t.exports=e.r(39868).style},5097,e=>{e.v(t=>Promise.all(["static/chunks/11g3hzhlt8x-j.js"].map(t=>e.l(t))).then(()=>t(262164)))},536147,e=>{e.v(t=>Promise.all(["static/chunks/2txsz0z2kzvq9.js"].map(t=>e.l(t))).then(()=>t(260309)))},810434,e=>{"use strict";var t=e.i(325390),i=e.i(655493),r=e.i(850278),s=e.i(150508),n=e.i(751090),l=e.i(598637),o=e.i(864091),a=e.i(974051);function c({imageSrc:e,imageAlt:i,title:r,description:s,className:n=""}){return(0,t.jsxs)("div",{className:`relative w-[215px] z-20 h-[134px]  ml-5  bg-[#444444]  rounded-[50px]   ${n}`,children:[(0,t.jsx)("div",{className:"absolute w-[122px]  h-[99px] overflow-hidden rounded-l-[20px] rounded-r-[8px] left-[-8%] top-[14%] z-20",children:(0,t.jsx)(a.default,{src:e,alt:i,width:122,height:99,className:"object-cover w-full h-full"})}),(0,t.jsxs)("div",{className:"relative ml-23 w-1/2 h-full z-20 p-6 pr-0 flex flex-col justify-center",children:[(0,t.jsx)("h3",{className:"text-md font-bold text-white mb-0",children:r}),(0,t.jsx)("p",{className:"text-white  max-w-[85%] text-sm leading-relaxed",children:s})]})]})}var d=e.i(639270);function u({className:e=""}){let r=(0,i.useRef)(null),s=(0,i.useRef)(0);return(0,i.useEffect)(()=>{if(d.mobileCarouselItems.length<=1)return;let e=r.current;if(!e)return;let t=setTimeout(()=>{let t=setInterval(()=>{let t=e.scrollWidth/d.mobileCarouselItems.length;s.current=(s.current+1)%d.mobileCarouselItems.length,e.scrollTo({left:s.current*t,behavior:"smooth"})},3e3);return()=>clearInterval(t)},2e3);return()=>{clearTimeout(t)}},[]),(0,t.jsxs)("div",{className:`jsx-c12f021053e1107 w-full ${e}`,children:[(0,t.jsx)("div",{ref:r,style:{scrollbarWidth:"none",msOverflowStyle:"none"},className:"jsx-c12f021053e1107 flex gap-5  pb-4 overflow-x-auto hide-scrollbar",children:d.mobileCarouselItems.map(e=>(0,t.jsx)("div",{className:"jsx-c12f021053e1107 flex-shrink-0",children:(0,t.jsx)(c,{imageSrc:e.imageSrc,imageAlt:e.imageAlt,title:e.title,description:e.description})},e.id))}),(0,t.jsx)(o.default,{id:"c12f021053e1107",children:"div.jsx-c12f021053e1107::-webkit-scrollbar{display:none}"})]})}e.i(907663);var m=e.i(343841);function h(){return(0,t.jsx)(m.LoadingRegion,{label:"Loading how Wrapped works carousel",className:"relative z-20",children:(0,t.jsx)("div",{className:"hidden grid-cols-3 gap-5 md:grid",children:Array.from({length:3}).map((e,i)=>(0,t.jsx)(m.Skeleton,{className:"h-[220px] w-full rounded-xl"},i))})})}function p({isDesktop:e=!1}){let i=e?"h-[200px] w-[200px]":"h-[112px] w-[112px]";return(0,t.jsx)(m.LoadingRegion,{label:"Loading gift card brands",className:"w-full overflow-hidden",children:(0,t.jsx)("div",{className:"flex gap-4 md:gap-[25px]",children:Array.from({length:e?5:4}).map((e,r)=>(0,t.jsx)(m.Skeleton,{className:`${i} shrink-0 rounded-xl`},r))})})}let f=i.default.lazy(()=>e.A(5097)),x=i.default.lazy(()=>e.A(536147));e.s(["HomeCarouselsClient",0,function({productImages:e}){return(0,t.jsxs)(n.LazyMotion,{features:s.domAnimation,children:[(0,t.jsx)("div",{className:"flex relative z-[1] flex-col flex-1",children:(0,t.jsxs)(r.div,{initial:{opacity:0}
2,animate:{opacity:1},className:"justify-center relative z-[1] pb-2 md:pb-4",children:[(0,t.jsx)("h2",{className:"mb-7 md:mb-8 relative z-10 text-start text-white font-bold leading-tight text-[clamp(1.3rem,3vw,2.2rem)] ",children:"How Wrapped works"}),(0,t.jsx)("div",{className:"hidden relative z-10 md:block",children:(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(h,{}),children:(0,t.jsx)(f,{className:"z-20 relative"})})}),(0,t.jsx)("div",{className:"z-20 w-full overflow-y-visible relative md:hidden",children:(0,t.jsx)(u,{className:"z-20 relative"})})]})}),(0,t.jsx)("div",{className:"flex z-[1] flex-col flex-1 pt-2 md:pt-4",children:(0,t.jsxs)(r.div,{initial:{opacity:0},animate:{opacity:1},className:"justify-center items-center max-w-full",children:[(0,t.jsxs)("h2",{className:"text-start text-white mb-7 md:mb-8 relative text-[clamp(1.3rem,3vw,2.2rem)] font-bold leading-tight",children:["Send Gifts Instantly"," ",(0,t.jsx)("span",{className:"block font-light lg:inline",children:"from SA's Favourite Brands"})]}),(0,t.jsx)("div",{className:"w-full md:hidden overflow-hidden",children:(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(p,{}),children:(0,t.jsx)(l.default,{href:"/gift/choose-retailer",children:(0,t.jsx)(x,{productImages:e})})})}),(0,t.jsx)("div",{className:"hidden md:block",children:(0,t.jsx)(i.Suspense,{fallback:(0,t.jsx)(p,{isDesktop:!0}),children:(0,t.jsx)(l.default,{href:"/gift/choose-retailer",children:(0,t.jsx)(x,{gap:"25px",imageWidth:"200px",imageHeight:"200px",productImages:e})})})}),(0,t.jsx)(l.default,{href:"/gift/choose-retailer",children:(0,t.jsx)("button",{className:"relative cursor-pointer z-20 bg-[#FF5C17] font-semibold rounded-full text-white\n              py-[clamp(10px,1.5vw,12px)] px-[clamp(20px,4vw,36px)]\n              text-[16px] md:text-[18px] mt-9 md:mt-10\n              hover:bg-[#e54d15] transition-colors duration-200",type:"button",children:"Browse Gift Cards"})})]})})]})}],810434)},542384,e=>{"use strict";var t=e.i(325390),i=e.i(348207),i=i,r=e.i(850278),s=e.i(150508),n=e.i(751090),l=e.i(974051),o=e.i(598637);e.s(["HomeHeroClient",0,function(){return(0,t.jsx)(n.LazyMotion,{features:s.domAnimation,children:(0,t.jsx)("div",{className:"flex flex-col w-full flex-1 mt-[clamp(1.25rem,3vw,2.5rem)] md:mt-14",children:(0,t.jsxs)("div",{className:"flex flex-col-reverse md:flex-row md:justify-between items-center w-full",children:[(0,t.jsxs)("div",{className:"flex w-full md:w-auto md:min-w-[clamp(200px,40vw,500px)] flex-col items-center md:items-start gap-5 md:gap-6 relative",children:[(0,t.jsx)(i.MotionH1,{initial:{opacity:0}
2,animate:{opacity:1},className:"z-1",children:(0,t.jsxs)("div",{className:"text-white font-bold leading-[1.1] flex flex-row flex-wrap md:flex-nowrap md:flex-col justify-center md:justify-start gap-1 md:gap-0 md:space-y-[clamp(0.25rem,1vw,1rem)]",children:[(0,t.jsx)("span",{className:"text-[clamp(1.1rem,5.3vw,1.35rem)] md:text-[clamp(1.3rem,4vw,3rem)]",children:"Instant Gifting."}),(0,t.jsx)("span",{className:"text-[clamp(1.1rem,5.3vw,1.35rem)] md:text-[clamp(1.3rem,4vw,3rem)]",children:"Endless Choice."})]})}),(0,t.jsxs)(r.div,{initial:{opacity:0},animate:{opacity:1},className:"z-[1] text-center md:text-left text-white font-medium max-w-[340px] md:max-w-[100%] md:min-w-[clamp(200px,40vw,500px)] text-[clamp(0.9rem,4vw,1rem)] md:text-[clamp(1rem,2vw,1.8rem)] leading-[1.35] md:leading-[clamp(1.4,2vw,1.6)]",children:["Send digital gift cards from South Africa's ",(0,t.jsx)("br",{className:"hidden md:block"}),"largest retail network in seconds."]}),(0,t.jsxs)("div",{className:"flex flex-row md:flex-col lg:flex-row gap-3 md:gap-5 w-full md:w-auto pt-1 md:pt-2",children:[(0,t.jsx)(r.div,{initial:{opacity:0}
2,animate:{opacity:1},className:"z-[1] order-2 md:order-1 flex-1 md:flex-none",children:(0,t.jsx)(o.default,{href:"/gift/choose-retailer",className:"block w-full",children:(0,t.jsx)("button",{className:"bg-[#FF5C17] cursor-pointer font-semibold rounded-full text-white w-full md:w-auto whitespace-nowrap\n                  py-[clamp(10px,1.5vw,12px)] px-[clamp(16px,5vw,36px)]\n                  text-[14px] md:text-[18px]\n                  hover:bg-[#e54d15] transition-colors duration-200",type:"button",children:"Send Gifts Now"})})}),(0,t.jsx)(r.div,{initial:{opacity:0},animate:{opacity:1},className:"z-[1] order-1 md:order-2 flex-1 md:flex-none",children:(0,t.jsx)(o.default,{href:"https://yoyorewards.com/gift-cards-vouchers/#nav-voucher-api",target:"_blank",rel:"noopener noreferrer",className:"block w-full",children:(0,t.jsx)("button",{className:"bg-[#1D1D1F] md:bg-[#1D1D1F] cursor-pointer font-semibold rounded-full text-white w-full md:w-auto whitespace-nowrap\n                  py-[clamp(10px,1.5vw,12px)] px-[clamp(16px,5vw,36px)]\n                  text-[14px] md:text-[18px]\n                  hover:bg-[#1f3945] transition-colors duration-200",type:"button",children:"Send Gifts via API"})})})]})]}),(0,t.jsx)("div",{className:"w-full md:w-auto ml-auto mr-auto md:ml-0 md:mr-0 shrink-0 mb-5 md:mb-0 mt-1 md:mt-0",children:(0,t.jsx)(r.div,{initial:{opacity:0}
2,animate:{opacity:1},className:"flex justify-center items-center w-full relative",children:(0,t.jsx)("div",{className:"relative z-20 w-[min(100%,340px)] md:w-[clamp(340px,44vw,560px)] aspect-[3/2]",children:(0,t.jsx)(l.default,{priority:!0,fetchPriority:"high",src:"/images/home-hero-product.webp",alt:"Customer receiving a Wrapped digital gift card on WhatsApp",fill:!0,sizes:"(max-width: 768px) min(100vw, 340px), 560px",className:"object-contain"})})})})]})})})}],542384)},639270,e=>{"use strict";let t=[{id:"1",imageAlt:"Step 1",title:"Step 1",description:"Pick the perfect gift card."},{id:"2",imageAlt:"Step 2",title:"Step 2",description:"Enter the gift amount."},{id:"3",imageAlt:"Step 3",title:"Step 3",description:"Checkout and pay."},{id:"4",imageAlt:"Done!",title:"Done!",description:"Sent instantly via WhatsApp."}],i=t.map(e=>({...e,imageSrc:`/images/step${e.id}.png`})),r=t.map(e=>({...e,imageSrc:`/images/step${e.id}@3x.png`}));e.s(["desktopCarouselItems",0,r,"mobileCarouselItems",0,i])}]);
3
4//# debugId=4836412d-fe62-d53a-d3cb-cdef511c4185

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.