"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[5686],{27281(G,o,a){a.r(o),a.d(o,{plugin:()=>S});var l=a(83340),m=a(16207),r=a(74848),f=a(1906),i=a(97369),u=a(94814),h=a(27489),d=a(43173),v=a(14477);function s(e,n={}){(0,h.rR)(`grafana_flamegraph_${e}`,{app:f.Jk.Unknown,grafana_version:d.$.buildInfo.version,...n})}const c=e=>{const n=(0,i.oA)(e.data.series[0]);return n?(0,r.jsx)(v.a,{panelId:e.id,data:e.data,message:(0,i.Ik)(n)}):(0,r.jsx)(u.Ay,{data:e.data.series[0],stickyHeader:!1,getTheme:()=>d.$.theme2,showFlameGraphOnly:e.options?.showFlameGraphOnly??!1,onTableSymbolClick:()=>s("table_item_selected"),onViewSelected:t=>s("view_selected",{view:t}),onTextAlignSelected:t=>s("text_align_selected",{align:t}),onTableSort:t=>s("table_sort_selected",{sort:t})})};var g=a(73495);class F{getListWithDefaults(n){return n.getListAppender({name:g.m.FlameGraph,pluginId:"flamegraph"})}getSuggestionsForData(n){if(!n.data)return;const t=n.data.series[0];!t||(0,i.oA)(t)||this.getListWithDefaults(n).append({name:g.m.FlameGraph})}}const p=[l.uo.Unit,l.uo.Decimals],S=new m.m(c).setSuggestionsSupplier(new F).useFieldConfig({disableStandardOptions:Object.values(l.uo).filter(e=>!p.includes(e))})}}]);

//# sourceMappingURL=flamegraphPanel.94f84a13f5fb943a2217.js.map