PageSourceSearch

https://www.wilhelmina.com/_next/static/chunks/2113-b1b5f49ed0c9609c.js

js wilhelmina.com collected 2026-10-02 05:01:33 UTC 30,024 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2113],{113:(e,t,l)=>{l.d(t,{default:()=>i});var n=l(5155),a=l(2619),r=l.n(a),s=l(63);l(2115);let i=e=>{let{href:t,router:l,ref:a,...i}=e,o=(0,s.useRouter)(),c=null!=l?l:o;return(0,n.jsx)(r(),{prefetch:!1,onMouseEnter:()=>null==c?void 0:c.prefetch(t,{kind:"full"}),href:t,...i,children:i.children})}},1577:(e,t,l)=>{l.d(t,{_n:()=>i});var n=l(3163),a=l(6618);let r=["/new-york","/london","/miami","/los-angeles"];function s(e){let t=(e||"").toLowerCase(),l=r.find(e=>t===e||t.startsWith(e+"/"));return l?l.slice(1):null}function i(e,t){if(!t)return{href:"/",disabled:!0};let l=function(e,t){let l=s(e);if(!t)return"/";let r=function(e){var t,l,n;let a=null!=(n=null==(l=e.picture_categories)||null==(t=l[0])?void 0:t.model_category_id)?n:null;return a?[...e.model_categories].sort((e,t)=>e.id===a?-1:+(t.id===a)):e.model_categories}(t);if(l){let e="/".concat(l,"/");for(let l of r){let r=(0,n.UD)(String(l.id));if(r&&r.toLowerCase().startsWith(e))return"".concat(r,"/").concat(t.id,"-").concat((0,a.Yv)(t.name||t.nickname||""))}return"/".concat(l)}for(let e of r){let l=(0,n.UD)(String(e.id));if(l)return"".concat(l,"/").concat(t.id,"-").concat((0,a.Yv)(t.name||t.nickname||""))}return"/"}(e,t),r=s(e);return r&&l==="/".concat(r)||"/"===l?{href:l,disabled:!0}:{href:l,disabled:!1}}},1700:(e,t,l)=>{l.d(t,{A:()=>a});let n={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function a(e={}){let t,l,r,s,i=null,o=0,c=!1,d=!1,u=!1,p=!1;function x(){if(!r){if(f()){u=!0;return}c||l.emit("autoplay:play");let{ownerWindow:e}=l.internalEngine();e.clearTimeout(o),o=e.setTimeout(j,s[l.selectedScrollSnap()]),i=new Date().getTime(),l.emit("autoplay:timerset"),c=!0}}function m(){if(!r){c&&l.emit("autoplay:stop");let{ownerWindow:e}=l.internalEngine();e.clearTimeout(o),o=0,i=null,l.emit("autoplay:timerstopped"),c=!1}}function h(){if(f())return u=c,m();u&&x()}function f(){let{ownerDocument:e}=l.internalEngine();return"hidden"===e.visibilityState}function v(){d||m()}function g(){d||x()}function b(){d=!0,m()}function w(){d=!1,x()}function j(){let{index:e}=l.internalEngine(),n=e.clone().add(1).get(),a=l.scrollSnapList().length-1,r=t.stopOnLastSnap&&n===a;if(l.canScrollNext()?l.scrollNext(p):l.scrollTo(0,p),l.emit("autoplay:select"),r)return m();x()}return{name:"autoplay",options:e,init:function(i,o){l=i;let{mergeOptions:c,optionsAtMedia:d}=o,u=c(n,a.globalOptions);if(t=d(c(u,e)),l.scrollSnapList().length<=1)return;p=t.jump,r=!1,s=function(e,t){let l=e.scrollSnapList();return"number"==typeof t?l.map(()=>t):t(l,e)}(l,t.delay);let{eventStore:f,ownerDocument:j}=l.internalEngine(),y=!!l.internalEngine().options.watchDrag,N=function(e,t){let l=e.rootNode();return t&&t(l)||l}(l,t.rootNode);f.add(j,"visibilitychange",h),y&&l.on("pointerDown",v),y&&!t.stopOnInteraction&&l.on("pointerUp",g),t.stopOnMouseEnter&&f.add(N,"mouseenter",b),t.stopOnMouseEnter&&!t.stopOnInteraction&&f.add(N,"mouseleave",w),t.stopOnFocusIn&&l.on("slideFocusStart",m),t.stopOnFocusIn&&!t.stopOnInteraction&&f.add(l.containerNode(),"focusout",x),t.playOnInit&&x()},destroy:function(){l.off("pointerDown",v).off("pointerUp",g).off("slideFocusStart",m),m(),r=!0,c=!1},play:function(e){void 0!==e&&(p=e),x()},stop:function(){c&&m()},reset:function(){c&&x()},isPlaying:function(){return c},timeUntilNext:function(){return i?s[l.selectedScrollSnap()]-(new Date().getTime()-i):null}}}a.globalOptions=void 0},3157:(e,t,l)=>{l.d(t,{default:()=>i});var n=l(5155),a=l(2115),r=l(113),s=l(1786);let i=e=>{var t,l;let{instagramImages:i}=e,[o,c]=(0,a.useState)(4),[d,u]=(0,a.useState)(!1),p=o<(null==i||null==(t=i.images)?void 0:t.length),x=null==i||null==(l=i.images)?void 0:l.slice(0,o);return(0,n.jsxs)("div",{className:"sm:hidden",children:[(0,n.jsx)("div",{className:"w-full grid grid-cols-2",children:null==x?void 0:x.map((e,t)=>(0,n.jsxs)(r.default,{href:"/",className:"relative block",children:[(0,n.jsxs)("div",{className:"w-full relative pb-[125%] group",children:[(0,n.jsx)(s.A,{src:e.image_url||"",className:"w-full h-full object-cover object-top absolute top-0 left-0 bottom-0 right-0",width:300,height:400,alt:"Wilhelmina - Instagram Image"}),(0,n.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0 bg-black/50 backdrop-blur-[16px] opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center w-full h-full",children:(0,n.jsx)("p",{className:"text-xs text-white font-normal tracking-wider",children:"view on instagram"})})]}
1),(0,n.jsx)("div",{className:"flex flex-col py-[15px] text-center text-[#707070] text-[10px] leading-[14px] font-normal tracking-wider px-[10px]",children:(0,n.jsx)("p",{className:"break-words overflow-hidden text-ellipsis line-clamp-4",children:e.image_caption})})]},t))}),p&&(0,n.jsx)("div",{className:"flex items-center justify-center mt-[12px] w-full",children:(0,n.jsx)("button",{onClick:()=>{u(!0),setTimeout(()=>{c(e=>e+4),u(!1)},50)},className:"w-[97px] h-[22px] border border-[#707070] uppercase text-[10px] text-[#7C7D81] font-normal flex items-center justify-center hover:bg-[#707070] hover:text-[#F4F4F4] transition-colors duration-300 disabled:opacity-50 disabled:cursor-not-allowed tracking-widest",disabled:d,children:d?(0,n.jsxs)("svg",{className:"animate-spin w-[10px] h-[10px] text-[##F4F4F4]",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}):"load more"})})]})}},4685:(e,t,l)=>{l.d(t,{A:()=>r});var n=l(2115);function a(e){let{innerWidth:t,innerHeight:l}=e;return{width:t,height:l}}function r(){let[e,t]=(0,n.useState)({height:0,width:0});return(0,n.useEffect)(()=>{function e(){t(a(window))}return t(a(window)),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}},5682:(e,t,l)=>{l.d(t,{default:()=>u});var n=l(5155),a=l(2115),r=l(8072),s=l(4685),i=l(1786),o=l(2619),c=l.n(o),d=l(1700);let u=e=>{var t,l;let{instagramImages:o}=e,{width:u}=(0,s.A)(),p=u>=1280?6:u>=1024?5:u>=768?3:u>=640?2:1,[x,m]=(0,r.A)({loop:!1,dragFree:!0,containScroll:"trimSnaps",slidesToScroll:p,align:"start"},[(0,d.A)({delay:3e3,stopOnMouseEnter:!0,stopOnInteraction:!1})]),[h,f]=(0,a.useState)(0),[v,g]=(0,a.useState)([]),b=(0,a.useCallback)(e=>{m&&m.scrollTo(e)},[m]),w=(0,a.useCallback)(()=>{m&&g(m.scrollSnapList())},[m]),j=(0,a.useCallback)(()=>{m&&f(m.selectedScrollSnap())},[m]);(0,a.useEffect)(()=>{if(m)return w(),j(),m.on("select",j),m.on("reInit",w),()=>{m.off("select",j),m.off("reInit",w)}},[m,w,j]),(0,a.useEffect)(()=>{m&&m.reInit({loop:!1,dragFree:!0,slidesToScroll:p,containScroll:"trimSnaps",align:"start"})},[u,m,p]);let y="calc(".concat(100/p,"%)");return(0,n.jsxs)("div",{className:"w-full relative hidden sm:block",children:[(0,n.jsx)("div",{className:"overflow-hidden relative w-full",ref:x,children:(0,n.jsx)("div",{className:"w-full backface-visible flex touch-pan-y",children:null==o||null==(l=o.images)||null==(t=l.slice(0,20))?void 0:t.map((e,t)=>(0,n.jsxs)(c(),{href:e.image_link,target:"_blank",rel:"noopener",className:"relative block min-w-0",style:{flex:"0 0 ".concat(y),minWidth:0},children:[(0,n.jsxs)("div",{className:"w-full relative pb-[125%] group",children:[(0,n.jsx)(i.A,{src:e.image_url||"",className:"w-full h-full object-cover object-top absolute top-0 left-0 bottom-0 right-0",width:300,height:400,alt:"Wilhelmina - Instagram Image"}),(0,n.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0 bg-black/50 backdrop-blur-[16px] opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center w-full h-full",children:(0,n.jsx)("p",{className:"text-base text-white font-normal tracking-wider",children:"view on Instagram"})})]}),(0,n.jsx)("div",{className:"flex flex-col pt-6 lg:pt-[19px] 3xl:pt-7 text-center text-[#707070] text-xs leading-[17px] font-normal tracking-wider px-[12px]",children:(0,n.jsx)("p",{className:"break-words overflow-hidden text-ellipsis line-clamp-4",children:e.image_caption})})]},t))})}),v.length>1&&(0,n.jsx)("div",{className:"flex items-center justify-center mt-[60px] 3xl:mt-[60px]",children:(0,n.jsx)("div",{className:"flex space-x-[10px] 3xl:space-x-[25px]",children:v.map((e,t)=>(0,n.jsx)("button",{onClick:()=>b(t),className:"w-[10px] h-[10px] 3xl:w-[15px] 3xl:h-[15px] border-[1px] 3xl:border-[2px] border-[#707070] rounded-full transition-colors ".concat(t===h?"bg-[#707070]":"bg-white"),"aria-label":"Go to slide ".concat(t+1)},t))})})]})}},5950:(e,t,l)=>{l.d(t,{default:()=>i});var n=l(5155),a=l(2115),r=l(6429),s=l(9037);let i=e=>{let{homeVideo:t}=e;(0,a.useRef)(null);let{setIsHomeBannerInView:l}=(0,s.S)(),{ref:i,inView:o}=(0,r.Wx)({threshold:0,rootMargin:"200px"});return(0,a.useEffect)(()=>
1{l(o)},[l]),(0,n.jsx)("div",{className:"w-full overflow-hidden [height:calc(var(--vh,1vh)*100)] s:[height:calc(var(--vh,1vh)*100-73px)] xl:[height:calc(var(--vh,1vh)*100-55px)] 3xl:[height:calc(var(--vh,1vh)*100-90px)]",children:(0,n.jsx)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto",className:"h-full w-full select-none object-cover object-center block",poster:t.featured_video_details.video_thumbnail,children:(0,n.jsx)("source",{src:t.featured_video_details.video_url,type:"video/mp4"})})})}},7396:(e,t,l)=>{l.r(t),l.d(t,{default:()=>N});var n=l(5155),a=l(2115),r=l(8072),s=l(1786);let i=e=>{let{...t}=e;return(0,n.jsxs)("svg",{id:"Group_33","data-name":"Group 33",xmlns:"http://www.w3.org/2000/svg",...t,viewBox:"0 0 25 44.722",children:[(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip-path",children:(0,n.jsx)("rect",{id:"Rectangle_54","data-name":"Rectangle 54",width:"25",height:"44.722",fill:"currentColor"})})}),(0,n.jsx)("g",{id:"Group_32","data-name":"Group 32",clipPath:"url(#clip-path)",children:(0,n.jsx)("path",{id:"Path_25","data-name":"Path 25",d:"M25,0,0,22.5,25,44.722S10.691,31.6,10.556,22.361,25,0,25,0",transform:"translate(0 0)",fill:"currentColor"})})]})};var o=l(113),c=l(6429);let d=e=>(null==e?void 0:e.type)==="video",u=e=>!!e&&(!!e.large||!!e.video_url),p=e=>{let t=Number(null==e?void 0:e.width),l=Number(null==e?void 0:e.height);return!!Number.isFinite(t)&&!!Number.isFinite(l)&&!(t<=0)&&!(l<=0)&&t>l},x=e=>!p(e),m=e=>Array.isArray(e)&&e.length>0,h=(e,t,l)=>{let a=null==e?void 0:e[t];return m(a)?(0,n.jsxs)(n.Fragment,{children:[l?"".concat(l,": "):"",(e=>m(e)?e.map(e=>e.toLowerCase().replace(/\b\w/g,e=>e.toUpperCase())).join(", "):"")(a),(0,n.jsx)("br",{})]}):null},f=e=>{let{item:t,href:l}=e,{latest:{album:m,pictures:f},model:v}=t,g=(0,a.useMemo)(()=>(e=>{if(!(null==e?void 0:e.length))return[];let t=[];for(let l=0;l<e.length;l++){let n=e[l];if(!u(n))continue;if(!x(n)){t.push([n]);continue}let a=e[l+1];u(a)&&x(a)?(t.push([n,a]),l+=1):t.push([n])}return t})(f),[f]),[b,w]=(0,r.A)({loop:!1,align:"start",containScroll:"keepSnaps",dragFree:!1}),[j,y]=(0,a.useState)(!0),[N,S]=(0,a.useState)(!0),[k,C]=(0,a.useState)(0),_=(0,a.useCallback)(()=>null==w?void 0:w.scrollPrev(),[w]),E=(0,a.useCallback)(()=>null==w?void 0:w.scrollNext(),[w]),{ref:I,inView:F}=(0,c.Wx)({threshold:.4,triggerOnce:!1}),A=(0,a.useRef)({}),O=(e,t)=>l=>{A.current[e]||(A.current[e]=[]),A.current[e][t]=null!=l?l:void 0},P=()=>{Object.values(A.current).forEach(e=>{null==e||e.forEach(e=>{if(e&&!e.paused)try{e.pause()}catch(e){}})})},D=(0,a.useCallback)(()=>{var e,t;if(!w)return;let l=null!=(t=null==(e=w.selectedScrollSnap)?void 0:e.call(w))?t:0;P(),F&&(e=>{let t=A.current[e];t&&t.forEach(e=>{if(e){e.muted=!0,e.playsInline=!0;try{e.play().catch(()=>{})}catch(e){}}})})(l)},[w,F]),L=(0,a.useCallback)(()=>{var e,t;w&&(C(null!=(t=null==(e=w.selectedScrollSnap)?void 0:e.call(w))?t:0),y(!w.canScrollPrev()),S(!w.canScrollNext()),D())},[w,D]);(0,a.useEffect)(()=>{if(w)return L(),w.on("select",L),w.on("reInit",L),()=>{w.off("select",L),w.off("reInit",L)}},[w,L]),(0,a.useEffect)(()=>{w&&g.length&&(w.reInit(),D())},[g.length,w,D]),(0,a.useEffect)(()=>{D()},[F,D]),(0,a.useEffect)(()=>{let e=()=>{document.hidden?P():D()};return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[D]);let T=(0,a.useMemo)(()=>{var e;let t=(e=>{if(!(null==e?void 0:e.length))return{};for(let t of e){let e=null==t?void 0:t.tags;if(e&&"object"==typeof e)return e}return{}})(g[k]);if(Object.keys(t).length>0)return t;let l=null==f||null==(e=f[0])?void 0:e.tags;return null!=l?l:{}},[g,k,f]),M=e=>{var t,l;null==e||null==(t=e.preventDefault)||t.call(e),null==e||null==(l=e.stopPropagation)||l.call(e)};return(0,n.jsxs)("div",{className:"block relative group h-full",ref:I,onPointerDownCapture:e=>{e.target.closest("button,[role='button']")&&e.stopPropagation()},children:[(0,n.jsx)(o.default,{href:l,className:"block",children:(0,n.jsx)("div",{className:"relative w-full overflow-hidden pointer-events-none select-none",ref:b,children:(0,n.jsx)("div",{className:"embla__container flex h-full",children:g.map((e,t)=>{var l,a;return(0,n.jsx)("div",{className:"embla__slide flex-none w-full",style:{flex:"0 0 100%"},children:1===e.length?(0,n.jsx)("div",{className:"relative pb-[67%] xl
1:pb-[66.7%] overflow-hidden",children:d(e[0])?(0,n.jsx)("video",{ref:O(t,0),className:"absolute top-0 left-0 right-0 bottom-0 w-full h-full ".concat(p(e[0])?"object-center object-cover":"object-top object-contain"),src:null!=(l=e[0].video_url)?l:e[0].large,muted:!0,loop:!0,playsInline:!0,preload:"auto"}):(0,n.jsx)(s.A,{src:e[0].large,alt:null!=(a=null==v?void 0:v.nickname)?a:"",width:+e[0].width,height:+e[0].height,draggable:!1,onDragStart:e=>e.preventDefault(),className:"absolute top-0 left-0 right-0 bottom-0 w-full h-full ".concat(p(e[0])?"object-center object-cover":"object-top object-contain")})}):(0,n.jsx)("div",{className:"grid grid-cols-2",children:e.map((e,l)=>{var a,r;return(0,n.jsx)("div",{className:"relative w-full pb-[133.4%] overflow-hidden",children:d(e)?(0,n.jsx)("video",{ref:O(t,l),className:"object-cover w-full h-full ".concat(0===l?"object-[center_right]":"object-[center_left]"),src:null!=(a=e.video_url)?a:e.large,muted:!0,loop:!0,playsInline:!0,preload:"auto"}):(0,n.jsx)(s.A,{src:e.large,alt:null!=(r=null==v?void 0:v.nickname)?r:"",fill:!0,draggable:!1,onDragStart:e=>e.preventDefault(),className:"object-cover w-full h-full ".concat(0===l?"object-[center_right]":"object-[center_left]")})},l)})})},"group-".concat(t))})})})}),(0,n.jsxs)("div",{className:"flex items-center justify-between w-full py-[16px] sm:h-[91px] 3xl:h-[117px] ".concat(g.length>1?"px-3 sm:px-[32.5px]":""),children:[g.length>1?(0,n.jsx)("button",{type:"button",onClick:e=>{M(e),_()},onPointerDown:M,onMouseDown:M,onTouchStart:M,disabled:j,"aria-label":"Previous image",className:"".concat(j?"cursor-default":"cursor-pointer"," pointer-events-auto"),style:{touchAction:"manipulation"},children:(0,n.jsx)(i,{className:"h-[26.84px] sm:h-[44.72px] w-auto text-[#dbd7d7]"})}):(0,n.jsx)(o.default,{href:l,className:"h-[26.84px] w-[15px] sm:h-[44.72px] sm:w-[25px]"}),(0,n.jsxs)(o.default,{href:l,className:"flex items-start justify-center space-x-7 sm:space-x-8 md:space-x-[100px] minTablet:space-x-[178px] xl:space-x-8 3xl:space-x-[97px] w-full",children:[(0,n.jsxs)("div",{className:"text-[9px] leading-3 sm:text-xs sm:leading-[17px] md:text-sm md:leading-[19px] 3xl:text-base 3xl:leading-[21px] uppercase font-normal text-[#707070] tracking-wider text-end flex-1 flex flex-col sm:space-y-[2px] 3xl:space-y-[2px] max-w-[110px] xs:max-w-[130px] sm:max-w-[220px] md:max-w-[242px] 3xl:max-w-[373px] w-full",children:[(0,n.jsx)("p",{children:null==v?void 0:v.nickname}),(0,n.jsx)("p",{children:null==m?void 0:m.name})]}),(0,n.jsx)("div",{className:"flex-1 w-full max-w-[110px] xs:max-w-[130px] sm:max-w-[220px] md:max-w-[242px] 3xl:max-w-[373px]",children:(0,n.jsxs)("p",{className:"text-[9px] leading-3 sm:text-[10px] sm:leading-[14px] 3xl:text-xs 3xl:leading-4 font-light tracking-wider text-[#707070]",children:[h(T,"Photographer","Photographer"),h(T,"Stylist","Stylist"),h(T,"Casting Director","Casting Director"),h(T,"Make-up","Make-up"),h(T,"Hair","Hair")]})})]}),g.length>1?(0,n.jsx)("button",{type:"button",onClick:e=>{M(e),E()},onPointerDown:M,onMouseDown:M,onTouchStart:M,disabled:N,"aria-label":"Next image",className:"".concat(N?"cursor-default":"cursor-pointer"," pointer-events-auto"),style:{touchAction:"manipulation"},children:(0,n.jsx)(i,{className:"h-[26.84px] sm:h-[44.72px] w-auto rotate-180 text-[#dbd7d7]"})}):(0,n.jsx)(o.default,{href:l,className:"h-[26.84px] w-[15px] sm:h-[44.72px] sm:w-[25px]"})]})]})};var v=l(4685),g=l(63),b=l(1577),w=l(1700);let j=e=>{let{modelBooksWithPictures:t,isLondon:l}=e,{width:s}=(0,v.A)(),[i,o]=(0,a.useState)(0),[c,d]=(0,a.useState)([]),u=(0,g.usePathname)(),p=Array.isArray(t)?t:[],x=(0,a.useMemo)(()=>((e,t)=>{let l=[];for(let t=0;t<e.length;t+=4)l.push(e.slice(t,t+4));return l})(p,4),[p]),[m,h]=(0,r.A)({loop:!1,align:"start",dragFree:!1,skipSnaps:!0,containScroll:"trimSnaps",slidesToScroll:1},[(0,w.A)({delay:3e3,stopOnMouseEnter:!0,stopOnInteraction:!1})]),j=(0,a.useCallback)(e=>h&&h.scrollTo(e),[h]),y=(0,a.useCallback)(()=>{h&&o(h.selectedScrollSnap())},[h]);return((0,a.useEffect)(()=>{if(h)return y(),d(h.scrollSnapList()),h.on("select",y),h.on("reInit",y),()=>{h.off("select",y),h.off("reInit",y)}},[h,y]),(0,a.useEffect)(()=>{null==h||h.reInit()},[s,h]),p.length)?(0,n.jsxs)("div",{className:"w-full hidden xl:block",children:[(0,n.jsx)("div",{className:"overflow-hidden",ref:m,children:(0,n.jsx)("div",{className:"flex",children:x.map((e,t)=>(0,n.jsx)("div",{className:"flex-none w-full",style:{flex:"0 0 100%"},children:(0,n.jsx)("div",{className:"grid grid-cols-2",children:e.map((e,a)=>{var r,s,i,o,c;let d=(0,b._n)(u,null==e?void 0:e.model),p=(null==d?void 0:d.href)&&"string"==typeof d.href?d.href:"#",x=null!=(o=null==e||null==(r=e.model)?void 0:r.id)?o:null,m=null!=(c=null==e||null==(i=e.latest)||null==(s=i.album)?void 0:s.id)?c:null,h=x&&m?"news-".concat(x,"-").concat(m):"news-fallback-".concat(t,"-").concat(a);return(0,n.jsx)(f,{item:e,isLondon:l,href:p},h)})})},"slide-".concat(t)))})}),(0,n.jsx)("div",{className:"flex items-center justify-center mt-[33px] 3xl:mt-[18px]",children:(0,n.jsx)("div",{className:"flex space-x-[10px] 3xl:space-x-[25px]",children:c.map((e,t)=>(0,n.jsx)("button",{type:"button",onClick:()=>j(t),className:"w-[10px] h-[10px] 3xl:w-[15px] 3xl:h-[15px] border-[1px] 3xl:border-[2px] border-[#707070] rounded-full transition-colors ".concat(t===i?"bg-[#707070]":"bg-white"),"aria-label":"Go to slide ".concat(t+1)},t))})})]}):(0,n.jsx)("div",{className:"w-full text-center py-20",children:"No news items available"})},y=e=>{let{modelBooksWithPictures:t}=e,[l,r]=(0,a.useState)(2),[s,i]=(0,a.useState)(!1),o=(0,g.usePathname)(),c=l<t.length,d=t.slice(0,l);return(0,n.jsxs)("div",{className:"xl:hidden",children:[(0,n.jsx)("div",{className:"w-full grid grid-cols-1",children:d.map((e,t)=>{var l,a,r,s,i;let c=null!=(s=null==e||null==(l=e.model)?void 0:l.id)?s:null,d=null!=(i=null==e||null==(r=e.latest)||null==(a=r.album)?void 0:a.id)?i:null,u=(0,b._n)(o,null==e?void 0:e.model),p=(null==u?void 0:u.href)&&"string"==typeof u.href?u.href:"#",x=c&&d?"news-".concat(c,"-").concat(d):"news-fallback-".concat(t);return(0,n.jsx)("div",{children:(0,n.jsx)(f,{item:e,href:p})},x)})}),c&&(0,n.jsx)("div",{className:"flex items-center justify-center mt-[15px] sm:mt-10 w-full",children:(0,n.jsx)("button",{onClick:()=>{i(!0),setTimeout(()=>{r(e=>e+2),i(!1)},50)},className:"w-[97px] sm:w-[170px] h-[22px] sm:h-[40px] md:h-[45px] border border-[#707070] uppercase text-[10px] sm:text-sm md:text-base text-[#7C7D81] font-normal flex items-center justify-center hover:bg-[#707070] hover:text-[#F4F4F4] transition-colors duration-300 disabled:opacity-50 disabled:cursor-not-allowed tracking-widest",disabled:s,children:s?(0,n.jsxs)("svg",{className:"animate-spin w-[10px] h-[10px] sm:h-4 sm:w-4 md:h-5 md:w-5 text-[##F4F4F4]",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}):"load more"})})]})},N=e=>{let{modelBooksWithPictures:t,className:l,title:a,subClassName:r,isLondon:s}=e;return(0,n.jsxs)("div",{className:"w-full ".concat(l||"pt-[22px] sm:pt-[42px] xl:pt-[75px]"),children:[(0,n.jsx)("p",{className:"text-[22px] leading-[30px] sm:text-[30px] sm:leading-10 xl:text-[40px] xl:leading-[53px] font-scotchDisplayCondensed text-[#7C7D81] text-center",children:a||(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"italic font-light",children:"Latest"})," ",(0,n.jsx)("span",{className:"font-light",children:"News"})]})}),(0,n.jsxs)("div",{className:"w-full ".concat(r||"pt-3 sm:pt-[21px] xl:pt-[33px] 3xl:pt-[27px]"),children:[(0,n.jsx)(j,{modelBooksWithPictures:t,isLondon:s}),(0,n.jsx)(y,{modelBooksWithPictures:t})]})]})}},8226:(e,t,l)=>{l.d(t,{default:()=>g});var n=l(5155),a=l(2115),r=l(8072),s=l(4685),i=l(113),o=l(1786),c=l(63),d=l(1577),u=l(6618),p=l(6429),x=l(1700);let m=e=>{let{runwayAlbumsWithPictures:t,isWillySocial:l}=e,{width:i}=(0,s.A)(),o=(0,c.usePathname)(),p=i>=1280?5:i>=1024?4:i>=768?3:i>=640?2:1,[m,f]=(0,r.A)({loop:!1,dragFree:!0,containScroll:"trimSnaps",slidesToScroll:p,al
1ign:"start"},[(0,x.A)({delay:3e3,stopOnMouseEnter:!0,stopOnInteraction:!1})]),[v,g]=(0,a.useState)(0),[b,w]=(0,a.useState)([]),j=(0,a.useCallback)(e=>{f&&f.scrollTo(e)},[f]),y=(0,a.useCallback)(()=>{f&&w(f.scrollSnapList())},[f]),N=(0,a.useCallback)(()=>{f&&g(f.selectedScrollSnap())},[f]);(0,a.useEffect)(()=>{if(f)return y(),N(),f.on("select",N),f.on("reInit",y),()=>{f.off("select",N),f.off("reInit",y)}},[f,y,N]),(0,a.useEffect)(()=>{f&&f.reInit({loop:!1,dragFree:!0,slidesToScroll:p,containScroll:"trimSnaps",align:"start"})},[i,f,p]);let S="calc(".concat(100/p,"%)");return(0,n.jsxs)("div",{className:"w-full relative hidden sm:block",children:[(0,n.jsx)("div",{className:"overflow-hidden relative w-full",ref:m,children:(0,n.jsx)("div",{className:"w-full backface-visible flex touch-pan-y",children:null==t?void 0:t.map((e,t)=>{var a,r;let{href:s}=(0,d._n)(o,e.model),i=l?"/digital/creators/".concat(e.model.id,"-").concat((0,u.Yv)(e.model.nickname)):s,c=null==e||null==(a=e.pictures)?void 0:a[0],p=c&&("video"===c.type||!!c.video_url),x=(null==c?void 0:c.video_url)||(null==c?void 0:c.large),m=(null==c?void 0:c.large)||e.model.picture_url,f=(null==c?void 0:c.large)||e.model.picture_url;return(0,n.jsx)(h,{href:i,flexBasis:S,isVideo:!!p,videoSrc:x,posterSrc:m,imageSrc:f,modelNickname:e.model.nickname,clientTag:Array.isArray(null==c||null==(r=c.tags)?void 0:r.Client)?c.tags.Client[0]:""},t)})})}),b.length>1&&(0,n.jsx)("div",{className:"flex items-center justify-center mt-[30px] 3xl:mt-[27px]",children:(0,n.jsx)("div",{className:"flex space-x-[10px] 3xl:space-x-[25px]",children:b.map((e,t)=>(0,n.jsx)("button",{onClick:()=>j(t),className:"w-[10px] h-[10px] 3xl:w-[15px] 3xl:h-[15px] border-[1px] 3xl:border-[2px] border-[#707070] rounded-full transition-colors ".concat(t===v?"bg-[#707070]":"bg-white"),"aria-label":"Go to slide ".concat(t+1)},t))})})]})};function h(e){let{href:t,flexBasis:l,isVideo:r,videoSrc:s,posterSrc:c,imageSrc:d,modelNickname:u,clientTag:x}=e,{ref:m,inView:h}=(0,p.Wx)({threshold:.4,triggerOnce:!1}),f=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=f.current;if(!e)return;let t=()=>{if(document.hidden||!h)try{e.pause()}catch(e){}else{e.muted=!0,e.playsInline=!0;try{e.play().catch(()=>{})}catch(e){}}};return t(),document.addEventListener("visibilitychange",t),()=>{document.removeEventListener("visibilitychange",t);try{e.pause()}catch(e){}}},[h]),(0,n.jsxs)(i.default,{href:t,className:"relative block",style:{flex:"0 0 ".concat(l)},children:[(0,n.jsxs)("div",{className:"w-full relative pb-[150.2%] group",ref:m,children:[r?(0,n.jsx)("video",{ref:f,className:"w-full h-full object-cover object-top absolute top-0 left-0 bottom-0 right-0 pointer-events-none",src:s,poster:c,muted:!0,loop:!0,playsInline:!0,preload:"metadata"}):(0,n.jsx)(o.A,{src:d,className:"w-full h-full object-cover object-top absolute top-0 left-0 bottom-0 right-0",width:300,height:400,alt:u}),(0,n.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0 bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center w-full h-full",children:(0,n.jsx)("p",{className:"text-base text-white font-normal tracking-wider",children:"view portfolio"})})]}),(0,n.jsxs)("div",{className:"flex flex-col space-y-[5px] pt-5 pb-4 text-center uppercase text-[#707070] text-sm leading-[19px] 3xl:text-base 3xl:leading-[21px] font-normal tracking-wider px-1",children:[(0,n.jsx)("p",{children:u}),(0,n.jsx)("p",{children:x})]})]})}let f=e=>{let{runwayAlbumsWithPictures:t,isWillySocial:l}=e,[r,s]=(0,a.useState)(4),[o,p]=(0,a.useState)(!1),x=(0,c.usePathname)(),m=r<t.length,h=t.slice(0,r);return(0,n.jsxs)("div",{className:"sm:hidden",children:[(0,n.jsx)("div",{className:"w-full grid grid-cols-2",children:h.map((e,t)=>{var a,r,s,o;let{href:c}=(0,d._n)(x,e.model),p=l?"/digital/creators/".concat(e.model.id,"-").concat((0,u.Yv)(e.model.nickname)):c,m=null==e||null==(a=e.pictures)?void 0:a[0],h=m&&("video"===m.type||!!m.video_url),f=(null==m?void 0:m.video_url)||(null==m?void 0:m.large),g=(null==m?void 0:m.large)||e.model.picture_url,b=(null==m?void 0:m.large)||e.model.picture_url;return(0,n.jsxs)(i.default,{href:p,className:"relative block",children:[(0,n.jsx)(v,{isVideo:!!h,videoSrc:f,posterSrc:g,imageSrc:b,altText:e.model.nickname}),(0,n.jsxs)("div",{className:"flex flex-col py-3 text-center uppercase text-[#707070] text-[10px] leading-[14px] font-normal tracking-wider px-1",children:[(0,n.jsx)("p",{children:e.model.nickname}),(0,n.jsx)("p",{children:Array.isArray(null==e||null==(o=e.pictures)||null==(s=o[0])||null==(r=s.tags)?void 0:r.Client)?e.pictures[0].tags.Client[0]:""})]})]},t)})}),m&&(0,n.jsx)("div",{className:"flex items-center justify-center mt-[15px] w-full",children:(0,n.jsx)("button",{onClick:()=>{p(!0),setTimeout(()=>{s(e=>e+4),p(!1)},50)},className:"w-[97px] h-[22px] border border-[#707070] uppercase text-[10px] text-[#7C7D81] font-normal flex items-center justify-center hover:bg-[#707070] hover:text-[#F4F4F4] transition-colors duration-300 disabled:opacity-50 disabled:cursor-not-allowed tracking-widest",disabled:o,children:o?(0,n.jsxs)("svg",{className:"animate-spin w-[10px] h-[10px] text-[##F4F4F4]",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}):"load more"})})]})};function v(e){let{isVideo:t,videoSrc:l,posterSrc:r,imageSrc:s,altText:i}=e,{ref:c,inView:d}=(0,p.Wx)({threshold:.4,triggerOnce:!1}),u=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=u.current;if(!e)return;let t=()=>{if(document.hidden||!d)try{e.pause()}catch(e){}
1else{e.muted=!0,e.playsInline=!0;try{e.play().catch(()=>{})}catch(e){}}};return t(),document.addEventListener("visibilitychange",t),()=>{document.removeEventListener("visibilitychange",t);try{e.pause()}catch(e){}}},[d]),(0,n.jsxs)("div",{className:"w-full relative pb-[150.2%] group",ref:c,children:[t?(0,n.jsx)("video",{ref:u,className:"w-full h-full object-cover object-top absolute top-0 left-0 bottom-0 right-0 pointer-events-none",src:l,poster:r,muted:!0,loop:!0,playsInline:!0,preload:"auto"}):(0,n.jsx)(o.A,{src:s,className:"w-full h-full object-cover object-top absolute top-0 left-0 bottom-0 right-0",width:300,height:400,alt:i}),(0,n.jsx)("div",{className:"absolute top-0 left-0 right-0 bottom-0 bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity duration-300 flex items-center justify-center w-full h-full",children:(0,n.jsx)("p",{className:"text-xs text-white font-normal tracking-wider",children:"view portfolio"})})]})}let g=e=>{let{runwayAlbumsWithPictures:t,isWillySocial:l}=e;return(0,n.jsxs)("div",{className:"w-full pt-[22px] sm:pt-[61px] xl:pt-[75px] 3xl:pt-[91px]",children:[(0,n.jsxs)("h1",{className:"text-[22px] leading-[30px] sm:text-[30px] sm:leading-10 xl:text-[40px] xl:leading-[53px] font-scotchDisplayCondensed text-[#7C7D81] text-center",children:[(0,n.jsx)("span",{className:"font-light italic",children:"From The"})," ",(0,n.jsx)("span",{className:"font-light",children:"Runway"})]}),(0,n.jsxs)("div",{className:"w-full pt-[22px] sm:pt-5 xl:pt-[18px]",children:[(0,n.jsx)(m,{runwayAlbumsWithPictures:t,isWillySocial:l}),(0,n.jsx)(f,{runwayAlbumsWithPictures:t})]})]})}},9037:(e,t,l)=>{l.d(t,{GlobalProvider:()=>s,S:()=>i});var n=l(5155),a=l(2115);let r=(0,a.createContext)(void 0),s=e=>{let{children:t}=e,[l,s]=(0,a.useState)(!0),[i,o]=(0,a.useState)(!1),[c,d]=(0,a.useState)(!1),[u,p]=(0,a.useState)([]),[x,m]=(0,a.useState)(""),[h,f]=(0,a.useState)(""),[v,g]=(0,a.useState)(null),[b,w]=(0,a.useState)(null),[j,y]=(0,a.useState)(!0),[N,S]=(0,a.useState)(new Set),[k,C]=(0,a.useState)(new Set),_=(0,a.useMemo)(()=>({isHomeBannerInView:l,setIsHomeBannerInView:s,menuOpen:i,setMenuOpen:o,searchOpen:c,setSearchMenuOpen:d,searchResult:u,setSearchResult:p,rawInput:x,setRawInput:m,keyword:h,setKeyword:f,lastQueryKey:v,setLastQueryKey:g,lastBoardKey:b,setLastBoardKey:w,cityFilterActive:j,setCityFilterActive:y,selectedCities:N,setSelectedCities:S,hiddenGroups:k,setHiddenGroups:C}),[l,i,c,u,x,h,v,b,j,N,k]);return(0,n.jsx)(r.Provider,{value:_,children:t})},i=()=>{let e=(0,a.useContext)(r);if(!e)throw Error("useGlobalContext must be used within GlobalProvider");return e}}}]);

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.