1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3964,5486,9749],{4873:(e,t,n)=>{"use strict";var a=n(12115).__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;t.c=function(e){return a.H.useMemoCache(e)}},19749:(e,t,n)=>{"use strict";e.exports=n(4873)},33964:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var a=n(95155),r=n(19749);n(88549);var s=n(73643),i=n(12115),c=n(55486);s.t1.register(s.Bs,s.m_,s.s$,s.hE);let l=e=>{let t,n,s,l,m,f,g,h,b,p,_,v,E,x,y,N,S,j,A=(0,r.c)(31),{data:R}=e,[w,T]=(0,i.useState)(window.innerWidth<768);if(A[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{let e=()=>T(window.innerWidth<768);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},n=[],A[0]=t,A[1]=n):(t=A[0],n=A[1]),(0,i.useEffect)(t,n),!Array.isArray(R)||0===R.length){let e,t,n,r;return A[2]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("div",{className:"topic-engagement-header",children:(0,a.jsx)("span",{className:"topic-engagement-header-text",children:"Topic Engagement"})}),A[2]=e):e=A[2],A[3]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)("div",{className:"topic-engagement-body-top"}),A[3]=t):t=A[3],A[4]===Symbol.for("react.memo_cache_sentinel")?(n={height:"350px",justifyContent:"center"},A[4]=n):n=A[4],A[5]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsxs)("div",{className:"topic-engagement-main d-flex-col",children:[e,(0,a.jsxs)("div",{className:"topic-engagement-body d-flex-col gap-8",children:[t,(0,a.jsx)("div",{className:"topic-engagement-body-bottom d-flex-al w-100",style:n,children:(0,a.jsx)("div",{className:"no-data-message",style:{textAlign:"center"},children:"No Data Available"})})]})]}),A[5]=r):r=A[5],r}A[6]!==R?(s=R.map(o),A[6]=R,A[7]=s):s=A[7];let O=s;A[8]!==R?(l=R.map(d),A[8]=R,A[9]=l):l=A[9];let C=l;A[10]===Symbol.for("react.memo_cache_sentinel")?(m=["#8e7ef0","#ff9999","#47c9e5","#ffbd59","#5e88f0","#70d399","#9f65d1","#1cb8da","#3483eb"],A[10]=m):m=A[10],A[11]!==C?(f=[{label:"Topic Engagement",data:C,backgroundColor:m,borderWidth:0,radius:"40%",cutout:"60%",circumference:360}],A[11]=C,A[12]=f):f=A[12],A[13]!==O||A[14]!==f?(g={labels:O,datasets:f},A[13]=O,A[14]=f,A[15]=g):g=A[15];let D=g;A[16]===Symbol.for("react.memo_cache_sentinel")?(h={id:"variableRadius",beforeDraw:u},A[16]=h):h=A[16];let M=h;A[17]===Symbol.for("react.memo_cache_sentinel")?(b={animateRotate:!1,animateScale:!1},A[17]=b):b=A[17];let P=w?"bottom":"right";A[18]===Symbol.for("react.memo_cache_sentinel")?(p={usePointStyle:!0,padding:15,boxWidth:10,font:{weight:"400",size:12}},A[18]=p):p=A[18],A[19]!==P?(_={position:P,labels:p},A[19]=P,A[20]=_):_=A[20],A[21]===Symbol.for("react.memo_cache_sentinel")?(v={enabled:!0},A[21]=v):v=A[21],A[22]!==_?(E={responsive:!0,maintainAspectRatio:!1,animation:b,plugins:{legend:_,tooltip:v}},A[22]=_,A[23]=E):E=A[23];let k=E;return A[24]===Symbol.for("react.memo_cache_sentinel")?(x=(0,a.jsx)("div",{className:"topic-engagement-header",children:(0,a.jsx)("span",{className:"topic-engagement-header-text",children:"Topic Engagement"})}),A[24]=x):x=A[24],A[25]===Symbol.for("react.memo_cache_sentinel")?(y=(0,a.jsx)("div",{className:"topic-engagement-body-top"}),A[25]=y):y=A[25],A[26]===Symbol.for("react.memo_cache_sentinel")?(N={height:"350px",position:"relative"},A[26]=N):N=A[26],A[27]===Symbol.for("react.memo_cache_sentinel")?(S=[M],A[27]=S):S=A[27],A[28]!==D||A[29]!==k?(j=(0,a.jsxs)("div",{className:"topic-engagement-main d-flex-col",children:[x,(0,a.jsxs)("div",{className:"topic-engagement-body d-flex-col gap-8",children:[y,(0,a.jsx)("div",{className:"topic-engagement-body-bottom",style:N,children:(0,a.jsx)(c.Doughnut,{data:D,options:k,plugins:S})})]})]}),A[28]=D,A[29]=k,A[30]=j):j=A[30],j};function o(e){return e.topic_name}function d(e){return e.percentage}function u(e){var t;let n=null==e||null==(t=e.data)?void 0:t.datasets[0];(null==e?void 0:e.getDatasetMeta(0)).data.forEach((e,t)=>{let a=null==n?void 0:n.data[t];e.$originalOuterRadius||(e.$originalOuterRadius=e.outerRadius);let r=null==e?void 0:e.$originalOuterRadius;e.outerRadius=Math.max(r*a/90,10)+40})}},55486:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Bar:()=>h,Bubble:()=>v,Chart:()=>m,Doughnut:()=>p,Line:()=>g,Pie:()=>E,PolarArea:()=>_,Radar:()=>b,Scatter:()=>x,getDatasetAtEvent:()=>o,getElementAtEvent:()=>d,getElementsAtEvent:()=>u});var a=n(95155),r=n(12115),s=n(73643);let i="label";function c(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function l(e,t,n=i){let a=[];e.datasets=t.map(t=>{let r=e.datasets.find(e=>e[n]===t[n]);return!r||!t.data||a.includes(r)?{...t}:(a.push(r),Object.assign(r,t),r)})}function o(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"dataset",{intersect:!0},!1)}function d(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"nearest",{intersect:!0},!1)}function u(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"index",{intersect:!0},!1)}let m=(0,r.forwardRef)(function(e,t){let{height:n=150,width:o=300,redraw:d=!1,datasetIdKey:u,type:m,data:f,options:g,plugins:h=[],fallbackContent:b,updateMode:p,..._}=e,v=(0,r.useRef)(null),E=(0,r.useRef)(null),x=()=>
1{v.current&&(E.current=new s.t1(v.current,{type:m,data:function(e,t=i){let n={labels:[],datasets:[]};return n.labels=e.labels,l(n,e.datasets,t),n}(f,u),options:g&&{...g},plugins:h}),c(t,E.current))},y=()=>{c(t,null),E.current&&(E.current.destroy(),E.current=null)};return(0,r.useEffect)(()=>{!d&&E.current&&g&&function(e,t){let n=e.options;n&&t&&Object.assign(n,t)}(E.current,g)},[d,g]),(0,r.useEffect)(()=>{!d&&E.current&&(E.current.config.data.labels=f.labels)},[d,f.labels]),(0,r.useEffect)(()=>{!d&&E.current&&f.datasets&&l(E.current.config.data,f.datasets,u)},[d,f.datasets]),(0,r.useEffect)(()=>{E.current&&(d?(y(),setTimeout(x)):E.current.update(p))},[d,g,f.labels,f.datasets,p]),(0,r.useEffect)(()=>{E.current&&(y(),setTimeout(x))},[m]),(0,r.useEffect)(()=>(x(),()=>y()),[]),(0,a.jsx)("canvas",{ref:v,role:"img",height:n,width:o,..._,children:b})});function f(e,t){return s.t1.register(t),(0,r.forwardRef)((t,n)=>(0,a.jsx)(m,{...t,ref:n,type:e}))}let g=f("line",s.ZT),h=f("bar",s.A6),b=f("radar",s.h9),p=f("doughnut",s.ju),_=f("polarArea",s.G5),v=f("bubble",s.Jb),E=f("pie",s.P$),x=f("scatter",s.Pz)},88549:()=>{}}]);
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.