Files
My-Notes/.obsidian/plugins/obsidian-day-planner/main.js
T

1689 lines
1.6 MiB
JavaScript
Raw Normal View History

2026-06-21 09:51:55 +08:00
"use strict";var JD=Object.defineProperty;var Zm=e=>{throw TypeError(e)};var QD=(e,t,n)=>t in e?JD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var C=(e,t,n)=>QD(e,typeof t!="symbol"?t+"":t,n),Hd=(e,t,n)=>t.has(e)||Zm("Cannot "+n);var Y=(e,t,n)=>(Hd(e,t,"read from private field"),n?n.call(e):t.get(e)),n1=(e,t,n)=>t.has(e)?Zm("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),i1=(e,t,n,o)=>(Hd(e,t,"write to private field"),o?o.call(e,n):t.set(e,n),n),he=(e,t,n)=>(Hd(e,t,"access private method"),n);Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const F0=require("obsidian"),eF=!1;var Uu=Array.isArray,tF=Array.prototype.indexOf,Zb=Array.prototype.includes,ju=Array.from,Jv=Object.defineProperty,pc=Object.getOwnPropertyDescriptor,Qv=Object.getOwnPropertyDescriptors,nF=Object.prototype,oF=Array.prototype,pq=Object.getPrototypeOf,Jm=Object.isExtensible;function qb(e){return typeof e=="function"}const ne=()=>{};function rF(e){return e()}function WO(e){for(var t=0;t<e.length;t++)e[t]()}function e8(){var e,t,n=new Promise((o,r)=>{e=o,t=r});return{promise:n,resolve:e,reject:t}}function cF(e,t,n=!1){return e===void 0?n?t():t:e}function iF(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const o of e)if(n.push(o),n.length===t)break;return n}const Ot=2,Jb=4,Pa=8,aq=1<<24,Br=16,$o=32,dc=64,Vf=128,co=512,$e=1024,gt=2048,Uo=4096,Tn=8192,io=16384,Nc=32768,Gf=1<<25,T2=65536,Qm=1<<17,bF=1<<18,Hi=1<<19,t8=1<<20,g2=1<<25,Ri=65536,Kf=1<<21,zq=1<<22,ac=1<<23,y2=Symbol("$state"),n8=Symbol("legacy props"),MF=Symbol(""),ir=new class extends Error{constructor(){super(...arguments);C(this,"name","StaleReactionError");C(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};var iv;const o8=!!((iv=globalThis.document)!=null&&iv.contentType)&&globalThis.document.contentType.includes("xml");function r8(e){return e===this.v}function sq(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function c8(e){return!sq(e,this.v)}function pF(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function aF(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function zF(e,t,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function sF(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function OF(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function uF(e){throw new Error("https://svelte.dev/e/effect_orphan")}function lF(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function dF(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function fF(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function AF(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function qF(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function hF(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}let WF=!1,Da=!1,mF=!1;function gF(){Da=!0}const RF=1,yF=2,i8=4,LF=8,vF=16,_F=1,NF=2,b8=4,wF=8,TF=16,kF=4,BF=1,SF=2,it=Symbol(),M8="http://www.w3.org/1999/xhtml",EF="http://www.w3.org/2000/svg",XF="@attach";let le=null;function Qb(e){le=e}function p8(e){return CF().get(e)}function w1(e,t=!1,n){le={p:le,i:!1,c:null,e:null,s:e,x:null,r:M1,l:Da&&!t?{s:null,u:null,$:[]}:null}}function T1(e){var t=le,n=t.e;if(n!==null){t.e=null;for(var o of n)D8(o)}return t.i=!0,le=t.p,{}}function Fa(){return!Da||le!==null&&le.l===null}function CF(e){return le===null&&pF(),le.c??(le.c=new Map(xF(le)||void 0))}function xF(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let ti=[];function a8(){var e=ti;ti=[],WO(e)}function L2(e){if(ti.length===0&&!Gp){var t=ti;queueMicrotask(()=>{t===ti&&a8()})}ti.push(e)}function IF(){for(;ti.length>0;)a8()}function PF(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function DF(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}funct
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/NO.exports;(function(e,t){(function(){function n($,J,m){switch(m.length){case 0:return $.call(J);case 1:return $.call(J,m[0]);case 2:return $.call(J,m[0],m[1]);case 3:return $.call(J,m[0],m[1],m[2])}return $.apply(J,m)}function o($,J,m,y0){for(var x0=-1,_0=$==null?0:$.length;++x0<_0;){var tn=$[x0];J(y0,tn,m(tn),$)}return y0}function r($,J){for(var m=-1,y0=$==null?0:$.length;++m<y0&&J($[m],m,$)!==!1;);return $}function c($,J){for(var m=$==null?0:$.length;m--&&J($[m],m,$)!==!1;);return $}function i($,J){for(var m=-1,y0=$==null?0:$.length;++m<y0;)if(!J($[m],m,$))return!1;return!0}function b($,J){for(var m=-1,y0=$==null?0:$.length,x0=0,_0=[];++m<y0;){var tn=$[m];J(tn,m,$)&&(_0[x0++]=tn)}return _0}function p($,J){return!!($!=null&&$.length)&&R($,J,0)>-1}function z($,J,m){for(var y0=-1,x0=$==null?0:$.length;++y0<x0;)if(m(J,$[y0]))return!0;return!1}function s($,J){for(var m=-1,y0=$==null?0:$.length,x0=Array(y0);++m<y0;)x0[m]=J($[m],m,$);return x0}function O($,J){for(var m=-1,y0=J.length,x0=$.length;++m<y0;)$[x0+m]=J[m];return $}function u($,J,m,y0){var x0=-1,_0=$==null?0:$.length;for(y0&&_0&&(m=$[++x0]);++x0<_0;)m=J(m,$[x0],x0,$);return m}function d($,J,m,y0){var x0=$==null?0:$.length;for(y0&&x0&&(m=$[--x0]);x0--;)m=J(m,$[x0],x0,$);return m}function f($,J){for(var m=-1,y0=$==null?0:$.length;++m<y0;)if(J($[m],m,$))return!0;return!1}function q($){return $.split("")}function W($){return $.match(tE)||[]}function h($,J,m){var y0;return m($,function(x0,_0,tn){if(J(x0,_0,tn))return y0=_0,!1}),y0}function v($,J,m,y0){for(var x0=$.length,_0=m+(y0?1:-1);y0?_0--:++_0<x0;)if(J($[_0],_0,$))return _0;return-1}function R($,J,m){return J===J?ae($,J,m):v($,S,m)}function _($,J,m,y0){for(var x0=m-1,_0=$.length;++x0<_0;)if(y0($[x0],J))return x0;return-1}function S($){return $!==$}function N($,J){var m=$==null?0:$.length;return m?H($,J)/m:Bz}function y($){return function(J){return J==null?w:J[$]}}function E($){return function(J){return $==null?w:$[J]}}function P($,J,m,y0,x0){return x0($,function(_0,tn,Kl){m=y0?(y0=!1,_0):J(m,_0,tn,Kl)}),m}function F($,J){var m=$.length;for($.sort(J);m--;)$[m]=$[m].value;return $}function H($,J){for(var m,y0=-1,x0=$.length;++y0<x0;){var _0=J($[y0]);_0!==w&&(m=m===w?_0:m+_0)}return m}function I($,J){for(var m=-1,y0=Array($);++m<$;)y0[m]=J(m);return y0}function j($,J){return s(J,function(m){return[m,$[m]]})}function b0($){return $&&$.slice(0,o0($)+1).replace(Fl,"")}function G($){return function(J){return $(J)}}function z0($,J){return s(J,function(m){return $[m]})}function q0($,J){return $.has(J)}function Y0($,J){for(var m=-1,y0=$.length;++m<y0&&R(J,$[m],0)>-1;);return m}function G0($,J){for(var m=$.length;m--&&R(J,$[m],0)>-1;);return m}function x($,J){for(var m=$.length,y0=0;m--;)$[m]===J&&++y0;return y0}function $0($){return"\\"+xE[$]}function u0($,J){return $==null?w:$[J]}function T($){return TE.test($)}function e1($){return kE.test($)}function l0($){for(var J,m=[];!(J=$.next()).done;)m.push(J.value);return m}function t0($){var J=-1,m=Array($.size);return $.forEach(function(y0,x0){m[++J]=[x0,y0]}),m}function i0($,J){return function(m){return $(J(m))}}function a0($,J){for(var m=-1,y0=$.length,x0=0,_0=[];++m<y0;){var tn=$[m];tn!==J&&tn!==f0||($[m]=f0,_0[x0++]=m)}return _0}function N0($){var J=-1,m=Array($.size);return $.forEach(function(y0){m[++J]=y0}),m}function I1($){var J=-1,m=Array($.size);return $.forEach(function(y0){m[++J]=[y0,y0]}),m}function ae($,J,m){for(var y0=m-1,x0=$.length;++y0<x0;)if($[y0]===J)return y0;return-1}function ee($,J,m){for(var y0=m+1;y0--;)if($[y0]===J)return y0;return y0}function B($){return T($)?A0($):FE($)}function K($){return T($)?P0($):q($)}function o0($){for(var J=$.length;J--&&Z9.test($.charAt(J)););return J}function A0($){for(var J=Yl.lastIndex=0;Yl.test($);)++J;return J}function P0($){return $.match(Yl)||[]}function O1($){return $.match(wE)||[]}var w,R1="4.17.21",j1=200,kz="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",en="Expected a function",wl="Invalid `variable` option passed into `_.template`",tp="__lodash_hash_undefined__",e0=500,f0="__lodash_placeholder
/* [wrapped with `+a+`] */
`)}function bC(M){return K0(M)||Hc(M)||!!(wm&&M&&M[wm])}function K2(M,a){var l=typeof M;return a=a??xr,!!a&&(l=="number"||l!="symbol"&&pE.test(M))&&M>-1&&M%1==0&&M<a}function jt(M,a,l){if(!qe(l))return!1;var A=typeof a;return!!(A=="number"?on(l)&&K2(a,l.length):A=="string"&&a in l)&&yo(l[a],M)}function qd(M,a){if(K0(M))return!1;var l=typeof M;return!(l!="number"&&l!="symbol"&&l!="boolean"&&M!=null&&!mn(M))||V9.test(M)||!Y9.test(M)||a!=null&&M in ce(a)}function MC(M){var a=typeof M;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?M!=="__proto__":M===null}function hd(M){var a=Jz(M),l=m[a];if(typeof l!="function"||!(a in _0.prototype))return!1;if(M===l)return!0;var A=Id(l);return!!A&&M===A[0]}function pC(M){return!!Lm&&Lm in M}function dp(M){var a=M&&M.constructor;return M===(typeof a=="function"&&a.prototype||ib)}function V6(M){return M===M&&!qe(M)}function G6(M,a){return function(l){return l!=null&&l[M]===a&&(a!==w||M in ce(l))}}function aC(M){var a=os(M,function(A){return l.size===e0&&l.clear(),A}),l=a.cache;return a}function zC(M,a){var l=M[1],A=a[1],g=l|A,L=g<(ye|qn|$2),X=A==$2&&l==ze||A==$2&&l==np&&M[7].length<=a[8]||A==($2|np)&&a[7].length<=a[8]&&l==ze;if(!L&&!X)return M;A&ye&&(M[2]=a[2],g|=l&ye?0:Cr);var D=a[3];if(D){var U=M[3];M[3]=U?k6(U,D,a[4]):D,M[4]=U?a0(M[3],f0):a[4]}return D=a[5],D&&(U=M[5],M[5]=U?B6(U,D,a[6]):D,M[6]=U?a0(M[5],f0):a[6]),D=a[7],D&&(M[7]=D),A&$2&&(M[8]=M[8]==null?a[8]:Lt(M[8],a[8])),M[9]==null&&(M[9]=a[9]),M[0]=a[0],M[1]=g,M}function sC(M){var a=[];if(M!=null)for(var l in ce(M))a.push(l);return a}function OC(M){return zs.call(M)}function K6(M,a,l){return a=Ve(a===w?M.length-1:a,0),function(){for(var A=arguments,g=-1,L=Ve(A.length-a,0),X=Ye(L);++g<L;)X[g]=A[a+g];g=-1;for(var D=Ye(a+1);++g<a;)D[g]=A[g];return D[a]=l(X),n(M,this,D)}}function Z6(M,a){return a.length<2?M:Fc(M,Fn(a,0,-1))}function uC(M,a){for(var l=M.length,A=Lt(a.length,l),g=nn(M);A--;){var L=a[A];M[A]=K2(L,l)?g[L]:w}return M}function Wd(M,a){if((a!=="constructor"||typeof M[a]!="function")&&a!="__proto__")return M[a]}function J6(M,a,l){var A=a+"";return Dd(M,iC(A,lC(oC(A),l)))}function Q6(M){var a=0,l=0;return function(){var A=gP(),g=v9-(A-l);if(l=A,g>0){if(++a>=L9)return arguments[0]}else a=0;return M.apply(w,arguments)}}function es(M,a){var l=-1,A=M.length,g=A-1;for(a=a===w?A:a;++l<a;){var L=id(l,g),X=M[L];M[L]=M[l],M[l]=X}return M.length=a,M}function i2(M){if(typeof M=="string"||mn(M))return M;var a=M+"";return a=="0"&&1/M==-Cc?"-0":a}function Uc(M){if(M!=null){try{return as.call(M)}catch{}try{return M+""}catch{}}return""}function lC(M,a){return r(B9,function(l){var A="_."+l[0];a&l[1]&&!p(M,A)&&M.push(A)}),M.sort()}function em(M){if(M instanceof _0)return M.clone();var a=new x0(M.__wrapped__,M.__chain__);return a.__actions__=nn(M.__actions__),a.__index__=M.__index__,a.__values__=M.__values__,a}function dC(M,a,l){a=(l?jt(M,a,l):a===w)?1:Ve(c1(a),0);var A=M==null?0:M.length;if(!A||a<1)return[];for(var g=0,L=0,X=Ye(fs(A/a));g<A;)X[L++]=Fn(M,g,g+=a);return X}function fC(M){for(var a=-1,l=M==null?0:M.length,A=0,g=[];++a<l;){var L=M[a];L&&(g[A++]=L)}return g}function AC(){var M=arguments.length;if(!M)return[];for(var a=Ye(M-1),l=arguments[0],A=M;A--;)a[A-1]=arguments[A];return O(K0(l)?nn(l):[l],ft(a,1))}function qC(M,a,l){var A=M==null?0:M.length;return A?(a=l||a===w?1:c1(a),Fn(M,a<0?0:a,A)):[]}function hC(M,a,l){var A=M==null?0:M.length;return A?(a=l||a===w?1:c1(a),a=A-a,Fn(M,0,a<0?0:a)):[]}function WC(M,a){return M&&M.length?Hz(M,D0(a,3),!0,!0):[]}function mC(M,a){return M&&M.length?Hz(M,D0(a,3),!0):[]}function gC(M,a,l,A){var g=M==null?0:M.length;return g?(l&&typeof l!="number"&&jt(M,a,l)&&(l=0,A=g),mX(M,a,l,A)):[]}function tm(M,a,l){var A=M==null?0:M.length;if(!A)return-1;var g=l==null?0:c1(l);return g<0&&(g=Ve(A+g,0)),v(M,D0(a,3),g)}function nm(M,a,l){var A=M==null?0:M.length;if(!A)return-1;var g=A-1;return l!==w&&(g=c1(l),g=l<0?Ve(A+g,0):Lt(g,A-1)),v(M,D0(a,3),g,!0)}function om(M){return M!=null&&M.length?ft(M,1):[]}function RC(M){return M!=null&&M.length?ft(M,Cc):[]}function yC(M,a){return M!=null&&M.length?(a=a===w?1
`;M.replace(g0,function(E0,A1,q1,_t,bn,jr){return q1||(q1=_t),p0+=M.slice(c0,jr).replace(zE,$0),A1&&(g=!0,p0+=`' +
__e(`+A1+`) +
'`),bn&&(L=!0,p0+=`';
`+bn+`;
__p += '`),q1&&(p0+=`' +
((__t = (`+q1+`)) == null ? '' : __t) +
'`),c0=jr+E0.length,E0}),p0+=`';
`;var B0=G1.call(a,"variable")&&a.variable;if(B0){if(nE.test(B0))throw new Bd(wl)}else p0=`with (obj) {
`+p0+`
}
`;p0=(L?p0.replace(P9,""):p0).replace(D9,"$1").replace(F9,"$1;"),p0="function("+(B0||"obj")+`) {
`+(B0?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(g?", __e = _.escape":"")+(L?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+p0+`return __p
}`;var t1=Gm(function(){return ym(D,w0+"return "+p0).apply(w,U)});if(t1.source=p0,Rd(t1))throw t1;return t1}function XI(M){return H1(M).toLowerCase()}function CI(M){return H1(M).toUpperCase()}function xI(M,a,l){if(M=H1(M),M&&(l||a===w))return b0(M);if(!M||!(a=Wn(a)))return M;var A=K(M),g=K(a);return Dr(A,Y0(A,g),G0(A,g)+1).join("")}function II(M,a,l){if(M=H1(M),M&&(l||a===w))return M.slice(0,o0(M)+1);if(!M||!(a=Wn(a)))return M;var A=K(M);return Dr(A,0,G0(A,K(a))+1).join("")}function PI(M,a,l){if(M=H1(M),M&&(l||a===w))return M.replace(Fl,"");if(!M||!(a=Wn(a)))return M;var A=K(M);return Dr(A,Y0(A,K(a))).join("")}function DI(M,a){var l=R9,A=y9;if(qe(a)){var g="separator"in a?a.separator:g;l="length"in a?c1(a.length):l,A="omission"in a?Wn(a.omission):A}M=H1(M);var L=M.length;if(T(M)){var X=K(M);L=X.length}if(l>=L)return M;var D=l-B(A);if(D<1)return A;var U=X?Dr(X,0,D).join(""):M.slice(0,D);if(g===w)return U+A;if(X&&(D+=U.length-D),Ud(g)){if(M.slice(D).search(g)){var c0,Q=U;for(g.global||(g=Sd(g.source,H1(SW.exec(g))+"g")),g.lastIndex=0;c0=g.exec(Q);)var p0=c0.index;U=U.slice(0,p0===w?D:p0)}}else if(M.indexOf(Wn(g),D)!=D){var g0=U.lastIndexOf(g);g0>-1&&(U=U.slice(0,g0))}return U+A}function FI(M){return M=H1(M),M&&$9.test(M)?M.replace(TW,jE):M}function gm(M,a,l){return M=H1(M),a=l?w:a,a===w?e1(M)?O1(M):W(M):M.match(a)||[]}function $I(M){var a=M==null?0:M.length,l=D0();return M=a?s(M,function(A){if(typeof A[1]!="function")throw new jn(en);return[l(A[0]),A[1]]}):[],u1(function(A){for(var g=-1;++g<a;){var L=M[g];if(n(L[0],this,A))return n(L[1],this,A)}})}function UI(M){return hX(Dn(M,I0))}function vd(M){return function(){return M}}function jI(M,a){return M==null||M!==M?a:M}function cn(M){return M}function _d(M){return d6(typeof M=="function"?M:Dn(M,I0))}function HI(M){return A6(Dn(M,I0))}function YI(M,a){return q6(M,Dn(a,I0))}function Nd(M,a,l){var A=ct(a),g=$z(a,A);l!=null||qe(a)&&(g.length||!A.length)||(l=a,a=M,M=this,g=$z(a,ct(a)));var L=!(qe(l)&&"chain"in l&&!l.chain),X=Z2(M);return r(g,function(D){var U=a[D];M[D]=U,X&&(M.prototype[D]=function(){var c0=this.__chain__;if(L||c0){var Q=M(this.__wrapped__);return(Q.__actions__=nn(this.__actions__)).push({func:U,args:arguments,thisArg:M}),Q.__chain__=c0,Q}return U.apply(M,O([this.value()],arguments))})}),M}function VI(){return dt._===this&&(dt._=lP),this}function wd(){}function GI(M){return M=c1(M),u1(function(a){return h6(a,M)})}function Rm(M){return qd(M)?y(i2(M)):CX(M)}function KI(M){return function(a){return M==null?w:Fc(M,a)}}function Td(){return[]}function kd(){return!1}function ZI(){return{}}function JI(){return""}function QI(){return!0}function eP(M,a){if(M=c1(M),M<1||M>xr)return[];var l=o2,A=Lt(M,o2);a=D0(a),M-=o2;for(var g=I(A,a);++l<M;)a(l);return g}function tP(M){return K0(M)?s(M,i2):mn(M)?[M]:nn(Pm(H1(M)))}function nP(M){var a=++OP;return H1(M)+a}function oP(M){return M&&M.length?Fz(M,cn,ed):w}function rP(M,a){return M&&M.length?Fz(M,D0(a,2),ed):w}function cP(M){return N(M,cn)}function iP(M,a){return N(M,D0(a,2))}function bP(M){return M&&M.length?Fz(M,cn,rd):w}function MP(M,a){return M&&M.length?Fz(M,D0(a,2),rd):w}function pP(M){return M&&M.length?H(M,cn):0}function aP(M,a){return M&&M.length?H(M,D0(a,2)):0}J=J==null?dt:eb.defaults(dt.Object(),J,eb.pick(dt,BE));var Ye=J.Array,bs=J.Date,Bd=J.Error,ym=J.Function,cb=J.Math,ce=J.Object,Sd=J.RegExp,zP=J.String,jn=J.TypeError,Ms=Ye.prototype,sP=ym.prototype,ib=ce.prototype,ps=J["__core-js_shared__"],as=sP.toString,G1=ib.hasOwnProperty,OP=0,Lm=function(){var M=/[^.]+$/.exec(ps&&ps.keys&&ps.keys.IE_PROTO||"");return M?"Symbol(src)_1."+M:""}(),zs=ib.toString,uP=as.call(ce),lP=dt._,dP=Sd("^"+as.call(G1).replace(Dl,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ss=e6?J.Buffer:w,Fr=J.Symbol,Os=J.Uint8Array,vm=ss?ss.allocUnsafe:w,us=i0(ce.getPrototypeOf,ce),_m=ce.create,Nm=ib.propertyIsEnumerable,ls=Ms.splice,wm=Fr?Fr.isConcatSpreadable:w,Ap=Fr?Fr.iterator:w,jc=Fr?Fr.toStringTag:w,ds=function(){try{var M=$c(ce,"defineProperty");return M({},"",{}),M}catch{}}(),fP=J.clearTimeout!==dt.clearTim
`;break}case-3:{i=`\r
`;break}case-2:{i=t?" ":" ";break}case-1:{if(!t&&r)continue;i=" ";break}default:i=String.fromCharCode(c)}r=c===-2,o.push(i)}return o.join("")}const Sj={42:Mn,43:Mn,45:Mn,48:Mn,49:Mn,50:Mn,51:Mn,52:Mn,53:Mn,54:Mn,55:Mn,56:Mn,57:Mn,62:p_},Ej={91:XU},Xj={[-2]:Jd,[-1]:Jd,32:Jd},Cj={35:FU,42:nO,45:[Sg,nO],60:HU,61:Sg,95:nO,96:kg,126:kg},xj={38:z_,92:a_},Ij={[-5]:Qd,[-4]:Qd,[-3]:Qd,33:aj,38:z_,42:WA,60:[sU,QU],91:sj,92:[PU,a_],93:Tq,95:WA,96:yU},Pj={null:[WA,vj]},Dj={null:[42,95]},Fj={null:[]},$j=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Dj,contentInitial:Ej,disable:Fj,document:Sj,flow:Cj,flowInitial:Xj,insideSpan:Pj,string:xj,text:Ij},Symbol.toStringTag,{value:"Module"}));function Uj(e){const n=Z$([$j,...(e||{}).extensions||[]]),o={defined:[],lazy:{},constructs:n,content:r(cU),document:r(bU),flow:r(yj),string:r(_j),text:r(Nj)};return o;function r(c){return i;function i(b){return Tj(o,c,b)}}}function jj(e){for(;!s_(e););return e}const Eg=/[\0\t\n\r]/g;function Hj(){let e=1,t="",n=!0,o;return r;function r(c,i,b){const p=[];let z,s,O,u,d;for(c=t+(typeof c=="string"?c.toString():new TextDecoder(i||void 0).decode(c)),O=0,t="",n&&(c.charCodeAt(0)===65279&&O++,n=void 0);O<c.length;){if(Eg.lastIndex=O,z=Eg.exec(c),u=z&&z.index!==void 0?z.index:c.length,d=c.charCodeAt(u),!z){t=c.slice(O);break}if(d===10&&O===u&&o)p.push(-3),o=void 0;else switch(o&&(p.push(-5),o=void 0),O<u&&(p.push(c.slice(O,u)),e+=u-O),d){case 0:{p.push(65533),e++;break}case 9:{for(s=Math.ceil(e/4)*4,p.push(-2);e++<s;)p.push(-1);break}case 10:{p.push(-4),e=1;break}default:o=!0,e=1}O=u+1}return b&&(o&&p.push(-5),t&&p.push(t),p.push(null)),p}}const Yj=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function A_(e){return e.replace(Yj,Vj)}function Vj(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const r=n.charCodeAt(1),c=r===120||r===88;return M_(n.slice(c?2:1),c?16:10)}return Nq(n)||e}function oO(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Xg(e.position):"start"in e||"end"in e?Xg(e):"line"in e||"column"in e?mA(e):""}function mA(e){return Cg(e&&e.line)+":"+Cg(e&&e.column)}function Xg(e){return mA(e&&e.start)+"-"+mA(e&&e.end)}function Cg(e){return e&&typeof e=="number"?e:1}const q_={}.hasOwnProperty;function ua(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Gj(n)(jj(Uj(n).document().write(Hj()(e,t,!0))))}function Gj(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(w),autolinkProtocol:P,autolinkEmail:P,atxHeading:c(o0),blockQuote:c(I1),characterEscape:P,characterReference:P,codeFenced:c(ae),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:c(ae,i),codeText:c(ee,i),codeTextData:P,data:P,codeFlowValue:P,definition:c(B),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:c(K),hardBreakEscape:c(A0),hardBreakTrailing:c(A0),htmlFlow:c(P0,i),htmlFlowData:P,htmlText:c(P0,i),htmlTextData:P,image:c(O1),label:i,link:c(w),listItem:c(j1),listItemValue:u,listOrdered:c(R1,O),listUnordered:c(R1),paragraph:c(kz),reference:T,referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:c(o0),strong:c(en),thematicBreak:c(tp)},exit:{atxHeading:p(),atxHeadingSequence:S,autolink:p(),autolinkEmail:N0,autolinkProtocol:a0,blockQuote:p(),characterEscapeValue:F,characterReferenceMarkerHexadecimal:l0,characterReferenceMarkerNumeric:l0,characterReferenceValue:t0,characterReference:i0,codeFenced:p(W),codeFencedFence:q,codeFencedFenceInfo:d,codeFencedFenceMeta:f,codeFlowValue:F,codeIndented:p(h),codeText:p(G),codeTextData:F,data:F,definition:p(),definitionDestinationString:_,definitionLabelString:v,definitionTitleString:R,emphasis:p(),hardBreakEscape:p(I),hardBreakTrailing:p(I),htmlFlow:p(j),htmlFlowData:F,htmlText:p(b0),htmlTextData:F,image:p(q0),label:G0,labelText:Y0,lineEnding:H,link:p(z0),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:e1,resourceDestinationString:x,resourceTitleString:$0,resource:u0,setextHeading:p(E),setextHeadingLineSequence:y,setextHeadingText:N,strong:p(),th
`&&m_(n.stack,n.unsafe[r]))return/[ \t]/.test(o.before)?"":" ";return`\\
`}function nH(e,t){const n=String(e);let o=n.indexOf(t),r=o,c=0,i=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;o!==-1;)o===r?++c>i&&(i=c):c=1,r=o+t.length,o=n.indexOf(t,r);return i}function gA(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function oH(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function rH(e,t,n,o){const r=oH(n),c=e.value||"",i=r==="`"?"GraveAccent":"Tilde";if(gA(e,n)){const O=n.enter("codeIndented"),u=n.indentLines(c,cH);return O(),u}const b=n.createTracker(o),p=r.repeat(Math.max(nH(c,r)+1,3)),z=n.enter("codeFenced");let s=b.move(p);if(e.lang){const O=n.enter(`codeFencedLang${i}`);s+=b.move(n.safe(e.lang,{before:s,after:" ",encode:["`"],...b.current()})),O()}if(e.lang&&e.meta){const O=n.enter(`codeFencedMeta${i}`);s+=b.move(" "),s+=b.move(n.safe(e.meta,{before:s,after:`
`,encode:["`"],...b.current()})),O()}return s+=b.move(`
`),c&&(s+=b.move(c+`
`)),s+=b.move(p),z(),s}function cH(e,t,n){return(n?"":" ")+e}function kq(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function iH(e,t,n,o){const r=kq(n),c=r==='"'?"Quote":"Apostrophe",i=n.enter("definition");let b=n.enter("label");const p=n.createTracker(o);let z=p.move("[");return z+=p.move(n.safe(n.associationId(e),{before:z,after:"]",...p.current()})),z+=p.move("]: "),b(),!e.url||/[\0- \u007F]/.test(e.url)?(b=n.enter("destinationLiteral"),z+=p.move("<"),z+=p.move(n.safe(e.url,{before:z,after:">",...p.current()})),z+=p.move(">")):(b=n.enter("destinationRaw"),z+=p.move(n.safe(e.url,{before:z,after:e.title?" ":`
`,...p.current()}))),b(),e.title&&(b=n.enter(`title${c}`),z+=p.move(" "+r),z+=p.move(n.safe(e.title,{before:z,after:r,...p.current()})),z+=p.move(r),b()),i(),z}function bH(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}g_.peek=MH;function g_(e,t,n,o){const r=bH(n),c=n.enter("emphasis"),i=n.createTracker(o);let b=i.move(r);return b+=i.move(n.containerPhrasing(e,{before:b,after:r,...i.current()})),b+=i.move(r),c(),b}function MH(e,t,n){return n.options.emphasis||"*"}const Bq=function(e){if(e==null)return sH;if(typeof e=="function")return t3(e);if(typeof e=="object")return Array.isArray(e)?pH(e):aH(e);if(typeof e=="string")return zH(e);throw new Error("Expected function, string, or object as test")};function pH(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Bq(e[n]);return t3(o);function o(...r){let c=-1;for(;++c<t.length;)if(t[c].apply(this,r))return!0;return!1}}function aH(e){const t=e;return t3(n);function n(o){const r=o;let c;for(c in e)if(r[c]!==t[c])return!1;return!0}}function zH(e){return t3(t);function t(n){return n&&n.type===e}}function t3(e){return t;function t(n,o,r){return!!(OH(n)&&e.call(this,n,typeof o=="number"?o:void 0,r||void 0))}}function sH(){return!0}function OH(e){return e!==null&&typeof e=="object"&&"type"in e}const R_=[],uH=!0,RA=!1,lH="skip";function dH(e,t,n,o){let r;typeof t=="function"&&typeof n!="function"?(o=n,n=t):r=t;const c=Bq(r),i=o?-1:1;b(e,void 0,[])();function b(p,z,s){const O=p&&typeof p=="object"?p:{};if(typeof O.type=="string"){const d=typeof O.tagName=="string"?O.tagName:typeof O.name=="string"?O.name:void 0;Object.defineProperty(u,"name",{value:"node ("+(p.type+(d?"<"+d+">":""))+")"})}return u;function u(){let d=R_,f,q,W;if((!t||c(p,z,s[s.length-1]||void 0))&&(d=fH(n(p,s)),d[0]===RA))return d;if("children"in p&&p.children){const h=p;if(h.children&&d[0]!==lH)for(q=(o?h.children.length:-1)+i,W=s.concat(h);q>-1&&q<h.children.length;){const v=h.children[q];if(f=b(v,q,W)(),f[0]===RA)return f;q=typeof f[1]=="number"?f[1]:q+i}}return d}}}function fH(e){return Array.isArray(e)?e:typeof e=="number"?[uH,e]:e==null?R_:[e]}function AH(e,t,n,o){let r,c,i;typeof t=="function"&&typeof n!="function"?(c=void 0,i=t,r=n):(c=t,i=n,r=o),dH(e,c,b,r);function b(p,z){const s=z[z.length-1],O=s?s.children.indexOf(p):void 0;return i(p,O,s)}}function y_(e,t){let n=!1;return AH(e,function(o){if("value"in o&&/\r?\n|\r/.test(o.value)||o.type==="break")return n=!0,RA}),!!((!e.depth||e.depth<3)&&_q(e)&&(t.options.setext||n))}function qH(e,t,n,o){const r=Math.max(Math.min(6,e.depth||1),1),c=n.createTracker(o);if(y_(e,n)){const s=n.enter("headingSetext"),O=n.enter("phrasing"),u=n.containerPhrasing(e,{...c.current(),before:`
`,after:`
`});return O(),s(),u+`
`+(r===1?"=":"-").repeat(u.length-(Math.max(u.lastIndexOf("\r"),u.lastIndexOf(`
`))+1))}const i="#".repeat(r),b=n.enter("headingAtx"),p=n.enter("phrasing");c.move(i+" ");let z=n.containerPhrasing(e,{before:"# ",after:`
`,...c.current()});return/^[\t ]/.test(z)&&(z="&#x"+z.charCodeAt(0).toString(16).toUpperCase()+";"+z.slice(1)),z=z?i+" "+z:i,n.options.closeAtx&&(z+=" "+i),p(),b(),z}L_.peek=hH;function L_(e){return e.value||""}function hH(){return"<"}v_.peek=WH;function v_(e,t,n,o){const r=kq(n),c=r==='"'?"Quote":"Apostrophe",i=n.enter("image");let b=n.enter("label");const p=n.createTracker(o);let z=p.move("![");return z+=p.move(n.safe(e.alt,{before:z,after:"]",...p.current()})),z+=p.move("]("),b(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(b=n.enter("destinationLiteral"),z+=p.move("<"),z+=p.move(n.safe(e.url,{before:z,after:">",...p.current()})),z+=p.move(">")):(b=n.enter("destinationRaw"),z+=p.move(n.safe(e.url,{before:z,after:e.title?" ":")",...p.current()}))),b(),e.title&&(b=n.enter(`title${c}`),z+=p.move(" "+r),z+=p.move(n.safe(e.title,{before:z,after:r,...p.current()})),z+=p.move(r),b()),z+=p.move(")"),i(),z}function WH(){return"!"}__.peek=mH;function __(e,t,n,o){const r=e.referenceType,c=n.enter("imageReference");let i=n.enter("label");const b=n.createTracker(o);let p=b.move("![");const z=n.safe(e.alt,{before:p,after:"]",...b.current()});p+=b.move(z+"]["),i();const s=n.stack;n.stack=[],i=n.enter("reference");const O=n.safe(n.associationId(e),{before:p,after:"]",...b.current()});return i(),n.stack=s,c(),r==="full"||!z||z!==O?p+=b.move(O+"]"):r==="shortcut"?p=p.slice(0,-1):p+=b.move("]"),p}function mH(){return"!"}N_.peek=gH;function N_(e,t,n){let o=e.value||"",r="`",c=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(o);)r+="`";for(/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^`|`$/.test(o))&&(o=" "+o+" ");++c<n.unsafe.length;){const i=n.unsafe[c],b=n.compilePattern(i);let p;if(i.atBreak)for(;p=b.exec(o);){let z=p.index;o.charCodeAt(z)===10&&o.charCodeAt(z-1)===13&&z--,o=o.slice(0,z)+" "+o.slice(p.index+1)}}return r+o+r}function gH(){return"`"}function w_(e,t){const n=_q(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}T_.peek=RH;function T_(e,t,n,o){const r=kq(n),c=r==='"'?"Quote":"Apostrophe",i=n.createTracker(o);let b,p;if(w_(e,n)){const s=n.stack;n.stack=[],b=n.enter("autolink");let O=i.move("<");return O+=i.move(n.containerPhrasing(e,{before:O,after:">",...i.current()})),O+=i.move(">"),b(),n.stack=s,O}b=n.enter("link"),p=n.enter("label");let z=i.move("[");return z+=i.move(n.containerPhrasing(e,{before:z,after:"](",...i.current()})),z+=i.move("]("),p(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(p=n.enter("destinationLiteral"),z+=i.move("<"),z+=i.move(n.safe(e.url,{before:z,after:">",...i.current()})),z+=i.move(">")):(p=n.enter("destinationRaw"),z+=i.move(n.safe(e.url,{before:z,after:e.title?" ":")",...i.current()}))),p(),e.title&&(p=n.enter(`title${c}`),z+=i.move(" "+r),z+=i.move(n.safe(e.title,{before:z,after:r,...i.current()})),z+=i.move(r),p()),z+=i.move(")"),b(),z}function RH(e,t,n){return w_(e,n)?"<":"["}k_.peek=yH;function k_(e,t,n,o){const r=e.referenceType,c=n.enter("linkReference");let i=n.enter("label");const b=n.createTracker(o);let p=b.move("[");const z=n.containerPhrasing(e,{before:p,after:"]",...b.current()});p+=b.move(z+"]["),i();const s=n.stack;n.stack=[],i=n.enter("reference");const O=n.safe(n.associationId(e),{before:p,after:"]",...b.current()});return i(),n.stack=s,c(),r==="full"||!z||z!==O?p+=b.move(O+"]"):r==="shortcut"?p=p.slice(0,-1):p+=b.move("]"),p}function yH(){return"["}function Sq(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function LH(e){const t=Sq(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function vH(e){const t=e.options.bulletOrde
`,inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Yc},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:`(?:[\r
]|$)`},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Yc},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:`(?:[ \r
*])`},{character:"*",inConstruct:"phrasing",notInConstruct:Yc},{atBreak:!0,character:"+",after:`(?:[ \r
])`},{atBreak:!0,character:"-",after:`(?:[ \r
-])`},{atBreak:!0,before:"\\d+",character:".",after:`(?:[ \r
]|$)`},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Yc},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Yc},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Yc},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Yc},{atBreak:!0,character:"~"}];function $H(e){return e.label||!e.identifier?e.label||"":A_(e.identifier)}function UH(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function jH(e,t,n){const o=t.indexStack,r=e.children||[],c=[];let i=-1,b=n.before;o.push(-1);let p=t.createTracker(n);for(;++i<r.length;){const z=r[i];let s;if(o[o.length-1]=i,i+1<r.length){let O=t.handle.handlers[r[i+1].type];O&&O.peek&&(O=O.peek),s=O?O(r[i+1],e,t,{before:"",after:"",...p.current()}).charAt(0):""}else s=n.after;c.length>0&&(b==="\r"||b===`
`)&&z.type==="html"&&(c[c.length-1]=c[c.length-1].replace(/(\r?\n|\r)$/," "),b=" ",p=t.createTracker(n),p.move(c.join(""))),c.push(p.move(t.handle(z,e,t,{...p.current(),before:b,after:s}))),b=c[c.length-1].slice(-1)}return o.pop(),c.join("")}function HH(e,t,n){const o=t.indexStack,r=e.children||[],c=t.createTracker(n),i=[];let b=-1;for(o.push(-1);++b<r.length;){const p=r[b];o[o.length-1]=b,i.push(c.move(t.handle(p,e,t,{before:`
`,after:`
`,...c.current()}))),p.type!=="list"&&(t.bulletLastUsed=void 0),b<r.length-1&&i.push(c.move(YH(p,r[b+1],e,t)))}return o.pop(),i.join("")}function YH(e,t,n,o){let r=o.join.length;for(;r--;){const c=o.join[r](e,t,n,o);if(c===!0||c===1)break;if(typeof c=="number")return`
`.repeat(1+c);if(c===!1)return`
<!---->
`}return`
`}const VH=/\r?\n|\r/g;function GH(e,t){const n=[];let o=0,r=0,c;for(;c=VH.exec(e);)i(e.slice(o,c.index)),n.push(c[0]),o=c.index+c[0].length,r++;return i(e.slice(o)),n.join("");function i(b){n.push(t(b,r,!b))}}function KH(e,t,n){const o=(n.before||"")+(t||"")+(n.after||""),r=[],c=[],i={};let b=-1;for(;++b<e.unsafe.length;){const s=e.unsafe[b];if(!m_(e.stack,s))continue;const O=e.compilePattern(s);let u;for(;u=O.exec(o);){const d="before"in s||!!s.atBreak,f="after"in s,q=u.index+(d?u[1].length:0);r.includes(q)?(i[q].before&&!d&&(i[q].before=!1),i[q].after&&!f&&(i[q].after=!1)):(r.push(q),i[q]={before:d,after:f})}}r.sort(ZH);let p=n.before?n.before.length:0;const z=o.length-(n.after?n.after.length:0);for(b=-1;++b<r.length;){const s=r[b];s<p||s>=z||s+1<z&&r[b+1]===s+1&&i[s].after&&!i[s+1].before&&!i[s+1].after||r[b-1]===s-1&&i[s].before&&!i[s-1].before&&!i[s-1].after||(p!==s&&c.push($g(o.slice(p,s),"\\")),p=s,/[!-/:-@[-`{-~]/.test(o.charAt(s))&&(!n.encode||!n.encode.includes(o.charAt(s)))?c.push("\\"):(c.push("&#x"+o.charCodeAt(s).toString(16).toUpperCase()+";"),p++))}return c.push($g(o.slice(p,z),n.after)),c.join("")}function ZH(e,t){return e-t}function $g(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,o=[],r=[],c=e+t;let i=-1,b=0,p;for(;p=n.exec(c);)o.push(p.index);for(;++i<o.length;)b!==o[i]&&r.push(e.slice(b,o[i])),r.push("\\"),b=o[i];return r.push(e.slice(b)),r.join("")}function JH(e){const t=e||{},n=t.now||{};let o=t.lineShift||0,r=n.line||1,c=n.column||1;return{move:p,current:i,shift:b};function i(){return{now:{line:r,column:c},lineShift:o}}function b(z){o+=z}function p(z){const s=z||"",O=s.split(/\r?\n|\r/g),u=O[O.length-1];return r+=O.length-1,c=O.length===1?c+u.length:1+u.length+o,s}}function QH(e,t={}){const n={enter:r,indentLines:GH,associationId:$H,containerPhrasing:oY,containerFlow:rY,createTracker:JH,compilePattern:UH,safe:cY,stack:[],unsafe:[...FH],join:[...PH],handlers:{...IH},options:{},indexStack:[],handle:void 0};W_(n,t),n.options.tightDefinitions&&n.join.push(nY),n.handle=Zj("type",{invalid:eY,unknown:tY,handlers:n.handlers});let o=n.handle(e,void 0,n,{before:`
`,after:`
`,now:{line:1,column:1},lineShift:0});return o&&o.charCodeAt(o.length-1)!==10&&o.charCodeAt(o.length-1)!==13&&(o+=`
`),o;function r(c){return n.stack.push(c),i;function i(){n.stack.pop()}}}function eY(e){throw new Error("Cannot handle value `"+e+"`, expected node")}function tY(e){const t=e;throw new Error("Cannot handle unknown node `"+t.type+"`")}function nY(e,t){if(e.type==="definition"&&e.type===t.type)return 0}function oY(e,t){return jH(e,this,t)}function rY(e,t){return HH(e,this,t)}function cY(e,t){return KH(this,e,t)}const iY="[-*+]",bY="\\d+[.)]",E_=`(${iY}|${bY})`,MY=`\\s*${E_}\\s+`,pY="\\s*\\[(?<completion>[^\\]])]\\s+",X_="\\s?-{1,2}\\s?",C_="\\d{1,2}",x_="\\d{2}",aY="[:.]",zY=":",I_="\\s?[apAP][mM](?!\\w)",Eq="\\d{4}-\\d{2}-\\d{2}",yA=`(${C_})(?:${aY}?(${x_}))(${I_})?`,Ug=`${C_}${zY}${x_}(${I_})?`,sY=new RegExp(MY),OY=new RegExp(pY),uY=new RegExp(yA),lY=/^(#+)\s/,dY=/\s\^[a-z1-9-]+$/i,fY=new RegExp("^[\\s>]*(?<symbol>\\d+\\.|\\d+\\)|\\*|-|\\+)\\s*(?:\\[(?<task>.)\\])?\\s*(?<text>.*)$","mu"),la=new RegExp(`^(?<start>${yA})(?:${X_}(?<end>${yA}))?`,"im"),wO=new RegExp(`(?<start>${Ug})(?:${X_}(?<end>${Ug}))?`,"im"),P_=new RegExp(`(\\[scheduled\\s*::\\s*)(?<date>${Eq})(\\])`),D_=new RegExp(`(\\(scheduled\\s*::\\s*)(?<date>${Eq})(\\))`),AY="⏳",F_=new RegExp(`(${AY}\\s*)(?<date>${Eq})`),$_=[P_,D_,F_],qY=/\[([^\]]+)::([^\]]+)\]/g,hY=/(-|\d+[.)])\s+/g,WY=/\\\[/g,mY=new RegExp(`^( {4})+(?=${E_})`,"gm"),gY=["task","bullet"],RY=["monday","sunday","saturday","friday"],n3={snapStepMinutes:10,progressIndicator:"mini-timeline",showTaskNotification:!1,zoomLevel:2,timelineIcon:"calendar-with-checkmark",endLabel:"All done",startHour:6,timelineDateFormat:gq,centerNeedle:!1,plannerHeading:"Day planner",plannerHeadingLevel:1,timelineColored:!1,timelineStartColor:"#006466",timelineEndColor:"#4d194d",timestampFormat:"HH:mm",hourFormat:"H",extendDurationUntilNext:!1,defaultDurationMinutes:30,minimalDurationMinutes:10,showTimestampInTaskBlock:!1,showUncheduledTasks:!0,showUnscheduledNestedTasks:!0,showNow:!0,showNext:!0,pluginVersion:"",showCompletedTasks:!0,showSubtasksInTaskBlocks:!0,icals:[],colorOverrides:[],releaseNotes:!0,taskStatusOnCreation:" ",eventFormatOnCreation:"task",sortTasksInPlanAfterEdit:!1,firstDayOfWeek:"monday",multiDayRange:"3-days",showTimelineInSidebar:!0,timelineColumns:{planner:!0,timeTracker:!1}};({...n3});const Ct=fc(n3),yY=Do(Ct);function kM(e){return Object.hasOwn(e,"calendar")}function LY(e){return Object.hasOwn(e,"text")}function o3(){return Math.random().toString(16).slice(2)}const vY=" ";function _Y(e){return e.includes("[ ]")?e.replace("[ ]","[x]"):e.replace("[x]","[ ]")}function NY(e,t){return`${"#".repeat(e)} ${t}`}function wY(e,t,n){const o=e.split(`
`),r=o[t];return m0.isNotVoid(r,`No line #${t} in text with ${o.length} lines`),o[t]=n(r),o.join(`
`)}function U_(e,t){return e.map(n=>t+n)}function TY(e,t){return U_(e.split(`
`),t).join(`
`)}function rM(e){const t=e.split(`
`)[0];return m0.isNotVoid(t),t}function kY(e){return e.replace(sY,"").replace(OY,"")}function BY(e){return vY.repeat(e)}function SY(e){return`[${e}]`}function EY(e,t){let n=e;return e.length>0&&(n=n.trimEnd(),n=n.concat(`
`,`
`)),n.concat(t,`
`,`
`)}function Xq(e,t,n,o){if(t.trim().length===0)return e;const r=CY(e,t);if((r==null?void 0:r.start)===void 0){if(o!=null&&o.createHeading){const{plannerHeadingLevel:O,plannerHeading:u}=o.settings,d=EY(e,NY(O,u));return Xq(d,t,n)}return e}const c=e.split(`
`),i=c.slice(0,r.start),b=r.start+r.length,p=c.slice(r.start,b).join(`
`),z=c.slice(b),s=n(p).split(`
`);return i.concat(s,z).join(`
`)}function XY(e){const t=lY.exec(e);if(!t)return;const[,n]=t;return{level:n.length}}function CY(e,t){const n=e.split(`
`),o={start:void 0,length:0,level:0};for(let r=0;r<n.length;r++){const c=n[r],i=XY(c);if(o.start!==void 0){if(i&&i.level<=o.level)return o;o.length++}else i&&c.includes(t)&&(o.start=r,o.level=i.level,o.length=1)}if(o.start!==void 0)return o}function xY(e){return aa+e.language+`
`+e.text+aa}function Cq(){return" ".repeat(m$)}function j_(e){const t=e.text.split(`
`)[0];return m0.isNotVoid(t),`${xq(e)} ${t}`}function xq(e){return e.status===void 0&&e.task===void 0?e.symbol:`${e.symbol} ${SY(e.status||e.task||" ")}`}const IY=e=>typeof e=="function",V=function(e,t){if(typeof e=="function")return function(){return e(arguments)?t.apply(this,arguments):n=>t(n,...arguments)};switch(e){case 0:case 1:throw new RangeError(`Invalid arity ${e}`);case 2:return function(n,o){return arguments.length>=2?t(n,o):function(r){return t(r,n)}};case 3:return function(n,o,r){return arguments.length>=3?t(n,o,r):function(c){return t(c,n,o)}};case 4:return function(n,o,r,c){return arguments.length>=4?t(n,o,r,c):function(i){return t(i,n,o,r)}};case 5:return function(n,o,r,c,i){return arguments.length>=5?t(n,o,r,c,i):function(b){return t(b,n,o,r,c)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);const n=arguments;return function(o){return t(o,...n)}}}},at=e=>e,r3=e=>()=>e,jg=r3(!0),TO=r3(!1),H_=r3(void 0),PY=H_;function r0(e,t,n,o,r,c,i,b,p){switch(arguments.length){case 1:return e;case 2:return t(e);case 3:return n(t(e));case 4:return o(n(t(e)));case 5:return r(o(n(t(e))));case 6:return c(r(o(n(t(e)))));case 7:return i(c(r(o(n(t(e))))));case 8:return b(i(c(r(o(n(t(e)))))));case 9:return p(b(i(c(r(o(n(t(e))))))));default:{let z=arguments[0];for(let s=1;s<arguments.length;s++)z=arguments[s](z);return z}}}const Iq=e=>(t,n)=>t===n||e(t,n),DY=V(2,(e,t)=>Iq((n,o)=>e(t(n),t(o)))),FY=e=>Iq((t,n)=>{if(t.length!==n.length)return!1;for(let o=0;o<t.length;o++)if(!e(t[o],n[o]))return!1;return!0}),ys="effect/GlobalValue";let Lp;const V1=(e,t)=>(Lp||(globalThis[ys]??(globalThis[ys]=new Map),Lp=globalThis[ys]),Lp.has(e)||Lp.set(e,t()),Lp.get(e)),$Y=e=>typeof e=="string",LA=e=>typeof e=="number",UY=e=>typeof e=="bigint",Za=IY,jY=e=>typeof e=="object"&&e!==null,c3=e=>jY(e)||Za(e),L1=V(2,(e,t)=>c3(e)&&t in e),Y_=V(2,(e,t)=>L1(e,"_tag")&&e._tag===t),sb=e=>e==null,HY=e=>L1(e,"then")&&Za(e.then),i3=e=>`BUG: ${e} - please report an issue at https://github.com/Effect-TS/effect/issues`;let V_=class G_{constructor(t){C(this,"self");C(this,"called",!1);this.self=t}next(t){return this.called?{value:t,done:!0}:(this.called=!0,{value:this.self,done:!1})}return(t){return{value:t,done:!0}}throw(t){throw t}[Symbol.iterator](){return new G_(this.self)}};const YY=335903614,VY=4150755663,GY=1481765933,KY=1284865837,ZY=9007199254740992,JY=134217728;class QY{constructor(t,n,o,r){C(this,"_state");return sb(n)&&sb(t)?(n=Math.random()*4294967295>>>0,t=0):sb(n)&&(n=t,t=0),sb(r)&&sb(o)?(r=this._state?this._state[3]:VY,o=this._state?this._state[2]:YY):sb(r)&&(r=o,o=0),this._state=new Int32Array([0,0,o>>>0,((r||0)|1)>>>0]),this._next(),Hg(this._state,this._state[0],this._state[1],t>>>0,n>>>0),this._next(),this}getState(){return[this._state[0],this._state[1],this._state[2],this._state[3]]}setState(t){this._state[0]=t[0],this._state[1]=t[1],this._state[2]=t[2],this._state[3]=t[3]|1}integer(t){return Math.round(this.number()*Number.MAX_SAFE_INTEGER)%t}number(){const t=(this._next()&67108863)*1,n=(this._next()&134217727)*1;return(t*JY+n)/ZY}_next(){const t=this._state[0]>>>0,n=this._state[1]>>>0;eV(this._state,t,n,GY,KY),Hg(this._state,this._state[0],this._state[1],this._state[2],this._state[3]);let o=t>>>18,r=(n>>>18|t<<14)>>>0;o=(o^t)>>>0,r=(r^n)>>>0;const c=(r>>>27|o<<5)>>>0,i=t>>>27,b=(-i>>>0&31)>>>0;return(c>>>i|c<<b)>>>0}}function eV(e,t,n,o,r){let c=(n>>>16)*(r&65535)>>>0,i=(n&65535)*(r>>>16)>>>0,b=(n&65535)*(r&65535)>>>0,p=(n>>>16)*(r>>>16)+((i>>>16)+(c>>>16))>>>0;i=i<<16>>>0,b=b+i>>>0,b>>>0<i>>>0&&(p=p+1>>>0),c=c<<16>>>0,b=b+c>>>0,b>>>0<c>>>0&&(p=p+1>>>0),p=p+Math.imul(n,o)>>>0,p=p+Math.imul(t,r)>>>0,e[0]=p,e[1]=b}function Hg(e,t,n,o,r){let c=t+o>>>0;const i=n+r>>>0;i>>>0<n>>>0&&(c=c+1|0),e[0]=c,e[1]=i}const vA=Symbol.for("effect/Utils/YieldWrap");var Ca;class Ja{constructor(t){n1(this,Ca);i1(this,Ca,t)}[vA](){return Y(this,Ca)}}Ca=new WeakMap;function tV(e){if(typeof e=="object"&&e!==null&&vA in e)return e[vA]();throw new Error(i3("yieldWrapGet"))}const Yn=V1("effect/Utils/isStructuralRegion",()=>({enabled:!1,t
`);if(n.length>2){const o=n[2].match(/at (.*)/);o&&(t.message=t.message+` (defined at ${o[1]})`)}}if(t.stack){const n=t.stack.split(`
`);n.splice(1,3),t.stack=n.join(`
`)}return t},sG=e=>L1(e,gN),OG=e=>L1(e,IO),uG=pM(new Map),lG=()=>uG,dG=(e,t)=>pM(new Map([[e.key,t]])),fG=V(3,(e,t,n)=>{const o=new Map(e.unsafeMap);return o.set(t.key,n),pM(o)}),nf=V1("effect/Context/defaultValueCache",()=>new Map),Zq=e=>{if(nf.has(e.key))return nf.get(e.key);const t=e.defaultValue();return nf.set(e.key,t),t},AG=(e,t)=>e.unsafeMap.has(t.key)?e.unsafeMap.get(t.key):Zq(t),RN=V(2,(e,t)=>{if(!e.unsafeMap.has(t.key)){if(IO in t)return Zq(t);throw zG(t)}return e.unsafeMap.get(t.key)}),qG=RN,hG=V(2,(e,t)=>e.unsafeMap.has(t.key)?_A(e.unsafeMap.get(t.key)):OG(t)?_A(Zq(t)):bN),WG=V(2,(e,t)=>{const n=new Map(e.unsafeMap);for(const[o,r]of t.unsafeMap)n.set(o,r);return pM(n)}),SM=MG,Jq=lG,vp=fG,Qq=qG,yN=RN,mG=hG,gG=WG,eh=pG,LN=Symbol.for("effect/Chunk");function RG(e,t,n,o,r){for(let c=t;c<Math.min(e.length,t+r);c++)n[o+c-t]=e[c];return n}const vN=[],yG=e=>Iq((t,n)=>t.length===n.length&&qi(t).every((o,r)=>e(o,Bb(n,r)))),LG=yG(s1),vG={[LN]:{_A:e=>e},toString(){return ut(this.toJSON())},toJSON(){return{_id:"Chunk",values:qi(this).map(Qe)}},[Ne](){return this.toJSON()},[z1](e){return _N(e)&&LG(this,e)},[d1](){return _e(this,Qa(qi(this)))},[Symbol.iterator](){switch(this.backing._tag){case"IArray":return this.backing.array[Symbol.iterator]();case"IEmpty":return vN[Symbol.iterator]();default:return qi(this)[Symbol.iterator]()}},pipe(){return Q0(this,arguments)}},Ke=e=>{const t=Object.create(vG);switch(t.backing=e,e._tag){case"IEmpty":{t.length=0,t.depth=0,t.left=t,t.right=t;break}case"IConcat":{t.length=e.left.length+e.right.length,t.depth=1+Math.max(e.left.depth,e.right.depth),t.left=e.left,t.right=e.right;break}case"IArray":{t.length=e.array.length,t.depth=0,t.left=f2,t.right=f2;break}case"ISingleton":{t.length=1,t.depth=0,t.left=f2,t.right=f2;break}case"ISlice":{t.length=e.length,t.depth=e.chunk.depth+1,t.left=f2,t.right=f2;break}}return t},_N=e=>L1(e,LN),f2=Ke({_tag:"IEmpty"}),_r=()=>f2,of=(...e)=>wG(e),Sn=e=>Ke({_tag:"ISingleton",a:e}),NN=e=>_N(e)?e:p3(st(e)),wA=(e,t,n)=>{switch(e.backing._tag){case"IArray":{RG(e.backing.array,0,t,n,e.length);break}case"IConcat":{wA(e.left,t,n),wA(e.right,t,n+e.left.length);break}case"ISingleton":{t[n]=e.backing.a;break}case"ISlice":{let o=0,r=n;for(;o<e.length;)t[r]=Bb(e,o),o+=1,r+=1;break}}},_G=e=>{switch(e.backing._tag){case"IEmpty":return vN;case"IArray":return e.backing.array;default:{const t=new Array(e.length);return wA(e,t,0),e.backing={_tag:"IArray",array:t},e.left=f2,e.right=f2,e.depth=0,t}}},qi=_G,NG=e=>{switch(e.backing._tag){case"IEmpty":case"ISingleton":return e;case"IArray":return Ke({_tag:"IArray",array:Vg(e.backing.array)});case"IConcat":return Ke({_tag:"IConcat",left:aM(e.backing.right),right:aM(e.backing.left)});case"ISlice":return p3(Vg(qi(e)))}},aM=NG,p3=e=>e.length===0?_r():e.length===1?Sn(e[0]):Ke({_tag:"IArray",array:e}),wG=e=>p3(e),Bb=V(2,(e,t)=>{switch(e.backing._tag){case"IEmpty":throw new Error("Index out of bounds");case"ISingleton":{if(t!==0)throw new Error("Index out of bounds");return e.backing.a}case"IArray":{if(t>=e.length||t<0)throw new Error("Index out of bounds");return e.backing.array[t]}case"IConcat":return t<e.left.length?Bb(e.left,t):Bb(e.right,t-e.left.length);case"ISlice":return Bb(e.backing.chunk,t+e.backing.offset)}}),TG=V(2,(e,t)=>xo(e,Sn(t))),Ho=V(2,(e,t)=>xo(Sn(t),e)),TA=V(2,(e,t)=>{if(t<=0)return e;if(t>=e.length)return f2;switch(e.backing._tag){case"ISlice":return Ke({_tag:"ISlice",chunk:e.backing.chunk,offset:e.backing.offset+t,length:e.backing.length-t});case"IConcat":return t>e.left.length?TA(e.right,t-e.left.length):Ke({_tag:"IConcat",left:TA(e.left,t),right:e.right});default:return Ke({_tag:"ISlice",chunk:e,offset:t,length:e.length-t})}}),xo=V(2,(e,t)=>{if(e.backing._tag==="IEmpty")return t;if(t.backing._tag==="IEmpty")return e;const n=t.depth-e.depth;if(Math.abs(n)<=1)return Ke({_tag:"IConcat",left:e,right:t});if(n<-1)if(e.left.depth>=e.right.depth){const o=xo(e.right,t);return Ke({_tag:"IConcat",left:e.left,right:o})}else{const o=xo(e.right.right,t);if(o.depth===e.depth-3){const r=Ke({_tag:"IConcat",left:e.right.left,right:o}
${W7(n.cause," ")}
}`}).join(`
`),W7=(e,t)=>{const n=e.stack.split(`
`);let o=`${t}[cause]: ${n[0]}`;for(let r=1,c=n.length;r<c;r++)o+=`
${t}${n[r]}`;return e.cause&&(o+=` {
${W7(e.cause,`${t} `)}
${t}}`),o},YA=e=>{const t=typeof e=="object"&&e!==null,n=Error.stackTraceLimit;Error.stackTraceLimit=1;const o=new Error(CJ(e),t&&"cause"in e&&typeof e.cause<"u"?{cause:YA(e.cause)}:void 0);return Error.stackTraceLimit=n,o.message===""&&(o.message="An error has occurred"),Error.stackTraceLimit=n,o.name=e instanceof Error?e.name:"Error",t&&(hM in e&&(o.span=e[hM]),Object.keys(e).forEach(r=>{r in o||(o[r]=e[r])})),o.stack=PJ(`${o.name}: ${o.message}`,e instanceof Error&&e.stack?e.stack:"",o.span),o},CJ=e=>{if(typeof e=="string")return e;if(typeof e=="object"&&e!==null&&e instanceof Error)return e.message;try{if(L1(e,"toString")&&Za(e.toString)&&e.toString!==Object.prototype.toString&&e.toString!==globalThis.Array.prototype.toString)return e.toString()}catch{}return J_(e)},xJ=/\((.*)\)/g,IJ=V1("effect/Tracer/spanToTrace",()=>new WeakMap),PJ=(e,t,n)=>{const o=[e],r=t.startsWith(e)?t.slice(e.length).split(`
`):t.split(`
`);for(let c=1;c<r.length;c++){if(r[c].includes(" at new BaseEffectError")||r[c].includes(" at new YieldableError")){c++;continue}if(r[c].includes("Generator.next")||r[c].includes("effect_internal_function"))break;o.push(r[c].replace(/at .*effect_instruction_i.*\((.*)\)/,"at $1").replace(/EffectPrimitive\.\w+/,"<anonymous>"))}if(n){let c=n,i=0;for(;c&&c._tag==="Span"&&i<10;){const b=IJ.get(c);if(typeof b=="function"){const p=b();if(typeof p=="string"){const z=p.matchAll(xJ);let s=!1;for(const[,O]of z)s=!0,o.push(` at ${c.name} (${O})`);s||o.push(` at ${c.name} (${p.replace(/^at /,"")})`)}else o.push(` at ${c.name}`)}else o.push(` at ${c.name}`);c=Kc(c.parent),i++}}return o.join(`
`)},hM=Symbol.for("effect/SpanAnnotation"),m7=e=>fh(e,void 0,{emptyCase:()=>[],dieCase:(t,n)=>[YA(n)],failCase:(t,n)=>[YA(n)],interruptCase:()=>[],parallelCase:(t,n,o)=>[...n,...o],sequentialCase:(t,n,o)=>[...n,...o]}),h3="Pending",g7="Done",DJ="effect/Deferred",FJ=Symbol.for(DJ),$J={_E:e=>e,_A:e=>e},UJ=e=>({_tag:h3,joiners:e}),jJ=e=>({_tag:g7,effect:e});class Mz{constructor(t){C(this,"self");C(this,"called",!1);this.self=t}next(t){return this.called?{value:t,done:!0}:(this.called=!0,{value:this.self,done:!1})}return(t){return{value:t,done:!0}}throw(t){throw t}[Symbol.iterator](){return new Mz(this.self)}}const R7=(e,t)=>{const n=new yt("Blocked");return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n},HJ=e=>{const t=new yt("RunBlocked");return t.effect_instruction_i0=e,t},WM=Symbol.for("effect/Effect");class YJ{constructor(t,n){C(this,"patch");C(this,"op");C(this,"_op",Uq);this.patch=t,this.op=n}}var sv;class yt{constructor(t){C(this,"_op");C(this,"effect_instruction_i0");C(this,"effect_instruction_i1");C(this,"effect_instruction_i2");C(this,"trace");C(this,sv,iM);this._op=t}[(sv=WM,z1)](t){return this===t}[d1](){return _e(this,Pq(this))}pipe(){return Q0(this,arguments)}toJSON(){return{_id:"Effect",_op:this._op,effect_instruction_i0:Qe(this.effect_instruction_i0),effect_instruction_i1:Qe(this.effect_instruction_i1),effect_instruction_i2:Qe(this.effect_instruction_i2)}}toString(){return ut(this.toJSON())}[Ne](){return this.toJSON()}[Symbol.iterator](){return new Mz(new Ja(this))}}var Ov;class y7{constructor(t){C(this,"_op");C(this,"effect_instruction_i0");C(this,"effect_instruction_i1");C(this,"effect_instruction_i2");C(this,"trace");C(this,Ov,iM);this._op=t,this._tag=t}[(Ov=WM,z1)](t){return R3(t)&&t._op==="Failure"&&s1(this.effect_instruction_i0,t.effect_instruction_i0)}[d1](){return r0(Ee(this._tag),E1(C0(this.effect_instruction_i0)),_e(this))}get cause(){return this.effect_instruction_i0}pipe(){return Q0(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,cause:this.cause.toJSON()}}toString(){return ut(this.toJSON())}[Ne](){return this.toJSON()}[Symbol.iterator](){return new Mz(new Ja(this))}}var uv;class L7{constructor(t){C(this,"_op");C(this,"effect_instruction_i0");C(this,"effect_instruction_i1");C(this,"effect_instruction_i2");C(this,"trace");C(this,uv,iM);this._op=t,this._tag=t}[(uv=WM,z1)](t){return R3(t)&&t._op==="Success"&&s1(this.effect_instruction_i0,t.effect_instruction_i0)}[d1](){return r0(Ee(this._tag),E1(C0(this.effect_instruction_i0)),_e(this))}get value(){return this.effect_instruction_i0}pipe(){return Q0(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,value:Qe(this.value)}}toString(){return ut(this.toJSON())}[Ne](){return this.toJSON()}[Symbol.iterator](){return new Mz(new Ja(this))}}const Ah=e=>L1(e,WM),Yo=e=>{const t=new yt(tN);return t.effect_instruction_i0=e,t},VJ=V(3,(e,t,n)=>m3(o=>y1(e,r=>y1(w7(bt(()=>o(t(r)))),c=>bt(()=>n(r,c)).pipe(mM({onFailure:i=>{switch(c._tag){case Mo:return Vo(no(c.effect_instruction_i0,i));case po:return Vo(i)}},onSuccess:()=>c})))))),pz=V(2,(e,t)=>y1(e,()=>Q1(t))),PM=e=>pz(e,void 0),v7=function(){const e=new yt(M3);switch(arguments.length){case 2:{e.effect_instruction_i0=arguments[0],e.commit=arguments[1];break}case 3:{e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.commit=arguments[2];break}case 4:{e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.effect_instruction_i2=arguments[2],e.commit=arguments[3];break}default:throw new Error(i3("you're not supposed to end up here"))}return e},jO=(e,t=wi)=>{const n=new yt(Jp);let o;return n.effect_instruction_i0=r=>{o=e(r)},n.effect_instruction_i1=t,E7(n,r=>Ah(o)?o:B2)},_7=(e,t=wi)=>bt(()=>jO(e,t)),Bi=(e,t=wi)=>v7(e,function(){let n,o;function r(p){n?n(p):o===void 0&&(o=p)}const c=new yt(Jp);c.effect_instruction_i0=p=>{n=p,o&&p(o)},c.effect_instruction_i1=t;let i,b;return this.effect_instruction_i0.length!==1?(b=new AbortController,i=Wt(()=>this.effect_instruction_i0(r,b.signal))):i=Wt(()=>this.effect_instruction_i0(r)),i||b?E7(c,p=>(b&&b.abort(),i??B2))
${this.stack.split(`
`).slice(1).join(`
`)}`:this.toString():"Bun"in globalThis?bz(UO(this),{renderErrorCause:!0}):this}}return Object.assign(e.prototype,dV),e}(),Y7=(e,t)=>{class n extends H7{constructor(){super(...arguments);C(this,"_tag",t)}}return Object.assign(n.prototype,e),n.prototype.name=t,n},dR=Symbol.for("effect/Cause/errors/RuntimeException"),vQ=Y7({[dR]:dR},"RuntimeException"),_Q=Symbol.for("effect/Cause/errors/InterruptedException"),NQ=e=>L1(e,_Q),fR=Symbol.for("effect/Cause/errors/NoSuchElement"),_h=Y7({[fR]:fR},"NoSuchElementException"),AR=Symbol.for("effect/Cause/errors/UnknownException"),Nh=function(){class e extends H7{constructor(o,r){super(r??"An unknown error occurred",{cause:o});C(this,"_tag","UnknownException");C(this,"error");this.error=o}}return Object.assign(e.prototype,{[AR]:AR,name:"UnknownException"}),e}(),R3=e=>Ah(e)&&"_tag"in e&&(e._tag==="Success"||e._tag==="Failure"),qR=(e,t)=>kQ(e,t!=null&&t.parallel?q3:no),hR=e=>Oe(UO(e)),Oe=e=>{const t=new y7(Mo);return t.effect_instruction_i0=e,t},wQ=e=>Oe(tc(e)),pf=V(2,(e,t)=>{switch(e._tag){case Mo:return Oe(e.effect_instruction_i0);case po:return Ze(t(e.effect_instruction_i0))}}),V7=V(2,(e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case Mo:return t(e.effect_instruction_i0);case po:return n(e.effect_instruction_i0)}}),Ze=e=>{const t=new L7(po);return t.effect_instruction_i0=e,t},ci=Ze(void 0),TQ=V(3,(e,t,{onFailure:n,onSuccess:o})=>{switch(e._tag){case Mo:switch(t._tag){case po:return Oe(e.effect_instruction_i0);case Mo:return Oe(n(e.effect_instruction_i0,t.effect_instruction_i0))}case po:switch(t._tag){case po:return Ze(o(e.effect_instruction_i0,t.effect_instruction_i0));case Mo:return Oe(t.effect_instruction_i0)}}}),kQ=(e,t)=>{const n=NN(e);return zM(n)?r0(oi(n),hN(r0(sM(n),pf(Sn)),(o,r)=>r0(o,TQ(r,{onSuccess:(c,i)=>r0(c,Ho(i)),onFailure:t}))),pf(aM),pf(o=>qi(o)),X1):o1()},BQ=e=>({...nz,[FJ]:$J,state:YN(UJ([])),commit(){return G7(this)},blockingOn:e}),G7=e=>_7(t=>{const n=d3(e.state);switch(n._tag){case g7:return t(n.effect);case h3:return n.joiners.push(t),SQ(e,t)}},e.blockingOn),K7=(e,t)=>{const n=d3(e.state);if(n._tag===h3){VN(e.state,jJ(t));for(let o=0,r=n.joiners.length;o<r;o++)n.joiners[o](t)}},SQ=(e,t)=>Z0(()=>{const n=d3(e.state);if(n._tag===h3){const o=n.joiners.indexOf(t);o>=0&&n.joiners.splice(o,1)}}),Z7=e=>{const t=e.currentSpan;return t!==void 0&&t._tag==="Span"?X1(t):o1()},WR=Symbol.for("effect/MutableHashMap"),EQ={[WR]:WR,[Symbol.iterator](){return new wh(this)},toString(){return ut(this.toJSON())},toJSON(){return{_id:"MutableHashMap",values:Array.from(this).map(Qe)}},[Ne](){return this.toJSON()},pipe(){return Q0(this,arguments)}};class wh{constructor(t){C(this,"self");C(this,"referentialIterator");C(this,"bucketIterator");this.self=t,this.referentialIterator=t.referential[Symbol.iterator]()}next(){if(this.bucketIterator!==void 0)return this.bucketIterator.next();const t=this.referentialIterator.next();return t.done?(this.bucketIterator=new XQ(this.self.buckets.values()),this.next()):t}[Symbol.iterator](){return new wh(this.self)}}class XQ{constructor(t){C(this,"backing");C(this,"currentBucket");this.backing=t}next(){if(this.currentBucket===void 0){const n=this.backing.next();if(n.done)return n;this.currentBucket=n.value[Symbol.iterator]()}const t=this.currentBucket.next();return t.done?(this.currentBucket=void 0,this.next()):t}}const CQ=()=>{const e=Object.create(EQ);return e.referential=new Map,e.buckets=new Map,e.bucketsSize=0,e},Zc=V(2,(e,t)=>{if(BO(t)===!1)return e.referential.has(t)?X1(e.referential.get(t)):o1();const n=t[d1](),o=e.buckets.get(n);return o===void 0?o1():xQ(e,o,t)}),xQ=(e,t,n,o=!1)=>{for(let r=0,c=t.length;r<c;r++)if(n[z1](t[r][0])){const i=t[r][1];return o&&(t.splice(r,1),e.bucketsSize--),X1(i)}return o1()},_p=V(2,(e,t)=>k2(Zc(e,t))),Np=V(3,(e,t,n)=>{if(BO(t)===!1)return e.referential.set(t,n),e;const o=t[d1](),r=e.buckets.get(o);return r===void 0?(e.buckets.set(o,[[t,n]]),e.bucketsSize++,e):(IQ(e,r,t),r.push([t,n]),e.bucketsSize++,e)}),IQ=(e,t,n)=>{for(let o=0,r=t.length;o<r;o++)if(n[z1](t[o][0])){t.splice(o,1),e.bucketsSize--;return}},PQ="effect
`).length;p=o.stack?`(${c}) ${o.stack.split(`
`).slice(0,z+3).join(`
`)}`:`${i}: ${b}`}else i=c,b=cM(o,0),p=`${i}: ${b}`;r.length>0&&(p+=`
${r.join(`
`)}`);super(b);C(this,"_tag");C(this,"traces");C(this,mv);this._tag=n,this.traces=r,this[ER]=k10,this.name=i,this.stack=p}pipe(){return Q0(this,arguments)}toString(){return this.stack}[(mv=ER,Ne)](){return this.stack}}class B10 extends hw{constructor(n,o=[]){super("Die",n,o);C(this,"defect");this.defect=n}}const S10=(e,t=[])=>new B10(e,t);class E10 extends hw{constructor(t=[]){super("Interrupt","interrupted",t)}}const X10=(e=[])=>new E10(e),C10=e=>e._tag==="Interrupt",XR=Symbol.for("effect/Micro/MicroFiber"),x10={_A:at,_E:at};var gv;gv=XR;class I10{constructor(t,n=!0){C(this,"context");C(this,"interruptible");C(this,gv);C(this,"_stack",[]);C(this,"_observers",[]);C(this,"_exit");C(this,"_children");C(this,"currentOpCount",0);C(this,"_interrupted",!1);C(this,"_yielded");this.context=t,this.interruptible=n,this[XR]=x10}getRef(t){return AG(this.context,t)}addObserver(t){return this._exit?(t(this._exit),PY):(this._observers.push(t),()=>{const n=this._observers.indexOf(t);n>=0&&this._observers.splice(n,1)})}unsafeInterrupt(){this._exit||(this._interrupted=!0,this.interruptible&&this.evaluate(Ch))}unsafePoll(){return this._exit}evaluate(t){if(this._exit)return;if(this._yielded!==void 0){const r=this._yielded;this._yielded=void 0,r()}const n=this.runLoop(t);if(n===Ns)return;const o=CR.interruptChildren&&CR.interruptChildren(this);if(o!==void 0)return this.evaluate(ZO(o,()=>n));this._exit=n;for(let r=0;r<this._observers.length;r++)this._observers[r](n);this._observers.length=0}runLoop(t){let n=!1,o=t;this.currentOpCount=0;try{for(;;){if(this.currentOpCount++,!n&&this.getRef(xh).shouldYield(this)){n=!0;const r=o;o=ZO(U10,()=>r)}if(o=o[t4](this),o===Ns){const r=this._yielded;return GO in r?(this._yielded=void 0,r):Ns}}}catch(r){return L1(o,t4)?n4(r):n4(`MicroFiber.runLoop: Not a valid effect: ${String(o)}`)}}getCont(t){for(;;){const n=this._stack.pop();if(!n)return;const o=n[KO]&&n[KO](this);if(o)return{[t]:o};if(n[t])return n}}yieldWith(t){return this._yielded=t,Ns}children(){return this._children??(this._children=new Set)}}const CR=V1("effect/Micro/fiberMiddleware",()=>({interruptChildren:void 0})),Ww=Symbol.for("effect/Micro/identifier"),Je=Symbol.for("effect/Micro/args"),t4=Symbol.for("effect/Micro/evaluate"),gM=Symbol.for("effect/Micro/successCont"),Eb=Symbol.for("effect/Micro/failureCont"),KO=Symbol.for("effect/Micro/ensureCont"),Ns=Symbol.for("effect/Micro/Yield"),P10={_A:at,_E:at,_R:at},D10={...r10,_op:"Micro",[T10]:P10,pipe(){return Q0(this,arguments)},[Symbol.iterator](){return new V_(new Ja(this))},toJSON(){return{_id:"Micro",op:this[Ww],...Je in this?{args:this[Je]}:void 0}},toString(){return ut(this)},[Ne](){return ut(this)}};function F10(e){return n4("Micro.evaluate: Not implemented")}const L3=e=>({...D10,[Ww]:e.op,[t4]:e.eval??F10,[gM]:e.contA,[Eb]:e.contE,[KO]:e.ensure}),Bh=e=>{const t=L3(e);return function(){const n=Object.create(t);return n[Je]=e.single===!1?arguments:arguments[0],n}},mw=e=>{const t={...L3(e),[GO]:GO,_tag:e.op,get[e.prop](){return this[Je]},toJSON(){return{_id:"MicroExit",_tag:e.op,[e.prop]:this[Je]}},[z1](n){return Y10(n)&&n._tag===e.op&&s1(this[Je],n[Je])},[d1](){return _e(this,E1(Ee(e.op))(C0(this[Je])))}};return function(n){const o=Object.create(t);return o[Je]=n,o[gM]=void 0,o[Eb]=void 0,o[KO]=void 0,o}},Sh=mw({op:"Success",prop:"value",eval(e){const t=e.getCont(gM);return t?t[gM](this[Je],e):e.yieldWith(this)}}),gw=mw({op:"Failure",prop:"cause",eval(e){let t=e.getCont(Eb);for(;C10(this[Je])&&t&&e.interruptible;)t=e.getCont(Eb);return t?t[Eb](this[Je],e):e.yieldWith(this)}}),$10=Bh({op:"Yield",eval(e){let t=!1;return e.getRef(xh).scheduleTask(()=>{t||e.evaluate(V10)},this[Je]??0),e.yieldWith(()=>{t=!0})}}),U10=$10(0),j10=Sh(void 0),Eh=Bh({op:"WithMicroFiber",eval(e){return this[Je](e)}}),ZO=V(2,(e,t)=>{const n=Object.create(H10);return n[Je]=e,n[gM]=t,n}),H10=L3({op:"OnSuccess",eval(e){return e._stack.push(this),this[Je]}}),Y10=e=>L1(e,GO),Rw=Sh,Xh=gw,Ch=Xh(X10()),n4=e=>Xh(S10(e)),V10=Rw(void 0),G10="setImmediate"in globalThis?globalThis.setImmediate:e=>setTimeout(e,0);class yw{construc
`).filter(i=>i),r=Math.min(...o.map(i=>i.length-i.trimStart().length)),c=o.map(i=>i.slice(r)).map(i=>" ".repeat(this.indent*2)+i);for(const i of c)this.content.push(i)}compile(){const t=Function,n=this==null?void 0:this.args,r=[...((this==null?void 0:this.content)??[""]).map(c=>` ${c}`)];return new t(...n,r.join(`
`))}}const xo0={major:4,minor:3,patch:6},nt=M0("$ZodType",(e,t)=>{var r;var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=xo0;const o=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&o.unshift(e);for(const c of o)for(const i of c._zod.onattach)i(e);if(o.length===0)(n=e._zod).deferred??(n.deferred=[]),(r=e._zod.deferred)==null||r.push(()=>{e._zod.run=e._zod.parse});else{const c=(b,p,z)=>{let s=vb(b),O;for(const u of p){if(u._zod.def.when){if(!u._zod.def.when(b))continue}else if(s)continue;const d=b.issues.length,f=u._zod.check(b);if(f instanceof Promise&&(z==null?void 0:z.async)===!1)throw new Xb;if(O||f instanceof Promise)O=(O??Promise.resolve()).then(async()=>{await f,b.issues.length!==d&&(s||(s=vb(b,d)))});else{if(b.issues.length===d)continue;s||(s=vb(b,d))}}return O?O.then(()=>b):b},i=(b,p,z)=>{if(vb(b))return b.aborted=!0,b;const s=c(p,o,z);if(s instanceof Promise){if(z.async===!1)throw new Xb;return s.then(O=>e._zod.parse(O,z))}return e._zod.parse(s,z)};e._zod.run=(b,p)=>{if(p.skipChecks)return e._zod.parse(b,p);if(p.direction==="backward"){const s=e._zod.parse({value:b.value,issues:[]},{...p,skipChecks:!0});return s instanceof Promise?s.then(O=>i(O,b,p)):i(s,b,p)}const z=e._zod.parse(b,p);if(z instanceof Promise){if(p.async===!1)throw new Xb;return z.then(s=>c(s,o,p))}return c(z,o,p)}}K1(e,"~standard",()=>({validate:c=>{var i;try{const b=Vn0(e,c);return b.success?{value:b.data}:{issues:(i=b.error)==null?void 0:i.issues}}catch{return Gn0(e,c).then(p=>{var z;return p.success?{value:p.data}:{issues:(z=p.error)==null?void 0:z.issues}})}},vendor:"zod",version:1}))}),t5=M0("$ZodString",(e,t)=>{var n;nt.init(e,t),e._zod.pattern=[...((n=e==null?void 0:e._zod.bag)==null?void 0:n.patterns)??[]].pop()??Ro0(e._zod.bag),e._zod.parse=(o,r)=>{if(t.coerce)try{o.value=String(o.value)}catch{}return typeof o.value=="string"||o.issues.push({expected:"string",code:"invalid_type",input:o.value,inst:e}),o}}),Ae=M0("$ZodStringFormat",(e,t)=>{B3.init(e,t),t5.init(e,t)}),Io0=M0("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=zo0),Ae.init(e,t)}),Po0=M0("$ZodUUID",(e,t)=>{if(t.version){const o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=VR(o))}else t.pattern??(t.pattern=VR());Ae.init(e,t)}),Do0=M0("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=so0),Ae.init(e,t)}),Fo0=M0("$ZodURL",(e,t)=>{Ae.init(e,t),e._zod.check=n=>{try{const o=n.value.trim(),r=new URL(o);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=o;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),$o0=M0("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=uo0()),Ae.init(e,t)}),Uo0=M0("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=po0),Ae.init(e,t)}),jo0=M0("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=ro0),Ae.init(e,t)}),Ho0=M0("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=co0),Ae.init(e,t)}),Yo0=M0("$ZodULID",(e,t)=>{t.pattern??(t.pattern=io0),Ae.init(e,t)}),Vo0=M0("$ZodXID",(e,t)=>{t.pattern??(t.pattern=bo0),Ae.init(e,t)}),Go0=M0("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Mo0),Ae.init(e,t)}),Ko0=M0("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=go0(t)),Ae.init(e,t)}),Zo0=M0("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=Wo0),Ae.init(e,t)}),Jo0=M0("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=mo0(t)),Ae.init(e,t)}),Qo0=M0("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ao0),Ae.init(e,t)}),e20=M0("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=lo0),Ae.init(e,t),e._zod.bag.format="ipv4"}),t20=M0("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=do0),Ae.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL
if (${S}.issues.length) {
if (${N} in input) {
payload.issues = payload.issues.concat(${S}.issues.map(iss => ({
...iss,
path: iss.path ? [${N}, ...iss.path] : [${N}]
})));
}
}
if (${S}.value === undefined) {
if (${N} in input) {
newResult[${N}] = undefined;
}
} else {
newResult[${N}] = ${S}.value;
}
`):d.write(`
if (${S}.issues.length) {
payload.issues = payload.issues.concat(${S}.issues.map(iss => ({
...iss,
path: iss.path ? [${N}, ...iss.path] : [${N}]
})));
}
if (${S}.value === undefined) {
if (${N} in input) {
newResult[${N}] = undefined;
}
} else {
newResult[${N}] = ${S}.value;
}
`)}d.write("payload.value = newResult;"),d.write("return payload;");const v=d.compile();return(_,S)=>v(u,_,S)};let c;const i=ou,b=!nT.jitless,z=b&&Xn0.value,s=t.catchall;let O;e._zod.parse=(u,d)=>{O??(O=o.value);const f=u.value;return i(f)?b&&z&&(d==null?void 0:d.async)===!1&&d.jitless!==!0?(c||(c=r(t.shape)),u=c(u,d),s?lT([],f,u,d,O,e):u):n(u,d):(u.issues.push({expected:"object",code:"invalid_type",input:f,inst:e}),u)}});function KR(e,t,n,o){for(const c of e)if(c.issues.length===0)return t.value=c.value,t;const r=e.filter(c=>!vb(c));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(c=>c.issues.map(i=>Ci(i,o,Xi())))}),t)}const l20=M0("$ZodUnion",(e,t)=>{nt.init(e,t),K1(e._zod,"optin",()=>t.options.some(r=>r._zod.optin==="optional")?"optional":void 0),K1(e._zod,"optout",()=>t.options.some(r=>r._zod.optout==="optional")?"optional":void 0),K1(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),K1(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){const r=t.options.map(c=>c._zod.pattern);return new RegExp(`^(${r.map(c=>Zh(c.source)).join("|")})$`)}});const n=t.options.length===1,o=t.options[0]._zod.run;e._zod.parse=(r,c)=>{if(n)return o(r,c);let i=!1;const b=[];for(const p of t.options){const z=p._zod.run({value:r.value,issues:[]},c);if(z instanceof Promise)b.push(z),i=!0;else{if(z.issues.length===0)return z;b.push(z)}}return i?Promise.all(b).then(p=>KR(p,r,e,c)):KR(b,r,e,c)}}),d20=M0("$ZodIntersection",(e,t)=>{nt.init(e,t),e._zod.parse=(n,o)=>{const r=n.value,c=t.left._zod.run({value:r,issues:[]},o),i=t.right._zod.run({value:r,issues:[]},o);return c instanceof Promise||i instanceof Promise?Promise.all([c,i]).then(([p,z])=>ZR(n,p,z)):ZR(n,c,i)}});function O4(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ra(e)&&Ra(t)){const n=Object.keys(t),o=Object.keys(e).filter(c=>n.indexOf(c)!==-1),r={...e,...t};for(const c of o){const i=O4(e[c],t[c]);if(!i.valid)return{valid:!1,mergeErrorPath:[c,...i.mergeErrorPath]};r[c]=i.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let o=0;o<e.length;o++){const r=e[o],c=t[o],i=O4(r,c);if(!i.valid)return{valid:!1,mergeErrorPath:[o,...i.mergeErrorPath]};n.push(i.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function ZR(e,t,n){const o=new Map;let r;for(const b of t.issues)if(b.code==="unrecognized_keys"){r??(r=b);for(const p of b.keys)o.has(p)||o.set(p,{}),o.get(p).l=!0}else e.issues.push(b);for(const b of n.issues)if(b.code==="unrecognized_keys")for(const p of b.keys)o.has(p)||o.set(p,{}),o.get(p).r=!0;else e.issues.push(b);const c=[...o].filter(([,b])=>b.l&&b.r).map(([b])=>b);if(c.length&&r&&e.issues.push({...r,keys:c}),vb(e))return e;const i=O4(t.value,n.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}const f20=M0("$ZodEnum",(e,t)=>{nt.init(e,t);const n=oT(t.entries),o=new Set(n);e._zod.values=o,e._zod.pattern=new RegExp(`^(${n.filter(r=>Cn0.has(typeof r)).map(r=>typeof r=="string"?w3(r):r.toString()).join("|")})$`),e._zod.parse=(r,c)=>{const i=r.value;return o.has(i)||r.issues.push({code:"invalid_value",values:n,input:i,inst:e}),r}}),A20=M0("$ZodTransform",(e,t)=>{nt.init(e,t),e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new tT(e.constructor.name);const r=t.transform(n.value,n);if(o.async)return(r instanceof Promise?r:Promise.resolve(r)).then(i=>(n.value=i,n));if(r instanceof Promise)throw new Xb;return n.value=r,n}});function JR(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const dT=M0("$ZodOptional",(e,t)=>{nt.init(e,t),e._zod.optin="optional",e._zod.optout="optional",K1(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),K1(e._zod,"pattern",()=>{const n=t.innerType._zod.pattern;return n?new RegExp(`^(${Zh(
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const s of e.seen.entries()){const O=s[1];if(t===s[0]){c(s);continue}if(e.external){const d=(p=e.external.registry.get(s[0]))==null?void 0:p.id;if(t!==s[0]&&d){c(s);continue}}if((z=e.metadataRegistry.get(s[0]))==null?void 0:z.id){c(s);continue}if(O.cycle){c(s);continue}if(O.count>1&&e.reused==="ref"){c(s);continue}}}function WT(e,t){var i,b,p;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=z=>{const s=e.seen.get(z);if(s.ref===null)return;const O=s.def??s.schema,u={...O},d=s.ref;if(s.ref=null,d){o(d);const q=e.seen.get(d),W=q.schema;if(W.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(O.allOf=O.allOf??[],O.allOf.push(W)):Object.assign(O,W),Object.assign(O,u),z._zod.parent===d)for(const v in O)v==="$ref"||v==="allOf"||v in u||delete O[v];if(W.$ref&&q.def)for(const v in O)v==="$ref"||v==="allOf"||v in q.def&&JSON.stringify(O[v])===JSON.stringify(q.def[v])&&delete O[v]}const f=z._zod.parent;if(f&&f!==d){o(f);const q=e.seen.get(f);if(q!=null&&q.schema.$ref&&(O.$ref=q.schema.$ref,q.def))for(const W in O)W==="$ref"||W==="allOf"||W in q.def&&JSON.stringify(O[W])===JSON.stringify(q.def[W])&&delete O[W]}e.override({zodSchema:z,jsonSchema:O,path:s.path??[]})};for(const z of[...e.seen.entries()].reverse())o(z[0]);const r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,(i=e.external)!=null&&i.uri){const z=(b=e.external.registry.get(t))==null?void 0:b.id;if(!z)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(z)}Object.assign(r,n.def??n.schema);const c=((p=e.external)==null?void 0:p.defs)??{};for(const z of e.seen.entries()){const s=z[1];s.def&&s.defId&&(c[s.defId]=s.def)}e.external||Object.keys(c).length>0&&(e.target==="draft-2020-12"?r.$defs=c:r.definitions=c);try{const z=JSON.parse(JSON.stringify(r));return Object.defineProperty(z,"~standard",{value:{...t["~standard"],jsonSchema:{input:iu(t,"input",e.processors),output:iu(t,"output",e.processors)}},enumerable:!1,writable:!1}),z}catch{throw new Error("Error converting schema to JSON.")}}function Yt(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return Yt(o.element,n);if(o.type==="set")return Yt(o.valueType,n);if(o.type==="lazy")return Yt(o.getter(),n);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault")return Yt(o.innerType,n);if(o.type==="intersection")return Yt(o.left,n)||Yt(o.right,n);if(o.type==="record"||o.type==="map")return Yt(o.keyType,n)||Yt(o.valueType,n);if(o.type==="pipe")return Yt(o.in,n)||Yt(o.out,n);if(o.type==="object"){for(const r in o.shape)if(Yt(o.shape[r],n))return!0;return!1}if(o.type==="union"){for(const r of o.options)if(Yt(r,n))return!0;return!1}if(o.type==="tuple"){for(const r of o.items)if(Yt(r,n))return!0;return!!(o.rest&&Yt(o.rest,n))}return!1}const qr0=(e,t={})=>n=>{const o=qT({...n,processors:t});return Rt(e,o),hT(o,e),WT(o,e)},iu=(e,t,n={})=>o=>{const{libraryOptions:r,target:c}=o??{},i=qT({...r??{},target:c,io:t,processors:n});return Rt(e,i),hT(i,e),WT(i,e)},hr0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Wr0=(e,t,n,o)=>{const r=n;r.type="string";const{minimum:c,maximum:i,format:b,patterns:p,contentEncoding:z}=e._zod.bag;if(typeof c=="number"&&(r.minLength=c),typeof i=="number"&&(r.maxLength=i),b&&(r.format=hr0[b]??b,r.format===""&&delete r.format,b==="time"&&delete r.format),z&&(r.contentEncoding=z),p&&p.size>0){const s=[...p];s.length===1?r.pattern=s[0].source:s.length>1&&(r.allOf=[...s.map(O=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:O.source}))])}},mr0=(e,t,n,o)=>{n.not={}},gr0
`)).join(`
`).replaceAll(qY,"").trim()}function oi0(e,t){return e.replace(F_,`$1${t}`).replace(P_,`$1${t}$3`).replace(D_,`$1${t}$3`)}function ri0(e,t){const n=BY(t)+Cq();return r0(NA({try:()=>F0.stringifyYaml(e),catch:o=>new Error("Unable to stringify props",{cause:o})}),Yg(o=>xY({language:"yaml",text:o})),Yg(o=>TY(o,n)))}function n5(e){return ao(e.startTime)+e.durationMinutes}function mt(e){return e.startTime.clone().add(e.durationMinutes,"minutes")}function xi(e){return Object.hasOwn(e,"startTime")||!e.isAllDayEvent}const o5=":";function wT(e){const t=[];return t.push(e.calendar.name,e.startTime.toISOString(!1),e.summary),t.join(o5)}function S3(e){if(kM(e))return wT(e);const t=[];if(xi(e)&&t.push(String(ao(e.startTime)),String(n5(e))),e.location){const{path:n,position:{start:{line:o}}}=e.location;t.push(n,String(o))}return t.push(e.text),t.join(o5)}function TT(e){var n;if(kM(e))return wT(e);const t=[];return t.push(((n=e.location)==null?void 0:n.path)??"blank",String(ao(e.startTime)),String(e.durationMinutes),e.text),t.join(o5)}function kT(e){let t;if(xT(e)){const n=e.location;m0.isNotVoid(n,`Did not find location on task$ ${Ii(e)}`),t=d2(n,o=>{o.position.start.line=o.position.end.line+1})}return{...e,location:t,id:o3()}}function E3(e,t,n,o=" - "){const r=Mi0(e),c=pi0(r,t);return`${r.format(n)}${o}${c.format(n)}`}function BT(){return{withTime:[],noTime:[]}}function Go(e){return e.format(gq)}function ST(e){const t=E3(ao(e.startTime),e.durationMinutes,me(Ct).timestampFormat),n=xq(e),o=e.isAllDayEvent?c5(rM(e.text)):fi0(rM(e.text),t),r=oi0(o,Go(e.startTime)),c=e.text.split(`
`).slice(1).map(b=>Cq()+b).join(`
`);let i=`${n} ${r}`;return c&&(i+=`
`,i+=c),e.children&&e.children.length>0&&(i+=`
`,i+=e.children.map(b=>b5(b," ")).join(`
`)),i}function ci0(e,t){const n=dY.exec(e);if(n){const o=n[0];return e.slice(0,n.index)+t+o}return e+t}function ET(e){const{day:t,startMinutes:n,settings:o,location:r,text:c="New item",status:i,isAllDayEvent:b=!1}=e;return{location:r,id:o3(),durationMinutes:o.defaultDurationMinutes,text:c,startTime:DT(n,t),isAllDayEvent:b,symbol:"-",status:i||o.eventFormatOnCreation==="task"?o.taskStatusOnCreation:void 0}}function Ii(e){return kM(e)?e.summary:xe.flow(rM,kY,r5)(e.text)}function XT(e,t){const n=e.startTime.clone().startOf("day"),o=mt(e).clone().endOf("day"),r=t.start.clone().startOf("day"),c=t.end.clone().add(1,"day").startOf("day"),i={...e};return n.isBefore(r)&&(i.durationMinutes=mt(e).diff(r,"minutes"),i.startTime=r,i.truncated=[...i.truncated??[],"left"]),o.isAfter(c)&&(i.durationMinutes=hr(i.startTime,c),i.truncated=[...i.truncated??[],"right"]),i}function r5(e){return e.replace(la,"")}function c5(e){return r5(e).replace(wO,"").trim().replace(/\s+/g," ")}function CT(e,t){return e.startTime.isSame(t.startTime)&&e.durationMinutes===t.durationMinutes&&e.isAllDayEvent===t.isAllDayEvent}function xT(e){return $_.some(t=>t.test(e.text))}function i5(e,t,n){const o=e.startTime.isBefore(t)?t:e.startTime,r=mt(e),i=(r.isAfter(n)?n:r).diff(o,"minutes");return{...e,startTime:o,durationMinutes:i}}function d4(e,t){const n=[];return t.showTimestampInTaskBlock&&xi(e)&&n.push(E3(ao(e.startTime),e.durationMinutes,t.timestampFormat,V8)),kM(e)&&n.push(e.calendar.name),n.join(` ${W$} `)}function IT(e){var r;const t=xe.flow(j_,ni0,c5)(e),[,...n]=e.text.split(`
`),o=(r=e.children)==null?void 0:r.map(c=>b5(c)).join(`
`);return{listItem:t,paragraphs:n.join(`
`),nestedListItems:o}}function b5(e,t=""){const n=j_(e),[,...o]=e.text.split(`
`);let r=t+n;if(o){const c=U_(o,t+Cq()).join(`
`);r+=`
`,r+=c}return(e.children??[]).reduce((c,i)=>{const b=" "+t;return c+`
`+b5(i,b)},r)}const ii0=Object.freeze(Object.defineProperty({__proto__:null,appendText:ci0,clamp:i5,copy:kT,create:ET,createTimestamp:E3,getBlockProps:d4,getDayKey:Go,getEmptyTasksForDay:BT,getEndMinutes:n5,getEndTime:mt,getNotificationKey:TT,getOneLineSummary:Ii,getRenderKey:S3,hasDateFromProp:xT,isTimeEqual:CT,isWithTime:xi,removeTimestamp:c5,removeTimestampFromStart:r5,toRenderableMarkdown:IT,toString:ST,truncateToRange:XT},Symbol.toStringTag,{value:"Module"})),PT=window.moment;function ao(e){return e.diff(e.clone().startOf("day"),"minutes")}function hr(e,t){return Math.abs(e.diff(t,"minutes"))}function bi0(e,t){const n=e.startOf("isoWeek"),o={monday:0,sunday:1,saturday:2,friday:3};return n.subtract(o[t],"days")}function DT(e,t){return t.clone().startOf("day").add(e,"minutes")}function Mi0(e){return PT().startOf("day").add(e,"minutes")}function Oy(e){return PT().startOf("day").add(e,"hours")}function pi0(e,t){return e.clone().add(t,"minutes")}function uy(e,t,n){return n.isBefore(e)?"past":t.isAfter(e)?"future":"present"}function FT(e,t,n=[]){if(!e.isValid()||!t.isValid())throw new Error(`Invalid Moment objects: ${e}, ${t}`);const o=e.clone().endOf("day");if(t.isBefore(o))return[...n,[e,t]];const r=e.clone().add(1,"day").startOf("day");return FT(r,t,[...n,[e,o]])}function ai0(e){return e.isoWeekday()===6||e.isoWeekday()===7}function zi0(e,t){return window.moment.utc(t.diff(e,"milliseconds"))}function si0(e,t){return e.isSameOrAfter(t.start)&&e.isBefore(t.end)}function M5(e,t){return e.start.isBefore(t.end)&&e.end.isAfter(t.start)}function Oi0(e,t){m0.isExactly(e,!0,t)}function ui0(e,t){Oi0(t.isSameOrAfter(e),`End moment must be the same or after start moment. Received: ${JSON.stringify({start:e,end:t})}`);const n=[],o=e.clone().startOf("day"),r=t.clone().startOf("day");for(;o.isSameOrBefore(r);)n.push(o.clone()),o.add(1,"day");return n}function li0(e,t){return ui0(e,t).map(Go)}function _2(e){return window.moment(e,window.moment.ISO_8601,!0)}function ly(e,t){const n=uY.exec(e);if(n===null)throw new Error(`${e} is not a valid timestamp`);const[,o,r,c]=n;let i=parseInt(o);if(isNaN(i))throw new Error(`${e} is not a valid timestamp`);const b=parseInt(r)||0;(c==null?void 0:c.toLowerCase().trim())==="pm"&&i<12&&(i+=12),(c==null?void 0:c.toLowerCase().trim())==="am"&&i===12&&(i=0);const p=window.moment.duration({hours:i,minutes:b});return t.clone().startOf("day").add(p)}function di0(e){const t=e.trim();return la.exec(t)||wO.exec(t)}function fi0(e,t){return la.test(e)?e.replace(la,t):wO.test(e)?e.replace(wO,t):`${t} ${e}`}function bu({line:e,day:t}){const n=di0(e);if(!(n!=null&&n.groups))return null;const{groups:{start:o,end:r}}=n;m0.isNotVoid(o,"Expected to find 'start' group on a timestamp regexp match");const c=ly(o,t);let i;if(r){const b=ly(r,t);b.isAfter(c)?i=hr(b,c):i=hr(c,b.clone().add(1,"day"))}return{startTime:c,durationMinutes:i}}function Ai0(e,t){const n=window.moment(),o=bu({line:e,day:n}),r=bu({line:t,day:n});return!o&&!r?0:o?r?o.startTime.diff(r.startTime):-1:1}function p5(e){return Li0(QH(e,{bullet:"-",listItemIndent:"tab"}).replace(hY,"- ").replace(WY,"["))}function qi0(e){const t=ua(e),n={...t,children:t.children.map(o=>a5(o,$T))};return p5(n)}function a5(e,t=hi0){return jT(e)?{...e,children:e.children.map(n=>({...n,children:n.children.map(o=>a5(o,t))})).toSorted(t)}:e}function f4(e,t){if(t(e))return e;if(UT(e))for(const n of e.children){const o=f4(n,t);if(o)return o}}function dy(e,t,n){return d2(e,o=>{const r=o.children.findIndex(c=>fy(c)&&RM(c)===t);if(r>=0){const c=o.children.slice(r+1),i=c.findIndex(s=>fy(s)),b=i===-1?void 0:i,z=c.slice(0,b).find(s=>jT(s));z?z.children.push(n):o.children.splice(r+1,0,{type:"list",children:[n]})}else o.children.push({type:"heading",depth:1,children:[{type:"text",value:t}]},{type:"list",children:[n]})})}function hi0(e,t){const n=RM(e),o=RM(t);return n.localeCompare(o)}function $T(e,t){const n=RM(e),o=RM(t);return Ai0(n,o)}function RM(e){if(UT(e)){if(e.children.length===0)return"";const t=e.children[0];return m0.isNotVoid(t),RM(t)}return Wi0(e)?e.value:""}function UT(e){retur
`),z=i.filter(u=>u.type==="mdast");let O=i.filter(u=>u.type!=="mdast").toSorted(vi0).toReversed().reduce(_i0,p).join(`
`);return z.length>0&&(O=Xq(O,o.plannerHeading,u=>Ni0(u,z),{createHeading:!0,settings:o})),n?n(O):O}}))}function Ni0(e,t){const n=ua(e),o=t.reduce((r,{updateFn:c})=>c(r),n);return p5(o)}class wi0{constructor(t){this.vaultFacade=t,this.history=[],this.writeTransaction=async n=>{const o={},r=n.map(({path:c,updateFn:i})=>this.vaultFacade.editFile(c,b=>(o[c]=b,i(b))));return this.history.push(o),Promise.all(r)},this.undo=async()=>{const n=this.history.pop();if(!n)throw new Error("No updates to revert");const o=Object.entries(n).map(([r,c])=>this.vaultFacade.editFile(r,()=>c));return Promise.all(o)}}}function Ti0(e,t){return t.reduce((n,o)=>{const r=e.find(c=>c.id===o.id);return r||n.added.push(o),r&&!CT(r,o)&&n.updated.push(o),n},{updated:[],added:[]})}function ki0(e){var d,f;const{type:t,task:n,settings:o,periodicNotes:r}=e,c=ST(n);if(t==="added")return n.location?{type:"created",contents:c,path:n.location.path,target:(f=(d=n.location.position)==null?void 0:d.start)==null?void 0:f.line}:{type:"mdast",path:r.createDailyNotePath(n.startTime),updateFn:q=>{const W=ua(c),h=f4(W,Ay);return m0.isNotVoid(h),A4(h),dy(q,o.plannerHeading,h)}};m0.isNotVoid(n.location);const{path:i}=n.location,b=n.location.position.start.line,p=c.trim().split(`
`).length-1,z=b+p,s={start:n.location.position.start,end:{line:z,col:0}};if(t==="deleted")return{type:"deleted",path:i,range:s};const O=r.getDateFromPath(i,"day");return O&&!n.startTime.isSame(O,"day")?[{type:"deleted",path:i,range:s},{type:"mdast",path:r.createDailyNotePath(n.startTime),updateFn:q=>{const W=ua(c),h=f4(W,Ay);return m0.isNotVoid(h),A4(h),dy(q,o.plannerHeading,h)}}]:{type:"updated",path:i,range:{start:s.start,end:s.start},contents:rM(c)}}function Bi0(e,t,n){return Object.entries(e).flatMap(([o,r])=>r.map(c=>({type:o,task:c}))).reduce((o,{type:r,task:c})=>{const i=ki0({type:r,task:c,settings:t,periodicNotes:n});return o.concat(i)},[])}class Si0 extends F0.Modal{constructor(t,n){super(t);const{cta:o,onAccept:r,text:c,title:i,onCancel:b}=n;this.contentEl.createEl("h2",{text:i}),this.contentEl.createEl("p",{text:c}),this.contentEl.createDiv("planner-confirmation-modal-buttons",p=>{p.createEl("button",{cls:"mod-cta",text:o}).addEventListener("click",async z=>{await r(z),this.close()}),p.createEl("button",{text:"Cancel"}).addEventListener("click",z=>{b(z),this.close()})})}}async function Ei0(e){return new Promise(t=>{const{app:n,...o}=e;new Si0(n,{...o,onAccept:async()=>t(!0),onCancel:()=>t(!1)}).open()})}var l1=(e=>(e.DRAG="DRAG",e.DRAG_AND_SHIFT_OTHERS="DRAG_AND_SHIFT_OTHERS",e.DRAG_AND_SHRINK_OTHERS="DRAG_AND_SHRINK_OTHERS",e.RESIZE="RESIZE",e.RESIZE_FROM_TOP="RESIZE_FROM_TOP",e.RESIZE_AND_SHIFT_OTHERS="RESIZE_AND_SHIFT_OTHERS",e.RESIZE_FROM_TOP_AND_SHIFT_OTHERS="RESIZE_FROM_TOP_AND_SHIFT_OTHERS",e.RESIZE_AND_SHRINK_OTHERS="RESIZE_AND_SHRINK_OTHERS",e.RESIZE_FROM_TOP_AND_SHRINK_OTHERS="RESIZE_FROM_TOP_AND_SHRINK_OTHERS",e.CREATE="CREATE",e))(l1||{});class Xi0 extends F0.SuggestModal{constructor(t){super(t.app),this.props=t,this.setInstructions([{command:"esc",purpose:"to dismiss"},{command:"↵",purpose:"to confirm"}])}onOpen(){super.onOpen(),this.props.initialValue!==void 0&&(this.inputEl.value=this.props.initialValue,this.inputEl.dispatchEvent(new Event("input")),this.inputEl.select())}getSuggestions(t){return[{text:t}]}renderSuggestion(t,n){n.createDiv({text:this.props.getDescriptionText(t.text)})}onChooseSuggestion(t,n){this.props.onChooseSuggestion(t)}close(){window.setTimeout(()=>{this.props.onClose(),super.close()})}}async function hy(e){return new Promise(t=>{new Xi0({app:e.app,initialValue:e.initialText,getDescriptionText:e.getDescriptionText,onChooseSuggestion:async({text:n})=>{t(n)},onClose:()=>{t(void 0)}}).open()})}const Ci0=e=>async t=>{const n={type:"updated",path:t.path,range:{start:t.position,end:t.position},contents:t.contents},o=HT({updates:[n],settings:e.settings()});await e.transactionWriter.writeTransaction(o),e.onConfirmed()},xi0=e=>{const{settings:t,transactionWriter:n,vaultFacade:o,onEditCanceled:r,onEditConfirmed:c,periodicNotes:i,getTextInput:b,getConfirmationInput:p}=e;function z(s){return s.reduce((O,u)=>o.checkFileExists(u)?O:O.concat(u),[])}return async(s,O,u)=>{const d=Ti0(s,O);if(u===l1.CREATE){const R=d.added[0];m0.isNotVoid(R);const _=await b();if(!_)return r(),!1;d.added[0]={...R,text:_}}const f=Bi0(d,t(),i),q=t().sortTasksInPlanAfterEdit?R=>Xq(R,t().plannerHeading,qi0):void 0,W=HT({updates:f,afterEach:q,settings:t()}),h=[...new Set([...W.map(({path:R})=>R)])],v=z(h);if(v.length>0){if(!await p({title:"Need to create files",text:`The following files need to be created: ${v.join("; ")}`,cta:"Create"}))return r(),!1;await Promise.all(v.map(async _=>{const S=i.getDateFromPath(_,"day");m0.isNotVoid(S),await i.createDailyNote(S)}))}return await n.writeTransaction(W),c(),!0}};function qt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var Ii0=typeof Symbol=="function"&&Symbol.observable||"@@observable",Wy=Ii0,lf=()=>Math.random().toString(36).substring(7).split("").join("."),Pi0={INIT:`@@redux/INIT${lf()}`,REPLACE:`@@redux/REPLACE${lf()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${lf()}`},Mu=Pi0;function z5(e){if(typeof e!="object"||e===null)return!1;let
`).slice(1).map(F=>F.trim()).join(`
`),P=E.length>0?S+`
`+E:S;return{id:v,text:P,symbol:N,task:y,position:W.position,path:q,children:[],logEntries:[],planEntries:[]}}function u(f,q,W){const h=r.getDateFromPath(W,"day"),v=Kb0(f,c.plannerHeading);if(!f.listItems)return[];const R=f.listItems.reduce((y,E)=>{var H,I;const P=Ty(q,E.position),F=O({path:W,contents:q,listItemCache:E});if(h&&b(E.position,v)){const j=bu({line:F.text,day:h}),b0=kp(F.id,"daily"),G=[Go(h)];if(j){const{startTime:z0,durationMinutes:q0}=j,Y0=mt({startTime:z0,durationMinutes:q0??c.defaultDurationMinutes});F.planEntries.push({id:b0,dayKeys:G,parent:F.id,start:z0.format(_o),end:Y0.format(_o)})}else W4(E)&&F.planEntries.push({id:b0,dayKeys:G,parent:F.id,start:h.format(_o),end:h.clone().add(c.defaultDurationMinutes,"minutes").format(_o),isAllDay:!0})}if(W4(E)){const j=z({firstLine:F.text,parentId:F.id});F.planEntries.push(...j);const b0=t.getListPropsFromListItem(E,P);F.propsPosition=b0==null?void 0:b0.position,F.logEntries=((I=(H=b0==null?void 0:b0.parsed.planner)==null?void 0:H.log)==null?void 0:I.map(({start:G,end:z0},q0)=>i({start:G,end:z0,parent:F.id,id:kp(F.id,q0)})))||[]}return(F.planEntries.length>0||F.logEntries.length>0)&&y.push(F),y},[]);if(R.length===0)return R;const _=Gb0(f.listItems),S=R.reduce((y,E)=>(y[E.id]=E,y),{});function N(y){var E;return{...y,children:((E=_[y.position.start.line])==null?void 0:E.map(P=>{const F=kp(W,P.position.start.line),I=S[F]||O({path:W,listItemCache:P,contents:q});return N(I)}))||[]}}return R.map(y=>N(y))}async function d(f){const q=n.getCache(f);if(!(q!=null&&q.listItems))return;const W=o.getFileByPath(f);m0.isNotVoid(W,"Inconsistent app state: indexing requested for a non-existent file");const h=await o.cachedRead(W),v=u(q,h,f),R=xe.uniqBy(_=>_.id,v.flatMap(uk));return{taskEntries:R==null?void 0:R.map(({logEntries:_,planEntries:S,...N})=>({logEntries:_==null?void 0:_.map(y=>y.id),planEntries:S==null?void 0:S.map(y=>y.id),...N})),logEntries:v.flatMap(_=>_.logEntries||[]),planEntries:v.flatMap(_=>_.planEntries||[])}}return async function(q,W){const v=q.payload.map(async _=>{try{const S=await d(_);if(S)return{path:_,...S}}catch(S){console.error(new Error(`Failed to parse file ${_}`,{cause:S}))}}),R=(await Promise.all(v)).filter(_=>_!==void 0);W.dispatch(Jb0(R))}}function nM0(e,t){return t.stat.mtime-e.stat.mtime}const Du=class Du{constructor(t,n,o,r,c){this.plugin=t,this.workspace=n,this.vault=o,this.metadataCache=r,this.dispatch=c}load(){this.workspace.onLayoutReady(async()=>{this.registerEvents(),await this.initialLoad()})}async initialLoad(){const t=this.vault.getMarkdownFiles().toSorted(nM0).map(n=>n.path);xe.chunk(Du.INITIAL_LOAD_CHUNK_SIZE,t).forEach(n=>this.dispatch(sO(n)))}registerEvents(){const{plugin:t,metadataCache:n,dispatch:o,vault:r}=this;t.registerEvent(n.on("changed",c=>{o(sO([c.path]))})),t.registerEvent(r.on("delete",c=>{o(ky({path:c.path}))})),t.registerEvent(r.on("rename",async(c,i)=>{c instanceof F0.TFile&&(o(ky({path:i})),o(sO([c.path])))}))}};Du.INITIAL_LOAD_CHUNK_SIZE=100;let m4=Du;const oM0=5*1e3,D3=yi(window.moment(),e=>{const t=setInterval(()=>{e(window.moment())},oM0);return()=>{clearInterval(t)}}),Pi=Do(D3),A5=xt(D3,e=>t=>e.isSame(t,"day")),rM0={visibleDays:[]},q5=x3({name:"obsidian",initialState:rM0,reducers:e=>({visibleDaysUpdated:e.reducer((t,n)=>{t.visibleDays=n.payload})}),selectors:{selectVisibleDays:e=>e.visibleDays}}),{visibleDaysUpdated:cM0}=q5.actions,{selectVisibleDays:h5}=q5.selectors,iM0=Oz(h5,e=>[...new Set(e)].sort().map(t=>window.moment(t,gq))),bM0={},MM0=Object.freeze(Object.defineProperty({__proto__:null,default:bM0},Symbol.toStringTag,{value:"Module"})),pM0=Wq(MM0);function lk(e,t){return function(){return e.apply(t,arguments)}}const{toString:aM0}=Object.prototype,{getPrototypeOf:W5}=Object,F3=(e=>t=>{const n=aM0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),x2=e=>(e=e.toLowerCase(),t=>F3(t)===e),$3=e=>t=>typeof t===e,{isArray:UM}=Array,La=$3("undefined");function zM0(e){return e!==null&&!La(e)&&e.constructor!==null&&!La(e.constructor)&&zo(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}co
`).forEach(function(i){r=i.indexOf(":"),n=i.substring(0,r).trim().toLowerCase(),o=i.substring(r+1).trim(),!(!n||t[n]&&ip0[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t};const xy=Symbol("internals");function Bp(e){return e&&String(e).trim().toLowerCase()}function uO(e){return e===!1||e==null?e:n0.isArray(e)?e.map(uO):String(e)}function Mp0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}const pp0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Af(e,t,n,o,r){if(n0.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!n0.isString(t)){if(n0.isString(o))return t.indexOf(o)!==-1;if(n0.isRegExp(o))return o.test(t)}}function ap0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function zp0(e,t){const n=n0.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,c,i){return this[o].call(this,t,r,c,i)},configurable:!0})})}class H3{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function c(b,p,z){const s=Bp(p);if(!s)throw new Error("header name must be a non-empty string");const O=n0.findKey(r,s);(!O||r[O]===void 0||z===!0||z===void 0&&r[O]!==!1)&&(r[O||p]=uO(b))}const i=(b,p)=>n0.forEach(b,(z,s)=>c(z,s,p));return n0.isPlainObject(t)||t instanceof this.constructor?i(t,n):n0.isString(t)&&(t=t.trim())&&!pp0(t)?i(bp0(t),n):t!=null&&c(n,t,o),this}get(t,n){if(t=Bp(t),t){const o=n0.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return Mp0(r);if(n0.isFunction(n))return n.call(this,r,o);if(n0.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bp(t),t){const o=n0.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Af(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function c(i){if(i=Bp(i),i){const b=n0.findKey(o,i);b&&(!n||Af(o,o[b],b,n))&&(delete o[b],r=!0)}}return n0.isArray(t)?t.forEach(c):c(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const c=n[o];(!t||Af(this,this[c],c,t,!0))&&(delete this[c],r=!0)}return r}normalize(t){const n=this,o={};return n0.forEach(this,(r,c)=>{const i=n0.findKey(o,c);if(i){n[i]=uO(r),delete n[c];return}const b=t?ap0(c):String(c).trim();b!==c&&delete n[c],n[b]=uO(r),o[b]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return n0.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&n0.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(r=>o.set(r)),o}static accessor(t){const o=(this[xy]=this[xy]={accessors:{}}).accessors,r=this.prototype;function c(i){const b=Bp(i);o[b]||(zp0(r,i),o[b]=!0)}return n0.isArray(t)?t.forEach(c):c(t),this}}H3.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);n0.reduceDescriptors(H3.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});n0.freezeMethods(H3);var Wr=H3;function qf(e,t){const n=this||R5,o=t||n,r=Wr.from(o.headers);let c=o.data;return n0.forEach(e,function(b){c=b.call(n,c,r.normalize(),t?t.status:void 0)}),r.normalize(),c}function Tk(e){return!!(e&&e.__CANCEL__)}function lz(e,t,n){S1.call(this,e??"canceled",S1.ERR_CANCELED,t,n),this.name="CanceledError"}n0.inherits(lz,S1,{__CANCEL__:!0});function sp0(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new S1("Request failed with status code "+n.status,[S1.ERR_BAD_REQUEST,S1.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var Op0=R2.hasStandardBrowserEnv?{write(e,t,n,o,r,c){const i=[e+"="+encodeURIComponent(t)];n0.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),n0.isString(o)&&i.push("path="+o),n0.isString(r)&&i.push("domain="+r),c===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function up0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lp0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function kk(e,t){return e&&!up0(t)?lp0(e,t):t}var dp0=R2.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(c){let i=c;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=r(window.location.href),function(i){const b=n0.isString(i)?r(i):i;return b.protocol===o.protocol&&b.host===o.host}}():function(){return function(){return!0}}();function fp0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ap0(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,c=0,i;return t=t!==void 0?t:1e3,function(p){const z=Date.now(),s=o[c];i||(i=z),n[r]=p,o[r]=z;let O=c,u=0;for(;O!==r;)u+=n[O++],O=O%e;if(r=(r+1)%e,r===c&&(c=(c+1)%e),z-i<t)return;const d=s&&z-s;return d?Math.round(u*1e3/d):void 0}}function Iy(e,t){let n=0;const o=Ap0(50,250);return r=>{const c=r.loaded,i=r.lengthComputable?r.total:void 0,b=c-n,p=o(b),z=c<=i;n=c;const s={loaded:c,total:i,progress:i?c/i:void 0,bytes:b,rate:p||void 0,estimated:p&&i&&z?(i-c)/p:void 0,event:r};s[t?"download":"upload"]=!0,e(s)}}const qp0=typeof XMLHttpRequest<"u";var hp0=qp0&&function(e){return new Promise(function(n,o){let r=e.data;const c=Wr.from(e.headers).normalize();let{responseType:i,withXSRFToken:b}=e,p;function z(){e.cancelToken&&e.cancelToken.unsubscribe(p),e.signal&&e.signal.removeEventListener("abort",p)}let s;if(n0.isFormData(r)){if(R2.hasStandardBrowserEnv||R2.hasStandardBrowserWebWorkerEnv)c.setContentType(!1);else if((s=c.getContentType())!==!1){const[q,...W]=s?s.split(";").map(h=>h.trim()).filter(Boolean):[];c.setContentType([q||"multipart/form-data",...W].join("; "))}}let O=new XMLHttpRequest;if(e.auth){const q=e.auth.username||"",W=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";c.set("Authorization","Basic "+btoa(q+":"+W))}const u=kk(e.baseURL,e.url);O.open(e.method.toUpperCase(),vk(u,e.params,e.paramsSerializer),!0),O.timeout=e.timeout;function d(){if(!O)return;const q=Wr.from("getAllResponseHeaders"i
`+c.map(Py).join(`
`):" "+Py(c[0]):"as no adapter specified";throw new S1("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return o},adapters:y4};function hf(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lz(null,e)}function Dy(e){return hf(e),e.headers=Wr.from(e.headers),e.data=qf.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Bk.getAdapter(e.adapter||R5.adapter)(e).then(function(o){return hf(e),o.data=qf.call(e,e.transformResponse,o),o.headers=Wr.from(o.headers),o},function(o){return Tk(o)||(hf(e),o&&o.response&&(o.response.data=qf.call(e,e.transformResponse,o.response),o.response.headers=Wr.from(o.response.headers))),Promise.reject(o)})}const Fy=e=>e instanceof Wr?e.toJSON():e;function yM(e,t){t=t||{};const n={};function o(z,s,O){return n0.isPlainObject(z)&&n0.isPlainObject(s)?n0.merge.call({caseless:O},z,s):n0.isPlainObject(s)?n0.merge({},s):n0.isArray(s)?s.slice():s}function r(z,s,O){if(n0.isUndefined(s)){if(!n0.isUndefined(z))return o(void 0,z,O)}else return o(z,s,O)}function c(z,s){if(!n0.isUndefined(s))return o(void 0,s)}function i(z,s){if(n0.isUndefined(s)){if(!n0.isUndefined(z))return o(void 0,z)}else return o(void 0,s)}function b(z,s,O){if(O in t)return o(z,s);if(O in e)return o(void 0,z)}const p={url:c,method:c,data:c,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:b,headers:(z,s)=>r(Fy(z),Fy(s),!0)};return n0.forEach(Object.keys(Object.assign({},e,t)),function(s){const O=p[s]||r,u=O(e[s],t[s],s);n0.isUndefined(u)&&O!==b||(n[s]=u)}),n}const Sk="1.6.7",y5={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{y5[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const $y={};y5.transitional=function(t,n,o){function r(c,i){return"[Axios v"+Sk+"] Transitional option '"+c+"'"+i+(o?". "+o:"")}return(c,i,b)=>{if(t===!1)throw new S1(r(i," has been removed"+(n?" in "+n:"")),S1.ERR_DEPRECATED);return n&&!$y[i]&&($y[i]=!0,console.warn(r(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(c,i,b):!0}};function mp0(e,t,n){if(typeof e!="object")throw new S1("options must be an object",S1.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const c=o[r],i=t[c];if(i){const b=e[c],p=b===void 0||i(b,c,e);if(p!==!0)throw new S1("option "+c+" must be "+p,S1.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new S1("Unknown option "+c,S1.ERR_BAD_OPTION)}}var L4={assertOptions:mp0,validators:y5};const Vr=L4.validators;class su{constructor(t){this.defaults=t,this.interceptors={request:new Cy,response:new Cy}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const c=r.stack?r.stack.replace(/^.+\n/,""):"";o.stack?c&&!String(o.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(o.stack+=`
`+c):o.stack=c}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=yM(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:c}=n;o!==void 0&&L4.assertOptions(o,{silentJSONParsing:Vr.transitional(Vr.boolean),forcedJSONParsing:Vr.transitional(Vr.boolean),clarifyTimeoutError:Vr.transitional(Vr.boolean)},!1),r!=null&&(n0.isFunction(r)?n.paramsSerializer={serialize:r}:L4.assertOptions(r,{encode:Vr.function,serialize:Vr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=c&&n0.merge(c.common,c[n.method]);c&&n0.forEach(["delete","get","head","post","put","patch","common"],f=>{delete c[f]}),n.headers=Wr.concat(i,c);const b=[];let p=!0;this.interceptors.request.forEach(function(q){typeof q.runWhen=="function"&&q.runWhen(n)===!1||(p=p&&q.synchronous,b.unshift(q.fulfilled,q.rejected))});const z=[];this.interceptors.response.forEach(function(q){z.push(q.fulfilled,q.rejected)});let s,O=0,u;if(!p){const f=[Dy.bind(this),void 0];for(f.unshift.apply(f,b),f.push.apply(f,z),u=f.length,s=Promise.resolve(n);O<u;)s=s.then(f[O++],f[O++]);return s}u=b.length;let d=n;for(O=0;O<u;){const f=b[O++],q=b[O++];try{d=f(d)}catch(W){q.call(this,W);break}}try{s=Dy.call(this,d)}catch(f){return Promise.reject(f)}for(O=0,u=z.length;O<u;)s=s.then(z[O++],z[O++]);return s}getUri(t){t=yM(this.defaults,t);const n=kk(t.baseURL,t.url);return vk(n,t.params,t.paramsSerializer)}}n0.forEach(["delete","get","head","options"],function(t){su.prototype[t]=function(n,o){return this.request(yM(o||{},{method:t,url:n,data:(o||{}).data}))}});n0.forEach(["post","put","patch"],function(t){function n(o){return function(c,i,b){return this.request(yM(b||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:c,data:i}))}}su.prototype[t]=n(),su.prototype[t+"Form"]=n(!0)});var lO=su;class L5{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(c){n=c});const o=this;this.promise.then(r=>{if(!o._listeners)return;let c=o._listeners.length;for(;c-- >0;)o._listeners[c](r);o._listeners=null}),this.promise.then=r=>{let c;const i=new Promise(b=>{o.subscribe(b),c=b}).then(r);return i.cancel=function(){o.unsubscribe(c)},i},t(function(c,i,b){o.reason||(o.reason=new lz(c,i,b),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new L5(function(r){t=r}),cancel:t}}}var gp0=L5;function Rp0(e){return function(n){return e.apply(null,n)}}function yp0(e){return n0.isObject(e)&&e.isAxiosError===!0}const v4={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(v4).forEach(([e,t])=>{v4[t]=e});var Lp0=v4;function Ek(e){const t=new lO(e),n=lk(lO.prototype.
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
var Hk;function W0(){return Hk.apply(null,arguments)}function va0(e){Hk=e}function Ko(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function mi(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function D1(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function v5(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(D1(e,t))return!1;return!0}function pn(e){return e===void 0}function wr(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function fz(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Yk(e,t){var n=[],o,r=e.length;for(o=0;o<r;++o)n.push(t(e[o],o));return n}function cc(e,t){for(var n in t)D1(t,n)&&(e[n]=t[n]);return D1(t,"toString")&&(e.toString=t.toString),D1(t,"valueOf")&&(e.valueOf=t.valueOf),e}function I2(e,t,n,o){return fB(e,t,n,o,!0).utc()}function _a0(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function b1(e){return e._pf==null&&(e._pf=_a0()),e._pf}var _4;Array.prototype.some?_4=Array.prototype.some:_4=function(e){var t=Object(this),n=t.length>>>0,o;for(o=0;o<n;o++)if(o in t&&e.call(this,t[o],o,t))return!0;return!1};function _5(e){if(e._isValid==null){var t=b1(e),n=_4.call(t.parsedDateParts,function(r){return r!=null}),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&t.charsLeftOver===0&&t.unusedTokens.length===0&&t.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(e))e._isValid=o;else return o}return e._isValid}function cl(e){var t=I2(NaN);return e!=null?cc(b1(t),e):b1(t).userInvalidated=!0,t}var Hy=W0.momentProperties=[],yf=!1;function N5(e,t){var n,o,r,c=Hy.length;if(pn(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),pn(t._i)||(e._i=t._i),pn(t._f)||(e._f=t._f),pn(t._l)||(e._l=t._l),pn(t._strict)||(e._strict=t._strict),pn(t._tzm)||(e._tzm=t._tzm),pn(t._isUTC)||(e._isUTC=t._isUTC),pn(t._offset)||(e._offset=t._offset),pn(t._pf)||(e._pf=b1(t)),pn(t._locale)||(e._locale=t._locale),c>0)for(n=0;n<c;n++)o=Hy[n],r=t[o],pn(r)||(e[o]=r);return e}function Az(e){N5(this,e),this._d=new Date(e._d!=null?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),yf===!1&&(yf=!0,W0.updateOffset(this),yf=!1)}function Zo(e){return e instanceof Az||e!=null&&e._isAMomentObject!=null}function Vk(e){W0.suppressDeprecationWarnings===!1&&typeof console<"u"&&console.warn&&console.warn("Deprecation warning: "+e)}function Ao(e,t){var n=!0;return cc(function(){if(W0.deprecationHandler!=null&&W0.deprecationHandler(null,e),n){var o=[],r,c,i,b=arguments.length;for(c=0;c<b;c++){if(r="",typeof arguments[c]=="object"){r+=`
[`+c+"] ";for(i in arguments[0])D1(arguments[0],i)&&(r+=i+": "+arguments[0][i]+", ");r=r.slice(0,-2)}else r=arguments[c];o.push(r)}Vk(e+`
Arguments: `+Array.prototype.slice.call(o).join("")+`
`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Yy={};function Gk(e,t){W0.deprecationHandler!=null&&W0.deprecationHandler(e,t),Yy[e]||(Vk(t),Yy[e]=!0)}W0.suppressDeprecationWarnings=!1;W0.deprecationHandler=null;function P2(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function Na0(e){var t,n;for(n in e)D1(e,n)&&(t=e[n],P2(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function N4(e,t){var n=cc({},e),o;for(o in t)D1(t,o)&&(mi(e[o])&&mi(t[o])?(n[o]={},cc(n[o],e[o]),cc(n[o],t[o])):t[o]!=null?n[o]=t[o]:delete n[o]);for(o in e)D1(e,o)&&!D1(t,o)&&mi(e[o])&&(n[o]=cc({},n[o]));return n}function w5(e){e!=null&&this.set(e)}var w4;Object.keys?w4=Object.keys:w4=function(e){var t,n=[];for(t in e)D1(e,t)&&n.push(t);return n};var wa0={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Ta0(e,t,n){var o=this._calendar[e]||this._calendar.sameElse;return P2(o)?o.call(t,n):o}function S2(e,t,n){var o=""+Math.abs(e),r=t-o.length,c=e>=0;return(c?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+o}var T5=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,xs=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Lf={},xb={};function S0(e,t,n,o){var r=o;typeof o=="string"&&(r=function(){return this[o]()}),e&&(xb[e]=r),t&&(xb[t[0]]=function(){return S2(r.apply(this,arguments),t[1],t[2])}),n&&(xb[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function ka0(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Ba0(e){var t=e.match(T5),n,o;for(n=0,o=t.length;n<o;n++)xb[t[n]]?t[n]=xb[t[n]]:t[n]=ka0(t[n]);return function(r){var c="",i;for(i=0;i<o;i++)c+=P2(t[i])?t[i].call(r,e):t[i];return c}}function dO(e,t){return e.isValid()?(t=Kk(t,e.localeData()),Lf[t]=Lf[t]||Ba0(t),Lf[t](e)):e.localeData().invalidDate()}function Kk(e,t){var n=5;function o(r){return t.longDateFormat(r)||r}for(xs.lastIndex=0;n>=0&&xs.test(e);)e=e.replace(xs,o),xs.lastIndex=0,n-=1;return e}var Sa0={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Ea0(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(T5).map(function(o){return o==="MMMM"||o==="MM"||o==="DD"||o==="dddd"?o.slice(1):o}).join(""),this._longDateFormat[e])}var Xa0="Invalid date";function Ca0(){return this._invalidDate}var xa0="%d",Ia0=/\d{1,2}/;function Pa0(e){return this._ordinal.replace("%d",e)}var Da0={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Fa0(e,t,n,o){var r=this._relativeTime[n];return P2(r)?r(e,t,n,o):r.replace(/%d/i,e)}function $a0(e,t){var n=this._relativeTime[e>0?"future":"past"];return P2(n)?n(t):n.replace(/%s/i,t)}var oa={};function Ft(e,t){var n=e.toLowerCase();oa[n]=oa[n+"s"]=oa[t]=e}function qo(e){return typeof e=="string"?oa[e]||oa[e.toLowerCase()]:void 0}function k5(e){var t={},n,o;for(o in e)D1(e,o)&&(n=qo(o),n&&(t[n]=e[o]));return t}var Zk={};function $t(e,t){Zk[e]=t}function Ua0(e){var t=[],n;for(n in e)D1(e,n)&&t.push({unit:n,priority:Zk[n]});return t.sort(function(o,r){return o.priority-r.priority}),t}function il(e){return e%4===0&&e%100!==0||e%400===0}function Jn(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function g1(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Jn(t)),n}function jM(e,t){return function(n){return n!=null?(Jk(this,e,n),W0.updateOffset(this,t),this):Ou(this,e)}}function Ou(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():N
W0.version="2.29.4";va0(be);W0.fn=O0;W0.min=us0;W0.max=ls0;W0.now=ds0;W0.utc=I2;W0.unix=UO0;W0.months=HO0;W0.isDate=fz;W0.locale=sc;W0.invalid=cl;W0.duration=t2;W0.isMoment=Zo;W0.weekdays=VO0;W0.parseZone=jO0;W0.localeData=Sr;W0.isDuration=fO;W0.monthsShort=YO0;W0.weekdaysMin=KO0;W0.defineLocale=x5;W0.updateLocale=jz0;W0.locales=Hz0;W0.weekdaysShort=GO0;W0.normalizeUnits=qo;W0.relativeTimeRounding=Ru0;W0.relativeTimeThreshold=yu0;W0.calendarFormat=Ds0;W0.prototype=O0;W0.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const vu0=Object.freeze(Object.defineProperty({__proto__:null,default:W0},Symbol.toStringTag,{value:"Module"})),_u0=Wq(vu0);(function(e){//! moment-timezone.js
//! version : 0.5.45
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function(t,n){e.exports?e.exports=n(_u0):n(t.moment)})(Qc,function(t){t.version===void 0&&t.default&&(t=t.default);var n="0.5.45",o={},r={},c={},i={},b={},p;(!t||typeof t.version!="string")&&t0("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/");var z=t.version.split("."),s=+z[0],O=+z[1];(s<2||s===2&&O<6)&&t0("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com");function u(B){return B>96?B-87:B>64?B-29:B-48}function d(B){var K=0,o0=B.split("."),A0=o0[0],P0=o0[1]||"",O1=1,w,R1=0,j1=1;for(B.charCodeAt(0)===45&&(K=1,j1=-1),K;K<A0.length;K++)w=u(A0.charCodeAt(K)),R1=60*R1+w;for(K=0;K<P0.length;K++)O1=O1/60,w=u(P0.charCodeAt(K)),R1+=w*O1;return R1*j1}function f(B){for(var K=0;K<B.length;K++)B[K]=d(B[K])}function q(B,K){for(var o0=0;o0<K;o0++)B[o0]=Math.round((B[o0-1]||0)+B[o0]*6e4);B[K-1]=1/0}function W(B,K){var o0=[],A0;for(A0=0;A0<K.length;A0++)o0[A0]=B[K[A0]];return o0}function h(B){var K=B.split("|"),o0=K[2].split(" "),A0=K[3].split(""),P0=K[4].split(" ");return f(o0),f(A0),f(P0),q(P0,A0.length),{name:K[0],abbrs:W(K[1].split(" "),A0),offsets:W(o0,A0),untils:P0,population:K[5]|0}}function v(B){B&&this._set(h(B))}function R(B,K){var o0=K.length;if(B<K[0])return 0;if(o0>1&&K[o0-1]===1/0&&B>=K[o0-2])return o0-1;if(B>=K[o0-1])return-1;for(var A0,P0=0,O1=o0-1;O1-P0>1;)A0=Math.floor((P0+O1)/2),K[A0]<=B?P0=A0:O1=A0;return O1}v.prototype={_set:function(B){this.name=B.name,this.abbrs=B.abbrs,this.untils=B.untils,this.offsets=B.offsets,this.population=B.population},_index:function(B){var K=+B,o0=this.untils,A0;if(A0=R(K,o0),A0>=0)return A0},countries:function(){var B=this.name;return Object.keys(c).filter(function(K){return c[K].zones.indexOf(B)!==-1})},parse:function(B){var K=+B,o0=this.offsets,A0=this.untils,P0=A0.length-1,O1,w,R1,j1;for(j1=0;j1<P0;j1++)if(O1=o0[j1],w=o0[j1+1],R1=o0[j1&&j1-1],O1<w&&i0.moveAmbiguousForward?O1=w:O1>R1&&i0.moveInvalidForward&&(O1=R1),K<A0[j1]-O1*6e4)return o0[j1];return o0[P0]},abbr:function(B){return this.abbrs[this._index(B)]},offset:function(B){return t0("zone.offset has been deprecated in favor of zone.utcOffset"),this.offsets[this._index(B)]},utcOffset:function(B){return this.offsets[this._index(B)]}};function _(B,K){this.name=B,this.zones=K}function S(B){var K=B.toTimeString(),o0=K.match(/\([a-z ]+\)/i);o0&&o0[0]?(o0=o0[0].match(/[A-Z]/g),o0=o0?o0.join(""):void 0):(o0=K.match(/[A-Z]{3,5}/g),o0=o0?o0[0]:void 0),o0==="GMT"&&(o0=void 0),this.at=+B,this.abbr=o0,this.offset=B.getTimezoneOffset()}function N(B){this.zone=B,this.offsetScore=0,this.abbrScore=0}N.prototype.scoreOffsetAt=function(B){this.offsetScore+=Math.abs(this.zone.utcOffset(B.at)-B.offset),this.zone.abbr(B.at).replace(/[^A-Z]/g,"")!==B.abbr&&this.abbrScore++};function y(B,K){for(var o0,A0;A0=((K.at-B.at)/12e4|0)*6e4;)o0=new S(new Date(B.at+A0)),o0.offset===B.offset?B=o0:K=o0;return B}function E(){var B=new Date().getFullYear()-2,K=new S(new Date(B,0,1)),o0=K.offset,A0=[K],P0,O1,w,R1;for(R1=1;R1<48;R1++)w=new Date(B,R1,1).getTimezoneOffset(),w!==o0&&(O1=new S(new Date(B,R1,1)),P0=y(K,O1),A0.push(P0),A0.push(new S(new Date(P0.at+6e4))),K=O1,o0=w);for(R1=0;R1<4;R1++)A0.push(new S(new Date(B+R1,0,1))),A0.push(new S(new Date(B+R1,6,1)));return A0}function P(B,K){return B.offsetScore!==K.offsetScore?B.offsetScore-K.offsetScore:B.abbrScore!==K.abbrScore?B.abbrScore-K.abbrScore:B.zone.population!==K.zone.population?K.zone.population-B.zone.population:K.zone.name.localeCompare(B.zone.name)}function F(B,K){var o0,A0;for(f(K),o0=0;o0<K.length;o0++)A0=K[o0],b[A0]=b[A0]||{},b[A0][B]=!0}function H(B){var K=B.length,o0={},A0=[],P0={},O1,w,R1,j1;for(O1=0;O1<K;O1++)if(R1=B[O1].offset,!P0.hasOwnProperty(R1)){j1=b[R1]||{};for(w in j1)j1.hasOwnProperty(w)&&(o0[w]=!0);P0[R1]=!0}for(O1 in o0)o0.hasOwnProperty(O1)&&A0.push(i[O1]);return A0}function I(){try{var B=Intl.DateTimeFormat().resolvedOptions().timeZone;if(B&&B.length>3){var K=i[b0(B)];if(K)return K;t0("Moment Timezone found "+B+" from the Intl api, but did not have that data loaded.")}}catch{}var o0=E(),
`).map(Ju0).filter(function(n){return n!==null});return En(En({},t[0]),t[1])}function mu(e){var t={},n=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(e);if(!n)return t;var o=n[1],r=n[2];return o&&(t.tzid=o),t.dtstart=V5(r),t}function Ju0(e){if(e=e.replace(/^\s+|\s+$/,""),!e.length)return null;var t=/^([A-Z]+?)[:;]/.exec(e.toUpperCase());if(!t)return oL(e);var n=t[1];switch(n.toUpperCase()){case"RRULE":case"EXRULE":return oL(e);case"DTSTART":return mu(e);default:throw new Error("Unsupported RFC prop ".concat(n," in ").concat(e))}}function oL(e){var t=e.replace(/^RRULE:/i,""),n=mu(t),o=e.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return o.forEach(function(r){var c=r.split("="),i=c[0],b=c[1];switch(i.toUpperCase()){case"FREQ":n.freq=x1[b.toUpperCase()];break;case"WKST":n.wkst=ko[b.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var p=Qu0(b),z=i.toLowerCase();n[z]=p;break;case"BYWEEKDAY":case"BYDAY":n.byweekday=e30(b);break;case"DTSTART":case"TZID":var s=mu(e);n.tzid=s.tzid,n.dtstart=s.dtstart;break;case"UNTIL":n.until=V5(b);break;case"BYEASTER":n.byeaster=Number(b);break;default:throw new Error("Unknown RRULE property '"+i+"'")}}),n}function Qu0(e){if(e.indexOf(",")!==-1){var t=e.split(",");return t.map(rL)}return rL(e)}function rL(e){return/^[+-]?\d+$/.test(e)?Number(e):e}function e30(e){var t=e.split(",");return t.map(function(n){if(n.length===2)return ko[n];var o=n.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!o||o.length<3)throw new SyntaxError("Invalid weekday string: ".concat(n));var r=Number(o[1]),c=o[2],i=ko[c].weekday;return new Xt(i,r)})}var gu=function(){function e(t,n){if(isNaN(t.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=t,this.tzid=n}return Object.defineProperty(e.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),e.prototype.toString=function(){var t=Y5(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(t):";TZID=".concat(this.tzid,":").concat(t)},e.prototype.getTime=function(){return this.date.getTime()},e.prototype.rezonedDate=function(){return this.isUTC?this.date:Fu0(this.date,this.tzid)},e}();function I4(e){for(var t=[],n="",o=Object.keys(e),r=Object.keys(Z5),c=0;c<o.length;c++)if(o[c]!=="tzid"&&J1(r,o[c])){var i=o[c].toUpperCase(),b=e[o[c]],p="";if(!(!Fe(b)||wn(b)&&!b.length)){switch(i){case"FREQ":p=U0.FREQUENCIES[e.freq];break;case"WKST":a2(b)?p=new Xt(b).toString():p=b.toString();break;case"BYWEEKDAY":i="BYDAY",p=Xu0(b).map(function(d){return d instanceof Xt?d:wn(d)?new Xt(d[0],d[1]):new Xt(d)}).toString();break;case"DTSTART":n=t30(b,e.tzid);break;case"UNTIL":p=Y5(b,!e.tzid);break;default:if(wn(b)){for(var z=[],s=0;s<b.length;s++)z[s]=String(b[s]);p=z.toString()}else p=String(b)}p&&t.push([i,p])}}var O=t.map(function(d){var f=d[0],q=d[1];return"".concat(f,"=").concat(q.toString())}).join(";"),u="";return O!==""&&(u="RRULE:".concat(O)),[n,u].filter(function(d){return!!d}).join(`
`)}function t30(e,t){return e?"DTSTART"+new gu(new Date(e),t).toString():""}function n30(e,t){return Array.isArray(e)?!Array.isArray(t)||e.length!==t.length?!1:e.every(function(n,o){return n.getTime()===t[o].getTime()}):e instanceof Date?t instanceof Date&&e.getTime()===t.getTime():e===t}var o30=function(){function e(){this.all=!1,this.before=[],this.after=[],this.between=[]}return e.prototype._cacheAdd=function(t,n,o){n&&(n=n instanceof Date?X4(n):Qy(n)),t==="all"?this.all=n:(o._value=n,this[t].push(o))},e.prototype._cacheGet=function(t,n){var o=!1,r=n?Object.keys(n):[],c=function(s){for(var O=0;O<r.length;O++){var u=r[O];if(!n30(n[u],s[u]))return!0}return!1},i=this[t];if(t==="all")o=this.all;else if(wn(i))for(var b=0;b<i.length;b++){var p=i[b];if(!(r.length&&c(p))){o=p._value;break}}if(!o&&this.all){for(var z=new Nb(t,n),b=0;b<this.all.length&&z.accept(this.all[b]);b++);o=z.getValue(),this._cacheAdd(t,o,n)}return wn(o)?Qy(o):o instanceof Date?X4(o):o},e}(),r30=h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0([],P1(1,31),!0),P1(2,28),!0),P1(3,31),!0),P1(4,30),!0),P1(5,31),!0),P1(6,30),!0),P1(7,31),!0),P1(8,31),!0),P1(9,30),!0),P1(10,31),!0),P1(11,30),!0),P1(12,31),!0),P1(1,7),!0),c30=h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0([],P1(1,31),!0),P1(2,29),!0),P1(3,31),!0),P1(4,30),!0),P1(5,31),!0),P1(6,30),!0),P1(7,31),!0),P1(8,31),!0),P1(9,30),!0),P1(10,31),!0),P1(11,30),!0),P1(12,31),!0),P1(1,7),!0),i30=D2(1,29),b30=D2(1,30),bc=D2(1,31),Bt=D2(1,32),M30=h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0([],Bt,!0),b30,!0),Bt,!0),bc,!0),Bt,!0),bc,!0),Bt,!0),Bt,!0),bc,!0),Bt,!0),bc,!0),Bt,!0),Bt.slice(0,7),!0),p30=h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0([],Bt,!0),i30,!0),Bt,!0),bc,!0),Bt,!0),bc,!0),Bt,!0),Bt,!0),bc,!0),Bt,!0),bc,!0),Bt,!0),Bt.slice(0,7),!0),a30=D2(-28,0),z30=D2(-29,0),Mc=D2(-30,0),St=D2(-31,0),s30=h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0([],St,!0),z30,!0),St,!0),Mc,!0),St,!0),Mc,!0),St,!0),St,!0),Mc,!0),St,!0),Mc,!0),St,!0),St.slice(0,7),!0),O30=h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0(h0([],St,!0),a30,!0),St,!0),Mc,!0),St,!0),Mc,!0),St,!0),St,!0),Mc,!0),St,!0),Mc,!0),St,!0),St.slice(0,7),!0),u30=[0,31,60,91,121,152,182,213,244,274,305,335,366],l30=[0,31,59,90,120,151,181,212,243,273,304,334,365],cL=function(){for(var e=[],t=0;t<55;t++)e=e.concat(D2(7));return e}();function d30(e,t){var n=Rc(e,1,1),o=ia(e)?366:365,r=ia(e+1)?366:365,c=E4(n),i=LM(n),b=En(En({yearlen:o,nextyearlen:r,yearordinal:c,yearweekday:i},f30(e)),{wnomask:null});if(A2(t.byweekno))return b;b.wnomask=P1(0,o+7);var p,z,s=p=Qn(7-i+t.wkst,7);s>=4?(s=0,z=b.yearlen+Qn(i-t.wkst,7)):z=o-s;for(var O=Math.floor(z/7),u=Qn(z,7),d=Math.floor(O+u/4),f=0;f<t.byweekno.length;f++){var q=t.byweekno[f];if(q<0&&(q+=d+1),q>0&&q<=d){var W=void 0;q>1?(W=s+(q-1)*7,s!==p&&(W-=7-p)):W=s;for(var h=0;h<7&&(b.wnomask[W]=1,W++,b.wdaymask[W]!==t.wkst);h++);}}if(J1(t.byweekno,1)){var W=s+d*7;if(s!==p&&(W-=7-p),W<o)for(var f=0;f<7&&(b.wnomask[W]=1,W+=1,b.wdaymask[W]!==t.wkst);f++);}if(s){var v=void 0;if(J1(t.byweekno,-1))v=-1;else{var R=LM(Rc(e-1,1,1)),_=Qn(7-R.valueOf()+t.wkst,7),S=ia(e-1)?366:365,N=void 0;_>=4?(_=0,N=S+Qn(R-t.wkst,7)):N=o-s,v=Math.floor(52+Qn(N,7)/4)}if(J1(t.byweekno,v))for(var W=0;W<s;W++)b.wnomask[W]=1}return b}function f30(e){var t=ia(e)?366:365,n=Rc(e,1,1),o=LM(n);return t===365?{mmask:r30,mdaymask:p30,nmdaymask:O30,wdaymask:cL.slice(o),mrange:l30}:{mmask:c30,mdaymask:M30,nmdaymask:s30,wdaymask:cL.slice(o),mrange:u30}}function A30(e,t,n,o,r,c){var i={lastyear:e,lastmonth:t,nwdaymask:[]},b=[];if(c.freq===U0.YEARLY)if(A2(c.bymonth))b=[[0,n]];else for(var p=0;p<c.bymonth.length;p++)t=c.bymonth[p],b.push(o.slice(t-1,t+1));else c.freq===U0.MONTHLY&&(b=[o.slice(t-1,t+1)]);if(A2(b))return i;i.nwdaymask=P1(0,n);for(var p=0;p<b.length;p++)for(var z=b[p],s=z[0],O=z[1]-1,u=0;u<c.bynweekday.length;u++){var d=void 0,f=c.bynweekday[u],q=f[0],W=f[1];W<0?(d=O+(W+1)*7,d-=Qn(r[d]-q,7)):(d=s+(W-1)*7,d+=Qn(7-r[d]+q,7)),s<=d&&d<=O&&(i.nwdaymask[d]=1)}return i}function q30(e,t){t===void 0&&(t=0);var n=e%19,o=Math.floor(e/100),r=e%100,c=Math.floor(o/4),i=o%4,b=Math.floor((o+8)/25),p=Math.floor((o-b+1)/3),z
`),o=0;o<n.length;){var r=n[o]=n[o].replace(/\s+$/g,"");r?o>0&&r[0]===" "?(n[o-1]+=r.slice(1),n.splice(o,1)):o+=1:n.splice(o,1)}return n}function B30(e){e.forEach(function(t){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(t))throw new Error("unsupported RDATE/EXDATE parm: "+t)})}function ML(e,t){return B30(t),e.split(",").map(function(n){return V5(n)})}function pL(e){var t=this;return function(n){if(n!==void 0&&(t["_".concat(e)]=n),t["_".concat(e)]!==void 0)return t["_".concat(e)];for(var o=0;o<t._rrule.length;o++){var r=t._rrule[o].origOptions[e];if(r)return r}}}var HB=function(e){G5(t,e);function t(n){n===void 0&&(n=!1);var o=e.call(this,{},n)||this;return o.dtstart=pL.apply(o,["dtstart"]),o.tzid=pL.apply(o,["tzid"]),o._rrule=[],o._rdate=[],o._exrule=[],o._exdate=[],o}return t.prototype._iter=function(n){return L30(n,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(n){aL(n,this._rrule)},t.prototype.exrule=function(n){aL(n,this._exrule)},t.prototype.rdate=function(n){zL(n,this._rdate)},t.prototype.exdate=function(n){zL(n,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(n){return P4(n.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(n){return P4(n.toString())})},t.prototype.rdates=function(){return this._rdate.map(function(n){return new Date(n.getTime())})},t.prototype.exdates=function(){return this._exdate.map(function(n){return new Date(n.getTime())})},t.prototype.valueOf=function(){var n=[];return!this._rrule.length&&this._dtstart&&(n=n.concat(I4({dtstart:this._dtstart}))),this._rrule.forEach(function(o){n=n.concat(o.toString().split(`
`))}),this._exrule.forEach(function(o){n=n.concat(o.toString().split(`
`).map(function(r){return r.replace(/^RRULE:/,"EXRULE:")}).filter(function(r){return!/^DTSTART/.test(r)}))}),this._rdate.length&&n.push(sL("RDATE",this._rdate,this.tzid())),this._exdate.length&&n.push(sL("EXDATE",this._exdate,this.tzid())),n},t.prototype.toString=function(){return this.valueOf().join(`
`)},t.prototype.clone=function(){var n=new t(!!this._cache);return this._rrule.forEach(function(o){return n.rrule(o.clone())}),this._exrule.forEach(function(o){return n.exrule(o.clone())}),this._rdate.forEach(function(o){return n.rdate(new Date(o.getTime()))}),this._exdate.forEach(function(o){return n.exdate(new Date(o.getTime()))}),n},t}(U0);function aL(e,t){if(!(e instanceof U0))throw new TypeError(String(e)+" is not RRule instance");J1(t.map(String),String(e))||t.push(e)}function zL(e,t){if(!(e instanceof Date))throw new TypeError(String(e)+" is not Date instance");J1(t.map(Number),Number(e))||(t.push(e),wa(t))}function sL(e,t,n){var o=!n||n.toUpperCase()==="UTC",r=o?"".concat(e,":"):"".concat(e,";TZID=").concat(n,":"),c=t.map(function(i){return Y5(i.valueOf(),o)}).join(",");return"".concat(r).concat(c)}const S30=Object.freeze(Object.defineProperty({__proto__:null,ALL_WEEKDAYS:qu,get Frequency(){return x1},RRule:U0,RRuleSet:HB,Weekday:Xt,datetime:Rc,rrulestr:P4},Symbol.toStringTag,{value:"Module"})),E30=Wq(S30),X30={iana:["Etc/UTC"]},C30={"Dateline Standard Time":{iana:["Etc/GMT+12"]},"UTC-11":{iana:["Etc/GMT+11"]},"Aleutian Standard Time":{iana:["America/Adak"]},"Hawaiian Standard Time":{iana:["Pacific/Honolulu"]},"Marquesas Standard Time":{iana:["Pacific/Marquesas"]},"Alaskan Standard Time":{iana:["America/Anchorage"]},"UTC-09":{iana:["Etc/GMT+9"]},"Pacific Standard Time (Mexico)":{iana:["America/Tijuana"]},"UTC-08":{iana:["Etc/GMT+8"]},"Pacific Standard Time":{iana:["America/Los_Angeles"]},"US Mountain Standard Time":{iana:["America/Phoenix"]},"Mountain Standard Time (Mexico)":{iana:["America/Mazatlan"]},"Mountain Standard Time":{iana:["America/Denver"]},"Yukon Standard Time":{iana:["America/Whitehorse"]},"Central America Standard Time":{iana:["America/Guatemala"]},"Central Standard Time":{iana:["America/Chicago"]},"Easter Island Standard Time":{iana:["Pacific/Easter"]},"Central Standard Time (Mexico)":{iana:["America/Mexico_City"]},"Canada Central Standard Time":{iana:["America/Regina"]},"SA Pacific Standard Time":{iana:["America/Bogota"]},"Eastern Standard Time (Mexico)":{iana:["America/Cancun"]},"Eastern Standard Time":{iana:["America/New_York"]},"Haiti Standard Time":{iana:["America/Port-au-Prince"]},"Cuba Standard Time":{iana:["America/Havana"]},"US Eastern Standard Time":{iana:["America/Indianapolis"]},"Turks And Caicos Standard Time":{iana:["America/Grand_Turk"]},"Paraguay Standard Time":{iana:["America/Asuncion"]},"Atlantic Standard Time":{iana:["America/Halifax"]},"Venezuela Standard Time":{iana:["America/Caracas"]},"Central Brazilian Standard Time":{iana:["America/Cuiaba"]},"SA Western Standard Time":{iana:["America/La_Paz"]},"Pacific SA Standard Time":{iana:["America/Santiago"]},"Newfoundland Standard Time":{iana:["America/St_Johns"]},"Tocantins Standard Time":{iana:["America/Araguaina"]},"E. South America Standard Time":{iana:["America/Sao_Paulo"]},"SA Eastern Standard Time":{iana:["America/Cayenne"]},"Argentina Standard Time":{iana:["America/Buenos_Aires"]},"Greenland Standard Time":{iana:["America/Godthab"]},"Montevideo Standard Time":{iana:["America/Montevideo"]},"Magallanes Standard Time":{iana:["America/Punta_Arenas"]},"Saint Pierre Standard Time":{iana:["America/Miquelon"]},"Bahia Standard Time":{iana:["America/Bahia"]},"UTC-02":{iana:["Etc/GMT+2"]},"Azores Standard Time":{iana:["Atlantic/Azores"]},"Cape Verde Standard Time":{iana:["Atlantic/Cape_Verde"]},UTC:X30,"GMT Standard Time":{iana:["Europe/London"]},"Greenwich Standard Time":{iana:["Atlantic/Reykjavik"]},"Sao Tome Standard Time":{iana:["Africa/Sao_Tome"]},"Morocco Standard Time":{iana:["Africa/Casablanca"]},"W. Europe Standard Time":{iana:["Europe/Berlin"]},"Central Europe Standard Time":{iana:["Europe/Budapest"]},"Romance Standard Time":{iana:["Europe/Paris"]},"Central European Standard Time":{iana:["Europe/Warsaw"]},"W. Central Africa Standard Time":{iana:["Africa/Lagos"]},"Jordan Standard Time":{iana:["Asia/Amman"]},"GTB Standard Time":{iana:["Europe/Bucharest"]},"Middle East Standard Time":{iana:["Asia/Beirut"]},"Egypt Standard Time":
`).replace(/\\\\/g,"\\")},P30=function(e){if(e==="TRUE")return!0;if(e==="FALSE")return!1;const t=Number(e);return Number.isNaN(t)?e:t},J5=function(e){const t={};for(const n of e)if(n.includes("=")){const o=n.split("=");t[o[0]]=P30(o.slice(1).join("="))}return t},Ru=function(e){return function(t,n){const o=n[e];return Array.isArray(o)?(o.push(t),n):(typeof o>"u"?n[e]=t:n[e]=[o,t],n)}},b2=function(e){return function(t,n,o){const r=n&&n.length>0&&!(n.length===1&&(n[0]==="CHARSET=utf-8"||n[0]==="VALUE=TEXT"))?{params:J5(n),val:D4(t)}:D4(t);return Ru(e)(r,o)}},D30=function(e,t){const n=J5(t);return e.tz||t&&n&&e&&(e.tz=n.TZID,e.tz!==void 0&&(e.tz=e.tz.replace(/^"(.*)"$/,"$1"))),e};let Xp=null;function F30(e){Xp||(Xp=C30);let t=Xp[e];if(!t&&e.includes(",")){const n=e.split(",")[0],o=Object.keys(Xp).filter(r=>!!r.includes(n));o.length>0&&(t=Xp[o[0]])}return t?t.iana[0]:null}function YB(e){let t=e,n="";if((t==="tzone://Microsoft/Custom"||t.startsWith("Customized Time Zone")||t.startsWith("tzone://Microsoft/"))&&(t=Eo.tz.guess()),t=t.replace(/^"(.*)"$/,"$1"),t&&(t.includes(" ")||t.includes(","))){const o=F30(t);o&&(t=o)}if(t&&t.startsWith("(")){const o=/[+|-]\d*:\d*/;t=null,n=t.match(o)}return n===""&&(n=Eo.tz.names().find(o=>o===t)),n===""?t:n}function VB(e,t){return t&&t.includes("VALUE=DATE")&&!t.includes("VALUE=DATE-TIME")||/^\d{8}$/.test(e)===!0}const $30=function(e){return function(t,n,o){const r=VB(t,n)?"date":"date-time";return Ru(e)(r,o)}},Mr=function(e){return function(t,n,o,r){const c=n.indexOf("TZID=tzone");c>=0&&(n[c]=n[c]+":"+t.split(":")[0],t=t.split(":")[1]);let i=D4(t);if(VB(t,n)){const p=/^(\d{4})(\d{2})(\d{2}).*$/.exec(t);if(p!==null)return i=new Date(p[1],Number.parseInt(p[2],10)-1,p[3]),i.dateOnly=!0,Ru(e)(i,o)}const b=/^(\d{4})(\d{2})(\d{2})T(\d{2})(\d{2})(\d{2})(Z)?$/.exec(t);if(b!==null)if(b[7]==="Z")i=new Date(Date.UTC(Number.parseInt(b[1],10),Number.parseInt(b[2],10)-1,Number.parseInt(b[3],10),Number.parseInt(b[4],10),Number.parseInt(b[5],10),Number.parseInt(b[6],10))),i.tz="Etc/UTC";else if(n&&n[0]&&n[0].includes("TZID=")&&n[0].split("=")[1]){let p=n[0].split("=")[1],z="",s="";if((p==="tzone://Microsoft/Custom"||p==="(no TZ description)"||p.startsWith("Customized Time Zone")||p.startsWith("tzone://Microsoft/"))&&(p=Eo.tz.guess(),n[0]="TZID="+p),p=p.replace(/^"(.*)"$/,"$1"),p&&(p.includes(" ")||p.includes(","))){const O=YB(p);O&&(p=O,s="",n[0]="TZID="+p)}if(p&&p.startsWith("(")){const O=/[+|-]\d*:\d*/;s=p.match(O),p=null,z=s}z===""&&(z=Eo.tz.names().find(O=>O===p)),i=z?Eo.tz(t,"YYYYMMDDTHHmmss"+s,p).toDate():new Date(Number.parseInt(b[1],10),Number.parseInt(b[2],10)-1,Number.parseInt(b[3],10),Number.parseInt(b[4],10),Number.parseInt(b[5],10),Number.parseInt(b[6],10)),i=D30(i,n)}else{const p=(r||[]).find(O=>Object.values(O).find(u=>u.type==="VTIMEZONE"))||{},z=Object.values(p).find(({type:O})=>O==="VTIMEZONE"),s=z?Array.isArray(z.tzid)?z.tzid.slice(-1)[0]:z.tzid:null;i=s&&Eo.tz.zone(s)?Eo.tz(t,"YYYYMMDDTHHmmss",s).toDate():new Date(Number.parseInt(b[1],10),Number.parseInt(b[2],10)-1,Number.parseInt(b[3],10),Number.parseInt(b[4],10),Number.parseInt(b[5],10),Number.parseInt(b[6],10))}return Ru(e)(i,o)}},U30=function(e){return function(t,n,o){const r=t.split(";");return o[e]={lat:Number(r[0]),lon:Number(r[1])},o}},j30=function(e){return function(t,n,o){return o[e]===void 0?o[e]=t?t.split(",").map(r=>r.trim()):[]:t&&(o[e]=o[e].concat(t.split(",").map(r=>r.trim()))),o}},H30=function(e){return function(t,n,o){o[e]=o[e]||[];const r=t?t.split(",").map(c=>c.trim()):[];for(const c of r){const i=[];if(Mr(e)(c,n,i),i[e])if(typeof i[e].toISOString=="function")o[e][i[e].toISOString().slice(0,10)]=i[e];else throw new TypeError("No toISOString function in exdate[name]",i[e])}return o}},Y30=function(e){return Mr(e)},V30=function(e,t){const n=J5(t);return t&&n&&(e.type=n.FBTYPE||"BUSY"),e},G30=function(e){return function(t,n,o){const r=V30({},n);o[e]=o[e]||[],o[e].push(r);const c=t.split("/");for(const[i,b]of["start","end"].entries())Mr(b)(c[i],n,r);return o}};var K30={objectHandlers:{BEGIN(e,t,n,o){return o.push(n),{type
* @license Fraction.js v4.3.7 31/08/2023
* https://www.xarg.org/2014/03/rational-numbers-in-javascript/
*
* Copyright (c) 2023, Robert Eisele (robert@raw.org)
* Dual licensed under the MIT or GPL Version 2 licenses.
**/var Ll0=2e3,T0={s:1,n:0,d:1};function or(e,t){if(isNaN(e=parseInt(e,10)))throw qO();return e*t}function We(e,t){if(t===0)throw tW();var n=Object.create(W2.prototype);n.s=e<0?-1:1,e=e<0?-e:e;var o=wb(e,t);return n.n=e/o,n.d=t/o,n}function lL(e){for(var t={},n=e,o=2,r=4;r<=n;){for(;n%o===0;)n/=o,t[o]=(t[o]||0)+1;r+=1+2*o++}return n!==e?n>1&&(t[n]=(t[n]||0)+1):t[e]=(t[e]||0)+1,t}var gn=function(e,t){var n=0,o=1,r=1,c=0,i=0,b=0,p=1,z=1,s=0,O=1,u=1,d=1,f=1e7,q;if(e!=null)if(t!==void 0){if(n=e,o=t,r=n*o,n%1!==0||o%1!==0)throw wl0()}else switch(typeof e){case"object":{if("d"in e&&"n"in e)n=e.n,o=e.d,"s"in e&&(n*=e.s);else if(0 in e)n=e[0],1 in e&&(o=e[1]);else throw qO();r=n*o;break}case"number":{if(e<0&&(r=e,e=-e),e%1===0)n=e;else if(e>0){for(e>=1&&(z=Math.pow(10,Math.floor(1+Math.log(e)/Math.LN10)),e/=z);O<=f&&d<=f;)if(q=(s+u)/(O+d),e===q){O+d<=f?(n=s+u,o=O+d):d>O?(n=u,o=d):(n=s,o=O);break}else e>q?(s+=u,O+=d):(u+=s,d+=O),O>f?(n=u,o=d):(n=s,o=O);n*=z}else(isNaN(e)||isNaN(t))&&(o=n=NaN);break}case"string":{if(O=e.match(/\d+|./g),O===null)throw qO();if(O[s]==="-"?(r=-1,s++):O[s]==="+"&&s++,O.length===s+1?i=or(O[s++],r):O[s+1]==="."||O[s]==="."?(O[s]!=="."&&(c=or(O[s++],r)),s++,(s+1===O.length||O[s+1]==="("&&O[s+3]===")"||O[s+1]==="'"&&O[s+3]==="'")&&(i=or(O[s],r),p=Math.pow(10,O[s].length),s++),(O[s]==="("&&O[s+2]===")"||O[s]==="'"&&O[s+2]==="'")&&(b=or(O[s+1],r),z=Math.pow(10,O[s+1].length)-1,s+=3)):O[s+1]==="/"||O[s+1]===":"?(i=or(O[s],r),p=or(O[s+2],1),s+=3):O[s+3]==="/"&&O[s+1]===" "&&(c=or(O[s],r),i=or(O[s+2],r),p=or(O[s+4],1),s+=5),O.length<=s){o=p*z,r=n=b+o*c+z*i;break}}default:throw qO()}if(o===0)throw tW();T0.s=r<0?-1:1,T0.n=Math.abs(n),T0.d=Math.abs(o)};function vl0(e,t,n){for(var o=1;t>0;e=e*e%n,t>>=1)t&1&&(o=o*e%n);return o}function _l0(e,t){for(;t%2===0;t/=2);for(;t%5===0;t/=5);if(t===1)return 0;for(var n=10%t,o=1;n!==1;o++)if(n=n*10%t,o>Ll0)return 0;return o}function Nl0(e,t,n){for(var o=1,r=vl0(10,n,t),c=0;c<300;c++){if(o===r)return c;o=o*10%t,r=r*10%t}return 0}function wb(e,t){if(!e)return t;if(!t)return e;for(;;){if(e%=t,!e)return t;if(t%=e,!t)return e}}function W2(e,t){if(gn(e,t),this instanceof W2)e=wb(T0.d,T0.n),this.s=T0.s,this.n=T0.n/e,this.d=T0.d/e;else return We(T0.s*T0.n,T0.d)}var tW=function(){return new Error("Division by Zero")},qO=function(){return new Error("Invalid argument")},wl0=function(){return new Error("Parameters must be integer")};W2.prototype={s:1,n:0,d:1,abs:function(){return We(this.n,this.d)},neg:function(){return We(-this.s*this.n,this.d)},add:function(e,t){return gn(e,t),We(this.s*this.n*T0.d+T0.s*this.d*T0.n,this.d*T0.d)},sub:function(e,t){return gn(e,t),We(this.s*this.n*T0.d-T0.s*this.d*T0.n,this.d*T0.d)},mul:function(e,t){return gn(e,t),We(this.s*T0.s*this.n*T0.n,this.d*T0.d)},div:function(e,t){return gn(e,t),We(this.s*T0.s*this.n*T0.d,this.d*T0.n)},clone:function(){return We(this.s*this.n,this.d)},mod:function(e,t){if(isNaN(this.n)||isNaN(this.d))return new W2(NaN);if(e===void 0)return We(this.s*this.n%this.d,1);if(gn(e,t),T0.n===0&&this.d===0)throw tW();return We(this.s*(T0.d*this.n)%(T0.n*this.d),T0.d*this.d)},gcd:function(e,t){return gn(e,t),We(wb(T0.n,this.n)*wb(T0.d,this.d),T0.d*this.d)},lcm:function(e,t){return gn(e,t),T0.n===0&&this.n===0?We(0,1):We(T0.n*this.n,wb(T0.n,this.n)*wb(T0.d,this.d))},ceil:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new W2(NaN):We(Math.ceil(e*this.s*this.n/this.d),e)},floor:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new W2(NaN):We(Math.floor(e*this.s*this.n/this.d),e)},round:function(e){return e=Math.pow(10,e||0),isNaN(this.n)||isNaN(this.d)?new W2(NaN):We(Math.round(e*this.s*this.n/this.d),e)},roundTo:function(e,t){return gn(e,t),We(this.s*Math.round(this.n*T0.d/(this.d*T0.n))*T0.n,T0.d)},inverse:function(){return We(this.s*this.d,this.n)},pow:function(e,t){if(gn(e,t),T0.d===1)return T0.s<0?We(Math.pow(this.s*this.d,T0.n),Math.pow(this.n,T0.n)):We(Math.pow(this.s*this.n,T0.n),Math.pow(this.d,T0.n));if(this.s<0)return null;var n=lL(this.n),o=lL(this.d),r=1,c=1;for(var i in n)if(i!=="1"){if(i==
\r\f \v\uFEFF`];function id0(e,t,n){var o=e==null?"":""+e;if(t&&(o=o?o+" "+t:t),n){for(var r of Object.keys(n))if(n[r])o=o?o+" "+r:r;else if(o.length)for(var c=r.length,i=0;(i=o.indexOf(r,i))>=0;){var b=i+c;(i===0||hL.includes(o[i-1]))&&(b===o.length||hL.includes(o[b]))?o=(i===0?"":o.substring(0,i))+o.substring(b+1):i=b}}return o===""?null:o}function WL(e,t=!1){var n=t?" !important;":";",o="";for(var r of Object.keys(e)){var c=e[r];c!=null&&c!==""&&(o+=" "+r+": "+c+n)}return o}function Bf(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function bd0(e,t){if(t){var n="",o,r;if(Array.isArray(t)?(o=t[0],r=t[1]):o=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var c=!1,i=0,b=!1,p=[];o&&p.push(...Object.keys(o).map(Bf)),r&&p.push(...Object.keys(r).map(Bf));var z=0,s=-1;const q=e.length;for(var O=0;O<q;O++){var u=e[O];if(b?u==="/"&&e[O-1]==="*"&&(b=!1):c?c===u&&(c=!1):u==="/"&&e[O+1]==="*"?b=!0:u==='"'||u==="'"?c=u:u==="("?i++:u===")"&&i--,!b&&c===!1&&i===0){if(u===":"&&s===-1)s=O;else if(u===";"||O===q-1){if(s!==-1){var d=Bf(e.substring(z,s).trim());if(!p.includes(d)){u!==";"&&O++;var f=e.substring(z,O).trim();n+=" "+f+";"}}z=O+1,s=-1}}}}return o&&(n+=WL(o)),r&&(n+=WL(r,!0)),n=n.trim(),n===""?null:n}return e==null?null:String(e)}function Qt(e,t,n,o,r,c){var i=e.__className;if(i!==n||i===void 0){var b=id0(n,o,c);b==null?e.removeAttribute("class"):t?e.className=b:e.setAttribute("class",b),e.__className=n}else if(c&&r!==c)for(var p in c){var z=!!c[p];(r==null||z!==!!r[p])&&e.classList.toggle(p,z)}return c}function Sf(e,t={},n,o){for(var r in n){var c=n[r];t[r]!==c&&(n[r]==null?e.style.removeProperty(r):e.style.setProperty(r,c,o))}}function ie(e,t,n,o){var r=e.__style;if(r!==t){var c=bd0(t,o);c==null?e.removeAttribute("style"):e.style.cssText=c,e.__style=t}else o&&(Array.isArray(o)?(Sf(e,n==null?void 0:n[0],o[0]),Sf(e,n==null?void 0:n[1],o[1],"important")):Sf(e,n,o));return o}function Y4(e,t,n=!1){if(e.multiple){if(t==null)return;if(!Uu(t))return PF();for(var o of e.options)o.selected=t.includes(mL(o));return}for(o of e.options){var r=mL(o);if(FF(r,t)){o.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Md0(e){var t=new MutationObserver(()=>{Y4(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Ya(()=>{t.disconnect()})}function mL(e){return"__value"in e?e.__value:e.value}const xp=Symbol("class"),Ip=Symbol("style"),rS=Symbol("is custom element"),cS=Symbol("is html"),pd0=o8?"option":"OPTION",ad0=o8?"select":"SELECT";function zd0(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function $i(e,t,n,o){var r=iS(e);r[t]!==(r[t]=n)&&(t==="loading"&&(e[MF]=n),n==null?e.removeAttribute(t):typeof n!="string"&&bS(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function sd0(e,t,n,o,r=!1,c=!1){var i=iS(e),b=i[rS],p=!i[cS],z=t||{},s=e.nodeName===pd0;for(var O in t)O in n||(n[O]=null);n.class?n.class=Jt(n.class):n[xp]&&(n.class=null),n[Ip]&&(n.style??(n.style=null));var u=bS(e);for(const R in n){let _=n[R];if(s&&R==="value"&&_==null){e.value=e.__value="",z[R]=_;continue}if(R==="class"){var d=e.namespaceURI==="http://www.w3.org/1999/xhtml";Qt(e,d,_,o,t==null?void 0:t[xp],n[xp]),z[R]=_,z[xp]=n[xp];continue}if(R==="style"){ie(e,_,t==null?void 0:t[Ip],n[Ip]),z[R]=_,z[Ip]=n[Ip];continue}var f=z[R];if(!(_===f&&!(_===void 0&&e.hasAttribute(R)))){z[R]=_;var q=R[0]+R[1];if(q!=="$$")if(q==="on"){const S={},N="$$"+R;let y=R.slice(2);var W=Ul0(y);if(Fl0(y)&&(y=y.slice(0,-7),S.capture=!0),!W&&f){if(_!=null)continue;e.removeEventListener(y,z[N],S),z[N]=null}if(W)Dt(y,e,_),ho([y]);else if(_!=null){let E=function(P){z[R].call(this,P)};z[N]=rW(y,e,E,S)}}else if(R==="style")$i(e,R,_);else if(R==="autofocus")M$(e,!!_);else if(!b&&(R==="__value"||R==="value"&&_!=null))e.value=e.__value=_;else if(R==="selected"&&s)zd0(e,_);else{var h=R;p||(h=Hl0(h));var v=h==="defaultValue"||h==="defaultChecked";if(_==null&&!b&&!v)if(i[R]=null,h==="value"||h==="checked"){let S=e;const N=t===void 0;if(h==="value"){let y=S.defaultValue;S.removeAttribute(h),S.defaultVal
`+O+u.slice(z.position.end.offset)),catch:u=>new Error(`Could not edit file ${i}`,{cause:u})})})},this.findListProps=(c,i)=>jR({try:async()=>{const b=await this.listPropsParser.parse(c);return b==null?void 0:b[i]},catch:b=>new Error(`Failed to parse list props at ${c}:${i}`,{cause:b})}),this.editPropsAtLocation=(c,i)=>{const{path:b,position:{start:{line:p}}}=c;return this.editProps({path:b,line:p,editFn:z=>(m0.isNotVoid(z,`No list props at ${b}:${p}`),i(z))})},this.clockInAtLocation=c=>this.editPropsAtLocation(c,ay),this.clockOutAtLocation=c=>this.editPropsAtLocation(c,sy),this.cancelClockAtLocation=c=>this.editPropsAtLocation(c,zy),this.clockInUnderCursor=()=>this.updateListPropsUnderCursor(c=>c?ay(c):ti0()),this.clockOutUnderCursor=()=>this.updateListPropsUnderCursor(c=>(m0.isNotVoid(c,"There are no props under cursor"),sy(c))),this.cancelClockUnderCursor=()=>this.updateListPropsUnderCursor(c=>(m0.isNotVoid(c,"There are no props under cursor"),zy(c))),this.updateListPropsUnderCursor=c=>r0(uf(this,function*(){const{path:i,line:b}=yield*NA({try:()=>this.workspaceFacade.getLastCaretLocation(),catch:f=>new Error("Failed to get caret location",{cause:f})}),{listItem:p,baseProps:z,updatedProps:s}=yield*this.prepareEdit(i,b,c),O=yield*NA({try:()=>this.workspaceFacade.getActiveMarkdownView(),catch:f=>new Error("Could not get active markdown view",{cause:f})});if(z)return O.editor.replaceRange(s,vL(z.position.start),vL(z.position.end));const u={line:p.position.start.line+1,ch:0};let d=s+`
`;return p.position.start.line===O.editor.lastLine()&&(d=`
`+d),O.editor.replaceRange(d,u,u)}),Ui)}}const $u=class $u{constructor(t,n){this.vault=t,this.metadataCache=n}async parse(t){const n=this.vault.getFileByPath(t);if(!n)return;const o=this.metadataCache.getFileCache(n);if(!(o!=null&&o.listItems))return;const r=await this.vault.cachedRead(n);return this.getListPropsFromFile(r,o)}getListPropsFromFile(t,n){var o;return(o=n.listItems)==null?void 0:o.reduce((r,c)=>{if(!c.task||c.position.end.line-c.position.start.line<$u.listItemWithPropertiesMinSpan)return r;const b=t.slice(c.position.start.offset,c.position.end.offset),p=this.getListPropsFromListItem(c,b);return p&&(r[c.position.start.line]=p),r},{})}getListPropsFromListItem(t,n){var _;const o=n.split(`
`),r=o[0],c=o.at(1);if(!(c!=null&&c.trimStart().startsWith(aa+"yaml")))return;const i=(_=c.match(/^\s*/))==null?void 0:_[0],b=o.slice(2),p=b.findIndex(S=>S.trimStart().startsWith(aa));if(p===-1)return;const z=b[p],s=b.slice(0,p),O=s.join(`
`),u=s.map(S=>i?S.slice(i.length):S).join(`
`);let d;try{const S=F0.parseYaml(u);d=ei0.parse(S)}catch(S){console.error(S);return}const f=t.position.start.line+1,q=t.position.start.offset+r.length+1,W=f+s.length+1,h=[c,O,z].join(`
`).length,v=q+h,R={start:{line:t.position.start.line+1,col:0,offset:q},end:{line:W,col:z.length,offset:v}};return{parsed:d,position:R}}};$u.listItemWithPropertiesMinSpan=3;let V4=$u;var v1={};Object.defineProperty(v1,"__esModule",{value:!0});var ge=F0;const G4="YYYY-MM-DD",K4="gggg-[W]ww",MS="YYYY-MM",pS="YYYY-[Q]Q",aS="YYYY";function Rz(e){var n,o;const t=window.app.plugins.getPlugin("periodic-notes");return t&&((o=(n=t.settings)==null?void 0:n[e])==null?void 0:o.enabled)}function yz(){var e,t,n,o;try{const{internalPlugins:r,plugins:c}=window.app;if(Rz("daily")){const{format:z,folder:s,template:O}=((t=(e=c.getPlugin("periodic-notes"))==null?void 0:e.settings)==null?void 0:t.daily)||{};return{format:z||G4,folder:(s==null?void 0:s.trim())||"",template:(O==null?void 0:O.trim())||""}}const{folder:i,format:b,template:p}=((o=(n=r.getPluginById("daily-notes"))==null?void 0:n.instance)==null?void 0:o.options)||{};return{format:b||G4,folder:(i==null?void 0:i.trim())||"",template:(p==null?void 0:p.trim())||""}}catch(r){console.info("No custom daily note settings found!",r)}}function Lz(){var e,t,n,o,r,c,i;try{const b=window.app.plugins,p=(e=b.getPlugin("calendar"))==null?void 0:e.options,z=(n=(t=b.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:n.weekly;if(Rz("weekly"))return{format:z.format||K4,folder:((o=z.folder)==null?void 0:o.trim())||"",template:((r=z.template)==null?void 0:r.trim())||""};const s=p||{};return{format:s.weeklyNoteFormat||K4,folder:((c=s.weeklyNoteFolder)==null?void 0:c.trim())||"",template:((i=s.weeklyNoteTemplate)==null?void 0:i.trim())||""}}catch(b){console.info("No custom weekly note settings found!",b)}}function vz(){var t,n,o,r;const e=window.app.plugins;try{const c=Rz("monthly")&&((n=(t=e.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:n.monthly)||{};return{format:c.format||MS,folder:((o=c.folder)==null?void 0:o.trim())||"",template:((r=c.template)==null?void 0:r.trim())||""}}catch(c){console.info("No custom monthly note settings found!",c)}}function _z(){var t,n,o,r;const e=window.app.plugins;try{const c=Rz("quarterly")&&((n=(t=e.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:n.quarterly)||{};return{format:c.format||pS,folder:((o=c.folder)==null?void 0:o.trim())||"",template:((r=c.template)==null?void 0:r.trim())||""}}catch(c){console.info("No custom quarterly note settings found!",c)}}function Nz(){var t,n,o,r;const e=window.app.plugins;try{const c=Rz("yearly")&&((n=(t=e.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:n.yearly)||{};return{format:c.format||aS,folder:((o=c.folder)==null?void 0:o.trim())||"",template:((r=c.template)==null?void 0:r.trim())||""}}catch(c){console.info("No custom yearly note settings found!",c)}}function zS(...e){let t=[];for(let o=0,r=e.length;o<r;o++)t=t.concat(e[o].split("/"));const n=[];for(let o=0,r=t.length;o<r;o++){const c=t[o];!c||c==="."||n.push(c)}return t[0]===""&&n.unshift(""),n.join("/")}function _d0(e){let t=e.substring(e.lastIndexOf("/")+1);return t.lastIndexOf(".")!=-1&&(t=t.substring(0,t.lastIndexOf("."))),t}async function Nd0(e){const t=e.replace(/\\/g,"/").split("/");if(t.pop(),t.length){const n=zS(...t);window.app.vault.getAbstractFileByPath(n)||await window.app.vault.createFolder(n)}}async function wz(e,t){t.endsWith(".md")||(t+=".md");const n=ge.normalizePath(zS(e,t));return await Nd0(n),n}async function VM(e){const{metadataCache:t,vault:n}=window.app,o=ge.normalizePath(e);if(o==="/")return Promise.resolve(["",null]);try{const r=t.getFirstLinkpathDest(o,""),c=await n.cachedRead(r),i=window.app.foldManager.load(r);return[c,i]}catch(r){return console.error(`Failed to read the daily note template '${o}'`,r),new ge.Notice("Failed to read the daily note template"),["",null]}}function n2(e,t="day"){const n=e.clone().startOf(t).format();return`${t}-${n}`}function sS(e){return e.replace(/\[[^\]]*\]/g,"")}function wd0(e,t){if(t==="week"){const n=sS(e);return/w{1,2}/i.test(n)&&(/M{1,4}/.test(n)||/D{1,4}/.test(n))}return!1}function GM(e,t){return OS(e.basename,t)}function Td0(e,t){return
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const uf0={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const lf0=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const NL=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();var df0=tS("<svg><!><!></svg>");function Te(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]),o=fe(n,["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"]);w1(t,!1);let r=N1(t,"name",8,void 0),c=N1(t,"color",8,"currentColor"),i=N1(t,"size",8,24),b=N1(t,"strokeWidth",8,2),p=N1(t,"absoluteStrokeWidth",8,!1),z=N1(t,"iconNode",24,()=>[]);Sc();var s=df0();gL(s,(d,f,q)=>({...uf0,...d,...o,width:i(),height:i(),stroke:c(),"stroke-width":f,class:q}),[()=>lf0(o)?void 0:{"aria-hidden":"true"},()=>(h1(p()),h1(b()),h1(i()),Xe(()=>p()?Number(b())*24/Number(i()):b())),()=>(h1(NL),h1(r()),h1(n),Xe(()=>NL("lucide-icon","lucide",r()?`lucide-${r()}`:"",n.class)))]);var O=X0(s);Xn(O,1,z,Tr,(d,f)=>{var q=d0(()=>iF(k(f),2));let W=()=>k(q)[0],h=()=>k(q)[1];var v=V0(),R=v0(v);rd0(R,W,!0,(_,S)=>{gL(_,()=>({...h()}))}),Z(d,v)});var u=k0(O);pe(u,t,"default",{}),Z(e,s),T1()}function WS(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M12 17V3"}],["path",{d:"m6 11 6 6 6-6"}],["path",{d:"M19 21H5"}]];Te(e,we({name:"arrow-down-to-line"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function ff0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"m14 18 4-4 4 4"}],["path",{d:"M16 2v4"}],["path",{d:"M18 22v-8"}],["path",{d:"M21 11.343V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h9"}],["path",{d:"M3 10h18"}],["path",{d:"M8 2v4"}]];Te(e,we({name:"calendar-arrow-up"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Af0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"m15 18-6-6 6-6"}]];Te(e,we({name:"chevron-left"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function qf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"m9 18 6-6-6-6"}]];Te(e,we({name:"chevron-right"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function hf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M9 3v18"}],["path",{d:"M15 3v18"}]];Te(e,we({name:"columns-3"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Wf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2"}]];Te(e,we({name:"copy"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function mS(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["circle",{cx:"12",cy:"12",r:"1"}],["circle",{cx:"12",cy:"5",r:"1"}],["circle",{cx:"12",cy:"19",r:"1"}]];Te(e,we({name:"ellipsis-vertical"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function gS(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5"}]];Te(e,we({name:"file"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function RS(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M12 22v-6"}],["path",{d:"M12 8V2"}],["path",{d:"M4 12H2"}],["path",{d:"M10 12H8"}],["path",{d:"M16 12h-2"}],["path",{d:"M22 12h-2"}],["path",{d:"m15 19-3-3-3 3"}],["path",{d:"m15 5-3 3-3-3"}]];Te(e,we({name:"fold-vertical"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function mf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["circle",{cx:"12",cy:"9",r:"1"}],["circle",{cx:"19",cy:"9",r:"1"}],["circle",{cx:"5",cy:"9",r:"1"}],["circle",{cx:"12",cy:"15",r:"1"}],["circle",{cx:"19",cy:"15",r:"1"}],["circle",{cx:"5",cy:"15",r:"1"}]];Te(e,we({name:"grip-horizontal"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function gf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["circle",{cx:"9",cy:"12",r:"1"}],["circle",{cx:"9",cy:"5",r:"1"}],["circle",{cx:"9",cy:"19",r:"1"}],["circle",{cx:"15",cy:"12",r:"1"}],["circle",{cx:"15",cy:"5",r:"1"}],["circle",{cx:"15",cy:"19",r:"1"}]];Te(e,we({name:"grip-vertical"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Rf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M5 22h14"}],["path",{d:"M5 2h14"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2"}]];Te(e,we({name:"hourglass"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function yf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"M12 16v-4"}],["path",{d:"M12 8h.01"}]];Te(e,we({name:"info"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Lf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M12 2v20"}],["path",{d:"m8 18 4 4 4-4"}],["path",{d:"m8 6 4-4 4 4"}]];Te(e,we({name:"move-vertical"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function cW(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"}]];Te(e,we({name:"play"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function vf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"}],["circle",{cx:"12",cy:"12",r:"3"}]];Te(e,we({name:"settings"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function _f0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M21 4v16"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z"}]];Te(e,we({name:"skip-forward"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Nf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}]];Te(e,we({name:"square"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function wf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M14 14v2"}],["path",{d:"M14 20v2"}],["path",{d:"M14 2v2"}],["path",{d:"M14 8v2"}],["path",{d:"M2 15h8"}],["path",{d:"M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2"}],["path",{d:"M2 9h8"}],["path",{d:"M22 15h-4"}],["path",{d:"M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2"}],["path",{d:"M22 9h-4"}],["path",{d:"M5 3v18"}]];Te(e,we({name:"table-columns-split"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Tf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6"}],["path",{d:"M3 6h18"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}]];Te(e,we({name:"trash"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function kf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3"}],["path",{d:"M12 9v4"}],["path",{d:"M12 17h.01"}]];Te(e,we({name:"triangle-alert"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}function Bf0(e,t){const n=fe(t,["children","$$slots","$$events","$$legacy"]);/**
* @license lucide-svelte v1.0.1 - ISC
*
* ISC License
*
* Copyright (c) 2026 Lucide Icons and Contributors
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
* ---
*
* The following Lucide icons are derived from the Feather project:
*
* airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
*
* The MIT License (MIT) (for the icons listed above)
*
* Copyright (c) 2013-present Cole Bemis
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*/const o=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"}]];Te(e,we({name:"zap"},()=>n,{get iconNode(){return o},children:(r,c)=>{var i=V0(),b=v0(i);pe(b,t,"default",{}),Z(r,i)},$$slots:{default:!0}}))}const xn=e=>(t,n)=>{const o={...n,class:`${n.class||""} svg-icon`};return e(t,o)},Sf0=xn(mS),yS=xn(vf0),LS=xn(Af0),vS=xn(qf0),_S=xn(ff0),Ef0=xn(hf0),Xf0=xn(wf0),Cf0=xn(kf0),xf0=xn(yf0),If0=xn(Bf0),Pf0=xn(mf0),Df0=xn(cW),Ff0=xn(_f0);var Yb,Vb,Gb,Kb;class $f0{constructor(t,n){n1(this,Yb);n1(this,Vb);n1(this,Gb);n1(this,Kb);this.currentTimeSignal=t,this.tasksWithTimeForToday=n,this.hours=3,this.blocksPerHour=6,this.totalBlocks=this.blocksPerHour*this.hours,this.timeMarkerWidthPx=8,this.timeMarkerHalfWidthPx=this.timeMarkerWidthPx/2,i1(this,Yb,d0(()=>this.currentTimeSignal.current.minutes()-this.timeMarkerHalfWidthPx)),i1(this,Vb,d0(()=>this.currentTimeSignal.current.clone().startOf("hour"))),i1(this,Gb,d0(()=>this.currentTimeSignal.current.clone().add(this.hours,"hours").endOf("hour"))),i1(this,Kb,d0(()=>r0(this.tasksWithTimeForToday.current,xe.filter(o=>M5({start:o.startTime,end:mt(o)},{start:this.rangeStart,end:this.rangeEnd})),xe.map(o=>({...i5(o,this.rangeStart,this.rangeEnd),leftPx:o.startTime.clone().diff(this.rangeStart,"minutes")})),nW)))}get timeMarkerOffsetPx(){return k(Y(this,Yb))}set timeMarkerOffsetPx(t){Y1(Y(this,Yb),t)}get rangeStart(){return k(Y(this,Vb))}set rangeStart(t){Y1(Y(this,Vb),t)}get rangeEnd(){return k(Y(this,Gb))}set rangeEnd(t){Y1(Y(this,Gb),t)}get displayedBlocks(){return k(Y(this,Kb))}set displayedBlocks(t){Y1(Y(this,Kb),t)}}Yb=new WeakMap,Vb=new WeakMap,Gb=new WeakMap,Kb=new WeakMap;var Uf0=R0('<div class="remote-block-strip svelte-1r7eby8"></div>'),jf0=R0('<div class="mini-time-block svelte-1r7eby8"><!></div>'),Hf0=R0("<div></div>"),Yf0=R0('<div class="status-bar-item-segment mini-timeline svelte-1r7eby8"><div class="time-marker top svelte-1r7eby8"></div> <div class="time-marker bottom svelte-1r7eby8"></div> <div class="mini-time-block-wrapper svelte-1r7eby8"></div> <!></div>');function Vf0(e,t){w1(t,!0);const n=d0(()=>new $f0(Pi,Do(t.tasksWithTimeForToday)));var o=Yf0();let r;var c=X0(o);let i;var b=k0(c,2);let p;var z=k0(b,2);Xn(z,21,()=>k(n).displayedBlocks,Tr,(O,u)=>{var d=jf0();let f;var q=X0(d);{var W=v=>{var R=Uf0();let _;k1(()=>_=ie(R,"",_,{"background-color":k(u).calendar.color})),Z(v,R)},h=d0(()=>kM(k(u)));a1(q,v=>{k(h)&&v(W)})}k1(v=>{$i(d,"aria-label",v),f=ie(d,"",f,{width:`${k(u).durationMinutes??""}px`,left:`${k(u).leftPx??""}px`,height:`${k(u).placing.spanPercent??""}%`,bottom:`${k(u).placing.offsetPercent??""}%`})},[()=>Ii(k(u))]),Z(O,d)});var s=k0(z,2);Xn(s,17,()=>Array.from({length:k(n).totalBlocks}),Tr,(O,u,d)=>{var f=Hf0();k1(()=>Qt(f,1,Jt(["hour-segment",(d+1)%k(n).blocksPerHour===0&&"hour-end-segment"]),"svelte-1r7eby8")),Z(O,f)}),k1(()=>{r=ie(o,"",r,{"--time-marker-half-width-px":`${k(n).timeMarkerHalfWidthPx??""}px`,"--time-marker-offset-y-px":"-3px"}),i=ie(c,"",i,{left:`${k(n).timeMarkerOffsetPx??""}px`}),p=ie(b,"",p,{left:`${k(n).timeMarkerOffsetPx??""}px`})}),Z(e,o),T1()}var Gf0=R0('<span class="status-bar-item-segment svelte-17u3224">All done</span>'),Kf0=R0('<span class="status-bar-item-segment svelte-17u3224"><!> </span>'),Zf0=R0('<span class="status-bar-item-segment svelte-17u3224"><!> </span>'),Jf0=R0('<div class="status-bar-item-segment progress-pie day-planner svelte-17u3224"></div>'),Qf0=R0('<div class="status-bar-item-segment day-planner-progress-bar svelte-17u3224"><div class="day-planner-progress-value"></div></div>'),eA0=R0("<!> <!> <!>",1),tA0=R0('<div class="root svelte-17u3224"><!> <!></div>');function nA0(e,t){w1(t,!0);const n=d0(()=>Do(rA0({tasksWithTimeForToday:t.tasksWithTimeForToday})).current),o=d0(()=>k(n).current),r=d0(()=>k(n).next),c=d0(()=>yY.current),i=d0(()=>k(c).showNow),b=d0(()=>k(c).showNext),p=d0(()=>k(c).progressIndicator),z=d0(()=>k(c).timestampFormat);var s=tA0(),O=X0(s);{var u=W=>{var h=Gf0();Z(W,h)},d=W=>{var
* @license
*
* The APCA contrast prediction algorithm is based of the formulas published
* in the APCA-1.0.98G specification by Myndex. The specification is available at:
* https://raw.githubusercontent.com/Myndex/apca-w3/master/images/APCAw3_0.1.17_APCA0.0.98G.svg
*
* Note that the APCA implementation is still beta, so please update to
* future versions of chroma.js when they become available.
*
* You can read more about the APCA Readability Criterion at
* https://readtech.org/ARC/
*/const PL=.027,xq0=5e-4,Iq0=.1,DL=1.14,$s=.022,FL=1.414,Pq0=(e,t)=>{e=new s0(e),t=new s0(t),e.alpha()<1&&(e=NM(t,e,e.alpha(),"rgb"));const n=$L(...e.rgb()),o=$L(...t.rgb()),r=n>=$s?n:n+Math.pow($s-n,FL),c=o>=$s?o:o+Math.pow($s-o,FL),i=Math.pow(c,.56)-Math.pow(r,.57),b=Math.pow(c,.65)-Math.pow(r,.62),p=Math.abs(c-r)<xq0?0:r<c?i*DL:b*DL;return(Math.abs(p)<Iq0?0:p>0?p-PL:p+PL)*100};function $L(e,t,n){return .2126729*Math.pow(e/255,2.4)+.7151522*Math.pow(t/255,2.4)+.072175*Math.pow(n/255,2.4)}const{sqrt:rr,pow:Pe,min:Dq0,max:Fq0,atan2:UL,abs:jL,cos:Us,sin:HL,exp:$q0,PI:YL}=Math;function Uq0(e,t,n=1,o=1,r=1){var c=function(T){return 360*T/(2*YL)},i=function(T){return 2*YL*T/360};e=new s0(e),t=new s0(t);const[b,p,z]=Array.from(e.lab()),[s,O,u]=Array.from(t.lab()),d=(b+s)/2,f=rr(Pe(p,2)+Pe(z,2)),q=rr(Pe(O,2)+Pe(u,2)),W=(f+q)/2,h=.5*(1-rr(Pe(W,7)/(Pe(W,7)+Pe(25,7)))),v=p*(1+h),R=O*(1+h),_=rr(Pe(v,2)+Pe(z,2)),S=rr(Pe(R,2)+Pe(u,2)),N=(_+S)/2,y=c(UL(z,v)),E=c(UL(u,R)),P=y>=0?y:y+360,F=E>=0?E:E+360,H=jL(P-F)>180?(P+F+360)/2:(P+F)/2,I=1-.17*Us(i(H-30))+.24*Us(i(2*H))+.32*Us(i(3*H+6))-.2*Us(i(4*H-63));let j=F-P;j=jL(j)<=180?j:F<=P?j+360:j-360,j=2*rr(_*S)*HL(i(j)/2);const b0=s-b,G=S-_,z0=1+.015*Pe(d-50,2)/rr(20+Pe(d-50,2)),q0=1+.045*N,Y0=1+.015*N*I,G0=30*$q0(-Pe((H-275)/25,2)),$0=-(2*rr(Pe(N,7)/(Pe(N,7)+Pe(25,7))))*HL(2*i(G0)),u0=rr(Pe(b0/(n*z0),2)+Pe(G/(o*q0),2)+Pe(j/(r*Y0),2)+$0*(G/(o*q0))*(j/(r*Y0)));return Fq0(0,Dq0(100,u0))}function jq0(e,t,n="lab"){e=new s0(e),t=new s0(t);const o=e.get(n),r=t.get(n);let c=0;for(let i in o){const b=(o[i]||0)-(r[i]||0);c+=b*b}return Math.sqrt(c)}const Hq0=(...e)=>{try{return new s0(...e),!0}catch{return!1}},Yq0={cool(){return Eu([W1.hsl(180,1,.9),W1.hsl(250,.7,.4)])},hot(){return Eu(["#000","#f00","#ff0","#fff"]).mode("rgb")}},oq={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Viridis:["#440154","#482777","#3f4a8a","#31678e","#26838f","#1f9d8a","#6cce5a","#b6de2b","#fee825"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#
- 🪲 [Report bugs and suggest features](https://github.com/ivan-lednev/obsidian-day-planner/issues)
- ❓ [Ask questions](https://github.com/ivan-lednev/obsidian-day-planner/discussions/new?category=q-a)
- 🛠️ [Submit pull-requests](./CONTRIBUTING.md)
- ❤️ If this project adds value to your life, consider supporting it finantially:
- <a href="https://www.buymeacoffee.com/machineelf" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
## 0.30.0
### ✨ New features
- Edit time block text right from the timeline: right click (or tap and hold on mobile) to open a menu, select 'Edit'
- Added 'Start', 'Stop', 'Cancel' buttons to time tracker blocks for easier access
- You can open Timeline in a regular tab with a command: 'Show timeline in regular tab'. This way the view is more convenient on mobile
### 🐞 Fixed issues
- Column size is adjusted on mobile: you can fully view planned & tracked tasks on a single screen
- 'Confirm' button is now selected by default, when confirming file creation
## 0.29.0
**Warning: the time tracking feature is still experimental and can change at any time.**
### 💥 Breaking changes
- Timestamp parsing on the line is now stricter to avoid false positives:
- Minutes are required when a timestamp is not at the start of the line (\`20\` no longer matches, \`20:00\` does)
- Space is no longer accepted as the hour-minute separator (only \`:\` and \`.\`)
- Time tracker now records it's metadata as YAML instead of Dataview props. This is the same format Obsidian uses for file props, and it's standard markdown. The old prop style is no longer supported
- Dataview is no longer required — the plugin now parses Dataview-style inline properties on its own and reads tasks directly from Obsidian's metadata cache
- You can uninstall or disable the Dataview plugin if you only used it for the planner
- \`Dataview source\` setting has been removed
- CSS class prefix changed from \`day-planner-\` to \`planner-\`. If you have custom CSS snippets targeting plugin elements, update the prefix
- Any change to the plugin settings now requires an Obsidian restart — a warning banner is shown at the top of the settings tab
### ✨ New feature: performant index
**Now the plugin is MUCH faster, especially on big vaults and mobile**
### ✨ New feature: dedicated Time Tracker view
- A separate "Time Tracker" view has been split out of the timeline. It shows your active clocks and a list of recently tracked tasks
- Open it via the new commands:
- \`Show time tracker\` — opens the panel in the right sidebar
- \`Show time tracker in regular tab\` — opens it as a regular tab
- Time tracker view has a 'Recently tracked' section, allowing you to start clocks on recently tracked tasks
- Active clocks now show the task path as a clickable pill — click to reveal the task in the source file
### ✨ Other improvements
- Block list got a minimalistic redesign — properties are cleaner and only clickable pills get hover styling
- Timeline auto-scrolls when you drag a block near the top or bottom edge, making it easier to move tasks across hours
- Error boundaries were added around the major views — when something crashes inside the plugin, you get a readable error with a stack trace
- Settings tab was reorganized into grouped sections
- Initial plugin load is faster, and the iCal sync now kicks off on plugin init instead of waiting for the first refresh interval
### 🐞 Fixed issues
- Fix multi-day view horizontal scrolling
- Fix Escape key closing the weekly/multi-day view
- Fix Notifications crashing the plugin on Android
- Fix lag when plugin is enabled
- Do not store ical metadata in plugin settings
- Fix task decorator toggle not doing anyting
And many more fixes.
## 0.28.0
### 💥 Breaking changes
- Now the plugin searches for tasks with scheduled date properties all across the vault by default, there is no need to include any files in the Dataview filter
### ✨ New feature: status bar timeline
- You can enable a mini-timeline in the status bar that lets you overview the upcoming 3 hours, with all the task blocks visible there. To enable it, go to 'Settings' > 'Status bar widget' > 'Task progress indicator' > 'Mini-timeline'
### ✨ Other improvements
- All-day tasks can be dragged between days, if a task with time is dragged into the all-day section, its timestamp gets removed (closes #315, #623)
- You can create blocks with drag & drop on mobile now: long tap and drag on the timeline to start creating a block
- Improved resize & drag controls for task blocks. Now they are much easier to use on mobile: left-click or tap on a task to see the controls, right-click or long tap to see a contextual menu
- Right-click to reveal block in file
- Description and location are now shown in remote events
- Multi-day remote events are now shown spanning across days
- You can expand, collapse or disable all day events & clocks in the timeline view
### 🐞 Fixed issues
- Fix advanced edit modes messing up other tasks (closes #619)
- All-day tasks are no longer highlighted
- Fix tasks not shown in status bar if timeline is closed
- Fix showing all-day tasks in status bar
- Fix the Escape key closing weekly view
- Fix clocks from daily notes not showing up in timeline (closes #649)
## 0.27.0
### ✨ New features
- Edit text in the command palette before task creation
- Add descriptive icons to clock commands, so that they are easier to use in the mobile toolbar
## 0.26.3
### 🐞 Fixed issues
- Fix tasks not added to daily note when there is no planner heading inside it
- Fix clocks from daily notes not showing up in timeline & active clocks
## 0.26.2
### 🐞 Fixed issues
- Fix messing up frontmatter when there is no planner heading in file
## 0.26.0
### ✨ New feature: time tracking (experimental)
You can record time spent on tasks in the form of Dataview properties and then view the records as time blocks, much like planner entries. See [the docs for detailed instructions](https://github.com/ivan-lednev/obsidian-day-planner?tab=readme-ov-file#4-time-tracking).
### 🐞 Fixed issues
- Fixed crash for iOS on drag-and-drop edits (#519)
- Fixed duplicated timestamps on drag-and-drop edits (#618)
- Fixed removing task Dataview properties on edits (#370)
## 0.25.0
### 💥 Breaking changes
- Now only the items under the planner heading will get pulled from daily notes (#382)
### ✨ New features
- Now after edits there is an **UNDO** notice that lets you revert the changes to tasks, even across multiple files (partially addresses #341)
- Now the plugin will ask for permission before creating new files on drag-and-drop edits
- Tasks crossing midnight now get shown properly in multiple day columns instead of stretching the first day (#586, #364)
- E.g.: \`- 23:00 - 4:00 Task\` will get shown in 2 columns as 2 separate blocks
- Timeline controls look tidier now
- Now all-day remote events are shown in the all day events section
- Text in blocks is now sticky and will stay visible when scrolling as well as when an event starts before the configured start hour
#### Week planner -> multi-day planner
- Now you can switch between 3 views:
- **full week** (with configurable start of the week)
- **work week** (starting on Monday)
- **3 upcoming days** (#515)
- You can now configure the first day of the week (#231)
- Now you can move back and forth between time periods from the sidebar of the multiday-view (#458, #495)
- Now weekends get marked by a different background color
- Now you an open plugin settings from the multi-day view
- Now the time period of the open view is visible in its tab title
- Now you can open the multi-day view from the left ribbon
### 🐞 Fixed issues
- Now the plugin finds contrasting font colors for your color overrides for time blocks (#481)
- obsidian-tasks tasks now get copied under the original line in the original file
- Now copying a task also copies the sub-items under it
- Extra spaces no longer get added in edited files
## 0.24.0
### ✨ New features
- Active task end time is now shown in status bar
- Notifications now show timestamps
### 🐞 Fixed issues
- Now tasks with no text content are not shown in timeline
- Fixed deleted recurrences of events in remote calendars showing up
- Fixed 12 am parsed as noon
## 0.23.0
### ✨ New features
- Now clicking on checkboxes on the timeline completes a task. [obsidian-tasks](https://github.com/obsidian-tasks-group/obsidian-tasks) logic is also respected: recurrent tasks get updated, 'finished' property gets added
- There is now an option to sort items by time in your planner after an edit (thanks, @Gelio)
- You can now configure what kind of task to create on edit: bullet (\`- task\`) or checkbox (\`- [ ] task\`)
- Minimal task duration is now configurable. Now tasks won't shrink beyond this point when editing
- Timestamps get parsed anywhere on the line, not only at the start, e.g.: \`- [ ] #task 20:30 - 21:00 Wake up\`
- Note that if a timestamp is not at the start of the line, it needs to be in a stricter format to avoid confusing the plugin
- \`20:00\` will work
- \`2000\` will not work
- There is now an option to specify your email in remote calendar config. If you do this, your RSVP status (declined/tentative) will get displayed on remote tasks from this calendar (thanks, @ramandv)
### 🐞 Fixed issues
- Now timeline will stay where you've left it when you reload Obsidian (thanks, @k4a-l)
## 0.22.0
### ✨ New features
- Default task status on creation is now configurable
### 🐞 Fixed issues
- Fixed load failure when unable to read daily notes
- Fixed console error on plugin load
- Fixed moving tasks to non-existent daily notes
- Fixed active day in week not changing on next day
- No more note switching when navigating between days from timeline view
## 0.21.1
### ✨ New features
- Drag-and-drop edits are now working on mobile: long-press on a task block to see the controls, tap on the control and start dragging to change task time
- Added floating edit controls on top of task blocks. All the edit modes are now easily available
- Now you can change task start time
- There is now a new edit mode: move block and shrink neighboring blocks
- Now you can manually adjust the height of the unscheduled tasks section through drag-and-drop
### 🐞 Fixed issues
- Fixed empty remote event names breaking the plugin (#430)
- Fixed advanced editing with Ctrl/Shift not working (#462). To do advanced edits, simply hover over the block, then over the edit controls
## 0.20.1 - 0.20.4
- 🐞 add toggle to disable release notes (#399)
- 🐞 do not reset timeline position when it's already open (#289)
- 🐞 do not replace tab content when opening weekly view (#313)
- 🐞 fix status bar error breaking plugin
- 🐞 Move task on copy, instead of changing its size
- 🐞 Fix different hourglass emoji breaking task movement
- 🐞 Fix calendar events without a location crashes plugin (#438, thanks, @sepatel)
- 🐞 Do not print undefined inside checkbox when list item is not a task (#368, thanks, @Gelio)
- 🐞 AM/PM doesn't match unexpectedly anymore (#312, thanks, @teisermann)
## 0.20.0
### New features
- ✨ Color coding: you can define background color for blocks containing certain text in first line
- ✨ Weekly view now displays unscheduled tasks on top
- ✨ Advanced drag-and-drop editing does not require modifier keys any more, you pick current edit mode in timeline controls
### Fixed issues
- 🐞 Fixed scheduling tasks for other days than today (by @Lunkle)
- 🐞 Pointer to current time is now more visible
- 🐞 Task summary in internet calendars is now displayed next to calendar name, to make it visible in short blocks
## 0.19.1 - 0.19.6
- 🐞 Fix iOS crash
- 🐞 Fix performance on startup
- 🐞 Fix colorful timeline both for local & remote calendars
- 🐞 Fix planner not reacting to daily note creation
- 🐞 Fix displaying hover preview
## 0.19.0
### ✨ New Feature: Internet Calendar Sync (Google, Outlook, iCloud)
- This lets you display events from calendars like Google Calendar, iCloud Calendar, Outlook Calendar
- You only need to add a link in the plugin settings to start displaying events from that calendar
See [README](https://github.com/ivan-lednev/obsidian-day-planner?tab=readme-ov-file#showing-internet-calendars) for details.
## 0.18.0
### ✨ New features
- Now hovering over a task with \`Control\` pressed will trigger a preview pop-up. This works great with the awesome [Hover Editor plugin](https://github.com/nothingislost/obsidian-hover-editor)
- Now when you click on a task, if there is an open tab for that file, the plugin is going to reuse it
## 0.17.2
### 🐞 Fixed issues
- Fix creating tasks with drag-and-drop
## 0.17.0
### 💥 Breaking changes
- Now by default, if your Dataview souce filter is empty, tasks are pulled only from visible daily notes
- Most people never touch this field, so the plugin is going to be lightning-fast by default
- If you want to add other folders or tags as task sources, you can still do so by adding them explicitly
### ✨ New features
- When dragging tasks from daily notes across days in the weekly view, they now get moved across files
- There is now an option to hide completed tasks from timeline
- There is now an option to hide subtasks from task blocks in the timeline
### 🐞 Fixed issues
- New drag-and-drop operations can now be started immediately after previous ones
- The plugin is much faster in the default use case (daily notes only)
- You can use plain list items in daily notes again
- Notifications work again
- Unscheduled tasks now fit their contents
### Acknowledgements
- Big thanks to @weph for helping me figure out a good performance solution
`,t,"/",this)}}class v50 extends F0.PluginSettingTab{constructor(t,n){super(t.app,t),this.plugin=t,this.settingsStore=n}display(){const{containerEl:t,warningComponent:n}=this;n&&gz(n),t.empty(),this.warningComponent=mz(kS,{props:{type:"warning",title:"Any change to the settings requires a restart of Obsidian!",className:"planner-settings-warning"},target:t});const o=new F0.SettingGroup(t).addSetting(c=>c.setName("Show release notes after update").addToggle(i=>i.setValue(this.plugin.settings().releaseNotes).onChange(b=>{this.update({releaseNotes:b})}))).addSetting(c=>c.setName("Task Notification").setDesc("Display a notification when a new task is started").addToggle(i=>i.setValue(this.plugin.settings().showTaskNotification).onChange(b=>{this.update({showTaskNotification:b})}))).addSetting(c=>c.setName("Center the Pointer in the Timeline View").setDesc("Should the pointer continuously get scrolled to the center of the view").addToggle(i=>{i.setValue(this.plugin.settings().centerNeedle).onChange(b=>{this.update({centerNeedle:b})})})).addSetting(c=>c.setName("Sort tasks in planner chronologically after edits").addToggle(i=>{i.setValue(this.plugin.settings().sortTasksInPlanAfterEdit).onChange(b=>{this.update({sortTasksInPlanAfterEdit:b})})})).addSetting(c=>c.setName("Event format on creation").addDropdown(i=>(i.addOptions({bullet:"Bullet (- New item)",task:"Task (- [ ] New item)"}),i.setValue(this.plugin.settings().eventFormatOnCreation).onChange(b=>{m0.isOneOf(b,gY),this.update({eventFormatOnCreation:b}),this.display()})))).addSetting(c=>c.setName("Timeline Zoom Level").setDesc("The zoom level to display the timeline. The higher the number, the more vertical space each task will take up.").addSlider(i=>i.setLimits(1,5,1).setValue(Number(this.plugin.settings().zoomLevel)??4).setDynamicTooltip().onChange(b=>{this.update({zoomLevel:b})})));this.plugin.settings().eventFormatOnCreation==="task"&&o.addSetting(c=>c.setName("Default task status on creation").setDesc("You can use custom statuses for more advanced workflows. E.g.: '- [>] Task'").addText(i=>i.setPlaceholder("Empty").setValue(this.plugin.settings().taskStatusOnCreation).onChange(b=>{this.settingsStore.update(p=>{const z=b.length>0?b.substring(0,1):" ";return{...p,taskStatusOnCreation:z}})}))),o.addSetting(c=>c.setName("Timeline Icon").setDesc("The icon of the timeline pane. Reopen timeline pane or restart obsidian to see the change.").addDropdown(i=>(L$.forEach(b=>i.addOption(b,b)),i.setValue(this.plugin.settings().timelineIcon??"calendar-with-checkmark").onChange(b=>{this.update({timelineIcon:b})})))).addSetting(c=>c.setName("Start Hour").setDesc("The planner is going to start at this hour each day").addDropdown(i=>i.addOptions({0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"}).setValue(String(this.plugin.settings().startHour)).onChange(b=>{const p=Number(b);this.update({startHour:p})}))).addSetting(c=>c.setName("First day of week").addDropdown(i=>i.addOptions({monday:"Monday",sunday:"Sunday",saturday:"Saturday",friday:"Friday"}).setValue(String(this.plugin.settings().firstDayOfWeek)).onChange(b=>{m0.isOneOf(b,RY),this.update({firstDayOfWeek:b})}))),new F0.SettingGroup(t).setHeading("Remote calendars").addExtraButton(c=>c.setIcon("plus").setTooltip("Add remote calendar").onClick(()=>{const i={name:"",email:"",url:"",color:"#ffffff"};this.settingsStore.update(b=>({...b,icals:[...b.icals,i]})),this.display()})),this.plugin.settings().icals.forEach((c,i)=>{new F0.SettingGroup(t).setHeading(`Calendar ${i+1}`).addSetting(b=>b.setName("Mark calendar with color").addColorPicker(p=>p.setValue(c.color).onChange(z=>{this.settingsStore.update(d2(s=>{s.icals[i].color=z}))}))).addSetting(b=>b.setName("Prepend this text to events from this calendar").addText(p=>p.setPlaceholder("Displayed name").setValue(c.name).onChange(z=>{this.settingsStore.update(d2(s=>{s.icals[i].name=z}))}))).addSetting(b=>b.setName("Your email address, used to show 'tentative'/'needs action'/'declined' marker").addText(p=>p.setPlaceholder("Your email address").setValue(c.
${r}`)}class lW0 extends F0.Plugin{constructor(){super(...arguments),this.initWeeklyLeaf=async()=>{await this.app.workspace.getLeaf("tab").setViewState({type:Qs,active:!0})},this.initTimeTrackerTab=async()=>{await this.app.workspace.getLeaf("tab").setViewState({type:Wb,active:!0})},this.initTimelineTab=async()=>{await this.app.workspace.getLeaf("tab").setViewState({type:hb,active:!0})},this.initLeafSilently=async t=>{var o;const[n]=this.app.workspace.getLeavesOfType(t);n||(await this.detachLeavesOfType(t),await((o=this.app.workspace.getRightLeaf(!1))==null?void 0:o.setViewState({type:t})))},this.initRightPanelLeaf=async t=>{var o;const[n]=this.app.workspace.getLeavesOfType(t);if(n){this.app.workspace.revealLeaf(n);return}await this.detachLeavesOfType(t),await((o=this.app.workspace.getRightLeaf(!1))==null?void 0:o.setViewState({type:t,active:!0})),this.app.workspace.rightSplit.expand()},this.initTimelineLeaf=async()=>this.initRightPanelLeaf(hb),this.initTimeTrackerLeaf=async()=>this.initRightPanelLeaf(Wb),this.showReleaseNotes=async()=>{await this.app.workspace.getLeaf("tab").setViewState({type:MA,active:!0})}}async onload(){const{vault:t,metadataCache:n}=this.app,o={...n3,...await this.loadData()},r=af0(this.app),c=new V4(t,n);this.periodicNotes=new bf0,this.vaultFacade=new pf0(t,r),this.transactionWriter=new wi0(this.vaultFacade),this.undoNotice=new bW0(this.transactionWriter.undo),this.workspaceFacade=new Ld0(this.app.workspace,this.vaultFacade,this.periodicNotes),this.metadataCacheFacade=new Rd0(n);const i=fl0({timeRemainingLowerLimit:g$}),{store:b,useSelector:p,listenerMiddleware:z,remoteTasks:s,localTasks:O,pointerDateTime:u}=Wd0({listPropsParser:c,vault:t,metadataCache:n,periodicNotes:this.periodicNotes,settings:o,icalParseScheduler:i}),{dispatch:d}=b;this.taskEntryEditor=new vd0(this.workspaceFacade,this.vaultFacade,this.metadataCacheFacade,c),this.register(()=>{z.clearListeners(),i.cancelTasks()}),this.initSettingsStore({initialSettings:o,dispatch:d}),this.registerViews({store:b,dispatch:d,remoteTasks:s,pointerDateTime:u,useSelector:p,localTasks:O});const f=zf0({taskEntryEditor:this.taskEntryEditor,metadataCacheFacade:this.metadataCacheFacade,metadataCache:n,listPropsParser:c});this.registerEvent(this.app.workspace.on("editor-menu",f)),this.registerCommands(),this.addRibbonIcons(),this.addSettingTab(new v50(this,this.settingsStore)),await this.handleNewPluginVersion(),this.app.workspace.onLayoutReady(async()=>{await this.initLeafSilently(hb),await this.initLeafSilently(Wb)}),new m4(this,this.app.workspace,t,n,d).load()}async onunload(){return Promise.all([this.detachLeavesOfType(hb),this.detachLeavesOfType(Qs),this.detachLeavesOfType(Wb)])}addRibbonIcons(){this.addRibbonIcon("calendar-range","Open Timeline",this.initTimelineLeaf),this.addRibbonIcon("table-2","Open Multi-Day View",this.initWeeklyLeaf)}async handleNewPluginVersion(){this.settings().pluginVersion!=="0.30.0"&&(this.settingsStore.update(t=>({...t,pluginVersion:"0.30.0"})),this.settings().releaseNotes&&this.app.workspace.onLayoutReady(async()=>{await this.showReleaseNotes()}))}registerCommands(){this.addCommand({id:"show-day-planner-timeline",name:"Show timeline",callback:async()=>await this.initTimelineLeaf()}),this.addCommand({id:"show-timeline-tab",name:"Show timeline in regular tab",callback:this.initTimelineTab}),this.addCommand({id:"show-weekly-view",name:"Show week planner",callback:this.initWeeklyLeaf}),this.addCommand({id:"show-multi-day-view",name:"Show multi-day planner",callback:this.initWeeklyLeaf}),this.addCommand({id:"show-time-tracker",name:"Show time tracker",callback:this.initTimeTrackerLeaf}),this.addCommand({id:"show-time-tracker-tab",name:"Show time tracker in regular tab",callback:this.initTimeTrackerTab}),this.addCommand({id:"show-day-planner-today-note",name:"Open today's Day Planner",callback:async()=>{const t=await this.periodicNotes.createDailyNoteIfNeeded(window.moment());await this.app.workspace.getLeaf(!1).openFile(t)}}),this.addCommand({id:"reorder-tasks-by-time",name:"Sort tasks under cursor by time",editorCallback:t=>{
/* nosourcemap */