/*! For license information please see main.js.LICENSE.txt */ (()=>{var n={675:function(){!function(n){"use strict";function r(n,r,t){return t.a=n,t.f=r,t}function t(n){return r(2,n,(function(r){return function(t){return n(r,t)}}))}function e(n){return r(3,n,(function(r){return function(t){return function(e){return n(r,t,e)}}}))}function u(n){return r(4,n,(function(r){return function(t){return function(e){return function(u){return n(r,t,e,u)}}}}))}function a(n){return r(5,n,(function(r){return function(t){return function(e){return function(u){return function(a){return n(r,t,e,u,a)}}}}}))}function i(n){return r(6,n,(function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return n(r,t,e,u,a,i)}}}}}}))}function o(n){return r(7,n,(function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(o){return n(r,t,e,u,a,i,o)}}}}}}}))}function c(n){return r(8,n,(function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(o){return function(c){return n(r,t,e,u,a,i,o,c)}}}}}}}}))}function f(n){return r(9,n,(function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(o){return function(c){return function(f){return n(r,t,e,u,a,i,o,c,f)}}}}}}}}}))}function s(n,r,t){return 2===n.a?n.f(r,t):n(r)(t)}function d(n,r,t,e){return 3===n.a?n.f(r,t,e):n(r)(t)(e)}function l(n,r,t,e,u){return 4===n.a?n.f(r,t,e,u):n(r)(t)(e)(u)}function v(n,r,t,e,u,a){return 5===n.a?n.f(r,t,e,u,a):n(r)(t)(e)(u)(a)}function b(n,r,t,e,u,a,i){return 6===n.a?n.f(r,t,e,u,a,i):n(r)(t)(e)(u)(a)(i)}function h(n,r,t,e,u,a,i,o){return 7===n.a?n.f(r,t,e,u,a,i,o):n(r)(t)(e)(u)(a)(i)(o)}function p(n,r){for(var t,e=[],u=g(n,r,0,e);u&&(t=e.pop());u=g(t.a,t.b,0,e));return u}function g(n,r,t,e){if(n===r)return!0;if("object"!=typeof n||null===n||null===r)return"function"==typeof n&&j(5),!1;if(t>100)return e.push(k(n,r)),!0;for(var u in n.$<0&&(n=st(n),r=st(r)),n)if(!g(n[u],r[u],t+1,e))return!1;return!0}var m=t(p),$=t((function(n,r){return!p(n,r)}));function w(n,r,t){if("object"!=typeof n)return n===r?0:n0})),t((function(n,r){return w(n,r)>=0}));var y=t((function(n,r){var t=w(n,r);return t<0?ot:t?it:at}));function k(n,r){return{a:n,b:r}}function T(n,r,t){return{a:n,b:r,c:t}}function x(n,r){var t={};for(var e in n)t[e]=n[e];for(var e in r)t[e]=r[e];return t}function C(n,r){if("string"==typeof n)return n+r;if(!n.b)return r;var t=F(n.a,r);n=n.b;for(var e=t;n.b;n=n.b)e=e.b=F(n.a,r);return t}t(C);var E={$:0};function F(n,r){return{$:1,a:n,b:r}}var A=t(F);function P(n){for(var r=E,t=n.length;t--;)r=F(n[t],r);return r}function O(n){for(var r=[];n.b;n=n.b)r.push(n.a);return r}var I=e((function(n,r,t){for(var e=[];r.b&&t.b;r=r.b,t=t.b)e.push(s(n,r.a,t.a));return P(e)})),M=(u((function(n,r,t,e){for(var u=[];r.b&&t.b&&e.b;r=r.b,t=t.b,e=e.b)u.push(d(n,r.a,t.a,e.a));return P(u)})),a((function(n,r,t,e,u){for(var a=[];r.b&&t.b&&e.b&&u.b;r=r.b,t=t.b,e=e.b,u=u.b)a.push(l(n,r.a,t.a,e.a,u.a));return P(a)})),i((function(n,r,t,e,u,a){for(var i=[];r.b&&t.b&&e.b&&u.b&&a.b;r=r.b,t=t.b,e=e.b,u=u.b,a=a.b)i.push(v(n,r.a,t.a,e.a,u.a,a.a));return P(i)})),t((function(n,r){return P(O(r).sort((function(r,t){return w(n(r),n(t))})))})));t((function(n,r){return P(O(r).sort((function(r,t){var e=s(n,r,t);return e===at?0:e===ot?-1:1})))}));var B=e((function(n,r,t){for(var e=new Array(n),u=0;u=0;e--)r=s(n,t[e],r);return r})));function j(n){throw new Error("https://github.com/elm/core/blob/1.0.0/hints/"+n+".md")}t((function(n,r){for(var t=r.length,e=new Array(t),u=0;ut.length&&(u=t.length);for(var a=new Array(e+u),i=0;i"),r})),t((function(n,r){return n+r})),t((function(n,r){return n-r})),t((function(n,r){return n*r})),t((function(n,r){return n/r})),t((function(n,r){return n/r|0})),t(Math.pow),t((function(n,r){return r%n}));var D=t((function(n,r){var t=r%n;return 0===n?j(11):t>0&&n<0||t<0&&n>0?t+n:t}));Math.PI,Math.E,Math.cos,Math.sin,Math.tan,Math.acos,Math.asin,Math.atan,t(Math.atan2);var N=Math.ceil,V=Math.floor,_=Math.round,K=(Math.sqrt,Math.log);isNaN,t((function(n,r){return n&&r})),t((function(n,r){return n||r})),t((function(n,r){return n!==r}));var H=t((function(n,r){return n+r})),q=t((function(n,r){return n+r}));t((function(n,r){for(var t=r.length,e=new Array(t),u=0;u-1})),Q=t((function(n,r){return 0===r.indexOf(n)})),Z=t((function(n,r){return r.length>=n.length&&r.lastIndexOf(n)===r.length-n.length})),X=t((function(n,r){var t=n.length;if(t<1)return E;for(var e=0,u=[];(e=r.indexOf(n,e))>-1;)u.push(e),e+=t;return P(u)}));function nn(n){return n+""}function rn(n){return{$:2,b:n}}var tn=rn((function(n){return"number"!=typeof n?gn("an INT",n):-2147483647=r.length?gn("a LONGER array. Need index "+u+" but only see "+r.length+" entries",r):(e=vn(n.b,r[u]),le(e)?e:bt(s(gt,u,e.a))):gn("an ARRAY",r);case 8:if("object"!=typeof r||null===r||hn(r))return gn("an OBJECT",r);var a=E;for(var i in r)if(r.hasOwnProperty(i)){if(e=vn(n.b,r[i]),!le(e))return bt(s(pt,i,e.a));a=F(k(i,e.a),a)}return mt(_t(a));case 9:for(var o=n.f,c=n.g,f=0;f0&&Ar(t,1,e,s));case 4:for(var d=n.j,l=r.j,v=!1,b=n.k;4===b.$;)v=!0,"object"!=typeof d?d=[d,b.j]:d.push(b.j),b=b.k;for(var h=r.k;4===h.$;)v=!0,"object"!=typeof l?l=[l,h.j]:l.push(h.j),h=h.k;return v&&d.length!==l.length?void Ar(t,0,e,r):((v?function(n,r){for(var t=0;to?Ar(t,6,e,{v:o,i:i-o}):i0||i.length>0||A)&&Ar(t,8,e,{w:u,x:i,y:A})}var Lr="_elmW6BL";function Sr(n,r,t,e,u,a){var i=n[t];if(!i)return i={c:0,z:e,r:u,s:void 0},a.push({r:u,A:i}),void(n[t]=i);if(1===i.c){a.push({r:u,A:i}),i.c=2;var o=[];return Pr(i.z,e,o,i.r),i.r=u,void(i.s.s={w:o,A:i})}Sr(n,r,t+Lr,e,u,a)}function jr(n,r,t,e,u){var a=n[t];if(a){if(0===a.c){a.c=2;var i=[];return Pr(e,a.z,i,u),void Ar(r,9,u,{w:i,A:a})}jr(n,r,t+Lr,e,u)}else{var o=Ar(r,9,u,void 0);n[t]={c:1,z:e,r:u,s:o}}}function Dr(n,r,t,e){Nr(n,r,t,0,0,r.b,e)}function Nr(n,r,t,e,u,a,i){for(var o=t[e],c=o.r;c===u;){var f=o.$;if(1===f)Dr(n,r.k,o.s,i);else if(8===f)o.t=n,o.u=i,(s=o.s.w).length>0&&Nr(n,r,s,0,u,a,i);else if(9===f){o.t=n,o.u=i;var s,d=o.s;d&&(d.A.s=n,(s=d.w).length>0&&Nr(n,r,s,0,u,a,i))}else o.t=n,o.u=i;if(!(o=t[++e])||(c=o.r)>a)return e}var l=r.$;if(4===l){for(var v=r.k;4===v.$;)v=v.k;return Nr(n,v,t,e,u+1,a,n.elm_event_node_ref)}for(var b=r.e,h=n.childNodes,p=0;pa))return e;u=m}return e}function Vr(n,r,t,e){return 0===t.length?n:(Dr(n,r,t,e),_r(n,t))}function _r(n,r){for(var t=0;t0;){var d=e[f];s[--f]=d?wt(d):yt}u.push(l(Nc,e[0],e.index,a,P(s))),c=r.lastIndex}return r.lastIndex=o,P(u)})),u((function(n,r,t,e){var u=0;return e.replace(r,(function(r){if(u++>=n)return r;for(var e=arguments.length-3,a=new Array(e);e>0;){var i=arguments[e];a[--e]=i?wt(i):yt}return t(l(Nc,r,arguments[arguments.length-2],u,P(a)))}))})));e((function(n,r,t){for(var e=t,u=[],a=r.lastIndex,i=r.lastIndex;n--;){var o=r.exec(e);if(!o)break;u.push(e.slice(a,o.index)),a=r.lastIndex}return u.push(e.slice(a)),r.lastIndex=i,P(u)}));var ut=t((function(n,r){return xn((function(t){var e=setInterval((function(){An(r)}),n);return function(){clearInterval(e)}}))}));t((function(n,r){return n&r})),t((function(n,r){return n|r})),t((function(n,r){return n^r})),t((function(n,r){return r<>n})),t((function(n,r){return r>>>n}));var at=1,it=2,ot=0,ct=A,ft=e((function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.b,u=t.c,a=t.d,i=t.e,o=n,c=d(n,e,u,d(ft,n,r,i));n=o,r=c,t=a}})),st=function(n){return d(ft,e((function(n,r,t){return s(ct,k(n,r),t)})),E,n)},dt=function(n){return d(ft,e((function(n,r,t){return s(ct,n,t)})),E,n)},lt=function(n){return dt(n)},vt=S,bt=(e((function(n,r,e){var u=e.c,a=e.d,i=t((function(r,t){if(r.$){var e=r.a;return d(vt,n,t,e)}var u=r.a;return d(vt,i,t,u)}));return d(vt,i,d(vt,n,r,a),u)})),function(n){return{$:1,a:n}}),ht=t((function(n,r){return{$:3,a:n,b:r}})),pt=t((function(n,r){return{$:0,a:n,b:r}})),gt=t((function(n,r){return{$:1,a:n,b:r}})),mt=function(n){return{$:0,a:n}},$t=function(n){return{$:2,a:n}},wt=function(n){return{$:0,a:n}},yt={$:1},kt=G,Tt=wn,xt=nn,Ct=t((function(n,r){return s(Y,n,O(r))})),Et=t((function(n,r){return P(s(z,n,r))})),Ft=function(n){return s(Ct,"\n ",s(Et,"\n",n))},At=e((function(n,r,t){for(;;){if(!t.b)return r;var e=t.a,u=t.b,a=n,i=s(n,e,r);n=a,r=i,t=u}})),Pt=function(n){return d(At,t((function(n,r){return r+1})),0,n)},Ot=I,It=e((function(n,r,t){for(;;){if(!(w(n,r)<1))return t;var e=n,u=r-1,a=s(ct,r,t);n=e,r=u,t=a}})),Mt=t((function(n,r){return d(It,n,r,E)})),Bt=t((function(n,r){return d(Ot,n,s(Mt,0,Pt(r)-1),r)})),Lt=function(n){var r=n.charCodeAt(0);return 55296<=r&&r<=56319?1024*(r-55296)+n.charCodeAt(1)-56320+65536:r},St=function(n){var r=Lt(n);return 97<=r&&r<=122},jt=function(n){var r=Lt(n);return r<=90&&65<=r},Dt=function(n){return St(n)||jt(n)},Nt=function(n){var r=Lt(n);return r<=57&&48<=r},Vt=function(n){return St(n)||jt(n)||Nt(n)},_t=function(n){return d(At,ct,E,n)},Kt=function(n){var r=n.charCodeAt(0);return isNaN(r)?yt:wt(55296<=r&&r<=56319?k(n[0]+n[1],n.slice(2)):k(n[0],n.slice(1)))},Ht=t((function(n,r){return"\n\n("+xt(n+1)+") "+Ft(qt(r))})),qt=function(n){return s(Ut,n,E)},Ut=t((function(n,r){n:for(;;)switch(n.$){case 0:var t=n.a,e=n.b,u=function(){var n=Kt(t);if(1===n.$)return!1;var r=n.a,e=r.a,u=r.b;return Dt(e)&&s(kt,Vt,u)}(),a=e,i=s(ct,u?"."+t:"['"+t+"']",r);n=a,r=i;continue n;case 1:var o=n.a,c=(e=n.b,"["+xt(o)+"]");n=a=e,r=i=s(ct,c,r);continue n;case 2:var f=n.a;if(f.b){if(f.b.b){var d=(r.b?"The Json.Decode.oneOf at json"+s(Ct,"",_t(r)):"Json.Decode.oneOf")+" failed in the following "+xt(Pt(f))+" ways:";return s(Ct,"\n\n",s(ct,d,s(Bt,Ht,f)))}n=a=e=f.a,r=i=r;continue n}return"Ran into a Json.Decode.oneOf with no possibilities"+(r.b?" at json"+s(Ct,"",_t(r)):"!");default:var l=n.a,v=n.b;return(d=r.b?"Problem with the value at json"+s(Ct,"",_t(r))+":\n\n ":"Problem with the given value:\n\n")+Ft(s(Tt,4,v))+"\n\n"+l}})),Wt=32,zt=u((function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}})),Yt=[],Rt=N,Gt=t((function(n,r){return K(r)/K(n)})),Jt=Rt(s(Gt,2,Wt)),Qt=l(zt,0,Jt,Yt,Yt),Zt=B,Xt=t((function(n,r){return n(r)})),ne=t((function(n,r){return r(n)})),re=m,te=V,ee=function(n){return n.length},ue=t((function(n,r){return w(n,r)>0?n:r})),ae=L,ie=t((function(n,r){for(;;){var t=s(ae,Wt,n),e=t.a,u=t.b,a=s(ct,{$:0,a:e},r);if(!u.b)return _t(a);n=u,r=a}})),oe=function(n){return n.a},ce=t((function(n,r){for(;;){var t=Rt(r/Wt);if(1===t)return s(ae,Wt,n).a;n=s(ie,n,E),r=t}})),fe=t((function(n,r){if(r.g){var t=r.g*Wt,e=te(s(Gt,Wt,t-1)),u=n?_t(r.j):r.j,a=s(ce,u,r.g);return l(zt,ee(r.i)+t,s(ue,5,e*Jt),a,r.i)}return l(zt,ee(r.i),Jt,Yt,r.i)})),se=a((function(n,r,t,e,u){for(;;){if(r<0)return s(fe,!1,{j:e,g:t/Wt|0,i:u});var a={$:1,a:d(Zt,Wt,r,n)};n=n,r-=Wt,t=t,e=s(ct,a,e),u=u}})),de=t((function(n,r){if(n<=0)return Qt;var t=n%Wt,e=d(Zt,t,n-t,r);return v(se,r,n-t-Wt,n,E,e)})),le=function(n){return!n.$},ve=sn,be=dn,he=function(n){return{$:0,a:n}},pe=function(n){switch(n.$){case 0:return 0;case 1:return 1;case 2:return 2;default:return 3}},ge=function(n){return n},me=ge,$e=i((function(n,r,t,e,u,a){return{bp:a,bv:r,bJ:e,bL:t,bO:n,bP:u}})),we=J,ye=function(n){return n.length},ke=R,Te=t((function(n,r){return n<1?r:d(ke,n,ye(r),r)})),xe=X,Ce=function(n){return""===n},Ee=t((function(n,r){return n<1?"":d(ke,0,n,r)})),Fe=function(n){for(var r=0,t=n.charCodeAt(0),e=43==t||45==t?1:0,u=e;u500?d(At,n,r,_t(b)):l(Se,n,r,t+1,b)))))}return s(n,u,s(n,i,s(n,c,r)))}return s(n,u,s(n,i,r))}return s(n,u,r)}return r})),je=e((function(n,r,t){return l(Se,n,r,0,t)})),De=t((function(n,r){return d(je,t((function(r,t){return s(ct,n(r),t)})),E,r)})),Ne=Cn,Ve=t((function(n,r){return s(Ne,(function(r){return Be(n(r))}),r)})),_e=e((function(n,r,t){return s(Ne,(function(r){return s(Ne,(function(t){return Be(s(n,r,t))}),t)}),r)})),Ke=function(n){return d(je,_e(ct),Be(E),n)},He=Kn,qe=t((function(n,r){var t=r;return Pn(s(Ne,He(n),t))})),Ue=e((function(n,r,t){return s(Ve,(function(n){return 0}),Ke(s(De,qe(n),r)))})),We=e((function(n,r,t){return Be(0)})),ze=t((function(n,r){return s(Ve,n,r)}));Nn.Task=Vn(Le,Ue,We,ze);var Ye,Re,Ge,Je=qn("Task"),Qe=t((function(n,r){return Je(s(Ve,n,r))})),Ze=qr,Xe=function(n){return{$:0,a:n}},nu=function(n){return{$:8,a:n}},ru=function(n){return{$:1,a:n}},tu=Un,eu=function(n){return n.aK},uu=ln,au=function(n){return n.a},iu=e((function(n,r,t){return{cV:r,c4:n,dh:t}})),ou=t((function(n,r){return{$:0,a:n,b:r}})),cu=t((function(n,r){return{$:5,a:n,b:r}})),fu=function(n){return{$:13,a:n}},su={$:12},du=function(n){return{$:8,a:n}},lu={$:-2},vu=lu,bu=a((function(n,r,t,e,u){return{$:-1,a:n,b:r,c:t,d:e,e:u}})),hu=a((function(n,r,t,e,u){if(-1!==u.$||u.a){if(-1!==e.$||e.a||-1!==e.d.$||e.d.a)return v(bu,n,r,t,e,u);e.a,h=e.b,p=e.c;var a=e.d,i=(a.a,a.b),o=a.c,c=a.d,f=a.e;return m=e.e,v(bu,0,h,p,v(bu,1,i,o,c,f),v(bu,1,r,t,m,u))}u.a;var s=u.b,d=u.c,l=u.d,b=u.e;if(-1!==e.$||e.a)return v(bu,n,s,d,v(bu,0,r,t,e,l),b);e.a;var h=e.b,p=e.c,g=e.d,m=e.e;return v(bu,0,r,t,v(bu,1,h,p,g,m),v(bu,1,s,d,l,b))})),pu=y,gu=e((function(n,r,t){if(-2===t.$)return v(bu,0,n,r,lu,lu);var e=t.a,u=t.b,a=t.c,i=t.d,o=t.e;switch(s(pu,n,u)){case 0:return v(hu,e,u,a,d(gu,n,r,i),o);case 1:return v(bu,e,u,r,i,o);default:return v(hu,e,u,a,i,d(gu,n,r,o))}})),mu=e((function(n,r,t){var e=d(gu,n,r,t);if(-1!==e.$||e.a)return e;e.a;var u=e.b,a=e.c,i=e.d,o=e.e;return v(bu,1,u,a,i,o)})),$u=function(n){return d(ft,e((function(n,r,t){return s(ct,r,t)})),E,n)},wu=t((function(n,r){return $u(d(At,t((function(r,t){return d(mu,n(r),r,t)})),vu,r))})),yu=t((function(n,r){n:for(;;){if(-2===r.$)return yt;var t=r.b,e=r.c,u=r.d,a=r.e;switch(s(pu,n,t)){case 0:n=n,r=u;continue n;case 1:return wt(e);default:n=n,r=a;continue n}}})),ku=function(n){if(-1===n.$&&-1===n.d.$&&-1===n.e.$){if(-1!==n.e.d.$||n.e.d.a){n.a,u=n.b,a=n.c;var r=n.d,t=(r.a,o=r.b,c=r.c,f=r.d,s=r.e,n.e);return t.a,l=t.b,b=t.c,e=t.d,$=t.e,v(bu,1,u,a,v(bu,0,o,c,f,s),v(bu,0,l,b,e,$))}n.a;var e,u=n.b,a=n.c,i=n.d,o=(i.a,i.b),c=i.c,f=i.d,s=i.e,d=n.e,l=(d.a,d.b),b=d.c,h=((e=d.d).a,e.b),p=e.c,g=e.d,m=e.e,$=d.e;return v(bu,0,h,p,v(bu,1,u,a,v(bu,0,o,c,f,s),g),v(bu,1,l,b,m,$))}return n},Tu=function(n){if(-1===n.$&&-1===n.d.$&&-1===n.e.$){if(-1!==n.d.d.$||n.d.d.a){n.a,u=n.b,a=n.c;var r=n.d,t=(r.a,o=r.b,c=r.c,r.d),e=(h=r.e,n.e);return e.a,g=e.b,m=e.c,$=e.d,w=e.e,v(bu,1,u,a,v(bu,0,o,c,t,h),v(bu,0,g,m,$,w))}n.a;var u=n.b,a=n.c,i=n.d,o=(i.a,i.b),c=i.c,f=i.d,s=(f.a,f.b),d=f.c,l=f.d,b=f.e,h=i.e,p=n.e,g=(p.a,p.b),m=p.c,$=p.d,w=p.e;return v(bu,0,o,c,v(bu,1,s,d,l,b),v(bu,1,u,a,h,v(bu,0,g,m,$,w)))}return n},xu=o((function(n,r,t,e,u,a,i){if(-1!==a.$||a.a){n:for(;;){if(-1===i.$&&1===i.a){if(-1===i.d.$){if(1===i.d.a)return i.a,i.d.a,Tu(r);break n}return i.a,i.d,Tu(r)}break n}return r}a.a;var o=a.b,c=a.c,f=a.d,s=a.e;return v(bu,t,o,c,f,v(bu,0,e,u,s,i))})),Cu=function(n){if(-1===n.$&&-1===n.d.$){var r=n.a,t=n.b,e=n.c,u=n.d,a=u.a,i=u.d,o=n.e;if(1===a){if(-1!==i.$||i.a){var c=ku(n);if(-1===c.$){var f=c.a,s=c.b,d=c.c,l=c.d,b=c.e;return v(hu,f,s,d,Cu(l),b)}return lu}return i.a,v(bu,r,t,e,Cu(u),o)}return v(bu,r,t,e,Cu(u),o)}return lu},Eu=t((function(n,r){if(-2===r.$)return lu;var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(w(n,e)<0){if(-1===a.$&&1===a.a){a.a;var o=a.d;if(-1!==o.$||o.a){var c=ku(r);if(-1===c.$){var f=c.a,d=c.b,l=c.c,b=c.d,p=c.e;return v(hu,f,d,l,s(Eu,n,b),p)}return lu}return o.a,v(bu,t,e,u,s(Eu,n,a),i)}return v(bu,t,e,u,s(Eu,n,a),i)}return s(Fu,n,h(xu,n,r,t,e,u,a,i))})),Fu=t((function(n,r){if(-1===r.$){var t=r.a,e=r.b,u=r.c,a=r.d,i=r.e;if(p(n,e)){var o=function(n){for(;;){if(-1!==n.$||-1!==n.d.$)return n;n=n.d}}(i);if(-1===o.$){var c=o.b,f=o.c;return v(hu,t,c,f,a,Cu(i))}return lu}return v(hu,t,e,u,a,s(Eu,n,i))}return lu})),Au=t((function(n,r){var t=s(Eu,n,r);if(-1!==t.$||t.a)return t;t.a;var e=t.b,u=t.c,a=t.d,i=t.e;return v(bu,1,e,u,a,i)})),Pu=e((function(n,r,t){var e=r(s(yu,n,t));if(e.$)return s(Au,n,t);var u=e.a;return d(mu,n,u,t)})),Ou=u((function(n,r,t,e){return d(Pu,r,(function(r){if(r.$)return wt(t);var e=r.a;return wt(s(n,e,t))}),e)})),Iu=e((function(n,r,e){return d(At,t((function(t,e){return l(Ou,n,r(t),t,e)})),vu,e)})),Mu=t((function(n,r){var t=r.a,e=r.b;return n(t)||n(e)})),Bu=function(n){if(8===n.$&&n.a.b){var r=n.a;return r.a,r.b,!0}return!1},Lu=function(n){switch(n.$){case 2:case 1:case 0:case 3:return!0;default:return!1}},Su={$:11},ju=e((function(n,r,t){var e=n(r);if(e.$)return t;var u=e.a;return s(ct,u,t)})),Du=t((function(n,r){return d(je,ju(n),E,r)})),Nu=function(n){return d(At,t((function(n,r){var t=n.a,e=n.b;return d(mu,t,e,r)})),vu,n)},Vu=t((function(n,r){if(r.$)return yt;var t=r.a;return wt(n(t))})),_u=function(n){return"("+n+")"},Ku=M,Hu=t((function(n,r){return r.$?n:r.a})),qu=function(n){return 10===n.$&&(n.a,1)?_u(Uu(n)):Uu(n)},Uu=function(n){switch(n.$){case 12:return"never";case 0:return"string";case 1:case 2:return"number";case 3:return"boolean";case 11:return"JsonValue";case 4:var r=n.a;return qu(r)+"[]";case 7:var t=n.a;return s(Tt,0,t);case 10:var e=n.a,u=e.a,a=e.b;return s(Ct," | ",s(De,qu,s(ct,u,a)));case 8:var i=n.a;return"{ "+s(Ct,"; ",s(De,(function(n){var r=n.a,t=n.b,e=n.c;return(1===r?t:t+"?")+" : "+Uu(e)}),s(Ku,(function(n){return n.b}),i)))+" }";case 9:var o=n.a;return"{ [key: string]: "+Uu(o)+" }";case 6:a=n.a;var c=n.b,f=s(Vu,(function(n){return"...("+Uu(n)+")[]"}),c);return"[ "+s(Ct,", ",s(Du,ge,C(s(De,(function(n){return wt(Uu(n))}),a),P([f]))))+" ]";case 13:var l=n.a;return _u(s(Ct," & ",s(De,qu,l)));default:var v=n.a,b=v.a,h=(o=v.b,n.b),p=Nu(s(ct,k(b,o),h)),g=s(Hu,0,function(n){if(n.b){var r=n.a,t=n.b;return wt(d(At,ue,r,t))}return yt}(dt(p)));return"["+s(Ct,",",C(s(De,(function(n){return Uu(s(Hu,Su,s(yu,n,p)))}),s(Mt,0,g)),P(["...JsonValue[]"])))+"]"}},Wu=t((function(n,r){if(b=k(n,r),s(Mu,Bu,b)&&s(Mu,Lu,b))return su;if(p(n,r))return n;var t=k(n,r);n:for(;;){r:for(;;)switch(t.a.$){case 11:return t.a,t.b;case 13:switch(t.b.$){case 11:break n;case 13:var e=t.a.a,u=t.b.a;return Yu(C(e,u));default:break r}case 5:switch(t.b.$){case 11:break n;case 5:if(t.a.b.b||t.b.b.b)break r;var a=t.a.a,i=a.a,o=a.b,c=t.b.a,f=c.a,d=c.b;return s(cu,k(i,o),P([k(f,d)]));default:break r}case 8:switch(t.b.$){case 11:break n;case 8:var l=t.a.a,v=t.b.a;return du(s(zu,l,v));case 10:return l=t.a.a,t.b.a,fu(P([n,r]));default:break r}case 0:switch(t.b.$){case 11:break n;case 2:return t.a,t.b,su;default:break r}case 2:switch(t.b.$){case 11:break n;case 0:return t.a,t.b,su;default:break r}default:if(11===t.b.$)break n;break r}return p(n,r)?n:fu(P([n,r]))}var b,h=t.a;return t.b,h})),zu=t((function(n,r){return $u(d(Iu,t((function(n,r){var t=n.a,e=n.b,u=n.c,a=r.a,i=(r.b,r.c);return 1===t||1===a?T(1,e,s(Wu,u,i)):T(0,e,u)})),(function(n){return n.b}),C(n,r)))})),Yu=function(n){return function(){var r=s(wu,Uu,n);if(r.b){if(r.b.b){var e=r.a,u=r.b;if(8===e.$){var a=e.a,i=d(je,t((function(n,r){var t=r.a,e=r.b;if(8===n.$){var u=n.a;return k(s(zu,u,t),e)}return k(t,s(ct,n,e))})),k(a,E),u),o=i.a,c=i.b;return fu(s(ct,du(o),c))}return fu(n)}return r.a}return su}()},Ru=e((function(n,r,t){var e=r.a,u=r.b,a=t.a,i=t.b;return s(ou,d(be,n,e,a),s(Wu,u,i))})),Gu=Ru(ne),Ju=fn,Qu=t((function(n,r){return d(je,t((function(r,t){return n(r)?s(ct,r,t):t})),E,r)})),Zu=$,Xu=function(n){var r=s(Qu,Zu(su),n),t=!p(Pt(n),Pt(r));return r.b?r.b.b?{$:10,a:k(r.a,r.b)}:r.a:t?su:Su},na=t((function(n,r){var t=n.a,e=n.b,u=r.a,a=r.b;return s(ou,s(Ju,(function(n){var r=t(n),e=r.a;return r.b,e}),u),s(Wu,a,Xu(e)))})),ra=on,ta=t((function(n,r){var t=r.a,e=r.b;return s(ou,s(ra,n,t),du(P([T(1,n,e)])))})),ea={$:0},ua=an,aa=s(ou,ua,ea),ia=t((function(n,r){return{$:0,a:n,b:r}})),oa=t((function(n,r){var t=n.b,e=r.a,u=r.b;return s(ia,e(n),s(ct,t,u))})),ca=function(n){return s(ia,n,E)},fa=e((function(n,r,t){return{aK:n,aQ:r,b5:t}})),sa=a((function(n,r,t,e,u){return{aL:u,ak:n,al:r,ao:t,ap:e}})),da=sa,la=v(da,0,2,0,E,E),va=function(n){return{$:0,a:n}},ba=function(n){return{$:1,a:n}},ha=u((function(n,r,t,e){return{bg:n,O:r,bx:t,ad:e}})),pa={$:3},ga=en,ma=s(ou,ga,pa),$a=function(n){return{$:0,a:n}},wa=function(n){return{$:1,a:n}},ya=function(n){return{$:11,g:n}},ka=function(n){return s(ou,ya(s(De,(function(n){return n.a}),n)),Xu(s(De,(function(n){return n.b}),n)))},Ta=function(n){return{$:7,a:n}},xa=function(n){return{$:1,a:n}},Ca=un,Ea=t((function(n,r){return s(ou,s(Ju,(function(t){return p(r,t)?he(n):xa("Expected the following literal value: "+s(Tt,0,r))}),Ca),Ta(r))})),Fa=yn,Aa=e((function(n,r,t){return s(Gu,s(ta,"data",t),s(ta,"tag",s(Ea,r,Fa(n))))})),Pa=ka(P([d(Aa,"fileFilter",$a,aa),d(Aa,"pathFilter",wa,aa),d(Aa,"tagFilter",(function(n){return{$:2,a:n}}),aa)])),Oa={$:1},Ia=tn,Ma=s(ou,Ia,Oa),Ba=function(n){return{$:4,a:n}},La=function(n){var r=n.a,t=n.b;return s(ou,function(n){return{$:3,b:n}}(r),Ba(t))},Sa=function(n){return s(ou,he(n),Su)},ja=s(Gu,s(ta,"title",aa),s(Gu,s(ta,"includeUndated",ma),s(Gu,s(ta,"filters",La(Pa)),s(Gu,s(ta,"completedCount",Ma),Sa(ha))))),Da=i((function(n,r,t,e,u,a){return{cl:n,bg:r,O:t,bw:e,by:u,ad:a}})),Na=t((function(n,r){return{co:r,c8:n}})),Va=s(Gu,s(ta,"displayTitle",aa),s(Gu,s(ta,"tag",aa),Sa(Na))),_a=s(Gu,s(ta,"title",aa),s(Gu,s(ta,"includeUntagged",ma),s(Gu,s(ta,"includeOthers",ma),s(Gu,s(ta,"filters",La(Pa)),s(Gu,s(ta,"completedCount",Ma),s(Gu,s(ta,"columns",La(Va)),Sa(Da))))))),Ka=ka(P([d(Aa,"dateBoardConfig",va,ja),d(Aa,"tagBoardConfig",ba,_a)])),Ha=e((function(n,r,t){return{aR:n,aT:r,a7:t}})),qa=t((function(n,r){var t=r.a,e=r.b;return s(ou,s(ve,n,t),e)})),Ua=s(Gu,s(ta,"subTaskDisplayLimit",ka(P([s(qa,wt,Ma),Sa(yt)]))),s(Gu,s(ta,"ignorePaths",La(Pa)),s(Gu,s(ta,"hideCompletedSubtasks",ma),Sa(Ha)))),Wa=s(Gu,Sa(la),s(Gu,s(ta,"globalSettings",Ua),s(Gu,s(ta,"boardConfigs",La(Ka)),Sa(fa)))),za=("Unsupported settings file version",s(ou,xa("Unsupported settings file version"),Su)),Ya=s(Gu,s(ta,"title",aa),s(Gu,s(ta,"includeUndated",ma),s(Gu,Sa(E),s(Gu,s(ta,"completedCount",Ma),Sa(ha))))),Ra=s(Gu,s(ta,"title",aa),s(Gu,s(ta,"includeUntagged",ma),s(Gu,s(ta,"includeOthers",ma),s(Gu,Sa(E),s(Gu,s(ta,"completedCount",Ma),s(Gu,s(ta,"columns",La(Va)),Sa(Da))))))),Ga=ka(P([d(Aa,"dateBoardConfig",va,Ya),d(Aa,"tagBoardConfig",ba,Ra)])),Ja={aR:!1,aT:E,a7:yt},Qa=s(Gu,Sa(la),s(Gu,Sa(Ja),s(Gu,s(ta,"boardConfigs",La(Ga)),Sa(fa)))),Za=s(oa,s(ta,"data",za),s(oa,s(ta,"data",Qa),s(oa,s(ta,"data",Wa),ca(u((function(n,r,t,e){switch(e){case"0.2.0":return n;case"0.1.0":return r;default:return t}})))))),Xa=s(na,Za,s(ta,"version",aa)),ni=s(Gu,s(ta,"zone",Ma),s(Gu,s(ta,"now",Ma),s(Gu,s(ta,"settings",Xa),Sa(iu)))),ri=t((function(n,r){return{$:0,a:n,b:r}})),ti=t((function(n,r){return d(At,function(n){return t((function(r,t){return t.push(n(r)),t}))}(n),[],r)})),ei=function(n){var r=n.a,t=n.b;return s(ri,(function(n){return s(ti,r,n)}),Ba(t))},ui=function(n){var r=du(s(De,(function(n){return T(n.a,n.b,n.d)}),n));return s(ri,(function(r){return e=s(Du,(function(n){var t=n.b,e=n.c;return s(Vu,(function(n){return k(t,n)}),e(r))}),n),d(At,t((function(n,r){var t=n.a,e=n.b;return d(kn,t,e,r)})),{},e);var e}),r)},ai=u((function(n,r,t,e){return{$:0,a:n,b:r,c:t,d:e}})),ii=e((function(n,r,t){var e=t.a,u=t.b;return l(ai,1,n,(function(n){return wt(e(r(n)))}),u)})),oi=s(ri,Fa,ea),ci=ei(ui(P([d(ii,"filePath",(function(n){return n.ah}),oi),d(ii,"id",(function(n){return n.aS}),oi)]))),fi=e((function(n,r,t){return r(n(t))})),si=function(n){return n},di=function(n){var r=n.a,t=n.b;return s(ri,s(fi,r,si),Xu(t))},li=s(ri,yn,Oa),vi=ui(P([d(ii,"filePath",(function(n){return n.ah}),oi),d(ii,"lineNumber",(function(n){return n.aV}),li),d(ii,"originalText",(function(n){return n.a1}),oi)])),bi=ui(P([d(ii,"id",(function(n){return n.aS}),oi),d(ii,"markdown",(function(n){return n.aW}),oi)])),hi=ei(ui(P([d(ii,"filePath",(function(n){return n.ah}),oi),d(ii,"taskMarkdown",(function(n){return n.c9}),ei(bi))]))),pi=yn,gi=s(ri,pi,pa),mi=t((function(n,r){return{$:0,a:n,b:r}})),$i=function(n){return s(mi,n,E)},wi=function(n){return s(ri,(function(r){return n}),Ta(n))},yi=t((function(n,r){var t=n.a,e=n.b,u=r.a,a=r.b;return s(mi,u(s(fi,t,ge)),s(ct,e,a))})),ki=e((function(n,r,t){return s(yi,ui(s(ct,d(ii,"tag",ge,wi(Fa(n))),r)),t)})),Ti=e((function(n,r,t){return d(ki,n,P([d(ii,"data",ge,r)]),t)})),xi=di(d(Ti,"tagFilter",oi,d(Ti,"pathFilter",oi,d(Ti,"fileFilter",oi,$i(u((function(n,r,t,e){switch(e.$){case 0:return n(e.a);case 1:return r(e.a);default:return t(e.a)}}))))))),Ci=ui(P([d(ii,"completedCount",(function(n){return n.bg}),li),d(ii,"filters",(function(n){return n.O}),ei(xi)),d(ii,"includeUndated",(function(n){return n.bx}),gi),d(ii,"title",(function(n){return n.ad}),oi)])),Ei=ui(P([d(ii,"tag",(function(n){return n.c8}),oi),d(ii,"displayTitle",(function(n){return n.co}),oi)])),Fi=ui(P([d(ii,"columns",(function(n){return n.cl}),ei(Ei)),d(ii,"completedCount",(function(n){return n.bg}),li),d(ii,"filters",(function(n){return n.O}),ei(xi)),d(ii,"includeOthers",(function(n){return n.bw}),gi),d(ii,"includeUntagged",(function(n){return n.by}),gi),d(ii,"title",(function(n){return n.ad}),oi)])),Ai=di(d(Ti,"tagBoardConfig",Fi,d(Ti,"dateBoardConfig",Ci,$i(e((function(n,r,t){return t.$?r(t.a):n(t.a)})))))),Pi=t((function(n,r){var t=r.a,e=r.b;return s(mi,t(n),s(ct,Ta(n),e))})),Oi=ui(P([d(ii,"hideCompletedSubtasks",(function(n){return n.aR}),gi),d(ii,"ignorePaths",(function(n){return n.aT}),ei(xi)),d(ii,"subTaskDisplayLimit",(function(n){return n.a7}),(Ye=li,di(s(yi,Ye,s(Pi,null,$i(e((function(n,r,t){return t.$?n:r(t.a)}))))))))])),Ii=ui(P([d(ii,"boardConfigs",(function(n){return n.aK}),ei(Ai)),d(ii,"globalSettings",(function(n){return n.aQ}),Oi)])),Mi=t((function(n,r){var t=r.a,e=r.b;return s(ri,(function(r){return t(n(r))}),e)})),Bi=function(n){return!n.b},Li=s(Mi,(function(n){var r=t((function(n,r){return Bi(r)?"":C(n,s(Ct,".",r))}));return s(Ct,"",P([xt(n.ak),".",xt(n.al),".",xt(n.ao),s(r,"-",n.ap),s(r,"+",n.aL)]))}),oi),Si=ui(P([d(ii,"version",(function(n){return n.b5}),Li),d(ii,"data",ge,Ii)])),ji=ui(P([d(ii,"filePath",(function(n){return n.ah}),oi),d(ii,"lineNumber",(function(n){return n.aV}),li),d(ii,"originalText",(function(n){return n.a1}),oi)])),Di=ui(P([d(ii,"lineNumber",(function(n){return n.aV}),li),d(ii,"originalText",(function(n){return n.a1}),oi),d(ii,"newText",(function(n){return n.cN}),oi)])),Ni=ui(P([d(ii,"filePath",(function(n){return n.ah}),oi),d(ii,"tasks",(function(n){return n.da}),ei(Di))])),Vi=t((function(n,r){var e=r.a,u=r.b,a=t((function(n,r){return n(r(0))})),i=s(mi,a(e),u);return s(yi,ui(P([d(ii,"tag",ge,wi(Fa(n)))])),i)})),_i=di(d(Ti,"updateTasks",Ni,d(Ti,"updateSettings",Si,s(Vi,"requestFilterCandidates",d(Ti,"openTaskSourceFile",ji,s(Vi,"elmInitialized",d(Ti,"displayTaskMarkdown",hi,d(Ti,"deleteTask",vi,s(Vi,"closeView",d(Ti,"addFilePreviewHovers",ci,$i((function(n){return function(r){return function(t){return function(e){return function(u){return function(a){return function(i){return function(o){return function(o){return function(c){switch(c.$){case 0:var f=c.a;return n(f);case 1:return r;case 2:return f=c.a,t(f);case 3:return f=c.a,e(f);case 4:return u;case 5:return f=c.a,a(f);case 6:return i;default:return f=c.a,o(f)}}}}}}}}}}})))))))))))),Ki=t((function(n,r){return n})),Hi=a((function(n,r,t,e,u){return{cf:u,cg:e,cw:r,ah:n,cz:t}})),qi=e((function(n,r,t){var e=t.a,u=t.b,a=t.c;return v(Hi,n,r,e,u,a)})),Ui=vu,Wi=t((function(n,r){return d(mu,n,0,r)})),zi=function(n){return d(At,Wi,Ui,n)},Yi=function(n){return"Line "+xt(n.c3)+", column "+xt(n.B)+": "+function(n){switch(n.$){case 0:return"Expected "+n.a;case 1:return"Expected an integer";case 2:return"Expected a hexadecimal value";case 3:return"Expected an octal value";case 4:return"Expected a binary value";case 5:return"Expected a float";case 6:return"Expected a number";case 7:return"Expected a variable";case 8:return"Expected symbol '"+n.a+"'";case 9:return"Expected keyword '"+n.a+"'";case 10:return"Expected end of input";case 11:return"Encountered an unexpected character";case 12:return"Problem: "+n.a;default:return"Bad repeat"}}(n.c0)},Ri=e((function(n,r,t){switch(r.$){case 0:case 1:case 2:case 5:case 6:case 8:return s(n,r,t);case 3:var e=r.a;return s(n,r,d(At,Ri(n),t,e));case 4:var u=r.a;return s(n,r,d(At,Ri(n),t,$u(u)));default:r.a;var a=r.b;return s(n,r,d(Ri,n,a,t))}})),Gi=t((function(n,r){return{$:7,a:n,b:r}})),Ji=function(n){return{$:3,a:n}},Qi=function(n){return{$:4,a:n}},Zi=t((function(n,r){switch(r.$){case 0:case 1:case 2:case 5:case 6:case 8:return n(r);case 3:var t=r.a;return n(Ji(s(De,Zi(n),t)));case 4:var e=r.a;return n(Qi(Nu(s(De,(function(r){var t=r.a,e=r.b;return k(t,s(Zi,n,e))}),st(e)))));default:var u=r.a,a=r.b;return n(s(Gi,u,s(Zi,n,a)))}})),Xi=t((function(n,r){if(r.$){var t=r.a;return bt(t)}var e=r.a;return mt(n(e))})),no=t((function(n,r){if(r.$){var t=r.a;return bt(n(t))}var e=r.a;return mt(e)})),ro=t((function(n,r){return{$:1,a:n,b:r}})),to=e((function(n,r,t){return{$:0,a:n,b:r,c:t}})),eo=t((function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$){var u=e.a,a=e.b;return s(ro,u,a)}var i=e.a,o=e.b,c=e.c,f=n(o)(c);if(1===f.$){var l=f.a;return a=f.b,s(ro,i||l,a)}l=f.a;var v=f.b,b=f.c;return d(to,i||l,v,b)}})),uo=eo,ao=e((function(n,r,t){var e=r,u=t;return function(r){var t=e(r);if(1===t.$){var a=t.a,i=t.b;return s(ro,a,i)}var o=t.a,c=t.b,f=t.c,l=u(f);if(1===l.$){var v=l.a;return i=l.b,s(ro,o||v,i)}v=l.a;var b=l.b,h=l.c;return d(to,o||v,s(n,c,b),h)}})),io=t((function(n,r){return d(ao,Ki,n,r)})),oo=io,co={$:0},fo=t((function(n,r){return{$:2,a:n,b:r}})),so=e((function(n,r,t){n:for(;;){if(t.b){var e=t.a,u=t.b,a=e(n);if(a.$){var i,o=(i=a).a,c=i.b;if(o)return i;n=n,r=s(fo,r,c),t=u;continue n}return a}return s(ro,!1,r)}})),lo=function(n){return function(r){return d(so,r,co,n)}},vo=function(n){return function(r){return d(to,!1,n,r)}},bo=t((function(n,r){return{$:0,a:n,b:r}})),ho=t((function(n,r){return{$:1,a:n,b:r}})),po=u((function(n,r,t,e){return{B:r,cm:e,c0:t,c3:n}})),go=t((function(n,r){return s(ho,co,l(po,n.c3,n.B,r,n.b))})),mo=Xr,$o=function(n){return!n},wo=function(n){var r=n.a,t=n.b,e=!Ce(r);return function(n){var u=v(mo,r,n.a,n.c3,n.B,n.t),a=u.a,i=u.b,o=u.c;return p(a,-1)?s(ro,!1,s(go,n,t)):d(to,e,0,{B:o,b:n.b,I:n.I,a,c3:i,t:n.t})}},yo=wo,ko=function(n){return yo(s(bo,n,{$:8,a:n}))},To=ko("---"),xo=function(n){return{$:1,a:n}},Co=function(n){return{$:0,a:n}},Eo=function(n){return function(r){var t=v(rt,n,r.a,r.c3,r.B,r.t),e=t.a,u=t.b,a=t.c,i=e<0?ye(r.t):e;return d(to,w(r.a,i)<0,0,{B:a,b:r.b,I:r.I,a:i,c3:u,t:r.t})}},Fo=function(n){return s(bo,n,{$:0,a:n})},Ao=(Re=Fo("#"),s(io,wo(Re),Eo("\n"))),Po=u((function(n,r,t,e){for(;;){var u=t(r)(e);if(u.$){i=u.a;var a=u.b;return s(ro,n||i,a)}var i=u.a,o=u.b,c=u.c;if(o.$){var f=o.a;return d(to,n||i,f,c)}n=n||i,r=o.a,t=t,e=c}})),Oo=t((function(n,r){return function(t){return l(Po,!1,n,r,t)}})),Io=t((function(n,r){var t=r;return function(r){var e=t(r);if(e.$){a=e.a;var u=e.b;return s(ro,a,u)}var a=e.a,i=e.b,o=e.c;return d(to,a,n(i),o)}})),Mo=Io,Bo=function(n){return n.$?{$:1,a:n.a}:function(n){return{$:0,a:n}}(n.a)},Lo=t((function(n,r){return s(Oo,n,(function(n){return s(Mo,Bo,r(n))}))})),So=s(Lo,0,(function(n){return lo(P([s(oo,vo(Co(0)),Ao),s(oo,vo(Co(0)),ko(" ")),s(oo,vo(Co(0)),ko("\n")),vo(xo(0))]))})),jo=function(n){return d(to,!1,n.B,n)},Do=lo(P([s(oo,s(oo,vo(ge),So),s(uo,(function(n){return 1===n?lo(P([s(oo,s(oo,vo(ge),To),So),s(oo,vo(ge),So)])):s(oo,vo(ge),So)}),jo)),s(oo,vo(ge),So)])),No=(Ge={$:10},function(n){return p(ye(n.t),n.a)?d(to,!1,0,n):s(ro,!1,s(go,n,Ge))}),Vo=ko("..."),_o=s(oo,s(oo,s(oo,s(oo,vo(ge),So),lo(P([Vo,vo(0)]))),So),No),Ko=t((function(n,r){return d(ao,Xt,n,r)})),Ho={$:6},qo=function(n){return{$:0,a:n}},Uo=e((function(n,r,t){return n(r(t))})),Wo=Eo,zo=t((function(n,r){var t=r;return function(r){var e=t(r);if(1===e.$){var u=e.a,a=e.b;return s(ro,u,a)}u=e.a;var i=e.b,o=e.c;return d(to,u,s(n,d(ke,r.a,o.a,r.t),i),o)}})),Yo=function(n){return s(zo,Ki,n)},Ro=Yo(s(oo,vo(0),Wo("\n...\n"))),Go=lo(P([s(oo,vo(Ho),No),s(Ko,s(oo,vo(s(Uo,qo,(function(n){return"---"+n}))),To),Ro),s(oo,s(oo,vo(Ho),Vo),Ro)])),Jo=nt,Qo=a((function(n,r,t,e,u){for(;;){var a=d(Jo,n,r,u.t);if(p(a,-1))return d(to,w(u.a,r)<0,0,{B:e,b:u.b,I:u.I,a:r,c3:t,t:u.t});p(a,-2)?(n=n,r+=1,t+=1,e=1,u=u):(n=n,r=a,t=t,e+=1,u=u)}})),Zo=function(n){return function(r){return v(Qo,n,r.a,r.c3,r.B,r)}},Xo=Zo,nc=t((function(n,r){for(;;){if(!r.b)return!1;var t=r.a,e=r.b;if(n(t))return!0;n=n,r=e}})),rc=t((function(n,r){return s(nc,(function(r){return p(r,n)}),r)})),tc=s(Ko,vo(ge),Yo(Xo((function(n){return!s(rc,n,P(["\r","\n"," ","\t",",","[","]","{","}"]))})))),ec=function(n){return s(Ko,s(Ko,s(oo,vo(Gi),ko("&")),s(oo,tc,So)),s(uo,n,jo))},uc=function(n){var r=n;return function(n){var t=r(n);if(1===t.$){var e=t.b;return s(ro,!1,e)}var u=t.b,a=t.c;return d(to,!1,u,a)}},ac={$:11},ic=t((function(n,r){return function(t){var e=d(Jo,n,t.a,t.t);return p(e,-1)?s(ro,!1,s(go,t,r)):p(e,-2)?d(to,!0,0,{B:1,b:t.b,I:t.I,a:t.a+1,c3:t.c3+1,t:t.t}):d(to,!0,0,{B:t.B+1,b:t.b,I:t.I,a:e,c3:t.c3,t:t.t})}})),oc=function(n){return s(ic,n,ac)},cc=function(n){return Yo(s(oo,vo(0),Xo(n)))},fc=t((function(n,r){return p(r,n)})),sc=fc('"'),dc=fc(" "),lc=Xo(dc),vc=s(Ko,s(oo,vo(ge),ko('"')),s(oo,s(oo,cc(s(Uo,$o,sc)),ko('"')),lc)),bc=function(n){return{$:5,a:n}},hc=function(n){if(0===n.length||/[\sxbo]/.test(n))return yt;var r=+n;return r==r?wt(r):yt},pc=function(n){return n.toLowerCase()},gc=function(n){return n.trim()},mc=function(n){var r=gc(n),t=pc(r);switch(t){case"":case"null":return Ho;case"true":return bc(!0);case"false":return bc(!1);default:var e=t,u=Fe(e);if(u.$){var a=hc(e);return a.$?qo(r):{$:1,a:a.a}}return{$:2,a:u.a}}},$c=function(n){if(n.b){var r=n.a;return n.b,wt(r)}return yt},wc=t((function(n,r){return s(uo,(function(t){return lo(P([s(uo,(function(n){return r.aO}),No),s(uo,(function(n){return r.aO}),ko("\n...\n")),p(t,n)?r.aP:w(t,n)>0?r.aU(t):r.a4]))}),s(Ko,s(oo,vo(ge),So),jo))})),yc=fc(":"),kc=fc("]"),Tc=fc("["),xc=fc("\n"),Cc=fc("}"),Ec=fc("{"),Fc=lo(P([ko("- "),ko("-\n")])),Ac=fc(","),Pc=t((function(n,r){return xo(_t(s(ct,r,n)))})),Oc=t((function(n,r){return Co(s(ct,r,n))})),Ic=t((function(n,r){return lo(P([s(oo,vo(s(Oc,n,r)),oc(Ac)),s(oo,vo(s(Pc,n,r)),oc(kc))]))})),Mc=e((function(n,r,t){return!n(t)&&!r(t)})),Bc=e((function(n,r,t){return s(Ct,r,s(Et,n,t))})),Lc=s(Mo,s(Uo,mc,s(Bc,"\\","\\\\")),Yo(s(oo,vo(0),Xo(s(Mc,Ac,kc))))),Sc=t((function(n,r){var e,u,a,i=function(n){return s(Ct," ",_t(n))},o=t((function(t,e){return w(e,n)>0?Co(s(ct,t,r)):xo(i(s(ct,t,r)))}));return lo(P([s(Ko,s(Ko,vo(o),s(oo,s(oo,(e=s(Uo,$o,xc),u=t((function(n,r){return Co(s(ct,r,n))})),a=function(n){return xo((r=_t(n),s(Ct,"",r)));var r},s(Lo,E,(function(n){return lo(P([s(oo,vo(a(n)),Ao),s(Mo,u(n),Yo(s(oo,vo(0),oc(e)))),vo(a(n))]))}))),oc(xc)),lc)),jo),vo(xo(i(r)))]))})),jc=function(n){return s(Lo,E,Sc(n))},Dc=t((function(n,r){return k(n,r)})),Nc=u((function(n,r,t,e){return{cC:r,cI:n,cW:t,c5:e}})),Vc=tt,_c=function(n){return s(Vc,{ci:!1,cK:!1},n)},Kc=/.^/,Hc=et(1/0),qc=function(n){var r=s(fi,_c,Hu(Kc));return d(Hc,r("\\s\\s+"),(function(n){return s(we,"\n\n",n.cI)?"\n":" "}),n)},Uc=function(n){return function(n){return function(r){return s(ro,!1,s(go,r,n))}}({$:12,a:n})},Wc=t((function(n,r){return xo(_t(s(ct,r,n)))})),zc=t((function(n,r){return Co(s(ct,r,n))})),Yc=t((function(n,r){return lo(P([s(oo,vo(s(zc,n,r)),oc(Ac)),s(oo,vo(s(Wc,n,r)),oc(Cc))]))})),Rc=u((function(n,r,t,e){return!n(e)&&!r(e)&&!t(e)})),Gc=s(Mo,gc,Yo(s(oo,s(oo,vo(0),Xo(d(Rc,yc,Ac,Cc))),So))),Jc=fc("'"),Qc=s(Ko,s(oo,vo(s(Bc,"\\","\\\\")),ko("'")),s(oo,s(oo,cc(s(Uo,$o,Jc)),ko("'")),lc)),Zc=s(Ko,vo(ge),s(oo,s(oo,s(oo,lo(P([Qc,vc,Gc])),Xo(dc)),lo(P([oc(yc),Uc('I was parsing an inline record, when I ran into an invalid property. It is missing the ":"!')]))),lo(P([oc(xc),oc(dc),Uc('I was parsing an inline record, but missing a space or a new line between the ":" and the value!')])))),Xc=s(Mo,mc,Yo(s(oo,vo(0),Xo(s(Mc,Ac,Cc))))),nf=s(Ko,s(oo,vo((function(n){return{$:8,a:n}})),ko("*")),tc),rf=function(n){return wo(Fo(n))},tf=function(n){return s(uo,(function(r){return s(Ko,vo(Ji),s(Lo,P([r]),of(n)))}),ef(n))},ef=function(n){return s(Ko,s(oo,vo(ge),Fc),uf(n))},uf=function(n){var r=function(r){return lo(P([$f(),yf(),tf(r),s(vf,n,r)]))};return s(wc,n,{aO:vo(Ho),aP:vo(Ho),aU:function(n){return lo(P([ec(r),nf,r(n)]))},a4:vo(Ho)})},af=function(n){return s(uo,Ic(n),s(Ko,s(oo,vo(ge),So),s(oo,mf(),So)))},of=t((function(n,r){var t=xo(_t(r));return s(wc,n,{aO:vo(t),aP:lo(P([s(Ko,vo((function(n){return Co(s(ct,n,r))})),ef(n)),vo(t)])),aU:function(n){return Uc("I was looking for the next element but didn't find one.")},a4:vo(t)})})),cf=function(n){return s(uo,(function(r){return lo(P([s(bf,n,r),vo(qo(qc(r)))]))}),s(Ko,vo(ge),s(oo,lo(P([Qc,vc])),lc)))},ff=t((function(n,r){return s(uo,(function(t){return s(Ko,vo(s(Uo,Qi,Nu)),s(Lo,P([k(r,t)]),hf(n)))}),df(n))})),sf=function(n){var r=lo(P([Qc,vc,Yo(Xo(s(Mc,yc,xc)))]));return s(Ko,s(Ko,vo(Dc),s(oo,s(oo,r,lc),oc(yc))),df(n))},df=function(n){var r=function(r){return lo(P([$f(),yf(),tf(r),s(vf,n,r)]))};return s(wc,n,{aO:vo(Ho),aP:lo(P([tf(n),vo(Ho)])),aU:function(n){return lo(P([ec(r),nf,r(n)]))},a4:vo(Ho)})},lf=function(n){return s(uo,Yc(n),s(Ko,s(oo,vo(ge),So),s(oo,pf(),So)))},vf=t((function(n,r){var e=t((function(n,r){return mc(qc(C(function(n){return s(Hu,"",$c(s(Et,"#",n)))}(n),r)))})),u=function(t){return lo(P([s(oo,vo(mc(t)),No),s(bf,r,t),s(Ko,vo(e(t)),n?jc(n):Ro)]))};return lo(P([cf(r),s(uo,u,Yo(s(oo,s(oo,vo(ge),oc(s(Mc,yc,xc))),Xo(s(Mc,yc,xc))))),s(uo,u,Yo(s(oo,vo(ge),Xo(yc))))]))})),bf=t((function(n,r){return s(uo,ge,s(oo,vo(s(ff,n,r)),lo(P([rf(": "),rf(":\n"),s(oo,uc(rf(":")),No)]))))})),hf=t((function(n,r){var t=xo(_t(r));return s(wc,n,{aO:vo(t),aP:s(Ko,vo((function(n){return Co(s(ct,n,r))})),sf(n)),aU:function(n){return Uc("I was looking for the next property but didn't find one.")},a4:vo(t)})}));function pf(){return s(Ko,s(Ko,vo(Dc),s(oo,Zc,So)),gf())}function gf(){var n=lo(P([$f(),yf(),Xc]));return lo(P([ec(Ki(n)),nf,n]))}function mf(){var n=lo(P([$f(),yf(),cf(0),Lc]));return lo(P([ec(Ki(n)),nf,n]))}function $f(){return s(Ko,s(oo,s(oo,vo(Ji),oc(Tc)),So),wf())}function wf(){return lo(P([s(oo,vo(E),oc(kc)),s(Ko,vo(ge),s(Lo,E,af))]))}function yf(){return s(Ko,s(oo,s(oo,vo(s(Uo,Qi,Nu)),oc(Ec)),So),kf())}function kf(){return lo(P([s(oo,vo(E),oc(Cc)),s(Ko,vo(ge),s(Lo,E,lf))]))}var Tf=pf();pf=function(){return Tf};var xf=gf();gf=function(){return xf};var Cf=mf();mf=function(){return Cf};var Ef=$f();$f=function(){return Ef};var Ff=wf();wf=function(){return Ff};var Af=yf();yf=function(){return Af};var Pf=kf();kf=function(){return Pf};var Of,If,Mf,Bf,Lf,Sf,jf,Df,Nf,Vf=lo(P([Go,Af,Ef,s(uo,tf,jo),s(uo,vf(0),jo)])),_f=s(Ko,s(oo,s(oo,vo(ge),Do),So),s(oo,Vf,_o)),Kf=e((function(n,r,t){return{B:r,c0:t,c3:n}})),Hf=function(n){return d(Kf,n.c3,n.B,n.c0)},qf=t((function(n,r){n:for(;;)switch(n.$){case 0:return r;case 1:var t=n.a,e=n.b;n=t,r=s(ct,e,r);continue n;default:t=n.a;var u=n.b;n=t,r=s(qf,u,r);continue n}})),Uf=t((function(n,r){var t=n({B:1,b:E,I:1,a:0,c3:1,t:r});if(t.$){var e=t.b;return bt(s(qf,e,E))}var u=t.b;return mt(u)})),Wf=t((function(n,r){var t=s(Uf,n,r);if(t.$){var e=t.a;return bt(s(De,Hf,e))}var u=t.a;return mt(u)})),zf=s(fi,Wf(_f),s(fi,no((function(n){return s(Ct,"\n",s(De,Yi,n))})),Xi((function(n){var r=d(Ri,t((function(n,r){if(7===n.$){var t=n.a,e=n.b;return d(mu,t,e,r)}return r})),n,vu);return s(Zi,(function(n){switch(n.$){case 8:var t=n.a;return s(Hu,n,s(yu,t,r));case 7:return n.b;default:return n}}),n)})))),Yf=t((function(n,r){return n(r)})),Rf=t((function(n,r){var t=zf(r);if(t.$){var e=t.a;return bt({$:0,a:e})}var u=t.a;return s(Yf,n,u)})),Gf=t((function(n,r){for(;;){if(n<=0)return r;if(!r.b)return r;r.a,n-=1,r=r.b}})),Jf=function(n){return s(Hu,!1,s(Vu,Ce,s(Vu,gc,$c(n))))},Qf=s(Uo,$o,Jf),Zf=e((function(n,r,t){for(;;){if(n<=0)return t;if(!r.b)return t;var e=r.a;n-=1,r=r.b,t=s(ct,e,t)}})),Xf=t((function(n,r){return _t(d(Zf,n,r,E))})),ns=e((function(n,r,t){if(r<=0)return E;var e=k(r,t);n:for(;;){r:for(;;){if(!e.b.b)return t;if(!e.b.b.b){if(1===e.a)break n;break r}switch(e.a){case 1:break n;case 2:var u=e.b;return P([i=u.a,l=u.b.a]);case 3:if(e.b.b.b.b){var a=e.b,i=a.a,o=a.b;return P([i,l=o.a,b=o.b.a])}break r;default:if(e.b.b.b.b&&e.b.b.b.b.b){var c=e.b,f=(i=c.a,c.b),l=f.a,v=f.b,b=v.a,h=v.b,p=h.a,g=h.b;return s(ct,i,s(ct,l,s(ct,b,s(ct,p,n>1e3?s(Xf,r-4,g):d(ns,n+1,r-4,g)))))}break r}}return t}return P([i=e.b.a])})),rs=t((function(n,r){return d(ns,0,n,r)})),ts=function(n){var r=s(Et,"---",n);if(Qf(r))return T(yt,0,wt(n));if(function(n){return Jf(n)&&Pt(n)>2}(r)){var t=Pt(P(s(Ct,"",s(rs,2,r)).split(/\r\n|\r|\n/g)));return T(s(Uo,$c,Gf(1))(r),t,wt(s(Uo,s(Uo,Te(1),Ct("")),Gf(2))(r)))}return T(yt,0,yt)},es=function(n){return{$:1,a:n}},us=e((function(n,r,t){n:for(;;){if(n.b){var e=n.a,u=n.b;if(4===t.$){var a=t.a,i=s(yu,e,a);if(i.$)return bt(es("Expected property: "+e));n=u,r=r,t=i.a;continue n}return bt(es("Expected record"))}return s(Yf,r,t)}})),as=t((function(n,r){return function(t){return d(us,P([n]),r,t)}})),is=nn,os=function(n){switch(n.$){case 0:return'"'+n.a+'"';case 1:var r=n.a;return is(r)+" (float)";case 2:var t=n.a;return xt(t)+" (int)";case 3:var e=n.a;return"[ "+s(Ct,", ",s(De,os,e))+" ]";case 4:var u=n.a;return"{ "+s(Ct,", ",s(De,cs,st(u)))+" }";case 5:return n.a?"True (bool)":"False (bool)";case 6:return"Null";case 7:var a=n.a,i=n.b;return"&"+a+" "+os(i);default:return"*"+n.a}},cs=function(n){var r=n.a,t=n.b;return r+": "+os(t)},fs=t((function(n,r){return bt(es("Expected "+n+", got: "+os(r)))})),ss=(Of=t((function(n,r){if(1===r.$)return r;var t=r.a;if(n.$){var e=n.a;return bt(e)}var u=n.a;return mt(s(ct,u,t))})),s(fi,s(At,Of,mt(E)),Xi(_t))),ds=s(as,"tags",(If=function(n){switch(n.$){case 0:var r=n.a;return mt(r);case 6:return mt("");default:return s(fs,"string",n)}},function(n){switch(n.$){case 3:var r=n.a;return ss(s(De,Yf(If),r));case 6:return mt(E);default:return s(fs,"list",n)}})),ls=s(na,ca((function(n){var r=ts(n);if(r.a.$)return r.c.$?(r.a,r.c,Sa(T(Ui,0,""))):(r.a,Sa(T(Ui,0,n)));if(r.c.$)return r.c,Sa(T(Ui,0,""));var t=r.a.a,e=r.b,u=r.c.a,a=s(Rf,ds,t);if(a.$)return Sa(T(Ui,e,u));var i=a.a;return Sa(T(zi(i),e,u))})),aa),vs=s(Gu,s(ta,"fileContents",ls),s(Gu,s(ta,"fileDate",(Df=(Sf=aa).a,Nf=Sf.b,s(ou,ya(P([(jf=yt,{$:5,c:jf}),s(ve,wt,Df)])),Xu(P([Nf,Ta(null)]))))),s(Gu,s(ta,"filePath",aa),Sa(qi)))),bs=s(Gu,s(ta,"newPath",aa),s(Gu,s(ta,"oldPath",aa),Sa(Dc))),hs={cx:ni,cy:_i,db:ka(P([d(Aa,"activeStateUpdated",(function(n){return{$:0,a:n}}),ma),d(Aa,"fileAdded",(function(n){return{$:1,a:n}}),vs),d(Aa,"fileDeleted",(function(n){return{$:2,a:n}}),aa),d(Aa,"fileRenamed",(function(n){return{$:3,a:n}}),bs),d(Aa,"fileUpdated",(function(n){return{$:4,a:n}}),vs),d(Aa,"filterCandidates",(function(n){return{$:5,a:n}}),La(Pa)),d(Aa,"allMarkdownLoaded",Ki({$:6}),Sa(0)),d(Aa,"settingsUpdated",(function(n){return{$:7,a:n}}),Xa),d(Aa,"showBoard",(function(n){return{$:8,a:n}}),Ma)]))},ps={$:0},gs=t((function(n,r){return{$:0,a:n,b:r}})),ms=gs,$s={$:0},ws=ge,ys={aK:$s,aQ:Ja,cF:!1,e:ps,a9:{cV:ws(0),dh:s(ms,0,E)}},ks=t((function(n,r){return(0,n.a)(r)})),Ts=e((function(n,r,t){return d(ne,ui(P([d(ii,"tag",ge,wi(Fa(n))),d(ii,"data",ge,r)])),ks,t)})),xs=(Bf=ge,Qn(Mf="interopFromElm"),Nn[Mf]={e:Zn,u:Bf,a:function(n){var r=[],t=Nn[n].u,u=jn(0);return Nn[n].b=u,Nn[n].c=e((function(n,e,a){for(;e.b;e=e.b)for(var i=r,o=t(e.a),c=0;c=0&&r.splice(t,1)}}}},qn(Mf)),Cs=xs(d(Ts,"elmInitialized",ui(E),0)),Es=function(n){if(n.$){var r=n.b;return wt(r)}return yt},Fs=function(n){return n.$,n.a.O},As=t((function(n,r){return s(Qu,(function(r){return!p(r.a,n)}),r)})),Ps=e((function(n,r,t){var e=s(As,n,t);return s(ct,k(n,r),e)})),Os=function(n){return n.$,n.a},Is=function(n){return r=s(Hu,E,s(Vu,(function(n){return s(De,(function(n){return k(Os(n),n)}),n)}),s(Vu,Fs,Es(n)))),d(At,t((function(n,r){var t=n.a,e=n.b;return d(Ps,t,e,r)})),E,r);var r},Ms=t((function(n,r){return{$:0,a:n,b:r}})),Bs=t((function(n,r){return s(Ms,n,{C:E,H:"",y:!1,T:0,L:"",p:r,G:!1})})),Ls=function(n){return{$:0,a:n}},Ss={$:2},js={cl:E,bg:10,O:E,bw:!1,by:!1,ad:""},Ds=ba(js),Ns=function(n){if(n.$){var r=n.a,t=n.c;return Pt(r)+1+Pt(t)}return 0},Vs=function(n){return Ns(n)?Ss:Ls(Ds)},_s=t((function(n,r){return{$:14,a:n,b:r}})),Ks=P(["Files","Paths","Tags"]),Hs=t((function(n,r){for(;;){if(!r.b)return yt;var t=r.a,e=r.b;if(n(t))return wt(t);n=n,r=e}})),qs=function(n){switch(n.$){case 0:return"Files";case 1:return"Paths";default:return"Tags"}},Us=t((function(n,r){return d(je,t((function(r,t){if(t.b){var e=t.a,u=e.a,a=e.b,i=t.b;return s(n,r,u)?s(ct,k(r,s(ct,u,a)),i):s(ct,k(r,E),t)}return P([k(r,E)])})),E,r)})),Ws=t((function(n,r){return n<1?r:d(ke,0,-n,r)})),zs={bj:300,bn:_s,bs:function(n){return r=s(De,(function(n){var r=n.a,t=n.b;return k(qs(r.b4),s(ct,r,t))}),s(Us,t((function(n,r){return p(qs(n.b4),qs(r.b4))})),s(Ku,(function(n){return qs(n.b4)}),n))),e=t((function(n,r){return p(n,r.a)})),s(De,(function(n){return s(Hu,k(n,E),s(Hs,e(n),r))}),Ks);var r,e},bH:"Nothing Found",bX:function(n){return s(Ws,1,pc(qs(n)))},aI:function(n){return{$:11,a:n}}},Ys=function(n){var r=eu(n);return{aK:r,o:s(Bs,zs,Is(r)),aD:ps,W:n,n:Vs(eu(n))}},Rs=e((function(n,r,t){return{$:1,a:n,b:r,c:t}})),Gs=function(n){if(n.b){var r=n.a,t=n.b;return d(Rs,E,r,t)}return $s},Js=function(n){return n.aQ},Qs=xn((function(n){n(Tn(s(ms,-(new Date).getTimezoneOffset(),E)))})),Zs=(Lf=ws,xn((function(n){n(Tn(Lf(Date.now())))}))),Xs=function(n){if(n.$){var r=n.a,t=n.b,e=n.c;return C(_t(r),C(P([t]),e))}return E},nd=function(n){return xs(d(Ts,"updateSettings",Si,{aK:Xs(n),aQ:Ja,b5:la}))},rd={$:1},td={$:2},ed=function(n){return{$:7,a:n}},ud=function(n){return{$:10,a:n}},ad=Un,id=t((function(n,r){return{$:0,a:n,b:r}})),od=t((function(n,r){return{bN:r,b2:n}})),cd=Be(s(od,vu,vu)),fd=t((function(n,r){var t=n.a,e=n.b,u=s(yu,t,r);if(1===u.$)return d(mu,t,P([e]),r);var a=u.a;return d(mu,t,s(ct,e,a),r)})),sd=function(n){return xn((function(r){var t=n.f;2===t.$&&t.c&&t.c(),n.f=null,r(Tn(0))}))},dd=e((function(n,r,t){for(;;){if(-2===t.$)return r;var e=t.b,u=t.c,a=t.d,i=t.e,o=n,c=d(n,e,u,d(dd,n,r,a));n=o,r=c,t=i}})),ld=i((function(n,r,u,a,i,o){var c=e((function(t,e,a){n:for(;;){var i=a.a,o=a.b;if(i.b){var c=i.a,f=c.a,s=c.b,v=i.b;if(w(f,t)<0){t=t,e=e,a=k(v,d(n,f,s,o));continue n}return w(f,t)>0?k(i,d(u,t,e,o)):k(v,l(r,f,s,e,o))}return k(i,d(u,t,e,o))}})),f=d(dd,c,k(st(a),o),i),s=f.a,v=f.b;return d(At,t((function(r,t){var e=r.a,u=r.b;return d(n,e,u,t)})),v,s)})),vd=Hn,bd=ut,hd=Pn,pd=e((function(n,r,t){if(r.b){var e=r.a,u=r.b,a=hd(s(bd,e,s(vd,n,e)));return s(Ne,(function(r){return d(pd,n,u,d(mu,e,r,t))}),a)}return Be(t)})),gd=e((function(n,r,t){var a=t.bN,i=e((function(n,r,t){var e=t.a,u=t.b,a=t.c;return T(e,u,s(Ne,(function(n){return a}),sd(r)))})),o=d(At,fd,vu,r),c=e((function(n,r,t){var e=t.a,u=t.b,a=t.c;return T(s(ct,n,e),u,a)})),f=u((function(n,r,t,e){var u=e.a,a=e.b,i=e.c;return T(u,d(mu,n,t,a),i)})),l=b(ld,c,f,i,o,a,T(E,vu,Be(0))),v=l.a,h=l.b,p=l.c;return s(Ne,(function(n){return Be(s(od,o,n))}),s(Ne,(function(r){return d(pd,n,v,h)}),p))})),md=e((function(n,r,t){var e=s(yu,r,t.b2);if(1===e.$)return Be(t);var u=e.a;return s(Ne,(function(n){return Be(t)}),s(Ne,(function(r){return Ke(s(De,(function(t){return s(He,n,t(r))}),u))}),Zs))})),$d=t((function(n,r){var t=r.a,e=r.b;return s(id,t,s(Uo,n,e))}));Nn.Time=Vn(cd,gd,md,0,$d);var wd=qn("Time"),yd=t((function(n,r){return wd(s(id,n,r))})),kd={$:0},Td=s(ve,(function(n){var r=Kt(n);return r.$||""!==r.a.b?{$:1,a:n}:(r.a,kd)}),s(ra,"key",ua)),xd=Wn,Cd=e((function(n,r,t){return{$:0,a:n,b:r,c:t}})),Ed=t((function(n,r){return{bK:r,b1:n}})),Fd=Be(s(Ed,E,vu)),Ad=function(n){var r=n.a,t=n.b;return k(C(function(n){return n?"w_":"d_"}(r),t),n)},Pd=t((function(n,r){return{bl:r,bC:n}})),Od=e((function(n,r,t){var e=t.a,u=t.b;return s(Ve,(function(n){return k(r,n)}),d(Gr,e?Rr:Yr,u,(function(t){return s(vd,n,s(Pd,r,t))})))})),Id=t((function(n,r){return d(dd,mu,r,n)})),Md=e((function(n,r,t){var a=e((function(r,t,e){var u=e.a,a=e.b,i=e.c;return T(u,a,s(ct,d(Od,n,r,t),i))})),i=e((function(n,r,t){var e=t.a,u=t.b,a=t.c;return T(s(ct,r,e),u,a)})),o=u((function(n,r,t,e){var u=e.a,a=e.b,i=e.c;return T(u,d(mu,n,r,a),i)})),c=s(De,Ad,r),f=b(ld,i,o,a,t.bK,Nu(c),T(E,vu,E)),l=f.a,v=f.b,h=f.c;return s(Ne,(function(n){return Be(s(Ed,c,s(Id,v,Nu(n))))}),s(Ne,(function(n){return Ke(h)}),Ke(s(De,sd,l))))})),Bd=e((function(n,r,t){var e=r.bC,u=r.bl,a=s(Du,(function(n){var r=n.a,t=n.b,a=(t.a,t.b,t.c);return p(r,e)?s(Jr,a,u):yt}),t.b1);return s(Ne,(function(n){return Be(t)}),Ke(s(De,He(n),a)))})),Ld=t((function(n,r){var t=r.a,e=r.b,u=r.c;return d(Cd,t,e,s(ve,n,u))}));Nn["Browser.Events"]=Vn(Fd,Md,Bd,0,Ld);var Sd,jd,Dd=qn("Browser.Events"),Nd=e((function(n,r,t){return Dd(d(Cd,n,r,t))})),Vd=s(Nd,0,"keydown"),_d=function(n,r){return Qn(n),Nn[n]={f:nr,u:r,a:rr},qn(n)}("interopToElm",Ca),Kd=_d(uu(au(hs.db))),Hd={$:2},qd=function(n){return{$:5,a:n}},Ud=function(n){return{$:6,a:n}},Wd={$:13},zd=U,Yd=t((function(n,r){var t=n^r;return t+(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24)})),Rd=t((function(n,r){var t=Lt(n);return t<128?s(Yd,t,r):s(Yd,128|63&t,t<2048?s(Yd,192|t>>>6,r):s(Yd,128|63&t>>>6,t<65536?s(Yd,224|t>>>12,r):s(Yd,128|63&t>>>12,s(Yd,240|t>>>18,r))))})),Gd=t((function(n,r){return d(zd,Rd,r,n)>>>0})),Jd=function(n){var r,t=n.a;return xt((r=t.ah,s(Gd,r,2166136261)))+":"+xt(t.aV)},Qd=function(n){var r=n.b;return Jd(r)},Zd=function(n){return n.a+":"+Qd(n)},Xd=function(n){return Zd(n)+":editButton"},nl=function(n){return n.a},rl=s(fi,nl,(function(n){return n.ah})),tl=function(n){var r=n.b;return rl(r)},el=function(n){return xs(d(Ts,"addFilePreviewHovers",ci,s(De,(function(n){return{ah:tl(n),aS:Xd(n)}}),n)))},ul=function(n){return{$:2,a:n}},al=function(n){return{$:1,a:n}},il=t((function(n,r){return C(n,r)})),ol=t((function(n,r){return n(r)})),cl=t((function(n,r){var t=r.e;switch(t.$){case 0:return s(ol,(function(r){return x(r,{e:al(n)})}),r);case 1:var e=t.a;return s(ol,(function(r){return x(r,{e:al(s(il,e,n))})}),r);default:return e=t.a,s(ol,(function(r){return x(r,{e:ul(s(il,e,n))})}),r)}})),fl=e((function(n,r,t){for(;;){if(r<=0)return n;n=s(ct,t,n),r-=1,t=t}})),sl=t((function(n,r){return d(fl,E,n,r)})),dl=t((function(n,r){if(r.$){var e=t((function(n,r){return function(n){if(n.$){var r=n.a,t=n.b,e=n.c;if(e.b){var u=e.a,a=e.b;return d(Rs,s(ct,t,r),u,a)}return n}return n}(r)}));return d(At,e,function(n){if(n.$){var r=n.a,t=n.b,e=n.c,u=_t(r);if(u.b){var a=u.a,i=u.b;return d(Rs,E,a,C(i,C(P([t]),e)))}return n}return n}(r),s(sl,n,0))}return r})),ll=t((function(n,r){return{$:0,a:n,b:r}})),vl=t((function(n,r){return s(ll,n,r)})),bl=e((function(n,r,t){return s(vl,t,n)})),hl=e((function(n,r,e){if(e.$){var u=e.a,a=e.b,i=e.c,o=_t(s(Bt,r,_t(u))),c=Pt(u),f=s(Bt,t((function(n,t){return s(r,c+1+n,t)})),i),l=s(n,c,a);return d(Rs,o,l,f)}return $s})),pl=function(n){var r=n.a,t=n.b;return d(hl,bl(t),bl(t),r)},gl=t((function(n,r){return r.b?d(je,ct,r,n):n})),ml=s(fi,nl,(function(n){return n.u})),$l=function(n){var r=ml(n);return 2===r.$?r.a:0},wl=function(n){return!!n.a.u.$},yl=function(n){return P([n])},kl=s(fi,nl,(function(n){return n.ad})),Tl=e((function(n,r,t){return r.bg>0?s(gl,t,yl(s(Dc,"Completed",s(rs,r.bg,_t(s(Ku,$l,_t(s(Ku,s(Uo,pc,kl),s(Qu,wl,n))))))))):t})),xl=D,Cl=function(n){return!s(xl,4,n)&&!!s(xl,100,n)||!s(xl,400,n)},El=t((function(n,r){var t=Cl(n)?1:0;switch(r){case 0:return 0;case 1:return 31;case 2:return 59+t;case 3:return 90+t;case 4:return 120+t;case 5:return 151+t;case 6:return 181+t;case 7:return 212+t;case 8:return 243+t;case 9:return 273+t;case 10:return 304+t;default:return 334+t}})),Fl=t((function(n,r){return te(n/r)})),Al=function(n){var r=n-1;return 365*r+(s(Fl,r,4)-s(Fl,r,100)+s(Fl,r,400))},Pl=t((function(n,r){switch(r){default:return 31;case 1:return Cl(n)?29:28;case 3:case 5:case 8:case 10:return 30}})),Ol=t((function(n,r){return w(n,r)<0?n:r})),Il=function(n){switch(n){case 0:return 1;case 1:return 2;case 2:return 3;case 3:return 4;case 4:return 5;case 5:return 6;case 6:return 7;case 7:return 8;case 8:return 9;case 9:return 10;case 10:return 11;default:return 12}},Ml=function(n){switch(s(ue,1,n)){case 1:return 0;case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;case 6:return 5;case 7:return 6;case 8:return 7;case 9:return 8;case 10:return 9;case 11:return 10;default:return 11}},Bl=e((function(n,r,t){for(;;){var e=s(Pl,n,r),u=Il(r);if(!(u<12&&w(t,e)>0))return{bh:t,bF:r,cc:n};n=n,r=Ml(u+1),t-=e}})),Ll=t((function(n,r){return k(s(Fl,n,r),s(xl,r,n))})),Sl=function(n){var r=s(Ll,n,146097),t=r.a,e=r.b,u=s(Ll,e,36524),a=u.a,i=u.b,o=s(Ll,i,1461),c=o.a,f=o.b,d=s(Ll,f,365);return 400*t+100*a+4*c+d.a+(d.b?1:0)},jl=function(n){var r=n,t=Sl(r);return{a0:r-Al(t),cc:t}},Dl=function(n){var r=jl(n);return d(Bl,r.cc,0,r.a0)},Nl=e((function(n,r,t){var e=t;switch(n){case 0:return d(Nl,1,12*r,e);case 1:var u=Dl(e),a=12*(u.cc-1)+(Il(u.bF)-1)+r,i=Ml(s(xl,12,a)+1),o=s(Fl,a,12)+1;return Al(o)+s(El,o,i)+s(Ol,u.bh,s(Pl,o,i));case 2:return e+7*r;default:return e+r}})),Vl=function(n){var r=Dl(n);return 12*(r.cc-1)+(Il(r.bF)-1)+r.bh/100},_l=e((function(n,r,t){var e=r,u=t;switch(n){case 0:return(Vl(u)-Vl(e)|0)/12|0;case 1:return Vl(u)-Vl(e)|0;case 2:return(u-e)/7|0;default:return u-e}})),Kl=function(n){var r=n.a;return r.Z.$?r.ax:r.Z},Hl=function(n){var r=Kl(n);return r.$?0:r.a},ql=t((function(n,r){var t=d(Nl,3,1,n);return s(Ku,Hl,s(Ku,s(Uo,pc,kl),s(Qu,(function(n){return!wl(n)&&function(n){var r=Kl(n);if(1===r.$)return!1;var e=r.a;return d(_l,3,t,e)>0}(n)}),r)))})),Ul=function(n){return 1!==Kl(n).$},Wl=e((function(n,r,t){var e=s(Ku,s(Uo,pc,kl),s(Qu,(function(n){return!wl(n)&&!Ul(n)}),n));return r.bx?s(ct,k("Undated",e),t):t})),zl=e((function(n,r,t){return w(t,n)<0?n:w(t,r)>0?r:t})),Yl=e((function(n,r,t){return Al(n)+s(El,n,r)+d(zl,1,s(Pl,n,r),t)})),Rl=t((function(n,r){return te(n/r)})),Gl=e((function(n,r,t){for(;;){if(!t.b)return r+n;var e=t.a,u=t.b;if(w(e.a5,r)<0)return r+e.a;n=n,r=r,t=u}})),Jl=t((function(n,r){var t=n.a,e=n.b;return d(Gl,t,s(Rl,r,6e4),e)})),Ql=function(n){var r=s(Rl,n,1440)+719468,t=(r>=0?r:r-146096)/146097|0,e=r-146097*t,u=(e-(e/1460|0)+(e/36524|0)-(e/146096|0))/365|0,a=e-(365*u+(u/4|0)-(u/100|0)),i=(5*a+2)/153|0,o=i+(i<10?3:-9);return{bh:a-((153*i+2)/5|0)+1,bF:o,cc:u+400*t+(o<=2?1:0)}},Zl=t((function(n,r){return Ql(s(Jl,n,r)).bh})),Xl=t((function(n,r){switch(Ql(s(Jl,n,r)).bF){case 1:return 0;case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;case 6:return 5;case 7:return 6;case 8:return 7;case 9:return 8;case 10:return 9;case 11:return 10;default:return 11}})),nv=t((function(n,r){return Ql(s(Jl,n,r)).cc})),rv=t((function(n,r){return d(Yl,s(nv,n,r),s(Xl,n,r),s(Zl,n,r))})),tv=function(n){return s(rv,n.dh,n.cV)},ev=t((function(n,r){return s(Ku,Hl,s(Ku,s(Uo,pc,kl),s(Qu,(function(r){return!wl(r)&&function(r){var t=Kl(r);if(1===t.$)return!1;var e=t.a;return d(_l,3,n,e)<=0}(r)}),r)))})),uv=t((function(n,r){var t=d(Nl,3,1,n);return s(Ku,s(Uo,pc,kl),s(Qu,(function(n){return function(n){var r=Kl(n);if(1===r.$)return!1;var e=r.a;return!d(_l,3,t,e)}(n)&&!wl(n)}),r))})),av=e((function(n,r,t){var e=tv(n);return d(Tl,t,r,d(Wl,t,r,P([k("Today",s(ev,e,t)),k("Tomorrow",s(uv,e,t)),k("Future",s(ql,e,t))])))})),iv=t((function(n,r){return s(Qu,n,r)})),ov=Z,cv=t((function(n,r){return d(dd,e((function(r,t,e){return s(n,r,t)?d(mu,r,t,e):e})),vu,r)})),fv=t((function(n,r){var e=r;return s(cv,t((function(r,t){return n(r)})),e)})),sv=t((function(n,r){for(;;){if(-2===r.$)return n;var t=r.d,e=r.e;n=s(sv,n+1,e),r=t}})),dv=function(n){return s(sv,0,n)},lv=t((function(n,r){return{$:0,a:n,b:r}})),vv=function(n){var r=n.b;return s(De,(function(n){return s(lv,n,E)}),r)},bv=t((function(n,r){return s(Id,n,r)})),hv=function(n){var r=n.a;return s(bv,r.cz,d(At,bv,r.ac,s(De,hv,vv(n))))},pv=t((function(n,r){return dv(s(fv,(function(r){return s(ov,"/",n)?s(Ie,pc(n),pc(r))||p(pc(r),s(Ws,1,pc(n))):p(pc(r),pc(n))}),hv(r)))>0})),gv=t((function(n,r){return s(nc,(function(n){return s(pv,n,r)}),n)})),mv=t((function(n,r){return!s(yu,n,r).$})),$v=t((function(n,r){return s(mv,n,r)})),wv=u((function(n,r,t,e){for(;;){if(!t.b)return _t(e);var u=t.a,a=t.b,i=n(u);s($v,i,r)?(n=n,r=r,t=a,e=e):(n=n,r=s(Wi,i,r),t=a,e=s(ct,u,e))}})),yv=t((function(n,r){return l(wv,n,Ui,r,E)})),kv=e((function(n,r,t){var e=s(De,(function(n){return n.c8}),s(yv,(function(n){return n.c8}),n.cl)),u=_t(s(Ku,$l,_t(s(Ku,s(Uo,pc,kl),s(iv,(function(n){return wl(n)&&s(gv,e,n)}),r)))));return n.bg>0?s(gl,t,P([k("Completed",u)])):t})),Tv=e((function(n,r,e){var u=t((function(n,r){return!wl(r)&&s(pv,n,r)}));return s(gl,e,yl(s(Dc,r.co,s(Ku,Hl,s(Ku,s(Uo,pc,kl),s(iv,u(r.c8),n))))))})),xv=function(n){return!(-2===hv(n).$)},Cv=e((function(n,r,t){var e=s(De,(function(n){return n.c8}),s(yv,(function(n){return n.c8}),n.cl)),u=s(Ku,Hl,s(Ku,s(Uo,pc,kl),s(iv,(function(n){return!wl(n)&&xv(n)&&!s(gv,e,n)}),r)));return n.bw?s(ct,k("Others",u),t):t})),Ev=e((function(n,r,t){var e=s(Ku,Hl,s(Ku,s(Uo,pc,kl),s(iv,(function(n){return!wl(n)&&!xv(n)}),r)));return n.by?s(ct,k("Untagged",e),t):t})),Fv=t((function(n,r){return d(kv,n,r,d(Ev,n,r,d(Cv,n,r,d(At,Tv(r),E,s(yv,(function(n){return n.c8}),n.cl)))))})),Av=t((function(n,r){return!s(nc,s(Uo,$o,n),r)})),Pv=t((function(n,r){return n<0?yt:$c(s(Gf,n,r))})),Ov=t((function(n,r){var e=s(Qu,s(Uo,$o,Ce),s(Et,"/",d(Bc,"\\","/",r))),u=s(Qu,s(Uo,$o,Ce),_t(s(Gf,1,_t(s(Et,"/",d(Bc,"\\","/",n)))))),a=t((function(n,r){var t=s(Pv,n,u);return 1!==t.$&&p(t.a,r)}));return s(Av,ge,s(Bt,a,e))})),Iv=function(n){return s(fi,nl,s(fi,(function(n){return n.ah}),re(n)))},Mv=t((function(n,r){switch(r.$){case 0:var t=r.a;return s(Iv,t,n);case 1:var e=r.a;return s(Ov,rl(n),e);default:var u=r.a;return s(pv,u,n)}})),Bv=t((function(n,r){return Bi(r)?n:s(iv,(function(n){return s(nc,Mv(n),r)}),n)})),Lv=t((function(n,r){return s(Bv,r,s(Qu,(function(n){return"Files"===qs(n)||"Paths"===qs(n)}),n))})),Sv=t((function(n,r){return s(Bv,r,s(Qu,(function(n){return"Tags"===qs(n)}),n))})),jv=t((function(n,r){var t=Fs(n);return s(Sv,t,s(Lv,t,r))})),Dv=t((function(n,r){return{$:0,a:n,b:r}})),Nv=Dv,Vv=t((function(n,r){var e=t((function(r,t){var e=t.a,u=t.b;return s(Dc,e,s(De,Nv(function(r){return xt(n)+":"+xt(r)}(r)),u))}));return s(Bt,e,r)})),_v=e((function(n,r,t){var e=t.a,u=t.b;if(e.$){var a=e.a;return s(Vv,r,s(Fv,a,s(jv,e,u)))}var i=e.a;return s(Vv,r,d(av,n,i,s(jv,e,u)))})),Kv=function(n){return d(je,gl,E,n)},Hv=function(n){return n.b},qv=t((function(n,r){return Kv(s(De,Hv,Kv(s(Bt,_v(n),Xs(pl(r))))))})),Uv=E,Wv=function(n){var r=n.e;return 0===r.$?Uv:r.a},zv=t((function(n,r){return{$:0,a:n,b:r}})),Yv=t((function(n,r){return s(zv,n,r)})),Rv=function(n){var r=n;return s(qv,r.a9,s(Yv,r.aK,Wv(n)))},Gv=t((function(n,r){return Kv(s(De,n,r))})),Jv=tu(E),Qv=t((function(n,r){return s(nc,(function(r){return p(Os(r),n)}),s(Qu,(function(n){return"Files"===qs(n)||"Paths"===qs(n)}),s(Gv,Fs,Xs(eu(r)))))?nd(eu(r)):Jv})),Zv=s(fi,nl,s(fi,(function(n){return n.aa}),s(fi,Ce,$o))),Xv=s(fi,nl,(function(n){return n.aa})),nb=function(n){return Zd(n)+":notes"},rb=function(n){var r=n.a,t=n.b;return s(De,(function(n){return k(r+":"+Jd(n),n)}),vv(t))},tb=function(n){return n.b},eb=function(n){return xs(d(Ts,"displayTaskMarkdown",hi,s(De,(function(n){return{ah:tl(n),c9:(r=n,t=s(De,(function(n){var r=n.a,t=n.b;return{aS:r,aW:kl(t)}}),rb(r)),e=tb(r),u=Zv(e)?P([{aS:nb(r),aW:Xv(e)}]):E,s(gl,u,s(gl,t,P([{aS:Zd(r),aW:kl(e)}]))))};var r,t,e,u}),n)))},ub=function(n){return n.a9},ab=t((function(n,r){return 0===r.$?n:r.a})),ib=t((function(n,r){var t=s(qv,ub(r),s(Yv,eu(r),s(iv,(function(r){return p(rl(r),n)}),s(ab,Uv,r.e))));return Bi(t)?Jv:tu(P([eb(t),el(t)]))})),ob=t((function(n,r){return s(Qu,(function(r){return!s(Iv,n,r)}),r)})),cb=t((function(n,r){return s(ob,n,r)})),fb=t((function(n,r){var t=r.e;switch(t.$){case 0:return r;case 1:var e=t.a;return s(ol,(function(r){return x(r,{e:al(s(cb,n,e))})}),r);default:return e=t.a,s(ol,(function(r){return x(r,{e:ul(s(cb,n,e))})}),r)}})),sb=function(n){var r=n.e;switch(r.$){case 0:return s(ol,(function(n){return x(n,{e:ul(Uv)})}),n);case 1:var t=r.a;return s(ol,(function(n){return x(n,{e:ul(t)})}),n);default:return n}},db=(jd=13,jd<0||11141110?n.aU:n.a4]))}),s(Ko,s(Ko,vo(t((function(n,r){return k(n,r)}))),s(oo,mb,kb)),jo))}({aO:vo(u),aP:lo(P([s(Ko,vo(e),n),vo(u)])),aU:lo(P([s(Ko,vo(e),n),vo(u)])),a4:vo(u)})})),xb=t((function(n,r){return{B:r.B,b:r.b,I:n,a:r.a,c3:r.c3,t:r.t}})),Cb=t((function(n,r){var t=r;return function(r){var e=t(s(xb,n,r));if(e.$){a=e.a;var u=e.b;return s(ro,a,u)}var a=e.a,i=e.b,o=e.c;return d(to,a,i,s(xb,r.I,o))}})),Eb=Cb,Fb=s(Ko,vo((function(n){return{$:1,a:n}})),gb),Ab=function(n){return function(n){var r=n.a,t=n.b,e=!Ce(r);return function(n){var u=v(mo,r,n.a,n.c3,n.B,n.t),a=u.a,i=u.b,o=u.c;return p(a,-1)||0<=d(Jo,(function(n){return Vt(n)||"_"===n}),a,n.t)?s(ro,!1,s(go,n,t)):d(to,e,0,{B:o,b:n.b,I:n.I,a,c3:i,t:n.t})}}(s(bo,n,{$:9,a:n}))},Pb=lo(P([s(oo,vo(!0),Ab("true")),s(oo,vo(!1),Ab("false"))])),Ob=t((function(n,r){return{$:0,a:n,b:r}})),Ib=function(n){return function(r){return d(to,!0,n,r)}},Mb=function(n){var r=n.a;return n.b?Uc("expecting whitespace after the parsed token"):Ib(r)},Bb=function(n){return!yb(n)},Lb=function(n){return s(uo,Mb,s(Ko,s(Ko,vo(Ob),uc(n)),lo(P([s(Mo,(function(n){return!0}),uc(oc(Bb))),vo(!1)]))))},Sb=e((function(n,r,t){return s(Ko,s(oo,vo(t),rf("@"+n+"(")),s(oo,r,rf(")")))})),jb=e((function(n,r,t){return Lb(d(Sb,n,r,t))})),Db=s(jb,"autocomplete",Pb),Nb=_,Vb=s(uo,(function(n){if(ye(n)<=9){var r=hc("0."+n);if(r.$)return Uc('Invalid float: "'+n+'"');var t=r.a;return vo(Nb(1e3*t))}return Uc("Expected at most 9 digits, but got "+xt(ye(n)))}),Yo(Xo(Nt))),_b=i((function(n,r,t,e,u,a){return ws(n+60*r*60*1e3+60*(t-a)*1e3+1e3*e+u)})),Kb=q,Hb=function(n){return s(Lo,"",(function(r){if(p(ye(r),n)){var t=Fe(r);if(t.$)return Uc('Invalid integer: "'+r+'"');var e=t.a;return s(Mo,xo,vo(e))}return s(Mo,(function(n){return Co(s(Kb,r,n))}),Yo(oc(Nt)))}))},qb=function(n){return Uc("Invalid day: "+xt(n))},Ub=function(n){return!(s(xl,4,n)||!s(xl,100,n)&&s(xl,400,n))},Wb=function(n){var r=n-1;return(r/4|0)-(r/100|0)+(r/400|0)},zb=s(uo,(function(n){var r=n.a,t=n.b,e=n.c;if(e<0)return qb(e);var u=function(n){var u=31536e6*(r-1970),a=864e5*((t<3||!Ub(r)?e-1:e)+(Wb(r)-Wb(1970)));return vo(n+u+a)};switch(t){case 1:return e>31?qb(e):u(0);case 2:return e>29||29===e&&!Ub(r)?qb(e):u(26784e5);case 3:return e>31?qb(e):u(50976e5);case 4:return e>30?qb(e):u(7776e6);case 5:return e>31?qb(e):u(10368e6);case 6:return e>30?qb(e):u(130464e5);case 7:return e>31?qb(e):u(156384e5);case 8:return e>31?qb(e):u(183168e5);case 9:return e>30?qb(e):u(209952e5);case 10:return e>31?qb(e):u(235872e5);case 11:return e>30?qb(e):u(262656e5);case 12:return e>31?qb(e):u(288576e5);default:return Uc('Invalid month: "'+xt(t)+'"')}}),s(Ko,s(Ko,s(Ko,vo(e((function(n,r,t){return T(n,r,t)}))),Hb(4)),lo(P([s(Ko,s(oo,vo(ge),ko("-")),Hb(2)),Hb(2)]))),lo(P([s(Ko,s(oo,vo(ge),ko("-")),Hb(2)),Hb(2)])))),Yb=(Sd=e((function(n,r,t){return n*(60*r)+t})),s(Ko,vo(ge),lo(P([s(Mo,(function(n){return 0}),ko("Z")),s(Ko,s(Ko,s(Ko,vo(Sd),lo(P([s(Mo,(function(n){return 1}),ko("+")),s(Mo,(function(n){return-1}),ko("-"))]))),Hb(2)),lo(P([s(Ko,s(oo,vo(ge),ko(":")),Hb(2)),Hb(2),vo(0)]))),s(oo,vo(0),No)])))),Rb=s(uo,(function(n){return lo(P([s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(oo,vo(_b(n)),ko("T")),Hb(2)),lo(P([s(Ko,s(oo,vo(ge),ko(":")),Hb(2)),Hb(2)]))),lo(P([s(Ko,s(oo,vo(ge),ko(":")),Hb(2)),Hb(2),vo(0)]))),lo(P([s(Ko,s(oo,vo(ge),ko(".")),Vb),vo(0)]))),s(oo,Yb,No)),s(oo,vo(b(_b,n,0,0,0,0,0)),No)]))}),zb),Gb=t((function(n,r){return r.$?n:r.a})),Jb=s(uo,(function(n){return s(Gb,Uc("not a valid date"),s(Xi,vo,s(Wf,Rb,n)))}),Yo(Xo((function(n){return Nt(n)||"-"===n||"T"===n||":"===n})))),Qb=s(jb,"completed",Jb),Zb=t((function(n,r){return{$:0,a:n,b:r}})),Xb=function(n){return{$:2,a:n}},nh=t((function(n,r){return{$:1,a:n,b:r}})),rh=zo,th=s(rh,t((function(n,r){return s(Hu,0,Fe(n))})),oc(Nt)),eh=s(rh,t((function(n,r){return s(Hu,0,Fe(n))})),s(oo,s(oo,vo(0),oc(Nt)),oc(Nt))),uh=s(rh,t((function(n,r){return s(Hu,0,Fe(n))})),s(oo,s(oo,s(oo,vo(0),oc(Nt)),oc(Nt)),oc(Nt))),ah=lo(P([s(Ko,s(oo,vo(ge),rf("-")),lo(P([uc(s(uo,Ib,s(Mo,Xb,uh))),s(Ko,s(Ko,vo(Zb),eh),lo(P([s(Ko,s(oo,vo(ge),rf("-")),eh),vo(1)]))),s(Ko,s(Ko,s(oo,vo(nh),rf("W")),eh),lo(P([s(Ko,s(oo,vo(ge),rf("-")),th),vo(1)])))]))),uc(s(uo,Ib,s(Ko,s(Ko,vo(Zb),eh),lo(P([eh,vo(1)]))))),s(Mo,Xb,uh),s(Ko,s(Ko,s(oo,vo(nh),rf("W")),eh),lo(P([th,vo(1)]))),vo(Xb(1))])),ih=e((function(n,r,t){return w(n,t)<1&&w(t,r)<1})),oh=e((function(n,r,t){return d(ih,1,12,r)&&d(ih,1,s(Pl,n,Ml(r)),t)?mt(Al(n)+s(El,n,Ml(r))+t):bt("Invalid calendar date ("+xt(n)+", "+xt(r)+", "+xt(t)+")")})),ch=t((function(n,r){return d(ih,1,365,r)||366===r&&Cl(n)?mt(Al(n)+r):bt("Invalid ordinal date ("+xt(n)+", "+xt(r)+")")})),fh=function(n){return s(xl,7,n)||7},sh=function(n){var r=Al(n)+4;return r-fh(r)},dh=e((function(n,r,t){return d(ih,1,7,t)&&(d(ih,1,52,r)||53===r&&(4===(u=fh(function(n){return Al(n)+1}(e=n)))||3===u&&Cl(e)))?mt(sh(n)+7*(r-1)+t):bt("Invalid week date ("+xt(n)+", "+xt(r)+", "+xt(t)+")");var e,u})),lh=s(rh,t((function(n,r){return s(Hu,0,Fe(n))})),s(oo,s(oo,s(oo,s(oo,s(oo,vo(0),lo(P([oc((function(n){return"-"===n})),vo(0)]))),oc(Nt)),oc(Nt)),oc(Nt)),oc(Nt))),vh=function(n){if(n.$){var r=n.a;return Uc(r)}var t=n.a;return vo(t)},bh=s(uo,s(fi,(function(n){var r=n.a,t=n.b;switch(t.$){case 0:var e=t.a,u=t.b;return d(oh,r,e,u);case 1:var a=t.a,i=t.b;return d(dh,r,a,i);default:var o=t.a;return s(ch,r,o)}}),vh),s(Ko,s(Ko,vo(Dc),lh),ah)),hh=s(fi,Wf(s(Ko,vo(ge),s(oo,bh,s(uo,vh,lo(P([s(Mo,mt,No),s(Mo,Ki(bt("Expected a date only, not a date and time")),oc(re("T"))),vo(bt("Expected a date only"))])))))),no(s(fi,$c,s(fi,Vu((function(n){var r=n.c0;return 12===r.$?r.a:"Expected a date in ISO 8601 format"})),Hu(""))))),ph=s(uo,(function(n){return s(Gb,Uc("not a valid date"),s(Xi,vo,hh(n)))}),Yo(Xo((function(n){return Nt(n)||"-"===n})))),gh=s(jb,"due",ph),mh=s(oo,vo(0),Xo(s(Uo,$o,yb))),$h=Lb(s(uo,vb("wordParser"),Yo(mh))),wh=s(Ko,s(oo,vo((function(n){return{$:3,a:n}})),rf("#")),$h),yh=lo(P([uc(Qb((function(n){return{$:1,a:n}}))),uc(gh((function(n){return{$:2,a:n}}))),uc(Db((function(n){return{$:0,a:n}}))),uc(wh),s(Ko,vo((function(n){return{$:4,a:n}})),$h)])),kh=s(Lo,E,(function(n){return lo(P([s(Ko,vo((function(r){return Co(s(ct,r,n))})),s(oo,yh,Xo($b))),s(Mo,(function(r){return xo(_t(n))}),vo(0))]))})),Th=function(n){if(n.$)return yt;var r=n.a;return wt(r)},xh=function(n){return vo((r=s(Vu,Th,s(Vu,hh,n))).$?yt:r.a);var r},Ch=function(n){return d(to,!1,n.a,n)},Eh=function(n){return d(to,!1,n.c3,n)},Fh=function(n){return d(to,!1,n.t,n)},Ah=lo(P([lb,No])),Ph={$:1},Oh={$:0},Ih=lo(P([s(oo,vo(Oh),rf("- [ ] ")),s(oo,vo(Ph),rf("- [x] ")),s(oo,vo(Ph),rf("- [X] "))])),Mh=function(n){return{$:2,a:n}},Bh=function(n){return function(r){return function(e){return function(u){return function(a){return function(i){return function(o){return function(c){return function(f){return function(l){return function(v){var b,h,p=d(ke,n-(r-1),l,v),g=t((function(n,r){if(4===n.$){var t=n.a;return s(ct,t,r)}return r})),m=(b=function(){var n=_t(f);if(n.b&&4===n.a.$){var r=n.a.a,t=n.b;return s(Ie,"^",r)?_t(t):f}return f}(),s(Ct," ",d(je,g,E,b))),$=t((function(n,r){if(3===n.$){var t=n.a;return s(Wi,t,r)}return r})),w=d(je,$,Ui,f),y=t((function(n,r){if(2===n.$){var t=n.a;return wt(t)}return r})),k=d(je,y,yt,f),T=t((function(n,r){if(1===n.$){var t=n.a;return wt(t)}return r})),C=t((function(n,r){return n.$?r:n.a?2:1})),F=d(je,C,0,f);return wl(s(lv,h={ag:F,u:o,ax:c,Z:k,ah:e,cz:u,aV:a+i,aa:"",a1:p,ac:w,ad:m},E))?s(Hu,h,s(Vu,(function(n){return x(h,{u:Mh(n)})}),d(je,T,yt,f))):h}}}}}}}}}}},Lh=u((function(n,r,t,e){return s(uo,(function(n){return vo({$:0,a:n})}),s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,vo(Bh),Ch),jo),vo(n)),vo(t)),vo(e)),Eh),s(oo,Ih,Xo($b))),xh(r)),kh),s(oo,Ch,Ah)),Fh))})),Sh=u((function(n,r,t,e){return lo(P([l(Lh,n,r,t,e),Fb]))})),jh=a((function(n,r,e,u,a){var i,o,c=function(n){return s(Ct,"\n",s(Du,(function(n){if(1===n.$){var r=n.a;return wt(r)}return yt}),n))};return s(uo,(function(n){return vo(s(lv,x(a,{aa:c(n)}),function(n){return s(Du,(function(n){if(n.$)return yt;var r=n.a;return wt(r)}),n)}(n)))}),s(Ko,vo(ge),(i=l(Sh,n,r,e,u),o=s(Ko,vo(ge),s(Lo,E,Tb(i))),lo(P([s(uo,(function(n){var r=n.a;return w(n.b,r)>0?s(Eb,r+1,o):vo(E)}),s(Ko,s(Ko,s(oo,vo(t((function(n,r){return k(n,r)}))),wb),mb),jo)),vo(E)])))))})),Dh=function(n){return ye(n.ad)?vo(n):Uc("Task has no title")},Nh=u((function(n,r,t,e){return s(uo,l(jh,n,r,t,e),s(uo,Dh,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,s(Ko,vo(Bh),Ch),jo),vo(n)),vo(t)),vo(e)),Eh),s(oo,Ih,Xo($b))),xh(r)),kh),s(oo,Ch,Ah)),Fh)))})),Vh=a((function(n,r,t,e,u){return lo(P([uc(s(Mo,(function(n){return Co(s(ct,n,u))}),l(Nh,n,r,t,e))),s(Mo,(function(n){return Co(u)}),gb),s(Mo,(function(n){return xo(_t(u))}),vo(0))]))})),_h=u((function(n,r,t,e){return s(Mo,(function(n){return n}),s(Lo,E,l(Vh,n,r,t,e)))})),Kh=function(n){return s(Gb,Uv,s(Wf,l(_h,n.ah,n.cw,n.cz,n.cg),n.cf+"\n"))},Hh=t((function(n,r){return x(r,{W:n(r.W)})})),qh=t((function(n,r){if(r.$){var t=r.a;return ru(s(Hh,n,t))}var e=r.a;return Xe(n(e))})),Uh=t((function(n,r){return x(r,{W:s(ol,n,r.W)})})),Wh=t((function(n,r){if(r.$){var t=r.a;return ru(s(Uh,n,t))}var e=r.a;return Xe(s(ol,n,e))})),zh=t((function(n,r){return x(r,{cV:n})})),Yh=e((function(n,r,t){return s(il,r,s(cb,n,t))})),Rh=e((function(n,r,t){var e=t.e;switch(e.$){case 0:return t;case 1:var u=e.a;return s(ol,(function(t){return x(t,{e:al(d(Yh,n,r,u))})}),t);default:return u=e.a,s(ol,(function(t){return x(t,{e:ul(d(Yh,n,r,u))})}),t)}})),Gh=function(n){return n.W},Jh=function(n){if(n.$){var r=n.a;return Gh(r)}return n.a},Qh={$:0},Zh={$:1},Xh=function(n){return s(Gv,(function(n){return s(ct,n,vv(n))}),n)},np=t((function(n,r){return s(Hs,(function(r){return p(Jd(r),n)}),Xh(r))})),rp=t((function(n,r){var t=r.e;switch(t.$){case 2:var e=t.a;return s(np,n,e);case 1:return e=t.a,s(np,n,e);default:return yt}})),tp=e((function(n,r,t){return s(Hu,Jv,s(Vu,t,s(Vu,nl,s(rp,n,r))))})),ep=function(n){return xs(d(Ts,"deleteTask",vi,n))},up=function(n){return xs(d(Ts,"openTaskSourceFile",ji,n))},ap=s(fi,nl,(function(n){return n.aV})),ip=s(fi,nl,(function(n){return n.a1})),op=t((function(n,r){return s(xl,24,s(Rl,s(Jl,n,r),60))})),cp=t((function(n,r){return s(xl,1e3,r)})),fp=t((function(n,r){return s(xl,60,s(Jl,n,r))})),sp=H,dp=function(n){return s(sp,n,"")},lp=e((function(n,r,t){return n<=0?t:d(lp,n>>1,C(r,r),1&n?C(t,r):t)})),vp=t((function(n,r){return d(lp,n,r,"")})),bp=e((function(n,r,t){return C(s(vp,n-ye(t),dp(r)),t)})),hp=t((function(n,r){return d(bp,n,"0",xt(r))})),pp=t((function(n,r){return s(xl,60,s(Rl,r,1e3))})),gp=s(gs,0,E),mp=e((function(n,r,t){var u=t;return d(dd,e((function(r,t,e){return s(n,r,e)})),r,u)})),$p=t((function(n,r){return zi(d(mp,t((function(r,t){return s(ct,n(r),t)})),E,r))})),wp=function(n){var r=t((function(r,t){n:for(;;){if(t.b){var e=t.a,u=t.b;if(n(e)){r=s(ct,e,r),t=u;continue n}return _t(r)}return _t(r)}}));return r(E)},yp=s(fi,Dl,(function(n){return n.bh})),kp=s(fi,Dl,(function(n){return n.bF})),Tp=s(fi,kp,Il),xp=s(fi,jl,(function(n){return n.a0})),Cp=t((function(n,r){return C(r<0?"-":"",d(bp,n,"0",xt((t=r)<0?-t:t)));var t})),Ep=s(fi,kp,(function(n){return(Il(n)+2)/3|0})),Fp=t((function(n,r){return n<1?"":d(ke,-n,ye(r),r)})),Ap=function(n){switch(s(ue,1,n)){case 1:return 0;case 2:return 1;case 3:return 2;case 4:return 3;case 5:return 4;case 6:return 5;default:return 6}},Pp=function(n){var r=n,t=fh(r),e=Sl(r+(4-t));return{b7:1+((r-(sh(e)+1))/7|0),b8:e,df:Ap(t)}},Op=s(fi,Pp,(function(n){return n.b7})),Ip=s(fi,Pp,(function(n){return n.b8})),Mp=s(fi,fh,Ap),Bp=function(n){return C(xt(n),function(n){var r=s(xl,100,n);switch(s(Ol,r<20?r:s(xl,10,r),4)){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}(n))},Lp=u((function(n,r,t,e){switch(r){case"y":return 2===t?s(Fp,2,d(bp,2,"0",xt(Sl(e)))):s(Cp,t,Sl(e));case"Y":return 2===t?s(Fp,2,d(bp,2,"0",xt(Ip(e)))):s(Cp,t,Ip(e));case"Q":switch(t){case 1:case 2:case 5:return xt(Ep(e));case 3:return"Q"+xt(Ep(e));case 4:return Bp(Ep(e));default:return""}case"M":switch(t){case 1:return xt(Tp(e));case 2:return d(bp,2,"0",xt(Tp(e)));case 3:return n.aA(kp(e));case 4:return n.aZ(kp(e));case 5:return s(Ee,1,n.aA(kp(e)));default:return""}case"w":switch(t){case 1:return xt(Op(e));case 2:return d(bp,2,"0",xt(Op(e)));default:return""}case"d":switch(t){case 1:return xt(yp(e));case 2:return d(bp,2,"0",xt(yp(e)));case 3:return n.aM(yp(e));default:return""}case"D":switch(t){case 1:return xt(xp(e));case 2:return d(bp,2,"0",xt(xp(e)));case 3:return d(bp,3,"0",xt(xp(e)));default:return""}case"E":switch(t){case 1:case 2:case 3:return n.Y(Mp(e));case 4:return n.ba(Mp(e));case 5:return s(Ee,1,n.Y(Mp(e)));case 6:return s(Ee,2,n.Y(Mp(e)));default:return""}case"e":switch(t){case 1:case 2:return xt(fh(e));default:return l(Lp,n,"E",t,e)}default:return""}})),Sp=e((function(n,r,e){return d(At,t((function(r,t){if(r.$)return C(r.a,t);var u=r.a,a=r.b;return C(l(Lp,n,u,a,e),t)})),"",r)})),jp=function(n){return{$:1,a:n}},Dp=s(oo,vo(jp("'")),rf("''")),Np=t((function(n,r){return{$:0,a:n,b:r}})),Vp=W,_p=function(n){return d(Vp,ct,E,n)},Kp=s(uo,(function(n){var r=_p(n);if(r.b&&!r.b.b){var e=r.a;return s(Ko,s(Ko,vo(t((function(n,r){return s(Np,e,r-n+1)}))),s(oo,Ch,Xo(re(e)))),Ch)}return Uc("expected exactly one char")}),Yo(oc(Dt))),Hp=s(At,t((function(n,r){var t=k(n,r);if(1===t.a.$&&t.b.b&&1===t.b.a.$){var e=t.a.a,u=t.b,a=u.a.a,i=u.b;return s(ct,jp(C(e,a)),i)}return s(ct,n,r)})),E),qp=function(n){return"'"!==n&&!Dt(n)},Up=s(Mo,jp,Yo(s(oo,s(oo,vo(0),oc(qp)),Xo(qp)))),Wp=function(n){return lo(P([s(uo,(function(r){return Wp(C(n,r))}),Yo(s(oo,s(oo,vo(0),oc(Zu("'"))),Xo(Zu("'"))))),s(uo,(function(r){return Wp(n+"'")}),rf("''")),vo(n)]))},zp=s(Ko,s(oo,vo(jp),oc(re("'"))),s(oo,Wp(""),lo(P([oc(re("'")),No])))),Yp=function(n){return lo(P([s(uo,(function(r){return Yp(s(ct,r,n))}),lo(P([Kp,Up,Dp,zp]))),(r=function(r){return vo(Hp(n))},function(n){return r(0)(n)})]));var r},Rp=t((function(n,r){var t,e=_t(s(Gb,P([jp(t=r)]),s(Wf,Yp(E),t)));return s(Sp,n,e)})),Gp=function(n){switch(n){case 0:return"January";case 1:return"February";case 2:return"March";case 3:return"April";case 4:return"May";case 5:return"June";case 6:return"July";case 7:return"August";case 8:return"September";case 9:return"October";case 10:return"November";default:return"December"}},Jp=function(n){switch(n){case 0:return"Monday";case 1:return"Tuesday";case 2:return"Wednesday";case 3:return"Thursday";case 4:return"Friday";case 5:return"Saturday";default:return"Sunday"}},Qp={aM:Bp,aZ:Gp,aA:s(fi,Gp,Ee(3)),ba:Jp,Y:s(fi,Jp,Ee(3))},Zp=function(n){return s(Rp,Qp,n)},Xp=Zp("yyyy-MM-dd"),ng=function(n){var r=n.a,t=O(s(wp,$b,_p(r.a1))).join(""),e=dv(r.ac)>0?s(Kb," ",s(Ct," ",lt(s($p,Kb("#"),r.ac)))):"",u=function(){var n=r.Z;if(n.$)return"";var t=n.a;return" @due("+Xp(t)+")"}(),a=function(){var n,t=r.u;if(2===t.$){var e=t.a;return" @completed("+s(Ee,19,s(hp,4,s(nv,gp,n=e))+"-"+s(hp,2,function(n){switch(n){case 0:return 1;case 1:return 2;case 2:return 3;case 3:return 4;case 4:return 5;case 5:return 6;case 6:return 7;case 7:return 8;case 8:return 9;case 9:return 10;case 10:return 11;default:return 12}}(s(Xl,gp,n)))+"-"+s(hp,2,s(Zl,gp,n))+"T"+s(hp,2,s(op,gp,n))+":"+s(hp,2,s(fp,gp,n))+":"+s(hp,2,s(pp,gp,n))+"."+s(hp,3,s(cp,gp,n))+"Z")+")"}return""}(),i=r.u.$?"- [x] ":"- [ ] ",o=function(){switch(r.ag){case 0:return"";case 1:return" @autocomplete(false)";default:return" @autocomplete(true)"}}();return C(t,C(i,C(gc(r.ad),C(e,C(u,C(o,a))))))},rg=t((function(n,r){var t=r.a,e=r.b;switch(t.u.$){case 1:case 2:return s(lv,x(t,{u:Oh}),e);default:return s(lv,x(t,{u:Mh(n.cV)}),e)}})),tg=e((function(n,r,t){return xs(d(Ts,"updateTasks",Ni,{ah:r,da:s(De,(function(r){return{aV:ap(r),cN:ng(s(rg,n,r)),a1:ip(r)}}),t)}))})),eg=t((function(n,r){return s(rc,n,s(ct,Jd(r),s(De,Jd,vv(r))))})),ug=t((function(n,r){return s(Hs,eg(n),Xh(r))})),ag=t((function(n,r){var t=r.e;switch(t.$){case 2:var e=t.a;return s(ug,n,e);case 1:return e=t.a,s(ug,n,e);default:return yt}})),ig=s(fi,nl,(function(n){return n.ag})),og=e((function(n,r,t){var e=!wl(t),u=2===ig(t),a=s(Av,wl,s(De,(function(t){return p(Jd(t),n)?s(rg,r,t):t}),vv(t))),i=s(Qu,(function(r){return p(Jd(r),n)}),s(ct,t,vv(t))),o=s(rc,n,s(De,Jd,vv(t)));return u&&o&&a&&e?s(ct,t,i):i})),cg=t((function(n,r){switch(n.$){case 0:return T(r,Jv,Zh);case 1:var t=n.a;return T(s(ol,(function(n){return x(n,{aK:s(dl,t,eu(r))})}),r),Jv,Qh);case 3:var e=n.a;return T(r,d(tp,e,r,ep),Qh);case 2:return e=n.a,T(r,d(tp,e,r,up),Qh);default:e=n.a;var u=ub(r),a=s(Hu,Jv,s(Vu,(function(n){return d(tg,u,rl(n),d(og,e,u,n))}),s(ag,e,r)));return T(r,a,Qh)}})),fg=Ls(Ds),sg={$:3},dg=t((function(n,r){return{$:0,a:n,b:r}})),lg={$:4},vg={$:2},bg=function(n){return n.$,n.b},hg=s(Uo,(function(n){return n.H}),bg),pg=t((function(n,r){return{$:2,a:n,b:r}})),gg=t((function(n,r){return{$:1,a:n,b:r}})),mg=t((function(n,r){switch(r.$){case 0:var t=r.a,e=r.b;return s(Ms,t,n(e));case 1:return t=r.a,e=r.b,s(gg,t,n(e));default:return t=r.a,e=r.b,s(pg,t,n(e))}})),$g=function(n){return s(mg,(function(r){return x(r,{H:"",p:s(As,hg(n),r.p)})}),n)},wg={$:1},yg=function(n){return{$:2,a:n}},kg=t((function(n,r){if(r.$){var t=r.a,e=r.b,u=r.c;return d(Rs,t,e,C(u,P([n])))}return Gs(P([n]))})),Tg=function(n){if(n.$){var r=n.a;return wt(Pt(r))}return yt},xg=t((function(n,r){if(n<0)return r;var t=s(Gf,n,r);if(t.b){var e=t.b;return C(s(rs,n,r),e)}return r})),Cg=function(n){var r=s(Hu,0,Tg(n));return s(dl,r,Gs(s(xg,r,Xs(n))))},Eg=xs(d(Ts,"closeView",ui(E),0)),Fg=t((function(n,r){return Ns(r)?n:tu(P([nd(r),Eg]))})),Ag=function(n){if(n.$){var r=n.a,t=n.b,e=n.c,u=_t(e);if(u.b){var a=u.a,i=u.b;return d(Rs,C(i,C(P([t]),r)),a,E)}return n}return n},Pg=t((function(n,r){if(r.$){var t=r.a,e=r.b,u=r.c;return d(Rs,t,n(e),u)}return r})),Og=s(Uo,(function(n){return n.p}),bg),Ig=t((function(n,r){if(r.$)return t=r.a,ba(x(t,{O:n}));var t=r.a;return va(x(t,{O:n}))})),Mg=t((function(n,r){return s(mg,(function(r){return x(r,{p:n})}),r)})),Bg=t((function(n,r){var t,e=(t=Og(r.o),s(De,Hv,t)),u=n(s(Pg,Ig(e),r.aK));return x(r,{aK:u,o:s(Mg,Is(u),r.o)})})),Lg=function(n){return T(n,Jv,Qh)},Sg=t((function(n,r){switch(n.$){case 0:var t=n.a,e=n.b,u=s(Bg,s(fi,kg(t),Ag),r);return Lg(x(u,{n:e}));case 1:e=n.a;var a=Ns(r.aK)?Qh:yg(r.aK);return T(x(r,{n:e}),s(Fg,Jv,r.aK),a);case 2:return u=s(Bg,Cg,r),Lg(x(u,{n:Vs(u.aK)}));case 5:return e=n.a,Lg(x(r,{n:e}));case 3:return T(u=s(Bg,ge,r),s(Fg,nd(u.aK),u.aK),yg(u.aK));default:return Lg(r)}})),jg=t((function(n,r){if(1===n.$){var t=n.a,e=n.b;return s(pg,t,x(e,{C:r,y:!1,G:!0}))}return n})),Dg=xs(d(Ts,"requestFilterCandidates",ui(E),0)),Ng=function(n){if(n.$){var r=n.a;return ba(x(r,{bw:!r.bw}))}return n},Vg=function(n){if(n.$)return n;var r=n.a;return va(x(r,{bx:!r.bx}))},_g=function(n){if(n.$){var r=n.a;return ba(x(r,{by:!r.by}))}return n},Kg=t((function(n,r){return s(mg,(function(n){return x(n,{y:!1})}),s(mg,(function(r){return x(r,{p:d(Ps,n.ai,n.b4,r.p)})}),r))})),Hg=function(n){return n.$,n.a},qg=s(Uo,(function(n){return n.C}),bg),Ug=s(Uo,(function(n){return n.y}),bg),Wg=s(Uo,(function(n){return n.T}),bg),zg={$:8},Yg=jn,Rg=t((function(n,r){return s(Qe,(function(n){return r}),Yg(n))})),Gg=s(Uo,(function(n){return n.G}),bg),Jg=s(Uo,(function(n){return n.aI}),Hg),Qg=t((function(n,r){return k(s(gg,Hg(r),{C:qg(r),H:"",y:!1,T:Wg(r),L:n,p:Og(r),G:Gg(r)}),s(Rg,s(Uo,(function(n){return n.bj}),Hg)(r),s(Jg,r,{$:0,a:n})))})),Zg=s(Uo,(function(n){return n.L}),bg),Xg={$:1},nm=En,rm=t((function(n,r){return Je(s(nm,s(Uo,s(Uo,Be,n),bt),s(Ne,s(Uo,s(Uo,Be,n),mt),r)))})),tm=Zr("focus"),em=function(n){return s(rm,s(fi,Ki(Xg),n),tm("multiSelectInput"))},um=t((function(n,r){switch(n.$){case 4:var t=n.a;return k(s(Kg,t,r),em(Jg(r)));case 5:var e=n.a;return k(s(mg,(function(n){return x(n,{H:e})}),r),Jv);case 0:var u=n.a;return p(u,Zg(r))?k(s(gg,Hg(r),{C:qg(r),H:hg(r),y:!1,T:0,L:u,p:Og(r),G:Gg(r)}),(o=Jg(r),s(Qe,ge,Be(o(zg))))):k(r,Jv);case 1:return Ug(r)&&!p(Og(r),E)?k(s(mg,(function(n){return x(n,{y:!1})}),r),Jv):Bi(qg(r))?s(Qg,"",r):k(s(mg,(function(n){return x(n,{y:!1,G:!0})}),r),Jv);case 2:return Ug(r)?k(r,Jv):function(n){return k(function(){switch(n.$){case 0:return n;case 1:var r=n.a,t=n.b;return s(Ms,r,{C:E,H:"",y:!1,T:0,L:"",p:t.p,G:!1});default:return r=n.a,t=n.b,s(pg,r,{C:t.C,H:"",y:!1,T:0,L:"",p:t.p,G:!1})}}(),Jv)}(r);case 3:return k(s(mg,(function(n){return x(n,{y:!0})}),r),Jv);case 6:var a=n.a;return k(s(mg,(function(n){return x(n,{L:a})}),r),Jv);case 7:return k(r,em(Jg(r)));default:var i=s(Uo,(function(n){return n.bn}),Hg)(r);return k(r,s(Qe,ge,Be(s(i,Wg(r),Zg(r)))))}var o})),am=t((function(n,r){if(r.$)return r;var t=r.a;return Ls(n(t))})),im=t((function(n,r){return Lg(x(r,{n:s(am,n,r.n)}))})),om=t((function(n,r){return Lg(x(r,{aK:s(Pg,n,r.aK)}))})),cm={bg:10,O:E,bx:!0,ad:""},fm=t((function(n,r){return"dateBoard"===n?va(x(cm,{ad:r})):ba(x(js,{ad:r}))})),sm=function(n){return n.$,n.a.ad},dm=t((function(n,r){return s(fm,n,sm(r))})),lm=t((function(n,r){var t=k(r,n);n:for(;;){if(t.a.$){if(t.b.$)break n;return e=t.a.a,u=t.b.a,ba(x(e,{bg:u}))}if(t.b.$)break n;var e=t.a.a,u=t.b.a;return va(x(e,{bg:u}))}return r})),vm=Xo(s(Uo,$o,bb)),bm=s(uo,vb("nonEmptyStringParser"),Yo(vm)),hm=t((function(n,r){return s(Hu,"",s(Vu,(function(r){var t=r.a,e=r.b;return s(sp,n(t),e)}),Kt(r)))})),pm=function(n){return n.toUpperCase()},gm=s(uo,(function(n){var r,t=n.a,e=n.b,u=s(Ie,"#",t)?s(Te,1,t):t,a=(r=d(Bc,"/"," ",u),s(hm,pm,r)),i=s(Ct," ",P(s(Hu,a,e).trim().split(/\s+/g)));return vo({co:i,c8:u})}),s(Ko,s(Ko,s(oo,vo(Dc),wb),s(oo,$h,wb)),lo(P([s(Mo,wt,bm),vo(yt)])))),mm=Zo((function(n){return" "===n||"\n"===n||"\r"===n})),$m=s(Lo,E,(function(n){return lo(P([s(Ko,vo((function(r){return Co(s(ct,r,n))})),s(oo,gm,mm)),s(Mo,(function(r){return xo(_t(n))}),vo(0))]))})),wm=t((function(n,r){if(r.$){var t=r.a,e=s(Wf,$m,n);if(e.$)return r;var u=e.a;return ba(x(t,{cl:u}))}return r})),ym=t((function(n,r){if(r.$)return t=r.a,ba(x(t,{ad:n}));var t=r.a;return va(x(t,{ad:n}))})),km=t((function(n,r){switch(n.$){case 0:return Lg(x(r,{n:fg}));case 1:return s(Sg,function(n){if(0===n.$){var r=n.a;return s(dg,r,Ss)}return lg}(r.n),r);case 2:return Lg(x(r,{o:$g(r.o)}));case 3:var t=n.a;return s(im,dm(t),r);case 4:return Lg(x(r,{n:wg}));case 5:return s(Sg,function(n){switch(n.$){case 0:case 2:return lg;default:return vg}}(r.n),r);case 6:var e=n.a;return s(om,lm(Fe(e)),r);case 7:var u=n.a;return s(im,ym(u),r);case 8:var a=n.a;return s(om,wm(a),r);case 9:return u=n.a,s(om,ym(u),r);case 10:var i=n.a,o=s(jg,r.o,s(De,(function(n){return{ai:Os(n),b4:n}}),i));return Lg(x(r,{o,aD:ul(i)}));case 11:var c=n.a,f=s(um,c,r.o),d=f.a,l=f.b;return T(x(r,{o:d}),l,Qh);case 12:case 13:return s(Sg,function(n){switch(n.$){case 0:return{$:1,a:Ss};case 1:return{$:5,a:Ss};default:return sg}}(r.n),r);case 14:return n.a,n.b,T(r,l=0===r.aD.$?Dg:Jv,Qh);case 15:var v=n.a;return Lg(s(Bg,dl(v),r));case 16:return s(om,Ng,r);case 17:return s(om,Vg,r);default:return s(om,_g,r)}})),Tm=t((function(n,r){var t=r;switch(t.e.$){case 0:case 1:return s(ol,(function(r){return x(r,{aK:Gs(n)})}),r);default:var e=s(Hu,0,Tg(t.aK)),u=s(dl,e,Gs(n));return s(ol,(function(n){return x(n,{aK:u})}),r)}})),xm=t((function(n,r){if(r.$){var t=r.a,e=r.b,u=r.c;return d(Rs,s(De,n,t),n(e),s(De,n,u))}return r})),Cm=t((function(n,r){switch(r.$){case 0:return ps;case 1:var t=r.a;return al(n(t));default:return t=r.a,ul(n(t))}})),Em=t((function(n,r){return s(De,n,r)})),Fm=t((function(n,r){if(r.$)return t=r.a,ba(x(t,{O:s(De,n,t.O)}));var t=r.a;return va(x(t,{O:s(De,n,t.O)}))})),Am=e((function(n,r,t){var e=t.a,u=t.b;return p(e.ah,n)?s(lv,x(e,{ah:r}),u):t})),Pm=e((function(n,r,t){switch(t.$){case 0:return p(t.a,n)?$a(r):t;case 1:return p(t.a,n)?wa(r):t;default:return t}})),Om=e((function(n,r,t){var e=function(t){return s(Em,s(Am,n,r),t)},u=function(t){return s(Fm,s(Pm,n,r),t)};return s(ol,(function(n){return x(n,{aK:s(xm,u,n.aK),e:s(Cm,e,n.e)})}),t)})),Im=Wn,Mm=e((function(n,r,t){var e=t.a,u=t.b,a=t.c;return k(function(){switch(a.$){case 0:return n(e);case 1:return ru(Ys(Jh(n(e))));default:var r=a.a;return Xe(s(ol,(function(n){return x(n,{aK:r})}),Jh(n(e))))}}(),s(Im,r,u))})),Bm=t((function(n,r){var t=k(n,r);switch(t.a.$){case 0:var e=t.a.a;return k(s(Wh,(function(n){return x(n,{cF:e})}),r),Jv);case 1:return t.a,k(s(qh,sb,r),tu(P([eb(Rv(Jh(r))),el(Rv(Jh(r)))])));case 2:return t.a,k(r,Jv);case 3:var u=t.a.a;return k(C=s(qh,Tm(u),r),tu(P([eb(Rv(Jh(C))),el(Rv(Jh(C)))])));case 4:if(1===t.b.$){var a=t.a.a,i=t.b.a;return d(Mm,ru,Ud,s(km,{$:10,a},i))}return k(r,Jv);case 5:if(t.b.$)return k(r,Jv);var o=t.a.a;return i=t.b.a,d(Mm,Xe,qd,s(cg,o,i));case 6:return 1===t.b.$?(o=t.a.a,i=t.b.a,d(Mm,ru,Ud,s(km,o,i))):k(r,Jv);case 7:if(1===t.b.$){var c=t.a.a,f=(i=t.b.a,k(c,function(n){return n.cF}(Jh(r))));n:for(;1===f.a.$&&f.b;)switch(f.a.a){case"Backspace":return d(Mm,ru,Ud,s(km,Hd,i));case"Escape":return d(Mm,ru,Ud,s(km,Wd,i));default:break n}return k(r,Jv)}return k(r,Jv);case 8:var l=t.a.a,v=l.a,b=l.b;return k(s(Wh,(function(n){return x(n,{a9:{cV:b,dh:v}})}),r),Jv);case 9:var h=t.a.a;return k(s(Wh,(function(n){return x(n,{aK:s(dl,h,n.aK)})}),r),Jv);case 10:var p=t.a.a;return k(s(Wh,(function(n){return x(n,{a9:s(zh,p,n.a9)})}),r),Jv);case 11:var g=t.a.a,m=Kh(g);return k(C=s(qh,(function(n){return s(cl,m,n)}),r),s(ib,g.ah,Jh(C)));case 12:var $=t.a.a;return k(s(qh,(function(n){return s(fb,$,n)}),r),Jv);case 13:var w=t.a.a,y=w.a,T=w.b;return k(C=s(qh,s(Om,y,T),r),tu(P([s(ib,T,Jh(C)),s(Qv,T,Jh(C))])));default:g=t.a.a;var C,E=Kh(g);return k(C=s(qh,(function(n){return d(Rh,g.ah,E,n)}),r),s(ib,g.ah,Jh(C)))}})),Lm=t((function(n,r){return s(lr,n,Fa(r))})),Sm=Lm("className"),jm=function(n){return{$:4,a:n}},Dm=function(n){return{$:3,a:n}},Nm=or("div"),Vm=vr("class"),_m=vr("d"),Km=vr("fill"),Hm=vr("height"),qm=function(n){return{av:wt("feather feather-"+n),aG:24,aq:"",aH:2,aJ:"0 0 24 24"}},Um=t((function(n,r){return{q:qm(n),t:r}})),Wm=ir("http://www.w3.org/2000/svg"),zm=Wm("path"),Ym=vr("points"),Rm=Wm("polygon"),Gm=vr("stroke"),Jm=vr("stroke-linecap"),Qm=vr("stroke-linejoin"),Zm=vr("stroke-width"),Xm=Wm("svg"),n$=vr("viewBox"),r$=vr("width"),t$=t((function(n,r){return s(lr,function(n){return"innerHTML"==n||"formAction"==n?"data-"+n:n}(n),function(n){return/^\s*(javascript:|data:text\/html)/i.test(n)?"":n}(r))})),e$=function(n){return s(t$,"xmlns",Fa(n))},u$=s(Um,"edit",P([s(Xm,P([e$("http://www.w3.org/2000/svg"),r$("24"),Hm("24"),n$("0 0 24 24"),Km("none"),Gm("currentColor"),Zm("2"),Jm("round"),Qm("round"),Vm("feather feather-edit")]),P([s(zm,P([_m("M20 14.66V20a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5.34")]),E),s(Rm,P([Ym("18 2 22 6 12 16 8 16 8 12 18 2")]),E)]))])),a$=Lm("id"),i$=dr,o$=t((function(n,r){return s(i$,n,{$:0,a:r})})),c$=function(n){return s(o$,"click",he(n))},f$=function(n){return k(n,!0)},s$=t((function(n,r){return s(i$,n,{$:2,a:r})})),d$=fr,l$=d$,v$=t((function(n,r){var t=r.t,e=r.q,u=is(e.aG),a=P([Km("none"),Hm(C(u,e.aq)),r$(C(u,e.aq)),Gm("currentColor"),Jm("round"),Qm("round"),Zm(is(e.aH)),n$(e.aJ)]),i=C(function(){var n=e.av;if(n.$)return a;var r=n.a;return s(ct,Vm(r),a)}(),n);return s(Xm,i,s(De,l$(Me),t))})),b$=Wm("polyline"),h$=s(Um,"trash",P([s(Xm,P([e$("http://www.w3.org/2000/svg"),r$("24"),Hm("24"),n$("0 0 24 24"),Km("none"),Gm("currentColor"),Zm("2"),Jm("round"),Qm("round"),Vm("feather feather-trash")]),P([s(b$,P([Ym("3 6 5 6 21 6")]),E),s(zm,P([_m("M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2")]),E)]))])),p$=t((function(n,r){var t=r.q,e=r.t;return{q:x(t,{aG:n}),t:e}})),g$=t((function(n,r){var t=r.q,e=r.t;return{q:x(t,{aq:n}),t:e}})),m$=t((function(n,r){return s(Nm,P([Sm("card-board-card-action-area-buttons")]),P([s(Nm,P([Sm("card-board-card-action-area-button"),(e=n,t={$:2,a:e},s(s$,"click",s(ve,f$,he(t)))),a$(r)]),P([s(v$,E,s(g$,"em",s(p$,1,u$)))])),s(Nm,P([Sm("card-board-card-action-area-button"),c$(Dm(n))]),P([s(v$,E,s(g$,"em",s(p$,1,h$)))]))]));var t,e})),$$=or("span"),w$=ar,y$=function(n){return s(Nm,P([Sm("card-board-card-tag tag-"+d(Bc,"/","-",n))]),P([s($$,P([Sm("cm-hashtag-begin cm-hashtag")]),P([w$("#")])),s($$,P([Sm("cm-list-1 cm-hashtag cm-hashtag-end")]),P([w$(n)])),s($$,P([Sm("cm-list-1")]),P([w$(" ")]))]))},k$=t((function(n,r){return s(lr,n,pi(r))})),T$=k$("checked"),x$=t((function(n,r){var t=r.b,e=tv(n),u=k(wl(t),Kl(t));if(u.a||u.b.$)return 0;var a=u.b.a;return p(e,a)?3:w(e,a)>0?1:w(e,a)<0?2:0})),C$=or("input"),E$=or("li"),F$=Lm("type"),A$=function(n){var r=n.a,t=n.b;return s(E$,P([Sm("card-board-card-subtask task-list-item")]),P([s(C$,P([F$("checkbox"),Sm("task-list-item-checkbox"),c$(jm(Jd(t))),T$(wl(t))]),E),s(Nm,P([Sm("card-board-card-title"),a$(r)]),E)]))},P$=or("ul"),O$=function(n){if(n.$)return"n/a";var r=n.a;return s(Zp,"E, MMM ddd",r)},I$=w$(""),M$=t((function(n,r){return n?r:I$})),B$=t((function(n,r){var t,e,u,a,i,o,c=Qd(r),f=tb(r),d=function(){switch(s(x$,n,r)){case 1:return"critical";case 2:return"good";case 3:return"important";default:return""}}(),l=Zd(r);return s(Dc,l,s(E$,P([Sm("card-board-card cm-s-obsidian markdown-preview-view")]),P([s(Nm,P([Sm("card-board-card-highlight-area "+d)]),E),s(Nm,P([Sm("card-board-card-content-area")]),P([s(C$,P([F$("checkbox"),Sm("task-list-item-checkbox"),c$(jm(c)),T$(wl(f))]),E),s(Nm,P([Sm("card-board-card-title"),a$(l)]),E),s(M$,xv(f),(o=hv(f),s(Nm,P([Sm("card-board-card-tag-area")]),s(De,y$,lt(o))))),s(M$,(a=f,i=a.b,!Bi(i)),(u=rb(r),s(Nm,P([Sm("card-board-card-subtasks-area")]),P([s(P$,P([Sm("contains-task-list")]),s(De,A$,u))])))),s(M$,Zv(f),(e=nb(r),s(Nm,P([Sm("card-board-card-notes-area"),a$(e)]),E))),s(Nm,P([Sm("card-board-card-footer-area")]),P([s(M$,Ul(f),(t=Kl(f),s(Nm,P([Sm("card-board-card-action-area-due")]),P([w$("Due: "+O$(t))])))),s(m$,c,Xd(r))]))]))])))})),L$=cr("ul"),S$=e((function(n,r,t){return s(Nm,P([Sm("card-board-column")]),P([s(Nm,P([Sm("card-board-column-header")]),P([w$(r)])),s(L$,P([Sm("card-board-column-list")]),s(De,B$(n),t))]))})),j$=k$("hidden"),D$=e((function(n,r,t){return s(Nm,P([Sm("card-board-board"),j$(!0)]),P([s(Nm,P([Sm("card-board-columns")]),s(De,(function(r){var t=r.a,e=r.b;return d(S$,n,t,e)}),d(_v,n,r,t)))]))})),N$=e((function(n,r,t){return s(Nm,P([Sm("card-board-board")]),P([s(Nm,P([Sm("card-board-columns")]),s(De,(function(r){var t=r.a,e=r.b;return d(S$,n,t,e)}),d(_v,n,r,t)))]))})),V$={$:0},_$=t((function(n,r){return s(E$,P([Sm("card-board-tab-title is-active")]),P([s(Nm,P([Sm("card-board-tabs-inner")]),P([w$(r)]))]))})),K$=Wm("circle"),H$=vr("cx"),q$=vr("cy"),U$=vr("r"),W$=s(Um,"settings",P([s(Xm,P([e$("http://www.w3.org/2000/svg"),r$("24"),Hm("24"),n$("0 0 24 24"),Km("none"),Gm("currentColor"),Zm("2"),Jm("round"),Qm("round"),Vm("feather feather-settings")]),P([s(K$,P([H$("12"),q$("12"),U$("3")]),E),s(zm,P([_m("M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z")]),E)]))])),z$=t((function(n,r){if(n.$)return"";var t=n.a;return p(r,t-1)?" is-before-active":p(r,t+1)?" is-after-active":""})),Y$=e((function(n,r,t){var e,u=s(z$,n,r);return s(E$,P([Sm("card-board-tab-title"+u),c$((e=r,{$:1,a:e}))]),P([s(Nm,P([Sm("card-board-tabs-inner")]),P([w$(t)]))]))})),R$=t((function(n,r){return r.$,r.a.ad})),G$=t((function(n,r){var t,e=Xs(d(hl,_$,Y$(n),(t=r.a,d(hl,R$,R$,t)))),u=s(z$,n,-1),a=s(E$,P([Sm("card-board-pre-tabs"+u)]),P([s(Nm,P([Sm("card-board-tabs-inner card-board-tab-icon"),c$(V$)]),P([s(v$,E,s(g$,"em",s(p$,1,W$)))]))])),i=s(z$,n,function(n){var r=n.a;return Ns(r)}(r)),o=s(E$,P([Sm("card-board-post-tabs"+i)]),P([s(Nm,P([Sm("card-board-tabs-inner")]),P([w$("")]))]));return s(ct,a,s(gl,e,P([o])))})),J$=function(n){if(Ns(eu(n))){var r=ub(n),t=s(Yv,eu(n),Wv(n)),e=function(n){return function(n){if(n.$){var r=n.a;return wt(Pt(r))}return yt}(n.a)}(t);return s(Nm,E,P([s(P$,P([Sm("card-board-tab-list")]),s(G$,e,t)),s(Nm,P([Sm("card-board-boards")]),Xs(d(hl,N$(r),D$(r),pl(t))))]))}return w$("Loading tasks....")},Q$={$:1},Z$=function(n){return{$:3,a:n}},X$=function(n){return{$:7,a:n}},nw={$:12},rw=or("button"),tw=function(n){return 1===n.$},ew=function(n){return k(n,!0)},uw=t((function(n,r){return s(i$,n,{$:1,a:r})})),aw=t((function(n,r){return d(je,ra,r,n)})),iw=s(aw,P(["target","value"]),ua),ow=function(n){return s(uw,"input",s(ve,ew,s(ve,n,iw)))},cw=or("option"),fw=or("select"),sw=k$("selected"),dw=Lm("value"),lw=function(n){return s(Nm,P([Sm("modal-container")]),P([s(Nm,P([Sm("modal-bg")]),E),s(Nm,P([Sm("modal")]),P([s(Nm,P([Sm("modal-close-button"),c$(Wd)]),E),s(Nm,P([Sm("modal-title")]),P([w$("Add new board")])),s(Nm,P([Sm("modal-form")]),P([s(Nm,P([Sm("form-item")]),P([s(Nm,P([Sm("form-item-name")]),P([w$("Title")])),s(Nm,P([Sm("form-item-control")]),P([s(C$,P([F$("text"),dw(sm(n)),ow(X$)]),E)]))])),s(Nm,P([Sm("form-item")]),P([s(Nm,P([Sm("form-item-name")]),P([w$("Type")])),s(Nm,P([Sm("form-item-control")]),P([s(fw,P([Sm("dropdown"),ow(Z$)]),P([s(cw,P([dw("dateBoard"),sw((r=n,!r.$))]),P([w$("Date board")])),s(cw,P([dw("tagBoard"),sw(tw(n))]),P([w$("Tag board")]))]))]))])),s(Nm,P([Sm("dialog-buttons")]),P([s(rw,P([c$(nw)]),P([w$("Cancel")])),s(rw,P([Sm("mod-cta"),c$(Q$)]),P([w$("Add")]))]))]))]))]));var r},vw=s(Nm,P([Sm("modal-container")]),P([s(Nm,P([Sm("modal-bg")]),E),s(Nm,P([Sm("modal")]),P([s(Nm,P([Sm("modal-close-button"),c$(Wd)]),E),s(Nm,P([Sm("modal-title")]),P([w$("Confirm Deletion")])),s(Nm,P([Sm("dialog-buttons")]),P([s(rw,P([c$(nw)]),P([w$("Do not delete")])),s(rw,P([Sm("mod-warning"),c$({$:5})]),P([w$("Go ahead")]))]))]))])),bw={$:0},hw=Wm("line"),pw=vr("x1"),gw=vr("x2"),mw=vr("y1"),$w=vr("y2"),ww=s(Um,"plus",P([s(Xm,P([e$("http://www.w3.org/2000/svg"),r$("24"),Hm("24"),n$("0 0 24 24"),Km("none"),Gm("currentColor"),Zm("2"),Jm("round"),Qm("round"),Vm("feather feather-plus")]),P([s(hw,P([pw("12"),mw("5"),gw("12"),$w("19")]),E),s(hw,P([pw("5"),mw("12"),gw("19"),$w("12")]),E)]))])),yw=function(n){return{$:15,a:n}},kw=t((function(n,r){return s(Nm,P([Sm("vertical-tab-nav-item is-active"),c$(yw(n))]),P([w$(sm(r))]))})),Tw=t((function(n,r){return s(Nm,P([Sm("vertical-tab-nav-item"),c$(yw(n))]),P([w$(sm(r))]))})),xw={$:4},Cw=function(n){return{$:6,a:n}},Ew=function(n){return{$:8,a:n}},Fw=function(n){return{$:9,a:n}},Aw={$:16},Pw={$:17},Ow={$:18},Iw=Lm("placeholder"),Mw=or("textarea"),Bw={$:7},Lw={$:3},Sw=function(n){return s(o$,"mousedown",he(n))},jw=a((function(n,r,t,e,u){var a,i=p(u,r)?"multiselect-item selected":"multiselect-item";return s(Nm,P([Sm(i),Sw(t(Lw)),c$(t((a=u,{$:5,a})))]),P([s($$,P([Sm("multiselect-item-key")]),P([w$(n.bX(e))])),s($$,P([Sm("multiselect-item-value")]),P([w$(u)]))]))})),Dw=e((function(n,r,e){var u=e;return d(je,t((function(r,t){var e=r.a,u=r.b;return d(n,e,u,t)})),r,u)})),Nw=u((function(n,r,t,u){return d(Dw,e((function(r,e,a){return s(ct,v(jw,n,t,u,e,r),a)})),E,r)})),Vw=u((function(n,r,t,e){return{cG:e,cH:t,a:r,bW:n}})),_w=t((function(n,r){return{aX:r,bW:n}})),Kw=l(u((function(n,r,t,e){return{au:n,ay:e,aB:r,aE:t}})),10,1e3,1e4,1),Hw=t((function(n,r){for(;;){if(!n.b)return r;var e=n.a;n=n.b,r=d(At,t((function(n,r){return C(r,(u=n,a=ye(e),i=t((function(n,r){var t=r.a,e=r.b,i=P([d(ke,n,n+a,u)]),o=p(t,n)?E:P([d(ke,t,n,u)]);return k(n+a,C(e,C(o,i)))})),o=s(xe,e,u),f=(c=d(At,i,k(0,E),o)).a,C(c.b,p(f,l=ye(u))?E:P([d(ke,f,l,u)]))));var u,a,i,o,c,f,l})),E,r)}})),qw=E,Uw=t((function(n,r){var e=t((function(r,t){var e=t.a,u=t.b;return n(r)?k(s(ct,r,e),u):k(e,s(ct,r,u))}));return d(je,e,k(E,E),r)})),Ww=function(n){if(n.b){var r=n.a,t=n.b,e=s(Uw,(function(n){return w(n,r)<0}),t),u=Ww(e.a),a=Bi(u.b)?0:1,i=Ww(e.b);return k(u.a+a+i.a,C(u.b,C(P([r]),i.b)))}return k(0,E)},zw=e((function(n,r,e){var u=t((function(n,r){if(r.a.$)return r.a,e=r.b,k(wt(n),e);var t=r.a.a,e=r.b;return k(wt(n),n-1-t+e)})),a=t((function(n,r){var t=s(xe,dp(n),e),u=$c(s(Qu,(function(n){return!s(rc,n,r)}),t));if(u.$)return r;var a=u.a;return C(r,P([a]))})),i=d(zd,a,qw,r),o=(ye(e)-Pt(i))*n.au,c=(ye(r)-Pt(i))*n.aE,f=Ww(i),v=d(At,u,k(yt,0),f.b).b*n.ay,b=f.a*n.aB;return l(Vw,b+o+c+v,0,ye(e),f.b)})),Yw=t((function(n,r){return C(r,s(sl,n-Pt(r),""))})),Rw=e((function(n,r,e){return k(d(At,t((function(n,r){return ye(n)+r})),0,s(rs,r,e)),s(Gf,r,e))})),Gw=e((function(n,r,t){return s(rs,Pt(t)-(n-r-1),t)})),Jw=u((function(n,r,u,a){var i=e((function(n,r,t){return d(Rw,n,r,d(Gw,n,r,s(Yw,n,t)))})),o=s(Hw,r,P([u])),c=s(_w,0,E),f=s(Hw,r,P([a])),v=t((function(n,r){switch(n.$){case 0:return x(r,{au:n.a});case 1:return x(r,{aE:n.a});case 2:return x(r,{aB:n.a});default:return x(r,{ay:n.a})}})),b=d(At,v,Kw,n),h=t((function(n,r){var e=r.a,u=r.b,i=ye(n)*b.aE+ye(n)*b.aB+ye(a)*b.au+ye(a)*ye(n)*b.ay,o=l(Vw,i,e,0,E),c=t((function(r,t){var e=t.a,u=t.b,a=u+ye(r),i=d(zw,b,n,r);return k(w(i.bW,e.bW)<0?x(i,{a:u}):e,a)}));return d(At,c,k(o,e),u).a})),p=t((function(n,r){var t=r.a,e=r.b,u=s(h,n,d(i,Pt(o),e,f));return k(x(t,{aX:C(t.aX,P([u])),bW:u.bW+t.bW}),e+1)}));return d(At,p,k(c,0),o).a})),Qw=t((function(n,r){return s(De,Hv,s(Ku,oe,s(Ku,(function(n){return pc(n.b.ai)}),s(Du,(function(r){var t=l(Jw,E,E,pc(n),pc(r.ai));return Ce(n)?wt(k(0,r)):t.bW>3e3?yt:wt(k(t.bW,r))}),r))))})),Zw=t((function(n,r){return s(De,(function(r){return s(Nm,P([Sm("suggestion-item"),Sw(n.aI(Lw)),c$(n.aI((t=r,{$:4,a:t})))]),P([w$(r.ai)]));var t}),s(rs,5,r))})),Xw=t((function(n,r){var t=r.a,e=r.b;return s(Nm,P([Sm("suggestion-section")]),P([s(Nm,P([Sm("suggestion-section-heading")]),P([w$(t)])),s(Nm,E,s(Zw,n,e))]))})),ny=t((function(n,r){return s(De,Xw(n),n.bs(r))})),ry=function(n){return s(Nm,P([Sm("suggestion-container")]),n)},ty=e((function(n,r,t){var e=k(r.G,r.C);return e.a?e.b.b?ry(s(ny,n,s(Qw,r.L,r.C))):t:w$("")})),ey=function(n){switch(n.$){case 0:var r=n.a,t=n.b;return d(ty,r,t,s(Nm,E,E));case 1:return r=n.a,t=n.b,d(ty,r,t,s(Nm,E,E));default:return r=n.a,t=n.b,d(ty,r,t,ry((e=r.bH,P([s(Nm,E,P([w$(e)]))]))))}var e},uy={$:2},ay=function(n){return{$:6,a:n}},iy=t((function(n,r){return s(Nm,E,P([s(C$,P([a$("multiSelectInput"),Sm("multiselect-input"),F$("text"),dw(r),ow(s(fi,ay,n)),(t=n(uy),s(o$,"blur",he(t)))]),E)]));var t})),oy=function(n){return s(Nm,E,P([s(Nm,P([Sm("multiselect-items"),c$(s(Jg,n,Bw))]),C(l(Nw,Hg(n),Og(n),hg(n),Jg(n)),P([s(iy,Jg(n),Zg(n))]))),ey(n)]))},cy=t((function(n,r){if(n.$)return w$("");if(n.a.$){a=n.a.a;var t=s(Ct,"\n",s(De,(function(n){return"#"+n.c8+" "+n.co}),a.cl)),e=a.by?" is-enabled":"",u=a.bw?" is-enabled":"";return s(Nm,P([Sm("settings-form-container")]),P([s(Nm,P([Sm("settings-form")]),P([s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Title")])),s(Nm,P([Sm("setting-item-description")]),P([w$("The name of this board")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(C$,P([F$("text"),dw(a.ad),ow(Fw)]),E)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Filters")])),s(Nm,P([Sm("setting-item-description")]),P([w$("Limit the board to the chosen files, paths, and/or tags.")]))])),s(Nm,P([Sm("setting-item-control")]),P([oy(r)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Columns")])),s(Nm,P([Sm("setting-item-description")]),P([s(Nm,E,P([w$("The tags to use to define board columns.")])),s(Nm,E,P([w$("Each line should be a tag followed by the column heading. Add a trailing / to the tag to include tasks with any subtags in the column too. If you do not specify the heading it will be auto-generated from the tag.")]))]))])),s(Nm,P([Sm("setting-item-control")]),P([s(Mw,P([ow(Ew),Iw("#tag1 Column heading\n#tag2/\n#tag3/subtag\ntag4")]),P([w$(t)]))]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Include Others")])),s(Nm,P([Sm("setting-item-description")]),P([w$("Whether to include a column for tasks with tags other than those specified")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(Nm,P([Sm("checkbox-container"+u),c$(Aw)]),E)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Include Untagged")])),s(Nm,P([Sm("setting-item-description")]),P([w$("Whether to include a column for tasks with no tags")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(Nm,P([Sm("checkbox-container"+e),c$(Ow)]),E)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Completed Count")])),s(Nm,P([Sm("setting-item-description")]),P([w$("How many completed tasks to show. Set to zero to disable the completed column altogether.")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(C$,P([F$("text"),dw(xt(a.bg)),ow(Cw)]),E)]))])),s(Nm,P([Sm("setting-item dialog-buttons")]),P([s(rw,P([Sm("mod-warning"),c$(xw)]),P([w$("Delete this board")]))]))]))]))}var a,i=(a=n.a.a).bx?" is-enabled":"";return s(Nm,P([Sm("settings-form-container")]),P([s(Nm,P([Sm("settings-form")]),P([s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Title")])),s(Nm,P([Sm("setting-item-description")]),P([w$("The name of this board")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(C$,P([F$("text"),dw(a.ad),ow(Fw)]),E)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Filters")])),s(Nm,P([Sm("setting-item-description")]),P([w$("Limit the board to the chosen files, paths, and/or tags.")]))])),s(Nm,P([Sm("setting-item-control")]),P([oy(r)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Include Undated")])),s(Nm,P([Sm("setting-item-description")]),P([w$("Whether to include a column for tasks with no due date")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(Nm,P([Sm("checkbox-container"+i),c$(Pw)]),E)]))])),s(Nm,P([Sm("setting-item")]),P([s(Nm,P([Sm("setting-item-info")]),P([s(Nm,P([Sm("setting-item-name")]),P([w$("Completed Count")])),s(Nm,P([Sm("setting-item-description")]),P([w$("How many completed tasks to show. Set to zero to disable the completed column altogether.")]))])),s(Nm,P([Sm("setting-item-control")]),P([s(C$,P([F$("text"),dw(xt(a.bg)),ow(Cw)]),E)]))])),s(Nm,P([Sm("setting-item dialog-buttons")]),P([s(rw,P([Sm("mod-warning"),c$(xw)]),P([w$("Delete this board")]))]))]))]))})),fy=t((function(n,r){return s(Nm,P([Sm("modal-container")]),P([s(Nm,P([Sm("modal-bg")]),E),s(Nm,P([Sm("modal mod-settings")]),P([s(Nm,P([Sm("modal-close-button"),c$(Wd)]),E),s(Nm,P([Sm("modal-content")]),P([s(Nm,P([Sm("settings-menu vertical-tab-header")]),s(ct,s(Nm,P([Sm("vertical-tab-header-group-title")]),P([w$("Boards"),s(Nm,P([Sm("vertical-tab-header-group-title-icon"),c$(bw)]),P([s(v$,E,s(g$,"em",s(p$,1,ww)))]))])),Xs(d(hl,kw,Tw,n)))),s(cy,Es(n),r)]))]))]))})),sy=function(n){var r=n.n;switch(r.$){case 0:var t=r.a;return s(Nm,E,P([s(fy,n.aK,n.o),lw(t)]));case 1:return s(Nm,E,P([s(fy,n.aK,n.o),vw]));default:return s(fy,n.aK,n.o)}},dy=d$,ly=e((function(n,r,t){return u=(e={aw:s(dy,n,t.aw),az:s(Vu,dy(r),t.az)}).aw,a=e.az,s(Nm,P([Sm("card-board")]),P([s(Nm,P([Sm("card-board-container")]),P([u,s(Hu,w$(""),a)]))]));var e,u,a}));!function(r){n.Elm?tr(n.Elm,r):n.Elm=r}({Main:{init:Ze({cD:function(n){var r=function(n){return s(uu,au(hs.cx),n)}(n);if(1===r.$)return k(ru(Ys(ys)),tu(P([s(Qe,nu,d(_e,Dc,Qs,Zs)),Cs])));var t=function(n){return{aK:Gs((r=n.c4,r.aK)),aQ:Js(n.c4),cF:!1,e:ps,a9:{cV:ws(n.cV),dh:s(ms,n.dh,E)}};var r}(r.a);return k(function(n){if(n.$)return n;var r=n.a;return Ns(eu(r))?n:ru(Ys(r))}(Xe(t)),tu(P([nd(eu(t)),Cs,s(Qe,nu,d(_e,Dc,Qs,Zs))])))},c6:function(n){return ad(P([s(yd,1e3,ud),Vd(s(ve,ed,Td)),s(xd,(function(n){if(n.$)return td;var r=n.a;switch(r.$){case 0:return{$:0,a:r.a};case 1:return{$:11,a:r.a};case 2:return function(n){return{$:12,a:n}}(r.a);case 3:return function(n){return{$:13,a:n}}(r.a);case 4:return function(n){return{$:14,a:n}}(r.a);case 5:return function(n){return{$:4,a:n}}(r.a);case 6:return rd;case 7:return function(n){return{$:3,a:n}}(r.a.aK);default:return function(n){return{$:9,a:n}}(r.a)}}),Kd)]))},dd:Bm,de:function(n){if(n.$){var r=n.a;return d(ly,qd,Ud,{aw:J$(Gh(r)),az:wt(sy(r))})}var t=n.a;return d(ly,qd,Ud,{aw:J$(t),az:yt})}})(Ca)(0)}})}(this)},281:(n,r,t)=>{"use strict";t(144);const e="YYYY-MM-DD",u="gggg-[W]ww";function a(n){const r=window.app.plugins.getPlugin("periodic-notes");return r&&r.settings?.[n]?.enabled}function i(){try{const{internalPlugins:n,plugins:r}=window.app;if(a("daily")){const{format:n,folder:t,template:u}=r.getPlugin("periodic-notes")?.settings?.daily||{};return{format:n||e,folder:t?.trim()||"",template:u?.trim()||""}}const{folder:t,format:u,template:i}=n.getPluginById("daily-notes")?.instance?.options||{};return{format:u||e,folder:t?.trim()||"",template:i?.trim()||""}}catch(n){console.info("No custom daily note settings found!",n)}}function o(){try{const n=window.app.plugins,r=n.getPlugin("calendar")?.options,t=n.getPlugin("periodic-notes")?.settings?.weekly;if(a("weekly"))return{format:t.format||u,folder:t.folder?.trim()||"",template:t.template?.trim()||""};const e=r||{};return{format:e.weeklyNoteFormat||u,folder:e.weeklyNoteFolder?.trim()||"",template:e.weeklyNoteTemplate?.trim()||""}}catch(n){console.info("No custom weekly note settings found!",n)}}function c(){const n=window.app.plugins;try{const r=a("monthly")&&n.getPlugin("periodic-notes")?.settings?.monthly||{};return{format:r.format||"YYYY-MM",folder:r.folder?.trim()||"",template:r.template?.trim()||""}}catch(n){console.info("No custom monthly note settings found!",n)}}function f(){const n=window.app.plugins;try{const r=a("quarterly")&&n.getPlugin("periodic-notes")?.settings?.quarterly||{};return{format:r.format||"YYYY-[Q]Q",folder:r.folder?.trim()||"",template:r.template?.trim()||""}}catch(n){console.info("No custom quarterly note settings found!",n)}}function s(){const n=window.app.plugins;try{const r=a("yearly")&&n.getPlugin("periodic-notes")?.settings?.yearly||{};return{format:r.format||"YYYY",folder:r.folder?.trim()||"",template:r.template?.trim()||""}}catch(n){console.info("No custom yearly note settings found!",n)}}function d(n){return n.replace(/\[[^\]]*\]/g,"")}Error;Error;Error;Error;Error;r.e5=function(n,r){return function(n,r){const t={day:i,week:o,month:c,quarter:f,year:s}[r]().format.split("/").pop(),e=window.moment(n,t,!0);if(!e.isValid())return null;if(function(n,r){if("week"===r){const r=d(n);return/w{1,2}/i.test(r)&&(/M{1,4}/.test(r)||/D{1,4}/.test(r))}return!1}(t,r)&&"week"===r){const r=d(t);if(/w{1,2}/i.test(r))return window.moment(n,t.replace(/M{1,4}/g,"").replace(/D{1,4}/g,""),!1)}return e}(n.basename,r)}},144:n=>{"use strict";n.exports=require("obsidian")}},r={};function t(e){var u=r[e];if(void 0!==u)return u.exports;var a=r[e]={exports:{}};return n[e].call(a.exports,a,a.exports,t),a.exports}t.d=(n,r)=>{for(var e in r)t.o(r,e)&&!t.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:r[e]})},t.o=(n,r)=>Object.prototype.hasOwnProperty.call(n,r),t.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var e={};(()=>{"use strict";t.r(e),t.d(e,{default:()=>d});var n=function(r,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(n[t]=r[t])},n(r,t)};function r(r,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function e(){this.constructor=r}n(r,t),r.prototype=null===t?Object.create(t):(e.prototype=t.prototype,new e)}function u(n,r,t,e){return new(t||(t=Promise))((function(u,a){function i(n){try{c(e.next(n))}catch(n){a(n)}}function o(n){try{c(e.throw(n))}catch(n){a(n)}}function c(n){var r;n.done?u(n.value):(r=n.value,r instanceof t?r:new t((function(n){n(r)}))).then(i,o)}c((e=e.apply(n,r||[])).next())}))}function a(n,r){var t,e,u,a,i={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,e&&(u=2&a[0]?e.return:a[0]?e.throw||((u=e.return)&&u.call(e),0):e.next)&&!(u=u.call(e,a[1])).done)return u;switch(e=0,u&&(a=[2&a[0],u.value]),a[0]){case 0:case 1:u=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,e=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((u=(u=i.trys).length>0&&u[u.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!u||a[1]>u[0]&&a[1]$1"),this.vault.modify(r,e.join("\n"))),u.label=2;case 2:return[2]}}))}))},t.prototype.handleDisplayTaskMarkdown=function(n){return u(this,void 0,void 0,(function(){var r;return a(this,(function(t){return r=this,requestAnimationFrame((function(){for(var t=function(n){for(var t=function(t){var u=document.getElementById(t.id);if(u instanceof HTMLElement){u.innerHTML="",i.MarkdownRenderer.renderMarkdown(t.markdown,u,n.filePath,e);for(var a=function(t){t instanceof HTMLElement&&(t.addEventListener("mouseover",(function(e){r.app.workspace.trigger("hover-link",{event:e,source:"card-board",hoverParent:u,targetEl:t,linktext:t.getAttribute("href"),sourcePath:n.filePath})})),t.addEventListener("click",(function(e){e.preventDefault(),r.app.workspace.openLinkText(t.getAttribute("href"),n.filePath,!0,{active:!0})})))},o=0,c=Array.from(u.getElementsByClassName("internal-link"));o0?(c=o[0],[4,e.setActiveLeaf(c)]):[3,2]):[2];case 1:return a.sent(),[3,4];case 2:return[4,(c=e.splitActiveLeaf()).openFile(u)];case 3:a.sent(),a.label=4;case 4:return c.setEphemeralState({line:t-1}),[2]}}))}))},t}(i.ItemView);const d=function(n){function t(){var r=null!==n&&n.apply(this,arguments)||this;return r.commandIds=[],r}return r(t,n),t.prototype.onload=function(){return u(this,void 0,void 0,(function(){var n=this;return a(this,(function(r){switch(r.label){case 0:return console.log("loading CardBoard plugin"),this.registerView(f,(function(r){return new s(n,r)})),[4,this.loadSettings()];case 1:return r.sent(),(0,i.addIcon)("card-board",''),this.addRibbonIcon("card-board","CardBoard",(function(){return u(n,void 0,void 0,(function(){return a(this,(function(n){return this.activateView(0),[2]}))}))})),this.addCommands(),[2]}}))}))},t.prototype.onunload=function(){console.log("unloading CardBoard plugin"),this.app.workspace.detachLeavesOfType(f)},t.prototype.addCommands=function(){var n,r,t,e=this;null===(t=null===(r=null===(n=this.settings)||void 0===n?void 0:n.data)||void 0===r?void 0:r.boardConfigs)||void 0===t||t.forEach((function(n,r){var t=e.addCommand({id:"open-card-board-plugin-"+r,name:"Open "+n.data.title,callback:function(){return u(e,void 0,void 0,(function(){return a(this,(function(n){return this.activateView(r),[2]}))}))}});e.commandIds.push(t.id)}))},t.prototype.removeCommands=function(){for(var n=0,r=this.commandIds;n