PageSourceSearch

https://family.com.qa/_next/static/chunks/04j~fc455w4a0.js?dpl=300201

js family.com.qa collected 2026-09-30 23:48:05 UTC 21,073 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]="91fb2dab-9f2d-c6d2-04f6-aff99cb2a7ae")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,705930,858931,e=>{"use strict";var t=e.i(896572),i=e.i(480388),r=e.i(181788),s=e.i(317608),a=e.i(296137),n=e.i(843476),o=e.i(540201),l=e.i(632055),c=e.i(657688),d=e.i(522016),u=e.i(499092),m=e.i(271645);let h=function(e){var t=e.gifUrl,a=e.alt,o=e.width,l=e.height,d=e.fill,h=e.sizes,p=e.className,x=e.style,f=e.priority,_=e.fetchPriority,g=e.onImageError;(0,u._)(e,["gifUrl","alt","width","height","fill","sizes","className","style","priority","fetchPriority","onImageError"]);var v=(0,s._)((0,m.useState)(!1),2),b=v[0],j=v[1],w=(0,s._)((0,m.useState)(!1),2),y=w[0],N=w[1],S=t&&t.includes("res.cloudinary.com")?t.includes("f_auto")||t.includes("q_auto")?t:t.replace("/upload/","/upload/f_auto,q_auto/"):t||"",k=null==t?void 0:t.replace(/\.gif$/i,".webm"),T=null==t?void 0:t.replace(/\.gif$/i,".mp4"),C={width:o,height:l,fill:d,sizes:h,className:p,style:x,priority:f,fetchPriority:_};return k&&T&&!y?(0,n.jsxs)("div",{className:"relative w-full h-full min-w-0 min-h-0",children:[(0,n.jsx)(c.default,(0,r._)((0,i._)({src:S,alt:a||""},C),{className:"".concat(null!=p?p:""," ").concat(b?"opacity-0":"opacity-100"," transition-opacity duration-300"),unoptimized:!0,onError:g})),(0,n.jsxs)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-hidden":!0,className:"absolute inset-0 w-full h-full object-cover ".concat(null!=p?p:""," ").concat(b?"opacity-100":"opacity-0"," transition-opacity duration-300"),style:(0,r._)((0,i._)({},x),{width:"100%",height:"100%",objectFit:"cover"}),onLoadedData:function(){return j(!0)},onError:function(){return N(!0)},children:[(0,n.jsx)("source",{src:k,type:"video/webm"}),(0,n.jsx)("source",{src:T,type:"video/mp4"})]})]}):(0,n.jsx)(c.default,(0,r._)((0,i._)({src:S,alt:a||""},C),{unoptimized:!0,onError:g}))};e.s(["default",0,h],858931);var p=e.i(184364),x=e.i(398201),f=e.i(647163),_=e.i(886734),g=e.i(948148),v=e.i(443082);e.i(972694);var b=e.i(103738),j=e.i(556415),w=e.i(52348),y=e.i(157362),N=e.i(630374);let S=(0,m.memo)(function(e){var u,p,g,S,P=e.product,H=e.onWishlistClick,B=e.onQuantityIncrement,D=e.onQuantityDecrement,R=e.isPriority,E=void 0!==R&&R,A=e.onBeforeNavigate,I=e.linkRef,z=(0,f.findSchId)(null!=(g=P.prod_delivery_types)?g:[]),O=(0,y.useProductStateStore)(function(e){return e.products[(0,y.productStateKey)(P.produ_id,z)]}),q=(0,m.useMemo)(function(){var e,t,s,a,n;return O?(0,r._)((0,i._)({},P),{selected_qty:null!=(e=O.selected_qty)?e:P.selected_qty,is_wishlisted:null!=(t=O.is_wishlisted)?t:P.is_wishlisted,is_product_loading:null!=(s=O.is_product_loading)?s:P.is_product_loading,has_stock_error:null!=(a=O.has_stock_error)?a:P.has_stock_error,display_label:null!=(n=O.display_label)?n:P.display_label}):P},[P,O]),M=(0,s._)((0,m.useState)(!1),2),U=M[0],W=M[1],F=(0,s._)((0,m.useState)(!1),2),K=F[0],V=F[1],G=(0,s._)((0,m.useState)(!1),2),Q=G[0],$=G[1],Z=(0,b.useFunnelTracking)(),J=!0===q.schedule_unavailable_status;(0,m.useEffect)(function(){V(!1)},[q.image_url]);var X=(u=(null==q?void 0:q.seo_slug)||"",p=new URLSearchParams({sch:z}),I&&p.set("ref",I),"/product/".concat(encodeURIComponent(u),"?").concat(p.toString())),Y="w-full h-full flex flex-col rounded-xl bg-white cursor-pointer group/card overflow-hidden shadow-[0_2px_8px_rgba(0,0,0,0.04),0_1px_2px_rgba(0,0,0,0.06)] transition-all duration-300 ease-out hover:shadow-[0_8px_24px_rgba(0,0,0,0.08),0_2px_8px_rgba(0,0,0,0.04)] hover:-translate-y-1 active:scale-[0.98] active:shadow-[0_2px_8px_rgba(0,0,0,0.04)]",ee=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"relative flex-1 min-h-0 aspect-[4/5] sm:aspect-[3/4]",children:[(0,n.jsxs)("div",{className:"absolute top-1 start-1 end-1 z-10 flex items-center justify-between",children:[(0,n.jsx)("div",{className:"flex items-center gap-1",children:q.prod_quick_buy&&(0,n.jsx)(k,{})}),(0,n.jsx)("button",{onClick:function(e){return(0,t._)(function(){var t,i;return(0,a._)(this,function(r){switch(r.label){case 0:if(e.preventDefault(),e.stopPropagation(),U)return[2];q.is_wishlisted||(0,v.trackAddToWishlist)({item_id:q.prod_sku||String(null!=(t=q.produ_id)?t:""),item_name:q.prod_name||"",item_brand:q.brand_name||"",item_category:q.prod_cat_name||"",price:null!=(i=q.price)?i:0}),W(!0),r.label=1;case 1:return r.trys.push([1,,3,4]),[4,H(q)];case 2:return r.sent(),[3,4];case 3:return W(!1),[7];case 4:return[2]}})})()},disabled:U,className:"w-6 h-6 sm:w-7 sm:h-7 bg-white/90 backdrop-blur-sm rounded-full flex items-center justify-center hover:bg-white hover:scale-110 transition-all duration-200 shadow-sm ".concat(U?"cursor-not-allowed":""),children:(0,n.jsx)("svg",{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 transition-all duration-200 ".concat(U?"text-pink-400 animate-[heartbeat_0.6s_ease-in-out_infinite]":q.is_wishlisted?"text-red-500 fill-current":"text-gray-400"),fill:U||q.is_wishlisted?"currentColor":"none",stroke:"currentColor",viewBox:"0 0 24 24",style:U?{filter:"drop-shadow(0 0 4px rgba(236, 72, 153, 0.5))"}:void 0,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})})})]}),(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center p-1.5 pt-7 pb-1",children:q.image_url&&!K?(0,n.jsx)("div",{className:"relative w-full h-full",children:q.image_url.toLowerCase().endsWith(".gif")?(0,n.jsx)(h,{gifUrl:q.image_url,alt:q.prod_name||"Product",fill:!0,className:"object-contain drop-shadow-md transition-transform duration-300 group-hover/card:scale-105",sizes:"(max-width: 640px) calc(50vw - 0.5rem), 144px",fetchPriority:E?"high":"auto",onImageError:function(){return V(!0)}}):(0,n.jsx)(c.default,{src:q.image_url,alt:q.prod_name||"Product",fill:!0,className:"object-contain drop-shadow-md transition-transform duration-300 group-hover/card:scale-105",sizes:"(max-width: 640px) calc(50vw - 0.5rem), 144px",priority:E,fetchPriority:E?"high":"auto",onError:function(){return V(!0)}})}):(0,n.jsx)("div",{className:"relative w-full h-full",children:(0,n.jsx)(c.default,{src:"/assets/placeholder-cart.webp",alt:q.prod_name||"Product",fill:!0,className:"object-contain opacity-60",sizes:"(max-width: 640px) calc(50vw - 0.5rem), 144px",fetchPriority:"low"})})}),(0,n.jsx)("div",{className:"absolute end-1 bottom-1 z-10",children:J?(0,n.jsx)(C,{label:q.schedule_unavailable_status_desc||"Schedule Only"}):q.is_out_of_stock?(0,n.jsx)(T,{}):(0,n.jsx)(L,{product:q,productUrl:X,onIncrement:function(e){if(!q.selected_qty){var t,i,r,s,a,n;(0,v.trackAddToCart)({item_id:q.prod_sku||String(null!=(t=q.produ_id)?t:""),item_name:q.prod_name||"",item_brand:q.brand_name||"",item_category:q.prod_cat_name||"",price:null!=(i=q.price)?i:0,quantity:null!=(r=q.prod_min_ord_qty)?r:1}),Z("ADD_TO_CART",{item_id:null!=(s=q.produ_id)?s:void 0,item_name:q.prod_name||void 0,value_qar:(null!=(a=q.price)?a:0)*(null!=(n=q.prod_min_ord_qty)?n:1)})}B(q,e)},onDecrement:function(){D(q)}})})]}),(0,n.jsxs)("div",{className:"px-2 sm:px-2.5 pb-2.5 sm:pb-3 pt-1.5 flex flex-col justify-between min-h-[4.5rem] sm:min-h-[5rem] bg-white",children:[(0,n.jsx)("h3",{className:"text-[10px] sm:text-[11px] font-medium text-gray-700 line-clamp-2 leading-snug tracking-tight transition-colors duration-200 group-hover/card:text-primary",children:q.prod_name||"Untitled Product"}),(0,n.jsx)("div",{className:"mt-auto",children:(0,n.jsx)(x.PriceDisplay,{price:q.price||0,promoEnabled:q.prodp_is_promo,promoPrice:q.prodp_prom_price,uom:(null==(S=q.uom_code)?void 0:S.trim())||"EA",size:"sm",showUom:!1})})]})]});return(0,n.jsxs)(n.Fragment,{children:[J?(0,n.jsx)("div",{onClick:function(e){e.preventDefault(),e.stopPropagation(),$(!0)},className:Y,children:ee}):(0,n.jsx)(d.default,{href:X,prefetch:!1,onClick:function(e){0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||(null==A||A(),_.globalLoading.startNavigation())},className:Y,children:ee}),J&&(0,n.jsx)(N.Dialog,{open:Q,onOpenChange:$,children:(0,n.jsxs)(N.DialogContent,{showCloseButton:!1,elevatedZ:!0,children:[(0,n.jsxs)(N.DialogHeader,{children:[(0,n.jsx)(N.DialogTitle,{children:q.schedule_unavailable_status_desc||"Schedule Only"}),(0,n.jsx)(N.DialogDescription,{className:"pt-2",children:q.schedule_unavailable_status_desc_message||"This item is available under the Schedule tab. Please switch to Schedule to add it to your cart."})]}),(0,n.jsxs)(N.DialogFooter,{className:"flex flex-row gap-3 sm:flex-row pt-2",children:[(0,n.jsx)("button",{type:"button",onClick:function(){return $(!1)},className:"flex-1 px-4 py-2.5 text-sm font-medium text-gray-700 bg-gray-100 rounded-xl hover:bg-gray-200 transition-colors",children:"Not Now"}),(0,n.jsx)("button",{type:"button",onClick:function(){var e,t,i=j.useHomeStore.getState().homeResponse,r=null==i||null==(e=i.homepagedata)?void 0:e.find(function(e){return"SCHD_TAB"===e.section_code}),s=(null==r?void 0:r.item_data)||[],a=(s.length>
20?s:o.useScheduleStore.getState().scheduleList||[]).find(function(e){var t;return!(0,l.isExpressSchedule)(e.title)&&(null==(t=e.action)?void 0:t.schedule_id)});if(null==a||null==(t=a.action)?void 0:t.schedule_id){var n=a.action.schedule_id;w.safeLocalStorage.setItem("schId",n),y.useProductStateStore.getState().clearAll(),j.useHomeStore.setState({selectedScheduleId:n}),$(!1),window.location.reload()}},className:"flex-1 px-4 py-2.5 text-sm font-medium text-white bg-primary rounded-xl hover:bg-primary/90 transition-colors",children:"Switch"})]})]})})]})});var k=function(){return(0,n.jsx)(c.default,{src:"/assets/svg/newShopNow.svg",alt:"",width:20,height:20,className:"drop-shadow-md animate-truck-drive",style:{filter:"invert(27%) sepia(95%) saturate(7471%) hue-rotate(349deg) brightness(88%) contrast(89%)"},"aria-hidden":!0})},T=function(){var e=(0,g.useTranslations)("common");return(0,n.jsx)("div",{className:"bg-gray-100 border border-gray-200 px-2 py-1 rounded-lg",children:(0,n.jsx)("span",{className:"text-gray-600 font-semibold text-xs",children:e("soldOut")})})},C=function(e){var t=e.label;return(0,n.jsx)("div",{className:"bg-amber-50 border border-amber-200 px-2 py-1 rounded-lg",children:(0,n.jsx)("span",{className:"text-amber-700 font-semibold text-[10px] sm:text-xs whitespace-nowrap",children:t})})},L=function(e){var t,i,r,a=e.product,o=e.productUrl,l=e.onIncrement,c=e.onDecrement,d=(0,p.useNavigationWithLoading)().push,u=(0,s._)((0,m.useState)(!1),2),h=u[0],x=u[1],_=(0,s._)((0,m.useState)(!1),2),g=_[0],v=_[1],b=(0,s._)((0,m.useState)(null),2),j=b[0],w=b[1],y=function(e,t){(e.preventDefault(),e.stopPropagation(),a.is_custom_option)?d(o):(j&&clearTimeout(j),x(!0),l(t),w(setTimeout(function(){x(!1)},3e3)))};(0,m.useEffect)(function(){return function(){j&&clearTimeout(j)}},[j]);var N=a.selected_qty||0,S=a.has_stock_error,k=null!=(t=null!=(i=(null==(r=a.weigh_uom_list)?void 0:r.length)&&N>
20?(0,f.getWeighUomDisplayLabel)(a.weigh_uom_list,N):null)?i:a.display_label)?t:N;(0,m.useEffect)(function(){if(S&&0===N&&h){var e=setTimeout(function(){x(!1)},2e3);return function(){return clearTimeout(e)}}},[S,N,h]);var T=h||g&&N>0;return(0,n.jsx)("div",{className:"flex items-center justify-center",onMouseEnter:function(){v(!0),j&&clearTimeout(j),(a.selected_qty||0)>0&&x(!0)},onMouseLeave:function(){v(!1),0===(a.selected_qty||0)||a.has_stock_error?x(!1):a.is_product_loading||(j&&clearTimeout(j),w(setTimeout(function(){x(!1)},2e3)))},children:(0,n.jsx)("div",{className:"\n            rounded-full transition-all duration-300 flex items-center justify-center\n            shadow-[0_2px_8px_rgba(0,0,0,0.15)] hover:shadow-[0_4px_12px_rgba(51,204,51,0.3)]\n            ".concat(S?"bg-red-500 animate-pulse":"bg-primary","\n            ").concat(T?"w-auto min-w-[5rem] h-8":N>0&&String(k).length>1?"w-auto min-w-[2rem] px-1 h-8":"w-8 h-8","\n          "),children:T?(0,n.jsxs)("div",{className:"flex items-center justify-between w-full px-1",children:[(0,n.jsx)("button",{onClick:function(e){(e.preventDefault(),e.stopPropagation(),a.is_custom_option)?d(o):(j&&clearTimeout(j),1>=(a.selected_qty||0)?x(!1):x(!0),c(),w(setTimeout(function(){x(!1)},3e3)))},disabled:a.is_product_loading,className:"flex items-center justify-center w-6 h-6 rounded-full disabled:opacity-50 ".concat(S?"hover:bg-red-600":"hover:bg-[#2db82d]"),children:1===N?(0,n.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})}):(0,n.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M20 12H4"})})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-1.5 flex-shrink-0",children:a.is_product_loading?(0,n.jsxs)("div",{className:"flex space-x-0.5",children:[(0,n.jsx)("div",{className:"w-1 h-1 bg-white rounded-full animate-[bounce_0.7s_infinite]"}),(0,n.jsx)("div",{className:"w-1 h-1 bg-white rounded-full animate-[bounce_0.7s_0.2s_infinite]"}),(0,n.jsx)("div",{className:"w-1 h-1 bg-white rounded-full animate-[bounce_0.7s_0.4s_infinite]"})]}):(0,n.jsx)("span",{className:"text-white font-semibold text-xs whitespace-nowrap",children:k})}),(0,n.jsx)("button",{onClick:function(e){return y(e,N+1)},disabled:a.is_product_loading,className:"flex items-center justify-center w-6 h-6 rounded-full disabled:opacity-50 ".concat(S?"hover:bg-red-600":"hover:bg-[#2db82d]"),children:(0,n.jsx)("svg",{className:"w-3 h-3 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"})})})]}):(0,n.jsx)("button",{onClick:function(e){return y(e,N||1)},disabled:a.is_product_loading,className:"w-full h-full flex items-center justify-center rounded-full disabled:opacity-50 transition-transform duration-200 hover:scale-110 active:scale-95 ".concat(S?"hover:bg-red-600":"hover:bg-[#2db82d]"),children:a.is_product_loading?(0,n.jsxs)("div",{className:"flex space-x-0.5",children:[(0,n.jsx)("div",{className:"w-1 h-1 bg-white rounded-full animate-[bounce_0.7s_infinite]"}),(0,n.jsx)("div",{className:"w-1 h-1 bg-white rounded-full animate-[bounce_0.7s_0.2s_infinite]"}),(0,n.jsx)("div",{className:"w-1 h-1 bg-white rounded-full animate-[bounce_0.7s_0.4s_infinite]"})]}):N>0?(0,n.jsx)("span",{className:"text-white font-semibold text-xs whitespace-nowrap",children:k}):(0,n.jsx)("svg",{className:"w-3.5 h-3.5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,d:"M12 4v16m8-8H4"})})})})})};e.s(["default",0,S],705930)},875753,e=>{"use strict";var t=e.i(317608),i=e.i(271645);e.s(["useDirection",0,function(){var e=(0,t._)((0,i.useState)(!1),2),r=e[0],s=e[1];return(0,i.useEffect)(function(){var e=function(){s("rtl"===document.documentElement.dir)};e();var t=new MutationObserver(function(t){t.forEach(function(t){"dir"===t.attributeName&&e()})});return t.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),function(){return t.disconnect()}},[]),{isRTL:r,direction:r?"rtl":"ltr"}}])},485027,e=>{"use strict";var t=e.i(843476),i=e.i(120141),r=e.i(474081),s=e.i(143057),a=e.i(994154),n=e.i(286557),o=e.i(620017),l=e.i(656229),c=e.i(310209),d=e.i(44687),u=e.i(211776),m=e.i(556415),h=e.i(52348),p=e.i(271645),x=e.i(592987),f=e.i(615070),_=e.i(530918),g=e.i(618566),v=e.i(647163),b=e.i(948148);let j=function(){var e=(0,b.useTranslations)("home");return(0,t.jsxs)("div",{className:"relative flex flex-col items-center justify-center min-h-[calc(100dvh-140px)] md:min-
2h-screen overflow-hidden bg-gradient-to-b from-gray-50 via-white to-gray-50 px-4 py-10",children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,t.jsx)("div",{className:"absolute -top-24 -left-16 h-56 w-56 rounded-full bg-primary/5 blur-3xl"}),(0,t.jsx)("div",{className:"absolute -bottom-24 -right-16 h-56 w-56 rounded-full bg-emerald-300/10 blur-3xl"})]}),(0,t.jsxs)("div",{className:"relative z-10 w-full max-w-md rounded-2xl bg-white/80 shadow-[0_18px_45px_rgba(15,23,42,0.08)] border border-gray-100/80 px-6 py-8 sm:px-8 sm:py-10 backdrop-blur",children:[(0,t.jsx)("div",{className:"mx-auto mb-6 flex h-20 w-20 items-center justify-center rounded-full bg-primary/10 text-primary shadow-sm",children:(0,t.jsx)("span",{className:"text-3xl",role:"img","aria-label":"Empty home",children:"🏠"})}),(0,t.jsx)("h2",{className:"text-center text-xl sm:text-2xl font-semibold tracking-tight text-slate-900",children:e("emptyTitle")}),(0,t.jsx)("p",{className:"mt-3 text-center text-sm sm:text-base text-slate-500",children:e("emptySubtitle")}),(0,t.jsx)("div",{className:"mt-6 flex items-center justify-center",children:(0,t.jsx)("span",{className:"h-px w-10 bg-gradient-to-r from-transparent via-primary/40 to-transparent"})}),(0,t.jsx)("p",{className:"mt-4 text-center text-xs sm:text-sm text-slate-400",children:"We'll show fresh content here as soon as it's available."})]})]})};var w=function(e){var b=e.initialHomeData;e.initialCategories;var w=(0,g.usePathname)(),y=(0,p.useRef)((0,_.hasSavedScroll)(w)),N=(0,p.useRef)(!1);N.current||!b||m.useHomeStore.getState().homeResponse||(m.useHomeStore.getState().setHomeResponse(b),N.current=!0);var S=(0,p.useRef)(!1);(0,p.useEffect)(function(){if(!S.current){S.current=!0;var e,t=m.useHomeStore.getState(),i=h.safeLocalStorage.getItem("lat"),r=h.safeLocalStorage.getItem("long");return t.getHomeData({schId:(0,v.getSchId)(),lat:i||"",lng:r||"",silent:null!=(e=t.homeResponse)&&!!e.homepagedata}),function(){S.current=!1}}},[]);var k=(0,m.useHomeStore)(function(e){return e.isHomeLoading}),T=(0,m.useHomeStore)(function(e){return e.isSwitchingSchedule}),C=(0,m.useHomeStore)(function(e){return e.homeResponse}),L=null==C?void 0:C.homepagedata,P=(0,p.useCallback)(function(e){switch(e){case"SCHD_TAB":return(0,t.jsx)(x.ScheduleTabShimmer,{});case"BANNC":return(0,t.jsx)(x.BannerShimmer,{});case"TOP_CAT":return(0,t.jsx)(x.TopCategoriesShimmer,{});case"FEAT_CIRC":return(0,t.jsx)(x.FeaturedCirclesShimmer,{});case"BS_HORI":case"LBS_HORI":return(0,t.jsx)(x.HorizontalBannerShimmer,{});case"BS_VERT":case"MBS_VERT":return(0,t.jsx)(x.VerticalBannersShimmer,{});case"PROD":return(0,t.jsx)(x.ProductListShimmer,{});case"BRAND":return(0,t.jsx)(x.BrandsShimmer,{});default:return(0,t.jsx)("div",{className:"w-full p-4",children:(0,t.jsx)("div",{className:"shimmer-effect h-32 rounded-xl"})})}},[]),H=function(e,u){if(!e.section_visibility||"SCHD_TAB"===e.section_code)return null;var m=u>=1&&!y.current,h=function(){switch(e.section_code){case"BANNC":return(0,t.jsx)("div",{className:"px-4 sm:px-6 lg:px-8",children:(0,t.jsx)(i.default,{carouselList:e.item_data||[],fromPreview:!1})});case"TOP_CAT":return(0,t.jsx)(r.default,{topGridTitle:e.item_title||"",topGridlist:e.item_data||[]});case"FEAT_CIRC":return(0,t.jsx)(s.default,{featuredOptionlist:e.item_data||[],title:e.item_title||""});case"BS_HORI":return(0,t.jsx)(n.default,{staticHomeBannerList:e.item_data||[]});case"BS_VERT":return(0,t.jsx)(a.default,{highlightedStackProductsList:e.item_data||[]});case"PROD":return(0,t.jsx)(d.default,{productCategoryTitle:e.item_title||"",sectionCode:e.section_code,itemTitle:e.item_title||"",productList:e.item_data||[],viewAll:!1,isPadding:!0});case"LBS_HORI":return(0,t.jsx)(o.default,{bannerHorizontalLargeList:e.item_data||[],title:e.item_title||""});case"MBS_VERT":return(0,t.jsx)(l.default,{bannerHorizontalSmallList:e.item_data||[],title:e.item_title||""});case"BRAND":return(0,t.jsx)(c.default,{brandList:e.item_data||[],title:e.item_title||""});default:return null}}();return h?m?(0,t.jsx)(f.LazySection,{minHeight:"200px",rootMargin:"500px",sectionName:"".concat(e.section_code," - ").concat(e.item_title||"Section"),fallback:P(e.section_code),children:h},"".concat(e.section_code,"-").concat(u)):(0,t.jsx)("div",{children:h},"".concat(e.section_code,"-").concat(u)):null},B=k||null==C,D=Array.isArray(L)&&L.length>0;return(0,t.jsxs)("div",{className:"min-h-screen bg-gray-50",children:[B?(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsx)(x.default,{})}):D?(0,t.jsx)("div",{className:"flex flex-col transition-opacity duration-200 ".concat(T?"opacity-60 pointer-events-none":"opacity-100"),children:L.map(function(e,t){return H(e,t)})}):(0,t.jsx)(j,{}),(0,t.jsx)("div",{className:"h-3"}),(0,t.jsx)(u.default,{})]})};w.displayName="HomeWrapper",e.s(["default",0,w],485027)}]);
3
4//# debugId=91fb2dab-9f2d-c6d2-04f6-aff99cb2a7ae

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.