import{s as D,r as C,d as r,i as c,a as F,b as m,e as k,h as G,f as _,g as P,j as A,k as b,l as h,m as O,n as Q,o as Y,p as z,q as K,t as R,u as W,v as X}from"../chunks/scheduler.DvKrEcvj.js";import{S as J,i as V}from"../chunks/index.mYUrQtkg.js";import{e as Z,s as $,p as tt,a as B,r as N,C as et}from"../chunks/inferColumnTypes.jN6ZEpJ5.js";import{p as it}from"../chunks/profile.BW8tN6E9.js";import{p as at}from"../chunks/stores.DIVqs-NN.js";import{w as st}from"../chunks/entry.CFTpQVQ7.js";function nt(f){let a,l=u.title+"",i;return{c(){a=h("h1"),i=X(l),this.h()},l(e){a=_(e,"H1",{class:!0});var s=R(a);i=W(s,l),s.forEach(r),this.h()},h(){m(a,"class","title")},m(e,s){c(e,a,s),F(a,i)},p:C,d(e){e&&r(a)}}}function lt(f){return{c(){this.h()},l(a){this.h()},h(){document.title="Evidence"},m:C,p:C,d:C}}function ot(f){let a,l,i,e,s;return document.title=a=u.title,{c(){l=b(),i=h("meta"),e=b(),s=h("meta"),this.h()},l(t){l=k(t),i=_(t,"META",{property:!0,content:!0}),e=k(t),s=_(t,"META",{name:!0,content:!0}),this.h()},h(){var t,o;m(i,"property","og:title"),m(i,"content",((t=u.og)==null?void 0:t.title)??u.title),m(s,"name","twitter:title"),m(s,"content",((o=u.og)==null?void 0:o.title)??u.title)},m(t,o){c(t,l,o),c(t,i,o),c(t,e,o),c(t,s,o)},p(t,o){o&0&&a!==(a=u.title)&&(document.title=a)},d(t){t&&(r(l),r(i),r(e),r(s))}}}function rt(f){var s;let a,l,i=ct(),e=((s=u.og)==null?void 0:s.image)&&ut();return{c(){i&&i.c(),a=b(),e&&e.c(),l=P()},l(t){i&&i.l(t),a=k(t),e&&e.l(t),l=P()},m(t,o){i&&i.m(t,o),c(t,a,o),e&&e.m(t,o),c(t,l,o)},p(t,o){var w;i.p(t,o),(w=u.og)!=null&&w.image&&e.p(t,o)},d(t){t&&(r(a),r(l)),i&&i.d(t),e&&e.d(t)}}}function ct(f){let a,l,i,e,s;return{c(){a=h("meta"),l=b(),i=h("meta"),e=b(),s=h("meta"),this.h()},l(t){a=_(t,"META",{name:!0,content:!0}),l=k(t),i=_(t,"META",{property:!0,content:!0}),e=k(t),s=_(t,"META",{name:!0,content:!0}),this.h()},h(){var t,o;m(a,"name","description"),m(a,"content",u.description),m(i,"property","og:description"),m(i,"content",((t=u.og)==null?void 0:t.description)??u.description),m(s,"name","twitter:description"),m(s,"content",((o=u.og)==null?void 0:o.description)??u.description)},m(t,o){c(t,a,o),c(t,l,o),c(t,i,o),c(t,e,o),c(t,s,o)},p:C,d(t){t&&(r(a),r(l),r(i),r(e),r(s))}}}function ut(f){let a,l,i;return{c(){a=h("meta"),l=b(),i=h("meta"),this.h()},l(e){a=_(e,"META",{property:!0,content:!0}),l=k(e),i=_(e,"META",{name:!0,content:!0}),this.h()},h(){var e,s;m(a,"property","og:image"),m(a,"content",B((e=u.og)==null?void 0:e.image)),m(i,"name","twitter:image"),m(i,"content",B((s=u.og)==null?void 0:s.image))},m(e,s){c(e,a,s),c(e,l,s),c(e,i,s)},p:C,d(e){e&&(r(a),r(l),r(i))}}}function mt(f){let a,l,i,e,s,t,o="We think it's still too difficult to build high quality data products. Businesses are stuck with BI software that delivers slow and clunky outputs, and analysts are stuck manually configuring reports.",w,y,q="Our mission is to give you the tools to deliver production-quality data products that look and feel more like the New York Times' data journalism than a drag-and-drop dashboard.",E,p,H="Evidence combines the best of modern web frameworks with the best parts of BI:",I,x,L='
  • Code-driven workflows: Use your IDE, version control, and CI/CD tools
  • First-class text support: Add context, explanation and insight to your reports
  • Programmatic features: Use loops, conditionals, and templated pages to generate content from data
  • High performance: Evidence apps are fast, reliable, and scalable
  • Lightweight setup: Install locally and start building reports in just a few minutes
  • ',j,T,S='To get started, install Evidence.',g=typeof u<"u"&&u.title&&u.hide_title!==!0&&nt();function U(n,d){return typeof u<"u"&&u.title?ot:lt}let M=U()(f),v=typeof u=="object"&&rt();return{c(){g&&g.c(),a=b(),M.c(),l=h("meta"),i=h("meta"),v&&v.c(),e=P(),s=b(),t=h("p"),t.textContent=o,w=b(),y=h("p"),y.textContent=q,E=b(),p=h("p"),p.textContent=H,I=b(),x=h("ul"),x.innerHTML=L,j=b(),T=h("p"),T.innerHTML=S,this.h()},l(n){g&&g.l(n),a=k(n);const d=G("svelte-2igo1p",document.head);M.l(d),l=_(d,"META",{name:!0,content:!0}),i=_(d,"META",{name:!0,content:!0}),v&&v.l(d),e=P(),d.forEach(r),s=k(n),t=_(n,"P",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-1rypmpz"&&(t.textContent=o),w=k(n),y=_(n,"P",{class:!0,"data-svelte-h":!0}),A(y)!=="svelte-cnueqm"&&(y.textContent=q),E=k(n),p=_(n,"P",{class:!0,"data-svelte-h":!0}),A(p)!=="svelte-j30jbe"&&(p.textContent=H),I=k(n),x=_(n,"UL",{class:!0,"data-svelte-h":!0}),A(x)!=="svelte-oe8c5l"&&(x.innerHTML=L),j=k(n),T=_(n,"P",{class:!0,"data-svelte-h":!0}),A(T)!=="svelte-9nldan"&&(T.innerHTML=S),this.h()},h(){m(l,"name","twitter:card"),m(l,"content","summary_large_image"),m(i,"name","twitter:site"),m(i,"content","@evidence_dev"),m(t,"class","markdown"),m(y,"class","markdown"),m(p,"class","markdown"),m(x,"class","markdown"),m(T,"class","markdown")},m(n,d){g&&g.m(n,d),c(n,a,d),M.m(document.head,null),F(document.head,l),F(document.head,i),v&&v.m(document.head,null),F(document.head,e),c(n,s,d),c(n,t,d),c(n,w,d),c(n,y,d),c(n,E,d),c(n,p,d),c(n,I,d),c(n,x,d),c(n,j,d),c(n,T,d)},p(n,[d]){typeof u<"u"&&u.title&&u.hide_title!==!0&&g.p(n,d),M.p(n,d),typeof u=="object"&&v.p(n,d)},i:C,o:C,d(n){n&&(r(a),r(s),r(t),r(w),r(y),r(E),r(p),r(I),r(x),r(j),r(T)),g&&g.d(n),M.d(n),r(l),r(i),v&&v.d(n),r(e)}}}const u={title:"Motivation",description:"It's still too difficult to build high quality data products."};function dt(f,a,l){let i,e;O(f,at,p=>l(2,i=p)),O(f,N,p=>l(8,e=p));let{data:s}=a,{data:t={},customFormattingSettings:o,__db:w,inputs:y}=s;Q(N,e="872d5ce4ddfeda8be5c1495024a49826",e);let q=Z(st(y));return Y(q.subscribe(p=>y=p)),z(et,{getCustomFormats:()=>o.customFormats||[]}),$((p,H)=>it(w.query,p,{query_name:H})),i.params,K(()=>!0),f.$$set=p=>{"data"in p&&l(0,s=p.data)},f.$$.update=()=>{f.$$.dirty&1&&l(1,{data:t={},customFormattingSettings:o,__db:w}=s,t),f.$$.dirty&2&&tt.set(Object.keys(t).length>0),f.$$.dirty&4&&i.params},[s,t,i]}class wt extends J{constructor(a){super(),V(this,a,dt,mt,D,{data:0})}}export{wt as component};