1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6314],{37203:(e,r,t)=>{t.d(r,{A:()=>c,k:()=>u});var n,i=t(34957),u=((n={})[n.None=0]="None",n[n.Filter=1]="Filter",n[n.Sorting=2]="Sorting",n);let c=(0,i.vt)(e=>({showPopupBlockType:0,showFilterType:-1,setShowPopupBlockType:r=>e({showPopupBlockType:r}),setShowFilterType:r=>e({showFilterType:r})}))},45563:(e,r,t)=>{t.d(r,{y:()=>i});var n=t(37876);let i=()=>(0,n.jsx)("img",{src:"https://a.cdnsbn.com/images/pagination_right.svg",width:17,height:17,alt:"Right arrow icon"})},55096:(e,r,t)=>{t.d(r,{V:()=>g});var n=t(14232),i=t(27715),u=t(39746),c=t(89099),o=t(72636),a=t(62848),d=t(55577),l=t(65940),s=t(1199),p=t(56820),y=t(66020);let g=e=>{let r=(0,c.useRouter)(),{sType:t,cookiePType:g}=(0,s.T8)(),{catgId:f,group:m,type:h,brandId:I,search:b,searchfield:q,searchField:v,mId:x,promoId:w,page:P,brandIds:T,functionId:A,lineId:k,promoIds:R,lowerPrice:L,upperPrice:F,sort:S,prodType:N}=r.query,{region:$,currId:j}=e,U=e=>{let r=Object.keys(e).find(e=>"prodtype"===e.toLowerCase());if(!r)return;let t=e[r],n=Number(Array.isArray(t)?t[0]:t);return[0,1,2].includes(n)?n:void 0},B=(0,n.useRef)(e?.filterList||null),M=r.query.search||r.query.searchField||r.query.searchfield?8:3,C=(0,n.useRef)(!1),E=(0,n.useRef)(e?.breadcrumbList||[]),O=(0,n.useRef)(!1),z=(0,n.useRef)(e.title||""),Q=(0,n.useRef)(!1),D=(0,n.useRef)(e.headerTitle||""),G=(0,n.useRef)(e?.categoryList||null),J=(0,n.useRef)(e.selectedFilter),V=(0,n.useRef)(e?.sortingList||null),_=(0,n.useRef)(M),K=(0,n.useRef)({...e?.requestBody,...!!e.filterBody&&{filters:e.filterBody}}),H=(0,n.useRef)(!0),Y=(0,n.useRef)(!1),W=(0,n.useRef)(!1),[X,Z]=(0,n.useState)(e.merchant),[ee,er]=(0,n.useState)(e.merchantStoreFront),et=(0,n.useRef)(T??void 0),en=(0,n.useRef)(k??void 0),ei=(0,n.useRef)(A??void 0),eu=(0,n.useRef)(R??void 0),ec=(0,n.useRef)(L?Number(L):void 0),eo=(0,n.useRef)(F?Number(F):void 0),ea=(0,n.useRef)(S?Number(S):void 0),ed=(0,n.useRef)(P?Number(P):void 0),el=(0,n.useRef)(U(r.query)??e.prodType),es=(0,n.useRef)(e.minPrice||void 0),ep=(0,n.useRef)(e.maxPrice||void 0),ey=P?parseInt(P.toString(),10):1,eg=(0,n.useRef)(Number.isNaN(ey)?1:ey),ef=(0,n.useRef)(!1),[em,eh]=(0,n.useState)(e?.productList||void 0),[eI,eb]=(0,n.useState)(!1),[eq,ev]=(0,n.use
1State)(!1),ex=(0,n.useRef)(`${l.SD}/${r.locale}${"/"!==r.asPath?r.asPath:""}`),ew=r.query.page?parseInt(r.query.page.toString(),10):1;!Number.isNaN(ew)&&ew!==eg.current&&Y.current&&(eg.current=ew);let eP=r.query.sort?(0,a.fG)(r.query.sort,M):M;eP!==_.current&&Y.current&&(_.current=eP);let eT=()=>{(0,y.oM)(),(0,y.C0)(),Y.current=!1,eb(!0),eh(e=>e?{...e,data:[]}:e),requestAnimationFrame(()=>(0,y.nu)("smooth"))},eA=async e=>{if(e.toString()!==_.current.toString()){if(_.current=e,r.query.page&&parseInt(r.query.page.toString(),10)!==ey)return void ek(parseInt(r.query.page.toString(),10));eU(!0),eT()}},ek=async e=>{e!==eg.current&&(eg.current=e,eU(!0),eT())};(0,n.useEffect)(()=>{_.current=r.query.sort?(0,a.fG)(r.query.sort,M):M,eg.current=r.query.page?parseInt(r.query.page.toString(),10):1;let t=U(r.query)??e.prodType??0;(r.query.brandIds!==et.current||r.query.functionId!==ei.current||r.query.promoIds!==eu.current||r.query.lineId!==en.current||r.query.lowerPrice!==ec.current||r.query.upperPrice!==eo.current||r.query.sort&&Number(r.query.sort)!==ea.current||r.query.page&&Number(r.query.page)!==ed.current||t!==(el.current??0))&&(et.current=r.query.brandIds?(0,a.oQ)(r.query.brandIds).join(","):void 0,ei.current=r.query.functionId?(0,a.oQ)(r.query.functionId).join(","):void 0,en.current=r.query.lineId?(0,a.oQ)(r.query.lineId).join(","):void 0,eu.current=r.query.promoIds?(0,a.oQ)(r.query.promoIds).join(","):void 0,ec.current=r.query.lowerPrice?Number(r.query.lowerPrice):void 0,eo.current=r.query.upperPrice?Number(r.query.upperPrice):void 0,el.current=t,ed.current=r.query.page?Number(r.query.page):void 0,ea.current=r.query.sort?Number(r.query.sort):void 0,ef.current=!0)},[r.query.brandIds,r.query.functionId,r.query.promoIds,r.query.lineId,r.query.page,r.query.sort,r.query.lowerPrice,r.query.upperPrice,r.query.prodType,r.query.prodtype]),(0,n.useEffect)(()=>{let e=()=>{Y.current=!0,(0,y.TB)()&&(0,y.rc)()};return window.addEventListener("popstate",e),()=>window.removeEventListener("popstate",e)},[]),(0,n.useEffect)(()=>{eF()},[]),(0,n.useLayoutEffect)(()=>{(0,y.AI)(r.asPath)&&(0,y.rc)()},[r.asPath]),(0,n.useEffect)(()=>{let e=(0,y.AI)(r.asPath);if(!e||!em?.data||0===em.data.length||eI||W.current)return;W.current=!0;let t=(0,y.Eo)({prodId:e.prodId,onDone:()=>{W.current=!1,Y.current=!1}});return()=>{t(),W.current=!1}},[em?.data?.length,r.asPath,eI]),(0,n.useEffect)(()=>{Z(e.merchant),er(e.merchantStoreFront)},[e.merchant,e.merchantStoreFront]);let eR=async()=>{K.current.filters=null,eg.current=1,ef.current=!0,J.current=null,et.current=void 0,en.current=void 0,ei.current=void 0,eu.current=void 0,ec.current=void 0,eo.current=void 0,eU(!0),eT(),await eB.mutate()},eL=async e=>{ec.current=e[0],eo.current=e[1],eg.current=1,eU(!0),eT()},eF=async()=>{let n={...!!et.current&&{brandIds:et.current},...!!en.current&&{lineId:en.current},...!!ei.current&&{functionId:ei.current},...!!eu.current&&{promoId:eu.current},...!!ec.current&&{lowerPrice:ec.current},...!!eo.current&&{upperPrice:eo.current}};(null===n||n&&0===Object.keys(n).length)&&(B.current=(0,u.Ay)(B.current,e=>{e?.map(e=>e.filters.map(e=>e.check=!1))}),J.current=null,K.current.filters=null);let i=e.promoId?{...(0,a.gj)({query:{promoId:e.promoId,...r.query}}),sort:_.current,page:eg.current,prodType:el.current}:{...(0,a.gj)({query:r.query}),sort:_.current,page:eg.current,prodType:el.current};if(i&&i.searchField){if(H.current&&e?.productList&&Array.isArray(e.productList?.data)){H.current=!1,0===e.productList.totalRecords&&ev(!0);return}let r=await (0,a.CC)($,{...i,...n},t,g,j);0===r.totalRecords&&i.searchField?ev(!0):ev(!1),eh(r)}else{if(H.current&&e?.productList&&Array.isArray(e.productList?.data)){H.current=!1;return}let u=await (0,a.qr)($,{...i,...n},t,g,j);0===u.totalRecords&&"/product-search"===(0,p.jm)(r.asPath)?ev(!0):eh(u)}if(i&&i.mId)try{let e=await o.AB.getMerchanById({mId:Number(i.mId),region:$}),r=await o.AB.getStoreFront({mId:Number(i.mId),region:$});Z(e),er(r)}catch(e){console.error("Error fetching merchant data:",e)}H.current=!1},eS=async(e,r)=>{B.current=e,J.current=r,ef.current=!0;let t=null;if(r.length>0){let e=r.filter(e=>1===e.filterType),n=r.filter(e=>3===e.filterType),i=r.filter(e=>4===e.filterType),u=r.filter(e=>6===e.filterType),c=e=>e.map(e=>e.value).join(",");t={...e.length>0&&{brandIds:c(e)},...n.length>0&&{lineId:c(n)},...i.length>0&&{functionId:c(i)},...u.length>0&&{promoIds:c(u)},...!!ec.current&&{lowerPrice:ec.current}
1,...!!eo.current&&{upperPrice:eo.current}},et.current=e.length>0?c(e):void 0,en.current=n.length>0?c(n):void 0,ei.current=i.length>0?c(i):void 0,eu.current=u.length>0?c(u):void 0}else et.current=void 0,en.current=void 0,ei.current=void 0,eu.current=void 0,t={...!!ec.current&&{lowerPrice:ec.current},...!!eo.current&&{upperPrice:eo.current}};eg.current=1,K.current.filters=t,eU(!0),eT()},eN=async(e,r)=>{let t=[],n=(0,u.Ay)(B.current,n=>{n?.map(n=>n.filters.map(i=>{i.id===e&&n.filterType===r&&(i.check=!i.check),i.check&&t.push({filterType:n.filterType,name:i.name,value:i.id})}))});await eS(n,t)},e$=async(e,r)=>{if((!e||0===e.length)&&!r)return void await eR();{ec.current=r[0],eo.current=r[1];let t=[],n=(0,u.Ay)(B.current,r=>{r?.map(r=>{let n=e?.filter(e=>{e.filterType,r.filterType}).flatMap(e=>e.filters.map(e=>{if(e.check)return e.id}));r.filters.map(e=>{n&&(e.check=n.includes(e.id),e.check&&t.push({filterType:r.filterType,name:e.name,value:e.id}))})})});(0,u.Ay)(B.current,r=>{e?.map(e=>{e.filters.length>0&&e.filters.map(r=>{t.push({filterType:e.filterType,name:r.name,value:r.id})})})}),await eS(n,t)}},ej=async()=>{let n=K.current?.brandIds!=I,i=K.current?.mId!=x,c=K.current?.promoId!=e.promoId,o=b?K.current?.searchField!==b:v?K.current?.searchField!==v:!!q&&K.current?.searchField!==q,d=K.current?.groupId!=m,l=K.current?.typeId!=h,s=K.current?.catgId!=(f||0),p=K.current?.filters?.lowerPrice!=L,y=K.current?.filters?.upperPrice!=F,w=n||i||c||d||l||s||o;O.current=w,Q.current=s||n,o&&(_.current=M);let P=K.current?.page!=eg.current,T=K.current?.sort?K.current?.sort!=_.current:_.current!=M;if(!ef.current&&!w&&!P&&!T&&!(p||y))return;ef.current=!1;let A={...!!et.current&&{brandIds:et.current},...!!en.current&&{lineId:en.current},...!!ei.current&&{functionId:ei.current},...!!eu.current&&{promoId:eu.current},...!!ec.current&&{lowerPrice:ec.current},...!!eo.current&&{upperPrice:eo.current}};(null===A||A&&0===Object.keys(A).length)&&(B.current=(0,u.Ay)(B.current,e=>{e?.map(e=>e.filters.map(e=>e.check=!1))}),J.current=null,K.current.filters=null);let k=e.promoId?{...(0,a.gj)({query:{promoId:e.promoId,...r.query}}),sort:_.current,page:eg.current,prodType:el.current}:{...(0,a.gj)({query:r.query}),sort:_.current,page:eg.current,prodType:el.current};K.current={...k,filters:A};try{let r=k&&k.searchField?await (0,a.CC)($,{...k,...A},t,g,j):await (0,a.qr)($,{...k,...A},t,g,j);if(w){let r=f?parseInt(f.toString(),10):0,t=k&&k.searchField?await (0,a.fy)($,k,r,j):await (0,a.nF)($,k,r,j
1);z.current=t.title||"",Q.current=!1,G.current=t?.categoryList||null,V.current=t?.sortingList||null,es.current=t.minPrice,ep.current=t.maxPrice;let n=t.filterList;I&&(n=n.filter(e=>1!==e.filterType)),e.promoId&&(n=n.filter(e=>6!==e.filterType)),E.current=t.breadcrumbList,O.current=!1,D.current=t.breadcrumbList&&t.breadcrumbList.length>0?t.breadcrumbList[t.breadcrumbList.length-1]?.text||"":t?.title||"",C.current=!0,B.current=n||null}if(!(null===A||A&&0===Object.keys(A).length)){let e=[],r=(0,u.Ay)(B.current,r=>{r?.map(r=>r.filters.map(t=>{if(1===r.filterType){let n=et.current?(0,a.oQ)(et.current):void 0;n&&n.includes(String(t.id))&&(r.open=!0,t.check=!0,e.push({filterType:1,name:t.name,value:t.id}))}if(3===r.filterType){let n=en.current?(0,a.oQ)(en.current):void 0;n&&n.includes(String(t.id))&&(r.open=!0,t.check=!0,e.push({filterType:3,name:t.name,value:t.id}))}if(4===r.filterType){let n=ei.current?(0,a.oQ)(ei.current):void 0;n&&n.includes(String(t.id))&&(r.open=!0,t.check=!0,e.push({filterType:4,name:t.name,value:t.id}))}if(6===r.filterType){let n=eu.current?(0,a.oQ)(eu.current):void 0;n&&n.includes(String(t.id))&&(r.open=!0,t.check=!0,e.push({filterType:6,name:t.name,value:t.id}))}}))});B.current=r,J.current=e}return 0===r.totalRecords&&k.searchField?ev(!0):ev(!1),eh(r),eb(!1),eU(!1),r}catch(e){console.error(e),eb(!1)}},eU=t=>{let n=(0,a.JB)({search:b,searchField:v,searchfield:q,brandId:I,catgId:f,group:m,type:h,mId:x,...et.current?{brandIds:et.current}:{brandIds:void 0},...ei.current?{functionId:ei.current}:{functionId:void 0},...eu.current?{promoIds:eu.current}:{promoIds:void 0},...en.current?{lineId:en.current}:{lineId:void 0},...eg.current>1&&{page:eg.current},..._.current!==M&&{sort:_.current},...ec.current!==Number(es)&&{lowerPrice:ec.current},...eo.current!==Number(ep)&&{upperPrice:eo.current},...0!==el.current&&{prodType:el.current}}),i=(0,p.jm)(r.asPath),u={...r.query};delete u.search,delete u.searchField,delete u.searchfield,delete u.brandId,delete u.mId,delete u.customContent,u.catgId&&"0"===u.catgId&&delete u.catgId;let c=r.query.search??r.query.searchfield??r.query.searchField;e.promoId||c||(delete u.catgId,delete u.group,delete u.type);let o={...u,...eg.current>1?{page:eg.current}:{page:void 0},..._.current!==M?{sort:_.current}:{sort:void 0},...et.current?{brandIds:et.current}:{brandIds:void 0},...ei.current?{functionId:ei.current}:{functionId:void 0},...eu.current?{promoIds:eu.current}:{promoIds:void 0},...en.current?{lineId:en.current}:{lineId:void 0},...ec.current!==Number(es.current)?{lowerPrice:ec.current}:{lowerPrice:void 0},...eo.current!==Number(ep.current)?{upperPrice:eo.current}:{upperPrice:void 0},...0!==el.current&&void 0!==el.current?{prodType:el.current}:{prodType:void 0}};if(r.query.search&&(o={...r.query.search&&{search:r.query.search},...o}),r.query.searchfield&&(o={...r.query.searchfield&&{searchfield:r.query.searchfield},...o}),r.query.searchField&&(o={...r.query.searchField&&{searchField:r.query.searchField},...o}),t)r.push(e.promoId?(0,d.c$)(i,{query:o}):n,"/"+r.locale+(0,d.c$)(i,{query:o}),{shallow:!0,scroll:!1});else{let e=(0,d.c$)(i,{query:o}),t="/"+r.locale+e,n=new URLSearchParams(window.location.search),u=n.get("page")?String(n.get("page")):"1",c=null!=o.page&&void 0!==o.page?String(o.page):"1",a=n.get("sort"),l=null!=o.sort&&void 0!==o.sort?String(o.sort):null;if(u!==c||(a||null)!==l)return;window.history.replaceState(window.history.state,"",t)}},eB=(0,i.Ay)(["getProductList",f,m,h,I,b,v,q,x,eg.current,_.current,r.query.page,r.query.sort,r.query.brandIds,r.query.functionId,r.query.lineId,r.query.promoIds,r.query.upperPrice,r.query.lowerPrice,r.query.prodType,r.query.prodtype],ej,{fallbackData:em,revalidateOnFocus:!1,revalidateOnMount:!(e?.productList&&Array.isArray(e.productList?.data))});return{promoId:e.promoId,productGrid:em,isLoading:eB.isLoading||eI,currentPage:eg,title:z,headerTitle:D,breadcrumbList:E,sortingList:V,sortingId:_,filterList:B.current,selectedFilters:J,categoryList:G,isFiltersUpdated:C.current,canonicalUrl:ex,minPrice:es.current,maxPrice:ep.current,defaultMinPrice:0,defaultMaxPrice:999999,isNoSearchResult:eq,isTitleChanging:Q.current,isBreadcrumbChanging:O.current,merchant:X,storeFront:ee,filterProdType:el.current,setFilterProdType:e=>{e!==el.current&&(el.current=e,ef.current=!0,eU(!0),eT())},setIsFiltersUpdated:e=>{C.current=e},onSetSorting:eA,onSelectFilter:eN,onSelectMultiFilters:e$,onClearFilter:eR,onSetPage:ek,buildLinkUrl:(t,n)=>
1{if(!e.promoId)return t;let i={...r.query};delete i.search,delete i.searchField,delete i.searchfield,delete i.brandId,delete i.mId,delete i.customContent,delete i.promoId,delete i.sort,delete i.page,i.catgId&&"0"===i.catgId&&delete i.catgId,e.promoId||r.query.search&&r.query.searchField&&!r.query.searchfield||(delete i.catgId,delete i.group,delete i.type),delete i.lineId,delete i.functionid,delete i.brandIds,delete i.promoIds;let u={...i};return r.query.search&&(u={...r.query.search&&{search:r.query.search},...u}),r.query.searchfield&&(u={...r.query.searchfield&&{searchfield:r.query.searchfield},...u}),r.query.searchField&&(u={...r.query.searchField&&{searchField:r.query.searchField},...u}),u={...u,...n},(0,d.c$)(t,{query:u})},updatedPriceFilter:eL}}},58704:(e,r,t)=>{t.d(r,{A:()=>p});var n=t(37876),i=t(76252),u=t(82598);let c=i.A.main` 2 max-width: ${u.vX.default}px; 3 margin: 0 auto; 4 padding: 0 ${u.pK}px; 5 padding-bottom: 4rem; 6`;var o=t(99496),a=t(25784),d=t(65602),l=t(24379),s=t(8119);let p=({children:e})=>(0,n.jsx)(o.A,{children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{}),(0,n.jsx)(s.A,{}),(0,n.jsx)(d.A,{}),(0,n.jsx)(c,{children:e}),(0,n.jsx)(l.A,{})]})})},60451:(e,r,t)=>{t.d(r,{JL:()=>d,KP:()=>l,L8:()=>y,Oh:()=>m,Tw:()=>I,Vw:()=>g,W7:()=>h,YS:()=>b,be:()=>f,hE:()=>o,l6:()=>a,n2:()=>p,v:()=>s});var n=t(76252),i=t(18042),u=t(79075),c=t(13224);let o=n.A.h1` 7 ${(0,c.B)("mobile")} { 8 display: none; 9 } 10`;n.A.section` 11 .img-responsive { 12 width: 100%; 13 } 14`;let a=n.A.section` 15 .img-responsive { 16 width: 100%; 17 } 18 19 video { 20 max-width: 100%; 21 ${(0,c.B)("mobile")} { 22 max-width: 100%; 23 } 24 } 25 26 .center { 27 display: flex; 28 justify-content: center; 29 align-items: center; 30 } 31`,d=n.A.section` 32 margin: 1rem 0; 33 // border-bottom: solid 1px #979797; 34 35 :last-of-type { 36 border: 0; 37 } 38 39 .filter-loading { 40 display: flex; 41 flex-direction: column; 42 gap: 20px; 43 44 ${(0,c.B)("iPad")} { 45 display: none; 46 } 47 } 48 49 ${(0,c.B)("desktop")} { 50 display: grid; 51 grid-template-columns: 200px 1fr; 52 gap: 40px; 53 54 &.no-filter-column { 55 display: block; 56 } 57 } 58`,l=n.A.div` 59 display: grid; 60 grid-template-columns: repeat(2, auto); 61 gap: 1rem; 62 align-items: center; 63 flex: 0 0 auto; 64 65 ${(0,c.B)("mobile")} { 66 display: none; 67 } 68`,s=(0,n.A)(u.A)` 69 min-width: 132px; 70 width: 100%; 71 max-width: 200px; 72 height: 40px; 73 74 ${(0,c.B)("mobile")} { 75 display: none; 76 } 77`;n.A.img` 78 color: #666666; 79`,n.A.div` 80 display: flex; 81 flex-wrap: wrap; 82`;let p=n.A.div` 83 display: flex; 84 align-items: center; 85 86 & span { 87 margin-right: 20px; 88 } 89 90 .MuiIconButton-root { 91 padding: 4px; 92 } 93 94 border: solid 1px #979797; 95 padding: 5px 5px 5px 20px; 96 border-radius: 3rem; 97 margin: 0.5rem 0.5rem; 98`,y=n.A.div` 99 display: grid; 100 grid-template-columns: repeat(2, 1fr); 101 width: 100%; 102 gap: 15px; 103 // margin-top: 15px; 104`,g=n.A.div` 105 display: flex; 106 align-items: center; 107 gap: 12px; 108 flex-wrap: wrap; 109 110 ${(0,c.B)("mobile")} { 111 position: sticky; 112 top: 50px; 113 z-index: 10; 114 background: rgba(255, 255, 255, 0.8); 115 padding: 8px 0; 116 } 117 118 ${(0,c.B)("desktop")} { 119 position: sticky; 120 top: 140px; 121 z-index: 10; 122 background: rgba(255, 255, 255, 0.8); 123 padding: 8px 0; 124 } 125`,f=(0,n.A)(i.A)` 126 padding: 8px 16px 6px; 127 font-size: 14px; 128 font-weight: 600; 129 border-radius: 24px; 130 text-transform: none; 131 box-shadow: none; 132 background-color: #fff !important; 133 color: #333 !important; 134 border: 2px solid #ddd; 135 &:hover { 136 background-color: #f5f5f5 !important; 137 border-color: #ccc; 138 } 139 &[data-active="true"] { 140 background-color: #7b1fa2 !important; 141 color: #fff !important; 142 border-color: #7b1fa2; 143 } 144 &[data-active="true"]:hover { 145 background-color: #6a1b9a !important; 146 border-color: #6a1b9a; 147 } 148`,m=(0,n.A)(i.A)` 149 background-color: #efefef; 150 padding: 1rem; 151 font-size: 16px; 152 text-align: center; 153 font-weight: bold; 154 border-radius: 6px; 155 color: black; 156 width: 100%; 157 margin: 0.6rem 0; 158 cursor: pointer; 159 160 ${(0,c.B)("desktop")} { 161 display: none; 162 } 163`,h=n.A.img` 164 vertical-align: middle; 165 margin: 0 5px; 166`,I=n.A.div` 167 margin-top: 50px; 168 display: flex; 169 justify-content: center; 170 171 .accord-block { 172 max-width: 70%; 173 174 ${(0,c.B)("mobile")} { 175 max-width: 100%; 176 } 177 } 178 179 .answer { 180 line-height: 1.6; 181 font-size: 16px; 182 font-weight: normal; 183 } 184 185 .sub-accordion { 186 border-top: 0px solid rgba(0, 0, 0, 0.12); 187 188 .Mui-expanded { 189 &.MuiAccordionSummary-root { 190 border-top: 0px solid rgba(0, 0, 0, 0.12); 191 } 192 } 193 } 194 195 .sub-question { 196 font-size: 16px; 197 font-weight: 600; 198 line-height: 36px; 199 200 .MuiAccordion-root:before { 201 height: 0px; 202 } 203 204 .MuiTypography-root { 205 font-size: 16px; 206 font-weight: 600; 207 } 208 209 .sub-answer { 210 .MuiTypography-root { 211 font-size: 14px; 212 font-weight: normal; 213 color: #666666;
214 line-height: 26px; 215 } 216 } 217 } 218 219 .faq-title { 220 font-size: 20px; 221 margin-bottom: 10px; 222 font-weight: bold; 223 } 224 225 .question { 226 .MuiTypography-root { 227 font-size: 17px; 228 font-weight: 700; 229 color: #333333; 230 } 231 } 232 233 .MuiAccordion-root { 234 box-shadow: none; 235 } 236 237 .MuiAccordionSummary-root { 238 padding-left: 0; 239 padding-bottom: 5px; 240 padding-right: 0px; 241 } 242 243 .MuiAccordionDetails-root { 244 padding-left: 0; 245 } 246 247 .Mui-expanded { 248 &.MuiAccordionSummary-root { 249 border-top: 1px solid rgba(0, 0, 0, 0.12); 250 } 251 } 252`,b=n.A.div` 253 ${(0,c.B)("desktop")} { 254 display: grid; 255 grid-template-columns: 200px 1fr; 256 gap: 100px; 257 } 258 ${(0,c.B)("mobile")} { 259 display: block; 260 } 261`},62848:(e,r,t)=>{t.d(r,{CC:()=>p,JB:()=>g,KN:()=>y,Vx:()=>d,Yw:()=>I,fG:()=>o,fy:()=>m,gj:()=>l,nF:()=>f,oQ:()=>a,qJ:()=>h,qr:()=>s});var n=t(55577),i=t(69877),u=t(72636),c=t(65940);let o=(e,r)=>{let t=Object.keys(c.RG).map(e=>c.RG[e]),n=e.toString();if(isNaN(parseInt(n,10))){if(c.RG.hasOwnProperty(n.toUpperCase()))return c.RG[n.toUpperCase()]}else if(t.includes(parseInt(n,10)))return parseInt(n,10);return r},a=e=>(Array.isArray(e)?e:e.includes(",")?e.split(",").map(e=>e.trim()):[e.trim()]).filter(e=>!isNaN(parseInt(e))),d=e=>e?.find(e=>!!e.frame?.frame)?.frame?.frame??"",l=({query:e})=>{let{catgId:r,group:t,type:n,mId:i,brandId:u,search:c,searchField:a,searchfield:d,sort:l,page:s,promoId:p,prodType:y}=e,g=e=>parseInt(e.toString(),10),f=(e=>{let r=e.prodType??e.prodtype;if(null!=r)return r;let t=Object.keys(e).find(e=>"prodtype"===e.toLowerCase());return t?e[t]:void 0})(e),m=Array.isArray(f)?f[0]:f,h=null!=m&&""!==String(m).trim()?Number(m):void 0,I=0===h||1===h||2===h?h:void 0,b={...{catgId:r||0,requestType:4},...!!t&&!isNaN(Number(t))&&{groupId:g(t)},...!!n&&!isNaN(Number(n))&&{typeId:g(n)},...!!l&&{sort:o(l.toString(),c?8:3)},...!!u&&{brandIds:u,requestType:6},...!!i&&{mId:i,requestType:11},...!!c&&{searchField:c,requestType:9,sort:8},...!!a&&{searchField:a,requestType:9,sort:8},...!!d&&{searchField:d,requestType:9,sort:8},...!!p&&{promoId:p,requestType:13},page:s&&!isNaN(s)?s:1,...void 0!==I&&{prodType:I}};return b.requestType||(b.requestType=4),b},s=async(e,r,t,n,i)=>{try{let c={};Object.entries(r).forEach(([e,r])=>{"undefined"!==String(r)&&(c[e]=r)}),t&&(c.priceType=t),n&&(c.cookiePriceType=n);let o=await u.bk.getPagedProductList({...c,region:e,...!!i&&{currid:i}});
261return{totalPages:o?.pageCount??0,totalRecords:o?.totalProduct??0,priceFormat:o?.currency??null,data:o?.prods??null,R18Image:o?.imgR18||""}}catch(e){return{totalPages:0,totalRecords:0,priceFormat:null,data:null,R18Image:""}}},p=async(e,r,t,n,i)=>{try{let c={};Object.entries(r).forEach(([e,r])=>{"undefined"!==String(r)&&(c[e]=r)}),t&&(c.priceType=t),n&&(c.cookiePriceType=n);let o=await u.bk.aiSearchPagedProductList({...c,region:e,...!!i&&{currid:i}});return{totalPages:o?.pageCount??0,totalRecords:o?.totalProduct??0,priceFormat:o?.currency??null,data:o?.prods??null,R18Image:o?.imgR18||""}}catch(e){return{totalPages:0,totalRecords:0,priceFormat:null,data:null,R18Image:""}}},y=async(e,r,t,n)=>{let i={region:e,promoId:"37",requestType:13,...!!r&&{priceType:r},...!!t&&{cookiePriceType:t},...!!n&&{currid:n}};return await u.bk.getPagedProductList({...i})},g=(e,r=i.J.product.list)=>{let t={catgId:e?.catgId,search:e?.search??e?.searchField??e?.searchfield,brandId:e?.brandId,mId:e?.mId,group:e?.group,type:e?.type,page:e?.page,promoId:e?.promoId,sort:e?.sort,lineId:e?.lineId,functionId:e?.functionId,brandIds:e?.brandIds,promoIds:e?.promoIds,lowerPrice:e?.lowerPrice,upperPrice:e?.upperPrice,prodType:e?.prodType};return e.promoId?(r=r.indexOf("?")>-1?r.substring(0,r.indexOf("?")):r,(0,n.c$)(r,{query:t})):e.search||e.searchField||e.searchfield?(0,n.c$)(r.substring(0,r.indexOf("?")),{query:t}):(0,n.c$)(i.J.product.list,{params:{categoryId:e?.catgId||0},query:t})},f=async(e,r,t,n)=>{try{"undefined"===String(r.catgId)&&(r.catgId=0);let i={};Object.entries(r).forEach(([e,r])=>{"undefined"!==String(r)&&(i[e]=r)});let c=await u.bk.getPagedProductFilter({...i,region:e,...!!n&&{currid:n}}),{filterGroups:o,menus:a,title:d,sortingList:l,breadcrumbs:s,minPrice:p,maxPrice:y,totalProduct:g}=c,f=[];o?.forEach(e=>{let r=e.filters?.map(e=>({...e,check:!1}));f.push({filterType:e.filterType,filterHeader:e.name,open:!1,filters:r})});let m=a&&a.length>0?a.map(e=>({...e,open:e.prodCatgId===t})):[],h=[];return s&&s.length>0&&s.map(e=>{r.promoId?h.push({text:e?.content??"",url:`${e?.targetUrl?.url??""}${e?.targetUrl?.query?`?${e?.targetUrl?.query}`:""}`,asUrl:`${e?.targetUrl?.asUrl??""}${e?.targetUrl?.query?`?${e?.targetUrl?.query}`:""}`}):h.push({text:e?.content??"",url:e?.targetUrl?.url??"",asUrl:e?.targetUrl?.asUrl??""})}),{title:d||null,filterList:f,categoryList:m,sortingList:l,productListMeta:c.meta||null,breadcrumbList:h,minPrice:p,maxPrice:y,totalProduct:g??0}}catch(e){return{title:null,filterList:[],categoryList:[],sortingList:[],productListMeta:null,breadcrumbList:[],minPrice:0,maxPrice:0,totalProduct:0}}},m=async(e,r,t,n)=>{try{"undefined"===String(r.catgId)&&(r.catgId=0);let i={};Object.entries(r).forEach(([e,r])=>{"undefined"!==String(r)&&(i[e]=r)});let c=await u.bk.aiSearchPagedProductFilter({...i,region:e,...!!n&&{currid:n}}),{filterGroups:o,menus:a,title:d,sortingList:l,breadcrumbs:s,minPrice:p,maxPrice:y,totalProduct:g}=c,f=[];o?.forEach(e=>{let r=e.filters?.map(e=>({...e,check:!1}));f.push({filterType:e.filterType,filterHeader:e.name,open:!1,filters:r})});let m=a&&a.length>0?a.map(e=>({...e,open:e.prodCatgId===t})):[],h=[];return s&&s.length>0&&s.map(e=>{r.promoId?h.push({text:e?.content??"",url:`${e?.targetUrl?.url??""}${e?.targetUrl?.query?`?${e?.targetUrl?.query}`:""}`,asUrl:`${e?.targetUrl?.asUrl??""}${e?.targetUrl?.query?`?${e?.targetUrl?.query}`:""}`}):h.push({text:e?.content??"",url:e?.targetUrl?.url??"",asUrl:e?.targetUrl?.asUrl??""})}),{title:d||null,filterList:f,categoryList:m,sortingList:l,productListMeta:c.meta||null,breadcrumbList:h,minPrice:p,maxPrice:y,totalProduct:g??0}}catch(e){return{title:null,filterList:[],categoryList:[],sortingList:[],productListMeta:null,breadcrumbList:[],minPrice:0,maxPrice:0,totalProduct:0}}},h=async(e,r,t)=>{try{return await u.Di.getRecentlyViewedProductList({region:e,body:{page:1,pageSize:20,sort:6,cookiePriceType:r},...!!t&&{currid:t}})}catch(e){console.error("Product Detail - recentlyViewed error ",e);return}},I=async(e,r,t,n)=>{try{return await u.bk.getPagedProductList({region:e,prodIds:r,...!!n&&{cookiePriceType:n},...!!t&&{currid:t}})}catch(e){console.error("Product Detail - recentlyViewed error ",e);return}}},74216:(e,r,t)=>{t.d(r,{R:()=>i});var n=t(37876);let i=()=>(0,n.jsx)("img",{src:"https://a.cdnsbn.com/images/pagination_left.svg",width:17,height:17,alt:"Left arrow icon"})}}]);
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.