PageSourceSearch

https://www.unitedtalent.com/_next/static/chunks/pages/%5B%5B...slug%5D%5D-8a8d06d6374e187d.js

js unitedtalent.com collected 2026-10-02 03:25:15 UTC 7,211 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[243],{1702:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>_,default:()=>A});var r=n(63857),l=n(43081),a=n.n(l),i=n(14232),o=n(16101),s=n(24224),u=n(46968),c=n(54587),d=n.n(c);let p={src:"/_next/static/media/intro_animation.f9deca21.svg",height:169,width:157,blurWidth:0,blurHeight:0};var f=n(37876);let g=function(){return(0,f.jsx)("div",{className:"w-screen h-screen flex flex-col justify-center items-center",children:(0,f.jsx)(d(),{alt:"Loader image (UTA logo animating)",src:p})})};var v=n(89099),h=n(62867),m=n(50077),x=n(66284);function y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){(0,x.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function j(e){return new Promise(function(t){setTimeout(t,e)})}function w(e,t,n){return O.apply(this,arguments)}function O(){return(O=(0,r.A)(a().mark(function e(t,n,r){var l,i,o,s,u=arguments;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return l=u.length>3&&void 0!==u[3]?u[3]:3,e.prev=1,3!==l&&console.log("Retrying for ",t,r,l),e.next=5,fetch("".concat("https://chameleon.unitedtalent.com/utamain","/").concat(t),b(b({},n),{},{body:r,next:{revalidate:60}}));case 5:if(!(!(i=e.sent).ok&&404!==i.status)){e.next=16;break}if(console.log("Error Occured for ",t,r,i.status),0!==l){e.next=11;break}return console.log("Max retries reached for url",t,r),e.abrupt("return",null);case 11:return e.next=13,j(1e3);case 13:return e.next=15,w(t,n,r,l-1);case 15:case 33:return e.abrupt("return",e.sent);case 16:return e.next=18,i.text();case 18:return s=(o=e.sent)?JSON.parse(o):null,e.abrupt("return",s);case 23:if(e.prev=23,e.t0=e.catch(1),console.log("Error Occured for ",t,r,e.t0),0!==l){e.next=29;break}return console.log("Max retries reached for url",t,r),e.abrupt("return",null);case 29:return e.next=31,j(1e3);case 31:return e.next=33,w(t,n,r,l-1);case 34:case"end":return e.stop()}},e,null,[[1,23]])}))).apply(this,arguments)}var S=function(e){return e.INTRO_PLAYED="intro_played",e}(S||{}),T=function(e){var t=e.children,n=(0,i.useState)(!1),r=n[0],l=n[1];return(0,i.useEffect)(function(){l(!0)},[]),r?t:null},_=!0;let A=function(e){var t,n,l,c,d,p,x,y,b,j,O,_=e.pageData,A=e.configData,P=e.redirectHome,N=e.allPaths,D=void 0===N?[]:N,E=(0,i.useState)(!1),k=E[0],I=E[1],L=(0,i.useState)(!1)[0],H=(0,i.useState)(!1),U=H[0],q=H[1],C=(0,i.useState)(),R=C[0],J=C[1],M=(0,i.useState)(!1),X=M[0],F=M[1],K=(0,i.useState)(null),Y=K[0],G=K[1],z=(0,v.useRouter)(),V=(0,i.useState)(!1),W=V[0],B=V[1],Q=(null==z||null==(t=z.query)?void 0:t.slug)&&Array.isArray(null==z||null==(n=z.query)?void 0:n.slug)&&(null==z||null==(l=z.query)?void 0:l.slug.includes("preview")),Z=(0,i.useCallback)((0,r.A)(a().mark(function e(){var t,n,r,l,i,o,s,u,c,d,p,f,g,v;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=D,e.prev=1,F(!0),l=(r=null==z||null==(n=z.query)?void 0:n.slug)?r.join("/"):"",(i=new Headers).append("Ocp-Apim-Subscription-Key","88af279c704a402a84723a0a18a81a1a"),i.append("Content-Type","application/json"),o=(null==r?void 0:r[0])==="talent"&&r.length>2,s={headers:i,method:"POST"},u=["video","news","article","bio"],!(r&&u.some(function(e){return l.includes(e)&&2>l.indexOf(e)})&&r[1])){e.next=20;break}return d=r[1],p=r.slice(1).join("/"),e.next=17,w("pageItem",s,JSON.stringify({slug:l,categorySlug:d,itemSlug:p}));case 17:case 25:c=e.sent,e.next=32;break;case 20:if(!o){e.next=28;break}return f=r[1],g=r.slice(1).join("/"),e.next=25,w("pageContentTypeData",s,JSON.stringify({slug:l,categorySlug:f,itemSlug:g}));case 28:return v=JSON.stringify({slug:l||"home"}),e.next=31,w("pageData",s,v);case 31:c=e.sent;case 32:J(c.pageData),e.next=39;break;case 35:e.prev=35,e.t0=e.catch(1),console.error("Error fetching data:",e.t0,{staticPathCount:t.length}),G("Error fetching data");case 39:return e.prev=39,F(!1),e.finish(39);case 42:case"end":return e.stop()}},e,null,[[1,35,39,42]])})),[D,z]);if((0,i.useEffect)(function(){window.location.hostname.includes("unitedtalent.com")&&B(!0)},[]),(0,i.useEffect)(function(){P&&z.replace("/")},[P,z]),(0,i.useEffect)(function(){var e;Q&&null!=z&&null!=(e=z.query)&&e.slug&&Z()},[Q,null==z||null==(c=z.query)?void 0:c.slug,Z]),(0,i.useEffect)(function(){var e=localStorage?localStorage.getItem(S.INTRO_PLAYED):null;q("/"===z.asPath),L&&!e&&(I(!0),setTimeout(function(){I(!1),localStorage&&localStorage.setItem(S.INTRO_PLAYED,"True")},3e3))},[_]),k&&U)return(0,f.jsx)(g,{});if(X)return(0,f.jsx)("div",{className:"flex flex-col items-center justify-center h-screen",children:"Loading..."});if(Y)return(0,f.jsx)("div",{children:Y});var $=function(e){return(0,f.jsxs)("div",{children:[A&&(0,f.jsx)(s.A,{data:A}),(0,f.jsxs)("main",{className:"mt-0 md:mt-[152px]",children:[(null==e?void 0:e.hero)&&(0,f.jsx)(u.A,{typename:e.hero.__typename,componentData:e.hero,isFirst:!0,
1className:"hero"}),e&&e.modules&&Array.isArray(e.modules)&&e.modules.map(function(t,n){var r,l=t.typename,a=t.sys,i=void 0===a?null:a,o="Module-".concat((i&&(null==i?void 0:i.id)||(null==e?void 0:e.id)||"")+"-"+l);return(0,f.jsx)(u.A,{index:n,moduleLength:null==e||null==(r=e.modules)?void 0:r.length,typename:l,componentData:t},o)})]}),A&&(0,f.jsx)(o.A,{data:A})]})},ee={siteName:"United Talent Agency",pageTitle:"Home",pageDescription:"UTA represents the world's best artists, storytellers, entertainers, and brands",ogImage:{url:"https://images.ctfassets.net/q5l7sv7fkjc7/1bvH2eUXss5X371Fz68LLM/aa216bdf43752ceb76ad592bafc62b21/UTA_logo-PR.jpeg"}};return Q?(0,f.jsx)(m.HK.Provider,{value:D,children:$(R)}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(h.bV,{title:"United Talent Agency : ".concat((null==_||null==(d=_.seo)?void 0:d.pageTitle)||(null==ee?void 0:ee.pageTitle)),description:(null==_||null==(p=_.seo)?void 0:p.pageDescription)||(null==ee?void 0:ee.pageDescription),noindex:!W,nofollow:!W,canonical:window.location.href,openGraph:{type:"website",url:window.location.href,title:"United Talent Agency : ".concat((null==_||null==(x=_.seo)?void 0:x.pageTitle)||(null==ee?void 0:ee.pageTitle)),description:(null==_||null==(y=_.seo)?void 0:y.pageDescription)||(null==ee?void 0:ee.pageDescription),images:[{url:(null==_||null==(b=_.seo)||null==(b=b.ogImage)?void 0:b.url)||(null==ee||null==(j=ee.ogImage)?void 0:j.url),alt:"UTA Logo",type:"image/jpeg"}],siteName:null==ee?void 0:ee.siteName}}),(0,f.jsx)("link",{rel:"icon",href:"/favicon.ico"}),(0,f.jsx)(m.HK.Provider,{value:D,children:(0,f.jsx)(T,{children:(0,f.jsx)(m.Hc.Provider,{value:null==A||null==(O=A.uiTextCollection)?void 0:O.items,children:$(_)})})})]})}},74360:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return n(1702)}])}},e=>{e.O(0,[250,867,628,580,37,968,164,636,593,792],()=>e(e.s=74360)),_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.