(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4638],{5032:(e,s,n)=>{Promise.resolve().then(n.bind(n,2078))},2078:(e,s,n)=>{"use strict";n.d(s,{default:()=>m});var l=n(5155),r=n(4608),i=n(8830),a=n(9547),t=n(5950),c=n(6182),h=n(2994),o=n(1650),d=n(7691),x=n(9371),p=n(5786),j=n(3709),_=n(7266),N=n(5887),f=n(1866),u=n(6046);function m(){let[e,{toggle:s}]=(0,p.j)(),n=(0,_.useTranslations)(),m=(0,_.useLocale)(),S=(0,N.rd)(),E=(0,N.a8)(),w=(0,u.useSearchParams)(),v=(0,j.XH)({fixedAt:60});return(0,l.jsxs)(r.G,{layout:"alt",header:{height:60,collapsed:!v,offset:!1},navbar:{width:300,breakpoint:"sm",collapsed:{mobile:!e,desktop:!e}},padding:"md",children:[(0,l.jsx)(r.G.Header,{children:(0,l.jsx)(i.Group,{h:"100%",px:"md",justify:"space-between",children:(0,l.jsxs)(i.Group,{justify:"space-between",style:{flex:1},children:[!e&&(0,l.jsx)(a.w,{opened:!1,onClick:s,size:"sm",hiddenFrom:"sm"}),(0,l.jsxs)(i.Group,{ml:"0",gap:"md",visibleFrom:"sm",children:[(0,l.jsx)(N.N_,{prefetch:!0,href:"/",children:(0,l.jsx)(t.N,{children:n("home")})}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/movies",children:(0,l.jsx)(t.N,{children:n("movies")})}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/tv-shows",children:(0,l.jsx)(t.N,{children:n("tvshows")})}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/contact",children:(0,l.jsx)(t.N,{children:n("contact")})})]}),(0,l.jsx)(i.Group,{align:"center",children:(0,l.jsx)(f.J,{defaultLocaleDisplayName:N.hT.FROM_LANG_TAG[m].nativeDisplayName,onLocaleSelect:e=>{null!=e&&(S.replace("".concat(E,"?").concat(w.toString()),{locale:e}),S.refresh())}})})]})})}),(0,l.jsxs)(r.G.Navbar,{p:"md",children:[(0,l.jsx)(i.Group,{children:(0,l.jsx)(a.w,{opened:!0,onClick:s,size:"sm"})}),(0,l.jsx)(c.$,{h:"xl"}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/",children:(0,l.jsx)(t.N,{children:n("home")})}),(0,l.jsx)(c.$,{h:"xl"}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/movies",children:(0,l.jsx)(t.N,{children:n("movies")})}),(0,l.jsx)(c.$,{h:"xl"}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/tv-shows",children:(0,l.jsx)(t.N,{children:n("tvshows")})}),(0,l.jsx)(c.$,{h:"xl"}),(0,l.jsx)(N.N_,{prefetch:!0,href:"/contact",children:(0,l.jsx)(t.N,{children:n("contact")})}),(0,l.jsx)(c.$,{h:"xl"})]}),(0,l.jsx)(r.G.Main,{children:(0,l.jsx)(h.m,{size:"xl",children:(0,l.jsxs)(o.B,{align:"center",justify:"center",h:"100vh",children:[(0,l.jsx)(d.h,{size:"h2",children:n("contactUsText")}),(0,l.jsx)("a",{href:"mailto:tracenoon@gmail.com",children:(0,l.jsx)(x.E,{size:"xl",children:"tracenoon@gmail.com"})})]})})})]})}},1866:(e,s,n)=>{"use strict";n.d(s,{J:()=>x});var l=n(5155),r=n(5887),i=n(1498),a=n(4304),t=n(8830),c=n(6694),h=n(5950),o=n(156),d=n(2115);function x(e){let[s,n]=(0,d.useState)(e.defaultLocaleDisplayName),x=(0,i.B)({onDropdownClose:()=>x.resetSelectedOption(),onDropdownOpen:e=>{"keyboard"===e?x.selectActiveOption():x.updateSelectedOptionIndex("active")}}),p=Object.keys(r.hT.FROM_NATIVE_DISPLAY_NAME).map(e=>(0,l.jsx)(a.G.Option,{value:e,active:e===s,children:(0,l.jsxs)(t.Group,{gap:"xs",children:[(0,l.jsx)("span",{children:e}),e===s&&(0,l.jsx)(c.S,{size:12})]})},r.hT.FROM_NATIVE_DISPLAY_NAME[e].langTag));return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(a.G,{store:x,position:"bottom-end",width:"auto",withArrow:!0,withinPortal:!1,onOptionSubmit:s=>{x.closeDropdown(),n(s),e.onLocaleSelect(r.hT.FROM_NATIVE_DISPLAY_NAME[s].langTag)},children:[(0,l.jsx)(a.G.Target,{children:(0,l.jsx)(h.N,{style:{alignItems:"center",display:"inline-flex"},variant:"default",size:"lg","aria-label":"todo",onClick:()=>x.toggleDropdown(),children:(0,l.jsx)(o.A,{})})}),(0,l.jsx)(a.G.Dropdown,{children:(0,l.jsx)(a.G.Options,{children:p})})]})})}},5887:(e,s,n)=>{"use strict";n.d(s,{N_:()=>t,a8:()=>h,hT:()=>i,rd:()=>o});var l=n(5433),r=n(1182);class i{constructor(e,s,n){this.key=e,this.langTag=s,this.nativeDisplayName=n}}i.EN_US=new i("EN_US","en-US","English (US)"),i.RU=new i("RU","ru","Русский"),i.HY=new i("HY","hy","Հայերեն"),i.ES_ES=new i("ES_ES","es-ES","Espa\xf1ola (espa\xf1a)"),i.FR_FR=new i("FR_FR","fr-FR","Fran\xe7ais (France)"),i.IT=new i("IT","it","Italiana"),i.HI=new i("HI","hi","हिन्दी"),i.FROM_LANG_TAG={ru:i.RU,"en-US":i.EN_US,hy:i.HY,"es-ES":i.ES_ES,"fr-FR":i.FR_FR,it:i.IT,hi:i.HI},i.FROM_NATIVE_DISPLAY_NAME={"English (US)":i.EN_US,Русский:i.RU,Հայերեն:i.HY,"Espa\xf1ola (espa\xf1a)":i.ES_ES,"Fran\xe7ais (France)":i.FR_FR,Italiana:i.IT,हिन्दी:i.HI};let a=(0,l.o)({locales:Object.keys(i.FROM_LANG_TAG),defaultLocale:"en-US",localePrefix:"as-needed"}),{Link:t,redirect:c,usePathname:h,useRouter:o,getPathname:d}=(0,r.xp)(a)}},e=>{var s=s=>e(e.s=s);e.O(0,[2545,758,7618,8830,7391,8441,1517,7358],()=>s(5032)),_N_E=e.O()}]);