Spaces:
Running
Running
Upload folder using huggingface_hub
Browse files- _app/immutable/chunks/AccordionItem.BUs62Zj9.js +1 -0
- _app/immutable/chunks/AreaMap.EZVhuMjc.js +0 -0
- _app/immutable/chunks/Button.abJVVkH2.js +1 -0
- _app/immutable/chunks/Prismjs.DfOmTPCQ.js +3 -0
- _app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js +0 -0
- _app/immutable/chunks/arrays.-mek-dcM.js +1 -0
- _app/immutable/chunks/button.PN_PjosU.js +8 -0
- _app/immutable/chunks/entry.CAK-4a04.js +3 -0
- _app/immutable/chunks/leaflet-src.CGhYRG7V.js +0 -0
- _app/immutable/chunks/prism-svelte.DM7evm1x.js +1 -0
- _app/immutable/chunks/stores.C99hE2Le.js +1 -0
- _app/immutable/entry/app.C9INw6xA.js +2 -0
- _app/immutable/entry/start.GLpCEoHP.js +1 -0
- _app/immutable/nodes/0.BjDwDhFS.js +0 -0
- _app/immutable/nodes/1.BWRZQi8Y.js +8 -0
- _app/immutable/nodes/4.D925v1Dw.js +136 -0
- _app/immutable/nodes/5.TKt21e6H.js +81 -0
- _app/immutable/nodes/6.DqV0t9aU.js +1 -0
- _app/immutable/nodes/7.SLqCDfmJ.js +5 -0
- _app/immutable/nodes/8._oLCQNNW.js +0 -0
- _app/version.json +1 -1
- borough/Bronx/index.html +16 -16
- borough/Brooklyn/index.html +16 -16
- borough/EWR/index.html +16 -16
- borough/Manhattan/index.html +16 -16
- borough/Queens/index.html +16 -16
- borough/Staten Island/index.html +16 -16
- index.html +16 -16
_app/immutable/chunks/AccordionItem.BUs62Zj9.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{V as Je,q as qe,a8 as He,s as U,b as W,k as D,f as p,a9 as P,n as K,aa as E,ab as $,N as J,z as N,e as L,d as y,g as z,ac as M,J as w,D as S,E as V,F as O,B as ge,L as Ke,I as ae,j as Qe,G as Xe,a as Ue,c as Be,u as Ye,t as Ze,i as we,m as $e}from"./scheduler.BZlHRu_0.js";import{S as F,i as G,g as le,b,d as ne,t as h,h as Le,j as ye,f as ue,c as Q,a as X,m as Y,e as Z}from"./index.a_oafgNU.js";import{q as xe,t as ie,v as et,x as fe,y as tt,z as be,A as lt,B as _e,F as B,G as nt,H as q,J as te,K as me,h as he,I as it,L as st}from"./VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import{t as ot,g as rt,o as ft,a as ve,r as ut,c as at,b as ct,d as dt,e as _t}from"./arrays.-mek-dcM.js";import{d as mt,w as ze}from"./entry.CAK-4a04.js";const{name:se,selector:ke}=et("accordion"),gt={multiple:!1,disabled:!1,forceVisible:!1},bt=t=>{const e={...gt,...t},n=ot(xe(e,"value","onValueChange","defaultValue")),l=rt(["root"]),{disabled:i,forceVisible:s}=n,o=e.value??ze(e.defaultValue),a=ft(o,e==null?void 0:e.onValueChange),f=(d,m)=>m===void 0?!1:typeof m=="string"?m===d:m.includes(d),r=mt(a,d=>m=>f(m,d)),u=ie(se(),{returned:()=>({"data-melt-id":l.root})}),c=d=>typeof d=="string"?{value:d}:d,k=d=>typeof d=="number"?{level:d}:d,I=ie(se("item"),{stores:a,returned:d=>m=>{const{value:T,disabled:_}=c(m);return{"data-state":f(T,d)?"open":"closed","data-disabled":fe(_)}}}),g=ie(se("trigger"),{stores:[a,i],returned:([d,m])=>T=>{const{value:_,disabled:H}=c(T);return{disabled:fe(m||H),"aria-expanded":!!f(_,d),"aria-disabled":!!H,"data-disabled":fe(H),"data-value":_,"data-state":f(_,d)?"open":"closed"}},action:d=>({destroy:tt(be(d,"click",()=>{const T=d.dataset.disabled==="true",_=d.dataset.value;T||!_||R(_)}),be(d,"keydown",T=>{if(![B.ARROW_DOWN,B.ARROW_UP,B.HOME,B.END].includes(T.key))return;if(T.preventDefault(),T.key===B.SPACE||T.key===B.ENTER){const ee=d.dataset.disabled==="true",re=d.dataset.value;if(ee||!re)return;R(re);return}const _=T.target,H=nt(l.root);if(!H||!_e(_))return;const j=Array.from(H.querySelectorAll(ke("trigger"))).filter(ee=>_e(ee)?ee.dataset.disabled!=="true":!1);if(!j.length)return;const oe=j.indexOf(_);T.key===B.ARROW_DOWN&&j[(oe+1)%j.length].focus(),T.key===B.ARROW_UP&&j[(oe-1+j.length)%j.length].focus(),T.key===B.HOME&&j[0].focus(),T.key===B.END&&j[j.length-1].focus()}))})}),A=ie(se("content"),{stores:[a,i,s],returned:([d,m,T])=>_=>{const{value:H}=c(_),x=f(H,d)||T;return{"data-state":x?"open":"closed","data-disabled":fe(m),"data-value":H,hidden:x?void 0:!0,style:lt({display:x?void 0:"none"})}},action:d=>{Je().then(()=>{const m=ve(),T=ve(),_=document.querySelector(`${ke("trigger")}, [data-value="${d.dataset.value}"]`);_e(_)&&(d.id=m,_.setAttribute("aria-controls",m),_.id=T)})}}),C=ie(se("heading"),{returned:()=>d=>{const{level:m}=k(d);return{role:"heading","aria-level":m,"data-heading-level":m}}});function R(d){a.update(m=>m===void 0?e.multiple?[d]:d:Array.isArray(m)?m.includes(d)?m.filter(T=>T!==d):(m.push(d),m):m===d?void 0:d)}return{ids:l,elements:{root:u,item:I,trigger:g,content:A,heading:C},states:{value:a},helpers:{isSelected:r},options:n}};function ce(){return{NAME:"accordion",ITEM_NAME:"accordion-item",PARTS:["root","content","header","item","trigger"]}}function ht(t){const e=bt(ut(t)),{NAME:n,PARTS:l}=ce(),i=at(n,l),s={...e,getAttrs:i,updateOption:ct(e.options)};return qe(n,s),s}function de(){const{NAME:t}=ce();return He(t)}function vt(t){const{ITEM_NAME:e}=ce(),n=ze(t);return qe(e,{propsStore:n}),{...de(),propsStore:n}}function Fe(){const{ITEM_NAME:t}=ce();return He(t)}function kt(){const t=de(),{propsStore:e}=Fe();return{...t,propsStore:e}}function At(){const t=de(),{propsStore:e}=Fe();return{...t,props:e}}const Ct=t=>({builder:t&4}),Ae=t=>({builder:t[2]}),pt=t=>({builder:t&4}),Ce=t=>({builder:t[2]});function Et(t){let e,n,l,i;const s=t[11].default,o=N(s,t,t[10],Ae);let a=[t[2],t[4]],f={};for(let r=0;r<a.length;r+=1)f=E(f,a[r]);return{c(){e=L("div"),o&&o.c(),this.h()},l(r){e=y(r,"DIV",{});var u=z(e);o&&o.l(u),u.forEach(p),this.h()},h(){M(e,f)},m(r,u){D(r,e,u),o&&o.m(e,null),t[12](e),n=!0,l||(i=w(t[2].action(e)),l=!0)},p(r,u){o&&o.p&&(!n||u&1028)&&S(o,s,r,r[10],n?O(s,r[10],u,Ct):V(r[10]),Ae),M(e,f=q(a,[u&4&&r[2],u&16&&r[4]]))},i(r){n||(h(o,r),n=!0)},o(r){b(o,r),n=!1},d(r){r&&p(e),o&&o.d(r),t[12](null),l=!1,i()}}}function Tt(t){let e;const n=t[11].default,l=N(n,t,t[10],Ce);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&1028)&&S(l,n,i,i[10],e?O(n,i[10],s,pt):V(i[10]),Ce)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function It(t){let e,n,l,i;const s=[Tt,Et],o=[];function a(f,r){return f[1]?0:1}return e=a(t),n=o[e]=s[e](t),{c(){n.c(),l=W()},l(f){n.l(f),l=W()},m(f,r){o[e].m(f,r),D(f,l,r),i=!0},p(f,[r]){let u=e;e=a(f),e===u?o[e].p(f,r):(le(),b(o[u],1,1,()=>{o[u]=null}),ne(),n=o[e],n?n.p(f,r):(n=o[e]=s[e](f),n.c()),h(n,1),n.m(l.parentNode,l))},i(f){i||(h(n),i=!0)},o(f){b(n),i=!1},d(f){f&&p(l),o[e].d(f)}}}function Nt(t,e,n){let l;const i=["multiple","value","onValueChange","disabled","asChild","el"];let s=P(e,i),o,{$$slots:a={},$$scope:f}=e,{multiple:r=!1}=e,{value:u=void 0}=e,{onValueChange:c=void 0}=e,{disabled:k=!1}=e,{asChild:I=!1}=e,{el:g=void 0}=e;const{elements:{root:A},states:{value:C},updateOption:R,getAttrs:d}=ht({multiple:r,disabled:k,defaultValue:u,onValueChange:({next:_})=>Array.isArray(_)?((!Array.isArray(u)||!dt(u,_))&&(c==null||c(_),n(5,u=_)),_):(u!==_&&(c==null||c(_),n(5,u=_)),_)});K(t,A,_=>n(9,o=_));const m=d("root");function T(_){J[_?"unshift":"push"](()=>{g=_,n(0,g)})}return t.$$set=_=>{e=E(E({},e),$(_)),n(4,s=P(e,i)),"multiple"in _&&n(6,r=_.multiple),"value"in _&&n(5,u=_.value),"onValueChange"in _&&n(7,c=_.onValueChange),"disabled"in _&&n(8,k=_.disabled),"asChild"in _&&n(1,I=_.asChild),"el"in _&&n(0,g=_.el),"$$scope"in _&&n(10,f=_.$$scope)},t.$$.update=()=>{t.$$.dirty&32&&u!==void 0&&C.set(Array.isArray(u)?[...u]:u),t.$$.dirty&64&&R("multiple",r),t.$$.dirty&256&&R("disabled",k),t.$$.dirty&512&&n(2,l=o),t.$$.dirty&4&&Object.assign(l,m)},[g,I,l,A,s,u,r,c,k,o,f,a,T]}let St=class extends F{constructor(e){super(),G(this,e,Nt,It,U,{multiple:6,value:5,onValueChange:7,disabled:8,asChild:1,el:0})}};const Vt=t=>({builder:t&4}),pe=t=>({builder:t[2]}),Ot=t=>({builder:t&4}),Ee=t=>({builder:t[2]});function Dt(t){let e,n,l,i;const s=t[11].default,o=N(s,t,t[10],pe);let a=[t[2],t[5]],f={};for(let r=0;r<a.length;r+=1)f=E(f,a[r]);return{c(){e=L("div"),o&&o.c(),this.h()},l(r){e=y(r,"DIV",{});var u=z(e);o&&o.l(u),u.forEach(p),this.h()},h(){M(e,f)},m(r,u){D(r,e,u),o&&o.m(e,null),t[12](e),n=!0,l||(i=w(t[2].action(e)),l=!0)},p(r,u){o&&o.p&&(!n||u&1028)&&S(o,s,r,r[10],n?O(s,r[10],u,Vt):V(r[10]),pe),M(e,f=q(a,[u&4&&r[2],u&32&&r[5]]))},i(r){n||(h(o,r),n=!0)},o(r){b(o,r),n=!1},d(r){r&&p(e),o&&o.d(r),t[12](null),l=!1,i()}}}function Mt(t){let e;const n=t[11].default,l=N(n,t,t[10],Ee);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&1028)&&S(l,n,i,i[10],e?O(n,i[10],s,Ot):V(i[10]),Ee)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function Pt(t){let e,n,l,i;const s=[Mt,Dt],o=[];function a(f,r){return f[1]?0:1}return e=a(t),n=o[e]=s[e](t),{c(){n.c(),l=W()},l(f){n.l(f),l=W()},m(f,r){o[e].m(f,r),D(f,l,r),i=!0},p(f,[r]){let u=e;e=a(f),e===u?o[e].p(f,r):(le(),b(o[u],1,1,()=>{o[u]=null}),ne(),n=o[e],n?n.p(f,r):(n=o[e]=s[e](f),n.c()),h(n,1),n.m(l.parentNode,l))},i(f){i||(h(n),i=!0)},o(f){b(n),i=!1},d(f){f&&p(l),o[e].d(f)}}}function Rt(t,e,n){let l;const i=["value","disabled","asChild","el"];let s=P(e,i),o,a,{$$slots:f={},$$scope:r}=e,{value:u}=e,{disabled:c=void 0}=e,{asChild:k=!1}=e,{el:I=void 0}=e;const{elements:{item:g},propsStore:A,getAttrs:C}=vt({value:u,disabled:c});K(t,g,m=>n(9,a=m)),K(t,A,m=>n(8,o=m));const R=C("item");function d(m){J[m?"unshift":"push"](()=>{I=m,n(0,I)})}return t.$$set=m=>{e=E(E({},e),$(m)),n(5,s=P(e,i)),"value"in m&&n(6,u=m.value),"disabled"in m&&n(7,c=m.disabled),"asChild"in m&&n(1,k=m.asChild),"el"in m&&n(0,I=m.el),"$$scope"in m&&n(10,r=m.$$scope)},t.$$.update=()=>{t.$$.dirty&192&&A.set({value:u,disabled:c}),t.$$.dirty&896&&n(2,l=a({...o,disabled:c})),t.$$.dirty&4&&Object.assign(l,R)},[I,k,l,g,A,s,u,c,o,a,r,f,d]}let jt=class extends F{constructor(e){super(),G(this,e,Rt,Pt,U,{value:6,disabled:7,asChild:1,el:0})}};const Wt=t=>({builder:t&4}),Te=t=>({builder:t[2]}),qt=t=>({builder:t&4}),Ie=t=>({builder:t[2]});function Ht(t){let e,n,l,i;const s=t[8].default,o=N(s,t,t[7],Te);let a=[t[2],t[4]],f={};for(let r=0;r<a.length;r+=1)f=E(f,a[r]);return{c(){e=L("div"),o&&o.c(),this.h()},l(r){e=y(r,"DIV",{});var u=z(e);o&&o.l(u),u.forEach(p),this.h()},h(){M(e,f)},m(r,u){D(r,e,u),o&&o.m(e,null),t[9](e),n=!0,l||(i=w(t[2].action(e)),l=!0)},p(r,u){o&&o.p&&(!n||u&132)&&S(o,s,r,r[7],n?O(s,r[7],u,Wt):V(r[7]),Te),M(e,f=q(a,[u&4&&r[2],u&16&&r[4]]))},i(r){n||(h(o,r),n=!0)},o(r){b(o,r),n=!1},d(r){r&&p(e),o&&o.d(r),t[9](null),l=!1,i()}}}function Ut(t){let e;const n=t[8].default,l=N(n,t,t[7],Ie);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&132)&&S(l,n,i,i[7],e?O(n,i[7],s,qt):V(i[7]),Ie)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function Bt(t){let e,n,l,i;const s=[Ut,Ht],o=[];function a(f,r){return f[1]?0:1}return e=a(t),n=o[e]=s[e](t),{c(){n.c(),l=W()},l(f){n.l(f),l=W()},m(f,r){o[e].m(f,r),D(f,l,r),i=!0},p(f,[r]){let u=e;e=a(f),e===u?o[e].p(f,r):(le(),b(o[u],1,1,()=>{o[u]=null}),ne(),n=o[e],n?n.p(f,r):(n=o[e]=s[e](f),n.c()),h(n,1),n.m(l.parentNode,l))},i(f){i||(h(n),i=!0)},o(f){b(n),i=!1},d(f){f&&p(l),o[e].d(f)}}}function Lt(t,e,n){let l;const i=["level","asChild","el"];let s=P(e,i),o,{$$slots:a={},$$scope:f}=e,{level:r=3}=e,{asChild:u=!1}=e,{el:c=void 0}=e;const{elements:{heading:k},getAttrs:I}=de();K(t,k,C=>n(6,o=C));const g=I("header");function A(C){J[C?"unshift":"push"](()=>{c=C,n(0,c)})}return t.$$set=C=>{e=E(E({},e),$(C)),n(4,s=P(e,i)),"level"in C&&n(5,r=C.level),"asChild"in C&&n(1,u=C.asChild),"el"in C&&n(0,c=C.el),"$$scope"in C&&n(7,f=C.$$scope)},t.$$.update=()=>{t.$$.dirty&96&&n(2,l=o(r)),t.$$.dirty&4&&Object.assign(l,g)},[c,u,l,k,s,r,o,f,a,A]}class yt extends F{constructor(e){super(),G(this,e,Lt,Bt,U,{level:5,asChild:1,el:0})}}const zt=t=>({builder:t&4}),Ne=t=>({builder:t[2]}),Ft=t=>({builder:t&4}),Se=t=>({builder:t[2]});function Gt(t){let e,n,l,i;const s=t[10].default,o=N(s,t,t[9],Ne);let a=[t[2],{type:"button"},t[6]],f={};for(let r=0;r<a.length;r+=1)f=E(f,a[r]);return{c(){e=L("button"),o&&o.c(),this.h()},l(r){e=y(r,"BUTTON",{type:!0});var u=z(e);o&&o.l(u),u.forEach(p),this.h()},h(){M(e,f)},m(r,u){D(r,e,u),o&&o.m(e,null),e.autofocus&&e.focus(),t[11](e),n=!0,l||(i=[w(t[2].action(e)),ge(e,"m-keydown",t[5]),ge(e,"m-click",t[5])],l=!0)},p(r,u){o&&o.p&&(!n||u&516)&&S(o,s,r,r[9],n?O(s,r[9],u,zt):V(r[9]),Ne),M(e,f=q(a,[u&4&&r[2],{type:"button"},u&64&&r[6]]))},i(r){n||(h(o,r),n=!0)},o(r){b(o,r),n=!1},d(r){r&&p(e),o&&o.d(r),t[11](null),l=!1,Ke(i)}}}function Jt(t){let e;const n=t[10].default,l=N(n,t,t[9],Se);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&516)&&S(l,n,i,i[9],e?O(n,i[9],s,Ft):V(i[9]),Se)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function Kt(t){let e,n,l,i;const s=[Jt,Gt],o=[];function a(f,r){return f[1]?0:1}return e=a(t),n=o[e]=s[e](t),{c(){n.c(),l=W()},l(f){n.l(f),l=W()},m(f,r){o[e].m(f,r),D(f,l,r),i=!0},p(f,[r]){let u=e;e=a(f),e===u?o[e].p(f,r):(le(),b(o[u],1,1,()=>{o[u]=null}),ne(),n=o[e],n?n.p(f,r):(n=o[e]=s[e](f),n.c()),h(n,1),n.m(l.parentNode,l))},i(f){i||(h(n),i=!0)},o(f){b(n),i=!1},d(f){f&&p(l),o[e].d(f)}}}function Qt(t,e,n){let l;const i=["asChild","el"];let s=P(e,i),o,a,{$$slots:f={},$$scope:r}=e,{asChild:u=!1}=e,{el:c=void 0}=e;const{elements:{trigger:k},props:I,getAttrs:g}=At();K(t,k,d=>n(8,a=d)),K(t,I,d=>n(7,o=d));const A=_t(),C=g("trigger");function R(d){J[d?"unshift":"push"](()=>{c=d,n(0,c)})}return t.$$set=d=>{e=E(E({},e),$(d)),n(6,s=P(e,i)),"asChild"in d&&n(1,u=d.asChild),"el"in d&&n(0,c=d.el),"$$scope"in d&&n(9,r=d.$$scope)},t.$$.update=()=>{t.$$.dirty&384&&n(2,l=a({...o})),t.$$.dirty&4&&Object.assign(l,C)},[c,u,l,k,I,A,s,o,a,r,f,R]}let Xt=class extends F{constructor(e){super(),G(this,e,Qt,Kt,U,{asChild:1,el:0})}};const Yt=t=>({builder:t&256}),Ve=t=>({builder:t[8]}),Zt=t=>({builder:t&256}),Oe=t=>({builder:t[8]}),wt=t=>({builder:t&256}),De=t=>({builder:t[8]}),$t=t=>({builder:t&256}),Me=t=>({builder:t[8]}),xt=t=>({builder:t&256}),Pe=t=>({builder:t[8]}),el=t=>({builder:t&256}),Re=t=>({builder:t[8]});function tl(t){let e,n,l,i;const s=t[17].default,o=N(s,t,t[16],Ve);let a=[t[8],t[14]],f={};for(let r=0;r<a.length;r+=1)f=E(f,a[r]);return{c(){e=L("div"),o&&o.c(),this.h()},l(r){e=y(r,"DIV",{});var u=z(e);o&&o.l(u),u.forEach(p),this.h()},h(){M(e,f)},m(r,u){D(r,e,u),o&&o.m(e,null),t[22](e),n=!0,l||(i=w(t[8].action(e)),l=!0)},p(r,u){o&&o.p&&(!n||u&65792)&&S(o,s,r,r[16],n?O(s,r[16],u,Yt):V(r[16]),Ve),M(e,f=q(a,[u&256&&r[8],u&16384&&r[14]]))},i(r){n||(h(o,r),n=!0)},o(r){b(o,r),n=!1},d(r){r&&p(e),o&&o.d(r),t[22](null),l=!1,i()}}}function ll(t){let e,n,l,i,s;const o=t[17].default,a=N(o,t,t[16],Oe);let f=[t[8],t[14]],r={};for(let u=0;u<f.length;u+=1)r=E(r,f[u]);return{c(){e=L("div"),a&&a.c(),this.h()},l(u){e=y(u,"DIV",{});var c=z(e);a&&a.l(c),c.forEach(p),this.h()},h(){M(e,r)},m(u,c){D(u,e,c),a&&a.m(e,null),t[21](e),l=!0,i||(s=w(t[8].action(e)),i=!0)},p(u,c){t=u,a&&a.p&&(!l||c&65792)&&S(a,o,t,t[16],l?O(o,t[16],c,Zt):V(t[16]),Oe),M(e,r=q(f,[c&256&&t[8],c&16384&&t[14]]))},i(u){l||(h(a,u),n&&n.end(1),l=!0)},o(u){b(a,u),u&&(n=Le(e,t[5],t[6])),l=!1},d(u){u&&p(e),a&&a.d(u),t[21](null),u&&n&&n.end(),i=!1,s()}}}function nl(t){let e,n,l,i,s;const o=t[17].default,a=N(o,t,t[16],De);let f=[t[8],t[14]],r={};for(let u=0;u<f.length;u+=1)r=E(r,f[u]);return{c(){e=L("div"),a&&a.c(),this.h()},l(u){e=y(u,"DIV",{});var c=z(e);a&&a.l(c),c.forEach(p),this.h()},h(){M(e,r)},m(u,c){D(u,e,c),a&&a.m(e,null),t[20](e),l=!0,i||(s=w(t[8].action(e)),i=!0)},p(u,c){t=u,a&&a.p&&(!l||c&65792)&&S(a,o,t,t[16],l?O(o,t[16],c,wt):V(t[16]),De),M(e,r=q(f,[c&256&&t[8],c&16384&&t[14]]))},i(u){l||(h(a,u),u&&(n||ae(()=>{n=ye(e,t[3],t[4]),n.start()})),l=!0)},o(u){b(a,u),l=!1},d(u){u&&p(e),a&&a.d(u),t[20](null),i=!1,s()}}}function il(t){let e,n,l,i,s,o;const a=t[17].default,f=N(a,t,t[16],Me);let r=[t[8],t[14]],u={};for(let c=0;c<r.length;c+=1)u=E(u,r[c]);return{c(){e=L("div"),f&&f.c(),this.h()},l(c){e=y(c,"DIV",{});var k=z(e);f&&f.l(k),k.forEach(p),this.h()},h(){M(e,u)},m(c,k){D(c,e,k),f&&f.m(e,null),t[19](e),i=!0,s||(o=w(t[8].action(e)),s=!0)},p(c,k){t=c,f&&f.p&&(!i||k&65792)&&S(f,a,t,t[16],i?O(a,t[16],k,$t):V(t[16]),Me),M(e,u=q(r,[k&256&&t[8],k&16384&&t[14]]))},i(c){i||(h(f,c),c&&ae(()=>{i&&(l&&l.end(1),n=ye(e,t[3],t[4]),n.start())}),i=!0)},o(c){b(f,c),n&&n.invalidate(),c&&(l=Le(e,t[5],t[6])),i=!1},d(c){c&&p(e),f&&f.d(c),t[19](null),c&&l&&l.end(),s=!1,o()}}}function sl(t){let e,n,l,i,s;const o=t[17].default,a=N(o,t,t[16],Pe);let f=[t[8],t[14]],r={};for(let u=0;u<f.length;u+=1)r=E(r,f[u]);return{c(){e=L("div"),a&&a.c(),this.h()},l(u){e=y(u,"DIV",{});var c=z(e);a&&a.l(c),c.forEach(p),this.h()},h(){M(e,r)},m(u,c){D(u,e,c),a&&a.m(e,null),t[18](e),l=!0,i||(s=w(t[8].action(e)),i=!0)},p(u,c){t=u,a&&a.p&&(!l||c&65792)&&S(a,o,t,t[16],l?O(o,t[16],c,xt):V(t[16]),Pe),M(e,r=q(f,[c&256&&t[8],c&16384&&t[14]]))},i(u){l||(h(a,u),u&&ae(()=>{l&&(n||(n=ue(e,t[1],t[2],!0)),n.run(1))}),l=!0)},o(u){b(a,u),u&&(n||(n=ue(e,t[1],t[2],!1)),n.run(0)),l=!1},d(u){u&&p(e),a&&a.d(u),t[18](null),u&&n&&n.end(),i=!1,s()}}}function ol(t){let e;const n=t[17].default,l=N(n,t,t[16],Re);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&65792)&&S(l,n,i,i[16],e?O(n,i[16],s,el):V(i[16]),Re)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function rl(t){let e,n,l,i,s,o,a,f,r,u;const c=[ol,sl,il,nl,ll,tl],k=[];function I(g,A){return A&1664&&(e=null),A&1538&&(n=null),A&1576&&(l=null),A&1544&&(i=null),A&1568&&(s=null),A&1536&&(o=null),e==null&&(e=!!(g[7]&&g[10](g[9].value))),e?0:(n==null&&(n=!!(g[1]&&g[10](g[9].value))),n?1:(l==null&&(l=!!(g[3]&&g[5]&&g[10](g[9].value))),l?2:(i==null&&(i=!!(g[3]&&g[10](g[9].value))),i?3:(s==null&&(s=!!(g[5]&&g[10](g[9].value))),s?4:(o==null&&(o=!!g[10](g[9].value)),o?5:-1)))))}return~(a=I(t,-1))&&(f=k[a]=c[a](t)),{c(){f&&f.c(),r=W()},l(g){f&&f.l(g),r=W()},m(g,A){~a&&k[a].m(g,A),D(g,r,A),u=!0},p(g,[A]){let C=a;a=I(g,A),a===C?~a&&k[a].p(g,A):(f&&(le(),b(k[C],1,1,()=>{k[C]=null}),ne()),~a?(f=k[a],f?f.p(g,A):(f=k[a]=c[a](g),f.c()),h(f,1),f.m(r.parentNode,r)):f=null)},i(g){u||(h(f),u=!0)},o(g){b(f),u=!1},d(g){g&&p(r),~a&&k[a].d(g)}}}function fl(t,e,n){let l;const i=["transition","transitionConfig","inTransition","inTransitionConfig","outTransition","outTransitionConfig","asChild","el"];let s=P(e,i),o,a,f,{$$slots:r={},$$scope:u}=e,{transition:c=void 0}=e,{transitionConfig:k=void 0}=e,{inTransition:I=void 0}=e,{inTransitionConfig:g=void 0}=e,{outTransition:A=void 0}=e,{outTransitionConfig:C=void 0}=e,{asChild:R=!1}=e,{el:d=void 0}=e;const{elements:{content:m},helpers:{isSelected:T},propsStore:_,getAttrs:H}=kt();K(t,m,v=>n(15,a=v)),K(t,T,v=>n(10,f=v)),K(t,_,v=>n(9,o=v));const x=H("content");function j(v){J[v?"unshift":"push"](()=>{d=v,n(0,d)})}function oe(v){J[v?"unshift":"push"](()=>{d=v,n(0,d)})}function ee(v){J[v?"unshift":"push"](()=>{d=v,n(0,d)})}function re(v){J[v?"unshift":"push"](()=>{d=v,n(0,d)})}function Ge(v){J[v?"unshift":"push"](()=>{d=v,n(0,d)})}return t.$$set=v=>{e=E(E({},e),$(v)),n(14,s=P(e,i)),"transition"in v&&n(1,c=v.transition),"transitionConfig"in v&&n(2,k=v.transitionConfig),"inTransition"in v&&n(3,I=v.inTransition),"inTransitionConfig"in v&&n(4,g=v.inTransitionConfig),"outTransition"in v&&n(5,A=v.outTransition),"outTransitionConfig"in v&&n(6,C=v.outTransitionConfig),"asChild"in v&&n(7,R=v.asChild),"el"in v&&n(0,d=v.el),"$$scope"in v&&n(16,u=v.$$scope)},t.$$.update=()=>{t.$$.dirty&33280&&n(8,l=a({...o})),t.$$.dirty&256&&Object.assign(l,x)},[d,c,k,I,g,A,C,R,l,o,f,m,T,_,s,a,u,r,j,oe,ee,re,Ge]}let ul=class extends F{constructor(e){super(),G(this,e,fl,rl,U,{transition:1,transitionConfig:2,inTransition:3,inTransitionConfig:4,outTransition:5,outTransitionConfig:6,asChild:7,el:0})}};function al(t){let e,n,l;const i=t[2].default,s=N(i,t,t[3],null);return{c(){e=L("div"),s&&s.c(),this.h()},l(o){e=y(o,"DIV",{class:!0});var a=z(e);s&&s.l(a),a.forEach(p),this.h()},h(){Qe(e,"class","pb-4 pt-0")},m(o,a){D(o,e,a),s&&s.m(e,null),l=!0},p(o,a){s&&s.p&&(!l||a&8)&&S(s,i,o,o[3],l?O(i,o[3],a,null):V(o[3]),null)},i(o){l||(h(s,o),o&&ae(()=>{l&&(n||(n=ue(e,he,{duration:200},!0)),n.run(1))}),l=!0)},o(o){b(s,o),o&&(n||(n=ue(e,he,{duration:200},!1)),n.run(0)),l=!1},d(o){o&&p(e),s&&s.d(o),o&&n&&n.end()}}}function cl(t){let e,n;const l=[{class:te("overflow-hidden text-sm",t[0])},t[1]];let i={$$slots:{default:[al]},$$scope:{ctx:t}};for(let s=0;s<l.length;s+=1)i=E(i,l[s]);return e=new ul({props:i}),{c(){Q(e.$$.fragment)},l(s){X(e.$$.fragment,s)},m(s,o){Y(e,s,o),n=!0},p(s,[o]){const a=o&3?q(l,[o&1&&{class:te("overflow-hidden text-sm",s[0])},o&2&&me(s[1])]):{};o&8&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)},i(s){n||(h(e.$$.fragment,s),n=!0)},o(s){b(e.$$.fragment,s),n=!1},d(s){Z(e,s)}}}function dl(t,e,n){const l=["class"];let i=P(e,l),{$$slots:s={},$$scope:o}=e,{class:a=void 0}=e;return t.$$set=f=>{e=E(E({},e),$(f)),n(1,i=P(e,l)),"class"in f&&n(0,a=f.class),"$$scope"in f&&n(3,o=f.$$scope)},[a,i,s,o]}class _l extends F{constructor(e){super(),G(this,e,dl,cl,U,{class:0})}}function ml(t){let e;const n=t[3].default,l=N(n,t,t[4],null);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&16)&&S(l,n,i,i[4],e?O(n,i[4],s,null):V(i[4]),null)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function gl(t){let e,n;const l=[{value:t[1]},{class:te("border-b",t[0])},t[2]];let i={$$slots:{default:[ml]},$$scope:{ctx:t}};for(let s=0;s<l.length;s+=1)i=E(i,l[s]);return e=new jt({props:i}),{c(){Q(e.$$.fragment)},l(s){X(e.$$.fragment,s)},m(s,o){Y(e,s,o),n=!0},p(s,[o]){const a=o&7?q(l,[o&2&&{value:s[1]},o&1&&{class:te("border-b",s[0])},o&4&&me(s[2])]):{};o&16&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)},i(s){n||(h(e.$$.fragment,s),n=!0)},o(s){b(e.$$.fragment,s),n=!1},d(s){Z(e,s)}}}function bl(t,e,n){const l=["class","value"];let i=P(e,l),{$$slots:s={},$$scope:o}=e,{class:a=void 0}=e,{value:f}=e;return t.$$set=r=>{e=E(E({},e),$(r)),n(2,i=P(e,l)),"class"in r&&n(0,a=r.class),"value"in r&&n(1,f=r.value),"$$scope"in r&&n(4,o=r.$$scope)},[a,f,i,s,o]}class hl extends F{constructor(e){super(),G(this,e,bl,gl,U,{class:0,value:1})}}function vl(t){let e,n,l;const i=t[3].default,s=N(i,t,t[5],null);return n=new it({props:{src:st,class:"h-4 w-4 shrink-0 text-gray-500 transition-transform duration-200"}}),{c(){s&&s.c(),e=Ue(),Q(n.$$.fragment)},l(o){s&&s.l(o),e=Be(o),X(n.$$.fragment,o)},m(o,a){s&&s.m(o,a),D(o,e,a),Y(n,o,a),l=!0},p(o,a){s&&s.p&&(!l||a&32)&&S(s,i,o,o[5],l?O(i,o[5],a,null):V(o[5]),null)},i(o){l||(h(s,o),h(n.$$.fragment,o),l=!0)},o(o){b(s,o),b(n.$$.fragment,o),l=!1},d(o){o&&p(e),s&&s.d(o),Z(n,o)}}}function kl(t){let e,n;const l=[{class:te("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180 rounded focus-visible:ring-gray-200 focus-visible:outline-none focus-visible:ring-2",t[0])},t[2]];let i={$$slots:{default:[vl]},$$scope:{ctx:t}};for(let s=0;s<l.length;s+=1)i=E(i,l[s]);return e=new Xt({props:i}),e.$on("click",t[4]),{c(){Q(e.$$.fragment)},l(s){X(e.$$.fragment,s)},m(s,o){Y(e,s,o),n=!0},p(s,o){const a=o&5?q(l,[o&1&&{class:te("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180 rounded focus-visible:ring-gray-200 focus-visible:outline-none focus-visible:ring-2",s[0])},o&4&&me(s[2])]):{};o&32&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)},i(s){n||(h(e.$$.fragment,s),n=!0)},o(s){b(e.$$.fragment,s),n=!1},d(s){Z(e,s)}}}function Al(t){let e,n;return e=new yt({props:{level:t[1],class:"flex",$$slots:{default:[kl]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(l){X(e.$$.fragment,l)},m(l,i){Y(e,l,i),n=!0},p(l,[i]){const s={};i&2&&(s.level=l[1]),i&37&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){Z(e,l)}}}function Cl(t,e,n){const l=["class","level"];let i=P(e,l),{$$slots:s={},$$scope:o}=e,{class:a=void 0}=e,{level:f=3}=e;function r(u){Xe.call(this,t,u)}return t.$$set=u=>{e=E(E({},e),$(u)),n(2,i=P(e,l)),"class"in u&&n(0,a=u.class),"level"in u&&n(1,f=u.level),"$$scope"in u&&n(5,o=u.$$scope)},[a,f,i,s,r,o]}class pl extends F{constructor(e){super(),G(this,e,Cl,Al,U,{class:0,level:1})}}const El=St;function Tl(t){let e;const n=t[2].default,l=N(n,t,t[3],null);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&8)&&S(l,n,i,i[3],e?O(n,i[3],s,null):V(i[3]),null)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function Il(t){let e,n;return e=new El({props:{class:t[1],multiple:!t[0],$$slots:{default:[Tl]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(l){X(e.$$.fragment,l)},m(l,i){Y(e,l,i),n=!0},p(l,[i]){const s={};i&2&&(s.class=l[1]),i&1&&(s.multiple=!l[0]),i&8&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){Z(e,l)}}}function Nl(t,e,n){let{$$slots:l={},$$scope:i}=e,{single:s=!1}=e,{class:o=void 0}=e;return t.$$set=a=>{"single"in a&&n(0,s=a.single),"class"in a&&n(1,o=a.class),"$$scope"in a&&n(3,i=a.$$scope)},[s,o,l,i]}class Fl extends F{constructor(e){super(),G(this,e,Nl,Il,U,{single:0,class:1})}}const Sl=t=>({}),je=t=>({});function Vl(t){let e;return{c(){e=Ze(t[0])},l(n){e=we(n,t[0])},m(n,l){D(n,e,l)},p(n,l){l&1&&$e(e,n[0])},d(n){n&&p(e)}}}function Ol(t){let e;const n=t[3].title,l=N(n,t,t[4],je),i=l||Vl(t);return{c(){i&&i.c()},l(s){i&&i.l(s)},m(s,o){i&&i.m(s,o),e=!0},p(s,o){l?l.p&&(!e||o&16)&&S(l,n,s,s[4],e?O(n,s[4],o,Sl):V(s[4]),je):i&&i.p&&(!e||o&1)&&i.p(s,e?o:-1)},i(s){e||(h(i,s),e=!0)},o(s){b(i,s),e=!1},d(s){i&&i.d(s)}}}function Dl(t){let e;const n=t[3].default,l=N(n,t,t[4],null);return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,s){l&&l.m(i,s),e=!0},p(i,s){l&&l.p&&(!e||s&16)&&S(l,n,i,i[4],e?O(n,i[4],s,null):V(i[4]),null)},i(i){e||(h(l,i),e=!0)},o(i){b(l,i),e=!1},d(i){l&&l.d(i)}}}function Ml(t){let e,n,l,i;return e=new pl({props:{class:t[1]?"py-0":"",$$slots:{default:[Ol]},$$scope:{ctx:t}}}),l=new _l({props:{$$slots:{default:[Dl]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment),n=Ue(),Q(l.$$.fragment)},l(s){X(e.$$.fragment,s),n=Be(s),X(l.$$.fragment,s)},m(s,o){Y(e,s,o),D(s,n,o),Y(l,s,o),i=!0},p(s,o){const a={};o&2&&(a.class=s[1]?"py-0":""),o&17&&(a.$$scope={dirty:o,ctx:s}),e.$set(a);const f={};o&16&&(f.$$scope={dirty:o,ctx:s}),l.$set(f)},i(s){i||(h(e.$$.fragment,s),h(l.$$.fragment,s),i=!0)},o(s){b(e.$$.fragment,s),b(l.$$.fragment,s),i=!1},d(s){s&&p(n),Z(e,s),Z(l,s)}}}function We(t){let e,n;return e=new hl({props:{value:t[0],class:t[2],$$slots:{default:[Ml]},$$scope:{ctx:t}}}),{c(){Q(e.$$.fragment)},l(l){X(e.$$.fragment,l)},m(l,i){Y(e,l,i),n=!0},p(l,i){const s={};i&1&&(s.value=l[0]),i&4&&(s.class=l[2]),i&19&&(s.$$scope={dirty:i,ctx:l}),e.$set(s)},i(l){n||(h(e.$$.fragment,l),n=!0)},o(l){b(e.$$.fragment,l),n=!1},d(l){Z(e,l)}}}function Pl(t){let e=t[0],n,l,i=We(t);return{c(){i.c(),n=W()},l(s){i.l(s),n=W()},m(s,o){i.m(s,o),D(s,n,o),l=!0},p(s,[o]){o&1&&U(e,e=s[0])?(le(),b(i,1,1,Ye),ne(),i=We(s),i.c(),h(i,1),i.m(n.parentNode,n)):i.p(s,o)},i(s){l||(h(i),l=!0)},o(s){b(i),l=!1},d(s){s&&p(n),i.d(s)}}}function Rl(t,e,n){let{$$slots:l={},$$scope:i}=e,{title:s=""}=e,{compact:o=!1}=e,{class:a=void 0}=e;return t.$$set=f=>{"title"in f&&n(0,s=f.title),"compact"in f&&n(1,o=f.compact),"class"in f&&n(2,a=f.class),"$$scope"in f&&n(4,i=f.$$scope)},[s,o,a,l,i]}class Gl extends F{constructor(e){super(),G(this,e,Rl,Pl,U,{title:0,compact:1,class:2})}}export{Fl as A,Gl as a};
|
_app/immutable/chunks/AreaMap.EZVhuMjc.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_app/immutable/chunks/Button.abJVVkH2.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{s as G,z as N,e as O,a as k,d as U,g as p,c as S,f as w,j as h,A as y,k as H,l as B,B as J,C as K,D as L,E as M,F as Q,G as R}from"./scheduler.BZlHRu_0.js";import{S as V,i as W,t as m,g as P,b as _,d as C,c as j,a as q,m as v,e as A}from"./index.a_oafgNU.js";import{I as D}from"./VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";function E(t){let e,s;return e=new D({props:{src:t[1],class:z[t[4]]}}),{c(){j(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,u){v(e,i,u),s=!0},p(i,u){const f={};u&2&&(f.src=i[1]),u&16&&(f.class=z[i[4]]),e.$set(f)},i(i){s||(m(e.$$.fragment,i),s=!0)},o(i){_(e.$$.fragment,i),s=!1},d(i){A(e,i)}}}function I(t){let e,s;return e=new D({props:{src:t[1],class:z[t[4]]}}),{c(){j(e.$$.fragment)},l(i){q(e.$$.fragment,i)},m(i,u){v(e,i,u),s=!0},p(i,u){const f={};u&2&&(f.src=i[1]),u&16&&(f.class=z[i[4]]),e.$set(f)},i(i){s||(m(e.$$.fragment,i),s=!0)},o(i){_(e.$$.fragment,i),s=!1},d(i){A(e,i)}}}function X(t){let e,s,i,u,f,g,d,a=t[2]==="left"&&t[1]&&E(t);const b=t[10].default,r=N(b,t,t[9],null);let o=t[2]==="right"&&t[1]&&I(t);return{c(){e=O("button"),a&&a.c(),s=k(),r&&r.c(),i=k(),o&&o.c(),this.h()},l(n){e=U(n,"BUTTON",{type:!0,formaction:!0,class:!0});var l=p(e);a&&a.l(l),s=S(l),r&&r.l(l),i=S(l),o&&o.l(l),l.forEach(w),this.h()},h(){h(e,"type",t[0]),e.disabled=t[7],h(e,"formaction",t[8]),h(e,"class",u="flex items-center transition-colors rounded variant-"+t[5]+" "+T[t[3]]+" svelte-2eg245"),y(e,"outlined",t[6])},m(n,l){H(n,e,l),a&&a.m(e,null),B(e,s),r&&r.m(e,null),B(e,i),o&&o.m(e,null),f=!0,g||(d=J(e,"click",K(t[11])),g=!0)},p(n,[l]){n[2]==="left"&&n[1]?a?(a.p(n,l),l&6&&m(a,1)):(a=E(n),a.c(),m(a,1),a.m(e,s)):a&&(P(),_(a,1,1,()=>{a=null}),C()),r&&r.p&&(!f||l&512)&&L(r,b,n,n[9],f?Q(b,n[9],l,null):M(n[9]),null),n[2]==="right"&&n[1]?o?(o.p(n,l),l&6&&m(o,1)):(o=I(n),o.c(),m(o,1),o.m(e,null)):o&&(P(),_(o,1,1,()=>{o=null}),C()),(!f||l&1)&&h(e,"type",n[0]),(!f||l&128)&&(e.disabled=n[7]),(!f||l&256)&&h(e,"formaction",n[8]),(!f||l&40&&u!==(u="flex items-center transition-colors rounded variant-"+n[5]+" "+T[n[3]]+" svelte-2eg245"))&&h(e,"class",u),(!f||l&104)&&y(e,"outlined",n[6])},i(n){f||(m(a),m(r,n),m(o),f=!0)},o(n){_(a),_(r,n),_(o),f=!1},d(n){n&&w(e),a&&a.d(),r&&r.d(n),o&&o.d(),g=!1,d()}}}const T={base:"px-2 py-1 mx-1 gap-2",md:"px-2 py-1 mx-1 gap-2 text-xs",sm:"px-1 py-0.5 mx-0.5 gap-1 text-xs",lg:"px-4 py-2 mx-2 gap-4"},z={base:"w-4",md:"w-4",sm:"w-3",lg:"w-5"};function Y(t,e,s){let{$$slots:i={},$$scope:u}=e,{icon:f=void 0}=e,{iconPosition:g="right"}=e,{size:d="base"}=e,{iconSize:a=d}=e,{variant:b="info"}=e,{outline:r=!1}=e,{disabled:o=!1}=e,{formaction:n=void 0}=e,{type:l="button"}=e;function F(c){R.call(this,t,c)}return t.$$set=c=>{"icon"in c&&s(1,f=c.icon),"iconPosition"in c&&s(2,g=c.iconPosition),"size"in c&&s(3,d=c.size),"iconSize"in c&&s(4,a=c.iconSize),"variant"in c&&s(5,b=c.variant),"outline"in c&&s(6,r=c.outline),"disabled"in c&&s(7,o=c.disabled),"formaction"in c&&s(8,n=c.formaction),"type"in c&&s(0,l=c.type),"$$scope"in c&&s(9,u=c.$$scope)},t.$$.update=()=>{t.$$.dirty&256&&n&&s(0,l="submit")},[l,f,g,d,a,b,r,o,n,u,i,F]}class ee extends V{constructor(e){super(),W(this,e,Y,X,G,{icon:1,iconPosition:2,size:3,iconSize:4,variant:5,outline:6,disabled:7,formaction:8,type:0})}}export{ee as B};
|
_app/immutable/chunks/Prismjs.DfOmTPCQ.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
import{s as d,e as i,O as r,d as D,g as C,P as U,f as t,j as e,k as B,l as a,u as s,t as n,Q as u,i as o,R as G}from"./scheduler.BZlHRu_0.js";import{S as c,i as h}from"./index.a_oafgNU.js";import{P}from"./VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";function f(A){let E,I,N;return{c(){E=i("span"),I=r("svg"),N=r("path"),this.h()},l(T){E=D(T,"SPAN",{"aria-expanded":!0,class:!0});var R=C(E);I=U(R,"svg",{viewBox:!0,width:!0,height:!0,class:!0});var O=C(I);N=U(O,"path",{fill:!0,"fill-rule":!0,d:!0}),C(N).forEach(t),O.forEach(t),R.forEach(t),this.h()},h(){e(N,"fill",A[1]),e(N,"fill-rule","evenodd"),e(N,"d","M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"),e(I,"viewBox","0 0 16 16"),e(I,"width",A[2]),e(I,"height",A[2]),e(I,"class","svelte-c6mrxw"),e(E,"aria-expanded",A[0]),e(E,"class","svelte-c6mrxw")},m(T,R){B(T,E,R),a(E,I),a(I,N)},p(T,[R]){R&2&&e(N,"fill",T[1]),R&4&&e(I,"width",T[2]),R&4&&e(I,"height",T[2]),R&1&&e(E,"aria-expanded",T[0])},i:s,o:s,d(T){T&&t(E)}}}function F(A,E,I){let{toggled:N=!1}=E,{color:T="#2d2d2d"}=E,{size:R=10}=E;return A.$$set=O=>{"toggled"in O&&I(0,N=O.toggled),"color"in O&&I(1,T=O.color),"size"in O&&I(2,R=O.size)},[N,T,R]}class v extends c{constructor(E){super(),h(this,E,F,f,d,{toggled:0,color:1,size:2})}}const M={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};function g(A){let E,I,N,T,R=P.highlight(A[0],M)+"",O;return{c(){E=i("pre"),I=n(" "),N=i("code"),T=new u(!1),O=n(`
|
2 |
+
`),this.h()},l(S){E=D(S,"PRE",{class:!0});var L=C(E);I=o(L," "),N=D(L,"CODE",{class:!0});var l=C(N);T=G(l,!1),l.forEach(t),O=o(L,`
|
3 |
+
`),L.forEach(t),this.h()},h(){T.a=null,e(N,"class","language-sql svelte-isi8vj"),e(E,"class","text-xs max-h-56 overflow-auto svelte-isi8vj")},m(S,L){B(S,E,L),a(E,I),a(E,N),T.m(R,N),a(E,O)},p(S,[L]){L&1&&R!==(R=P.highlight(S[0],M)+"")&&T.p(R)},i:s,o:s,d(S){S&&t(E)}}}function m(A,E,I){let{code:N=""}=E;return A.$$set=T=>{"code"in T&&I(0,N=T.code)},[N]}class K extends c{constructor(E){super(),h(this,E,m,g,d,{code:0})}}export{v as C,K as P};
|
_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_app/immutable/chunks/arrays.-mek-dcM.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{w as d,n as l}from"./VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import{w as f}from"./entry.CAK-4a04.js";import{a7 as p}from"./scheduler.BZlHRu_0.js";const m=(n,t)=>{const e=d(n),r=(s,o)=>{e.update(u=>{const c=s(u);let i=c;return t&&(i=t({curr:u,next:c})),o==null||o(i),i})};return{...e,update:r,set:s=>{r(()=>s)}}};function b(){return l(10)}function v(n){return n.reduce((t,e)=>(t[e]=b(),t),{})}function w(n){const t={};return Object.keys(n).forEach(e=>{const r=e,a=n[r];t[r]=d(f(a))}),t}function A(n,t){const e={};return t.forEach(r=>{e[r]={[`data-${n}-${r}`]:""}}),r=>e[r]}function D(n){return n?{"aria-disabled":"true","data-disabled":""}:{"aria-disabled":void 0,"data-disabled":void 0}}function k(){const n=p();return t=>{const{originalEvent:e}=t.detail,{cancelable:r}=t,a=e.type;n(a,{originalEvent:e,currentTarget:e.currentTarget},{cancelable:r})||t.preventDefault()}}function x(n){const t={};for(const e in n){const r=n[e];r!==void 0&&(t[e]=r)}return t}function I(n){return function(t,e){if(e===void 0)return;const r=n[t];r&&r.set(e)}}function O(n,t){return n.length!==t.length?!1:n.every((e,r)=>e===t[r])}export{b as a,I as b,A as c,O as d,k as e,D as f,v as g,m as o,x as r,w as t};
|
_app/immutable/chunks/button.PN_PjosU.js
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{ae as nt,q as bn,a8 as ot,af as jt,V as Wt,s as Me,b as de,k as xe,f as re,a9 as Oe,aa as ie,ab as Vt,G as C,N as yt,z as rt,e as Kt,d as zt,g as Ht,ag as Pe,B as F,D as it,E as at,F as st,L as Ut,J as pn,K as vn}from"./scheduler.BZlHRu_0.js";import{w as ke,r as gn,a as Ye,d as yn}from"./entry.CAK-4a04.js";import{ag as wn,ah as ae,ai as Tn,B as W,w as xn,aj as _n,ak as lt,al as An,y as Xe,am as te,t as Sn,H as ct,J as wt,an as Tt,K as En}from"./VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import{t as On}from"./arrays.-mek-dcM.js";import{S as Gt,i as qt,g as Pn,b as X,d as kn,t as J,c as Cn,a as Nn,m as Fn,e as Rn}from"./index.a_oafgNU.js";const oe=Symbol("InputStore"),Yt=t=>typeof t!="object"||t===null?!1:"subscribe"in t,Dn=t=>Yt(t)?"set"in t&&"update"in t:!1,jr=t=>{if(!Dn(t))throw console.error({InputStoreValue:t}),new Error("InputStore must be a writable store");if(nt().has(oe)){const e=ot(oe);return e.set(jt(t)),e}else return bn(oe,t),t},Wr=()=>nt().has(oe)?ot(oe):(console.warn("InputStoreKey not found in context. Did you forget to call ensureInputContext?"),ke({})),Vr=()=>{if(!nt().has(oe))return console.warn("InputStoreKey not found in context. Did you forget to call ensureInputContext?"),gn({});const t=ot(oe);if(Yt(t))return Ye(t);throw new Error(`InputStoreKey is not a readable store: ${t}`)};function Kr(t,...e){return t.call(this,...e)}const Je=Symbol("Unset"),xt=Symbol("IsSetTracked"),_t=Symbol("GetModKeys"),At=Symbol("GetOwnKey"),In=Symbol("GetOwnPath"),St=Symbol("GetParent"),Et=(t={},e={},n=void 0,o=void 0)=>{if(n&&!n[xt])throw new Error("SetTracked parent must be SetTracked");const r=Object.assign(()=>{},e??{}),a=Object.keys(r),i=new Proxy(r,{get(l,s){switch(s){case Je:return!(n!=null&&n[_t].includes(o));case _t:return a;case At:return o;case St:return n;case In:{const u=[o];let c=n;for(;c!==void 0;)u.unshift(c[At]),c=c[St];return u.join(".")}case xt:return!0;case"toJSON":return()=>({...l});case"toString":case"toPrimitive":case Symbol.toPrimitive:return i[Je]?o&&o in t?()=>t[o]:()=>"":e.toString.bind(e);default:return s in l||(l[s]=Et(t,void 0,i,s)),l[s]}},set(l,s,u){return a.push(s),typeof u=="object"&&(u=Et(t,u,i,s)),l[s]=u,!0}});return i},zr=(t,...e)=>e.filter(o=>o==null?void 0:o[Je]).length!==0;function Hr(t,e,n,o=!0){const r=e-n;return r<=0?o?t[t.length-1]:t[0]:t[r]}function Ur(t,e,n,o=!0){const r=e+n;return r>t.length-1?o?t[0]:t[t.length-1]:t[r]}function Gr(t,e,n=!0){return e===t.length-1?n?t[0]:t[e]:t[e+1]}function qr(t,e,n=!0){return e<=0?n?t[t.length-1]:t[0]:t[e-1]}function Ln(t){return t[t.length-1]}function Mn(t,e){return t.map((n,o)=>t[(e+o)%t.length])}function Yr(t,e,n=wn){const o=e.findIndex(r=>n(r,t));return o!==-1?e.splice(o,1):e.push(t),e}function Xr(t,e){const n=[];for(let o=0;o<t.length;o+=e)n.push(t.slice(o,o+e));return n}function Jr(t,e){return t>=0&&t<e.length}function Zr(t){t.setAttribute("data-highlighted","")}function Qr(t){t.removeAttribute("data-highlighted")}function ut(t){return new Promise(e=>setTimeout(e,t))}function Bn(t,e=500){let n=null;return function(...o){const r=()=>{n=null,t(...o)};n&&clearTimeout(n),n=setTimeout(r,e)}}const Xt=()=>typeof window<"u";function jn(){const t=navigator.userAgentData;return(t==null?void 0:t.platform)??navigator.platform}const Jt=t=>Xt()&&t.test(jn().toLowerCase()),Wn=()=>Xt()&&!!navigator.maxTouchPoints,Vn=()=>Jt(/^mac/)&&!Wn(),Kn=()=>Jt(/mac|iphone|ipad|ipod/i),zn=()=>Kn()&&!Vn(),ze="data-melt-scroll-lock";function Ot(t,e){if(!t)return;const n=t.style.cssText;return Object.assign(t.style,e),()=>{t.style.cssText=n}}function Hn(t,e,n){if(!t)return;const o=t.style.getPropertyValue(e);return t.style.setProperty(e,n),()=>{o?t.style.setProperty(e,o):t.style.removeProperty(e)}}function Un(t){const e=t.getBoundingClientRect().left;return Math.round(e)+t.scrollLeft?"paddingLeft":"paddingRight"}function $r(t){const e=document,n=e.defaultView??window,{documentElement:o,body:r}=e;if(r.hasAttribute(ze))return ae;r.setAttribute(ze,"");const i=n.innerWidth-o.clientWidth,l=()=>Hn(o,"--scrollbar-width",`${i}px`),s=Un(o),u=n.getComputedStyle(r)[s],c=()=>Ot(r,{overflow:"hidden",[s]:`calc(${u} + ${i}px)`}),f=()=>{const{scrollX:m,scrollY:v,visualViewport:g}=n,y=(g==null?void 0:g.offsetLeft)??0,w=(g==null?void 0:g.offsetTop)??0,x=Ot(r,{position:"fixed",overflow:"hidden",top:`${-(v-Math.floor(w))}px`,left:`${-(m-Math.floor(y))}px`,right:"0",[s]:`calc(${u} + ${i}px)`});return()=>{x==null||x(),n.scrollTo(m,v)}},p=[l(),zn()?f():c()];return()=>{p.forEach(m=>m==null?void 0:m()),r.removeAttribute(ze)}}function ei(t){const{open:e,forceVisible:n,activeTrigger:o}=t;return yn([e,n,o],([r,a,i])=>(r||a)&&i!==null)}function Gn(t){Tn&&ut(1).then(()=>{const e=document.activeElement;!W(e)||e===t||(e.tabIndex=-1,t&&(t.tabIndex=0,t.focus()))})}function Zt(){return Array.from(document.querySelectorAll('a[href]:not([tabindex="-1"]), button:not([disabled]):not([tabindex="-1"]), input:not([disabled]):not([tabindex="-1"]), select:not([disabled]):not([tabindex="-1"]), textarea:not([disabled]):not([tabindex="-1"]), [tabindex]:not([tabindex="-1"])'))}function ti(t){const e=Zt(),o=e.indexOf(t)+1,r=e[o];return o<e.length&&W(r)?r:null}function ni(t){const e=Zt(),o=e.indexOf(t)-1,r=e[o];return o>=0&&W(r)?r:null}const qn=new Set(["Shift","Control","Alt","Meta","CapsLock","NumLock"]),Yn={onMatch:Gn,getCurrentItem:()=>document.activeElement};function oi(t={}){const e={...Yn,...t},n=xn(ke([])),o=Bn(()=>{n.update(()=>[])});return{typed:n,resetTyped:o,handleTypeaheadSearch:(a,i)=>{if(qn.has(a))return;const l=e.getCurrentItem(),s=jt(n);if(!Array.isArray(s))return;s.push(a.toLowerCase()),n.set(s);const u=i.filter(y=>!(y.getAttribute("disabled")==="true"||y.getAttribute("aria-disabled")==="true"||y.hasAttribute("data-disabled"))),f=s.length>1&&s.every(y=>y===s[0])?s[0]:s.join(""),p=W(l)?u.indexOf(l):-1;let m=Mn(u,Math.max(p,0));f.length===1&&(m=m.filter(y=>y!==l));const g=m.find(y=>(y==null?void 0:y.innerText)&&y.innerText.toLowerCase().startsWith(f.toLowerCase()));W(g)&&g!==l&&e.onMatch(g),o()}}}function Xn(t){let e=t.parentElement;for(;W(e)&&!e.hasAttribute("data-portal");)e=e.parentElement;return e||"body"}function ri(t,e){return e!==void 0?e:Xn(t)==="body"?document.body:null}async function ii(t){const{prop:e,defaultEl:n}=t;if(await Promise.all([ut(1),Wt]),e===void 0){n==null||n.focus();return}const o=_n(e)?e(n):e;if(typeof o=="string"){const r=document.querySelector(o);if(!W(r))return;r.focus()}else W(o)&&o.focus()}const Z=Math.min,V=Math.max,Ce=Math.round,Ae=Math.floor,U=t=>({x:t,y:t}),Jn={left:"right",right:"left",bottom:"top",top:"bottom"},Zn={start:"end",end:"start"};function Ze(t,e,n){return V(t,Z(e,n))}function me(t,e){return typeof t=="function"?t(e):t}function Q(t){return t.split("-")[0]}function be(t){return t.split("-")[1]}function Qt(t){return t==="x"?"y":"x"}function ft(t){return t==="y"?"height":"width"}function se(t){return["top","bottom"].includes(Q(t))?"y":"x"}function dt(t){return Qt(se(t))}function Qn(t,e,n){n===void 0&&(n=!1);const o=be(t),r=dt(t),a=ft(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=Ne(i)),[i,Ne(i)]}function $n(t){const e=Ne(t);return[Qe(t),e,Qe(e)]}function Qe(t){return t.replace(/start|end/g,e=>Zn[e])}function eo(t,e,n){const o=["left","right"],r=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return n?e?r:o:e?o:r;case"left":case"right":return e?a:i;default:return[]}}function to(t,e,n,o){const r=be(t);let a=eo(Q(t),n==="start",o);return r&&(a=a.map(i=>i+"-"+r),e&&(a=a.concat(a.map(Qe)))),a}function Ne(t){return t.replace(/left|right|bottom|top/g,e=>Jn[e])}function no(t){return{top:0,right:0,bottom:0,left:0,...t}}function $t(t){return typeof t!="number"?no(t):{top:t,right:t,bottom:t,left:t}}function Fe(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function Pt(t,e,n){let{reference:o,floating:r}=t;const a=se(e),i=dt(e),l=ft(i),s=Q(e),u=a==="y",c=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,p=o[l]/2-r[l]/2;let m;switch(s){case"top":m={x:c,y:o.y-r.height};break;case"bottom":m={x:c,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:f};break;case"left":m={x:o.x-r.width,y:f};break;default:m={x:o.x,y:o.y}}switch(be(e)){case"start":m[i]-=p*(n&&u?-1:1);break;case"end":m[i]+=p*(n&&u?-1:1);break}return m}const oo=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:r}),{x:c,y:f}=Pt(u,o,s),p=o,m={},v=0;for(let g=0;g<l.length;g++){const{name:y,fn:w}=l[g],{x,y:A,data:k,reset:P}=await w({x:c,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:m,rects:u,platform:i,elements:{reference:t,floating:e}});c=x??c,f=A??f,m={...m,[y]:{...m[y],...k}},P&&v<=50&&(v++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:r}):P.rects),{x:c,y:f}=Pt(u,p,s)),g=-1)}return{x:c,y:f,placement:p,strategy:r,middlewareData:m}};async function ht(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:a,rects:i,elements:l,strategy:s}=t,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:m=0}=me(e,t),v=$t(m),y=l[p?f==="floating"?"reference":"floating":f],w=Fe(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(y)))==null||n?y:y.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),x=f==="floating"?{x:o,y:r,width:i.floating.width,height:i.floating.height}:i.reference,A=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),k=await(a.isElement==null?void 0:a.isElement(A))?await(a.getScale==null?void 0:a.getScale(A))||{x:1,y:1}:{x:1,y:1},P=Fe(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:A,strategy:s}):x);return{top:(w.top-P.top+v.top)/k.y,bottom:(P.bottom-w.bottom+v.bottom)/k.y,left:(w.left-P.left+v.left)/k.x,right:(P.right-w.right+v.right)/k.x}}const ro=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:a,platform:i,elements:l,middlewareData:s}=e,{element:u,padding:c=0}=me(t,e)||{};if(u==null)return{};const f=$t(c),p={x:n,y:o},m=dt(r),v=ft(m),g=await i.getDimensions(u),y=m==="y",w=y?"top":"left",x=y?"bottom":"right",A=y?"clientHeight":"clientWidth",k=a.reference[v]+a.reference[m]-p[m]-a.floating[v],P=p[m]-a.reference[m],D=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let L=D?D[A]:0;(!L||!await(i.isElement==null?void 0:i.isElement(D)))&&(L=l.floating[A]||a.floating[v]);const B=k/2-P/2,j=L/2-g[v]/2-1,I=Z(f[w],j),M=Z(f[x],j),O=I,d=L-g[v]-M,h=L/2-g[v]/2+B,T=Ze(O,h,d),S=!s.arrow&&be(r)!=null&&h!==T&&a.reference[v]/2-(h<O?I:M)-g[v]/2<0,E=S?h<O?h-O:h-d:0;return{[m]:p[m]+E,data:{[m]:T,centerOffset:h-T-E,...S&&{alignmentOffset:E}},reset:S}}}),io=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:a,rects:i,initialPlacement:l,platform:s,elements:u}=e,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0,...y}=me(t,e);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const w=Q(r),x=se(l),A=Q(l)===l,k=await(s.isRTL==null?void 0:s.isRTL(u.floating)),P=p||(A||!g?[Ne(l)]:$n(l)),D=v!=="none";!p&&D&&P.push(...to(l,g,v,k));const L=[l,...P],B=await ht(e,y),j=[];let I=((o=a.flip)==null?void 0:o.overflows)||[];if(c&&j.push(B[w]),f){const h=Qn(r,i,k);j.push(B[h[0]],B[h[1]])}if(I=[...I,{placement:r,overflows:j}],!j.every(h=>h<=0)){var M,O;const h=(((M=a.flip)==null?void 0:M.index)||0)+1,T=L[h];if(T)return{data:{index:h,overflows:I},reset:{placement:T}};let S=(O=I.filter(E=>E.overflows[0]<=0).sort((E,b)=>E.overflows[1]-b.overflows[1])[0])==null?void 0:O.placement;if(!S)switch(m){case"bestFit":{var d;const E=(d=I.filter(b=>{if(D){const _=se(b.placement);return _===x||_==="y"}return!0}).map(b=>[b.placement,b.overflows.filter(_=>_>0).reduce((_,N)=>_+N,0)]).sort((b,_)=>b[1]-_[1])[0])==null?void 0:d[0];E&&(S=E);break}case"initialPlacement":S=l;break}if(r!==S)return{reset:{placement:S}}}return{}}}};async function ao(t,e){const{placement:n,platform:o,elements:r}=t,a=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=Q(n),l=be(n),s=se(n)==="y",u=["left","top"].includes(i)?-1:1,c=a&&s?-1:1,f=me(e,t);let{mainAxis:p,crossAxis:m,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof v=="number"&&(m=l==="end"?v*-1:v),s?{x:m*c,y:p*u}:{x:p*u,y:m*c}}const so=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:a,placement:i,middlewareData:l}=e,s=await ao(e,t);return i===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:r+s.x,y:a+s.y,data:{...s,placement:i}}}}},lo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:w,y:x}=y;return{x:w,y:x}}},...s}=me(t,e),u={x:n,y:o},c=await ht(e,s),f=se(Q(r)),p=Qt(f);let m=u[p],v=u[f];if(a){const y=p==="y"?"top":"left",w=p==="y"?"bottom":"right",x=m+c[y],A=m-c[w];m=Ze(x,m,A)}if(i){const y=f==="y"?"top":"left",w=f==="y"?"bottom":"right",x=v+c[y],A=v-c[w];v=Ze(x,v,A)}const g=l.fn({...e,[p]:m,[f]:v});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[p]:a,[f]:i}}}}}},co=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:a,platform:i,elements:l}=e,{apply:s=()=>{},...u}=me(t,e),c=await ht(e,u),f=Q(r),p=be(r),m=se(r)==="y",{width:v,height:g}=a.floating;let y,w;f==="top"||f==="bottom"?(y=f,w=p===(await(i.isRTL==null?void 0:i.isRTL(l.floating))?"start":"end")?"left":"right"):(w=f,y=p==="end"?"top":"bottom");const x=g-c.top-c.bottom,A=v-c.left-c.right,k=Z(g-c[y],x),P=Z(v-c[w],A),D=!e.middlewareData.shift;let L=k,B=P;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(B=A),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(L=x),D&&!p){const I=V(c.left,0),M=V(c.right,0),O=V(c.top,0),d=V(c.bottom,0);m?B=v-2*(I!==0||M!==0?I+M:V(c.left,c.right)):L=g-2*(O!==0||d!==0?O+d:V(c.top,c.bottom))}await s({...e,availableWidth:B,availableHeight:L});const j=await i.getDimensions(l.floating);return v!==j.width||g!==j.height?{reset:{rects:!0}}:{}}}};function Be(){return typeof window<"u"}function pe(t){return en(t)?(t.nodeName||"").toLowerCase():"#document"}function K(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function q(t){var e;return(e=(en(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function en(t){return Be()?t instanceof Node||t instanceof K(t).Node:!1}function z(t){return Be()?t instanceof Element||t instanceof K(t).Element:!1}function G(t){return Be()?t instanceof HTMLElement||t instanceof K(t).HTMLElement:!1}function kt(t){return!Be()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof K(t).ShadowRoot}function _e(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=H(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(r)}function uo(t){return["table","td","th"].includes(pe(t))}function je(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function mt(t){const e=bt(),n=z(t)?H(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function fo(t){let e=$(t);for(;G(e)&&!he(e);){if(mt(e))return e;if(je(e))return null;e=$(e)}return null}function bt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function he(t){return["html","body","#document"].includes(pe(t))}function H(t){return K(t).getComputedStyle(t)}function We(t){return z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function $(t){if(pe(t)==="html")return t;const e=t.assignedSlot||t.parentNode||kt(t)&&t.host||q(t);return kt(e)?e.host:e}function tn(t){const e=$(t);return he(e)?t.ownerDocument?t.ownerDocument.body:t.body:G(e)&&_e(e)?e:tn(e)}function Te(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=tn(t),a=r===((o=t.ownerDocument)==null?void 0:o.body),i=K(r);if(a){const l=$e(i);return e.concat(i,i.visualViewport||[],_e(r)?r:[],l&&n?Te(l):[])}return e.concat(r,Te(r,[],n))}function $e(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function nn(t){const e=H(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=G(t),a=r?t.offsetWidth:n,i=r?t.offsetHeight:o,l=Ce(n)!==a||Ce(o)!==i;return l&&(n=a,o=i),{width:n,height:o,$:l}}function pt(t){return z(t)?t:t.contextElement}function fe(t){const e=pt(t);if(!G(e))return U(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:a}=nn(e);let i=(a?Ce(n.width):n.width)/o,l=(a?Ce(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const ho=U(0);function on(t){const e=K(t);return!bt()||!e.visualViewport?ho:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function mo(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==K(t)?!1:e}function le(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),a=pt(t);let i=U(1);e&&(o?z(o)&&(i=fe(o)):i=fe(t));const l=mo(a,n,o)?on(a):U(0);let s=(r.left+l.x)/i.x,u=(r.top+l.y)/i.y,c=r.width/i.x,f=r.height/i.y;if(a){const p=K(a),m=o&&z(o)?K(o):o;let v=p,g=$e(v);for(;g&&o&&m!==v;){const y=fe(g),w=g.getBoundingClientRect(),x=H(g),A=w.left+(g.clientLeft+parseFloat(x.paddingLeft))*y.x,k=w.top+(g.clientTop+parseFloat(x.paddingTop))*y.y;s*=y.x,u*=y.y,c*=y.x,f*=y.y,s+=A,u+=k,v=K(g),g=$e(v)}}return Fe({width:c,height:f,x:s,y:u})}function vt(t,e){const n=We(t).scrollLeft;return e?e.left+n:le(q(t)).left+n}function rn(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),r=o.left+e.scrollLeft-(n?0:vt(t,o)),a=o.top+e.scrollTop;return{x:r,y:a}}function bo(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const a=r==="fixed",i=q(o),l=e?je(e.floating):!1;if(o===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},u=U(1);const c=U(0),f=G(o);if((f||!f&&!a)&&((pe(o)!=="body"||_e(i))&&(s=We(o)),G(o))){const m=le(o);u=fe(o),c.x=m.x+o.clientLeft,c.y=m.y+o.clientTop}const p=i&&!f&&!a?rn(i,s,!0):U(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-s.scrollTop*u.y+c.y+p.y}}function po(t){return Array.from(t.getClientRects())}function vo(t){const e=q(t),n=We(t),o=t.ownerDocument.body,r=V(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),a=V(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+vt(t);const l=-n.scrollTop;return H(o).direction==="rtl"&&(i+=V(e.clientWidth,o.clientWidth)-r),{width:r,height:a,x:i,y:l}}function go(t,e){const n=K(t),o=q(t),r=n.visualViewport;let a=o.clientWidth,i=o.clientHeight,l=0,s=0;if(r){a=r.width,i=r.height;const u=bt();(!u||u&&e==="fixed")&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:i,x:l,y:s}}function yo(t,e){const n=le(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,a=G(t)?fe(t):U(1),i=t.clientWidth*a.x,l=t.clientHeight*a.y,s=r*a.x,u=o*a.y;return{width:i,height:l,x:s,y:u}}function Ct(t,e,n){let o;if(e==="viewport")o=go(t,n);else if(e==="document")o=vo(q(t));else if(z(e))o=yo(e,n);else{const r=on(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return Fe(o)}function an(t,e){const n=$(t);return n===e||!z(n)||he(n)?!1:H(n).position==="fixed"||an(n,e)}function wo(t,e){const n=e.get(t);if(n)return n;let o=Te(t,[],!1).filter(l=>z(l)&&pe(l)!=="body"),r=null;const a=H(t).position==="fixed";let i=a?$(t):t;for(;z(i)&&!he(i);){const l=H(i),s=mt(i);!s&&l.position==="fixed"&&(r=null),(a?!s&&!r:!s&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||_e(i)&&!s&&an(t,i))?o=o.filter(c=>c!==i):r=l,i=$(i)}return e.set(t,o),o}function To(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const i=[...n==="clippingAncestors"?je(e)?[]:wo(e,this._c):[].concat(n),o],l=i[0],s=i.reduce((u,c)=>{const f=Ct(e,c,r);return u.top=V(f.top,u.top),u.right=Z(f.right,u.right),u.bottom=Z(f.bottom,u.bottom),u.left=V(f.left,u.left),u},Ct(e,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function xo(t){const{width:e,height:n}=nn(t);return{width:e,height:n}}function _o(t,e,n){const o=G(e),r=q(e),a=n==="fixed",i=le(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const s=U(0);if(o||!o&&!a)if((pe(e)!=="body"||_e(r))&&(l=We(e)),o){const p=le(e,!0,a,e);s.x=p.x+e.clientLeft,s.y=p.y+e.clientTop}else r&&(s.x=vt(r));const u=r&&!o&&!a?rn(r,l):U(0),c=i.left+l.scrollLeft-s.x-u.x,f=i.top+l.scrollTop-s.y-u.y;return{x:c,y:f,width:i.width,height:i.height}}function He(t){return H(t).position==="static"}function Nt(t,e){if(!G(t)||H(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return q(t)===n&&(n=n.ownerDocument.body),n}function sn(t,e){const n=K(t);if(je(t))return n;if(!G(t)){let r=$(t);for(;r&&!he(r);){if(z(r)&&!He(r))return r;r=$(r)}return n}let o=Nt(t,e);for(;o&&uo(o)&&He(o);)o=Nt(o,e);return o&&he(o)&&He(o)&&!mt(o)?n:o||fo(t)||n}const Ao=async function(t){const e=this.getOffsetParent||sn,n=this.getDimensions,o=await n(t.floating);return{reference:_o(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function So(t){return H(t).direction==="rtl"}const Eo={convertOffsetParentRelativeRectToViewportRelativeRect:bo,getDocumentElement:q,getClippingRect:To,getOffsetParent:sn,getElementRects:Ao,getClientRects:po,getDimensions:xo,getScale:fe,isElement:z,isRTL:So};function Oo(t,e){let n=null,o;const r=q(t);function a(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function i(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),a();const{left:u,top:c,width:f,height:p}=t.getBoundingClientRect();if(l||e(),!f||!p)return;const m=Ae(c),v=Ae(r.clientWidth-(u+f)),g=Ae(r.clientHeight-(c+p)),y=Ae(u),x={rootMargin:-m+"px "+-v+"px "+-g+"px "+-y+"px",threshold:V(0,Z(1,s))||1};let A=!0;function k(P){const D=P[0].intersectionRatio;if(D!==s){if(!A)return i();D?i(!1,D):o=setTimeout(()=>{i(!1,1e-7)},1e3)}A=!1}try{n=new IntersectionObserver(k,{...x,root:r.ownerDocument})}catch{n=new IntersectionObserver(k,x)}n.observe(t)}return i(!0),a}function Po(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=o,u=pt(t),c=r||a?[...u?Te(u):[],...Te(e)]:[];c.forEach(w=>{r&&w.addEventListener("scroll",n,{passive:!0}),a&&w.addEventListener("resize",n)});const f=u&&l?Oo(u,n):null;let p=-1,m=null;i&&(m=new ResizeObserver(w=>{let[x]=w;x&&x.target===u&&m&&(m.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var A;(A=m)==null||A.observe(e)})),n()}),u&&!s&&m.observe(u),m.observe(e));let v,g=s?le(t):null;s&&y();function y(){const w=le(t);g&&(w.x!==g.x||w.y!==g.y||w.width!==g.width||w.height!==g.height)&&n(),g=w,v=requestAnimationFrame(y)}return n(),()=>{var w;c.forEach(x=>{r&&x.removeEventListener("scroll",n),a&&x.removeEventListener("resize",n)}),f==null||f(),(w=m)==null||w.disconnect(),m=null,s&&cancelAnimationFrame(v)}}const ko=so,Co=lo,No=io,Fo=co,Ro=ro,Do=(t,e,n)=>{const o=new Map,r={platform:Eo,...n},a={...r.platform,_c:o};return oo(t,e,{...r,platform:a})},Io={strategy:"absolute",placement:"top",gutter:5,flip:!0,sameWidth:!1,overflowPadding:8},Lo={bottom:"rotate(45deg)",left:"rotate(135deg)",top:"rotate(225deg)",right:"rotate(315deg)"};function Mo(t,e,n={}){if(!e||!t||n===null)return{destroy:ae};const o={...Io,...n},r=e.querySelector("[data-arrow=true]"),a=[];o.flip&&a.push(No({boundary:o.boundary,padding:o.overflowPadding}));const i=W(r)?r.offsetHeight/2:0;if(o.gutter||o.offset){const s=o.gutter?{mainAxis:o.gutter}:o.offset;(s==null?void 0:s.mainAxis)!=null&&(s.mainAxis+=i),a.push(ko(s))}a.push(Co({boundary:o.boundary,crossAxis:o.overlap,padding:o.overflowPadding})),r&&a.push(Ro({element:r,padding:8})),a.push(Fo({padding:o.overflowPadding,apply({rects:s,availableHeight:u,availableWidth:c}){o.sameWidth&&Object.assign(e.style,{width:`${Math.round(s.reference.width)}px`,minWidth:"unset"}),o.fitViewport&&Object.assign(e.style,{maxWidth:`${c}px`,maxHeight:`${u}px`})}}));function l(){if(!t||!e||W(t)&&!t.ownerDocument.documentElement.contains(t))return;const{placement:s,strategy:u}=o;Do(t,e,{placement:s,middleware:a,strategy:u}).then(c=>{const f=Math.round(c.x),p=Math.round(c.y),[m,v]=Bo(c.placement);if(e.setAttribute("data-side",m),e.setAttribute("data-align",v),Object.assign(e.style,{position:o.strategy,top:`${p}px`,left:`${f}px`}),W(r)&&c.middlewareData.arrow){const{x:g,y}=c.middlewareData.arrow,w=c.placement.split("-")[0];r.setAttribute("data-side",w),Object.assign(r.style,{position:"absolute",left:g!=null?`${g}px`:"",top:y!=null?`${y}px`:"",[w]:`calc(100% - ${i}px)`,transform:Lo[w],backgroundColor:"inherit",zIndex:"inherit"})}return c})}return Object.assign(e.style,{position:o.strategy}),{destroy:Po(t,e,l)}}function Bo(t){const[e,n="center"]=t.split("-");return[e,n]}/*!
|
2 |
+
* tabbable 6.2.0
|
3 |
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
4 |
+
*/var ln=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Re=ln.join(","),cn=typeof Element>"u",ce=cn?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,De=!cn&&Element.prototype.getRootNode?function(t){var e;return t==null||(e=t.getRootNode)===null||e===void 0?void 0:e.call(t)}:function(t){return t==null?void 0:t.ownerDocument},Ie=function t(e,n){var o;n===void 0&&(n=!0);var r=e==null||(o=e.getAttribute)===null||o===void 0?void 0:o.call(e,"inert"),a=r===""||r==="true",i=a||n&&e&&t(e.parentNode);return i},jo=function(e){var n,o=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"contenteditable");return o===""||o==="true"},un=function(e,n,o){if(Ie(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Re));return n&&ce.call(e,Re)&&r.unshift(e),r=r.filter(o),r},fn=function t(e,n,o){for(var r=[],a=Array.from(e);a.length;){var i=a.shift();if(!Ie(i,!1))if(i.tagName==="SLOT"){var l=i.assignedElements(),s=l.length?l:i.children,u=t(s,!0,o);o.flatten?r.push.apply(r,u):r.push({scopeParent:i,candidates:u})}else{var c=ce.call(i,Re);c&&o.filter(i)&&(n||!e.includes(i))&&r.push(i);var f=i.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(i),p=!Ie(f,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(i));if(f&&p){var m=t(f===!0?i.children:f.children,!0,o);o.flatten?r.push.apply(r,m):r.push({scopeParent:i,candidates:m})}else a.unshift.apply(a,i.children)}}return r},dn=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ne=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||jo(e))&&!dn(e)?0:e.tabIndex},Wo=function(e,n){var o=ne(e);return o<0&&n&&!dn(e)?0:o},Vo=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},hn=function(e){return e.tagName==="INPUT"},Ko=function(e){return hn(e)&&e.type==="hidden"},zo=function(e){var n=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(o){return o.tagName==="SUMMARY"});return n},Ho=function(e,n){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===n)return e[o]},Uo=function(e){if(!e.name)return!0;var n=e.form||De(e),o=function(l){return n.querySelectorAll('input[type="radio"][name="'+l+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=o(window.CSS.escape(e.name));else try{r=o(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var a=Ho(r,e.form);return!a||a===e},Go=function(e){return hn(e)&&e.type==="radio"},qo=function(e){return Go(e)&&!Uo(e)},Yo=function(e){var n,o=e&&De(e),r=(n=o)===null||n===void 0?void 0:n.host,a=!1;if(o&&o!==e){var i,l,s;for(a=!!((i=r)!==null&&i!==void 0&&(l=i.ownerDocument)!==null&&l!==void 0&&l.contains(r)||e!=null&&(s=e.ownerDocument)!==null&&s!==void 0&&s.contains(e));!a&&r;){var u,c,f;o=De(r),r=(u=o)===null||u===void 0?void 0:u.host,a=!!((c=r)!==null&&c!==void 0&&(f=c.ownerDocument)!==null&&f!==void 0&&f.contains(r))}}return a},Ft=function(e){var n=e.getBoundingClientRect(),o=n.width,r=n.height;return o===0&&r===0},Xo=function(e,n){var o=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var a=ce.call(e,"details>summary:first-of-type"),i=a?e.parentElement:e;if(ce.call(i,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof r=="function"){for(var l=e;e;){var s=e.parentElement,u=De(e);if(s&&!s.shadowRoot&&r(s)===!0)return Ft(e);e.assignedSlot?e=e.assignedSlot:!s&&u!==e.ownerDocument?e=u.host:e=s}e=l}if(Yo(e))return!e.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return Ft(e);return!1},Jo=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var o=0;o<n.children.length;o++){var r=n.children.item(o);if(r.tagName==="LEGEND")return ce.call(n,"fieldset[disabled] *")?!0:!r.contains(e)}return!0}n=n.parentElement}return!1},Le=function(e,n){return!(n.disabled||Ie(n)||Ko(n)||Xo(n,e)||zo(n)||Jo(n))},et=function(e,n){return!(qo(n)||ne(n)<0||!Le(e,n))},Zo=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},Qo=function t(e){var n=[],o=[];return e.forEach(function(r,a){var i=!!r.scopeParent,l=i?r.scopeParent:r,s=Wo(l,i),u=i?t(r.candidates):l;s===0?i?n.push.apply(n,u):n.push(l):o.push({documentOrder:a,tabIndex:s,item:r,isScope:i,content:u})}),o.sort(Vo).reduce(function(r,a){return a.isScope?r.push.apply(r,a.content):r.push(a.content),r},[]).concat(n)},$o=function(e,n){n=n||{};var o;return n.getShadowRoot?o=fn([e],n.includeContainer,{filter:et.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Zo}):o=un(e,n.includeContainer,et.bind(null,n)),Qo(o)},er=function(e,n){n=n||{};var o;return n.getShadowRoot?o=fn([e],n.includeContainer,{filter:Le.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):o=un(e,n.includeContainer,Le.bind(null,n)),o},ue=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return ce.call(e,Re)===!1?!1:et(n,e)},tr=ln.concat("iframe").join(","),Ue=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return ce.call(e,tr)===!1?!1:Le(n,e)};/*!
|
5 |
+
* focus-trap 7.6.2
|
6 |
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
7 |
+
*/function tt(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,o=Array(e);n<e;n++)o[n]=t[n];return o}function nr(t){if(Array.isArray(t))return tt(t)}function or(t,e,n){return(e=lr(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rr(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ir(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
8 |
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Rt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,o)}return n}function Dt(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?Rt(Object(n),!0).forEach(function(o){or(t,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(n,o))})}return t}function ar(t){return nr(t)||rr(t)||cr(t)||ir()}function sr(t,e){if(typeof t!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var o=n.call(t,e||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function lr(t){var e=sr(t,"string");return typeof e=="symbol"?e:e+""}function cr(t,e){if(t){if(typeof t=="string")return tt(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tt(t,e):void 0}}var It={activateTrap:function(e,n){if(e.length>0){var o=e[e.length-1];o!==n&&o.pause()}var r=e.indexOf(n);r===-1||e.splice(r,1),e.push(n)},deactivateTrap:function(e,n){var o=e.indexOf(n);o!==-1&&e.splice(o,1),e.length>0&&e[e.length-1].unpause()}},ur=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},fr=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},we=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},dr=function(e){return we(e)&&!e.shiftKey},hr=function(e){return we(e)&&e.shiftKey},Lt=function(e){return setTimeout(e,0)},ye=function(e){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return typeof e=="function"?e.apply(void 0,o):e},Se=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},mr=[],br=function(e,n){var o=(n==null?void 0:n.document)||document,r=(n==null?void 0:n.trapStack)||mr,a=Dt({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:dr,isKeyBackward:hr},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l,s=function(d,h,T){return d&&d[h]!==void 0?d[h]:a[T||h]},u=function(d,h){var T=typeof(h==null?void 0:h.composedPath)=="function"?h.composedPath():void 0;return i.containerGroups.findIndex(function(S){var E=S.container,b=S.tabbableNodes;return E.contains(d)||(T==null?void 0:T.includes(E))||b.find(function(_){return _===d})})},c=function(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=h.hasFallback,S=T===void 0?!1:T,E=h.params,b=E===void 0?[]:E,_=a[d];if(typeof _=="function"&&(_=_.apply(void 0,ar(b))),_===!0&&(_=void 0),!_){if(_===void 0||_===!1)return _;throw new Error("`".concat(d,"` was specified but was not a node, or did not return a node"))}var N=_;if(typeof _=="string"){try{N=o.querySelector(_)}catch(R){throw new Error("`".concat(d,'` appears to be an invalid selector; error="').concat(R.message,'"'))}if(!N&&!S)throw new Error("`".concat(d,"` as selector refers to no known node"))}return N},f=function(){var d=c("initialFocus",{hasFallback:!0});if(d===!1)return!1;if(d===void 0||d&&!Ue(d,a.tabbableOptions))if(u(o.activeElement)>=0)d=o.activeElement;else{var h=i.tabbableGroups[0],T=h&&h.firstTabbableNode;d=T||c("fallbackFocus")}else d===null&&(d=c("fallbackFocus"));if(!d)throw new Error("Your focus-trap needs to have at least one focusable element");return d},p=function(){if(i.containerGroups=i.containers.map(function(d){var h=$o(d,a.tabbableOptions),T=er(d,a.tabbableOptions),S=h.length>0?h[0]:void 0,E=h.length>0?h[h.length-1]:void 0,b=T.find(function(R){return ue(R)}),_=T.slice().reverse().find(function(R){return ue(R)}),N=!!h.find(function(R){return ne(R)>0});return{container:d,tabbableNodes:h,focusableNodes:T,posTabIndexesFound:N,firstTabbableNode:S,lastTabbableNode:E,firstDomTabbableNode:b,lastDomTabbableNode:_,nextTabbableNode:function(ee){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Y=h.indexOf(ee);return Y<0?ve?T.slice(T.indexOf(ee)+1).find(function(ge){return ue(ge)}):T.slice(0,T.indexOf(ee)).reverse().find(function(ge){return ue(ge)}):h[Y+(ve?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(d){return d.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(d){return d.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function(d){var h=d.activeElement;if(h)return h.shadowRoot&&h.shadowRoot.activeElement!==null?m(h.shadowRoot):h},v=function(d){if(d!==!1&&d!==m(document)){if(!d||!d.focus){v(f());return}d.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=d,ur(d)&&d.select()}},g=function(d){var h=c("setReturnFocus",{params:[d]});return h||(h===!1?!1:d)},y=function(d){var h=d.target,T=d.event,S=d.isBackward,E=S===void 0?!1:S;h=h||Se(T),p();var b=null;if(i.tabbableGroups.length>0){var _=u(h,T),N=_>=0?i.containerGroups[_]:void 0;if(_<0)E?b=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:b=i.tabbableGroups[0].firstTabbableNode;else if(E){var R=i.tabbableGroups.findIndex(function(Ve){var Ke=Ve.firstTabbableNode;return h===Ke});if(R<0&&(N.container===h||Ue(h,a.tabbableOptions)&&!ue(h,a.tabbableOptions)&&!N.nextTabbableNode(h,!1))&&(R=_),R>=0){var ee=R===0?i.tabbableGroups.length-1:R-1,ve=i.tabbableGroups[ee];b=ne(h)>=0?ve.lastTabbableNode:ve.lastDomTabbableNode}else we(T)||(b=N.nextTabbableNode(h,!1))}else{var Y=i.tabbableGroups.findIndex(function(Ve){var Ke=Ve.lastTabbableNode;return h===Ke});if(Y<0&&(N.container===h||Ue(h,a.tabbableOptions)&&!ue(h,a.tabbableOptions)&&!N.nextTabbableNode(h))&&(Y=_),Y>=0){var ge=Y===i.tabbableGroups.length-1?0:Y+1,gt=i.tabbableGroups[ge];b=ne(h)>=0?gt.firstTabbableNode:gt.firstDomTabbableNode}else we(T)||(b=N.nextTabbableNode(h))}}else b=c("fallbackFocus");return b},w=function(d){var h=Se(d);if(!(u(h,d)>=0)){if(ye(a.clickOutsideDeactivates,d)){l.deactivate({returnFocus:a.returnFocusOnDeactivate});return}ye(a.allowOutsideClick,d)||d.preventDefault()}},x=function(d){var h=Se(d),T=u(h,d)>=0;if(T||h instanceof Document)T&&(i.mostRecentlyFocusedNode=h);else{d.stopImmediatePropagation();var S,E=!0;if(i.mostRecentlyFocusedNode)if(ne(i.mostRecentlyFocusedNode)>0){var b=u(i.mostRecentlyFocusedNode),_=i.containerGroups[b].tabbableNodes;if(_.length>0){var N=_.findIndex(function(R){return R===i.mostRecentlyFocusedNode});N>=0&&(a.isKeyForward(i.recentNavEvent)?N+1<_.length&&(S=_[N+1],E=!1):N-1>=0&&(S=_[N-1],E=!1))}}else i.containerGroups.some(function(R){return R.tabbableNodes.some(function(ee){return ne(ee)>0})})||(E=!1);else E=!1;E&&(S=y({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),v(S||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},A=function(d){var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=d;var T=y({event:d,isBackward:h});T&&(we(d)&&d.preventDefault(),v(T))},k=function(d){(a.isKeyForward(d)||a.isKeyBackward(d))&&A(d,a.isKeyBackward(d))},P=function(d){fr(d)&&ye(a.escapeDeactivates,d)!==!1&&(d.preventDefault(),l.deactivate())},D=function(d){var h=Se(d);u(h,d)>=0||ye(a.clickOutsideDeactivates,d)||ye(a.allowOutsideClick,d)||(d.preventDefault(),d.stopImmediatePropagation())},L=function(){if(i.active)return It.activateTrap(r,l),i.delayInitialFocusTimer=a.delayInitialFocus?Lt(function(){v(f())}):v(f()),o.addEventListener("focusin",x,!0),o.addEventListener("mousedown",w,{capture:!0,passive:!1}),o.addEventListener("touchstart",w,{capture:!0,passive:!1}),o.addEventListener("click",D,{capture:!0,passive:!1}),o.addEventListener("keydown",k,{capture:!0,passive:!1}),o.addEventListener("keydown",P),l},B=function(){if(i.active)return o.removeEventListener("focusin",x,!0),o.removeEventListener("mousedown",w,!0),o.removeEventListener("touchstart",w,!0),o.removeEventListener("click",D,!0),o.removeEventListener("keydown",k,!0),o.removeEventListener("keydown",P),l},j=function(d){var h=d.some(function(T){var S=Array.from(T.removedNodes);return S.some(function(E){return E===i.mostRecentlyFocusedNode})});h&&v(f())},I=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(j):void 0,M=function(){I&&(I.disconnect(),i.active&&!i.paused&&i.containers.map(function(d){I.observe(d,{subtree:!0,childList:!0})}))};return l={get active(){return i.active},get paused(){return i.paused},activate:function(d){if(i.active)return this;var h=s(d,"onActivate"),T=s(d,"onPostActivate"),S=s(d,"checkCanFocusTrap");S||p(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=o.activeElement,h==null||h();var E=function(){S&&p(),L(),M(),T==null||T()};return S?(S(i.containers.concat()).then(E,E),this):(E(),this)},deactivate:function(d){if(!i.active)return this;var h=Dt({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},d);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,B(),i.active=!1,i.paused=!1,M(),It.deactivateTrap(r,l);var T=s(h,"onDeactivate"),S=s(h,"onPostDeactivate"),E=s(h,"checkCanReturnFocus"),b=s(h,"returnFocus","returnFocusOnDeactivate");T==null||T();var _=function(){Lt(function(){b&&v(g(i.nodeFocusedBeforeActivation)),S==null||S()})};return b&&E?(E(g(i.nodeFocusedBeforeActivation)).then(_,_),this):(_(),this)},pause:function(d){if(i.paused||!i.active)return this;var h=s(d,"onPause"),T=s(d,"onPostPause");return i.paused=!0,h==null||h(),B(),M(),T==null||T(),this},unpause:function(d){if(!i.paused||!i.active)return this;var h=s(d,"onUnpause"),T=s(d,"onPostUnpause");return i.paused=!1,h==null||h(),p(),L(),M(),T==null||T(),this},updateContainerElements:function(d){var h=[].concat(d).filter(Boolean);return i.containers=h.map(function(T){return typeof T=="string"?o.querySelector(T):T}),i.active&&p(),M(),this}},l.updateContainerElements(e),l};function pr(t={}){let e;const{immediate:n,...o}=t,r=ke(!1),a=ke(!1),i=f=>e==null?void 0:e.activate(f),l=f=>{e==null||e.deactivate(f)},s=()=>{e&&(e.pause(),a.set(!0))},u=()=>{e&&(e.unpause(),a.set(!1))};return{useFocusTrap:f=>(e=br(f,{...o,onActivate(){var p;r.set(!0),(p=t.onActivate)==null||p.call(t)},onDeactivate(){var p;r.set(!1),(p=t.onDeactivate)==null||p.call(t)}}),n&&i(),{destroy(){l(),e=void 0}}),hasFocus:Ye(r),isPaused:Ye(a),activate:i,deactivate:l,pause:s,unpause:u}}const Ee=[],vr=(t,e)=>{let n=ae;function o(){const a=Ee.indexOf(t);a>=0&&Ee.splice(a,1)}function r(a){n();const{open:i,onClose:l,shouldCloseOnInteractOutside:s,closeOnInteractOutside:u}=a;ut(100).then(()=>{i?Ee.push(t):o()});function c(){return Ln(Ee)===t}function f(){c()&&l&&(l(),o())}function p(v){const g=v.target;lt(g)&&g&&c()&&(v.preventDefault(),v.stopPropagation(),v.stopImmediatePropagation())}function m(v){s!=null&&s(v)&&c()&&(v.preventDefault(),v.stopPropagation(),v.stopImmediatePropagation(),f())}n=wr(t,{onInteractOutsideStart:p,onInteractOutside:u?m:void 0,enabled:i}).destroy}return r(e),{update:r,destroy(){o(),n()}}},gr={floating:{},focusTrap:{},modal:{},escapeKeydown:{},portal:"body"},ai=(t,e)=>{t.dataset.escapee="";const{anchorElement:n,open:o,options:r}=e;if(!n||!o||!r)return{destroy:ae};const a={...gr,...r},i=[];if(a.portal!==null&&i.push(yr(t,a.portal).destroy),i.push(Mo(n,t,a.floating).destroy),a.focusTrap!==null){const{useFocusTrap:s}=pr({immediate:!0,escapeDeactivates:!1,allowOutsideClick:!0,returnFocusOnDeactivate:!1,fallbackFocus:t,...a.focusTrap});i.push(s(t).destroy)}a.modal!==null&&i.push(vr(t,{onClose:()=>{W(n)&&(o.set(!1),n.focus())},shouldCloseOnInteractOutside:s=>!(s.defaultPrevented||W(n)&&n.contains(s.target)),...a.modal}).destroy),a.escapeKeydown!==null&&i.push(An(t,{enabled:o,handler:()=>{o.set(!1)},...a.escapeKeydown}).destroy);const l=Xe(...i);return{destroy(){l()}}},yr=(t,e="body")=>{let n;if(!W(e)&&typeof e!="string")return{destroy:ae};async function o(a){if(e=a,typeof e=="string"){if(n=document.querySelector(e),n===null&&(await Wt(),n=document.querySelector(e)),n===null)throw new Error(`No element found matching css selector: "${e}"`)}else if(e instanceof HTMLElement)n=e;else throw new TypeError(`Unknown portal target type: ${e===null?"null":typeof e}. Allowed types: string (CSS selector) or HTMLElement.`);t.dataset.portal="",n.appendChild(t),t.hidden=!1}function r(){t.remove()}return o(e),{update:o,destroy:r}},wr=(t,e)=>{let n=ae,o=ae,r=!1,a=!1,i=!1;function l(c){n(),o();const{onInteractOutside:f,onInteractOutsideStart:p,enabled:m}=c;if(!m)return;function v(w){f&&Mt(w,t)&&(p==null||p(w));const x=w.target;lt(x)&&mn(t,x)&&(a=!0),r=!0}function g(w){f==null||f(w)}const y=Tr(t);if(typeof PointerEvent<"u"){const w=x=>{o();const A=k=>{s(k)&&g(k),u()};if(x.pointerType==="touch"){o=te(y,"click",A,{capture:!0,once:!0});return}A(x)};n=Xe(te(y,"pointerdown",v,!0),te(y,"pointerup",w,!0))}else{const w=A=>{i?i=!1:s(A)&&g(A),u()},x=A=>{i=!0,s(A)&&g(A),u()};n=Xe(te(y,"mousedown",v,!0),te(y,"mouseup",w,!0),te(y,"touchstart",v,!0),te(y,"touchend",x,!0))}}function s(c){return!!(r&&!a&&Mt(c,t))}function u(){r=!1,a=!1}return l(e),{update:l,destroy(){n(),o()}}};function Mt(t,e){if("button"in t&&t.button>0)return!1;const n=t.target;if(!lt(n))return!1;const o=n.ownerDocument;return!o||!o.documentElement.contains(n)?!1:e&&!mn(e,n)}function mn(t,e){return t===e||t.contains(e)}function Tr(t){return(t==null?void 0:t.ownerDocument)??document}const xr={orientation:"horizontal",decorative:!1},si=t=>{const e={...xr,...t},n=On(e),{orientation:o,decorative:r}=n;return{elements:{root:Sn("separator",{stores:[o,r],returned:([i,l])=>({role:l?"none":"separator","aria-orientation":i==="vertical"?i:void 0,"aria-hidden":l,"data-orientation":i})})},options:n}};function _r(t,e){const n=[];return e.builders.forEach(o=>{const r=o.action(t);r&&n.push(r)}),{destroy:()=>{n.forEach(o=>{o.destroy&&o.destroy()})}}}function Bt(t){const e={};return t.forEach(n=>{Object.keys(n).forEach(o=>{o!=="action"&&(e[o]=n[o])})}),e}function Ar(t){let e=t[1]?"a":"button",n,o,r=(t[1]?"a":"button")&&Ge(t);return{c(){r&&r.c(),n=de()},l(a){r&&r.l(a),n=de()},m(a,i){r&&r.m(a,i),xe(a,n,i),o=!0},p(a,i){a[1],e?Me(e,a[1]?"a":"button")?(r.d(1),r=Ge(a),e=a[1]?"a":"button",r.c(),r.m(n.parentNode,n)):r.p(a,i):(r=Ge(a),e=a[1]?"a":"button",r.c(),r.m(n.parentNode,n))},i(a){o||(J(r,a),o=!0)},o(a){X(r,a),o=!1},d(a){a&&re(n),r&&r.d(a)}}}function Sr(t){let e=t[1]?"a":"button",n,o,r=(t[1]?"a":"button")&&qe(t);return{c(){r&&r.c(),n=de()},l(a){r&&r.l(a),n=de()},m(a,i){r&&r.m(a,i),xe(a,n,i),o=!0},p(a,i){a[1],e?Me(e,a[1]?"a":"button")?(r.d(1),r=qe(a),e=a[1]?"a":"button",r.c(),r.m(n.parentNode,n)):r.p(a,i):(r=qe(a),e=a[1]?"a":"button",r.c(),r.m(n.parentNode,n))},i(a){o||(J(r,a),o=!0)},o(a){X(r,a),o=!1},d(a){a&&re(n),r&&r.d(a)}}}function Ge(t){let e,n,o,r,a;const i=t[7].default,l=rt(i,t,t[6],null);let s=[{type:n=t[1]?void 0:t[2]},{href:t[1]},{tabindex:"0"},t[5],t[4]],u={};for(let c=0;c<s.length;c+=1)u=ie(u,s[c]);return{c(){e=Kt(t[1]?"a":"button"),l&&l.c(),this.h()},l(c){e=zt(c,((t[1]?"a":"button")||"null").toUpperCase(),{type:!0,href:!0,tabindex:!0});var f=Ht(e);l&&l.l(f),f.forEach(re),this.h()},h(){Pe(t[1]?"a":"button")(e,u)},m(c,f){xe(c,e,f),l&&l.m(e,null),t[29](e),o=!0,r||(a=[F(e,"click",t[18]),F(e,"change",t[19]),F(e,"keydown",t[20]),F(e,"keyup",t[21]),F(e,"mouseenter",t[22]),F(e,"mouseleave",t[23]),F(e,"mousedown",t[24]),F(e,"pointerdown",t[25]),F(e,"mouseup",t[26]),F(e,"pointerup",t[27])],r=!0)},p(c,f){l&&l.p&&(!o||f&64)&&it(l,i,c,c[6],o?st(i,c[6],f,null):at(c[6]),null),Pe(c[1]?"a":"button")(e,u=ct(s,[(!o||f&6&&n!==(n=c[1]?void 0:c[2]))&&{type:n},(!o||f&2)&&{href:c[1]},{tabindex:"0"},f&32&&c[5],c[4]]))},i(c){o||(J(l,c),o=!0)},o(c){X(l,c),o=!1},d(c){c&&re(e),l&&l.d(c),t[29](null),r=!1,Ut(a)}}}function qe(t){let e,n,o,r,a,i;const l=t[7].default,s=rt(l,t,t[6],null);let u=[{type:n=t[1]?void 0:t[2]},{href:t[1]},{tabindex:"0"},Bt(t[3]),t[5],t[4]],c={};for(let f=0;f<u.length;f+=1)c=ie(c,u[f]);return{c(){e=Kt(t[1]?"a":"button"),s&&s.c(),this.h()},l(f){e=zt(f,((t[1]?"a":"button")||"null").toUpperCase(),{type:!0,href:!0,tabindex:!0});var p=Ht(e);s&&s.l(p),p.forEach(re),this.h()},h(){Pe(t[1]?"a":"button")(e,c)},m(f,p){xe(f,e,p),s&&s.m(e,null),t[28](e),r=!0,a||(i=[F(e,"click",t[8]),F(e,"change",t[9]),F(e,"keydown",t[10]),F(e,"keyup",t[11]),F(e,"mouseenter",t[12]),F(e,"mouseleave",t[13]),F(e,"mousedown",t[14]),F(e,"pointerdown",t[15]),F(e,"mouseup",t[16]),F(e,"pointerup",t[17]),pn(o=_r.call(null,e,{builders:t[3]}))],a=!0)},p(f,p){s&&s.p&&(!r||p&64)&&it(s,l,f,f[6],r?st(l,f[6],p,null):at(f[6]),null),Pe(f[1]?"a":"button")(e,c=ct(u,[(!r||p&6&&n!==(n=f[1]?void 0:f[2]))&&{type:n},(!r||p&2)&&{href:f[1]},{tabindex:"0"},p&8&&Bt(f[3]),p&32&&f[5],f[4]])),o&&vn(o.update)&&p&8&&o.update.call(null,{builders:f[3]})},i(f){r||(J(s,f),r=!0)},o(f){X(s,f),r=!1},d(f){f&&re(e),s&&s.d(f),t[28](null),a=!1,Ut(i)}}}function Er(t){let e,n,o,r;const a=[Sr,Ar],i=[];function l(s,u){return s[3]&&s[3].length?0:1}return e=l(t),n=i[e]=a[e](t),{c(){n.c(),o=de()},l(s){n.l(s),o=de()},m(s,u){i[e].m(s,u),xe(s,o,u),r=!0},p(s,[u]){let c=e;e=l(s),e===c?i[e].p(s,u):(Pn(),X(i[c],1,1,()=>{i[c]=null}),kn(),n=i[e],n?n.p(s,u):(n=i[e]=a[e](s),n.c()),J(n,1),n.m(o.parentNode,o))},i(s){r||(J(n),r=!0)},o(s){X(n),r=!1},d(s){s&&re(o),i[e].d(s)}}}function Or(t,e,n){const o=["href","type","builders","el"];let r=Oe(e,o),{$$slots:a={},$$scope:i}=e,{href:l=void 0}=e,{type:s=void 0}=e,{builders:u=[]}=e,{el:c=void 0}=e;const f={"data-button-root":""};function p(b){C.call(this,t,b)}function m(b){C.call(this,t,b)}function v(b){C.call(this,t,b)}function g(b){C.call(this,t,b)}function y(b){C.call(this,t,b)}function w(b){C.call(this,t,b)}function x(b){C.call(this,t,b)}function A(b){C.call(this,t,b)}function k(b){C.call(this,t,b)}function P(b){C.call(this,t,b)}function D(b){C.call(this,t,b)}function L(b){C.call(this,t,b)}function B(b){C.call(this,t,b)}function j(b){C.call(this,t,b)}function I(b){C.call(this,t,b)}function M(b){C.call(this,t,b)}function O(b){C.call(this,t,b)}function d(b){C.call(this,t,b)}function h(b){C.call(this,t,b)}function T(b){C.call(this,t,b)}function S(b){yt[b?"unshift":"push"](()=>{c=b,n(0,c)})}function E(b){yt[b?"unshift":"push"](()=>{c=b,n(0,c)})}return t.$$set=b=>{e=ie(ie({},e),Vt(b)),n(5,r=Oe(e,o)),"href"in b&&n(1,l=b.href),"type"in b&&n(2,s=b.type),"builders"in b&&n(3,u=b.builders),"el"in b&&n(0,c=b.el),"$$scope"in b&&n(6,i=b.$$scope)},[c,l,s,u,f,r,i,a,p,m,v,g,y,w,x,A,k,P,D,L,B,j,I,M,O,d,h,T,S,E]}let Pr=class extends Gt{constructor(e){super(),qt(this,e,Or,Er,Me,{href:1,type:2,builders:3,el:0})}};function ci(t){return(e={})=>kr(t,e)}function kr(t,e){const o={...{side:"bottom",align:"center",sideOffset:0,alignOffset:0,sameWidth:!1,avoidCollisions:!0,collisionPadding:8,fitViewport:!1,strategy:"absolute",overlap:!1},...e};t.update(r=>({...r,placement:Cr(o.side,o.align),offset:{...r.offset,mainAxis:o.sideOffset,crossAxis:o.alignOffset},gutter:0,sameWidth:o.sameWidth,flip:o.avoidCollisions,overflowPadding:o.collisionPadding,boundary:o.collisionBoundary,fitViewport:o.fitViewport,strategy:o.strategy,overlap:o.overlap}))}function Cr(t,e){return e==="center"?t:`${t}-${e}`}function Nr(t){let e;const n=t[5].default,o=rt(n,t,t[8],null);return{c(){o&&o.c()},l(r){o&&o.l(r)},m(r,a){o&&o.m(r,a),e=!0},p(r,a){o&&o.p&&(!e||a&256)&&it(o,n,r,r[8],e?st(n,r[8],a,null):at(r[8]),null)},i(r){e||(J(o,r),e=!0)},o(r){X(o,r),e=!1},d(r){o&&o.d(r)}}}function Fr(t){let e,n;const o=[{builders:t[3]},{class:wt(Tt({variant:t[1],size:t[2],className:t[0]}))},{type:"button"},t[4]];let r={$$slots:{default:[Nr]},$$scope:{ctx:t}};for(let a=0;a<o.length;a+=1)r=ie(r,o[a]);return e=new Pr({props:r}),e.$on("click",t[6]),e.$on("keydown",t[7]),{c(){Cn(e.$$.fragment)},l(a){Nn(e.$$.fragment,a)},m(a,i){Fn(e,a,i),n=!0},p(a,[i]){const l=i&31?ct(o,[i&8&&{builders:a[3]},i&7&&{class:wt(Tt({variant:a[1],size:a[2],className:a[0]}))},o[2],i&16&&En(a[4])]):{};i&256&&(l.$$scope={dirty:i,ctx:a}),e.$set(l)},i(a){n||(J(e.$$.fragment,a),n=!0)},o(a){X(e.$$.fragment,a),n=!1},d(a){Rn(e,a)}}}function Rr(t,e,n){const o=["class","variant","size","builders"];let r=Oe(e,o),{$$slots:a={},$$scope:i}=e,{class:l=void 0}=e,{variant:s="default"}=e,{size:u="default"}=e,{builders:c=[]}=e;function f(m){C.call(this,t,m)}function p(m){C.call(this,t,m)}return t.$$set=m=>{e=ie(ie({},e),Vt(m)),n(4,r=Oe(e,o)),"class"in m&&n(0,l=m.class),"variant"in m&&n(1,s=m.variant),"size"in m&&n(2,u=m.size),"builders"in m&&n(3,c=m.builders),"$$scope"in m&&n(8,i=m.$$scope)},[l,s,u,c,r,a,f,p,i]}class ui extends Gt{constructor(e){super(),qt(this,e,Rr,Fr,Me,{class:0,variant:1,size:2,builders:3})}}export{Xr as A,ui as B,Jr as C,Wr as D,Gn as a,yr as b,oi as c,ei as d,jr as e,ut as f,ri as g,zr as h,si as i,ii as j,$r as k,ti as l,ni as m,Zr as n,ci as o,Kr as p,Vr as q,Qr as r,Et as s,Ln as t,ai as u,Hr as v,Ur as w,qr as x,Gr as y,Yr as z};
|
_app/immutable/chunks/entry.CAK-4a04.js
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
import{u as z,M as me,L as _e,s as ye,K as we,V as wt,r as ve}from"./scheduler.BZlHRu_0.js";new URL("sveltekit-internal://");function be(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function Ee(t){return t.split("%25").map(decodeURI).join("%25")}function ke(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function gt({href:t}){return t.split("#")[0]}const Ae=["href","pathname","search","toString","toJSON"];function Se(t,n,e){const a=new URL(t);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),r[o](s));n();const i=Reflect.get(r,o);return typeof i=="function"?i.bind(r):i}}),enumerable:!0,configurable:!0});for(const r of Ae)Object.defineProperty(a,r,{get(){return n(),t[r]},enumerable:!0,configurable:!0});return a}const Re="/__data.json",Ie=".html__data.json";function Le(t){return t.endsWith(".html")?t.replace(/\.html$/,Ie):t.replace(/\/$/,"")+Re}function Pe(...t){let n=5381;for(const e of t)if(typeof e=="string"){let a=e.length;for(;a;)n=n*33^e.charCodeAt(--a)}else if(ArrayBuffer.isView(e)){const a=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function Ue(t){const n=atob(t),e=new Uint8Array(n.length);for(let a=0;a<n.length;a++)e[a]=n.charCodeAt(a);return e.buffer}const Bt=window.fetch;window.fetch=(t,n)=>((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&B.delete(At(t)),Bt(t,n));const B=new Map;function xe(t,n){const e=At(t,n),a=document.querySelector(e);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const i=a.getAttribute("data-ttl");return i&&B.set(e,{body:r,init:o,ttl:1e3*Number(i)}),a.getAttribute("data-b64")!==null&&(r=Ue(r)),Promise.resolve(new Response(r,o))}return window.fetch(t,n)}function Te(t,n,e){if(B.size>0){const a=At(t,e),r=B.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(e==null?void 0:e.cache))return new Response(r.body,r.init);B.delete(a)}}return window.fetch(n,e)}function At(t,n){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(n!=null&&n.headers||n!=null&&n.body){const r=[];n.headers&&r.push([...new Headers(n.headers)].join(",")),n.body&&(typeof n.body=="string"||ArrayBuffer.isView(n.body))&&r.push(n.body),a+=`[data-hash="${Pe(...r)}"]`}return a}const Ne=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Oe(t){const n=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${$e(t).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const i=a.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return mt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return mt(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=Ne.exec(c),[,h,p,d,g]=u;return n.push({name:d,matcher:g,optional:!!h,rest:!!p,chained:p?l===1&&i[0]==="":!1}),p?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return mt(c)}).join("")}).join("")}/?$`),params:n}}function je(t){return!/^\([^)]+\)$/.test(t)}function $e(t){return t.slice(1).split("/").filter(je)}function De(t,n,e){const a={},r=t.slice(1),o=r.filter(s=>s!==void 0);let i=0;for(let s=0;s<n.length;s+=1){const c=n[s];let l=r[s-i];if(c.chained&&c.rest&&i&&(l=r.slice(s-i,s+1).filter(u=>u).join("/"),i=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){a[c.name]=l;const u=n[s+1],h=r[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(a).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return a}function mt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ce({nodes:t,server_loads:n,dictionary:e,matchers:a}){const r=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:p}=Oe(s),d={id:s,exec:g=>{const f=h.exec(g);if(f)return De(f,p,a)},errors:[1,...u||[]].map(g=>t[g]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[r.has(s),t[s]]}}function Ht(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function jt(t,n,e=JSON.stringify){const a=e(n);try{sessionStorage[t]=a}catch{}}const $=[];function Ve(t,n){return{subscribe:st(t,n).subscribe}}function st(t,n=z){let e;const a=new Set;function r(s){if(ye(t,s)&&(t=s,e)){const c=!$.length;for(const l of a)l[1](),$.push(l,t);if(c){for(let l=0;l<$.length;l+=2)$[l][0]($[l+1]);$.length=0}}}function o(s){r(s(t))}function i(s,c=z){const l=[s,c];return a.add(l),a.size===1&&(e=n(r,o)||z),s(t),()=>{a.delete(l),a.size===0&&e&&(e(),e=null)}}return{set:r,update:o,subscribe:i}}function dn(t,n,e){const a=!Array.isArray(t),r=a?[t]:t;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=n.length<2;return Ve(e,(i,s)=>{let c=!1;const l=[];let u=0,h=z;const p=()=>{if(u)return;h();const g=n(a?l[0]:l,i,s);o?i(g):h=we(g)?g:z},d=r.map((g,f)=>me(g,_=>{l[f]=_,u&=~(1<<f),c&&p()},()=>{u|=1<<f}));return c=!0,p(),function(){_e(d),h(),c=!1}})}function hn(t){return{subscribe:t.subscribe.bind(t)}}var Gt;const P=((Gt=globalThis.__sveltekit_1qgzfwe)==null?void 0:Gt.base)??"";var zt;const qe=((zt=globalThis.__sveltekit_1qgzfwe)==null?void 0:zt.assets)??P,Fe="1733950131561",Kt="sveltekit:snapshot",Jt="sveltekit:scroll",Yt="sveltekit:states",Me="sveltekit:pageurl",C="sveltekit:history",K="sveltekit:navigation",tt={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},X=location.origin;function St(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function Rt(){return{x:pageXOffset,y:pageYOffset}}function D(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const $t={...tt,"":tt.hover};function Wt(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function Xt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Wt(t)}}function vt(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!e||!!a||it(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===X&&t.hasAttribute("download");return{url:e,external:r,target:a,download:o}}function et(t){let n=null,e=null,a=null,r=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=D(s,"preload-code")),r===null&&(r=D(s,"preload-data")),n===null&&(n=D(s,"keepfocus")),e===null&&(e=D(s,"noscroll")),o===null&&(o=D(s,"reload")),i===null&&(i=D(s,"replacestate")),s=Wt(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:$t[a??"off"],preload_data:$t[r??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Dt(t){const n=st(t);let e=!0;function a(){e=!0,n.update(i=>i)}function r(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:a,set:r,subscribe:o}}function Ge(){const{set:t,subscribe:n}=st(!1);let e;async function a(){clearTimeout(e);try{const r=await fetch(`${qe}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const i=(await r.json()).version!==Fe;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:a}}function it(t,n){return t.origin!==X||!t.pathname.startsWith(n)}const ze=-1,Be=-2,He=-3,Ke=-4,Je=-5,Ye=-6;function pn(t,n){return Zt(JSON.parse(t),n)}function Zt(t,n){if(typeof t=="number")return r(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,a=Array(e.length);function r(o,i=!1){if(o===ze)return;if(o===He)return NaN;if(o===Ke)return 1/0;if(o===Je)return-1/0;if(o===Ye)return-0;if(i)throw new Error("Invalid input");if(o in a)return a[o];const s=e[o];if(!s||typeof s!="object")a[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return a[o]=l(r(s[1]));switch(c){case"Date":a[o]=new Date(s[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;d<s.length;d+=1)u.add(r(s[d]));break;case"Map":const h=new Map;a[o]=h;for(let d=1;d<s.length;d+=2)h.set(r(s[d]),r(s[d+1]));break;case"RegExp":a[o]=new RegExp(s[1],s[2]);break;case"Object":a[o]=Object(s[1]);break;case"BigInt":a[o]=BigInt(s[1]);break;case"null":const p=Object.create(null);a[o]=p;for(let d=1;d<s.length;d+=2)p[s[d]]=r(s[d+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(s.length);a[o]=c;for(let l=0;l<s.length;l+=1){const u=s[l];u!==Be&&(c[l]=r(u))}}else{const c={};a[o]=c;for(const l in s){const u=s[l];c[l]=r(u)}}return a[o]}return r(0)}const Qt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Qt];const We=new Set([...Qt]);[...We];function Xe(t){return t.filter(n=>n!=null)}class ct{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class te{constructor(n,e){this.status=n,this.location=e}}class It extends Error{constructor(n,e,a){super(a),this.status=n,this.text=e}}const Ze="x-sveltekit-invalidated",Qe="x-sveltekit-trailing-slash";function nt(t){return t instanceof ct||t instanceof It?t.status:500}function tn(t){return t instanceof It?t.text:"Internal Error"}const j=Ht(Jt)??{},J=Ht(Kt)??{},x={url:Dt({}),page:Dt({}),navigating:st(null),updated:Ge()};function Lt(t){j[t]=Rt()}function en(t,n){let e=t+1;for(;j[e];)delete j[e],e+=1;for(e=n+1;J[e];)delete J[e],e+=1}function q(t){return location.href=t.href,new Promise(()=>{})}function Ct(){}let lt,bt,at,U,Et,M;const ee=[],rt=[];let I=null;const ne=[],nn=[];let N=[],y={branch:[],error:null,url:null},Pt=!1,ot=!1,Vt=!0,Y=!1,G=!1,ae=!1,ft=!1,O,A,L,S,F;const H=new Set;let _t;async function gn(t,n,e){var r,o;document.URL!==location.href&&(location.href=location.href),M=t,lt=Ce(t),U=document.documentElement,Et=n,bt=t.nodes[0],at=t.nodes[1],bt(),at(),A=(r=history.state)==null?void 0:r[C],L=(o=history.state)==null?void 0:o[K],A||(A=L=Date.now(),history.replaceState({...history.state,[C]:A,[K]:L},""));const a=j[A];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),e?await fn(Et,e):cn(location.href,{replaceState:!0}),ln()}async function an(){if(await(_t||(_t=Promise.resolve())),!_t)return;_t=null;const t=Z(y.url,!0);I=null;const n=F={},e=t&&await Tt(t);if(!(!e||n!==F)){if(e.type==="redirect")return ut(new URL(e.location,y.url).href,{},1,n);e.props.page&&(S=e.props.page),y=e.state,re(),O.$set(e.props)}}function re(){ee.length=0,ft=!1}function oe(t){rt.some(n=>n==null?void 0:n.snapshot)&&(J[t]=rt.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function se(t){var n;(n=J[t])==null||n.forEach((e,a)=>{var r,o;(o=(r=rt[a])==null?void 0:r.snapshot)==null||o.restore(e)})}function qt(){Lt(A),jt(Jt,j),oe(L),jt(Kt,J)}async function ut(t,n,e,a){return Q({type:"goto",url:St(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:a,accept:()=>{n.invalidateAll&&(ft=!0)}})}async function ie(t){if(t.id!==(I==null?void 0:I.id)){const n={};H.add(n),I={id:t.id,token:n,promise:Tt({...t,preload:n}).then(e=>(H.delete(n),e.type==="loaded"&&e.state.error&&(I=null),e))}}return I.promise}async function yt(t){const n=lt.find(e=>e.exec(fe(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function ce(t,n){var r;y=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),S=t.props.page,O=new M.root({target:n,props:{...t.props,stores:x,components:rt},hydrate:!0}),se(L);const a={from:null,to:{params:y.params,route:{id:((r=y.route)==null?void 0:r.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};N.forEach(o=>o(a)),ot=!0}async function W({url:t,params:n,branch:e,status:a,error:r,route:o,form:i}){let s="never";if(P&&(t.pathname===P||t.pathname===P+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=be(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:r,route:o},props:{constructors:Xe(e).map(d=>d.node.component),page:S}};i!==void 0&&(c.props.form=i);let l={},u=!S,h=0;for(let d=0;d<Math.max(e.length,y.branch.length);d+=1){const g=e[d],f=y.branch[d];(g==null?void 0:g.data)!==(f==null?void 0:f.data)&&(u=!0),g&&(l={...l,...g.data},u&&(c.props[`data_${h}`]=l),h+=1)}return(!y.url||t.href!==y.url.href||y.error!==r||i!==void 0&&i!==S.form||u)&&(c.props.page={error:r,params:n,route:{id:(o==null?void 0:o.id)??null},state:{},status:a,url:new URL(t),form:i??null,data:u?l:S.data}),c}async function Ut({loader:t,parent:n,url:e,params:a,route:r,server_data_node:o}){var u,h,p;let i=null,s=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await t();if((u=l.universal)!=null&&u.load){let d=function(...f){for(const _ of f){const{href:b}=new URL(_,e);c.dependencies.add(b)}};const g={route:new Proxy(r,{get:(f,_)=>(s&&(c.route=!0),f[_])}),params:new Proxy(a,{get:(f,_)=>(s&&c.params.add(_),f[_])}),data:(o==null?void 0:o.data)??null,url:Se(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,_){let b;f instanceof Request?(b=f.url,_={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,..._}):b=f;const R=new URL(b,e);return s&&d(R.href),R.origin===e.origin&&(b=R.href.slice(e.origin.length)),ot?Te(b,R.href,_):xe(b,_)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,g)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((p=l.universal)==null?void 0:p.trailingSlash)??(o==null?void 0:o.slash)}}function Ft(t,n,e,a,r,o){if(ft)return!0;if(!r)return!1;if(r.parent&&t||r.route&&n||r.url&&e)return!0;for(const i of r.search_params)if(a.has(i))return!0;for(const i of r.params)if(o[i]!==y.params[i])return!0;for(const i of r.dependencies)if(ee.some(s=>s(new URL(i))))return!0;return!1}function xt(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function rn(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const a of e){const r=t.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(i=>o.includes(i))&&o.every(i=>r.includes(i))&&e.delete(a)}return e}function Mt({error:t,url:n,route:e,params:a}){return{type:"loaded",state:{error:t,url:n,route:e,params:a,branch:[]},props:{page:S,constructors:[]}}}async function Tt({id:t,invalidating:n,url:e,params:a,route:r,preload:o}){if((I==null?void 0:I.id)===t)return H.delete(I.token),I.promise;const{errors:i,layouts:s,leaf:c}=r,l=[...s,c];i.forEach(m=>m==null?void 0:m().catch(()=>{})),l.forEach(m=>m==null?void 0:m[1]().catch(()=>{}));let u=null;const h=y.url?t!==y.url.pathname+y.url.search:!1,p=y.route?r.id!==y.route.id:!1,d=rn(y.url,e);let g=!1;const f=l.map((m,v)=>{var T;const E=y.branch[v],k=!!(m!=null&&m[0])&&((E==null?void 0:E.loader)!==m[1]||Ft(g,p,h,d,(T=E.server)==null?void 0:T.uses,a));return k&&(g=!0),k});if(f.some(Boolean)){try{u=await he(e,f)}catch(m){const v=await V(m,{url:e,params:a,route:{id:t}});return H.has(o)?Mt({error:v,url:e,params:a,route:r}):dt({status:nt(m),error:v,url:e,route:r})}if(u.type==="redirect")return u}const _=u==null?void 0:u.nodes;let b=!1;const R=l.map(async(m,v)=>{var ht;if(!m)return;const E=y.branch[v],k=_==null?void 0:_[v];if((!k||k.type==="skip")&&m[1]===(E==null?void 0:E.loader)&&!Ft(b,p,h,d,(ht=E.universal)==null?void 0:ht.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ut({loader:m[1],url:e,params:a,route:r,parent:async()=>{var Ot;const Nt={};for(let pt=0;pt<v;pt+=1)Object.assign(Nt,(Ot=await R[pt])==null?void 0:Ot.data);return Nt},server_data_node:xt(k===void 0&&m[0]?{type:"skip"}:k??null,m[0]?E==null?void 0:E.server:void 0)})});for(const m of R)m.catch(()=>{});const w=[];for(let m=0;m<l.length;m+=1)if(l[m])try{w.push(await R[m])}catch(v){if(v instanceof te)return{type:"redirect",location:v.location};if(H.has(o))return Mt({error:await V(v,{params:a,url:e,route:{id:r.id}}),url:e,params:a,route:r});let E=nt(v),k;if(_!=null&&_.includes(v))E=v.status??E,k=v.error;else if(v instanceof ct)k=v.body;else{if(await x.updated.check())return await q(e);k=await V(v,{params:a,url:e,route:{id:r.id}})}const T=await le(m,w,i);return T?await W({url:e,params:a,branch:w.slice(0,T.idx).concat(T.node),status:E,error:k,route:r}):await de(e,{id:r.id},k,E)}else w.push(void 0);return await W({url:e,params:a,branch:w,status:200,error:null,route:r,form:n?void 0:null})}async function le(t,n,e){for(;t--;)if(e[t]){let a=t;for(;!n[a];)a-=1;try{return{idx:a+1,node:{node:await e[t](),loader:e[t],data:{},server:null,universal:null}}}catch{continue}}}async function dt({status:t,error:n,url:e,route:a}){const r={};let o=null;if(M.server_loads[0]===0)try{const l=await he(e,[!0]);if(l.type!=="data"||l.nodes[0]&&l.nodes[0].type!=="data")throw 0;o=l.nodes[0]??null}catch{(e.origin!==X||e.pathname!==location.pathname||Pt)&&await q(e)}const s=await Ut({loader:bt,url:e,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:xt(o)}),c={node:await at(),loader:at,universal:null,server:null,data:null};return await W({url:e,params:r,branch:[s,c],status:t,error:n,route:null})}function Z(t,n){if(!t||it(t,P))return;let e;try{e=M.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const a=fe(e);for(const r of lt){const o=r.exec(a);if(o)return{id:t.pathname+t.search,invalidating:n,route:r,params:ke(o),url:t}}}function fe(t){return Ee(t.slice(P.length)||"/")}function ue({url:t,type:n,intent:e,delta:a}){let r=!1;const o=ge(y,e,t,n);a!==void 0&&(o.navigation.delta=a);const i={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return Y||ne.forEach(s=>s(i)),r?null:o}async function Q({type:t,url:n,popped:e,keepfocus:a,noscroll:r,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Ct,block:u=Ct}){const h=Z(n,!1),p=ue({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!p){u();return}const d=A,g=L;l(),Y=!0,ot&&x.navigating.set(p.navigation),F=c;let f=h&&await Tt(h);if(!f){if(it(n,P))return await q(n);f=await de(n,{id:null},await V(new It(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,F!==c)return p.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await dt({status:500,error:await V(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return ut(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await x.updated.check()&&await q(n);if(re(),Lt(d),oe(g),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const w=o?0:1,m={[C]:A+=w,[K]:L+=w,[Yt]:i};(o?history.replaceState:history.pushState).call(history,m,"",n),o||en(A,L)}if(I=null,f.props.page.state=i,ot){y=f.state,f.props.page&&(f.props.page.url=n);const w=(await Promise.all(nn.map(m=>m(p.navigation)))).filter(m=>typeof m=="function");if(w.length>0){let m=function(){N=N.filter(v=>!w.includes(v))};w.push(m),N.push(...w)}O.$set(f.props),ae=!0}else ce(f,Et);const{activeElement:_}=document;await wt();const b=e?e.scroll:r?Rt():null;if(Vt){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const R=document.activeElement!==_&&document.activeElement!==document.body;!a&&!R&&kt(),Vt=!0,f.props.page&&(S=f.props.page),Y=!1,t==="popstate"&&se(L),p.fulfil(void 0),N.forEach(w=>w(p.navigation)),x.navigating.set(null)}async function de(t,n,e,a){return t.origin===X&&t.pathname===location.pathname&&!Pt?await dt({status:a,error:e,url:t,route:n}):await q(t)}function on(){let t;U.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{a(i,2)},20)});function n(o){a(o.composedPath()[0],1)}U.addEventListener("mousedown",n),U.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(yt(i.target.href),e.unobserve(i.target))},{threshold:0});function a(o,i){const s=Xt(o,U);if(!s)return;const{url:c,external:l,download:u}=vt(s,P);if(l||u)return;const h=et(s);if(!h.reload)if(i<=h.preload_data){const p=Z(c,!1);p&&ie(p)}else i<=h.preload_code&&yt(c.pathname)}function r(){e.disconnect();for(const o of U.querySelectorAll("a")){const{url:i,external:s,download:c}=vt(o,P);if(s||c)continue;const l=et(o);l.reload||(l.preload_code===tt.viewport&&e.observe(o),l.preload_code===tt.eager&&yt(i.pathname))}}N.push(r),r()}function V(t,n){if(t instanceof ct)return t.body;const e=nt(t),a=tn(t);return M.hooks.handleError({error:t,event:n,status:e,message:a})??{message:a}}function sn(t,n){ve(()=>(t.push(n),()=>{const e=t.indexOf(n);t.splice(e,1)}))}function mn(t){sn(N,t)}function cn(t,n={}){return t=St(t),t.origin!==X?Promise.reject(new Error("goto: invalid URL")):ut(t,n,0)}function _n(){return ft=!0,an()}async function yn(t){const n=St(t),e=Z(n,!1);if(!e)throw new Error(`Attempted to preload a URL that does not belong to this app: ${n}`);const a=await ie(e);if(a.type==="redirect")return{type:a.type,location:a.location};const{status:r,data:o}=a.props.page??S;return{type:a.type,status:r,data:o}}async function wn(t){if(t.type==="error"){const n=new URL(location.href),{branch:e,route:a}=y;if(!a)return;const r=await le(y.branch.length,e,a.errors);if(r){const o=await W({url:n,params:y.params,branch:e.slice(0,r.idx).concat(r.node),status:t.status??500,error:t.error,route:a});y=o.state,O.$set(o.props),wt().then(kt)}}else t.type==="redirect"?ut(t.location,{invalidateAll:!0},0):(O.$set({form:null,page:{...S,form:t.data,status:t.status}}),await wt(),O.$set({form:t.data}),t.type==="success"&&kt())}function ln(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let a=!1;if(qt(),!Y){const r=ge(y,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};ne.forEach(i=>i(o))}a?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&qt()}),(n=navigator.connection)!=null&&n.saveData||on(),U.addEventListener("click",e=>{var p;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const a=Xt(e.composedPath()[0],U);if(!a)return;const{url:r,external:o,target:i,download:s}=vt(a,P);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=et(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;if(o||c.reload){ue({url:r,type:"link"})?Y=!0:e.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===gt(location)){const[,d]=y.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(p=a.ownerDocument.getElementById(h))==null||p.scrollIntoView();return}if(G=!0,Lt(A),t(r),!c.replace_state)return;G=!1}e.preventDefault(),Q({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),U.addEventListener("submit",e=>{if(e.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(e.target),r=e.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const i=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(it(i,P))return;const s=e.target,c=et(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=r==null?void 0:r.getAttribute("name");u&&l.append(u,(r==null?void 0:r.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),Q({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var a;if((a=e.state)!=null&&a[C]){const r=e.state[C];if(F={},r===A)return;const o=j[r],i=e.state[Yt]??{},s=new URL(e.state[Me]??location.href),c=e.state[K],l=gt(location)===gt(y.url);if(c===L&&(ae||l)){t(s),j[A]=Rt(),o&&scrollTo(o.x,o.y),i!==S.state&&(S={...S,state:i},O.$set({page:S})),A=r;return}const h=r-A;await Q({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{A=r,L=c},block:()=>{history.go(-h)},nav_token:F})}else if(!G){const r=new URL(location.href);t(r)}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[C]:++A,[K]:L},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&x.navigating.set(null)});function t(e){y.url=e,x.page.set({...S,url:e}),x.page.notify()}}async function fn(t,{status:n=200,error:e,node_ids:a,params:r,route:o,data:i,form:s}){Pt=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Z(c,!1)||{});let l;try{const u=a.map(async(d,g)=>{const f=i[g];return f!=null&&f.uses&&(f.uses=pe(f.uses)),Ut({loader:M.nodes[d],url:c,params:r,route:o,parent:async()=>{const _={};for(let b=0;b<g;b+=1)Object.assign(_,(await u[b]).data);return _},server_data_node:xt(f)})}),h=await Promise.all(u),p=lt.find(({id:d})=>d===o.id);if(p){const d=p.layouts;for(let g=0;g<d.length;g++)d[g]||h.splice(g,0,void 0)}l=await W({url:c,params:r,branch:h,status:n,error:e,form:s,route:p??null})}catch(u){if(u instanceof te){await q(new URL(u.location,location.href));return}l=await dt({status:nt(u),error:await V(u,{url:c,params:r,route:o}),url:c,route:o})}l.props.page&&(l.props.page.state={}),ce(l,t)}async function he(t,n){var r;const e=new URL(t);e.pathname=Le(t.pathname),t.pathname.endsWith("/")&&e.searchParams.append(Qe,"1"),e.searchParams.append(Ze,n.map(o=>o?"1":"0").join(""));const a=await Bt(e.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ct(a.status,o)}return new Promise(async o=>{var h;const i=new Map,s=a.body.getReader(),c=new TextDecoder;function l(p){return Zt(p,{Promise:d=>new Promise((g,f)=>{i.set(d,{fulfil:g,reject:f})})})}let u="";for(;;){const{done:p,value:d}=await s.read();if(p&&!u)break;for(u+=!d&&u?`
|
2 |
+
`:c.decode(d,{stream:!0});;){const g=u.indexOf(`
|
3 |
+
`);if(g===-1)break;const f=JSON.parse(u.slice(0,g));if(u=u.slice(g+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(_=>{(_==null?void 0:_.type)==="data"&&(_.uses=pe(_.uses),_.data=l(_.data))}),o(f);else if(f.type==="chunk"){const{id:_,data:b,error:R}=f,w=i.get(_);i.delete(_),R?w.reject(l(R)):w.fulfil(l(b))}}}})}function pe(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function kt(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o<a.rangeCount;o+=1)r.push(a.getRangeAt(o));setTimeout(()=>{if(a.rangeCount===r.length){for(let o=0;o<a.rangeCount;o+=1){const i=r[o],s=a.getRangeAt(o);if(i.commonAncestorContainer!==s.commonAncestorContainer||i.startContainer!==s.startContainer||i.endContainer!==s.endContainer||i.startOffset!==s.startOffset||i.endOffset!==s.endOffset)return}a.removeAllRanges()}})}}}function ge(t,n,e,a){var c,l;let r,o;const i=new Promise((u,h)=>{r=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:a,complete:i},fulfil:r,reject:o}}export{hn as a,wn as b,mn as c,dn as d,yn as e,gn as f,cn as g,_n as i,pn as p,Ve as r,x as s,st as w};
|
_app/immutable/chunks/leaflet-src.CGhYRG7V.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_app/immutable/chunks/prism-svelte.DM7evm1x.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{P as e}from"./VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";const g="(if|else if|await|then|catch|each|html|debug)";e.languages.svelte=e.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:e.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},if:{pattern:new RegExp("{[#/]if(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(#if[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:e.languages.javascript}],keyword:/[#/]if|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+g+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+g+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:e.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:e.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:e.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:e.languages.javascript}});e.languages.svelte.tag.inside["attr-value"].inside.entity=e.languages.svelte.entity;e.hooks.add("wrap",a=>{a.type==="entity"&&(a.attributes.title=a.content.replace(/&/,"&"))});Object.defineProperty(e.languages.svelte.tag,"addInlined",{value:function(n,s){const t={};t["language-"+s]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[s]},t.cdata=/^<!\[CDATA\[|\]\]>$/i;const i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:t}};i["language-"+s]={pattern:/[\s\S]+/,inside:e.languages[s]};const r={};r[n]={pattern:RegExp(/(<__[\s\S]*?>)(?:<!\[CDATA\[[\s\S]*?\]\]>\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,n),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("svelte","cdata",r)}});e.languages.svelte.tag.addInlined("style","css");e.languages.svelte.tag.addInlined("script","javascript");
|
_app/immutable/chunks/stores.C99hE2Le.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{s as r}from"./entry.CAK-4a04.js";const e=()=>{const s=r;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},a={subscribe(s){return e().page.subscribe(s)}},i={subscribe(s){return e().navigating.subscribe(s)}};export{i as n,a as p};
|
_app/immutable/entry/app.C9INw6xA.js
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_app/immutable/nodes/0.BjDwDhFS.js","_app/immutable/chunks/index.rV6zwFgL.js","_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js","_app/immutable/chunks/entry.CAK-4a04.js","_app/immutable/chunks/scheduler.BZlHRu_0.js","_app/immutable/chunks/index.a_oafgNU.js","_app/immutable/chunks/preload-helper.D7HrI6pR.js","_app/immutable/assets/VennDiagram.Hmmox_0V.css","_app/immutable/chunks/button.PN_PjosU.js","_app/immutable/chunks/arrays.-mek-dcM.js","_app/immutable/chunks/stores.C99hE2Le.js","_app/immutable/chunks/index.CqVitEmB.js","_app/immutable/chunks/AccordionItem.BUs62Zj9.js","_app/immutable/assets/0.3s2JqZFs.css","_app/immutable/nodes/1.BWRZQi8Y.js","_app/immutable/nodes/2.BYLV8oTN.js","_app/immutable/nodes/3.DaQyX2Nu.js","_app/immutable/nodes/4.D925v1Dw.js","_app/immutable/chunks/AreaMap.EZVhuMjc.js","_app/immutable/chunks/Prismjs.DfOmTPCQ.js","_app/immutable/chunks/await_block.Ctm0iWyv.js","_app/immutable/nodes/5.TKt21e6H.js","_app/immutable/nodes/6.DqV0t9aU.js","_app/immutable/chunks/Button.abJVVkH2.js","_app/immutable/nodes/7.SLqCDfmJ.js","_app/immutable/nodes/8._oLCQNNW.js"])))=>i.map(i=>d[i]);
|
2 |
+
import{_ as v}from"../chunks/preload-helper.D7HrI6pR.js";import{s as q,a as C,b as u,c as M,k as g,f as h,S as z,r as B,e as F,d as G,g as H,j as R,T as N,t as K,i as Q,m as W,N as D,U as w,V as X}from"../chunks/scheduler.BZlHRu_0.js";import{S as Y,i as Z,b as m,d as O,t as p,g as P,c as b,a as I,m as k,e as E}from"../chunks/index.a_oafgNU.js";const y=o=>o instanceof Error?{message:o.message,stack:o.stack,name:o.name,cause:o.cause?y(o.cause):void 0}:(console.log("Page threw a non-error",{error:o}),JSON.parse(JSON.stringify(o))),x=o=>(console.error("Error in client-side routing",o),y(o.error)),ce={};function ee(o){let e,n,r;var i=o[1][0];function c(t,f){return{props:{data:t[3],form:t[2]}}}return i&&(e=w(i,c(o)),o[15](e)),{c(){e&&b(e.$$.fragment),n=u()},l(t){e&&I(e.$$.fragment,t),n=u()},m(t,f){e&&k(e,t,f),g(t,n,f),r=!0},p(t,f){if(f&2&&i!==(i=t[1][0])){if(e){P();const s=e;m(s.$$.fragment,1,0,()=>{E(s,1)}),O()}i?(e=w(i,c(t)),t[15](e),b(e.$$.fragment),p(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const s={};f&8&&(s.data=t[3]),f&4&&(s.form=t[2]),e.$set(s)}},i(t){r||(e&&p(e.$$.fragment,t),r=!0)},o(t){e&&m(e.$$.fragment,t),r=!1},d(t){t&&h(n),o[15](null),e&&E(e,t)}}}function te(o){let e,n,r;var i=o[1][0];function c(t,f){return{props:{data:t[3],$$slots:{default:[re]},$$scope:{ctx:t}}}}return i&&(e=w(i,c(o)),o[14](e)),{c(){e&&b(e.$$.fragment),n=u()},l(t){e&&I(e.$$.fragment,t),n=u()},m(t,f){e&&k(e,t,f),g(t,n,f),r=!0},p(t,f){if(f&2&&i!==(i=t[1][0])){if(e){P();const s=e;m(s.$$.fragment,1,0,()=>{E(s,1)}),O()}i?(e=w(i,c(t)),t[14](e),b(e.$$.fragment),p(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const s={};f&8&&(s.data=t[3]),f&65591&&(s.$$scope={dirty:f,ctx:t}),e.$set(s)}},i(t){r||(e&&p(e.$$.fragment,t),r=!0)},o(t){e&&m(e.$$.fragment,t),r=!1},d(t){t&&h(n),o[14](null),e&&E(e,t)}}}function ne(o){let e,n,r;var i=o[1][1];function c(t,f){return{props:{data:t[4],form:t[2]}}}return i&&(e=w(i,c(o)),o[13](e)),{c(){e&&b(e.$$.fragment),n=u()},l(t){e&&I(e.$$.fragment,t),n=u()},m(t,f){e&&k(e,t,f),g(t,n,f),r=!0},p(t,f){if(f&2&&i!==(i=t[1][1])){if(e){P();const s=e;m(s.$$.fragment,1,0,()=>{E(s,1)}),O()}i?(e=w(i,c(t)),t[13](e),b(e.$$.fragment),p(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const s={};f&16&&(s.data=t[4]),f&4&&(s.form=t[2]),e.$set(s)}},i(t){r||(e&&p(e.$$.fragment,t),r=!0)},o(t){e&&m(e.$$.fragment,t),r=!1},d(t){t&&h(n),o[13](null),e&&E(e,t)}}}function ie(o){let e,n,r;var i=o[1][1];function c(t,f){return{props:{data:t[4],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=w(i,c(o)),o[12](e)),{c(){e&&b(e.$$.fragment),n=u()},l(t){e&&I(e.$$.fragment,t),n=u()},m(t,f){e&&k(e,t,f),g(t,n,f),r=!0},p(t,f){if(f&2&&i!==(i=t[1][1])){if(e){P();const s=e;m(s.$$.fragment,1,0,()=>{E(s,1)}),O()}i?(e=w(i,c(t)),t[12](e),b(e.$$.fragment),p(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const s={};f&16&&(s.data=t[4]),f&65575&&(s.$$scope={dirty:f,ctx:t}),e.$set(s)}},i(t){r||(e&&p(e.$$.fragment,t),r=!0)},o(t){e&&m(e.$$.fragment,t),r=!1},d(t){t&&h(n),o[12](null),e&&E(e,t)}}}function se(o){let e,n,r;var i=o[1][2];function c(t,f){return{props:{data:t[5],form:t[2]}}}return i&&(e=w(i,c(o)),o[11](e)),{c(){e&&b(e.$$.fragment),n=u()},l(t){e&&I(e.$$.fragment,t),n=u()},m(t,f){e&&k(e,t,f),g(t,n,f),r=!0},p(t,f){if(f&2&&i!==(i=t[1][2])){if(e){P();const s=e;m(s.$$.fragment,1,0,()=>{E(s,1)}),O()}i?(e=w(i,c(t)),t[11](e),b(e.$$.fragment),p(e.$$.fragment,1),k(e,n.parentNode,n)):e=null}else if(i){const s={};f&32&&(s.data=t[5]),f&4&&(s.form=t[2]),e.$set(s)}},i(t){r||(e&&p(e.$$.fragment,t),r=!0)},o(t){e&&m(e.$$.fragment,t),r=!1},d(t){t&&h(n),o[11](null),e&&E(e,t)}}}function re(o){let e,n,r,i;const c=[ie,ne],t=[];function f(s,l){return s[1][2]?0:1}return e=f(o),n=t[e]=c[e](o),{c(){n.c(),r=u()},l(s){n.l(s),r=u()},m(s,l){t[e].m(s,l),g(s,r,l),i=!0},p(s,l){let _=e;e=f(s),e===_?t[e].p(s,l):(P(),m(t[_],1,1,()=>{t[_]=null}),O(),n=t[e],n?n.p(s,l):(n=t[e]=c[e](s),n.c()),p(n,1),n.m(r.parentNode,r))},i(s){i||(p(n),i=!0)},o(s){m(n),i=!1},d(s){s&&h(r),t[e].d(s)}}}function A(o){let e,n=o[7]&&L(o);return{c(){e=F("div"),n&&n.c(),this.h()},l(r){e=G(r,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=H(e);n&&n.l(i),i.forEach(h),this.h()},h(){R(e,"id","svelte-announcer"),R(e,"aria-live","assertive"),R(e,"aria-atomic","true"),N(e,"position","absolute"),N(e,"left","0"),N(e,"top","0"),N(e,"clip","rect(0 0 0 0)"),N(e,"clip-path","inset(50%)"),N(e,"overflow","hidden"),N(e,"white-space","nowrap"),N(e,"width","1px"),N(e,"height","1px")},m(r,i){g(r,e,i),n&&n.m(e,null)},p(r,i){r[7]?n?n.p(r,i):(n=L(r),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(r){r&&h(e),n&&n.d()}}}function L(o){let e;return{c(){e=K(o[8])},l(n){e=Q(n,o[8])},m(n,r){g(n,e,r)},p(n,r){r&256&&W(e,n[8])},d(n){n&&h(e)}}}function oe(o){let e,n,r,i,c;const t=[te,ee],f=[];function s(_,d){return _[1][1]?0:1}e=s(o),n=f[e]=t[e](o);let l=o[6]&&A(o);return{c(){n.c(),r=C(),l&&l.c(),i=u()},l(_){n.l(_),r=M(_),l&&l.l(_),i=u()},m(_,d){f[e].m(_,d),g(_,r,d),l&&l.m(_,d),g(_,i,d),c=!0},p(_,[d]){let V=e;e=s(_),e===V?f[e].p(_,d):(P(),m(f[V],1,1,()=>{f[V]=null}),O(),n=f[e],n?n.p(_,d):(n=f[e]=t[e](_),n.c()),p(n,1),n.m(r.parentNode,r)),_[6]?l?l.p(_,d):(l=A(_),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(_){c||(p(n),c=!0)},o(_){m(n),c=!1},d(_){_&&(h(r),h(i)),f[e].d(_),l&&l.d(_)}}}function fe(o,e,n){let{stores:r}=e,{page:i}=e,{constructors:c}=e,{components:t=[]}=e,{form:f}=e,{data_0:s=null}=e,{data_1:l=null}=e,{data_2:_=null}=e;z(r.page.notify);let d=!1,V=!1,T=null;B(()=>{const a=r.page.subscribe(()=>{d&&(n(7,V=!0),X().then(()=>{n(8,T=document.title||"untitled page")}))});return n(6,d=!0),a});function S(a){D[a?"unshift":"push"](()=>{t[2]=a,n(0,t)})}function $(a){D[a?"unshift":"push"](()=>{t[1]=a,n(0,t)})}function J(a){D[a?"unshift":"push"](()=>{t[1]=a,n(0,t)})}function U(a){D[a?"unshift":"push"](()=>{t[0]=a,n(0,t)})}function j(a){D[a?"unshift":"push"](()=>{t[0]=a,n(0,t)})}return o.$$set=a=>{"stores"in a&&n(9,r=a.stores),"page"in a&&n(10,i=a.page),"constructors"in a&&n(1,c=a.constructors),"components"in a&&n(0,t=a.components),"form"in a&&n(2,f=a.form),"data_0"in a&&n(3,s=a.data_0),"data_1"in a&&n(4,l=a.data_1),"data_2"in a&&n(5,_=a.data_2)},o.$$.update=()=>{o.$$.dirty&1536&&r.page.set(i)},[t,c,f,s,l,_,d,V,T,r,i,S,$,J,U,j]}class ue extends Y{constructor(e){super(),Z(this,e,fe,oe,q,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>v(()=>import("../nodes/0.BjDwDhFS.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13])),()=>v(()=>import("../nodes/1.BWRZQi8Y.js"),__vite__mapDeps([14,4,5,10,3,12,2,6,1,7,9])),()=>v(()=>import("../nodes/2.BYLV8oTN.js"),__vite__mapDeps([15,1,16,4,5])),()=>v(()=>import("../nodes/3.DaQyX2Nu.js"),__vite__mapDeps([16,4,5])),()=>v(()=>import("../nodes/4.D925v1Dw.js"),__vite__mapDeps([17,4,5,2,3,6,1,7,8,9,10,18,19,20])),()=>v(()=>import("../nodes/5.TKt21e6H.js"),__vite__mapDeps([21,4,5,2,3,6,1,7,8,9,10,18,19,20])),()=>v(()=>import("../nodes/6.DqV0t9aU.js"),__vite__mapDeps([22,4,5,2,3,6,1,7,23])),()=>v(()=>import("../nodes/7.SLqCDfmJ.js"),__vite__mapDeps([24,4,5,2,3,6,1,7,20])),()=>v(()=>import("../nodes/8._oLCQNNW.js"),__vite__mapDeps([25,4,5,2,3,6,1,7,23,11,12,9,19]))],pe=[],de={"/":[4],"/borough/[borough]":[5],"/explore/console":[6,[2]],"/explore/schema":[7,[2]],"/settings":[-9,[3]]},he={handleError:x||(({error:o})=>{console.error(o)}),reroute:()=>{}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads};
|
_app/immutable/entry/start.GLpCEoHP.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{f as a}from"../chunks/entry.CAK-4a04.js";export{a as start};
|
_app/immutable/nodes/0.BjDwDhFS.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_app/immutable/nodes/1.BWRZQi8Y.js
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{s as J,e as m,a as x,d as _,g,c as T,f as u,j as h,k as d,l as p,B as M,H as A,I as Q,b as P,n as W,t as y,i as C,m as w,u as N}from"../chunks/scheduler.BZlHRu_0.js";import{S as K,i as L,c as I,a as S,m as j,t as v,g as D,b as E,d as U,e as H,f as z}from"../chunks/index.a_oafgNU.js";import{p as X}from"../chunks/stores.C99hE2Le.js";import{A as Y,a as Z}from"../chunks/AccordionItem.BUs62Zj9.js";import{I as tt,a as et,f as F}from"../chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import"../chunks/entry.CAK-4a04.js";function O(f){let t,o="Copied to clipboard",s,n;return{c(){t=m("p"),t.textContent=o,this.h()},l(a){t=_(a,"P",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-1dmvowc"&&(t.textContent=o),this.h()},h(){h(t,"class","absolute -bottom-14 right-0 text-sm bg-white/80 w-[17ch] text-center font-sans p-2 border border-gray-950 rounded")},m(a,l){d(a,t,l),n=!0},i(a){n||(a&&Q(()=>{n&&(s||(s=z(t,F,{duration:250},!0)),s.run(1))}),n=!0)},o(a){a&&(s||(s=z(t,F,{duration:250},!1)),s.run(0)),n=!1},d(a){a&&u(t),a&&s&&s.end()}}}function st(f){let t,o,s,n,a,l,i,e=f[0]&&O();return n=new tt({props:{src:et,class:"w-4 h-4"}}),{c(){t=m("div"),e&&e.c(),o=x(),s=m("button"),I(n.$$.fragment),this.h()},l(r){t=_(r,"DIV",{class:!0});var c=g(t);e&&e.l(c),o=T(c),s=_(c,"BUTTON",{class:!0,title:!0});var k=g(s);S(n.$$.fragment,k),k.forEach(u),c.forEach(u),this.h()},h(){h(s,"class","bg-white/80 border border-gray-950 rounded p-2 hover:bg-gray-200/80 active:bg-gray-400/80"),h(s,"title","Copy to Clipboard"),h(t,"class","relative")},m(r,c){d(r,t,c),e&&e.m(t,null),p(t,o),p(t,s),j(n,s,null),a=!0,l||(i=M(s,"click",f[1]),l=!0)},p(r,[c]){r[0]?e?c&1&&v(e,1):(e=O(),e.c(),v(e,1),e.m(t,o)):e&&(D(),E(e,1,1,()=>{e=null}),U())},i(r){a||(v(e),v(n.$$.fragment,r),a=!0)},o(r){E(e),E(n.$$.fragment,r),a=!1},d(r){r&&u(t),e&&e.d(),H(n),l=!1,i()}}}function rt(f,t,o){let{textToCopy:s=""}=t,n=!1;const a=()=>{navigator.clipboard.writeText(s),o(0,n=!0),setTimeout(()=>o(0,n=!1),1e3)};return f.$$set=l=>{"textToCopy"in l&&o(2,s=l.textToCopy)},[n,a,s]}class nt extends K{constructor(t){super(),L(this,t,rt,st,J,{textToCopy:2})}}function ot(f){let t,o="Unknown Error Encountered",s,n,a,l=f[0].status+"",i;return{c(){t=m("h1"),t.textContent=o,s=x(),n=m("span"),a=y("HTTP "),i=y(l),this.h()},l(e){t=_(e,"H1",{"data-svelte-h":!0}),A(t)!=="svelte-blh3ny"&&(t.textContent=o),s=T(e),n=_(e,"SPAN",{class:!0});var r=g(n);a=C(r,"HTTP "),i=C(r,l),r.forEach(u),this.h()},h(){h(n,"class","font-mono text-base")},m(e,r){d(e,t,r),d(e,s,r),d(e,n,r),p(n,a),p(n,i)},p(e,r){r&1&&l!==(l=e[0].status+"")&&w(i,l)},i:N,o:N,d(e){e&&(u(t),u(s),u(n))}}}function at(f){let t,o="Application Error",s,n,a,l,i=f[0].error.message&&R(f),e=(f[0].error.stack||f[0].error.cause)&&G(f);return{c(){t=m("h1"),t.textContent=o,s=x(),i&&i.c(),n=x(),e&&e.c(),a=P(),this.h()},l(r){t=_(r,"H1",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-zh66lr"&&(t.textContent=o),s=T(r),i&&i.l(r),n=T(r),e&&e.l(r),a=P(),this.h()},h(){h(t,"class","mt-0 mb-8 py-0")},m(r,c){d(r,t,c),d(r,s,c),i&&i.m(r,c),d(r,n,c),e&&e.m(r,c),d(r,a,c),l=!0},p(r,c){r[0].error.message?i?i.p(r,c):(i=R(r),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),r[0].error.stack||r[0].error.cause?e?(e.p(r,c),c&1&&v(e,1)):(e=G(r),e.c(),v(e,1),e.m(a.parentNode,a)):e&&(D(),E(e,1,1,()=>{e=null}),U())},i(r){l||(v(e),l=!0)},o(r){E(e),l=!1},d(r){r&&(u(t),u(s),u(n),u(a)),i&&i.d(r),e&&e.d(r)}}}function lt(f){let t,o="Page Not Found",s,n,a,l=f[0].status+"",i,e,r,c=f[0].url.pathname+"",k,B;return{c(){t=m("h1"),t.textContent=o,s=x(),n=m("p"),a=m("span"),i=y(l),e=y(`: The page
|
2 |
+
`),r=m("span"),k=y(c),B=y(" can't be found in the project."),this.h()},l(b){t=_(b,"H1",{class:!0,"data-svelte-h":!0}),A(t)!=="svelte-s9jbdv"&&(t.textContent=o),s=T(b),n=_(b,"P",{});var $=g(n);a=_($,"SPAN",{class:!0});var V=g(a);i=C(V,l),V.forEach(u),e=C($,`: The page
|
3 |
+
`),r=_($,"SPAN",{class:!0});var q=g(r);k=C(q,c),q.forEach(u),B=C($," can't be found in the project."),$.forEach(u),this.h()},h(){h(t,"class","mt-0 mb-8 py-0"),h(a,"class","font-mono text-base"),h(r,"class","font-mono text-base bg-gray-200")},m(b,$){d(b,t,$),d(b,s,$),d(b,n,$),p(n,a),p(a,i),p(n,e),p(n,r),p(r,k),p(n,B)},p(b,$){$&1&&l!==(l=b[0].status+"")&&w(i,l),$&1&&c!==(c=b[0].url.pathname+"")&&w(k,c)},i:N,o:N,d(b){b&&(u(t),u(s),u(n))}}}function R(f){let t,o,s=f[0].status+"",n,a,l=f[0].error.message+"",i;return{c(){t=m("p"),o=m("span"),n=y(s),a=y(":"),i=y(l),this.h()},l(e){t=_(e,"P",{class:!0});var r=g(t);o=_(r,"SPAN",{class:!0});var c=g(o);n=C(c,s),c.forEach(u),a=C(r,":"),i=C(r,l),r.forEach(u),this.h()},h(){h(o,"class","font-mono text-base"),h(t,"class","font-mono text-sm bg-gray-200 px-2 py-2")},m(e,r){d(e,t,r),p(t,o),p(o,n),p(t,a),p(t,i)},p(e,r){r&1&&s!==(s=e[0].status+"")&&w(n,s),r&1&&l!==(l=e[0].error.message+"")&&w(i,l)},d(e){e&&u(t)}}}function G(f){let t,o;return t=new Y({props:{$$slots:{default:[ct]},$$scope:{ctx:f}}}),{c(){I(t.$$.fragment)},l(s){S(t.$$.fragment,s)},m(s,n){j(t,s,n),o=!0},p(s,n){const a={};n&10&&(a.$$scope={dirty:n,ctx:s}),t.$set(a)},i(s){o||(v(t.$$.fragment,s),o=!0)},o(s){E(t.$$.fragment,s),o=!1},d(s){H(t,s)}}}function it(f){let t,o,s,n,a,l,i;return s=new nt({props:{textToCopy:f[1]}}),{c(){t=m("div"),o=m("span"),I(s.$$.fragment),n=x(),a=m("pre"),l=y(f[1]),this.h()},l(e){t=_(e,"DIV",{class:!0});var r=g(t);o=_(r,"SPAN",{class:!0});var c=g(o);S(s.$$.fragment,c),c.forEach(u),n=T(r),a=_(r,"PRE",{class:!0});var k=g(a);l=C(k,f[1]),k.forEach(u),r.forEach(u),this.h()},h(){h(o,"class","absolute top-2 right-2"),h(a,"class","font-mono text-sm bg-gray-200 px-2 py-2 overflow-auto"),h(t,"class","relative")},m(e,r){d(e,t,r),p(t,o),j(s,o,null),p(t,n),p(t,a),p(a,l),i=!0},p(e,r){const c={};r&2&&(c.textToCopy=e[1]),s.$set(c),(!i||r&2)&&w(l,e[1])},i(e){i||(v(s.$$.fragment,e),i=!0)},o(e){E(s.$$.fragment,e),i=!1},d(e){e&&u(t),H(s)}}}function ct(f){let t,o;return t=new Z({props:{title:"Error Details",$$slots:{default:[it]},$$scope:{ctx:f}}}),{c(){I(t.$$.fragment)},l(s){S(t.$$.fragment,s)},m(s,n){j(t,s,n),o=!0},p(s,n){const a={};n&10&&(a.$$scope={dirty:n,ctx:s}),t.$set(a)},i(s){o||(v(t.$$.fragment,s),o=!0)},o(s){E(t.$$.fragment,s),o=!1},d(s){H(t,s)}}}function ft(f){let t,o,s,n;const a=[lt,at,ot],l=[];function i(e,r){return e[0].status===404?0:e[0].status===500?1:2}return t=i(f),o=l[t]=a[t](f),{c(){o.c(),s=P()},l(e){o.l(e),s=P()},m(e,r){l[t].m(e,r),d(e,s,r),n=!0},p(e,[r]){let c=t;t=i(e),t===c?l[t].p(e,r):(D(),E(l[c],1,1,()=>{l[c]=null}),U(),o=l[t],o?o.p(e,r):(o=l[t]=a[t](e),o.c()),v(o,1),o.m(s.parentNode,s))},i(e){n||(v(o),n=!0)},o(e){E(o),n=!1},d(e){e&&u(s),l[t].d(e)}}}function ut(f,t,o){let s,n;W(f,X,l=>o(0,n=l));{const l=document.getElementById("__evidence_project_splash");l==null||l.remove()}const a=l=>{let i="";return l.stack&&(i+=l.stack),l.cause&&(i+=`
|
4 |
+
|
5 |
+
Caused By:
|
6 |
+
`,i+=a(l.cause).split(`
|
7 |
+
`).join(`
|
8 |
+
`)),i};return f.$$.update=()=>{f.$$.dirty&1&&o(1,s=a(n.error))},[n,s]}class $t extends K{constructor(t){super(),L(this,t,ut,ft,J,{})}}export{$t as component};
|
_app/immutable/nodes/4.D925v1Dw.js
ADDED
@@ -0,0 +1,136 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{s as xe,z as ri,e as ae,d as oe,g as ye,f as S,j as G,k as j,D as si,E as ai,F as oi,q as ni,b as Ce,u as Le,a8 as Pi,T as M,J as lt,K as rt,a as Y,c as K,L as Ri,H as Tn,l as ke,I as En,B as tt,a9 as vi,a7 as jn,aa as pt,ab as qi,O as Yt,P as Kt,t as An,i as On,m as pn,y as Gn,n as li,ad as Bn,h as Pn,o as qn,p as Nn,r as Rn}from"../chunks/scheduler.BZlHRu_0.js";import{S as He,i as We,t as O,b as I,j as xn,c as v,a as $,m as ee,g as Ie,d as Ee,e as te}from"../chunks/index.a_oafgNU.js";import{M as jt,N as Me,O as xi,R as Hi,S as Hn,U as Wn,V as Un,f as Vn,W as Ln,X as Xn,Y as kt,Z as Yn,_ as Kn,$ as pi,a0 as $i,a1 as en,a2 as tn,a3 as Gi,a4 as Qn,a5 as Re,a6 as it,a7 as Qt,a8 as nt,a9 as Mn,aa as Dn,ab as zn,ac as Zn,Q as Ke,H as Jn,K as vn,ad as $n,D as el,s as tl,p as il,ae as nn,af as Zt,r as ln,C as nl}from"../chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import{w as Ni}from"../chunks/entry.CAK-4a04.js";import{e as ll,h as Ge,p as rl}from"../chunks/button.PN_PjosU.js";import{p as sl}from"../chunks/stores.C99hE2Le.js";import{D as al,B as Jt,A as ol,Q as Pt}from"../chunks/AreaMap.EZVhuMjc.js";function rn(n){return t=>t.map(i=>{var r;const l={},s=Object.keys(i);for(const a of s){const o=(r=n[a])!=null?r:a;l[o]=i[a]}return l})}function fl(n,e){if(n.length===0||e.length===0)return{};const t=Object.keys(n[0]),i=Object.keys(e[0]),r={};for(const l of t)i.includes(l)&&(r[l]=l);return r}function ul(n,e,t){for(const i in t){const r=t[i];if(n[r]!==e[i])return!1}return!0}function cl(n,e){return i=>{if(!n.length)return i;const r=fl(i,n),l=Object.keys(n[0]);return i.flatMap(a=>{const o=n.filter(y=>ul(a,y,r));if(o.length)return o.map(y=>({...a,...y}));const f=Object.fromEntries(l.filter(y=>a[y]==null).map(y=>[y,void 0]));return{...a,...f}})}}function sn(n){return t=>{const i=t.map(r=>({...r}));for(const r in n){const l=n[r],s=typeof l=="function"?l(i):l,a=s!=null&&s[Symbol.iterator]&&typeof s!="string"?s:t.map(()=>s);let o=-1;for(const f of i)f[r]=a[++o]}return i}}function ml(n){return t=>{const i=yl(n),r=[];for(const l in i){const s=i[l];let a;typeof s=="function"?a=s(t):Array.isArray(s)?a=s:a=Array.from(new Set(t.map(o=>o[l]))),r.push(a.map(o=>({[l]:o})))}return dl(r)}}function dl(n){function e(i,r,l){if(!l.length&&r!=null){i.push(r);return}const s=l[0],a=l.slice(1);for(const o of s)e(i,{...r,...o},a)}const t=[];return e(t,null,n),t}function yl(n){if(Array.isArray(n)){const e={};for(const t of n)e[t]=t;return e}else if(typeof n=="object")return n;return{[n]:n}}function hl(n){return t=>{const i=[];for(const r of t){const l={...r};for(const s in n)l[s]==null&&(l[s]=n[s]);i.push(l)}return i}}function an(n,e){return i=>{const r=ml(n)(i),l=cl(i)(r);return e?hl(e)(l):l}}function on(n,e,t){return n==null||e==null?void 0:e===0&&n===0?0:!t&&e===0?void 0:n/e}function fn(n,e,t){const i=typeof n=="function"?n:a=>a[n],r=a=>a[e],{predicate:l,allowDivideByZero:s}={};return l==null?(a,o,f)=>{const y=r(a),c=i(a,o,f);return on(c,y,s)}:(a,o,f)=>{if(!l(a,o,f))return;const y=r(a),c=i(a,o,f);return on(c,y,s)}}function gl(n){let e,t,i;const r=n[5].default,l=ri(r,n,n[4],null);return{c(){e=ae("div"),l&&l.c(),this.h()},l(s){e=oe(s,"DIV",{class:!0});var a=ye(e);l&&l.l(a),a.forEach(S),this.h()},h(){G(e,"class",t="grid "+n[2][n[0]]+" "+n[3][n[1]])},m(s,a){j(s,e,a),l&&l.m(e,null),i=!0},p(s,[a]){l&&l.p&&(!i||a&16)&&si(l,r,s,s[4],i?oi(r,s[4],a,null):ai(s[4]),null),(!i||a&3&&t!==(t="grid "+s[2][s[0]]+" "+s[3][s[1]]))&&G(e,"class",t)},i(s){i||(O(l,s),i=!0)},o(s){I(l,s),i=!1},d(s){s&&S(e),l&&l.d(s)}}}function bl(n,e,t){let{$$slots:i={},$$scope:r}=e,{cols:l=2}=e,{gapSize:s="md"}=e;const a=Object.freeze({1:"grid-cols-1",2:"grid-cols-1 sm:grid-cols-2",3:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3",4:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4",5:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-5",6:"grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-6"}),o=Object.freeze({none:"gap-0",sm:"gap-2",md:"gap-4",lg:"gap-8"}),f=Object.freeze({none:0,sm:8,md:16,lg:32});let y=`grid-${Date.now()}-${Math.round(Math.random()*1e3)}`,c=f[s];return ni("gridConfig",{gridId:y,cols:l,gapWidth:c}),n.$$set=g=>{"cols"in g&&t(0,l=g.cols),"gapSize"in g&&t(1,s=g.gapSize),"$$scope"in g&&t(4,r=g.$$scope)},[l,s,a,o,r,i]}class _l extends He{constructor(e){super(),We(this,e,bl,gl,xe,{cols:0,gapSize:1})}}const vt=Me.grey500,$t=Me.grey500,ei=Me.grey500,ti=Me.grey200,un="white",wl=Me.grey500,kl=Me.grey600,Cl=Me.grey500,Sl=Me.grey400,Tl="white",Al=Me.grey900,Ol=Me.grey800,Ll=Me.grey700,Wi={darkMode:!1,textStyle:{fontFamily:["Inter","sans-serif"]},grid:{left:"0%",right:"4%",bottom:"0%",top:"15%",containLabel:!0},color:jt,backgroundColor:"rgba(255, 255, 255, 0)",title:{padding:0,itemGap:7,textStyle:{fontSize:14,color:Ol},subtextStyle:{fontSize:13,color:Ll,overflow:"break"},top:"0%"},line:{itemStyle:{borderWidth:0},lineStyle:{width:2,join:"round"},symbolSize:0,symbol:"circle",smooth:!1},radar:{itemStyle:{borderWidth:0},lineStyle:{width:2},symbolSize:0,symbol:"circle",smooth:!1},pie:{itemStyle:{borderWidth:0,borderColor:"#cccccc"}},scatter:{itemStyle:{borderWidth:0,borderColor:"#cccccc"}},boxplot:{itemStyle:{borderWidth:1.5}},parallel:{itemStyle:{borderWidth:0,borderColor:"#cccccc"}},sankey:{itemStyle:{borderWidth:0,borderColor:"#cccccc"}},funnel:{itemStyle:{borderWidth:0,borderColor:"#cccccc"}},gauge:{itemStyle:{borderWidth:0,borderColor:"#cccccc"}},candlestick:{itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderWidth:1}},graph:{itemStyle:{borderWidth:0,borderColor:"#cccccc"},lineStyle:{width:1,color:"#aaaaaa"},symbolSize:0,symbol:"circle",smooth:!1,color:["#923d59","#488f96","#518eca","#b3a9a0","#ffc857","#495867","#bfdbf7","#bc4749","#eeebd0"],label:{color:"#f2f2f2"}},map:{itemStyle:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},label:{color:"#000"},emphasis:{itemStyle:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},geo:{itemStyle:{areaColor:"#eee",borderColor:"#444",borderWidth:.5},label:{color:"#000"},emphasis:{itemStyle:{areaColor:"rgba(255,215,0,0.8)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},categoryAxis:{axisLine:{show:!0,lineStyle:{color:vt}},axisTick:{show:!1,lineStyle:{color:$t},length:3,alignWithLabel:!0},axisLabel:{show:!0,color:ei},splitLine:{show:!1,lineStyle:{color:[ti]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},valueAxis:{axisLine:{show:!1,lineStyle:{color:vt}},axisTick:{show:!1,lineStyle:{color:$t},length:2},axisLabel:{show:!0,color:ei},splitLine:{show:!0,lineStyle:{color:[ti],width:1}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}},nameTextStyle:{backgroundColor:un}},logAxis:{axisLine:{show:!1,lineStyle:{color:vt}},axisTick:{show:!1,lineStyle:{color:$t},length:2},axisLabel:{show:!0,color:ei},splitLine:{show:!0,lineStyle:{color:[ti]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}},nameTextStyle:{backgroundColor:un}},timeAxis:{axisLine:{show:!0,lineStyle:{color:vt}},axisTick:{show:!0,lineStyle:{color:$t},length:3},axisLabel:{show:!0,color:ei},splitLine:{show:!1,lineStyle:{color:[ti]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},toolbox:{iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#459cde"}}},legend:{textStyle:{padding:[0,0,0,-7],color:wl},icon:"circle",pageIcons:{horizontal:["M 17 3 h 2 c 0.386 0 0.738 0.223 0.904 0.572 s 0.115 0.762 -0.13 1.062 L 11.292 15 l 8.482 10.367 c 0.245 0.299 0.295 0.712 0.13 1.062 S 19.386 27 19 27 h -2 c -0.3 0 -0.584 -0.135 -0.774 -0.367 l -9 -11 c -0.301 -0.369 -0.301 -0.898 0 -1.267 l 9 -11 C 16.416 3.135 16.7 3 17 3 Z","M 12 27 h -2 c -0.386 0 -0.738 -0.223 -0.904 -0.572 s -0.115 -0.762 0.13 -1.062 L 17.708 15 L 9.226 4.633 c -0.245 -0.299 -0.295 -0.712 -0.13 -1.062 S 9.614 3 10 3 h 2 c 0.3 0 0.584 0.135 0.774 0.367 l 9 11 c 0.301 0.369 0.301 0.898 0 1.267 l -9 11 C 12.584 26.865 12.3 27 12 27 Z"]},pageIconColor:kl,pageIconSize:12,pageTextStyle:{color:Cl},pageButtonItemGap:-2,animationDurationUpdate:300},tooltip:{axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}},borderRadius:4,borderWidth:1,borderColor:Sl,backgroundColor:Tl,textStyle:{color:Al,fontSize:12,fontWeight:400},padding:6},timeline:{lineStyle:{color:"#e3e3e3",width:2},itemStyle:{color:"#d6d6d6",borderWidth:1},controlStyle:{color:"#bfbfbf",borderColor:"#bfbfbf",borderWidth:1},checkpointStyle:{color:"#8f8f8f",borderColor:"#ffffff"},label:{color:"#c9c9c9"},emphasis:{itemStyle:{color:"#9c9c9c"},controlStyle:{color:"#bfbfbf",borderColor:"#bfbfbf",borderWidth:1},label:{color:"#c9c9c9"}}},visualMap:{color:["#c41621","#e39588","#f5ed98"]},dataZoom:{handleSize:"undefined%",textStyle:{}},markPoint:{label:{color:"#f2f2f2"},emphasis:{label:{color:"#f2f2f2"}}}},Ct=Symbol.for("__evidence-chart-window-debug__"),Ml=(n,e)=>{window[Ct]||(window[Ct]={}),window[Ct][n]=e},Dl=n=>{window[Ct]||(window[Ct]={}),delete window[Ct][n]},wt=500,zl=(n,e)=>{var T;const t=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)&&n.clientWidth*3*n.clientHeight*3>16777215;xi("evidence-light",Wi);const i=Hi(n,"evidence-light",{renderer:t?"svg":e.renderer??"canvas"});Ml(i.id,i),e.connectGroup&&(i.group=e.connectGroup,Hn(e.connectGroup));const r=()=>{if(e.seriesColors){const h=i.getOption();if(!h)return;const b={...h};for(const _ of Object.keys(e.seriesColors)){const A=h.series.findIndex(L=>L.name===_);A!==-1&&(b.series[A]={...b.series[A],itemStyle:{...b.series[A].itemStyle,color:e.seriesColors[_]}})}i.setOption(b)}},l=()=>{e.echartsOptions&&i.setOption({...e.echartsOptions})},s=()=>{let h=[];if(e.seriesOptions){const b=e.config.series.reduce((_,{evidenceSeriesType:A},L)=>((A==="reference_line"||A==="reference_area"||A==="reference_point")&&_.push(L),_),[]);for(let _=0;_<e.config.series.length;_++)b.includes(_)?h.push({}):h.push({...e.seriesOptions});i.setOption({series:h})}};i.setOption({...e.config,animationDuration:wt,animationDurationUpdate:wt}),r(),l(),s();const a=e.dispatch;i.on("click",function(h){a("click",h)});const o=n.parentElement,f=Wn(()=>{i.resize({animation:{duration:wt}}),c()},100);let y;window.ResizeObserver&&o?(y=new ResizeObserver(f),y.observe(o)):window.addEventListener("resize",f);const c=()=>{if(e.showAllXAxisLabels){const h=i.getOption();if(!h)return;const b=new Set(h.series.flatMap(L=>{var D;return(D=L.data)==null?void 0:D.map(z=>z[0])})),_=4/5,A=(n==null?void 0:n.clientWidth)??0;if(!e.swapXY){const L={xAxis:{axisLabel:{interval:0,overflow:"truncate",width:A*_/b.size}}};i.setOption(L)}}},g=h=>{e=h,i.setOption({...e.config,animationDuration:wt,animationDurationUpdate:wt},!0),r(),l(),s(),i.resize({animation:{duration:wt}}),c()};return f(),window[T=Symbol.for("chart renders")]??(window[T]=0),window[Symbol.for("chart renders")]++,{update(h){window[Symbol.for("chart renders")]++,g(h)},destroy(){y?y.unobserve(o):window.removeEventListener("resize",f),i.dispose(),Dl(i.id)}}},Fl=(n,e)=>{xi("evidence-light",Wi);const t=Hi(n,"evidence-light",{renderer:"canvas"});e.config.animation=!1,t.setOption(e.config);const i=()=>{if(e.seriesColors){const f=t.getOption();if(!f)return;const y={...f};for(const c of Object.keys(e.seriesColors)){const g=f.series.findIndex(T=>T.name===c);g!==-1&&(y.series[g]={...y.series[g],itemStyle:{...y.series[g].itemStyle,color:e.seriesColors[c]}})}t.setOption(y)}},r=()=>{e.echartsOptions&&t.setOption({...e.echartsOptions})},l=()=>{let f=[];if(e.seriesOptions){const y=e.config.series.reduce((c,{evidenceSeriesType:g},T)=>((g==="reference_line"||g==="reference_area"||g==="reference_point")&&c.push(T),c),[]);for(let c=0;c<e.config.series.length;c++)y.includes(c)?f.push({}):f.push({...e.seriesOptions});t.setOption({series:f})}};r(),i(),l();let s=t.getConnectedDataURL({type:"png",pixelRatio:3,backgroundColor:"white",excludeComponents:["toolbox"]});const a=new Date,o=new Date(a.getTime()-a.getTimezoneOffset()*6e4).toISOString().slice(0,19).replaceAll(":","-");return Un(s,(e.evidenceChartTitle??e.queryID??"evidence-chart")+`_${o}.png`),t.dispose(),{destroy(){t.dispose()}}},Gt=(n,e)=>{xi("evidence-light",Wi);const{config:t,ratio:i,echartsOptions:r,seriesOptions:l,seriesColors:s,isMap:a,extraHeight:o,width:f}=e;let y={renderer:"canvas"};a&&(y.height=f*.5+o,n&&n.parentNode&&(n.style.height=y.height+"px",n.parentNode.style.height=y.height+"px"));const c=Hi(n,"evidence-light",y);t.animation=!1,c.setOption(t),r&&c.setOption(r);const g=()=>{if(s){const _=c.getOption();if(!_)return;const A={..._};for(const L of Object.keys(s)){const D=_.series.findIndex(z=>z.name===L);D!==-1&&(A.series[D]={...A.series[D],itemStyle:{...A.series[D].itemStyle,color:s[L]}})}c.setOption(A)}},T=()=>{r&&c.setOption({...r})},h=()=>{let _=[];if(l){const A=t.series.reduce((L,{evidenceSeriesType:D},z)=>((D==="reference_line"||D==="reference_area"||D==="reference_point")&&L.push(z),L),[]);for(let L=0;L<t.series.length;L++)A.includes(L)?_.push({}):_.push({...l});c.setOption({series:_})}};T(),g(),h();let b=c.getConnectedDataURL({type:"jpeg",pixelRatio:i,backgroundColor:"#fff",excludeComponents:["toolbox"]});n.innerHTML=`<img src=${b} width="100%" style="
|
2 |
+
position: absolute;
|
3 |
+
top: 0;
|
4 |
+
user-select: all;
|
5 |
+
-webkit-user-select: all;
|
6 |
+
-moz-user-select: all;
|
7 |
+
-ms-user-select: all;
|
8 |
+
" />`,e.config.animation=!0};function Il(n){let e;function t(l,s){return l[10]?pl:jl}let i=t(n),r=i(n);return{c(){r.c(),e=Ce()},l(l){r.l(l),e=Ce()},m(l,s){r.m(l,s),j(l,e,s)},p(l,s){i===(i=t(l))&&r?r.p(l,s):(r.d(1),r=i(l),r&&(r.c(),r.m(e.parentNode,e)))},d(l){l&&S(e),r.d(l)}}}function El(n){let e,t,i,r;return{c(){e=ae("div"),this.h()},l(l){e=oe(l,"DIV",{class:!0,style:!0}),ye(e).forEach(S),this.h()},h(){G(e,"class","chart"),M(e,"height",n[1]),M(e,"width",n[2]),M(e,"margin-left","0"),M(e,"margin-top","15px"),M(e,"margin-bottom","10px"),M(e,"overflow","visible"),M(e,"break-inside","avoid")},m(l,s){j(l,e,s),i||(r=lt(t=Gt.call(null,e,{config:n[0],ratio:2,echartsOptions:n[5],seriesOptions:n[6],seriesColors:n[7]})),i=!0)},p(l,s){s&2&&M(e,"height",l[1]),s&4&&M(e,"width",l[2]),t&&rt(t.update)&&s&225&&t.update.call(null,{config:l[0],ratio:2,echartsOptions:l[5],seriesOptions:l[6],seriesColors:l[7]})},d(l){l&&S(e),i=!1,r()}}}function jl(n){let e,t,i,r,l,s,a;return{c(){e=ae("div"),i=Y(),r=ae("div"),this.h()},l(o){e=oe(o,"DIV",{class:!0,style:!0}),ye(e).forEach(S),i=K(o),r=oe(o,"DIV",{class:!0,style:!0}),ye(r).forEach(S),this.h()},h(){G(e,"class","chart md:hidden"),M(e,"height",n[1]),M(e,"width","650px"),M(e,"margin-left","0"),M(e,"margin-top","15px"),M(e,"margin-bottom","10px"),M(e,"overflow","visible"),M(e,"break-inside","avoid"),G(r,"class","chart hidden md:block"),M(r,"height",n[1]),M(r,"width","841px"),M(r,"margin-left","0"),M(r,"margin-top","15px"),M(r,"margin-bottom","10px"),M(r,"overflow","visible"),M(r,"break-inside","avoid")},m(o,f){j(o,e,f),j(o,i,f),j(o,r,f),s||(a=[lt(t=Gt.call(null,e,{config:n[0],ratio:4,echartsOptions:n[5],seriesOptions:n[6],seriesColors:n[7],isMap:n[8],extraHeight:n[9],width:650})),lt(l=Gt.call(null,r,{config:n[0],ratio:4,echartsOptions:n[5],seriesOptions:n[6],seriesColors:n[7],isMap:n[8],extraHeight:n[9],width:841}))],s=!0)},p(o,f){f&2&&M(e,"height",o[1]),t&&rt(t.update)&&f&993&&t.update.call(null,{config:o[0],ratio:4,echartsOptions:o[5],seriesOptions:o[6],seriesColors:o[7],isMap:o[8],extraHeight:o[9],width:650}),f&2&&M(r,"height",o[1]),l&&rt(l.update)&&f&993&&l.update.call(null,{config:o[0],ratio:4,echartsOptions:o[5],seriesOptions:o[6],seriesColors:o[7],isMap:o[8],extraHeight:o[9],width:841})},d(o){o&&(S(e),S(i),S(r)),s=!1,Ri(a)}}}function pl(n){let e,t,i,r,l,s,a;return{c(){e=ae("div"),i=Y(),r=ae("div"),this.h()},l(o){e=oe(o,"DIV",{class:!0,style:!0}),ye(e).forEach(S),i=K(o),r=oe(o,"DIV",{class:!0,style:!0}),ye(r).forEach(S),this.h()},h(){G(e,"class","chart md:hidden"),M(e,"height",n[1]),M(e,"width",n[12]+"px"),M(e,"margin-left","0"),M(e,"margin-top","15px"),M(e,"margin-bottom","10px"),M(e,"overflow","visible"),M(e,"break-inside","avoid"),G(r,"class","chart hidden md:block"),M(r,"height",n[1]),M(r,"width",n[11]+"px"),M(r,"margin-left","0"),M(r,"margin-top","15px"),M(r,"margin-bottom","10px"),M(r,"overflow","visible"),M(r,"break-inside","avoid")},m(o,f){j(o,e,f),j(o,i,f),j(o,r,f),s||(a=[lt(t=Gt.call(null,e,{config:n[0],ratio:4,echartsOptions:n[5],seriesOptions:n[6],seriesColors:n[7],isMap:n[8],extraHeight:n[9],width:n[12]})),lt(l=Gt.call(null,r,{config:n[0],ratio:4,echartsOptions:n[5],seriesOptions:n[6],seriesColors:n[7],isMap:n[8],extraHeight:n[9],width:n[11]}))],s=!0)},p(o,f){f&2&&M(e,"height",o[1]),f&4096&&M(e,"width",o[12]+"px"),t&&rt(t.update)&&f&5089&&t.update.call(null,{config:o[0],ratio:4,echartsOptions:o[5],seriesOptions:o[6],seriesColors:o[7],isMap:o[8],extraHeight:o[9],width:o[12]}),f&2&&M(r,"height",o[1]),f&2048&&M(r,"width",o[11]+"px"),l&&rt(l.update)&&f&3041&&l.update.call(null,{config:o[0],ratio:4,echartsOptions:o[5],seriesOptions:o[6],seriesColors:o[7],isMap:o[8],extraHeight:o[9],width:o[11]})},d(o){o&&(S(e),S(i),S(r)),s=!1,Ri(a)}}}function Gl(n){let e;function t(l,s){if(l[3])return El;if(l[4])return Il}let i=t(n),r=i&&i(n);return{c(){r&&r.c(),e=Ce()},l(l){r&&r.l(l),e=Ce()},m(l,s){r&&r.m(l,s),j(l,e,s)},p(l,[s]){i===(i=t(l))&&r?r.p(l,s):(r&&r.d(1),r=i&&i(l),r&&(r.c(),r.m(e.parentNode,e)))},i:Le,o:Le,d(l){l&&S(e),r&&r.d(l)}}}function Bl(n,e,t){let i,r,l,s,{config:a=void 0}=e,{height:o="291px"}=e,{width:f="100%"}=e,{copying:y=!1}=e,{printing:c=!1}=e,{echartsOptions:g=void 0}=e,{seriesOptions:T=void 0}=e,{seriesColors:h=void 0}=e,{isMap:b=!1}=e,{extraHeight:_=void 0}=e,A=!1,L,D;const z=Pi("gridConfig");return z&&(A=!0,{cols:L,gapWidth:D}=z),n.$$set=E=>{"config"in E&&t(0,a=E.config),"height"in E&&t(1,o=E.height),"width"in E&&t(2,f=E.width),"copying"in E&&t(3,y=E.copying),"printing"in E&&t(4,c=E.printing),"echartsOptions"in E&&t(5,g=E.echartsOptions),"seriesOptions"in E&&t(6,T=E.seriesOptions),"seriesColors"in E&&t(7,h=E.seriesColors),"isMap"in E&&t(8,b=E.isMap),"extraHeight"in E&&t(9,_=E.extraHeight)},n.$$.update=()=>{n.$$.dirty&8192&&t(16,i=Math.min(Number(L),2)),n.$$.dirty&81920&&t(12,r=(650-Number(D)*(i-1))/i),n.$$.dirty&8192&&t(15,l=Math.min(Number(L),3)),n.$$.dirty&49152&&t(11,s=(841-Number(D)*(l-1))/l)},[a,o,f,y,c,g,T,h,b,_,A,s,r,L,D,l,i]}class Pl extends He{constructor(e){super(),We(this,e,Bl,Gl,xe,{config:0,height:1,width:2,copying:3,printing:4,echartsOptions:5,seriesOptions:6,seriesColors:7,isMap:8,extraHeight:9})}}function ql(n){let e,t,i="Loading...",r,l,s;return{c(){e=ae("div"),t=ae("span"),t.textContent=i,r=Y(),l=ae("div"),this.h()},l(a){e=oe(a,"DIV",{role:!0,class:!0});var o=ye(e);t=oe(o,"SPAN",{class:!0,"data-svelte-h":!0}),Tn(t)!=="svelte-1wtojot"&&(t.textContent=i),r=K(o),l=oe(o,"DIV",{class:!0,style:!0}),ye(l).forEach(S),o.forEach(S),this.h()},h(){G(t,"class","sr-only"),G(l,"class","bg-gray-200 rounded-md dark:bg-gray-400 max-w-[100%]"),M(l,"height",n[0]),M(l,"margin-top","15px"),M(l,"margin-bottom","31px"),G(e,"role","status"),G(e,"class","animate-pulse")},m(a,o){j(a,e,o),ke(e,t),ke(e,r),ke(e,l)},p(a,[o]){o&1&&M(l,"height",a[0])},i(a){a&&(s||En(()=>{s=xn(e,Vn,{}),s.start()}))},o:Le,d(a){a&&S(e)}}}function Nl(n,e,t){let{height:i="231px"}=e;return n.$$set=r=>{"height"in r&&t(0,i=r.height)},[i]}class Rl extends He{constructor(e){super(),We(this,e,Nl,ql,xe,{height:0})}}function cn(n){let e,t,i,r;const l=[Hl,xl],s=[];function a(o,f){return 1}return e=a(),t=s[e]=l[e](n),{c(){t.c(),i=Ce()},l(o){t.l(o),i=Ce()},m(o,f){s[e].m(o,f),j(o,i,f),r=!0},p(o,f){t.p(o,f)},i(o){r||(O(t),r=!0)},o(o){I(t),r=!1},d(o){o&&S(i),s[e].d(o)}}}function xl(n){let e,t,i,r;return{c(){e=ae("div"),this.h()},l(l){e=oe(l,"DIV",{class:!0,style:!0}),ye(e).forEach(S),this.h()},h(){G(e,"class","chart svelte-19r8f8"),M(e,"height",n[3]),M(e,"width",n[4]),M(e,"margin-left","0"),M(e,"margin-top","15px"),M(e,"margin-bottom","10px"),M(e,"overflow","visible"),M(e,"display",n[15]?"none":"inherit")},m(l,s){j(l,e,s),i||(r=lt(t=zl.call(null,e,{config:n[0],...n[19],echartsOptions:n[9],seriesOptions:n[10],dispatch:n[18],renderer:n[6],connectGroup:n[13],seriesColors:n[12]})),i=!0)},p(l,s){s&8&&M(e,"height",l[3]),s&16&&M(e,"width",l[4]),s&32768&&M(e,"display",l[15]?"none":"inherit"),t&&rt(t.update)&&s&538177&&t.update.call(null,{config:l[0],...l[19],echartsOptions:l[9],seriesOptions:l[10],dispatch:l[18],renderer:l[6],connectGroup:l[13],seriesColors:l[12]})},i:Le,o:Le,d(l){l&&S(e),i=!1,r()}}}function Hl(n){let e,t;return e=new Rl({props:{height:n[3]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r&8&&(l.height=i[3]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function mn(n){let e,t,i,r=n[8]&&dn(n),l=n[5]&&n[7]&&yn(n);return{c(){e=ae("div"),r&&r.c(),t=Y(),l&&l.c(),this.h()},l(s){e=oe(s,"DIV",{class:!0});var a=ye(e);r&&r.l(a),t=K(a),l&&l.l(a),a.forEach(S),this.h()},h(){G(e,"class","chart-footer svelte-19r8f8")},m(s,a){j(s,e,a),r&&r.m(e,null),ke(e,t),l&&l.m(e,null),i=!0},p(s,a){s[8]?r?(r.p(s,a),a&256&&O(r,1)):(r=dn(s),r.c(),O(r,1),r.m(e,t)):r&&(Ie(),I(r,1,1,()=>{r=null}),Ee()),s[5]&&s[7]?l?(l.p(s,a),a&160&&O(l,1)):(l=yn(s),l.c(),O(l,1),l.m(e,null)):l&&(Ie(),I(l,1,1,()=>{l=null}),Ee())},i(s){i||(O(r),O(l),i=!0)},o(s){I(r),I(l),i=!1},d(s){s&&S(e),r&&r.d(),l&&l.d()}}}function dn(n){let e,t;return e=new Ln({props:{text:"Save Image",class:"download-button",downloadData:n[25],display:n[17],queryID:n[1],$$slots:{default:[Wl]},$$scope:{ctx:n}}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r&16384&&(l.downloadData=i[25]),r&131072&&(l.display=i[17]),r&2&&(l.queryID=i[1]),r&268435456&&(l.$$scope={dirty:r,ctx:i}),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function Wl(n){let e,t,i,r;return{c(){e=Yt("svg"),t=Yt("rect"),i=Yt("circle"),r=Yt("path"),this.h()},l(l){e=Kt(l,"svg",{xmlns:!0,width:!0,height:!0,viewBox:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var s=ye(e);t=Kt(s,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0}),ye(t).forEach(S),i=Kt(s,"circle",{cx:!0,cy:!0,r:!0}),ye(i).forEach(S),r=Kt(s,"path",{d:!0}),ye(r).forEach(S),s.forEach(S),this.h()},h(){G(t,"x","3"),G(t,"y","3"),G(t,"width","18"),G(t,"height","18"),G(t,"rx","2"),G(i,"cx","8.5"),G(i,"cy","8.5"),G(i,"r","1.5"),G(r,"d","M20.4 14.5L16 10 4 20"),G(e,"xmlns","http://www.w3.org/2000/svg"),G(e,"width","12"),G(e,"height","12"),G(e,"viewBox","0 0 24 24"),G(e,"fill","none"),G(e,"stroke","#000"),G(e,"stroke-width","2"),G(e,"stroke-linecap","round"),G(e,"stroke-linejoin","round")},m(l,s){j(l,e,s),ke(e,t),ke(e,i),ke(e,r)},p:Le,d(l){l&&S(e)}}}function yn(n){let e,t;return e=new Ln({props:{text:"Download Data",data:n[5],queryID:n[1],class:"download-button",display:n[17]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r&32&&(l.data=i[5]),r&2&&(l.queryID=i[1]),r&131072&&(l.display=i[17]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function hn(n){let e,t;return e=new Xn({props:{source:JSON.stringify(n[0],void 0,3),copyToClipboard:!0,$$slots:{default:[Ul]},$$scope:{ctx:n}}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r&1&&(l.source=JSON.stringify(i[0],void 0,3)),r&268435457&&(l.$$scope={dirty:r,ctx:i}),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function Ul(n){let e=JSON.stringify(n[0],void 0,3)+"",t;return{c(){t=An(e)},l(i){t=On(i,e)},m(i,r){j(i,t,r)},p(i,r){r&1&&e!==(e=JSON.stringify(i[0],void 0,3)+"")&&pn(t,e)},d(i){i&&S(t)}}}function gn(n){let e,t,i,r;return{c(){e=ae("div"),this.h()},l(l){e=oe(l,"DIV",{class:!0,style:!0}),ye(e).forEach(S),this.h()},h(){G(e,"class","chart svelte-19r8f8"),M(e,"display","none"),M(e,"visibility","visible"),M(e,"height",n[3]),M(e,"width","666px"),M(e,"margin-left","0"),M(e,"margin-top","15px"),M(e,"margin-bottom","15px"),M(e,"overflow","visible")},m(l,s){j(l,e,s),i||(r=lt(t=Fl.call(null,e,{config:n[0],...n[19],echartsOptions:n[9],seriesOptions:n[10],seriesColors:n[12],queryID:n[1],evidenceChartTitle:n[2]})),i=!0)},p(l,s){s&8&&M(e,"height",l[3]),t&&rt(t.update)&&s&529927&&t.update.call(null,{config:l[0],...l[19],echartsOptions:l[9],seriesOptions:l[10],seriesColors:l[12],queryID:l[1],evidenceChartTitle:l[2]})},d(l){l&&S(e),i=!1,r()}}}function Vl(n){let e,t,i,r,l,s,a,o,f,y,c=!n[16]&&cn(n);i=new Pl({props:{config:n[0],height:n[3],width:n[4],copying:n[15],printing:n[16],echartsOptions:n[9],seriesOptions:n[10],seriesColors:n[12]}});let g=(n[7]||n[8])&&mn(n),T=n[11]&&!n[16]&&hn(n),h=n[14]&&gn(n);return{c(){e=ae("div"),c&&c.c(),t=Y(),v(i.$$.fragment),r=Y(),g&&g.c(),l=Y(),T&&T.c(),s=Y(),h&&h.c(),a=Ce(),this.h()},l(b){e=oe(b,"DIV",{role:!0,class:!0});var _=ye(e);c&&c.l(_),t=K(_),$(i.$$.fragment,_),r=K(_),g&&g.l(_),l=K(_),T&&T.l(_),_.forEach(S),s=K(b),h&&h.l(b),a=Ce(),this.h()},h(){G(e,"role","none"),G(e,"class","chart-container svelte-19r8f8")},m(b,_){j(b,e,_),c&&c.m(e,null),ke(e,t),ee(i,e,null),ke(e,r),g&&g.m(e,null),ke(e,l),T&&T.m(e,null),j(b,s,_),h&&h.m(b,_),j(b,a,_),o=!0,f||(y=[tt(window,"copy",n[20]),tt(window,"beforeprint",n[21]),tt(window,"afterprint",n[22]),tt(window,"export-beforeprint",n[23]),tt(window,"export-afterprint",n[24]),tt(e,"mouseenter",n[26]),tt(e,"mouseleave",n[27])],f=!0)},p(b,[_]){b[16]?c&&(Ie(),I(c,1,1,()=>{c=null}),Ee()):c?(c.p(b,_),_&65536&&O(c,1)):(c=cn(b),c.c(),O(c,1),c.m(e,t));const A={};_&1&&(A.config=b[0]),_&8&&(A.height=b[3]),_&16&&(A.width=b[4]),_&32768&&(A.copying=b[15]),_&65536&&(A.printing=b[16]),_&512&&(A.echartsOptions=b[9]),_&1024&&(A.seriesOptions=b[10]),_&4096&&(A.seriesColors=b[12]),i.$set(A),b[7]||b[8]?g?(g.p(b,_),_&384&&O(g,1)):(g=mn(b),g.c(),O(g,1),g.m(e,l)):g&&(Ie(),I(g,1,1,()=>{g=null}),Ee()),b[11]&&!b[16]?T?(T.p(b,_),_&67584&&O(T,1)):(T=hn(b),T.c(),O(T,1),T.m(e,null)):T&&(Ie(),I(T,1,1,()=>{T=null}),Ee()),b[14]?h?h.p(b,_):(h=gn(b),h.c(),h.m(a.parentNode,a)):h&&(h.d(1),h=null)},i(b){o||(O(c),O(i.$$.fragment,b),O(g),O(T),o=!0)},o(b){I(c),I(i.$$.fragment,b),I(g),I(T),o=!1},d(b){b&&(S(e),S(s),S(a)),c&&c.d(),te(i),g&&g.d(),T&&T.d(),h&&h.d(b),f=!1,Ri(y)}}}function Xl(n,e,t){const i=["config","queryID","evidenceChartTitle","height","width","data","renderer","downloadableData","downloadableImage","echartsOptions","seriesOptions","printEchartsConfig","seriesColors","connectGroup"];let r=vi(e,i),{config:l=void 0}=e,{queryID:s=void 0}=e,{evidenceChartTitle:a=void 0}=e,{height:o="291px"}=e,{width:f="100%"}=e,{data:y}=e,{renderer:c=void 0}=e,{downloadableData:g=void 0}=e,{downloadableImage:T=void 0}=e,{echartsOptions:h=void 0}=e,{seriesOptions:b=void 0}=e,{printEchartsConfig:_}=e,{seriesColors:A=void 0}=e,{connectGroup:L=void 0}=e;const D=jn();let z=!1,E=!1,V=!1,ne=!1;const q=()=>{t(15,E=!0),Gn(),setTimeout(()=>{t(15,E=!1)},0)},k=()=>t(16,V=!0),F=()=>t(16,V=!1),P=()=>t(16,V=!0),H=()=>t(16,V=!1),Z=()=>{t(14,z=!0),setTimeout(()=>{t(14,z=!1)},0)},x=()=>t(17,ne=!0),ie=()=>t(17,ne=!1);return n.$$set=B=>{e=pt(pt({},e),qi(B)),t(19,r=vi(e,i)),"config"in B&&t(0,l=B.config),"queryID"in B&&t(1,s=B.queryID),"evidenceChartTitle"in B&&t(2,a=B.evidenceChartTitle),"height"in B&&t(3,o=B.height),"width"in B&&t(4,f=B.width),"data"in B&&t(5,y=B.data),"renderer"in B&&t(6,c=B.renderer),"downloadableData"in B&&t(7,g=B.downloadableData),"downloadableImage"in B&&t(8,T=B.downloadableImage),"echartsOptions"in B&&t(9,h=B.echartsOptions),"seriesOptions"in B&&t(10,b=B.seriesOptions),"printEchartsConfig"in B&&t(11,_=B.printEchartsConfig),"seriesColors"in B&&t(12,A=B.seriesColors),"connectGroup"in B&&t(13,L=B.connectGroup)},[l,s,a,o,f,y,c,g,T,h,b,_,A,L,z,E,V,ne,D,r,q,k,F,P,H,Z,x,ie]}class Yl extends He{constructor(e){super(),We(this,e,Xl,Vl,xe,{config:0,queryID:1,evidenceChartTitle:2,height:3,width:4,data:5,renderer:6,downloadableData:7,downloadableImage:8,echartsOptions:9,seriesOptions:10,printEchartsConfig:11,seriesColors:12,connectGroup:13})}}function Bt(n,e){const t=new Set(n.map(i=>i[e]));return Array.from(t)}function Kl(n,e){return kt(n,Yn({count:Kn(e)}))[0].count}function Ql(n,e,t){let i;if(typeof t!="object")i=kt(n,$i(e,sn({xTotal:en(t)})),pi({percentOfX:fn(t,"xTotal")}),rn({percentOfX:t+"_pct"}));else{i=kt(n,pi({valueSum:0}));for(let r=0;r<i.length;r++){i[r].valueSum=0;for(let l=0;l<t.length;l++)i[r].valueSum=i[r].valueSum+i[r][t[l]]}i=kt(i,$i(e,sn({xTotal:en("valueSum")})));for(let r=0;r<t.length;r++)i=kt(i,pi({percentOfX:fn(t[r],"xTotal")}),rn({percentOfX:t[r]+"_pct"}))}return i}function Bi(n,e,t){return[...n].sort((i,r)=>(i[e]<r[e]?-1:1)*(t?1:-1))}function Fn(n,e,t){const i=e+t;return n%i<e?0:1}function Zl(n){let e,t;return e=new zn({props:{error:n[15],chartType:n[8]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&32768&&(l.error=i[15]),r[0]&256&&(l.chartType=i[8]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function Jl(n){let e,t,i;const r=n[123].default,l=ri(r,n,n[122],null);return t=new Yl({props:{config:n[17],height:n[16],width:n[14],data:n[0],queryID:n[5],evidenceChartTitle:n[7],showAllXAxisLabels:n[6],swapXY:n[2],echartsOptions:n[9],seriesOptions:n[10],printEchartsConfig:n[1],renderer:n[12],downloadableData:n[3],downloadableImage:n[4],connectGroup:n[13],seriesColors:n[11]}}),{c(){l&&l.c(),e=Y(),v(t.$$.fragment)},l(s){l&&l.l(s),e=K(s),$(t.$$.fragment,s)},m(s,a){l&&l.m(s,a),j(s,e,a),ee(t,s,a),i=!0},p(s,a){l&&l.p&&(!i||a[3]&536870912)&&si(l,r,s,s[122],i?oi(r,s[122],a,null):ai(s[122]),null);const o={};a[0]&131072&&(o.config=s[17]),a[0]&65536&&(o.height=s[16]),a[0]&16384&&(o.width=s[14]),a[0]&1&&(o.data=s[0]),a[0]&32&&(o.queryID=s[5]),a[0]&128&&(o.evidenceChartTitle=s[7]),a[0]&64&&(o.showAllXAxisLabels=s[6]),a[0]&4&&(o.swapXY=s[2]),a[0]&512&&(o.echartsOptions=s[9]),a[0]&1024&&(o.seriesOptions=s[10]),a[0]&2&&(o.printEchartsConfig=s[1]),a[0]&4096&&(o.renderer=s[12]),a[0]&8&&(o.downloadableData=s[3]),a[0]&16&&(o.downloadableImage=s[4]),a[0]&8192&&(o.connectGroup=s[13]),a[0]&2048&&(o.seriesColors=s[11]),t.$set(o)},i(s){i||(O(l,s),O(t.$$.fragment,s),i=!0)},o(s){I(l,s),I(t.$$.fragment,s),i=!1},d(s){s&&S(e),l&&l.d(s),te(t,s)}}}function vl(n){let e,t,i,r;const l=[Jl,Zl],s=[];function a(o,f){return o[15]?1:0}return e=a(n),t=s[e]=l[e](n),{c(){t.c(),i=Ce()},l(o){t.l(o),i=Ce()},m(o,f){s[e].m(o,f),j(o,i,f),r=!0},p(o,f){let y=e;e=a(o),e===y?s[e].p(o,f):(Ie(),I(s[y],1,1,()=>{s[y]=null}),Ee(),t=s[e],t?t.p(o,f):(t=s[e]=l[e](o),t.c()),O(t,1),t.m(i.parentNode,i))},i(o){r||(O(t),r=!0)},o(o){I(t),r=!1},d(o){o&&S(i),s[e].d(o)}}}function $l(n,e,t){let i,{$$slots:r={},$$scope:l}=e,s=Ni({}),a=Ni({});li(n,a,d=>t(17,i=d));let{data:o=void 0}=e,{queryID:f=void 0}=e,{x:y=void 0}=e,{y:c=void 0}=e,{y2:g=void 0}=e,{series:T=void 0}=e,{size:h=void 0}=e,{tooltipTitle:b=void 0}=e,{showAllXAxisLabels:_=!1}=e,{printEchartsConfig:A=!1}=e,L=!!c,D=!!y,{swapXY:z=!1}=e,{title:E=void 0}=e,{subtitle:V=void 0}=e,{chartType:ne="Chart"}=e,{bubble:q=!1}=e,{hist:k=!1}=e,{boxplot:F=!1}=e,P,{xType:H=void 0}=e,{xAxisTitle:Z="false"}=e,{xBaseline:x=!0}=e,{xTickMarks:ie=!1}=e,{xGridlines:B=!1}=e,{xAxisLabels:se=!0}=e,{sort:J=!0}=e,{xFmt:Q=void 0}=e,{xMin:R=void 0}=e,{xMax:W=void 0}=e,{yLog:N=!1}=e,{yType:X=N===!0?"log":"value"}=e,{yLogBase:m=10}=e,{yAxisTitle:C="false"}=e,{yBaseline:U=!1}=e,{yTickMarks:fe=!1}=e,{yGridlines:ue=!0}=e,{yAxisLabels:ce=!0}=e,{yMin:he=void 0}=e,{yMax:me=void 0}=e,{yScale:de=!1}=e,{yFmt:ge=void 0}=e,{yAxisColor:Se="true"}=e,{y2AxisTitle:Te="false"}=e,{y2Baseline:De=!1}=e,{y2TickMarks:w=!1}=e,{y2Gridlines:be=!0}=e,{y2AxisLabels:Be=!0}=e,{y2Min:Qe=void 0}=e,{y2Max:st=void 0}=e,{y2Scale:Pe=!1}=e,{y2Fmt:Ue=void 0}=e,{y2AxisColor:ze="true"}=e,{sizeFmt:Ze=void 0}=e,{colorPalette:we=void 0}=e,{legend:Ae=void 0}=e,{echartsOptions:St=void 0}=e,{seriesOptions:Tt=void 0}=e,{seriesColors:At=void 0}=e,{stackType:at=void 0}=e,{stacked100:Ve=!1}=e,{chartAreaHeight:Oe}=e,{renderer:Ot=void 0}=e,{downloadableData:Xe=!0}=e,{downloadableImage:Ye=!0}=e,{connectGroup:Lt=void 0}=e,le,u,qt=[],ot=[],fi,Mt,je,ui,pe,_e,qe,Nt,ci,Dt,Rt,mi,xt,ft,di,yi,zt,ut,hi,gi,bi,_i,wi,ki,Ci,Si,Ti,Ai,Oi,ct,Ft,It,Ht,Wt,Li,Mi,mt,Di,zi,Ut,Ui,Fi,Je=[],dt=!0,Ne=[],Et=[],Fe,Vt,Ii,ve;return n.$$set=d=>{"data"in d&&t(0,o=d.data),"queryID"in d&&t(5,f=d.queryID),"x"in d&&t(19,y=d.x),"y"in d&&t(20,c=d.y),"y2"in d&&t(43,g=d.y2),"series"in d&&t(44,T=d.series),"size"in d&&t(45,h=d.size),"tooltipTitle"in d&&t(46,b=d.tooltipTitle),"showAllXAxisLabels"in d&&t(6,_=d.showAllXAxisLabels),"printEchartsConfig"in d&&t(1,A=d.printEchartsConfig),"swapXY"in d&&t(2,z=d.swapXY),"title"in d&&t(7,E=d.title),"subtitle"in d&&t(47,V=d.subtitle),"chartType"in d&&t(8,ne=d.chartType),"bubble"in d&&t(48,q=d.bubble),"hist"in d&&t(49,k=d.hist),"boxplot"in d&&t(50,F=d.boxplot),"xType"in d&&t(21,H=d.xType),"xAxisTitle"in d&&t(22,Z=d.xAxisTitle),"xBaseline"in d&&t(23,x=d.xBaseline),"xTickMarks"in d&&t(24,ie=d.xTickMarks),"xGridlines"in d&&t(25,B=d.xGridlines),"xAxisLabels"in d&&t(26,se=d.xAxisLabels),"sort"in d&&t(27,J=d.sort),"xFmt"in d&&t(51,Q=d.xFmt),"xMin"in d&&t(52,R=d.xMin),"xMax"in d&&t(53,W=d.xMax),"yLog"in d&&t(28,N=d.yLog),"yType"in d&&t(54,X=d.yType),"yLogBase"in d&&t(55,m=d.yLogBase),"yAxisTitle"in d&&t(29,C=d.yAxisTitle),"yBaseline"in d&&t(30,U=d.yBaseline),"yTickMarks"in d&&t(31,fe=d.yTickMarks),"yGridlines"in d&&t(32,ue=d.yGridlines),"yAxisLabels"in d&&t(33,ce=d.yAxisLabels),"yMin"in d&&t(56,he=d.yMin),"yMax"in d&&t(57,me=d.yMax),"yScale"in d&&t(34,de=d.yScale),"yFmt"in d&&t(58,ge=d.yFmt),"yAxisColor"in d&&t(59,Se=d.yAxisColor),"y2AxisTitle"in d&&t(35,Te=d.y2AxisTitle),"y2Baseline"in d&&t(36,De=d.y2Baseline),"y2TickMarks"in d&&t(37,w=d.y2TickMarks),"y2Gridlines"in d&&t(38,be=d.y2Gridlines),"y2AxisLabels"in d&&t(39,Be=d.y2AxisLabels),"y2Min"in d&&t(60,Qe=d.y2Min),"y2Max"in d&&t(61,st=d.y2Max),"y2Scale"in d&&t(40,Pe=d.y2Scale),"y2Fmt"in d&&t(62,Ue=d.y2Fmt),"y2AxisColor"in d&&t(63,ze=d.y2AxisColor),"sizeFmt"in d&&t(64,Ze=d.sizeFmt),"colorPalette"in d&&t(65,we=d.colorPalette),"legend"in d&&t(41,Ae=d.legend),"echartsOptions"in d&&t(9,St=d.echartsOptions),"seriesOptions"in d&&t(10,Tt=d.seriesOptions),"seriesColors"in d&&t(11,At=d.seriesColors),"stackType"in d&&t(66,at=d.stackType),"stacked100"in d&&t(67,Ve=d.stacked100),"chartAreaHeight"in d&&t(42,Oe=d.chartAreaHeight),"renderer"in d&&t(12,Ot=d.renderer),"downloadableData"in d&&t(3,Xe=d.downloadableData),"downloadableImage"in d&&t(4,Ye=d.downloadableImage),"connectGroup"in d&&t(13,Lt=d.connectGroup),"$$scope"in d&&t(122,l=d.$$scope)},n.$$.update=()=>{var d,Vi,Xi,Yi,Ki,Qi;if(n.$$.dirty[0]&2&&t(1,A=A==="true"||A===!0),n.$$.dirty[0]&4&&(z==="true"||z===!0?t(2,z=!0):t(2,z=!1)),n.$$.dirty[0]&8388608&&t(23,x=x==="true"||x===!0),n.$$.dirty[0]&16777216&&t(24,ie=ie==="true"||ie===!0),n.$$.dirty[0]&33554432&&t(25,B=B==="true"||B===!0),n.$$.dirty[0]&67108864&&t(26,se=se==="true"||se===!0),n.$$.dirty[0]&134217728&&t(27,J=J==="true"||J===!0),n.$$.dirty[0]&268435456&&t(28,N=N==="true"||N===!0),n.$$.dirty[0]&1073741824&&t(30,U=U==="true"||U===!0),n.$$.dirty[1]&1&&t(31,fe=fe==="true"||fe===!0),n.$$.dirty[1]&2&&t(32,ue=ue==="true"||ue===!0),n.$$.dirty[1]&4&&t(33,ce=ce==="true"||ce===!0),n.$$.dirty[1]&8&&t(34,de=de==="true"||de===!0),n.$$.dirty[1]&32&&t(36,De=De==="true"||De===!0),n.$$.dirty[1]&64&&t(37,w=w==="true"||w===!0),n.$$.dirty[1]&128&&t(38,be=be==="true"||be===!0),n.$$.dirty[1]&256&&t(39,Be=Be==="true"||Be===!0),n.$$.dirty[1]&512&&t(40,Pe=Pe==="true"||Pe===!0),n.$$.dirty[0]&8&&t(3,Xe=Xe==="true"||Xe===!0),n.$$.dirty[0]&16&&t(4,Ye=Ye==="true"||Ye===!0),n.$$.dirty[0]&2147008901|n.$$.dirty[1]&2147483647|n.$$.dirty[2]&2147483647|n.$$.dirty[3]&536870911)try{if(t(15,Vt=void 0),t(115,Je=[]),t(74,ot=[]),t(117,Ne=[]),t(118,Et=[]),t(76,Mt=[]),t(68,L=!!c),t(69,D=!!y),tn(o),t(71,le=Gi(o)),t(72,u=Object.keys(le)),D||t(19,y=u[0]),!L){t(73,qt=u.filter(function(p){return![y,T,h].includes(p)}));for(let p=0;p<qt.length;p++)t(76,Mt=qt[p]),t(75,fi=le[Mt].type),fi==="number"&&ot.push(Mt);t(20,c=ot.length>1?ot:ot[0])}q?t(70,P={x:y,y:c,size:h}):k?t(70,P={x:y}):F?t(70,P={}):t(70,P={x:y,y:c});for(let p in P)P[p]==null&&Je.push(p);if(Je.length===1)throw Error(new Intl.ListFormat().format(Je)+" is required");if(Je.length>1)throw Error(new Intl.ListFormat().format(Je)+" are required");if(Ve===!0&&c.includes("_pct")&&dt===!1)if(typeof c=="object"){for(let p=0;p<c.length;p++)t(20,c[p]=c[p].replace("_pct",""),c);t(116,dt=!1)}else t(20,c=c.replace("_pct","")),t(116,dt=!1);if(y&&Ne.push(y),c)if(typeof c=="object")for(t(119,Fe=0);Fe<c.length;t(119,Fe++,Fe))Ne.push(c[Fe]);else Ne.push(c);if(g)if(typeof g=="object")for(t(119,Fe=0);Fe<g.length;t(119,Fe++,Fe))Ne.push(g[Fe]);else Ne.push(g);if(h&&Ne.push(h),T&&Et.push(T),b&&Et.push(b),tn(o,Ne,Et),Ve===!0){if(t(0,o=Ql(o,y,c)),typeof c=="object"){for(let p=0;p<c.length;p++)t(20,c[p]=c[p]+"_pct",c);t(116,dt=!1)}else t(20,c=c+"_pct"),t(116,dt=!1);t(71,le=Gi(o))}switch(t(77,je=le[y].type),je){case"number":t(77,je="value");break;case"string":t(77,je="category");break;case"date":t(77,je="time");break;default:break}if(t(21,H=H==="category"?"category":je),z&&H!=="category")throw Error("Horizontal charts do not support a value or time-based x-axis. You can either change your SQL query to output string values or set swapXY=false.");if(z&&g)throw Error("Horizontal charts do not support a secondary y-axis. You can either set swapXY=false or remove the y2 prop from your chart.");if(z&&t(21,H="category"),t(78,ui=je==="value"&&H==="category"),t(0,o=J?je==="category"?Bi(o,c,!1):Bi(o,y,!0):o),je==="time"&&t(0,o=Bi(o,y,!0)),t(120,Ii=Gi(o,"array")),t(121,ve=Ii.filter(p=>p.type==="date")),t(121,ve=ve.map(p=>p.id)),ve.length>0)for(let p=0;p<ve.length;p++)t(0,o=Qn(o,ve[p]));Q?t(79,pe=Re(Q,(d=le[y].format)==null?void 0:d.valueType)):t(79,pe=le[y].format),c?ge?typeof c=="object"?t(80,_e=Re(ge,(Vi=le[c[0]].format)==null?void 0:Vi.valueType)):t(80,_e=Re(ge,(Xi=le[c].format)==null?void 0:Xi.valueType)):typeof c=="object"?t(80,_e=le[c[0]].format):t(80,_e=le[c].format):t(80,_e="str"),g&&(Ue?typeof g=="object"?t(81,qe=Re(Ue,(Yi=le[g[0]].format)==null?void 0:Yi.valueType)):t(81,qe=Re(Ue,(Ki=le[g].format)==null?void 0:Ki.valueType)):typeof g=="object"?t(81,qe=le[g[0]].format):t(81,qe=le[g].format)),h&&(Ze?t(82,Nt=Re(Ze,(Qi=le[h].format)==null?void 0:Qi.valueType)):t(82,Nt=le[h].format)),t(83,ci=le[y].columnUnitSummary),c&&(typeof c=="object"?t(84,Dt=le[c[0]].columnUnitSummary):t(84,Dt=le[c].columnUnitSummary)),g&&(typeof g=="object"?t(85,Rt=le[g[0]].columnUnitSummary):t(85,Rt=le[g].columnUnitSummary)),t(22,Z=Z==="true"?it(y,pe):Z==="false"?"":Z),t(29,C=C==="true"?typeof c=="object"?"":it(c,_e):C==="false"?"":C),t(35,Te=Te==="true"?typeof g=="object"?"":it(g,qe):Te==="false"?"":Te);let yt=typeof c=="object"?c.length:1,Zi=T?Kl(o,T):1,$e=yt*Zi,Ei=typeof g=="object"?g.length:g?1:0,ji=$e+Ei;if(Ae!==void 0&&t(41,Ae=Ae==="true"||Ae===!0),t(41,Ae=Ae??ji>1),Ve===!0&&N===!0)throw Error("Log axis cannot be used in a 100% stacked chart");if(at==="stacked"&&ji>1&&N===!0)throw Error("Log axis cannot be used in a stacked chart");let ht;if(typeof c=="object"){ht=le[c[0]].columnUnitSummary.min;for(let p=0;p<c.length;p++)le[c[p]].columnUnitSummary.min<ht&&(ht=le[c[p]].columnUnitSummary.min)}else c&&(ht=le[c].columnUnitSummary.min);if(N===!0&&ht<=0&&ht!==null)throw Error("Log axis cannot display values less than or equal to zero");s.update(p=>({...p,data:o,x:y,y:c,y2:g,series:T,swapXY:z,sort:J,xType:H,xFormat:pe,yFormat:_e,y2Format:qe,sizeFormat:Nt,xMismatch:ui,size:h,yMin:he,y2Min:Qe,columnSummary:le,xAxisTitle:Z,yAxisTitle:C,y2AxisTitle:Te,tooltipTitle:b,chartAreaHeight:Oe,chartType:ne,yCount:yt,y2Count:Ei})),t(86,mi=Bt(o,y));let Ji;if(z?t(87,xt={type:X,logBase:m,position:"top",axisLabel:{show:ce,hideOverlap:!0,showMaxLabel:!0,formatter(p){return Qt(p,_e,Dt)},margin:4},min:he,max:me,scale:de,splitLine:{show:ue},axisLine:{show:U,onZero:!1},axisTick:{show:fe},boundaryGap:!1,z:2}):t(87,xt={type:H,min:R,max:W,splitLine:{show:B},axisLine:{show:x},axisTick:{show:ie},axisLabel:{show:se,hideOverlap:!0,showMaxLabel:H==="category"||H==="value",formatter:H==="time"||H==="category"?!1:function(p){return Qt(p,pe,ci)},margin:6},scale:!0,z:2}),z?t(88,ft={type:H,inverse:"true",splitLine:{show:B},axisLine:{show:x},axisTick:{show:ie},axisLabel:{show:se,hideOverlap:!0},scale:!0,min:R,max:W,z:2}):(t(88,ft={type:X,logBase:m,splitLine:{show:ue},axisLine:{show:U,onZero:!1},axisTick:{show:fe},axisLabel:{show:ce,hideOverlap:!0,margin:4,formatter(p){return Qt(p,_e,Dt)},color:g?Se==="true"?we?we[0]:jt[0]:Se!=="false"?Se:void 0:void 0},name:C,nameLocation:"end",nameTextStyle:{align:"left",verticalAlign:"top",padding:[0,5,0,0],color:g?Se==="true"?we?we[0]:jt[0]:Se!=="false"?Se:void 0:void 0},nameGap:6,min:he,max:me,scale:de,boundaryGap:["0%","1%"],z:2}),Ji={type:"value",show:!1,alignTicks:!0,splitLine:{show:be},axisLine:{show:De,onZero:!1},axisTick:{show:w},axisLabel:{show:Be,hideOverlap:!0,margin:4,formatter(p){return Qt(p,qe,Rt)},color:ze==="true"?we?we[$e]:jt[$e]:ze!=="false"?ze:void 0},name:Te,nameLocation:"end",nameTextStyle:{align:"right",verticalAlign:"top",padding:[0,0,0,5],color:ze==="true"?we?we[$e]:jt[$e]:ze!=="false"?ze:void 0},nameGap:6,min:Qe,max:st,scale:Pe,boundaryGap:["0%","1%"],z:2},t(88,ft=[ft,Ji])),Oe){if(t(42,Oe=Number(Oe)),isNaN(Oe))throw Error("chartAreaHeight must be a number");if(Oe<=0)throw Error("chartAreaHeight must be a positive number")}else t(42,Oe=180);t(91,zt=!!E),t(92,ut=!!V),t(93,hi=Ae*(T!==null||typeof c=="object"&&c.length>1)),t(94,gi=C!==""&&z),t(95,bi=Z!==""&&!z),t(96,_i=15),t(97,wi=13),t(98,ki=6*ut),t(99,Ci=zt*_i+ut*wi+ki*Math.max(zt,ut)),t(100,Si=10),t(101,Ti=8),t(102,Ai=14),t(103,Oi=14),t(104,ct=15),t(104,ct=ct*hi),t(105,Ft=7),t(105,Ft=Ft*Math.max(zt,ut)),t(106,It=Ci+Ft),t(107,Ht=It+ct+Oi*gi+Si),t(108,Wt=bi*Ai+Ti),t(112,Di=8),t(114,Ut=1),z&&(t(113,zi=mi.length),t(114,Ut=Math.max(1,zi/Di))),t(109,Li=Oe*Ut+Ht+Wt),t(110,Mi=It+ct+7),t(16,Ui=Li+"px"),t(14,Fi="100%"),t(111,mt=z?C:Z),mt!==""&&t(111,mt=mt+" →"),t(89,di={id:"horiz-axis-title",type:"text",style:{text:mt,textAlign:"right",fill:Me.grey500},cursor:"auto",right:z?"2%":"3%",top:z?Mi:null,bottom:z?null:"2%"}),t(90,yi={title:{text:E,subtext:V,subtextStyle:{width:Fi}},tooltip:{trigger:"axis",formatter(p){let gt,bt,_t,Xt;if(ji>1){bt=p[0].value[z?1:0],gt=`<span id="tooltip" style='font-weight: 600;'>${nt(bt,pe)}</span>`;for(let et=p.length-1;et>=0;et--)p[et].seriesName!=="stackTotal"&&(_t=p[et].value[z?0:1],gt=gt+`<br> ${p[et].marker} ${p[et].seriesName} <span style='float:right; margin-left: 10px;'>${nt(_t,Fn(p[et].componentIndex,yt,Ei)===0?_e:qe)}</span>`)}else H==="value"?(bt=p[0].value[z?1:0],_t=p[0].value[z?0:1],Xt=p[0].seriesName,gt=`<span id="tooltip" style='font-weight: 600;'>${it(y,pe)}: </span><span style='float:right; margin-left: 10px;'>${nt(bt,pe)}</span><br/><span style='font-weight: 600;'>${it(Xt,_e)}: </span><span style='float:right; margin-left: 10px;'>${nt(_t,_e)}</span>`):(bt=p[0].value[z?1:0],_t=p[0].value[z?0:1],Xt=p[0].seriesName,gt=`<span id="tooltip" style='font-weight: 600;'>${nt(bt,pe)}</span><br/><span>${it(Xt,_e)}: </span><span style='float:right; margin-left: 10px;'>${nt(_t,_e)}</span>`);return gt},confine:!0,axisPointer:{type:"shadow"},extraCssText:'box-shadow: 0 3px 6px rgba(0,0,0,.15); box-shadow: 0 2px 4px rgba(0,0,0,.12); z-index: 1; font-feature-settings: "cv02", "tnum";',order:"valueDesc"},legend:{show:Ae,type:"scroll",top:It,padding:[0,0,0,0],data:[]},grid:{left:"0.5%",right:z?"4%":"3%",bottom:Wt,top:Ht,containLabel:!0},xAxis:xt,yAxis:ft,series:[],animation:!0,graphic:di,color:we}),a.update(()=>yi)}catch(yt){t(15,Vt=yt.message),console.error("\x1B[31m%s\x1B[0m",`Error in ${ne}: ${yt.message}`),s.update($e=>({...$e,error:Vt}))}n.$$.dirty[0]&1},ni(Mn,s),ni(Dn,a),[o,A,z,Xe,Ye,f,_,E,ne,St,Tt,At,Ot,Lt,Fi,Vt,Ui,i,a,y,c,H,Z,x,ie,B,se,J,N,C,U,fe,ue,ce,de,Te,De,w,be,Be,Pe,Ae,Oe,g,T,h,b,V,q,k,F,Q,R,W,X,m,he,me,ge,Se,Qe,st,Ue,ze,Ze,we,at,Ve,L,D,P,le,u,qt,ot,fi,Mt,je,ui,pe,_e,qe,Nt,ci,Dt,Rt,mi,xt,ft,di,yi,zt,ut,hi,gi,bi,_i,wi,ki,Ci,Si,Ti,Ai,Oi,ct,Ft,It,Ht,Wt,Li,Mi,mt,Di,zi,Ut,Je,dt,Ne,Et,Fe,Ii,ve,l,r]}class er extends He{constructor(e){super(),We(this,e,$l,vl,xe,{data:0,queryID:5,x:19,y:20,y2:43,series:44,size:45,tooltipTitle:46,showAllXAxisLabels:6,printEchartsConfig:1,swapXY:2,title:7,subtitle:47,chartType:8,bubble:48,hist:49,boxplot:50,xType:21,xAxisTitle:22,xBaseline:23,xTickMarks:24,xGridlines:25,xAxisLabels:26,sort:27,xFmt:51,xMin:52,xMax:53,yLog:28,yType:54,yLogBase:55,yAxisTitle:29,yBaseline:30,yTickMarks:31,yGridlines:32,yAxisLabels:33,yMin:56,yMax:57,yScale:34,yFmt:58,yAxisColor:59,y2AxisTitle:35,y2Baseline:36,y2TickMarks:37,y2Gridlines:38,y2AxisLabels:39,y2Min:60,y2Max:61,y2Scale:40,y2Fmt:62,y2AxisColor:63,sizeFmt:64,colorPalette:65,legend:41,echartsOptions:9,seriesOptions:10,seriesColors:11,stackType:66,stacked100:67,chartAreaHeight:42,renderer:12,downloadableData:3,downloadableImage:4,connectGroup:13},null,[-1,-1,-1,-1,-1])}}function tr(n){let e;const t=n[6].default,i=ri(t,n,n[7],null);return{c(){i&&i.c()},l(r){i&&i.l(r)},m(r,l){i&&i.m(r,l),e=!0},p(r,l){i&&i.p&&(!e||l&128)&&si(i,t,r,r[7],e?oi(t,r[7],l,null):ai(r[7]),null)},i(r){e||(O(i,r),e=!0)},o(r){I(i,r),e=!1},d(r){i&&i.d(r)}}}function ir(n){let e,t;const i=[n[4],{data:Ke.isQuery(n[10])?Array.from(n[10]):n[10]},{queryID:n[5]}];let r={$$slots:{default:[tr]},$$scope:{ctx:n}};for(let l=0;l<i.length;l+=1)r=pt(r,i[l]);return e=new er({props:r}),{c(){v(e.$$.fragment)},l(l){$(e.$$.fragment,l)},m(l,s){ee(e,l,s),t=!0},p(l,s){const a=s&1072?Jn(i,[s&16&&vn(l[4]),s&1024&&{data:Ke.isQuery(l[10])?Array.from(l[10]):l[10]},s&32&&{queryID:l[5]}]):{};s&128&&(a.$$scope={dirty:s,ctx:l}),e.$set(a)},i(l){t||(O(e.$$.fragment,l),t=!0)},o(l){I(e.$$.fragment,l),t=!1},d(l){te(e,l)}}}function nr(n){let e,t;return e=new $n({props:{slot:"empty",emptyMessage:n[2],emptySet:n[1],chartType:n[4].chartType,isInitial:n[3]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r&4&&(l.emptyMessage=i[2]),r&2&&(l.emptySet=i[1]),r&16&&(l.chartType=i[4].chartType),r&8&&(l.isInitial=i[3]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function lr(n){let e,t;return e=new zn({props:{slot:"error",chartType:n[4].chartType,error:n[10].error.message}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r&16&&(l.chartType=i[4].chartType),r&1024&&(l.error=i[10].error.message),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function rr(n){let e,t;return e=new Zn({props:{data:n[0],$$slots:{error:[lr,({loaded:i})=>({10:i}),({loaded:i})=>i?1024:0],empty:[nr],default:[ir,({loaded:i})=>({10:i}),({loaded:i})=>i?1024:0]},$$scope:{ctx:n}}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,[r]){const l={};r&1&&(l.data=i[0]),r&1182&&(l.$$scope={dirty:r,ctx:i}),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function sr(n,e,t){let i,{$$slots:r={},$$scope:l}=e,{data:s}=e;const a=Ke.isQuery(s)?s.hash:void 0;let o=(s==null?void 0:s.hash)===a,{emptySet:f=void 0}=e,{emptyMessage:y=void 0}=e,c=s==null?void 0:s.id;return n.$$set=g=>{t(9,e=pt(pt({},e),qi(g))),"data"in g&&t(0,s=g.data),"emptySet"in g&&t(1,f=g.emptySet),"emptyMessage"in g&&t(2,y=g.emptyMessage),"$$scope"in g&&t(7,l=g.$$scope)},n.$$.update=()=>{n.$$.dirty&1&&t(3,o=(s==null?void 0:s.hash)===a),t(4,i={...Object.fromEntries(Object.entries(e).filter(([,g])=>g!==void 0))})},e=qi(e),[s,f,y,o,i,c,r,l]}class ar extends He{constructor(e){super(),We(this,e,sr,rr,xe,{data:0,emptySet:1,emptyMessage:2})}}function or(n,e,t,i,r,l,s,a,o,f,y=void 0,c=void 0,g=void 0){function T(k,F,P,H){let Z={name:F,data:k,yAxisIndex:P};return Z={...H,...Z},Z}let h,b,_,A=[],L,D,z,E,V;function ne(k,F){const P=[];function H(x){return typeof x>"u"}function Z(x,ie){H(x)||(Array.isArray(x)?x.forEach(B=>P.push([B,ie])):P.push([x,ie]))}return Z(k,0),Z(F,1),P}let q=ne(t,g);if(i!=null&&q.length===1)for(E=Bt(n,i),h=0;h<E.length;h++){if(D=n.filter(k=>k[i]===E[h]),r?L=D.map(k=>[k[q[0][0]],a?k[e].toString():k[e]]):L=D.map(k=>[a?k[e].toString():k[e],k[q[0][0]]]),y){let k=D.map(F=>F[y]);L.forEach((F,P)=>F.push(k[P]))}if(c){let k=D.map(F=>F[c]);L.forEach((F,P)=>F.push(k[P]))}z=E[h]??"null",V=q[0][1],_=T(L,z,V,l),A.push(_)}if(i!=null&&q.length>1)for(E=Bt(n,i),h=0;h<E.length;h++)for(D=n.filter(k=>k[i]===E[h]),b=0;b<q.length;b++){if(r?L=D.map(k=>[k[q[b][0]],a?k[e].toString():k[e]]):L=D.map(k=>[a?k[e].toString():k[e],k[q[b][0]]]),y){let k=D.map(F=>F[y]);L.forEach((F,P)=>F.push(k[P]))}if(c){let k=D.map(F=>F[c]);L.forEach((F,P)=>F.push(k[P]))}z=(E[h]??"null")+" - "+o[q[b][0]].title,V=q[b][1],_=T(L,z,V,l),A.push(_)}if(i==null&&q.length>1)for(h=0;h<q.length;h++){if(r?L=n.map(k=>[k[q[h][0]],a?k[e].toString():k[e]]):L=n.map(k=>[a?k[e].toString():k[e],k[q[h][0]]]),y){let k=n.map(F=>F[y]);L.forEach((F,P)=>F.push(k[P]))}if(c){let k=n.map(F=>F[c]);L.forEach((F,P)=>F.push(k[P]))}z=o[q[h][0]].title,V=q[h][1],_=T(L,z,V,l),A.push(_)}if(i==null&&q.length===1){if(r?L=n.map(k=>[k[q[0][0]],a?k[e].toString():k[e]]):L=n.map(k=>[a?k[e].toString():k[e],k[q[0][0]]]),y){let k=n.map(F=>F[y]);L.forEach((F,P)=>F.push(k[P]))}if(c){let k=n.map(F=>F[c]);L.forEach((F,P)=>F.push(k[P]))}z=o[q[0][0]].title,V=q[0][1],_=T(L,z,V,l),A.push(_)}return f&&A.sort((k,F)=>f.indexOf(k.name)-f.indexOf(F.name)),A}function fr(n){let e=[];for(let t=1;t<n.length;t++)e.push(n[t]-n[t-1]);return e}function In(n,e){return(typeof n!="number"||isNaN(n))&&(n=0),(typeof e!="number"||isNaN(e))&&(e=0),n=Math.abs(n),e=Math.abs(e),e<=.01?n:In(e,n%e)}function ur(n,e){if(!Array.isArray(n))throw new TypeError("Cannot calculate extent of non-array value.");let t,i;for(const r of n)typeof r=="number"&&(t===void 0?r>=r&&(t=i=r):(t>r&&(t=r),i<r&&(i=r)));return[t,i]}function cr(n,e){let[t,i]=ur(n);const r=[];let l=t;for(;l<=i;)r.push(Math.round((l+Number.EPSILON)*1e8)/1e8),l+=e;return r}function mr(n){if(n.length<=1)return;n.sort(function(t,i){return t-i}),n=n.map(function(t){return t*1e8}),n=fr(n);let e=n.reduce((t,i)=>In(t,i))/1e8;return e=Math.round((e+Number.EPSILON)*1e8)/1e8,e}function bn(n,e,t,i,r=!1,l=!1){var T;let s=!1;const a=n.map(h=>Object.assign({},h,{[e]:h[e]instanceof Date?(s=!0,h[e].toISOString()):h[e]})).filter(h=>h[e]!==void 0&&h[e]!==null),o=Array.from(a).reduce((h,b)=>(b[e]instanceof Date&&(b[e]=b[e].toISOString(),s=!0),i?(h[b[i]??"null"]||(h[b[i]??"null"]=[]),h[b[i]??"null"].push(b)):(h.default||(h.default=[]),h.default.push(b)),h),{}),f={};let y;const c=((T=a.find(h=>h&&h[e]!==null&&h[e]!==void 0))==null?void 0:T[e])??null;switch(typeof c){case"object":throw c===null?new Error(`Column '${e}' is entirely null. Column must contain at least one non-null value.`):new Error("Unexpected object property, expected string, date, or number");case"number":if(y=Bt(a,e),l){const h=mr(y);f[e]=cr(y,h)}break;case"string":y=Bt(a,e),f[e]=y;break}const g=[];for(const h of Object.values(o)){const b=i?{[i]:null}:{};if(r)if(t instanceof Array)for(let A=0;A<t.length;A++)b[t[A]]=0;else b[t]=0;else if(t instanceof Array)for(let A=0;A<t.length;A++)b[t[A]]=null;else b[t]=null;i&&(f[i]=i);const _=[];Object.keys(f).length===0?_.push(an([e],b)):_.push(an(f,b)),g.push(kt(h,..._))}return s?g.flat().map(h=>({...h,[e]:new Date(h[e])})):g.flat()}function dr(n,e,t){let i,r,l,s,a,o,f,y,c,g,T,h,b,_,A=Pi(Mn);li(n,A,w=>t(41,_=w));let L=Pi(Dn),{y:D=void 0}=e;const z=!!D;let{y2:E=void 0}=e;const V=!!E;let{series:ne=void 0}=e;const q=!!ne;let{options:k=void 0}=e,{name:F=void 0}=e,{lineColor:P=void 0}=e,{lineWidth:H=2}=e,{lineType:Z="solid"}=e,{lineOpacity:x=void 0}=e,{markers:ie=!1}=e,{markerShape:B="circle"}=e,{markerSize:se=8}=e,{labels:J=!1}=e,{labelSize:Q=11}=e,{labelPosition:R="top"}=e,{labelColor:W=void 0}=e,{labelFmt:N=void 0}=e,X;N&&(X=Re(N));let{yLabelFmt:m=void 0}=e,C;m&&(C=Re(m));let{y2LabelFmt:U=void 0}=e,fe;U&&(fe=Re(U));let{y2SeriesType:ue=void 0}=e,{showAllLabels:ce=!1}=e,{handleMissing:he="gap"}=e,{step:me=!1}=e,{stepPosition:de="end"}=e,{seriesOrder:ge=void 0}=e;const Se={above:"top",below:"bottom",middle:"inside"},Te={above:"right",below:"left",middle:"inside"};let De=l?"right":"top";return Bn(()=>{L.update(w=>{if(l)w.yAxis={...w.yAxis,...b.xAxis},w.xAxis={...w.xAxis,...b.yAxis};else if(w.yAxis[0]={...w.yAxis[0],...b.yAxis},w.xAxis={...w.xAxis,...b.xAxis},E&&(w.yAxis[1]={...w.yAxis[1],show:!0},["line","bar","scatter"].includes(ue)))for(let be=0;be<f;be++)w.series[o+be].type=ue;return J&&(w.axisPointer={triggerEmphasis:!1}),w})}),n.$$set=w=>{"y"in w&&t(1,D=w.y),"y2"in w&&t(2,E=w.y2),"series"in w&&t(3,ne=w.series),"options"in w&&t(9,k=w.options),"name"in w&&t(4,F=w.name),"lineColor"in w&&t(10,P=w.lineColor),"lineWidth"in w&&t(11,H=w.lineWidth),"lineType"in w&&t(12,Z=w.lineType),"lineOpacity"in w&&t(13,x=w.lineOpacity),"markers"in w&&t(5,ie=w.markers),"markerShape"in w&&t(14,B=w.markerShape),"markerSize"in w&&t(15,se=w.markerSize),"labels"in w&&t(6,J=w.labels),"labelSize"in w&&t(16,Q=w.labelSize),"labelPosition"in w&&t(7,R=w.labelPosition),"labelColor"in w&&t(17,W=w.labelColor),"labelFmt"in w&&t(18,N=w.labelFmt),"yLabelFmt"in w&&t(19,m=w.yLabelFmt),"y2LabelFmt"in w&&t(20,U=w.y2LabelFmt),"y2SeriesType"in w&&t(21,ue=w.y2SeriesType),"showAllLabels"in w&&t(22,ce=w.showAllLabels),"handleMissing"in w&&t(23,he=w.handleMissing),"step"in w&&t(8,me=w.step),"stepPosition"in w&&t(24,de=w.stepPosition),"seriesOrder"in w&&t(25,ge=w.seriesOrder)},n.$$.update=()=>{if(n.$$.dirty[0]&32&&t(5,ie=ie==="true"||ie===!0),n.$$.dirty[0]&64&&t(6,J=J==="true"||J===!0),n.$$.dirty[0]&256&&t(8,me=me==="true"||me===!0),n.$$.dirty[1]&1024&&t(38,i=_.data),n.$$.dirty[1]&1024&&t(37,r=_.x),n.$$.dirty[0]&2|n.$$.dirty[1]&1024&&t(1,D=z?D:_.y),n.$$.dirty[0]&4|n.$$.dirty[1]&1024&&t(2,E=V?E:_.y2),n.$$.dirty[1]&1024&&t(31,l=_.swapXY),n.$$.dirty[1]&1024&&t(40,s=_.yFormat),n.$$.dirty[1]&1024&&t(39,a=_.y2Format),n.$$.dirty[1]&1024&&t(29,o=_.yCount),n.$$.dirty[1]&1024&&t(30,f=_.y2Count),n.$$.dirty[1]&1024&&t(32,y=_.xType),n.$$.dirty[1]&1024&&t(35,c=_.xMismatch),n.$$.dirty[1]&1024&&t(34,g=_.columnSummary),n.$$.dirty[0]&8|n.$$.dirty[1]&1024&&t(3,ne=q?ne:_.series),n.$$.dirty[0]&26|n.$$.dirty[1]&200)if(!ne&&typeof D!="object")t(4,F=F??it(D,g[D].title));else try{t(38,i=bn(i,r,D,ne))}catch(w){console.warn("Failed to complete data",{e:w}),t(38,i=[])}if(n.$$.dirty[0]&8388618|n.$$.dirty[1]&192&&he==="zero")try{t(38,i=bn(i,r,D,ne,!0))}catch(w){console.warn("Failed to complete data",{e:w}),t(38,i=[])}n.$$.dirty[0]&128|n.$$.dirty[1]&1&&t(7,R=(l?Te[R]:Se[R])??De),n.$$.dirty[0]&2109996512|n.$$.dirty[1]&769&&t(36,T={type:"line",label:{show:J,formatter(w){return w.value[l?0:1]===0?"":nt(w.value[l?0:1],[C??X??s,fe??X??a][Fn(w.componentIndex,o,f)])},fontSize:Q,color:W,position:R,padding:3},labelLayout:{hideOverlap:!ce},connectNulls:he==="connect",emphasis:{focus:"series",endLabel:{show:!1},lineStyle:{opacity:1,width:3}},lineStyle:{width:parseInt(H),type:Z,opacity:x},itemStyle:{color:P,opacity:x},showSymbol:J||ie,symbol:B,symbolSize:J&&!ie?0:se,step:me?de:!1}),n.$$.dirty[0]&33554462|n.$$.dirty[1]&249&&t(33,h=or(i,r,D,ne,l,T,F,c,g,ge,void 0,void 0,E)),n.$$.dirty[1]&4&&L.update(w=>(w.series.push(...h),w.legend.data.push(...h.map(be=>be.name.toString())),w)),n.$$.dirty[0]&512&&k&&L.update(w=>({...w,...k})),n.$$.dirty[1]&2&&(b={yAxis:{boundaryGap:["0%","1%"]},xAxis:{boundaryGap:[y==="time"?"2%":"0%","2%"]}})},[A,D,E,ne,F,ie,J,R,me,k,P,H,Z,x,B,se,Q,W,N,m,U,ue,ce,he,de,ge,X,C,fe,o,f,l,y,h,g,c,T,r,i,a,s,_]}class yr extends He{constructor(e){super(),We(this,e,dr,null,xe,{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,y2SeriesType:21,showAllLabels:22,handleMissing:23,step:8,stepPosition:24,seriesOrder:25},null,[-1,-1])}}function hr(n){let e,t,i;e=new yr({props:{lineColor:n[36],lineWidth:n[39],lineOpacity:n[38],lineType:n[37],markers:n[41],markerShape:n[42],markerSize:n[43],handleMissing:n[44],step:n[45],stepPosition:n[46],labels:n[49],labelSize:n[50],labelPosition:n[51],labelColor:n[52],labelFmt:n[53],yLabelFmt:n[54],y2LabelFmt:n[55],showAllLabels:n[56],y2SeriesType:n[8],seriesOrder:n[68]}});const r=n[70].default,l=ri(r,n,n[71],null);return{c(){v(e.$$.fragment),t=Y(),l&&l.c()},l(s){$(e.$$.fragment,s),t=K(s),l&&l.l(s)},m(s,a){ee(e,s,a),j(s,t,a),l&&l.m(s,a),i=!0},p(s,a){const o={};a[1]&32&&(o.lineColor=s[36]),a[1]&256&&(o.lineWidth=s[39]),a[1]&128&&(o.lineOpacity=s[38]),a[1]&64&&(o.lineType=s[37]),a[1]&1024&&(o.markers=s[41]),a[1]&2048&&(o.markerShape=s[42]),a[1]&4096&&(o.markerSize=s[43]),a[1]&8192&&(o.handleMissing=s[44]),a[1]&16384&&(o.step=s[45]),a[1]&32768&&(o.stepPosition=s[46]),a[1]&262144&&(o.labels=s[49]),a[1]&524288&&(o.labelSize=s[50]),a[1]&1048576&&(o.labelPosition=s[51]),a[1]&2097152&&(o.labelColor=s[52]),a[1]&4194304&&(o.labelFmt=s[53]),a[1]&8388608&&(o.yLabelFmt=s[54]),a[1]&16777216&&(o.y2LabelFmt=s[55]),a[1]&33554432&&(o.showAllLabels=s[56]),a[0]&256&&(o.y2SeriesType=s[8]),a[2]&64&&(o.seriesOrder=s[68]),e.$set(o),l&&l.p&&(!i||a[2]&512)&&si(l,r,s,s[71],i?oi(r,s[71],a,null):ai(s[71]),null)},i(s){i||(O(e.$$.fragment,s),O(l,s),i=!0)},o(s){I(e.$$.fragment,s),I(l,s),i=!1},d(s){s&&S(t),te(e,s),l&&l.d(s)}}}function gr(n){let e,t;return e=new ar({props:{data:n[0],x:n[1],y:n[2],y2:n[3],xFmt:n[10],yFmt:n[9],y2Fmt:n[11],series:n[4],xType:n[5],yLog:n[6],yLogBase:n[7],legend:n[14],xAxisTitle:n[15],yAxisTitle:n[16],y2AxisTitle:n[17],xGridlines:n[18],yGridlines:n[19],y2Gridlines:n[20],xAxisLabels:n[21],yAxisLabels:n[22],y2AxisLabels:n[23],xBaseline:n[24],yBaseline:n[25],y2Baseline:n[26],xTickMarks:n[27],yTickMarks:n[28],y2TickMarks:n[29],yAxisColor:n[57],y2AxisColor:n[58],yMin:n[30],yMax:n[31],yScale:n[32],y2Min:n[33],y2Max:n[34],y2Scale:n[35],title:n[12],subtitle:n[13],chartType:"Line Chart",sort:n[47],chartAreaHeight:n[40],colorPalette:n[48],echartsOptions:n[59],seriesOptions:n[60],printEchartsConfig:n[61],emptySet:n[62],emptyMessage:n[63],renderer:n[64],downloadableData:n[65],downloadableImage:n[66],connectGroup:n[69],seriesColors:n[67],$$slots:{default:[hr]},$$scope:{ctx:n}}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&1&&(l.data=i[0]),r[0]&2&&(l.x=i[1]),r[0]&4&&(l.y=i[2]),r[0]&8&&(l.y2=i[3]),r[0]&1024&&(l.xFmt=i[10]),r[0]&512&&(l.yFmt=i[9]),r[0]&2048&&(l.y2Fmt=i[11]),r[0]&16&&(l.series=i[4]),r[0]&32&&(l.xType=i[5]),r[0]&64&&(l.yLog=i[6]),r[0]&128&&(l.yLogBase=i[7]),r[0]&16384&&(l.legend=i[14]),r[0]&32768&&(l.xAxisTitle=i[15]),r[0]&65536&&(l.yAxisTitle=i[16]),r[0]&131072&&(l.y2AxisTitle=i[17]),r[0]&262144&&(l.xGridlines=i[18]),r[0]&524288&&(l.yGridlines=i[19]),r[0]&1048576&&(l.y2Gridlines=i[20]),r[0]&2097152&&(l.xAxisLabels=i[21]),r[0]&4194304&&(l.yAxisLabels=i[22]),r[0]&8388608&&(l.y2AxisLabels=i[23]),r[0]&16777216&&(l.xBaseline=i[24]),r[0]&33554432&&(l.yBaseline=i[25]),r[0]&67108864&&(l.y2Baseline=i[26]),r[0]&134217728&&(l.xTickMarks=i[27]),r[0]&268435456&&(l.yTickMarks=i[28]),r[0]&536870912&&(l.y2TickMarks=i[29]),r[1]&67108864&&(l.yAxisColor=i[57]),r[1]&134217728&&(l.y2AxisColor=i[58]),r[0]&1073741824&&(l.yMin=i[30]),r[1]&1&&(l.yMax=i[31]),r[1]&2&&(l.yScale=i[32]),r[1]&4&&(l.y2Min=i[33]),r[1]&8&&(l.y2Max=i[34]),r[1]&16&&(l.y2Scale=i[35]),r[0]&4096&&(l.title=i[12]),r[0]&8192&&(l.subtitle=i[13]),r[1]&65536&&(l.sort=i[47]),r[1]&512&&(l.chartAreaHeight=i[40]),r[1]&131072&&(l.colorPalette=i[48]),r[1]&268435456&&(l.echartsOptions=i[59]),r[1]&536870912&&(l.seriesOptions=i[60]),r[1]&1073741824&&(l.printEchartsConfig=i[61]),r[2]&1&&(l.emptySet=i[62]),r[2]&2&&(l.emptyMessage=i[63]),r[2]&4&&(l.renderer=i[64]),r[2]&8&&(l.downloadableData=i[65]),r[2]&16&&(l.downloadableImage=i[66]),r[2]&128&&(l.connectGroup=i[69]),r[2]&32&&(l.seriesColors=i[67]),r[0]&256|r[1]&66911712|r[2]&576&&(l.$$scope={dirty:r,ctx:i}),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function br(n,e,t){let{$$slots:i={},$$scope:r}=e,{data:l=void 0}=e,{x:s=void 0}=e,{y:a=void 0}=e,{y2:o=void 0}=e,{series:f=void 0}=e,{xType:y=void 0}=e,{yLog:c=void 0}=e,{yLogBase:g=void 0}=e,{y2SeriesType:T=void 0}=e,{yFmt:h=void 0}=e,{xFmt:b=void 0}=e,{y2Fmt:_=void 0}=e,{title:A=void 0}=e,{subtitle:L=void 0}=e,{legend:D=void 0}=e,{xAxisTitle:z=void 0}=e,{yAxisTitle:E=o?"true":void 0}=e,{y2AxisTitle:V=o?"true":void 0}=e,{xGridlines:ne=void 0}=e,{yGridlines:q=void 0}=e,{y2Gridlines:k=void 0}=e,{xAxisLabels:F=void 0}=e,{yAxisLabels:P=void 0}=e,{y2AxisLabels:H=void 0}=e,{xBaseline:Z=void 0}=e,{yBaseline:x=void 0}=e,{y2Baseline:ie=void 0}=e,{xTickMarks:B=void 0}=e,{yTickMarks:se=void 0}=e,{y2TickMarks:J=void 0}=e,{yMin:Q=void 0}=e,{yMax:R=void 0}=e,{yScale:W=void 0}=e,{y2Min:N=void 0}=e,{y2Max:X=void 0}=e,{y2Scale:m=void 0}=e,{lineColor:C=void 0}=e,{lineType:U=void 0}=e,{lineOpacity:fe=void 0}=e,{lineWidth:ue=void 0}=e,{chartAreaHeight:ce=void 0}=e,{markers:he=void 0}=e,{markerShape:me=void 0}=e,{markerSize:de=void 0}=e,{handleMissing:ge=void 0}=e,{step:Se=void 0}=e,{stepPosition:Te=void 0}=e,{sort:De=void 0}=e,{colorPalette:w=void 0}=e,{labels:be=void 0}=e,{labelSize:Be=void 0}=e,{labelPosition:Qe=void 0}=e,{labelColor:st=void 0}=e,{labelFmt:Pe=void 0}=e,{yLabelFmt:Ue=void 0}=e,{y2LabelFmt:ze=void 0}=e,{showAllLabels:Ze=void 0}=e,{yAxisColor:we=void 0}=e,{y2AxisColor:Ae=void 0}=e,{echartsOptions:St=void 0}=e,{seriesOptions:Tt=void 0}=e,{printEchartsConfig:At=!1}=e,{emptySet:at=void 0}=e,{emptyMessage:Ve=void 0}=e,{renderer:Oe=void 0}=e,{downloadableData:Ot=void 0}=e,{downloadableImage:Xe=void 0}=e,{seriesColors:Ye=void 0}=e,{seriesOrder:Lt=void 0}=e,{connectGroup:le=void 0}=e;return n.$$set=u=>{"data"in u&&t(0,l=u.data),"x"in u&&t(1,s=u.x),"y"in u&&t(2,a=u.y),"y2"in u&&t(3,o=u.y2),"series"in u&&t(4,f=u.series),"xType"in u&&t(5,y=u.xType),"yLog"in u&&t(6,c=u.yLog),"yLogBase"in u&&t(7,g=u.yLogBase),"y2SeriesType"in u&&t(8,T=u.y2SeriesType),"yFmt"in u&&t(9,h=u.yFmt),"xFmt"in u&&t(10,b=u.xFmt),"y2Fmt"in u&&t(11,_=u.y2Fmt),"title"in u&&t(12,A=u.title),"subtitle"in u&&t(13,L=u.subtitle),"legend"in u&&t(14,D=u.legend),"xAxisTitle"in u&&t(15,z=u.xAxisTitle),"yAxisTitle"in u&&t(16,E=u.yAxisTitle),"y2AxisTitle"in u&&t(17,V=u.y2AxisTitle),"xGridlines"in u&&t(18,ne=u.xGridlines),"yGridlines"in u&&t(19,q=u.yGridlines),"y2Gridlines"in u&&t(20,k=u.y2Gridlines),"xAxisLabels"in u&&t(21,F=u.xAxisLabels),"yAxisLabels"in u&&t(22,P=u.yAxisLabels),"y2AxisLabels"in u&&t(23,H=u.y2AxisLabels),"xBaseline"in u&&t(24,Z=u.xBaseline),"yBaseline"in u&&t(25,x=u.yBaseline),"y2Baseline"in u&&t(26,ie=u.y2Baseline),"xTickMarks"in u&&t(27,B=u.xTickMarks),"yTickMarks"in u&&t(28,se=u.yTickMarks),"y2TickMarks"in u&&t(29,J=u.y2TickMarks),"yMin"in u&&t(30,Q=u.yMin),"yMax"in u&&t(31,R=u.yMax),"yScale"in u&&t(32,W=u.yScale),"y2Min"in u&&t(33,N=u.y2Min),"y2Max"in u&&t(34,X=u.y2Max),"y2Scale"in u&&t(35,m=u.y2Scale),"lineColor"in u&&t(36,C=u.lineColor),"lineType"in u&&t(37,U=u.lineType),"lineOpacity"in u&&t(38,fe=u.lineOpacity),"lineWidth"in u&&t(39,ue=u.lineWidth),"chartAreaHeight"in u&&t(40,ce=u.chartAreaHeight),"markers"in u&&t(41,he=u.markers),"markerShape"in u&&t(42,me=u.markerShape),"markerSize"in u&&t(43,de=u.markerSize),"handleMissing"in u&&t(44,ge=u.handleMissing),"step"in u&&t(45,Se=u.step),"stepPosition"in u&&t(46,Te=u.stepPosition),"sort"in u&&t(47,De=u.sort),"colorPalette"in u&&t(48,w=u.colorPalette),"labels"in u&&t(49,be=u.labels),"labelSize"in u&&t(50,Be=u.labelSize),"labelPosition"in u&&t(51,Qe=u.labelPosition),"labelColor"in u&&t(52,st=u.labelColor),"labelFmt"in u&&t(53,Pe=u.labelFmt),"yLabelFmt"in u&&t(54,Ue=u.yLabelFmt),"y2LabelFmt"in u&&t(55,ze=u.y2LabelFmt),"showAllLabels"in u&&t(56,Ze=u.showAllLabels),"yAxisColor"in u&&t(57,we=u.yAxisColor),"y2AxisColor"in u&&t(58,Ae=u.y2AxisColor),"echartsOptions"in u&&t(59,St=u.echartsOptions),"seriesOptions"in u&&t(60,Tt=u.seriesOptions),"printEchartsConfig"in u&&t(61,At=u.printEchartsConfig),"emptySet"in u&&t(62,at=u.emptySet),"emptyMessage"in u&&t(63,Ve=u.emptyMessage),"renderer"in u&&t(64,Oe=u.renderer),"downloadableData"in u&&t(65,Ot=u.downloadableData),"downloadableImage"in u&&t(66,Xe=u.downloadableImage),"seriesColors"in u&&t(67,Ye=u.seriesColors),"seriesOrder"in u&&t(68,Lt=u.seriesOrder),"connectGroup"in u&&t(69,le=u.connectGroup),"$$scope"in u&&t(71,r=u.$$scope)},[l,s,a,o,f,y,c,g,T,h,b,_,A,L,D,z,E,V,ne,q,k,F,P,H,Z,x,ie,B,se,J,Q,R,W,N,X,m,C,U,fe,ue,ce,he,me,de,ge,Se,Te,De,w,be,Be,Qe,st,Pe,Ue,ze,Ze,we,Ae,St,Tt,At,at,Ve,Oe,Ot,Xe,Ye,Lt,le,i,r]}class ii extends He{constructor(e){super(),We(this,e,br,gr,xe,{data:0,x:1,y:2,y2:3,series:4,xType:5,yLog:6,yLogBase:7,y2SeriesType:8,yFmt:9,xFmt:10,y2Fmt:11,title:12,subtitle:13,legend:14,xAxisTitle:15,yAxisTitle:16,y2AxisTitle:17,xGridlines:18,yGridlines:19,y2Gridlines:20,xAxisLabels:21,yAxisLabels:22,y2AxisLabels:23,xBaseline:24,yBaseline:25,y2Baseline:26,xTickMarks:27,yTickMarks:28,y2TickMarks:29,yMin:30,yMax:31,yScale:32,y2Min:33,y2Max:34,y2Scale:35,lineColor:36,lineType:37,lineOpacity:38,lineWidth:39,chartAreaHeight:40,markers:41,markerShape:42,markerSize:43,handleMissing:44,step:45,stepPosition:46,sort:47,colorPalette:48,labels:49,labelSize:50,labelPosition:51,labelColor:52,labelFmt:53,yLabelFmt:54,y2LabelFmt:55,showAllLabels:56,yAxisColor:57,y2AxisColor:58,echartsOptions:59,seriesOptions:60,printEchartsConfig:61,emptySet:62,emptyMessage:63,renderer:64,downloadableData:65,downloadableImage:66,seriesColors:67,seriesOrder:68,connectGroup:69},null,[-1,-1,-1])}}function _r(n){let e,t=re.title+"",i;return{c(){e=ae("h1"),i=An(t),this.h()},l(r){e=oe(r,"H1",{class:!0});var l=ye(e);i=On(l,t),l.forEach(S),this.h()},h(){G(e,"class","title")},m(r,l){j(r,e,l),ke(e,i)},p:Le,d(r){r&&S(e)}}}function wr(n){return{c(){this.h()},l(e){this.h()},h(){document.title="Evidence"},m:Le,p:Le,d:Le}}function kr(n){let e,t,i,r,l;return document.title=e=re.title,{c(){t=Y(),i=ae("meta"),r=Y(),l=ae("meta"),this.h()},l(s){t=K(s),i=oe(s,"META",{property:!0,content:!0}),r=K(s),l=oe(s,"META",{name:!0,content:!0}),this.h()},h(){var s,a;G(i,"property","og:title"),G(i,"content",((s=re.og)==null?void 0:s.title)??re.title),G(l,"name","twitter:title"),G(l,"content",((a=re.og)==null?void 0:a.title)??re.title)},m(s,a){j(s,t,a),j(s,i,a),j(s,r,a),j(s,l,a)},p(s,a){a&0&&e!==(e=re.title)&&(document.title=e)},d(s){s&&(S(t),S(i),S(r),S(l))}}}function Cr(n){var l,s;let e,t,i=(re.description||((l=re.og)==null?void 0:l.description))&&Sr(),r=((s=re.og)==null?void 0:s.image)&&Tr();return{c(){i&&i.c(),e=Y(),r&&r.c(),t=Ce()},l(a){i&&i.l(a),e=K(a),r&&r.l(a),t=Ce()},m(a,o){i&&i.m(a,o),j(a,e,o),r&&r.m(a,o),j(a,t,o)},p(a,o){var f,y;(re.description||(f=re.og)!=null&&f.description)&&i.p(a,o),(y=re.og)!=null&&y.image&&r.p(a,o)},d(a){a&&(S(e),S(t)),i&&i.d(a),r&&r.d(a)}}}function Sr(n){let e,t,i,r,l;return{c(){e=ae("meta"),t=Y(),i=ae("meta"),r=Y(),l=ae("meta"),this.h()},l(s){e=oe(s,"META",{name:!0,content:!0}),t=K(s),i=oe(s,"META",{property:!0,content:!0}),r=K(s),l=oe(s,"META",{name:!0,content:!0}),this.h()},h(){var s,a,o;G(e,"name","description"),G(e,"content",re.description??((s=re.og)==null?void 0:s.description)),G(i,"property","og:description"),G(i,"content",((a=re.og)==null?void 0:a.description)??re.description),G(l,"name","twitter:description"),G(l,"content",((o=re.og)==null?void 0:o.description)??re.description)},m(s,a){j(s,e,a),j(s,t,a),j(s,i,a),j(s,r,a),j(s,l,a)},p:Le,d(s){s&&(S(e),S(t),S(i),S(r),S(l))}}}function Tr(n){let e,t,i;return{c(){e=ae("meta"),t=Y(),i=ae("meta"),this.h()},l(r){e=oe(r,"META",{property:!0,content:!0}),t=K(r),i=oe(r,"META",{name:!0,content:!0}),this.h()},h(){var r,l;G(e,"property","og:image"),G(e,"content",nn((r=re.og)==null?void 0:r.image)),G(i,"name","twitter:image"),G(i,"content",nn((l=re.og)==null?void 0:l.image))},m(r,l){j(r,e,l),j(r,t,l),j(r,i,l)},p:Le,d(r){r&&(S(e),S(t),S(i))}}}function _n(n){let e,t;return e=new Pt({props:{queryID:"date_range",queryResult:n[0]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&1&&(l.queryResult=i[0]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function wn(n){let e,t;return e=new Pt({props:{queryID:"aggregate_stats",queryResult:n[1]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&2&&(l.queryResult=i[1]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function kn(n){let e,t;return e=new Pt({props:{queryID:"fares_by_day",queryResult:n[2]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&4&&(l.queryResult=i[2]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function Ar(n){let e,t,i,r,l,s,a,o;return e=new ii({props:{title:"Rides by Day",data:n[2],x:"day",y:"rides"}}),i=new ii({props:{title:"Fare Amount by Day",data:n[2],x:"day",y:"fare_amount",yFmt:"usd1m"}}),l=new ii({props:{title:"Trip Distance by Day",data:n[2],x:"day",y:"trip_distance"}}),a=new ii({props:{title:"Fare per Mile by Day",data:n[2],x:"day",y:"fare_per_mile"}}),{c(){v(e.$$.fragment),t=Y(),v(i.$$.fragment),r=Y(),v(l.$$.fragment),s=Y(),v(a.$$.fragment)},l(f){$(e.$$.fragment,f),t=K(f),$(i.$$.fragment,f),r=K(f),$(l.$$.fragment,f),s=K(f),$(a.$$.fragment,f)},m(f,y){ee(e,f,y),j(f,t,y),ee(i,f,y),j(f,r,y),ee(l,f,y),j(f,s,y),ee(a,f,y),o=!0},p(f,y){const c={};y[0]&4&&(c.data=f[2]),e.$set(c);const g={};y[0]&4&&(g.data=f[2]),i.$set(g);const T={};y[0]&4&&(T.data=f[2]),l.$set(T);const h={};y[0]&4&&(h.data=f[2]),a.$set(h)},i(f){o||(O(e.$$.fragment,f),O(i.$$.fragment,f),O(l.$$.fragment,f),O(a.$$.fragment,f),o=!0)},o(f){I(e.$$.fragment,f),I(i.$$.fragment,f),I(l.$$.fragment,f),I(a.$$.fragment,f),o=!1},d(f){f&&(S(t),S(r),S(s)),te(e,f),te(i,f),te(l,f),te(a,f)}}}function Cn(n){let e,t;return e=new Pt({props:{queryID:"fares_by_pickup_location",queryResult:n[3]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&8&&(l.queryResult=i[3]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function Sn(n){let e,t;return e=new Pt({props:{queryID:"fares_by_pickup_borough",queryResult:n[4]}}),{c(){v(e.$$.fragment)},l(i){$(e.$$.fragment,i)},m(i,r){ee(e,i,r),t=!0},p(i,r){const l={};r[0]&16&&(l.queryResult=i[4]),e.$set(l)},i(i){t||(O(e.$$.fragment,i),t=!0)},o(i){I(e.$$.fragment,i),t=!1},d(i){te(e,i)}}}function Or(n){let e,t,i,r,l,s,a,o;return e=new Zt({props:{id:"borough"}}),i=new Zt({props:{id:"rides",fmt:"num0"}}),l=new Zt({props:{id:"fare_amount",fmt:"usd1m"}}),a=new Zt({props:{id:"trip_distance",fmt:"num0"}}),{c(){v(e.$$.fragment),t=Y(),v(i.$$.fragment),r=Y(),v(l.$$.fragment),s=Y(),v(a.$$.fragment)},l(f){$(e.$$.fragment,f),t=K(f),$(i.$$.fragment,f),r=K(f),$(l.$$.fragment,f),s=K(f),$(a.$$.fragment,f)},m(f,y){ee(e,f,y),j(f,t,y),ee(i,f,y),j(f,r,y),ee(l,f,y),j(f,s,y),ee(a,f,y),o=!0},p:Le,i(f){o||(O(e.$$.fragment,f),O(i.$$.fragment,f),O(l.$$.fragment,f),O(a.$$.fragment,f),o=!0)},o(f){I(e.$$.fragment,f),I(i.$$.fragment,f),I(l.$$.fragment,f),I(a.$$.fragment,f),o=!1},d(f){f&&(S(t),S(r),S(s)),te(e,f),te(i,f),te(l,f),te(a,f)}}}function Lr(n){let e,t,i,r,l,s,a,o="This is an exploration of NYC taxi data in 2022. It includes a summary of the data, rides by day, and rides by pickup location.",f,y,c,g,T,h,b,_,A,L,D,z,E,V,ne,q,k,F,P,H,Z,x=typeof re<"u"&&re.title&&re.hide_title!==!0&&_r();function ie(m,C){return typeof re<"u"&&re.title?kr:wr}let se=ie()(n),J=typeof re=="object"&&Cr(),Q=n[0]&&_n(n);y=new al({props:{name:"date_range",data:n[0],dates:"day"}});let R=n[1]&&wn(n);T=new Jt({props:{data:n[1],value:"rides",fmt:"num0"}}),b=new Jt({props:{data:n[1],value:"fare_amount",fmt:"usd1m"}}),A=new Jt({props:{data:n[1],value:"trip_distance",fmt:'#,##0 "mi"'}}),D=new Jt({props:{data:n[1],value:"fare_per_mile",fmt:"usd2"}});let W=n[2]&&kn(n);V=new _l({props:{$$slots:{default:[Ar]},$$scope:{ctx:n}}});let N=n[3]&&Cn(n);k=new ol({props:{data:n[3],geoJsonUrl:"/taxi_zones.geojson",geoId:"objectid",areaCol:"pickup_location_id",value:"rides",valueFmt:"num0",title:"Rides by Pickup Location",labelCol:"zone",tooltip:[{id:"zone",showColumnName:!1,valueClass:"text-xl font-semibold"},{id:"borough",showColumnName:!1,valueClass:"text-sm text-gray-500"},{id:"rides",fmt:"num0",fieldClass:"text-[grey]",valueClass:"text-[green]"},{id:"fare_amount",fmt:"usd",fieldClass:"text-[grey]",valueClass:"text-[green]"},{id:"trip_distance",fmt:"num0",fieldClass:"text-[grey]",valueClass:"text-[green]"}]}});let X=n[4]&&Sn(n);return H=new el({props:{data:n[4],link:"borough_link",$$slots:{default:[Or]},$$scope:{ctx:n}}}),{c(){x&&x.c(),e=Y(),se.c(),t=ae("meta"),i=ae("meta"),J&&J.c(),r=Ce(),l=Y(),Q&&Q.c(),s=Y(),a=ae("p"),a.textContent=o,f=Y(),v(y.$$.fragment),c=Y(),R&&R.c(),g=Y(),v(T.$$.fragment),h=Y(),v(b.$$.fragment),_=Y(),v(A.$$.fragment),L=Y(),v(D.$$.fragment),z=Y(),W&&W.c(),E=Y(),v(V.$$.fragment),ne=Y(),N&&N.c(),q=Y(),v(k.$$.fragment),F=Y(),X&&X.c(),P=Y(),v(H.$$.fragment),this.h()},l(m){x&&x.l(m),e=K(m);const C=Pn("svelte-6lktun",document.head);se.l(C),t=oe(C,"META",{name:!0,content:!0}),i=oe(C,"META",{name:!0,content:!0}),J&&J.l(C),r=Ce(),C.forEach(S),l=K(m),Q&&Q.l(m),s=K(m),a=oe(m,"P",{class:!0,"data-svelte-h":!0}),Tn(a)!=="svelte-1oqfwol"&&(a.textContent=o),f=K(m),$(y.$$.fragment,m),c=K(m),R&&R.l(m),g=K(m),$(T.$$.fragment,m),h=K(m),$(b.$$.fragment,m),_=K(m),$(A.$$.fragment,m),L=K(m),$(D.$$.fragment,m),z=K(m),W&&W.l(m),E=K(m),$(V.$$.fragment,m),ne=K(m),N&&N.l(m),q=K(m),$(k.$$.fragment,m),F=K(m),X&&X.l(m),P=K(m),$(H.$$.fragment,m),this.h()},h(){G(t,"name","twitter:card"),G(t,"content","summary"),G(i,"name","twitter:site"),G(i,"content","@evidence_dev"),G(a,"class","markdown")},m(m,C){x&&x.m(m,C),j(m,e,C),se.m(document.head,null),ke(document.head,t),ke(document.head,i),J&&J.m(document.head,null),ke(document.head,r),j(m,l,C),Q&&Q.m(m,C),j(m,s,C),j(m,a,C),j(m,f,C),ee(y,m,C),j(m,c,C),R&&R.m(m,C),j(m,g,C),ee(T,m,C),j(m,h,C),ee(b,m,C),j(m,_,C),ee(A,m,C),j(m,L,C),ee(D,m,C),j(m,z,C),W&&W.m(m,C),j(m,E,C),ee(V,m,C),j(m,ne,C),N&&N.m(m,C),j(m,q,C),ee(k,m,C),j(m,F,C),X&&X.m(m,C),j(m,P,C),ee(H,m,C),Z=!0},p(m,C){typeof re<"u"&&re.title&&re.hide_title!==!0&&x.p(m,C),se.p(m,C),typeof re=="object"&&J.p(m,C),m[0]?Q?(Q.p(m,C),C[0]&1&&O(Q,1)):(Q=_n(m),Q.c(),O(Q,1),Q.m(s.parentNode,s)):Q&&(Ie(),I(Q,1,1,()=>{Q=null}),Ee());const U={};C[0]&1&&(U.data=m[0]),y.$set(U),m[1]?R?(R.p(m,C),C[0]&2&&O(R,1)):(R=wn(m),R.c(),O(R,1),R.m(g.parentNode,g)):R&&(Ie(),I(R,1,1,()=>{R=null}),Ee());const fe={};C[0]&2&&(fe.data=m[1]),T.$set(fe);const ue={};C[0]&2&&(ue.data=m[1]),b.$set(ue);const ce={};C[0]&2&&(ce.data=m[1]),A.$set(ce);const he={};C[0]&2&&(he.data=m[1]),D.$set(he),m[2]?W?(W.p(m,C),C[0]&4&&O(W,1)):(W=kn(m),W.c(),O(W,1),W.m(E.parentNode,E)):W&&(Ie(),I(W,1,1,()=>{W=null}),Ee());const me={};C[0]&4|C[1]&2048&&(me.$$scope={dirty:C,ctx:m}),V.$set(me),m[3]?N?(N.p(m,C),C[0]&8&&O(N,1)):(N=Cn(m),N.c(),O(N,1),N.m(q.parentNode,q)):N&&(Ie(),I(N,1,1,()=>{N=null}),Ee());const de={};C[0]&8&&(de.data=m[3]),k.$set(de),m[4]?X?(X.p(m,C),C[0]&16&&O(X,1)):(X=Sn(m),X.c(),O(X,1),X.m(P.parentNode,P)):X&&(Ie(),I(X,1,1,()=>{X=null}),Ee());const ge={};C[0]&16&&(ge.data=m[4]),C[1]&2048&&(ge.$$scope={dirty:C,ctx:m}),H.$set(ge)},i(m){Z||(O(Q),O(y.$$.fragment,m),O(R),O(T.$$.fragment,m),O(b.$$.fragment,m),O(A.$$.fragment,m),O(D.$$.fragment,m),O(W),O(V.$$.fragment,m),O(N),O(k.$$.fragment,m),O(X),O(H.$$.fragment,m),Z=!0)},o(m){I(Q),I(y.$$.fragment,m),I(R),I(T.$$.fragment,m),I(b.$$.fragment,m),I(A.$$.fragment,m),I(D.$$.fragment,m),I(W),I(V.$$.fragment,m),I(N),I(k.$$.fragment,m),I(X),I(H.$$.fragment,m),Z=!1},d(m){m&&(S(e),S(l),S(s),S(a),S(f),S(c),S(g),S(h),S(_),S(L),S(z),S(E),S(ne),S(q),S(F),S(P)),x&&x.d(m),se.d(m),S(t),S(i),J&&J.d(m),S(r),Q&&Q.d(m),te(y,m),R&&R.d(m),te(T,m),te(b,m),te(A,m),te(D,m),W&&W.d(m),te(V,m),N&&N.d(m),te(k,m),X&&X.d(m),te(H,m)}}}const re={title:"NYC Taxi Data 2022",sidebar:"never"};function Mr(n,e,t){let i,r;li(n,sl,U=>t(28,i=U)),li(n,ln,U=>t(33,r=U));let{data:l}=e,{data:s={},customFormattingSettings:a,__db:o,inputs:f}=l;qn(ln,r="6666cd76f96956469e7be39d750cc7d9",r);let y=ll(Ni(f));Nn(y.subscribe(U=>t(7,f=U))),ni(nl,{getCustomFormats:()=>a.customFormats||[]});const c=(U,fe)=>rl(o.query,U,{query_name:fe});tl(c),i.params,Rn(()=>!0);let g={initialData:void 0,initialError:void 0},T=Ge`select * from taxi.dates`,h="select * from taxi.dates";s.date_range_data&&(s.date_range_data instanceof Error?g.initialError=s.date_range_data:g.initialData=s.date_range_data,s.date_range_columns&&(g.knownColumns=s.date_range_columns));let b,_=!1;const A=Ke.createReactive({callback:U=>{t(0,b=U)},execFn:c},{id:"date_range",...g});A(h,{noResolve:T,...g}),globalThis[Symbol.for("date_range")]={get value(){return b}};let L={initialData:void 0,initialError:void 0},D=Ge`select
|
9 |
+
sum(rides) as rides,
|
10 |
+
sum(fare_amount) as fare_amount,
|
11 |
+
sum(trip_distance) as trip_distance,
|
12 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
13 |
+
from taxi.summary
|
14 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'`,z=`select
|
15 |
+
sum(rides) as rides,
|
16 |
+
sum(fare_amount) as fare_amount,
|
17 |
+
sum(trip_distance) as trip_distance,
|
18 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
19 |
+
from taxi.summary
|
20 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'`;s.aggregate_stats_data&&(s.aggregate_stats_data instanceof Error?L.initialError=s.aggregate_stats_data:L.initialData=s.aggregate_stats_data,s.aggregate_stats_columns&&(L.knownColumns=s.aggregate_stats_columns));let E,V=!1;const ne=Ke.createReactive({callback:U=>{t(1,E=U)},execFn:c},{id:"aggregate_stats",...L});ne(z,{noResolve:D,...L}),globalThis[Symbol.for("aggregate_stats")]={get value(){return E}};let q={initialData:void 0,initialError:void 0},k=Ge`select *
|
21 |
+
from taxi.daily
|
22 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
23 |
+
group by all
|
24 |
+
order by day`,F=`select *
|
25 |
+
from taxi.daily
|
26 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
27 |
+
group by all
|
28 |
+
order by day`;s.fares_by_day_data&&(s.fares_by_day_data instanceof Error?q.initialError=s.fares_by_day_data:q.initialData=s.fares_by_day_data,s.fares_by_day_columns&&(q.knownColumns=s.fares_by_day_columns));let P,H=!1;const Z=Ke.createReactive({callback:U=>{t(2,P=U)},execFn:c},{id:"fares_by_day",...q});Z(F,{noResolve:k,...q}),globalThis[Symbol.for("fares_by_day")]={get value(){return P}};let x={initialData:void 0,initialError:void 0},ie=Ge`select
|
29 |
+
pickup_location_id,
|
30 |
+
zone,
|
31 |
+
borough,
|
32 |
+
sum(rides) as rides,
|
33 |
+
sum(fare_amount) as fare_amount,
|
34 |
+
sum(trip_distance) as trip_distance
|
35 |
+
from taxi.location l
|
36 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
37 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
38 |
+
group by all
|
39 |
+
order by rides desc`,B=`select
|
40 |
+
pickup_location_id,
|
41 |
+
zone,
|
42 |
+
borough,
|
43 |
+
sum(rides) as rides,
|
44 |
+
sum(fare_amount) as fare_amount,
|
45 |
+
sum(trip_distance) as trip_distance
|
46 |
+
from taxi.location l
|
47 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
48 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
49 |
+
group by all
|
50 |
+
order by rides desc`;s.fares_by_pickup_location_data&&(s.fares_by_pickup_location_data instanceof Error?x.initialError=s.fares_by_pickup_location_data:x.initialData=s.fares_by_pickup_location_data,s.fares_by_pickup_location_columns&&(x.knownColumns=s.fares_by_pickup_location_columns));let se,J=!1;const Q=Ke.createReactive({callback:U=>{t(3,se=U)},execFn:c},{id:"fares_by_pickup_location",...x});Q(B,{noResolve:ie,...x}),globalThis[Symbol.for("fares_by_pickup_location")]={get value(){return se}};let R={initialData:void 0,initialError:void 0},W=Ge`select
|
51 |
+
borough,
|
52 |
+
'/borough/' || borough as borough_link,
|
53 |
+
sum(rides) as rides,
|
54 |
+
sum(fare_amount) as fare_amount,
|
55 |
+
sum(trip_distance) as trip_distance
|
56 |
+
from taxi.location l
|
57 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
58 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
59 |
+
and borough is not null
|
60 |
+
group by all
|
61 |
+
order by rides desc`,N=`select
|
62 |
+
borough,
|
63 |
+
'/borough/' || borough as borough_link,
|
64 |
+
sum(rides) as rides,
|
65 |
+
sum(fare_amount) as fare_amount,
|
66 |
+
sum(trip_distance) as trip_distance
|
67 |
+
from taxi.location l
|
68 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
69 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
70 |
+
and borough is not null
|
71 |
+
group by all
|
72 |
+
order by rides desc`;s.fares_by_pickup_borough_data&&(s.fares_by_pickup_borough_data instanceof Error?R.initialError=s.fares_by_pickup_borough_data:R.initialData=s.fares_by_pickup_borough_data,s.fares_by_pickup_borough_columns&&(R.knownColumns=s.fares_by_pickup_borough_columns));let X,m=!1;const C=Ke.createReactive({callback:U=>{t(4,X=U)},execFn:c},{id:"fares_by_pickup_borough",...R});return C(N,{noResolve:W,...R}),globalThis[Symbol.for("fares_by_pickup_borough")]={get value(){return X}},n.$$set=U=>{"data"in U&&t(5,l=U.data)},n.$$.update=()=>{n.$$.dirty[0]&32&&t(6,{data:s={},customFormattingSettings:a,__db:o}=l,s),n.$$.dirty[0]&64&&il.set(Object.keys(s).length>0),n.$$.dirty[0]&268435456&&i.params,n.$$.dirty[0]&3840&&(T||!_?T||(A(h,{noResolve:T,...g}),t(11,_=!0)):A(h,{noResolve:T})),n.$$.dirty[0]&128&&t(13,D=Ge`select
|
73 |
+
sum(rides) as rides,
|
74 |
+
sum(fare_amount) as fare_amount,
|
75 |
+
sum(trip_distance) as trip_distance,
|
76 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
77 |
+
from taxi.summary
|
78 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'`),n.$$.dirty[0]&128&&t(14,z=`select
|
79 |
+
sum(rides) as rides,
|
80 |
+
sum(fare_amount) as fare_amount,
|
81 |
+
sum(trip_distance) as trip_distance,
|
82 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
83 |
+
from taxi.summary
|
84 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'`),n.$$.dirty[0]&61440&&(D||!V?D||(ne(z,{noResolve:D,...L}),t(15,V=!0)):ne(z,{noResolve:D})),n.$$.dirty[0]&128&&t(17,k=Ge`select *
|
85 |
+
from taxi.daily
|
86 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
87 |
+
group by all
|
88 |
+
order by day`),n.$$.dirty[0]&128&&t(18,F=`select *
|
89 |
+
from taxi.daily
|
90 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
91 |
+
group by all
|
92 |
+
order by day`),n.$$.dirty[0]&983040&&(k||!H?k||(Z(F,{noResolve:k,...q}),t(19,H=!0)):Z(F,{noResolve:k})),n.$$.dirty[0]&128&&t(21,ie=Ge`select
|
93 |
+
pickup_location_id,
|
94 |
+
zone,
|
95 |
+
borough,
|
96 |
+
sum(rides) as rides,
|
97 |
+
sum(fare_amount) as fare_amount,
|
98 |
+
sum(trip_distance) as trip_distance
|
99 |
+
from taxi.location l
|
100 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
101 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
102 |
+
group by all
|
103 |
+
order by rides desc`),n.$$.dirty[0]&128&&t(22,B=`select
|
104 |
+
pickup_location_id,
|
105 |
+
zone,
|
106 |
+
borough,
|
107 |
+
sum(rides) as rides,
|
108 |
+
sum(fare_amount) as fare_amount,
|
109 |
+
sum(trip_distance) as trip_distance
|
110 |
+
from taxi.location l
|
111 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
112 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
113 |
+
group by all
|
114 |
+
order by rides desc`),n.$$.dirty[0]&15728640&&(ie||!J?ie||(Q(B,{noResolve:ie,...x}),t(23,J=!0)):Q(B,{noResolve:ie})),n.$$.dirty[0]&128&&t(25,W=Ge`select
|
115 |
+
borough,
|
116 |
+
'/borough/' || borough as borough_link,
|
117 |
+
sum(rides) as rides,
|
118 |
+
sum(fare_amount) as fare_amount,
|
119 |
+
sum(trip_distance) as trip_distance
|
120 |
+
from taxi.location l
|
121 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
122 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
123 |
+
and borough is not null
|
124 |
+
group by all
|
125 |
+
order by rides desc`),n.$$.dirty[0]&128&&t(26,N=`select
|
126 |
+
borough,
|
127 |
+
'/borough/' || borough as borough_link,
|
128 |
+
sum(rides) as rides,
|
129 |
+
sum(fare_amount) as fare_amount,
|
130 |
+
sum(trip_distance) as trip_distance
|
131 |
+
from taxi.location l
|
132 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
133 |
+
where day between '${f.date_range.start}' and '${f.date_range.end}'
|
134 |
+
and borough is not null
|
135 |
+
group by all
|
136 |
+
order by rides desc`),n.$$.dirty[0]&251658240&&(W||!m?W||(C(N,{noResolve:W,...R}),t(27,m=!0)):C(N,{noResolve:W}))},t(9,T=Ge`select * from taxi.dates`),t(10,h="select * from taxi.dates"),[b,E,P,se,X,l,s,f,g,T,h,_,L,D,z,V,q,k,F,H,x,ie,B,J,R,W,N,m,i]}class Gr extends He{constructor(e){super(),We(this,e,Mr,Lr,xe,{data:5},null,[-1,-1])}}export{Gr as component};
|
_app/immutable/nodes/5.TKt21e6H.js
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{s as ce,a as E,e as L,b as ie,t as ge,c as F,h as pe,d as X,f as c,g as _e,i as be,j as O,k as R,l as K,m as ye,n as le,o as $e,p as he,q as we,r as ke,u as W}from"../chunks/scheduler.BZlHRu_0.js";import{S as ve,i as ze,c as D,a as S,m as N,t as g,b,d as Z,e as H,g as ee}from"../chunks/index.a_oafgNU.js";import{s as Ce,Q as ae,p as Re,r as ue,C as qe}from"../chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import{w as Ee}from"../chunks/entry.CAK-4a04.js";import{e as Fe,h as G,p as Te}from"../chunks/button.PN_PjosU.js";import{p as Ie}from"../chunks/stores.C99hE2Le.js";import{D as je,B as Y,A as xe,Q as te}from"../chunks/AreaMap.EZVhuMjc.js";function De(o){return{c(){this.h()},l(n){this.h()},h(){document.title="Evidence"},m:W,p:W,d:W}}function me(o){let n,r;return n=new te({props:{queryID:"date_range",queryResult:o[1]}}),{c(){D(n.$$.fragment)},l(a){S(n.$$.fragment,a)},m(a,m){N(n,a,m),r=!0},p(a,m){const d={};m&2&&(d.queryResult=a[1]),n.$set(d)},i(a){r||(g(n.$$.fragment,a),r=!0)},o(a){b(n.$$.fragment,a),r=!1},d(a){H(n,a)}}}function fe(o){let n,r;return n=new te({props:{queryID:"aggregate_stats",queryResult:o[2]}}),{c(){D(n.$$.fragment)},l(a){S(n.$$.fragment,a)},m(a,m){N(n,a,m),r=!0},p(a,m){const d={};m&4&&(d.queryResult=a[2]),n.$set(d)},i(a){r||(g(n.$$.fragment,a),r=!0)},o(a){b(n.$$.fragment,a),r=!1},d(a){H(n,a)}}}function de(o){let n,r;return n=new te({props:{queryID:"fares_by_pickup_location",queryResult:o[3]}}),{c(){D(n.$$.fragment)},l(a){S(n.$$.fragment,a)},m(a,m){N(n,a,m),r=!0},p(a,m){const d={};m&8&&(d.queryResult=a[3]),n.$set(d)},i(a){r||(g(n.$$.fragment,a),r=!0)},o(a){b(n.$$.fragment,a),r=!1},d(a){H(n,a)}}}function Se(o){let n,r,a,m,d,i,I,A=o[0].borough+"",_,V,q,f,k,y,$,M,v,Q,p,z,h,U,T,C,w;function j(e,t){return De}let x=j()(o),l=o[1]&&me(o);f=new je({props:{name:"date_range",data:o[1],dates:"day"}});let u=o[2]&&fe(o);$=new Y({props:{data:o[2],value:"rides",fmt:"num0"}}),v=new Y({props:{data:o[2],value:"fare_amount",fmt:"usd1m"}}),p=new Y({props:{data:o[2],value:"trip_distance",fmt:'#,##0 "mi"'}}),h=new Y({props:{data:o[2],value:"fare_per_mile",fmt:"usd2"}});let s=o[3]&&de(o);return C=new xe({props:{data:o[3],geoJsonUrl:"/taxi_zones.geojson",geoId:"objectid",areaCol:"pickup_location_id",value:"rides",valueFmt:"num0",title:"Rides by Pickup Location",labelCol:"zone",tooltip:[{id:"zone",showColumnName:!1,valueClass:"text-xl font-semibold"},{id:"borough",showColumnName:!1,valueClass:"text-sm text-gray-500"},{id:"rides",fmt:"num0",fieldClass:"text-[grey]",valueClass:"text-[green]"},{id:"fare_amount",fmt:"usd",fieldClass:"text-[grey]",valueClass:"text-[green]"},{id:"trip_distance",fmt:"num0",fieldClass:"text-[grey]",valueClass:"text-[green]"}]}}),{c(){n=E(),x.c(),r=L("meta"),a=L("meta"),m=ie(),d=E(),i=L("h1"),I=L("a"),_=ge(A),V=E(),l&&l.c(),q=E(),D(f.$$.fragment),k=E(),u&&u.c(),y=E(),D($.$$.fragment),M=E(),D(v.$$.fragment),Q=E(),D(p.$$.fragment),z=E(),D(h.$$.fragment),U=E(),s&&s.c(),T=E(),D(C.$$.fragment),this.h()},l(e){n=F(e);const t=pe("svelte-6lktun",document.head);x.l(t),r=X(t,"META",{name:!0,content:!0}),a=X(t,"META",{name:!0,content:!0}),m=ie(),t.forEach(c),d=F(e),i=X(e,"H1",{class:!0,id:!0});var P=_e(i);I=X(P,"A",{href:!0});var J=_e(I);_=be(J,A),J.forEach(c),P.forEach(c),V=F(e),l&&l.l(e),q=F(e),S(f.$$.fragment,e),k=F(e),u&&u.l(e),y=F(e),S($.$$.fragment,e),M=F(e),S(v.$$.fragment,e),Q=F(e),S(p.$$.fragment,e),z=F(e),S(h.$$.fragment,e),U=F(e),s&&s.l(e),T=F(e),S(C.$$.fragment,e),this.h()},h(){O(r,"name","twitter:card"),O(r,"content","summary"),O(a,"name","twitter:site"),O(a,"content","@evidence_dev"),O(I,"href","#paramsborough"),O(i,"class","markdown"),O(i,"id","paramsborough")},m(e,t){R(e,n,t),x.m(document.head,null),K(document.head,r),K(document.head,a),K(document.head,m),R(e,d,t),R(e,i,t),K(i,I),K(I,_),R(e,V,t),l&&l.m(e,t),R(e,q,t),N(f,e,t),R(e,k,t),u&&u.m(e,t),R(e,y,t),N($,e,t),R(e,M,t),N(v,e,t),R(e,Q,t),N(p,e,t),R(e,z,t),N(h,e,t),R(e,U,t),s&&s.m(e,t),R(e,T,t),N(C,e,t),w=!0},p(e,[t]){x.p(e,t),(!w||t&1)&&A!==(A=e[0].borough+"")&&ye(_,A),e[1]?l?(l.p(e,t),t&2&&g(l,1)):(l=me(e),l.c(),g(l,1),l.m(q.parentNode,q)):l&&(ee(),b(l,1,1,()=>{l=null}),Z());const P={};t&2&&(P.data=e[1]),f.$set(P),e[2]?u?(u.p(e,t),t&4&&g(u,1)):(u=fe(e),u.c(),g(u,1),u.m(y.parentNode,y)):u&&(ee(),b(u,1,1,()=>{u=null}),Z());const J={};t&4&&(J.data=e[2]),$.$set(J);const re={};t&4&&(re.data=e[2]),v.$set(re);const oe={};t&4&&(oe.data=e[2]),p.$set(oe);const se={};t&4&&(se.data=e[2]),h.$set(se),e[3]?s?(s.p(e,t),t&8&&g(s,1)):(s=de(e),s.c(),g(s,1),s.m(T.parentNode,T)):s&&(ee(),b(s,1,1,()=>{s=null}),Z());const ne={};t&8&&(ne.data=e[3]),C.$set(ne)},i(e){w||(g(l),g(f.$$.fragment,e),g(u),g($.$$.fragment,e),g(v.$$.fragment,e),g(p.$$.fragment,e),g(h.$$.fragment,e),g(s),g(C.$$.fragment,e),w=!0)},o(e){b(l),b(f.$$.fragment,e),b(u),b($.$$.fragment,e),b(v.$$.fragment,e),b(p.$$.fragment,e),b(h.$$.fragment,e),b(s),b(C.$$.fragment,e),w=!1},d(e){e&&(c(n),c(d),c(i),c(V),c(q),c(k),c(y),c(M),c(Q),c(z),c(U),c(T)),x.d(e),c(r),c(a),c(m),l&&l.d(e),H(f,e),u&&u.d(e),H($,e),H(v,e),H(p,e),H(h,e),s&&s.d(e),H(C,e)}}}function Ne(o,n,r){let a,m;le(o,Ie,s=>r(19,a=s)),le(o,ue,s=>r(23,m=s));let{data:d}=n,{data:i={},customFormattingSettings:I,__db:A,inputs:_}=d;$e(ue,m="4e049e3b2a8bb91efd330a1ee52e17df",m);let V=Fe(Ee(_));he(V.subscribe(s=>r(6,_=s))),we(qe,{getCustomFormats:()=>I.customFormats||[]});const q=(s,e)=>Te(A.query,s,{query_name:e});Ce(q);let f=a.params;ke(()=>!0);let k={initialData:void 0,initialError:void 0},y=G`select * from taxi.dates`,$="select * from taxi.dates";i.date_range_data&&(i.date_range_data instanceof Error?k.initialError=i.date_range_data:k.initialData=i.date_range_data,i.date_range_columns&&(k.knownColumns=i.date_range_columns));let M,v=!1;const Q=ae.createReactive({callback:s=>{r(1,M=s)},execFn:q},{id:"date_range",...k});Q($,{noResolve:y,...k}),globalThis[Symbol.for("date_range")]={get value(){return M}};let p={initialData:void 0,initialError:void 0},z=G`select
|
2 |
+
sum(rides) as rides,
|
3 |
+
sum(fare_amount) as fare_amount,
|
4 |
+
sum(trip_distance) as trip_distance,
|
5 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
6 |
+
from taxi.summary_borough
|
7 |
+
left join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id
|
8 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
9 |
+
and lower(borough) = lower('${f.borough}')`,h=`select
|
10 |
+
sum(rides) as rides,
|
11 |
+
sum(fare_amount) as fare_amount,
|
12 |
+
sum(trip_distance) as trip_distance,
|
13 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
14 |
+
from taxi.summary_borough
|
15 |
+
left join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id
|
16 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
17 |
+
and lower(borough) = lower('${f.borough}')`;i.aggregate_stats_data&&(i.aggregate_stats_data instanceof Error?p.initialError=i.aggregate_stats_data:p.initialData=i.aggregate_stats_data,i.aggregate_stats_columns&&(p.knownColumns=i.aggregate_stats_columns));let U,T=!1;const C=ae.createReactive({callback:s=>{r(2,U=s)},execFn:q},{id:"aggregate_stats",...p});C(h,{noResolve:z,...p}),globalThis[Symbol.for("aggregate_stats")]={get value(){return U}};let w={initialData:void 0,initialError:void 0},j=G`select
|
18 |
+
pickup_location_id,
|
19 |
+
zone,
|
20 |
+
borough,
|
21 |
+
sum(rides) as rides,
|
22 |
+
sum(fare_amount) as fare_amount,
|
23 |
+
sum(trip_distance) as trip_distance
|
24 |
+
from taxi.location l
|
25 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
26 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
27 |
+
and lower(borough) = lower('${f.borough}')
|
28 |
+
group by all
|
29 |
+
order by 1`,B=`select
|
30 |
+
pickup_location_id,
|
31 |
+
zone,
|
32 |
+
borough,
|
33 |
+
sum(rides) as rides,
|
34 |
+
sum(fare_amount) as fare_amount,
|
35 |
+
sum(trip_distance) as trip_distance
|
36 |
+
from taxi.location l
|
37 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
38 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
39 |
+
and lower(borough) = lower('${f.borough}')
|
40 |
+
group by all
|
41 |
+
order by 1`;i.fares_by_pickup_location_data&&(i.fares_by_pickup_location_data instanceof Error?w.initialError=i.fares_by_pickup_location_data:w.initialData=i.fares_by_pickup_location_data,i.fares_by_pickup_location_columns&&(w.knownColumns=i.fares_by_pickup_location_columns));let x,l=!1;const u=ae.createReactive({callback:s=>{r(3,x=s)},execFn:q},{id:"fares_by_pickup_location",...w});return u(B,{noResolve:j,...w}),globalThis[Symbol.for("fares_by_pickup_location")]={get value(){return x}},o.$$set=s=>{"data"in s&&r(4,d=s.data)},o.$$.update=()=>{o.$$.dirty&16&&r(5,{data:i={},customFormattingSettings:I,__db:A}=d,i),o.$$.dirty&32&&Re.set(Object.keys(i).length>0),o.$$.dirty&524288&&r(0,f=a.params),o.$$.dirty&1920&&(y||!v?y||(Q($,{noResolve:y,...k}),r(10,v=!0)):Q($,{noResolve:y})),o.$$.dirty&65&&r(12,z=G`select
|
42 |
+
sum(rides) as rides,
|
43 |
+
sum(fare_amount) as fare_amount,
|
44 |
+
sum(trip_distance) as trip_distance,
|
45 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
46 |
+
from taxi.summary_borough
|
47 |
+
left join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id
|
48 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
49 |
+
and lower(borough) = lower('${f.borough}')`),o.$$.dirty&65&&r(13,h=`select
|
50 |
+
sum(rides) as rides,
|
51 |
+
sum(fare_amount) as fare_amount,
|
52 |
+
sum(trip_distance) as trip_distance,
|
53 |
+
sum(fare_amount)/sum(trip_distance) as fare_per_mile
|
54 |
+
from taxi.summary_borough
|
55 |
+
left join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id
|
56 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
57 |
+
and lower(borough) = lower('${f.borough}')`),o.$$.dirty&30720&&(z||!T?z||(C(h,{noResolve:z,...p}),r(14,T=!0)):C(h,{noResolve:z})),o.$$.dirty&65&&r(16,j=G`select
|
58 |
+
pickup_location_id,
|
59 |
+
zone,
|
60 |
+
borough,
|
61 |
+
sum(rides) as rides,
|
62 |
+
sum(fare_amount) as fare_amount,
|
63 |
+
sum(trip_distance) as trip_distance
|
64 |
+
from taxi.location l
|
65 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
66 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
67 |
+
and lower(borough) = lower('${f.borough}')
|
68 |
+
group by all
|
69 |
+
order by 1`),o.$$.dirty&65&&r(17,B=`select
|
70 |
+
pickup_location_id,
|
71 |
+
zone,
|
72 |
+
borough,
|
73 |
+
sum(rides) as rides,
|
74 |
+
sum(fare_amount) as fare_amount,
|
75 |
+
sum(trip_distance) as trip_distance
|
76 |
+
from taxi.location l
|
77 |
+
left join zones.zones z on l.pickup_location_id = z.location_id
|
78 |
+
where day between '${_.date_range.start}' and '${_.date_range.end}'
|
79 |
+
and lower(borough) = lower('${f.borough}')
|
80 |
+
group by all
|
81 |
+
order by 1`),o.$$.dirty&491520&&(j||!l?j||(u(B,{noResolve:j,...w}),r(18,l=!0)):u(B,{noResolve:j}))},r(8,y=G`select * from taxi.dates`),r(9,$="select * from taxi.dates"),[f,M,U,x,d,i,_,k,y,$,v,p,z,h,T,w,j,B,l,a]}class Be extends ve{constructor(n){super(),ze(this,n,Ne,Se,ce,{data:4})}}export{Be as component};
|
_app/immutable/nodes/6.DqV0t9aU.js
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
import{s as Y,e as S,a as v,d as R,H as te,c as D,g as B,f as h,j as C,k as y,l as Q,J as se,B as V,K as ne,L as le,r as re,b as L,t as A,i as N,m as ie,I as ae,u as Z,M as oe,N as ue}from"../chunks/scheduler.BZlHRu_0.js";import{S as $,i as x,t as k,g as M,b as E,d as O,c as I,a as H,m as P,e as z,f as T}from"../chunks/index.a_oafgNU.js";import{b as fe,c as j,d as ce,E as J,e as K,g as de,D as _e,h as W}from"../chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import"../chunks/entry.CAK-4a04.js";import{B as F}from"../chunks/Button.abJVVkH2.js";function G(r){let e,t,l,s,n;return t=new F({props:{size:"sm",outline:!0,icon:r[1]?J:K,$$slots:{default:[be]},$$scope:{ctx:r}}}),t.$on("click",r[10]),s=new F({props:{size:"sm",variant:"success",outline:!0,icon:de,$$slots:{default:[ge]},$$scope:{ctx:r}}}),s.$on("click",r[11]),{c(){e=S("div"),I(t.$$.fragment),l=v(),I(s.$$.fragment),this.h()},l(i){e=R(i,"DIV",{class:!0});var u=B(e);H(t.$$.fragment,u),l=D(u),H(s.$$.fragment,u),u.forEach(h),this.h()},h(){C(e,"class","absolute bottom-2 right-2 z-10 flex gap-2")},m(i,u){y(i,e,u),P(t,e,null),Q(e,l),P(s,e,null),n=!0},p(i,u){const b={};u&2&&(b.icon=i[1]?J:K),u&32770&&(b.$$scope={dirty:u,ctx:i}),t.$set(b);const g={};u&32768&&(g.$$scope={dirty:u,ctx:i}),s.$set(g)},i(i){n||(k(t.$$.fragment,i),k(s.$$.fragment,i),n=!0)},o(i){E(t.$$.fragment,i),E(s.$$.fragment,i),n=!1},d(i){i&&h(e),z(t),z(s)}}}function me(r){let e;return{c(){e=A("Show Results")},l(t){e=N(t,"Show Results")},m(t,l){y(t,e,l)},d(t){t&&h(e)}}}function he(r){let e;return{c(){e=A("Hide Results")},l(t){e=N(t,"Hide Results")},m(t,l){y(t,e,l)},d(t){t&&h(e)}}}function be(r){let e;function t(n,i){return n[1]?he:me}let l=t(r),s=l(r);return{c(){s.c(),e=L()},l(n){s.l(n),e=L()},m(n,i){s.m(n,i),y(n,e,i)},p(n,i){l!==(l=t(n))&&(s.d(1),s=l(n),s&&(s.c(),s.m(e.parentNode,e)))},d(n){n&&h(e),s.d(n)}}}function ge(r){let e;return{c(){e=A("Submit")},l(t){e=N(t,"Submit")},m(t,l){y(t,e,l)},d(t){t&&h(e)}}}function U(r){let e,t=r[8].error+"",l;return{c(){e=S("pre"),l=A(t),this.h()},l(s){e=R(s,"PRE",{class:!0});var n=B(e);l=N(n,t),n.forEach(h),this.h()},h(){C(e,"class","text-red-500 text-xs font-mono")},m(s,n){y(s,e,n),Q(e,l)},p(s,n){n&256&&t!==(t=s[8].error+"")&&ie(l,t)},d(s){s&&h(e)}}}function X(r){let e,t,l,s;return t=new _e({props:{data:r[8]}}),{c(){e=S("div"),I(t.$$.fragment)},l(n){e=R(n,"DIV",{});var i=B(e);H(t.$$.fragment,i),i.forEach(h)},m(n,i){y(n,e,i),P(t,e,null),s=!0},p(n,i){const u={};i&256&&(u.data=n[8]),t.$set(u)},i(n){s||(k(t.$$.fragment,n),n&&ae(()=>{s&&(l||(l=T(e,W,{},!0)),l.run(1))}),s=!0)},o(n){E(t.$$.fragment,n),n&&(l||(l=T(e,W,{},!1)),l.run(0)),s=!1},d(n){n&&h(e),z(t),n&&l&&l.end()}}}function pe(r){let e,t="SQL Console",l,s,n,i,u,b=r[8].error&&!r[2]&&!!r[4],g,m,w,p,a=!r[3]&&G(r),f=b&&U(r),c=r[1]&&X(r);return{c(){e=S("h1"),e.textContent=t,l=v(),s=S("section"),n=S("div"),a&&a.c(),u=v(),f&&f.c(),g=v(),c&&c.c(),this.h()},l(o){e=R(o,"H1",{class:!0,"data-svelte-h":!0}),te(e)!=="svelte-7ylf69"&&(e.textContent=t),l=D(o),s=R(o,"SECTION",{class:!0,role:!0});var _=B(s);n=R(_,"DIV",{class:!0});var q=B(n);a&&a.l(q),q.forEach(h),u=D(_),f&&f.l(_),g=D(_),c&&c.l(_),_.forEach(h),this.h()},h(){C(e,"class","markdown"),C(n,"class","w-full relative rounded border border-gray-300 min-h-[8rem] cursor-text"),C(s,"class","px-0 py-2 bg-white flex flex-col gap-2 min-h-[8rem] svelte-1bw0fbe"),C(s,"role","none")},m(o,_){y(o,e,_),y(o,l,_),y(o,s,_),Q(s,n),a&&a.m(n,null),r[12](n),Q(s,u),f&&f.m(s,null),Q(s,g),c&&c.m(s,null),m=!0,w||(p=[se(i=fe.call(null,n,r[5])),V(s,"click",r[13]),V(s,"keydown",r[14])],w=!0)},p(o,[_]){o[3]?a&&(M(),E(a,1,1,()=>{a=null}),O()):a?(a.p(o,_),_&8&&k(a,1)):(a=G(o),a.c(),k(a,1),a.m(n,null)),i&&ne(i.update)&&_&32&&i.update.call(null,o[5]),_&276&&(b=o[8].error&&!o[2]&&!!o[4]),b?f?f.p(o,_):(f=U(o),f.c(),f.m(s,g)):f&&(f.d(1),f=null),o[1]?c?(c.p(o,_),_&2&&k(c,1)):(c=X(o),c.c(),k(c,1),c.m(s,null)):c&&(M(),E(c,1,1,()=>{c=null}),O())},i(o){m||(k(a),k(c),m=!0)},o(o){E(a),E(c),m=!1},d(o){o&&(h(e),h(l),h(s)),a&&a.d(),r[12](null),f&&f.d(),c&&c.d(),w=!1,le(p)}}}function ke(r,e,t){let l,s=Z,n=()=>(s(),s=oe(p,d=>t(8,l=d)),p);r.$$.on_destroy.push(()=>s());let{hideErrors:i=!1}=e,{initialQuery:u="select 'ABC' as category, 123 as num, 26400000 as sales_usd"}=e,{showResults:b=!0}=e,{disabled:g=!1}=e,m=u,w=m,{data:p=j(m)}=e;n();let a,f;re(async()=>{p&&p.fetch(),t(5,f={initialState:u,disabled:g,schema:await ce(),onChange:d=>{d.docChanged&&w.trim()!==d.state.doc.toString().trim()&&t(6,w=d.state.doc.toString())},onSubmit:()=>(t(4,m=w.trim()),m.endsWith(";")&&t(4,m=m.substring(0,m.length-1)),t(1,b=!0),!0)})});const c=()=>t(1,b=!b),o=()=>{t(4,m=w),t(1,b=!0)};function _(d){ue[d?"unshift":"push"](()=>{a=d,t(7,a)})}const q=()=>a==null?void 0:a.focus(),ee=d=>d.key==="Enter"&&(a==null?void 0:a.focus());return r.$$set=d=>{"hideErrors"in d&&t(2,i=d.hideErrors),"initialQuery"in d&&t(9,u=d.initialQuery),"showResults"in d&&t(1,b=d.showResults),"disabled"in d&&t(3,g=d.disabled),"data"in d&&n(t(0,p=d.data))},r.$$.update=()=>{r.$$.dirty&17&&m&&(n(t(0,p=j(m))),p.fetch()),r.$$.dirty&40&&f&&t(5,f.disabled=g,f)},[p,b,i,g,m,f,w,a,l,u,c,o,_,q,ee]}class ye extends ${constructor(e){super(),x(this,e,ke,pe,Y,{hideErrors:2,initialQuery:9,showResults:1,disabled:3,data:0})}}function we(r){let e,t;return e=new ye({}),{c(){I(e.$$.fragment)},l(l){H(e.$$.fragment,l)},m(l,s){P(e,l,s),t=!0},p:Z,i(l){t||(k(e.$$.fragment,l),t=!0)},o(l){E(e.$$.fragment,l),t=!1},d(l){z(e,l)}}}class Be extends ${constructor(e){super(),x(this,e,null,we,Y,{})}}export{Be as component};
|
_app/immutable/nodes/7.SLqCDfmJ.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{s as J,b as I,k as g,f as d,t as L,e as $,i as N,d as w,g as T,j as y,l as E,u as O,a as S,c as j,A,B as K,H as U}from"../chunks/scheduler.BZlHRu_0.js";import{S as Q,i as X,t as k,b as v,g as P,d as R,c as q,a as x,m as D,e as M}from"../chunks/index.a_oafgNU.js";import{i as H,u as Y,I as Z,j as te,o as ee,T as le,k as ae}from"../chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js";import"../chunks/entry.CAK-4a04.js";import{h as ne,u as re}from"../chunks/await_block.Ctm0iWyv.js";function B(h,e,l){const t=h.slice();return t[8]=e[l][0],t[9]=e[l][1],t}function F(h,e,l){const t=h.slice();return t[12]=e[l][0],t[13]=e[l][1],t}function oe(h){let e,l,t=h[16].message+"",a;return{c(){e=L(`An error was encountered while loading project schema.
|
2 |
+
|
3 |
+
`),l=$("pre"),a=L(t),this.h()},l(i){e=N(i,`An error was encountered while loading project schema.
|
4 |
+
|
5 |
+
`),l=w(i,"PRE",{class:!0});var f=T(l);a=N(f,t),f.forEach(d),this.h()},h(){y(l,"class","px-4 py-2 bg-red-800 text-white")},m(i,f){g(i,e,f),g(i,l,f),E(l,a)},p:O,i:O,o:O,d(i){i&&(d(e),d(l))}}}function se(h){let e,l,t,a=[],i=new Map,f,m=H(Object.entries(h[7]));const c=n=>n[8];for(let n=0;n<m.length;n+=1){let r=B(h,m,n),_=c(r);i.set(_,a[n]=G(_,r))}return{c(){e=$("section"),l=$("div"),t=$("ul");for(let n=0;n<a.length;n+=1)a[n].c();this.h()},l(n){e=w(n,"SECTION",{});var r=T(e);l=w(r,"DIV",{});var _=T(l);t=w(_,"UL",{class:!0});var s=T(t);for(let p=0;p<a.length;p+=1)a[p].l(s);s.forEach(d),_.forEach(d),r.forEach(d),this.h()},h(){y(t,"class","list-none m-0 p-0 flex flex-col gap-1 mb-1")},m(n,r){g(n,e,r),E(e,l),E(l,t);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(t,null);f=!0},p(n,r){r&7&&(m=H(Object.entries(n[7])),P(),a=Y(a,r,c,1,n,m,i,t,ee,G,null,B),R())},i(n){if(!f){for(let r=0;r<m.length;r+=1)k(a[r]);f=!0}},o(n){for(let r=0;r<a.length;r+=1)v(a[r]);f=!1},d(n){n&&d(e);for(let r=0;r<a.length;r+=1)a[r].d()}}}function V(h){let e,l=[],t=new Map,a,i,f=H(Object.entries(h[9]));const m=c=>c[12];for(let c=0;c<f.length;c+=1){let n=F(h,f,c),r=m(n);t.set(r,l[c]=z(r,n))}return{c(){e=$("ul");for(let c=0;c<l.length;c+=1)l[c].c();a=S(),this.h()},l(c){e=w(c,"UL",{class:!0});var n=T(e);for(let r=0;r<l.length;r+=1)l[r].l(n);a=j(n),n.forEach(d),this.h()},h(){y(e,"class","list-none m-0 flex flex-col gap-1")},m(c,n){g(c,e,n);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(e,null);E(e,a),i=!0},p(c,n){n&5&&(f=H(Object.entries(c[9])),P(),l=Y(l,n,m,1,c,f,t,e,ee,z,a,F),R())},i(c){if(!i){for(let n=0;n<f.length;n+=1)k(l[n]);i=!0}},o(c){for(let n=0;n<l.length;n+=1)v(l[n]);i=!1},d(c){c&&d(e);for(let n=0;n<l.length;n+=1)l[n].d()}}}function W(h){let e,l;return e=new ae({props:{columns:h[13].columns,rowClass:"ml-6 "}}),{c(){q(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){D(e,t,a),l=!0},p:O,i(t){l||(k(e.$$.fragment,t),l=!0)},o(t){v(e.$$.fragment,t),l=!1},d(t){M(e,t)}}}function z(h,e){let l,t,a,i,f=e[12]+"",m,c,n,r,_,s;a=new Z({props:{src:le,class:"text-gray-700 w-5 h-5 mr-1"}});function p(){return e[5](e[13])}let o=e[0]===e[13]&&W(e);return{key:h,first:null,c(){l=$("li"),t=$("button"),q(a.$$.fragment),i=S(),m=L(f),c=S(),o&&o.c(),n=I(),this.h()},l(u){l=w(u,"LI",{class:!0});var b=T(l);t=w(b,"BUTTON",{class:!0});var C=T(t);x(a.$$.fragment,C),i=j(C),m=N(C,f),C.forEach(d),b.forEach(d),c=j(u),o&&o.l(u),n=I(),this.h()},h(){y(t,"class","bg-gray-200 px-2 py-1 rounded flex w-full hover:bg-blue-200"),A(t,"bg-blue-200",e[0]===e[13]),y(l,"class","font-mono m-0 text-sm font-bold ml-3"),this.first=l},m(u,b){g(u,l,b),E(l,t),D(a,t,null),E(t,i),E(t,m),g(u,c,b),o&&o.m(u,b),g(u,n,b),r=!0,_||(s=K(t,"click",p),_=!0)},p(u,b){e=u,(!r||b&5)&&A(t,"bg-blue-200",e[0]===e[13]),e[0]===e[13]?o?(o.p(e,b),b&1&&k(o,1)):(o=W(e),o.c(),k(o,1),o.m(n.parentNode,n)):o&&(P(),v(o,1,1,()=>{o=null}),R())},i(u){r||(k(a.$$.fragment,u),k(o),r=!0)},o(u){v(a.$$.fragment,u),v(o),r=!1},d(u){u&&(d(l),d(c),d(n)),M(a),o&&o.d(u),_=!1,s()}}}function G(h,e){let l,t,a,i,f=e[8]+"",m,c,n,r,_,s;a=new Z({props:{src:te,class:"text-white w-5 h-5 mr-1"}});function p(){return e[4](e[8])}let o=e[1]===e[8]&&V(e);return{key:h,first:null,c(){l=$("li"),t=$("button"),q(a.$$.fragment),i=S(),m=L(f),c=S(),o&&o.c(),n=I(),this.h()},l(u){l=w(u,"LI",{class:!0});var b=T(l);t=w(b,"BUTTON",{class:!0});var C=T(t);x(a.$$.fragment,C),i=j(C),m=N(C,f),C.forEach(d),b.forEach(d),c=j(u),o&&o.l(u),n=I(),this.h()},h(){y(t,"class","bg-gray-500 px-2 py-1 rounded font-bold flex w-full hover:bg-blue-500"),A(t,"bg-blue-500",e[1]===e[8]),y(l,"class","font-mono m-0 text-sm text-white"),this.first=l},m(u,b){g(u,l,b),E(l,t),D(a,t,null),E(t,i),E(t,m),g(u,c,b),o&&o.m(u,b),g(u,n,b),r=!0,_||(s=K(t,"click",p),_=!0)},p(u,b){e=u,(!r||b&6)&&A(t,"bg-blue-500",e[1]===e[8]),e[1]===e[8]?o?(o.p(e,b),b&2&&k(o,1)):(o=V(e),o.c(),k(o,1),o.m(n.parentNode,n)):o&&(P(),v(o,1,1,()=>{o=null}),R())},i(u){r||(k(a.$$.fragment,u),k(o),r=!0)},o(u){v(a.$$.fragment,u),v(o),r=!1},d(u){u&&(d(l),d(c),d(n)),M(a),o&&o.d(u),_=!1,s()}}}function ce(h){let e;return{c(){e=L("Loading Schema Information...")},l(l){e=N(l,"Loading Schema Information...")},m(l,t){g(l,e,t)},p:O,i:O,o:O,d(l){l&&d(e)}}}function ie(h){let e,l,t={ctx:h,current:null,token:null,hasCatch:!0,pending:ce,then:se,catch:oe,value:7,error:16,blocks:[,,,]};return ne(h[2](),t),{c(){e=I(),t.block.c()},l(a){e=I(),t.block.l(a)},m(a,i){g(a,e,i),t.block.m(a,t.anchor=i),t.mount=()=>e.parentNode,t.anchor=e,l=!0},p(a,[i]){h=a,re(t,h,i)},i(a){l||(k(t.block),l=!0)},o(a){for(let i=0;i<3;i+=1){const f=t.blocks[i];v(f)}l=!1},d(a){a&&d(e),t.block.d(a),t.token=null,t=null}}}function ue(h,e,l){let{data:t}=e,{__db:a}=t;async function i(){const r=await a.query("SELECT * FROM information_schema.tables WHERE table_catalog = 'memory' AND table_name != 'stats'"),_={};return await Promise.all(r.map(async s=>{const p=await a.query(`SELECT * FROM information_schema.columns WHERE table_name = '${s.table_name}' AND table_schema = '${s.table_schema}'`);_[s.table_schema]||(_[s.table_schema]={}),_[s.table_schema][s.table_name]={table:s,columns:p}})),_}let f="",m="";const c=r=>{l(1,m=m===r?"":r),l(0,f="")},n=r=>{l(0,f=f===r?"":r)};return h.$$set=r=>{"data"in r&&l(3,t=r.data)},[f,m,i,t,c,n]}class fe extends Q{constructor(e){super(),X(this,e,ue,ie,J,{data:3})}}function he(h){let e,l="Project Schema",t,a,i="This page details the tables and columns that are currently loaded in your project.",f,m,c="Sources",n,r,_;return r=new fe({props:{data:h[0]}}),{c(){e=$("h1"),e.textContent=l,t=S(),a=$("p"),a.textContent=i,f=S(),m=$("h2"),m.textContent=c,n=S(),q(r.$$.fragment),this.h()},l(s){e=w(s,"H1",{class:!0,"data-svelte-h":!0}),U(e)!=="svelte-15777oi"&&(e.textContent=l),t=j(s),a=w(s,"P",{class:!0,"data-svelte-h":!0}),U(a)!=="svelte-ak948l"&&(a.textContent=i),f=j(s),m=w(s,"H2",{class:!0,"data-svelte-h":!0}),U(m)!=="svelte-9qt1ro"&&(m.textContent=c),n=j(s),x(r.$$.fragment,s),this.h()},h(){y(e,"class","markdown"),y(a,"class","markdown"),y(m,"class","markdown")},m(s,p){g(s,e,p),g(s,t,p),g(s,a,p),g(s,f,p),g(s,m,p),g(s,n,p),D(r,s,p),_=!0},p(s,[p]){const o={};p&1&&(o.data=s[0]),r.$set(o)},i(s){_||(k(r.$$.fragment,s),_=!0)},o(s){v(r.$$.fragment,s),_=!1},d(s){s&&(d(e),d(t),d(a),d(f),d(m),d(n)),M(r,s)}}}function me(h,e,l){let{data:t}=e;return h.$$set=a=>{"data"in a&&l(0,t=a.data)},[t]}class ke extends Q{constructor(e){super(),X(this,e,me,he,J,{data:0})}}export{ke as component};
|
_app/immutable/nodes/8._oLCQNNW.js
ADDED
The diff for this file is too large to render.
See raw diff
|
|
_app/version.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":"
|
|
|
1 |
+
{"version":"1733950131561"}
|
borough/Bronx/index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/5.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">47,271</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/5.TKt21e6H.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="MBLtU1a_-U" aria-expanded="false" data-state="closed" id="BgjOwbnLD6" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"><div class="print:hidden"> <aside class="w-48 flex-none hidden md:flex"><div class="hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"><div class="flex flex-col pb-6"><a class="sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline" href="/">Home</a> </div> </div> </aside></div> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <span class="cursor-default">borough</span><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <a href="/borough/Bronx" class="hover:underline">Bronx</a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="markdown" id="paramsborough"><a href="#paramsborough">Bronx</a></h1> <div class="over-container svelte-1plm20d"> </div> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="o9DRgX_ale" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="xS8L8kSOFP" aria-expanded="false" aria-labelledby="RWlX6DLUV8" id="4UNbI40BmG" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">47,271</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
borough/Brooklyn/index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/5.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">267,460</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/5.TKt21e6H.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="n3CN20IpiC" aria-expanded="false" data-state="closed" id="cPZnmiDTiE" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"><div class="print:hidden"> <aside class="w-48 flex-none hidden md:flex"><div class="hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"><div class="flex flex-col pb-6"><a class="sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline" href="/">Home</a> </div> </div> </aside></div> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <span class="cursor-default">borough</span><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <a href="/borough/Brooklyn" class="hover:underline">Brooklyn</a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="markdown" id="paramsborough"><a href="#paramsborough">Brooklyn</a></h1> <div class="over-container svelte-1plm20d"> </div> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="K5USzijs0x" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="dFmHEohRUn" aria-expanded="false" aria-labelledby="SpUo0-acFD" id="3G7pBZ8GgJ" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">267,460</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
borough/EWR/index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/5.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">9,171</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/5.TKt21e6H.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="BBFra5Rwtd" aria-expanded="false" data-state="closed" id="cSMTEuUzYv" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"><div class="print:hidden"> <aside class="w-48 flex-none hidden md:flex"><div class="hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"><div class="flex flex-col pb-6"><a class="sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline" href="/">Home</a> </div> </div> </aside></div> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <span class="cursor-default">borough</span><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <a href="/borough/EWR" class="hover:underline">EWR</a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="markdown" id="paramsborough"><a href="#paramsborough">EWR</a></h1> <div class="over-container svelte-1plm20d"> </div> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="yvVhKA6BR-" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="V4RsF2mCxt" aria-expanded="false" aria-labelledby="yQVcmkJJmy" id="Ty_DkXdvLt" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">9,171</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
borough/Manhattan/index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/5.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">32,279,222</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/5.TKt21e6H.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="64n8Fgz-Bg" aria-expanded="false" data-state="closed" id="UjACyUA31Z" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"><div class="print:hidden"> <aside class="w-48 flex-none hidden md:flex"><div class="hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"><div class="flex flex-col pb-6"><a class="sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline" href="/">Home</a> </div> </div> </aside></div> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <span class="cursor-default">borough</span><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <a href="/borough/Manhattan" class="hover:underline">Manhattan</a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="markdown" id="paramsborough"><a href="#paramsborough">Manhattan</a></h1> <div class="over-container svelte-1plm20d"> </div> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="MK0Rz0X7Nw" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="bCBGbDVwBV" aria-expanded="false" aria-labelledby="xYKlTn0QpO" id="s--47V6WJt" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">32,279,222</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
borough/Queens/index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/5.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">3,140,654</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/5.TKt21e6H.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="w4kOCwSU3g" aria-expanded="false" data-state="closed" id="H9OPWzglAY" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"><div class="print:hidden"> <aside class="w-48 flex-none hidden md:flex"><div class="hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"><div class="flex flex-col pb-6"><a class="sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline" href="/">Home</a> </div> </div> </aside></div> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <span class="cursor-default">borough</span><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <a href="/borough/Queens" class="hover:underline">Queens</a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="markdown" id="paramsborough"><a href="#paramsborough">Queens</a></h1> <div class="over-container svelte-1plm20d"> </div> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="uAJlR5DAPW" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="HAb-oVW0GC" aria-expanded="false" aria-labelledby="ka5Cx02SQ2" id="cQtT11y_t0" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">3,140,654</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
borough/Staten Island/index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/5.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">2,867</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/5.TKt21e6H.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>Evidence</title><!-- HEAD_svelte-6lktun_START --> <meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"><!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><div class="flex gap-x-4 items-center"><button type="button" class="text-gray-900 hover:bg-gray-50 rounded-lg p-1 transition-all duration-500 md:hidden"><span class="sr-only" data-svelte-h="svelte-73kebv">Open sidebar</span> <svg class="w-5 h-5" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M4 6l16 0"></path><path d="M4 12l16 0"></path><path d="M4 18l16 0"></path></svg></button> <a href="/" class="text-sm font-bold text-gray-800 hidden md:block"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a></div> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="2FOjX9caBW" aria-expanded="false" data-state="closed" id="UFZ8oVichv" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"><div class="print:hidden"> <aside class="w-48 flex-none hidden md:flex"><div class="hidden: md:block fixed w-48 top-20 bottom-8 overflow-y-auto flex-1 text-sm text-gray-500 pretty-scrollbar"><div class="flex flex-col pb-6"><a class="sticky top-0 bg-white shadow shadow-white text-gray-950 font-semibold pb-1 mb-1 group inline-block capitalize hover:underline" href="/">Home</a> </div> </div> </aside></div> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <span class="cursor-default">borough</span><svg class="icon icon-tabler icon-tabler-chevron-right" width="12px" height="12px" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M9 6l6 6l-6 6"></path></svg> <a href="/borough/Staten%20Island" class="hover:underline">Staten Island</a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="markdown" id="paramsborough"><a href="#paramsborough">Staten Island</a></h1> <div class="over-container svelte-1plm20d"> </div> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="JmX62IymQ9" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="0Thc-YagkM" aria-expanded="false" aria-labelledby="rjbwEcA0Ad" id="RhLYSuKJwI" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">2,867</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api//borough/[borough]/evidencemeta.json">{"status":200,"statusText":"","headers":{},"body":"{\"queries\":[{\"id\":\"date_range\",\"compiledQueryString\":\"select * from taxi.dates\",\"inputQueryString\":\"select * from taxi.dates\",\"compiled\":false,\"inline\":true},{\"id\":\"aggregate_stats\",\"compiledQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"inputQueryString\":\"select\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance,\\n sum(fare_amount)/sum(trip_distance) as fare_per_mile\\nfrom taxi.summary_borough\\nleft join zones.zones z on taxi.summary_borough.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\",\"compiled\":false,\"inline\":true},{\"id\":\"fares_by_pickup_location\",\"compiledQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"inputQueryString\":\"select\\n pickup_location_id,\\n zone,\\n borough,\\n sum(rides) as rides,\\n sum(fare_amount) as fare_amount,\\n sum(trip_distance) as trip_distance\\nfrom taxi.location l\\nleft join zones.zones z on l.pickup_location_id = z.location_id\\nwhere day between '${inputs.date_range.start}' and '${inputs.date_range.end}'\\nand lower(borough) = lower('${params.borough}')\\ngroup by all\\norder by 1\",\"compiled\":false,\"inline\":true}]}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 5],
|
index.html
CHANGED
@@ -10,23 +10,23 @@
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
-
<link rel="modulepreload" href="/_app/immutable/entry/start.
|
14 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/entry.
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
-
<link rel="modulepreload" href="/_app/immutable/entry/app.
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/0.
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.
|
22 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/button.
|
23 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.
|
24 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/stores.
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.
|
27 |
-
<link rel="modulepreload" href="/_app/immutable/nodes/4.
|
28 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.
|
29 |
-
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>NYC Taxi Data 2022</title><!-- HEAD_svelte-6lktun_START --> <meta property="og:title" content="NYC Taxi Data 2022"> <meta name="twitter:title" content="NYC Taxi Data 2022"><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"> <!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
@@ -35,7 +35,7 @@
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
-
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><a href="/" class="block text-sm font-bold text-gray-800"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">36,255,983</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
@@ -53,7 +53,7 @@
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api/pagesManifest.json">{"status":200,"statusText":"","headers":{},"body":"{\"label\":\"Home\",\"href\":\"/\",\"children\":{\"borough\":{\"label\":\"borough\",\"children\":{\"[borough]\":{\"children\":{},\"isTemplated\":true,\"isPage\":true}},\"frontMatter\":{},\"isTemplated\":false,\"isPage\":false}},\"frontMatter\":{\"title\":\"NYC Taxi Data 2022\",\"sidebar\":\"never\"},\"isTemplated\":false,\"isPage\":true}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
-
|
57 |
base: ""
|
58 |
};
|
59 |
|
@@ -62,8 +62,8 @@
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
-
import("/_app/immutable/entry/start.
|
66 |
-
import("/_app/immutable/entry/app.
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 4],
|
|
|
10 |
|
11 |
<link href="/_app/immutable/assets/0.3s2JqZFs.css" rel="stylesheet">
|
12 |
<link href="/_app/immutable/assets/VennDiagram.Hmmox_0V.css" rel="stylesheet">
|
13 |
+
<link rel="modulepreload" href="/_app/immutable/entry/start.GLpCEoHP.js">
|
14 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/entry.CAK-4a04.js">
|
15 |
<link rel="modulepreload" href="/_app/immutable/chunks/scheduler.BZlHRu_0.js">
|
16 |
+
<link rel="modulepreload" href="/_app/immutable/entry/app.C9INw6xA.js">
|
17 |
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper.D7HrI6pR.js">
|
18 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.a_oafgNU.js">
|
19 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/0.BjDwDhFS.js">
|
20 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.rV6zwFgL.js">
|
21 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/VennDiagram.svelte_svelte_type_style_lang.BnNY_mZw.js">
|
22 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/button.PN_PjosU.js">
|
23 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/arrays.-mek-dcM.js">
|
24 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/stores.C99hE2Le.js">
|
25 |
<link rel="modulepreload" href="/_app/immutable/chunks/index.CqVitEmB.js">
|
26 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AccordionItem.BUs62Zj9.js">
|
27 |
+
<link rel="modulepreload" href="/_app/immutable/nodes/4.D925v1Dw.js">
|
28 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/AreaMap.EZVhuMjc.js">
|
29 |
+
<link rel="modulepreload" href="/_app/immutable/chunks/Prismjs.DfOmTPCQ.js">
|
30 |
<link rel="modulepreload" href="/_app/immutable/chunks/await_block.Ctm0iWyv.js"><title>NYC Taxi Data 2022</title><!-- HEAD_svelte-6lktun_START --> <meta property="og:title" content="NYC Taxi Data 2022"> <meta name="twitter:title" content="NYC Taxi Data 2022"><meta name="twitter:card" content="summary"><meta name="twitter:site" content="@evidence_dev"> <!-- HEAD_svelte-6lktun_END -->
|
31 |
</head>
|
32 |
<body>
|
|
|
35 |
</script>
|
36 |
<div>
|
37 |
<!-- SvelteKit Hydrated Content -->
|
38 |
+
<div class="z-[1] fixed right-0 bottom-0 mx-10 my-6 w-80"></div> <div data-sveltekit-preload-data="hover" class="antialiased text-gray-900"> <header class="fixed w-full top-0 z-40 flex h-12 shrink-0 justify-start items-center gap-x-4 border-b border-gray-200 bg-white/90 backdrop-blur print:hidden "><div class=" max-w-7xl mx-auto px-6 sm:px-8 md:px-12 flex flex-1 items-center justify-between" style="max-width:undefinedpx;"><a href="/" class="block text-sm font-bold text-gray-800"><img src="/_app/immutable/assets/wordmark-gray-800.CnzB_64T.png" alt="Home" class="h-5 aspect-auto" href="/"></a> <div class="flex gap-2 text-sm items-center"> <div class="flex gap-2 items-center"><a href="https://github.com/archiewood/nyc-taxi" class="hover:bg-gray-50 rounded-lg p-2 transition-all duration-200" target="_blank" rel="noreferrer"><svg role="img" viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="w-4 h-4 text-gray-900 "><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"></path></svg></a> </div> <div class="relative"> <button type="button" tabindex="0" aria-controls="oK8B2pa2FL" aria-expanded="false" data-state="closed" id="6si-Aqb3CO" data-melt-dropdown-menu-trigger="" data-menu-trigger="" class="inline-flex items-center justify-center font-medium whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md text-xs px-1" aria-label="Menu" data-button-root=""><svg class="h-6 w-6" width="100%" height="100%" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M5 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path><path d="M19 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0"></path></svg></button> </div></div></div></header> <div class=" max-w-7xl print:w-[650px] print:md:w-[841px] mx-auto print:md:px-0 print:px-0 px-6 sm:px-8 md:px-12 flex justify-start" style="max-width:undefinedpx;"> <main class="md:pl-8 md:pr-8 mt-16 sm:mt-20 flex-grow overflow-x-hidden print:px-0 print:mt-8"><div class="print:hidden"><div class="flex items-start mt-0 whitespace-nowrap overflow-auto"><div class="inline-flex items-center text-sm capitalize gap-1 text-gray-500 mb-2 sm:mb-4"><a href="/" class="hover:underline">Home </a></div></div></div> <article id="evidence-main-article" class="select-text markdown pb-10"> <h1 class="title">NYC Taxi Data 2022</h1> <div class="over-container svelte-1plm20d"> </div> <p class="markdown" data-svelte-h="svelte-1oqfwol">This is an exploration of NYC taxi data in 2022. It includes a summary of the data, rides by day, and rides by pickup location.</p> <div class="contents print:hidden"><div class="mt-2 mb-4 ml-0 mr-2 inline-block"> <div class="flex"> <button type="button" tabindex="0" role="button" aria-haspopup="dialog" aria-expanded="false" data-state="closed" id="kHuYYtOBE1" data-melt-popover-trigger="" data-popover-trigger="" class="items-center whitespace-nowrap transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-400 disabled:pointer-events-none disabled:opacity-50 border border-input bg-transparent shadow-sm hover:bg-gray-100 hover:text-gray-900 h-8 rounded-md px-3 text-xs flex justify-start rounded-r-none border-r-0 text-left font-normal" data-button-root=""><span class="hidden sm:inline">Jan 1, 2022 - Dec 2, 2022</span> <span class="sm:hidden">1/1/22 - 12/2/22</span></button> <button aria-autocomplete="list" aria-controls="kn8GydFMni" aria-expanded="false" aria-labelledby="sfqQKNOwBx" id="0IkvVO8mD6" role="combobox" type="button" data-melt-select-trigger="" data-select-trigger="" class="border-input flex items-center justify-between rounded-md border bg-transparent py-2 shadow-sm ring-offset-white placeholder:text-gray-500 focus:outline-none focus:ring-1 focus:ring-gray-400 disabled:cursor-not-allowed disabled:opacity-50 h-8 w-40 rounded-l-none px-3 text-xs font-medium" sameWidth><span class="hidden sm:inline" data-svelte-h="svelte-13biyvu">Select a Range</span> <span class="sm:hidden" data-svelte-h="svelte-1a1txje">Range</span> <div><svg viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" class="h-4 w-4"><path fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" fill="currentColor"></path></svg></div></button> </div></div></div> <div class="over-container svelte-1plm20d"> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
39 |
min-width: 18%;
|
40 |
max-width: none;
|
41 |
"><p class="text-sm text-gray-700">Rides</p> <div class="relative text-xl font-medium text-gray-700 my-0.5"> <span style="color: ">36,255,983</span> </div> </div> <div class="inline-block font-sans pt-2 pb-3 pr-3 pl-0 mr-3 items-center align-top" style="
|
|
|
53 |
<script type="application/json" data-sveltekit-fetched data-url="/api/pagesManifest.json">{"status":200,"statusText":"","headers":{},"body":"{\"label\":\"Home\",\"href\":\"/\",\"children\":{\"borough\":{\"label\":\"borough\",\"children\":{\"[borough]\":{\"children\":{},\"isTemplated\":true,\"isPage\":true}},\"frontMatter\":{},\"isTemplated\":false,\"isPage\":false}},\"frontMatter\":{\"title\":\"NYC Taxi Data 2022\",\"sidebar\":\"never\"},\"isTemplated\":false,\"isPage\":true}"}</script>
|
54 |
<script>
|
55 |
{
|
56 |
+
__sveltekit_1qgzfwe = {
|
57 |
base: ""
|
58 |
};
|
59 |
|
|
|
62 |
const data = [null,null];
|
63 |
|
64 |
Promise.all([
|
65 |
+
import("/_app/immutable/entry/start.GLpCEoHP.js"),
|
66 |
+
import("/_app/immutable/entry/app.C9INw6xA.js")
|
67 |
]).then(([kit, app]) => {
|
68 |
kit.start(app, element, {
|
69 |
node_ids: [0, 4],
|