PageSourceSearch

https://cdn.dominos.co.il/hosting/prod/499baa1e-363d-4590-9355-89a…/static/chunks/1968.4532d644b35aa93a.js

js dominos.co.il collected 2026-09-24 10:11:47 UTC 3,037 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1968],{17517:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={src:"https://cdn.dominos.co.il/hosting/prod/499baa1e-363d-4590-9355-89abae6ba990/_next/static/media/drop-down.977ca36a.svg",height:7,width:12,blurWidth:0,blurHeight:0}},18140:e=>{e.exports={"select-wrapper":"SelectLang_select-wrapper__b9HG1",select_button:"SelectLang_select_button__kMIwA","dropdown-img":"SelectLang_dropdown-img__Z8ab4",active:"SelectLang_active__1rhyi",disabled:"SelectLang_disabled__Zt5Om",dropdown_menu:"SelectLang_dropdown_menu__evBhh","select-option":"SelectLang_select-option__N64Mp"}},71968:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var n=a(37876),l=a(49995),c=a(14232),i=a(17517),r=a(18140),s=a.n(r),o=a(81404),d=a(89099),u=a(59323),p=a(2171);let _=function(e){let{onChange:t,name:a,className:r="",dropDownImg:_=i.A,extraStyles:h={},additionalImg:m="",customActiveClass:b="",tabIndex:g=0,onHomepageClick:w}=e,v=(0,c.useRef)(),f=(0,o.Ay)(),x=f((0,p.d4)(e=>e.generalData.lang)),k=(0,d.useRouter)(),E=[{id:u.Y.HEBREW.name,text:f("he"),locale:u.Y.HEBREW.nextName},{id:u.Y.ENGLISH.name,text:f("en"),locale:u.Y.ENGLISH.nextName}],L=e=>{var t,a;return(null!=(t=s()[e])?t:"")+" "+(null!=(a=h[e])?a:"")},[N,S]=(0,c.useState)(!1),[y,A]=(0,c.useState)(-1),[j,D]=(0,c.useState)({id:-1,text:x}),H=(0,c.useRef)();(0,c.useEffect)(()=>(N&&document.addEventListener("keyup",C),()=>{document.removeEventListener("keyup",C)}),[N]);let C=(0,c.useCallback)(()=>{var e;(null==(e=v.current)?void 0:e.contains(document.activeElement))||S(!1)},[]),R=e=>{-1!==e&&H.current.children[e].focus()},I=N?L("active"):"";return(0,n.jsxs)("div",{ref:v,onKeyDown:e=>{let n=y,l=j;switch(e.key){case"ArrowDown":N&&(e.preventDefault(),n+1>E.length-1?n=0:n++,R(n),A(n),S(!0));break;case"ArrowUp":N&&(e.preventDefault(),n-1<0?n=E.length-1:n--,R(n),A(n),S(!0));break;case"Enter":(l=E[n])&&-1!==n&&("function"==typeof t&&t(a,l.id,l.text),D(l),A(-1)),S(!1);break;case"Escape":S(!1),A(-1);break;default:var c;(null==(c=v.current)?void 0:c.contains(document.activeElement))||(S(!1),A(-1))}},className:(0,l.A)(L("select-wrapper"),N?b:"",I,r),children:[(0,n.jsxs)("button",{className:(0,l.A)(L("select_button")),onClick:e=>{e.stopPropagation(),S(!N),"function"==typeof w&&w()},"aria-label":f("accessibility_chooseLanguage"),"aria-haspopup":"true","aria-expanded":N,type:"button",tabIndex:g,children:[m&&(0,n.jsx)("img",{src:m.src,alt:"","aria-hidden":!0}),x,(0,n.jsx)("img",{src:_.src,className:L("dropdown-img"),alt:f("accessibility_imageAlt_dropDown")})]}),(0,n.jsx)("ul",{ref:H,className:L("dropdown_menu"),role:"list",children:E.map((e,t)=>{let a="",c="";e.id===j.id&&(a=L("active")),t===y&&(c=L("highlight"));let i="";return e.locale!==k.defaultLocale&&(i+="/"+e.locale),i+=k.asPath,(0,n.jsx)("li",{hidden:!N,role:"listitem","aria-hidden":!N,"aria-label":e.text,children:(0,n.jsx)("a",{href:i,className:(0,l.A)(L("select-option"),a,c),onClick:e=>{i===window.location.pathname&&(e.preventDefault(),S(!1))},children:e.text})},t)})})]})}}}]);

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.