PageSourceSearch

https://web.getcha.kr/_next/static/chunks/2866.49ccbc20f4b0d4b9.js

js getcha.kr collected 2026-10-08 17:42:52 UTC 2,278 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2866],{52866:(e,t,n)=>{n.r(t),n.d(t,{Bar:()=>b,Bubble:()=>p,Chart:()=>o,Doughnut:()=>v,Line:()=>E,Pie:()=>m,PolarArea:()=>h,Radar:()=>g,Scatter:()=>A,getDatasetAtEvent:()=>c,getElementAtEvent:()=>i,getElementsAtEvent:()=>f});var r=n(7620),a=n(59775);let u="label";function s(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,r=[];e.datasets=t.map(t=>{let a=e.datasets.find(e=>e[n]===t[n]);return!a||!t.data||r.includes(a)?{...t}:(r.push(a),Object.assign(a,t),a)})}function c(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"dataset",{intersect:!0},!1)}function i(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"nearest",{intersect:!0},!1)}function f(e,t){return e.getElementsAtEventForMode(t.nativeEvent,"index",{intersect:!0},!1)}let o=(0,r.forwardRef)(function(e,t){let{height:n=150,width:c=300,redraw:i=!1,datasetIdKey:f,type:o,data:d,options:E,plugins:b=[],fallbackContent:g,updateMode:v,...h}=e,p=(0,r.useRef)(null),m=(0,r.useRef)(null),A=()=>{p.current&&(m.current=new a.t1(p.current,{type:o,data:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,n={labels:[],datasets:[]};return n.labels=e.labels,l(n,e.datasets,t),n}(d,f),options:E&&{...E},plugins:b}),s(t,m.current))},w=()=>{s(t,null),m.current&&(m.current.destroy(),m.current=null)};return(0,r.useEffect)(()=>{!i&&m.current&&E&&function(e,t){let n=e.options;n&&t&&Object.assign(n,t)}(m.current,E)},[i,E]),(0,r.useEffect)(()=>{!i&&m.current&&(m.current.config.data.labels=d.labels)},[i,d.labels]),(0,r.useEffect)(()=>{!i&&m.current&&d.datasets&&l(m.current.config.data,d.datasets,f)},[i,d.datasets]),(0,r.useEffect)(()=>{m.current&&(i?(w(),setTimeout(A)):m.current.update(v))},[i,E,d.labels,d.datasets,v]),(0,r.useEffect)(()=>{m.current&&(w(),setTimeout(A))},[o]),(0,r.useEffect)(()=>(A(),()=>w()),[]),r.createElement("canvas",{ref:p,role:"img",height:n,width:c,...h},g)});function d(e,t){return a.t1.register(t),(0,r.forwardRef)((t,n)=>r.createElement(o,{...t,ref:n,type:e}))}let E=d("line",a.ZT),b=d("bar",a.A6),g=d("radar",a.h9),v=d("doughnut",a.ju),h=d("polarArea",a.G5),p=d("bubble",a.Jb),m=d("pie",a.P$),A=d("scatter",a.Pz)}}]);

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.