"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[44],{24:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={container:"zZYXATlU",collectionTitle:"BtjVOEsI",bestSeller:"kwgJR5Zg",textWrapper:"vhyT1_Ow",colorSwatchContainer:"VtFAkf4R",link:"RZRR9V1h",box:"tSvIqLRS",heroImageContainer:"tK5FSRVg",heroImage:"vvSCjQFx",title:"b1hb0tgk",subtitle:"h5UYv_8A",price:"d9xb3vfY",originalPrice:"PtH37qZj",salePrice:"rAMBlFcx",collectionItems:"NYNuDbQO"}},190:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={pagination:"dLEi2VEw",paginationButton:"GO5iZ6wc",paginationButtonActive:"mVlg_Qfd",paginationButtonInactive:"Th4IeDdO",paginationEllipsis:"XaIzJ_nD"}},14:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={container:"LixAkx1y",imageContainer:"gclOIT5L",image:"Y5wVMJ4Q",details:"A4FyDY7j",title:"cMcEwdYe",subDetails:"McFQUCvJ",stylesAvailable:"bAroljYu",inStock:"to5yoRvj",dropdownIcon:"dqjUwhJm"}},9:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={accordion:"fmJEoApf",section:"ZJCsmW3Z",toggle:"NM_YOWAF",labelAccordian:"gMfWhlvk",arrow:"iVRau9iH",content:"Yn9kwIny",iconCaret:"UgDfblcC"}},12:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={container:"O9IcGWrR",sizeGuideContainer:"Sjgd8MXw",sizeGuideLabel:"maXcOloV",sizeGuideCheckbox:"bjWJCfH8",modalOverlay:"o3JfeQ8Y",modal:"rDogYdZh",modalImage:"UWyRdhCC",modalBackground:"nsap7aGo",closeBtn:"LeKie3P2",closeIconSVG:"twjfhJqJ",optionLabels:"v26a1W51",optionLabelsSlideUpModal:"KxvdnHon",colorOptionSlideUpModal:"sRhGufaC",moreColors:"TUQP7fb6",colorOption:"BSnU3jak",colorOptionSmall:"ueI1yDi4",styleSelector:"iEeSm8vy",isStyleOption:"F9WAUe61",noSwatchImage:"XSvSsyWQ",colorOptionSelected:"QMl69tAx",sizeOption:"MSGuc0os",sizeOptionSmall:"_LAImWda",soldOut:"z_5wn5b_",sizeOptionSelected:"UXdMckXt",label:"EIfulk0V",smallOptionLabel:"UixcHeUq",optionContainer:"SJQFNexH",small:"vzwk4W6S",visuallyHidden:"zkx8p4KR",divider:"pWq23Myu",resetLinkStyles:"N1cHTXJ7",dropdown:"TkYtS_aR"}},10:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={container:"lJdQwzYh",small:"FZXIRNTB",productPriceDefault:"R2JvcJin",productPrice:"pVzkKcC7",compareAtPrice:"f7Y7WbCg",login:"IBT6ZD4a",memberLink:"NgDvddjN",pricePill:"hVEOmGAB",pricingPolicyLabel:"YOXiFwY8",pricingPolicyCheckbox:"rSlb7WVn",modalOverlay:"ZbyY7W6Y",modal:"pqAtdOx3",modalImage:"R32tPmBt",modalBackground:"kC5EZFzk",closeBtn:"cquYxt54",pricingPolicy:"zHE03LgR",pricingHeader:"BgIIdEbc",pricingText:"eFFesRir",pricePolicyInnercontainer:"MtaJsqe8",header:"kMgZV8eq",toggleButton:"JjXXJ26g",content:"mt3p8uus"}},8:(e,t,o)=>{o.r(t),o.d(t,{default:()=>n});const n={gallery:"utYziQAE",imageContainer:"u7hALhRV",image:"HRX192Oq",imageMessage:"C0mfa5lU",review:"jT_XY_1t",title:"pfrMrpCr",truncated:"YcyRuLBB",expanded:"IomlcWA2",modal:"EQpOtFeT",fadeIn:"sVWQQ9or",fadeOut:"sZfxzYzK",modalInner:"Lg4GX5Y4",modalContent:"OpbIhP35",modalOverlay:"iZzCdFwp",modalHeader:"wek3E8S1",fullBleedImage:"i2zolDuA",slideUp:"u96mNKND",slideDown:"jAr2PKY3",closeButton:"MvI_gVPT",modalTextContent:"bihC0FqM",modalBodyText:"ksR2mAtx",loadMoreButton:"QklUYRZO",reviewsHeader:"KjJxq4iV"}},189:(e,t,o)=>{const n=o(84);(0,o(2).createEntrypoint)("collections_with_pagination",n.PaginatedCollection)},18:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.formatPrice=t.REVIEWS_ENDPOINT=t.REVIEWS_PER_PAGE=void 0,t.REVIEWS_PER_PAGE=28,t.REVIEWS_ENDPOINT="https://shalom-development-worker-may-2024.digitaloptgroup.workers.dev",t.formatPrice=function(e){return parseInt(e)}},21:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Collection=void 0;const i=o(0),a=o(1),l=n(o(24)),r=o(23),s=o(27);t.Collection=function({collection:e,useSharedState:t}){const o=t();return(0,r.useLogCollection)(e),(0,i.jsxs)(a.Fragment,{children:[e.title&&(0,i.jsx)("h1",Object.assign({class:l.default.collectionTitle},{children:e.title})),(0,i.jsx)("div",Object.assign({class:l.default.container},{children:(0,i.jsx)("div",Object.assign({class:l.default.collectionItems},{children:e.products.map((t=>(0,i.jsx)(s.ProductCard,{product:t,sharedStateStore:o,collectionHandle:e.handle})))}))}))]})}},84:function(e,t,o){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PaginatedCollection=void 0;const i=o(0),a=o(1),l=n(o(190)),r=o(31),s=o(21),c=o(3);function d({totalProducts:e,page:t,productsPerPage:o,useSharedState:n}){const a=n(),{pathname:s,config:d}=a((e=>({pathname:e.pathname,config:e.config}))),p=Math.ceil(e/o),h=(0,r.useIsHydrated)(),m=(0,c.useMemo)((()=>h?new URL(window.location.href):new URL(`https://${d.hostname}/${s}`)),[h]),f=e=>(null==m||m.searchParams.set("page",e.toString()),null==m?void 0:m.toString());return(0,i.jsxs)("div",Object.assign({class:l.default.pagination},{children:[(0,i.jsx)("a",Object.assign({href:f(1===t?t:t-1),class:[l.default.paginationButton,1===t?l.default.paginationButtonInactive:""].join(" ")},{children:(0,i.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},{children:(0,i.jsx)("path",{d:"m15 18-6-6 6-6"})}))})),Array.from({length:p},((e,o)=>{const n=g({pageNumber:o+1,page:t,pages:p});return n===u.Number?(0,i.jsx)("a",Object.assign({href:f(o+1),class:[l.default.paginationButton,o+1===t?l.default.paginationButtonActive:""].join(" ")},{children:o+1}),o):n===u.Ellipsis?(0,i.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:l.default.paginationEllipsis},{children:[(0,i.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,i.jsx)("circle",{cx:"19",cy:"12",r:"1"}),(0,i.jsx)("circle",{cx:"5",cy:"12",r:"1"})]}),o):null})),(0,i.jsx)("a",Object.assign({href:f(t===p?t:t+1),class:[l.default.paginationButton,t===p&&l.default.paginationButtonInactive].join(" ")},{children:(0,i.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},{children:(0,i.jsx)("path",{d:"m9 18 6-6-6-6"})}))}))]}))}var u;t.PaginatedCollection=function({collection:e,totalProducts:t,page:o,productsPerPage:n,useSharedState:l}){return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(s.Collection,{collection:e,useSharedState:l}),t>e.products.length&&(0,i.jsx)(d,{totalProducts:t,page:o,productsPerPage:n,useSharedState:l})]})},function(e){e[e.Number=0]="Number",e[e.Ellipsis=1]="Ellipsis",e[e.None=2]="None"}(u||(u={}));const g=({pageNumber:e,page:t,pages:o})=>1===e||e===o||e===t||Math.abs(e-t)<=1?u.Number:2==Math.abs(e-t)?u.Ellipsis:u.None},31:(e,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useIsHydrated=void 0;const n=o(3);t.useIsHydrated=function(){const[e,t]=(0,n.useState)(!1);return(0,n.useEffect)((()=>{t(!0)}),[]),e}}},e=>{e.O(0,[1,2,3,4,6,5,7,8,9,13,12,10,15,16,18],(()=>e(e.s=189))),e.O()}]);