PageSourceSearch

https://www.interflora.co.uk/assets/uk_prd_IFCT-9173_PDP-Tabbed-Mo…/static/chunks/7494.1377c1d581ffa3e2.js

js interflora.co.uk collected 2026-10-01 12:15:02 UTC 6,885 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b8d7fc6d-c341-4a7f-a9aa-ed4630c8c1c6",e._sentryDebugIdIdentifier="sentry-dbid-b8d7fc6d-c341-4a7f-a9aa-ed4630c8c1c6")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7494],{7234:(e,n,t)=>{t.d(n,{n:()=>c});var r=t(66043),i=t(61614),a=t(68070),o=t(52541),s=t(61643),l=t(74171),d=t(10945);function c(e,n){var t=(0,d.m)(null==n?void 0:n.client);(0,s.D$)(e,s.KG.Mutation);var c=i.useState({called:!1,loading:!1,client:t}),u=c[0],m=c[1],p=i.useRef({result:u,mutationId:0,isMounted:!0,client:t,mutation:e,options:n});Object.assign(p.current,{client:t,options:n,mutation:e});var g=i.useCallback(function(e){void 0===e&&(e={});var n=p.current,t=n.options,i=n.mutation,s=(0,r.Cl)((0,r.Cl)({},t),{mutation:i}),d=e.client||p.current.client;p.current.result.loading||s.ignoreResults||!p.current.isMounted||m(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:d});var c=++p.current.mutationId,u=(0,a.l)(s,e);return d.mutate(u).then(function(n){var t,r,i=n.data,a=n.errors,s=a&&a.length>0?new l.K4({graphQLErrors:a}):void 0,g=e.onError||(null==(t=p.current.options)?void 0:t.onError);if(s&&g&&g(s,u),c===p.current.mutationId&&!u.ignoreResults){var b={called:!0,loading:!1,data:i,error:s,client:d};p.current.isMounted&&!(0,o.L)(p.current.result,b)&&m(p.current.result=b)}var h=e.onCompleted||(null==(r=p.current.options)?void 0:r.onCompleted);return s||null==h||h(n.data,u),n}).catch(function(n){if(c===p.current.mutationId&&p.current.isMounted){var t,r={loading:!1,error:n,data:void 0,called:!0,client:d};(0,o.L)(p.current.result,r)||m(p.current.result=r)}var i=e.onError||(null==(t=p.current.options)?void 0:t.onError);if(i)return i(n,u),{data:void 0,errors:n};throw n})},[]),b=i.useCallback(function(){if(p.current.isMounted){var e={called:!1,loading:!1,client:t};Object.assign(p.current,{mutationId:0,result:e}),m(e)}},[]);return i.useEffect(function(){return p.current.isMounted=!0,function(){p.current.isMounted=!1}},[]),[g,(0,r.Cl)({reset:b},u)]}},10089:(e,n,t)=>{t.d(n,{A:()=>b});var r=t(6029),i=t(55729),a=t(76481),o=t(87192),s=t(51326),l=t(74020),d=t(80575),c=t(13939);let u=(0,d.n9)()(e=>({reminderTitle:Object.assign(Object.assign(Object.assign({},e.typography.xl_bold),e.typographySpacing.xl_bold_sm),{color:e.isFlyingFlowers?c.Tj.black[700]:c.Tj.supplementary.black,textAlign:e.isFlyingFlowers?"center":"left",[e.breakpoints.up("sm")]:{textAlign:"left"}}),noReminderTitle:Object.assign(Object.assign(Object.assign({},e.typography.medium_bold),e.typographySpacing.medium_bold_lg),{color:e.isFlyingFlowers?c.Tj.black[700]:c.Tj.supplementary.black,[e.breakpoints.up("md")]:Object.assign(Object.assign({},e.typographySpacing.none),{marginBottom:"12px"})}),noReminderDescription:Object.assign(Object.assign(Object.assign({},e.typography.small_regular),e.typographySpacing.medium_bold_lg),{color:e.isFlyingFlowers?c.Tj.black[700]:c.Tj.grey.grey6}),noReminderCard:{boxShadow:e.isFlyingFlowers?"0px 2px 2px rgba(60, 60, 59, 0.48), 0px 4px 8px rgba(60, 60, 59, 0.16)":"0px 2px 2px rgba(0, 0, 0, 0.08), 0px 2px 8px rgba(0, 0, 0, 0.12)",padding:c.YK.medium,background:c.Tj.background.LIGHT_GREY,[e.breakpoints.up("md")]:{marginBottom:0}},reminderCardContainer:{display:"grid",gridTemplateColumns:"repeat(1, 1fr)",gridColumnGap:"0",[e.breakpoints.up("md")]:{gridTemplateColumns:"repeat(3, 1fr)",gridColumnGap:c.YK.medium}},viewEditButton:{marginRight:c.YK.medium,marginLeft:c.YK.medium,[e.breakpoints.up("sm")]:{margin:0},[e.breakpoints.up("md")]:{width:"287px"}}
1,addOccasionButton:{"& button":{"&.MuiFab-root":{"&:focus":{boxShadow:"0px 2px 4px rgba(0, 0, 0, 0.24)"}}}}}));var m=t(86604);let p=e=>{let{remindersList:n,openAddRemindersModal:t,remindersTotalCount:d}=e,{isFlyingFlowers:c}=(0,i.useContext)(a.Z0),{classes:p}=u(),g=n&&d?`(${d})`:"";return(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:p.reminderTitle,children:`Reminders ${c?"":g}`}),(null==n?void 0:n.length)?(0,r.jsx)("div",{className:p.reminderCardContainer,children:null==n?void 0:n.map((e,n)=>(0,r.jsx)(s.A,{reminder:e,showActions:!1},n))}):(0,r.jsxs)("div",{className:p.noReminderCard,children:[(0,r.jsxs)("h3",{className:p.noReminderTitle,children:["You don’t have any ",c?"":"occasion"," reminders set yet"]}),(0,r.jsx)("p",{className:p.noReminderDescription,children:c?"Make sure you never forget a special occasion by setting a reminder":"Don't miss those special occasions! Set up a reminder and we'll give you a nudge when it's time to send something lovely."}),(0,r.jsx)("div",{children:(0,r.jsx)(l.A,{ariaLabel:`Add new ${c?"":"occasion"} reminder`,icon:"add",label:`Add new ${c?"":"occasion"} reminder`,onClick:()=>t(!0),className:p.addOccasionButton})})]}),(null==n?void 0:n.length)?(0,r.jsx)("div",{className:p.viewEditButton,children:(0,r.jsx)(o.A,{variant:(0,m.eM)("View / edit all reminders"),thin:!0,fullWidth:!0,title:"View / edit all reminders",href:"/account/reminders"})}):null]})};var g=t(45417);let b=e=>{let{addNewReminder:n,remindersTotalCount:t,reminders:a}=e,[o,s]=(0,i.useState)(!1),[l,d]=(0,i.useState)();return(0,i.useEffect)(()=>{if(null==l?void 0:l.reminderStatus){let e=new CustomEvent("add-reminder-message",{detail:l});null==document||document.dispatchEvent(e)}},[l]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{children:(0,r.jsx)(p,{openAddRemindersModal:s,remindersList:a,remindersTotalCount:t})}),(0,r.jsx)(g.A,{isAddReminderOpen:o,setAddReminderOpen:s,addNewReminder:n,setReminderStatusInfo:d})]})}},57494:(e,n,t)=>{t.r(n),t.d(n,{default:()=>p});var r=t(6029),i=t(55729),a=t(10089),o=t(20148),s=t(7234),l=t(50350),d=t(76481),c=t(75932),u=t(34775),m=t(80920);let p=e=>{let{getCustomer:n}=(0,i.useContext)(d.Z0),t=n?.data?.customer?.id,[p,g]=(0,i.useState)(),[b,h]=(0,i.useState)(0),y=(0,i.useContext)(u.A),{refetch:v,loading:f}=(0,o.I)(l.zI,{variables:{input:{page:1,pageSize:3}},onCompleted:e=>{e?.getMyOccasionReminders?.occasionReminders&&g(e.getMyOccasionReminders.occasionReminders),h(e?.getMyOccasionReminders?.count||0)},fetchPolicy:"network-only",ssr:!1,skip:!t}),{refetch:x}=(0,o.I)(l.hX,{skip:f||!p?.length||!t,onCompleted:e=>{h(e?.getOccasionReminderAvailableMonths?.totalCount||0)},fetchPolicy:"network-only",ssr:!1}),[j]=(0,s.n)(l.ou),w=async e=>{try{let n=await j({variables:{input:(0,d.Gm)(e)}});return y.occasions([e.occasion],"My Account"),v().then(({data:e})=>{g(e.getMyOccasionReminders?.occasionReminders)}),x().then(({data:e})=>{h(e?.getOccasionReminderAvailableMonths?.totalCount||0)}),n}catch(e){throw Error((0,c.A)(e,["graphQLErrors",0,"message"])??"There was a problem. Please try again")}};return(0,m.D)(e),(0,r.jsx)(a.A,{addNewReminder:w,reminders:p,remindersTotalCount:b})}}}]);

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.