1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3316],{76472:(e,i,t)=>{t.d(i,{A:()=>v});var n=t(73556),o=t(82402);t(96540);var l=t(26438),r=t(24802),a=t(74848),s=["children"];function c(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function d(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?c(Object(t),!0).forEach(function(i){(0,n.A)(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}var u=r.Df.create(function(e){return e.theme,{lightboxBtn:{width:"100%",height:"100%",display:"block"}}});let v=function(e){var i=e.children,t=(0,o.A)(e,s),n=u().classes;return(0,a.jsx)(l.A,d(d({className:n.lightboxBtn},t),{},{children:i}))}},53316:(e,i,t)=>{t.r(i),t.d(i,{default:()=>w});var n=t(73556),o=t(96540),l=t(46874),r=t(73156),a=t(67585),s=t(30803),c=t(24802),d=t(24564),u=t(78584),v=t(88316),h=t(76472),p=t(2860),f=t(41078),m=t(34944),g=t(74848);function b(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function x(e){for(var i=1;i<arguments.length;i++){var t=null!=arguments[i]?arguments[i]:{};i%2?b(Object(t),!0).forEach(function(i){(0,n.A)(e,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))})}return e}var y=d.h.agencyTitle;d.h.agencyLocation;var j=c.Df.create(function(e){var i=e.theme;return{root:{position:"relative"},swiper:{width:"100%",height:"100%",marginLeft:"auto",marginRight:"auto","& .swiper-pagination-bullet":{width:20,height:20,borderRadius:"unset",position:"relative",backgroundColor:"transparent",margin:"0px !important","&::after":{content:'" "',backgroundColor:i.palette.primary.main,width:10,height:10,display:"block",borderRadius:"50%",position:"absolute",top:"25%",left:"25%"}}},slide:{display:"flex",justifyContent:"center",alignItems:"center",width:"fit-content !important"},navigationWrapper:{height:"100%",display:"flex",alignItems:"center"},navigationButton:{color:"inherit","& .material-symbols-outlined":{fontSize:40}},prevButton:{marginRight:i.spacing(1)},nextButton:{marginLeft:i.spacing(1)}}});let w=function(e){var i,t,n,c=e.fetchNextPage,d=(e.hasNextPage,e.isFetchingNextPage,e.media),b=e.data,w=j(),O=w.classes,P=w.cx,D=o.useRef(null),N=o.useRef(null),k=(0,p.A)({data:b}),A=k.division,B=(k.gender,k.talent),C=k.images,L=k.handleOpenLightBox,R=k.isLightBoxOpen,E=(null===(i=(0,f.d3)(A))||void 0===i?void 0:i.title)||"",I=d||C,S=null==I?void 0:I.map(function(e,i){return x(x({},e),{},{index:i})}),H=I?Math.ceil(I.length/2)-I.filter(function(e){var i;return(null==e||null===(i=e.mediaDetails)||void 0===i?void 0:i.orientation)==="L"}).length:0,M=(null==S?void 0:S.slice(0,H))||[],W=(null==S?void 0:S.slice(H))||[];o.useCallback(function(){var e,i=null===(e=D.current)||void 0===e?void 0:e.swiper;null==i||i.update()},[]);var _=o.useMemo(function(){if(D.current){var e;return null===(e=D.current)||void 0===e?void 0:e.swiper.isLocked}return!1},[D.current]);return o.useEffect(function(){var e,i=null===(e=D.current)||void 0===e?void 0:e.swiper;R?null==i||i.keyboard.disable():null==i||i.keyboard.enable()},[R]),(0,g.jsx)(g.Fragment,{children:I?(0,g.jsx)(r.A,{maxWidth:"xl",component:"article",disableGutters:!0,children:(0,g.jsxs)("div",{style:{display:"flex",alignItems:"center",position:"relative",width:"100%"},children:[!_&&(0,g.jsx)("div",{className:O.navigationWrapper,children:(0,g.jsx)(a.A,{onClick:function(){var e,i=null===(e=D.current)||void 0===e?void 0:e.swiper;null==i||i.slidePrev()},className:P(O.navigationButton,O.prevButton),children:(0,g.jsx)(v.A,{code:"î","aria-label":"chevron_left"})})}),(0,g.jsxs)("div",{style:{height:"60vh",display:"flex",flexDirection:"column",gap:5,width:"100%",overflow:"hidden"},children:[(0,g.jsx)("div",{style:{height:"calc(50% - 2.5px)"},children:(0,g.jsx)(l.RC,{ref:D,className:O.swiper,spaceBetween:5,slidesPerView:"auto",centerInsufficientSlides:!0,freeMode:!0,controller:{control:null===(t=N.current)||void 0===t?void 0:t.swiper,by:"slide"},modules:[u.s3,u.dK,u.Vx,u.U1,u.xI],children:M.map(function(e,i){(null==e||null===(t=e.mediaDetails)||void 0===t?void 0:t.orientation)||null==e||null===(n=e.thumbnails)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.mediaDetails)||void 0===n||n.orientation;var t,n,o,r,a,s=null==e||null===(o=e.mediaDetails)||void 0===o?void 0:o.caption;return(0,g.jsx)(l.qr,{className:O.slide,children:(0,g.jsx)(h.A,{onClick:L(e.index),children:(0,g.jsx)(m.A,{talentMedia:e,itemWidth:(null==e||null===(r=e.mediaDetails)||void 0===r?void 0:r.width)||0,itemHeight:(null==e||null===(a=e.mediaDetails)||void 0===a?void 0:a.height)||0,imageProps:{alt:s?"".concat(s,", Portfolio image of ").concat(null==B?void 0:B.firstName," ").concat(null==B?void 0:B.lastName," in ").concat(E," for ").concat(y):"Portfolio image of ".concat(null==B?void 0:B.firstName," ").concat(null==B?void 0:B.lastName," in ").concat(E," for ").concat(y),style:{width:"auto",maxHeight:"53vh"}},videoProps:{style:{width:"auto",maxHeight:"53vh"}}})})},e.index)})})}),(0,g.jsx)("div",{style:{height:"calc(50% - 2.5px)"},children:(0,g.jsx)(l.RC,{ref:N,className:O.swiper,spaceBetween:5,slidesPerView:"auto",freeMode:!0,centerInsufficientSlides:!0,controller:{control:null===(n=D.current)||void 0===n?void 0:n.swiper,by:"slide"},modules:[u.s3,u.dK,u.Vx,u.U1,u.xI],children:W.map(function(e,i){(null==e||null===(t=e.mediaDetails)||void 0===t?void 0:t.orientation)||null==e||null===(n=e.thumbnails)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.mediaDetails)||void 0===n||n.orientation;var t,n,o,r,a,s=null==e||null===(o=e.mediaDetails)||void 0===o?void 0:o.caption;return(0,g.jsx)(l.qr,{className:O.slide,children:(0,g.jsx)(h.A,{onClick:L(e.index),children:(0,g.jsx)(m.A,{talentMedia:e,itemWidth:(null==e||null===(r=e.mediaDetails)||void 0===r?void 0:r.width)||0,itemHeight:(null==e||null===(a=e.mediaDetails)||void 0===a?void 0:a.height)||0,imageProps:{alt:s?"".concat(s,", Portfolio image of ").concat(null==B?void 0:B.firstName," ").concat(null==B?void 0:B.lastName," in ").concat(E," for ").concat(y):"Portfolio image of ".concat(null==B?void 0:B.firstName," ").concat(null==B?void 0:B.lastName," in ").concat(E," for ").concat(y),style:{width:"auto",maxHeight:"53vh"}},videoProps:{style:{width:"auto",maxHeight:"53vh"}}})})},e.index)})})})]}),!_&&(0,g.jsx)("div",{className:O.navigationWrapper,children:(0,g.jsx)(a.A,{onClick:function(){var e,i=null===(e=D.current)||void 0===e?void 0:e.swiper;c(i),null==i||i.slideNext()},className:P(O.navigationButton,O.nextButton),children:(0,g.jsx)(v.A,{code:"î","aria-label":"chevron_right"})})})]})}):(0,g.jsx)(s.A,{component:"p",align:"center",children:"No results to show."})})}},2860:(e,i,t)=>{t.d(i,{A:()=>c});var n=t(96540),o=t(86715),l=t(97085),r=t(41078),a=t(75886),s=t(71531);function c(e){var i,t,c,d,u,v=e.data,h=(0,o.useRouter)().query,p=h.division,f=h.gender,m=h.subDivision,g=null==v||null===(i=v.subPortfolio)||void 0===i||null===(i=i.media)||void 0===i?void 0:i.map(function(e){return(0,a.ni)(s.G,e)}),b=null==v||null===(t=v.subPortfolio)||void 0===t||null===(t=t.media)||void 0===t?void 0:t.map(function(e){return(0,a.ni)(s.G,e)}),x=null==v||null===(c=v.videoLibrary)||void 0===c||null===(c=c.media)||void 0===c?void 0:c.map(function(e){return(0,a.ni)(s.G,e)}),y=null==v||null===(d=v.subPortfolios)||void 0===d?void 0:d.map(function(e){return(0,r.Op)(null==e?void 0:e.id)}),j=null==v||null===(u=v.biographies)||void 0===u?void 0:u.map(function(e){return(0,r.TO)(null==e?void 0:e.id)}),w=n.useContext(l.TA),O=w.dispatch;return{division:p,subDivision:m,gender:f,talent:v,images:g,videos:x,subDivisions:y,biographies:j,handleOpenLightBox:function(e){return function(){O({type:"openLightBox",payload:e})}},isLightBoxOpen:w.state.open,media:b}}}}]);
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.