PageSourceSearch

https://www.modelogic.com/_next/static/chunks/5167.6824dfef6147406a.js

js modelogic.com collected 2026-10-06 12:55:34 UTC 5,688 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5167],{28309:(e,t,n)=>{n.d(t,{A:()=>o});let o=n(21529).A},69339:(e,t,n)=>{n.r(t),n.d(t,{default:()=>L});var o=n(38242),r=n(87567),i=n(73556),l=n(96540),a=n(97400),s=n(67585),c=n(25285),d=n(73156),u=n(81837),f=n(30803),h=n(24802),p=n(98091),x=n(49344);n(33013);var m=n(66139),v=n(18206),g=n(64210),j=n(88486),b=n(88316),A=n(64720),y=n(88170),P=n(63847),N=n(75886),w=n(74848);let O=function(e){var t=e.data,n=e.children,o=(0,N.ni)(P.d,t),r=(0,A.A)(function(e){return e.breakpoints.down("md")});return(0,w.jsx)(d.A,{maxWidth:"xl",style:{padding:8},children:(0,w.jsx)(y.A,{container:!0,spacing:{xs:2,sm:3,md:3,lg:3,xl:3},justifyContent:"center",style:{rowGap:r?16:30},children:null==o?void 0:o.map(function(e){return(0,w.jsx)(y.A,{size:{xs:12,sm:6,md:4,lg:3,xl:3},children:n({data:e})},null==e?void 0:e.talentId)})})})};var k=n(71531),C=n(14953),S=n.n(C),B=n(41078),D=n(24564),E=n(34944),z=n(19844),F=n(69754),T=D.h.agencyTitle,W=S()(function(){return Promise.all([n.e(1423),n.e(571)]).then(n.bind(n,30571))},{loadableGenerated:{webpack:function(){return[30571]}}}),G=h.Df.create(function(e){return e.theme,{}});function I(e){var t,n,o=e.data;G().classes;var r=(0,N.ni)(k.G,null==o?void 0:o.firstPortfolioMedia),i=(0,B.F2)(null==o?void 0:o.subPortfolios),l=null==r||null===(t=r.mediaDetails)||void 0===t?void 0:t.caption;return(0,w.jsxs)(z.Zp,{children:[(0,w.jsxs)(z.Wu,{children:[(0,w.jsx)(E.A,{talentMedia:r,itemWidth:360,itemHeight:450,imageProps:{alt:l?"".concat(l," by ").concat(null==o?void 0:o.firstName," ").concat(null==o?void 0:o.lastName," for ").concat(T):"".concat(null==o?void 0:o.firstName," ").concat(null==o?void 0:o.lastName," for ").concat(T)},type:"audio"===i?"audio":void 0}),(0,w.jsx)(z.kT,{children:o.subPortfolios&&(null===(n=o.subPortfolios)||void 0===n?void 0:n.length)>0&&(0,w.jsx)(y.A,{container:!0,justifyContent:"center",alignItems:"center",height:"100%",children:(0,w.jsx)(W,{data:o})})})]}),(0,w.jsx)(z.wL,{children:(o.firstName||(null==o?void 0:o.lastName))&&(0,w.jsx)(F.A,{talent:o})})]})}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var H=h.Df.create(function(e){var t=e.theme;return{root:{height:"100%",display:"flex",flexDirection:"column"},inputContainer:(0,i.A)({borderBottom:"1px solid #666",marginBottom:16,marginTop:16},t.breakpoints.down("md"),{marginTop:0}),resultsContainer:{flexGrow:1,overflow:"hidden",color:"#fff"},inputBase:(0,i.A)({padding:"8px",fontSize:"40px",color:"#fff"},t.breakpoints.down("sm"),{fontSize:"20px"}),input:{color:"#fff",fontSize:25,"&::placeholder":{color:"#fff"}},closeBtn:{color:"#fff",padding:0},closeIcon:{width:48,height:48,fill:"#fff"},searchIcon:{fill:"#fff",color:"#fff"},simpleBar:{height:"100%","& .simplebar-track.simplebar-vertical":{right:"-3px"},"& .simplebar-scrollbar:before":{backgroundColor:"#fff"}}}});function L(){var e,t=H().classes,n=l.useState(!1),i=(0,r.A)(n,2),h=i[0],A=i[1],y=l.useState(!1),P=(0,r.A)(y,2);P[0],P[1];var N=l.useState(""),k=(0,r.A)(N,2),C=k[0],S=k[1],B=l.useState(),D=(0,r.A)(B,2),E=D[0],z=D[1],F=(0,j.Q3)(C,500),T=(0,r.A)(F,1)[0],W=(0,m.A)({filters:E}),G=W.data,_=W.isFetching,L=W.fetchNextPage,Q=W.hasNextPage,Z=W.isFetchingNextPage,q=null==G?void 0:G.pages.reduce(function(e,t){var n,r,i=(null==t||null===(n=t.node)||void 0===n?void 0:n.talents)||[],l=(null==e||null===(r=e.node)||void 0===r?void 0:r.talents)||[];return{node:M(M({},t.node),{},{talents:[].concat((0,o.A)(l),(0,o.A)(i))})}},{node:{talents:[]}}),J=null==q||null===(e=q.node)||void 0===e?void 0:e.talents,K=function(){A(!1)};return l.useEffect(function(){""!==T?z({fullName:{contains:T}}):z(void 0)},[T]),l.useEffect(function(){h||(z(void 0),S(""))},[h]),l.useEffect(function(){},[]),(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(s.A,{color:"inherit",onClick:function(){A(!0)},style:{padding:0},children:(0,w.jsx)(b.A,{code:"","aria-label":"search",style:{fontSize:24}})}),(0,w.jsx)(c.A,{open:h,onClose:K,PaperComponent:"div",fullScreen:!0,fullWidth:!0,slotProps:{paper:{style:{backgroundColor:"rgba(0,0,0,0.90)"}}},hideBackdrop:!0,children:(0,w.jsx)(x.Co,{children:(0,w.jsxs)("div",{className:t.root,children:[(0,w.jsx)(d.A,{children:(0,w.jsx)("div",{className:t.inputContainer,children:(0,w.jsx)(a.Ay,{fullWidth:!0,autoFocus:h,classes:{root:t.inputBase,input:t.input}
1,placeholder:"Search Talent",onChange:function(e){S(e.target.value)},value:C,startAdornment:(0,w.jsx)(u.A,{position:"start",children:(0,w.jsx)(b.A,{code:"","aria-label":"search",style:{color:"#fff"}})}),endAdornment:(0,w.jsx)(u.A,{position:"end",children:(0,w.jsx)(s.A,{size:"medium",onClick:K,className:t.closeBtn,children:(0,w.jsx)(b.A,{code:"","aria-label":"close"})})})})})}),(0,w.jsxs)("div",{className:t.resultsContainer,children:[_&&!Z&&(0,w.jsx)(v.A,{color:"inherit"}),J&&(null==J?void 0:J.length)===0&&(0,w.jsx)(f.A,{variant:"paragraph",align:"center",color:"textSecondary",children:"No results to show."}),J&&J.length>0&&(0,w.jsxs)(p.A,{className:t.simpleBar,children:[(0,w.jsx)(O,{data:J,children:function(e){return(0,w.jsx)(I,M({},e))}}),(0,w.jsx)(g.A,{fetchNextPage:L,hasNextPage:Q,isFetchingNextPage:Z})]})]})]})})})]})}}}]);

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.