1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,171942,e=>{"use strict";let s=new Map([...e.i(388385).PRODUCTS.map(e=>({id:e.id,url:e.url,partner:e.source||"×× ×ת ש×תפ×",relationship:"LULIES"===e.source?"owned":"affiliate"}))].map(e=>[e.id,e]));e.s(["OUTBOUND_REL",0,"sponsored nofollow noopener","catalogDisclosureShort",0,function(){let e=new Set([...s.values()].map(e=>e.relationship)),r=["×¢××× ×× ×××× ×§×ש××¨× ×©×תפ×× â ר×××©× ×ר×× ×¢×©××× ××××ת ×××ª× × ××¢×××, ××× ×¢××ת × ×ספת ×××."];return e.has("sponsored")&&r.push("××צר×× ×תש××× ×ס××× ×× ×ת×××ת."),r.join(" ")},"goHref",0,function(e){return`/go/${encodeURIComponent(e)}/`}])},298198,e=>{"use strict";var s=e.i(843476);e.s(["SaveToggle",0,function({on:e,onToggle:r,big:t,labelOn:l="×סר ××ש××ר××",labelOff:i="ש××ר×"}){return(0,s.jsxs)("button",{type:"button",className:`bm-save-btn ${e?"saved":""} ${t?"bm-save-big":""}`,onClick:e=>{e.preventDefault(),e.stopPropagation(),r()},"aria-label":t?void 0:e?l:i,"aria-pressed":e,title:e?l:i,children:[(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:e?"currentColor":"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.6l-1-1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.6 1-1a5.5 5.5 0 0 0 0-7.8z"})}),t&&(0,s.jsx)("span",{children:e?l:i})]})}])},865611,e=>{"use strict";var s=e.i(271645),r=e.i(439022);let t=new Set(e.i(388385).PRODUCTS.map(e=>e.id)),l=null;function i(e){if(!Array.isArray(e))return[];let s=new Set;for(let r of e){if("string"!=typeof r)continue;let e=r.trim();t.has(e)&&s.add(e)}return[...s]}function a(e,s){let r=i(e);return r.includes(s)?{list:r.filter(e=>e!==s),result:"removed"}:t.has(s)?r.length>=24?{list:r,result:"full"}:{list:[...r,s],result:"added"}:{list:r,result:"unknown"}}function n(e,s){let r=i(e),t=0,l=0;for(let e of i(s))if(!r.includes(e)){if(r.length>=24){l++;continue}r.push(e),t++}return{list:r,added:t,skipped:l}}e.s(["PRODUCT_LIST_MAX",0,24,"sharedFromSearch",0,function(e){let s=new URLSearchParams(e).get("p");if(null===s)return{present:!1,ids:[],missing:0};let r=s.split(",").map(e=>e.trim()).filter(Boolean),l=new Set(r.filter(e=>!t.has(e))).size;return{present:!0,ids:i(r).slice(0,24),missing:l}},"useProductList",0,function(){let[e,t]=(0,r.useLocal)("bm_product_list_v1",[]),o=(0,s.useMemo)(()=>i(e),[e]),c=o.length>=24;(0,s.useEffect)(()=>{let s=JSON.stringify(e);s!==JSON.stringify(o)&&s!==l&&(l=s,t(e=>i(e)))},[e,o,t]);let d=(0,s.useCallback)(e=>o.includes(e),[o]),u=(0,s.useCallback)(e=>{let{result:s}=a(o,e);return("added"===s||"removed"===s)&&t(s=>a(s,e).list),s},[o,t]),m=(0,s.useCallback)(e=>t(s=>i(s).filter(s=>s!==e)),[t]),h=(0,s.useCallback)(e=>{let{added:s,skipped:r}=n(o,e);return t(s=>n(s,e).list),{added:s,skipped:r}},[o,t]);return{ids:o,full:c,has:d,toggle:u,remove:m,addAll:h}}])},837283,e=>{"use strict";var s=e.i(843476),r=e.i(271645),t=e.i(522016),l=e.i(215756),i=e.i(162147),a=e.i(388385),n=e.i(171942),o=e.i(865611),c=e.i(298198);let d=new Intl.NumberFormat("he-IL");function u({p:e,eager:d=!1}){let{has:m,toggle:h,full:p}=(0,o.useProductList)(),f=m(e.id),[b,g]=(0,r.useState)(!1);return(0,s.jsxs)("div",{className:"bm-prod-card",children:[(0,s.jsxs)("a",{className:`bm-prod-media ${e.image?"":"bm-prod-media-empty bm-tone-lavender"}`,href:(0,n.goHref)(e.id),target:"_blank",rel:n.OUTBOUND_REL,"aria-label":e.badge?`${e.title} â ${e.badge}`:e.title,children:[e.image?(0,s.jsx)("img",{src:(0,a.productImage)(e.image),alt:e.title,loading:d?"eager":"lazy",fetchPriority:d?"high":void 0,width:320,height:320}):(0,s.jsx)(l.BmGlyph,{name:"bag",tone:"lavender",size:52}),e.badge&&(0,s.jsx)("span",{className:"bm-prod-badge",children:e.badge})]}),(0,s.jsxs)("div",{className:"bm-prod-body",children:[(0,s.jsx)("h3",{className:"bm-prod-title",children:e.title}),e.bestFor&&(0,s.jsxs)("p",{className:"bm-prod-bestfor",children:[(0,s.jsx)("strong",{children:"××× ×ת×××"})," ",e.bestFor]}),e.desc&&(0,s.jsx)("p",{className:"bm-prod-desc",children:e.desc}),e.source&&(0,s.jsxs)("span",{className:"bm-prod-source",children:["×-",e.source]}),(0,s.jsxs)("div",{className:"bm-prod-footer",children:[e.price&&(0,s.jsx)("span",{className:"bm-prod-price bm-serif",children:e.price}),(0,s.jsx)("a",{className:"bm-prod-buy",href:(0,n.goHref)(e.id),target:"_blank",rel:n.OUTBOUND_REL,children:"×צפ××× ×××צר"})]}),(0,s.jsx)(c.SaveToggle,{on:f,onToggle:()=>g("full"===h(e.id)),big:!0,labelOn:"××¡×¨× ××רש××× ×©××",labelOff:"×××¡×¤× ×רש××× ×©××"}),b&&p&&!f&&(0,s.jsxs)("p",{className:"bm-remind-warn",role:"status",children:[(0,s.jsx)(i.Icon,{name:"alert-triangle",size:15}),(0,s.jsxs)("span",{children:["×רש××× ×××× â ×פשר ×ש××ר ×¢× ",o.PRODUCT_LIST_MAX," ××צר××. ××× ×××ס××£ ×ת ××, ×ס××¨× ×§××× ××צר"," ",(0,s.jsx)(t.default,{href:"/products/list/",children:"××רש××× ×©××"}),"."]})]})]})]})}e.s(["ProductBrowser",0,function({groups:e,eagerIds:t}){let[l,i]=(0,r.useState)(""),[n,o]=(0,r.useState)(""),[c,m]=(0,r.useState)(""),[h,p]=(0,r.useState)("default"),f=(0,r.useMemo)(()=>new Set(t),[t]),b=(0,r.useMemo)(()=>e.flatMap(e=>e.items),[e]),g=(0,r.useMemo)(()=>{let e=new Map;for(let s of b)s.source&&e.set(s.source,(e.get(s.source)??0)+1);return[...e.entries()].sort((e,s)=>s[1]-e[1])},[b]),j=l.trim(),x=e=>(!n||e.category===n)&&(!c||e.source===c)&&(!j||`${e.title} ${e.bestFor??""} ${e.desc??""}`.includes(j)),v=(0,r.useMemo)(()=>b.filter(x),[b,n,c,j]),N=(0,r.useMemo)(()=>
1{if("default"===h)return v;let e="cheap"===h?1:-1;return[...v].sort((s,r)=>{let t=(0,a.priceOf)(s),l=(0,a.priceOf)(r);return null===t&&null===l?0:null===t?1:null===l?-1:(t-l)*e})},[v,h]),y=!!(l||n||c);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"bm-filter",children:[(0,s.jsxs)("div",{className:"bm-filter-row",children:[(0,s.jsxs)("label",{className:"bm-filter-field bm-filter-search",children:[(0,s.jsx)("span",{className:"bm-sr-only",children:"××פ×ש ××צר"}),(0,s.jsx)("input",{type:"search",value:l,onChange:e=>i(e.target.value),placeholder:"××פ×ש ××צרâ¦","aria-label":"××פ×ש ××צר"})]}),(0,s.jsxs)("label",{className:"bm-filter-field",children:[(0,s.jsx)("span",{children:"ס×ר"}),(0,s.jsxs)("select",{value:h,onChange:e=>p(e.target.value),children:[(0,s.jsx)("option",{value:"default",children:"××¤× ×§×××ר××"}),(0,s.jsx)("option",{value:"cheap",children:"×××××× ×§×××"}),(0,s.jsx)("option",{value:"dear",children:"××קר×× ×§×××"})]})]}),g.length>1&&(0,s.jsxs)("label",{className:"bm-filter-field",children:[(0,s.jsx)("span",{children:"×× ×ת"}),(0,s.jsxs)("select",{value:c,onChange:e=>m(e.target.value),children:[(0,s.jsx)("option",{value:"",children:"×× ××× ×××ת"}),g.map(([e,r])=>(0,s.jsxs)("option",{value:e,children:[e," (",r,")"]},e))]})]})]}),(0,s.jsx)("div",{className:"bm-filter-chips",children:e.map(e=>(0,s.jsxs)("button",{type:"button",className:`bm-filter-chip ${n===e.category?"is-on":""}`,onClick:()=>o(n===e.category?"":e.category),"aria-pressed":n===e.category,children:[(0,s.jsx)("span",{children:e.category}),(0,s.jsx)("span",{className:"bm-filter-chip-n",children:e.items.length})]},e.category))}),(0,s.jsxs)("p",{className:"bm-filter-count",children:[y?`${d.format(v.length)} ×ת×× ${d.format(b.length)} ××צר××`:`${d.format(b.length)} ××צר××`,y&&(0,s.jsx)("button",{type:"button",className:"bm-filter-clear",onClick:()=>{i(""),o(""),m("")},children:"× ××§××"})]})]}),0===N.length&&(0,s.jsx)("p",{className:"bm-filter-empty",children:"××× ××צר ש×ת××× ×ס×× ×× ×××. × ×¡× ××× × ××ר ×× × ×§× ×ת ×ס×× ××."}),"default"!==h||y?(0,s.jsx)("div",{className:"bm-prod-group",children:(0,s.jsx)("div",{className:"bm-prod-grid",children:N.map(e=>(0,s.jsx)(u,{p:e,eager:f.has(e.id)},e.id))})}):e.map((e,r)=>(0,s.jsxs)("div",{id:`cat-${r}`,className:"bm-prod-group",children:[(0,s.jsx)("h2",{className:"bm-serif bm-prod-group-title",children:e.category}),(0,s.jsx)("div",{className:"bm-prod-grid",children:e.items.map(e=>(0,s.jsx)(u,{p:e,eager:f.has(e.id)},e.id))})]},e.category))]})},"ProductCard",0,u])},458914,e=>{"use strict";var s=e.i(843476),r=e.i(522016),t=e.i(162147),l=e.i(865611);e.s(["ProductListLink",0,function(){let{ids:e}=(0,l.useProductList)();return(0,s.jsxs)(r.default,{href:"/products/list/",className:"bm-back-btn",children:[(0,s.jsx)(t.Icon,{name:"heart"}),e.length>0?`×רש××× ×©×× (${e.length})`:"×רש××× ×©××"]})}])}]);
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.