import{S as Ae,i as ge,s as _e,a2 as Le,J as Oe,M as xe,D,G as N,H as Y,t as L,b as w,I as Q,c as Ce,C,E as M,m as _,u as Me,g as we,a as Se,k as h,A as fe,B as ae,j as re,z as le,O as ce,f as Xe,w as be,F as ii,x as de,n as ue,R as li,K as ni,L as ti,Q as fi,p as Fe}from"./index.991aac67.js";import"./paths.f2cc9227.js";import{p as Ke,r as Re}from"./inferColumnTypes.a0328dad.js";import{C as ai}from"./globalContexts.09a53420.js";import"./ecStat.b243fd6e.js";import{C as Pe}from"./CodeBlock.f747c3a4.js";import{f as Je,Q as si}from"./QueryViewer.7116d97f.js";import{r as ui,p as Ze,c as ve,g as ze,a as pe,C as $e,b as mi,B as Ee,D as ri}from"./DataTable.1271c070.js";import{t as yi,g as Te,f as ei}from"./Prismjs.25077886.js";function Ve(l,e){let i={};if(typeof e=="object")for(let t=0;ti(33,c=f));let F=Le(ve),{y:g=void 0}=e;const v=!!g;let{series:q=void 0}=e;const z=!!q;let{options:K=void 0}=e,{name:O=void 0}=e,{type:V="stacked"}=e,{fillColor:x=void 0}=e,{lineColor:U=void 0}=e,{fillOpacity:p=void 0}=e,{line:H=!0}=e,{markers:P=!1}=e,{markerShape:ne="circle"}=e,{markerSize:$=8}=e,{handleMissing:j="gap"}=e,{step:E=!1}=e,{stepPosition:ee="end"}=e,{labels:S=!1}=e;S=S==="true"||S===!0;let{labelSize:W=11}=e,{labelPosition:R="top"}=e,{labelColor:G=void 0}=e,{labelFmt:J=void 0}=e,I;J&&(I=Te(J));let{showAllLabels:Z=!1}=e,se;const ye={above:"top",below:"bottom",middle:"inside"},te={above:"right",below:"left",middle:"inside"};let T=n?"right":"top";return xe(()=>{F.update(f=>(f.tooltip={...f.tooltip,order:"seriesDesc"},n?(f.yAxis={...f.yAxis,...B.xAxis},f.xAxis={...f.xAxis,...B.yAxis}):(f.yAxis[0]={...f.yAxis[0],...B.yAxis},f.xAxis={...f.xAxis,...B.xAxis}),V==="stacked100"&&(n?f.xAxis={...f.xAxis,max:1}:f.yAxis[0]={...f.yAxis[0],max:1}),S&&(f.axisPointer={triggerEmphasis:!1}),f))}),l.$$set=f=>{"y"in f&&i(1,g=f.y),"series"in f&&i(2,q=f.series),"options"in f&&i(9,K=f.options),"name"in f&&i(3,O=f.name),"type"in f&&i(10,V=f.type),"fillColor"in f&&i(11,x=f.fillColor),"lineColor"in f&&i(12,U=f.lineColor),"fillOpacity"in f&&i(13,p=f.fillOpacity),"line"in f&&i(4,H=f.line),"markers"in f&&i(5,P=f.markers),"markerShape"in f&&i(14,ne=f.markerShape),"markerSize"in f&&i(15,$=f.markerSize),"handleMissing"in f&&i(16,j=f.handleMissing),"step"in f&&i(6,E=f.step),"stepPosition"in f&&i(17,ee=f.stepPosition),"labels"in f&&i(7,S=f.labels),"labelSize"in f&&i(18,W=f.labelSize),"labelPosition"in f&&i(8,R=f.labelPosition),"labelColor"in f&&i(19,G=f.labelColor),"labelFmt"in f&&i(20,J=f.labelFmt),"showAllLabels"in f&&i(21,Z=f.showAllLabels)},l.$$.update=()=>{l.$$.dirty[0]&16&&i(4,H=H==="true"||H===!0),l.$$.dirty[0]&32&&i(5,P=P==="true"||P===!0),l.$$.dirty[0]&64&&i(6,E=E==="true"||E===!0),l.$$.dirty[1]&4&&i(31,t=c.data),l.$$.dirty[1]&4&&i(30,a=c.x),l.$$.dirty[0]&2|l.$$.dirty[1]&4&&i(1,g=v?g:c.y),l.$$.dirty[1]&4&&i(24,n=c.swapXY),l.$$.dirty[1]&4&&i(32,u=c.yFormat),l.$$.dirty[1]&4&&i(25,s=c.xType),l.$$.dirty[1]&4&&i(28,y=c.xMismatch),l.$$.dirty[1]&4&&i(27,r=c.columnSummary),l.$$.dirty[0]&4|l.$$.dirty[1]&4&&i(2,q=z?q:c.series),l.$$.dirty[0]&1241513998|l.$$.dirty[1]&1&&(!q&&typeof g!="object"?i(3,O=O??Je(g,r[g].title)):(i(23,se="area"),i(31,t=ze(t,a,g,q,!1,s==="value")),i(31,t=Ve(t,g)),i(25,s=s==="value"?"category":s))),l.$$.dirty[0]&65538|l.$$.dirty[1]&1&&j==="zero"&&i(31,t=Ve(t,g)),l.$$.dirty[0]&16777472&&i(8,R=(n?te[R]:ye[R])??T),l.$$.dirty[0]&32504304|l.$$.dirty[1]&2&&i(29,d={type:"line",stack:se,areaStyle:{color:x,opacity:p},connectNulls:j==="connect",lineStyle:{width:H?1:0,color:U},label:{show:S,formatter(f){return f.value[n?0:1]===0?"":ei(f.value[n?0:1],I??u)},fontSize:W,color:G,position:R,padding:3},labelLayout:{hideOverlap:!Z},emphasis:{focus:"series"},showSymbol:S||P,symbol:ne,symbolSize:S&&!P?0:$,step:E?ee:!1}),l.$$.dirty[0]&2030043150|l.$$.dirty[1]&1&&i(26,A=pe(t,a,g,q,n,d,O,y,r)),l.$$.dirty[0]&67108864&&F.update(f=>(f.series.push(...A),f.legend.data.push(...A.map(k=>k.name)),f)),l.$$.dirty[0]&512&&K&&F.update(f=>({...f,...K})),l.$$.dirty[0]&33554432&&(B={yAxis:{boundaryGap:["0%","1%"]},xAxis:{boundaryGap:["4%","4%"],type:s}})},[X,g,q,O,H,P,E,S,R,K,V,x,U,p,ne,$,j,ee,W,G,J,Z,I,se,n,s,A,r,y,d,a,t,u,c]}class bi extends Ae{constructor(e){super(),ge(this,e,oi,null,_e,{y:1,series:2,options:9,name:3,type:10,fillColor:11,lineColor:12,fillOpacity:13,line:4,markers:5,markerShape:14,markerSize:15,handleMissing:16,step:6,stepPosition:17,labels:7,labelSize:18,labelPosition:8,labelColor:19,labelFmt:20,showAllLabels:21},null,[-1,-1])}}function di(l){let e,i,t;e=new bi({props:{line:l[24],fillColor:l[25],lineColor:l[26],fillOpacity:l[27],handleMissing:l[32],type:l[36],step:l[33],stepPosition:l[34],markers:l[29],markerShape:l[30],markerSize:l[31],labels:l[38],labelSize:l[39],labelPosition:l[40],labelColor:l[41],labelFmt:l[42],showAllLabels:l[43]}});const a=l[45].default,n=Ce(a,l,l[46],null);return{c(){D(e.$$.fragment),i=C(),n&&n.c()},l(u){N(e.$$.fragment,u),i=M(u),n&&n.l(u)},m(u,s){Y(e,u,s),_(u,i,s),n&&n.m(u,s),t=!0},p(u,s){const y={};s[0]&16777216&&(y.line=u[24]),s[0]&33554432&&(y.fillColor=u[25]),s[0]&67108864&&(y.lineColor=u[26]),s[0]&134217728&&(y.fillOpacity=u[27]),s[1]&2&&(y.handleMissing=u[32]),s[1]&32&&(y.type=u[36]),s[1]&4&&(y.step=u[33]),s[1]&8&&(y.stepPosition=u[34]),s[0]&536870912&&(y.markers=u[29]),s[0]&1073741824&&(y.markerShape=u[30]),s[1]&1&&(y.markerSize=u[31]),s[1]&128&&(y.labels=u[38]),s[1]&256&&(y.labelSize=u[39]),s[1]&512&&(y.labelPosition=u[40]),s[1]&1024&&(y.labelColor=u[41]),s[1]&2048&&(y.labelFmt=u[42]),s[1]&4096&&(y.showAllLabels=u[43]),e.$set(y),n&&n.p&&(!t||s[1]&32768)&&Me(n,a,u,u[46],t?Se(a,u[46],s,null):we(u[46]),null)},i(u){t||(L(e.$$.fragment,u),L(n,u),t=!0)},o(u){w(e.$$.fragment,u),w(n,u),t=!1},d(u){Q(e,u),u&&h(i),n&&n.d(u)}}}function hi(l){let e,i;return e=new $e({props:{data:l[0],x:l[1],y:l[2],xFmt:l[8],yFmt:l[7],series:l[3],xType:l[4],yLog:l[5],yLogBase:l[6],legend:l[11],xAxisTitle:l[12],yAxisTitle:l[13],xGridlines:l[14],yGridlines:l[15],xAxisLabels:l[16],yAxisLabels:l[17],xBaseline:l[18],yBaseline:l[19],xTickMarks:l[20],yTickMarks:l[21],yMin:l[22],yMax:l[23],title:l[9],subtitle:l[10],chartType:ki,sort:l[35],stackType:l[36],stacked100:l[44],chartAreaHeight:l[28],colorPalette:l[37],$$slots:{default:[di]},$$scope:{ctx:l}}}),{c(){D(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,a){Y(e,t,a),i=!0},p(t,a){const n={};a[0]&1&&(n.data=t[0]),a[0]&2&&(n.x=t[1]),a[0]&4&&(n.y=t[2]),a[0]&256&&(n.xFmt=t[8]),a[0]&128&&(n.yFmt=t[7]),a[0]&8&&(n.series=t[3]),a[0]&16&&(n.xType=t[4]),a[0]&32&&(n.yLog=t[5]),a[0]&64&&(n.yLogBase=t[6]),a[0]&2048&&(n.legend=t[11]),a[0]&4096&&(n.xAxisTitle=t[12]),a[0]&8192&&(n.yAxisTitle=t[13]),a[0]&16384&&(n.xGridlines=t[14]),a[0]&32768&&(n.yGridlines=t[15]),a[0]&65536&&(n.xAxisLabels=t[16]),a[0]&131072&&(n.yAxisLabels=t[17]),a[0]&262144&&(n.xBaseline=t[18]),a[0]&524288&&(n.yBaseline=t[19]),a[0]&1048576&&(n.xTickMarks=t[20]),a[0]&2097152&&(n.yTickMarks=t[21]),a[0]&4194304&&(n.yMin=t[22]),a[0]&8388608&&(n.yMax=t[23]),a[0]&512&&(n.title=t[9]),a[0]&1024&&(n.subtitle=t[10]),a[1]&16&&(n.sort=t[35]),a[1]&32&&(n.stackType=t[36]),a[0]&268435456&&(n.chartAreaHeight=t[28]),a[1]&64&&(n.colorPalette=t[37]),a[0]&1862270976|a[1]&40879&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){i||(L(e.$$.fragment,t),i=!0)},o(t){w(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}let ki="Area Chart";function Ai(l,e,i){let{$$slots:t={},$$scope:a}=e,{data:n=void 0}=e,{x:u=void 0}=e,{y:s=void 0}=e,{series:y=void 0}=e,{xType:r=void 0}=e,{yLog:d=void 0}=e,{yLogBase:A=void 0}=e,{yFmt:B=void 0}=e,{xFmt:c=void 0}=e,{title:X=void 0}=e,{subtitle:F=void 0}=e,{legend:g=void 0}=e,{xAxisTitle:v=void 0}=e,{yAxisTitle:q=void 0}=e,{xGridlines:z=void 0}=e,{yGridlines:K=void 0}=e,{xAxisLabels:O=void 0}=e,{yAxisLabels:V=void 0}=e,{xBaseline:x=void 0}=e,{yBaseline:U=void 0}=e,{xTickMarks:p=void 0}=e,{yTickMarks:H=void 0}=e,{yMin:P=void 0}=e,{yMax:ne=void 0}=e,{line:$=void 0}=e,{fillColor:j=void 0}=e,{lineColor:E=void 0}=e,{fillOpacity:ee=void 0}=e,{chartAreaHeight:S=void 0}=e,{markers:W=void 0}=e,{markerShape:R=void 0}=e,{markerSize:G=void 0}=e,{handleMissing:J=void 0}=e,{step:I=void 0}=e,{stepPosition:Z=void 0}=e,{sort:se=void 0}=e,{type:ye="stacked"}=e,te=ye==="stacked100",{colorPalette:T=void 0}=e,{labels:f=void 0}=e,{labelSize:k=void 0}=e,{labelPosition:ie=void 0}=e,{labelColor:me=void 0}=e,{labelFmt:oe=void 0}=e,{showAllLabels:he=void 0}=e;return l.$$set=o=>{"data"in o&&i(0,n=o.data),"x"in o&&i(1,u=o.x),"y"in o&&i(2,s=o.y),"series"in o&&i(3,y=o.series),"xType"in o&&i(4,r=o.xType),"yLog"in o&&i(5,d=o.yLog),"yLogBase"in o&&i(6,A=o.yLogBase),"yFmt"in o&&i(7,B=o.yFmt),"xFmt"in o&&i(8,c=o.xFmt),"title"in o&&i(9,X=o.title),"subtitle"in o&&i(10,F=o.subtitle),"legend"in o&&i(11,g=o.legend),"xAxisTitle"in o&&i(12,v=o.xAxisTitle),"yAxisTitle"in o&&i(13,q=o.yAxisTitle),"xGridlines"in o&&i(14,z=o.xGridlines),"yGridlines"in o&&i(15,K=o.yGridlines),"xAxisLabels"in o&&i(16,O=o.xAxisLabels),"yAxisLabels"in o&&i(17,V=o.yAxisLabels),"xBaseline"in o&&i(18,x=o.xBaseline),"yBaseline"in o&&i(19,U=o.yBaseline),"xTickMarks"in o&&i(20,p=o.xTickMarks),"yTickMarks"in o&&i(21,H=o.yTickMarks),"yMin"in o&&i(22,P=o.yMin),"yMax"in o&&i(23,ne=o.yMax),"line"in o&&i(24,$=o.line),"fillColor"in o&&i(25,j=o.fillColor),"lineColor"in o&&i(26,E=o.lineColor),"fillOpacity"in o&&i(27,ee=o.fillOpacity),"chartAreaHeight"in o&&i(28,S=o.chartAreaHeight),"markers"in o&&i(29,W=o.markers),"markerShape"in o&&i(30,R=o.markerShape),"markerSize"in o&&i(31,G=o.markerSize),"handleMissing"in o&&i(32,J=o.handleMissing),"step"in o&&i(33,I=o.step),"stepPosition"in o&&i(34,Z=o.stepPosition),"sort"in o&&i(35,se=o.sort),"type"in o&&i(36,ye=o.type),"colorPalette"in o&&i(37,T=o.colorPalette),"labels"in o&&i(38,f=o.labels),"labelSize"in o&&i(39,k=o.labelSize),"labelPosition"in o&&i(40,ie=o.labelPosition),"labelColor"in o&&i(41,me=o.labelColor),"labelFmt"in o&&i(42,oe=o.labelFmt),"showAllLabels"in o&&i(43,he=o.showAllLabels),"$$scope"in o&&i(46,a=o.$$scope)},[n,u,s,y,r,d,A,B,c,X,F,g,v,q,z,K,O,V,x,U,p,H,P,ne,$,j,E,ee,S,W,R,G,J,I,Z,se,ye,T,f,k,ie,me,oe,he,te,t,a]}class gi extends Ae{constructor(e){super(),ge(this,e,Ai,hi,_e,{data:0,x:1,y:2,series:3,xType:4,yLog:5,yLogBase:6,yFmt:7,xFmt:8,title:9,subtitle:10,legend:11,xAxisTitle:12,yAxisTitle:13,xGridlines:14,yGridlines:15,xAxisLabels:16,yAxisLabels:17,xBaseline:18,yBaseline:19,xTickMarks:20,yTickMarks:21,yMin:22,yMax:23,line:24,fillColor:25,lineColor:26,fillOpacity:27,chartAreaHeight:28,markers:29,markerShape:30,markerSize:31,handleMissing:32,step:33,stepPosition:34,sort:35,type:36,colorPalette:37,labels:38,labelSize:39,labelPosition:40,labelColor:41,labelFmt:42,showAllLabels:43},null,[-1,-1])}}function _i(l,e,i){let t,a,n,u,s,y,r,d,A,B,c,X,F,g,v=Le(Ze);Oe(l,v,b=>i(39,g=b));let q=Le(ve),{y:z=void 0}=e;const K=!!z;let{y2:O=void 0}=e;const V=!!O;let{series:x=void 0}=e;const U=!!x;let{options:p=void 0}=e,{name:H=void 0}=e,{lineColor:P=void 0}=e,{lineWidth:ne=2}=e,{lineType:$="solid"}=e,{lineOpacity:j=void 0}=e,{markers:E=!1}=e,{markerShape:ee="circle"}=e,{markerSize:S=8}=e,{labels:W=!1}=e;W=W==="true"||W===!0;let{labelSize:R=11}=e,{labelPosition:G="top"}=e,{labelColor:J=void 0}=e,{labelFmt:I=void 0}=e,Z;I&&(Z=Te(I));let{yLabelFmt:se=void 0}=e,ye;se&&(ye=Te(se));let{y2LabelFmt:te=void 0}=e,T;te&&(T=Te(te));let{showAllLabels:f=!1}=e,{handleMissing:k="gap"}=e,{step:ie=!1}=e,{stepPosition:me="end"}=e;const oe={above:"top",below:"bottom",middle:"inside"},he={above:"right",below:"left",middle:"inside"};let o=n?"right":"top";return xe(()=>{q.update(b=>(n?(b.yAxis={...b.yAxis,...F.xAxis},b.xAxis={...b.xAxis,...F.yAxis}):(b.yAxis[0]={...b.yAxis[0],...F.yAxis},b.xAxis={...b.xAxis,...F.xAxis},O&&(b.yAxis[1]={...b.yAxis[1],show:!0})),W&&(b.axisPointer={triggerEmphasis:!1}),b))}),l.$$set=b=>{"y"in b&&i(1,z=b.y),"y2"in b&&i(2,O=b.y2),"series"in b&&i(3,x=b.series),"options"in b&&i(9,p=b.options),"name"in b&&i(4,H=b.name),"lineColor"in b&&i(10,P=b.lineColor),"lineWidth"in b&&i(11,ne=b.lineWidth),"lineType"in b&&i(12,$=b.lineType),"lineOpacity"in b&&i(13,j=b.lineOpacity),"markers"in b&&i(5,E=b.markers),"markerShape"in b&&i(14,ee=b.markerShape),"markerSize"in b&&i(15,S=b.markerSize),"labels"in b&&i(6,W=b.labels),"labelSize"in b&&i(16,R=b.labelSize),"labelPosition"in b&&i(7,G=b.labelPosition),"labelColor"in b&&i(17,J=b.labelColor),"labelFmt"in b&&i(18,I=b.labelFmt),"yLabelFmt"in b&&i(19,se=b.yLabelFmt),"y2LabelFmt"in b&&i(20,te=b.y2LabelFmt),"showAllLabels"in b&&i(21,f=b.showAllLabels),"handleMissing"in b&&i(22,k=b.handleMissing),"step"in b&&i(8,ie=b.step),"stepPosition"in b&&i(23,me=b.stepPosition)},l.$$.update=()=>{l.$$.dirty[0]&32&&i(5,E=E==="true"||E===!0),l.$$.dirty[0]&256&&i(8,ie=ie==="true"||ie===!0),l.$$.dirty[1]&256&&i(34,t=g.data),l.$$.dirty[1]&256&&i(33,a=g.x),l.$$.dirty[0]&2|l.$$.dirty[1]&256&&i(1,z=K?z:g.y),l.$$.dirty[0]&4|l.$$.dirty[1]&256&&i(2,O=V?O:g.y2),l.$$.dirty[1]&256&&i(27,n=g.swapXY),l.$$.dirty[1]&256&&i(38,u=g.yFormat),l.$$.dirty[1]&256&&i(37,s=g.y2Format),l.$$.dirty[1]&256&&i(36,y=g.yCount),l.$$.dirty[1]&256&&i(35,r=g.y2Count),l.$$.dirty[1]&256&&i(28,d=g.xType),l.$$.dirty[1]&256&&i(31,A=g.xMismatch),l.$$.dirty[1]&256&&i(30,B=g.columnSummary),l.$$.dirty[0]&8|l.$$.dirty[1]&256&&i(3,x=U?x:g.series),l.$$.dirty[0]&1073741850|l.$$.dirty[1]&12&&(!x&&typeof z!="object"?i(4,H=H??Je(z,B[z].title)):i(34,t=ze(t,a,z,x))),l.$$.dirty[0]&4194314|l.$$.dirty[1]&12&&k==="zero"&&i(34,t=ze(t,a,z,x,!0)),l.$$.dirty[0]&134217856&&i(7,G=(n?he[G]:oe[G])??o),l.$$.dirty[0]&266599904|l.$$.dirty[1]&240&&i(32,c={type:"line",label:{show:W,formatter(b){return b.value[n?0:1]===0?"":ei(b.value[n?0:1],[ye??Z??u,T??Z??s][mi(b.componentIndex,y,r)])},fontSize:R,color:J,position:G,padding:3},labelLayout:{hideOverlap:!f},connectNulls:k==="connect",emphasis:{focus:"series",endLabel:{show:!1},lineStyle:{opacity:1,width:3}},lineStyle:{width:parseInt(ne),type:$},itemStyle:{color:P,opacity:j},showSymbol:W||E,symbol:ee,symbolSize:W&&!E?0:S,step:ie?me:!1}),l.$$.dirty[0]&1207959582|l.$$.dirty[1]&15&&i(29,X=pe(t,a,z,x,n,c,H,A,B,void 0,void 0,O)),l.$$.dirty[0]&536870912&&q.update(b=>(b.series.push(...X),b.legend.data.push(...X.map(ke=>ke.name)),b)),l.$$.dirty[0]&512&&p&&q.update(b=>({...b,...p})),l.$$.dirty[0]&268435456&&(F={yAxis:{boundaryGap:["0%","1%"]},xAxis:{boundaryGap:[d==="time"?"2%":"0%","2%"]}})},[v,z,O,x,H,E,W,G,ie,p,P,ne,$,j,ee,S,R,J,I,se,te,f,k,me,Z,ye,T,n,d,X,B,A,c,a,t,r,y,s,u,g]}class ci extends Ae{constructor(e){super(),ge(this,e,_i,null,_e,{y:1,y2:2,series:3,options:9,name:4,lineColor:10,lineWidth:11,lineType:12,lineOpacity:13,markers:5,markerShape:14,markerSize:15,labels:6,labelSize:16,labelPosition:7,labelColor:17,labelFmt:18,yLabelFmt:19,y2LabelFmt:20,showAllLabels:21,handleMissing:22,step:8,stepPosition:23},null,[-1,-1])}}function Ti(l){let e,i,t;e=new ci({props:{lineColor:l[33],lineWidth:l[36],lineOpacity:l[35],lineType:l[34],markers:l[38],markerShape:l[39],markerSize:l[40],handleMissing:l[41],step:l[42],stepPosition:l[43],labels:l[46],labelSize:l[47],labelPosition:l[48],labelColor:l[49],labelFmt:l[50],yLabelFmt:l[51],y2LabelFmt:l[52],showAllLabels:l[53]}});const a=l[56].default,n=Ce(a,l,l[57],null);return{c(){D(e.$$.fragment),i=C(),n&&n.c()},l(u){N(e.$$.fragment,u),i=M(u),n&&n.l(u)},m(u,s){Y(e,u,s),_(u,i,s),n&&n.m(u,s),t=!0},p(u,s){const y={};s[1]&4&&(y.lineColor=u[33]),s[1]&32&&(y.lineWidth=u[36]),s[1]&16&&(y.lineOpacity=u[35]),s[1]&8&&(y.lineType=u[34]),s[1]&128&&(y.markers=u[38]),s[1]&256&&(y.markerShape=u[39]),s[1]&512&&(y.markerSize=u[40]),s[1]&1024&&(y.handleMissing=u[41]),s[1]&2048&&(y.step=u[42]),s[1]&4096&&(y.stepPosition=u[43]),s[1]&32768&&(y.labels=u[46]),s[1]&65536&&(y.labelSize=u[47]),s[1]&131072&&(y.labelPosition=u[48]),s[1]&262144&&(y.labelColor=u[49]),s[1]&524288&&(y.labelFmt=u[50]),s[1]&1048576&&(y.yLabelFmt=u[51]),s[1]&2097152&&(y.y2LabelFmt=u[52]),s[1]&4194304&&(y.showAllLabels=u[53]),e.$set(y),n&&n.p&&(!t||s[1]&67108864)&&Me(n,a,u,u[57],t?Se(a,u[57],s,null):we(u[57]),null)},i(u){t||(L(e.$$.fragment,u),L(n,u),t=!0)},o(u){w(e.$$.fragment,u),w(n,u),t=!1},d(u){Q(e,u),u&&h(i),n&&n.d(u)}}}function Li(l){let e,i;return e=new $e({props:{data:l[0],x:l[1],y:l[2],y2:l[3],xFmt:l[9],yFmt:l[8],y2Fmt:l[10],series:l[4],xType:l[5],yLog:l[6],yLogBase:l[7],legend:l[13],xAxisTitle:l[14],yAxisTitle:l[15],y2AxisTitle:l[16],xGridlines:l[17],yGridlines:l[18],y2Gridlines:l[19],xAxisLabels:l[20],yAxisLabels:l[21],y2AxisLabels:l[22],xBaseline:l[23],yBaseline:l[24],y2Baseline:l[25],xTickMarks:l[26],yTickMarks:l[27],y2TickMarks:l[28],yAxisColor:l[54],y2AxisColor:l[55],yMin:l[29],yMax:l[30],y2Min:l[31],y2Max:l[32],title:l[11],subtitle:l[12],chartType:"Line Chart",sort:l[44],chartAreaHeight:l[37],colorPalette:l[45],$$slots:{default:[Ti]},$$scope:{ctx:l}}}),{c(){D(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,a){Y(e,t,a),i=!0},p(t,a){const n={};a[0]&1&&(n.data=t[0]),a[0]&2&&(n.x=t[1]),a[0]&4&&(n.y=t[2]),a[0]&8&&(n.y2=t[3]),a[0]&512&&(n.xFmt=t[9]),a[0]&256&&(n.yFmt=t[8]),a[0]&1024&&(n.y2Fmt=t[10]),a[0]&16&&(n.series=t[4]),a[0]&32&&(n.xType=t[5]),a[0]&64&&(n.yLog=t[6]),a[0]&128&&(n.yLogBase=t[7]),a[0]&8192&&(n.legend=t[13]),a[0]&16384&&(n.xAxisTitle=t[14]),a[0]&32768&&(n.yAxisTitle=t[15]),a[0]&65536&&(n.y2AxisTitle=t[16]),a[0]&131072&&(n.xGridlines=t[17]),a[0]&262144&&(n.yGridlines=t[18]),a[0]&524288&&(n.y2Gridlines=t[19]),a[0]&1048576&&(n.xAxisLabels=t[20]),a[0]&2097152&&(n.yAxisLabels=t[21]),a[0]&4194304&&(n.y2AxisLabels=t[22]),a[0]&8388608&&(n.xBaseline=t[23]),a[0]&16777216&&(n.yBaseline=t[24]),a[0]&33554432&&(n.y2Baseline=t[25]),a[0]&67108864&&(n.xTickMarks=t[26]),a[0]&134217728&&(n.yTickMarks=t[27]),a[0]&268435456&&(n.y2TickMarks=t[28]),a[1]&8388608&&(n.yAxisColor=t[54]),a[1]&16777216&&(n.y2AxisColor=t[55]),a[0]&536870912&&(n.yMin=t[29]),a[0]&1073741824&&(n.yMax=t[30]),a[1]&1&&(n.y2Min=t[31]),a[1]&2&&(n.y2Max=t[32]),a[0]&2048&&(n.title=t[11]),a[0]&4096&&(n.subtitle=t[12]),a[1]&8192&&(n.sort=t[44]),a[1]&64&&(n.chartAreaHeight=t[37]),a[1]&16384&&(n.colorPalette=t[45]),a[1]&75472828&&(n.$$scope={dirty:a,ctx:t}),e.$set(n)},i(t){i||(L(e.$$.fragment,t),i=!0)},o(t){w(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function Ci(l,e,i){let{$$slots:t={},$$scope:a}=e,{data:n=void 0}=e,{x:u=void 0}=e,{y:s=void 0}=e,{y2:y=void 0}=e,{series:r=void 0}=e,{xType:d=void 0}=e,{yLog:A=void 0}=e,{yLogBase:B=void 0}=e,{yFmt:c=void 0}=e,{xFmt:X=void 0}=e,{y2Fmt:F=void 0}=e,{title:g=void 0}=e,{subtitle:v=void 0}=e,{legend:q=void 0}=e,{xAxisTitle:z=void 0}=e,{yAxisTitle:K=y?"true":void 0}=e,{y2AxisTitle:O=y?"true":void 0}=e,{xGridlines:V=void 0}=e,{yGridlines:x=void 0}=e,{y2Gridlines:U=void 0}=e,{xAxisLabels:p=void 0}=e,{yAxisLabels:H=void 0}=e,{y2AxisLabels:P=void 0}=e,{xBaseline:ne=void 0}=e,{yBaseline:$=void 0}=e,{y2Baseline:j=void 0}=e,{xTickMarks:E=void 0}=e,{yTickMarks:ee=void 0}=e,{y2TickMarks:S=void 0}=e,{yMin:W=void 0}=e,{yMax:R=void 0}=e,{y2Min:G=void 0}=e,{y2Max:J=void 0}=e,{lineColor:I=void 0}=e,{lineType:Z=void 0}=e,{lineOpacity:se=void 0}=e,{lineWidth:ye=void 0}=e,{chartAreaHeight:te=void 0}=e,{markers:T=void 0}=e,{markerShape:f=void 0}=e,{markerSize:k=void 0}=e,{handleMissing:ie=void 0}=e,{step:me=void 0}=e,{stepPosition:oe=void 0}=e,{sort:he=void 0}=e,{colorPalette:o=void 0}=e,{labels:b=void 0}=e,{labelSize:ke=void 0}=e,{labelPosition:We=void 0}=e,{labelColor:qe=void 0}=e,{labelFmt:je=void 0}=e,{yLabelFmt:Ie=void 0}=e,{y2LabelFmt:De=void 0}=e,{showAllLabels:Ne=void 0}=e,{yAxisColor:Ye=void 0}=e,{y2AxisColor:Qe=void 0}=e;return l.$$set=m=>{"data"in m&&i(0,n=m.data),"x"in m&&i(1,u=m.x),"y"in m&&i(2,s=m.y),"y2"in m&&i(3,y=m.y2),"series"in m&&i(4,r=m.series),"xType"in m&&i(5,d=m.xType),"yLog"in m&&i(6,A=m.yLog),"yLogBase"in m&&i(7,B=m.yLogBase),"yFmt"in m&&i(8,c=m.yFmt),"xFmt"in m&&i(9,X=m.xFmt),"y2Fmt"in m&&i(10,F=m.y2Fmt),"title"in m&&i(11,g=m.title),"subtitle"in m&&i(12,v=m.subtitle),"legend"in m&&i(13,q=m.legend),"xAxisTitle"in m&&i(14,z=m.xAxisTitle),"yAxisTitle"in m&&i(15,K=m.yAxisTitle),"y2AxisTitle"in m&&i(16,O=m.y2AxisTitle),"xGridlines"in m&&i(17,V=m.xGridlines),"yGridlines"in m&&i(18,x=m.yGridlines),"y2Gridlines"in m&&i(19,U=m.y2Gridlines),"xAxisLabels"in m&&i(20,p=m.xAxisLabels),"yAxisLabels"in m&&i(21,H=m.yAxisLabels),"y2AxisLabels"in m&&i(22,P=m.y2AxisLabels),"xBaseline"in m&&i(23,ne=m.xBaseline),"yBaseline"in m&&i(24,$=m.yBaseline),"y2Baseline"in m&&i(25,j=m.y2Baseline),"xTickMarks"in m&&i(26,E=m.xTickMarks),"yTickMarks"in m&&i(27,ee=m.yTickMarks),"y2TickMarks"in m&&i(28,S=m.y2TickMarks),"yMin"in m&&i(29,W=m.yMin),"yMax"in m&&i(30,R=m.yMax),"y2Min"in m&&i(31,G=m.y2Min),"y2Max"in m&&i(32,J=m.y2Max),"lineColor"in m&&i(33,I=m.lineColor),"lineType"in m&&i(34,Z=m.lineType),"lineOpacity"in m&&i(35,se=m.lineOpacity),"lineWidth"in m&&i(36,ye=m.lineWidth),"chartAreaHeight"in m&&i(37,te=m.chartAreaHeight),"markers"in m&&i(38,T=m.markers),"markerShape"in m&&i(39,f=m.markerShape),"markerSize"in m&&i(40,k=m.markerSize),"handleMissing"in m&&i(41,ie=m.handleMissing),"step"in m&&i(42,me=m.step),"stepPosition"in m&&i(43,oe=m.stepPosition),"sort"in m&&i(44,he=m.sort),"colorPalette"in m&&i(45,o=m.colorPalette),"labels"in m&&i(46,b=m.labels),"labelSize"in m&&i(47,ke=m.labelSize),"labelPosition"in m&&i(48,We=m.labelPosition),"labelColor"in m&&i(49,qe=m.labelColor),"labelFmt"in m&&i(50,je=m.labelFmt),"yLabelFmt"in m&&i(51,Ie=m.yLabelFmt),"y2LabelFmt"in m&&i(52,De=m.y2LabelFmt),"showAllLabels"in m&&i(53,Ne=m.showAllLabels),"yAxisColor"in m&&i(54,Ye=m.yAxisColor),"y2AxisColor"in m&&i(55,Qe=m.y2AxisColor),"$$scope"in m&&i(57,a=m.$$scope)},[n,u,s,y,r,d,A,B,c,X,F,g,v,q,z,K,O,V,x,U,p,H,P,ne,$,j,E,ee,S,W,R,G,J,I,Z,se,ye,te,T,f,k,ie,me,oe,he,o,b,ke,We,qe,je,Ie,De,Ne,Ye,Qe,t,a]}class He extends Ae{constructor(e){super(),ge(this,e,Ci,Li,_e,{data:0,x:1,y:2,y2:3,series:4,xType:5,yLog:6,yLogBase:7,yFmt:8,xFmt:9,y2Fmt:10,title:11,subtitle:12,legend:13,xAxisTitle:14,yAxisTitle:15,y2AxisTitle:16,xGridlines:17,yGridlines:18,y2Gridlines:19,xAxisLabels:20,yAxisLabels:21,y2AxisLabels:22,xBaseline:23,yBaseline:24,y2Baseline:25,xTickMarks:26,yTickMarks:27,y2TickMarks:28,yMin:29,yMax:30,y2Min:31,y2Max:32,lineColor:33,lineType:34,lineOpacity:35,lineWidth:36,chartAreaHeight:37,markers:38,markerShape:39,markerSize:40,handleMissing:41,step:42,stepPosition:43,sort:44,colorPalette:45,labels:46,labelSize:47,labelPosition:48,labelColor:49,labelFmt:50,yLabelFmt:51,y2LabelFmt:52,showAllLabels:53,yAxisColor:54,y2AxisColor:55},null,[-1,-1])}}function Mi(l){let e,i;const t=l[3].default,a=Ce(t,l,l[2],null);return{c(){e=fe("div"),a&&a.c(),this.h()},l(n){e=ae(n,"DIV",{class:!0,style:!0});var u=re(e);a&&a.l(u),u.forEach(h),this.h()},h(){le(e,"class","grid svelte-xd8s0v"),ce(e,"display","grid"),ce(e,"grid-template-columns","repeat("+l[0]+", minmax(0, 1fr))"),ce(e,"column-gap",l[1]+"px")},m(n,u){_(n,e,u),a&&a.m(e,null),i=!0},p(n,[u]){a&&a.p&&(!i||u&4)&&Me(a,t,n,n[2],i?Se(t,n[2],u,null):we(n[2]),null),(!i||u&1)&&ce(e,"grid-template-columns","repeat("+n[0]+", minmax(0, 1fr))"),(!i||u&2)&&ce(e,"column-gap",n[1]+"px")},i(n){i||(L(a,n),i=!0)},o(n){w(a,n),i=!1},d(n){n&&h(e),a&&a.d(n)}}}function wi(l,e,i){let{$$slots:t={},$$scope:a}=e,{columns:n=2}=e;n=parseInt(n);let{gapWidth:u=10}=e;return l.$$set=s=>{"columns"in s&&i(0,n=s.columns),"gapWidth"in s&&i(1,u=s.gapWidth),"$$scope"in s&&i(2,a=s.$$scope)},[n,u,a,t]}class Ge extends Ae{constructor(e){super(),ge(this,e,wi,Mi,_e,{columns:0,gapWidth:1})}}function Si(l){let e,i;const t=l[1].default,a=Ce(t,l,l[0],null);return{c(){e=fe("div"),a&&a.c()},l(n){e=ae(n,"DIV",{});var u=re(e);a&&a.l(u),u.forEach(h)},m(n,u){_(n,e,u),a&&a.m(e,null),i=!0},p(n,[u]){a&&a.p&&(!i||u&1)&&Me(a,t,n,n[0],i?Se(t,n[0],u,null):we(n[0]),null)},i(n){i||(L(a,n),i=!0)},o(n){w(a,n),i=!1},d(n){n&&h(e),a&&a.d(n)}}}function Fi(l,e,i){let{$$slots:t={},$$scope:a}=e;return l.$$set=n=>{"$$scope"in n&&i(0,a=n.$$scope)},[a,t]}class Be extends Ae{constructor(e){super(),ge(this,e,Fi,Si,_e,{})}}function Pi(l){return{c(){this.h()},l(e){this.h()},h(){document.title="Evidence"},m:Fe,p:Fe,d:Fe}}function Ue(l){let e,i;return e=new si({props:{pageQueries:l[0].evidencemeta.queries,queryID:"mock_data",queryResult:l[0].mock_data}}),{c(){D(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,a){Y(e,t,a),i=!0},p(t,a){const n={};a&1&&(n.pageQueries=t[0].evidencemeta.queries),a&1&&(n.queryResult=t[0].mock_data),e.$set(n)},i(t){i||(L(e.$$.fragment,t),i=!0)},o(t){w(e.$$.fragment,t),i=!1},d(t){Q(e,t)}}}function Gi(l){let e,i,t,a,n,u;return e=new He({props:{data:l[1]}}),t=new Ee({props:{data:l[1]}}),n=new ri({props:{data:l[1]}}),{c(){D(e.$$.fragment),i=C(),D(t.$$.fragment),a=C(),D(n.$$.fragment)},l(s){N(e.$$.fragment,s),i=M(s),N(t.$$.fragment,s),a=M(s),N(n.$$.fragment,s)},m(s,y){Y(e,s,y),_(s,i,y),Y(t,s,y),_(s,a,y),Y(n,s,y),u=!0},p(s,y){const r={};y&2&&(r.data=s[1]),e.$set(r);const d={};y&2&&(d.data=s[1]),t.$set(d);const A={};y&2&&(A.data=s[1]),n.$set(A)},i(s){u||(L(e.$$.fragment,s),L(t.$$.fragment,s),L(n.$$.fragment,s),u=!0)},o(s){w(e.$$.fragment,s),w(t.$$.fragment,s),w(n.$$.fragment,s),u=!1},d(s){Q(e,s),s&&h(i),Q(t,s),s&&h(a),Q(n,s)}}}function Bi(l){let e,i,t,a;return e=new He({props:{data:l[1]}}),t=new Ee({props:{data:l[1]}}),{c(){D(e.$$.fragment),i=C(),D(t.$$.fragment)},l(n){N(e.$$.fragment,n),i=M(n),N(t.$$.fragment,n)},m(n,u){Y(e,n,u),_(n,i,u),Y(t,n,u),a=!0},p(n,u){const s={};u&2&&(s.data=n[1]),e.$set(s);const y={};u&2&&(y.data=n[1]),t.$set(y)},i(n){a||(L(e.$$.fragment,n),L(t.$$.fragment,n),a=!0)},o(n){w(e.$$.fragment,n),w(t.$$.fragment,n),a=!1},d(n){Q(e,n),n&&h(i),Q(t,n)}}}function zi(l){let e,i,t,a,n,u,s,y;return s=new He({props:{data:l[1]}}),{c(){e=fe("h3"),i=be("Line"),t=C(),a=fe("p"),n=be("This is a line chart"),u=C(),D(s.$$.fragment),this.h()},l(r){e=ae(r,"H3",{class:!0});var d=re(e);i=de(d,"Line"),d.forEach(h),t=M(r),a=ae(r,"P",{class:!0});var A=re(a);n=de(A,"This is a line chart"),A.forEach(h),u=M(r),N(s.$$.fragment,r),this.h()},h(){le(e,"class","markdown"),le(a,"class","markdown")},m(r,d){_(r,e,d),ue(e,i),_(r,t,d),_(r,a,d),ue(a,n),_(r,u,d),Y(s,r,d),y=!0},p(r,d){const A={};d&2&&(A.data=r[1]),s.$set(A)},i(r){y||(L(s.$$.fragment,r),y=!0)},o(r){w(s.$$.fragment,r),y=!1},d(r){r&&h(e),r&&h(t),r&&h(a),r&&h(u),Q(s,r)}}}function Oi(l){let e,i,t,a,n,u,s,y;return s=new Ee({props:{data:l[1]}}),{c(){e=fe("h3"),i=be("Bar"),t=C(),a=fe("p"),n=be("This is a bar chart"),u=C(),D(s.$$.fragment),this.h()},l(r){e=ae(r,"H3",{class:!0});var d=re(e);i=de(d,"Bar"),d.forEach(h),t=M(r),a=ae(r,"P",{class:!0});var A=re(a);n=de(A,"This is a bar chart"),A.forEach(h),u=M(r),N(s.$$.fragment,r),this.h()},h(){le(e,"class","markdown"),le(a,"class","markdown")},m(r,d){_(r,e,d),ue(e,i),_(r,t,d),_(r,a,d),ue(a,n),_(r,u,d),Y(s,r,d),y=!0},p(r,d){const A={};d&2&&(A.data=r[1]),s.$set(A)},i(r){y||(L(s.$$.fragment,r),y=!0)},o(r){w(s.$$.fragment,r),y=!1},d(r){r&&h(e),r&&h(t),r&&h(a),r&&h(u),Q(s,r)}}}function xi(l){let e,i,t,a,n,u,s,y;return s=new gi({props:{data:l[1]}}),{c(){e=fe("h3"),i=be("Area"),t=C(),a=fe("p"),n=be("This is an area chart"),u=C(),D(s.$$.fragment),this.h()},l(r){e=ae(r,"H3",{class:!0});var d=re(e);i=de(d,"Area"),d.forEach(h),t=M(r),a=ae(r,"P",{class:!0});var A=re(a);n=de(A,"This is an area chart"),A.forEach(h),u=M(r),N(s.$$.fragment,r),this.h()},h(){le(e,"class","markdown"),le(a,"class","markdown")},m(r,d){_(r,e,d),ue(e,i),_(r,t,d),_(r,a,d),ue(a,n),_(r,u,d),Y(s,r,d),y=!0},p(r,d){const A={};d&2&&(A.data=r[1]),s.$set(A)},i(r){y||(L(s.$$.fragment,r),y=!0)},o(r){w(s.$$.fragment,r),y=!1},d(r){r&&h(e),r&&h(t),r&&h(a),r&&h(u),Q(s,r)}}}function Ei(l){let e,i,t,a,n,u;return e=new Be({props:{$$slots:{default:[zi]},$$scope:{ctx:l}}}),t=new Be({props:{$$slots:{default:[Oi]},$$scope:{ctx:l}}}),n=new Be({props:{$$slots:{default:[xi]},$$scope:{ctx:l}}}),{c(){D(e.$$.fragment),i=C(),D(t.$$.fragment),a=C(),D(n.$$.fragment)},l(s){N(e.$$.fragment,s),i=M(s),N(t.$$.fragment,s),a=M(s),N(n.$$.fragment,s)},m(s,y){Y(e,s,y),_(s,i,y),Y(t,s,y),_(s,a,y),Y(n,s,y),u=!0},p(s,y){const r={};y&66&&(r.$$scope={dirty:y,ctx:s}),e.$set(r);const d={};y&66&&(d.$$scope={dirty:y,ctx:s}),t.$set(d);const A={};y&66&&(A.$$scope={dirty:y,ctx:s}),n.$set(A)},i(s){u||(L(e.$$.fragment,s),L(t.$$.fragment,s),L(n.$$.fragment,s),u=!0)},o(s){w(e.$$.fragment,s),w(t.$$.fragment,s),w(n.$$.fragment,s),u=!1},d(s){Q(e,s),s&&h(i),Q(t,s),s&&h(a),Q(n,s)}}}function Hi(l){let e,i,t,a,n,u,s,y,r,d,A,B,c,X,F,g,v,q,z,K,O,V,x,U,p,H,P,ne,$,j,E,ee,S,W,R,G,J,I,Z;function se(f,k){return Pi}let te=se()(l),T=l[0].mock_data&&Ue(l);return c=new Ge({props:{columns:"3",gapWidth:"10",$$slots:{default:[Gi]},$$scope:{ctx:l}}}),F=new Pe({props:{source:` `,copyToClipboard:"true"}}),K=new Ge({props:{columns:"2",$$slots:{default:[Bi]},$$scope:{ctx:l}}}),V=new Pe({props:{source:` `,copyToClipboard:"true"}}),G=new Ge({props:{columns:"3",$$slots:{default:[Ei]},$$scope:{ctx:l}}}),I=new Pe({props:{source:` ### Line This is a line chart ### Bar This is a bar chart ### Area This is an area chart `,copyToClipboard:"true"}}),{c(){e=C(),te.c(),i=fe("meta"),t=fe("meta"),a=Xe(),n=C(),u=fe("h1"),s=be("Grid Component"),y=C(),T&&T.c(),r=C(),d=fe("h2"),A=be("Section 1"),B=C(),D(c.$$.fragment),X=C(),D(F.$$.fragment),g=C(),v=fe("h2"),q=be("Section 2"),z=C(),D(K.$$.fragment),O=C(),D(V.$$.fragment),x=C(),U=fe("h1"),p=be("Group Component"),H=C(),P=fe("p"),ne=be("The Group component lets you include multiple items inside a grid cell. This is helpful if you want to include markdown along with a chart, for example."),$=C(),j=fe("p"),E=be("One note is that the markdown requires specific line spacing to work correctly, which can be unintuitive. Generally it requires a blank line before and after a markdown item."),ee=C(),S=fe("h2"),W=be("Section 3"),R=C(),D(G.$$.fragment),J=C(),D(I.$$.fragment),this.h()},l(f){e=M(f);const k=ii("svelte-1j2izld",document.head);te.l(k),i=ae(k,"META",{name:!0,content:!0}),t=ae(k,"META",{name:!0,content:!0}),a=Xe(),k.forEach(h),n=M(f),u=ae(f,"H1",{class:!0});var ie=re(u);s=de(ie,"Grid Component"),ie.forEach(h),y=M(f),T&&T.l(f),r=M(f),d=ae(f,"H2",{class:!0});var me=re(d);A=de(me,"Section 1"),me.forEach(h),B=M(f),N(c.$$.fragment,f),X=M(f),N(F.$$.fragment,f),g=M(f),v=ae(f,"H2",{class:!0});var oe=re(v);q=de(oe,"Section 2"),oe.forEach(h),z=M(f),N(K.$$.fragment,f),O=M(f),N(V.$$.fragment,f),x=M(f),U=ae(f,"H1",{class:!0});var he=re(U);p=de(he,"Group Component"),he.forEach(h),H=M(f),P=ae(f,"P",{class:!0});var o=re(P);ne=de(o,"The Group component lets you include multiple items inside a grid cell. This is helpful if you want to include markdown along with a chart, for example."),o.forEach(h),$=M(f),j=ae(f,"P",{class:!0});var b=re(j);E=de(b,"One note is that the markdown requires specific line spacing to work correctly, which can be unintuitive. Generally it requires a blank line before and after a markdown item."),b.forEach(h),ee=M(f),S=ae(f,"H2",{class:!0});var ke=re(S);W=de(ke,"Section 3"),ke.forEach(h),R=M(f),N(G.$$.fragment,f),J=M(f),N(I.$$.fragment,f),this.h()},h(){le(i,"name","twitter:card"),le(i,"content","summary"),le(t,"name","twitter:site"),le(t,"content","@evidence_dev"),le(u,"class","markdown"),le(d,"class","markdown"),le(v,"class","markdown"),le(U,"class","markdown"),le(P,"class","markdown"),le(j,"class","markdown"),le(S,"class","markdown")},m(f,k){_(f,e,k),te.m(document.head,null),ue(document.head,i),ue(document.head,t),ue(document.head,a),_(f,n,k),_(f,u,k),ue(u,s),_(f,y,k),T&&T.m(f,k),_(f,r,k),_(f,d,k),ue(d,A),_(f,B,k),Y(c,f,k),_(f,X,k),Y(F,f,k),_(f,g,k),_(f,v,k),ue(v,q),_(f,z,k),Y(K,f,k),_(f,O,k),Y(V,f,k),_(f,x,k),_(f,U,k),ue(U,p),_(f,H,k),_(f,P,k),ue(P,ne),_(f,$,k),_(f,j,k),ue(j,E),_(f,ee,k),_(f,S,k),ue(S,W),_(f,R,k),Y(G,f,k),_(f,J,k),Y(I,f,k),Z=!0},p(f,[k]){te.p(f,k),f[0].mock_data?T?(T.p(f,k),k&1&&L(T,1)):(T=Ue(f),T.c(),L(T,1),T.m(r.parentNode,r)):T&&(fi(),w(T,1,1,()=>{T=null}),li());const ie={};k&66&&(ie.$$scope={dirty:k,ctx:f}),c.$set(ie);const me={};k&66&&(me.$$scope={dirty:k,ctx:f}),K.$set(me);const oe={};k&66&&(oe.$$scope={dirty:k,ctx:f}),G.$set(oe)},i(f){Z||(L(T),L(c.$$.fragment,f),L(F.$$.fragment,f),L(K.$$.fragment,f),L(V.$$.fragment,f),L(G.$$.fragment,f),L(I.$$.fragment,f),Z=!0)},o(f){w(T),w(c.$$.fragment,f),w(F.$$.fragment,f),w(K.$$.fragment,f),w(V.$$.fragment,f),w(G.$$.fragment,f),w(I.$$.fragment,f),Z=!1},d(f){f&&h(e),te.d(f),h(i),h(t),h(a),f&&h(n),f&&h(u),f&&h(y),T&&T.d(f),f&&h(r),f&&h(d),f&&h(B),Q(c,f),f&&h(X),Q(F,f),f&&h(g),f&&h(v),f&&h(z),Q(K,f),f&&h(O),Q(V,f),f&&h(x),f&&h(U),f&&h(H),f&&h(P),f&&h($),f&&h(j),f&&h(ee),f&&h(S),f&&h(R),Q(G,f),f&&h(J),Q(I,f)}}}function Wi(l,e,i){let t;Oe(l,Re,r=>i(4,t=r));let{data:a}=e,{data:n={},customFormattingSettings:u}=a;ni(Re,t="974f0a877d621de8307456bffbb817d2",t),ti(ai,{getCustomFormats:()=>u.customFormats||[]});const s=function(r){var A,B;let d=(A=r.evidencemeta)==null?void 0:A.queries;if(d)for(let c=0;c{s(n)});let{mock_data:y}=n;return l.$$set=r=>{"data"in r&&i(2,a=r.data)},l.$$.update=()=>{l.$$.dirty&4&&i(0,{data:n={},customFormattingSettings:u}=a,n),l.$$.dirty&1&&(Object.keys(n).length>0?Ke.set(!0):Ke.set(!1)),l.$$.dirty&1&&i(1,{mock_data:y}=n,y)},[n,y,a]}class Ri extends Ae{constructor(e){super(),ge(this,e,Wi,Hi,_e,{data:2})}}export{Ri as default};