(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1389,2123,5946],{72123:function(e,t,n){"use strict";var r=n(35408),i=n(44816),o=n(51776),a=n(88037),s=n(15604),l=n(13131),c=44,u=o.forwardRef((function(e,t){var n=e.classes,s=e.className,u=e.color,d=void 0===u?"primary":u,f=e.disableShrink,p=void 0!==f&&f,v=e.size,m=void 0===v?40:v,h=e.style,g=e.thickness,y=void 0===g?3.6:g,b=e.value,x=void 0===b?0:b,j=e.variant,w=void 0===j?"indeterminate":j,Z=(0,i.Z)(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),O={},P={},k={};if("determinate"===w||"static"===w){var S=2*Math.PI*((c-y)/2);O.strokeDasharray=S.toFixed(3),k["aria-valuenow"]=Math.round(x),O.strokeDashoffset="".concat(((100-x)/100*S).toFixed(3),"px"),P.transform="rotate(-90deg)"}return o.createElement("div",(0,r.Z)({className:(0,a.Z)(n.root,s,"inherit"!==d&&n["color".concat((0,l.Z)(d))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[w]),style:(0,r.Z)({width:m,height:m},P,h),ref:t,role:"progressbar"},k,Z),o.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(c," ").concat(c)},o.createElement("circle",{className:(0,a.Z)(n.circle,p&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[w]),style:O,cx:c,cy:c,r:(c-y)/2,fill:"none",strokeWidth:y})))}));t.Z=(0,s.Z)((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(u)},16786:function(e,t,n){"use strict";var r=n(51776),i="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.Z=function(e){var t=e.children,n=e.defer,o=void 0!==n&&n,a=e.fallback,s=void 0===a?null:a,l=r.useState(!1),c=l[0],u=l[1];return i((function(){o||u(!0)}),[o]),r.useEffect((function(){o&&u(!0)}),[o]),r.createElement(r.Fragment,null,c?t:s)}},21389:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return fe},default:function(){return pe}});var r=n(36398),i=n(25548),o=n(23642),a=n(51776),s=n(88037),l=n(28757),c=n(98578),u=n(77889),d=n(54307),f=n(16786),p=n(86005),v=n(21922),m=n(12936),h=n(72902),g=n(51228),y=n(10430),b=n(91784),x=n(42426),j=n(1892),w=n(91227),Z=n(35288),O=n(77895),P=n(17),k=n.n(P),S=(n(64078),n(11659)),N=n(63726),D=n(47770),C=n(85403),I=n(76954),A=n(47858),E=n(57162),T=n(28214),F=n(28813),B=E.aU;function q(){var e=(0,T.D)({mutationKey:["setFavorites"],mutationFn:function(){var e=(0,O.Z)(k().mark((function e(t){var n;return k().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.items,e.abrupt("return",F.Ac.request(B,{items:n}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});return e}E.p2;var R=function(e){return"".concat("https://www.bnmmodels.com","/_share?uuid=").concat(e)},z=n(36734),M=function(){return null},_=(0,c.Z)((function(e){return(0,I.Z)({root:{},form:{},wrapper:{marginBottom:44,gap:20},lastElement:{"& > *:nth-child(odd):last-of-type":{maxWidth:"100%",flexBasis:"100%"}},btn:{background:e.palette.text.primary}})}));function V(e){var t=e.favoritesArrayData,n=e.favorites,r=_(),i={fieldConfigurations:{sectionA:[{label:"Full Name",name:"fullName",fieldType:"textField",rules:{pattern:{value:/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff-'-\s]*$/,message:"Invalid format"},required:"This field is required"}},{label:"Email",name:"email",fieldType:"textField",rules:{pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"},required:"This field is required"}},{label:"Recipient Name",name:"recipientName",fieldType:"textField",rules:{pattern:{value:/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff-'-\s]*$/,message:"Invalid format"},required:"This field is required"}},{label:"Recipient Email",name:"recipientEmail",fieldType:"textField",rules:{pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"},required:"This field is required"}},{label:"Phone",name:"phone",fieldType:"textField",rules:{pattern:{value:/^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s./0-9]*$/,message:"Invalid phone number"},required:"This field is required"}},{label:"Message",name:"message",fieldType:"textField",rules:{required:"This field is required"},fieldProps:{multiline:!0,minRows:4}}]}}.fieldConfigurations,o=(0,N.Z)(),s=o.open,c=o.message,u=o.setMessageAndOpen,d=o.handleClose,f=(0,l.Z)("common").t,m=(0,S.Z)("favorites"),h=q(),g=a.useRef(null),y=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(){var r=(0,O.Z)(k().mark((function r(o,a){var s,l,c,p,v,y;return k().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,null===(s=g.current)||void 0===s?void 0:s.executeAsync();case 3:if(l=r.sent,!i||!l){r.next=20;break}return u({type:"loading",text:"Uploading..."}),r.next=8,(0,C.Z)({fieldValues:o,fieldConfigurations:i});case 8:return(c=r.sent).push({label:"".concat(f("favs")),value:t,fieldType:"array"}),r.next=13,h.mutateAsync({items:n});case 13:null!==(v=r.sent)&&void 0!==v&&null!==(p=v.node)&&void 0!==p&&p.uuid&&c.push({label:"".concat(f("favs")," link"),value:R(null===v||void 0===v||null===(y=v.node)||void 0===y?void 0:y.uuid),fieldType:"fieldType"});case 15:if(u({type:"loading",text:"Submitting..."}),!e){r.next=19;break}return d(),r.abrupt("return",c);case 19:m.mutate({to:[o.recipientEmail||""],subject:"Favorites Share",formData:c,captcha:l},{onSuccess:function(){var e;u({type:"success",text:"Thank you for your submission. We will be in touch shortly."}),a.resetForm(),null===(e=g.current)||void 0===e||e.reset()},onError:function(e){u({type:"error",text:"Something went wrong. Please try again later."}),console.error(e)}});case 20:r.next=25;break;case 22:r.prev=22,r.t0=r.catch(0),console.error(r.t0);case 25:return r.abrupt("return",void 0);case 26:case"end":return r.stop()}}),r,null,[[0,22]])})));return function(e,t){return r.apply(this,arguments)}}()};return(0,z.jsxs)("article",{children:[(0,z.jsxs)(D.ZP,{onSubmit:y(),fieldConfigurations:i,children:[(0,z.jsx)(p.Z,{className:r.wrapper,container:!0,justifyContent:"center",children:(0,z.jsx)(D.Zl,{fieldConfig:i.sectionA,wrapperProps:{item:!0,xs:12}})}),(0,z.jsx)(p.Z,{container:!0,direction:"column",alignItems:"center",children:(0,z.jsx)(p.Z,{item:!0,children:(0,z.jsx)(D.ee,{captchaRef:g})})}),(0,z.jsx)(p.Z,{container:!0,direction:"column",alignItems:"center",children:(0,z.jsxs)(p.Z,{item:!0,children:[(0,z.jsx)(v.Z,{variant:"contained",color:"primary",type:"submit",className:r.btn,children:"Submit"}),(0,z.jsx)(M,{type:"favorite",onSubmit:y(!0)})]})})]}),(0,z.jsx)(A.Z,{open:s,onClose:d,message:c})]})}var L=n(56562),$=n.n(L),W=n(26664),G=n(17623),U=n(32403),Y=n(10197),H=n(80544),J=n(99290),K=n(65379),X=n(48684),Q=n(26912),ee=n(1158),te=348,ne=455,re=(0,c.Z)((function(e){return{iconButton:{padding:0,color:e.palette.background.default,"&:hover .material-symbols-outlined":{fontVariationSettings:"'FILL' 1"}},button:{fontSize:31,"&:hover":{backgroundColor:"transparent"},"@media (max-width: 600px)":{fontSize:"26px"}},clearButton:(0,o.Z)({padding:"10px 27px",background:e.palette.primary.light,letterSpacing:".20em",fontWeight:500,fontSize:20,textTransform:"uppercase"},e.breakpoints.down("xs"),{letterSpacing:".05em"}),hoveredLink:{display:"flex",flexDirection:"column",height:"100%",width:"100%",justifyContent:"space-between"},talentTitle:(0,o.Z)({fontSize:18,paddingTop:10,lineHeight:1.2,fontWeight:400,textTransform:"uppercase",letterSpacing:".20em"},e.breakpoints.down("xs"),{letterSpacing:".05em"})}}));var ie=function(e){var t=e.data,n=re(),r=(0,m.r)(),i=r.removeFavorite,o=r.clearFavorites,a=(0,l.Z)("common").t;return(0,z.jsxs)(u.Z,{maxWidth:"xl",component:"article",children:[(0,z.jsx)("div",{style:{textAlign:"center",marginBottom:30},children:(0,z.jsxs)(G.Z,{className:n.clearButton,onClick:o,children:["Clear ",a("favs")]})}),(0,z.jsx)(W.kV,{columnsPerBreakpoint:{xs:2,sm:3,md:4,lg:4,xl:4},gap:24,justifyContent:"center",children:t.map((function(e){var t,r,o,a=(0,J.Zu)(null===e||void 0===e||null===(t=e.subPortfolio)||void 0===t?void 0:t.id),s=(0,J.do)(null===e||void 0===e?void 0:e.genderId,null===e||void 0===e||null===(r=e.subPortfolio)||void 0===r?void 0:r.id),l=(0,b.dx)(Q.ds,null===e||void 0===e||null===(o=e.subPortfolio)||void 0===o?void 0:o.firstMedia),c="/".concat(a,"/").concat(s,"/").concat(null===e||void 0===e?void 0:e.talentId,"/").concat(null===e||void 0===e?void 0:e.stringId);return(0,z.jsx)(W.P4,{children:(0,z.jsx)(H.Z,{children:function(t){var r,o,a,s,u,f,v=t.cardClasses;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsxs)("div",{className:v.contentContainer,children:["Video"===(null===l||void 0===l||null===(r=l.mediaDetails)||void 0===r?void 0:r.type)?(0,z.jsx)("div",{className:v.videosContainer,children:(0,z.jsx)(ee.Z,{src:(null===l||void 0===l?void 0:l.url)||"",poster:(null===l||void 0===l||null===(o=l.thumbnails)||void 0===o||null===(a=o[0])||void 0===a?void 0:a.url)||"",muted:!0,playsInline:!0,loop:!0,autoPlay:!0,width:te,height:ne,style:{width:"100%",height:"100%",objectFit:"cover",aspectRatio:"".concat(.7648351648351648)}})}):(0,z.jsx)("div",{className:v.imagesContainer,children:(0,z.jsx)(K.Z,{src:(null===l||void 0===l?void 0:l.url)||"",width:te,height:ne,alt:(null===l||void 0===l||null===(s=l.mediaDetails)||void 0===s?void 0:s.caption)||"".concat(null===e||void 0===e?void 0:e.firstName," ").concat(null===e||void 0===e?void 0:e.lastName," image"),style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center top",aspectRatio:"".concat(.7648351648351648)}})}),(0,z.jsx)("div",{className:v.hoveredContent,children:(0,z.jsx)($(),{href:c,passHref:!0,children:(0,z.jsx)(U.Z,{className:n.hoveredLink,children:(0,z.jsx)(p.Z,{container:!0,justifyContent:"flex-end",children:(0,z.jsx)(Y.Z,{className:n.iconButton,onClick:(f={portfolioId:null===e||void 0===e||null===(u=e.subPortfolio)||void 0===u?void 0:u.id,talentId:null===e||void 0===e?void 0:e.talentId},function(e){e.preventDefault(),i(f)}),children:(0,z.jsx)(X.Z,{code:"\ue872","aria-label":"delete"})})})})})})]}),(0,z.jsx)("div",{children:(0,z.jsx)(p.Z,{children:(0,z.jsxs)(d.Z,{component:"div",align:"center",className:n.talentTitle,children:[null===e||void 0===e?void 0:e.firstName," ",null===e||void 0===e?void 0:e.lastName]})})})]})}})},null===e||void 0===e?void 0:e.talentId)}))})]})};var oe=function(){return null},ae=(0,c.Z)((function(e){return(0,I.Z)({root:{},form:{},wrapper:{marginBottom:44,gap:20},lastElement:{"& > *:nth-child(odd):last-of-type":{maxWidth:"100%",flexBasis:"100%"}},btn:{background:e.palette.text.primary}})}));function se(e){var t=e.favoritesArrayData,n=e.favorites,r=ae(),i={fieldConfigurations:{sectionA:[{label:"Full Name",name:"fullName",fieldType:"textField",rules:{pattern:{value:/^[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff-'-\s]*$/,message:"Invalid format"},required:"This field is required"}},{label:"Email",name:"email",fieldType:"textField",rules:{pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i,message:"Invalid email address"},required:"This field is required"}},{label:"Phone",name:"phone",fieldType:"textField",rules:{pattern:{value:/^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s./0-9]*$/,message:"Invalid phone number"},required:"This field is required"}},{label:"Message",name:"message",fieldType:"textField",rules:{required:"This field is required"},fieldProps:{multiline:!0,minRows:4}}]}}.fieldConfigurations,o=(0,N.Z)(),s=o.open,c=o.message,u=o.setMessageAndOpen,d=o.handleClose,f=(0,l.Z)("common").t,m=(0,S.Z)("favorites"),h=q(),g=a.useRef(null),y=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(){var r=(0,O.Z)(k().mark((function r(o,a){var s,l,c,p,v,y;return k().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,null===(s=g.current)||void 0===s?void 0:s.executeAsync();case 3:if(l=r.sent,!i||!l){r.next=20;break}return u({type:"loading",text:"Uploading..."}),r.next=8,(0,C.Z)({fieldValues:o,fieldConfigurations:i});case 8:return(c=r.sent).push({label:"".concat(f("favs")),value:t,fieldType:"array"}),r.next=13,h.mutateAsync({items:n});case 13:null!==(v=r.sent)&&void 0!==v&&null!==(p=v.node)&&void 0!==p&&p.uuid&&c.push({label:"".concat(f("favs")," link"),value:R(null===v||void 0===v||null===(y=v.node)||void 0===y?void 0:y.uuid),fieldType:"fieldType"});case 15:if(u({type:"loading",text:"Submitting..."}),!e){r.next=19;break}return d(),r.abrupt("return",c);case 19:m.mutate({to:["info@bnmmodels.com"],subject:"Favorites Request",formData:c,captcha:l},{onSuccess:function(){var e;u({type:"success",text:"Thank you for your submission. We will be in touch shortly."}),a.resetForm(),null===(e=g.current)||void 0===e||e.reset()},onError:function(e){u({type:"error",text:"Something went wrong. Please try again later."}),console.error(e)}});case 20:r.next=25;break;case 22:r.prev=22,r.t0=r.catch(0),console.error(r.t0);case 25:return r.abrupt("return",void 0);case 26:case"end":return r.stop()}}),r,null,[[0,22]])})));return function(e,t){return r.apply(this,arguments)}}()};return(0,z.jsxs)("article",{children:[(0,z.jsxs)(D.ZP,{onSubmit:y(),fieldConfigurations:i,children:[(0,z.jsx)(p.Z,{className:r.wrapper,container:!0,justifyContent:"center",children:(0,z.jsx)(D.Zl,{fieldConfig:i.sectionA,wrapperProps:{item:!0,xs:12}})}),(0,z.jsx)(p.Z,{container:!0,direction:"column",alignItems:"center",children:(0,z.jsx)(p.Z,{item:!0,children:(0,z.jsx)(D.ee,{captchaRef:g})})}),(0,z.jsx)(p.Z,{container:!0,direction:"column",alignItems:"center",children:(0,z.jsxs)(p.Z,{item:!0,children:[(0,z.jsx)(v.Z,{variant:"contained",color:"primary",type:"submit",className:r.btn,children:"Submit"}),(0,z.jsx)(oe,{onSubmit:y(!0),type:"favorite"})]})})]}),(0,z.jsx)(A.Z,{open:s,onClose:d,message:c})]})}var le=["subPortfolios"];function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var de=(0,c.Z)((function(e){return{btnGroup:{border:"1px solid ".concat(e.palette.primary.main),borderRadius:0,maxWidth:400},button:{fontSize:20,color:"#AAAAAA",padding:"20px 0",borderBottom:"2px solid transparent","&:hover":{backgroundColor:"transparent",color:e.palette.primary.main,borderBottom:"2px solid ".concat(e.palette.primary.main)},"@media (max-width: 425px)":{fontSize:18,letterSpacing:"0.05em"}},buttonActive:{color:e.palette.primary.main,borderBottom:"2px solid ".concat(e.palette.primary.main)},heading:(0,o.Z)({color:e.palette.primary.main,marginBottom:50},e.breakpoints.down("xs"),{marginBottom:30}),tabBtn:(0,o.Z)({marginBottom:70,justifyContent:"center",gap:50},e.breakpoints.down("xs"),{marginBottom:40,gap:25})}}));var fe=!0,pe=function(){var e,t,n,o=(0,a.useState)(!0),c=o[0],O=o[1],P=(0,m.r)(),k=P.isEmpty,S=P.favorites,N=de(),D=(0,l.Z)("common").t,C=a.useMemo((function(){return S}),[S]),I=(0,y.Z)({filters:{portfolioIds:C.map((function(e){return e.portfolioId})),talentIds:C.map((function(e){return e.talentId}))},pageSize:10}),A=I.data,E=I.isFetching,T=I.fetchNextPage,F=I.hasNextPage,B=I.isFetchingNextPage,q=(0,h.xU)("favorites"),R=null===A||void 0===A?void 0:A.pages.reduce((function(e,t){var n,r,o=(null===t||void 0===t||null===(n=t.node)||void 0===n?void 0:n.talents)||[],a=(null===e||void 0===e||null===(r=e.node)||void 0===r?void 0:r.talents)||[];return{node:ue(ue({},t.node),{},{talents:[].concat((0,i.Z)(a),(0,i.Z)(o))})}}),{node:{talents:[]}}),M=null===R||void 0===R||null===(e=R.node)||void 0===e||null===(t=e.talents)||void 0===t||null===(n=t.map((function(e){var t=(0,b.dx)(x.I,e),n=t.subPortfolios,i=(0,r.Z)(t,le);return null===n||void 0===n?void 0:n.map((function(e){return ue(ue({},i),{},{subPortfolio:e})}))})).reduce((function(e,t){return[].concat((0,i.Z)(e||[]),(0,i.Z)(t||[]))}),[]))||void 0===n?void 0:n.filter((function(e){return S.find((function(t){var n;return t.talentId===e.talentId&&t.portfolioId===(null===(n=e.subPortfolio)||void 0===n?void 0:n.id)}))}));return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(g.PB,ue({},q)),(0,z.jsxs)(Z.Z,{mb:100,children:[(0,z.jsx)(u.Z,{children:(0,z.jsx)(d.Z,{variant:"h3",component:"h3",align:"center",className:N.heading,children:D("favs")})}),(0,z.jsxs)(f.Z,{children:[(0,z.jsx)("div",{style:{marginBottom:70},hidden:!k,children:(0,z.jsx)(u.Z,{children:(0,z.jsxs)(d.Z,{paragraph:!0,align:"center",children:["You have not selected any ",D("favs"),". Click the heart icon to add a model to ",D("favs"),"."]})})}),(0,z.jsxs)("div",{hidden:k,children:[(0,z.jsx)(u.Z,{maxWidth:"xs",disableGutters:!0,component:"section",style:{textAlign:"center"},children:(0,z.jsxs)(p.Z,{container:!0,className:N.tabBtn,children:[(0,z.jsx)(p.Z,{item:!0,style:{textAlign:"center"},children:(0,z.jsx)(v.Z,{variant:"text",className:(0,s.Z)([N.button,c?N.buttonActive:""]),onClick:function(){return O(!0)},children:"Request Info"})}),(0,z.jsx)(p.Z,{item:!0,style:{textAlign:"center"},children:(0,z.jsx)(v.Z,{variant:"text",className:(0,s.Z)([N.button,c?"":N.buttonActive]),onClick:function(){return O(!1)},children:"Send Email"})})]})}),(0,z.jsx)(u.Z,{maxWidth:"xs",style:{marginBottom:70},component:"section",children:c?(0,z.jsx)(se,{favoritesArrayData:M,favorites:S}):(0,z.jsx)(V,{favoritesArrayData:M,favorites:S})}),E&&!B&&(0,z.jsx)(j.Z,{}),M&&(0,z.jsx)(ie,{data:M}),(0,z.jsx)(w.Z,{fetchNextPage:T,hasNextPage:F,isFetchingNextPage:B})]})]})]})]})}},80544:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(23642),i=n(36398),o=n(76954),a=n(98578),s=n(51776),l=n(88037),c=n(36734),u=["children","classes","className"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=(0,a.Z)((function(e){return(0,o.Z)({root:{position:"relative",display:"flex",flexDirection:"column",overflow:"hidden",height:"100%","&:hover $hoveredContent":{opacity:1,zIndex:2}},contentContainer:{width:"100%",display:"flex",flexDirection:"column",position:"relative",overflow:"hidden"},imagesContainer:{height:"100%",width:"100%",position:"relative","& img":{display:"block"}},videosContainer:{height:"100%",width:"100%",position:"relative","& video":{display:"block"}},fixedContent:{padding:e.spacing(2),position:"absolute",top:0,width:"100%",height:"100%",transition:e.transitions.create("all"),display:"flex",flexDirection:"column"},hoveredContent:{padding:e.spacing(2),position:"absolute",top:0,width:"100%",height:"100%",transition:e.transitions.create("all"),display:"flex",flexDirection:"column",backgroundColor:e.palette.action.active,color:e.palette.getContrastText(e.palette.action.active),opacity:0,zIndex:-1},mainTextContainer:{padding:e.spacing(1),transition:e.transitions.create("all")}})})),v=s.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,a=(0,i.Z)(e,u),s=p({classes:r});return(0,c.jsx)("article",f(f({},a),{},{className:(0,l.Z)(s.root,o),ref:t,children:n({cardClasses:s})}))}));v.displayName="MBUISimpleImageCard";var m=v},26664:function(e,t,n){"use strict";n.d(t,{P4:function(){return g},kV:function(){return Z}});var r=n(23642),i=n(36398),o=n(51776),a=n(76954),s=n(98578),l=n(86005),c=n(88037),u=n(36734),d=["colspan","columnsPerBreakpoint","gap"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e,t){var n,r,i=(null===t||void 0===t||null===(n=t.columnsPerBreakpoint)||void 0===n?void 0:n[e])||1,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e>t?t:e}(null===(r=t.colspan)||void 0===r?void 0:r[e],i),a=(null===t||void 0===t?void 0:t.gap)||0;return"0 0 calc(".concat(100/i*o,"% - ").concat(a-100/i*(a/100),"px)")},m=(0,s.Z)((function(e){var t;return{item:(t={},(0,r.Z)(t,e.breakpoints.up("xs"),{flex:function(e){return v("xs",e)}}),(0,r.Z)(t,e.breakpoints.up("sm"),{flex:function(e){return v("sm",e)}}),(0,r.Z)(t,e.breakpoints.up("md"),{flex:function(e){return v("md",e)}}),(0,r.Z)(t,e.breakpoints.up("lg"),{flex:function(e){return v("lg",e)}}),(0,r.Z)(t,e.breakpoints.up("xl"),{flex:function(e){return v("xl",e)}}),t)}})),h=o.forwardRef((function(e,t){e.colspan,e.columnsPerBreakpoint,e.gap;var n=(0,i.Z)(e,d),r=m(e);return(0,u.jsx)(l.Z,p(p({item:!0,ref:t},n),{},{className:(0,c.Z)(n.className,r.item)}))}));h.displayName="MBUIGridItem";var g=h,y=["children","gap","columnsPerBreakpoint","className"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var j=(0,s.Z)((function(e){return(0,a.Z)({container:{gap:function(e){return e.gap}}})}),{name:"MuiMbVerticalGrid"}),w=o.forwardRef((function(e,t){var n=e.children,r=e.gap,a=void 0===r?0:r,s=e.columnsPerBreakpoint,d=e.className,f=(0,i.Z)(e,y),p=j(e);return(0,u.jsx)(l.Z,x(x({container:!0,ref:t,className:(0,c.Z)(p.container,d)},f),{},{children:o.Children.map(n,(function(e){return o.isValidElement(e)&&e.type===g?o.cloneElement(e,x({columnsPerBreakpoint:s,gap:a},e.props)):e}))}))}));w.displayName="MBUIVerticalGrid";var Z=w},65379:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(23642),i=n(36398),o=n(51776),a=n(26870),s=n.n(a),l=n(98578),c=n(16786),u=n(13880),d=n(36734),f=["unoptimized","disableShimmer","disableSSR"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=(0,l.Z)((function(){return{root:{position:"relative",width:"100%",height:"100%",textAlign:"center"},imageLoader:{opacity:1,position:"absolute",width:"100%",height:"100%",zIndex:1}}}));function h(e){var t=e.unoptimized,n=void 0===t||t,r=e.disableShimmer,a=e.disableSSR,l=void 0!==a&&a,p=(0,i.Z)(e,f),h=m(),g=o.useRef(null),y=o.useRef(null),b=function(e){var t,n,r;null===(t=y.current)||void 0===t||t.style.setProperty("opacity","0"),null===(n=y.current)||void 0===n||n.style.setProperty("z-index","-1"),null===(r=g.current)||void 0===r||r.style.setProperty("aspect-ratio","auto")},x=l?c.Z:o.Fragment,j=(0,d.jsx)(x,{children:(0,d.jsx)(s(),v({onContextMenu:function(e){return e.preventDefault()},onLoadingComplete:b,onLoad:b,onError:function(){var e,t;null===(e=y.current)||void 0===e||e.style.setProperty("opacity","1"),null===(t=y.current)||void 0===t||t.style.setProperty("z-index","1")},unoptimized:n,quality:100},p))});return r?j:(0,d.jsxs)("div",{className:h.root,ref:g,style:{aspectRatio:"".concat(null===p||void 0===p?void 0:p.width," / ").concat(null===p||void 0===p?void 0:p.height)},children:[(0,d.jsx)("div",{className:h.imageLoader,ref:y,dangerouslySetInnerHTML:{__html:(0,u.Z)()}}),j]})}},91227:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(51776),i=n(65141),o=n(98578),a=n(1892),s=n(36734),l=(0,o.Z)((function(){return{root:{width:"100%",padding:24}}}));function c(e){var t=e.fetchNextPage,n=e.hasNextPage,o=(e.isFetchingNextPage,e.options),c=l(),u=(0,i.YD)(o),d=u.ref,f=u.inView;return r.useEffect((function(){f&&t()}),[f]),(0,s.jsx)(s.Fragment,{children:n&&(0,s.jsx)("div",{ref:d,className:c.root,children:(0,s.jsx)(a.Z,{})})})}},13880:function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#f0f0f0",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#e0e0e0";return'\n<svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<defs>\n  <linearGradient id="g">\n    <stop stop-color="'.concat(e,'" offset="0%" />\n    <stop stop-color="').concat(t,'" offset="50%" />\n    <stop stop-color="').concat(e,'" offset="100%" />\n  </linearGradient>\n</defs>\n<rect width="100%" height="100%" fill="').concat(e,'" />\n<rect id="r" width="100%" height="100%" fill="url(#g)">\n  <animate attributeName="x" from="-100%" to="100%" dur="1s" repeatCount="indefinite" />\n</rect>\n</svg>')}n.d(t,{Z:function(){return r}})},1892:function(e,t,n){"use strict";n.d(t,{C:function(){return c},Z:function(){return l}});n(51776);var r=n(98578),i=n(16786),o=n(72123),a=n(36734),s=(0,r.Z)({root:{display:"block",position:"relative",height:"100%",width:"100%"},inner:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",width:"100%"},backdrop:{zIndex:10,position:"fixed",width:"100%",height:"100%",left:0,top:0,display:"flex",justifyContent:"center",alignItems:"center"}});function l(e){var t=e.color,n=s();return(0,a.jsx)(i.Z,{children:(0,a.jsx)("div",{className:n.root,children:(0,a.jsx)("div",{className:n.inner,children:(0,a.jsx)(o.Z,{color:t})})})})}function c(e){var t=e.open,n=s();return(0,a.jsx)(i.Z,{children:t&&(0,a.jsx)("div",{className:n.backdrop,children:(0,a.jsx)(o.Z,{color:"inherit"})})})}},1158:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(23642),i=n(36398),o=n(51776),a=n(98578),s=n(16786),l=n(65141),c=n(13880),u=n(36734),d=["src","disableShimmer","disableSSR"];function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=(0,a.Z)((function(){return{root:{position:"relative",width:"100%",height:"100%",textAlign:"center"},imageLoader:{opacity:1,position:"absolute",width:"100%",height:"100%",zIndex:1}}}));function m(e){var t=e.src,n=e.disableShimmer,r=e.disableSSR,a=void 0!==r&&r,f=(0,i.Z)(e,d),m=v(),h=o.useRef(null),g=o.useRef(null),y=(0,l.YD)({triggerOnce:!1,rootMargin:"200px 0px"}),b=y.ref,x=y.inView,j=a?s.Z:o.Fragment,w=(0,u.jsx)(j,{children:(0,u.jsxs)("video",p(p({},f),{},{ref:b,onLoadedData:function(e){var t,n,r;null===(t=g.current)||void 0===t||t.style.setProperty("opacity","0"),null===(n=g.current)||void 0===n||n.style.setProperty("z-index","-1"),null===(r=h.current)||void 0===r||r.style.setProperty("aspect-ratio","auto")},onError:function(){var e,t;null===(e=g.current)||void 0===e||e.style.setProperty("opacity","1"),null===(t=g.current)||void 0===t||t.style.setProperty("z-index","1")},controlsList:"nodownload",onContextMenu:function(e){return e.preventDefault()},children:[x&&(0,u.jsx)("source",{src:t,type:"video/mp4"}),(0,u.jsx)("track",{kind:"captions"})]}))});return n?w:(0,u.jsxs)("div",{className:m.root,ref:h,style:{aspectRatio:"".concat(null===f||void 0===f?void 0:f.width," / ").concat(null===f||void 0===f?void 0:f.height)},children:[(0,u.jsx)("div",{className:m.imageLoader,ref:g,dangerouslySetInnerHTML:{__html:(0,c.Z)()}}),w]})}},12936:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r=n(25548),i=n(63200),o=n(51776),a=n(51560),s=n(38736);function l(){var e=(0,a._)("favorites",[]),t=(0,i.Z)(e,2),n=t[0],l=t[1],c=o.useContext(s.MJ).dispatch,u=0===Object.keys(n).length;return{favorites:n,addFavorite:function(e){n.length>=Number("30")?c({type:"open",payload:{type:"error",text:"You can only add ".concat("30"," favorites please remove one to add another.")}}):l((function(t){return[].concat((0,r.Z)(t),[e])}))},removeFavorite:function(e){l((function(t){var n=t.findIndex((function(t){return t.talentId===(null===e||void 0===e?void 0:e.talentId)&&t.portfolioId===(null===e||void 0===e?void 0:e.portfolioId)}));return t.splice(n,1),t}))},clearFavorites:function(){l([])},isEmpty:u}}},28813:function(e,t,n){"use strict";n.d(t,{Ac:function(){return h},Lp:function(){return m}});var r=n(23642),i=n(77895),o=n(17),a=n.n(o),s=n(59295),l=n(52200);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=new s.S;function f(){return p.apply(this,arguments)}function p(){return(p=(0,i.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"get-jwt",e.next=3,d.fetchQuery(["get-jwt"],(0,i.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/api/jwt");case 2:return t=e.sent.json(),e.abrupt("return",t);case 4:case"end":return e.stop()}}),e)}))),{staleTime:354e4,initialDataUpdatedAt:Date.now()});case 3:return t=e.sent,e.abrupt("return",t);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var v=function(){var e=(0,i.Z)(a().mark((function e(t){var n,r,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return!1,e.next=3,f();case 3:return n=e.sent,r=n.accessToken,i=n.idToken,e.abrupt("return",u(u({},t),{},{headers:u(u({},t.headers),{},{authorization:"Bearer ".concat(r),"x-id-token":"Bearer ".concat(i),"Apollo-Require-Preflight":"true"})}));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),m=new l.g6("https://graphql.portfoliopad.com/graphql",{requestMiddleware:v,errorPolicy:"all",method:"GET",jsonSerializer:{parse:JSON.parse,stringify:JSON.stringify}}),h=new l.g6("https://graphql.portfoliopad.com/graphql",{requestMiddleware:v,errorPolicy:"all"})},99290:function(e,t,n){"use strict";n.d(t,{$3:function(){return p},BS:function(){return c},Ck:function(){return y},MZ:function(){return g},PO:function(){return f},Y1:function(){return m},Zu:function(){return u},do:function(){return v},ep:function(){return b},hJ:function(){return h},l0:function(){return l},pS:function(){return d}});var r=n(31279);var i=r.D.divisions,o=(r.D.genders,r.D.resumes),a=(r.D.subDivisions,r.D.printableDivisions),s=Object.keys(i),l=function(e){var t;return Number(null===(t=i[e])||void 0===t?void 0:t.portfolio)},c=function(e){var t;return Number(null===(t=i[e])||void 0===t?void 0:t.video)},u=function(e){return s.find((function(t){return i[t].portfolio.toString()===(null===e||void 0===e?void 0:e.toString())}))},d=function(e){return s.find((function(t){return i[t].video.toString()===(null===e||void 0===e?void 0:e.toString())}))},f=function(e){return Object.keys(o).find((function(t){return o[t].toString()===(null===e||void 0===e?void 0:e.toString())}))},p=function(e){return e&&Number(o[e])},v=function(e,t){return r.D.searchGenders["".concat(e,"-").concat(t)]||"all"},m=function(e){return i[e].subDivisions.map((function(e){return Number(i[e].portfolio)}))},h=function(e){return i[e].subDivisions.map((function(e){return Number(i[e].video)}))},g=function(e){return e&&e.map((function(e){return Number(r.D.newsCategory[e])}))},y=function(e){return null===e||void 0===e?void 0:e.map((function(e){return u(e)})).filter((function(e){return e&&a[e]}))},b=function(e){return a[e]}},42426:function(e,t,n){"use strict";n.d(t,{I:function(){return i}});var r=n(57162),i=(n(91784),r.j)},10430:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(77895),i=n(17),o=n.n(i),a=n(57162),s=n(85347),l=(n(91784),n(28813)),c=a.dE,u=function(e){var t=e.filters,n=e.pageSize,i=void 0===n?20:n;return{queryKey:["search",{filters:t,pageSize:i}],queryFn:function(){var e=(0,r.Z)(o().mark((function e(n){var r,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=n.pageParam,e.abrupt("return",l.Lp.request(c,{filters:t,pagination:{pageSize:i,nextCursor:null===a||void 0===a?void 0:a.nextCursor,prevCursor:null===a||void 0===a?void 0:a.prevCursor},portfolioIds:null!==t&&void 0!==t&&t.portfolioIds&&(null===t||void 0===t||null===(r=t.portfolioIds)||void 0===r?void 0:r.length)>0?null===t||void 0===t?void 0:t.portfolioIds:void 0,orderBy:{name:"asc"},firstPortfolioMediaOrderBy:{websort:"asc"}}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),getNextPageParam:function(e){var t,n,r,i;return null!==(t=e.node)&&void 0!==t&&null!==(n=t.pagination)&&void 0!==n&&n.nextCursor?{nextCursor:null===(r=e.node)||void 0===r||null===(i=r.pagination)||void 0===i?void 0:i.nextCursor,prevCursor:null}:void 0},getPreviousPageParam:function(e){var t,n,r,i;return null!==(t=e.node)&&void 0!==t&&null!==(n=t.pagination)&&void 0!==n&&n.nextCursor?{prevCursor:null===(r=e.node)||void 0===r||null===(i=r.pagination)||void 0===i?void 0:i.prevCursor,nextCursor:null}:void 0}}};function d(e){var t=u(e),n=t.queryKey,r=t.queryFn,i=t.getNextPageParam,o=t.getPreviousPageParam;return(0,s.N)({queryKey:n,queryFn:r,refetchOnWindowFocus:!1,staleTime:3e5,initialDataUpdatedAt:Date.now(),enabled:!!e.filters,getNextPageParam:i,getPreviousPageParam:o})}},91903:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/favorites",function(){return n(21389)}])},25548:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(87699);var i=n(74781);function o(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},65141:function(e,t,n){"use strict";n.d(t,{YD:function(){return f}});var r=n(51776),i=Object.defineProperty,o=(e,t,n)=>(((e,t,n)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!==typeof t?t+"":t,n),n),a=new Map,s=new WeakMap,l=0,c=void 0;function u(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(s.has(n)||(l+=1,s.set(n,l.toString())),s.get(n)):"0"):e[t]}`;var n})).toString()}function d(e,t,n={},r=c){if("undefined"===typeof window.IntersectionObserver&&void 0!==r){const i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:i,observer:o,elements:s}=function(e){let t=u(e),n=a.get(t);if(!n){const r=new Map;let i;const o=new IntersectionObserver((t=>{t.forEach((t=>{var n;const o=t.isIntersecting&&i.some((e=>t.intersectionRatio>=e));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach((e=>{e(o,t)}))}))}),e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},a.set(t,n)}return n}(n);let l=s.get(e)||[];return s.has(e)||s.set(e,l),l.push(t),o.observe(e),function(){l.splice(l.indexOf(t),1),0===l.length&&(s.delete(e),o.unobserve(e)),0===s.size&&(o.disconnect(),a.delete(i))}}r.Component;function f({threshold:e,delay:t,trackVisibility:n,rootMargin:i,root:o,triggerOnce:a,skip:s,initialInView:l,fallbackInView:c,onChange:u}={}){var f;const[p,v]=r.useState(null),m=r.useRef(),[h,g]=r.useState({inView:!!l,entry:void 0});m.current=u,r.useEffect((()=>{if(s||!p)return;let r;return r=d(p,((e,t)=>{g({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&a&&r&&(r(),r=void 0)}),{root:o,rootMargin:i,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}}),[Array.isArray(e)?e.toString():e,p,o,i,a,s,n,c,t]);const y=null==(f=h.entry)?void 0:f.target,b=r.useRef();p||!y||a||s||b.current===y||(b.current=y,g({inView:!!l,entry:void 0}));const x=[v,h.inView,h.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}}},function(e){e.O(0,[6870,6562,3533,6914,5347,3891,6774,5994,427,4838,9774,2888,179],(function(){return t=91903,e(e.s=t);var t}));var t=e.O();_N_E=t}]);