PageSourceSearch

https://newland.tv/_next/static/chunks/app/(site)/layout-1cbe09f80…?dpl=dpl_7kaMXtsbSA5SxfaVnqbvsg2eFEpz

js newland.tv collected 2026-10-04 07:08:13 UTC 25,312 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6750],{60919:(e,t,n)=>{Promise.resolve().then(n.bind(n,75456)),Promise.resolve().then(n.bind(n,40023)),Promise.resolve().then(n.bind(n,68881)),Promise.resolve().then(n.bind(n,9745)),Promise.resolve().then(n.bind(n,69644)),Promise.resolve().then(n.bind(n,71e3)),Promise.resolve().then(n.bind(n,50006)),Promise.resolve().then(n.bind(n,86186))},75456:(e,t,n)=>{"use strict";n.d(t,{default:()=>U});var r=n(64390),a=n(91655),l=n(81276),s=n.n(l),i=n(18694),c=n(14545),o=n(93032),d=n(92112),u=n(65907);let m=(0,u.createServerReference)("607068cdcefbeed16239d81c39252bc004461aa402",u.callServer,void 0,u.findSourceMapURL,"onSubscribe"),h=()=>{let[e,t]=(0,i.useState)(""),[n,a]=(0,i.useState)(!1),[l]=(0,i.useState)({status:0,message:""}),s=(0,c.usePathname)();(0,i.useEffect)(()=>{t("")},[s,t]);let o=async e=>{a(!0),t("");try{let n=await m(l,e);if(202===n.status||200===n.status){t("Thanks for subscribing!");let e=document.querySelector("form");null==e||e.reset()}else t(n.message||"Something went wrong. Please try again.")}catch(e){console.error(e),t("An error occurred. Please try again later.")}finally{a(!1)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col gap-[0.4rem]",children:[(0,r.jsx)("h3",{className:"caption-uppercase",children:"Newsletter"}),(0,r.jsx)("p",{className:"body",children:"Want to get updated? Subscribe to our newsletter:"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-[0.8rem]",children:[(0,r.jsxs)("form",{action:o,className:"flex gap-[0.8rem] items-stretch",children:[(0,r.jsx)("input",{id:"email",name:"email",required:!0,type:"email",placeholder:"Email address","aria-label":"Email address",className:"caption-large border border-[currentColor] py-[0.8rem] px-[1.2rem] w-full text-[currentColor]"}),(0,r.jsx)("button",{disabled:n,type:"submit",className:"caption-large border border-[currentColor] py-[0.8rem] px-[1.2rem] text-[currentColor]  transition-colors duration-100 ease-out",children:"Submit"})]}),e&&(0,r.jsx)("p",{className:"caption-large",children:e})]})]})};function p(e){let{locations:t,socials:n,credits:a,menu:l,className:i}=e;return(0,r.jsxs)("div",{className:"flex flex-col gap-[8.0rem] lg:gap-[29.5rem] ".concat(i),children:[(0,r.jsxs)("div",{className:"grid-default gap-y-[1.6rem]",children:[null==t?void 0:t.map(e=>(0,r.jsx)(x,{location:e},e.id)),(0,r.jsx)("div",{className:"col-span-6 lg:col-span-8 lg:col-start-17 flex flex-col gap-[2.4rem] ".concat(t?"mt-[4.8rem] lg:mt-0":""),children:(0,r.jsx)(h,{})})]}),(0,r.jsxs)("div",{className:"grid-default gap-y-[1.6rem] items-end",children:[(0,r.jsx)("div",{className:"hidden lg:block lg:col-span-4",children:(0,r.jsx)("p",{className:"caption-large",children:a})}),(0,r.jsx)("div",{className:"col-span-6 lg:col-span-4",children:(0,r.jsx)("ul",{className:"flex flex-col gap-[0.4rem]",children:null==n?void 0:n.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)("a",{href:e.url,className:"caption-large block link-tertiary",children:e.label})},e.id))})}),(0,r.jsxs)("div",{className:"col-span-6 lg:col-span-8 lg:col-start-17 flex justify-between items-end",children:[(0,r.jsx)("ul",{className:"flex flex-col gap-[0.4rem]",children:null==l?void 0:l.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(s(),{href:e.url,className:"caption-large block link-tertiary",children:e.label})},e.id))}),(0,r.jsxs)("a",{href:"https://badland.tv",className:"group hidden lg:block relative caption-large link-tertiary",children:[(0,r.jsx)("p",{className:"pointer-events-none text-blue absolute right-[calc(100%+1.6rem)] bottom-0 w-[16.4rem] invisible opacity-0 group-hover:visible group-hover:opacity-100 transition-opacity duration-100 ease-out",children:"BAD LAND is a creative management and production company based in Copenhagen and Stockholm. Besides representing prominent artists, BAD LAND handles full-service photo and film productions."}),"Badland.tv"]})]}),(0,r.jsxs)("div",{className:"col-span-6 flex justify-between items-end lg:hidden",children:[(0,r.jsx)("p",{className:"caption-large",children:a}),(0,r.jsx)("a",{href:"https://badland.tv",className:"caption-large link-tertiary",children:"Badland.tv"})]})]})]})}function x(e){let{location:t}=e;return(0,r.jsx)("div",{className:"col-span-3 lg:col-span-4",children:(0,r.jsx)("div",{className:"grid grid-cols-4 gap-default",children:(0,r.jsxs)("div",{className:"col-span-3 flex flex-col gap-[0.4rem]",children:[(0,r.jsx)("h3",{className:"caption-uppercase",children:t.name}),(0,r.jsx)("address",{className:"body not-italic flex flex-col gap-[0.8rem]",dangerouslySetInnerHTML:{__html:(0,o.jZ)(t.address,["a"])}}),(0,r.jsxs)("ul",{className:"caption-large",children:[t.email&&(0,r.jsx)("li",{children:(0,r.jsx)(s(),{href:"mailto:".concat(t.email),className:"link-tertiary",children:t.email})}),t.phone&&(0,r.jsx)("li",{children:(0,r.jsx)(s(),{href:"tel:".concat(t.phone),dangerouslySetInnerHTML:{__html:(0,o.jZ)(t.phone,["a"])},className:"link-tertiary"})})]})]})})})}function g(e){let{locations:t,socials:n,credits:a,menu:l,video:s}=e;return(0,r.jsxs)("footer",{"data-header-theme":"transparent",className:"relative",children:[(0,r.jsx)("div",{className:"absolute inset-0",children:(0,r.jsxs)("div",{className:"sticky top-0 h-screen",children:[(0,r.jsx)(d.A,{work:s,active:!0,mobileRes:"low",warmupRootMargin:"3200px 0px",warmupPreloadMode:"auto"}),(0,r.jsx)("div",{className:"absolute inset-0 bg-black/40"})]})}),(0,r.jsx)("div",{className:"relative pt-[100svh] pb-[1.6rem] wrapper text-blue",children:(0,r.jsx)(p,{locations:t,socials:n,credits:a,menu:l})})]})}var f=n(88671);let v=(0,u.createServerReference)("60070f54572b167f1960f15faa59c22a5c25178e38",u.callServer,void 0,u.findSourceMapURL,"updateItemQuantity");var w=n(9745);function b(e){let{line:t}=e,[n,a]=(0,i.useState)(t.quantity),l=(0,i.useId)(),{cart:s,updateCartItem:c}=(0,w.qu)(),[o,d]=(0,i.useActionState)(v,null),u=e=>d({merchandiseId:t.merchandise.id,quantity:"plus"===e?t.quantity+1:t.quantity-1,cartId:null==s?void 0:s.id});return(0,r.jsxs)("div",{className:"flex items-center gap-[0.4rem]",children:[(0,r.jsx)("form",{action:async()=>{c(t.merchandise.id,"minus"),await u("minus")},children:(0,r.jsx)("button",{name:"minus",type:"submit","aria-label":"Decrease quantity",className:"body w-[1.6rem] h-[1.6rem] flex-center  hover:text-black transition-colors duration-100 ease-out",children:(0,r.jsx)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current",children:(0,r.jsx)("rect",{x:"4",y:"7.92578",width:"8",he
1ight:"1.15"})})})}),(0,r.jsx)("input",{className:"w-[3ch] text-center appearance-none body",type:"number",name:"quantity",size:2,readOnly:!0,value:t.quantity,min:"1",step:"1",id:l,"aria-label":"Quantity for new-land x AATON Jacket"}),(0,r.jsx)("form",{action:async()=>{c(t.merchandise.id,"plus"),await u("plus")},children:(0,r.jsx)("button",{name:"plus",type:"submit","aria-label":"Increase quantity",className:"body w-[1.6rem] h-[1.6rem] flex-center hover:text-black transition-colors duration-100 ease-out",children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"17",fill:"none",viewBox:"0 0 16 17",className:"fill-current",children:[(0,r.jsx)("path",{d:"M4 7.92578h8v1.15H4z"}),(0,r.jsx)("path",{d:"M8.5752 4.5v8h-1.15v-8z"})]})})})]})}var j=n(44415);let y=(0,u.createServerReference)("60a8118ddb028d3e6defa0b8a1ac1c6f476d789800",u.callServer,void 0,u.findSourceMapURL,"removeItem");function N(e){let{item:t}=e,[n,a]=(0,i.useActionState)(y,null),l=t.merchandise.id,{cart:s,updateCartItem:c}=(0,w.qu)(),o=a.bind(null,{merchandiseId:l,cartId:null==s?void 0:s.id});return(0,r.jsxs)("form",{action:async()=>{c(l,"delete"),await o()},children:[(0,r.jsx)("button",{type:"submit","aria-label":"Remove cart item",className:"body  hover:text-black transition-colors duration-100 ease-out",children:"Remove"}),(0,r.jsx)("p",{"aria-live":"polite",className:"sr-only",role:"status",children:n})]})}function k(e){let{line:t}=e;return(0,r.jsxs)("div",{className:"grid grid-cols-6 lg:grid-cols-8 gap-default",children:[(0,r.jsx)("div",{className:"col-span-2",children:(0,r.jsx)(s(),{href:"/shop/".concat(t.merchandise.product.handle),"aria-label":"View product ".concat(t.merchandise.product.title),className:"relative block aspect-[3/4] border border-light-grey",children:t.merchandise.image&&(0,r.jsx)(j.Media,{media:t.merchandise.image,className:"absolute inset-0 w-full h-full object-contain"})})}),(0,r.jsxs)("div",{className:"col-span-4 lg:col-span-6 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-[1.6rem]",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-[0.4rem]",children:[(0,r.jsx)(s(),{href:"/shop/".concat(t.merchandise.product.handle),className:"body",children:t.merchandise.product.title}),(0,r.jsx)("p",{className:"body",children:(0,f.A)(Number(t.cost.totalAmount.amount),"EUR","en-EN")})]}),(0,r.jsx)("div",{className:"flex flex-col gap-[0.4rem]",children:t.merchandise.selectedOptions&&t.merchandise.selectedOptions.filter(e=>"Title"!==e.name).map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"caption-uppercase",children:e.name}),(0,r.jsx)("p",{className:"body px-[0.4rem]",children:e.value})]},e.name))})]}),(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"flex gap-[2.4rem]",children:[(0,r.jsx)(b,{line:t}),(0,r.jsx)(N,{item:t})]})})]})]})}function C(e){let{isOpen:t,onClose:n,currentTab:a,navigation:l,footer:o,cart:d}=e,u=(0,c.usePathname)(),m=(0,i.useRef)(null);return(0,i.useEffect)(()=>{n()},[u,n]),(0,i.useEffect)(()=>{m.current&&t&&(m.current.scrollTop=0)},[t]),(0,r.jsxs)("nav",{ref:m,className:"fixed inset-0 w-full h-full bg-blue/98 text-white pt-[6.4rem] z-40 transition-opacity duration-100 ease-out overflow-y-auto overscroll-contain ".concat(t?"opacity-100":"pointer-events-none opacity-0"),children:[(0,r.jsx)("div",{className:"bg-blue fixed top-0 left-0 w-full h-[4.2rem] lg:hidden"}),(0,r.jsxs)("div",{className:"wrapper flex flex-col justify-between gap-[6.4rem] lg:gap-[4.0rem] h-full",children:[d&&(0,r.jsxs)("div",{className:"h-full lg:h-auto lg:min-h-[70%] ".concat("cart"===a?"flex flex-col justify-between lg:justify-start gap-[0.8rem]":"hidden"),children:[(0,r.jsxs)("p",{className:"caption-uppercase",children:["Cart (",d.totalQuantity,")"]}),(0,r.jsxs)("div",{className:"grid-default h-full justify-between lg:justify-start",children:[(0,r.jsx)("div",{className:"col-span-6 lg:col-span-8 flex flex-col gap-[0.8rem]",children:d.lines.map(e=>e&&(0,r.jsx)(k,{line:e},e.merchandise.id))}),(0,r.jsxs)("div",{className:"col-span-6 lg:col-span-7 lg:col-start-17 flex flex-col justify-end lg:justify-start gap-[4.0rem] pb-[1.6rem]",children:[(0,r.jsxs)("div",{className:"grid col
1-span-6 lg:grid-cols-7 gap-default gap-y-[0.8rem]",children:[(0,r.jsx)("div",{className:"col-span-4",children:(0,r.jsx)("p",{className:"body",children:"Subtotal"})}),(0,r.jsx)("div",{className:"col-span-3",children:(0,r.jsx)("p",{className:"body",children:(0,f.A)(Number(d.cost.subtotalAmount.amount),"EUR","en-EN")})}),(0,r.jsx)("div",{className:"col-span-3",children:(0,r.jsxs)("p",{className:"caption",children:["When checking out you agree to our"," ",(0,r.jsx)("a",{href:"#",children:"Terms & Conditions"})]})})]}),(0,r.jsx)("a",{href:null==d?void 0:d.checkoutUrl,className:"button-primary text-center body",children:"Proceed to Checkout"})]})]})]}),(0,r.jsx)("div",{className:"flex lg:hidden flex-col gap-[1.6rem] ".concat("cart"===a?"hidden":""),children:l.map(e=>(0,r.jsx)("div",{children:(0,r.jsx)(s(),{href:"/".concat(e.slug),className:"body",children:e.name})},e.id))}),(0,r.jsx)(p,{socials:o.socials,credits:o.credits,menu:o.menu,className:"".concat("cart"===a?"hidden":""," pt-[12.0rem] lg:hidden pb-[1.6rem]")}),(0,r.jsx)("div",{onMouseEnter:n,className:"hidden flex-1 lg:flex items-end justify-center pb-[2.0rem]",children:(0,r.jsx)("button",{onClick:n,type:"button",className:"caption-large",children:"Close"})})]})]})}var S=n(40023),R=n(68881);function E(e){let{locations:t,className:n}=e,{activeLocation:a,setActiveLocation:l}=(0,R.i)();return(0,r.jsxs)("div",{className:"items-center gap-[0.6rem] ".concat(n),children:[(0,r.jsx)("svg",{className:"fill-current",width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 4C4 2.89543 4.89543 2 6 2C7.10457 2 8 2.89543 8 4C8 4.93192 7.36261 5.71497 6.5 5.93699V9.5H5.5V5.93699C4.63739 5.71497 4 4.93192 4 4ZM6 5C6.55228 5 7 4.55228 7 4C7 3.44772 6.55228 3 6 3C5.44772 3 5 3.44772 5 4C5 4.55228 5.44772 5 6 5Z"})}),(0,r.jsx)("div",{className:"group relative caption-large",children:(0,r.jsx)("ul",{className:"flex gap-[0.6rem]",children:t.map((e,n)=>(0,r.jsxs)("li",{className:"caption-large",children:[(0,r.jsx)("button",{className:"inline transition-colors duration-100 ease-out hover:opacity-50 ".concat((null==a?void 0:a.slug)===e.slug&&"underline"),onClick:()=>l(e),children:e.name}),n<t.length-1&&(0,r.jsx)("span",{children:","})]},e.slug||e.id||"location-".concat(n)))})})]})}function P(e){let{navigation:t,footer:n,locations:a}=e,{cart:l}=(0,w.qu)(),[o,d]=(0,i.useState)(!1),[u,m]=(0,i.useState)(null),{headerColor:h}=(0,S.U)(),[p,x]=(0,i.useState)(!0),g=(0,i.useCallback)(e=>{d(!0),m(e)},[d,m]),f=(0,i.useCallback)(()=>{d(!1)},[d]);(0,i.useEffect)(()=>{l&&(null==l?void 0:l.totalQuantity)&&(null==l?void 0:l.totalQuantity)>0&&!p&&g("cart"),x(!1)},[l]);let{showSpinnerIndicator:v}=(0,S.U)(),b=(0,c.usePathname)();return(0,r.jsxs)("header",{children:[(0,r.jsxs)("div",{id:"header",className:"fixed top-0 left-0 wrapper py-[0.5rem] w-full z-50 transition-colors duration-100 ease-out ".concat(o||"white"===h?"text-white":"text-blue"),children:[(0,r.jsxs)("div",{className:"relative flex justify-between items-center ",children:[(0,r.jsxs)("div",{className:"flex items-center gap-[10.1rem]",children:[(0,r.jsxs)(s(),{href:"/",className:"group",children:[(0,r.jsxs)("span",{className:"invisible flex items-baseline font-medium text-[2.8rem] tracking-[-0.04em] leading-[3.0rem]",children:["new",(0,r.jsx)("span",{className:"logo-dash min-w-[1.4rem] h-[0.25rem] ml-[0.2rem] lg:group-hover:min-w-[4rem]"}),"land"]}),(0,r.jsxs)("div",{className:"pointer-events-none absolute top-0 left-0 w-full flex items-baseline font-medium text-[2.8rem] tracking-[-0.04em] leading-[3.0rem]",children:[(0,r.jsx)("div",{children:"new"}),(0,r.jsx)("div",{className:"logo-dash pb-[0.55rem] ml-[0.2rem] w-[1.4rem] min-w-[1.4rem] lg:group-hover:w-[4rem] ",children:(0,r.jsx)("div",{className:"min-w-[1.4rem] h-[0.25rem] bg-current"})}),(0,r.jsx)("div",{children:"land"})]})]}),(0,r.jsx)(E,{locations:a,className:"hidden lg:flex transition-[opacity,visibility] duration-300 ease-out ".concat("/directors"===b?"opacity-100 visible":"opacity-0 invisible")})]}),(0,r.jsxs)("ul",{className:"hidden lg:flex items-center gap-[2.4rem] body",children:[t.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(s(),{onMouseEnter:()=>f(),href:"/".concat(e.slug),"data-label":e.name,className:"group relative overflow-hidden block after:content-[attr(data-label)] after:absolute after:inset-0 after:translate-y-full after:block hover:after:translate-y-0 after:transition-transform hover:after:duration-500 after:duration-0 ease-[
1cubic-bezier(0.77,0,0.175,1)]",children:(0,r.jsx)("span",{className:"block transition-transform group-hover:-translate-y-full group-hover:duration-500 duration-0 ease-[cubic-bezier(0.77,0,0.175,1)]",children:e.name})})},e.id)),l&&l.totalQuantity>0&&(0,r.jsx)("li",{className:"hidden lg:block",children:(0,r.jsxs)("button",{onMouseEnter:()=>g("cart"),onClick:()=>g("cart"),type:"button","aria-label":"Open Cart",className:"hover:opacity-50 tabular-nums transition-[opacity,color] duration-100 ease-out ".concat(o&&"cart"===u&&"opacity-50"),children:["(",l.totalQuantity,")"]})})]}),(0,r.jsxs)("div",{className:"flex  lg:hidden items-center gap-[2.4rem]",children:[l&&l.totalQuantity>0&&(0,r.jsxs)("button",{onClick:()=>g("cart"),type:"button","aria-label":"Open Cart",className:"body-large tabular-nums hover:opacity-50 transition-[opacity,color] duration-100 ease-out ".concat(o&&"cart"===u&&"opacity-50"),children:["(",l.totalQuantity,")"]}),(0,r.jsxs)("button",{onClick:()=>{d(!o),m(null)},"aria-label":"Open / Close Navigation",className:"group w-[3.2rem] h-[3.2rem] flex flex-col gap-[0.95rem] justify-center items-center ".concat(o?"is-active":""),children:[(0,r.jsx)("span",{className:"group-[.is-active]:rotate-45 group-[.is-active]:translate-y-[0.6rem]  transition-all duration-100 ease-out w-[2.2rem] h-[0.25rem] bg-current"}),(0,r.jsx)("span",{className:"group-[.is-active]:-rotate-45 group-[.is-active]:translate-y-[-0.6rem] transition-all duration-100 ease-out w-[2.2rem] h-[0.25rem] bg-current"})]})]})]}),(0,r.jsx)("div",{className:"spinner absolute bottom-0 left-0 w-full h-[1px] bg-light-grey ".concat(v?"is-active":"")})]}),(0,r.jsx)(C,{navigation:t,isOpen:o,onClose:f,currentTab:u,footer:n,cart:l})]})}var I=n(18603),W=n(71106);function L(e){let{onComplete:t}=e,n=(0,i.useRef)(null),a=(0,i.useRef)(null),l=(0,i.useRef)(!1),s=(0,i.useRef)(!1),c=(0,i.useRef)(null),o=(0,i.useRef)(null),d=(0,i.useRef)(120),u=(0,i.useRef)(15),m=(0,i.useRef)(1),h=(0,i.useRef)(.3),[p,x]=(0,i.useState)(!1),g=(0,i.useCallback)(async()=>{l.current&&s.current&&!p&&(x(!0),await (0,I.i)(120*m.current,window.innerWidth,{duration:1.2,delay:.5,ease:[.77,0,.175,1],onUpdate:e=>{d.current=e}}),await (0,I.i)(15*m.current,window.innerHeight,{duration:1.2,ease:[.77,0,.175,1],onUpdate:e=>{u.current=e}}),t())},[l,s,p,t]);(0,W.N)(()=>{var e,t;l.current&&s.current&&a.current&&n.current&&c.current&&o.current&&v.current&&f.current&&(v.current.clearRect(0,0,window.innerWidth,window.innerHeight),a.current.clearRect(0,0,window.innerWidth,window.innerHeight),null==(e=v.current)||e.drawImage(c.current,window.innerWidth/2-269*m.current-d.current/2-3*m.current,window.innerHeight/2-107*m.current/2,269*m.current,107*m.current),v.current.fillStyle="black",v.current.rect(window.innerWidth/2-d.current/2,window.innerHeight/2-u.current/2,d.current,u.current),v.current.fill(),null==(t=v.current)||t.drawImage(o.current,window.innerWidth/2+d.current/2+12*m.current,window.innerHeight/2-107*m.current/2,270*m.current,107*m.current),a.current.fillStyle="#437fd3",a.current.fillRect(0,0,window.innerWidth,window.innerHeight),a.current.globalCompositeOperation="destination-out",a.current.drawImage(f.current,0,0,window.innerWidth,window.innerHeight),a.current.globalCompositeOperation="source-over")});let f=(0,i.useRef)(null),v=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(n.current&&(a.current=n.current.getContext("2d"),f.current=document.createElement("canvas"),v.current=f.current.getContext("2d"),a.current&&a.current&&n.current)){var e,t;n.current&&f.current&&(m.current=window.innerWidth/1440*(window.innerWidth>760?h.current:1),d.current=120*m.current,u.current=15*m.current,n.current.width=window.innerWidth*window.devicePixelRatio,n.current.height=window.innerHeight*window.devicePixelRatio,n.current.style.width=window.innerWidth+"px",n.current.style.height=window.innerHeight+"px",null==(e=a.current)||e.scale(window.devicePixelRatio,window.devicePixelRatio),f.current.width=window.innerWidth*window.devicePixelRatio,f.current.height=window.innerHeight*window.devicePixelRatio,f.current.style.width=window.innerWidth+"px",f.current.style.height=window.innerHeight+"px",null==(t=v.current)||t.scale(window.devicePixelRatio,window.devicePixelRatio)),c.current=ne
1w Image,c.current.src="/logo/logo-new.svg",c.current.onload=()=>{l.current=!0,g()},o.current=new Image,o.current.src="/logo/logo-land.svg",o.current.onload=()=>{s.current=!0,g()}}},[]),(0,r.jsxs)("div",{className:"fixed inset-0 w-full h-full z-[60] ",children:[!p&&(0,r.jsx)("div",{className:"absolute inset-0 bg-blue"}),(0,r.jsx)("canvas",{ref:n,className:"w-full h-full"})]})}var T=n(41092),A=n(51971),H=n(52657);function M(){let[e,t]=(0,i.useState)(!1);return((0,i.useEffect)(()=>{let e,n,r,a=()=>{if("requestIdleCallback"in window){n=window.requestIdleCallback(()=>t(!0),{timeout:5e3});return}e=setTimeout(()=>t(!0),5e3)};return"complete"===document.readyState?a():(r=()=>a(),window.addEventListener("load",r,{once:!0})),()=>{e&&clearTimeout(e),n&&window.cancelIdleCallback(n),r&&window.removeEventListener("load",r)}},[]),e)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T.default,{src:"https://www.googletagmanager.com/gtag/js?id=G-99E1QXJDV0",strategy:"lazyOnload"}),(0,r.jsx)(T.default,{id:"new-land-google-analytics",strategy:"lazyOnload",children:"\n                    window.dataLayer = window.dataLayer || [];\n                    function gtag(){dataLayer.push(arguments);}\n                    gtag('js', new Date());\n                    gtag('config', 'G-99E1QXJDV0');\n                "})]}):null}function q(){let[e,t]=(0,i.useState)(!1),n=(0,i.useCallback)(()=>{if(t(!1),navigator.cookieEnabled){let e=new Date;e.setTime(e.getTime()+31536e6);let t="expires=".concat(e.toUTCString());document.cookie="new_land-cookie_banner=false;".concat(t,";path=/")}},[t]),a=(0,i.useCallback)(()=>{t(!1)},[t]);return(0,i.useEffect)(()=>{-1===document.cookie.indexOf("new_land-cookie_banner=")&&t(!0)},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(M,{}),(0,r.jsx)(A.N,{children:e&&(0,r.jsx)(H.P.div,{initial:{opacity:0,y:100},animate:{opacity:1,y:0},exit:{opacity:0,y:100},transition:{duration:.6,ease:[0,0,.58,1]},className:"fixed bottom-0 left-0 right-0 bg-blue text-white z-50 py-[0.6rem]",children:(0,r.jsxs)("div",{className:"wrapper flex justify-between items-center",children:[(0,r.jsxs)("p",{className:"caption-large rich-text",children:["We use ",(0,r.jsx)("a",{href:"#",children:"Cookies"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-x-[0.8rem]",children:[(0,r.jsx)("button",{onClick:()=>n(),className:"caption-large transition-opacity duration-100 ease-out hover:opacity-50",children:"Accept All"}),(0,r.jsx)("button",{onClick:()=>a(),className:"caption-large transition-opacity duration-100 ease-out hover:opacity-50",children:"(Close)"})]})]})})})]})}function O(){let{setShowSpinnerIndicator:e}=(0,S.U)(),t=(0,c.usePathname)();return(0,i.useEffect)(()=>{let e=e=>{let n=e.target.closest("a");if(n&&n.href&&!n.href.startsWith("javascript:")&&!n.href.startsWith("mailto:")&&!n.href.startsWith("tel:")){let e=window.location.origin,a=new URL(n.href);if(a.origin===e){var r;r=a.pathname,/^\/work\/[^/]+\/?$/.test(r)&&r!==t&&(sessionStorage.setItem("newland:return-scroll:path",t),sessionStorage.setItem("newland:return-scroll:y",String(window.scrollY||document.documentElement.scrollTop))),document.body.classList.add("loading")}}},n=e=>{let t=e.target;t&&"get"===t.method&&document.body.classList.add("loading")};document.addEventListener("click",e,!0),document.addEventListener("submit",n,!0);let r=setTimeout(()=>{document.body.classList.remove("loading")},100);return()=>{document.removeEventListener("click",e,!0),document.removeEventListener("submit",n,!0),clearTimeout(r)}},[t,e]),null}function U(e){let{children:t,global:n,contactPage:l,rosters:s,locations:o}=e,d=(0,c.usePathname)(),u=null==d?void 0:d.startsWith("/work/"),m="/"===d,h=[{id:"1",name:"Work",slug:"work",selectedWorks:null==n?void 0:n.recentWorks},{id:"2",name:"Directors",slug:"directors",rosters:s},{id:"3",name:"Culture",slug:"culture"},{id:"4",name:"Contact",slug:"contact"},{id:"5",name:"Shop",slug:"shop"}],p={socials:null==n?void 0:n.socials,credits:null==n?void 0:n.credits,menu:null==n?void 0:n.footerMenu},x=(0,a.xP)();(0,i.useEffect)(()=>{if("true"===sessionStorage.getItem("newland:skip-next-scroll-reset")){sessionStorage.removeItem("newland:skip-next-scroll-reset"),sessionStorage.removeItem("newland:return-scroll:path"),sessionStorage.removeItem("newland:return-scroll:y");return}if(sessionStorage.getItem("newland:return-scroll:path")===d&&"/work"!==d){let e=Number(sessionStorage.getItem("newland:return-scroll:y")||0);sessionStorage.removeItem("newland:return-scroll:path"),sessionStorage.removeItem("newland:return-scroll:y"),requestAnimationFrame(()=>{null==x||x.scrollTo(e,{immediate:!0})});return}null==x||x.scrollTo(0,{immediate:!0})},[d,x]);let{isHomeLoaderComplete:f,setIsHomeLoaderComplete:v}=(0,S.U)(),w=(0,i.useCallback)(()=>{v(!0)},[v]);return(0,i.useEffect)(()=>{m||v(!0)},[]),(0,i.useEffect)(()=>{var e;let t=()=>{let e=window.innerWidth-document.body.clientWidth;document.body.style.setProperty("--scrollbarWidth","".concat(e,"px"))};
1return t(),null==(e=window.visualViewport)||e.addEventListener("resize",t),console.log(window.visualViewport),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[]),(0,r.jsxs)(a.FH,{root:!0,children:[(0,r.jsx)(O,{}),m&&!f&&(0,r.jsx)(L,{onComplete:w}),(0,r.jsx)(P,{navigation:h,footer:p,locations:o}),t,!u&&(0,r.jsx)(g,{locations:null==l?void 0:l.locations,socials:null==n?void 0:n.socials,credits:null==n?void 0:n.credits,menu:null==n?void 0:n.footerMenu,video:{vimeoVideoFiles:null==n?void 0:n.vimeoVideoFiles,vimeoDuration:null==n?void 0:n.vimeoDuration,vimeoPictures:null==n?void 0:n.vimeoPictures}}),(0,r.jsx)(q,{})]})}}},e=>{e.O(0,[9638,4346,5434,4270,3947,5915,2044,6868,12,9481,1070,5679,952,3934,7358],()=>e(e.s=60919)),_N_E=e.O()}]);

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.