1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7888],{16373:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/influencers",function(){return a(64759)}])},20155:function(e,t,a){"use strict";var l=a(85893),i=a(25675),n=a.n(i),s=a(41664),r=a.n(s),c=a(14643),o=a(60285);t.Z=e=>{var t,a;let{i,item:s,classes:u,size:p=32}=e;return s.profileURL&&""!==s.profileURL.trim()?(0,l.jsx)(r(),{className:"relative influencers-socials-".concat(i),href:s.profileURL,target:"_blank",children:(0,l.jsx)(n(),{src:null!==(t=o.ae[s.source])&&void 0!==t?t:c.Z,width:p,height:p,alt:"Pharma - Socials",className:"influencers-socials-img rounded-[50%] ".concat(null!==(a=o.XU[s.source])&&void 0!==a?a:""," ").concat(u)})},i):null}},50321:function(e,t,a){"use strict";var l=a(85893),i=a(25675),n=a.n(i),s=a(67294);t.Z=e=>{let t,{influencerAvatar:a,influencerFirstName:i,size:r=72,fontSize:c=22,className:o}=e,[u,p]=(0,s.useState)("https://application-storage.informio.biz/sf-ai/objects-logos/".concat(a,".png")),[d,x]=(0,s.useState)(!0),h=()=>{x(!1)};return(0,l.jsx)("div",{className:"influencer-item-logo relative flex flex-col lg:flex-row ".concat(o),style:{width:r,height:r},children:d?(0,l.jsx)(n(),{src:u,alt:"watch360.ai ".concat(i),title:i,fill:!0,className:"object-contain",onError:()=>{u.endsWith(".png")?p(u.replace(".png",".svg")):h()},sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}):(0,l.jsx)("div",{className:"flex w-full items-center justify-center rounded-full bg-paperWhite text-[".concat(c,"px] uppercase"),children:1===(t=i.includes(" ")?i.trim().split(" "):i.trim()).length?t[0].charAt(0)+t[0].charAt(1):t[0].charAt(0)+t[1].charAt(0)})})}},43882:function(e,t,a){"use strict";var l=a(85893),i=a(25675),n=a.n(i),s=a(24038),r=a(50964),c=a(5104),o=a(41664),u=a.n(o),p=a(11163);t.Z=e=>{let{hit:t,isHover:a,setIsHover:i,isMenuShown:o,setIsMenuShown:d,isHitCompare:x,handleCompare:h,createDashboard:m,createAlerts:f,featuresAvailability:g}=e,b=(0,p.useRouter)();return(0,l.jsxs)("div",{className:"absolute right-0 top-0 flex items-center gap-1",children:[(0,l.jsx)("div",{className:"opacity-0 ".concat(a||x?"opacity-100":""," transition-opacity delay-100"),children:(0,l.jsxs)("div",{className:"compare-btn flex cursor-pointer items-center justify-center gap-2 rounded-l-sm py-3 pl-2 pr-1 text-[16px] uppercase leading-4 text-dark",onClick:()=>{h(t)},children:[(0,l.jsx)("div",{className:"compare-btn-images h-[24px] w-[24px] ".concat(x?"compare-btn-images-checked":""," ")}),(0,l.jsx)("span",{className:"tracking-[0.32px]",children:"Compare"})]})}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("button",{className:"text-violet11 inline-flex h-[32px] w-[32px] items-center justify-center rounded-full outline-none hover:bg-paperWhite data-[state=open]:bg-paperWhite","aria-label":"W&L",onClick:()=>d(e=>!e),children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,l.jsx)("path",{d:"M12 20C11.45 20 10.9793 19.8043 10.588 19.413C10.1967 19.0217 10.0007 18.5507 10 18C9.99934 17.4493 10.1953 16.9787 10.588 16.588C10.9807 16.1973 11.4513 16.0013 12 16C12.5487 15.9987 13.0197 16.1947 13.413 16.588C13.8063 16.9813 14.002 17.452 14 18C13.998 18.548 13.8023 19.019 13.413 19.413C13.0237 19.807 12.5527 20.0027 12 20ZM12 14C11.45 14 10.9793 13.8043 10.588 13.413C10.1967 13.0217 10.0007 12.5507 10 12C9.99934 11.4493 10.1953 10.9787 10.588 10.588C10.9807 10.1973 11.4513 10.0013 12 10C12.5487 9.99867 13.0197 10.1947 13.413 10.588C13.8063 10.9813 14.002 11.452 14 12C13.998 12.548 13.8023 13.019
113.413 13.413C13.0237 13.807 12.5527 14.0027 12 14ZM12 8.00001C11.45 8.00001 10.9793 7.80434 10.588 7.41301C10.1967 7.02167 10.0007 6.55067 10 6.00001C9.99934 5.44934 10.1953 4.97867 10.588 4.58801C10.9807 4.19734 11.4513 4.00134 12 4.00001C12.5487 3.99867 13.0197 4.19467 13.413 4.58801C13.8063 4.98134 14.002 5.45201 14 6.00001C13.998 6.54801 13.8023 7.01901 13.413 7.41301C13.0237 7.80701 12.5527 8.00267 12 8.00001Z",fill:"#3A3935"})})}),(0,l.jsxs)("div",{className:"absolute right-[-30px] z-[10] mt-[5px] min-w-[220px] rounded-sm bg-white p-1 shadow-[0px_4px_30px_0px_rgba(58,_57,_53,_0.30)] ".concat(o?"block":"hidden"),children:[(0,l.jsxs)(u(),{href:"influencers"===b.pathname?"/influencers/".concat(t.objectID):"/retailers/".concat(t.objectID),className:"text-violet11 group relative flex cursor-pointer select-none items-center gap-2 rounded-[3px] py-2 pl-3 pr-4 text-[14px] uppercase leading-[14px] tracking-[0.28px] outline-none hover:bg-paperWhite",children:[(0,l.jsx)(n(),{width:24,height:24,src:r.Z,alt:""}),"View Details"]}),!g||g.generate_dashboard?(0,l.jsxs)("div",{className:"text-violet11 group relative flex cursor-pointer select-none items-center gap-2 rounded-[3px] py-2 pl-3 pr-4 text-[14px] uppercase leading-[14px] tracking-[0.28px] outline-none hover:bg-paperWhite",onClick:()=>m(!0),children:[(0,l.jsx)(n(),{width:24,height:24,src:s.Z,alt:""}),"Create Dashboard"]}):null,(0,l.jsxs)("div",{className:"compare-btn flex cursor-pointer items-center gap-2 rounded-l-sm py-2 pl-3 pr-1 text-[14px] uppercase leading-[14px] text-dark hover:bg-paperWhite",onClick:()=>{h(t)},children:[(0,l.jsx)("div",{className:"compare-btn-images h-[24px] w-[24px] ".concat(x?"compare-btn-images-checked":""," ")}),(0,l.jsx)("span",{className:"tracking-[0.32px]",children:"Compare"})]}),(0,l.jsxs)("div",{className:"text-violet11 group relative flex cursor-pointer select-none items-center gap-2 rounded-[3px] py-2 pl-3 pr-4 text-[14px] uppercase leading-[14px] tracking-[0.28px] outline-none hover:bg-paperWhite",onClick:()=>f(),children:[(0,l.jsx)(n(),{width:24,height:24,src:c.Z,alt:""}),"Update Data"]})]})]})]})}},64759:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSG:function(){return A},default:function(){return I}});var l=a(85893),i=a(29529),n=a(44343),s=a(67294),r=a(85917),c=a(70290),o=a.n(c),u=a(17871),p=a(99058),d=a(6790),x=a(14805),h=a(39474);let m=[{attribute:"influencerType",label:"Type",showMoreLimit:200,searchable:!0},{attribute:"influencerAudienceSize",label:"Audience Size"},{attribute:"country",label:"Country"},{attribute:"city",label:"City",searchable:!0},{attribute:"influencerFirstName",label:"Name",searchable:!0,showMoreLimit:200},{attribute:"mentionedBrands",label:"Brands",searchable:!0},{attribute:"mentionedModels",label:"Models"},{attribute:"gender",label:"Gender"},{attribute:"socialProfiles.source",label:"Source",transformItems:e=>(0,u.f3)(e)},{attribute:"influencerWatchType",label:"Watch Type",disabled:!1},{attribute:"influencerWatchCollection",label:"Watch Collection",disabled:!1},{attribute:"engagement",label:"Engagement Rate",disabled:!0},{attribute:"influencerInterests",label:"Audience Interests",disabled:!0},{attribute:"age",label:"Audience Age",disabled:!0},{attribute:"audienceRate",label:"Audience Income",disabled:!0}];var f=e=>{let{lockedFilters:t}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(h.Z,{filters:m,indexName:"influencers-list",lockedFilters:t})})},g=a(54679),b=a(42674),v=a(87131),j=a(52710),w=a(61785),C=a(91680),y=a(75846),N=a(34859),k=a(30381),_=a.n(k);let S=o()(d.Jf,d.vo);var A=!0,I=e=>{var t,a,c,o,d;let{global:h,setCompareData:m,compareData:k,serverState:A,session:I}=e,Z=null!==(d=null==I?void 0:null===(o=I.customOptions)||void 0===o?void 0:null===(c=o.companyInfo)||void 0===c?void 0:null===(a=c.itemsGroups)||void 0===a?void 0:null===(t=a.find(e=>"locked_countries"===e.groupType))||void 0===t?void 0:t.groupItems)&&void 0!==d?d:[],[F,M]=(0,s.useState)({nbHits:0,nbPages:0,page:0}),[W,O]=(0,s.useState)(null),[D,E]=(0,s.useState)([]),[T,L]=(0,s.useState)(!1),[P,R]=(0,s.use
1State)({}),[q,U]=(0,s.useState)([]),[z,Y]=(0,s.useState)(""),[B,G]=(0,s.useState)("influencers-list"),H=(0,n.useRouter)(),[X,V]=(0,s.useState)(!0),[J,K]=(0,w.x)(),Q=(0,s.useMemo)(()=>{var e,t;let a=null!==(t=null==I?void 0:null===(e=I.customOptions)||void 0===e?void 0:e.featuresLimitations)&&void 0!==t?t:null;return(0,y.r)(a)},[I]),$=async()=>{let e=[];if(Z.length){let t=await (0,N.a8)(Z);e=[t.map(e=>"country:".concat(e.value))]}O(e)};(0,s.useEffect)(()=>{$()},[I]);let ee=(0,s.useMemo)(()=>{var e;return{engine:"external",abstractionType:"influencers",abstractionName:"Influencers List [".concat(_()().format("MMM D YYYY"),"]"),index:B,facetFilters:q,workspaceId:null!==(e=null==I?void 0:I.workspaceId)&&void 0!==e?e:null}},[B,q,I]);(0,s.useEffect)(()=>{if(null==H?void 0:H.isReady){let e=(0,u.tZ)(H.query),t=(0,u.HA)(H.query);R(H.query),U(t),Y(e),L(!0)}},[H]),(0,s.useEffect)(()=>{if(W&&T){let e=(null==H?void 0:H.query.page)?Number(H.query.page)-1:0;et(e)}},[T,P,B,W]);let et=async e=>{let t=S.initIndex(B);W&&t.search("*",{facetFilters:[...W,...q],maxValuesPerFacet:20,maxFacetHits:20,page:e}).then(e=>{let{hits:t,nbHits:a,nbPages:l,page:i}=e;M({nbHits:a,nbPages:l,page:i}),E(t)})},ea=e=>{G(e.key)};return(0,l.jsx)(p.p,{searchClient:S,indexName:"influencers-list",future:{preserveSharedStateOnUnmount:!0},children:(0,l.jsx)(i.Z,{global:h,session:I,children:I?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Z,{metadata:{metaTitle:"Influencers",metaDescription:"Influencers"}}),(0,l.jsxs)("div",{className:"workflows mx-auto flex max-w-[1440px] flex-col items-center px-[20px] md:px-[60px] lg:my-[40px] lg:px-[80px] gap-[20px]",children:[(0,l.jsx)("div",{className:"flex justify-start w-full h-[62px] items-end",children:(0,l.jsx)("div",{className:"uppercase text-[52px] leading-[57.6px] text-[#3A3935]",children:"Influencers"})}),(0,l.jsx)(v.Z,{queryFilters:P,paginationOptions:F,abstractionDataOptions:ee,isShowAsideFilter:X,setIsShowAsideFilter:V,label:"Influencer",abstraction:"influencers",className:"!mb-0",featuresAvailability:Q,onChangeSortingMode:ea}),(0,l.jsxs)("div",{className:(0,b.cn)("flex relative w-full flex-col",X&&"lg:pl-[308px]"),children:[(0,l.jsx)("div",{className:(0,b.cn)("filter-container-outer hidden w-[268px] lg:block",X&&"min-w-[268px]",!X&&"!mr-0 overflow-hidden lg:w-0 lg:p-0"),children:(0,l.jsx)("div",{className:"filter-container-inner",children:(0,l.jsx)("div",{className:"overflow-y-auto h-full pr-4",children:W?(0,l.jsx)(f,{lockedFilters:W}):null})})}),(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)(j.Z,{setOpen:K,label:"Influencer",queryFilters:P,paginationOptions:F,abstraction:"influencers",onChangeSortingMode:ea}),(0,l.jsxs)("div",{className:"mx-auto",children:[(0,l.jsx)(C.Z,{items:D,compareData:k,isShowAsideFilter:X,featuresAvailability:Q,setCompareData:m,session:I}),(0,l.jsx)(x.t,{paginationOptions:F,itemsPerPage:20})]})]})]})]}),(0,l.jsx)(g.Z,{open:J,setOpen:K,children:W?(0,l.jsx)(f,{lockedFilters:W}):null})]}):null})})}}},function(e){e.O(0,[3662,2194,1866,5899,3867,4601,8814,9058,4955,925,9529,8402,1668,8349,1367,3785,4435,5516,1680,9774,2888,179],function(){return e(e.s=16373)}),_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.