1"use strict";(self.webpackChunkJomashop=self.webpackChunkJomashop||[]).push([[4674],{575:(e,a,n)=>{n.d(a,{b:()=>groupAndSortBrandsByAlphabet}) 2const groupAndSortBrandsByAlphabet=e=>{const a=e.reduce((e,a)=>{const n=a.brand_name.charAt(0).toLocaleUpperCase(),t=/\d/.test(n)?"#":n 3return e[t]=e[t]||[],e[t].push(a),e},{}) 4return Object.entries(a).sort(([e],[a])=>"#"===e?"#"===a?0:1:"#"===a?-1:e.toLowerCase()>a.toLowerCase()?1:-1)}},42397:(e,a,n)=>{n.d(a,{V:()=>Alphabets}) 5var t=n(30053),s=n(32485),r=n.n(s),l=n(74848) 6const Alphabets=({data:e,handleAlphabetChange:a,selectedAlphabet:n})=>{const s=t.Hq.split(""),c=(e=>{if(!e)return[] 7const a=e.map(e=>{const a=e.brand_name.charAt(0).toLowerCase() 8return/\d/.test(a)?"#":a}) 9return s.filter(Set.prototype.has,new Set(a))})(e) 10return s.map((e,t)=>(0,l.jsx)("li",{className:r()({selected:n===e,"no-data":!c.includes(e)}),onClick:()=>a(e),"data-value":e,children:(0,l.jsx)("a",{children:e})},t))}},43204:(e,a,n)=>{n.r(a),n.d(a,{Brands:()=>Brands,default:()=>Brands}) 11var t=n(16522),s=n(96540),r=n(22022),l=n(80545),c=n(32485),o=n.n(c),d=n(46133),i=n(67969),p=n(61526) 12const m=n.p+"file/clothing.6e12277ad796ea570af3.png",h=n.p+"file/handbags-accessories.dedeafc59abf428127f2.png",u=n.p+"file/fragrances.2fbe04b90605921cb0b0.png",f=n.p+"file/crystal-figurines.182c8091a4bde2bc0d5a.png",b=n.p+"file/flatware-dinnerware.6843728309a8037dd61e.png",g=n.p+"file/eyeglasses.738e5521fd058b37eb62.png",_=n.p+"file/jewelry.1a0f40859d5efd9883ee.png",x=n.p+"file/luxury-pens.e64e9937873d5328c70e.png",y=n.p+"file/makeup.9bed6f4d6a413bd38dd5.png",j=n.p+"file/preowned.2c61a392c7f22ce677e4.png",w=n.p+"file/shoes.05b5f36615c58e447d1b.png",v=n.p+"file/skin-care-products.d09ed5973682d0abc334.png",C=n.p+"file/sunglasses.a3ae73cae5b84397caf2.png",N=n.p+"file/watches.d809d939e3b7a6842cf7.png",k=n.p+"file/preowned-bags.fc175a749f0e64fa9c2e.png",S=n.p+"file/preowned-jewelry.20312b2b965d00439cd2.png" 13var A=n(74848) 14const B={"preowned-jewelry":S,"preowned-bags":k,"handbags-accessories":h,"flatware-dinnerware":b,"skin-care-products":v,"pre-owned-jewelry":j,"crystal-figurines":f,"preowned-watches":j,"luxury-pens":x,clothing:m,fragrances:u,eyeglasses:g,sunglasses:C,jewelry:_,makeup:y,shoes:w,watches:N},CategoryIcon=e=>{const a=(0,t.c)(3),{name:n}=e,s=B[n.toLowerCase()] 15if(!s)return null 16let r 17return a[0]!==s||a[1]!==n?(r=(0,A.jsx)("img",{src:s,alt:n}),a[0]=s,a[1]=n,a[2]=r):r=a[2],r},CategoryList=e=>{const a=(0,t.c)(5),{data:n,handleAlphabetChange:s}=e,{department:r}=(0,p.g)(),{isTablet:l,isMobile:c}=(0,i.X)(),d=c||l,m=r??"watches" 18let h 19return a[0]!==n||a[1]!==s||a[2]!==d||a[3]!==m?(h=n?.map((e,a)=>{const{name:n,url_key:t}=e 20return(0,A.jsx)("li",{className:o()({selected:m===t}),children:(0,A.jsxs)(p.N_,{className:"view-all",to:`/brands/${t}`,onClick:()=>s(""),children:[d&&(0,A.jsx)(CategoryIcon,{name:t}),n]})},a)}),a[0]=n,a[1]=s,a[2]=d,a[3]=m,a[4]=h):h=a[4],h} 21var L=n(42397) 22const src_BrandItems=e=>{const a=(0,t.c)(2),{items:n}=e 23if(!n)return null 24let s 25if(a[0]!==n){const e=[...n].sort(_temp),chunkBrandsForColumns=a=>{const n=Math.ceil(a.length/4) 26return Array.from({length:4},(a,t)=>e.slice(t*n,t*n+n))} 27s=(0,A.jsx)("div",{className:"brand-list",children:chunkBrandsForColumns(e).map(_temp3)}),a[0]=n,a[1]=s}else s=a[1] 28return s} 29function _temp(e,a){return e.brand_name.localeCompare(a.brand_name)}function _temp2(e,a){const{url_path:n,brand_name:t}=e 30return(0,A.jsx)(p.N_,{to:n,state:{scrollTopEvenIfSearch:!0},children:t},a)}function _temp3(e,a){return(0,A.jsx)("div",{className:"brand-column",children:e.map(_temp2)},a)}var P=n(575) 31const BrandList=e=>{const a=(0,t.c)(12),{data:n,brandSectionsRef:s}=e 32let r 33a[0]!==s?(r=(e,a)=>{if(e)return s.current[a]=e,()=>{delete s.current[a]}},a[0]=s,a[1]=r):r=a[1] 34const l=r 35if(!n?.length){let e 36return a[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,A.jsx)("div",{className:"no-data",children:"No brands available"}),a[2]=e):e=a[2],e}let c,o,d 37if(a[3]!==n||a[4]!==l){o=Symbol.for("react.early_return_sentinel") 38e:{const e=(0,P.b)(n) 39if(!e.length){let e 40a[7]===Symbol.for("react.memo_cache_sentinel")?(e=(0,A.jsx)("li",{className:"no-data",children:"No brands available"}),a[7]=e):e=a[7],o=e 41break e}let t 42a[8]!==l?(t=(e,a)=>{const[n,t]=e 43return(0,A.jsxs)("div",{className:"brand-results",children:[(0,A.jsx)("h4",{"data-value":n,ref:e=>l(e,a),children:n},n),(0,A.jsx)(src_BrandItems,{items:t})]},n)},a[8]=l,a[9]=t):t=a[9],c=e.map(t)}a[3]=n,a[4]=l,a[5]=c,a[6]=o}else c=a[5],o=a[6] 44return o!==Symbol.for("react.early_return_sentinel")?o:(a[10]!==c?(d=(0,A.jsx)("div",{children:c}),a[10]=c,a[11]=d):d=a[11],d)} 45var E=n(31920),T=n(68974),M=n(14012),R=n(11253),U=n(75524) 46const Brands=()=>{const e=(0,t.c)(51),[a]=(0,r.Bd)(),n=(0,s.useContext)(R.jq),{isAppContext:c}=(0,s.useContext)(E.i),{isTablet:m,isMobile:h}=(0,i.X)(),u=h||m,{department:f}=(0,p.g)(),b=(0,s.useRef)(null) 47let g 48e[0]===Symbol.for("react.memo_cache_sentinel")?(g=[],e[0]=g):g=e[0] 49const _=(0,s.useRef)(g) 50let x,y,j;(0,M.K)("common-page"),e[1]!==n?(x=()=>{n({type:"UPDATE_PAGE_TYPE",payload:"brand"})},y=[n],e[1]=n,e[2]=x,e[3]=y):(x=e[2],y=e[3]),(0,s.useEffect)(x,y),e[4]!==f?(j={identifier:"shop_by_brands_page_menu",selectedCategoryVal:f},e[4]=f,e[5]=j):j=e[5] 51const{categories:w,brands:v,selectedAlphabet:C,selectedCategory:N,changeAlp
51habetSelection:k}=(0,d.W)(j) 52let S,B,P 53e[6]!==k||e[7]!==c||e[8]!==u||e[9]!==C?(S=()=>{if(!C)return 54const e=_.current.findIndex(e=>e.textContent===C.toUpperCase()) 55if(-1===e)return void k("");(e=>{if(["A",""].includes(C)||-1===e)return 56const a=u?10+(c?57:0):(b.current?.offsetParent?.offsetHeight??0)+20,n=(_.current[e].getBoundingClientRect()?.top??0)+window.scrollY-a 57window.scrollTo({top:n,behavior:"smooth"})})(e)},B=[C,k,u,c],e[6]=k,e[7]=c,e[8]=u,e[9]=C,e[10]=S,e[11]=B):(S=e[10],B=e[11]),(0,s.useEffect)(S,B) 58e:{if(u){P=w 59break e}let a 60e[12]!==w?(a=w.sort(Brands_temp),e[12]=w,e[13]=a):a=e[13],P=a}const W=P 61let D,H,I,V,q,F,J,O,$ 62e[14]!==a?(D=a("Home"),e[14]=a,e[15]=D):D=e[15],e[16]!==D?(H={name:D,url:"/",index:0},e[16]=D,e[17]=H):H=e[17],e[18]!==a?(I=a("Brands"),e[18]=a,e[19]=I):I=e[19],e[20]!==I?(V={name:I,index:1},e[20]=I,e[21]=V):V=e[21],e[22]!==V||e[23]!==H?(q=(0,A.jsx)(T.A,{items:[H,V]}),e[22]=V,e[23]=H,e[24]=q):q=e[24],e[25]===Symbol.for("react.memo_cache_sentinel")?(F=(0,A.jsx)("div",{className:"search-wrapper",children:(0,A.jsxs)(l.mg,{children:[(0,A.jsx)("meta",{name:"title",content:"Women's and Men's Accessories From Top Brands Up to 80% Off | Shop the Best Watch Brands, High-End Fashion, and More in Our Discount Luxury Store"}),(0,A.jsx)("meta",{name:"description",content:"Find the best watch brands, high-end handbags, sunglasses, and more up to 80% off when you make Jomashop your luxury store! We carry only genuine designer women's and men's accessories, so you can buy high-quality products from top brands with confidence."})]})}),e[25]=F):F=e[25],e[26]===Symbol.for("react.memo_cache_sentinel")?(J=(0,A.jsx)("div",{className:"category-head",children:"Departments"}),O=o()("category-wrapper"),e[26]=J,e[27]=O):(J=e[26],O=e[27]),e[28]!==w||e[29]!==k||e[30]!==W?($=(0,A.jsxs)("div",{className:"lhs",children:[J,(0,A.jsx)("ul",{className:O,children:w?(0,A.jsx)(CategoryList,{data:W,handleAlphabetChange:k}):(0,A.jsx)("div",{children:"No Data found"})})]}),e[28]=w,e[29]=k,e[30]=W,e[31]=$):$=e[31] 63const G=N?.name?`- ${N?.name}`:"" 64let X,Y,z,K,Q,Z,ee 65return e[32]!==G?(X=(0,A.jsxs)("h1",{children:["Shop by Brand"," ",G]}),e[32]=G,e[33]=X):X=e[33],e[34]!==v||e[35]!==k||e[36]!==C?(Y=(0,A.jsx)("div",{className:"alphabetical-wrapper",children:(0,A.jsx)("ul",{className:"alphabetical-list",ref:b,children:(0,A.jsx)(L.V,{data:v,handleAlphabetChange:k,selectedAlphabet:C})})}),e[34]=v,e[35]=k,e[36]=C,e[37]=Y):Y=e[37],e[38]!==v?(z=(0,A.jsx)("div",{className:"brand-result-wrapper",children:(0,A.jsx)(BrandList,{data:v,brandSectionsRef:_})}),e[38]=v,e[39]=z):z=e[39],e[40]===Symbol.for("react.memo_cache_sentinel")?(K=(0,A.jsx)(U.CmsBlockGroup,{identifiers:"brandlist-bottom-section",classes:{root:"brandlist-block-wrapper"},hasItemCallback:void 0,loadingIndicator:void 0}),e[40]=K):K=e[40],e[41]!==X||e[42]!==Y||e[43]!==z?(Q=(0,A.jsxs)("div",{className:"rhs",children:[X,Y,z,K]}),e[41]=X,e[42]=Y,e[43]=z,e[44]=Q):Q=e[44],e[45]!==$||e[46]!==Q?(Z=(0,A.jsxs)("div",{className:"brand-page",children:[$,Q]}),e[45]=$,e[46]=Q,e[47]=Z):Z=e[47],e[48]!==q||e[49]!==Z?(ee=(0,A.jsxs)("div",{className:"brand-page-wrapper",children:[q,F,Z]}
65),e[48]=q,e[49]=Z,e[50]=ee):ee=e[50],ee} 66function Brands_temp(e,a){return e.name.localeCompare(a.name)}},46133:(e,a,n)=>{n.d(a,{W:()=>useShopByBrand}) 67var t=n(16522),s=n(96540),r=n(42952),l=n(32452) 68const c=n.e(8410).then(n.bind(n,68410)).then(({default:e})=>e),useShopByBrand=e=>{const a=(0,t.c)(20),{identifier:n,selectedCategoryVal:o}=e,{whiteListPagesUrls:d}=(0,l.p)(),[i,p]=(0,s.useState)(""),{menus:m,brands:h}=(0,s.use)(c) 69let u 70a[0]!==n||a[1]!==m?(u=m.find(e=>e.identifier===n)?.departments||[],a[0]=n,a[1]=m,a[2]=u):u=a[2] 71const f=u,b=o??"watches" 72let g 73if(a[3]!==h||a[4]!==b||a[5]!==d){e:{if(!h?.length||!b){let e 74a[7]===Symbol.for("react.memo_cache_sentinel")?(e=[[],void 0],a[7]=e):e=a[7],g=e 75break e}let e 76a[8]!==b?(e=e=>{const{department:a}=e 77return a.url_key===b},a[8]=b,a[9]=e):e=a[9] 78const n=h.find(e) 79if(!n?.department||!n?.brands?.length){let e 80a[10]===Symbol.for("react.memo_cache_sentinel")?(e=[[],void 0],a[10]=e):e=a[10],g=e 81break e}const{department:t,brands:s}=n,{filter_map:l,...c}=t,o=new Map(l),{isSpecialPage:i,categoryPathname:p}=(0,r.Wi)(d,`/${t.url_key}.html`),m=s.map(e=>{const{hasCount:a,label:n,value:s}=e 82return{brand_id:s,brand_name:n,has_salable_products:a,url_path:o.get(s)||(0,r.vz)(p,i,t.name,new URLSearchParams([["manufacturer",n]]),!1)}}) 83let u 84a[11]!==m||a[12]!==c?(u=[m,c],a[11]=m,a[12]=c,a[13]=u):u=a[13],g=u}a[3]=h,a[4]=b,a[5]=d,a[6]=g}else g=a[6] 85const[_,x]=g 86let y 87return a[14]!==h||a[15]!==_||a[16]!==f||a[17]!==i||a[18]!==x?(y={brands:_,allBrands:h,categories:f,selectedCategory:x,selectedAlphabet:i,changeAlphabetSelection:p},a[14]=h,a[15]=_,a[16]=f,a[17]=i,a[18]=x,a[19]=y):y=a[19],y}},68974:(e,a,n)=>{n.d(a,{A:()=>Components_Breadcrumb}) 88var t=n(16522),s=n(61526),r=n(32485),l=n.n(r),c=n(74848) 89const Components_Breadcrumb=e=>{const a=(0,t.c)(9),{items:n,className:s}=e 90let r 91a[0]!==n?(r=void 0===n?[]:n,a[0]=n,a[1]=r):r=a[1] 92const o=r 93let d,i,p 94return a[2]!==s?(d=l()("breadcrumb",s),a[2]=s,a[3]=d):d=a[3],a[4]!==o?(i=o.map(_temp),a[4]=o,a[5]=i):i=a[5],a[6]!==d||a[7]!==i?(p=(0,c.jsx)("ol",{className:d,children:i}),a[6]=d,a[7]=i,a[8]=p):p=a[8],p} 95function _temp(e){const{index:a,name:n,url:t,onClick:r}=e 96return(0,c.jsx)("li",{className:"breadcrumb-item",children:t?(0,c.jsx)(s.N_,{to:t,onClick:r,children:n}):(0,c.jsx)("span",{children:n})},a)}}}])
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.