1!function(){try{var s="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},e=(new s.Error).stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="0165f1cf-7735-4b8e-9a8a-123b78ba5bcc",s._sentryDebugIdIdentifier="sentry-dbid-0165f1cf-7735-4b8e-9a8a-123b78ba5bcc")}catch(s){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1369],{91369:(s,e,i)=>{i.r(e),i.d(e,{default:()=>b});var l=i(6029),n=i(55729),a=i(8748),o=i(80575),r=i(81751),t=i(13939);let c=(0,o.n9)()(s=>({container:{[s.breakpoints.up("md")]:{display:"flex"}},floristDetails:Object.assign(Object.assign({},s.typographySpacing.small_regular_lg),{[s.breakpoints.up("md")]:Object.assign({flexBasis:"45%"},s.typographySpacing.none)}),floristName:Object.assign(Object.assign({},s.typography.xl_bold),{color:t.Tj.supplementary.black,[s.breakpoints.up("md")]:Object.assign({},s.typography.xxl_bold)}),bodyText:Object.assign(Object.assign({},s.typography.small_regular),{marginLeft:"20px",[s.breakpoints.up("md")]:Object.assign({},s.typography.medium_regular)}),floristDetailItem:Object.assign(Object.assign({display:"flex"},s.typographySpacing.small_bold_lg),{[s.breakpoints.up("md")]:{marginBottom:"20px"},"& a":{color:s.isFlyingFlowers?t.Tj.wildExotic[500]:s.statusColors.warning.dark,textDecoration:"underline"}}),icon:{fontSize:"24px",[s.breakpoints.up("md")]:{marginTop:"6px",fontSize:"32px"},"& .MuiIcon-root":{fontSize:"1.71rem"}},workingHours:{"& li:not(:last-child)":Object.assign({},s.typographySpacing.small_bold_sm)},floristSpecifications:Object.assign(Object.assign({display:"flex"},s.typographySpacing.large_bold_lg),{[s.breakpoints.up("md")]:{marginBottom:"20px"}}),floristMapContainer:Object.assign(Object.assign({},r.OQ),{[s.breakpoints.up("md")]:{flexBasis:"55%",marginLeft:"0 !important",marginRight:"0 !important"}})}));var d=i(91977),p=i(51647),g=i(85826),u=i(67974),m=i(80920);let x=["MON","TUE","WED","THU","FRI"],b=s=>{let{name:e,addressLine1:i,addressLine2:o,town:r,county:t,country:b,postcode:j,phone:h,email:f,workingHoursByDayOfTheWeek:y,longitude:D,latitude:N,fax:k,website:v}=s,{classes:S}=c(),[_,O]=(0,n.useState)([]),w=s=>{if(s.includes("am")||s.includes("pm"))return s;let e=+s.substring(0,2),i=e%12||12,l=e<12||24===e?"am":"pm";return":00"===s.substring(2)?i+l:i+s.substring(2)+l};return(0,n.useEffect)(()=>{if(!y)return;let s=null==y?void 0:y.map(s=>(s.openingHours=s.openingHours?w(s.openingHours):"",s.closingHours=s.closingHours?w(s.closingHours):"",s)),e=null==s?void 0:s.filter(s=>s.openFlag===a._k.CLOSED&&"SUN"!==s.weekDay&&"SAT"!==s.weekDay);if((null==e?void 0:e.length)&&(null==s?void 0:s.length))O(s.filter(s=>s.openFlag!==a._k.CLOSED));else{let e=null==s?void 0:s.filter(s=>"SAT"!==s.weekDay&&"SUN"!==s.weekDay).every((s,e,[i])=>s.openingHours===i.openingHours&&s.closingHours===i.closingHours),i=null==s?void 0:s.filter(s=>"SAT"!==s.weekDay&&"SUN"!==s.weekDay).filter(s=>x.includes(s.weekDay));e&&(null==s?void 0:s.length)&&(null==i?void 0:i.length)===5?O([{weekDay:a.Jt.MONDAY_TO_FRIDAY,openingHours:s[0].openingHours,closingHours:s[0].closingHours,openFlag:""},...s.filter(s=>"SAT"===s.weekDay&&s.openFlag!==a._k.CLOSED||"SUN"===s.weekDay&&s.openFlag!==a._k.CLOSED)]):(null==s?void 0:s.length)&&O(s.filter(s=>s.openFlag!==a._k.CLOSED))}},[y]),(0,m.D)(s),(0,l.jsxs)("div",{className:S.container,children:[(0,l.jsxs)("div",{className:S.floristDetails,children:[e&&(0,l.jsx)("h1",{className:S.floristName,children:e}),(0,l.jsxs)("div",{className:S.floristSpecifications,children:[(0,l.jsx)(d.A,{icon:"store_mall_directory",className:S.icon}),(0,l.jsxs)("div",{className:S.bodyText,children:[(0,l.jsxs)(p.A,{sx:{display:{zero:"none",xs:"none",sm:"nome",md:"none",lg:"block"}},children:[i&&(0,l.jsx)("div",{children:i}),o&&(0,l.jsx)("div",{children:o}),r&&(0,l.jsx)("div",{children:r}),t&&(0,l.jsx)("div",{children:t}),j&&(0,l.jsx)("div",{children:j})]}),(0,l.jsx)(p.A,{sx:{display:{sm:"block",md:"block",lg:"none"}},children:(0,l.jsxs)("div",{children:[i&&(0,l.jsxs)("span",{children:[i,", "]}),o&&(0,l.jsxs)("span",{children:[o,", "]}),r&&(0,l.jsxs)("span",{children:[r,", "]}),t&&(0,l.jsxs)("span",{children:[t,", "]}),b&&(0,l.jsxs)("span",{children:[b,", "]}),j&&(0,l.jsx)("span",{children:j})]})})]})]}),!!(null==_?void 0:_.length)&&(0,l.jsxs)("div",{className:S.floristSpecifications,children:[(0,l.jsx)(d.A,{icon:"timer",className:S.icon}),(0,l.jsx)("div",{className:S.bodyText,children:(0,l.jsx)("ul",{className:S.workingHours,children:_.map((s,e)=>{let i;return(0,l.jsxs)("li",{children:[(0,l.jsx)("span",{children:"SUN"===(i=s.weekDay)?a.Jt.SUNDAY:"MON"===i?a.Jt.MONDAY:"TUE"===i?a.Jt.TUESDAY:"WED"===i?a.Jt.WEDNESDAY:"THU"===i?a.Jt.THURSDAY:"FRI"===i?a.Jt.FRIDAY:"SAT"===i?a.Jt.SATURDAY:a.Jt.MONDAY_TO_FRIDAY}),":"," ","CLOSED"===s.openFlag?(0,l.jsx)("span",{children:"Closed"}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{children:s.openingHours})," - ",(0,l.jsx)("span",{children:s.closingHours})]})]},e)})})})]}),h&&(0,l.jsxs)("div",{className:S.floristDetailItem,children:[(0,l.jsx)(d.A,{icon:"local_phone",className:S.icon}),(0,l.jsx)("div",{className:S.bodyText,children:(0,l.jsx)("div",{children:h})})]}
1),k&&(0,l.jsxs)("div",{className:S.floristDetailItem,children:[(0,l.jsx)(d.A,{icon:"print",className:S.icon}),(0,l.jsx)("div",{className:S.bodyText,children:(0,l.jsx)("div",{children:k})})]}),f&&(0,l.jsxs)("div",{className:S.floristDetailItem,children:[(0,l.jsx)(d.A,{icon:"email",className:S.icon}),(0,l.jsx)(u.A,{className:S.bodyText,label:f,url:`mailto:${f}`,newWindow:!0})]}),v&&(0,l.jsxs)("div",{className:S.floristDetailItem,children:[(0,l.jsx)(d.A,{icon:"language",className:S.icon}),(0,l.jsx)(u.A,{className:S.bodyText,label:"View floristâs website",url:v,newWindow:!0})]})]}),N&&D&&(0,l.jsx)("div",{className:S.floristMapContainer,children:(0,l.jsx)(g.A,{coordinates:[{latitude:Number(N),longitude:Number(D)}],zoomLevel:14})})]})}}}]);
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.