1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5089],{616:e=>{e.exports={description_container:"styles_description_container__6v5_v",label:"styles_label__KCz_L",sub_label:"styles_sub_label__pkhlk",delivery_label:"styles_delivery_label__BaYhq",link_btn:"styles_link_btn__l9PLU",contained_btn:"styles_contained_btn__UeHqE",timer_container:"styles_timer_container__Gt8Cu",value:"styles_value__FGBZ7"}},2889:e=>{e.exports={navigationContainer:"navigationContainer_navigationContainer__aUShW",staticPopup:"navigationContainer_staticPopup___C_kx",flicker:"navigationContainer_flicker__yusYo"}},5325:(e,t,s)=>{"use strict";s.d(t,{A:()=>d});var n=s(37876),l=s(51884),a=s(71393),i=s(15039),c=s.n(i),r=s(89099),o=s(44925),_=s.n(o);let d=function(e){let{className:t,title:s,subTitle:i,onBack:o}=e,d=(0,r.useRouter)();return(0,n.jsxs)(a.A,{className:c()(t,_().top_nav_container),classes:{content:_().top_nav_content},children:[(0,n.jsx)("div",{className:_().back_link,role:"presentation",onClick:o||d.back,children:(0,n.jsx)(l.A,{name:"LeftArrowIcon",width:20,height:14})}),(0,n.jsxs)("div",{className:_().text_container,children:[(0,n.jsx)("p",{className:_().title,children:null!=s?s:"Help"}),!!i&&(0,n.jsx)("span",{className:_().sub_title,children:i})]})]})}},25890:e=>{e.exports={error_container:"styles_error_container__4s4bn"}},28399:(e,t,s)=>{"use strict";s.d(t,{A:()=>eo});var n=s(37876),l=s(79712),a=s(86883),i=s(15039),c=s.n(i),r=s(31265),o=s(32173),_=s(2365),d=s(98854),u=s(39437),p=s(9737),h=s(82054),m=s.n(h),y=s(80143),x=s(89099);function g(e){let{className:t,deliveryDetails:s,shipmentStatus:l}=e,i=(0,d.wA)(),{source:r}=(0,_.iT)(),h=(0,x.useRouter)(),{deliveryExecutive:g}=s||{},{cnrData:v}=s||{},{data:j={}}=(0,d.d4)(y.nU);if(!g)return null;let{phone:f,profileImage:N,riderMessage:b,instruction:w,riderMessageColor:P}=g||{},{ctaLabel:k,subTitle:E,title:C}=v||{};return(0,n.jsxs)("div",{className:c()(m().rider_details_container,t),children:[(0,n.jsxs)("div",{className:m().topContainer,children:[!!N&&(l===p.c.DISPATCHED||!!v)&&(0,n.jsx)("img",{className:m().rider_image,src:N}),(0,n.jsxs)("section",{className:m().rider_details_section,children:[!!b&&(l===p.c.DISPATCHED||!!v)&&(0,n.jsx)("span",{className:c()(m().title),style:{color:P},children:b}),!!w&&l===p.c.DISPATCHED&&(0,n.jsx)("span",{className:c()(m().sub_title),children:w})]}),!!f&&l===p.c.DISPATCHED&&(0,n.jsx)("section",{children:(0,n.jsx)("a",{href:"tel:".concat(f),onClick:()=>{i((0,o.lw)({source:r}))},children:(0,n.jsx)("div",{className:m().call_DE_img_wrapper,children:(0,n.jsx)("img",{className:m().call_DE_img,src:"".concat("https://d2407na1z3fc0t.cloudfront.net","/Banner/callIconDEWeb.svg")})})})})]}),(!!C||!!E)&&(0,n.jsx)("div",{className:m().bottomContainer,children:(0,n.jsxs)("div",{className:m().deliveryAlertNudge,children:[(0,n.jsx)("img",{src:"https://cdn.licious.in/Banner/DeliveryNudgePointer.svg",className:m().pointer}),(0,n.jsx)("span",{className:m().primaryText,children:C}),(0,n.jsxs)("div",{className:m().bottomSec,children:[(0,n.jsx)("span",{className:m().secondaryText,children:E}),!!k&&(0,n.jsxs)("button",{className:m().modifyCTA,onClick:()=>h.push("".concat(a.fw.order_status).concat(null==j?void 0:j.parentOrderId,"/shipments/").concat(null==j?void 0:j.shipmentId,"/help?prevPage=").concat(u.Bi.SHIPMENT)),children:[(0,n.jsx)("span",{children:k}),(0,n.jsx)("img",{src:"https://cdn.licious.in/Banner/RightRedChevronWeb.svg"})]})]})]})})]})}function v(e){let{className:t,deliveryDetails:s}=e,{deliveryAddress:l,addressLabel:a="",addressLabelType:i=""}=s||{};return(0,n.jsx)(r.A,{className:t,addressType:i,addressLabel:a,addressText:l})}let j=function(e){let{className:t,deliveryDetails:s,shipmentStatus:l}=e,{cnrData:a}=s||{};return(0,n.jsxs)("div",{className:c()(m().delivery_details_container,t),children:[(0,n.jsx)(g,{className:c()(m().delivery_section,{[m().delivery_section_no_border]:l!==p.c.DISPATCHED&&null===a}),deliveryDetails:s,shipmentStatus:l}),(0,n.jsx)(v,{className:m().delivery_section,deliveryDetails:s})]})};var f=s(8737),N=s(14232),b=s(38533),w=s(75116);let P=function(e){let{shipmentDetails:t,className:s}=e,{shipmentId:l,parentOrderId:a,shipmentStatus:i}=t||{},c=(0,d.wA)(),{reviewRatings:r}=(0,d.d4)(e=>e.home),o=(0,N.useMemo)(()=>(0,b.hq)(r||{})||{},[r]);return((0,N.useEffect)(()=>{a&&l&&i===p.c.DELIVERED&&c(w.H9.GetReviewRating({shipmentId:l}))},[l,a,c,i]),i!==p.c.DELIVERED)?null:(null==o?void 0:o.success)?(0,n.jsx)("section",{className:s,children:(0,n.jsx)(f.A,{page:"orderstatus",className:m().rate_nudge,nudgeData:o})}):null};var k=s(54587),E=s.n(k);function C(e){var t,s,l,a;let{deliveryDetails:i}=e,{shipmentTimingLabel:c={},deliveryLabel:r}=i;return(0,n.jsxs)("section",{className:m().sla_info_container,children:[(0,n.jsxs)("p",{className:m().sla_info,children:[(null==c||null==(t=c.prefix)?void 0:t.text)?(0,n.jsx)("span",{className:m().arriving_text,children:null==c||null==(s=c.prefix)?void 0:s.text}
1):null,(null==c||null==(l=c.suffix)?void 0:l.text)?(0,n.jsx)("span",{className:m().arriving_ETA,children:null==c||null==(a=c.suffix)?void 0:a.text}):null]}),!!r&&(0,n.jsx)(E(),{alt:"status",width:66,height:24,src:r,className:m().status_chip,onError:e=>{try{var t,s;e.target.onerror=null,null==(s=e.target)||null==(t=s.remove)||t.call(s)}catch(e){}}})]})}function T(e){let{deliveryDetails:t}=e,{delayMessage:s}=t||{};return s?(0,n.jsx)("section",{className:m().sla_info_container,children:(0,n.jsx)("span",{className:c()(m().delivery_delay_message),children:s})}):null}let D=function(e){let{shipmentDetails:t}=e,{deliveryDetails:s={}}=t;return(0,n.jsxs)("section",{className:m().eta_container,children:[(0,n.jsx)(e=>{let{text:t,textColor:s,className:l}=e;if(!t)return null;let a={};return s&&(a.color=s),(0,n.jsx)("p",{style:a,className:l,children:t})},{className:m().shipment_info,...s.shipmentStatusMessage||{}}),(0,n.jsx)(C,{deliveryDetails:s}),(0,n.jsx)(T,{deliveryDetails:s})]})};var S=s(51884),A=s(68827),I=s.n(A);let L=e=>{let{icon:t,text:s}=e;return(0,n.jsxs)("div",{className:m().product_tag,children:[(0,n.jsx)("img",{className:m().product_tag_img,src:t,alt:s}),(0,n.jsx)("span",{className:m().product_tag_text,children:s})]})};function R(e){var t,s,l,i;let{shipmentItem:r,className:o}=e,_=(null==r||null==(t=r.productTag)?void 0:t.type)===a.AK.CANCELLED.type;return(0,n.jsxs)("li",{className:c()(o,{[m().greyed_out]:_}),children:[(0,n.jsx)("section",{className:m().product_image_container,children:(0,n.jsx)("object",{data:r.productImage,height:"100%",width:"100%",type:"image/png",children:(0,n.jsx)(I(),{layout:"fill",objectFit:"cover",objectPosition:"center",src:"/image/rebranding/jpg/product_place_holder.jpeg",alt:"fallback"})})}),(0,n.jsxs)("section",{className:m().product_description_container,children:[(0,n.jsx)("p",{className:c()("text_2",m().title),children:r.productName}),(0,n.jsxs)("p",{className:c()("text_2",m().sub_title),children:[r.productWeight," x ",r.productQuantity," qty"]})]}),(0,n.jsx)("section",{children:(0,n.jsxs)("p",{className:c()("text_2",m().product_price),children:["â¹ ",parseFloat(r.price).toFixed(2)]})}),(null==r||null==(s=r.productTag)?void 0:s.show)?(0,n.jsx)("section",{className:m().unavailable_tag_placeholder,children:(0,n.jsx)(L,{icon:null==r||null==(l=r.productTag)?void 0:l.icon,text:null==r||null==(i=r.productTag)?void 0:i.displayText})}):null]},r.product_id)}function M(e){let{className:t,invoiceUrl:s,shouldShow:l}=e,a=(0,d.wA)(),{source:i}=(0,_.iT)();if(!s||!l)return null;let c=function(e){if(!e)return"";let t=e.match(/\/invoice\/([0-9a-f]{64})/i);return t&&t[1]?"/api/invoice/download-by-hash?hash=".concat(t[1]):e}(s);return(0,n.jsx)("li",{className:t,children:(0,n.jsx)("a",{className:m().download_invoice_button,href:c,target:"_blank",rel:"noreferrer",onClick:()=>{a((0,o.N9)({source:i}))},children:(0,n.jsxs)("p",{children:[(0,n.jsx)(S.A,{name:"DownloadInvoiceRedIcon",width:16,height:16}),(0,n.jsx)("span",{children:"Download Invoice"})]})})})}let B=function(e){var t,s;let{className:l,shipment:a}=e,{shipmentItems:i,isInvoiceDownloadAllowed:r,shipmentInvoice:o}=a||{};return(0,n.jsxs)("div",{className:c()(m().section,l),children:[(0,n.jsxs)("section",{className:m().shipment_items_title_container,children:[(0,n.jsx)("p",{className:c()("title_7",m().title),children:"Ordered product(s)"}),(null==a?void 0:a.shipmentProductsHeaderTag)?(0,n.jsx)("div",{className:m().unavailable_tag_placeholder,children:(0,n.jsx)(L,{icon:null==a||null==(t=a.shipmentProductsHeaderTag)?void 0:t.icon,text:null==a||null==(s=a.shipmentProductsHeaderTag)?void 0:s.displayText})}):null]}),(0,n.jsx)("hr",{className:m().divider}),(0,n.jsxs)("ul",{className:m().product_list_container,children:[i.map((e,t)=>(0,n.jsx)(R,{className:m().product_list_item,shipmentItem:e},"".concat(t,"_").concat(e.product_id))),(0,n.jsx)(M,{className:m().download_invoice_button_container,shouldShow:r,invoiceUrl:o})]})]})};var H=s(18847);let O=s.n(H)()(()=>s.e(2594).then(s.bind(s,82594)),{loadableGenerated:{webpack:()=>[82594]},ssr:!1}),U=function(e){let{shipment:t,className:s}=e,{shipmentAssetUrl:l=""}=t||{},a=null==l?void 0:l.endsWith(".json");return(0,n.jsxs)("figure",{className:"".concat(m().shipment_status_image_container," ").concat(s),children:[a?(0,n.jsx)(O,{className:m().status_asset,options:{path:l}}):(0,n.jsx)(E(),{className:m().status_asset,src:l,width:400,height:390,alt:"Licious"}),(0,n.jsx)("div",{className:m().bottom_gradient,children:(0,n.jsx)(E(),{width:400,height:160,alt:"banner-gradient",src:"".concat("https://d2407na1z3fc0t.cloudfront.net","/Banner/shipmentTrackingBottomGradient.png")})})]})};var W=s(85689),q=s(48230),z=s.n(q),F=s(83831);let V=e=>{let{className:t,shipmentDetails:s,isPublic:l}=e,{shipmentId:i="",parentOrderId:r="",shipmentStatus:h=""}=s||{},y=(0,d.wA)(),{source:x,sendPostOrderAnalytics:g}=(0,_.iT)(),v=(0,N.useMemo)(()=>
1{if(l)return a.fw.help_page;switch(h){case p.c.DELIVERED:case p.c.REJECTED:default:return"".concat(a.fw.order_status).concat(r,"/shipments/").concat(i,"/help?prevPage=").concat(u.Bi.SHIPMENT)}},[r,i,h,l]);return(0,N.useEffect)(()=>{if(Object.keys(s).length){let e={orderId:s.shipmentId,parentOrderId:r,shipmentStatus:h,deliverySlot:(0,o.si)(s),deliveryDetails:(null==s?void 0:s.deliveryDetails)||{}};y((0,W.PE)(e))}},[s]),(0,n.jsxs)("div",{className:c()(t,m().top_nav_container),children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("p",{className:c()(m().title,"text_1"),children:["Order ID: ",r]}),(0,n.jsxs)("p",{className:c()(m().sub_title,"text_1"),children:["Shipment ID: ",i]})]}),(0,n.jsxs)("div",{className:m().action_container,children:[!l&&(0,n.jsx)(z(),{href:"".concat(a.fw.order_status).concat(r,"?prevPage=").concat(u.Bi.SHIPMENT),legacyBehavior:!0,children:(0,n.jsx)(S.A,{className:m().cta,name:"InfoIcon",width:24,height:24})}),(0,n.jsx)(z(),{href:v,legacyBehavior:!0,children:(0,n.jsx)("p",{className:c()("title_4",m().cta),onClick:()=>{g({eventType:F.x0.CLICKED,clickType:"button",clickName:"help",pageName:u.Bi.SHIPMENT,source:u.Bi.SHIPMENT,sourceType:"click"}),[p.c.DELIVERED,p.c.REJECTED].includes(h)&&y((0,o.tl)({source:x}))},role:"presentation",id:a.ZM.SHIPMENT_PAGE_HELP_CTA,children:"Help"})})]})]})};var G=s(39937),X=s.n(G),Q=s(85359),Z=s(51917),K=s.n(Z),Y=s(23105);let J=e=>{let{show:t,hide:s,className:l,header:i,title:c,description:r,CTAText:o}=e,{source:d}=(0,_.iT)(),u=d===a.XE?Y.Bottomsheet:Y.Dialog;return(0,n.jsx)(u,{isShown:t,hide:s,className:l,withCloseBtn:!1,modalContent:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:K().popupTopSection,children:i}),(0,n.jsxs)("div",{className:K().popupBottomSection,children:[(0,n.jsx)("span",{className:K().cancellationPolicyPopupTitle,children:c}),(0,n.jsx)("span",{className:K().cancellationPolicyPopupDesc,children:r}),(0,n.jsx)(z(),{href:"/cancel-and-reschedule-policy",prefetch:!1,legacyBehavior:!0,children:(0,n.jsx)("span",{className:K().cancellationPolicyPopupReadTnC,children:"Cancellation & Reschedule Policy"})}),(0,n.jsx)("button",{onClick:s,className:K().cancellationPolicyPopupBtn,children:o})]})]})})},$=e=>{let{info:t}=e,[s,l]=(0,N.useState)(!1);return t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("article",{className:K().cancellationPolicyDisplayer,children:[(0,n.jsx)("span",{className:K().policyTitle,children:t.title}),(0,n.jsx)("span",{className:K().policyDesc,dangerouslySetInnerHTML:{__html:t.policyInfo}}),(0,n.jsxs)("div",{className:K().policyExpander,onClick:()=>l(!0),children:[(0,n.jsx)("span",{className:K().policyExpanderTitle,children:t.knowWhyCTA}),(0,n.jsx)("img",{className:K().policyExpanderImg,src:"/image/new_chevron.svg",alt:t.title})]})]}),(0,n.jsx)(J,{show:s,hide:()=>l(!1),className:K().cancellationpolicyPopup,header:t.title,title:t.whyFeeTitle,description:t.policyNote,CTAText:t.policyNoteConfirmCTA})]}):null};var ee=s(23291),et=s(90154);let es=function(e){var t;let{shipmentDetails:s,isPublic:l,refundData:a}=e,i=(0,et.W3)(null==s?void 0:s.shipmentStatus);return(0,n.jsx)("section",{className:X().page,children:(0,n.jsxs)("section",{className:X().page_container,children:[(0,n.jsx)("section",{className:X().header_container,children:(0,n.jsx)(V,{className:X().top_nav_content,shipmentDetails:s,isPublic:l})}),(0,n.jsx)("section",{className:X().page_content,children:(0,n.jsx)(U,{shipment:s,className:c()(X().status_image_container_desktop)})}),(0,n.jsxs)("section",{className:X().shipment_details_content,children:[(0,n.jsx)("section",{className:c()(X().section,X().zero_padding,X().no_border),children:(0,n.jsx)(D,{shipmentDetails:s})}),(0,n.jsx)(P,{className:c()(X().section,X().zero_padding),shipmentDetails:s}),(null==a||null==(t=a.refundDetails)?void 0:t.length)?(0,n.jsx)("section",{className:X().section,children:(0,n.jsx)(Q.A,{className:X().section_content,details:a})}):null,(0,n.jsx)("section",{className:X().section,children:(0,n.jsx)(j,{className:X().section_content,deliveryDetails:null==s?void 0:s.deliveryDetails,shipmentStatus:null==s?void 0:s.shipmentStatus})}),(0,n.jsx)("section",{className:X().section,children:(0,n.jsx)(B,{className:X().section_content,shipment:s})}),!!(null==s?void 0:s.cancellationPolicyBanner)&&(0,n.jsx)("section",{className:c()(X().section,X().zero_padding),children:(0,n.jsx)($,{info:s.cancellationPolicyBanner})}),i&&(0,n.jsx)("section",{className:c()(X().section,X().zero_padding),children:(0,n.jsx)(ee.Ay,{eventInfo:{parentOrderId:(null==s?void 0:s.parentOrderId)||"NA",orderId:(null==s?void 0:s.shipmentId)||"NA"}})})]})]})})};var en=s(19385),el=s(51589),ea=s.n(el);let ei=function(e){var t;let{shipmentDetails:s,isPublic:l,refundData:a}=e,i=(0,x.useRouter)(),c=(0,et.W3)(null==s?void 0:s.shipmentStatus),r=(0,N.useMemo)(()=>l||i.query.prevPage===u.Bi.HOME?"/":"",[l,i.query.prevPage]);return(0,n.jsx)("section",{className:ea().page,children:(0,n.jsxs)("section",{className:ea().page_container,children:[(0,n.jsx)(en.A,{backUrl:r,navigateBack:!0,showHeading:!0,headingText:(0,n.jsx)(V,{isPublic:l,shipmentDetails:s,className:ea().header_container}),className:ea().shipment_header,showHelpBtn:!1}),(0,n.jsx)("section",{className:ea().page_content,children:(0,n.jsx)(U,{className:ea().status_image_container,shipment:s})}),(0,n.jsxs)("section",{className:ea().shipment_details_content,children:[(0,n.jsx)("section",{className:ea().section,children:(0,n.jsx)(D,{shipmentDetails:s})}),(0,n.jsx)(P,{className:ea().section,shipmentDetails:s}),(null==a||null==(t=a.refundDetails)?void 0:t.length)?(0,n.jsx)("section",{className:ea().section,children:(0,n.jsx)(Q.A,{className:ea().section_content,details:a})}):null,(0,n.jsx)("section",{className:ea().section,children:(0,n.jsx)(j,{className:ea().section_content,deliveryDetails:null==s?void 0:s.deliveryDetails,shipmentStatus:null==s?void 0:s.shipmentStatus})}),(0,n.jsx)("section",{className:ea().section,children:(0,n.jsx)(B,{className:ea().section_content,shipment:s})}),!!(null==s?void 0:s.cancellationPolicyBanner)&&(0,n.jsx)("section",{className:ea().section,children:(0,n.jsx)($,{info:s.cancellationPolicyBanner})})]}),c&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:ea().NPSMarginDiv}),(0,n.jsx)(ee.Ay,{eventInfo:{parentOrderId:(null==s?void 0:s.parentOrderId)||"NA",orderId:(null==s?void 0:s.shipmentId)||"NA"}})]})]})})};var ec=s(25890),er=s.n(ec);let eo=function(e){var t;let{source:s,shipmentDetails:i,orderDetails:c,isPublic:r,refundDetails:o}=e;return i.error?(0,n.jsx)(l.A,{}):(null==i||null==(t=i.data)?void 0:t.shipmentId)?s===a.XE?(0,n.jsx)(ei,{orderDetails:c.data,shipmentDetails:i.data,source:s,isPublic:r,refundData:o}):(0,n.jsx)(es,{orderDetails:c.data,shipmentDetails:i.data,source:s,isPublic:r,refundData:o}):(0,n.jsx)("div",{className:er().error_container})}},37447:e=>{e.exports={container:"styles_container__uyxCv",content:"styles_content__Qhe3j",deliveryAlertMessage:"styles_deliveryAlertMessage__FmaHa",nudge_img:"styles_nudge_img__c4mjj"}},39937:e=>{e.exports={page:"styles_page__rB03h",page_container:"styles_page_container__5Xipo",shipment_header:"styles_shipment_header__Rpbm5",header_container:"styles_header_container__RXCp_",page_content:"styles_page_content___Wf3d",shipment_details_content:"styles_shipment_details_content__NTa1b",section:"styles_section__66NcY",section_content:"styles_section_content__Iw9lf",header_content:"styles_header_content__elWuG",NPSMarginDiv:"styles_NPSMarginDiv__LYQmZ",modal_container:"styles_modal_container__cTmWO",zero_padding:"styles_zero_padding__EWL_s",no_border:"styles_no_border__huHew"}},40525:e=>{e.exports={error_state_container:"styles_error_state_container__QGuJp",page_action_container:"styles_page_action_container__E23mp",primary_btn:"styles_primary_btn__QWqxk",secondary_btn:"styles_secondary_btn__zMYNJ",staticPopup:"styles_staticPopup__X9o7v",flicker:"styles_flicker__UqASh"}},42288:(e,t,s)=>{"use strict";s.d(t,{L:()=>P});var n=s(37876),l=s(18847),a=s.n(l),i=s(14232),c=s(98854),r=s(23072),o=s(72629),_=s(75116),d=s(2365),u=s(63462),p=s(3237),h=s(16461),m=s(85943),y=s(45243),x=s(4781),g=s(38533),v=s(46931),j=s(2889),f=s.n(j),N=s(89099);let b=a()(()=>Promise.all([s.e(7304),s.e(2822),s.e(1942)]).then(s.bind(s,2822)),{loadableGenerated:{webpack:()=>[2822]},loading:()=>(0,n.jsx)(x.A,{showLoader:!0}),ssr:!1}),w=i.useLayoutEffect,P=e=>{var t,s;let l=(0,c.wA)(),{source:a,isLoggedIn:x,customer_key:j,locationData:P}=(0,d.iT)(),k=(0,N.useRouter)(),{city:E=""}=k.query,{children:C,loginComponent:T,showLoader:D,page:S,className:A="",isLoading:I=!1,showHeader:L=!0,show
1Footer:R=!0,showBottomNav:M=!0,showCheckoutFooter:B=!1,showLogo:H=!0,showLocation:O=!0,showPreviousArrow:U=!1,showSearchIcon:W=!1,getProducts:q=()=>null}=e,[z,F]=(0,i.useState)({}),V=(0,c.d4)(e=>e.category),{cart:{billDetails:G,cartCount:X}}=(0,c.d4)(e=>e.cart),Q=(0,c.d4)(e=>e.location),Z=(0,c.d4)(e=>e.address.changedAddressData||{});(0,i.useMemo)(()=>{var e;return null==G||null==(e=G.find(e=>(null==e?void 0:e.key)==="subtotal"))?void 0:e.value},[G]),w(()=>{let e=(0,h.tc)()||(0,h.sR)(P);e&&(0,h.P_)(e)},[]),(0,i.useEffect)(function(){try{(0,g.lH)("LS_cust_key")||localStorage.setItem("LS_cust_key",j)}catch(e){}},[]),(0,i.useEffect)(function(){var e;(null==V||null==(e=V.categoryTree)?void 0:e.status)==="loading"&&l(_.So.GetCategoryTree())},[null==V||null==(t=V.categoryTree)?void 0:t.status]),(0,i.useEffect)(()=>{let e=(0,h.tc)()||(0,h.sR)(P);if(E){let t=(Array.isArray(E)?E[0]:E).toLowerCase();if(String((null==e?void 0:e.city)||(null==Q?void 0:Q.city)||"").toLowerCase()!==t)return void F({city:t.charAt(0).toUpperCase()+t.slice(1),stage:"success"})}e?F(e):(F(Q),E||u.A.setLocationDetails(l,{triggerType:"auto",flow:"set"}),p.A.send("LocationSelect_PageViewed",{flow:"set",logged_in:x}))},[]),(0,i.useEffect)(()=>{let e=(0,h.sR)(Q);(null==e?void 0:e.stage)==="success"&&(null==e?void 0:e.city)&&(null==e?void 0:e.locality)&&F(e)},[null==Q?void 0:Q.stage,null==Q?void 0:Q.locality,null==Q?void 0:Q.latitude,null==Q?void 0:Q.longitude]),(0,i.useEffect)(()=>{let e=(0,h.sR)(Z);if(!e)return;let t=(0,h.tc)(),s=t&&e.latitude===t.latitude&&e.longitude===t.longitude?t:e;F(s),(0,h.P_)(s)},[Z]);let K=(0,i.useMemo)(()=>{var t;return{isSatoshiFont:null!=(t=e.isSatoshiFont)&&t}},[e.isSatoshiFont]),Y="string"==typeof k.query.city?k.query.city:"",J=Y.length>0?Y.charAt(0).toUpperCase()+Y.slice(1).toLowerCase():null,$=((null==z?void 0:z.city)||(null==z?void 0:z.label)||"").toString().toLowerCase(),ee=J&&$===Y.toLowerCase(),et=(0,i.useMemo)(()=>J?{...z,label:J,city:J,locality:ee?(null==z?void 0:z.locality)||[null==z?void 0:z.line1,null==z?void 0:z.line2].filter(Boolean).join(", ").trim()||"":"Updatingâ¦"}:z,[z,J,ee]),es=(0,n.jsx)(v.A.Provider,{value:K,children:(0,n.jsxs)("div",{children:[L&&Object.keys(z).length>0&&(0,n.jsx)("section",{className:"".concat(f().navigationContainer," ").concat(A),children:(0,n.jsx)(r.A,{categories:null==V||null==(s=V.categoryTree)?void 0:s.data,loginComponent:T,showLoader:D,cartItemCount:X,page:S,showLogo:H,showLocation:O,showPreviousArrow:U,showSearchIcon:W,getProducts:q,location:et,isLoading:I})}),C,R&&(0,n.jsx)(b,{source:a}),(0,n.jsx)(m.A,{loginComponent:T,includeCheckoutFooter:B}),"website"!==a&&M&&(0,n.jsx)(o.A,{welcomeOfferResponse:e.welcomeOfferResponse,isWelcomeOfferDisabled:e.isWelcomeOfferDisabled})]})});return R?(0,n.jsx)(y.n,{children:es}):es}},44925:e=>{e.exports={base_title:"styles_base_title__XVz0Z",top_nav_container:"styles_top_nav_container__eip0m",title:"styles_title__ihzg0",faq_container:"styles_faq_container__OezRz",modify_shipment_container:"styles_modify_shipment_container__YKM4j",title_row:"styles_title_row__T5IIQ",contact_us_container:"styles_contact_us_container__5pj2i",content:"styles_content__eck4m",faq_section:"styles_faq_section__vehdb",top_nav_content:"styles_top_nav_content__ERUKW",back_link:"styles_back_link__TVFIW",modal_container:"styles_modal_container__RPacB",text_container:"styles_text_container__C_n0U",sub_title:"styles_sub_title__BLmLN"}},51589:e=>{e.exports={page:"styles_page__B2aTr",page_container:"styles_page_container___OQt1",shipment_header:"styles_shipment_header__l7WN8",header_container:"styles_header_container__yqXny",page_content:"styles_page_content__DZRka",shipment_details_content:"styles_shipment_details_content__cr2WE",section:"styles_section__awPql",section_content:"styles_section_content___6o2U",NPSMarginDiv:"styles_NPSMarginDiv__Oe9a3"}},51917:e=>{e.exports={cancellationPolicyDisplayer:"cancellationPolicyStyles_cancellationPolicyDisplayer__UxQya",policyTitle:"cancellationPolicyStyles_policyTitle__euPHt",policyDesc:"cancellationPolicyStyles_policyDesc__zVSBf",policyExpander:"cancellationPolicyStyles_policyExpander__P6Xea",policyExpanderTitle:"cancellationPolicyStyles_policyExpanderTitle__EVV1K",policyExpanderImg:"cancellationPolicyStyles_policyExpanderImg__StF0b",cancellationpolicyPopup:"cancellationPolicyStyles_cancellationpolicyPopup__yJ0mP",popupTopSection:"cancellationPolicyStyles_popupTopSection__daxTN",popupBottomSection:"cancellationPolicyStyles_popupBottomSection__09NdM",cancellationPolicyPopupTitle:"cancellationPolicyStyles_cancellationPolicyPopupTitle__w_z0W",cancellationPolicyPopupDesc:"cancellationPolicyStyles_cancellationPolicyPopupDesc__GL0Ha",cancellationPolicyPopupReadTnC:"cancellationPolicyStyles_cancellationPolicyPopupReadTnC__jlWnn",cancellationPolicyPopupBtn:"cancellationPolicyStyles_cancellationPolicyPopupBtn__st3RL"}},59012:(e,t,s)=>{"use strict";s.d(t,{A:()=>k});var n=s(37876),l=s(14232),a=s(98854),i=s(15039),c=s.n(i),r=s(616),o=s.n(r),_=s(86883);let d=function(e){let{children:t,variant:s="link",...l}=e;return(0,n.jsx)("button",{...l,className:c()({[o().contained_btn]:"contained"===s,[o().link_btn]:"link"===s}),id:_.ZM.CURRENT_ORDER_VIEW_BTN,children:t})};var u=s(82764);let p=function(e){let{label:t,deliveryLabel:s,subLabelPrefix:l,subLabelSuffix:a}=e;return(0,n.jsxs)("div",{className:o().description_container,children:[t&&(0,n.jsx)("p",{className:c()("title_6",o().label),children:t}),(0,n.jsx)(u.A,{className:o().sub_label,prefix:l,suffix:a}),s&&(0,n.jsx)("p",{className:c()("text_2",o().delivery_label),children:s})]})};var h=s(80143),m=s(73766),y=s(1453),x=s(89099),g=s(39437),v=s(18847);let j=s.n(v)()(()=>s.e(2594).then(s.bind(s,82594)),{loadableGenerated:{webpack:()=>[82594]},ssr:!1}),f=function(e){let{imageUrl:t,jsonUrl:s,shipmentLabel:l,className:a}=e;return s?(0,n.jsx)(j,{className:a,options:{path:s}}):!s&&t?(0,n.jsx)("img",{className:a,src:t,alt:l}):null};var N=s(78120);let b=function(e){let{value:t,onComplete:s}=e,{timerValue:a}=(0,N.g)(t),[i,c]=(0,l.useState)(!1),r=(0,l.useRef)(t),_=(0,l.useRef)(null),d=(0,l.useCallback)(()=>{r.current=r.current-1,r.current<0&&(r.current=0),0===r.current&&c(!0);let{timerValue:e}=(0,N.g)(r.current);_.current&&(_.current.innerHTML=e)},[]);return(0,l.useEffect)(()=>{r.current=t,d()},[t,d]),(0,l.useEffect)(()=>{let e=setInterval(d,1e3);return()=>{clearInterval(e)}},[d]),(0,l.useEffect)(()=>{i&&s()},[i,s]),(0,n.jsxs)("div",{className:o().timer_container,children:[(0,n.jsx)("p",{ref:_,className:o().value,children:a}),(0,n.jsx)("p",{className:o().label,children:"mins"})]})};var w=s(37447),P=s.n(w);let k=function(e){let{isLoggedIn:t}=e,s=(0,a.wA)(),i=(0,x.useRouter)(),{loading:c,error:r,data:o}=(0,a.d4)(h.kU),{imageUrl:u,shipmentLabel:v,shipmentSubLabel:j,shipmentDeliveryLabel:N,paymentInfo:w,parentOrderId:k,shipmentId:E,jsonUrl:C,productPrefixLabel:T,productSuffixLabel:D,cnrTitle:S}=o||{},{paymentStatus:A,timer:I}=w||{},L=(0,l.useCallback)(()=>{(!0===t||"true"===t)&&s((0,m.$8)({}))},[s,t]),R=(0,l.useCallback)(e=>{o&&(0,g.fB)(o,e)},[o]);(0,l.useEffect)(()=>{L()},[L]),(0,l.useEffect)(()=>{o&&R(g.p1)},[o]);let M=(0,l.useMemo)(()=>({label:I?"Retry":"View",variant:I?"contained":"link"}),[I]);return r||c?null:v&&j?(0,n.jsxs)("section",{className:P().container,children:[(0,n.jsxs)("div",{className:P().content,children:[!I&&(0,n.jsx)(f,{className:P().nudge_img,imageUrl:u,jsonUrl:C,shipmentLabel:v}),!!I&&(0,n.jsx)(b,{value:I,onComplete:L}),(0,n.jsx)(p,{label:v,deliveryLabel:N,subLabelPrefix:T,subLabelSuffix:D}),(0,n.jsx)(d,{variant:M.variant,onClick:()=>{switch(R(g.YC),A){case y.QZ.CREATED_WITH_FAILURE:case y.QZ.CREATED_WITH_UNKNOWN:return void i.push("".concat(_.fw.order_status).concat(k,"?prevPage=").concat(g.Bi.HOME));default:return void i.push("".concat(_.fw.order_status).concat(k,"/shipments/").concat(E,"?prevPage=").concat(g.Bi.HOME))}},children:M.label})]}),!!S&&(0,n.jsx)("div",{className:P().deliveryAlertMessage,children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:S}})})]}):null}},67467:e=>{e.exports={mask_class:"styles_mask_class__C7f1M",percent_circle:"styles_percent_circle__ChBWI",timer_value:"styles_timer_value__qPD_B",timer_label:"styles_timer_label__4oBcm"}},68934:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var n=s(37876),l=s(14232),a=s(23105),i=s(57628);let c=e=>{let{loginComponent:t,isShown:s,toggle:c,selectedAddressData:r}=e;return(0,n.jsx)(l.Fragment,{children:(0,n.jsx)(a.CartModal,{isShown:s,hide:c,modalContent:(0,n.jsx)(i.E,{toggle:c,loginComponent:t,selectedAddressData:r})})})}},78120:(e,t,s)=>{"use strict";s.d(t,{A:()=>
1o,g:()=>r});var n=s(37876),l=s(14232),a=s(67467),i=s.n(a);function c(e){return null===e||isNaN(e)?"00":"00".concat(parseInt(e,10)).slice(-2)}function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:420;return{timerPercentage:100-e/t*100,timerValue:"".concat(c(e/60),":").concat(c(e%60))}}let o=function(e){let{width:t=120,height:s=120,timer:a=0,onEndTimer:c}=e,{timerValue:o,timerPercentage:_}=r(a),d=(0,l.useRef)(a),u=(0,l.useRef)(null),p=(0,l.useRef)(null),h=(0,l.useCallback)(()=>{d.current=d.current-1,d.current<0&&(d.current=0);let{timerValue:e,timerPercentage:t}=r(d.current);u.current&&p.current&&(u.current.setAttribute("stroke-dashoffset",t),p.current.innerHTML=e)},[]);return(0,l.useEffect)(()=>{d.current=a,h()},[a,h]),(0,l.useEffect)(()=>{let e=setInterval(()=>{0===d.current?(c(),clearInterval(e)):h()},1e3);return()=>{clearInterval(e)}},[h,c]),(0,n.jsxs)("svg",{width:t,height:s,viewBox:"0 0 120 120",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsxs)("g",{xmlns:"http://www.w3.org/2000/svg",filter:"url(#filter0_d_1759_46162)",children:[(0,n.jsx)("circle",{cx:"62",cy:"60",r:"54",fill:"white"}),(0,n.jsxs)("mask",{className:i().mask_class,id:"mask0_1759_46162",maskUnits:"userSpaceOnUse",x:"4",y:"2",width:"116",height:"116",children:[(0,n.jsx)("path",{d:"M62 2V10.5926",stroke:"black"}),(0,n.jsx)("path",{d:"M62 109.407V118",stroke:"black"}),(0,n.jsx)("path",{d:"M120 60L111.407 60",stroke:"black"}),(0,n.jsx)("path",{d:"M12.5926 60L4 60",stroke:"black"}),(0,n.jsx)("path",{d:"M33 9.77051L37.2963 17.2119",stroke:"black"}),(0,n.jsx)("path",{d:"M86.7037 102.788L91 110.229",stroke:"black"}),(0,n.jsx)("path",{d:"M112.229 31L104.788 35.2963",stroke:"black"}),(0,n.jsx)("path",{d:"M19.2119 84.7036L11.7705 88.9999",stroke:"black"}),(0,n.jsx)("path",{d:"M11.7705 31.0002L19.2119 35.2965",stroke:"black"}),(0,n.jsx)("path",{d:"M104.788 84.7039L112.229 89.0002",stroke:"black"}),(0,n.jsx)("path",{d:"M91 9.77075L86.7037 17.2122",stroke:"black"}),(0,n.jsx)("path",{d:"M37.2963 102.788L33 110.23",stroke:"black"})]}),(0,n.jsx)("g",{mask:"url(#mask0_1759_46162)",children:(0,n.jsx)("circle",{cx:"62",cy:"60",r:"54",fill:"#C0C1C3"})})]}),(0,n.jsx)("g",{xmlns:"http://www.w3.org/2000/svg",filter:"url(#filter0_d_1759_46162)",children:(0,n.jsx)("circle",{cx:"62",cy:"60",r:"40",fill:"white"})}),(0,n.jsx)("g",{xmlns:"http://www.w3.org/2000/svg",className:i().percent_circle,children:(0,n.jsx)("circle",{ref:u,cx:"62",cy:"60",r:"55",fill:"none",stroke:"#26955D","stroke-width":"3",pathLength:"100","stroke-dasharray":"100","stroke-dashoffset":_})}),(0,n.jsxs)("g",{children:[(0,n.jsx)("text",{ref:p,x:"38",y:"60",className:i().timer_value,children:o}),(0,n.jsx)("text",{x:"40",y:"75",className:i().timer_label,children:"remaining"})]}),(0,n.jsx)("defs",{xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsxs)("filter",{id:"filter0_d_1759_46162",x:"0",y:"0",width:"124",height:"124",filterUnits:"userSpaceOnUse","color-interpolation-filters":"sRGB",children:[(0,n.jsx)("feFlood",{"flood-opacity":"0",result:"BackgroundImageFix"}),(0,n.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,n.jsx)("feOffset",{dy:"2"}),(0,n.jsx)("feGaussianBlur",{stdDeviation:"4"}),(0,n.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,n.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,n.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_1759_46162"}),(0,n.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_1759_46162",result:"shape"})]})})]})}},78966:e=>{e.exports={bottom_text:"styles_bottom_text__Wc8hE",prefix:"styles_prefix__Y_4yk",suffix:"styles_suffix__6oP7V"}},79712:(e,t,s)=>{"use strict";s.d(t,{A:()=>_});
1var n=s(37876),l=s(68827),a=s.n(l),i=s(89099),c=s(86883),r=s(40525),o=s.n(r);let _=function(){let e=(0,i.useRouter)();return(0,n.jsxs)("section",{className:o().error_state_container,children:[(0,n.jsx)(a(),{src:"/image/error_state_home.svg",alt:"error_state_home",width:155,height:110}),(0,n.jsx)("span",{className:"text_1",children:"Oops! Something went wrong."}),(0,n.jsx)("span",{className:"text_1",children:"Please try again."}),(0,n.jsxs)("div",{className:o().page_action_container,children:[(0,n.jsx)("button",{className:o().secondary_btn,onClick:()=>e.push(c.fw.homePage),children:"Home"}),(0,n.jsx)("button",{className:o().primary_btn,onClick:()=>e.reload(),children:"Refresh"})]})]})}},82054:e=>{e.exports={fig_caption:"styles_fig_caption__VvKmT",shipment_status_image_container:"styles_shipment_status_image_container__rJXou",status_asset:"styles_status_asset__AcdhN",bottom_gradient:"styles_bottom_gradient__OUJn1",container:"styles_container__l9577",warning_section:"styles_warning_section__Z4Pm6",eta_container:"styles_eta_container___j3n8",shipment_info:"styles_shipment_info__KDbv9",rejected_text:"styles_rejected_text__eVPvP",sla_info_container:"styles_sla_info_container__aUz_E",arriving_text:"styles_arriving_text__Dp_yv",arriving_ETA:"styles_arriving_ETA__hzsjT",delivery_delay_message:"styles_delivery_delay_message__A_sSe",sla_info:"styles_sla_info__78y1d",status_chip:"styles_status_chip__qhMdE",title_class:"styles_title_class__z3I0e",delivery_instruction_section:"styles_delivery_instruction_section__MdjfX",sub_title:"styles_sub_title__JkJ8k",title:"styles_title__DNhmf",cancel_order_container:"styles_cancel_order_container__6wStd",issue_with_shipment_container:"styles_issue_with_shipment_container__61Yp0",product_list_container:"styles_product_list_container__w90ek",product_list_item:"styles_product_list_item__o_go3",product_price:"styles_product_price__RDtq4",product_description_container:"styles_product_description_container___5mpS",shipment_items_title_container:"styles_shipment_items_title_container__hZU0R",cta_class:"styles_cta_class__8vKb6",top_nav_container:"styles_top_nav_container__Qw9oX",cta:"styles_cta__kadwp",unavailable_tag_placeholder:"styles_unavailable_tag_placeholder__xfciN",divider:"styles_divider__GgsXo",product_image_container:"styles_product_image_container__icwgH",greyed_out:"styles_greyed_out__Ion8L",hr_line:"styles_hr_line__Vdzqz",delivery_details_container:"styles_delivery_details_container__5qM_v",delivery_section:"styles_delivery_section__y2cQz",delivery_section_no_border:"styles_delivery_section_no_border__i2MRb",rider_details_container:"styles_rider_details_container__61t7s",topContainer:"styles_topContainer__ceccR",rider_image:"styles_rider_image__kWyBA",bottomContainer:"styles_bottomContainer__a2_qs",deliveryAlertNudge:"styles_deliveryAlertNudge__oVxpV",primaryText:"styles_primaryText__4mOBo",bottomSec:"styles_bottomSec__5pdFY",secondaryText:"styles_secondaryText__8wKZf",modifyCTA:"styles_modifyCTA__l70EP",pointer:"styles_pointer__UcHYO",rider_details_section:"styles_rider_details_section__CzEf9",sub_title_container:"styles_sub_title_container__lHlYh",icon:"styles_icon__4lGyj",call_DE_img_wrapper:"styles_call_DE_img_wrapper__Hb2qW",address_section:"styles_address_section__JLfzh",address_icon:"styles_address_icon__veLEU",delivery_address:"styles_delivery_address__yyKOi",instruction_container:"styles_instruction_container__VpEZr",modal_header_container:"styles_modal_header_container__XFp45",modal_header:"styles_modal_header__3jAaq",modal_container:"styles_modal_container__ZORnB",modal_content_container:"styles_modal_content_container__4_ZnZ",reasons_list:"styles_reasons_list__hQQ_s",error_text:"styles_error_text__CfVtc",warning_text:"styles_warning_text__nJTdQ",btn_container:"styles_btn_container__DCLLx",btn:"styles_btn__qIwRw",cancel_btn:"styles_cancel_btn__SziCt",submit_btn:"styles_submit_btn__Uq1F6",download_invoice_button_container:"styles_download_invoice_button_container__RMoRF",download_invoice_button:"styles_download_invoice_button__Og8_t",action_container:"styles_action_container__udPXh",rate_nudge:"styles_rate_nudge__T6Aip",dummy_rate_nudge:"styles_dummy_rate_nudge__XTOCe",custom_message_input:"styles_custom_message_input__92gLs",product_tag:"styles_product_tag__VFxFz",product_tag_img:"styles_product_tag_img__6w87S",product_tag_text:"styles_product_tag_text__go6Ky",loader_styles:"styles_loader_styles__mD7X5"}},82764:(e,t,s)=>{"use strict";s.d(t,{A:()=>
1o});var n=s(37876),l=s(14232),a=s(15039),i=s.n(a),c=s(78966),r=s.n(c);let o=(0,l.memo)(e=>{let{prefix:t,suffix:s,className:l}=e;return t?(0,n.jsxs)("span",{className:i()(r().bottom_text,l),children:[(0,n.jsx)("span",{className:r().prefix,children:t}),s&&(0,n.jsxs)("span",{className:r().suffix,children:["\xa0",s]})]}):null})}}]);
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.