1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eacbecd4-b0c3-4cb1-ad46-3081961f4f4c",e._sentryDebugIdIdentifier="sentry-dbid-eacbecd4-b0c3-4cb1-ad46-3081961f4f4c")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1606],{653:(e,t,i)=>{"use strict";i.d(t,{F:()=>d});var a=i(37876),s=i(14232),r=i(11079),o=i(87240),n=i(2361),l=i.n(n);let d=e=>{let{children:t,onPageChange:i,onScroll:n,additionalClasses:d}=e,c=(0,s.useRef)(null),[f,g]=(0,s.useState)(0);(0,s.useEffect)(()=>{var e;let t=e=>{if(!(e.target instanceof HTMLDivElement))return;let t=e.target,a=t.children.length,s=Math.round(t.scrollLeft/(t.scrollWidth/a));null==i||i(s),g(s)};return null==(e=c.current)||e.addEventListener("scroll",t),()=>{var e;return null==(e=c.current)?void 0:e.removeEventListener("scroll",t)}},[]);let u=s.Children.toArray(t);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{ref:c,className:(0,r.lM)(l().carousel,null==d?void 0:d.carousel),onScroll:n,children:s.Children.map(u,(e,t)=>(0,a.jsx)("div",{className:l().carouselItem,children:e},t))}),(0,a.jsx)(o.d,{className:(0,r.lM)(l().pageIndicator,null==d?void 0:d.pageIndicator),currentPage:f,numberOfPages:s.Children.count(u),additionalClasses:{activePageIndication:null==d?void 0:d.activePageIndication},"data-sentry-element":"PageIndicator","data-sentry-source-file":"carousel.tsx"})]})}},1319:(e,t,i)=>{"use strict";i.d(t,{bh:()=>s,mG:()=>r,oH:()=>n,sF:()=>o});var a=i(91785);let s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return"".concat(t.join(" | ")).concat(t.length>0?" | ":"","TouchNote").concat("us"!==e?" ".concat(e.toUpperCase()):"")},r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return"".concat(s(e,t)," | ").concat((0,a.ol)(e,!0)," Cards, Greeting Cards, Postcards & More")},o=e=>
1"Share life's happy moments & surprise loved ones with ".concat((0,a.ol)(e)," cards, birthday cards, greeting cards & more with Touchnote. Download the app today."),n=(e,t)=>e.map((e,i)=>{var a;return{position:i+1,name:e.displayName,item:"https://touchnote.com"+((null==(a=e.link)?void 0:a.split("/").includes(t))?"":"/".concat(t))+e.link}})},1533:(e,t,i)=>{"use strict";i.d(t,{tq:()=>n});var a=i(74108),s=i(6906),r=i(47064);(0,s.Bj)((e,t)=>(0,a.Z)(e,{cursor:"",perPage:"10",page:"1",deliveryCountryId:r.I[t].apiCountryId}));let o={easter:{h1:"Send Thoughtful Easter Gifts with your Personalised Card",pageDescription:"Discover a curated range of Easter gifts, from indulgent treats to delightful surprises. Add a personalised card and send something meaningful straight to their door.",meta:{description:"Explore from Touchnote's selection of Easter gifts. From tasty treats to delectable delights, find the perfect gift to send with your personalised card."}},"under-15":{h1:"Gifts under \xa315 to send with a personalised card",pageDescription:"Find meaningful gifts under \xa315, perfectly paired with a personalised card. Thoughtful, budget-friendly surprises delivered directly, no wrapping needed.",meta:{description:"Browse TouchNote's selection of gifts under 15, each paired with a personalised card. Thoughtful, affordable gifts sent directly to their door, with no wrapping required."}},tonys:{h1:"Send Tonyâs Chocolonely Gifts with your Personalised Card",pageDescription:"Explore delicious Tonyâs Chocolonely gifts, from rich chocolate bars to indulgent treats. Pair your gift with a personalised card and send a sweet surprise straight to their door.",meta:{description:"Explore from Touchnote's selection of Tony's gifts. From tasty treats to delectable delights, find the perfect gift to send with your personalised card.",title:"Send Tony's Gifts & Presents Online on TouchNote",keywords:"Tony's Chocolonely gifts, Tony's Chocolonely chocolate, Tony's Chocolonely UK"}},"love-cocoa":{h1:"Luxury Love Cocoa Chocolate Gifts with your Personalised Card",pageDescription:"Shop premium Love Cocoa chocolate gifts, including hampers, truffles and letterbox-friendly bundles. Add a personalised card for a thoughtful delivery theyâll love.",meta:{description:"Send Love Cocoa luxury sustainable chocolate gifts paired with a personalised card from TouchNote. Choose from hampers, truffle boxes, and letterbox-friendly chocolate bundles - posted directly to their door.",title:"Send Love Cocoa Chocolate Gifts & Personalised Cards on TouchNote",keywords:"Love Cocoa gifts, sustainable chocolate gifts UK, luxury chocolate hampers, ethical chocolate gifts, letterbox chocolate gifts"}},"cartwright-butler":{h1:"Luxury Cartwright & Butler Treats & Biscuits with your Personalised Card",pageDescription:"Send beautifully packaged Cartwright & Butler treats, from biscuit tins and fudge to confectionery and tea. Personalise your card and deliver a comforting gift straight to their door.",meta:{description:"Send Cartwright & Butler luxury treats paired with a personalised card from TouchNote. Choose from beautifully packaged biscuit tins, chocolate fudge, confectionery and tea - a thoughtful gift posted directly to their door.",title:"Send Cartwright & Butler Gifts & Personalised Cards on TouchNote",keywords:"Cartwright & Butler gifts, luxury biscuit tins UK, luxury treat gifts, shortbread gifts UK, chocolate fudge gifts, teatime gifts UK"}},"charbonnel-et-walker":{h1:"Indulgent Charbonnel et Walker Chocolate Gifts with your Personalised Card",pageDescription:"Choose from decadent Charbonnel et Walker chocolate gifts, including champagne truffles, caramel delights and luxury selections. Add a personalised card for a truly special delivery.",meta:{description:"Send Charbonnel et Walker luxury chocolate gifts paired with a personalised card from TouchNote. Choose from champagne truffles, sea salt caramel truffles, billionaire's truffles and Peter Rabbit chocolate gifts - posted directly to their door.",keywords:"Charbonnel et Walker gifts, luxury chocolate truffles UK, champagne truffle gifts, luxury chocolate gifts UK, Peter Rabbit chocolate gift, sea salt caramel truffles"}},birthday:{h1:"Birthday gifts to send with a personalised card",pageDescription:"Make the
1ir day extra special with thoughtful birthday gifts paired with a personalised card. From sweet treats to meaningful surprises, send something theyâll love straight to their door.",meta:{description:"Explore from Touchnote's selection of Birthday gifts. From tasty treats to delectable delights, find the perfect gift to send with your personalised card.",title:"Birthday Gifts with a Personalised Card | TouchNote",keywords:"birthday gifts UK, birthday gift ideas, gifts for her birthday, gifts for him birthday, birthday gifts to send online, personalised birthday gifts, birthday gift delivery UK"}},"sweet-treats":{h1:"Sweet treat gifts to send with a personalised card",pageDescription:"Choose from a delicious range of sweet treats to pair with your personalised card. From chocolates to indulgent goodies, send a little moment of joy straight to their door.",meta:{description:"Explore from Touchnote's selection of Sweet Treats gifts. From tasty treats to delectable delights, find the perfect gift to send with your personalised card.",title:"Sweet Treat Gifts with a Personalised Card | TouchNote",keywords:"sweet treat gifts UK / chocolate gifts to send online, food gifts UK, edible gifts UK, sweet gift delivery, treats to send someone, food hamper gifts UK"}},magnets:{h1:"Send Photo Magnets with your Personalised Card",pageDescription:"Choose a photo magnet to send alongside your personalised card. A simple, thoughtful keepsake they can use to display your card on the fridge and remember the moment.",meta:{description:"Create personalised photo magnet bundles with TouchNote. Add your own photos, silly selfies, and inside jokes to make a fun and memorable keepsake â printed and posted directly to their door.",keywords:"personalised photo magnets, custom photo magnets UK, photo magnet bundles, personalised magnets gift, custom fridge magnets UK"}},flowers:{h1:"Flowers to send with a personalised card",pageDescription:"Brighten their day with beautiful flowers delivered alongside your personalised card. A simple, thoughtful way to send a meaningful message for any occasion.",meta:{description:"Explore Touchnoteâs selection of flowers. From tasty treats to beautiful blooms, find the perfect gift to send with your personalised card.",title:"Flowers & Personalised Cards Delivered | TouchNote",keywords:"send flowers online UK, flowers with a personalised card, flowers and card delivery UK, letterbox flowers UK, flowers to send online, flower gift delivery, flowers and personalised card"}},heartfelt:{h1:"Heartfelt gifts to send with a personalised card",pageDescription:"Show you care with heartfelt gifts and a personalised card. Whether youâre sending love, support or appreciation, find meaningful ways to connect and make them smile.",meta:{description:"Explore from Touchnote's selection of Heartfelt gifts. From tasty treats to delectable delights, find the perfect gift to send with your personalised card.",title:"Thinking of You Gifts with a Personalised Card | TouchNote",keywords:"thinking of you gifts UK, sympathy gifts UK, gifts to show you care, get well soon gifts, support gifts UK, meaningful gifts to send, gifts for difficult times"}},congratulations:{h1:"Congratulations gifts to send with a personalised card",pageDescription:"Celebrate their big moment with congratulations gifts and a personalised card. Whether itâs a new job, exam results or a milestone achievement, send a thoughtful surprise to mark the occasion.",meta:{description:"Explore from Touchnote's selection of Congratulations gifts. From tasty treats to delectable delights, find the perfect gift to send with your personalised card.",title:"Congratulations Gifts with a Personalised Card | TouchNote",keywords:"congratulations gifts UK, gifts for new job UK, well done gifts, exam results gifts, milestone gifts UK, congratulations gift delivery"}},"fathers-day":{h1:"Father's Day gifts to send with a personalised card",pageDescription:"Make Dad's day with a thoughtful gift paired with a personalised card. From sweet treats to premium picks, find something he'll actually love and send it straight to his door.",meta:{description:"Find the perfect Father's Day gift to pair with a personalised card. From chocolates and treats to premium gift sets, delivered directly to his door - no wrapping needed.",title:"Father's Day Gifts with a Personalised Card | TouchNote",keywords:"Father's Day gifts UK, Father's Day gift ideas, gifts for dad, personalised Father'
1s Day gifts, send Father's Day gifts online, Father's Day gift delivery"}}},n=e=>{var t,i;let a=o[null!=(i=null==(t=e.info)?void 0:t.categorySlug)?i:""];if(e.info&&a){let{categoryDisplayName:t}=e.info,{h1:i,pageDescription:s,meta:r}=a;return{meta:{title:"Send ".concat(t," Gifts & Presents Online with Personalised Cards on TouchNote"),keywords:"".concat(t," gifts, ").concat(t," presents online, ").concat(t," gift delivery UK"),...r},h1:i,pageDescription:s}}return{meta:{title:"Send Gifts & Presents Online with Personalized Cards on TouchNote",description:"Browse TouchNote's curated selection of gifts to pair with a personalised card. From chocolate and treats to premium gift sets, find something thoughtful for every occasion and post it directly to their door.",keywords:"online gifts in UK, personalised gifts, send presents online, gift delivery UK, TouchNote gifts"},pageDescription:"Browse TouchNote's curated selection of gifts to pair with a personalised card. From chocolate and treats to premium gift sets, find something thoughtful for every occasion and post it directly to their door.",h1:"Gifts to send with a personalised card"}}},2361:e=>{e.exports={carousel:"carousel_carousel__YxcZe",carouselItem:"carousel_carouselItem__DrUpo",pageIndicator:"carousel_pageIndicator__8bxys"}},6379:e=>{e.exports={infoSection:"gift-page-content_infoSection__uxnP9",descriptionWrapper:"gift-page-content_descriptionWrapper__C7un8",tagDescription:"gift-page-content_tagDescription__sU_kc",tabsSkeleton:"gift-page-content_tabsSkeleton___hRSj",tabSkeletonPill:"gift-page-content_tabSkeletonPill__W7ZQz",shimmer:"gift-page-content_shimmer__CIoft",emptyState:"gift-page-content_emptyState__9DTSn",giftsContainer:"gift-page-content_giftsContainer__IixwV"}},18563:e=>{e.exports={container:"gift-details-modal_container__V26ju",carousel:"gift-details-modal_carousel__Hqxyh",mobileImageStage:"gift-details-modal_mobileImageStage__EGKMs",mobileThumbnailStage:"gift-details-modal_mobileThumbnailStage__O3g_p",saleFlyer:"gift-details-modal_saleFlyer__rz1t_",saleFlyerMobile:"gift-details-modal_saleFlyerMobile__tz0WH",thumbnail:"gift-details-modal_thumbnail__uclDR",imageContainer:"gift-details-modal_imageContainer__EN_KR",imageStage:"gift-details-modal_imageStage__iCF44",largeImage:"gift-details-modal_largeImage__Nzso3",thumbnailsContainer:"gift-details-modal_thumbnailsContainer__2tF6S",selectedThumbnail:"gift-details-modal_selectedThumbnail__vUL2A",textInfosContainer:"gift-details-modal_textInfosContainer__WC4NG",semiTitle:"gift-details-modal_semiTitle__j_Io0",title:"gift-details-modal_title__RXtGD",price:"gift-details-modal_price__kEVuk",sale:"gift-details-modal_sale__6vtiS",originalPrice:"gift-details-modal_originalPrice__QjOot",info:"gift-details-modal_info__0C0kq",productDetails:"gift-details-modal_productDetails__b6zcy",collapsibleContainer:"gift-details-modal_collapsibleContainer__Xbb_E",closeButton:"gift-details-modal_closeButton___jTtJ",hide:"gift-details-modal_hide__Z_B3E"}},19596:(e,t,i)=>{"use strict";i.d(t,{q:()=>n});var a=i(13478),s=i(61482),r=class extends a.${constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:(0,s.PL)()})}getOptimisticResult(e){return e.behavior=(0,s.PL)(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){let{state:i}=e,a=super.createResult(e,t),{isFetching:r,isRefetching:o,isError:n,isRefetchError:l}=a,d=i.fetchMeta?.fetchMore?.direction,c=n&&"forward"===d,f=r&&"forward"===d,g=n&&"backward"===d,u=r&&"backward"===d;return{...a,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,s.rB)(t,i.data),hasPreviousPage:(0,s.RQ)(t,i.data),isFetchNextPageError:c,isFetchingNextPage:f,isFetchPreviousPageError:g,isFetchingPreviousPage:u,isRefetchError:l&&!c&&!g,isRefetching:o&&!f&&!u}}},o=i(23836);function n(e,t){return(0,o.t)(e,r,t)}},23191:e=>{e.exports={grid:"gift-skeleton_grid__f7v1u",card:"gift-skeleton_card__lQPHV",imageContainer:"gift-skeleton_imageContainer__1TxAM",shimmer:"gift-skeleton_shimmer__deytq",priceBadge:"gift-skeleton_priceBadge__x8osd",info:"gift-skeleton_info__SKMnp",titleLine:"gift-skeleton_titleLine__KnS9_",subtitleLine:"gift-skeleton_subtitleLine__Upxx_"}},27228:(e,t,i)=>{"use strict";i.d(t,{A:()=>n});var a=i(14232),s=i(8666),r=i(86189),o=i(43715);let n=e=>{let{ctx:t}=(0,r._8)(),{locale:i}=(0,o.Y)(),{data:n,isFetching:l,fetchNextPage:d,hasNextPage:c}=(0,s.Zj)(t,i,e);(0,a.useEffect)(()=>{c&&d()},[c]);let{pages:f}=null!=n?n:{},g=!t||l&&void 0===n;return{allGifts:f,isFetchingGifts:l,isGiftsListLoading:g}}},29401:(e,t,i)=>{"use strict";i.d(t,{s:()=>n});var a=i(47765);let s=()=>({displayName:"Home",link:"/"}),r=e=>({displayName:["uk","eu","au"].includes(e)?"Personalised cards":"Personalized cards",link:"/pers
1onalised-cards/"}),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{displayName:t?"".concat(e.trim()," Cards"):e.trim(),link:"/personalised-cards/".concat((0,a.Iq)(e),"/")}},n=e=>{switch(e.page){case"personalised-cards":return[s(),{displayName:r(e.locale).displayName}];case"product-list-page":{let t=[s(),r(e.locale),o(e.tagHandle,!0),...e.subTagHandle?[((e,t)=>({displayName:t.trim(),link:"/personalised-cards/".concat((0,a.Iq)(e),"/").concat((0,a.Iq)(t),"/")}))(e.tagHandle,e.subTagHandle)]:[]],i=t.at(-1);return i&&e.seoOptimizedLastBreadcrumbTrail&&(i.displayName=e.seoOptimizedLastBreadcrumbTrail),t}case"product-detail-page":return[s(),r(e.locale),o(e.tagHandle)];case"multi-send":return[s(),r(e.locale),{displayName:"Multi send"}];case"gifts":return[s(),{displayName:"Gifts"}];case"gifts-category":return[s(),{displayName:"Gifts",link:"/gifts/"},{displayName:e.categoryName}];case"delivery":return[s(),{displayName:"Delivery"}];default:throw Error("Unknown breadcrumb page type")}}},45988:(e,t,i)=>{"use strict";i.d(t,{y:()=>y});var a=i(37876),s=i(14232),r=i(38112),o=i(23895),n=i(653),l=i(53633),d=i(17825),c=i(41591),f=i(43715),g=i(11079),u=i(37581),h=i(18563),p=i.n(h);let m=e=>{let{children:t,isOpen:i,close:s}=e,{isMobile:o}=(0,c.Ln)();return o?(0,a.jsx)(r.J,{isOpen:i,closeDrawer:s,"data-sentry-element":"BottomDrawer","data-sentry-component":"ViewportSpecificContainer","data-sentry-source-file":"gift-details-modal.tsx",children:t}):(0,a.jsx)(d.a,{shouldStyle:!1,isOpen:i,closeModal:s,"data-sentry-element":"Modal","data-sentry-component":"ViewportSpecificContainer","data-sentry-source-file":"gift-details-modal.tsx",children:t})},y=e=>{var t,i,r;let{isMobile:d}=(0,c.Ln)(),{currencyCode:h}=(0,f.Y)(),{imageGallery:y,semiTitle:_,title:w,price:x,salePrice:b,description:v}=null!=(r=null==(i=e.gift)||null==(t=i.giftVariant)?void 0:t.at(0))?r:{},C=void 0!==b&&b>0,[N,k]=(0,s.useState)(null),[j,P]=(0,s.useState)(!1);(0,s.useEffect)(()=>{(null==y?void 0:y.at(0))&&k(y.at(0))},[y]);let T=(null==y?void 0:y.length)?y.map((e,t)=>{let i=(0,a.jsx)("img",{role:"presentation",className:(0,g.lM)(p().thumbnail,N===e&&p().selectedThumbnail),src:e,width:83,height:83,alt:"gift thumbnail image-".concat(t),onClick:()=>k(e)},"thumbnail-image-".concat(t));return d&&C?(0,a.jsxs)("div",{className:p().mobileThumbnailStage,children:[i,(0,a.jsx)("span",{className:(0,g.lM)(p().saleFlyer,p().saleFlyerMobile),"aria-hidden":"true",children:"SALE"})]},"thumbnail-sale-".concat(t)):i}):null;return(0,a.jsx)(m,{isOpen:e.isOpen,close:e.onClose,"data-sentry-element":"ViewportSpecificContainer","data-sentry-component":"GiftDetailsModal","data-sentry-source-file":"gift-details-modal.tsx",children:(0,a.jsxs)("div",{className:p().container,children:[d?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.J,{className:p().closeButton,onClick:e.onClose}),(0,a.jsx)("div",{className:p().mobileImageStage,children:(0,a.jsx)(n.F,{additionalClasses:{carousel:p().carousel},children:T})})]}):(0,a.jsxs)("div",{className:p().imageContainer,children:[(0,a.jsxs)("div",{className:p().imageStage,children:[(0,a.jsx)("img",{className:p().largeImage,src:null!=N?N:"",width:500,height:500,alt:"gift large view"}),C&&(0,a.jsx)("span",{className:p().saleFlyer,"aria-hidden":"true",children:"SALE"})]}),(0,a.jsx)("div",{className:p().thumbnailsContainer,children:T})]}),(0,a.jsxs)("div",{className:p().textInfosContainer,children:[(0,a.jsx)(o.J,{className:(0,g.lM)(p().closeButton,d&&p().hide),onClick:e.onClose,"data-sentry-element":"CloseButton","data-sentry-source-file":"gift-details-modal.tsx"}),(0,a.jsx)("p",{className:p().semiTitle,children:_}),(0,a.jsx)("p",{className:p().title,children:w}),(0,a.jsx)("p",{className:p().price,children:b&&b>0?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:p().sale,children:(0,u.AZ)(b,h)}),x?(0,a.jsx)("span",{className:p().originalPrice,children:(0,u.AZ)(x,h)}):null]}):x?(0,u.AZ)(x,h):""}),(0,a.jsx)("div",{className:p().collapsibleContainer,children:(0,a.jsx)(l.K,{heading:"Product Details",isOpen:j,onExpand:()=>P(!j),"data-sentry-element":"CollapsibleView","data-sentry-source-file":"gift-details-modal.tsx",children:(0,a.jsx)("p",{className:p().productDetails,dangerouslySetInnerHTML:{__html:v||"<p>Not Available</p>"}})})})]})]})})}},53633:(e,t,i)=>{"use strict";i.d(t,{K:()=>n});var a=i(37876);i(14232);var s=i(11079),r=i(66937),o=i.n(r);let n=e=>{let{children:t,heading:i,isOpen:r,onExpand:n}=e;return(0,a.jsxs)("div",{className:(0,s.lM)(o().view,r&&o().isOpen),"data-sentry-component":"CollapsibleView","data-sentry-source-file":"collapsible-view.tsx",children:[(0,a.jsxs)("button",{type:"button",className:o().expandButton,onClick:n,children:[(0,a.jsx)("span",{children:i}),(0,a.jsx)("img",{src:"/assets/icons/chevron-down.svg",alt:"icon to expand view",width:24,height:24})]}),(0,a.jsx)("div",{className:o().viewExpanded,children:t})]})}},57747:e=>{e.exports={grid:"gift-product-grid_grid__tacDT"}},58135:e=>{e.exports={card:"gift-product-card_card__RdVs0",fadeInUp:"gift-product-card_fadeInUp__JdyOd",image:"gift-product-card_image__A8rm_",cardButton:"gift-product-card_cardButton__gdg6K",imageContainer:"gift-product-card_imageContainer__v6m1J",priceBadge:"gift-product-card_priceBadge__Dc6Ds",sale:"gift-product-card_sale__XecaG",originalPrice
1:"gift-product-card_originalPrice__kEKWb",info:"gift-product-card_info__7GzCd",title:"gift-product-card_title__wLkwC",subtitle:"gift-product-card_subtitle__50_qQ"}},66937:e=>{e.exports={view:"collapsible-view_view__WBSbX",expandButton:"collapsible-view_expandButton__wRlGv",isOpen:"collapsible-view_isOpen__lRHvt",viewExpanded:"collapsible-view_viewExpanded__NGhxM"}},85052:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a=(0,i(19297).A)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},88309:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});let a=(0,i(19297).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},88626:(e,t,i)=>{"use strict";i.d(t,{Z:()=>F});var a=i(37876),s=i(14232),r=i(5178),o=i(80108),n=i(96557),l=i(27228),d=i(85013),c=i(97497),f=i(2330),g=i(45988),u=i(70609),h=i(74922),p=i(43715),m=i(72145),y=i(5551),_=i(37581),w=i(76708),x=i(58135),b=i.n(x);let v=e=>{let{gift:t,animationDelay:i=0,onClick:s}=e,{currencyCode:r}=(0,p.Y)(),{url:o}=(0,y.C)("front",{giftId:t.id,productHandle:"GC",themeId:w.G}),{toast:n}=(0,h.d)(),{trackEvent:l}=(0,m.z1)(),d=t.giftVariant.filter(e=>"instock"===e.stockStatus)[0];if(!d)return null;let c={giftVariantID:d.id,giftVariantTitle:d.title,giftVariantSemiTitle:d.semiTitle,giftVariantPrice:(0,_.sC)(d.price)},f=d.salePrice>0?{...c,giftVariantSalePrice:(0,_.sC)(d.salePrice)}:c;return(0,a.jsxs)("div",{className:b().card,style:{animationDelay:"".concat(i,"ms")},"data-sentry-component":"GiftProductCard","data-sentry-source-file":"gift-product-card.tsx",children:[(0,a.jsxs)("button",{type:"button",className:b().cardButton,onClick:()=>{l("giftProductCardViewed",f),s(t.id)},children:[(0,a.jsxs)("div",{className:b().imageContainer,children:[(0,a.jsx)("img",{src:d.mainImage,alt:d.title,className:b().image,width:260,height:345,loading:"lazy"}),(0,a.jsxs)("span",{className:b().priceBadge,children:[d.salePrice>0?(0,a.jsx)("span",{className:b().sale,children:(0,_.AZ)(d.salePrice,r)}):(0,_.AZ)(d.price,r),d.salePrice>0&&(0,a.jsx)("span",{className:b().originalPrice,children:(0,_.AZ)(d.price,r)})]})]}),(0,a.jsxs)("div",{className:b().info,children:[(0,a.jsx)("h3",{className:b().title,children:d.semiTitle}),d.semiTitle&&(0,a.jsx)("p",{className:b().subtitle,children:d.title})]})]}),(0,a.jsx)(u._F,{onClick:()=>{l("Add to order tapped",f),n.success("".concat(d.semiTitle," added to your order"),{showProgress:!0})},href:o,variant:"secondary",size:"medium","data-sentry-element":"CallToActionLink","data-sentry-source-file":"gift-product-card.tsx",children:"Add to order"})]})};var C=i(57747),N=i.n(C);let k=e=>{var t;let{gifts:i}=e,{value:s,isLoading:r}=(0,d.p)("giftId","string"),o=null!=(t=i.find(e=>e.id===s))?t:null,n=(0,c.i)(),l=(0,f.r)(),u=e=>{l.push({pathname:window.location.pathname,query:{giftId:e}},void 0,{shallow:!0})};return(0,a.jsxs)("div",{className:N().grid,"data-sentry-component":"GiftProductGrid","data-sentry-source-file":"gift-product-grid.tsx",children:[!1===r&&null!==o&&(0,a.jsx)(g.y,{gift:o,isOpen:!0,onClose:()=>n("giftId")}),i.map((e,t)=>(0,a.jsx)(v,{gift:e,animationDelay:50*t,onClick:u},e.id))]})};var j=i(23191),P=i.n(j);let T=()=>(0,a.jsxs)("div",{className:P().card,"data-sentry-component":"GiftSkeletonCard","data-sentry-source-file":"gift-skeleton.tsx",children:[(0,a.jsx)("div",{className:P().imageContainer,children:(0,a.jsx)("div",{className:P().priceBadge})}),(0,a.jsxs)("div",{className:P().info,children:[(0,a.jsx)("div",{className:P().titleLine}),(0,a.jsx)("div",{className:P().subtitleLine})]})]}),S=e=>{let{count:t=8}=e;return(0,a.jsx)("div",{className:P().grid,"data-sentry-component":"GiftSkeletonGrid","data-sentry-source-file":"gift-skeleton.tsx",children:Array.from({length:t},(e,t)=>(0,a.jsx)(T,{},t))})};var D=i(6379),I=i.n(D);let F=e=>{let{title:t,description:i,activeCategorySlug:d,tags:c}=e,f=d?c.find(e=>e.slug===d):void 0,{allGifts:g,isGiftsListLoading:u}=(0,l.A)(null==f?void 0:f.id),h=(0,s.useMemo)(()=>null==g?void 0:g.filter(e=>e.giftVariant.some(e=>"instock"===e.stockStatus)),[g]),p=(0,s.useMemo)(()=>{if(!d)return c.map(e=>e.name);let e=c.find(e=>e.slug===d);return e?[e.name,...c.filter(t=>t.id!==e.id).map(e=>e.name)]:c.map(e=>e.name)}
1,[c,d]),m=(0,s.useMemo)(()=>new Map(c.map(e=>[e.name,e.slug])),[c]);return(0,a.jsxs)(r.m,{"data-sentry-element":"Container","data-sentry-component":"GiftPageContent","data-sentry-source-file":"gift-page-content.tsx",children:[(0,a.jsx)("div",{className:I().infoSection,children:(0,a.jsx)("h1",{children:t})}),(0,a.jsx)(o.M,{textClassName:I().tagDescription,className:I().descriptionWrapper,lineClamp:2,"data-sentry-element":"ExpandableText","data-sentry-source-file":"gift-page-content.tsx",children:(0,a.jsx)("p",{children:i})}),(0,a.jsx)(n.S,{tags:p,selectedTagHandle:null==f?void 0:f.name,useLink:!0,getHref:(e,t)=>{var i;return t?"/gifts/":"/gifts/".concat(null!=(i=m.get(e))?i:"","/")},"data-sentry-element":"TagsList","data-sentry-source-file":"gift-page-content.tsx"}),(0,a.jsx)("div",{className:I().giftsContainer,children:u?(0,a.jsx)(S,{count:8}):h&&h.length>0?(0,a.jsx)(k,{gifts:h}):(0,a.jsx)("p",{className:I().emptyState,children:"Our gift scouts are on the hunt. Check back soon for new arrivals!"})})]})}}}]);
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.