All checks were successful
Deploy Quartz site to GitHub Pages / build (push) Successful in 1m52s
1883 lines
3.0 MiB
1883 lines
3.0 MiB
/*
|
||
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
|
||
if you want to view the source, please visit the github repository of this plugin
|
||
*/
|
||
|
||
var Yee=Object.create;var Wc=Object.defineProperty;var FF=Object.getOwnPropertyDescriptor;var Gee=Object.getOwnPropertyNames;var Kee=Object.getPrototypeOf,Qee=Object.prototype.hasOwnProperty;var OF=n=>{throw TypeError(n)};var Zee=(n,t,e)=>t in n?Wc(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var b=(n,t)=>()=>(n&&(t=n(n=0)),t);var D=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),Be=(n,t)=>{for(var e in t)Wc(n,e,{get:t[e],enumerable:!0})},LF=(n,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Gee(t))!Qee.call(n,a)&&a!==e&&Wc(n,a,{get:()=>t[a],enumerable:!(r=FF(t,a))||r.enumerable});return n};var Ie=(n,t,e)=>(e=n!=null?Yee(Kee(n)):{},LF(t||!n||!n.__esModule?Wc(e,"default",{value:n,enumerable:!0}):e,n)),Wa=n=>LF(Wc({},"__esModule",{value:!0}),n),He=(n,t,e,r)=>{for(var a=r>1?void 0:r?FF(t,e):t,i=n.length-1,s;i>=0;i--)(s=n[i])&&(a=(r?s(t,e,a):s(a))||a);return r&&a&&Wc(t,e,a),a};var C=(n,t,e)=>Zee(n,typeof t!="symbol"?t+"":t,e),BF=(n,t,e)=>t.has(n)||OF("Cannot "+e);var sl=(n,t,e)=>(BF(n,t,"read from private field"),e?e.call(n):t.get(n)),Qg=(n,t,e)=>t.has(n)?OF("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),Zg=(n,t,e,r)=>(BF(n,t,"write to private field"),r?r.call(n,e):t.set(n,e),e);var Jee,zMe,Jg,jF,pw,mw,Xee,HF,UMe,ete,tte,WMe,hw,qc=b(()=>{Jee=Math.pow(10,8)*24*60*60*1e3,zMe=-Jee,Jg=6048e5,jF=864e5,pw=6e4,mw=36e5,Xee=3600,HF=Xee*24,UMe=HF*7,ete=HF*365.2425,tte=ete/12,WMe=tte*3,hw=Symbol.for("constructDateFrom")});function jt(n,t){return typeof n=="function"?n(t):n&&typeof n=="object"&&hw in n?n[hw](t):n instanceof Date?new n.constructor(t):new Date(t)}var ua=b(()=>{qc()});function Fe(n,t){return jt(t||n,n)}var qt=b(()=>{ua()});function Zi(n,t,e){let r=Fe(n,e==null?void 0:e.in);return isNaN(t)?jt((e==null?void 0:e.in)||n,NaN):(t&&r.setDate(r.getDate()+t),r)}var ap=b(()=>{ua();qt()});function Vc(n,t,e){let r=Fe(n,e==null?void 0:e.in);if(isNaN(t))return jt((e==null?void 0:e.in)||n,NaN);if(!t)return r;let a=r.getDate(),i=jt((e==null?void 0:e.in)||n,r.getTime());i.setMonth(r.getMonth()+t+1,0);let s=i.getDate();return a>=s?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}var Xg=b(()=>{ua();qt()});function $c(n,t,e){let{years:r=0,months:a=0,weeks:i=0,days:s=0,hours:o=0,minutes:l=0,seconds:c=0}=t,d=Fe(n,e==null?void 0:e.in),u=a||r?Vc(d,a+r*12):d,p=s||i?Zi(u,s+i*7):u,m=l+o*60,f=(c+m*60)*1e3;return jt((e==null?void 0:e.in)||n,+p+f)}var zF=b(()=>{ap();Xg();ua();qt()});var UF=b(()=>{});var WF=b(()=>{});var qF=b(()=>{});var VF=b(()=>{});var $F=b(()=>{});var YF=b(()=>{});function pi(){return rte}var rte,Yc=b(()=>{rte={}});function nn(n,t){var o,l,c,d,u,p,m,h;let e=pi(),r=(h=(m=(d=(c=t==null?void 0:t.weekStartsOn)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:e.weekStartsOn)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?h:0,a=Fe(n,t==null?void 0:t.in),i=a.getDay(),s=(i<r?7:0)+i-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}var Gc=b(()=>{Yc();qt()});function ol(n,t){return nn(n,{...t,weekStartsOn:1})}var ip=b(()=>{Gc()});function ey(n,t){let e=Fe(n,t==null?void 0:t.in),r=e.getFullYear(),a=jt(e,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=ol(a),s=jt(e,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);let o=ol(s);return e.getTime()>=i.getTime()?r+1:e.getTime()>=o.getTime()?r:r-1}var ty=b(()=>{ua();ip();qt()});function fw(n){let t=Fe(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}var GF=b(()=>{qt()});function ry(n,...t){let e=jt.bind(null,n||t.find(r=>typeof r=="object"));return t.map(e)}var gw=b(()=>{ua()});function pa(n,t){let e=Fe(n,t==null?void 0:t.in);return e.setHours(0,0,0,0),e}var ny=b(()=>{qt()});function KF(n,t,e){let[r,a]=ry(e==null?void 0:e.in,n,t),i=pa(r),s=pa(a),o=+i-fw(i),l=+s-fw(s);return Math.round((o-l)/jF)}var yw=b(()=>{GF();gw();qc();ny()});function QF(n,t){let e=ey(n,t),r=jt((t==null?void 0:t.in)||n,0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),ol(r)}var vw=b(()=>{ua();ty();ip()});var ZF=b(()=>{});var JF=b(()=>{});var XF=b(()=>{});var eO=b(()=>{});var tO=b(()=>{});function rO(n,t,e){return Zi(n,t*7,e)}var nO=b(()=>{ap()});function aO(n,t,e){return Vc(n,t*12,e)}var iO=b(()=>{Xg()});var sO=b(()=>{});var oO=b(()=>{});var lO=b(()=>{});var cO=b(()=>{});var dO=b(()=>{});var uO=b(()=>{});var pO=b(()=>{});var mO=b(()=>{});var hO=b(()=>{});var fO=b(()=>{});function bw(n,t,e){let[r,a]=ry(e==null?void 0:e.in,n,t);return+pa(r)==+pa(a)}var gO=b(()=>{gw();ny()});function yO(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}var Tw=b(()=>{});function wr(n){return!(!yO(n)&&typeof n!="number"||isNaN(+Fe(n)))}var kw=b(()=>{Tw();qt()});var vO=b(()=>{});var bO=b(()=>{});var TO=b(()=>{});var kO=b(()=>{});var wO=b(()=>{});var SO=b(()=>{});var DO=b(()=>{});var EO=b(()=>{});var xO=b(()=>{});var CO=b(()=>{});var PO=b(()=>{});var MO=b(()=>{});var AO=b(()=>{});var IO=b(()=>{});var _O=b(()=>{});function ay(n,t){let e=Fe(n,t==null?void 0:t.in),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}var NO=b(()=>{qt()});var RO=b(()=>{});var FO=b(()=>{});var OO=b(()=>{});var LO=b(()=>{});var BO=b(()=>{});var jO=b(()=>{});var HO=b(()=>{});var zO=b(()=>{});var UO=b(()=>{});var WO=b(()=>{});var qO=b(()=>{});var VO=b(()=>{});var $O=b(()=>{});var YO=b(()=>{});function iy(n,t){let e=Fe(n,t==null?void 0:t.in);return e.setDate(1),e.setHours(0,0,0,0),e}var GO=b(()=>{qt()});var KO=b(()=>{});function QO(n,t){let e=Fe(n,t==null?void 0:t.in),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}var ZO=b(()=>{qt()});function sy(n,t){let e=Fe(n,t==null?void 0:t.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}var ww=b(()=>{qt()});var JO=b(()=>{});var XO=b(()=>{});var eL=b(()=>{});var tL=b(()=>{});function Kc(n,t){var o,l,c,d,u,p,m,h;let e=pi(),r=(h=(m=(d=(c=t==null?void 0:t.weekStartsOn)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:e.weekStartsOn)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?h:0,a=Fe(n,t==null?void 0:t.in),i=a.getDay(),s=(i<r?-7:0)+6-(i-r);return a.setDate(a.getDate()+s),a.setHours(23,59,59,999),a}var rL=b(()=>{Yc();qt()});var nL=b(()=>{});var aL=b(()=>{});var iL=b(()=>{});var sL=b(()=>{});var oL=b(()=>{});var lL=b(()=>{});var cL=b(()=>{});var dL=b(()=>{});var nte,uL,pL=b(()=>{nte={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},uL=(n,t,e)=>{let r,a=nte[n];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+r:r+" ago":r}});function oy(n){return(t={})=>{let e=t.width?String(t.width):n.defaultWidth;return n.formats[e]||n.formats[n.defaultWidth]}}var mL=b(()=>{});var ate,ite,ste,hL,fL=b(()=>{mL();ate={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ite={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ste={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hL={date:oy({formats:ate,defaultWidth:"full"}),time:oy({formats:ite,defaultWidth:"full"}),dateTime:oy({formats:ste,defaultWidth:"full"})}});var ote,gL,yL=b(()=>{ote={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},gL=(n,t,e,r)=>ote[n]});function Qc(n){return(t,e)=>{let r=e!=null&&e.context?String(e.context):"standalone",a;if(r==="formatting"&&n.formattingValues){let s=n.defaultFormattingWidth||n.defaultWidth,o=e!=null&&e.width?String(e.width):s;a=n.formattingValues[o]||n.formattingValues[s]}else{let s=n.defaultWidth,o=e!=null&&e.width?String(e.width):n.defaultWidth;a=n.values[o]||n.values[s]}let i=n.argumentCallback?n.argumentCallback(t):t;return a[i]}}var vL=b(()=>{});var lte,cte,dte,ute,pte,mte,hte,bL,TL=b(()=>{vL();lte={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},cte={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},dte={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},ute={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},pte={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},mte={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},hte=(n,t)=>{let e=Number(n),r=e%100;if(r>20||r<10)switch(r%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},bL={ordinalNumber:hte,era:Qc({values:lte,defaultWidth:"wide"}),quarter:Qc({values:cte,defaultWidth:"wide",argumentCallback:n=>n-1}),month:Qc({values:dte,defaultWidth:"wide"}),day:Qc({values:ute,defaultWidth:"wide"}),dayPeriod:Qc({values:pte,defaultWidth:"wide",formattingValues:mte,defaultFormattingWidth:"wide"})}});function Zc(n){return(t,e={})=>{let r=e.width,a=r&&n.matchPatterns[r]||n.matchPatterns[n.defaultMatchWidth],i=t.match(a);if(!i)return null;let s=i[0],o=r&&n.parsePatterns[r]||n.parsePatterns[n.defaultParseWidth],l=Array.isArray(o)?gte(o,u=>u.test(s)):fte(o,u=>u.test(s)),c;c=n.valueCallback?n.valueCallback(l):l,c=e.valueCallback?e.valueCallback(c):c;let d=t.slice(s.length);return{value:c,rest:d}}}function fte(n,t){for(let e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&t(n[e]))return e}function gte(n,t){for(let e=0;e<n.length;e++)if(t(n[e]))return e}var kL=b(()=>{});function wL(n){return(t,e={})=>{let r=t.match(n.matchPattern);if(!r)return null;let a=r[0],i=t.match(n.parsePattern);if(!i)return null;let s=n.valueCallback?n.valueCallback(i[0]):i[0];s=e.valueCallback?e.valueCallback(s):s;let o=t.slice(a.length);return{value:s,rest:o}}}var SL=b(()=>{});var yte,vte,bte,Tte,kte,wte,Ste,Dte,Ete,xte,Cte,Pte,DL,EL=b(()=>{kL();SL();yte=/^(\d+)(th|st|nd|rd)?/i,vte=/\d+/i,bte={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Tte={any:[/^b/i,/^(a|c)/i]},kte={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},wte={any:[/1/i,/2/i,/3/i,/4/i]},Ste={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Dte={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ete={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},xte={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Cte={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Pte={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},DL={ordinalNumber:wL({matchPattern:yte,parsePattern:vte,valueCallback:n=>parseInt(n,10)}),era:Zc({matchPatterns:bte,defaultMatchWidth:"wide",parsePatterns:Tte,defaultParseWidth:"any"}),quarter:Zc({matchPatterns:kte,defaultMatchWidth:"wide",parsePatterns:wte,defaultParseWidth:"any",valueCallback:n=>n+1}),month:Zc({matchPatterns:Ste,defaultMatchWidth:"wide",parsePatterns:Dte,defaultParseWidth:"any"}),day:Zc({matchPatterns:Ete,defaultMatchWidth:"wide",parsePatterns:xte,defaultParseWidth:"any"}),dayPeriod:Zc({matchPatterns:Cte,defaultMatchWidth:"any",parsePatterns:Pte,defaultParseWidth:"any"})}});var Sw,xL=b(()=>{pL();fL();yL();TL();EL();Sw={code:"en-US",formatDistance:uL,formatLong:hL,formatRelative:gL,localize:bL,match:DL,options:{weekStartsOn:0,firstWeekContainsDate:1}}});var CL=b(()=>{xL()});function PL(n,t){let e=Fe(n,t==null?void 0:t.in);return KF(e,sy(e))+1}var Dw=b(()=>{yw();ww();qt()});function ML(n,t){let e=Fe(n,t==null?void 0:t.in),r=+ol(e)-+QF(e);return Math.round(r/Jg)+1}var Ew=b(()=>{qc();ip();vw();qt()});function ly(n,t){var d,u,p,m,h,f,g,v;let e=Fe(n,t==null?void 0:t.in),r=e.getFullYear(),a=pi(),i=(v=(g=(m=(p=t==null?void 0:t.firstWeekContainsDate)!=null?p:(u=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)!=null?m:a.firstWeekContainsDate)!=null?g:(f=(h=a.locale)==null?void 0:h.options)==null?void 0:f.firstWeekContainsDate)!=null?v:1,s=jt((t==null?void 0:t.in)||n,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);let o=nn(s,t),l=jt((t==null?void 0:t.in)||n,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);let c=nn(l,t);return+e>=+o?r+1:+e>=+c?r:r-1}var cy=b(()=>{Yc();ua();Gc();qt()});function AL(n,t){var o,l,c,d,u,p,m,h;let e=pi(),r=(h=(m=(d=(c=t==null?void 0:t.firstWeekContainsDate)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)!=null?d:e.firstWeekContainsDate)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)!=null?h:1,a=ly(n,t),i=jt((t==null?void 0:t.in)||n,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),nn(i,t)}var xw=b(()=>{Yc();ua();cy();Gc()});function IL(n,t){let e=Fe(n,t==null?void 0:t.in),r=+nn(e,t)-+AL(e,t);return Math.round(r/Jg)+1}var Cw=b(()=>{qc();Gc();xw();qt()});function ut(n,t){let e=n<0?"-":"",r=Math.abs(n).toString().padStart(t,"0");return e+r}var Pw=b(()=>{});var Ji,_L=b(()=>{Pw();Ji={y(n,t){let e=n.getFullYear(),r=e>0?e:1-e;return ut(t==="yy"?r%100:r,t.length)},M(n,t){let e=n.getMonth();return t==="M"?String(e+1):ut(e+1,2)},d(n,t){return ut(n.getDate(),t.length)},a(n,t){let e=n.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(n,t){return ut(n.getHours()%12||12,t.length)},H(n,t){return ut(n.getHours(),t.length)},m(n,t){return ut(n.getMinutes(),t.length)},s(n,t){return ut(n.getSeconds(),t.length)},S(n,t){let e=t.length,r=n.getMilliseconds(),a=Math.trunc(r*Math.pow(10,e-3));return ut(a,t.length)}}});function NL(n,t=""){let e=n>0?"-":"+",r=Math.abs(n),a=Math.trunc(r/60),i=r%60;return i===0?e+String(a):e+String(a)+t+ut(i,2)}function RL(n,t){return n%60===0?(n>0?"-":"+")+ut(Math.abs(n)/60,2):ll(n,t)}function ll(n,t=""){let e=n>0?"-":"+",r=Math.abs(n),a=ut(Math.trunc(r/60),2),i=ut(r%60,2);return e+a+t+i}var Jc,Mw,FL=b(()=>{Dw();Ew();ty();Cw();cy();Pw();_L();Jc={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Mw={G:function(n,t,e){let r=n.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(r,{width:"abbreviated"});case"GGGGG":return e.era(r,{width:"narrow"});case"GGGG":default:return e.era(r,{width:"wide"})}},y:function(n,t,e){if(t==="yo"){let r=n.getFullYear(),a=r>0?r:1-r;return e.ordinalNumber(a,{unit:"year"})}return Ji.y(n,t)},Y:function(n,t,e,r){let a=ly(n,r),i=a>0?a:1-a;if(t==="YY"){let s=i%100;return ut(s,2)}return t==="Yo"?e.ordinalNumber(i,{unit:"year"}):ut(i,t.length)},R:function(n,t){let e=ey(n);return ut(e,t.length)},u:function(n,t){let e=n.getFullYear();return ut(e,t.length)},Q:function(n,t,e){let r=Math.ceil((n.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ut(r,2);case"Qo":return e.ordinalNumber(r,{unit:"quarter"});case"QQQ":return e.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,t,e){let r=Math.ceil((n.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ut(r,2);case"qo":return e.ordinalNumber(r,{unit:"quarter"});case"qqq":return e.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,t,e){let r=n.getMonth();switch(t){case"M":case"MM":return Ji.M(n,t);case"Mo":return e.ordinalNumber(r+1,{unit:"month"});case"MMM":return e.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(r,{width:"wide",context:"formatting"})}},L:function(n,t,e){let r=n.getMonth();switch(t){case"L":return String(r+1);case"LL":return ut(r+1,2);case"Lo":return e.ordinalNumber(r+1,{unit:"month"});case"LLL":return e.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(r,{width:"wide",context:"standalone"})}},w:function(n,t,e,r){let a=IL(n,r);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):ut(a,t.length)},I:function(n,t,e){let r=ML(n);return t==="Io"?e.ordinalNumber(r,{unit:"week"}):ut(r,t.length)},d:function(n,t,e){return t==="do"?e.ordinalNumber(n.getDate(),{unit:"date"}):Ji.d(n,t)},D:function(n,t,e){let r=PL(n);return t==="Do"?e.ordinalNumber(r,{unit:"dayOfYear"}):ut(r,t.length)},E:function(n,t,e){let r=n.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(r,{width:"short",context:"formatting"});case"EEEE":default:return e.day(r,{width:"wide",context:"formatting"})}},e:function(n,t,e,r){let a=n.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ut(i,2);case"eo":return e.ordinalNumber(i,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(n,t,e,r){let a=n.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ut(i,t.length);case"co":return e.ordinalNumber(i,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(n,t,e){let r=n.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return ut(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(r,{width:"short",context:"formatting"});case"iiii":default:return e.day(r,{width:"wide",context:"formatting"})}},a:function(n,t,e){let a=n.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,t,e){let r=n.getHours(),a;switch(r===12?a=Jc.noon:r===0?a=Jc.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,t,e){let r=n.getHours(),a;switch(r>=17?a=Jc.evening:r>=12?a=Jc.afternoon:r>=4?a=Jc.morning:a=Jc.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,t,e){if(t==="ho"){let r=n.getHours()%12;return r===0&&(r=12),e.ordinalNumber(r,{unit:"hour"})}return Ji.h(n,t)},H:function(n,t,e){return t==="Ho"?e.ordinalNumber(n.getHours(),{unit:"hour"}):Ji.H(n,t)},K:function(n,t,e){let r=n.getHours()%12;return t==="Ko"?e.ordinalNumber(r,{unit:"hour"}):ut(r,t.length)},k:function(n,t,e){let r=n.getHours();return r===0&&(r=24),t==="ko"?e.ordinalNumber(r,{unit:"hour"}):ut(r,t.length)},m:function(n,t,e){return t==="mo"?e.ordinalNumber(n.getMinutes(),{unit:"minute"}):Ji.m(n,t)},s:function(n,t,e){return t==="so"?e.ordinalNumber(n.getSeconds(),{unit:"second"}):Ji.s(n,t)},S:function(n,t){return Ji.S(n,t)},X:function(n,t,e){let r=n.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return RL(r);case"XXXX":case"XX":return ll(r);case"XXXXX":case"XXX":default:return ll(r,":")}},x:function(n,t,e){let r=n.getTimezoneOffset();switch(t){case"x":return RL(r);case"xxxx":case"xx":return ll(r);case"xxxxx":case"xxx":default:return ll(r,":")}},O:function(n,t,e){let r=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+NL(r,":");case"OOOO":default:return"GMT"+ll(r,":")}},z:function(n,t,e){let r=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+NL(r,":");case"zzzz":default:return"GMT"+ll(r,":")}},t:function(n,t,e){let r=Math.trunc(+n/1e3);return ut(r,t.length)},T:function(n,t,e){return ut(+n,t.length)}}});var OL,LL,Mte,BL,jL=b(()=>{OL=(n,t)=>{switch(n){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},LL=(n,t)=>{switch(n){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Mte=(n,t)=>{let e=n.match(/(P+)(p+)?/)||[],r=e[1],a=e[2];if(!a)return OL(n,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",OL(r,t)).replace("{{time}}",LL(a,t))},BL={p:LL,P:Mte}});function HL(n){return Ate.test(n)}function zL(n){return Ite.test(n)}function UL(n,t,e){let r=Nte(n,t,e);if(console.warn(r),_te.includes(n))throw new RangeError(r)}function Nte(n,t,e){let r=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${r} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}var Ate,Ite,_te,WL=b(()=>{Ate=/^D+$/,Ite=/^Y+$/,_te=["D","DD","YY","YYYY"]});function M(n,t,e){var d,u,p,m,h,f,g,v,T,k,w,S,x,I,A,B,z,U;let r=pi(),a=(u=(d=e==null?void 0:e.locale)!=null?d:r.locale)!=null?u:Sw,i=(k=(T=(f=(h=e==null?void 0:e.firstWeekContainsDate)!=null?h:(m=(p=e==null?void 0:e.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)!=null?f:r.firstWeekContainsDate)!=null?T:(v=(g=r.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)!=null?k:1,s=(U=(z=(I=(x=e==null?void 0:e.weekStartsOn)!=null?x:(S=(w=e==null?void 0:e.locale)==null?void 0:w.options)==null?void 0:S.weekStartsOn)!=null?I:r.weekStartsOn)!=null?z:(B=(A=r.locale)==null?void 0:A.options)==null?void 0:B.weekStartsOn)!=null?U:0,o=Fe(n,e==null?void 0:e.in);if(!wr(o))throw new RangeError("Invalid time value");let l=t.match(Fte).map(N=>{let P=N[0];if(P==="p"||P==="P"){let _=BL[P];return _(N,a.formatLong)}return N}).join("").match(Rte).map(N=>{if(N==="''")return{isToken:!1,value:"'"};let P=N[0];if(P==="'")return{isToken:!1,value:jte(N)};if(Mw[P])return{isToken:!0,value:N};if(P.match(Bte))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:N}});a.localize.preprocessor&&(l=a.localize.preprocessor(o,l));let c={firstWeekContainsDate:i,weekStartsOn:s,locale:a};return l.map(N=>{if(!N.isToken)return N.value;let P=N.value;(!(e!=null&&e.useAdditionalWeekYearTokens)&&zL(P)||!(e!=null&&e.useAdditionalDayOfYearTokens)&&HL(P))&&UL(P,t,String(n));let _=Mw[P[0]];return _(o,P,a.localize,c)}).join("")}function jte(n){let t=n.match(Ote);return t?t[1].replace(Lte,"'"):n}var Rte,Fte,Ote,Lte,Bte,qL=b(()=>{CL();Yc();FL();jL();WL();kw();qt();Rte=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Fte=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ote=/^'([^]*?)'?$/,Lte=/''/g,Bte=/[a-zA-Z]/});var VL=b(()=>{});var $L=b(()=>{});var YL=b(()=>{});var GL=b(()=>{});var KL=b(()=>{});var QL=b(()=>{});var ZL=b(()=>{});var JL=b(()=>{});var XL=b(()=>{});var e1=b(()=>{});var t1=b(()=>{});var r1=b(()=>{});var n1=b(()=>{});var a1=b(()=>{});var i1=b(()=>{});var s1=b(()=>{});var o1=b(()=>{});var l1=b(()=>{});var c1=b(()=>{});var d1=b(()=>{});var u1=b(()=>{});var p1=b(()=>{});var m1=b(()=>{});var h1=b(()=>{});var f1=b(()=>{});var g1=b(()=>{});var y1=b(()=>{});var v1=b(()=>{});var b1=b(()=>{});var T1=b(()=>{});var k1=b(()=>{});var w1=b(()=>{});var S1=b(()=>{});var D1=b(()=>{});var E1=b(()=>{});var x1=b(()=>{});var C1=b(()=>{});var P1=b(()=>{});var M1=b(()=>{});var A1=b(()=>{});var I1=b(()=>{});function Aw(n,t){return+Fe(n)<+Fe(t)}var _1=b(()=>{qt()});var N1=b(()=>{});var R1=b(()=>{});var F1=b(()=>{});var O1=b(()=>{});var L1=b(()=>{});var B1=b(()=>{});var j1=b(()=>{});var H1=b(()=>{});var z1=b(()=>{});var U1=b(()=>{});var W1=b(()=>{});var q1=b(()=>{});var V1=b(()=>{});var $1=b(()=>{});var Y1=b(()=>{});var G1=b(()=>{});var K1=b(()=>{});var Q1=b(()=>{});var Z1=b(()=>{});var J1=b(()=>{});var X1=b(()=>{});var eB=b(()=>{});var tB=b(()=>{});var rB=b(()=>{});var nB=b(()=>{});var aB=b(()=>{});var iB=b(()=>{});var sB=b(()=>{});var oB=b(()=>{});var lB=b(()=>{});var cB=b(()=>{});var dB=b(()=>{});var uB=b(()=>{});var pB=b(()=>{});var mB=b(()=>{});var hB=b(()=>{});var fB=b(()=>{});var gB=b(()=>{});var yB=b(()=>{});var vB=b(()=>{});function Xc(n,t,e){return Zi(n,-t,e)}var bB=b(()=>{ap()});var TB=b(()=>{});var kB=b(()=>{});var wB=b(()=>{});var SB=b(()=>{});var DB=b(()=>{});var EB=b(()=>{});var xB=b(()=>{});var CB=b(()=>{});var PB=b(()=>{});var MB=b(()=>{});var AB=b(()=>{});var IB=b(()=>{});var _B=b(()=>{});var NB=b(()=>{});var RB=b(()=>{});var FB=b(()=>{});var OB=b(()=>{});var LB=b(()=>{});var BB=b(()=>{});var jB=b(()=>{});var HB=b(()=>{});var zB=b(()=>{});var UB=b(()=>{});var WB=b(()=>{});var qB=b(()=>{});function qa(n,t){var c;let e=()=>jt(t==null?void 0:t.in,NaN),r=(c=t==null?void 0:t.additionalDigits)!=null?c:2,a=Wte(n),i;if(a.date){let d=qte(a.date,r);i=Vte(d.restDateString,d.year)}if(!i||isNaN(+i))return e();let s=+i,o=0,l;if(a.time&&(o=$te(a.time),isNaN(o)))return e();if(a.timezone){if(l=Yte(a.timezone),isNaN(l))return e()}else{let d=new Date(s+o),u=Fe(0,t==null?void 0:t.in);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return Fe(s+o+l,t==null?void 0:t.in)}function Wte(n){let t={},e=n.split(dy.dateTimeDelimiter),r;if(e.length>2)return t;if(/:/.test(e[0])?r=e[0]:(t.date=e[0],r=e[1],dy.timeZoneDelimiter.test(t.date)&&(t.date=n.split(dy.timeZoneDelimiter)[0],r=n.substr(t.date.length,n.length))),r){let a=dy.timezone.exec(r);a?(t.time=r.replace(a[1],""),t.timezone=a[1]):t.time=r}return t}function qte(n,t){let e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=n.match(e);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?a:i*100,restDateString:n.slice((r[1]||r[2]).length)}}function Vte(n,t){if(t===null)return new Date(NaN);let e=n.match(Hte);if(!e)return new Date(NaN);let r=!!e[4],a=sp(e[1]),i=sp(e[2])-1,s=sp(e[3]),o=sp(e[4]),l=sp(e[5])-1;if(r)return Jte(t,o,l)?Gte(t,o,l):new Date(NaN);{let c=new Date(0);return!Qte(t,i,s)||!Zte(t,a)?new Date(NaN):(c.setUTCFullYear(t,i,Math.max(a,s)),c)}}function sp(n){return n?parseInt(n):1}function $te(n){let t=n.match(zte);if(!t)return NaN;let e=Iw(t[1]),r=Iw(t[2]),a=Iw(t[3]);return Xte(e,r,a)?e*mw+r*pw+a*1e3:NaN}function Iw(n){return n&&parseFloat(n.replace(",","."))||0}function Yte(n){if(n==="Z")return 0;let t=n.match(Ute);if(!t)return 0;let e=t[1]==="+"?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return ere(r,a)?e*(r*mw+a*pw):NaN}function Gte(n,t,e){let r=new Date(0);r.setUTCFullYear(n,0,4);let a=r.getUTCDay()||7,i=(t-1)*7+e+1-a;return r.setUTCDate(r.getUTCDate()+i),r}function VB(n){return n%400===0||n%4===0&&n%100!==0}function Qte(n,t,e){return t>=0&&t<=11&&e>=1&&e<=(Kte[t]||(VB(n)?29:28))}function Zte(n,t){return t>=1&&t<=(VB(n)?366:365)}function Jte(n,t,e){return t>=1&&t<=53&&e>=0&&e<=6}function Xte(n,t,e){return n===24?t===0&&e===0:e>=0&&e<60&&t>=0&&t<60&&n>=0&&n<25}function ere(n,t){return t>=0&&t<=59}var dy,Hte,zte,Ute,Kte,$B=b(()=>{qc();ua();qt();dy={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Hte=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,zte=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Ute=/^([+-])(\d{2})(?::?(\d{2}))?$/;Kte=[31,null,31,30,31,30,31,31,30,31,30,31]});var YB=b(()=>{});var GB=b(()=>{});var KB=b(()=>{});var QB=b(()=>{});var ZB=b(()=>{});var JB=b(()=>{});var XB=b(()=>{});var ej=b(()=>{});var tj=b(()=>{});var rj=b(()=>{});var nj=b(()=>{});var aj=b(()=>{});var ij=b(()=>{});var sj=b(()=>{});var oj=b(()=>{});var lj=b(()=>{});var cj=b(()=>{});var dj=b(()=>{});var uj=b(()=>{});var pj=b(()=>{});var mj=b(()=>{});var hj=b(()=>{});var fj=b(()=>{});var gj=b(()=>{});var yj=b(()=>{});var vj=b(()=>{});var bj=b(()=>{});var Tj=b(()=>{});var kj=b(()=>{});var wj=b(()=>{});var Sj=b(()=>{});var Dj=b(()=>{});var Ej=b(()=>{});var xj=b(()=>{});var Cj=b(()=>{});var Pj=b(()=>{});var Mj=b(()=>{});var Aj=b(()=>{});var Ij=b(()=>{});var _j=b(()=>{});var Nj=b(()=>{});var Rj=b(()=>{});var Fj=b(()=>{});var Oj=b(()=>{});var Lj=b(()=>{});var Bj=b(()=>{});var rr=b(()=>{zF();VF();ap();YF();JF();$F();XF();Xg();eO();tO();nO();iO();sO();cO();dO();uO();pO();mO();ua();hO();fO();vO();yw();bO();TO();kO();SO();DO();EO();xO();CO();MO();AO();IO();FO();OO();LO();BO();jO();HO();zO();UO();WO();VO();$O();YO();KO();JO();XO();_O();eL();tL();nL();aL();iL();NO();sL();oL();lL();cL();rL();ZO();dL();qL();VL();$L();YL();GL();KL();QL();ZL();JL();XL();e1();t1();r1();n1();a1();Dw();i1();o1();l1();c1();d1();u1();Ew();ty();p1();m1();h1();f1();g1();wO();y1();v1();b1();Cw();T1();cy();w1();S1();D1();E1();x1();C1();P1();M1();A1();I1();_1();Tw();N1();R1();F1();O1();L1();RO();s1();q1();V1();$1();gO();G1();Q1();Z1();X1();eB();tB();nB();K1();aB();UF();WF();iB();sB();oB();lB();cB();dB();uB();pB();mB();hB();fB();gB();kw();yB();qF();vB();TB();kB();SB();DB();k1();EB();wB();xB();CB();oO();PB();MB();AB();IB();lO();_B();NB();RB();FB();OB();LB();BB();jB();HB();zB();UB();WB();qB();W1();$B();YB();GB();KB();QB();ZB();JB();XB();ej();tj();rj();nj();aj();ij();sj();oj();lj();dj();uj();z1();pj();mj();hj();U1();H1();ZF();fj();gj();cj();yj();vj();j1();bj();Tj();ny();kj();Y1();ip();vw();J1();GO();qO();rB();wj();Sj();Gc();xw();ww();Dj();xj();Cj();bB();Pj();PO();Mj();Aj();Ej();Ij();_j();Nj();Rj();qt();B1();Fj();Oj();Lj();Bj()});var Xi=D(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});var Ht=require("obsidian"),_w="YYYY-MM-DD",Nw="gggg-[W]ww",jj="YYYY-MM",Hj="YYYY-[Q]Q",zj="YYYY";function op(n){var e,r;let t=window.app.plugins.getPlugin("periodic-notes");return t&&((r=(e=t.settings)==null?void 0:e[n])==null?void 0:r.enabled)}function lp(){var n,t,e,r;try{let{internalPlugins:a,plugins:i}=window.app;if(op("daily")){let{format:c,folder:d,template:u}=((t=(n=i.getPlugin("periodic-notes"))==null?void 0:n.settings)==null?void 0:t.daily)||{};return{format:c||_w,folder:(d==null?void 0:d.trim())||"",template:(u==null?void 0:u.trim())||""}}let{folder:s,format:o,template:l}=((r=(e=a.getPluginById("daily-notes"))==null?void 0:e.instance)==null?void 0:r.options)||{};return{format:o||_w,folder:(s==null?void 0:s.trim())||"",template:(l==null?void 0:l.trim())||""}}catch(a){console.info("No custom daily note settings found!",a)}}function cp(){var n,t,e,r,a,i,s;try{let o=window.app.plugins,l=(n=o.getPlugin("calendar"))==null?void 0:n.options,c=(e=(t=o.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:e.weekly;if(op("weekly"))return{format:c.format||Nw,folder:((r=c.folder)==null?void 0:r.trim())||"",template:((a=c.template)==null?void 0:a.trim())||""};let d=l||{};return{format:d.weeklyNoteFormat||Nw,folder:((i=d.weeklyNoteFolder)==null?void 0:i.trim())||"",template:((s=d.weeklyNoteTemplate)==null?void 0:s.trim())||""}}catch(o){console.info("No custom weekly note settings found!",o)}}function dp(){var t,e,r,a;let n=window.app.plugins;try{let i=op("monthly")&&((e=(t=n.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:e.monthly)||{};return{format:i.format||jj,folder:((r=i.folder)==null?void 0:r.trim())||"",template:((a=i.template)==null?void 0:a.trim())||""}}catch(i){console.info("No custom monthly note settings found!",i)}}function up(){var t,e,r,a;let n=window.app.plugins;try{let i=op("quarterly")&&((e=(t=n.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:e.quarterly)||{};return{format:i.format||Hj,folder:((r=i.folder)==null?void 0:r.trim())||"",template:((a=i.template)==null?void 0:a.trim())||""}}catch(i){console.info("No custom quarterly note settings found!",i)}}function pp(){var t,e,r,a;let n=window.app.plugins;try{let i=op("yearly")&&((e=(t=n.getPlugin("periodic-notes"))==null?void 0:t.settings)==null?void 0:e.yearly)||{};return{format:i.format||zj,folder:((r=i.folder)==null?void 0:r.trim())||"",template:((a=i.template)==null?void 0:a.trim())||""}}catch(i){console.info("No custom yearly note settings found!",i)}}function Uj(...n){let t=[];for(let r=0,a=n.length;r<a;r++)t=t.concat(n[r].split("/"));let e=[];for(let r=0,a=t.length;r<a;r++){let i=t[r];!i||i==="."||e.push(i)}return t[0]===""&&e.unshift(""),e.join("/")}function tre(n){let t=n.substring(n.lastIndexOf("/")+1);return t.lastIndexOf(".")!=-1&&(t=t.substring(0,t.lastIndexOf("."))),t}async function rre(n){let t=n.replace(/\\/g,"/").split("/");if(t.pop(),t.length){let e=Uj(...t);window.app.vault.getAbstractFileByPath(e)||await window.app.vault.createFolder(e)}}async function mp(n,t){t.endsWith(".md")||(t+=".md");let e=Ht.normalizePath(Uj(n,t));return await rre(e),e}async function ed(n){let{metadataCache:t,vault:e}=window.app,r=Ht.normalizePath(n);if(r==="/")return Promise.resolve(["",null]);try{let a=t.getFirstLinkpathDest(r,""),i=await e.cachedRead(a),s=window.app.foldManager.load(a);return[i,s]}catch(a){return console.error(`Failed to read the daily note template '${r}'`,a),new Ht.Notice("Failed to read the daily note template"),["",null]}}function Va(n,t="day"){let e=n.clone().startOf(t).format();return`${t}-${e}`}function Wj(n){return n.replace(/\[[^\]]*\]/g,"")}function nre(n,t){if(t==="week"){let e=Wj(n);return/w{1,2}/i.test(e)&&(/M{1,4}/.test(e)||/D{1,4}/.test(e))}return!1}function td(n,t){return qj(n.basename,t)}function are(n,t){return qj(tre(n),t)}function qj(n,t){let r={day:lp,week:cp,month:dp,quarter:up,year:pp}[t]().format.split("/").pop(),a=window.moment(n,r,!0);if(!a.isValid())return null;if(nre(r,t)&&t==="week"){let i=Wj(r);if(/w{1,2}/i.test(i))return window.moment(n,r.replace(/M{1,4}/g,"").replace(/D{1,4}/g,""),!1)}return a}var Rw=class extends Error{};async function Vj(n){let t=window.app,{vault:e}=t,r=window.moment,{template:a,format:i,folder:s}=lp(),[o,l]=await ed(a),c=n.format(i),d=await mp(s,c);try{let u=await e.create(d,o.replace(/{{\s*date\s*}}/gi,c).replace(/{{\s*time\s*}}/gi,r().format("HH:mm")).replace(/{{\s*title\s*}}/gi,c).replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(p,m,h,f,g,v)=>{let T=r(),k=n.clone().set({hour:T.get("hour"),minute:T.get("minute"),second:T.get("second")});return h&&k.add(parseInt(f,10),g),v?k.format(v.substring(1).trim()):k.format(i)}).replace(/{{\s*yesterday\s*}}/gi,n.clone().subtract(1,"day").format(i)).replace(/{{\s*tomorrow\s*}}/gi,n.clone().add(1,"d").format(i)));return t.foldManager.save(u,l),u}catch(u){console.error(`Failed to create file: '${d}'`,u),new Ht.Notice("Unable to create new file.")}}function ire(n,t){var e;return(e=t[Va(n,"day")])!=null?e:null}function sre(){let{vault:n}=window.app,{folder:t}=lp(),e=n.getAbstractFileByPath(Ht.normalizePath(t));if(!e)throw new Rw("Failed to find daily notes folder");let r={};return Ht.Vault.recurseChildren(e,a=>{if(a instanceof Ht.TFile){let i=td(a,"day");if(i){let s=Va(i,"day");r[s]=a}}}),r}var Fw=class extends Error{};function ore(){let{moment:n}=window,t=n.localeData()._week.dow,e=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];for(;t;)e.push(e.shift()),t--;return e}function lre(n){return ore().indexOf(n.toLowerCase())}async function $j(n){let{vault:t}=window.app,{template:e,format:r,folder:a}=cp(),[i,s]=await ed(e),o=n.format(r),l=await mp(a,o);try{let c=await t.create(l,i.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,h,f)=>{let g=window.moment(),v=n.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),h),f?v.format(f.substring(1).trim()):v.format(r)}).replace(/{{\s*title\s*}}/gi,o).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*(sunday|monday|tuesday|wednesday|thursday|friday|saturday)\s*:(.*?)}}/gi,(d,u,p)=>{let m=lre(u);return n.weekday(m).format(p.trim())}));return window.app.foldManager.save(c,s),c}catch(c){console.error(`Failed to create file: '${l}'`,c),new Ht.Notice("Unable to create new file.")}}function cre(n,t){var e;return(e=t[Va(n,"week")])!=null?e:null}function dre(){let n={};if(!Gj())return n;let{vault:t}=window.app,{folder:e}=cp(),r=t.getAbstractFileByPath(Ht.normalizePath(e));if(!r)throw new Fw("Failed to find weekly notes folder");return Ht.Vault.recurseChildren(r,a=>{if(a instanceof Ht.TFile){let i=td(a,"week");if(i){let s=Va(i,"week");n[s]=a}}}),n}var Ow=class extends Error{};async function Yj(n){let{vault:t}=window.app,{template:e,format:r,folder:a}=dp(),[i,s]=await ed(e),o=n.format(r),l=await mp(a,o);try{let c=await t.create(l,i.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,h,f)=>{let g=window.moment(),v=n.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),h),f?v.format(f.substring(1).trim()):v.format(r)}).replace(/{{\s*date\s*}}/gi,o).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*title\s*}}/gi,o));return window.app.foldManager.save(c,s),c}catch(c){console.error(`Failed to create file: '${l}'`,c),new Ht.Notice("Unable to create new file.")}}function ure(n,t){var e;return(e=t[Va(n,"month")])!=null?e:null}function pre(){let n={};if(!Kj())return n;let{vault:t}=window.app,{folder:e}=dp(),r=t.getAbstractFileByPath(Ht.normalizePath(e));if(!r)throw new Ow("Failed to find monthly notes folder");return Ht.Vault.recurseChildren(r,a=>{if(a instanceof Ht.TFile){let i=td(a,"month");if(i){let s=Va(i,"month");n[s]=a}}}),n}var Lw=class extends Error{};async function mre(n){let{vault:t}=window.app,{template:e,format:r,folder:a}=up(),[i,s]=await ed(e),o=n.format(r),l=await mp(a,o);try{let c=await t.create(l,i.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,h,f)=>{let g=window.moment(),v=n.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),h),f?v.format(f.substring(1).trim()):v.format(r)}).replace(/{{\s*date\s*}}/gi,o).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*title\s*}}/gi,o));return window.app.foldManager.save(c,s),c}catch(c){console.error(`Failed to create file: '${l}'`,c),new Ht.Notice("Unable to create new file.")}}function hre(n,t){var e;return(e=t[Va(n,"quarter")])!=null?e:null}function fre(){let n={};if(!Qj())return n;let{vault:t}=window.app,{folder:e}=up(),r=t.getAbstractFileByPath(Ht.normalizePath(e));if(!r)throw new Lw("Failed to find quarterly notes folder");return Ht.Vault.recurseChildren(r,a=>{if(a instanceof Ht.TFile){let i=td(a,"quarter");if(i){let s=Va(i,"quarter");n[s]=a}}}),n}var Bw=class extends Error{};async function gre(n){let{vault:t}=window.app,{template:e,format:r,folder:a}=pp(),[i,s]=await ed(e),o=n.format(r),l=await mp(a,o);try{let c=await t.create(l,i.replace(/{{\s*(date|time)\s*(([+-]\d+)([yqmwdhs]))?\s*(:.+?)?}}/gi,(d,u,p,m,h,f)=>{let g=window.moment(),v=n.clone().set({hour:g.get("hour"),minute:g.get("minute"),second:g.get("second")});return p&&v.add(parseInt(m,10),h),f?v.format(f.substring(1).trim()):v.format(r)}).replace(/{{\s*date\s*}}/gi,o).replace(/{{\s*time\s*}}/gi,window.moment().format("HH:mm")).replace(/{{\s*title\s*}}/gi,o));return window.app.foldManager.save(c,s),c}catch(c){console.error(`Failed to create file: '${l}'`,c),new Ht.Notice("Unable to create new file.")}}function yre(n,t){var e;return(e=t[Va(n,"year")])!=null?e:null}function vre(){let n={};if(!Zj())return n;let{vault:t}=window.app,{folder:e}=pp(),r=t.getAbstractFileByPath(Ht.normalizePath(e));if(!r)throw new Bw("Failed to find yearly notes folder");return Ht.Vault.recurseChildren(r,a=>{if(a instanceof Ht.TFile){let i=td(a,"year");if(i){let s=Va(i,"year");n[s]=a}}}),n}function bre(){var r,a;let{app:n}=window,t=n.internalPlugins.plugins["daily-notes"];if(t&&t.enabled)return!0;let e=n.plugins.getPlugin("periodic-notes");return e&&((a=(r=e.settings)==null?void 0:r.daily)==null?void 0:a.enabled)}function Gj(){var e,r;let{app:n}=window;if(n.plugins.getPlugin("calendar"))return!0;let t=n.plugins.getPlugin("periodic-notes");return t&&((r=(e=t.settings)==null?void 0:e.weekly)==null?void 0:r.enabled)}function Kj(){var e,r;let{app:n}=window,t=n.plugins.getPlugin("periodic-notes");return t&&((r=(e=t.settings)==null?void 0:e.monthly)==null?void 0:r.enabled)}function Qj(){var e,r;let{app:n}=window,t=n.plugins.getPlugin("periodic-notes");return t&&((r=(e=t.settings)==null?void 0:e.quarterly)==null?void 0:r.enabled)}function Zj(){var e,r;let{app:n}=window,t=n.plugins.getPlugin("periodic-notes");return t&&((r=(e=t.settings)==null?void 0:e.yearly)==null?void 0:r.enabled)}function Tre(n){let t={day:lp,week:cp,month:dp,quarter:up,year:pp}[n];return t()}function kre(n,t){return{day:Vj,month:Yj,week:$j}[n](t)}We.DEFAULT_DAILY_NOTE_FORMAT=_w;We.DEFAULT_MONTHLY_NOTE_FORMAT=jj;We.DEFAULT_QUARTERLY_NOTE_FORMAT=Hj;We.DEFAULT_WEEKLY_NOTE_FORMAT=Nw;We.DEFAULT_YEARLY_NOTE_FORMAT=zj;We.appHasDailyNotesPluginLoaded=bre;We.appHasMonthlyNotesPluginLoaded=Kj;We.appHasQuarterlyNotesPluginLoaded=Qj;We.appHasWeeklyNotesPluginLoaded=Gj;We.appHasYearlyNotesPluginLoaded=Zj;We.createDailyNote=Vj;We.createMonthlyNote=Yj;We.createPeriodicNote=kre;We.createQuarterlyNote=mre;We.createWeeklyNote=$j;We.createYearlyNote=gre;We.getAllDailyNotes=sre;We.getAllMonthlyNotes=pre;We.getAllQuarterlyNotes=fre;We.getAllWeeklyNotes=dre;We.getAllYearlyNotes=vre;We.getDailyNote=ire;We.getDailyNoteSettings=lp;We.getDateFromFile=td;We.getDateFromPath=are;We.getDateUID=Va;We.getMonthlyNote=ure;We.getMonthlyNoteSettings=dp;We.getPeriodicNoteSettings=Tre;We.getQuarterlyNote=hre;We.getQuarterlyNoteSettings=up;We.getTemplateInfo=ed;We.getWeeklyNote=cre;We.getWeeklyNoteSettings=cp;We.getYearlyNote=yre;We.getYearlyNoteSettings=pp});var jw={};Be(jw,{DEFAULT_CALENDAR_VIEW_SETTINGS:()=>tH,DEFAULT_FIELD_MAPPING:()=>uy,DEFAULT_ICS_INTEGRATION_SETTINGS:()=>rH,DEFAULT_INTERNAL_VISIBLE_PROPERTIES:()=>rd,DEFAULT_NLP_TRIGGERS:()=>aH,DEFAULT_PRIORITIES:()=>Xj,DEFAULT_PROJECT_AUTOSUGGEST:()=>nH,DEFAULT_SETTINGS:()=>dr,DEFAULT_STATUSES:()=>Jj,DEFAULT_TASK_CREATION_DEFAULTS:()=>eH});var rd,uy,Jj,Xj,eH,tH,rH,nH,aH,dr,to=b(()=>{rd=["status","priority","due","scheduled","projects","contexts"],uy={title:"title",status:"status",priority:"priority",due:"due",scheduled:"scheduled",contexts:"contexts",projects:"projects",timeEstimate:"timeEstimate",completedDate:"completedDate",dateCreated:"dateCreated",dateModified:"dateModified",recurrence:"recurrence",recurrenceAnchor:"recurrence_anchor",archiveTag:"archived",timeEntries:"timeEntries",completeInstances:"complete_instances",skippedInstances:"skipped_instances",blockedBy:"blockedBy",pomodoros:"pomodoros",icsEventId:"icsEventId",icsEventTag:"ics_event",reminders:"reminders"},Jj=[{id:"none",value:"none",label:"None",color:"#cccccc",isCompleted:!1,order:0,autoArchive:!1,autoArchiveDelay:5},{id:"open",value:"open",label:"Open",color:"#808080",isCompleted:!1,order:1,autoArchive:!1,autoArchiveDelay:5},{id:"in-progress",value:"in-progress",label:"In progress",color:"#0066cc",isCompleted:!1,order:2,autoArchive:!1,autoArchiveDelay:5},{id:"done",value:"done",label:"Done",color:"#00aa00",isCompleted:!0,order:3,autoArchive:!1,autoArchiveDelay:5}],Xj=[{id:"none",value:"none",label:"None",color:"#cccccc",weight:0},{id:"low",value:"low",label:"Low",color:"#00aa00",weight:1},{id:"normal",value:"normal",label:"Normal",color:"#ffaa00",weight:2},{id:"high",value:"high",label:"High",color:"#ff0000",weight:3}],eH={defaultContexts:"",defaultTags:"",defaultProjects:"",useParentNoteAsProject:!1,defaultTimeEstimate:0,defaultRecurrence:"none",defaultDueDate:"none",defaultScheduledDate:"today",bodyTemplate:"",useBodyTemplate:!1,defaultReminders:[]},tH={defaultView:"dayGridMonth",customDayCount:3,slotDuration:"00:30:00",slotMinTime:"00:00:00",slotMaxTime:"24:00:00",scrollTime:"08:00:00",firstDay:1,timeFormat:"24",showWeekends:!0,locale:"",defaultShowScheduled:!0,defaultShowDue:!0,defaultShowDueWhenScheduled:!0,defaultShowTimeEntries:!1,defaultShowRecurring:!0,defaultShowICSEvents:!0,enableTimeblocking:!1,defaultShowTimeblocks:!0,nowIndicator:!0,selectMirror:!0,weekNumbers:!1,showTodayHighlight:!0,eventMinHeight:15,slotEventOverlap:!0,eventMaxStack:null,dayMaxEvents:!0,dayMaxEventRows:!1},rH={defaultNoteTemplate:"",defaultNoteFolder:"",icsNoteFilenameFormat:"title",customICSNoteFilenameTemplate:"{title}",enableAutoExport:!1,autoExportPath:"tasknotes-calendar.ics",autoExportInterval:60},nH={enableFuzzy:!1,rows:["{title|n(Title)}","{aliases|n(Aliases)}","{file.path|n(Path)}"],showAdvanced:!1,requiredTags:[],includeFolders:[],propertyKey:"",propertyValue:""},aH={triggers:[{propertyId:"tags",trigger:"#",enabled:!0},{propertyId:"contexts",trigger:"@",enabled:!0},{propertyId:"projects",trigger:"+",enabled:!0},{propertyId:"status",trigger:"*",enabled:!0},{propertyId:"priority",trigger:"!",enabled:!1}]},dr={tasksFolder:"TaskNotes/Tasks",moveArchivedTasks:!1,archiveFolder:"TaskNotes/Archive",taskTag:"task",taskIdentificationMethod:"tag",hideIdentifyingTagsInCards:!1,taskPropertyName:"",taskPropertyValue:"",excludedFolders:"",defaultTaskPriority:"normal",defaultTaskStatus:"open",taskOrgFiltersCollapsed:!1,taskFilenameFormat:"zettel",storeTitleInFilename:!0,customFilenameTemplate:"{title}",taskCreationDefaults:eH,calendarViewSettings:tH,pomodoroWorkDuration:25,pomodoroShortBreakDuration:5,pomodoroLongBreakDuration:15,pomodoroLongBreakInterval:4,pomodoroAutoStartBreaks:!0,pomodoroAutoStartWork:!1,pomodoroNotifications:!0,pomodoroSoundEnabled:!0,pomodoroSoundVolume:50,pomodoroStorageLocation:"plugin",enableTaskLinkOverlay:!0,enableInstantTaskConvert:!0,useDefaultsOnInstantConvert:!0,enableNaturalLanguageInput:!0,nlpDefaultToScheduled:!0,nlpLanguage:"en",uiLanguage:"system",statusSuggestionTrigger:"*",nlpTriggers:aH,singleClickAction:"edit",doubleClickAction:"openNote",projectAutosuggest:nH,inlineTaskConvertFolder:"{{currentNotePath}}",disableNoteIndexing:!1,suggestionDebounceMs:0,fieldMapping:uy,customStatuses:Jj,customPriorities:Xj,recurrenceMigrated:!1,lastSeenVersion:void 0,showReleaseNotesOnUpdate:!0,showTrackedTasksInStatusBar:!1,autoStopTimeTrackingOnComplete:!0,autoStopTimeTrackingNotification:!1,showRelationships:!0,relationshipsPosition:"bottom",showTaskCardInNote:!0,showExpandableSubtasks:!0,subtaskChevronPosition:"right",viewsButtonAlignment:"right",hideCompletedFromOverdue:!0,icsIntegration:rH,savedViews:[],enableNotifications:!0,notificationType:"system",enableAPI:!1,apiPort:8080,apiAuthToken:"",webhooks:[],userFields:[],modalFieldsConfig:void 0,enableModalSplitLayout:!0,defaultVisibleProperties:["status","priority","due","scheduled","projects","contexts","tags","blocked","blocking"],inlineVisibleProperties:["status","priority","due","scheduled","recurrence"],enableBases:!0,commandFileMapping:{"open-calendar-view":"TaskNotes/Views/mini-calendar-default.base","open-kanban-view":"TaskNotes/Views/kanban-default.base","open-tasks-view":"TaskNotes/Views/tasks-default.base","open-advanced-calendar-view":"TaskNotes/Views/calendar-default.base","open-agenda-view":"TaskNotes/Views/agenda-default.base",relationships:"TaskNotes/Views/relationships.base"},maintainDueDateOffsetInRecurring:!1,useFrontmatterMarkdownLinks:!1,oauthSetupMode:"advanced",lemonSqueezyLicenseKey:"",googleOAuthClientId:"",googleOAuthClientSecret:"",microsoftOAuthClientId:"",microsoftOAuthClientSecret:"",enableGoogleCalendar:!1,enableMicrosoftCalendar:!1,enabledGoogleCalendars:[],googleCalendarSyncTokens:{},enabledMicrosoftCalendars:[],microsoftCalendarSyncTokens:{}}});function Me(n,t){return new cl.Setting(n).setName(t.name).setDesc(t.desc).addToggle(e=>{e.setValue(t.getValue()).onChange(t.setValue)})}function nr(n,t){return new cl.Setting(n).setName(t.name).setDesc(t.desc).addText(e=>{if(e.setValue(t.getValue()),t.debounceMs&&t.debounceMs>0){let r=nd(t.setValue,t.debounceMs);e.onChange(r)}else e.onChange(t.setValue);return t.placeholder&&e.setPlaceholder(t.placeholder),t.ariaLabel&&e.inputEl.setAttribute("aria-label",t.ariaLabel),e.inputEl.addClass("settings-view__input"),e})}function ur(n,t){return new cl.Setting(n).setName(t.name).setDesc(t.desc).addDropdown(e=>(t.options.forEach(r=>{e.addOption(r.value,r.label)}),e.setValue(t.getValue()).onChange(t.setValue),t.ariaLabel&&e.selectEl.setAttribute("aria-label",t.ariaLabel),e))}function zn(n,t){let e=t.debounceMs?nd(t.setValue,t.debounceMs):t.setValue;return new cl.Setting(n).setName(t.name).setDesc(t.desc).addText(r=>(r.setValue(t.getValue().toString()).onChange(a=>{let i=parseInt(a);if(!isNaN(i)){if(t.min!==void 0&&i<t.min||t.max!==void 0&&i>t.max)return;e(i)}}),r.inputEl.type="number",t.placeholder&&r.setPlaceholder(t.placeholder),t.min!==void 0&&r.inputEl.setAttribute("min",t.min.toString()),t.max!==void 0&&r.inputEl.setAttribute("max",t.max.toString()),t.ariaLabel&&r.inputEl.setAttribute("aria-label",t.ariaLabel),r.inputEl.addClass("settings-view__input"),r))}function hp(n,t){return new cl.Setting(n).setName(t.name).setDesc(t.desc).addButton(e=>(e.setButtonText(t.buttonText).onClick(t.onClick),t.buttonClass?e.buttonEl.addClass(t.buttonClass):e.buttonEl.addClasses(["tn-btn","tn-btn--ghost"]),e))}function Ae(n,t){return new cl.Setting(n).setName(t).setHeading()}function Pe(n,t){return n.createEl("p",{text:t,cls:"settings-view__help-note"})}function nd(n,t,e=!1){let r;return function(...a){let i=()=>{r=void 0,e||n.apply(this,a)},s=e&&!r;clearTimeout(r),r=setTimeout(i,t),s&&n.apply(this,a)}}var cl,es=b(()=>{cl=require("obsidian")});async function $a(n,t){return new fp(n,t).show()}var py,fp,dl=b(()=>{py=require("obsidian"),fp=class extends py.Modal{constructor(t,e){super(t),this.options={confirmText:"Confirm",cancelText:"Cancel",isDestructive:!1,...e}}show(){return new Promise(t=>{this.resolve=t,this.open()})}onOpen(){let{contentEl:t}=this;t.empty(),new py.Setting(t).setName(this.options.title).setHeading(),t.createEl("p",{text:this.options.message});let e=t.createEl("div",{cls:"modal-button-container"});e.style.display="flex",e.style.gap="10px",e.style.justifyContent="flex-end",e.style.marginTop="20px";let r=null;this.options.thirdButtonText&&(r=e.createEl("button",{text:this.options.thirdButtonText}),r.addEventListener("click",()=>{this.options.onThirdButton&&this.options.onThirdButton(),this.close()}));let a=e.createEl("button",{text:this.options.cancelText});a.addEventListener("click",()=>{this.resolve(!1),this.close()});let i=e.createEl("button",{text:this.options.confirmText,cls:this.options.isDestructive?"mod-warning":"mod-cta"});this.options.isDestructive&&(i.style.backgroundColor="var(--color-red)",i.style.color="white"),i.addEventListener("click",()=>{this.resolve(!0),this.close()}),setTimeout(()=>{this.options.defaultToConfirm?i.focus():a.focus()},0)}onClose(){let{contentEl:t}=this;t.empty(),this.resolve&&this.resolve(!1)}}});var no,yy=b(()=>{no=class{constructor(t){this.deps=t}buildMetadataRows(t,e,r){var s;let a=[],i=Math.min(t.length,3);for(let o=0;o<i;o++){let l=t[o];if(l)try{let c=r(l),d=[];for(let u of c){if(u.property.startsWith("literal:")){let m=u.property.slice(8);m&&d.push(m);continue}let p=this.resolve(u.property,e);p&&(u.showName?d.push(`${(s=u.displayName)!=null?s:u.property}: ${p}`):d.push(p))}d.length>0&&a.push(d.join(" "))}catch(c){}}return a}stringifyFmValue(t){if(t==null)return"";if(Array.isArray(t))return t.map(a=>this.stringifyFmValue(a)).filter(Boolean).join(", ");let e=typeof t;if(e==="string"){let a=t.trim(),i=a.match(/^\[\[([^\]]+)\]\]$/);if(i){let l=i[1].split("|");if(l.length>1&&l[1].trim())return l[1].trim();let c=l[0].split("#")[0].trim();return(c.split("/").pop()||c).replace(/\.md$/i,"")}let s=a.match(/^\[([^\]]+)\]\(([^)]+)\)$/);return s?s[1].trim():a}if(e==="number"||e==="boolean")return String(t);if(e==="object"){let r=t;if(typeof r.path=="string"){let a=r.path;return(a.split("/").pop()||a).replace(/\.md$/i,"")}return""}return""}resolve(t,e){if(!t)return"";if(t.startsWith("file."))switch(t){case"file.basename":return e.basename||"";case"file.name":return e.name||"";case"file.path":return e.path||"";case"file.parent":return e.parent||"";default:return""}if(t==="title")return e.title||"";if(t==="aliases"){let i=e.aliases||[];return i.length?i.join(", "):""}let r=t;t.startsWith("frontmatter:")&&(r=t.slice(12));let a=this.deps.getFrontmatter(e)||{};return this.stringifyFmValue(a[r])}}});function Sre(n){let t=[],e="",r=0;for(;r<n.length;){let a=n[r];if(a==="\\"&&r+1<n.length){e+=n[r+1],r+=2;continue}if(a==="|"){t.push(e.trim()),e="",r++;continue}e+=a,r++}return t.push(e.trim()),t.filter(a=>a.length>0)}function Dre(n){return n.replace(/\\\|/g,"|").replace(/\\\)/g,")")}function hi(n){let t=[];if(!n)return t;let e=/\{([^}]*)\}/g,r,a=0;for(;(r=e.exec(n))!==null;){let s=n.slice(a,r.index);s.length>0&&t.push({property:`literal:${s}`,showName:!1}),a=e.lastIndex;let o=r[1].trim();if(!o)continue;let l=Sre(o);if(l.length===0)continue;let c=l[0];if(!c)throw new Error("Missing property name in token");let d={property:c,showName:!1};for(let u=1;u<l.length;u++){let p=l[u];p==="n"?d.showName=!0:p.startsWith("n(")&&p.endsWith(")")?(d.showName=!0,d.displayName=Dre(p.slice(2,-1))):p==="s"&&(d.searchable=!0)}t.push(d)}let i=n.slice(a);return i.length>0&&t.push({property:`literal:${i}`,showName:!1}),t}var gp=b(()=>{});function cH(n){return n!=null?n.trim():""}function Ere(n){return n?n.trim():""}function vy(n){let t=Ere(n==null?void 0:n.propertyKey),e=cH(n==null?void 0:n.propertyValue);return{key:t,value:e,enabled:t.length>0}}function by(n,t){if(!t.enabled)return!0;if(!n||typeof n!="object"||!(t.key in n))return!1;let e=n[t.key],r=cH(t.value);if(r.length===0)return e!=null;let a=r.toLowerCase(),i=s=>{if(s==null)return!1;if(Array.isArray(s))return s.some(o=>i(o));if(typeof s=="string")return s.trim().toLowerCase()===a;if(typeof s=="number"||typeof s=="boolean")return String(s).toLowerCase()===a;if(typeof s=="object")try{return JSON.stringify(s).toLowerCase()===a}catch(o){return!1}return String(s).toLowerCase()===a};return i(e)}var Yw=b(()=>{});var pH={};Be(pH,{NATURAL_LANGUAGE_DATE_PATTERNS:()=>yp,addDaysToDateString:()=>pl,addDaysToDateTime:()=>Bre,addMonthsToDateString:()=>Pre,addWeeksToDateString:()=>Kw,addYearsToDateString:()=>Mre,combineDateAndTime:()=>hr,convertUTCToLocalCalendarDate:()=>ao,createSafeDate:()=>Cre,createSafeUTCDate:()=>Qw,createTimeFormatHelper:()=>Ore,createUTCDateForRRule:()=>Tn,createUTCDateFromLocalCalendarDate:()=>mt,formatDateAsUTCString:()=>Xw,formatDateForDisplay:()=>as,formatDateForStorage:()=>le,formatDateStringTime:()=>uH,formatDateTime:()=>dH,formatDateTimeForDisplay:()=>kn,formatTime:()=>od,formatTimestampForDisplay:()=>ky,generateUTCCalendarDates:()=>eS,getCurrentDateString:()=>Tp,getCurrentDateTimeString:()=>Lre,getCurrentTimestamp:()=>Oe,getDatePart:()=>_e,getEndOfMonthString:()=>Nre,getEndOfWeekString:()=>Ire,getEndOfYearString:()=>Fre,getNaturalLanguageDateSuggestions:()=>zre,getStartOfMonthString:()=>_re,getStartOfWeekString:()=>Are,getStartOfYearString:()=>Rre,getTimePart:()=>Hr,getTodayLocal:()=>ft,getTodayString:()=>Vt,getUTCEndOfMonth:()=>xy,getUTCEndOfWeek:()=>tS,getUTCStartOfMonth:()=>Ey,getUTCStartOfWeek:()=>Dy,hasTimeComponent:()=>Ft,isBeforeDateSafe:()=>ns,isBeforeDateTimeAware:()=>is,isNaturalLanguageDate:()=>Cy,isOverdueTimeAware:()=>on,isPastDate:()=>Zw,isSameDateSafe:()=>mr,isToday:()=>bp,isTodayTimeAware:()=>wy,isTodayUTC:()=>Jw,isValidDateInput:()=>Hre,normalizeCalendarBoundariesToUTC:()=>jre,normalizeDateString:()=>xre,parseDate:()=>zr,parseDateAsLocal:()=>ml,parseDateToLocal:()=>$t,parseDateToUTC:()=>je,parseTimestamp:()=>Ty,resolveNaturalLanguageDate:()=>hl,startOfDayForDateString:()=>vp,validateCompleteInstances:()=>Sy,validateDateInput:()=>Gw,validateDateTimeInput:()=>kp});function zr(n){if(!n){let e=new Error("Date string cannot be empty");throw console.error("Date parsing error:",{dateString:n,error:e.message}),e}let t=n.trim();try{let e=t.match(/^(\d{4}-\d{2}-\d{2})\s+(Mon|Tue|Wed|Thu|Fri|Sat|Sun|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$/i);if(e){let r=e[1];return zr(r)}if(t.startsWith("T")&&/^T\d{2}:\d{2}(:\d{2})?/.test(t)){let r=new Error(`Invalid date format - time without date: ${n}`);throw console.warn("Date parsing error - incomplete time format:",{original:n,trimmed:t,error:r.message}),r}if(/^\d{4}-W\d{2}$/.test(t)){let[r,a]=t.split("-W"),i=parseInt(r,10),s=parseInt(a,10);if(isNaN(i)||isNaN(s)){let u=new Error(`Invalid numeric values in ISO week format: ${n}`);throw console.warn("Date parsing error - invalid ISO week numbers:",{original:n,year:r,week:a,yearNum:i,weekNum:s}),u}if(s<1||s>53){let u=new Error(`Invalid week number in ISO week format: ${n} (week must be 1-53)`);throw console.warn("Date parsing error - week number out of range:",{original:n,weekNum:s,error:u.message}),u}let o=new Date(i,0,4),l=o.getDay(),c=new Date(o);c.setDate(o.getDate()-(l===0?6:l-1));let d=new Date(c);if(d.setDate(c.getDate()+(s-1)*7),!wr(d)){let u=new Error(`Failed to calculate date from ISO week format: ${n}`);throw console.error("Date parsing error - ISO week calculation failed:",{original:n,yearNum:i,weekNum:s,jan4:o.toISOString(),targetWeekMonday:d.toString()}),u}return d}if(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}(:\d{2})?/.test(t)){let r=t.replace(" ","T"),a=qa(r);if(!wr(a)){let i=new Error(`Invalid space-separated datetime: ${n}`);throw console.warn("Date parsing error - space-separated datetime invalid:",{original:n,converted:r,error:i.message}),i}return a}if(t.includes("T")||t.includes("Z")||t.match(/[+-]\d{2}:\d{2}$/)){let r=qa(t);if(!wr(r)){let a=new Error(`Invalid timezone-aware date: ${n}`);throw console.warn("Date parsing error - timezone-aware format invalid:",{original:n,trimmed:t,error:a.message}),a}return r}else{let r=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!r){let l=new Error(`Invalid date-only string: ${n} (expected format: yyyy-MM-dd)`);throw console.warn("Date parsing error - date-only format invalid:",{original:n,trimmed:t,expectedFormat:"yyyy-MM-dd",error:l.message}),l}let[,a,i,s]=r,o=new Date(parseInt(a,10),parseInt(i,10)-1,parseInt(s,10));if(!wr(o)||o.getFullYear()!==parseInt(a,10)||o.getMonth()!==parseInt(i,10)-1||o.getDate()!==parseInt(s,10)){let l=new Error(`Invalid date values: ${n}`);throw console.warn("Date parsing error - invalid date values:",{original:n,year:a,month:i,day:s,error:l.message}),l}return o}}catch(e){if(e instanceof Error&&e.message.includes("Invalid date"))throw e;let r=new Error(`Unexpected error parsing date "${n}": ${e instanceof Error?e.message:String(e)}`);throw console.error("Unexpected date parsing error:",{original:n,trimmed:t,error:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0}),r}}function je(n){if(!n){let e=new Error("Date string cannot be empty");throw console.error("Date parsing error:",{dateString:n,error:e.message}),e}let t=n.trim();try{let e=t.match(/^(\d{4}-\d{2}-\d{2})\s+(Mon|Tue|Wed|Thu|Fri|Sat|Sun|Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday)$/i);if(e){let a=e[1];return je(a)}let r=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(r){let[,a,i,s]=r,o=parseInt(a,10),l=parseInt(i,10),c=parseInt(s,10);if(l<1||l>12)throw new Error(`Invalid month in date: ${n}`);if(c<1||c>31)throw new Error(`Invalid day in date: ${n}`);let d=new Date(Date.UTC(o,l-1,c));if(d.getUTCFullYear()!==o||d.getUTCMonth()!==l-1||d.getUTCDate()!==c)throw new Error(`Invalid date values: ${n}`);return d}return $t(t)}catch(e){let r=new Error(`Failed to parse date to UTC: ${t}`);throw console.error("Date parsing error:",{dateString:n,trimmed:t,error:e instanceof Error?e.message:String(e),stack:e instanceof Error?e.stack:void 0}),r}}function mr(n,t){try{let e=_e(n),r=_e(t),a=je(e),i=je(r);return a.getTime()===i.getTime()}catch(e){return console.error("Error comparing dates:",{date1:n,date2:t,error:e}),!1}}function ns(n,t){try{let e=_e(n),r=_e(t),a=je(e),i=je(r);return a.getTime()<i.getTime()}catch(e){return console.error("Error comparing dates for before:",{date1:n,date2:t,error:e}),!1}}function Vt(){return M(new Date,"yyyy-MM-dd")}function ft(){let n=new Date;return new Date(n.getFullYear(),n.getMonth(),n.getDate())}function ml(n){if(!n)throw new Error("Date string cannot be empty");let e=n.trim().match(/^(\d{4})-(\d{2})-(\d{2})$/);if(e){let[,r,a,i]=e,s=new Date(parseInt(r,10),parseInt(a,10)-1,parseInt(i,10));if(!wr(s)||s.getFullYear()!==parseInt(r,10)||s.getMonth()!==parseInt(a,10)-1||s.getDate()!==parseInt(i,10))throw new Error(`Invalid date values: ${n}`);return s}return zr(n)}function xre(n){if(!n)return n;try{if(n.includes("T")||n.includes("Z")||n.match(/[+-]\d{2}:\d{2}$/)){let e=n.split("T")[0];if(/^\d{4}-\d{2}-\d{2}$/.test(e))return e}let t=je(n);return wr(t)?le(t):n}catch(t){return console.error("Error normalizing date string:",{dateString:n,error:t}),n}}function Cre(n,t,e){return new Date(n,t,e)}function Qw(n,t,e){return new Date(Date.UTC(n,t,e))}function ao(n){let t=n.getUTCFullYear(),e=n.getUTCMonth(),r=n.getUTCDate();return new Date(t,e,r)}function Gw(n){if(!n||n.trim()==="")return!0;try{return zr(n),!0}catch(t){return!1}}function pl(n,t){try{let e=zr(n),r=Zi(e,t);return M(r,"yyyy-MM-dd")}catch(e){throw console.error("Error adding days to date string:",{dateString:n,days:t,error:e}),e}}function Kw(n,t){try{let e=zr(n),r=rO(e,t);return M(r,"yyyy-MM-dd")}catch(e){throw console.error("Error adding weeks to date string:",{dateString:n,weeks:t,error:e}),e}}function Pre(n,t){try{let e=zr(n),r=Vc(e,t);return M(r,"yyyy-MM-dd")}catch(e){throw console.error("Error adding months to date string:",{dateString:n,months:t,error:e}),e}}function Mre(n,t){try{let e=zr(n),r=aO(e,t);return M(r,"yyyy-MM-dd")}catch(e){throw console.error("Error adding years to date string:",{dateString:n,years:t,error:e}),e}}function Are(n=1){try{let t=nn(new Date,{weekStartsOn:n});return M(t,"yyyy-MM-dd")}catch(t){throw console.error("Error getting start of week:",{error:t}),t}}function Ire(n=1){try{let t=Kc(new Date,{weekStartsOn:n});return M(t,"yyyy-MM-dd")}catch(t){throw console.error("Error getting end of week:",{error:t}),t}}function _re(){try{let n=iy(new Date);return M(n,"yyyy-MM-dd")}catch(n){throw console.error("Error getting start of month:",{error:n}),n}}function Nre(){try{let n=ay(new Date);return M(n,"yyyy-MM-dd")}catch(n){throw console.error("Error getting end of month:",{error:n}),n}}function Rre(){try{let n=sy(new Date);return M(n,"yyyy-MM-dd")}catch(n){throw console.error("Error getting start of year:",{error:n}),n}}function Fre(){try{let n=QO(new Date);return M(n,"yyyy-MM-dd")}catch(n){throw console.error("Error getting end of year:",{error:n}),n}}function vp(n){try{return je(n)}catch(t){throw console.error("Error getting start of day for date string:",{dateString:n,error:t}),t}}function bp(n){if(!n)return!1;try{let t=ml(n),e=ft();return bw(t,e)}catch(t){return console.error("Error checking if date is today:",{dateString:n,error:t}),!1}}function Zw(n){return ns(n,Vt())}function as(n,t="MMM d, yyyy"){try{let e=zr(n);return M(e,t)}catch(e){return console.error("Error formatting date for display:",{dateString:n,error:e}),n}}function Oe(){let n=new Date,t=-n.getTimezoneOffset(),e=t>=0?"+":"-",r=m=>String(Math.abs(m)).padStart(2,"0"),a=r(Math.floor(Math.abs(t)/60)),i=r(Math.abs(t)%60),s=n.getFullYear(),o=r(n.getMonth()+1),l=r(n.getDate()),c=r(n.getHours()),d=r(n.getMinutes()),u=r(n.getSeconds()),p=String(n.getMilliseconds()).padStart(3,"0");return`${s}-${o}-${l}T${c}:${d}:${u}.${p}${e}${a}:${i}`}function Tp(){let n=new Date,t=n.getFullYear(),e=String(n.getMonth()+1).padStart(2,"0"),r=String(n.getDate()).padStart(2,"0");return`${t}-${e}-${r}`}function Ty(n){try{if(!n)throw new Error("Timestamp string cannot be empty");let t=qa(n);if(!wr(t))throw new Error(`Invalid timestamp: ${n}`);return t}catch(t){throw console.error("Error parsing timestamp:",{timestampString:n,error:t}),t}}function ky(n,t,e="24"){if(!n)return n;try{let r=Ty(n);return wr(r)?M(r,t||(e==="12"?"MMM d, yyyy h:mm a":"MMM d, yyyy HH:mm")):n}catch(r){return console.error("Error formatting timestamp for display:",{timestampString:n,error:r}),n}}function Ft(n){return n?/T\d{2}:\d{2}/.test(n):!1}function _e(n){if(!n)return"";try{if(/^\d{4}-\d{2}-\d{2}$/.test(n))return n;let t=n.indexOf("T");if(t>-1)return n.substring(0,t);let e=je(n);return le(e)}catch(t){return console.error("Error extracting date part:",{dateString:n,error:t}),n}}function Hr(n){if(!n||!Ft(n))return null;try{let t=zr(n);return M(t,"HH:mm")}catch(t){return console.error("Error extracting time part:",{dateString:n,error:t}),null}}function od(n,t="24"){return wr(n)?M(n,t==="12"?"h:mm a":"HH:mm"):(console.warn("Invalid date provided to formatTime:",n),"")}function dH(n,t="24"){return wr(n)?M(n,t==="12"?"MMM d, yyyy h:mm a":"MMM d, yyyy HH:mm"):(console.warn("Invalid date provided to formatDateTime:",n),"")}function uH(n,t="24"){if(!n||!Ft(n))return n;try{let e=$t(n);return od(e,t)}catch(e){return console.error("Error formatting date string time:",{dateString:n,error:e}),n}}function Ore(n){return{formatDateTimeForDisplay:(t,e={})=>kn(t,{...e,userTimeFormat:n}),formatTime:t=>od(t,n),formatDateTime:t=>dH(t,n),formatDateStringTime:t=>uH(t,n)}}function hr(n,t){if(!n)return"";if(!t)return n;try{let e=n.match(/^(\d{4}-\d{2}-\d{2})$/);if(e)return/^\d{2}:\d{2}$/.test(t)?`${e[1]}T${t}`:(console.warn("Invalid time format, expected HH:mm:",t),n);let r=_e(n);return!r||!/^\d{4}-\d{2}-\d{2}$/.test(r)?(console.warn("Invalid date part from dateString:",{dateString:n,datePart:r}),n):/^\d{2}:\d{2}$/.test(t)?`${r}T${t}`:(console.warn("Invalid time format, expected HH:mm:",t),n)}catch(e){return console.error("Error combining date and time:",{dateString:n,timeString:t,error:e}),n}}function kn(n,t={}){if(!n)return"";let{dateFormat:e="MMM d, yyyy",timeFormat:r,showTime:a=!0,userTimeFormat:i="24"}=t,s=r||(i==="12"?"h:mm a":"HH:mm");try{let o=zr(n);return Ft(n)&&a?!e||e.trim()===""?M(o,s):M(o,`${e} ${s}`):!e||e.trim()===""?"":M(o,e)}catch(o){return console.error("Error formatting datetime for display:",{dateString:n,error:o}),n}}function is(n,t){try{let e=je(n),r=je(t),a=e,i=r;if(Ft(n)){let s=Hr(n);if(s){let[o,l]=s.split(":").map(Number);a=new Date(e),a.setUTCHours(o,l,0,0)}}if(Ft(t)){let s=Hr(t);if(s){let[o,l]=s.split(":").map(Number);i=new Date(r),i.setUTCHours(o,l,0,0)}}return Ft(n)&&!Ft(t)?(i=new Date(r),i.setUTCHours(23,59,59,999)):!Ft(n)&&Ft(t)&&(a=new Date(e),a.setUTCHours(23,59,59,999)),a.getTime()<i.getTime()}catch(e){return console.error("Error comparing dates time-aware:",{date1:n,date2:t,error:e}),!1}}function on(n,t,e){if(!n||e&&t)return!1;try{let r=new Date,a=je(n);if(Ft(n))return Aw(a,r);{let i=je(Vt());return Aw(a,i)}}catch(r){return console.error("Error checking overdue status:",{dateString:n,error:r}),!1}}function wy(n){if(!n)return!1;try{let t=Ft(n)?zr(n):ml(n);return bw(t,new Date)}catch(t){return console.error("Error checking if today:",{dateString:n,error:t}),!1}}function kp(n,t){if(!n||n.trim()==="")return!0;try{if(!Gw(n))return!1;if(t&&t.trim()!==""){if(!/^\d{2}:\d{2}$/.test(t))return!1;let e=hr(n,t);return Gw(e)}return!0}catch(e){return!1}}function Sy(n){return Array.isArray(n)?n.filter(t=>{if(typeof t!="string"||!t.trim())return!1;let e=t.trim();if(e.startsWith("T")&&/^T\d{2}:\d{2}(:\d{2})?/.test(e)||!/^\d{4}-\d{2}-\d{2}$/.test(e))return!1;try{return zr(e),!0}catch(r){return console.warn("Invalid complete_instances entry (date parsing failed):",t,r),!1}}).map(t=>t.trim()):[]}function Lre(){return M(new Date,"yyyy-MM-dd'T'HH:mm")}function Bre(n,t){try{let e=zr(n),r=Zi(e,t);return Ft(n)?M(r,"yyyy-MM-dd'T'HH:mm"):M(r,"yyyy-MM-dd")}catch(e){throw console.error("Error adding days to datetime:",{dateString:n,days:t,error:e}),e}}function Tn(n){try{let t=n.match(/^(\d{4})-(\d{2})-(\d{2})/);if(!t)throw new Error(`Invalid date format for RRULE: ${n}`);let[,e,r,a]=t,i=parseInt(e,10),s=parseInt(r,10),o=parseInt(a,10);if(s<1||s>12)throw new Error(`Invalid month in date: ${n}`);if(o<1||o>31)throw new Error(`Invalid day in date: ${n}`);let l=new Date(Date.UTC(i,s-1,o));if(l.getUTCFullYear()!==i||l.getUTCMonth()!==s-1||l.getUTCDate()!==o)throw new Error(`Invalid date values: ${n}`);return l}catch(t){throw console.error("Error creating UTC date for RRULE:",{dateString:n,error:t}),t}}function mt(n){let t=n.getFullYear(),e=n.getMonth(),r=n.getDate();return new Date(Date.UTC(t,e,r,0,0,0,0))}function Jw(n){try{let t=ft(),e=mt(t);return n.getUTCFullYear()===e.getUTCFullYear()&&n.getUTCMonth()===e.getUTCMonth()&&n.getUTCDate()===e.getUTCDate()}catch(t){return console.error("Error in isTodayUTC:",t),!1}}function jre(n,t){try{let e=M(n,"yyyy-MM-dd"),r=M(t,"yyyy-MM-dd"),a=Tn(e),i=Tn(r);return{utcStart:a,utcEnd:i}}catch(e){throw console.error("Error normalizing calendar boundaries to UTC:",{startDate:n,endDate:t,error:e}),e}}function Xw(n){try{let t=n.getUTCFullYear(),e=String(n.getUTCMonth()+1).padStart(2,"0"),r=String(n.getUTCDate()).padStart(2,"0");return`${t}-${e}-${r}`}catch(t){return console.error("Error formatting date as UTC string:",{date:n,error:t}),n.toISOString().split("T")[0]}}function le(n){try{if(!n||!(n instanceof Date)||isNaN(n.getTime()))return console.warn("formatDateForStorage received invalid date:",n),"";let t=n.getUTCFullYear(),e=String(n.getUTCMonth()+1).padStart(2,"0"),r=String(n.getUTCDate()).padStart(2,"0");return`${t}-${e}-${r}`}catch(t){return console.error("Error formatting date for storage:",{date:n,error:t}),""}}function eS(n,t){let e=[],r=le(n),a=le(t),i=Tn(r),s=Tn(a);for(;i<=s;)e.push(new Date(i)),i.setUTCDate(i.getUTCDate()+1);return e}function Dy(n,t=1){let e=Tn(le(n)),a=(e.getUTCDay()-t+7)%7,i=new Date(e);return i.setUTCDate(i.getUTCDate()-a),i}function tS(n,t=1){let e=Dy(n,t),r=new Date(e);return r.setUTCDate(r.getUTCDate()+6),r}function Ey(n){let t=Tn(le(n));return new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1))}function xy(n){let t=Tn(le(n));return new Date(Date.UTC(t.getUTCFullYear(),t.getUTCMonth()+1,0))}function Cy(n){if(!n||typeof n!="string")return!1;let t=n.toLowerCase().trim().replace(/\s+/g," ");return t in yp?!0:[/^in\s+(\d+)\s+(days?)$/,/^(\d+)\s+(days?)\s+ago$/,/^in\s+(\d+)\s+(weeks?)$/,/^(\d+)\s+(weeks?)\s+ago$/].some(r=>r.test(t))}function Hre(n){if(typeof n!="string")return!1;let t=n.trim();if(t===""||Cy(t))return!0;try{let e=zr(t);return wr(e)}catch(e){return!1}}function hl(n){if(!n||typeof n!="string")return n;let t=n.toLowerCase().trim().replace(/\s+/g," ");if(t in yp)try{return yp[t]()}catch(e){return console.error("Error resolving natural language date:",{value:n,error:e}),n}try{let e=t.match(/^in\s+(\d+)\s+(days?)$/);if(e){let r=parseInt(e[1],10);return pl(Vt(),r)}if(e=t.match(/^(\d+)\s+(days?)\s+ago$/),e){let r=parseInt(e[1],10);return pl(Vt(),-r)}if(e=t.match(/^in\s+(\d+)\s+(weeks?)$/),e){let r=parseInt(e[1],10);return Kw(Vt(),r)}if(e=t.match(/^(\d+)\s+(weeks?)\s+ago$/),e){let r=parseInt(e[1],10);return Kw(Vt(),-r)}}catch(e){console.error("Error parsing relative natural language date:",{value:n,error:e})}return n}function zre(){let n=Object.keys(yp),t=["in 3 days","2 days ago","in 1 week","2 weeks ago"];return[...n,...t].sort()}var $t,yp,Ke=b(()=>{rr();$t=zr;yp={today:()=>Vt(),tomorrow:()=>pl(Vt(),1),yesterday:()=>pl(Vt(),-1),"next week":()=>pl(Vt(),7),"last week":()=>pl(Vt(),-7)}});var _r,ss,fl,kt,gl=b(()=>{Ke();_r=class extends Error{constructor(e,r,a){super(e);this.field=r;this.nodeId=a;this.name="FilterValidationError"}},ss=class extends Error{constructor(e,r){super(e);this.nodeId=r;this.name="FilterEvaluationError"}},fl=class fl{static generateId(){return`filter_${Date.now()}_${++this.idCounter}`}static deepCloneFilterQuery(t){return JSON.parse(JSON.stringify(t))}static validateFilterNode(t,e=!0){if(!t||typeof t!="object")throw new _r("Filter node must be an object");if(!("id"in t)||!t.id||typeof t.id!="string")throw new _r("Filter node must have a valid string ID",void 0,"id"in t?String(t.id):"unknown");if(t.type==="condition")this.validateCondition(t,e);else if(t.type==="group")this.validateGroup(t,e);else throw new _r(`Unknown filter node type: ${t.type}`,void 0,t.id)}static validateCondition(t,e=!0){if(typeof t.property!="string")throw new _r("Condition must have a valid property","property",t.id);if(e&&t.property==="")throw new _r("Property must be selected","property",t.id);if(t.property==="")return;if(!t.operator||typeof t.operator!="string")throw new _r("Condition must have a valid operator","operator",t.id);if(!this.getValidOperatorsForProperty(t.property).includes(t.operator))throw new _r(`Operator '${t.operator}' is not valid for property '${t.property}'`,"operator",t.id);if(e&&this.operatorRequiresValue(t.operator)&&(t.value===null||t.value===void 0||t.value===""))throw new _r(`Operator '${t.operator}' requires a value`,"value",t.id)}static validateGroup(t,e=!0){if(!t.conjunction||!["and","or"].includes(t.conjunction))throw new _r("Group must have a valid conjunction (and/or)","conjunction",t.id);if(!Array.isArray(t.children))throw new _r("Group must have a children array","children",t.id);t.children.forEach((r,a)=>{try{this.validateFilterNode(r,e)}catch(i){throw i instanceof _r?new _r(`Child ${a}: ${i.message}`,i.field,t.id):i}})}static getValidOperatorsForProperty(t){return typeof t=="string"&&t.startsWith("user:")?["is","is-not","contains","does-not-contain","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty","is-checked","is-not-checked","is-greater-than","is-less-than","is-greater-than-or-equal","is-less-than-or-equal"]:{"":[],title:["is","is-not","contains","does-not-contain","is-empty","is-not-empty"],path:["contains","does-not-contain","is-empty","is-not-empty"],status:["is","is-not","is-empty","is-not-empty"],priority:["is","is-not","is-empty","is-not-empty"],tags:["contains","does-not-contain","is-empty","is-not-empty"],contexts:["contains","does-not-contain","is-empty","is-not-empty"],projects:["contains","does-not-contain","is-empty","is-not-empty"],blockedBy:["contains","does-not-contain","is-empty","is-not-empty"],blocking:["contains","does-not-contain","is-empty","is-not-empty"],due:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],scheduled:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],completedDate:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],dateCreated:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],dateModified:["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],archived:["is-checked","is-not-checked"],"dependencies.isBlocked":["is-checked","is-not-checked"],"dependencies.isBlocking":["is-checked","is-not-checked"],timeEstimate:["is","is-not","is-greater-than","is-less-than","is-greater-than-or-equal","is-less-than-or-equal"],recurrence:["is-empty","is-not-empty"],"status.isCompleted":["is-checked","is-not-checked"]}[t]||[]}static isFilterNodeComplete(t){try{return this.validateFilterNode(t,!0),!0}catch(e){return!1}}static operatorRequiresValue(t){return!["is-empty","is-not-empty","is-checked","is-not-checked"].includes(t)}static getTaskPropertyValue(t,e){var r;switch(e){case"title":return t.title;case"path":return t.path;case"status":return t.status;case"priority":return t.priority;case"tags":return t.tags||[];case"contexts":return t.contexts||[];case"projects":return t.projects||[];case"blockedBy":return((r=t.blockedBy)==null?void 0:r.map(a=>a.uid))||[];case"blocking":return t.blocking||[];case"due":return t.due;case"scheduled":return t.scheduled;case"completedDate":return t.completedDate;case"dateCreated":return t.dateCreated;case"dateModified":return t.dateModified;case"archived":return t.archived;case"timeEstimate":return t.timeEstimate;case"recurrence":return t.recurrence;case"status.isCompleted":return;case"dependencies.isBlocked":return t.isBlocked===!0;case"dependencies.isBlocking":return t.isBlocking===!0;default:throw new ss(`Unknown property: ${e}`)}}static applyOperator(t,e,r,a,i){try{switch(e){case"is":return this.isEqual(t,r,i);case"is-not":return!this.isEqual(t,r,i);case"contains":return this.contains(t,r,i);case"does-not-contain":return!this.contains(t,r,i);case"is-before":return this.isBefore(t,r);case"is-after":return this.isAfter(t,r);case"is-on-or-before":return this.isOnOrBefore(t,r);case"is-on-or-after":return this.isOnOrAfter(t,r);case"is-empty":return this.isEmpty(t);case"is-not-empty":return!this.isEmpty(t);case"is-checked":return t===!0;case"is-not-checked":return t!==!0;case"is-greater-than":return this.isGreaterThan(t,r);case"is-less-than":return this.isLessThan(t,r);case"is-greater-than-or-equal":return this.isGreaterThanOrEqual(t,r);case"is-less-than-or-equal":return this.isLessThanOrEqual(t,r);default:throw new ss(`Unknown operator: ${e}`,a)}}catch(s){throw s instanceof ss?s:new ss(`Error applying operator '${e}': ${s.message}`,a)}}static isEqual(t,e,r){return r&&this.isDateProperty(r)&&typeof t=="string"&&typeof e=="string"&&(t||Cy(e))?this.isEqualDate(t,e):Array.isArray(t)?Array.isArray(e)?t.some(a=>e.includes(a)):t.includes(e):Array.isArray(e)?e.includes(t):t===e}static matchesHierarchicalTag(t,e){if(!t||!e)return!1;let r=t.toLowerCase(),a=e.toLowerCase();return!!(r===a||r.startsWith(a+"/")||r.includes(a))}static matchesHierarchicalTagExact(t,e){if(!t||!e)return!1;let r=t.toLowerCase(),a=e.toLowerCase();return!!(r===a||r.startsWith(a+"/"))}static matchesTagConditions(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(e.length===0)return!0;let r=[],a=[];for(let i of e)if(typeof i=="string"&&i.startsWith("-")){let s=i.slice(1);s&&a.push(s)}else typeof i=="string"&&r.push(i);for(let i of a)if(t.some(o=>this.matchesHierarchicalTag(o,i)))return!1;return r.length>0?r.some(i=>t.some(s=>this.matchesHierarchicalTag(s,i))):!0}static contains(t,e,r){if(Array.isArray(t))if(Array.isArray(e))if(r==="tags"){let a=t.filter(s=>typeof s=="string"),i=e.filter(s=>typeof s=="string");return fl.matchesTagConditions(a,i)}else return e.some(a=>t.some(i=>typeof i=="string"&&typeof a=="string"&&i.toLowerCase().includes(a.toLowerCase())));else{let a=typeof e=="string"?e:String(e!=null?e:"");if(r==="tags"){let i=t.filter(s=>typeof s=="string");return fl.matchesTagConditions(i,[a])}else{let i=a.toLowerCase();return t.some(s=>typeof s=="string"&&s.toLowerCase().includes(i))}}else if(typeof t=="string")if(Array.isArray(e))if(r==="tags"){let a=e.filter(i=>typeof i=="string");return fl.matchesTagConditions([t],a)}else return e.some(a=>typeof a=="string"&&t.toLowerCase().includes(a.toLowerCase()));else return r==="tags"&&typeof e=="string"?fl.matchesTagConditions([t],[e]):typeof e=="string"&&t.toLowerCase().includes(e.toLowerCase());return!1}static isBefore(t,e){if(!t||!e)return!1;try{let r=hl(e);return is(t,r)}catch(r){return!1}}static isAfter(t,e){if(!t||!e)return!1;try{let r=hl(e);return is(r,t)}catch(r){return!1}}static isOnOrBefore(t,e){if(!t||!e)return!1;try{let r=hl(e);return is(t,r)||mr(_e(t),_e(r))}catch(r){return!1}}static isOnOrAfter(t,e){if(!t||!e)return!1;try{let r=hl(e);return is(r,t)||mr(_e(t),_e(r))}catch(r){return!1}}static isDateProperty(t){return["due","scheduled","completedDate","dateCreated","dateModified"].includes(t)}static isEqualDate(t,e){try{let r=hl(e);return mr(_e(t),_e(r))}catch(r){return!1}}static isEmpty(t){return t==null?!0:typeof t=="string"?t.trim()==="":Array.isArray(t)?t.length===0?!0:t.every(e=>{if(typeof e!="string")return!1;let r=e.trim();return r.length===0||r==='""'||r==="''"}):!1}static isGreaterThan(t,e){let r=typeof t=="number"?t:parseFloat(t),a=typeof e=="number"?e:parseFloat(e);return isNaN(r)||isNaN(a)?!1:r>a}static isLessThan(t,e){let r=typeof t=="number"?t:parseFloat(t),a=typeof e=="number"?e:parseFloat(e);return isNaN(r)||isNaN(a)?!1:r<a}static isGreaterThanOrEqual(t,e){let r=typeof t=="number"?t:parseFloat(t),a=typeof e=="number"?e:parseFloat(e);return isNaN(r)||isNaN(a)?!1:r>=a}static isLessThanOrEqual(t,e){let r=typeof t=="number"?t:parseFloat(t),a=typeof e=="number"?e:parseFloat(e);return isNaN(r)||isNaN(a)?!1:r<=a}};fl.idCounter=0;kt=fl});var fi,io,Py=b(()=>{fi=require("obsidian");yy();gp();Yw();gl();io=class extends fi.FuzzySuggestModal{constructor(t,e,r){super(t),this.plugin=e,this.onChoose=r,this.setPlaceholder("Type to search for project notes..."),this.setInstructions([{command:"\u2191\u2193",purpose:"to navigate"},{command:"\u21B5",purpose:"to select"},{command:"esc",purpose:"to cancel"}])}getItems(){var i,s,o,l,c,d,u;let t=this.app.vault.getAllLoadedFiles().filter(p=>p instanceof fi.TFile&&p.extension==="md"&&!p.path.includes(".trash")),e=(o=(s=(i=this.plugin.settings)==null?void 0:i.projectAutosuggest)==null?void 0:s.requiredTags)!=null?o:[],r=(d=(c=(l=this.plugin.settings)==null?void 0:l.projectAutosuggest)==null?void 0:c.includeFolders)!=null?d:[],a=vy((u=this.plugin.settings)==null?void 0:u.projectAutosuggest);return e.length===0&&r.length===0&&!a.enabled?t:t.filter(p=>{var h,f;if(!(p instanceof fi.TFile))return!1;let m=this.app.metadataCache.getFileCache(p);if(e.length>0){let g=((h=m==null?void 0:m.tags)==null?void 0:h.map(k=>k.tag.replace("#","")))||[],v=((f=m==null?void 0:m.frontmatter)==null?void 0:f.tags)||[],T=[...g,...Array.isArray(v)?v:[v].filter(Boolean)];if(!kt.matchesTagConditions(T,e))return!1}if(r.length>0&&!r.some(v=>p.path.startsWith(v)||p.path.startsWith(v+"/")))return!1;if(a.enabled){let g=m==null?void 0:m.frontmatter;if(!by(g,a))return!1}return!0})}getItemText(t){var s,o,l,c;if(!(t instanceof fi.TFile))return t.name;let e=`${t.name} ${t.path}`,r=(l=(o=(s=this.plugin.settings)==null?void 0:s.projectAutosuggest)==null?void 0:o.rows)!=null?l:[],a=new Set;for(let d of r)try{let u=hi(d);for(let p of u)p.searchable&&!p.property.startsWith("literal:")&&a.add(p.property)}catch(u){}let i=this.app.metadataCache.getFileCache(t);if(i!=null&&i.frontmatter){let d=this.plugin.fieldMapper.mapFromFrontmatter(i.frontmatter,t.path,this.plugin.settings.storeTitleInFilename),u=typeof d.title=="string"?d.title:"";u&&(e+=` ${u}`);let p=(0,fi.parseFrontMatterAliases)(i.frontmatter)||[];Array.isArray(p)&&p.length>0&&(e+=` ${p.join(" ")}`);for(let m of a){let h="";switch(m){case"file.path":h=t.path;break;case"file.parent":h=((c=t.parent)==null?void 0:c.name)||"";break;case"file.basename":h=t.basename;break;case"title":case"aliases":break;default:{let f=i.frontmatter[m];f!=null&&(h=Array.isArray(f)?f.join(" "):String(f));break}}h&&(e+=` ${h}`)}}return e}renderSuggestion(t,e){var s,o,l,c;let r=t.item;if(e.empty(),!(r instanceof fi.TFile)){e.textContent=r.name;return}let a=e.createDiv({cls:"project-suggestion"}),i=((l=(o=(s=this.plugin.settings)==null?void 0:s.projectAutosuggest)==null?void 0:o.rows)!=null?l:[]).slice(0,3);if(i.length===0){a.createSpan({cls:"project-name",text:r.basename});return}try{let d=this.app.metadataCache.getFileCache(r),u=(d==null?void 0:d.frontmatter)||{},p=this.plugin.fieldMapper.mapFromFrontmatter(u,r.path,this.plugin.settings.storeTitleInFilename),m=typeof p.title=="string"?p.title:"",h=(0,fi.parseFrontMatterAliases)(u)||[],f=Array.isArray(h)?h.filter(k=>typeof k=="string"):[],g={basename:r.basename,name:r.name,path:r.path,parent:((c=r.parent)==null?void 0:c.path)||"",title:m,aliases:f,frontmatter:u},v=new no({getFrontmatter:()=>u});a.createDiv({cls:"project-name",text:r.basename});let T=v.buildMetadataRows(i,g,hi);for(let k of T){let w=a.createDiv({cls:"project-meta"});w.textContent=k}}catch(d){console.error("Error rendering project suggestion:",d),a.createSpan({cls:"project-name",text:r.basename})}}onChooseItem(t,e){this.onChoose(t)}}});function ha(n){if(n==null)return[];let t=[],e="",r=0,a=null;for(let s=0;s<n.length;s++){let o=n[s],l=n[s+1];if(!a&&o==="["&&l==="["){r++,e+="[[",s++;continue}if(!a&&o==="]"&&l==="]"&&r>0){r--,e+="]]",s++;continue}if(!r&&(o==='"'||o==="'")){a===null?a=o:a===o&&(a=null),e+=o;continue}if(o===","&&r===0&&a===null){let c=e.trim();c&&t.push(c),e="";continue}e+=o}let i=e.trim();return i&&t.push(i),t}var yl=b(()=>{});var sS={};Be(sS,{DEFAULT_CORE_FIELDS:()=>fH,DEFAULT_FIELD_GROUPS:()=>hH,createDefaultFieldConfig:()=>gH,getFieldsByGroup:()=>Vre,getFieldsForModal:()=>yH,initializeFieldConfig:()=>vl,migrateUserFieldsToFieldConfig:()=>vH});function gH(){return{version:1,fields:[...fH],groups:[...hH]}}function yH(n,t){return n.fields.filter(e=>e.enabled).filter(e=>t?e.visibleInCreation:e.visibleInEdit).sort((e,r)=>{var o,l;let a=n.groups.find(c=>c.id===e.group),i=n.groups.find(c=>c.id===r.group),s=((o=a==null?void 0:a.order)!=null?o:0)-((l=i==null?void 0:i.order)!=null?l:0);return s!==0?s:e.order-r.order})}function Vre(n,t){let e=yH(n,t),r=new Map;for(let a of e){let i=r.get(a.group)||[];i.push(a),r.set(a.group,i)}return r}function vH(n){return!n||n.length===0?[]:n.map((t,e)=>({id:t.id||`user-${e}`,fieldType:"user",group:"custom",displayName:t.displayName||`Field ${e+1}`,visibleInCreation:!0,visibleInEdit:!0,order:e,enabled:!0}))}function vl(n,t){if(n)return n;let e=gH();if(t&&t.length>0){let r=vH(t);e.fields.push(...r)}return e}var hH,fH,wp=b(()=>{hH=[{id:"basic",displayName:"Basic Information",order:0,collapsible:!1,defaultCollapsed:!1},{id:"metadata",displayName:"Metadata",order:1,collapsible:!0,defaultCollapsed:!1},{id:"organization",displayName:"Organization",order:2,collapsible:!0,defaultCollapsed:!1},{id:"dependencies",displayName:"Dependencies",order:3,collapsible:!0,defaultCollapsed:!1},{id:"custom",displayName:"Custom Fields",order:4,collapsible:!0,defaultCollapsed:!1}],fH=[{id:"title",fieldType:"core",group:"basic",displayName:"Title",visibleInCreation:!0,visibleInEdit:!0,order:0,enabled:!0,required:!0},{id:"details",fieldType:"core",group:"basic",displayName:"Details",visibleInCreation:!0,visibleInEdit:!0,order:1,enabled:!0},{id:"contexts",fieldType:"core",group:"metadata",displayName:"Contexts",visibleInCreation:!0,visibleInEdit:!0,order:0,enabled:!0},{id:"tags",fieldType:"core",group:"metadata",displayName:"Tags",visibleInCreation:!0,visibleInEdit:!0,order:1,enabled:!0},{id:"time-estimate",fieldType:"core",group:"metadata",displayName:"Time Estimate",visibleInCreation:!0,visibleInEdit:!0,order:2,enabled:!0},{id:"projects",fieldType:"organization",group:"organization",displayName:"Projects",visibleInCreation:!0,visibleInEdit:!0,order:0,enabled:!0},{id:"subtasks",fieldType:"organization",group:"organization",displayName:"Subtasks",visibleInCreation:!0,visibleInEdit:!0,order:1,enabled:!0},{id:"blocked-by",fieldType:"dependency",group:"dependencies",displayName:"Blocked By",visibleInCreation:!0,visibleInEdit:!0,order:0,enabled:!0},{id:"blocking",fieldType:"dependency",group:"dependencies",displayName:"Blocking",visibleInCreation:!0,visibleInEdit:!0,order:1,enabled:!0}]});var SH,DH=b(()=>{SH={code:"en",name:"English",chronoLocale:"en",dateTriggers:{due:["due","deadline","must be done by","by"],scheduled:["scheduled for","start on","begin on","work on","on"]},recurrence:{frequencies:{daily:["daily","every day"],weekly:["weekly","every week"],monthly:["monthly","every month"],yearly:["yearly","annually","every year"]},every:["every"],other:["other"],weekdays:{monday:["monday"],tuesday:["tuesday"],wednesday:["wednesday"],thursday:["thursday"],friday:["friday"],saturday:["saturday"],sunday:["sunday"]},pluralWeekdays:{monday:["mondays"],tuesday:["tuesdays"],wednesday:["wednesdays"],thursday:["thursdays"],friday:["fridays"],saturday:["saturdays"],sunday:["sundays"]},ordinals:{first:["first"],second:["second"],third:["third"],fourth:["fourth"],last:["last"]},periods:{day:["day","days"],week:["week","weeks"],month:["month","months"],year:["year","years"]}},timeEstimate:{hours:["h","hr","hrs","hour","hours"],minutes:["m","min","mins","minute","minutes"]},fallbackStatus:{open:["todo","to do","open"],inProgress:["in progress","in-progress","doing"],done:["done","completed","finished"],cancelled:["cancelled","canceled"],waiting:["waiting","blocked","on hold"]},fallbackPriority:{urgent:["urgent","critical","highest"],high:["high","important"],normal:["medium","normal"],low:["low","minor"]}}});var EH,xH=b(()=>{EH={code:"es",name:"Espa\xF1ol",chronoLocale:"es",dateTriggers:{due:["vence","fecha l\xEDmite","debe terminarse","para el","antes del"],scheduled:["programado para","programado el","comenzar el","empezar el","trabajar en","el"]},recurrence:{frequencies:{daily:["diario","diaria","diariamente","cada d\xEDa","todos los d\xEDas","a diario"],weekly:["semanal","semanalmente","cada semana","todas las semanas","por semana"],monthly:["mensual","mensualmente","cada mes","todos los meses","por mes"],yearly:["anual","anualmente","cada a\xF1o","todos los a\xF1os","por a\xF1o"]},every:["cada","todos los","todas las"],other:["otro","otra"],weekdays:{monday:["lunes"],tuesday:["martes"],wednesday:["mi\xE9rcoles"],thursday:["jueves"],friday:["viernes"],saturday:["s\xE1bado"],sunday:["domingo"]},pluralWeekdays:{monday:["lunes"],tuesday:["martes"],wednesday:["mi\xE9rcoles"],thursday:["jueves"],friday:["viernes"],saturday:["s\xE1bados"],sunday:["domingos"]},ordinals:{first:["primer","primera","primero"],second:["segundo","segunda"],third:["tercer","tercera","tercero"],fourth:["cuarto","cuarta"],last:["\xFAltimo","\xFAltima"]},periods:{day:["d\xEDa","d\xEDas"],week:["semana","semanas"],month:["mes","meses"],year:["a\xF1o","a\xF1os"]}},timeEstimate:{hours:["h","hr","hrs","hora","horas"],minutes:["m","min","mins","minuto","minutos"]},fallbackStatus:{open:["pendiente","por hacer","abierto","todo"],inProgress:["en progreso","en curso","haciendo","trabajando"],done:["hecho","terminado","completado","finalizado"],cancelled:["cancelado","anulado"],waiting:["esperando","bloqueado","en espera"]},fallbackPriority:{urgent:["urgente","cr\xEDtico","cr\xEDtica","m\xE1ximo","m\xE1xima","prioritario","prioritaria"],high:["alto","alta","importante","elevado","elevada"],normal:["medio","media","normal","regular","est\xE1ndar"],low:["bajo","baja","menor","m\xEDnimo","m\xEDnima"]}}});var CH,PH=b(()=>{CH={code:"fr",name:"Fran\xE7ais",chronoLocale:"fr",dateTriggers:{due:["\xE9ch\xE9ance","date limite","doit \xEAtre termin\xE9","pour le","avant le"],scheduled:["programm\xE9 pour","programm\xE9 le","commencer le","d\xE9buter le","travailler sur","le"]},recurrence:{frequencies:{daily:["quotidien","quotidienne","quotidiennement","chaque jour","tous les jours","journalier","journali\xE8re"],weekly:["hebdomadaire","chaque semaine","toutes les semaines","par semaine"],monthly:["mensuel","mensuelle","mensuellement","chaque mois","tous les mois","par mois"],yearly:["annuel","annuelle","annuellement","chaque ann\xE9e","tous les ans","par an","par ann\xE9e"]},every:["chaque","tous les","toutes les"],other:["autre"],weekdays:{monday:["lundi"],tuesday:["mardi"],wednesday:["mercredi"],thursday:["jeudi"],friday:["vendredi"],saturday:["samedi"],sunday:["dimanche"]},pluralWeekdays:{monday:["lundis"],tuesday:["mardis"],wednesday:["mercredis"],thursday:["jeudis"],friday:["vendredis"],saturday:["samedis"],sunday:["dimanches"]},ordinals:{first:["premier","premi\xE8re"],second:["deuxi\xE8me","second","seconde"],third:["troisi\xE8me"],fourth:["quatri\xE8me"],last:["dernier","derni\xE8re"]},periods:{day:["jour","jours"],week:["semaine","semaines"],month:["mois"],year:["an","ans","ann\xE9e","ann\xE9es"]}},timeEstimate:{hours:["h","hr","hrs","heure","heures"],minutes:["m","min","mins","minute","minutes"]},fallbackStatus:{open:["\xE0 faire","ouvert","en attente","todo"],inProgress:["en cours","en progression","en train de faire"],done:["termin\xE9","fini","accompli","fait"],cancelled:["annul\xE9","abandonn\xE9"],waiting:["en attente","bloqu\xE9","suspendu"]},fallbackPriority:{urgent:["urgent","urgente","critique","maximum","prioritaire"],high:["\xE9lev\xE9","\xE9lev\xE9e","haut","haute","important","importante","sup\xE9rieur","sup\xE9rieure"],normal:["moyen","moyenne","normal","normale","standard","r\xE9gulier","r\xE9guli\xE8re"],low:["faible","bas","basse","mineur","mineure","minimum"]}}});var MH,AH=b(()=>{MH={code:"de",name:"Deutsch",chronoLocale:"de",dateTriggers:{due:["f\xE4llig","termin","abgabe","deadline","bis zum","bis"],scheduled:["geplant f\xFCr","geplant am","beginnen am","anfangen am","arbeiten an","am"]},recurrence:{frequencies:{daily:["t\xE4glich","jeden Tag","alle Tage","tagaus tagein"],weekly:["w\xF6chentlich","jede Woche","alle Wochen"],monthly:["monatlich","jeden Monat","alle Monate"],yearly:["j\xE4hrlich","jedes Jahr","alle Jahre"]},every:["jede","jeden","jedes","alle"],other:["andere","anderen","anderes"],weekdays:{monday:["montag"],tuesday:["dienstag"],wednesday:["mittwoch"],thursday:["donnerstag"],friday:["freitag"],saturday:["samstag"],sunday:["sonntag"]},pluralWeekdays:{monday:["montags"],tuesday:["dienstags"],wednesday:["mittwochs"],thursday:["donnerstags"],friday:["freitags"],saturday:["samstags"],sunday:["sonntags"]},ordinals:{first:["erste","ersten","erster"],second:["zweite","zweiten","zweiter"],third:["dritte","dritten","dritter"],fourth:["vierte","vierten","vierter"],last:["letzte","letzten","letzter"]},periods:{day:["tag","tage"],week:["woche","wochen"],month:["monat","monate"],year:["jahr","jahre"]}},timeEstimate:{hours:["h","std","stunde","stunden"],minutes:["m","min","minute","minuten"]},fallbackStatus:{open:["offen","zu erledigen","ausstehend","todo"],inProgress:["in bearbeitung","wird bearbeitet","l\xE4uft","in arbeit"],done:["erledigt","fertig","abgeschlossen","gemacht"],cancelled:["abgebrochen","storniert","abgesagt"],waiting:["wartend","warten","blockiert","pausiert"]},fallbackPriority:{urgent:["dringend","eilig","kritisch","sofort","h\xF6chste"],high:["hoch","hohe","wichtig","priorit\xE4r"],normal:["normal","mittel","mittlere","standard"],low:["niedrig","niedrige","gering","geringe"]}}});var IH,_H=b(()=>{IH={code:"ru",name:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",chronoLocale:"ru",dateTriggers:{due:["\u0441\u0440\u043E\u043A","\u0434\u0435\u0434\u043B\u0430\u0439\u043D","\u0434\u043E","\u043A","\u0441\u0434\u0430\u0442\u044C \u0434\u043E"],scheduled:["\u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u043D\u0430","\u043D\u0430\u0447\u0430\u0442\u044C","\u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u043D\u0430\u0434","\u043D\u0430"]},recurrence:{frequencies:{daily:["\u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E","\u043A\u0430\u0436\u0434\u044B\u0439 \u0434\u0435\u043D\u044C","\u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0439","\u043A\u0430\u0436\u0434\u043E\u0434\u043D\u0435\u0432\u043D\u044B\u0439"],weekly:["\u0435\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E","\u043A\u0430\u0436\u0434\u0443\u044E \u043D\u0435\u0434\u0435\u043B\u044E","\u0435\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u044B\u0439"],monthly:["\u0435\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E","\u043A\u0430\u0436\u0434\u044B\u0439 \u043C\u0435\u0441\u044F\u0446","\u0435\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u044B\u0439"],yearly:["\u0435\u0436\u0435\u0433\u043E\u0434\u043D\u043E","\u043A\u0430\u0436\u0434\u044B\u0439 \u0433\u043E\u0434","\u0435\u0436\u0435\u0433\u043E\u0434\u043D\u044B\u0439"]},every:["\u043A\u0430\u0436\u0434\u044B\u0439","\u043A\u0430\u0436\u0434\u0443\u044E","\u043A\u0430\u0436\u0434\u043E\u0435","\u0432\u0441\u0435"],other:["\u0434\u0440\u0443\u0433\u043E\u0439","\u0434\u0440\u0443\u0433\u0443\u044E","\u0434\u0440\u0443\u0433\u043E\u0435"],weekdays:{monday:["\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A"],tuesday:["\u0432\u0442\u043E\u0440\u043D\u0438\u043A"],wednesday:["\u0441\u0440\u0435\u0434\u0430"],thursday:["\u0447\u0435\u0442\u0432\u0435\u0440\u0433"],friday:["\u043F\u044F\u0442\u043D\u0438\u0446\u0430"],saturday:["\u0441\u0443\u0431\u0431\u043E\u0442\u0430"],sunday:["\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435"]},pluralWeekdays:{monday:["\u043F\u043E \u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A\u0430\u043C"],tuesday:["\u043F\u043E \u0432\u0442\u043E\u0440\u043D\u0438\u043A\u0430\u043C"],wednesday:["\u043F\u043E \u0441\u0440\u0435\u0434\u0430\u043C"],thursday:["\u043F\u043E \u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430\u043C"],friday:["\u043F\u043E \u043F\u044F\u0442\u043D\u0438\u0446\u0430\u043C"],saturday:["\u043F\u043E \u0441\u0443\u0431\u0431\u043E\u0442\u0430\u043C"],sunday:["\u043F\u043E \u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u044F\u043C"]},ordinals:{first:["\u043F\u0435\u0440\u0432\u044B\u0439","\u043F\u0435\u0440\u0432\u0430\u044F","\u043F\u0435\u0440\u0432\u043E\u0435"],second:["\u0432\u0442\u043E\u0440\u043E\u0439","\u0432\u0442\u043E\u0440\u0430\u044F","\u0432\u0442\u043E\u0440\u043E\u0435"],third:["\u0442\u0440\u0435\u0442\u0438\u0439","\u0442\u0440\u0435\u0442\u044C\u044F","\u0442\u0440\u0435\u0442\u044C\u0435"],fourth:["\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044B\u0439","\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0430\u044F","\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435"],last:["\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439","\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u044F\u044F","\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0435"]},periods:{day:["\u0434\u0435\u043D\u044C","\u0434\u043D\u0438"],week:["\u043D\u0435\u0434\u0435\u043B\u044F","\u043D\u0435\u0434\u0435\u043B\u0438"],month:["\u043C\u0435\u0441\u044F\u0446","\u043C\u0435\u0441\u044F\u0446\u044B"],year:["\u0433\u043E\u0434","\u0433\u043E\u0434\u044B"]}},timeEstimate:{hours:["\u0447","\u0447\u0430\u0441","\u0447\u0430\u0441\u0430","\u0447\u0430\u0441\u043E\u0432"],minutes:["\u043C","\u043C\u0438\u043D","\u043C\u0438\u043D\u0443\u0442\u0430","\u043C\u0438\u043D\u0443\u0442\u044B","\u043C\u0438\u043D\u0443\u0442"]},fallbackStatus:{open:["\u043E\u0442\u043A\u0440\u044B\u0442\u043E","\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044E","\u043D\u043E\u0432\u043E\u0435","todo"],inProgress:["\u0432 \u0440\u0430\u0431\u043E\u0442\u0435","\u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F","\u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435"],done:["\u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E","\u0433\u043E\u0442\u043E\u0432\u043E","\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E","\u0441\u0434\u0435\u043B\u0430\u043D\u043E"],cancelled:["\u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E","\u043E\u0442\u043C\u0435\u043D\u0451\u043D","\u043E\u0442\u043C\u0435\u043D\u0435\u043D\u0430"],waiting:["\u043E\u0436\u0438\u0434\u0430\u043D\u0438\u0435","\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E","\u043D\u0430 \u043F\u0430\u0443\u0437\u0435"]},fallbackPriority:{urgent:["\u0441\u0440\u043E\u0447\u043D\u043E","\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u043E","\u044D\u043A\u0441\u0442\u0440\u0435\u043D\u043D\u043E","\u043D\u0435\u043C\u0435\u0434\u043B\u0435\u043D\u043D\u043E"],high:["\u0432\u044B\u0441\u043E\u043A\u0438\u0439","\u0432\u044B\u0441\u043E\u043A\u0430\u044F","\u0432\u0430\u0436\u043D\u043E","\u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u043D\u043E"],normal:["\u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u044B\u0439","\u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u0430\u044F","\u0441\u0440\u0435\u0434\u043D\u0438\u0439","\u0441\u0440\u0435\u0434\u043D\u044F\u044F"],low:["\u043D\u0438\u0437\u043A\u0438\u0439","\u043D\u0438\u0437\u043A\u0430\u044F","\u043D\u0435\u0432\u0430\u0436\u043D\u043E","\u043C\u043E\u0436\u043D\u043E \u043F\u043E\u0437\u0436\u0435"]}}});var NH,RH=b(()=>{NH={code:"zh",name:"\u4E2D\u6587",chronoLocale:"zh",dateTriggers:{due:["\u622A\u6B62","\u5230\u671F","\u671F\u9650","\u5728","\u4E4B\u524D"],scheduled:["\u5B89\u6392\u5728","\u8BA1\u5212\u5728","\u5F00\u59CB\u5728","\u5728"]},recurrence:{frequencies:{daily:["\u6BCF\u5929","\u6BCF\u65E5","\u5929\u5929","\u65E5\u5E38"],weekly:["\u6BCF\u5468","\u6BCF\u661F\u671F","\u5468\u5468"],monthly:["\u6BCF\u6708","\u6BCF\u4E2A\u6708","\u6708\u6708"],yearly:["\u6BCF\u5E74","\u5E74\u5E74","\u6BCF\u4E00\u5E74"]},every:["\u6BCF","\u6BCF\u4E2A","\u6BCF\u4E00\u4E2A"],other:["\u5176\u4ED6","\u53E6\u4E00\u4E2A"],weekdays:{monday:["\u5468\u4E00","\u661F\u671F\u4E00","\u793C\u62DC\u4E00"],tuesday:["\u5468\u4E8C","\u661F\u671F\u4E8C","\u793C\u62DC\u4E8C"],wednesday:["\u5468\u4E09","\u661F\u671F\u4E09","\u793C\u62DC\u4E09"],thursday:["\u5468\u56DB","\u661F\u671F\u56DB","\u793C\u62DC\u56DB"],friday:["\u5468\u4E94","\u661F\u671F\u4E94","\u793C\u62DC\u4E94"],saturday:["\u5468\u516D","\u661F\u671F\u516D","\u793C\u62DC\u516D"],sunday:["\u5468\u65E5","\u661F\u671F\u65E5","\u793C\u62DC\u65E5"]},pluralWeekdays:{monday:["\u5468\u4E00","\u661F\u671F\u4E00","\u793C\u62DC\u4E00"],tuesday:["\u5468\u4E8C","\u661F\u671F\u4E8C","\u793C\u62DC\u4E8C"],wednesday:["\u5468\u4E09","\u661F\u671F\u4E09","\u793C\u62DC\u4E09"],thursday:["\u5468\u56DB","\u661F\u671F\u56DB","\u793C\u62DC\u56DB"],friday:["\u5468\u4E94","\u661F\u671F\u4E94","\u793C\u62DC\u4E94"],saturday:["\u5468\u516D","\u661F\u671F\u516D","\u793C\u62DC\u516D"],sunday:["\u5468\u65E5","\u661F\u671F\u65E5","\u793C\u62DC\u65E5"]},ordinals:{first:["\u7B2C\u4E00\u4E2A","\u7B2C\u4E00","\u9996\u4E2A"],second:["\u7B2C\u4E8C\u4E2A","\u7B2C\u4E8C"],third:["\u7B2C\u4E09\u4E2A","\u7B2C\u4E09"],fourth:["\u7B2C\u56DB\u4E2A","\u7B2C\u56DB"],last:["\u6700\u540E\u4E00\u4E2A","\u6700\u540E","\u672B\u5C3E"]},periods:{day:["\u5929","\u65E5"],week:["\u5468","\u661F\u671F"],month:["\u6708","\u4E2A\u6708"],year:["\u5E74"]}},timeEstimate:{hours:["\u5C0F\u65F6","\u65F6","\u4E2A\u5C0F\u65F6"],minutes:["\u5206\u949F","\u5206","\u4E2A\u5206\u949F"]},fallbackStatus:{open:["\u5F85\u529E","\u672A\u5B8C\u6210","\u5F00\u653E","\u65B0\u5EFA"],inProgress:["\u8FDB\u884C\u4E2D","\u6B63\u5728\u5904\u7406","\u5904\u7406\u4E2D","\u5DE5\u4F5C\u4E2D"],done:["\u5B8C\u6210","\u5DF2\u5B8C\u6210","\u7ED3\u675F","\u641E\u5B9A"],cancelled:["\u53D6\u6D88","\u5DF2\u53D6\u6D88","\u5E9F\u5F03"],waiting:["\u7B49\u5F85","\u6682\u505C","\u963B\u585E","\u5F85\u5B9A"]},fallbackPriority:{urgent:["\u7D27\u6025","\u6025\u8FEB","\u7ACB\u5373","\u9A6C\u4E0A"],high:["\u9AD8","\u91CD\u8981","\u4F18\u5148","\u9AD8\u4F18\u5148\u7EA7"],normal:["\u6B63\u5E38","\u666E\u901A","\u4E2D\u7B49","\u6807\u51C6"],low:["\u4F4E","\u4E0D\u91CD\u8981","\u4F4E\u4F18\u5148\u7EA7","\u6B21\u8981"]}}});var FH,OH=b(()=>{FH={code:"ja",name:"\u65E5\u672C\u8A9E",chronoLocale:"ja",dateTriggers:{due:["\u671F\u9650","\u7DE0\u5207","\u3006\u5207","\u307E\u3067","\u307E\u3067\u306B","\u306B"],scheduled:["\u4E88\u5B9A","\u8A08\u753B","\u958B\u59CB","\u304B\u3089","\u306B\u958B\u59CB","\u3092\u958B\u59CB"]},recurrence:{frequencies:{daily:["\u6BCE\u65E5","\u65E5\u3005","\u6BCE\u65E5\u6BCE\u65E5","\u9023\u65E5"],weekly:["\u6BCE\u9031","\u9031\u6BCE","\u9031\u4E00","\u6BCE\u9031\u6BCE\u9031"],monthly:["\u6BCE\u6708","\u6708\u6BCE","\u6708\u4E00","\u6BCE\u6708\u6BCE\u6708"],yearly:["\u6BCE\u5E74","\u5E74\u6BCE","\u5E74\u4E00","\u6BCE\u5E74\u6BCE\u5E74","\u5E74\u6B21"]},every:["\u6BCE","\u5404","\u5168\u3066"],other:["\u4ED6\u306E","\u5225\u306E","\u7570\u306A\u308B"],weekdays:{monday:["\u6708\u66DC\u65E5","\u6708\u66DC","\u6708","\u3052\u3064\u3088\u3046\u3073"],tuesday:["\u706B\u66DC\u65E5","\u706B\u66DC","\u706B","\u304B\u3088\u3046\u3073"],wednesday:["\u6C34\u66DC\u65E5","\u6C34\u66DC","\u6C34","\u3059\u3044\u3088\u3046\u3073"],thursday:["\u6728\u66DC\u65E5","\u6728\u66DC","\u6728","\u3082\u304F\u3088\u3046\u3073"],friday:["\u91D1\u66DC\u65E5","\u91D1\u66DC","\u91D1","\u304D\u3093\u3088\u3046\u3073"],saturday:["\u571F\u66DC\u65E5","\u571F\u66DC","\u571F","\u3069\u3088\u3046\u3073"],sunday:["\u65E5\u66DC\u65E5","\u65E5\u66DC","\u65E5","\u306B\u3061\u3088\u3046\u3073"]},pluralWeekdays:{monday:["\u6708\u66DC\u65E5","\u6708\u66DC","\u6708","\u3052\u3064\u3088\u3046\u3073"],tuesday:["\u706B\u66DC\u65E5","\u706B\u66DC","\u706B","\u304B\u3088\u3046\u3073"],wednesday:["\u6C34\u66DC\u65E5","\u6C34\u66DC","\u6C34","\u3059\u3044\u3088\u3046\u3073"],thursday:["\u6728\u66DC\u65E5","\u6728\u66DC","\u6728","\u3082\u304F\u3088\u3046\u3073"],friday:["\u91D1\u66DC\u65E5","\u91D1\u66DC","\u91D1","\u304D\u3093\u3088\u3046\u3073"],saturday:["\u571F\u66DC\u65E5","\u571F\u66DC","\u571F","\u3069\u3088\u3046\u3073"],sunday:["\u65E5\u66DC\u65E5","\u65E5\u66DC","\u65E5","\u306B\u3061\u3088\u3046\u3073"]},ordinals:{first:["\u6700\u521D\u306E","\u7B2C\u4E00\u306E","\u4E00\u756A\u76EE\u306E","\u521D\u56DE"],second:["\u4E8C\u756A\u76EE\u306E","\u7B2C\u4E8C\u306E","\u6B21\u306E"],third:["\u4E09\u756A\u76EE\u306E","\u7B2C\u4E09\u306E"],fourth:["\u56DB\u756A\u76EE\u306E","\u7B2C\u56DB\u306E"],last:["\u6700\u5F8C\u306E","\u6700\u7D42\u306E","\u7D42\u308F\u308A\u306E"]},periods:{day:["\u65E5","\u65E5\u9593"],week:["\u9031","\u9031\u9593"],month:["\u6708","\u6708\u9593","\u30F6\u6708"],year:["\u5E74","\u5E74\u9593"]}},timeEstimate:{hours:["\u6642\u9593","\u6642","\u3058\u304B\u3093"],minutes:["\u5206","\u5206\u9593","\u3075\u3093","\u3077\u3093"]},fallbackStatus:{open:["\u672A\u7740\u624B","\u65B0\u898F","\u30AA\u30FC\u30D7\u30F3","\u958B\u59CB\u524D","\u5F85\u6A5F"],inProgress:["\u9032\u884C\u4E2D","\u4F5C\u696D\u4E2D","\u5B9F\u884C\u4E2D","\u51E6\u7406\u4E2D","\u9032\u884C"],done:["\u5B8C\u4E86","\u7D42\u4E86","\u6E08\u307F","\u7D42\u308F\u308A","\u9054\u6210"],cancelled:["\u30AD\u30E3\u30F3\u30BB\u30EB","\u4E2D\u6B62","\u53D6\u6D88","\u5EC3\u6B62","\u505C\u6B62"],waiting:["\u5F85\u6A5F","\u4FDD\u7559","\u30D6\u30ED\u30C3\u30AF","\u4E00\u6642\u505C\u6B62","\u5F85\u3061"]},fallbackPriority:{urgent:["\u7DCA\u6025","\u81F3\u6025","\u6025\u52D9","\u6700\u512A\u5148","\u3059\u3050\u306B"],high:["\u9AD8","\u91CD\u8981","\u512A\u5148","\u9AD8\u512A\u5148\u5EA6","\u91CD\u70B9"],normal:["\u666E\u901A","\u901A\u5E38","\u6A19\u6E96","\u4E00\u822C","\u30CE\u30FC\u30DE\u30EB"],low:["\u4F4E","\u8EFD\u5FAE","\u5F8C\u56DE\u3057","\u4F4E\u512A\u5148\u5EA6","\u4F59\u88D5"]}}});var LH,BH=b(()=>{LH={code:"it",name:"Italiano",chronoLocale:"it",dateTriggers:{due:["scadenza","entro","entro il","deve essere fatto entro","per il","termine"],scheduled:["programmato per","programmato il","iniziare il","lavorare su","il","per"]},recurrence:{frequencies:{daily:["giornaliero","giornaliera","quotidiano","quotidiana","ogni giorno","tutti i giorni","giornalmente"],weekly:["settimanale","ogni settimana","tutte le settimane","settimanalmente","alla settimana"],monthly:["mensile","ogni mese","tutti i mesi","mensilmente","al mese"],yearly:["annuale","ogni anno","tutti gli anni","annualmente","all'anno"]},every:["ogni","tutti i","tutte le"],other:["altro","altra","altri","altre"],weekdays:{monday:["luned\xEC"],tuesday:["marted\xEC"],wednesday:["mercoled\xEC"],thursday:["gioved\xEC"],friday:["venerd\xEC"],saturday:["sabato"],sunday:["domenica"]},pluralWeekdays:{monday:["luned\xEC"],tuesday:["marted\xEC"],wednesday:["mercoled\xEC"],thursday:["gioved\xEC"],friday:["venerd\xEC"],saturday:["sabati"],sunday:["domeniche"]},ordinals:{first:["primo","prima"],second:["secondo","seconda"],third:["terzo","terza"],fourth:["quarto","quarta"],last:["ultimo","ultima"]},periods:{day:["giorno","giorni"],week:["settimana","settimane"],month:["mese","mesi"],year:["anno","anni"]}},timeEstimate:{hours:["h","hr","ore","ora","o"],minutes:["m","min","minuto","minuti"]},fallbackStatus:{open:["da fare","aperto","pendente","todo","in sospeso"],inProgress:["in corso","in progresso","facendo","lavorando"],done:["fatto","completato","finito","terminato","chiuso"],cancelled:["cancellato","annullato","rimosso"],waiting:["in attesa","aspettando","bloccato","fermo"]},fallbackPriority:{urgent:["urgente","critico","critica","massimo","massima","prioritario","prioritaria"],high:["alto","alta","importante","elevato","elevata"],normal:["medio","media","normale","regolare","standard"],low:["basso","bassa","minore","minimo","minima"]}}});var jH,HH=b(()=>{jH={code:"nl",name:"Nederlands",chronoLocale:"nl",dateTriggers:{due:["vervalt op","deadline","moet klaar zijn op","tegen","uiterlijk","voor"],scheduled:["gepland voor","gepland op","beginnen op","werken aan","op","voor"]},recurrence:{frequencies:{daily:["dagelijks","elke dag","alle dagen","per dag"],weekly:["wekelijks","elke week","alle weken","per week"],monthly:["maandelijks","elke maand","alle maanden","per maand"],yearly:["jaarlijks","elk jaar","alle jaren","per jaar"]},every:["elke","alle","iedere"],other:["andere","ander"],weekdays:{monday:["maandag"],tuesday:["dinsdag"],wednesday:["woensdag"],thursday:["donderdag"],friday:["vrijdag"],saturday:["zaterdag"],sunday:["zondag"]},pluralWeekdays:{monday:["maandagen"],tuesday:["dinsdagen"],wednesday:["woensdagen"],thursday:["donderdagen"],friday:["vrijdagen"],saturday:["zaterdagen"],sunday:["zondagen"]},ordinals:{first:["eerste"],second:["tweede"],third:["derde"],fourth:["vierde"],last:["laatste"]},periods:{day:["dag","dagen"],week:["week","weken"],month:["maand","maanden"],year:["jaar","jaren"]}},timeEstimate:{hours:["u","uur","uren","h"],minutes:["m","min","minuut","minuten"]},fallbackStatus:{open:["te doen","open","nog te doen","todo","openstaand"],inProgress:["bezig","in behandeling","aan het werk","lopend","in uitvoering"],done:["klaar","voltooid","gedaan","afgerond","gesloten"],cancelled:["geannuleerd","afgezegd","ingetrokken"],waiting:["wachtend","in de wacht","geblokkeerd","uitgesteld"]},fallbackPriority:{urgent:["urgent","kritiek","hoogste","spoed","direct"],high:["hoog","hoge","belangrijk","belangrijke"],normal:["normaal","normale","gemiddeld","standaard"],low:["laag","lage","klein","kleine","onbelangrijk"]}}});var zH,UH=b(()=>{zH={code:"pt",name:"Portugu\xEAs",chronoLocale:"pt",dateTriggers:{due:["vencimento","prazo","deve estar pronto at\xE9","at\xE9","para","limite"],scheduled:["programado para","agendado para","come\xE7ar em","trabalhar em","em","no"]},recurrence:{frequencies:{daily:["di\xE1rio","di\xE1ria","diariamente","todos os dias","cada dia","por dia"],weekly:["semanal","semanalmente","toda semana","todas as semanas","por semana"],monthly:["mensal","mensalmente","todo m\xEAs","todos os meses","por m\xEAs"],yearly:["anual","anualmente","todo ano","todos os anos","por ano"]},every:["todo","toda","todos","todas","cada"],other:["outro","outra","outros","outras"],weekdays:{monday:["segunda","segunda-feira"],tuesday:["ter\xE7a","ter\xE7a-feira"],wednesday:["quarta","quarta-feira"],thursday:["quinta","quinta-feira"],friday:["sexta","sexta-feira"],saturday:["s\xE1bado"],sunday:["domingo"]},pluralWeekdays:{monday:["segundas","segundas-feiras"],tuesday:["ter\xE7as","ter\xE7as-feiras"],wednesday:["quartas","quartas-feiras"],thursday:["quintas","quintas-feiras"],friday:["sextas","sextas-feiras"],saturday:["s\xE1bados"],sunday:["domingos"]},ordinals:{first:["primeiro","primeira"],second:["segundo","segunda"],third:["terceiro","terceira"],fourth:["quarto","quarta"],last:["\xFAltimo","\xFAltima"]},periods:{day:["dia","dias"],week:["semana","semanas"],month:["m\xEAs","meses"],year:["ano","anos"]}},timeEstimate:{hours:["h","hr","hora","horas"],minutes:["m","min","minuto","minutos"]},fallbackStatus:{open:["a fazer","pendente","aberto","todo","por fazer"],inProgress:["em andamento","em progresso","fazendo","trabalhando","executando"],done:["feito","conclu\xEDdo","terminado","finalizado","completo"],cancelled:["cancelado","anulado","suspenso"],waiting:["aguardando","esperando","bloqueado","em espera"]},fallbackPriority:{urgent:["urgente","cr\xEDtico","cr\xEDtica","m\xE1ximo","m\xE1xima","priorit\xE1rio","priorit\xE1ria"],high:["alto","alta","importante","elevado","elevada"],normal:["m\xE9dio","m\xE9dia","normal","regular","padr\xE3o"],low:["baixo","baixa","menor","m\xEDnimo","m\xEDnima"]}}});var WH,qH=b(()=>{WH={code:"sv",name:"Svenska",chronoLocale:"sv",dateTriggers:{due:["f\xF6rfaller","deadline","m\xE5ste vara klar","senast","till","innan"],scheduled:["schemalagd","planerad f\xF6r","b\xF6rja","arbeta med","den","p\xE5"]},recurrence:{frequencies:{daily:["dagligen","varje dag","alla dagar","per dag"],weekly:["veckovis","varje vecka","alla veckor","per vecka"],monthly:["m\xE5nadsvis","varje m\xE5nad","alla m\xE5nader","per m\xE5nad"],yearly:["\xE5rligen","varje \xE5r","alla \xE5r","per \xE5r"]},every:["varje","alla","var"],other:["annan","annat","andra"],weekdays:{monday:["m\xE5ndag"],tuesday:["tisdag"],wednesday:["onsdag"],thursday:["torsdag"],friday:["fredag"],saturday:["l\xF6rdag"],sunday:["s\xF6ndag"]},pluralWeekdays:{monday:["m\xE5ndagar"],tuesday:["tisdagar"],wednesday:["onsdagar"],thursday:["torsdagar"],friday:["fredagar"],saturday:["l\xF6rdagar"],sunday:["s\xF6ndagar"]},ordinals:{first:["f\xF6rsta"],second:["andra"],third:["tredje"],fourth:["fj\xE4rde"],last:["sista"]},periods:{day:["dag","dagar"],week:["vecka","veckor"],month:["m\xE5nad","m\xE5nader"],year:["\xE5r"]}},timeEstimate:{hours:["t","tim","timme","timmar","h"],minutes:["m","min","minut","minuter"]},fallbackStatus:{open:["att g\xF6ra","\xF6ppen","kvar","todo","v\xE4ntande"],inProgress:["p\xE5g\xE5ende","arbetar","g\xF6r","i process","under arbete"],done:["klar","f\xE4rdig","slutf\xF6rd","avslutad","gjord"],cancelled:["avbruten","inst\xE4lld","avbokad"],waiting:["v\xE4ntar","blockerad","pausad","vilande"]},fallbackPriority:{urgent:["br\xE5dskande","kritisk","h\xF6gsta","akut","omedelbar"],high:["h\xF6g","viktig","f\xF6rh\xF6jd","prioriterad"],normal:["normal","medel","standard","vanlig"],low:["l\xE5g","mindre","minimal","obetydlig"]}}});var VH,$H=b(()=>{VH={code:"uk",name:"\u0423\u043A\u0440\u0430\u0457\u043D\u0441\u044C\u043A\u0430",chronoLocale:"uk",dateTriggers:{due:["\u0442\u0435\u0440\u043C\u0456\u043D","\u0434\u0435\u0434\u043B\u0430\u0439\u043D","\u043C\u0430\u0454 \u0431\u0443\u0442\u0438 \u0433\u043E\u0442\u043E\u0432\u043E \u0434\u043E","\u0434\u043E","\u043D\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435","\u043A\u0440\u0430\u0439\u043D\u0456\u0439 \u0442\u0435\u0440\u043C\u0456\u043D"],scheduled:["\u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u043E \u043D\u0430","\u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0438\u0439","\u043F\u043E\u0447\u0430\u0442\u0438","\u043F\u0440\u0430\u0446\u044E\u0432\u0430\u0442\u0438 \u043D\u0430\u0434","\u043D\u0430","\u0432"]},recurrence:{frequencies:{daily:["\u0449\u043E\u0434\u043D\u044F","\u0449\u043E\u0434\u0435\u043D\u043D\u043E","\u043A\u043E\u0436\u0435\u043D \u0434\u0435\u043D\u044C","\u0432\u0441\u0456 \u0434\u043D\u0456","\u043D\u0430 \u0434\u0435\u043D\u044C"],weekly:["\u0449\u043E\u0442\u0438\u0436\u043D\u044F","\u0449\u043E\u0442\u0438\u0436\u043D\u0435\u0432\u043E","\u043A\u043E\u0436\u0435\u043D \u0442\u0438\u0436\u0434\u0435\u043D\u044C","\u0432\u0441\u0456 \u0442\u0438\u0436\u043D\u0456","\u043D\u0430 \u0442\u0438\u0436\u0434\u0435\u043D\u044C"],monthly:["\u0449\u043E\u043C\u0456\u0441\u044F\u0446\u044F","\u0449\u043E\u043C\u0456\u0441\u044F\u0447\u043D\u043E","\u043A\u043E\u0436\u0435\u043D \u043C\u0456\u0441\u044F\u0446\u044C","\u0432\u0441\u0456 \u043C\u0456\u0441\u044F\u0446\u0456","\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C"],yearly:["\u0449\u043E\u0440\u043E\u043A\u0443","\u0449\u043E\u0440\u0456\u0447\u043D\u043E","\u043A\u043E\u0436\u0435\u043D \u0440\u0456\u043A","\u0432\u0441\u0456 \u0440\u043E\u043A\u0438","\u043D\u0430 \u0440\u0456\u043A"]},every:["\u043A\u043E\u0436\u0435\u043D","\u043A\u043E\u0436\u043D\u0430","\u043A\u043E\u0436\u043D\u0435","\u0432\u0441\u0456"],other:["\u0456\u043D\u0448\u0438\u0439","\u0456\u043D\u0448\u0430","\u0456\u043D\u0448\u0435","\u0456\u043D\u0448\u0456"],weekdays:{monday:["\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A"],tuesday:["\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A"],wednesday:["\u0441\u0435\u0440\u0435\u0434\u0430"],thursday:["\u0447\u0435\u0442\u0432\u0435\u0440"],friday:["\u043F'\u044F\u0442\u043D\u0438\u0446\u044F"],saturday:["\u0441\u0443\u0431\u043E\u0442\u0430"],sunday:["\u043D\u0435\u0434\u0456\u043B\u044F"]},pluralWeekdays:{monday:["\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043A\u0438"],tuesday:["\u0432\u0456\u0432\u0442\u043E\u0440\u043A\u0438"],wednesday:["\u0441\u0435\u0440\u0435\u0434\u0438"],thursday:["\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0438"],friday:["\u043F'\u044F\u0442\u043D\u0438\u0446\u0456"],saturday:["\u0441\u0443\u0431\u043E\u0442\u0438"],sunday:["\u043D\u0435\u0434\u0456\u043B\u0456"]},ordinals:{first:["\u043F\u0435\u0440\u0448\u0438\u0439","\u043F\u0435\u0440\u0448\u0430","\u043F\u0435\u0440\u0448\u0435"],second:["\u0434\u0440\u0443\u0433\u0438\u0439","\u0434\u0440\u0443\u0433\u0430","\u0434\u0440\u0443\u0433\u0435"],third:["\u0442\u0440\u0435\u0442\u0456\u0439","\u0442\u0440\u0435\u0442\u044F","\u0442\u0440\u0435\u0442\u0454"],fourth:["\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0438\u0439","\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0435"],last:["\u043E\u0441\u0442\u0430\u043D\u043D\u0456\u0439","\u043E\u0441\u0442\u0430\u043D\u043D\u044F","\u043E\u0441\u0442\u0430\u043D\u043D\u0454"]},periods:{day:["\u0434\u0435\u043D\u044C","\u0434\u043D\u0456","\u0434\u043D\u0456\u0432"],week:["\u0442\u0438\u0436\u0434\u0435\u043D\u044C","\u0442\u0438\u0436\u043D\u0456","\u0442\u0438\u0436\u043D\u0456\u0432"],month:["\u043C\u0456\u0441\u044F\u0446\u044C","\u043C\u0456\u0441\u044F\u0446\u0456","\u043C\u0456\u0441\u044F\u0446\u0456\u0432"],year:["\u0440\u0456\u043A","\u0440\u043E\u043A\u0438","\u0440\u043E\u043A\u0456\u0432"]}},timeEstimate:{hours:["\u0433","\u0433\u043E\u0434","\u0433\u043E\u0434\u0438\u043D\u0430","\u0433\u043E\u0434\u0438\u043D\u0438","\u0433\u043E\u0434\u0438\u043D"],minutes:["\u0445\u0432","\u043C\u0456\u043D","\u0445\u0432\u0438\u043B\u0438\u043D\u0430","\u0445\u0432\u0438\u043B\u0438\u043D\u0438","\u0445\u0432\u0438\u043B\u0438\u043D"]},fallbackStatus:{open:["\u0437\u0440\u043E\u0431\u0438\u0442\u0438","\u0432\u0456\u0434\u043A\u0440\u0438\u0442\u0438\u0439","\u043E\u0447\u0456\u043A\u0443\u0454","todo","\u0432 \u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u043D\u0456"],inProgress:["\u0432 \u0440\u043E\u0431\u043E\u0442\u0456","\u0432\u0438\u043A\u043E\u043D\u0443\u0454\u0442\u044C\u0441\u044F","\u0440\u043E\u0431\u043B\u044E","\u043F\u0440\u0430\u0446\u044E\u044E","\u0432 \u043F\u0440\u043E\u0446\u0435\u0441\u0456"],done:["\u0433\u043E\u0442\u043E\u0432\u043E","\u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E","\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E","\u0437\u0430\u043A\u0456\u043D\u0447\u0435\u043D\u043E","\u0437\u0440\u043E\u0431\u043B\u0435\u043D\u043E"],cancelled:["\u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E","\u0432\u0456\u0434\u043C\u0456\u043D\u0435\u043D\u043E","\u043F\u0440\u0438\u043F\u0438\u043D\u0435\u043D\u043E"],waiting:["\u0447\u0435\u043A\u0430\u044E","\u043E\u0447\u0456\u043A\u0443\u044E","\u0437\u0430\u0431\u043B\u043E\u043A\u043E\u0432\u0430\u043D\u043E","\u043F\u0440\u0438\u0437\u0443\u043F\u0438\u043D\u0435\u043D\u043E"]},fallbackPriority:{urgent:["\u0442\u0435\u0440\u043C\u0456\u043D\u043E\u0432\u043E","\u043A\u0440\u0438\u0442\u0438\u0447\u043D\u043E","\u043D\u0430\u0439\u0432\u0438\u0449\u0438\u0439","\u043D\u0435\u0432\u0456\u0434\u043A\u043B\u0430\u0434\u043D\u043E","\u043F\u0440\u0456\u043E\u0440\u0438\u0442\u0435\u0442\u043D\u043E"],high:["\u0432\u0438\u0441\u043E\u043A\u0438\u0439","\u0432\u0438\u0441\u043E\u043A\u0430","\u0432\u0430\u0436\u043B\u0438\u0432\u043E","\u043F\u0456\u0434\u0432\u0438\u0449\u0435\u043D\u0438\u0439"],normal:["\u0441\u0435\u0440\u0435\u0434\u043D\u0456\u0439","\u0441\u0435\u0440\u0435\u0434\u043D\u044F","\u043D\u043E\u0440\u043C\u0430\u043B\u044C\u043D\u043E","\u0437\u0432\u0438\u0447\u0430\u0439\u043D\u043E","\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u043E"],low:["\u043D\u0438\u0437\u044C\u043A\u0438\u0439","\u043D\u0438\u0437\u044C\u043A\u0430","\u043C\u0435\u043D\u0448\u0438\u0439","\u043C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0438\u0439","\u043D\u0435\u0437\u043D\u0430\u0447\u043D\u0438\u0439"]}}});var YH=b(()=>{});function GH(){return Object.values(uS).map(n=>({value:n.code,label:n.name}))}function KH(n){return uS[n]||uS.en}var uS,pS=b(()=>{DH();xH();PH();AH();_H();RH();OH();BH();HH();UH();qH();$H();YH();uS={en:SH,es:EH,fr:CH,de:MH,ru:IH,zh:NH,ja:FH,it:LH,nl:jH,pt:zH,sv:WH,uk:VH}});var JH,XH,Pp,Mp,Ap,Ga,gt,pd,Oy,Ly,By,Ka,kl,Wn=b(()=>{JH="tasknotes-mini-calendar-view",XH="tasknotes-agenda-view",Pp="tasknotes-pomodoro-view",Mp="tasknotes-pomodoro-stats-view",Ap="tasknotes-stats-view",Ga="data-changed",gt="task-updated",pd="task-deleted",Oy="pomodoro-start",Ly="pomodoro-complete",By="pomodoro-interrupt",Ka="pomodoro-tick",kl="date-changed"});var Ip,ar,wl=b(()=>{Ip=["MO","TU","WE","TH","FR","SA","SU"],ar=(function(){function n(t,e){if(e===0)throw new Error("Can't create weekday with n == 0");this.weekday=t,this.n=e}return n.fromStr=function(t){return new n(Ip.indexOf(t))},n.prototype.nth=function(t){return this.n===t?this:new n(this.weekday,t)},n.prototype.equals=function(t){return this.weekday===t.weekday&&this.n===t.n},n.prototype.toString=function(){var t=Ip[this.weekday];return this.n&&(t=(this.n>0?"+":"")+String(this.n)+t),t},n.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},n})()});function Sl(n,t,e){e===void 0&&(e=" ");var r=String(n);return t=t>>0,r.length>t?String(r):(t=t-r.length,t>e.length&&(e+=Qe(e,t/e.length)),e.slice(0,t)+String(r))}var Et,qn,gS,Nr,ga,Qe,ez,tz,Ur,jy,Vn,Jt,Xe,cn=b(()=>{wl();Et=function(n){return n!=null},qn=function(n){return typeof n=="number"},gS=function(n){return typeof n=="string"&&Ip.includes(n)},Nr=Array.isArray,ga=function(n,t){t===void 0&&(t=n),arguments.length===1&&(t=n,n=0);for(var e=[],r=n;r<t;r++)e.push(r);return e},Qe=function(n,t){var e=0,r=[];if(Nr(n))for(;e<t;e++)r[e]=[].concat(n);else for(;e<t;e++)r[e]=n;return r},ez=function(n){return Nr(n)?n:[n]};tz=function(n,t,e){var r=n.split(t);return e?r.slice(0,e).concat([r.slice(e).join(t)]):r},Ur=function(n,t){var e=n%t;return e*t<0?e+t:e},jy=function(n,t){return{div:Math.floor(n/t),mod:Ur(n,t)}},Vn=function(n){return!Et(n)||n.length===0},Jt=function(n){return!Vn(n)},Xe=function(n,t){return Jt(n)&&n.indexOf(t)!==-1}});var gi,nne,nz,Hy,az,ane,md,yS,Dl,ine,_p,zy,sne,os,vS,Uy,Wy,bS,ls,hd,Np,rz,iz,Wr=b(()=>{cn();gi=function(n,t,e,r,a,i){return r===void 0&&(r=0),a===void 0&&(a=0),i===void 0&&(i=0),new Date(Date.UTC(n,t-1,e,r,a,i))},nne=[31,28,31,30,31,30,31,31,30,31,30,31],nz=1e3*60*60*24,Hy=9999,az=gi(1970,1,1),ane=[6,0,1,2,3,4,5],md=function(n){return n%4===0&&n%100!==0||n%400===0},yS=function(n){return n instanceof Date},Dl=function(n){return yS(n)&&!isNaN(n.getTime())},ine=function(n,t){var e=n.getTime(),r=t.getTime(),a=e-r;return Math.round(a/nz)},_p=function(n){return ine(n,az)},zy=function(n){return new Date(az.getTime()+n*nz)},sne=function(n){var t=n.getUTCMonth();return t===1&&md(n.getUTCFullYear())?29:nne[t]},os=function(n){return ane[n.getUTCDay()]},vS=function(n,t){var e=gi(n,t+1,1);return[os(e),sne(e)]},Uy=function(n,t){return t=t||n,new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},Wy=function(n){var t=new Date(n.getTime());return t},bS=function(n){for(var t=[],e=0;e<n.length;e++)t.push(Wy(n[e]));return t},ls=function(n){n.sort(function(t,e){return t.getTime()-e.getTime()})},hd=function(n,t){t===void 0&&(t=!0);var e=new Date(n);return[Sl(e.getUTCFullYear().toString(),4,"0"),Sl(e.getUTCMonth()+1,2,"0"),Sl(e.getUTCDate(),2,"0"),"T",Sl(e.getUTCHours(),2,"0"),Sl(e.getUTCMinutes(),2,"0"),Sl(e.getUTCSeconds(),2,"0"),t?"Z":""].join("")},Np=function(n){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/,e=t.exec(n);if(!e)throw new Error("Invalid UNTIL value: ".concat(n));return new Date(Date.UTC(parseInt(e[1],10),parseInt(e[2],10)-1,parseInt(e[3],10),parseInt(e[5],10)||0,parseInt(e[6],10)||0,parseInt(e[7],10)||0))},rz=function(n,t){var e=n.toLocaleString("sv-SE",{timeZone:t});return e.replace(" ","T")+"Z"},iz=function(n,t){var e=Intl.DateTimeFormat().resolvedOptions().timeZone,r=new Date(rz(n,e)),a=new Date(rz(n,t!=null?t:"UTC")),i=a.getTime()-r.getTime();return new Date(n.getTime()-i)}});var one,cs,qy=b(()=>{one=(function(){function n(t,e){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=t,this.args=e,t==="between"?(this.maxDate=e.inc?e.before:new Date(e.before.getTime()-1),this.minDate=e.inc?e.after:new Date(e.after.getTime()+1)):t==="before"?this.maxDate=e.inc?e.dt:new Date(e.dt.getTime()-1):t==="after"&&(this.minDate=e.inc?e.dt:new Date(e.dt.getTime()+1))}return n.prototype.accept=function(t){++this.total;var e=this.minDate&&t<this.minDate,r=this.maxDate&&t>this.maxDate;if(this.method==="between"){if(e)return!0;if(r)return!1}else if(this.method==="before"){if(r)return!1}else if(this.method==="after")return e?!0:(this.add(t),!1);return this.add(t)},n.prototype.add=function(t){return this._result.push(t),!0},n.prototype.getValue=function(){var t=this._result;switch(this.method){case"all":case"between":return t;case"before":case"after":default:return t.length?t[t.length-1]:null}},n.prototype.clone=function(){return new n(this.method,this.args)},n})(),cs=one});function fd(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");TS(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function te(n,t,e){if(e||arguments.length===2)for(var r=0,a=t.length,i;r<a;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return n.concat(i||Array.prototype.slice.call(t))}var TS,Rr,ds=b(()=>{TS=function(n,t){return TS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])},TS(n,t)};Rr=function(){return Rr=Object.assign||function(t){for(var e,r=1,a=arguments.length;r<a;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Rr.apply(this,arguments)}});var lne,kS,sz=b(()=>{ds();qy();lne=(function(n){fd(t,n);function t(e,r,a){var i=n.call(this,e,r)||this;return i.iterator=a,i}return t.prototype.add=function(e){return this.iterator(e,this._result.length)?(this._result.push(e),!0):!1},t})(cs),kS=lne});var cne,El,Vy=b(()=>{cne={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}},El=cne});var oz,dne,une,pne,yi,lz=b(()=>{Vy();ya();cn();oz=function(n,t){return n.indexOf(t)!==-1},dne=function(n){return n.toString()},une=function(n,t,e){return"".concat(t," ").concat(e,", ").concat(n)},pne=(function(){function n(t,e,r,a){if(e===void 0&&(e=dne),r===void 0&&(r=El),a===void 0&&(a=une),this.text=[],this.language=r||El,this.gettext=e,this.dateFormatter=a,this.rrule=t,this.options=t.options,this.origOptions=t.origOptions,this.origOptions.bymonthday){var i=[].concat(this.options.bymonthday),s=[].concat(this.options.bynmonthday);i.sort(function(d,u){return d-u}),s.sort(function(d,u){return u-d}),this.bymonthday=i.concat(s),this.bymonthday.length||(this.bymonthday=null)}if(Et(this.origOptions.byweekday)){var o=Nr(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],l=String(o);this.byweekday={allWeeks:o.filter(function(d){return!d.n}),someWeeks:o.filter(function(d){return!!d.n}),isWeekdays:l.indexOf("MO")!==-1&&l.indexOf("TU")!==-1&&l.indexOf("WE")!==-1&&l.indexOf("TH")!==-1&&l.indexOf("FR")!==-1&&l.indexOf("SA")===-1&&l.indexOf("SU")===-1,isEveryDay:l.indexOf("MO")!==-1&&l.indexOf("TU")!==-1&&l.indexOf("WE")!==-1&&l.indexOf("TH")!==-1&&l.indexOf("FR")!==-1&&l.indexOf("SA")!==-1&&l.indexOf("SU")!==-1};var c=function(d,u){return d.weekday-u.weekday};this.byweekday.allWeeks.sort(c),this.byweekday.someWeeks.sort(c),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return n.isFullyConvertible=function(t){var e=!0;if(!(t.options.freq in n.IMPLEMENTED)||t.origOptions.until&&t.origOptions.count)return!1;for(var r in t.origOptions){if(oz(["dtstart","tzid","wkst","freq"],r))return!0;if(!oz(n.IMPLEMENTED[t.options.freq],r))return!1}return e},n.prototype.isFullyConvertible=function(){return n.isFullyConvertible(this.rrule)},n.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in n.IMPLEMENTED))return t("RRule error: Unable to fully convert this rrule to text");if(this.text=[t("every")],this[ce.FREQUENCIES[this.options.freq]](),this.options.until){this.add(t("until"));var e=this.options.until;this.add(this.dateFormatter(e.getUTCFullYear(),this.language.monthNames[e.getUTCMonth()],e.getUTCDate()))}else this.options.count&&this.add(t("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?t("times"):t("time"));return this.isFullyConvertible()||this.add(t("(~ approximate)")),this.text.join("")},n.prototype.HOURLY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("hours"):t("hour"))},n.prototype.MINUTELY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("minutes"):t("minute"))},n.prototype.DAILY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?t("weekdays"):t("weekday")):this.add(this.plural(this.options.interval)?t("days"):t("day")),this.origOptions.bymonth&&(this.add(t("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},n.prototype.WEEKLY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?t("weeks"):t("week")),this.byweekday&&this.byweekday.isWeekdays?this.options.interval===1?this.add(this.plural(this.options.interval)?t("weekdays"):t("weekday")):this.add(t("on")).add(t("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?t("days"):t("day")):(this.options.interval===1&&this.add(t("week")),this.origOptions.bymonth&&(this.add(t("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},n.prototype.MONTHLY=function(){var t=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()).add(t("months")),this.plural(this.options.interval)&&this.add(t("in"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("months"):t("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(t("on")).add(t("weekdays")):this.byweekday&&this._byweekday()},n.prototype.YEARLY=function(){var t=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()),this.add(t("years"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("years"):t("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(t("on the")).add(this.list(this.options.byyearday,this.nth,t("and"))).add(t("day")),this.options.byweekno&&this.add(t("in")).add(this.plural(this.options.byweekno.length)?t("weeks"):t("week")).add(this.list(this.options.byweekno,void 0,t("and")))},n.prototype._bymonthday=function(){var t=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(t("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,t("or"))).add(t("the")).add(this.list(this.bymonthday,this.nth,t("or"))):this.add(t("on the")).add(this.list(this.bymonthday,this.nth,t("and")))},n.prototype._byweekday=function(){var t=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(t("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(t("and")),this.add(t("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,t("and"))))},n.prototype._byhour=function(){var t=this.gettext;this.add(t("at")).add(this.list(this.origOptions.byhour,void 0,t("and")))},n.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},n.prototype.nth=function(t){t=parseInt(t.toString(),10);var e,r=this.gettext;if(t===-1)return r("last");var a=Math.abs(t);switch(a){case 1:case 21:case 31:e=a+r("st");break;case 2:case 22:e=a+r("nd");break;case 3:case 23:e=a+r("rd");break;default:e=a+r("th")}return t<0?e+" "+r("last"):e},n.prototype.monthtext=function(t){return this.language.monthNames[t-1]},n.prototype.weekdaytext=function(t){var e=qn(t)?(t+1)%7:t.getJsWeekday();return(t.n?this.nth(t.n)+" ":"")+this.language.dayNames[e]},n.prototype.plural=function(t){return t%100!==1},n.prototype.add=function(t){return this.text.push(" "),this.text.push(t),this},n.prototype.list=function(t,e,r,a){var i=this;a===void 0&&(a=","),Nr(t)||(t=[t]);var s=function(l,c,d){for(var u="",p=0;p<l.length;p++)p!==0&&(p===l.length-1?u+=" "+d+" ":u+=c+" "),u+=l[p];return u};e=e||function(l){return l.toString()};var o=function(l){return e&&e.call(i,l)};return r?s(t.map(o),a,r):t.map(o).join(a+" ")},n})(),yi=pne});function Rp(n,t){t===void 0&&(t=El);var e={},r=new mne(t.tokens);if(!r.start(n))return null;return a(),e;function a(){r.expect("every");var p=r.acceptNumber();if(p&&(e.interval=parseInt(p[0],10)),r.isDone())throw new Error("Unexpected end");switch(r.symbol){case"day(s)":e.freq=ce.DAILY,r.nextSymbol()&&(s(),u());break;case"weekday(s)":e.freq=ce.WEEKLY,e.byweekday=[ce.MO,ce.TU,ce.WE,ce.TH,ce.FR],r.nextSymbol(),s(),u();break;case"week(s)":e.freq=ce.WEEKLY,r.nextSymbol()&&(i(),s(),u());break;case"hour(s)":e.freq=ce.HOURLY,r.nextSymbol()&&(i(),u());break;case"minute(s)":e.freq=ce.MINUTELY,r.nextSymbol()&&(i(),u());break;case"month(s)":e.freq=ce.MONTHLY,r.nextSymbol()&&(i(),u());break;case"year(s)":e.freq=ce.YEARLY,r.nextSymbol()&&(i(),u());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":e.freq=ce.WEEKLY;var m=r.symbol.substr(0,2).toUpperCase();if(e.byweekday=[ce[m]],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw new Error("Unexpected end");var h=l();if(!h)throw new Error("Unexpected symbol "+r.symbol+", expected weekday");e.byweekday.push(ce[h]),r.nextSymbol()}s(),d(),u();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(e.freq=ce.YEARLY,e.bymonth=[o()],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw new Error("Unexpected end");var f=o();if(!f)throw new Error("Unexpected symbol "+r.symbol+", expected month");e.bymonth.push(f),r.nextSymbol()}i(),u();break;default:throw new Error("Unknown symbol")}}function i(){var p=r.accept("on"),m=r.accept("the");if(p||m)do{var h=c(),f=l(),g=o();if(h)f?(r.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(ce[f].nth(h))):(e.bymonthday||(e.bymonthday=[]),e.bymonthday.push(h),r.accept("day(s)"));else if(f)r.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(ce[f]);else if(r.symbol==="weekday(s)")r.nextSymbol(),e.byweekday||(e.byweekday=[ce.MO,ce.TU,ce.WE,ce.TH,ce.FR]);else if(r.symbol==="week(s)"){r.nextSymbol();var v=r.acceptNumber();if(!v)throw new Error("Unexpected symbol "+r.symbol+", expected week number");for(e.byweekno=[parseInt(v[0],10)];r.accept("comma");){if(v=r.acceptNumber(),!v)throw new Error("Unexpected symbol "+r.symbol+"; expected monthday");e.byweekno.push(parseInt(v[0],10))}}else if(g)r.nextSymbol(),e.bymonth||(e.bymonth=[]),e.bymonth.push(g);else return}while(r.accept("comma")||r.accept("the")||r.accept("on"))}function s(){var p=r.accept("at");if(p)do{var m=r.acceptNumber();if(!m)throw new Error("Unexpected symbol "+r.symbol+", expected hour");for(e.byhour=[parseInt(m[0],10)];r.accept("comma");){if(m=r.acceptNumber(),!m)throw new Error("Unexpected symbol "+r.symbol+"; expected hour");e.byhour.push(parseInt(m[0],10))}}while(r.accept("comma")||r.accept("at"))}function o(){switch(r.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function l(){switch(r.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return r.symbol.substr(0,2).toUpperCase();default:return!1}}function c(){switch(r.symbol){case"last":return r.nextSymbol(),-1;case"first":return r.nextSymbol(),1;case"second":return r.nextSymbol(),r.accept("last")?-2:2;case"third":return r.nextSymbol(),r.accept("last")?-3:3;case"nth":var p=parseInt(r.value[1],10);if(p<-366||p>366)throw new Error("Nth out of range: "+p);return r.nextSymbol(),r.accept("last")?-p:p;default:return!1}}function d(){r.accept("on"),r.accept("the");var p=c();if(p)for(e.bymonthday=[p],r.nextSymbol();r.accept("comma");){if(p=c(),!p)throw new Error("Unexpected symbol "+r.symbol+"; expected monthday");e.bymonthday.push(p),r.nextSymbol()}}function u(){if(r.symbol==="until"){var p=Date.parse(r.text);if(!p)throw new Error("Cannot parse until date:"+r.text);e.until=new Date(p)}else r.accept("for")&&(e.count=parseInt(r.value[0],10),r.expect("number"))}}var mne,cz=b(()=>{Vy();ya();mne=(function(){function n(t){this.done=!0,this.rules=t}return n.prototype.start=function(t){return this.text=t,this.done=!1,this.nextSymbol()},n.prototype.isDone=function(){return this.done&&this.symbol===null},n.prototype.nextSymbol=function(){var t,e;this.symbol=null,this.value=null;do{if(this.done)return!1;var r=void 0;t=null;for(var a in this.rules){r=this.rules[a];var i=r.exec(this.text);i&&(t===null||i[0].length>t[0].length)&&(t=i,e=a)}if(t!=null&&(this.text=this.text.substr(t[0].length),this.text===""&&(this.done=!0)),t==null){this.done=!0,this.symbol=null,this.value=null;return}}while(e==="SKIP");return this.symbol=e,this.value=t,!0},n.prototype.accept=function(t){if(this.symbol===t){if(this.value){var e=this.value;return this.nextSymbol(),e}return this.nextSymbol(),!0}return!1},n.prototype.acceptNumber=function(){return this.accept("number")},n.prototype.expect=function(t){if(this.accept(t))return!0;throw new Error("expected "+t+" but found "+this.symbol)},n})()});function Fp(n){return n<qe.HOURLY}var qe,us=b(()=>{(function(n){n[n.YEARLY=0]="YEARLY",n[n.MONTHLY=1]="MONTHLY",n[n.WEEKLY=2]="WEEKLY",n[n.DAILY=3]="DAILY",n[n.HOURLY=4]="HOURLY",n[n.MINUTELY=5]="MINUTELY",n[n.SECONDLY=6]="SECONDLY"})(qe||(qe={}))});var dz,gd,uz,pz,mz=b(()=>{lz();cz();ya();us();Vy();dz=function(n,t){return t===void 0&&(t=El),new ce(Rp(n,t)||void 0)},gd=["count","until","interval","byweekday","bymonthday","bymonth"];yi.IMPLEMENTED=[];yi.IMPLEMENTED[qe.HOURLY]=gd;yi.IMPLEMENTED[qe.MINUTELY]=gd;yi.IMPLEMENTED[qe.DAILY]=["byhour"].concat(gd);yi.IMPLEMENTED[qe.WEEKLY]=gd;yi.IMPLEMENTED[qe.MONTHLY]=gd;yi.IMPLEMENTED[qe.YEARLY]=["byweekno","byyearday"].concat(gd);uz=function(n,t,e,r){return new yi(n,t,e,r).toString()},pz=yi.isFullyConvertible});var yd,hz,$y=b(()=>{ds();us();cn();Wr();yd=(function(){function n(t,e,r,a){this.hour=t,this.minute=e,this.second=r,this.millisecond=a||0}return n.prototype.getHours=function(){return this.hour},n.prototype.getMinutes=function(){return this.minute},n.prototype.getSeconds=function(){return this.second},n.prototype.getMilliseconds=function(){return this.millisecond},n.prototype.getTime=function(){return(this.hour*60*60+this.minute*60+this.second)*1e3+this.millisecond},n})(),hz=(function(n){fd(t,n);function t(e,r,a,i,s,o,l){var c=n.call(this,i,s,o,l)||this;return c.year=e,c.month=r,c.day=a,c}return t.fromDate=function(e){return new this(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.valueOf()%1e3)},t.prototype.getWeekday=function(){return os(new Date(this.getTime()))},t.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},t.prototype.getDay=function(){return this.day},t.prototype.getMonth=function(){return this.month},t.prototype.getYear=function(){return this.year},t.prototype.addYears=function(e){this.year+=e},t.prototype.addMonths=function(e){if(this.month+=e,this.month>12){var r=Math.floor(this.month/12),a=Ur(this.month,12);this.month=a,this.year+=r,this.month===0&&(this.month=12,--this.year)}},t.prototype.addWeekly=function(e,r){r>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-r))+e*7:this.day+=-(this.getWeekday()-r)+e*7,this.fixDay()},t.prototype.addDaily=function(e){this.day+=e,this.fixDay()},t.prototype.addHours=function(e,r,a){for(r&&(this.hour+=Math.floor((23-this.hour)/e)*e);;){this.hour+=e;var i=jy(this.hour,24),s=i.div,o=i.mod;if(s&&(this.hour=o,this.addDaily(s)),Vn(a)||Xe(a,this.hour))break}},t.prototype.addMinutes=function(e,r,a,i){for(r&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/e)*e);;){this.minute+=e;var s=jy(this.minute,60),o=s.div,l=s.mod;if(o&&(this.minute=l,this.addHours(o,!1,a)),(Vn(a)||Xe(a,this.hour))&&(Vn(i)||Xe(i,this.minute)))break}},t.prototype.addSeconds=function(e,r,a,i,s){for(r&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/e)*e);;){this.second+=e;var o=jy(this.second,60),l=o.div,c=o.mod;if(l&&(this.second=c,this.addMinutes(l,!1,a,i)),(Vn(a)||Xe(a,this.hour))&&(Vn(i)||Xe(i,this.minute))&&(Vn(s)||Xe(s,this.second)))break}},t.prototype.fixDay=function(){if(!(this.day<=28)){var e=vS(this.year,this.month-1)[1];if(!(this.day<=e))for(;this.day>e;){if(this.day-=e,++this.month,this.month===13&&(this.month=1,++this.year,this.year>Hy))return;e=vS(this.year,this.month-1)[1]}}},t.prototype.add=function(e,r){var a=e.freq,i=e.interval,s=e.wkst,o=e.byhour,l=e.byminute,c=e.bysecond;switch(a){case qe.YEARLY:return this.addYears(i);case qe.MONTHLY:return this.addMonths(i);case qe.WEEKLY:return this.addWeekly(i,s);case qe.DAILY:return this.addDaily(i);case qe.HOURLY:return this.addHours(i,r,o);case qe.MINUTELY:return this.addMinutes(i,r,o,l);case qe.SECONDLY:return this.addSeconds(i,r,o,l,c)}},t})(yd)});function wS(n){for(var t=[],e=Object.keys(n),r=0,a=e;r<a.length;r++){var i=a[r];Xe(yz,i)||t.push(i),yS(n[i])&&!Dl(n[i])&&t.push(i)}if(t.length)throw new Error("Invalid options: "+t.join(", "));return Rr({},n)}function fz(n){var t=Rr(Rr({},Op),wS(n));if(Et(t.byeaster)&&(t.freq=ce.YEARLY),!(Et(t.freq)&&ce.FREQUENCIES[t.freq]))throw new Error("Invalid frequency: ".concat(t.freq," ").concat(n.freq));if(t.dtstart||(t.dtstart=new Date(new Date().setMilliseconds(0))),Et(t.wkst)?qn(t.wkst)||(t.wkst=t.wkst.weekday):t.wkst=ce.MO.weekday,Et(t.bysetpos)){qn(t.bysetpos)&&(t.bysetpos=[t.bysetpos]);for(var e=0;e<t.bysetpos.length;e++){var r=t.bysetpos[e];if(r===0||!(r>=-366&&r<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(t.byweekno||Jt(t.byweekno)||Jt(t.byyearday)||t.bymonthday||Jt(t.bymonthday)||Et(t.byweekday)||Et(t.byeaster)))switch(t.freq){case ce.YEARLY:t.bymonth||(t.bymonth=t.dtstart.getUTCMonth()+1),t.bymonthday=t.dtstart.getUTCDate();break;case ce.MONTHLY:t.bymonthday=t.dtstart.getUTCDate();break;case ce.WEEKLY:t.byweekday=[os(t.dtstart)];break}if(Et(t.bymonth)&&!Nr(t.bymonth)&&(t.bymonth=[t.bymonth]),Et(t.byyearday)&&!Nr(t.byyearday)&&qn(t.byyearday)&&(t.byyearday=[t.byyearday]),!Et(t.bymonthday))t.bymonthday=[],t.bynmonthday=[];else if(Nr(t.bymonthday)){for(var a=[],i=[],e=0;e<t.bymonthday.length;e++){var r=t.bymonthday[e];r>0?a.push(r):r<0&&i.push(r)}t.bymonthday=a,t.bynmonthday=i}else t.bymonthday<0?(t.bynmonthday=[t.bymonthday],t.bymonthday=[]):(t.bynmonthday=[],t.bymonthday=[t.bymonthday]);if(Et(t.byweekno)&&!Nr(t.byweekno)&&(t.byweekno=[t.byweekno]),!Et(t.byweekday))t.bynweekday=null;else if(qn(t.byweekday))t.byweekday=[t.byweekday],t.bynweekday=null;else if(gS(t.byweekday))t.byweekday=[ar.fromStr(t.byweekday).weekday],t.bynweekday=null;else if(t.byweekday instanceof ar)!t.byweekday.n||t.freq>ce.MONTHLY?(t.byweekday=[t.byweekday.weekday],t.bynweekday=null):(t.bynweekday=[[t.byweekday.weekday,t.byweekday.n]],t.byweekday=null);else{for(var s=[],o=[],e=0;e<t.byweekday.length;e++){var l=t.byweekday[e];if(qn(l)){s.push(l);continue}else if(gS(l)){s.push(ar.fromStr(l).weekday);continue}!l.n||t.freq>ce.MONTHLY?s.push(l.weekday):o.push([l.weekday,l.n])}t.byweekday=Jt(s)?s:null,t.bynweekday=Jt(o)?o:null}return Et(t.byhour)?qn(t.byhour)&&(t.byhour=[t.byhour]):t.byhour=t.freq<ce.HOURLY?[t.dtstart.getUTCHours()]:null,Et(t.byminute)?qn(t.byminute)&&(t.byminute=[t.byminute]):t.byminute=t.freq<ce.MINUTELY?[t.dtstart.getUTCMinutes()]:null,Et(t.bysecond)?qn(t.bysecond)&&(t.bysecond=[t.bysecond]):t.bysecond=t.freq<ce.SECONDLY?[t.dtstart.getUTCSeconds()]:null,{parsedOptions:t}}function gz(n){var t=n.dtstart.getTime()%1e3;if(!Fp(n.freq))return[];var e=[];return n.byhour.forEach(function(r){n.byminute.forEach(function(a){n.bysecond.forEach(function(i){e.push(new yd(r,a,i,t))})})}),e}var SS=b(()=>{ds();us();cn();ya();Wr();wl();$y()});function Bp(n){var t=n.split(`
|
||
`).map(hne).filter(function(e){return e!==null});return Rr(Rr({},t[0]),t[1])}function Lp(n){var t={},e=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(n);if(!e)return t;var r=e[1],a=e[2];return r&&(t.tzid=r),t.dtstart=Np(a),t}function hne(n){if(n=n.replace(/^\s+|\s+$/,""),!n.length)return null;var t=/^([A-Z]+?)[:;]/.exec(n.toUpperCase());if(!t)return vz(n);var e=t[1];switch(e.toUpperCase()){case"RRULE":case"EXRULE":return vz(n);case"DTSTART":return Lp(n);default:throw new Error("Unsupported RFC prop ".concat(e," in ").concat(n))}}function vz(n){var t=n.replace(/^RRULE:/i,""),e=Lp(t),r=n.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return r.forEach(function(a){var i=a.split("="),s=i[0],o=i[1];switch(s.toUpperCase()){case"FREQ":e.freq=qe[o.toUpperCase()];break;case"WKST":e.wkst=va[o.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var l=fne(o),c=s.toLowerCase();e[c]=l;break;case"BYWEEKDAY":case"BYDAY":e.byweekday=gne(o);break;case"DTSTART":case"TZID":var d=Lp(n);e.tzid=d.tzid,e.dtstart=d.dtstart;break;case"UNTIL":e.until=Np(o);break;case"BYEASTER":e.byeaster=Number(o);break;default:throw new Error("Unknown RRULE property '"+s+"'")}}),e}function fne(n){if(n.indexOf(",")!==-1){var t=n.split(",");return t.map(bz)}return bz(n)}function bz(n){return/^[+-]?\d+$/.test(n)?Number(n):n}function gne(n){var t=n.split(",");return t.map(function(e){if(e.length===2)return va[e];var r=e.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!r||r.length<3)throw new SyntaxError("Invalid weekday string: ".concat(e));var a=Number(r[1]),i=r[2],s=va[i].weekday;return new ar(s,a)})}var DS=b(()=>{ds();us();wl();Wr();ya()});var xl,Yy=b(()=>{Wr();xl=(function(){function n(t,e){if(isNaN(t.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=t,this.tzid=e}return Object.defineProperty(n.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),n.prototype.toString=function(){var t=hd(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(t):";TZID=".concat(this.tzid,":").concat(t)},n.prototype.getTime=function(){return this.date.getTime()},n.prototype.rezonedDate=function(){return this.isUTC?this.date:iz(this.date,this.tzid)},n})()});function jp(n){for(var t=[],e="",r=Object.keys(n),a=Object.keys(Op),i=0;i<r.length;i++)if(r[i]!=="tzid"&&Xe(a,r[i])){var s=r[i].toUpperCase(),o=n[r[i]],l="";if(!(!Et(o)||Nr(o)&&!o.length)){switch(s){case"FREQ":l=ce.FREQUENCIES[n.freq];break;case"WKST":qn(o)?l=new ar(o).toString():l=o.toString();break;case"BYWEEKDAY":s="BYDAY",l=ez(o).map(function(m){return m instanceof ar?m:Nr(m)?new ar(m[0],m[1]):new ar(m)}).toString();break;case"DTSTART":e=yne(o,n.tzid);break;case"UNTIL":l=hd(o,!n.tzid);break;default:if(Nr(o)){for(var c=[],d=0;d<o.length;d++)c[d]=String(o[d]);l=c.toString()}else l=String(o)}l&&t.push([s,l])}}var u=t.map(function(m){var h=m[0],f=m[1];return"".concat(h,"=").concat(f.toString())}).join(";"),p="";return u!==""&&(p="RRULE:".concat(u)),[e,p].filter(function(m){return!!m}).join(`
|
||
`)}function yne(n,t){return n?"DTSTART"+new xl(new Date(n),t).toString():""}var ES=b(()=>{ya();cn();wl();Wr();Yy()});function vne(n,t){return Array.isArray(n)?!Array.isArray(t)||n.length!==t.length?!1:n.every(function(e,r){return e.getTime()===t[r].getTime()}):n instanceof Date?t instanceof Date&&n.getTime()===t.getTime():n===t}var Tz,kz=b(()=>{qy();Wr();cn();Tz=(function(){function n(){this.all=!1,this.before=[],this.after=[],this.between=[]}return n.prototype._cacheAdd=function(t,e,r){e&&(e=e instanceof Date?Wy(e):bS(e)),t==="all"?this.all=e:(r._value=e,this[t].push(r))},n.prototype._cacheGet=function(t,e){var r=!1,a=e?Object.keys(e):[],i=function(d){for(var u=0;u<a.length;u++){var p=a[u];if(!vne(e[p],d[p]))return!0}return!1},s=this[t];if(t==="all")r=this.all;else if(Nr(s))for(var o=0;o<s.length;o++){var l=s[o];if(!(a.length&&i(l))){r=l._value;break}}if(!r&&this.all){for(var c=new cs(t,e),o=0;o<this.all.length&&c.accept(this.all[o]);o++);r=c.getValue(),this._cacheAdd(t,r,e)}return Nr(r)?bS(r):r instanceof Date?Wy(r):r},n})()});var wz,Sz,bne,Tne,so,qr,Dz,Ez,kne,wne,oo,Vr,xz,Cz,Pz,Mz,xS,Az=b(()=>{ds();cn();wz=te(te(te(te(te(te(te(te(te(te(te(te(te([],Qe(1,31),!0),Qe(2,28),!0),Qe(3,31),!0),Qe(4,30),!0),Qe(5,31),!0),Qe(6,30),!0),Qe(7,31),!0),Qe(8,31),!0),Qe(9,30),!0),Qe(10,31),!0),Qe(11,30),!0),Qe(12,31),!0),Qe(1,7),!0),Sz=te(te(te(te(te(te(te(te(te(te(te(te(te([],Qe(1,31),!0),Qe(2,29),!0),Qe(3,31),!0),Qe(4,30),!0),Qe(5,31),!0),Qe(6,30),!0),Qe(7,31),!0),Qe(8,31),!0),Qe(9,30),!0),Qe(10,31),!0),Qe(11,30),!0),Qe(12,31),!0),Qe(1,7),!0),bne=ga(1,29),Tne=ga(1,30),so=ga(1,31),qr=ga(1,32),Dz=te(te(te(te(te(te(te(te(te(te(te(te(te([],qr,!0),Tne,!0),qr,!0),so,!0),qr,!0),so,!0),qr,!0),qr,!0),so,!0),qr,!0),so,!0),qr,!0),qr.slice(0,7),!0),Ez=te(te(te(te(te(te(te(te(te(te(te(te(te([],qr,!0),bne,!0),qr,!0),so,!0),qr,!0),so,!0),qr,!0),qr,!0),so,!0),qr,!0),so,!0),qr,!0),qr.slice(0,7),!0),kne=ga(-28,0),wne=ga(-29,0),oo=ga(-30,0),Vr=ga(-31,0),xz=te(te(te(te(te(te(te(te(te(te(te(te(te([],Vr,!0),wne,!0),Vr,!0),oo,!0),Vr,!0),oo,!0),Vr,!0),Vr,!0),oo,!0),Vr,!0),oo,!0),Vr,!0),Vr.slice(0,7),!0),Cz=te(te(te(te(te(te(te(te(te(te(te(te(te([],Vr,!0),kne,!0),Vr,!0),oo,!0),Vr,!0),oo,!0),Vr,!0),Vr,!0),oo,!0),Vr,!0),oo,!0),Vr,!0),Vr.slice(0,7),!0),Pz=[0,31,60,91,121,152,182,213,244,274,305,335,366],Mz=[0,31,59,90,120,151,181,212,243,273,304,334,365],xS=(function(){for(var n=[],t=0;t<55;t++)n=n.concat(ga(7));return n})()});function Iz(n,t){var e=gi(n,1,1),r=md(n)?366:365,a=md(n+1)?366:365,i=_p(e),s=os(e),o=Rr(Rr({yearlen:r,nextyearlen:a,yearordinal:i,yearweekday:s},Sne(n)),{wnomask:null});if(Vn(t.byweekno))return o;o.wnomask=Qe(0,r+7);var l,c,d=l=Ur(7-s+t.wkst,7);d>=4?(d=0,c=o.yearlen+Ur(s-t.wkst,7)):c=r-d;for(var u=Math.floor(c/7),p=Ur(c,7),m=Math.floor(u+p/4),h=0;h<t.byweekno.length;h++){var f=t.byweekno[h];if(f<0&&(f+=m+1),f>0&&f<=m){var g=void 0;f>1?(g=d+(f-1)*7,d!==l&&(g-=7-l)):g=d;for(var v=0;v<7&&(o.wnomask[g]=1,g++,o.wdaymask[g]!==t.wkst);v++);}}if(Xe(t.byweekno,1)){var g=d+m*7;if(d!==l&&(g-=7-l),g<r)for(var h=0;h<7&&(o.wnomask[g]=1,g+=1,o.wdaymask[g]!==t.wkst);h++);}if(d){var T=void 0;if(Xe(t.byweekno,-1))T=-1;else{var k=os(gi(n-1,1,1)),w=Ur(7-k.valueOf()+t.wkst,7),S=md(n-1)?366:365,x=void 0;w>=4?(w=0,x=S+Ur(k-t.wkst,7)):x=r-d,T=Math.floor(52+Ur(x,7)/4)}if(Xe(t.byweekno,T))for(var g=0;g<d;g++)o.wnomask[g]=1}return o}function Sne(n){var t=md(n)?366:365,e=gi(n,1,1),r=os(e);return t===365?{mmask:wz,mdaymask:Ez,nmdaymask:Cz,wdaymask:xS.slice(r),mrange:Mz}:{mmask:Sz,mdaymask:Dz,nmdaymask:xz,wdaymask:xS.slice(r),mrange:Pz}}var _z=b(()=>{ds();Wr();cn();Az()});function Nz(n,t,e,r,a,i){var s={lastyear:n,lastmonth:t,nwdaymask:[]},o=[];if(i.freq===ce.YEARLY)if(Vn(i.bymonth))o=[[0,e]];else for(var l=0;l<i.bymonth.length;l++)t=i.bymonth[l],o.push(r.slice(t-1,t+1));else i.freq===ce.MONTHLY&&(o=[r.slice(t-1,t+1)]);if(Vn(o))return s;s.nwdaymask=Qe(0,e);for(var l=0;l<o.length;l++)for(var c=o[l],d=c[0],u=c[1]-1,p=0;p<i.bynweekday.length;p++){var m=void 0,h=i.bynweekday[p],f=h[0],g=h[1];g<0?(m=u+(g+1)*7,m-=Ur(a[m]-f,7)):(m=d+(g-1)*7,m+=Ur(7-a[m]+f,7)),d<=m&&m<=u&&(s.nwdaymask[m]=1)}return s}var Rz=b(()=>{ya();cn()});function Fz(n,t){t===void 0&&(t=0);var e=n%19,r=Math.floor(n/100),a=n%100,i=Math.floor(r/4),s=r%4,o=Math.floor((r+8)/25),l=Math.floor((r-o+1)/3),c=Math.floor(19*e+r-i-l+15)%30,d=Math.floor(a/4),u=a%4,p=Math.floor(32+2*s+2*d-c-u)%7,m=Math.floor((e+11*c+22*p)/451),h=Math.floor((c+p-7*m+114)/31),f=(c+p-7*m+114)%31+1,g=Date.UTC(n,h-1,f+t),v=Date.UTC(n,0,1);return[Math.ceil((g-v)/(1e3*60*60*24))]}var Oz=b(()=>{});var Dne,Lz,Bz=b(()=>{cn();us();_z();Rz();Oz();$y();Wr();Dne=(function(){function n(t){this.options=t}return n.prototype.rebuild=function(t,e){var r=this.options;if(t!==this.lastyear&&(this.yearinfo=Iz(t,r)),Jt(r.bynweekday)&&(e!==this.lastmonth||t!==this.lastyear)){var a=this.yearinfo,i=a.yearlen,s=a.mrange,o=a.wdaymask;this.monthinfo=Nz(t,e,i,s,o,r)}Et(r.byeaster)&&(this.eastermask=Fz(t,r.byeaster))},Object.defineProperty(n.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),n.prototype.ydayset=function(){return[ga(this.yearlen),0,this.yearlen]},n.prototype.mdayset=function(t,e){for(var r=this.mrange[e-1],a=this.mrange[e],i=Qe(null,this.yearlen),s=r;s<a;s++)i[s]=s;return[i,r,a]},n.prototype.wdayset=function(t,e,r){for(var a=Qe(null,this.yearlen+7),i=_p(gi(t,e,r))-this.yearordinal,s=i,o=0;o<7&&(a[i]=i,++i,this.wdaymask[i]!==this.options.wkst);o++);return[a,s,i]},n.prototype.ddayset=function(t,e,r){var a=Qe(null,this.yearlen),i=_p(gi(t,e,r))-this.yearordinal;return a[i]=i,[a,i,i+1]},n.prototype.htimeset=function(t,e,r,a){var i=this,s=[];return this.options.byminute.forEach(function(o){s=s.concat(i.mtimeset(t,o,r,a))}),ls(s),s},n.prototype.mtimeset=function(t,e,r,a){var i=this.options.bysecond.map(function(s){return new yd(t,e,s,a)});return ls(i),i},n.prototype.stimeset=function(t,e,r,a){return[new yd(t,e,r,a)]},n.prototype.getdayset=function(t){switch(t){case qe.YEARLY:return this.ydayset.bind(this);case qe.MONTHLY:return this.mdayset.bind(this);case qe.WEEKLY:return this.wdayset.bind(this);case qe.DAILY:return this.ddayset.bind(this);default:return this.ddayset.bind(this)}},n.prototype.gettimeset=function(t){switch(t){case qe.HOURLY:return this.htimeset.bind(this);case qe.MINUTELY:return this.mtimeset.bind(this);case qe.SECONDLY:return this.stimeset.bind(this)}},n})(),Lz=Dne});function jz(n,t,e,r,a,i){for(var s=[],o=0;o<n.length;o++){var l=void 0,c=void 0,d=n[o];d<0?(l=Math.floor(d/t.length),c=Ur(d,t.length)):(l=Math.floor((d-1)/t.length),c=Ur(d-1,t.length));for(var u=[],p=e;p<r;p++){var m=i[p];Et(m)&&u.push(m)}var h=void 0;l<0?h=u.slice(l)[0]:h=u[l];var f=t[c],g=zy(a.yearordinal+h),v=Uy(g,f);Xe(s,v)||s.push(v)}return ls(s),s}var Hz=b(()=>{Wr();cn()});function Gy(n,t){var e=t.dtstart,r=t.freq,a=t.interval,i=t.until,s=t.bysetpos,o=t.count;if(o===0||a===0)return ps(n);var l=hz.fromDate(e),c=new Lz(t);c.rebuild(l.year,l.month);for(var d=Cne(c,l,t);;){var u=c.getdayset(r)(l.year,l.month,l.day),p=u[0],m=u[1],h=u[2],f=xne(p,m,h,c,t);if(Jt(s))for(var g=jz(s,d,m,h,c,p),v=0;v<g.length;v++){var T=g[v];if(i&&T>i)return ps(n);if(T>=e){var k=zz(T,t);if(!n.accept(k)||o&&(--o,!o))return ps(n)}}else for(var v=m;v<h;v++){var w=p[v];if(Et(w))for(var S=zy(c.yearordinal+w),x=0;x<d.length;x++){var I=d[x],T=Uy(S,I);if(i&&T>i)return ps(n);if(T>=e){var k=zz(T,t);if(!n.accept(k)||o&&(--o,!o))return ps(n)}}}if(t.interval===0||(l.add(t,f),l.year>Hy))return ps(n);Fp(r)||(d=c.gettimeset(r)(l.hour,l.minute,l.second,0)),c.rebuild(l.year,l.month)}}function Ene(n,t,e){var r=e.bymonth,a=e.byweekno,i=e.byweekday,s=e.byeaster,o=e.bymonthday,l=e.bynmonthday,c=e.byyearday;return Jt(r)&&!Xe(r,n.mmask[t])||Jt(a)&&!n.wnomask[t]||Jt(i)&&!Xe(i,n.wdaymask[t])||Jt(n.nwdaymask)&&!n.nwdaymask[t]||s!==null&&!Xe(n.eastermask,t)||(Jt(o)||Jt(l))&&!Xe(o,n.mdaymask[t])&&!Xe(l,n.nmdaymask[t])||Jt(c)&&(t<n.yearlen&&!Xe(c,t+1)&&!Xe(c,-n.yearlen+t)||t>=n.yearlen&&!Xe(c,t+1-n.yearlen)&&!Xe(c,-n.nextyearlen+t-n.yearlen))}function zz(n,t){return new xl(n,t.tzid).rezonedDate()}function ps(n){return n.getValue()}function xne(n,t,e,r,a){for(var i=!1,s=t;s<e;s++){var o=n[s];i=Ene(r,o,a),i&&(n[o]=null)}return i}function Cne(n,t,e){var r=e.freq,a=e.byhour,i=e.byminute,s=e.bysecond;return Fp(r)?gz(e):r>=ce.HOURLY&&Jt(a)&&!Xe(a,t.hour)||r>=ce.MINUTELY&&Jt(i)&&!Xe(i,t.minute)||r>=ce.SECONDLY&&Jt(s)&&!Xe(s,t.second)?[]:n.gettimeset(r)(t.hour,t.minute,t.second,t.millisecond)}var CS=b(()=>{us();Wr();Bz();ya();SS();cn();Yy();Hz();$y()});var va,Op,yz,ce,ya=b(()=>{Wr();qy();sz();mz();us();SS();DS();ES();kz();wl();CS();va={MO:new ar(0),TU:new ar(1),WE:new ar(2),TH:new ar(3),FR:new ar(4),SA:new ar(5),SU:new ar(6)},Op={freq:qe.YEARLY,dtstart:null,interval:1,wkst:va.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},yz=Object.keys(Op),ce=(function(){function n(t,e){t===void 0&&(t={}),e===void 0&&(e=!1),this._cache=e?null:new Tz,this.origOptions=wS(t);var r=fz(t).parsedOptions;this.options=r}return n.parseText=function(t,e){return Rp(t,e)},n.fromText=function(t,e){return dz(t,e)},n.fromString=function(t){return new n(n.parseString(t)||void 0)},n.prototype._iter=function(t){return Gy(t,this.options)},n.prototype._cacheGet=function(t,e){return this._cache?this._cache._cacheGet(t,e):!1},n.prototype._cacheAdd=function(t,e,r){if(this._cache)return this._cache._cacheAdd(t,e,r)},n.prototype.all=function(t){if(t)return this._iter(new kS("all",{},t));var e=this._cacheGet("all");return e===!1&&(e=this._iter(new cs("all",{})),this._cacheAdd("all",e)),e},n.prototype.between=function(t,e,r,a){if(r===void 0&&(r=!1),!Dl(t)||!Dl(e))throw new Error("Invalid date passed in to RRule.between");var i={before:e,after:t,inc:r};if(a)return this._iter(new kS("between",i,a));var s=this._cacheGet("between",i);return s===!1&&(s=this._iter(new cs("between",i)),this._cacheAdd("between",s,i)),s},n.prototype.before=function(t,e){if(e===void 0&&(e=!1),!Dl(t))throw new Error("Invalid date passed in to RRule.before");var r={dt:t,inc:e},a=this._cacheGet("before",r);return a===!1&&(a=this._iter(new cs("before",r)),this._cacheAdd("before",a,r)),a},n.prototype.after=function(t,e){if(e===void 0&&(e=!1),!Dl(t))throw new Error("Invalid date passed in to RRule.after");var r={dt:t,inc:e},a=this._cacheGet("after",r);return a===!1&&(a=this._iter(new cs("after",r)),this._cacheAdd("after",a,r)),a},n.prototype.count=function(){return this.all().length},n.prototype.toString=function(){return jp(this.origOptions)},n.prototype.toText=function(t,e,r){return uz(this,t,e,r)},n.prototype.isFullyConvertibleToText=function(){return pz(this)},n.prototype.clone=function(){return new n(this.origOptions)},n.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],n.YEARLY=qe.YEARLY,n.MONTHLY=qe.MONTHLY,n.WEEKLY=qe.WEEKLY,n.DAILY=qe.DAILY,n.HOURLY=qe.HOURLY,n.MINUTELY=qe.MINUTELY,n.SECONDLY=qe.SECONDLY,n.MO=va.MO,n.TU=va.TU,n.WE=va.WE,n.TH=va.TH,n.FR=va.FR,n.SA=va.SA,n.SU=va.SU,n.parseString=Bp,n.optionsToString=jp,n})()});function Uz(n,t,e,r,a,i){var s={},o=n.accept;function l(p,m){e.forEach(function(h){h.between(p,m,!0).forEach(function(f){s[Number(f)]=!0})})}a.forEach(function(p){var m=new xl(p,i).rezonedDate();s[Number(m)]=!0}),n.accept=function(p){var m=Number(p);return isNaN(m)?o.call(this,p):!s[m]&&(l(new Date(m-1),new Date(m+1)),!s[m])?(s[m]=!0,o.call(this,p)):!0},n.method==="between"&&(l(n.args.after,n.args.before),n.accept=function(p){var m=Number(p);return s[m]?!0:(s[m]=!0,o.call(this,p))});for(var c=0;c<r.length;c++){var d=new xl(r[c],i).rezonedDate();if(!n.accept(new Date(d.getTime())))break}t.forEach(function(p){Gy(n,p.options)});var u=n._result;switch(ls(u),n.method){case"all":case"between":return u;case"before":return u.length&&u[u.length-1]||null;case"after":default:return u.length&&u[0]||null}}var Wz=b(()=>{Yy();CS();Wr()});function Pne(n,t){var e=[],r=[],a=[],i=[],s=Lp(n),o=s.dtstart,l=s.tzid,c=Nne(n,t.unfold);return c.forEach(function(d){var u;if(d){var p=_ne(d),m=p.name,h=p.parms,f=p.value;switch(m.toUpperCase()){case"RRULE":if(h.length)throw new Error("unsupported RRULE parm: ".concat(h.join(",")));e.push(Bp(d));break;case"RDATE":var g=(u=/RDATE(?:;TZID=([^:=]+))?/i.exec(d))!==null&&u!==void 0?u:[],v=g[1];v&&!l&&(l=v),r=r.concat(Vz(f,h));break;case"EXRULE":if(h.length)throw new Error("unsupported EXRULE parm: ".concat(h.join(",")));a.push(Bp(f));break;case"EXDATE":i=i.concat(Vz(f,h));break;case"DTSTART":break;default:throw new Error("unsupported property: "+m)}}}),{dtstart:o,tzid:l,rrulevals:e,rdatevals:r,exrulevals:a,exdatevals:i}}function Mne(n,t){var e=Pne(n,t),r=e.rrulevals,a=e.rdatevals,i=e.exrulevals,s=e.exdatevals,o=e.dtstart,l=e.tzid,c=t.cache===!1;if(t.compatible&&(t.forceset=!0,t.unfold=!0),t.forceset||r.length>1||a.length||i.length||s.length){var d=new AS(c);return d.dtstart(o),d.tzid(l||void 0),r.forEach(function(p){d.rrule(new ce(PS(p,o,l),c))}),a.forEach(function(p){d.rdate(p)}),i.forEach(function(p){d.exrule(new ce(PS(p,o,l),c))}),s.forEach(function(p){d.exdate(p)}),t.compatible&&t.dtstart&&d.rdate(o),d}var u=r[0]||{};return new ce(PS(u,u.dtstart||t.dtstart||o,u.tzid||t.tzid||l),c)}function Ky(n,t){return t===void 0&&(t={}),Mne(n,Ane(t))}function PS(n,t,e){return Rr(Rr({},n),{dtstart:t,tzid:e})}function Ane(n){var t=[],e=Object.keys(n),r=Object.keys(qz);if(e.forEach(function(a){Xe(r,a)||t.push(a)}),t.length)throw new Error("Invalid options: "+t.join(", "));return Rr(Rr({},qz),n)}function Ine(n){if(n.indexOf(":")===-1)return{name:"RRULE",value:n};var t=tz(n,":",1),e=t[0],r=t[1];return{name:e,value:r}}function _ne(n){var t=Ine(n),e=t.name,r=t.value,a=e.split(";");if(!a)throw new Error("empty property name");return{name:a[0].toUpperCase(),parms:a.slice(1),value:r}}function Nne(n,t){if(t===void 0&&(t=!1),n=n&&n.trim(),!n)throw new Error("Invalid empty string");if(!t)return n.split(/\s/);for(var e=n.split(`
|
||
`),r=0;r<e.length;){var a=e[r]=e[r].replace(/\s+$/g,"");a?r>0&&a[0]===" "?(e[r-1]+=a.slice(1),e.splice(r,1)):r+=1:e.splice(r,1)}return e}function Rne(n){n.forEach(function(t){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(t))throw new Error("unsupported RDATE/EXDATE parm: "+t)})}function Vz(n,t){return Rne(t),n.split(",").map(function(e){return Np(e)})}var qz,MS=b(()=>{ds();ya();IS();Wr();cn();DS();qz={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null}});function $z(n){var t=this;return function(e){if(e!==void 0&&(t["_".concat(n)]=e),t["_".concat(n)]!==void 0)return t["_".concat(n)];for(var r=0;r<t._rrule.length;r++){var a=t._rrule[r].origOptions[n];if(a)return a}}}function Yz(n,t){if(!(n instanceof ce))throw new TypeError(String(n)+" is not RRule instance");Xe(t.map(String),String(n))||t.push(n)}function Gz(n,t){if(!(n instanceof Date))throw new TypeError(String(n)+" is not Date instance");Xe(t.map(Number),Number(n))||(t.push(n),ls(t))}function Kz(n,t,e){var r=!e||e.toUpperCase()==="UTC",a=r?"".concat(n,":"):"".concat(n,";TZID=").concat(e,":"),i=t.map(function(s){return hd(s.valueOf(),r)}).join(",");return"".concat(a).concat(i)}var AS,IS=b(()=>{ds();ya();Wr();cn();Wz();MS();ES();AS=(function(n){fd(t,n);function t(e){e===void 0&&(e=!1);var r=n.call(this,{},e)||this;return r.dtstart=$z.apply(r,["dtstart"]),r.tzid=$z.apply(r,["tzid"]),r._rrule=[],r._rdate=[],r._exrule=[],r._exdate=[],r}return t.prototype._iter=function(e){return Uz(e,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(e){Yz(e,this._rrule)},t.prototype.exrule=function(e){Yz(e,this._exrule)},t.prototype.rdate=function(e){Gz(e,this._rdate)},t.prototype.exdate=function(e){Gz(e,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(e){return Ky(e.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(e){return Ky(e.toString())})},t.prototype.rdates=function(){return this._rdate.map(function(e){return new Date(e.getTime())})},t.prototype.exdates=function(){return this._exdate.map(function(e){return new Date(e.getTime())})},t.prototype.valueOf=function(){var e=[];return!this._rrule.length&&this._dtstart&&(e=e.concat(jp({dtstart:this._dtstart}))),this._rrule.forEach(function(r){e=e.concat(r.toString().split(`
|
||
`))}),this._exrule.forEach(function(r){e=e.concat(r.toString().split(`
|
||
`).map(function(a){return a.replace(/^RRULE:/,"EXRULE:")}).filter(function(a){return!/^DTSTART/.test(a)}))}),this._rdate.length&&e.push(Kz("RDATE",this._rdate,this.tzid())),this._exdate.length&&e.push(Kz("EXDATE",this._exdate,this.tzid())),e},t.prototype.toString=function(){return this.valueOf().join(`
|
||
`)},t.prototype.clone=function(){var e=new t(!!this._cache);return this._rrule.forEach(function(r){return e.rrule(r.clone())}),this._exrule.forEach(function(r){return e.exrule(r.clone())}),this._rdate.forEach(function(r){return e.rdate(new Date(r.getTime()))}),this._exdate.forEach(function(r){return e.exdate(new Date(r.getTime()))}),e},t})(ce)});var _S=b(()=>{ya();IS();MS();us();wl();Wr()});function Cl(n){if(!n)return n;let t=n.trim();if(t.startsWith("[[")&&t.endsWith("]]")){let r=t.slice(2,-2).trim(),a=r.indexOf("|"),i=a!==-1?r.substring(0,a):r;return(0,NS.parseLinktext)(i).path}let e=t.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(e){let r=e[2].trim();try{r=decodeURIComponent(r)}catch(i){console.debug("Failed to decode URI component:",r,i)}return(0,NS.parseLinktext)(r).path}return t}function vi(n,t,e,r,a,i){if(i)return n.fileManager.generateMarkdownLink(t,e,r||"",a||"");let o=`[[${n.metadataCache.fileToLinktext(t,e,!0)}`;return r&&(o+=r),a&&(o+=`|${a}`),o+="]]",o}function RS(n,t,e,r,a){return vi(n,t,e,"",r,a)}var NS,Hp=b(()=>{NS=require("obsidian")});function One(n){return Fne.includes(n)}function Lne(n){return typeof n=="string"?n:n.uid}function lo(n){if(typeof n=="string"){let t=n.trim();return t?{uid:t,reltype:$n}:null}if(typeof n=="object"&&n!==null){let t=n,e=typeof t.uid=="string"?t.uid.trim():"";if(!e)return null;let r=typeof t.reltype=="string"?t.reltype.trim().toUpperCase():"",a=One(r)?r:$n,i=typeof t.gap=="string"&&t.gap.trim().length>0?t.gap.trim():void 0;return i?{uid:e,reltype:a,gap:i}:{uid:e,reltype:a}}return null}function Zy(n){if(n==null)return;let t=Array.isArray(n)?n:[n],e=[];for(let r of t){let a=lo(r);a&&e.push(a)}return e.length>0?e:void 0}function Qz(n){return n.map(t=>{let e={uid:t.uid,reltype:t.reltype};return t.gap&&t.gap.trim().length>0&&(e.gap=t.gap),e})}function Pl(n,t,e){let r=Lne(e);if(!r)return null;let a=Cl(r);if(!a)return null;let i=n.metadataCache.getFirstLinkpathDest(a,t);if(i instanceof Qy.TFile)return{path:i.path,file:i};let s=n.vault.getAbstractFileByPath(a);return s instanceof Qy.TFile?{path:s.path,file:s}:null}function Yn(n,t,e,r){let a=n.vault.getAbstractFileByPath(e);return a instanceof Qy.TFile?vi(n,a,t,"","",r):`[[${(e.split("/").pop()||e).replace(/\.md$/i,"")}]]`}var Qy,$n,Fne,vd=b(()=>{Qy=require("obsidian");yl();Hp();$n="FINISHTOSTART",Fne=["FINISHTOSTART","FINISHTOFINISH","STARTTOSTART","STARTTOFINISH"]});var bd,FS=b(()=>{vd();Ke();bd=class{constructor(t){this.mapping=t}toUserField(t){return this.mapping[t]}normalizeTitle(t){if(typeof t=="string")return t;if(Array.isArray(t))return t.map(e=>String(e)).join(", ");if(t!=null)return typeof t=="object"?"":String(t)}mapFromFrontmatter(t,e,r){var i;if(!t)return{};let a={path:e};if(t[this.mapping.title]!==void 0){let s=t[this.mapping.title],o=this.normalizeTitle(s);o!==void 0&&(a.title=o)}else if(r){let s=(i=e.split("/").pop())==null?void 0:i.replace(".md","");s&&(a.title=s)}if(t[this.mapping.status]!==void 0){let s=t[this.mapping.status];typeof s=="boolean"?a.status=s?"true":"false":a.status=s}if(t[this.mapping.priority]!==void 0&&(a.priority=t[this.mapping.priority]),t[this.mapping.due]!==void 0&&(a.due=t[this.mapping.due]),t[this.mapping.scheduled]!==void 0&&(a.scheduled=t[this.mapping.scheduled]),t[this.mapping.contexts]!==void 0){let s=t[this.mapping.contexts];a.contexts=Array.isArray(s)?s:[s]}if(t[this.mapping.projects]!==void 0){let s=t[this.mapping.projects];a.projects=Array.isArray(s)?s:[s]}if(t[this.mapping.timeEstimate]!==void 0&&(a.timeEstimate=t[this.mapping.timeEstimate]),t[this.mapping.completedDate]!==void 0&&(a.completedDate=t[this.mapping.completedDate]),t[this.mapping.recurrence]!==void 0&&(a.recurrence=t[this.mapping.recurrence]),t[this.mapping.recurrenceAnchor]!==void 0){let s=t[this.mapping.recurrenceAnchor];s==="scheduled"||s==="completion"?a.recurrence_anchor=s:(console.warn(`Invalid recurrence_anchor value: ${s}, defaulting to 'scheduled'`),a.recurrence_anchor="scheduled")}if(t[this.mapping.dateCreated]!==void 0&&(a.dateCreated=t[this.mapping.dateCreated]),t[this.mapping.dateModified]!==void 0&&(a.dateModified=t[this.mapping.dateModified]),t[this.mapping.timeEntries]!==void 0){let s=t[this.mapping.timeEntries];a.timeEntries=Array.isArray(s)?s:[]}if(t[this.mapping.completeInstances]!==void 0&&(a.complete_instances=Sy(t[this.mapping.completeInstances])),t[this.mapping.skippedInstances]!==void 0&&(a.skipped_instances=Sy(t[this.mapping.skippedInstances])),this.mapping.blockedBy&&t[this.mapping.blockedBy]!==void 0){let s=Zy(t[this.mapping.blockedBy]);s&&(a.blockedBy=s)}if(t[this.mapping.icsEventId]!==void 0){let s=t[this.mapping.icsEventId];a.icsEventId=Array.isArray(s)?s:[s]}if(t[this.mapping.reminders]!==void 0){let s=t[this.mapping.reminders];if(Array.isArray(s)){let o=s.filter(l=>l!=null);o.length>0&&(a.reminders=o)}else s!=null&&(a.reminders=[s])}return t.tags&&Array.isArray(t.tags)&&(a.tags=t.tags,a.archived=t.tags.includes(this.mapping.archiveTag)),a}mapToFrontmatter(t,e,r){let a={};if(t.title!==void 0&&(a[this.mapping.title]=t.title),r&&delete a[this.mapping.title],t.status!==void 0){let s=t.status.toLowerCase(),o=s==="true"||s==="false"?s==="true":t.status;a[this.mapping.status]=o}if(t.priority!==void 0&&(a[this.mapping.priority]=t.priority),t.due!==void 0&&(a[this.mapping.due]=t.due),t.scheduled!==void 0&&(a[this.mapping.scheduled]=t.scheduled),t.contexts!==void 0&&(!Array.isArray(t.contexts)||t.contexts.length>0)&&(a[this.mapping.contexts]=t.contexts),t.projects!==void 0&&(!Array.isArray(t.projects)||t.projects.length>0)&&(a[this.mapping.projects]=t.projects),t.timeEstimate!==void 0&&(a[this.mapping.timeEstimate]=t.timeEstimate),t.completedDate!==void 0&&(a[this.mapping.completedDate]=t.completedDate),t.recurrence!==void 0&&(a[this.mapping.recurrence]=t.recurrence),t.recurrence_anchor!==void 0&&(a[this.mapping.recurrenceAnchor]=t.recurrence_anchor),t.dateCreated!==void 0&&(a[this.mapping.dateCreated]=t.dateCreated),t.dateModified!==void 0&&(a[this.mapping.dateModified]=t.dateModified),t.timeEntries!==void 0&&(a[this.mapping.timeEntries]=t.timeEntries),t.complete_instances!==void 0&&(a[this.mapping.completeInstances]=t.complete_instances),t.skipped_instances!==void 0&&t.skipped_instances.length>0&&(a[this.mapping.skippedInstances]=t.skipped_instances),t.blockedBy!==void 0)if(Array.isArray(t.blockedBy)){let s=t.blockedBy.map(o=>lo(o)).filter(o=>!!o);s.length>0&&(a[this.mapping.blockedBy]=Qz(s))}else a[this.mapping.blockedBy]=t.blockedBy;t.icsEventId!==void 0&&t.icsEventId.length>0&&(a[this.mapping.icsEventId]=t.icsEventId),t.reminders!==void 0&&t.reminders.length>0&&(a[this.mapping.reminders]=t.reminders);let i=t.tags?[...t.tags]:[];return e&&!i.includes(e)&&i.push(e),t.archived===!0&&!i.includes(this.mapping.archiveTag)?i.push(this.mapping.archiveTag):t.archived===!1&&(i=i.filter(s=>s!==this.mapping.archiveTag)),i.length>0&&(a.tags=i),a}updateMapping(t){this.mapping=t}getMapping(){return{...this.mapping}}lookupMappingKey(t){for(let[e,r]of Object.entries(this.mapping))if(r===t)return e;return null}isRecognizedProperty(t){return this.lookupMappingKey(t)!==null}isPropertyForField(t,e){return this.mapping[e]===t}toUserFields(t){return t.map(e=>this.mapping[e])}fromUserField(t){return this.lookupMappingKey(t)}static validateMapping(t){let e=[],r=Object.keys(t);for(let s of r)(!t[s]||t[s].trim()==="")&&e.push(`Field "${s}" cannot be empty`);let a=Object.values(t),i=new Set(a);return a.length!==i.size&&e.push("Field mappings must have unique property names"),{valid:e.length===0,errors:e}}}});var tU={};Be(tU,{addDTSTARTToRecurrenceRule:()=>Td,addDTSTARTToRecurrenceRuleWithDraggedTime:()=>HS,calculateDefaultDate:()=>ba,calculateDuration:()=>Zz,calculateTotalTimeSpent:()=>$r,ensureFolderExists:()=>Al,extractNoteInfo:()=>qne,extractTaskInfo:()=>OS,extractTimeblocksFromNote:()=>eU,filterEmptyProjects:()=>ms,formatTime:()=>zp,generateRecurringInstances:()=>_l,generateTimeblockId:()=>LS,getActiveTimeEntry:()=>Xy,getEffectiveTaskStatus:()=>co,getNextUncompletedOccurrence:()=>Jz,getRecurrenceDisplayText:()=>Wp,getRecurringTaskCompletionText:()=>Hne,isDueByRRule:()=>Il,isSameDay:()=>ev,parseTime:()=>Bne,sanitizeTags:()=>Qa,shouldShowRecurringTaskOnDate:()=>jne,shouldUseRecurringTaskUI:()=>zne,splitFrontmatterAndBody:()=>Up,timeblockToCalendarEvent:()=>Vne,updateDTSTARTInRecurrenceRule:()=>jS,updateTimeblockInDailyNote:()=>tv,updateToNextScheduledOccurrence:()=>Nl,validateTimeBlock:()=>Xz});function Jy(n){if(!n.startsWith("---"))return{};let t=n.indexOf("---",3);if(t===-1)return{};let e=n.substring(3,t);try{return(0,Ml.parseYaml)(e)||{}}catch(r){return console.error("Error parsing frontmatter:",r),{}}}async function Al(n,t){try{let r=(0,Ml.normalizePath)(t).split("/").filter(i=>i.length>0),a="";for(let i of r)a=a?`${a}/${i}`:i,n.getAbstractFileByPath(a)||await n.createFolder(a)}catch(e){let r=e instanceof Error?e.message:String(e),a=e instanceof Error?e.stack:void 0;console.error("Error creating folder structure:",{error:r,stack:a,folderPath:t,normalizedPath:(0,Ml.normalizePath)(t)});let i=new Error(`Failed to create folder "${t}": ${r}`);throw a&&(i.stack=a),i}}function Zz(n,t){try{let e=new Date(n),r=new Date(t);if(isNaN(e.getTime())||isNaN(r.getTime()))return console.error("Invalid timestamps for duration calculation:",{startTime:n,endTime:t}),0;if(r<=e)return console.error("End time is not after start time:",{startTime:n,endTime:t}),0;let a=r.getTime()-e.getTime(),i=Math.round(a/(1e3*60));return Math.max(0,i)}catch(e){return console.error("Error calculating duration:",e,{startTime:n,endTime:t}),0}}function $r(n){return!n||!Array.isArray(n)?0:n.reduce((t,e)=>{if(!e.startTime||!e.endTime)return t;let r=Zz(e.startTime,e.endTime);return t+r},0)}function Xy(n){return!n||!Array.isArray(n)?null:n.find(t=>t.startTime&&!t.endTime)||null}function zp(n){if(!n||n===0||isNaN(n))return"0m";let t=Math.floor(n/60),e=n%60;return t===0?`${e}m`:e===0?`${t}h`:`${t}h ${e}m`}function Bne(n){try{let t=n.match(/^(\d{1,2}):(\d{2})$/);if(t){let e=parseInt(t[1],10),r=parseInt(t[2],10);if(e>=0&&e<=23&&r>=0&&r<=59)return{hours:e,minutes:r}}return null}catch(t){return console.error("Error parsing time string:",t),null}}function ba(n){if(n==="none")return"";let t=new Date,e;switch(n){case"today":e=t;break;case"tomorrow":e=new Date(t),e.setDate(t.getDate()+1);break;case"next-week":e=new Date(t),e.setDate(t.getDate()+7);break;default:return""}return M(e,"yyyy-MM-dd")}function ev(n,t){return n.getUTCFullYear()===t.getUTCFullYear()&&n.getUTCMonth()===t.getUTCMonth()&&n.getUTCDate()===t.getUTCDate()}function OS(n,t,e,r,a,i){var c;let s=n.metadataCache.getFileCache(r),o=s==null?void 0:s.frontmatter;if(o)if(a){let d=a.mapFromFrontmatter(o,e,i);return{title:d.title||"Untitled task",status:d.status||"open",priority:d.priority||"normal",due:d.due,scheduled:d.scheduled,path:e,archived:d.archived||!1,tags:d.tags||[],contexts:d.contexts||[],projects:d.projects||[],recurrence:d.recurrence,complete_instances:d.complete_instances,completedDate:d.completedDate,timeEstimate:d.timeEstimate,timeEntries:d.timeEntries,dateCreated:d.dateCreated,dateModified:d.dateModified,reminders:d.reminders}}else{let u=new bd(uy).mapFromFrontmatter(o,e,i);return{title:u.title||"Untitled task",status:u.status||"open",priority:u.priority||"normal",due:u.due,scheduled:u.scheduled,path:e,archived:u.archived||!1,tags:u.tags||[],contexts:u.contexts||[],projects:u.projects||[],recurrence:u.recurrence,complete_instances:u.complete_instances,completedDate:u.completedDate,timeEstimate:u.timeEstimate,timeEntries:u.timeEntries,dateCreated:u.dateCreated,dateModified:u.dateModified,reminders:u.reminders}}return{title:((c=e.split("/").pop())==null?void 0:c.replace(".md",""))||"Untitled",status:"open",priority:"normal",path:e,archived:!1,reminders:[]}}function Up(n){if(n.startsWith("---")){let t=n.match(/^---\s*\r?\n([\s\S]*?)\r?\n---\s*\r?\n?([\s\S]*)$/);if(t)return{frontmatter:t[1],body:t[2]||""}}return{frontmatter:null,body:n}}function Il(n,t){if(!n.recurrence)return!0;if(typeof n.recurrence=="string")try{let e,r=n.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(r){let c=r[1];if(c.length===8){let d=parseInt(c.slice(0,4)),u=parseInt(c.slice(4,6))-1,p=parseInt(c.slice(6,8));e=new Date(Date.UTC(d,u,p,0,0,0,0))}else{let d=parseInt(c.slice(0,4)),u=parseInt(c.slice(4,6))-1,p=parseInt(c.slice(6,8)),m=parseInt(c.slice(9,11))||0,h=parseInt(c.slice(11,13))||0,f=parseInt(c.slice(13,15))||0;e=new Date(Date.UTC(d,u,p,m,h,f,0))}}else if(n.scheduled)e=Tn(n.scheduled);else if(n.dateCreated)e=Tn(n.dateCreated);else return!1;let a=n.recurrence.replace(/DTSTART:[^;]+;?/,""),i=ce.parseString(a);i.dtstart=e;let s=new ce(i),o=Tn(Xw(t));return s.between(o,new Date(o.getTime()+1440*60*1e3-1),!0).length>0}catch(e){return console.error("Error evaluating rrule:",e,{task:n.title,recurrence:n.recurrence}),!0}return!0}function co(n,t){if(!n.recurrence)return n.status||"open";let e=le(t);return(Array.isArray(n.complete_instances)?n.complete_instances:[]).includes(e)?"done":"open"}function jne(n,t){return n.recurrence?Il(n,t):!0}function Hne(n,t){var a;if(!n.recurrence)return"";let e=le(t);return((a=n.complete_instances)==null?void 0:a.includes(e))||!1?"Completed for this date":"Not completed for this date"}function zne(n){return!!n.recurrence}function _l(n,t,e){if(!n.recurrence)return[];if(typeof n.recurrence=="string")try{let i,s=n.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(s){let p=s[1];if(p.length===8){let m=parseInt(p.slice(0,4)),h=parseInt(p.slice(4,6))-1,f=parseInt(p.slice(6,8));i=new Date(Date.UTC(m,h,f,0,0,0,0))}else{let m=parseInt(p.slice(0,4)),h=parseInt(p.slice(4,6))-1,f=parseInt(p.slice(6,8)),g=parseInt(p.slice(9,11))||0,v=parseInt(p.slice(11,13))||0,T=parseInt(p.slice(13,15))||0;i=new Date(Date.UTC(m,h,f,g,v,T,0))}}else if(n.scheduled)i=Tn(n.scheduled);else if(n.dateCreated)i=Tn(n.dateCreated);else return[];let o=n.recurrence.replace(/DTSTART:[^;]+;?/,""),l=ce.parseString(o);l.dtstart=i;let c=new ce(l),d=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)),u=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999));return c.between(d,u,!0)}catch(i){console.error("Error generating recurring instances:",i,{task:n.title,recurrence:n.recurrence})}let r=[],a=new Date(t);for(;a<=e;)Il(n,a)&&r.push(new Date(a)),a.setUTCDate(a.getUTCDate()+1);return r}function Jz(n){return n.recurrence?(n.recurrence_anchor||"scheduled")==="completion"?Wne(n):Une(n):null}function Une(n){if(!n.recurrence)return null;try{let t=Vt(),e=je(t),r=365;n.recurrence.includes("FREQ=DAILY")?r=30:n.recurrence.includes("FREQ=WEEKLY")?r=90:n.recurrence.includes("FREQ=MONTHLY")?r=400:n.recurrence.includes("FREQ=YEARLY")&&(r=800);let a=e;if(n.recurrence.includes("DTSTART:")){let l=n.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(l){let c=l[1];if(c.length===8){let d=parseInt(c.slice(0,4)),u=parseInt(c.slice(4,6))-1,p=parseInt(c.slice(6,8)),m=new Date(Date.UTC(d,u,p,0,0,0,0));a=m<e?m:e}}}let i=new Date(e.getTime()+r*24*60*60*1e3),s=_l(n,a,i),o=new Set([...n.complete_instances||[],...n.skipped_instances||[]]);for(let l of s){let c=le(l);if(!o.has(c)&&l>=e)return l}return null}catch(t){return console.error("Error calculating next scheduled-based occurrence:",t,{task:n.title}),null}}function Wne(n){if(!n.recurrence||typeof n.recurrence!="string")return null;try{let t=Vt(),e=je(t),r=365;n.recurrence.includes("FREQ=DAILY")?r=30:n.recurrence.includes("FREQ=WEEKLY")?r=90:n.recurrence.includes("FREQ=MONTHLY")?r=400:n.recurrence.includes("FREQ=YEARLY")&&(r=800);let a=null;if(n.recurrence.includes("DTSTART:")){let d=n.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(d){let u=d[1];if(u.length===8){let p=parseInt(u.slice(0,4)),m=parseInt(u.slice(4,6))-1,h=parseInt(u.slice(6,8));a=new Date(Date.UTC(p,m,h,0,0,0,0))}}}let i=a||e,s=new Date(i.getTime()+r*24*60*60*1e3),o=_l(n,i,s),l=new Set(n.skipped_instances||[]),c=a?a.getTime():0;for(let d of o){let u=le(d);if(d.getTime()>c&&d>=e&&!l.has(u))return d}return null}catch(t){return console.error("Error calculating completion-based recurrence:",t,{task:n.title}),null}}function Nl(n,t=!0){let e=Jz(n),r=null,a=null,i=null;if(e){if(t)try{let s=n.scheduled?je(n.scheduled):null,o=n.due?je(n.due):null;if(s&&o){let l=o.getTime()-s.getTime();e&&(i=new Date(e.getTime()+l))}}catch(s){console.error("Error calculating next due date with offset:",s)}if(n.scheduled&&n.scheduled.includes("T")){let s=n.scheduled.split("T")[1];r=`${le(e)}T${s}`}else r=le(e);if(i&&n.due&&n.due.includes("T")){let s=n.due.split("T")[1];a=`${le(i)}T${s}`}else i&&(a=le(i))}return{scheduled:r,due:a}}function Wp(n){if(!n)return"";try{if(n.includes("FREQ=")){let t=n.replace(/DTSTART:[^;]+;?/,"");return ce.fromString(t).toText()}return"rrule"}catch(t){return console.error("Error converting recurrence to display text:",t,{recurrence:n}),"rrule"}}function qne(n,t,e,r,a){var c;let i=((c=e.split("/").pop())==null?void 0:c.replace(".md",""))||"Untitled",s=[],o,l=r==null?void 0:r.stat.mtime;if(r){let d=n.metadataCache.getFileCache(r),u=d==null?void 0:d.frontmatter;if(u)if(u.title&&(i=u.title),u.tags&&Array.isArray(u.tags)&&(s=u.tags),a){let p=a.toUserField("dateCreated");u[p]&&(o=u[p])}else u.dateCreated?o=u.dateCreated:u.created&&(o=u.created)}if(i==="Untitled"){let d=t.match(/^#\s+(.+)$/m);d&&d[1]&&(i=d[1].trim())}if(!o&&r&&(o=M(new Date(r.stat.ctime),"yyyy-MM-dd'T'HH:mm:ss")),o&&!o.match(/^\d{4}-\d{2}-\d{2}$/))try{let d=$t(o);isNaN(d.getTime())||(o=M(d,"yyyy-MM-dd"))}catch(d){console.error(`Error parsing date ${o}:`,d)}return{title:i,tags:s,path:e,createdDate:o,lastModified:l}}function Xz(n){if(!n||typeof n!="object"||!n.id||typeof n.id!="string"||!n.title||typeof n.title!="string"||!n.startTime||typeof n.startTime!="string"||!n.endTime||typeof n.endTime!="string")return!1;let t=/^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$/;if(!t.test(n.startTime)||!t.test(n.endTime))return!1;let[e,r]=n.startTime.split(":").map(Number),[a,i]=n.endTime.split(":").map(Number),s=e*60+r;if(a*60+i<=s||n.attachments&&!Array.isArray(n.attachments))return!1;if(n.attachments){for(let l of n.attachments)if(typeof l!="string"||!l.trim())return!1}return!(n.color&&typeof n.color!="string"||n.description&&typeof n.description!="string")}function eU(n,t){try{let e=Jy(n);if(!e||!e.timeblocks||!Array.isArray(e.timeblocks))return[];let r=[];for(let a of e.timeblocks)Xz(a)?r.push(a):console.warn(`Invalid timeblock in ${t}:`,a);return r}catch(e){return console.error(`Error extracting timeblocks from ${t}:`,e),[]}}function Vne(n,t){let e=`${t}T${n.startTime}:00`,r=`${t}T${n.endTime}:00`;return{id:`timeblock-${n.id}`,title:n.title,start:e,end:r,allDay:!1,backgroundColor:n.color||"#6366f1",borderColor:n.color||"#4f46e5",editable:!0,eventType:"timeblock",extendedProps:{type:"timeblock",eventType:"timeblock",timeblock:n,originalDate:t,description:n.description,attachments:n.attachments||[]}}}function LS(){return`tb-${Date.now()}-${Math.random().toString(36).substring(2,11)}`}async function tv(n,t,e,r,a,i){let{getDailyNote:s,getAllDailyNotes:o,appHasDailyNotesPluginLoaded:l}=await Promise.resolve().then(()=>Ie(Xi()));if(!l())throw new Error("Daily Notes plugin is not enabled");let c=o(),d=window.moment(e),u=s(d,c);if(!u)throw new Error(`Daily note for ${e} not found`);let p=await n.vault.read(u),m=eU(p,u.path),h=m.findIndex(v=>v.id===t);if(h===-1)throw new Error(`Timeblock ${t} not found`);let f=m[h];if(e===r){await $ne(n,u,t,a,i);return}await Yne(n,u,t);let g={...f,startTime:a,endTime:i};await Gne(n,r,g)}async function $ne(n,t,e,r,a){let i=await n.vault.read(t),s=Jy(i)||{};if(!s.timeblocks||!Array.isArray(s.timeblocks))throw new Error("No timeblocks found in frontmatter");let o=s.timeblocks.findIndex(l=>l.id===e);if(o===-1)throw new Error(`Timeblock ${e} not found`);s.timeblocks[o].startTime=r,s.timeblocks[o].endTime=a,await BS(n,t,s,i)}async function Yne(n,t,e){let r=await n.vault.read(t),a=Jy(r)||{};!a.timeblocks||!Array.isArray(a.timeblocks)||(a.timeblocks=a.timeblocks.filter(i=>i.id!==e),await BS(n,t,a,r))}async function Gne(n,t,e){let{createDailyNote:r,getDailyNote:a,getAllDailyNotes:i}=await Promise.resolve().then(()=>Ie(Xi())),s=window.moment(t),o=i(),l=a(s,o);if(!l){try{l=await r(s)}catch(u){let p=u instanceof Error?u.message:String(u);throw new Error(`Failed to create daily note: ${p}. Please check your Daily Notes plugin configuration and ensure the daily notes folder exists.`)}if(!l)throw new Error("Failed to create daily note. Please check your Daily Notes plugin configuration and ensure the daily notes folder exists.")}let c=await n.vault.read(l),d=Jy(c)||{};d.timeblocks||(d.timeblocks=[]),d.timeblocks.push(e),await BS(n,l,d,c)}async function BS(n,t,e,r){let a=r;if(r.startsWith("---")){let o=r.indexOf("---",3);o!==-1&&(a=r.substring(o+3))}let s=`---
|
||
${(0,Ml.stringifyYaml)(e)}---${a}`;await n.vault.modify(t,s)}function ms(n){return!n||!Array.isArray(n)?[]:n.filter(t=>{if(typeof t!="string")return!1;let e=t.trim();return!(e.length===0||e==='""'||e==="''")})}function Td(n){if(!n.recurrence||typeof n.recurrence!="string")return null;if(n.recurrence.includes("DTSTART:"))return n.recurrence;let t;if(n.scheduled)t=n.scheduled;else if(n.dateCreated)t=n.dateCreated;else return null;try{let e;if(Ft(t)){let r=$t(t),a=r.getFullYear(),i=String(r.getMonth()+1).padStart(2,"0"),s=String(r.getDate()).padStart(2,"0"),o=String(r.getHours()).padStart(2,"0"),l=String(r.getMinutes()).padStart(2,"0"),c=String(r.getSeconds()).padStart(2,"0");e=`${a}${i}${s}T${o}${l}${c}Z`}else{let r=je(t),a=r.getUTCFullYear(),i=String(r.getUTCMonth()+1).padStart(2,"0"),s=String(r.getUTCDate()).padStart(2,"0");e=`${a}${i}${s}`}return`DTSTART:${e};${n.recurrence}`}catch(e){return console.error("Error parsing date for DTSTART:",e,{sourceDateString:t}),null}}function jS(n,t){if(!n||typeof n!="string")return null;try{let e;if(Ft(t)){let r=$t(t),a=r.getFullYear(),i=String(r.getMonth()+1).padStart(2,"0"),s=String(r.getDate()).padStart(2,"0"),o=String(r.getHours()).padStart(2,"0"),l=String(r.getMinutes()).padStart(2,"0"),c=String(r.getSeconds()).padStart(2,"0");e=`${a}${i}${s}T${o}${l}${c}Z`}else{let r=je(t),a=r.getUTCFullYear(),i=String(r.getUTCMonth()+1).padStart(2,"0"),s=String(r.getUTCDate()).padStart(2,"0");e=`${a}${i}${s}`}return n.includes("DTSTART:")?n.replace(/DTSTART:[^;]+;?/,`DTSTART:${e};`):`DTSTART:${e};${n}`}catch(e){return console.error("Error updating DTSTART in recurrence rule:",e,{dateStr:t}),null}}function HS(n,t,e){if(!n.recurrence||typeof n.recurrence!="string")return null;if(n.recurrence.includes("DTSTART:"))return n.recurrence;let r;if(n.scheduled)r=n.scheduled;else if(n.dateCreated)r=n.dateCreated;else return null;try{let a;if(e){let i=je(r),s=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),l=String(i.getUTCDate()).padStart(2,"0");a=`${s}${o}${l}`}else{let i=je(r),s=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),l=String(i.getUTCDate()).padStart(2,"0"),c=String(t.getHours()).padStart(2,"0"),d=String(t.getMinutes()).padStart(2,"0");a=`${s}${o}${l}T${c}${d}00Z`}return`DTSTART:${a};${n.recurrence}`}catch(a){return console.error("Error parsing date for DTSTART with dragged time:",a,{sourceDateString:r,draggedStart:t,allDay:e}),null}}function Qa(n){return!n||typeof n!="string"?"":n.split(",").map(t=>{let e=t.trim();return e.startsWith("#")?e.slice(1):e}).filter(t=>t.length>0).join(", ")}var Ml,Dr=b(()=>{Ml=require("obsidian");rr();_S();FS();to();Ke()});var rU=D((zS,US)=>{(function(n,t){typeof zS=="object"&&typeof US!="undefined"?US.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self).dayjs_plugin_quarterOfYear=t()})(zS,(function(){"use strict";var n="month",t="quarter";return function(e,r){var a=r.prototype;a.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var i=a.add;a.add=function(o,l){return o=Number(o),this.$utils().p(l)===t?this.add(3*o,n):i.bind(this)(o,l)};var s=a.startOf;a.startOf=function(o,l){var c=this.$utils(),d=!!c.u(l)||l;if(c.p(o)===t){var u=this.quarter()-1;return d?this.month(3*u).startOf(n).startOf("day"):this.month(3*u+2).endOf(n).endOf("day")}return s.bind(this)(o,l)}}}))});var nt=D((WS,qS)=>{(function(n,t){typeof WS=="object"&&typeof qS!="undefined"?qS.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self).dayjs=t()})(WS,(function(){"use strict";var n=1e3,t=6e4,e=36e5,r="millisecond",a="second",i="minute",s="hour",o="day",l="week",c="month",d="quarter",u="year",p="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var P=["th","st","nd","rd"],_=N%100;return"["+N+(P[(_-20)%10]||P[_]||P[0])+"]"}},v=function(N,P,_){var Y=String(N);return!Y||Y.length>=P?N:""+Array(P+1-Y.length).join(_)+N},T={s:v,z:function(N){var P=-N.utcOffset(),_=Math.abs(P),Y=Math.floor(_/60),Q=_%60;return(P<=0?"+":"-")+v(Y,2,"0")+":"+v(Q,2,"0")},m:function N(P,_){if(P.date()<_.date())return-N(_,P);var Y=12*(_.year()-P.year())+(_.month()-P.month()),Q=P.clone().add(Y,c),W=_-Q<0,H=P.clone().add(Y+(W?-1:1),c);return+(-(Y+(_-Q)/(W?Q-H:H-Q))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:c,y:u,w:l,d:o,D:p,h:s,m:i,s:a,ms:r,Q:d}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},k="en",w={};w[k]=g;var S="$isDayjsObject",x=function(N){return N instanceof z||!(!N||!N[S])},I=function N(P,_,Y){var Q;if(!P)return k;if(typeof P=="string"){var W=P.toLowerCase();w[W]&&(Q=W),_&&(w[W]=_,Q=W);var H=P.split("-");if(!Q&&H.length>1)return N(H[0])}else{var K=P.name;w[K]=P,Q=K}return!Y&&Q&&(k=Q),Q||!Y&&k},A=function(N,P){if(x(N))return N.clone();var _=typeof P=="object"?P:{};return _.date=N,_.args=arguments,new z(_)},B=T;B.l=I,B.i=x,B.w=function(N,P){return A(N,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var z=(function(){function N(_){this.$L=I(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[S]=!0}var P=N.prototype;return P.parse=function(_){this.$d=(function(Y){var Q=Y.date,W=Y.utc;if(Q===null)return new Date(NaN);if(B.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var H=Q.match(h);if(H){var K=H[2]-1||0,ae=(H[7]||"0").substring(0,3);return W?new Date(Date.UTC(H[1],K,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ae)):new Date(H[1],K,H[3]||1,H[4]||0,H[5]||0,H[6]||0,ae)}}return new Date(Q)})(_),this.init()},P.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},P.$utils=function(){return B},P.isValid=function(){return this.$d.toString()!==m},P.isSame=function(_,Y){var Q=A(_);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},P.isAfter=function(_,Y){return A(_)<this.startOf(Y)},P.isBefore=function(_,Y){return this.endOf(Y)<A(_)},P.$g=function(_,Y,Q){return B.u(_)?this[Y]:this.set(Q,_)},P.unix=function(){return Math.floor(this.valueOf()/1e3)},P.valueOf=function(){return this.$d.getTime()},P.startOf=function(_,Y){var Q=this,W=!!B.u(Y)||Y,H=B.p(_),K=function(V,J){var he=B.w(Q.$u?Date.UTC(Q.$y,J,V):new Date(Q.$y,J,V),Q);return W?he:he.endOf(o)},ae=function(V,J){return B.w(Q.toDate()[V].apply(Q.toDate("s"),(W?[0,0,0,0]:[23,59,59,999]).slice(J)),Q)},ye=this.$W,Z=this.$M,Je=this.$D,Rt="set"+(this.$u?"UTC":"");switch(H){case u:return W?K(1,0):K(31,11);case c:return W?K(1,Z):K(0,Z+1);case l:var Ye=this.$locale().weekStart||0,De=(ye<Ye?ye+7:ye)-Ye;return K(W?Je-De:Je+(6-De),Z);case o:case p:return ae(Rt+"Hours",0);case s:return ae(Rt+"Minutes",1);case i:return ae(Rt+"Seconds",2);case a:return ae(Rt+"Milliseconds",3);default:return this.clone()}},P.endOf=function(_){return this.startOf(_,!1)},P.$set=function(_,Y){var Q,W=B.p(_),H="set"+(this.$u?"UTC":""),K=(Q={},Q[o]=H+"Date",Q[p]=H+"Date",Q[c]=H+"Month",Q[u]=H+"FullYear",Q[s]=H+"Hours",Q[i]=H+"Minutes",Q[a]=H+"Seconds",Q[r]=H+"Milliseconds",Q)[W],ae=W===o?this.$D+(Y-this.$W):Y;if(W===c||W===u){var ye=this.clone().set(p,1);ye.$d[K](ae),ye.init(),this.$d=ye.set(p,Math.min(this.$D,ye.daysInMonth())).$d}else K&&this.$d[K](ae);return this.init(),this},P.set=function(_,Y){return this.clone().$set(_,Y)},P.get=function(_){return this[B.p(_)]()},P.add=function(_,Y){var Q,W=this;_=Number(_);var H=B.p(Y),K=function(Z){var Je=A(W);return B.w(Je.date(Je.date()+Math.round(Z*_)),W)};if(H===c)return this.set(c,this.$M+_);if(H===u)return this.set(u,this.$y+_);if(H===o)return K(1);if(H===l)return K(7);var ae=(Q={},Q[i]=t,Q[s]=e,Q[a]=n,Q)[H]||1,ye=this.$d.getTime()+_*ae;return B.w(ye,this)},P.subtract=function(_,Y){return this.add(-1*_,Y)},P.format=function(_){var Y=this,Q=this.$locale();if(!this.isValid())return Q.invalidDate||m;var W=_||"YYYY-MM-DDTHH:mm:ssZ",H=B.z(this),K=this.$H,ae=this.$m,ye=this.$M,Z=Q.weekdays,Je=Q.months,Rt=Q.meridiem,Ye=function(J,he,ge,it){return J&&(J[he]||J(Y,W))||ge[he].slice(0,it)},De=function(J){return B.s(K%12||12,J,"0")},V=Rt||function(J,he,ge){var it=J<12?"AM":"PM";return ge?it.toLowerCase():it};return W.replace(f,(function(J,he){return he||(function(ge){switch(ge){case"YY":return String(Y.$y).slice(-2);case"YYYY":return B.s(Y.$y,4,"0");case"M":return ye+1;case"MM":return B.s(ye+1,2,"0");case"MMM":return Ye(Q.monthsShort,ye,Je,3);case"MMMM":return Ye(Je,ye);case"D":return Y.$D;case"DD":return B.s(Y.$D,2,"0");case"d":return String(Y.$W);case"dd":return Ye(Q.weekdaysMin,Y.$W,Z,2);case"ddd":return Ye(Q.weekdaysShort,Y.$W,Z,3);case"dddd":return Z[Y.$W];case"H":return String(K);case"HH":return B.s(K,2,"0");case"h":return De(1);case"hh":return De(2);case"a":return V(K,ae,!0);case"A":return V(K,ae,!1);case"m":return String(ae);case"mm":return B.s(ae,2,"0");case"s":return String(Y.$s);case"ss":return B.s(Y.$s,2,"0");case"SSS":return B.s(Y.$ms,3,"0");case"Z":return H}return null})(J)||H.replace(":","")}))},P.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},P.diff=function(_,Y,Q){var W,H=this,K=B.p(Y),ae=A(_),ye=(ae.utcOffset()-this.utcOffset())*t,Z=this-ae,Je=function(){return B.m(H,ae)};switch(K){case u:W=Je()/12;break;case c:W=Je();break;case d:W=Je()/3;break;case l:W=(Z-ye)/6048e5;break;case o:W=(Z-ye)/864e5;break;case s:W=Z/e;break;case i:W=Z/t;break;case a:W=Z/n;break;default:W=Z}return Q?W:B.a(W)},P.daysInMonth=function(){return this.endOf(c).$D},P.$locale=function(){return w[this.$L]},P.locale=function(_,Y){if(!_)return this.$L;var Q=this.clone(),W=I(_,Y,!0);return W&&(Q.$L=W),Q},P.clone=function(){return B.w(this.$d,this)},P.toDate=function(){return new Date(this.valueOf())},P.toJSON=function(){return this.isValid()?this.toISOString():null},P.toISOString=function(){return this.$d.toISOString()},P.toString=function(){return this.$d.toUTCString()},N})(),U=z.prototype;return A.prototype=U,[["$ms",r],["$s",a],["$m",i],["$H",s],["$W",o],["$M",c],["$y",u],["$D",p]].forEach((function(N){U[N[1]]=function(P){return this.$g(P,N[0],N[1])}})),A.extend=function(N,P){return N.$i||(N(P,z,A),N.$i=!0),A},A.locale=I,A.isDayjs=x,A.unix=function(N){return A(1e3*N)},A.en=w[k],A.Ls=w,A.p={},A}))});var O,we,Gn,Ze=b(()=>{(function(n){n[n.AM=0]="AM",n[n.PM=1]="PM"})(O||(O={}));(function(n){n[n.SUNDAY=0]="SUNDAY",n[n.MONDAY=1]="MONDAY",n[n.TUESDAY=2]="TUESDAY",n[n.WEDNESDAY=3]="WEDNESDAY",n[n.THURSDAY=4]="THURSDAY",n[n.FRIDAY=5]="FRIDAY",n[n.SATURDAY=6]="SATURDAY"})(we||(we={}));(function(n){n[n.JANUARY=1]="JANUARY",n[n.FEBRUARY=2]="FEBRUARY",n[n.MARCH=3]="MARCH",n[n.APRIL=4]="APRIL",n[n.MAY=5]="MAY",n[n.JUNE=6]="JUNE",n[n.JULY=7]="JULY",n[n.AUGUST=8]="AUGUST",n[n.SEPTEMBER=9]="SEPTEMBER",n[n.OCTOBER=10]="OCTOBER",n[n.NOVEMBER=11]="NOVEMBER",n[n.DECEMBER=12]="DECEMBER"})(Gn||(Gn={}))});function nU(n,t){n.assign("day",t.getDate()),n.assign("month",t.getMonth()+1),n.assign("year",t.getFullYear())}function aU(n,t){n.assign("hour",t.getHours()),n.assign("minute",t.getMinutes()),n.assign("second",t.getSeconds()),n.assign("millisecond",t.getMilliseconds()),n.assign("meridiem",t.getHours()<12?O.AM:O.PM)}function rv(n,t){n.imply("day",t.getDate()),n.imply("month",t.getMonth()+1),n.imply("year",t.getFullYear())}function iU(n,t){n.imply("hour",t.getHours()),n.imply("minute",t.getMinutes()),n.imply("second",t.getSeconds()),n.imply("millisecond",t.getMilliseconds()),n.imply("meridiem",t.getHours()<12?O.AM:O.PM)}var VS=b(()=>{Ze()});function uo(n,t,e,r,a=0){let i=0,s=0;for(;s<r;)i++,new Date(n,t-1,i).getDay()===e&&s++;return new Date(n,t-1,i,a)}function sU(n,t,e,r=0){let a=e===0?7:e,i=new Date(n,t-1+1,1,12),s=i.getDay()===0?7:i.getDay(),o;return s===a?o=7:s<a?o=7+s-a:o=s-a,i.setDate(i.getDate()-o),new Date(n,t-1,i.getDate(),r)}function nv(n,t,e={}){var a;if(n==null)return null;if(typeof n=="number")return n;let r=(a=e[n])!=null?a:Qne[n];return r==null?null:typeof r=="number"?r:t==null?null:(0,$S.default)(t).isAfter(r.dstStart(t.getFullYear()))&&!(0,$S.default)(t).isAfter(r.dstEnd(t.getFullYear()))?r.timezoneOffsetDuringDst:r.timezoneOffsetNonDst}var $S,Qne,YS=b(()=>{$S=Ie(nt(),1);Ze();Qne={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:{timezoneOffsetDuringDst:120,timezoneOffsetNonDst:60,dstStart:n=>sU(n,Gn.MARCH,we.SUNDAY,2),dstEnd:n=>sU(n,Gn.OCTOBER,we.SUNDAY,3)},CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CT:{timezoneOffsetDuringDst:-300,timezoneOffsetNonDst:-360,dstStart:n=>uo(n,Gn.MARCH,we.SUNDAY,2,2),dstEnd:n=>uo(n,Gn.NOVEMBER,we.SUNDAY,1,2)},CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:{timezoneOffsetDuringDst:-240,timezoneOffsetNonDst:-300,dstStart:n=>uo(n,Gn.MARCH,we.SUNDAY,2,2),dstEnd:n=>uo(n,Gn.NOVEMBER,we.SUNDAY,1,2)},FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:180,MST:-420,MT:{timezoneOffsetDuringDst:-360,timezoneOffsetNonDst:-420,dstStart:n=>uo(n,Gn.MARCH,we.SUNDAY,2,2),dstEnd:n=>uo(n,Gn.NOVEMBER,we.SUNDAY,1,2)},MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:{timezoneOffsetDuringDst:-420,timezoneOffsetNonDst:-480,dstStart:n=>uo(n,Gn.MARCH,we.SUNDAY,2,2),dstEnd:n=>uo(n,Gn.NOVEMBER,we.SUNDAY,1,2)},PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360}});function oU(n,t){var r,a,i,s,o,l,c;let e=new Date(n);if(t.y&&(t.year=t.y,delete t.y),t.mo&&(t.month=t.mo,delete t.mo),t.M&&(t.month=t.M,delete t.M),t.w&&(t.week=t.w,delete t.w),t.d&&(t.day=t.d,delete t.d),t.h&&(t.hour=t.h,delete t.h),t.m&&(t.minute=t.m,delete t.m),t.s&&(t.second=t.s,delete t.s),t.ms&&(t.millisecond=t.ms,delete t.ms),"year"in t){let d=Math.floor(t.year);e.setFullYear(e.getFullYear()+d);let u=t.year-d;u>0&&(t.month=(r=t==null?void 0:t.month)!=null?r:0,t.month+=u*12)}if("quarter"in t){let d=Math.floor(t.quarter);e.setMonth(e.getMonth()+d*3)}if("month"in t){let d=Math.floor(t.month);e.setMonth(e.getMonth()+d);let u=t.month-d;u>0&&(t.week=(a=t==null?void 0:t.week)!=null?a:0,t.week+=u*4)}if("week"in t){let d=Math.floor(t.week);e.setDate(e.getDate()+d*7);let u=t.week-d;u>0&&(t.day=(i=t==null?void 0:t.day)!=null?i:0,t.day+=Math.round(u*7))}if("day"in t){let d=Math.floor(t.day);e.setDate(e.getDate()+d);let u=t.day-d;u>0&&(t.hour=(s=t==null?void 0:t.hour)!=null?s:0,t.hour+=Math.round(u*24))}if("hour"in t){let d=Math.floor(t.hour);e.setHours(e.getHours()+d);let u=t.hour-d;u>0&&(t.minute=(o=t==null?void 0:t.minute)!=null?o:0,t.minute+=Math.round(u*60))}if("minute"in t){let d=Math.floor(t.minute);e.setMinutes(e.getMinutes()+d);let u=t.minute-d;u>0&&(t.second=(l=t==null?void 0:t.second)!=null?l:0,t.second+=Math.round(u*60))}if("second"in t){let d=Math.floor(t.second);e.setSeconds(e.getSeconds()+d);let u=t.second-d;u>0&&(t.millisecond=(c=t==null?void 0:t.millisecond)!=null?c:0,t.millisecond+=Math.round(u*1e3))}if("millisecond"in t){let d=Math.floor(t.millisecond);e.setMilliseconds(e.getMilliseconds()+d)}return e}function kd(n){let t={};for(let e in n)t[e]=-n[e];return t}var qp=b(()=>{});var lU,GS,at,G,et,Ne=b(()=>{lU=Ie(rU(),1),GS=Ie(nt(),1);VS();YS();qp();GS.default.extend(lU.default);at=class n{constructor(t,e){C(this,"instant");C(this,"timezoneOffset");this.instant=t!=null?t:new Date,this.timezoneOffset=e!=null?e:null}static fromDate(t){return new n(t)}static fromInput(t,e){var i;if(t instanceof Date)return n.fromDate(t);let r=(i=t==null?void 0:t.instant)!=null?i:new Date,a=nv(t==null?void 0:t.timezone,r,e);return new n(r,a)}getDateWithAdjustedTimezone(){let t=new Date(this.instant);return this.timezoneOffset!==null&&t.setMinutes(t.getMinutes()-this.getSystemTimezoneAdjustmentMinute(this.instant)),t}getSystemTimezoneAdjustmentMinute(t,e){var i;(!t||t.getTime()<0)&&(t=new Date);let r=-t.getTimezoneOffset(),a=(i=e!=null?e:this.timezoneOffset)!=null?i:r;return r-a}getTimezoneOffset(){var t;return(t=this.timezoneOffset)!=null?t:-this.instant.getTimezoneOffset()}},G=class n{constructor(t,e){C(this,"knownValues");C(this,"impliedValues");C(this,"reference");C(this,"_tags",new Set);if(this.reference=t,this.knownValues={},this.impliedValues={},e)for(let a in e)this.knownValues[a]=e[a];let r=t.getDateWithAdjustedTimezone();this.imply("day",r.getDate()),this.imply("month",r.getMonth()+1),this.imply("year",r.getFullYear()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}get(t){return t in this.knownValues?this.knownValues[t]:t in this.impliedValues?this.impliedValues[t]:null}isCertain(t){return t in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(t,e){return t in this.knownValues?this:(this.impliedValues[t]=e,this)}assign(t,e){return this.knownValues[t]=e,delete this.impliedValues[t],this}delete(t){delete this.knownValues[t],delete this.impliedValues[t]}clone(){let t=new n(this.reference);t.knownValues={},t.impliedValues={};for(let e in this.knownValues)t.knownValues[e]=this.knownValues[e];for(let e in this.impliedValues)t.impliedValues[e]=this.impliedValues[e];return t}isOnlyDate(){return!this.isCertain("hour")&&!this.isCertain("minute")&&!this.isCertain("second")}isOnlyTime(){return!this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")&&!this.isCertain("year")}isOnlyWeekdayComponent(){return this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isDateWithUnknownYear(){return this.isCertain("month")&&!this.isCertain("year")}isValidDate(){let t=this.dateWithoutTimezoneAdjustment();return!(t.getFullYear()!==this.get("year")||t.getMonth()!==this.get("month")-1||t.getDate()!==this.get("day")||this.get("hour")!=null&&t.getHours()!=this.get("hour")||this.get("minute")!=null&&t.getMinutes()!=this.get("minute"))}toString(){return`[ParsingComponents {
|
||
tags: ${JSON.stringify(Array.from(this._tags).sort())},
|
||
knownValues: ${JSON.stringify(this.knownValues)},
|
||
impliedValues: ${JSON.stringify(this.impliedValues)}},
|
||
reference: ${JSON.stringify(this.reference)}]`}dayjs(){return(0,GS.default)(this.dateWithoutTimezoneAdjustment())}date(){let t=this.dateWithoutTimezoneAdjustment(),e=this.reference.getSystemTimezoneAdjustmentMinute(t,this.get("timezoneOffset"));return new Date(t.getTime()+e*6e4)}addTag(t){return this._tags.add(t),this}addTags(t){for(let e of t)this._tags.add(e);return this}tags(){return new Set(this._tags)}dateWithoutTimezoneAdjustment(){let t=new Date(this.get("year"),this.get("month")-1,this.get("day"),this.get("hour"),this.get("minute"),this.get("second"),this.get("millisecond"));return t.setFullYear(this.get("year")),t}static createRelativeFromReference(t,e){let r=oU(t.getDateWithAdjustedTimezone(),e),a=new n(t);return a.addTag("result/relativeDate"),e.hour||e.minute||e.second?(a.addTag("result/relativeDateAndTime"),aU(a,r),nU(a,r),a.assign("timezoneOffset",t.getTimezoneOffset())):(iU(a,r),a.imply("timezoneOffset",t.getTimezoneOffset()),e.day?(a.assign("day",r.getDate()),a.assign("month",r.getMonth()+1),a.assign("year",r.getFullYear()),a.assign("weekday",r.getDay())):e.week?(a.assign("day",r.getDate()),a.assign("month",r.getMonth()+1),a.assign("year",r.getFullYear()),a.imply("weekday",r.getDay())):(a.imply("day",r.getDate()),e.month?(a.assign("month",r.getMonth()+1),a.assign("year",r.getFullYear())):(a.imply("month",r.getMonth()+1),e.year?a.assign("year",r.getFullYear()):a.imply("year",r.getFullYear())))),a}},et=class n{constructor(t,e,r,a,i){C(this,"refDate");C(this,"index");C(this,"text");C(this,"reference");C(this,"start");C(this,"end");this.reference=t,this.refDate=t.instant,this.index=e,this.text=r,this.start=a||new G(t),this.end=i}clone(){let t=new n(this.reference,this.index,this.text);return t.start=this.start?this.start.clone():null,t.end=this.end?this.end.clone():null,t}date(){return this.start.date()}addTag(t){return this.start.addTag(t),this.end&&this.end.addTag(t),this}addTags(t){return this.start.addTags(t),this.end&&this.end.addTags(t),this}tags(){let t=new Set(this.start.tags());if(this.end)for(let e of this.end.tags())t.add(e);return t}toString(){let t=Array.from(this.tags()).sort();return`[ParsingResult {index: ${this.index}, text: '${this.text}', tags: ${JSON.stringify(t)} ...}]`}}});function dn(n,t,e="\\s{0,5},?\\s{0,5}"){let r=t.replace(/\((?!\?)/g,"(?:");return`${n}${r}(?:${e}${r}){0,10}`}function Zne(n){let t;return n instanceof Array?t=[...n]:n instanceof Map?t=Array.from(n.keys()):t=Object.keys(n),t}function X(n){return`(?:${Zne(n).sort((e,r)=>r.length-e.length).join("|").replace(/\./g,"\\.")})`}var $e=b(()=>{});function wn(n){return n<100&&(n>50?n=n+1900:n=n+2e3),n}function lt(n,t,e){let r=(0,cU.default)(n),a=r;a=a.month(e-1),a=a.date(t),a=a.year(r.year());let i=a.add(1,"y"),s=a.add(-1,"y");return Math.abs(i.diff(r))<Math.abs(a.diff(r))?a=i:Math.abs(s.diff(r))<Math.abs(a.diff(r))&&(a=s),a.year()}var cU,Yt=b(()=>{cU=Ie(nt(),1)});function Jne(n){let t=n.toLowerCase();return KS[t]!==void 0?KS[t]:t==="a"||t==="an"||t=="the"?1:t.match(/few/)?3:t.match(/half/)?.5:t.match(/couple/)?2:t.match(/several/)?7:parseFloat(t)}function Sd(n){let t=n.toLowerCase();return QS[t]!==void 0?QS[t]:(t=t.replace(/(?:st|nd|rd|th)$/i,""),parseInt(t))}function mo(n){if(/BE/i.test(n))return n=n.replace(/BE/i,""),parseInt(n)-543;if(/BCE?/i.test(n))return n=n.replace(/BCE?/i,""),-parseInt(n);if(/(AD|CE)/i.test(n))return n=n.replace(/(AD|CE)/i,""),parseInt(n);let t=parseInt(n);return wn(t)}function ka(n){let t={},e=n,r=dU.exec(e);for(;r;)eae(t,r),e=e.substring(r[0].length).trim(),r=dU.exec(e);return Object.keys(t).length==0?null:t}function eae(n,t){if(t[0].match(/^[a-zA-Z]+$/))return;let e=Jne(t[1]),r=Vp[t[2].toLowerCase()];n[r]=e}var av,ZS,Ta,KS,QS,uU,Vp,pU,wd,po,mU,dU,Xne,hU,hs,ho,fr=b(()=>{$e();Yt();av={sunday:0,sun:0,"sun.":0,monday:1,mon:1,"mon.":1,tuesday:2,tue:2,"tue.":2,wednesday:3,wed:3,"wed.":3,thursday:4,thurs:4,"thurs.":4,thur:4,"thur.":4,thu:4,"thu.":4,friday:5,fri:5,"fri.":5,saturday:6,sat:6,"sat.":6},ZS={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12},Ta={...ZS,jan:1,"jan.":1,feb:2,"feb.":2,mar:3,"mar.":3,apr:4,"apr.":4,jun:6,"jun.":6,jul:7,"jul.":7,aug:8,"aug.":8,sep:9,"sep.":9,sept:9,"sept.":9,oct:10,"oct.":10,nov:11,"nov.":11,dec:12,"dec.":12},KS={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12},QS={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20,"twenty first":21,"twenty-first":21,"twenty second":22,"twenty-second":22,"twenty third":23,"twenty-third":23,"twenty fourth":24,"twenty-fourth":24,"twenty fifth":25,"twenty-fifth":25,"twenty sixth":26,"twenty-sixth":26,"twenty seventh":27,"twenty-seventh":27,"twenty eighth":28,"twenty-eighth":28,"twenty ninth":29,"twenty-ninth":29,thirtieth:30,"thirty first":31,"thirty-first":31},uU={second:"second",seconds:"second",minute:"minute",minutes:"minute",hour:"hour",hours:"hour",day:"d",days:"d",week:"week",weeks:"week",month:"month",months:"month",quarter:"quarter",quarters:"quarter",year:"year",years:"year"},Vp={s:"second",sec:"second",second:"second",seconds:"second",m:"minute",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",hour:"hour",hours:"hour",d:"d",day:"d",days:"d",w:"w",week:"week",weeks:"week",mo:"month",mon:"month",mos:"month",month:"month",months:"month",qtr:"quarter",quarter:"quarter",quarters:"quarter",y:"year",yr:"year",year:"year",years:"year",...uU},pU=`(?:${X(KS)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|the|a?\\s{0,2}couple\\s{0,2}(?:of)?)`;wd=`(?:${X(QS)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;po="(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9]|2[0-5])";mU=`(${pU})\\s{0,3}(${X(Vp)})`,dU=new RegExp(mU,"i"),Xne=`(${pU})\\s{0,3}(${X(uU)})`,hU="\\s{0,5},?(?:\\s*and)?\\s{0,5}",hs=dn("(?:(?:about|around)\\s{0,3})?",mU,hU),ho=dn("(?:(?:about|around)\\s{0,3})?",Xne,hU)});var j,se=b(()=>{j=class{constructor(){C(this,"cachedInnerPattern",null);C(this,"cachedPattern",null)}innerPatternHasChange(t,e){return this.innerPattern(t)!==e}patternLeftBoundary(){return"(\\W|^)"}pattern(t){return this.cachedInnerPattern&&!this.innerPatternHasChange(t,this.cachedInnerPattern)?this.cachedPattern:(this.cachedInnerPattern=this.innerPattern(t),this.cachedPattern=new RegExp(`${this.patternLeftBoundary()}${this.cachedInnerPattern.source}`,this.cachedInnerPattern.flags),this.cachedPattern)}extract(t,e){var a;let r=(a=e[1])!=null?a:"";e.index=e.index+r.length,e[0]=e[0].substring(r.length);for(let i=2;i<e.length;i++)e[i-1]=e[i];return this.innerExtract(t,e)}}});var tae,rae,nae,$p,fU=b(()=>{fr();Ne();se();tae=new RegExp(`(?:(?:within|in|for)\\s*)?(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${hs})(?=\\W|$)`,"i"),rae=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${hs})(?=\\W|$)`,"i"),nae=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${ho})(?=\\W|$)`,"i"),$p=class extends j{constructor(e){super();C(this,"strictMode");this.strictMode=e}innerPattern(e){return this.strictMode?nae:e.option.forwardDate?tae:rae}innerExtract(e,r){if(r[0].match(/^for\s*the\s*\w+/))return null;let a=ka(r[1]);return a?(e.debug(()=>{console.log(a),console.log(G.createRelativeFromReference(e.reference,a))}),G.createRelativeFromReference(e.reference,a)):null}}});var aae,gU,yU,iae,vU,Yp,bU=b(()=>{Yt();fr();fr();fr();$e();se();aae=new RegExp(`(?:on\\s{0,3})?(${wd})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${wd}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${X(Ta)})(?:(?:-|/|,?\\s{0,3})(${po}(?!\\w)))?(?=\\W|$)`,"i"),gU=1,yU=2,iae=3,vU=4,Yp=class extends j{innerPattern(){return aae}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=Ta[e[iae].toLowerCase()],i=Sd(e[gU]);if(i>31)return e.index=e.index+e[gU].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[vU]){let s=mo(e[vU]);r.start.assign("year",s)}else{let s=lt(t.refDate,i,a);r.start.imply("year",s)}if(e[yU]){let s=Sd(e[yU]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var sae,oae,TU,JS,XS,Gp,kU=b(()=>{Yt();fr();fr();fr();$e();se();sae=new RegExp(`(${X(Ta)})(?:-|/|\\s*,?\\s*)(${wd})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${wd})\\s*)?(?:(?:-|/|\\s*,\\s*|\\s+)(${po}))?(?=\\W|$)(?!\\:\\d)`,"i"),oae=1,TU=2,JS=3,XS=4,Gp=class extends j{constructor(e){super();C(this,"shouldSkipYearLikeDate");this.shouldSkipYearLikeDate=e}innerPattern(){return sae}innerExtract(e,r){let a=Ta[r[oae].toLowerCase()],i=Sd(r[TU]);if(i>31||this.shouldSkipYearLikeDate&&!r[JS]&&!r[XS]&&r[TU].match(/^2[0-5]$/))return null;let s=e.createParsingComponents({day:i,month:a}).addTag("parser/ENMonthNameMiddleEndianParser");if(r[XS]){let c=mo(r[XS]);s.assign("year",c)}else{let c=lt(e.refDate,i,a);s.imply("year",c)}if(!r[JS])return s;let o=Sd(r[JS]),l=e.createParsingResult(r.index,r[0]);return l.start=s,l.end=s.clone(),l.end.assign("day",o),l}}});var lae,cae,dae,wU,Kp,SU=b(()=>{fr();Yt();$e();fr();se();lae=new RegExp(`((?:in)\\s*)?(${X(Ta)})\\s*(?:(?:,|-|of)?\\s*(${po})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),cae=1,dae=2,wU=3,Kp=class extends j{innerPattern(){return lae}innerExtract(t,e){let r=e[dae].toLowerCase();if(e[0].length<=3&&!ZS[r])return null;let a=t.createParsingResult(e.index+(e[cae]||"").length,e.index+e[0].length);a.start.imply("day",1),a.start.addTag("parser/ENMonthNameParser");let i=Ta[r];if(a.start.assign("month",i),e[wU]){let s=mo(e[wU]);a.start.assign("year",s)}else{let s=lt(t.refDate,1,i);a.start.imply("year",s)}return a}}});var uae,pae,mae,DU,hae,Qp,EU=b(()=>{fr();$e();se();uae=new RegExp(`([0-9]{4})[-\\.\\/\\s](?:(${X(Ta)})|([0-9]{1,2}))[-\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),pae=1,mae=2,DU=3,hae=4,Qp=class extends j{constructor(e){super();C(this,"strictMonthDateOrder");this.strictMonthDateOrder=e}innerPattern(){return uae}innerExtract(e,r){let a=parseInt(r[pae]),i=parseInt(r[hae]),s=r[DU]?parseInt(r[DU]):Ta[r[mae].toLowerCase()];if(s<1||s>12){if(this.strictMonthDateOrder)return null;i>=1&&i<=12&&([s,i]=[i,s])}return i<1||i>31?null:{day:i,month:s,year:a}}}});var fae,gae,yae,Zp,xU=b(()=>{se();fae=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),gae=1,yae=2,Zp=class extends j{innerPattern(){return fae}innerExtract(t,e){let r=parseInt(e[yae]),a=parseInt(e[gae]);return t.createParsingComponents().imply("day",1).assign("month",a).assign("year",r)}}});function vae(n,t,e,r){return new RegExp(`${n}${t}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,r)}function bae(n,t){return new RegExp(`^(${n})(\\d{1,4})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,"i")}var CU,Dd,iv,sv,Jp,Er,fs=b(()=>{Ze();CU=2,Dd=3,iv=4,sv=5,Jp=6,Er=class{constructor(t=!1){C(this,"strictMode");C(this,"cachedPrimaryPrefix",null);C(this,"cachedPrimarySuffix",null);C(this,"cachedPrimaryTimePattern",null);C(this,"cachedFollowingPhase",null);C(this,"cachedFollowingSuffix",null);C(this,"cachedFollowingTimePatten",null);this.strictMode=t}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?!/)(?=\\W|$)"}followingSuffix(){return"(?!/)(?=\\W|$)"}pattern(t){return this.getPrimaryTimePatternThroughCache()}extract(t,e){let r=this.extractPrimaryTimeComponents(t,e);if(!r)return e[0].match(/^\d{4}/)?(e.index+=4,null):(e.index+=e[0].length,null);let a=e.index+e[1].length,i=e[0].substring(e[1].length),s=t.createParsingResult(a,i,r);e.index+=e[0].length;let o=t.text.substring(e.index),c=this.getFollowingTimePatternThroughCache().exec(o);return i.match(/^\d{3,4}/)&&c&&(c[0].match(/^\s*([+-])\s*\d{2,4}$/)||c[0].match(/^\s*([+-])\s*\d{2}\W\d{2}/))?null:!c||c[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(s):(s.end=this.extractFollowingTimeComponents(t,c,s),s.end&&(s.text+=c[0]),this.checkAndReturnWithFollowingPattern(s))}extractPrimaryTimeComponents(t,e,r=!1){let a=t.createParsingComponents(),i=0,s=null,o=parseInt(e[CU]);if(o>100){if(this.strictMode||e[Dd]!=null)return null;i=o%100,o=Math.floor(o/100)}if(o>24)return null;if(e[Dd]!=null){if(e[Dd].length==1&&!e[Jp])return null;i=parseInt(e[Dd])}if(i>=60)return null;if(o>12&&(s=O.PM),e[Jp]!=null){if(o>12)return null;let l=e[Jp][0].toLowerCase();l=="a"&&(s=O.AM,o==12&&(o=0)),l=="p"&&(s=O.PM,o!=12&&(o+=12))}if(a.assign("hour",o),a.assign("minute",i),s!==null?a.assign("meridiem",s):o<12?a.imply("meridiem",O.AM):a.imply("meridiem",O.PM),e[sv]!=null){let l=parseInt(e[sv].substring(0,3));if(l>=1e3)return null;a.assign("millisecond",l)}if(e[iv]!=null){let l=parseInt(e[iv]);if(l>=60)return null;a.assign("second",l)}return a}extractFollowingTimeComponents(t,e,r){let a=t.createParsingComponents();if(e[sv]!=null){let l=parseInt(e[sv].substring(0,3));if(l>=1e3)return null;a.assign("millisecond",l)}if(e[iv]!=null){let l=parseInt(e[iv]);if(l>=60)return null;a.assign("second",l)}let i=parseInt(e[CU]),s=0,o=-1;if(e[Dd]!=null?s=parseInt(e[Dd]):i>100&&(s=i%100,i=Math.floor(i/100)),s>=60||i>24)return null;if(i>=12&&(o=O.PM),e[Jp]!=null){if(i>12)return null;let l=e[Jp][0].toLowerCase();l=="a"&&(o=O.AM,i==12&&(i=0,a.isCertain("day")||a.imply("day",a.get("day")+1))),l=="p"&&(o=O.PM,i!=12&&(i+=12)),r.start.isCertain("meridiem")||(o==O.AM?(r.start.imply("meridiem",O.AM),r.start.get("hour")==12&&r.start.assign("hour",0)):(r.start.imply("meridiem",O.PM),r.start.get("hour")!=12&&r.start.assign("hour",r.start.get("hour")+12)))}return a.assign("hour",i),a.assign("minute",s),o>=0?a.assign("meridiem",o):r.start.isCertain("meridiem")&&r.start.get("hour")>12?r.start.get("hour")-12>i?a.imply("meridiem",O.AM):i<=12&&(a.assign("hour",i+12),a.assign("meridiem",O.PM)):i>12?a.imply("meridiem",O.PM):i<=12&&a.imply("meridiem",O.AM),a.date().getTime()<r.start.date().getTime()&&a.imply("day",a.get("day")+1),a}checkAndReturnWithoutFollowingPattern(t){if(t.text.match(/^\d$/)||t.text.match(/^\d\d\d+$/)||t.text.match(/\d[apAP]$/))return null;let e=t.text.match(/[^\d:.](\d[\d.]+)$/);if(e){let r=e[1];if(this.strictMode||r.includes(".")&&!r.match(/\d(\.\d{2})+$/)||parseInt(r)>24)return null}return t}checkAndReturnWithFollowingPattern(t){if(t.text.match(/^\d+-\d+$/))return null;let e=t.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(e){if(this.strictMode)return null;let r=e[1],a=e[2];if(a.includes(".")&&!a.match(/\d(\.\d{2})+$/))return null;let i=parseInt(a),s=parseInt(r);if(i>24||s>24)return null}return t}getPrimaryTimePatternThroughCache(){let t=this.primaryPrefix(),e=this.primarySuffix();return this.cachedPrimaryPrefix===t&&this.cachedPrimarySuffix===e?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=vae(this.primaryPatternLeftBoundary(),t,e,this.patternFlags()),this.cachedPrimaryPrefix=t,this.cachedPrimarySuffix=e,this.cachedPrimaryTimePattern)}getFollowingTimePatternThroughCache(){let t=this.followingPhase(),e=this.followingSuffix();return this.cachedFollowingPhase===t&&this.cachedFollowingSuffix===e?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=bae(t,e),this.cachedFollowingPhase=t,this.cachedFollowingSuffix=e,this.cachedFollowingTimePatten)}}});var Xp,PU=b(()=>{Ze();fs();Xp=class extends Er{constructor(t){super(t)}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|to|until|through|till|\\?)\\s*"}primaryPrefix(){return"(?:(?:at|from)\\s*)??"}primarySuffix(){return"(?:\\s*(?:o\\W*clock|at\\s*night|in\\s*the\\s*(?:morning|afternoon)))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(t,e){let r=super.extractPrimaryTimeComponents(t,e);if(!r)return r;if(e[0].endsWith("night")){let a=r.get("hour");a>=6&&a<12?(r.assign("hour",r.get("hour")+12),r.assign("meridiem",O.PM)):a<6&&r.assign("meridiem",O.AM)}if(e[0].endsWith("afternoon")){r.assign("meridiem",O.PM);let a=r.get("hour");a>=0&&a<=6&&r.assign("hour",r.get("hour")+12)}return e[0].endsWith("morning")&&(r.assign("meridiem",O.AM),r.get("hour")<12&&r.assign("hour",r.get("hour"))),r.addTag("parser/ENTimeExpressionParser")}extractFollowingTimeComponents(t,e,r){let a=super.extractFollowingTimeComponents(t,e,r);return a&&a.addTag("parser/ENTimeExpressionParser"),a}}});var Tae,kae,em,MU=b(()=>{fr();Ne();se();qp();Tae=new RegExp(`(${hs})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,"i"),kae=new RegExp(`(${ho})\\s{0,5}(?:ago|before|earlier)(?=\\W|$)`,"i"),em=class extends j{constructor(e){super();C(this,"strictMode");this.strictMode=e}innerPattern(){return this.strictMode?kae:Tae}innerExtract(e,r){let a=ka(r[1]);return a?G.createRelativeFromReference(e.reference,kd(a)):null}}});var wae,Sae,Dae,tm,AU=b(()=>{fr();Ne();se();wae=new RegExp(`(${hs})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),Sae=new RegExp(`(${ho})\\s{0,5}(later|after|from now)(?=\\W|$)`,"i"),Dae=1,tm=class extends j{constructor(e){super();C(this,"strictMode");this.strictMode=e}innerPattern(){return this.strictMode?Sae:wae}innerExtract(e,r){let a=ka(r[Dae]);return a?G.createRelativeFromReference(e.reference,a):null}}});var Ed,Sn,gs=b(()=>{Ed=class{refine(t,e){return e.filter(r=>this.isValid(t,r))}},Sn=class{refine(t,e){if(e.length<2)return e;let r=[],a=e[0],i=null;for(let s=1;s<e.length;s++){i=e[s];let o=t.text.substring(a.index+a.text.length,i.index);if(!this.shouldMergeResults(o,a,i,t))r.push(a),a=i;else{let l=a,c=i,d=this.mergeResults(o,l,c,t);t.debug(()=>{console.log(`${this.constructor.name} merged ${l} and ${c} into ${d}`)}),a=d}}return a!=null&&r.push(a),r}}});var _t,wa=b(()=>{gs();_t=class extends Sn{shouldMergeResults(t,e,r){return!e.end&&!r.end&&t.match(this.patternBetween())!=null}mergeResults(t,e,r){if(!e.start.isOnlyWeekdayComponent()&&!r.start.isOnlyWeekdayComponent()&&(r.start.getCertainComponents().forEach(i=>{e.start.isCertain(i)||e.start.imply(i,r.start.get(i))}),e.start.getCertainComponents().forEach(i=>{r.start.isCertain(i)||r.start.imply(i,e.start.get(i))})),e.start.date().getTime()>r.start.date().getTime()){let i=e.start.dayjs(),s=r.start.dayjs();r.start.isOnlyWeekdayComponent()&&s.add(7,"days").isAfter(i)?(s=s.add(7,"days"),r.start.imply("day",s.date()),r.start.imply("month",s.month()+1),r.start.imply("year",s.year())):e.start.isOnlyWeekdayComponent()&&i.add(-7,"days").isBefore(s)?(i=i.add(-7,"days"),e.start.imply("day",i.date()),e.start.imply("month",i.month()+1),e.start.imply("year",i.year())):r.start.isDateWithUnknownYear()&&s.add(1,"years").isAfter(i)?(s=s.add(1,"years"),r.start.imply("year",s.year())):e.start.isDateWithUnknownYear()&&i.add(-1,"years").isBefore(s)?(i=i.add(-1,"years"),e.start.imply("year",i.year())):[r,e]=[e,r]}let a=e.clone();return a.start=e.start,a.end=r.start,a.index=Math.min(e.index,r.index),e.index<r.index?a.text=e.text+t+r.text:a.text=r.text+t+e.text,a}}});var rm,IU=b(()=>{wa();rm=class extends _t{patternBetween(){return/^\s*(to|-|–|until|through|till)\s*$/i}}});function Za(n,t){t=t.add(1,"day"),xt(n,t),bi(n,t)}function _U(n,t){t=t.add(1,"day"),eD(n,t),bi(n,t)}function xt(n,t){n.assign("day",t.date()),n.assign("month",t.month()+1),n.assign("year",t.year())}function NU(n,t){n.assign("hour",t.hour()),n.assign("minute",t.minute()),n.assign("second",t.second()),n.assign("millisecond",t.millisecond()),n.get("hour")<12?n.assign("meridiem",O.AM):n.assign("meridiem",O.PM)}function eD(n,t){n.imply("day",t.date()),n.imply("month",t.month()+1),n.imply("year",t.year())}function bi(n,t){n.imply("hour",t.hour()),n.imply("minute",t.minute()),n.imply("second",t.second()),n.imply("millisecond",t.millisecond())}var Kn=b(()=>{Ze()});function tD(n,t){let e=n.clone(),r=n.start,a=t.start;if(e.start=RU(r,a),n.end!=null||t.end!=null){let i=n.end==null?n.start:n.end,s=t.end==null?t.start:t.end,o=RU(i,s);if(n.end==null&&o.date().getTime()<e.start.date().getTime()){let l=o.dayjs().add(1,"day");o.isCertain("day")?xt(o,l):eD(o,l)}e.end=o}return e}function RU(n,t){let e=n.clone();return t.isCertain("hour")?(e.assign("hour",t.get("hour")),e.assign("minute",t.get("minute")),t.isCertain("second")?(e.assign("second",t.get("second")),t.isCertain("millisecond")?e.assign("millisecond",t.get("millisecond")):e.imply("millisecond",t.get("millisecond"))):(e.imply("second",t.get("second")),e.imply("millisecond",t.get("millisecond")))):(e.imply("hour",t.get("hour")),e.imply("minute",t.get("minute")),e.imply("second",t.get("second")),e.imply("millisecond",t.get("millisecond"))),t.isCertain("timezoneOffset")&&e.assign("timezoneOffset",t.get("timezoneOffset")),t.isCertain("meridiem")?e.assign("meridiem",t.get("meridiem")):t.get("meridiem")!=null&&e.get("meridiem")==null&&e.imply("meridiem",t.get("meridiem")),e.get("meridiem")==O.PM&&e.get("hour")<12&&(t.isCertain("hour")?e.assign("hour",e.get("hour")+12):e.imply("hour",e.get("hour")+12)),e.addTags(n.tags()),e.addTags(t.tags()),e}var FU=b(()=>{Ze();Kn()});var Nt,Sa=b(()=>{gs();FU();Nt=class extends Sn{shouldMergeResults(t,e,r){return(e.start.isOnlyDate()&&r.start.isOnlyTime()||r.start.isOnlyDate()&&e.start.isOnlyTime())&&t.match(this.patternBetween())!=null}mergeResults(t,e,r){let a=e.start.isOnlyDate()?tD(e,r):tD(r,e);return a.index=e.index,a.text=e.text+t+r.text,a}}});var xd,OU=b(()=>{Sa();xd=class extends Nt{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-|\\.|\u2219|:)?\\s*$")}}});var Eae,nm,LU=b(()=>{YS();Eae=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),nm=class{constructor(t){C(this,"timezoneOverrides");this.timezoneOverrides=t}refine(t,e){var a;let r=(a=t.option.timezones)!=null?a:{};return e.forEach(i=>{var m,h;let s=t.text.substring(i.index+i.text.length),o=Eae.exec(s);if(!o)return;let l=o[1].toUpperCase(),c=(h=(m=i.start.date())!=null?m:i.refDate)!=null?h:new Date,d={...this.timezoneOverrides,...r},u=nv(l,c,d);if(u==null)return;t.debug(()=>{console.log(`Extracting timezone: '${l}' into: ${u} for: ${i.start}`)});let p=i.start.get("timezoneOffset");p!==null&&u!=p&&(i.start.isCertain("timezoneOffset")||l!=o[1])||i.start.isOnlyDate()&&l!=o[1]||(i.text+=o[0],i.start.isCertain("timezoneOffset")||i.start.assign("timezoneOffset",u),i.end!=null&&!i.end.isCertain("timezoneOffset")&&i.end.assign("timezoneOffset",u))}),e}}});var xae,Cae,Pae,Mae,Ja,am=b(()=>{xae=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),Cae=1,Pae=2,Mae=3,Ja=class{refine(t,e){return e.forEach(function(r){if(r.start.isCertain("timezoneOffset"))return;let a=t.text.substring(r.index+r.text.length),i=xae.exec(a);if(!i)return;t.debug(()=>{console.log(`Extracting timezone: '${i[0]}' into : ${r}`)});let s=parseInt(i[Pae]),o=parseInt(i[Mae]||"0"),l=s*60+o;l>840||(i[Cae]==="-"&&(l=-l),r.end!=null&&r.end.assign("timezoneOffset",l),r.start.assign("timezoneOffset",l),r.text+=i[0])}),e}}});var fo,rD=b(()=>{fo=class{refine(t,e){if(e.length<2)return e;let r=[],a=e[0];for(let i=1;i<e.length;i++){let s=e[i];if(s.index>=a.index+a.text.length){r.push(a),a=s;continue}let o=null,l=null;s.text.length>a.text.length?(o=s,l=a):(o=a,l=s),t.debug(()=>{console.log(`${this.constructor.name} remove ${l} by ${o}`)}),a=o}return a!=null&&r.push(a),r}}});var BU,im,jU=b(()=>{BU=Ie(nt(),1);VS();im=class{refine(t,e){return t.option.forwardDate&&e.forEach(r=>{let a=(0,BU.default)(t.reference.getDateWithAdjustedTimezone());if(r.start.isOnlyTime()&&t.reference.instant>r.start.date()){let i=t.reference.getDateWithAdjustedTimezone(),s=new Date(i);s.setDate(s.getDate()+1),rv(r.start,s),t.debug(()=>{console.log(`${this.constructor.name} adjusted ${r} time from the ref date (${i}) to the following day (${s})`)}),r.end&&r.end.isOnlyTime()&&(rv(r.end,s),r.start.date()>r.end.date()&&(s.setDate(s.getDate()+1),rv(r.end,s)))}if(r.start.isOnlyWeekdayComponent()&&a.isAfter(r.start.dayjs())&&(a.day()>=r.start.get("weekday")?a=a.day(r.start.get("weekday")+7):a=a.day(r.start.get("weekday")),r.start.imply("day",a.date()),r.start.imply("month",a.month()+1),r.start.imply("year",a.year()),t.debug(()=>{console.log(`${this.constructor.name} adjusted ${r} weekday (${r.start})`)}),r.end&&r.end.isOnlyWeekdayComponent()&&(a.day()>r.end.get("weekday")?a=a.day(r.end.get("weekday")+7):a=a.day(r.end.get("weekday")),r.end.imply("day",a.date()),r.end.imply("month",a.month()+1),r.end.imply("year",a.year()),t.debug(()=>{console.log(`${this.constructor.name} adjusted ${r} weekday (${r.end})`)}))),r.start.isDateWithUnknownYear()&&a.isAfter(r.start.dayjs()))for(let i=0;i<3&&a.isAfter(r.start.dayjs());i++)r.start.imply("year",r.start.get("year")+1),t.debug(()=>{console.log(`${this.constructor.name} adjusted ${r} year (${r.start})`)}),r.end&&!r.end.isCertain("year")&&(r.end.imply("year",r.end.get("year")+1),t.debug(()=>{console.log(`${this.constructor.name} adjusted ${r} month (${r.start})`)}))}),e}}});var sm,HU=b(()=>{gs();sm=class extends Ed{constructor(e){super();C(this,"strictMode");this.strictMode=e}isValid(e,r){return r.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(e.debug(()=>{console.log(`Removing unlikely result '${r.text}'`)}),!1):r.start.isValidDate()?r.end&&!r.end.isValidDate()?(e.debug(()=>{console.log(`Removing invalid result: ${r} (${r.end})`)}),!1):this.strictMode?this.isStrictModeValid(e,r):!0:(e.debug(()=>{console.log(`Removing invalid result: ${r} (${r.start})`)}),!1)}isStrictModeValid(e,r){return r.start.isOnlyWeekdayComponent()?(e.debug(()=>{console.log(`(Strict) Removing weekday only component: ${r} (${r.end})`)}),!1):!0}}});var Aae,Iae,_ae,Nae,zU,Rae,UU,WU,Fae,qU,VU,ys,ov=b(()=>{se();Aae=new RegExp("([0-9]{4})\\-([0-9]{1,2})\\-([0-9]{1,2})(?:T([0-9]{1,2}):([0-9]{1,2})(?::([0-9]{1,2})(?:\\.(\\d{1,4}))?)?(Z|([+-]\\d{2}):?(\\d{2})?)?)?(?=\\W|$)","i"),Iae=1,_ae=2,Nae=3,zU=4,Rae=5,UU=6,WU=7,Fae=8,qU=9,VU=10,ys=class extends j{innerPattern(){return Aae}innerExtract(t,e){let r=t.createParsingComponents({year:parseInt(e[Iae]),month:parseInt(e[_ae]),day:parseInt(e[Nae])});if(e[zU]!=null&&(r.assign("hour",parseInt(e[zU])),r.assign("minute",parseInt(e[Rae])),e[UU]!=null&&r.assign("second",parseInt(e[UU])),e[WU]!=null&&r.assign("millisecond",parseInt(e[WU])),e[Fae]!=null)){let a=0;if(e[qU]){let i=parseInt(e[qU]),s=0;e[VU]!=null&&(s=parseInt(e[VU])),a=i*60,a<0?a-=s:a+=s}r.assign("timezoneOffset",a)}return r.addTag("parser/ISOFormatParser")}}});var Rl,nD=b(()=>{gs();Rl=class extends Sn{mergeResults(t,e,r){let a=r.clone();return a.index=e.index,a.text=e.text+t+a.text,a.start.assign("weekday",e.start.get("weekday")),a.end&&a.end.assign("weekday",e.start.get("weekday")),a}shouldMergeResults(t,e,r){return e.start.isOnlyWeekdayComponent()&&!e.start.isCertain("hour")&&r.start.isCertain("day")&&t.match(/^,?\s*$/)!=null}}});function Ot(n,t=!1){return n.parsers.unshift(new ys),n.refiners.unshift(new Rl),n.refiners.unshift(new Ja),n.refiners.unshift(new fo),n.refiners.push(new nm),n.refiners.push(new fo),n.refiners.push(new im),n.refiners.push(new sm(t)),n}var Qn=b(()=>{LU();am();rD();jU();HU();ov();nD()});function Yr(n){let t=(0,go.default)(n.getDateWithAdjustedTimezone()),e=new G(n,{});return xt(e,t),NU(e,t),e.assign("timezoneOffset",n.getTimezoneOffset()),e.addTag("casualReference/now"),e}function xr(n){let t=(0,go.default)(n.getDateWithAdjustedTimezone()),e=new G(n,{});return xt(e,t),bi(e,t),e.addTag("casualReference/today"),e}function Gr(n){return Fl(n,1).addTag("casualReference/yesterday")}function Fl(n,t){return Ti(n,-t)}function Kr(n){return Ti(n,1).addTag("casualReference/tomorrow")}function Ti(n,t){let e=(0,go.default)(n.getDateWithAdjustedTimezone()),r=new G(n,{});return e=e.add(t,"day"),xt(r,e),bi(r,e),r}function $U(n,t=22){let e=(0,go.default)(n.getDateWithAdjustedTimezone()),r=new G(n,{});return xt(r,e),r.imply("hour",t),r.imply("meridiem",O.PM),r.addTag("casualReference/tonight"),r}function lv(n,t=0){let e=(0,go.default)(n.getDateWithAdjustedTimezone()),r=new G(n,{});return e.hour()<6&&(e=e.add(-1,"day")),xt(r,e),r.imply("hour",t),r}function Cd(n,t=20){let e=new G(n,{});return e.imply("meridiem",O.PM),e.imply("hour",t),e.addTag("casualReference/evening"),e}function cv(n,t=20){let e=(0,go.default)(n.getDateWithAdjustedTimezone()),r=new G(n,{});return e=e.add(-1,"day"),xt(r,e),r.imply("hour",t),r.imply("meridiem",O.PM),r.addTag("casualReference/yesterday"),r.addTag("casualReference/evening"),r}function Ol(n){let t=new G(n,{}),e=(0,go.default)(n.getDateWithAdjustedTimezone());return e.hour()>2&&_U(t,e),t.assign("hour",0),t.imply("minute",0),t.imply("second",0),t.imply("millisecond",0),t.addTag("casualReference/midnight"),t}function Pd(n,t=6){let e=new G(n,{});return e.imply("meridiem",O.AM),e.imply("hour",t),e.imply("minute",0),e.imply("second",0),e.imply("millisecond",0),e.addTag("casualReference/morning"),e}function YU(n,t=15){let e=new G(n,{});return e.imply("meridiem",O.PM),e.imply("hour",t),e.imply("minute",0),e.imply("second",0),e.imply("millisecond",0),e.addTag("casualReference/afternoon"),e}function Md(n){let t=new G(n,{});return t.imply("meridiem",O.AM),t.assign("hour",12),t.imply("minute",0),t.imply("second",0),t.imply("millisecond",0),t.addTag("casualReference/noon"),t}var go,Zn=b(()=>{Ne();go=Ie(nt(),1);Kn();Ze()});var GU,Oae,om,KU=b(()=>{GU=Ie(nt(),1);se();Kn();Zn();Oae=/(now|today|tonight|tomorrow|overmorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,om=class extends j{innerPattern(t){return Oae}innerExtract(t,e){let r=(0,GU.default)(t.refDate),a=e[0].toLowerCase(),i=t.createParsingComponents();switch(a){case"now":i=Yr(t.reference);break;case"today":i=xr(t.reference);break;case"yesterday":i=Gr(t.reference);break;case"tomorrow":case"tmr":case"tmrw":i=Kr(t.reference);break;case"tonight":i=$U(t.reference);break;case"overmorrow":i=Ti(t.reference,2);break;default:a.match(/last\s*night/)&&(r.hour()>6&&(r=r.add(-1,"day")),xt(i,r),i.imply("hour",0));break}return i.addTag("parser/ENCasualDateParser"),i}}});var Lae,lm,QU=b(()=>{se();Zn();Lae=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|midday|noon)(?=\W|$)/i,lm=class extends j{innerPattern(){return Lae}innerExtract(t,e){let r=null;switch(e[1].toLowerCase()){case"afternoon":r=YU(t.reference);break;case"evening":case"night":r=Cd(t.reference);break;case"midnight":r=Ol(t.reference);break;case"morning":r=Pd(t.reference);break;case"noon":case"midday":r=Md(t.reference);break}return r&&r.addTag("parser/ENCasualTimeParser"),r}}});function ir(n){let t={};for(let e in n)t[e]=-n[e];return t}function dv(n,t){let e=n.clone(),r=n.dayjs();for(let a in t)r=r.add(t[a],a);return("day"in t||"d"in t||"week"in t||"month"in t||"year"in t)&&(e.imply("day",r.date()),e.imply("month",r.month()+1),e.imply("year",r.year())),("second"in t||"minute"in t||"hour"in t)&&(e.imply("second",r.second()),e.imply("minute",r.minute()),e.imply("hour",r.hour())),e}var Jn=b(()=>{});function sr(n,t,e){let r=n.getDateWithAdjustedTimezone(),a=Bae(r,t,e),i=new G(n);return i=dv(i,{day:a}),i.assign("weekday",t),i}function Bae(n,t,e){let r=n.getDay();switch(e){case"this":return uv(n,t);case"last":return ZU(n,t);case"next":return r==we.SUNDAY?t==we.SUNDAY?7:t:r==we.SATURDAY?t==we.SATURDAY?7:t==we.SUNDAY?8:1+t:t<r&&t!=we.SUNDAY?uv(n,t):uv(n,t)+7}return jae(n,t)}function jae(n,t){let e=ZU(n,t),r=uv(n,t);return r<-e?r:e}function uv(n,t){let e=n.getDay(),r=t-e;return r<0&&(r+=7),r}function ZU(n,t){let e=n.getDay(),r=t-e;return r>=0&&(r-=7),r}var Xa=b(()=>{Ze();Ne();Jn()});var Hae,zae,Uae,Wae,cm,JU=b(()=>{fr();$e();se();Xa();Ze();Hae=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${X(av)}|weekend|weekday)(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),zae=1,Uae=2,Wae=3,cm=class extends j{innerPattern(){return Hae}innerExtract(t,e){let r=e[zae],a=e[Wae],i=r||a;i=i||"",i=i.toLowerCase();let s=null;i=="last"||i=="past"?s="last":i=="next"?s="next":i=="this"&&(s="this");let o=e[Uae].toLowerCase(),l;if(av[o]!==void 0)l=av[o];else if(o=="weekend")l=s=="last"?we.SUNDAY:we.SATURDAY;else if(o=="weekday"){let c=t.reference.getDateWithAdjustedTimezone().getDay();c==we.SUNDAY||c==we.SATURDAY?l=s=="last"?we.FRIDAY:we.MONDAY:(l=c-1,l=s=="last"?l-1:l+1,l=l%5+1)}else return null;return sr(t.reference,l,s)}}});var XU,qae,Vae,$ae,dm,eW=b(()=>{fr();Ne();XU=Ie(nt(),1);se();$e();qae=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${X(Vp)})(?=\\s*)(?=\\W|$)`,"i"),Vae=1,$ae=2,dm=class extends j{innerPattern(){return qae}innerExtract(t,e){let r=e[Vae].toLowerCase(),a=e[$ae].toLowerCase(),i=Vp[a];if(r=="next"||r.startsWith("after")){let l={};return l[i]=1,G.createRelativeFromReference(t.reference,l)}if(r=="last"||r=="past"){let l={};return l[i]=-1,G.createRelativeFromReference(t.reference,l)}let s=t.createParsingComponents(),o=(0,XU.default)(t.reference.instant);return a.match(/week/i)?(o=o.add(-o.get("d"),"d"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.imply("year",o.year())):a.match(/month/i)?(o=o.add(-o.date()+1,"d"),s.imply("day",o.date()),s.assign("year",o.year()),s.assign("month",o.month()+1)):a.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.assign("year",o.year())),s}}});var Yae,Gae,Kae,tW,rW,aD,gr,vs=b(()=>{Yt();Yae=new RegExp("([^\\d]|^)([0-3]{0,1}[0-9]{1})[\\/\\.\\-]([0-3]{0,1}[0-9]{1})(?:[\\/\\.\\-]([0-9]{4}|[0-9]{2}))?(\\W|$)","i"),Gae=1,Kae=5,tW=2,rW=3,aD=4,gr=class{constructor(t){C(this,"groupNumberMonth");C(this,"groupNumberDay");this.groupNumberMonth=t?rW:tW,this.groupNumberDay=t?tW:rW}pattern(){return Yae}extract(t,e){let r=e.index+e[Gae].length,a=e.index+e[0].length-e[Kae].length;if(r>0&&t.text.substring(0,r).match("\\d/?$")||a<t.text.length&&t.text.substring(a).match("^/?\\d"))return;let i=t.text.substring(r,a);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!e[aD]&&i.indexOf("/")<0)return;let s=t.createParsingResult(r,i),o=parseInt(e[this.groupNumberMonth]),l=parseInt(e[this.groupNumberDay]);if((o<1||o>12)&&o>12)if(l>=1&&l<=12&&o<=31)[l,o]=[o,l];else return null;if(l<1||l>31)return null;if(s.start.assign("day",l),s.start.assign("month",o),e[aD]){let c=parseInt(e[aD]),d=wn(c);s.start.assign("year",d)}else{let c=lt(t.refDate,l,o);s.start.imply("year",c)}return s.addTag("parser/SlashDateFormatParser")}}});var Qae,Zae,um,nW=b(()=>{fr();Ne();se();qp();Qae=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${hs})(?=\\W|$)`,"i"),Zae=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${ho})(?=\\W|$)`,"i"),um=class extends j{constructor(e=!0){super();C(this,"allowAbbreviations");this.allowAbbreviations=e}innerPattern(){return this.allowAbbreviations?Qae:Zae}innerExtract(e,r){let a=r[1].toLowerCase(),i=ka(r[2]);if(!i)return null;switch(a){case"last":case"past":case"-":i=kd(i);break}return G.createRelativeFromReference(e.reference,i)}}});function Jae(n){return n.text.match(/^[+-]/i)!=null}function aW(n){return n.text.match(/^-/i)!=null}var pm,iW=b(()=>{gs();Ne();fr();Jn();pm=class extends Sn{shouldMergeResults(t,e,r){return t.match(/^\s*$/i)?Jae(r)||aW(r):!1}mergeResults(t,e,r,a){let i=ka(r.text);aW(r)&&(i=ir(i));let s=G.createRelativeFromReference(at.fromDate(e.start.date()),i);return new et(e.reference,e.index,`${e.text}${t}${r.text}`,s)}}});function sW(n){return n.text.match(/\s+(before|from)$/i)!=null}function Xae(n){return n.text.match(/\s+(after|since)$/i)!=null}var mm,oW=b(()=>{gs();Ne();fr();qp();mm=class extends Sn{patternBetween(){return/^\s*$/i}shouldMergeResults(t,e,r){return!t.match(this.patternBetween())||!sW(e)&&!Xae(e)?!1:!!r.start.get("day")&&!!r.start.get("month")&&!!r.start.get("year")}mergeResults(t,e,r){let a=ka(e.text);sW(e)&&(a=kd(a));let i=G.createRelativeFromReference(at.fromDate(r.start.date()),a);return new et(r.reference,e.index,`${e.text}${t}${r.text}`,i)}}});var eie,tie,hm,lW=b(()=>{fr();eie=new RegExp(`^\\s*(${po})`,"i"),tie=1,hm=class{refine(t,e){return e.forEach(function(r){if(!r.start.isDateWithUnknownYear())return;let a=t.text.substring(r.index+r.text.length),i=eie.exec(a);if(!i||i[0].trim().length<=3)return;t.debug(()=>{console.log(`Extracting year: '${i[0]}' into : ${r}`)});let s=mo(i[tie]);r.end!=null&&r.end.assign("year",s),r.start.assign("year",s),r.text+=i[0]}),e}}});var fm,cW=b(()=>{gs();fm=class extends Ed{constructor(){super()}isValid(t,e){let r=e.text.trim();return r===t.text.trim()?!0:r.toLowerCase()==="may"&&!t.text.substring(0,e.index).trim().match(/\b(in)$/i)?(t.debug(()=>{console.log(`Removing unlikely result: ${e}`)}),!1):r.toLowerCase().endsWith("the second")?(t.text.substring(e.index+e.text.length).trim().length>0&&t.debug(()=>{console.log(`Removing unlikely result: ${e}`)}),!1):!0}}});var Ll,iD=b(()=>{fU();bU();kU();SU();EU();xU();PU();MU();AU();IU();OU();Qn();KU();QU();JU();eW();vs();nW();iW();oW();rD();lW();cW();Ll=class{createCasualConfiguration(t=!1){let e=this.createConfiguration(!1,t);return e.parsers.push(new om),e.parsers.push(new lm),e.parsers.push(new Kp),e.parsers.push(new dm),e.parsers.push(new um),e.refiners.push(new fm),e}createConfiguration(t=!0,e=!1){let r=Ot({parsers:[new gr(e),new $p(t),new Yp,new Gp(e),new cm,new Zp,new Xp(t),new em(t),new tm(t)],refiners:[new xd]},t);return r.parsers.unshift(new Qp(t)),r.refiners.unshift(new mm),r.refiners.unshift(new pm),r.refiners.unshift(new fo),r.refiners.push(new xd),r.refiners.push(new hm),r.refiners.push(new rm),r}}});var ve,gm,Dn=b(()=>{Ne();iD();ve=class n{constructor(t){C(this,"parsers");C(this,"refiners");C(this,"defaultConfig",new Ll);t=t||this.defaultConfig.createCasualConfiguration(),this.parsers=[...t.parsers],this.refiners=[...t.refiners]}clone(){return new n({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(t,e,r){let a=this.parse(t,e,r);return a.length>0?a[0].start.date():null}parse(t,e,r){let a=new gm(t,e,r),i=[];return this.parsers.forEach(s=>{let o=n.executeParser(a,s);i=i.concat(o)}),i.sort((s,o)=>s.index-o.index),this.refiners.forEach(function(s){i=s.refine(a,i)}),i}static executeParser(t,e){let r=[],a=e.pattern(t),i=t.text,s=t.text,o=a.exec(s);for(;o;){let l=o.index+i.length-s.length;o.index=l;let c=e.extract(t,o);if(!c){s=i.substring(o.index+1),o=a.exec(s);continue}let d=null;c instanceof et?d=c:c instanceof G?(d=t.createParsingResult(o.index,o[0]),d.start=c):d=t.createParsingResult(o.index,o[0],c);let u=d.index,p=d.text;t.debug(()=>console.log(`${e.constructor.name} extracted (at index=${u}) '${p}'`)),r.push(d),s=i.substring(u+p.length),o=a.exec(s)}return r}},gm=class{constructor(t,e,r){C(this,"text");C(this,"option");C(this,"reference");C(this,"refDate");this.text=t,this.option=r!=null?r:{},this.reference=at.fromInput(e,this.option.timezones),this.refDate=this.reference.instant}createParsingComponents(t){return t instanceof G?t:new G(this.reference,t)}createParsingResult(t,e,r,a){let i=typeof e=="string"?e:this.text.substring(t,e),s=r?this.createParsingComponents(r):null,o=a?this.createParsingComponents(a):null;return new et(this.reference,t,i,s,o)}debug(t){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(t):this.option.debug.debug(t))}}});var oD={};Be(oD,{Chrono:()=>ve,GB:()=>rie,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>ym,configuration:()=>pv,parse:()=>nie,parseDate:()=>aie,strict:()=>sD});function nie(n,t,e){return ym.parse(n,t,e)}function aie(n,t,e){return ym.parseDate(n,t,e)}var pv,ym,sD,rie,dW=b(()=>{Dn();Ne();Ze();iD();pv=new Ll,ym=new ve(pv.createCasualConfiguration(!1)),sD=new ve(pv.createConfiguration(!0,!1)),rie=new ve(pv.createCasualConfiguration(!0))});var vm,uW=b(()=>{fs();vm=class extends Er{primaryPrefix(){return"(?:(?:um|von)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|bis)\\s*"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}}});function pD(n){let t=n.toLowerCase();return lD[t]!==void 0?lD[t]:t==="ein"||t==="einer"||t==="einem"||t==="einen"||t==="eine"?1:t.match(/wenigen/)?2:t.match(/halb/)||t.match(/halben/)?.5:t.match(/einigen/)?3:t.match(/mehreren/)?7:parseFloat(t)}function hW(n){if(/v/i.test(n))return-parseInt(n.replace(/[^0-9]+/gi,""));if(/n/i.test(n))return parseInt(n.replace(/[^0-9]+/gi,""));if(/z/i.test(n))return parseInt(n.replace(/[^0-9]+/gi,""));let t=parseInt(n);return wn(t)}function yW(n){let t={},e=n,r=pW.exec(e);for(;r;)iie(t,r),e=e.substring(r[0].length),r=pW.exec(e);return t}function iie(n,t){let e=pD(t[1]),r=bm[t[2].toLowerCase()];n[r]=e}var cD,dD,lD,bm,uD,mW,fW,pW,gW,Ad=b(()=>{$e();Yt();cD={sonntag:0,so:0,montag:1,mo:1,dienstag:2,di:2,mittwoch:3,mi:3,donnerstag:4,do:4,freitag:5,fr:5,samstag:6,sa:6},dD={januar:1,j\u00E4nner:1,janner:1,jan:1,"jan.":1,februar:2,feber:2,feb:2,"feb.":2,m\u00E4rz:3,maerz:3,m\u00E4r:3,"m\xE4r.":3,mrz:3,"mrz.":3,april:4,apr:4,"apr.":4,mai:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,august:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,dezember:12,dez:12,"dez.":12},lD={eins:1,eine:1,einem:1,einen:1,einer:1,zwei:2,drei:3,vier:4,f\u00FCnf:5,fuenf:5,sechs:6,sieben:7,acht:8,neun:9,zehn:10,elf:11,zw\u00F6lf:12,zwoelf:12},bm={sek:"second",sekunde:"second",sekunden:"second",min:"minute",minute:"minute",minuten:"minute",h:"hour",std:"hour",stunde:"hour",stunden:"hour",tag:"d",tage:"d",tagen:"d",woche:"week",wochen:"week",monat:"month",monate:"month",monaten:"month",monats:"month",quartal:"quarter",quartals:"quarter",quartale:"quarter",quartalen:"quarter",a:"year",j:"year",jr:"year",jahr:"year",jahre:"year",jahren:"year",jahres:"year"},uD=`(?:${X(lD)}|[0-9]+|[0-9]+\\.[0-9]+|halb?|halbe?|einigen?|wenigen?|mehreren?)`;mW="(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)";fW=`(${uD})\\s{0,5}(${X(bm)})\\s{0,5}`,pW=new RegExp(fW,"i"),gW=dn("",fW)});var sie,oie,lie,cie,Tm,vW=b(()=>{Ad();$e();se();Xa();sie=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${X(cD)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),oie=1,lie=3,cie=2,Tm=class extends j{innerPattern(){return sie}innerExtract(t,e){let r=e[cie].toLowerCase(),a=cD[r],i=e[oie],s=e[lie],o=i||s;o=o||"",o=o.toLowerCase();let l=null;return o.match(/letzte/)?l="last":o.match(/chste/)?l="next":o.match(/diese/)&&(l="this"),sr(t.reference,a,l)}}});var die,uie,pie,bW,TW,kW,km,wW=b(()=>{Ze();die=new RegExp("(^|\\s|T)(?:(?:um|von)\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),uie=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|bis(?:\\s+um)?|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),pie=2,bW=3,TW=4,kW=5,km=class n{pattern(t){return die}extract(t,e){let r=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(r.text.match(/^\d{4}$/)||(r.start=n.extractTimeComponent(r.start.clone(),e),!r.start))return e.index+=e[0].length,null;let a=t.text.substring(e.index+e[0].length),i=uie.exec(a);return i&&(r.end=n.extractTimeComponent(r.start.clone(),i),r.end&&(r.text+=i[0])),r}static extractTimeComponent(t,e){let r=0,a=0,i=null;if(r=parseInt(e[pie]),e[bW]!=null&&(a=parseInt(e[bW])),a>=60||r>24)return null;if(r>=12&&(i=O.PM),e[kW]!=null){if(r>12)return null;let s=e[kW].toLowerCase();s.match(/morgen|vormittag/)&&(i=O.AM,r==12&&(r=0)),s.match(/nachmittag|abend/)&&(i=O.PM,r!=12&&(r+=12)),s.match(/nacht/)&&(r==12?(i=O.AM,r=0):r<6?i=O.AM:(i=O.PM,r+=12))}if(t.assign("hour",r),t.assign("minute",a),i!==null?t.assign("meridiem",i):r<12?t.imply("meridiem",O.AM):t.imply("meridiem",O.PM),e[TW]!=null){let s=parseInt(e[TW]);if(s>=60)return null;t.assign("second",s)}return t}}});var wm,SW=b(()=>{wa();wm=class extends _t{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}}});var Sm,DW=b(()=>{Sa();Sm=class extends Nt{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}}});var EW,Bl,mD=b(()=>{EW=Ie(nt(),1);Ze();se();Kn();Jn();Bl=class n extends j{innerPattern(t){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(t,e){let r=(0,EW.default)(t.refDate),a=e[2].toLowerCase(),i=t.createParsingComponents();return bi(i,r),n.extractTimeComponents(i,a)}static extractTimeComponents(t,e){switch(e){case"morgen":t.imply("hour",6),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.AM);break;case"vormittag":t.imply("hour",9),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.AM);break;case"mittag":case"mittags":t.imply("hour",12),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.AM);break;case"nachmittag":t.imply("hour",15),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.PM);break;case"abend":t.imply("hour",18),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.PM);break;case"nacht":t.imply("hour",22),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.PM);break;case"mitternacht":t.get("hour")>1&&(t=dv(t,{day:1})),t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",O.AM);break}return t}}});var xW,mie,hie,fie,Dm,CW=b(()=>{xW=Ie(nt(),1);se();Kn();mD();Zn();mie=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),hie=1,fie=2,Dm=class extends j{innerPattern(t){return mie}innerExtract(t,e){let r=(0,xW.default)(t.refDate),a=(e[hie]||"").toLowerCase(),i=(e[fie]||"").toLowerCase(),s=t.createParsingComponents();switch(a){case"jetzt":s=Yr(t.reference);break;case"heute":s=xr(t.reference);break;case"morgen":Za(s,r);break;case"\xFCbermorgen":case"uebermorgen":r=r.add(1,"day"),Za(s,r);break;case"gestern":r=r.add(-1,"day"),xt(s,r),bi(s,r);break;case"vorgestern":r=r.add(-2,"day"),xt(s,r),bi(s,r);break;default:a.match(/letzte\s*nacht/)&&(r.hour()>6&&(r=r.add(-1,"day")),xt(s,r),s.imply("hour",0));break}return i&&(s=Bl.extractTimeComponents(s,i)),s}}});var gie,PW,MW,yie,AW,Em,IW=b(()=>{Yt();Ad();Ad();$e();se();gie=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${X(dD)})(?:(?:-|/|,?\\s*)(${mW}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),PW=1,MW=2,yie=3,AW=4,Em=class extends j{innerPattern(){return gie}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=dD[e[yie].toLowerCase()],i=parseInt(e[PW]);if(i>31)return e.index=e.index+e[PW].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[AW]){let s=hW(e[AW]);r.start.assign("year",s)}else{let s=lt(t.refDate,i,a);r.start.imply("year",s)}if(e[MW]){let s=parseInt(e[MW]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var xm,_W=b(()=>{Ad();Ne();se();Jn();$e();xm=class extends j{constructor(){super()}innerPattern(){return new RegExp(`(?:\\s*((?:n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?|vor|in)\\s*)?(${uD})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${X(bm)})`,"i")}innerExtract(t,e){let r=e[2]?pD(e[2]):1,a=bm[e[4].toLowerCase()],i={};i[a]=r;let s=e[1]||e[3]||"";if(s=s.toLowerCase(),!!s)return(/vor/.test(s)||/letzte/.test(s)||/vergangen/.test(s))&&(i=ir(i)),G.createRelativeFromReference(t.reference,i)}}});var Cm,NW=b(()=>{Ad();Ne();se();Cm=class extends j{innerPattern(){return new RegExp(`(?:in|f\xFCr|w\xE4hrend)\\s*(${gW})(?=\\W|$)`,"i")}innerExtract(t,e){let r=yW(e[1]);return G.createRelativeFromReference(t.reference,r)}}});var gD={};Be(gD,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>hD,createCasualConfiguration:()=>RW,createConfiguration:()=>fD,parse:()=>bie,parseDate:()=>Tie,strict:()=>vie});function bie(n,t,e){return hD.parse(n,t,e)}function Tie(n,t,e){return hD.parseDate(n,t,e)}function RW(n=!0){let t=fD(!1,n);return t.parsers.unshift(new Bl),t.parsers.unshift(new Dm),t.parsers.unshift(new xm),t}function fD(n=!0,t=!0){return Ot({parsers:[new ys,new gr(t),new vm,new km,new Em,new Tm,new Cm],refiners:[new wm,new Sm]},n)}var hD,vie,FW=b(()=>{Qn();Dn();Ne();Ze();vs();ov();uW();vW();wW();SW();DW();CW();mD();IW();_W();NW();hD=new ve(RW()),vie=new ve(fD(!0))});var OW,Pm,LW=b(()=>{OW=Ie(nt(),1);Ze();se();Kn();Zn();Pm=class extends j{innerPattern(t){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(t,e){let r=(0,OW.default)(t.refDate),a=e[0].toLowerCase(),i=t.createParsingComponents();switch(a){case"maintenant":return Yr(t.reference);case"aujourd'hui":return xr(t.reference);case"hier":return Gr(t.reference);case"demain":return Kr(t.reference);default:a.match(/cette\s*nuit/)?(xt(i,r),i.imply("hour",22),i.imply("meridiem",O.PM)):a.match(/la\s*veille/)&&(r=r.add(-1,"day"),xt(i,r),i.imply("hour",0))}return i}}});var Mm,BW=b(()=>{Ze();se();Mm=class extends j{innerPattern(t){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(t,e){let r=e[2].toLowerCase(),a=t.createParsingComponents();switch(r){case"apr\xE8s-midi":case"aprem":a.imply("hour",14),a.imply("minute",0),a.imply("meridiem",O.PM);break;case"soir":a.imply("hour",18),a.imply("minute",0),a.imply("meridiem",O.PM);break;case"matin":a.imply("hour",8),a.imply("minute",0),a.imply("meridiem",O.AM);break;case"a midi":a.imply("hour",12),a.imply("minute",0),a.imply("meridiem",O.AM);break;case"\xE0 minuit":a.imply("hour",0),a.imply("meridiem",O.AM);break}return a}}});var Am,jW=b(()=>{fs();Am=class extends Er{primaryPrefix(){return"(?:(?:[\xE0a])\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}}});var Im,HW=b(()=>{Sa();Im=class extends Nt{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|au|vers|de|,|-)?\\s*$")}}});var _m,zW=b(()=>{wa();_m=class extends _t{patternBetween(){return/^\s*(à|a|au|-)\s*$/i}}});function kD(n){let t=n.toLowerCase();return yD[t]!==void 0?yD[t]:t==="une"||t==="un"?1:t.match(/quelques?/)?3:t.match(/demi-?/)?.5:parseFloat(t)}function SD(n){let t=n.toLowerCase();return t=t.replace(/(?:er)$/i,""),parseInt(t)}function qW(n){if(/AC/i.test(n))return n=n.replace(/BC/i,""),-parseInt(n);if(/AD/i.test(n)||/C/i.test(n))return n=n.replace(/[^\d]+/i,""),parseInt(n);let t=parseInt(n);return t<100&&(t>50?t=t+1900:t=t+2e3),t}function hv(n){let t={},e=n,r=UW.exec(e);for(;r;)kie(t,r),e=e.substring(r[0].length),r=UW.exec(e);return t}function kie(n,t){let e=kD(t[1]),r=Nm[t[2].toLowerCase()];n[r]=e}var vD,bD,yD,Nm,TD,wD,WW,VW,UW,mv,yo=b(()=>{$e();vD={dimanche:0,dim:0,lundi:1,lun:1,mardi:2,mar:2,mercredi:3,mer:3,jeudi:4,jeu:4,vendredi:5,ven:5,samedi:6,sam:6},bD={janvier:1,jan:1,"jan.":1,f\u00E9vrier:2,f\u00E9v:2,"f\xE9v.":2,fevrier:2,fev:2,"fev.":2,mars:3,mar:3,"mar.":3,avril:4,avr:4,"avr.":4,mai:5,juin:6,jun:6,juillet:7,juil:7,jul:7,"jul.":7,ao\u00FBt:8,aout:8,septembre:9,sep:9,"sep.":9,sept:9,"sept.":9,octobre:10,oct:10,"oct.":10,novembre:11,nov:11,"nov.":11,d\u00E9cembre:12,decembre:12,dec:12,"dec.":12},yD={un:1,deux:2,trois:3,quatre:4,cinq:5,six:6,sept:7,huit:8,neuf:9,dix:10,onze:11,douze:12,treize:13},Nm={sec:"second",seconde:"second",secondes:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",heure:"hour",heures:"hour",jour:"d",jours:"d",semaine:"week",semaines:"week",mois:"month",trimestre:"quarter",trimestres:"quarter",ans:"year",ann\u00E9e:"year",ann\u00E9es:"year"},TD=`(?:${X(yD)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;wD="(?:[0-9]{1,2}(?:er)?)";WW="(?:[1-9][0-9]{0,3}\\s*(?:AC|AD|p\\.\\s*C(?:hr?)?\\.\\s*n\\.)|[1-2][0-9]{3}|[5-9][0-9])";VW=`(${TD})\\s{0,5}(${X(Nm)})\\s{0,5}`,UW=new RegExp(VW,"i"),mv=dn("",VW)});var wie,Sie,Die,Rm,$W=b(()=>{yo();$e();se();Xa();wie=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${X(vD)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),Sie=1,Die=2,Rm=class extends j{innerPattern(){return wie}innerExtract(t,e){let r=e[Sie].toLowerCase(),a=vD[r];if(a===void 0)return null;let i=e[Die];i=i||"",i=i.toLowerCase();let s=null;return i=="dernier"?s="last":i=="prochain"&&(s="next"),sr(t.reference,a,s)}}});var Eie,xie,Cie,YW,GW,KW,Fm,QW=b(()=>{Ze();Eie=new RegExp("(^|\\s|T)(?:(?:[\xE0a])\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),xie=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),Cie=2,YW=3,GW=4,KW=5,Fm=class n{pattern(t){return Eie}extract(t,e){let r=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(r.text.match(/^\d{4}$/)||(r.start=n.extractTimeComponent(r.start.clone(),e),!r.start))return e.index+=e[0].length,null;let a=t.text.substring(e.index+e[0].length),i=xie.exec(a);return i&&(r.end=n.extractTimeComponent(r.start.clone(),i),r.end&&(r.text+=i[0])),r}static extractTimeComponent(t,e){let r=0,a=0,i=null;if(r=parseInt(e[Cie]),e[YW]!=null&&(a=parseInt(e[YW])),a>=60||r>24)return null;if(r>=12&&(i=O.PM),e[KW]!=null){if(r>12)return null;let s=e[KW][0].toLowerCase();s=="a"&&(i=O.AM,r==12&&(r=0)),s=="p"&&(i=O.PM,r!=12&&(r+=12))}if(t.assign("hour",r),t.assign("minute",a),i!==null?t.assign("meridiem",i):r<12?t.imply("meridiem",O.AM):t.imply("meridiem",O.PM),e[GW]!=null){let s=parseInt(e[GW]);if(s>=60)return null;t.assign("second",s)}return t}}});var Pie,ZW,JW,Mie,XW,Om,e2=b(()=>{Yt();yo();yo();yo();$e();se();Pie=new RegExp(`(?:on\\s*?)?(${wD})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${wD}))?(?:-|/|\\s*(?:de)?\\s*)(${X(bD)})(?:(?:-|/|,?\\s*)(${WW}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),ZW=1,JW=2,Mie=3,XW=4,Om=class extends j{innerPattern(){return Pie}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=bD[e[Mie].toLowerCase()],i=SD(e[ZW]);if(i>31)return e.index=e.index+e[ZW].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[XW]){let s=qW(e[XW]);r.start.assign("year",s)}else{let s=lt(t.refDate,i,a);r.start.imply("year",s)}if(e[JW]){let s=SD(e[JW]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var Lm,t2=b(()=>{yo();Ne();se();Jn();Lm=class extends j{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${mv})(?=(?:\\W|$))`,"i")}innerExtract(t,e){let r=hv(e[1]),a=ir(r);return G.createRelativeFromReference(t.reference,a)}}});var Bm,r2=b(()=>{yo();Ne();se();Bm=class extends j{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${mv})(?=\\W|$)`,"i")}innerExtract(t,e){let r=hv(e[1]);return G.createRelativeFromReference(t.reference,r)}}});var jm,n2=b(()=>{yo();Ne();se();Jn();$e();jm=class extends j{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${TD})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${X(Nm)})(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?`,"i")}innerExtract(t,e){let r=e[1]?kD(e[1]):1,a=Nm[e[3].toLowerCase()],i={};i[a]=r;let s=e[2]||e[4]||"";if(s=s.toLowerCase(),!!s)return(/derni[eè]re?s?/.test(s)||/pass[ée]e?s?/.test(s)||/pr[ée]c[ée]dents?/.test(s))&&(i=ir(i)),G.createRelativeFromReference(t.reference,i)}}});var xD={};Be(xD,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>DD,createCasualConfiguration:()=>a2,createConfiguration:()=>ED,parse:()=>Iie,parseDate:()=>_ie,strict:()=>Aie});function Iie(n,t,e){return DD.parse(n,t,e)}function _ie(n,t,e){return DD.parseDate(n,t,e)}function a2(n=!0){let t=ED(!1,n);return t.parsers.unshift(new Pm),t.parsers.unshift(new Mm),t.parsers.unshift(new jm),t}function ED(n=!0,t=!0){return Ot({parsers:[new gr(t),new Om,new Am,new Fm,new Lm,new Bm,new Rm],refiners:[new Im,new _m]},n)}var DD,Aie,i2=b(()=>{Qn();Dn();Ne();Ze();LW();BW();vs();jW();HW();zW();$W();QW();e2();t2();r2();n2();DD=new ve(a2()),Aie=new ve(ED(!0))});function un(n){return String(n).replace(/\u2019/g,"'").replace(/\u201D/g,'"').replace(/\u3000/g," ").replace(/\uFFE5/g,"\xA5").replace(/[\uFF01\uFF03-\uFF06\uFF08\uFF09\uFF0C-\uFF19\uFF1C-\uFF1F\uFF21-\uFF3B\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5E]/g,Nie)}function Nie(n){return String.fromCharCode(n.charCodeAt(0)-65248)}function jl(n){let t=0;for(let e=0;e<n.length;e++){let r=n[e];r==="\u5341"?t=t===0?ki[r]:t*ki[r]:t+=ki[r]}return t}var ki,Id,_d=b(()=>{ki={\u96F6:0,"\u3007":0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10},Id={\u65E5:0,\u6708:1,\u706B:2,\u6C34:3,\u6728:4,\u91D1:5,\u571F:6}});var o2,Rie,s2,Fie,CD,Oie,Lie,Bie,Hm,l2=b(()=>{_d();Yt();o2=Ie(nt(),1),Rie=/(?:(?:([同今本])|((昭和|平成|令和)?([0-90-9]{1,4}|元)))年\s*)?([0-90-9]{1,2})月\s*([0-90-9]{1,2})日/i,s2=1,Fie=2,CD=3,Oie=4,Lie=5,Bie=6,Hm=class{pattern(){return Rie}extract(t,e){let r=parseInt(un(e[Lie])),a=parseInt(un(e[Bie])),i=t.createParsingComponents({day:a,month:r});if(e[s2]&&e[s2].match("\u540C|\u4ECA|\u672C")){let s=(0,o2.default)(t.refDate);i.assign("year",s.year())}if(e[Fie]){let s=e[Oie],o=s=="\u5143"?1:parseInt(un(s));e[CD]=="\u4EE4\u548C"?o+=2018:e[CD]=="\u5E73\u6210"?o+=1988:e[CD]=="\u662D\u548C"&&(o+=1925),i.assign("year",o)}else{let s=lt(t.refDate,a,r);i.imply("year",s)}return i}}});var zm,c2=b(()=>{wa();zm=class extends _t{patternBetween(){return/^\s*(から|-|ー|-|~|~)\s*$/i}}});function Hie(n){switch(n){case"\u304D\u3087\u3046":return"\u4ECA\u65E5";case"\u307B\u3093\u3058\u3064":return"\u672C\u65E5";case"\u304D\u306E\u3046":return"\u6628\u65E5";case"\u3042\u3057\u305F":return"\u660E\u65E5";case"\u3053\u3093\u3084":return"\u4ECA\u591C";case"\u3053\u3093\u3086\u3046":return"\u4ECA\u5915";case"\u3053\u3093\u3070\u3093":return"\u4ECA\u6669";case"\u3051\u3055":return"\u4ECA\u671D";default:return n}}var d2,jie,Um,u2=b(()=>{d2=Ie(nt(),1);Ze();Zn();jie=/今日|きょう|本日|ほんじつ|昨日|きのう|明日|あした|今夜|こんや|今夕|こんゆう|今晩|こんばん|今朝|けさ/i;Um=class{pattern(){return jie}extract(t,e){let r=Hie(e[0]),a=(0,d2.default)(t.refDate),i=t.createParsingComponents();switch(r){case"\u6628\u65E5":return Gr(t.reference);case"\u660E\u65E5":return Kr(t.reference);case"\u672C\u65E5":case"\u4ECA\u65E5":return xr(t.reference)}return r=="\u4ECA\u591C"||r=="\u4ECA\u5915"||r=="\u4ECA\u6669"?(i.imply("hour",22),i.assign("meridiem",O.PM)):r.match("\u4ECA\u671D")&&(i.imply("hour",6),i.assign("meridiem",O.AM)),i.assign("day",a.date()),i.assign("month",a.month()+1),i.assign("year",a.year()),i}}});var zie,Wm,p2=b(()=>{_d();Xa();zie=new RegExp("((?<prefix>\u524D\u306E|\u6B21\u306E|\u4ECA\u9031))?(?<weekday>"+Object.keys(Id).join("|")+")(?:\u66DC\u65E5|\u66DC)","i"),Wm=class{pattern(){return zie}extract(t,e){let r=e.groups.weekday,a=Id[r];if(a===void 0)return null;let i=e.groups.prefix||"",s=null;return i.match(/前の/)?s="last":i.match(/次の/)?s="next":i.match(/今週/)&&(s="this"),sr(t.reference,a,s)}}});var Uie,m2,Wie,qie,qm,h2=b(()=>{Yt();_d();Uie=new RegExp("([0-9\uFF10-\uFF19]{4}[\\/|\\\uFF0F])?([0-1\uFF10-\uFF11]{0,1}[0-9\uFF10-\uFF19]{1})(?:[\\/|\\\uFF0F]([0-3\uFF10-\uFF13]{0,1}[0-9\uFF10-\uFF19]{1}))","i"),m2=1,Wie=2,qie=3,qm=class{pattern(){return Uie}extract(t,e){let r=t.createParsingComponents(),a=parseInt(un(e[Wie])),i=parseInt(un(e[qie]));if(a<1||a>12||i<1||i>31)return null;if(r.assign("day",i),r.assign("month",a),e[m2]){let s=parseInt(un(e[m2])),o=wn(s);r.assign("year",o)}else{let s=lt(t.reference.instant,i,a);r.imply("year",s)}return r}}});var Vie,$ie,fv,gv,vo,Nd,yv,Vm,f2=b(()=>{se();Ze();_d();Vie=new RegExp("(?:(\u5348\u524D|\u5348\u5F8C|A.M.|P.M.|AM|PM))?(?:[\\s,\uFF0C\u3001]*)(?:([0-9\uFF10-\uFF19]+|["+Object.keys(ki).join("")+"]+)(?:\\s*)(?:\u6642|:|\uFF1A)(?:\\s*)([0-9\uFF10-\uFF19]+|\u534A|["+Object.keys(ki).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)([0-9\uFF10-\uFF19]+|["+Object.keys(ki).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),$ie=new RegExp("(?:^\\s*(?:\u304B\u3089|\\-|\\\u2013|\\\uFF0D|\\~|\\\u301C)\\s*)(?:(\u5348\u524D|\u5348\u5F8C|A.M.|P.M.|AM|PM))?(?:[\\s,\uFF0C\u3001]*)(?:([0-9\uFF10-\uFF19]+|["+Object.keys(ki).join("")+"]+)(?:\\s*)(?:\u6642|:|\uFF1A)(?:\\s*)([0-9\uFF10-\uFF19]+|\u534A|["+Object.keys(ki).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)([0-9\uFF10-\uFF19]+|["+Object.keys(ki).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),fv=1,gv=2,vo=3,Nd=4,yv=5,Vm=class extends j{innerPattern(){return Vie}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let r=t.createParsingResult(e.index,e[0]),a=0,i=0,s=-1;if(e[Nd]){let o=parseInt(un(e[Nd]));if(isNaN(o)&&(o=jl(e[Nd])),o>=60)return null;r.start.assign("second",o)}if(a=parseInt(un(e[gv])),isNaN(a)&&(a=jl(e[gv])),e[vo]?e[vo]==="\u534A"?i=30:(i=parseInt(un(e[vo])),isNaN(i)&&(i=jl(e[vo]))):a>100&&(i=a%100,a=Math.floor(a/100)),i>=60||a>24)return null;if(a>=12&&(s=O.PM),e[fv]){if(a>12)return null;let o=e[fv],l=o[0].toLowerCase();o==="\u5348\u524D"||l==="a"?(s=O.AM,a===12&&(a=0)):(o==="\u5348\u5F8C"||l==="p")&&(s=O.PM,a!=12&&(a+=12))}else if(e[yv]){if(a>12)return null;let o=e[yv][0].toLowerCase();o==="a"&&(s=O.AM,a===12&&(a=0)),o==="p"&&(s=O.PM,a!=12&&(a+=12))}if(r.start.assign("hour",a),r.start.assign("minute",i),s>=0?r.start.assign("meridiem",s):a<12?r.start.imply("meridiem",0):r.start.imply("meridiem",1),e=$ie.exec(t.text.substring(r.index+r.text.length)),!e)return r.text.match(/^\d+$/)?null:r;if(r.end=t.createParsingComponents(),a=0,i=0,s=-1,e[Nd]){let o=parseInt(un(e[Nd]));if(isNaN(o)&&(o=jl(e[Nd])),o>=60)return null;r.end.assign("second",o)}if(a=parseInt(un(e[gv])),isNaN(a)&&(a=jl(e[gv])),e[vo]?e[vo]==="\u534A"?i=30:(i=parseInt(un(e[vo])),isNaN(i)&&(i=jl(e[vo]))):a>100&&(i=a%100,a=Math.floor(a/100)),i>=60||a>24)return null;if(a>=12&&(s=O.PM),e[fv]){if(a>12)return null;let o=e[fv],l=o[0].toLowerCase();o==="\u5348\u524D"||l==="a"?(s=O.AM,a===12&&(a=0)):(o==="\u5348\u5F8C"||l==="p")&&(s=O.PM,a!=12&&(a+=12)),r.start.isCertain("meridiem")||(s===O.AM?(r.start.imply("meridiem",O.AM),r.start.get("hour")===12&&r.start.assign("hour",0)):(r.start.imply("meridiem",1),r.start.get("hour")!=12&&r.start.assign("hour",r.start.get("hour")+12)))}else if(e[yv]){if(a>12)return null;let o=e[yv][0].toLowerCase();o==="a"&&(s=O.AM,a===12&&(a=0)),o==="p"&&(s=O.PM,a!=12&&(a+=12))}return r.text=r.text+e[0],r.end.assign("hour",a),r.end.assign("minute",i),s>=0?r.end.assign("meridiem",s):r.start.isCertain("meridiem")&&r.start.get("hour")>12?r.start.get("hour")-12>a?r.end.imply("meridiem",O.AM):a<=12&&(r.end.assign("hour",a+12),r.end.assign("meridiem",O.PM)):a>12?r.end.imply("meridiem",O.PM):a<=12&&r.end.imply("meridiem",O.AM),r.end.date().getTime()<r.start.date().getTime()&&r.end.imply("day",r.end.get("day")+1),r}}});var $m,g2=b(()=>{Sa();$m=class extends Nt{patternBetween(){return/^\s*(の)?\s*$/i}}});var Ym,y2=b(()=>{gs();Ym=class extends Sn{mergeResults(t,e,r){let a=e.clone();return a.text=e.text+t+r.text,a.start.assign("weekday",r.start.get("weekday")),a.end&&a.end.assign("weekday",r.start.get("weekday")),a}shouldMergeResults(t,e,r){return e.start.isCertain("day")&&r.start.isOnlyWeekdayComponent()&&!r.start.isCertain("hour")&&t.match(/^[,、の]?\s*$/)!==null}}});var Yie,Gm,v2=b(()=>{_d();Xa();Yie=new RegExp("(?:\\(|\\\uFF08)(?<weekday>"+Object.keys(Id).join("|")+")(?:\\)|\\\uFF09)","i"),Gm=class{pattern(){return Yie}extract(t,e){let r=e.groups.weekday,a=Id[r];return a===void 0?null:sr(t.reference,a)}}});var AD={};Be(AD,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>PD,createCasualConfiguration:()=>b2,createConfiguration:()=>MD,parse:()=>Kie,parseDate:()=>Qie,strict:()=>Gie});function Kie(n,t,e){return PD.parse(n,t,e)}function Qie(n,t,e){return PD.parseDate(n,t,e)}function b2(){let n=MD(!1);return n.parsers.unshift(new Um),n}function MD(n=!0){let t=Ot({parsers:[new Hm,new Wm,new Gm,new qm,new Vm],refiners:[new Ym,new $m,new zm]},n);return t.refiners=t.refiners.filter(e=>!(e instanceof Rl)),t}var PD,Gie,T2=b(()=>{l2();c2();u2();p2();h2();f2();g2();Dn();Ne();Ze();y2();v2();Qn();nD();PD=new ve(b2()),Gie=new ve(MD(!0))});function w2(n){if(n.match(/^[0-9]{1,4}$/)){let t=parseInt(n);return t<100&&(t>50?t=t+1900:t=t+2e3),t}return n.match(/a\.?\s*c\.?/i)?(n=n.replace(/a\.?\s*c\.?/i,""),-parseInt(n)):parseInt(n)}var ID,_D,k2,vv=b(()=>{ID={domingo:0,dom:0,segunda:1,"segunda-feira":1,seg:1,ter\u00E7a:2,"ter\xE7a-feira":2,ter:2,quarta:3,"quarta-feira":3,qua:3,quinta:4,"quinta-feira":4,qui:4,sexta:5,"sexta-feira":5,sex:5,s\u00E1bado:6,sabado:6,sab:6},_D={janeiro:1,jan:1,"jan.":1,fevereiro:2,fev:2,"fev.":2,mar\u00E7o:3,mar:3,"mar.":3,abril:4,abr:4,"abr.":4,maio:5,mai:5,"mai.":5,junho:6,jun:6,"jun.":6,julho:7,jul:7,"jul.":7,agosto:8,ago:8,"ago.":8,setembro:9,set:9,"set.":9,outubro:10,out:10,"out.":10,novembro:11,nov:11,"nov.":11,dezembro:12,dez:12,"dez.":12},k2="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?"});var Zie,Jie,Xie,ese,Km,S2=b(()=>{vv();$e();se();Xa();Zie=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${X(ID)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),Jie=1,Xie=2,ese=3,Km=class extends j{innerPattern(){return Zie}innerExtract(t,e){let r=e[Xie].toLowerCase(),a=ID[r];if(a===void 0)return null;let i=e[Jie],s=e[ese],o=i||s||"";o=o.toLowerCase();let l=null;return o=="passado"?l="this":o=="pr\xF3ximo"||o=="proximo"?l="next":o=="este"&&(l="this"),sr(t.reference,a,l)}}});var Qm,D2=b(()=>{fs();Qm=class extends Er{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}}});var Zm,E2=b(()=>{Sa();Zm=class extends Nt{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}}});var Jm,x2=b(()=>{wa();Jm=class extends _t{patternBetween(){return/^\s*(?:-)\s*$/i}}});var tse,C2,P2,rse,M2,Xm,A2=b(()=>{Yt();vv();vv();$e();se();tse=new RegExp(`([0-9]{1,2})(?:\xBA|\xAA|\xB0)?(?:\\s*(?:desde|de|\\-|\\\u2013|ao?|\\s)\\s*([0-9]{1,2})(?:\xBA|\xAA|\xB0)?)?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${X(_D)})(?:\\s*(?:de|,)?\\s*(${k2}))?(?=\\W|$)`,"i"),C2=1,P2=2,rse=3,M2=4,Xm=class extends j{innerPattern(){return tse}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=_D[e[rse].toLowerCase()],i=parseInt(e[C2]);if(i>31)return e.index=e.index+e[C2].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[M2]){let s=w2(e[M2]);r.start.assign("year",s)}else{let s=lt(t.refDate,i,a);r.start.imply("year",s)}if(e[P2]){let s=parseInt(e[P2]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var eh,I2=b(()=>{se();Zn();eh=class extends j{innerPattern(t){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(t,e){let r=e[0].toLowerCase(),a=t.createParsingComponents();switch(r){case"agora":return Yr(t.reference);case"hoje":return xr(t.reference);case"amanha":case"amanh\xE3":return Kr(t.reference);case"ontem":return Gr(t.reference)}return a}}});var _2,th,N2=b(()=>{Ze();se();Kn();_2=Ie(nt(),1),th=class extends j{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(t,e){let r=(0,_2.default)(t.refDate),a=t.createParsingComponents();switch(e[1].toLowerCase()){case"tarde":a.imply("meridiem",O.PM),a.imply("hour",15);break;case"noite":a.imply("meridiem",O.PM),a.imply("hour",22);break;case"manha":case"manh\xE3":a.imply("meridiem",O.AM),a.imply("hour",6);break;case"meia-noite":Za(a,r),a.imply("hour",0),a.imply("minute",0),a.imply("second",0);break;case"meio-dia":a.imply("meridiem",O.AM),a.imply("hour",12);break}return a}}});var FD={};Be(FD,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>ND,createCasualConfiguration:()=>R2,createConfiguration:()=>RD,parse:()=>ase,parseDate:()=>ise,strict:()=>nse});function ase(n,t,e){return ND.parse(n,t,e)}function ise(n,t,e){return ND.parseDate(n,t,e)}function R2(n=!0){let t=RD(!1,n);return t.parsers.push(new eh),t.parsers.push(new th),t}function RD(n=!0,t=!0){return Ot({parsers:[new gr(t),new Km,new Qm,new Xm],refiners:[new Zm,new Jm]},n)}var ND,nse,F2=b(()=>{Qn();Dn();Ne();Ze();vs();S2();D2();E2();x2();A2();I2();N2();ND=new ve(R2()),nse=new ve(RD(!0))});var rh,O2=b(()=>{wa();rh=class extends _t{patternBetween(){return/^\s*(tot|-)\s*$/i}}});var nh,L2=b(()=>{Sa();nh=class extends Nt{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}}});var ah,B2=b(()=>{se();Zn();ah=class extends j{innerPattern(t){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(t,e){let r=e[0].toLowerCase(),a=t.createParsingComponents();switch(r){case"nu":return Yr(t.reference);case"vandaag":return xr(t.reference);case"morgen":case"morgend":return Kr(t.reference);case"gisteren":return Gr(t.reference)}return a}}});var j2,sse,ose,ih,H2=b(()=>{Ze();se();j2=Ie(nt(),1);Kn();sse=1,ose=2,ih=class extends j{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(t,e){let r=(0,j2.default)(t.refDate),a=t.createParsingComponents();switch(e[sse]==="deze"&&(a.assign("day",t.refDate.getDate()),a.assign("month",t.refDate.getMonth()+1),a.assign("year",t.refDate.getFullYear())),e[ose].toLowerCase()){case"namiddag":case"'s namiddags":a.imply("meridiem",O.PM),a.imply("hour",15);break;case"avond":case"'s avonds'":a.imply("meridiem",O.PM),a.imply("hour",20);break;case"middernacht":Za(a,r),a.imply("hour",0),a.imply("minute",0),a.imply("second",0);break;case"ochtend":case"'s ochtends":a.imply("meridiem",O.AM),a.imply("hour",6);break;case"middag":case"'s middags":a.imply("meridiem",O.AM),a.imply("hour",12);break}return a}}});function cse(n){let t=n.toLowerCase();return OD[t]!==void 0?OD[t]:t==="paar"?2:t==="half"||t.match(/halve?/)?.5:parseFloat(t.replace(",","."))}function HD(n){let t=n.toLowerCase();return LD[t]!==void 0?LD[t]:(t=t.replace(/(?:ste|de)$/i,""),parseInt(t))}function Tv(n){if(/voor Christus/i.test(n))return n=n.replace(/voor Christus/i,""),-parseInt(n);if(/na Christus/i.test(n))return n=n.replace(/na Christus/i,""),parseInt(n);let t=parseInt(n);return wn(t)}function bo(n){let t={},e=n,r=z2.exec(e);for(;r;)dse(t,r),e=e.substring(r[0].length),r=z2.exec(e);return t}function dse(n,t){let e=cse(t[1]),r=sh[t[2].toLowerCase()];n[r]=e}var BD,bs,OD,LD,sh,lse,jD,bv,U2,z2,wi,Xn=b(()=>{$e();Yt();BD={zondag:0,zon:0,"zon.":0,zo:0,"zo.":0,maandag:1,ma:1,"ma.":1,dinsdag:2,din:2,"din.":2,di:2,"di.":2,woensdag:3,woe:3,"woe.":3,wo:3,"wo.":3,donderdag:4,dond:4,"dond.":4,do:4,"do.":4,vrijdag:5,vrij:5,"vrij.":5,vr:5,"vr.":5,zaterdag:6,zat:6,"zat.":6,za:6,"za.":6},bs={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,maart:3,mar:3,"mar.":3,mrt:3,"mrt.":3,april:4,apr:4,"apr.":4,mei:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,augustus:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,december:12,dec:12,"dec.":12},OD={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12},LD={eerste:1,tweede:2,derde:3,vierde:4,vijfde:5,zesde:6,zevende:7,achtste:8,negende:9,tiende:10,elfde:11,twaalfde:12,dertiende:13,veertiende:14,vijftiende:15,zestiende:16,zeventiende:17,achttiende:18,negentiende:19,twintigste:20,eenentwintigste:21,twee\u00EBntwintigste:22,drieentwintigste:23,vierentwintigste:24,vijfentwintigste:25,zesentwintigste:26,zevenentwintigste:27,achtentwintig:28,negenentwintig:29,dertigste:30,eenendertigste:31},sh={sec:"second",second:"second",seconden:"second",min:"minute",mins:"minute",minute:"minute",minuut:"minute",minuten:"minute",minuutje:"minute",h:"hour",hr:"hour",hrs:"hour",uur:"hour",u:"hour",uren:"hour",dag:"d",dagen:"d",week:"week",weken:"week",maand:"month",maanden:"month",jaar:"year",jr:"year",jaren:"year"},lse=`(?:${X(OD)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;jD=`(?:${X(LD)}|[0-9]{1,2}(?:ste|de)?)`;bv="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";U2=`(${lse})\\s{0,5}(${X(sh)})\\s{0,5}`,z2=new RegExp(U2,"i"),wi=dn("(?:(?:binnen|in)\\s*)?",U2)});var oh,W2=b(()=>{Xn();Ne();se();oh=class extends j{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+wi+")(?=\\W|$)","i")}innerExtract(t,e){let r=bo(e[1]);return G.createRelativeFromReference(t.reference,r)}}});var use,pse,mse,hse,lh,q2=b(()=>{Xn();$e();se();Xa();use=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${X(BD)})(?=\\W|$)`,"i"),pse=1,mse=2,hse=3,lh=class extends j{innerPattern(){return use}innerExtract(t,e){let r=e[mse].toLowerCase(),a=BD[r],i=e[pse],s=e[hse],o=i||s;o=o||"",o=o.toLowerCase();let l=null;return o=="vorige"?l="last":o=="volgende"?l="next":o=="deze"&&(l="this"),sr(t.reference,a,l)}}});var fse,gse,V2,$2,Y2,ch,G2=b(()=>{Yt();Xn();Xn();Xn();$e();se();fse=new RegExp(`(?:on\\s*?)?(${jD})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${jD}))?(?:-|/|\\s*(?:of)?\\s*)(`+X(bs)+`)(?:(?:-|/|,?\\s*)(${bv}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),gse=3,V2=1,$2=2,Y2=4,ch=class extends j{innerPattern(){return fse}innerExtract(t,e){let r=bs[e[gse].toLowerCase()],a=HD(e[V2]);if(a>31)return e.index=e.index+e[V2].length,null;let i=t.createParsingComponents({day:a,month:r});if(e[Y2]){let l=Tv(e[Y2]);i.assign("year",l)}else{let l=lt(t.refDate,a,r);i.imply("year",l)}if(!e[$2])return i;let s=HD(e[$2]),o=t.createParsingResult(e.index,e[0]);return o.start=i,o.end=i.clone(),o.end.assign("day",s),o}}});var yse,vse,K2,Rd,Q2=b(()=>{Xn();Yt();$e();Xn();se();yse=new RegExp(`(${X(bs)})\\s*(?:[,-]?\\s*(${bv})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),vse=1,K2=2,Rd=class extends j{innerPattern(){return yse}innerExtract(t,e){let r=t.createParsingComponents();r.imply("day",1);let a=e[vse],i=bs[a.toLowerCase()];if(r.assign("month",i),e[K2]){let s=Tv(e[K2]);r.assign("year",s)}else{let s=lt(t.refDate,1,i);r.imply("year",s)}return r}}});var bse,Tse,kse,dh,Z2=b(()=>{se();bse=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),Tse=1,kse=2,dh=class extends j{innerPattern(){return bse}innerExtract(t,e){let r=parseInt(e[kse]),a=parseInt(e[Tse]);return t.createParsingComponents().imply("day",1).assign("month",a).assign("year",r)}}});var uh,J2=b(()=>{fs();uh=class extends Er{primaryPrefix(){return"(?:(?:om)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|om|\\?)\\s*"}primarySuffix(){return"(?:\\s*(?:uur))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}}});var wse,Sse,Dse,X2,Ese,ph,eq=b(()=>{Xn();$e();se();wse=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${X(bs)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),Sse=1,Dse=2,X2=3,Ese=4,ph=class extends j{innerPattern(){return wse}innerExtract(t,e){let r=e[X2]?parseInt(e[X2]):bs[e[Dse].toLowerCase()];if(r<1||r>12)return null;let a=parseInt(e[Sse]);return{day:parseInt(e[Ese]),month:r,year:a}}}});var tq,xse,Cse,mh,rq=b(()=>{se();Ze();Kn();tq=Ie(nt(),1),xse=1,Cse=2,mh=class extends j{innerPattern(t){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(t,e){let r=e[xse].toLowerCase(),a=e[Cse].toLowerCase(),i=t.createParsingComponents(),s=(0,tq.default)(t.refDate);switch(r){case"gisteren":xt(i,s.add(-1,"day"));break;case"van":xt(i,s);break;case"morgen":Za(i,s);break}switch(a){case"ochtend":i.imply("meridiem",O.AM),i.imply("hour",6);break;case"middag":i.imply("meridiem",O.AM),i.imply("hour",12);break;case"namiddag":i.imply("meridiem",O.PM),i.imply("hour",15);break;case"avond":i.imply("meridiem",O.PM),i.imply("hour",20);break}return i}}});var Pse,Mse,Ase,hh,nq=b(()=>{Xn();Ne();se();Jn();Pse=new RegExp(`(dit|deze|vorig|afgelopen|(?:aan)?komend|over|\\+|-)e?\\s*(${wi})(?=\\W|$)`,"i"),Mse=1,Ase=2,hh=class extends j{innerPattern(){return Pse}innerExtract(t,e){let r=e[Mse].toLowerCase(),a=bo(e[Ase]);switch(r){case"vorig":case"afgelopen":case"-":a=ir(a);break}return G.createRelativeFromReference(t.reference,a)}}});var aq,Ise,_se,Nse,fh,iq=b(()=>{Xn();Ne();aq=Ie(nt(),1);se();$e();Ise=new RegExp(`(dit|deze|(?:aan)?komend|volgend|afgelopen|vorig)e?\\s*(${X(sh)})(?=\\s*)(?=\\W|$)`,"i"),_se=1,Nse=2,fh=class extends j{innerPattern(){return Ise}innerExtract(t,e){let r=e[_se].toLowerCase(),a=e[Nse].toLowerCase(),i=sh[a];if(r=="volgend"||r=="komend"||r=="aankomend"){let l={};return l[i]=1,G.createRelativeFromReference(t.reference,l)}if(r=="afgelopen"||r=="vorig"){let l={};return l[i]=-1,G.createRelativeFromReference(t.reference,l)}let s=t.createParsingComponents(),o=(0,aq.default)(t.reference.instant);return a.match(/week/i)?(o=o.add(-o.get("d"),"d"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.imply("year",o.year())):a.match(/maand/i)?(o=o.add(-o.date()+1,"d"),s.imply("day",o.date()),s.assign("year",o.year()),s.assign("month",o.month()+1)):a.match(/jaar/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.assign("year",o.year())),s}}});var Rse,Fse,gh,sq=b(()=>{Xn();Ne();se();Jn();Rse=new RegExp("("+wi+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),Fse=new RegExp("("+wi+")geleden(?=(?:\\W|$))","i"),gh=class extends j{constructor(e){super();C(this,"strictMode");this.strictMode=e}innerPattern(){return this.strictMode?Fse:Rse}innerExtract(e,r){let a=bo(r[1]),i=ir(a);return G.createRelativeFromReference(e.reference,i)}}});var Ose,Lse,Bse,yh,oq=b(()=>{Xn();Ne();se();Ose=new RegExp("("+wi+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),Lse=new RegExp("("+wi+")(later|vanaf nu)(?=(?:\\W|$))","i"),Bse=1,yh=class extends j{constructor(e){super();C(this,"strictMode");this.strictMode=e}innerPattern(){return this.strictMode?Lse:Ose}innerExtract(e,r){let a=bo(r[Bse]);return G.createRelativeFromReference(e.reference,a)}}});var WD={};Be(WD,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>zD,createCasualConfiguration:()=>lq,createConfiguration:()=>UD,parse:()=>Hse,parseDate:()=>zse,strict:()=>jse});function Hse(n,t,e){return zD.parse(n,t,e)}function zse(n,t,e){return zD.parseDate(n,t,e)}function lq(n=!0){let t=UD(!1,n);return t.parsers.unshift(new ah),t.parsers.unshift(new ih),t.parsers.unshift(new mh),t.parsers.unshift(new Rd),t.parsers.unshift(new fh),t.parsers.unshift(new hh),t}function UD(n=!0,t=!0){return Ot({parsers:[new gr(t),new oh,new ch,new Rd,new lh,new ph,new dh,new uh(n),new gh(n),new yh(n)],refiners:[new nh,new rh]},n)}var zD,jse,cq=b(()=>{Qn();Dn();Ne();Ze();O2();L2();B2();H2();vs();W2();q2();G2();Q2();Z2();J2();eq();rq();nq();iq();sq();oq();zD=new ve(lq()),jse=new ve(UD(!0))});function Ea(n){let t=0;for(let e=0;e<n.length;e++){let r=n[e];r==="\u5341"?t=t===0?Cr[r]:t*Cr[r]:t+=Cr[r]}return t}function dq(n){let t="";for(let e=0;e<n.length;e++){let r=n[e];t=t+Cr[r]}return parseInt(t)}var Cr,Fd,Od=b(()=>{Cr={\u96F6:0,"\u3007":0,\u4E00:1,\u4E8C:2,\u4E24:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10},Fd={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6}});var pq,qD,uq,VD,Hl,$D=b(()=>{pq=Ie(nt(),1);se();Od();qD=1,uq=2,VD=3,Hl=class extends j{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(Cr).join("")+"]{4}|["+Object.keys(Cr).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(Cr).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(Cr).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(t,e){let r=(0,pq.default)(t.refDate),a=t.createParsingResult(e.index,e[0]),i=parseInt(e[uq]);if(isNaN(i)&&(i=Ea(e[uq])),a.start.assign("month",i),e[VD]){let s=parseInt(e[VD]);isNaN(s)&&(s=Ea(e[VD])),a.start.assign("day",s)}else a.start.imply("day",r.date());if(e[qD]){let s=parseInt(e[qD]);isNaN(s)&&(s=dq(e[qD])),a.start.assign("year",s)}else a.start.imply("year",r.year());return a}}});var mq,Use,YD,Wse,zl,GD=b(()=>{mq=Ie(nt(),1);se();Od();Use=new RegExp("(\\d+|["+Object.keys(Cr).join("")+"]+|\u534A|\u51E0)(?:\\s*)(?:\u4E2A)?(\u79D2(?:\u949F)?|\u5206\u949F|\u5C0F\u65F6|\u949F|\u65E5|\u5929|\u661F\u671F|\u793C\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u8FC7)?\u540E|(?:\u4E4B)?\u5185)","i"),YD=1,Wse=2,zl=class extends j{innerPattern(){return Use}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=parseInt(e[YD]);if(isNaN(a)&&(a=Ea(e[YD])),isNaN(a)){let l=e[YD];if(l==="\u51E0")a=3;else if(l==="\u534A")a=.5;else return null}let i=(0,mq.default)(t.refDate),o=e[Wse][0];return o.match(/[日天星礼月年]/)?(o=="\u65E5"||o=="\u5929"?i=i.add(a,"d"):o=="\u661F"||o=="\u793C"?i=i.add(a*7,"d"):o=="\u6708"?i=i.add(a,"month"):o=="\u5E74"&&(i=i.add(a,"year")),r.start.assign("year",i.year()),r.start.assign("month",i.month()+1),r.start.assign("day",i.date()),r):(o=="\u79D2"?i=i.add(a,"second"):o=="\u5206"?i=i.add(a,"minute"):(o=="\u5C0F"||o=="\u949F")&&(i=i.add(a,"hour")),r.start.imply("year",i.year()),r.start.imply("month",i.month()+1),r.start.imply("day",i.date()),r.start.assign("hour",i.hour()),r.start.assign("minute",i.minute()),r.start.assign("second",i.second()),r)}}});var hq,qse,Ul,KD=b(()=>{hq=Ie(nt(),1);se();Od();qse=new RegExp("(?<prefix>\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(Fd).join("|")+")"),Ul=class extends j{innerPattern(){return qse}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=e.groups.weekday,i=Fd[a];if(i===void 0)return null;let s=null,o=e.groups.prefix;o=="\u4E0A"?s="last":o=="\u4E0B"?s="next":o=="\u8FD9"&&(s="this");let l=(0,hq.default)(t.refDate),c=!1,d=l.day();return s=="last"||s=="past"?(l=l.day(i-7),c=!0):s=="next"?(l=l.day(i+7),c=!0):s=="this"?l=l.day(i):Math.abs(i-7-d)<Math.abs(i-d)?l=l.day(i-7):Math.abs(i+7-d)<Math.abs(i-d)?l=l.day(i+7):l=l.day(i),r.start.assign("weekday",i),c?(r.start.assign("day",l.date()),r.start.assign("month",l.month()+1),r.start.assign("year",l.year())):(r.start.imply("day",l.date()),r.start.imply("month",l.month()+1),r.start.imply("year",l.year())),r}}});var fq,Vse,$se,kv,wv,Sv,Dv,Ev,xv,xa,Ld,Cv,Wl,QD=b(()=>{fq=Ie(nt(),1);se();Od();Vse=new RegExp("(?:\u4ECE|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Cr).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Cr).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Cr).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),$se=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Cr).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Cr).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Cr).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),kv=1,wv=2,Sv=3,Dv=4,Ev=5,xv=6,xa=7,Ld=8,Cv=9,Wl=class extends j{innerPattern(){return Vse}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let r=(0,fq.default)(t.refDate),a=t.createParsingResult(e.index,e[0]),i=r.clone();if(e[kv]){let d=e[kv];d=="\u660E"?r.hour()>1&&(i=i.add(1,"day")):d=="\u6628"?i=i.add(-1,"day"):d=="\u524D"?i=i.add(-2,"day"):d=="\u5927\u524D"?i=i.add(-3,"day"):d=="\u540E"?i=i.add(2,"day"):d=="\u5927\u540E"&&(i=i.add(3,"day")),a.start.assign("day",i.date()),a.start.assign("month",i.month()+1),a.start.assign("year",i.year())}else if(e[Dv]){let d=e[Dv];d=="\u660E"?i=i.add(1,"day"):d=="\u6628"?i=i.add(-1,"day"):d=="\u524D"?i=i.add(-2,"day"):d=="\u5927\u524D"?i=i.add(-3,"day"):d=="\u540E"?i=i.add(2,"day"):d=="\u5927\u540E"&&(i=i.add(3,"day")),a.start.assign("day",i.date()),a.start.assign("month",i.month()+1),a.start.assign("year",i.year())}else a.start.imply("day",i.date()),a.start.imply("month",i.month()+1),a.start.imply("year",i.year());let s=0,o=0,l=-1;if(e[Ld]){let d=parseInt(e[Ld]);if(isNaN(d)&&(d=Ea(e[Ld])),d>=60)return null;a.start.assign("second",d)}if(s=parseInt(e[xv]),isNaN(s)&&(s=Ea(e[xv])),e[xa]?e[xa]=="\u534A"?o=30:e[xa]=="\u6B63"||e[xa]=="\u6574"?o=0:(o=parseInt(e[xa]),isNaN(o)&&(o=Ea(e[xa]))):s>100&&(o=s%100,s=Math.floor(s/100)),o>=60||s>24)return null;if(s>=12&&(l=1),e[Cv]){if(s>12)return null;let d=e[Cv][0].toLowerCase();d=="a"&&(l=0,s==12&&(s=0)),d=="p"&&(l=1,s!=12&&(s+=12))}else if(e[wv]){let u=e[wv][0];u=="\u65E9"?(l=0,s==12&&(s=0)):u=="\u665A"&&(l=1,s!=12&&(s+=12))}else if(e[Sv]){let u=e[Sv][0];u=="\u4E0A"||u=="\u65E9"||u=="\u51CC"?(l=0,s==12&&(s=0)):(u=="\u4E0B"||u=="\u665A")&&(l=1,s!=12&&(s+=12))}else if(e[Ev]){let u=e[Ev][0];u=="\u4E0A"||u=="\u65E9"||u=="\u51CC"?(l=0,s==12&&(s=0)):(u=="\u4E0B"||u=="\u665A")&&(l=1,s!=12&&(s+=12))}if(a.start.assign("hour",s),a.start.assign("minute",o),l>=0?a.start.assign("meridiem",l):s<12?a.start.imply("meridiem",0):a.start.imply("meridiem",1),e=$se.exec(t.text.substring(a.index+a.text.length)),!e)return a.text.match(/^\d+$/)?null:a;let c=i.clone();if(a.end=t.createParsingComponents(),e[kv]){let d=e[kv];d=="\u660E"?r.hour()>1&&(c=c.add(1,"day")):d=="\u6628"?c=c.add(-1,"day"):d=="\u524D"?c=c.add(-2,"day"):d=="\u5927\u524D"?c=c.add(-3,"day"):d=="\u540E"?c=c.add(2,"day"):d=="\u5927\u540E"&&(c=c.add(3,"day")),a.end.assign("day",c.date()),a.end.assign("month",c.month()+1),a.end.assign("year",c.year())}else if(e[Dv]){let d=e[Dv];d=="\u660E"?c=c.add(1,"day"):d=="\u6628"?c=c.add(-1,"day"):d=="\u524D"?c=c.add(-2,"day"):d=="\u5927\u524D"?c=c.add(-3,"day"):d=="\u540E"?c=c.add(2,"day"):d=="\u5927\u540E"&&(c=c.add(3,"day")),a.end.assign("day",c.date()),a.end.assign("month",c.month()+1),a.end.assign("year",c.year())}else a.end.imply("day",c.date()),a.end.imply("month",c.month()+1),a.end.imply("year",c.year());if(s=0,o=0,l=-1,e[Ld]){let d=parseInt(e[Ld]);if(isNaN(d)&&(d=Ea(e[Ld])),d>=60)return null;a.end.assign("second",d)}if(s=parseInt(e[xv]),isNaN(s)&&(s=Ea(e[xv])),e[xa]?e[xa]=="\u534A"?o=30:e[xa]=="\u6B63"||e[xa]=="\u6574"?o=0:(o=parseInt(e[xa]),isNaN(o)&&(o=Ea(e[xa]))):s>100&&(o=s%100,s=Math.floor(s/100)),o>=60||s>24)return null;if(s>=12&&(l=1),e[Cv]){if(s>12)return null;let d=e[Cv][0].toLowerCase();d=="a"&&(l=0,s==12&&(s=0)),d=="p"&&(l=1,s!=12&&(s+=12)),a.start.isCertain("meridiem")||(l==0?(a.start.imply("meridiem",0),a.start.get("hour")==12&&a.start.assign("hour",0)):(a.start.imply("meridiem",1),a.start.get("hour")!=12&&a.start.assign("hour",a.start.get("hour")+12)))}else if(e[wv]){let u=e[wv][0];u=="\u65E9"?(l=0,s==12&&(s=0)):u=="\u665A"&&(l=1,s!=12&&(s+=12))}else if(e[Sv]){let u=e[Sv][0];u=="\u4E0A"||u=="\u65E9"||u=="\u51CC"?(l=0,s==12&&(s=0)):(u=="\u4E0B"||u=="\u665A")&&(l=1,s!=12&&(s+=12))}else if(e[Ev]){let u=e[Ev][0];u=="\u4E0A"||u=="\u65E9"||u=="\u51CC"?(l=0,s==12&&(s=0)):(u=="\u4E0B"||u=="\u665A")&&(l=1,s!=12&&(s+=12))}return a.text=a.text+e[0],a.end.assign("hour",s),a.end.assign("minute",o),l>=0?a.end.assign("meridiem",l):a.start.isCertain("meridiem")&&a.start.get("meridiem")==1&&a.start.get("hour")>s?a.end.imply("meridiem",0):s>12&&a.end.imply("meridiem",1),a.end.date().getTime()<a.start.date().getTime()&&a.end.imply("day",a.end.get("day")+1),a}}});var gq,Yse,ql,ZD=b(()=>{gq=Ie(nt(),1);se();Od();Yse=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(Fd).join("|")+")"),ql=class extends j{innerPattern(){return Yse}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=e.groups.weekday,i=Fd[a];if(i===void 0)return null;let s=(0,gq.default)(t.refDate),o=!1,l=s.day();return Math.abs(i-7-l)<Math.abs(i-l)?s=s.day(i-7):Math.abs(i+7-l)<Math.abs(i-l)?s=s.day(i+7):s=s.day(i),r.start.assign("weekday",i),o?(r.start.assign("day",s.date()),r.start.assign("month",s.month()+1),r.start.assign("year",s.year())):(r.start.imply("day",s.date()),r.start.imply("month",s.month()+1),r.start.imply("year",s.year())),r}}});var Tq,Gse,yq,Kse,vq,bq,Qse,Vl,JD=b(()=>{Tq=Ie(nt(),1);se();Gse=1,yq=2,Kse=3,vq=4,bq=5,Qse=6,Vl=class extends j{innerPattern(t){return new RegExp("(\u800C\u5BB6|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(t,e){let r=e.index,a=t.createParsingResult(r,e[0]),i=(0,Tq.default)(t.refDate),s=i;if(e[Gse])a.start.imply("hour",i.hour()),a.start.imply("minute",i.minute()),a.start.imply("second",i.second()),a.start.imply("millisecond",i.millisecond());else if(e[yq]){let o=e[yq],l=e[Kse];o=="\u660E"||o=="\u807D"?i.hour()>1&&(s=s.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?s=s.add(-1,"day"):o=="\u524D"?s=s.add(-2,"day"):o=="\u5927\u524D"?s=s.add(-3,"day"):o=="\u5F8C"?s=s.add(2,"day"):o=="\u5927\u5F8C"&&(s=s.add(3,"day")),l=="\u65E9"||l=="\u671D"?a.start.imply("hour",6):l=="\u665A"&&(a.start.imply("hour",22),a.start.imply("meridiem",1))}else if(e[vq]){let l=e[vq][0];l=="\u65E9"||l=="\u671D"||l=="\u4E0A"?a.start.imply("hour",6):l=="\u4E0B"||l=="\u664F"?(a.start.imply("hour",15),a.start.imply("meridiem",1)):l=="\u4E2D"?(a.start.imply("hour",12),a.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(a.start.imply("hour",22),a.start.imply("meridiem",1)):l=="\u51CC"&&a.start.imply("hour",0)}else if(e[bq]){let o=e[bq];o=="\u660E"||o=="\u807D"?i.hour()>1&&(s=s.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?s=s.add(-1,"day"):o=="\u524D"?s=s.add(-2,"day"):o=="\u5927\u524D"?s=s.add(-3,"day"):o=="\u5F8C"?s=s.add(2,"day"):o=="\u5927\u5F8C"&&(s=s.add(3,"day"));let l=e[Qse];if(l){let c=l[0];c=="\u65E9"||c=="\u671D"||c=="\u4E0A"?a.start.imply("hour",6):c=="\u4E0B"||c=="\u664F"?(a.start.imply("hour",15),a.start.imply("meridiem",1)):c=="\u4E2D"?(a.start.imply("hour",12),a.start.imply("meridiem",1)):c=="\u591C"||c=="\u665A"?(a.start.imply("hour",22),a.start.imply("meridiem",1)):c=="\u51CC"&&a.start.imply("hour",0)}}return a.start.assign("day",s.date()),a.start.assign("month",s.month()+1),a.start.assign("year",s.year()),a}}});function Ca(n){let t=0;for(let e=0;e<n.length;e++){let r=n[e];r==="\u5341"?t=t===0?Pr[r]:t*Pr[r]:t+=Pr[r]}return t}function kq(n){let t="";for(let e=0;e<n.length;e++){let r=n[e];t=t+Pr[r]}return parseInt(t)}var Pr,Bd,jd=b(()=>{Pr={\u96F6:0,\u4E00:1,\u4E8C:2,\u5169:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10,\u5EFF:20,\u5345:30},Bd={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6}});var Sq,XD,wq,eE,$l,tE=b(()=>{Sq=Ie(nt(),1);se();jd();XD=1,wq=2,eE=3,$l=class extends j{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(Pr).join("")+"]{4}|["+Object.keys(Pr).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(Pr).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(Pr).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(t,e){let r=(0,Sq.default)(t.refDate),a=t.createParsingResult(e.index,e[0]),i=parseInt(e[wq]);if(isNaN(i)&&(i=Ca(e[wq])),a.start.assign("month",i),e[eE]){let s=parseInt(e[eE]);isNaN(s)&&(s=Ca(e[eE])),a.start.assign("day",s)}else a.start.imply("day",r.date());if(e[XD]){let s=parseInt(e[XD]);isNaN(s)&&(s=kq(e[XD])),a.start.assign("year",s)}else a.start.imply("year",r.year());return a}}});var Dq,Zse,rE,Jse,Yl,nE=b(()=>{Dq=Ie(nt(),1);se();jd();Zse=new RegExp("(\\d+|["+Object.keys(Pr).join("")+"]+|\u534A|\u5E7E)(?:\\s*)(?:\u500B)?(\u79D2(?:\u9418)?|\u5206\u9418|\u5C0F\u6642|\u9418|\u65E5|\u5929|\u661F\u671F|\u79AE\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u904E)?\u5F8C|(?:\u4E4B)?\u5167)","i"),rE=1,Jse=2,Yl=class extends j{innerPattern(){return Zse}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=parseInt(e[rE]);if(isNaN(a)&&(a=Ca(e[rE])),isNaN(a)){let l=e[rE];if(l==="\u5E7E")a=3;else if(l==="\u534A")a=.5;else return null}let i=(0,Dq.default)(t.refDate),o=e[Jse][0];return o.match(/[日天星禮月年]/)?(o=="\u65E5"||o=="\u5929"?i=i.add(a,"d"):o=="\u661F"||o=="\u79AE"?i=i.add(a*7,"d"):o=="\u6708"?i=i.add(a,"month"):o=="\u5E74"&&(i=i.add(a,"year")),r.start.assign("year",i.year()),r.start.assign("month",i.month()+1),r.start.assign("day",i.date()),r):(o=="\u79D2"?i=i.add(a,"second"):o=="\u5206"?i=i.add(a,"minute"):(o=="\u5C0F"||o=="\u9418")&&(i=i.add(a,"hour")),r.start.imply("year",i.year()),r.start.imply("month",i.month()+1),r.start.imply("day",i.date()),r.start.assign("hour",i.hour()),r.start.assign("minute",i.minute()),r.start.assign("second",i.second()),r)}}});var Eq,Xse,Gl,aE=b(()=>{Eq=Ie(nt(),1);se();jd();Xse=new RegExp("(?<prefix>\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(Bd).join("|")+")"),Gl=class extends j{innerPattern(){return Xse}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=e.groups.weekday,i=Bd[a];if(i===void 0)return null;let s=null,o=e.groups.prefix;o=="\u4E0A"?s="last":o=="\u4E0B"?s="next":(o=="\u4ECA"||o=="\u9019"||o=="\u5462")&&(s="this");let l=(0,Eq.default)(t.refDate),c=!1,d=l.day();return s=="last"||s=="past"?(l=l.day(i-7),c=!0):s=="next"?(l=l.day(i+7),c=!0):s=="this"?l=l.day(i):Math.abs(i-7-d)<Math.abs(i-d)?l=l.day(i-7):Math.abs(i+7-d)<Math.abs(i-d)?l=l.day(i+7):l=l.day(i),r.start.assign("weekday",i),c?(r.start.assign("day",l.date()),r.start.assign("month",l.month()+1),r.start.assign("year",l.year())):(r.start.imply("day",l.date()),r.start.imply("month",l.month()+1),r.start.imply("year",l.year())),r}}});var xq,eoe,toe,Pv,Mv,Av,Iv,_v,Nv,Pa,Hd,Rv,Kl,iE=b(()=>{xq=Ie(nt(),1);se();jd();eoe=new RegExp("(?:\u7531|\u5F9E|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Pr).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Pr).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Pr).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),toe=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Pr).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Pr).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Pr).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),Pv=1,Mv=2,Av=3,Iv=4,_v=5,Nv=6,Pa=7,Hd=8,Rv=9,Kl=class extends j{innerPattern(){return eoe}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let r=(0,xq.default)(t.refDate),a=t.createParsingResult(e.index,e[0]),i=r.clone();if(e[Pv]){var s=e[Pv];s=="\u660E"||s=="\u807D"?r.hour()>1&&(i=i.add(1,"day")):s=="\u6628"||s=="\u5C0B"||s=="\u7434"?i=i.add(-1,"day"):s=="\u524D"?i=i.add(-2,"day"):s=="\u5927\u524D"?i=i.add(-3,"day"):s=="\u5F8C"?i=i.add(2,"day"):s=="\u5927\u5F8C"&&(i=i.add(3,"day")),a.start.assign("day",i.date()),a.start.assign("month",i.month()+1),a.start.assign("year",i.year())}else if(e[Iv]){var o=e[Iv];o=="\u660E"||o=="\u807D"?i=i.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?i=i.add(-1,"day"):o=="\u524D"?i=i.add(-2,"day"):o=="\u5927\u524D"?i=i.add(-3,"day"):o=="\u5F8C"?i=i.add(2,"day"):o=="\u5927\u5F8C"&&(i=i.add(3,"day")),a.start.assign("day",i.date()),a.start.assign("month",i.month()+1),a.start.assign("year",i.year())}else a.start.imply("day",i.date()),a.start.imply("month",i.month()+1),a.start.imply("year",i.year());let l=0,c=0,d=-1;if(e[Hd]){var u=parseInt(e[Hd]);if(isNaN(u)&&(u=Ca(e[Hd])),u>=60)return null;a.start.assign("second",u)}if(l=parseInt(e[Nv]),isNaN(l)&&(l=Ca(e[Nv])),e[Pa]?e[Pa]=="\u534A"?c=30:e[Pa]=="\u6B63"||e[Pa]=="\u6574"?c=0:(c=parseInt(e[Pa]),isNaN(c)&&(c=Ca(e[Pa]))):l>100&&(c=l%100,l=Math.floor(l/100)),c>=60||l>24)return null;if(l>=12&&(d=1),e[Rv]){if(l>12)return null;var p=e[Rv][0].toLowerCase();p=="a"&&(d=0,l==12&&(l=0)),p=="p"&&(d=1,l!=12&&(l+=12))}else if(e[Mv]){var m=e[Mv],h=m[0];h=="\u671D"||h=="\u65E9"?(d=0,l==12&&(l=0)):h=="\u665A"&&(d=1,l!=12&&(l+=12))}else if(e[Av]){var f=e[Av],g=f[0];g=="\u4E0A"||g=="\u671D"||g=="\u65E9"||g=="\u51CC"?(d=0,l==12&&(l=0)):(g=="\u4E0B"||g=="\u664F"||g=="\u665A")&&(d=1,l!=12&&(l+=12))}else if(e[_v]){var v=e[_v],T=v[0];T=="\u4E0A"||T=="\u671D"||T=="\u65E9"||T=="\u51CC"?(d=0,l==12&&(l=0)):(T=="\u4E0B"||T=="\u664F"||T=="\u665A")&&(d=1,l!=12&&(l+=12))}if(a.start.assign("hour",l),a.start.assign("minute",c),d>=0?a.start.assign("meridiem",d):l<12?a.start.imply("meridiem",0):a.start.imply("meridiem",1),e=toe.exec(t.text.substring(a.index+a.text.length)),!e)return a.text.match(/^\d+$/)?null:a;let k=i.clone();if(a.end=t.createParsingComponents(),e[Pv]){var s=e[Pv];s=="\u660E"||s=="\u807D"?r.hour()>1&&(k=k.add(1,"day")):s=="\u6628"||s=="\u5C0B"||s=="\u7434"?k=k.add(-1,"day"):s=="\u524D"?k=k.add(-2,"day"):s=="\u5927\u524D"?k=k.add(-3,"day"):s=="\u5F8C"?k=k.add(2,"day"):s=="\u5927\u5F8C"&&(k=k.add(3,"day")),a.end.assign("day",k.date()),a.end.assign("month",k.month()+1),a.end.assign("year",k.year())}else if(e[Iv]){var o=e[Iv];o=="\u660E"||o=="\u807D"?k=k.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?k=k.add(-1,"day"):o=="\u524D"?k=k.add(-2,"day"):o=="\u5927\u524D"?k=k.add(-3,"day"):o=="\u5F8C"?k=k.add(2,"day"):o=="\u5927\u5F8C"&&(k=k.add(3,"day")),a.end.assign("day",k.date()),a.end.assign("month",k.month()+1),a.end.assign("year",k.year())}else a.end.imply("day",k.date()),a.end.imply("month",k.month()+1),a.end.imply("year",k.year());if(l=0,c=0,d=-1,e[Hd]){var u=parseInt(e[Hd]);if(isNaN(u)&&(u=Ca(e[Hd])),u>=60)return null;a.end.assign("second",u)}if(l=parseInt(e[Nv]),isNaN(l)&&(l=Ca(e[Nv])),e[Pa]?e[Pa]=="\u534A"?c=30:e[Pa]=="\u6B63"||e[Pa]=="\u6574"?c=0:(c=parseInt(e[Pa]),isNaN(c)&&(c=Ca(e[Pa]))):l>100&&(c=l%100,l=Math.floor(l/100)),c>=60||l>24)return null;if(l>=12&&(d=1),e[Rv]){if(l>12)return null;var p=e[Rv][0].toLowerCase();p=="a"&&(d=0,l==12&&(l=0)),p=="p"&&(d=1,l!=12&&(l+=12)),a.start.isCertain("meridiem")||(d==0?(a.start.imply("meridiem",0),a.start.get("hour")==12&&a.start.assign("hour",0)):(a.start.imply("meridiem",1),a.start.get("hour")!=12&&a.start.assign("hour",a.start.get("hour")+12)))}else if(e[Mv]){var m=e[Mv],h=m[0];h=="\u671D"||h=="\u65E9"?(d=0,l==12&&(l=0)):h=="\u665A"&&(d=1,l!=12&&(l+=12))}else if(e[Av]){var f=e[Av],g=f[0];g=="\u4E0A"||g=="\u671D"||g=="\u65E9"||g=="\u51CC"?(d=0,l==12&&(l=0)):(g=="\u4E0B"||g=="\u664F"||g=="\u665A")&&(d=1,l!=12&&(l+=12))}else if(e[_v]){var v=e[_v],T=v[0];T=="\u4E0A"||T=="\u671D"||T=="\u65E9"||T=="\u51CC"?(d=0,l==12&&(l=0)):(T=="\u4E0B"||T=="\u664F"||T=="\u665A")&&(d=1,l!=12&&(l+=12))}return a.text=a.text+e[0],a.end.assign("hour",l),a.end.assign("minute",c),d>=0?a.end.assign("meridiem",d):a.start.isCertain("meridiem")&&a.start.get("meridiem")==1&&a.start.get("hour")>l?a.end.imply("meridiem",0):l>12&&a.end.imply("meridiem",1),a.end.date().getTime()<a.start.date().getTime()&&a.end.imply("day",a.end.get("day")+1),a}}});var Cq,roe,Ql,sE=b(()=>{Cq=Ie(nt(),1);se();jd();roe=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(Bd).join("|")+")"),Ql=class extends j{innerPattern(){return roe}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=e.groups.weekday,i=Bd[a];if(i===void 0)return null;let s=(0,Cq.default)(t.refDate),o=!1,l=s.day();return Math.abs(i-7-l)<Math.abs(i-l)?s=s.day(i-7):Math.abs(i+7-l)<Math.abs(i-l)?s=s.day(i+7):s=s.day(i),r.start.assign("weekday",i),o?(r.start.assign("day",s.date()),r.start.assign("month",s.month()+1),r.start.assign("year",s.year())):(r.start.imply("day",s.date()),r.start.imply("month",s.month()+1),r.start.imply("year",s.year())),r}}});var Zl,oE=b(()=>{wa();Zl=class extends _t{patternBetween(){return/^\s*(至|到|\-|\~|~|-|ー)\s*$/i}}});var Jl,lE=b(()=>{Sa();Jl=class extends Nt{patternBetween(){return/^\s*$/i}}});var Fv={};Be(Fv,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>cE,createCasualConfiguration:()=>dE,createConfiguration:()=>uE,hant:()=>noe,parse:()=>ioe,parseDate:()=>soe,strict:()=>aoe});function ioe(n,t,e){return cE.parse(n,t,e)}function soe(n,t,e){return cE.parseDate(n,t,e)}function dE(){let n=uE();return n.parsers.unshift(new Vl),n}function uE(){let n=Ot({parsers:[new $l,new Gl,new Ql,new Kl,new Yl],refiners:[new Zl,new Jl]});return n.refiners=n.refiners.filter(t=>!(t instanceof Ja)),n}var noe,cE,aoe,Pq=b(()=>{am();Qn();Dn();Ne();Ze();JD();tE();nE();aE();iE();sE();oE();lE();noe=new ve(dE()),cE=new ve(dE()),aoe=new ve(uE())});var _q,ooe,Mq,loe,Aq,Iq,coe,vh,Nq=b(()=>{_q=Ie(nt(),1);se();ooe=1,Mq=2,loe=3,Aq=4,Iq=5,coe=6,vh=class extends j{innerPattern(t){return new RegExp("(\u73B0\u5728|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(t,e){let r=e.index,a=t.createParsingResult(r,e[0]),i=(0,_q.default)(t.refDate),s=i;if(e[ooe])a.start.imply("hour",i.hour()),a.start.imply("minute",i.minute()),a.start.imply("second",i.second()),a.start.imply("millisecond",i.millisecond());else if(e[Mq]){let o=e[Mq],l=e[loe];o=="\u660E"?i.hour()>1&&(s=s.add(1,"day")):o=="\u6628"?s=s.add(-1,"day"):o=="\u524D"?s=s.add(-2,"day"):o=="\u5927\u524D"?s=s.add(-3,"day"):o=="\u540E"?s=s.add(2,"day"):o=="\u5927\u540E"&&(s=s.add(3,"day")),l=="\u65E9"?a.start.imply("hour",6):l=="\u665A"&&(a.start.imply("hour",22),a.start.imply("meridiem",1))}else if(e[Aq]){let l=e[Aq][0];l=="\u65E9"||l=="\u4E0A"?a.start.imply("hour",6):l=="\u4E0B"?(a.start.imply("hour",15),a.start.imply("meridiem",1)):l=="\u4E2D"?(a.start.imply("hour",12),a.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(a.start.imply("hour",22),a.start.imply("meridiem",1)):l=="\u51CC"&&a.start.imply("hour",0)}else if(e[Iq]){let o=e[Iq];o=="\u660E"?i.hour()>1&&(s=s.add(1,"day")):o=="\u6628"?s=s.add(-1,"day"):o=="\u524D"?s=s.add(-2,"day"):o=="\u5927\u524D"?s=s.add(-3,"day"):o=="\u540E"?s=s.add(2,"day"):o=="\u5927\u540E"&&(s=s.add(3,"day"));let l=e[coe];if(l){let c=l[0];c=="\u65E9"||c=="\u4E0A"?a.start.imply("hour",6):c=="\u4E0B"?(a.start.imply("hour",15),a.start.imply("meridiem",1)):c=="\u4E2D"?(a.start.imply("hour",12),a.start.imply("meridiem",1)):c=="\u591C"||c=="\u665A"?(a.start.imply("hour",22),a.start.imply("meridiem",1)):c=="\u51CC"&&a.start.imply("hour",0)}}return a.start.assign("day",s.date()),a.start.assign("month",s.month()+1),a.start.assign("year",s.year()),a}}});var bh,Rq=b(()=>{wa();bh=class extends _t{patternBetween(){return/^\s*(至|到|-|~|~|-|ー)\s*$/i}}});var Th,Fq=b(()=>{Sa();Th=class extends Nt{patternBetween(){return/^\s*$/i}}});var Ov={};Be(Ov,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>pE,createCasualConfiguration:()=>mE,createConfiguration:()=>hE,hans:()=>doe,parse:()=>poe,parseDate:()=>moe,strict:()=>uoe});function poe(n,t,e){return pE.parse(n,t,e)}function moe(n,t,e){return pE.parseDate(n,t,e)}function mE(){let n=hE();return n.parsers.unshift(new vh),n}function hE(){let n=Ot({parsers:[new Hl,new Ul,new ql,new Wl,new zl],refiners:[new bh,new Th]});return n.refiners=n.refiners.filter(t=>!(t instanceof Ja)),n}var doe,pE,uoe,Oq=b(()=>{am();Qn();Dn();Ne();Ze();Nq();$D();GD();KD();QD();ZD();Rq();Fq();doe=new ve(mE()),pE=new ve(mE()),uoe=new ve(hE())});var yE={};Be(yE,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>fE,createCasualConfiguration:()=>Lq,createConfiguration:()=>gE,hans:()=>Ov,hant:()=>Fv,parse:()=>foe,parseDate:()=>goe,strict:()=>hoe});function foe(n,t,e){return fE.parse(n,t,e)}function goe(n,t,e){return fE.parseDate(n,t,e)}function Lq(){let n=gE();return n.parsers.unshift(new Vl),n}function gE(){let n=Ot({parsers:[new $l,new Hl,new Gl,new Ul,new Ql,new ql,new Kl,new Wl,new Yl,new zl],refiners:[new Zl,new Jl]});return n.refiners=n.refiners.filter(t=>!(t instanceof Ja)),n}var fE,hoe,Bq=b(()=>{Qn();Dn();Ne();Ze();am();$D();GD();KD();QD();ZD();JD();tE();nE();aE();iE();sE();oE();lE();Pq();Oq();fE=new ve(Lq()),hoe=new ve(gE())});function voe(n){let t=n.toLowerCase();return bE[t]!==void 0?bE[t]:t.match(/несколько/)?3:t.match(/пол/)?.5:t.match(/пар/)?2:t===""?1:parseFloat(t)}function DE(n){let t=n.toLowerCase();return TE[t]!==void 0?TE[t]:parseInt(t)}function Bv(n){if(/(год|года|г|г.)/i.test(n)&&(n=n.replace(/(год|года|г|г.)/i,"")),/(до н.э.|до н. э.)/i.test(n))return n=n.replace(/(до н.э.|до н. э.)/i,""),-parseInt(n);if(/(н. э.|н.э.)/i.test(n))return n=n.replace(/(н. э.|н.э.)/i,""),parseInt(n);let t=parseInt(n);return wn(t)}function Wd(n){let t={},e=n,r=jq.exec(e);for(;r;)boe(t,r),e=e.substring(r[0].length).trim(),r=jq.exec(e);return t}function boe(n,t){let e=voe(t[1]),r=kh[t[2].toLowerCase()];n[r]=e}var ea,kE,wE,zd,bE,TE,kh,yoe,SE,vE,Lv,Hq,jq,Ud,ta=b(()=>{$e();Yt();ea={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"},kE={\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435:0,\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u044F:0,\u0432\u0441\u043A:0,"\u0432\u0441\u043A.":0,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A:1,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A\u0430:1,\u043F\u043D:1,"\u043F\u043D.":1,\u0432\u0442\u043E\u0440\u043D\u0438\u043A:2,\u0432\u0442\u043E\u0440\u043D\u0438\u043A\u0430:2,\u0432\u0442:2,"\u0432\u0442.":2,\u0441\u0440\u0435\u0434\u0430:3,\u0441\u0440\u0435\u0434\u044B:3,\u0441\u0440\u0435\u0434\u0443:3,\u0441\u0440:3,"\u0441\u0440.":3,\u0447\u0435\u0442\u0432\u0435\u0440\u0433:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430:4,\u0447\u0442:4,"\u0447\u0442.":4,\u043F\u044F\u0442\u043D\u0438\u0446\u0430:5,\u043F\u044F\u0442\u043D\u0438\u0446\u0443:5,\u043F\u044F\u0442\u043D\u0438\u0446\u044B:5,\u043F\u0442:5,"\u043F\u0442.":5,\u0441\u0443\u0431\u0431\u043E\u0442\u0430:6,\u0441\u0443\u0431\u0431\u043E\u0442\u0443:6,\u0441\u0443\u0431\u0431\u043E\u0442\u044B:6,\u0441\u0431:6,"\u0441\u0431.":6},wE={\u044F\u043D\u0432\u0430\u0440\u044C:1,\u044F\u043D\u0432\u0430\u0440\u044F:1,\u044F\u043D\u0432\u0430\u0440\u0435:1,\u0444\u0435\u0432\u0440\u0430\u043B\u044C:2,\u0444\u0435\u0432\u0440\u0430\u043B\u044F:2,\u0444\u0435\u0432\u0440\u0430\u043B\u0435:2,\u043C\u0430\u0440\u0442:3,\u043C\u0430\u0440\u0442\u0430:3,\u043C\u0430\u0440\u0442\u0435:3,\u0430\u043F\u0440\u0435\u043B\u044C:4,\u0430\u043F\u0440\u0435\u043B\u044F:4,\u0430\u043F\u0440\u0435\u043B\u0435:4,\u043C\u0430\u0439:5,\u043C\u0430\u044F:5,\u043C\u0430\u0435:5,\u0438\u044E\u043D\u044C:6,\u0438\u044E\u043D\u044F:6,\u0438\u044E\u043D\u0435:6,\u0438\u044E\u043B\u044C:7,\u0438\u044E\u043B\u044F:7,\u0438\u044E\u043B\u0435:7,\u0430\u0432\u0433\u0443\u0441\u0442:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0430:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0435:8,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u0435:9,\u043E\u043A\u0442\u044F\u0431\u0440\u044C:10,\u043E\u043A\u0442\u044F\u0431\u0440\u044F:10,\u043E\u043A\u0442\u044F\u0431\u0440\u0435:10,\u043D\u043E\u044F\u0431\u0440\u044C:11,\u043D\u043E\u044F\u0431\u0440\u044F:11,\u043D\u043E\u044F\u0431\u0440\u0435:11,\u0434\u0435\u043A\u0430\u0431\u0440\u044C:12,\u0434\u0435\u043A\u0430\u0431\u0440\u044F:12,\u0434\u0435\u043A\u0430\u0431\u0440\u0435:12},zd={...wE,\u044F\u043D\u0432:1,"\u044F\u043D\u0432.":1,\u0444\u0435\u0432:2,"\u0444\u0435\u0432.":2,\u043C\u0430\u0440:3,"\u043C\u0430\u0440.":3,\u0430\u043F\u0440:4,"\u0430\u043F\u0440.":4,\u0430\u0432\u0433:8,"\u0430\u0432\u0433.":8,\u0441\u0435\u043D:9,"\u0441\u0435\u043D.":9,\u043E\u043A\u0442:10,"\u043E\u043A\u0442.":10,\u043D\u043E\u044F:11,"\u043D\u043E\u044F.":11,\u0434\u0435\u043A:12,"\u0434\u0435\u043A.":12},bE={\u043E\u0434\u0438\u043D:1,\u043E\u0434\u043D\u0430:1,\u043E\u0434\u043D\u043E\u0439:1,\u043E\u0434\u043D\u0443:1,\u0434\u0432\u0435:2,\u0434\u0432\u0430:2,\u0434\u0432\u0443\u0445:2,\u0442\u0440\u0438:3,\u0442\u0440\u0435\u0445:3,\u0442\u0440\u0451\u0445:3,\u0447\u0435\u0442\u044B\u0440\u0435:4,\u0447\u0435\u0442\u044B\u0440\u0435\u0445:4,\u0447\u0435\u0442\u044B\u0440\u0451\u0445:4,\u043F\u044F\u0442\u044C:5,\u043F\u044F\u0442\u0438:5,\u0448\u0435\u0441\u0442\u044C:6,\u0448\u0435\u0441\u0442\u0438:6,\u0441\u0435\u043C\u044C:7,\u0441\u0435\u043C\u0438:7,\u0432\u043E\u0441\u0435\u043C\u044C:8,\u0432\u043E\u0441\u044C\u043C\u0438:8,\u0434\u0435\u0432\u044F\u0442\u044C:9,\u0434\u0435\u0432\u044F\u0442\u0438:9,\u0434\u0435\u0441\u044F\u0442\u044C:10,\u0434\u0435\u0441\u044F\u0442\u0438:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u044C:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u0438:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u0438:12},TE={\u043F\u0435\u0440\u0432\u043E\u0435:1,\u043F\u0435\u0440\u0432\u043E\u0433\u043E:1,\u0432\u0442\u043E\u0440\u043E\u0435:2,\u0432\u0442\u043E\u0440\u043E\u0433\u043E:2,\u0442\u0440\u0435\u0442\u044C\u0435:3,\u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E:3,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E:4,\u043F\u044F\u0442\u043E\u0435:5,\u043F\u044F\u0442\u043E\u0433\u043E:5,\u0448\u0435\u0441\u0442\u043E\u0435:6,\u0448\u0435\u0441\u0442\u043E\u0433\u043E:6,\u0441\u0435\u0434\u044C\u043C\u043E\u0435:7,\u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E:7,\u0432\u043E\u0441\u044C\u043C\u043E\u0435:8,\u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E:8,\u0434\u0435\u0432\u044F\u0442\u043E\u0435:9,\u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E:9,\u0434\u0435\u0441\u044F\u0442\u043E\u0435:10,\u0434\u0435\u0441\u044F\u0442\u043E\u0433\u043E:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:12,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:13,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:13,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:14,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:14,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:15,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:15,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:16,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:16,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:17,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:17,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:18,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:18,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:19,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:19,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0435:20,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:20,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0435":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0433\u043E":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0435":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0433\u043E":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0435":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0433\u043E":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0435":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0435":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0435":29,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E":29,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0435:30,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0433\u043E:30,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":31,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":31},kh={\u0441\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u044B:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0443:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0438:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0443:"second",\u043C\u0438\u043D:"minute",\u043C\u0438\u043D\u0443\u0442\u0430:"minute",\u043C\u0438\u043D\u0443\u0442:"minute",\u043C\u0438\u043D\u0443\u0442\u044B:"minute",\u043C\u0438\u043D\u0443\u0442\u0443:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u043A:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0438:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0443:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u0447\u0435\u043A:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u0447\u043A\u0438:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u0447\u043A\u0443:"minute",\u0447\u0430\u0441:"hour",\u0447\u0430\u0441\u043E\u0432:"hour",\u0447\u0430\u0441\u0430:"hour",\u0447\u0430\u0441\u0443:"hour",\u0447\u0430\u0441\u0438\u043A\u043E\u0432:"hour",\u0447\u0430\u0441\u0438\u043A\u0430:"hour",\u0447\u0430\u0441\u0438\u043A\u0435:"hour",\u0447\u0430\u0441\u0438\u043A:"hour",\u0434\u0435\u043D\u044C:"d",\u0434\u043D\u044F:"d",\u0434\u043D\u0435\u0439:"d",\u0441\u0443\u0442\u043E\u043A:"d",\u0441\u0443\u0442\u043A\u0438:"d",\u043D\u0435\u0434\u0435\u043B\u044F:"week",\u043D\u0435\u0434\u0435\u043B\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u044E:"week",\u043D\u0435\u0434\u0435\u043B\u044C:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u0435\u043A:"week",\u043C\u0435\u0441\u044F\u0446:"month",\u043C\u0435\u0441\u044F\u0446\u0435:"month",\u043C\u0435\u0441\u044F\u0446\u0435\u0432:"month",\u043C\u0435\u0441\u044F\u0446\u0430:"month",\u043A\u0432\u0430\u0440\u0442\u0430\u043B:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0435:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u043E\u0432:"quarter",\u0433\u043E\u0434:"year",\u0433\u043E\u0434\u0430:"year",\u0433\u043E\u0434\u0443:"year",\u0433\u043E\u0434\u043E\u0432:"year",\u043B\u0435\u0442:"year",\u0433\u043E\u0434\u0438\u043A:"year",\u0433\u043E\u0434\u0438\u043A\u0430:"year",\u0433\u043E\u0434\u0438\u043A\u043E\u0432:"year"},yoe=`(?:${X(bE)}|[0-9]+|[0-9]+\\.[0-9]+|\u043F\u043E\u043B|\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E|\u043F\u0430\u0440(?:\u044B|\u0443)|\\s{0,3})`;SE=`(?:${X(TE)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;vE="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?",Lv=`(?:[1-9][0-9]{0,3}${vE}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${vE}|[5-9][0-9]${vE})`;Hq=`(${yoe})\\s{0,3}(${X(kh)})`,jq=new RegExp(Hq,"i"),Ud=dn("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",Hq)});var zq,wh,Uq=b(()=>{ta();Ne();se();zq=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${Ud})${ea.rightBoundary}`,wh=class extends j{patternLeftBoundary(){return ea.leftBoundary}innerPattern(t){return t.option.forwardDate?new RegExp(zq,ea.flags):new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${zq}`,ea.flags)}innerExtract(t,e){let r=Wd(e[1]);return G.createRelativeFromReference(t.reference,r)}}});var Xl,En,Ts=b(()=>{se();ta();Xl=class extends j{patternLeftBoundary(){return ea.leftBoundary}innerPattern(t){return new RegExp(this.innerPatternString(t),ea.flags)}innerPatternHasChange(t,e){return!1}},En=class extends Xl{innerPattern(t){return new RegExp(`${this.innerPatternString(t)}${ea.rightBoundary}`,ea.flags)}}});var Wq,qq,Toe,Vq,Sh,$q=b(()=>{Yt();ta();ta();ta();$e();Ts();Wq=1,qq=2,Toe=3,Vq=4,Sh=class extends En{innerPatternString(t){return`(?:\u0441)?\\s*(${SE})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${SE}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${X(zd)})(?:(?:-|\\/|,?\\s{0,3})(${Lv}(?![^\\s]\\d)))?`}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=zd[e[Toe].toLowerCase()],i=DE(e[Wq]);if(i>31)return e.index=e.index+e[Wq].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[Vq]){let s=Bv(e[Vq]);r.start.assign("year",s)}else{let s=lt(t.refDate,i,a);r.start.imply("year",s)}if(e[qq]){let s=DE(e[qq]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var koe,Yq,Dh,Gq=b(()=>{ta();Yt();$e();ta();Ts();koe=2,Yq=3,Dh=class extends Xl{innerPatternString(t){return`((?:\u0432)\\s*)?(${X(zd)})\\s*(?:[,-]?\\s*(${Lv})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`}innerExtract(t,e){let r=e[koe].toLowerCase();if(e[0].length<=3&&!wE[r])return null;let a=t.createParsingResult(e.index,e.index+e[0].length);a.start.imply("day",1);let i=zd[r];if(a.start.assign("month",i),e[Yq]){let s=Bv(e[Yq]);a.start.assign("year",s)}else{let s=lt(t.refDate,1,i);a.start.imply("year",s)}return a}}});var Eh,Kq=b(()=>{Ze();fs();ta();Eh=class extends Er{constructor(t){super(t)}patternFlags(){return ea.flags}primaryPatternLeftBoundary(){return"(^|\\s|T|(?:[^\\p{L}\\p{N}_]))"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|\u0434\u043E|\u0438|\u043F\u043E|\\?)\\s*"}primaryPrefix(){return"(?:(?:\u0432|\u0441)\\s*)??"}primarySuffix(){return`(?:\\s*(?:\u0443\u0442\u0440\u0430|\u0432\u0435\u0447\u0435\u0440\u0430|\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F))?(?!\\/)${ea.rightBoundary}`}extractPrimaryTimeComponents(t,e){let r=super.extractPrimaryTimeComponents(t,e);if(r){if(e[0].endsWith("\u0432\u0435\u0447\u0435\u0440\u0430")){let a=r.get("hour");a>=6&&a<12?(r.assign("hour",r.get("hour")+12),r.assign("meridiem",O.PM)):a<6&&r.assign("meridiem",O.AM)}if(e[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){r.assign("meridiem",O.PM);let a=r.get("hour");a>=0&&a<=6&&r.assign("hour",r.get("hour")+12)}e[0].endsWith("\u0443\u0442\u0440\u0430")&&(r.assign("meridiem",O.AM),r.get("hour")<12&&r.assign("hour",r.get("hour")))}return r}}});var xh,Qq=b(()=>{ta();Ne();Jn();Ts();xh=class extends Xl{innerPatternString(t){return`(${Ud})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`}innerExtract(t,e){let r=Wd(e[1]),a=ir(r);return G.createRelativeFromReference(t.reference,a)}}});var Ch,Zq=b(()=>{wa();Ch=class extends _t{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}}});var Ph,Jq=b(()=>{Sa();Ph=class extends Nt{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}}});var Mh,Xq=b(()=>{Zn();Ts();Mh=class extends En{innerPatternString(t){return"(?:\u0441|\u0441\u043E)?\\s*(\u0441\u0435\u0433\u043E\u0434\u043D\u044F|\u0432\u0447\u0435\u0440\u0430|\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0441\u043B\u0435\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0437\u0430\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430|\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430)"}innerExtract(t,e){let r=e[1].toLowerCase(),a=t.createParsingComponents();switch(r){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return xr(t.reference);case"\u0432\u0447\u0435\u0440\u0430":return Gr(t.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return Kr(t.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return Ti(t.reference,2);case"\u043F\u043E\u0441\u043B\u0435\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return Ti(t.reference,3);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return Fl(t.reference,2);case"\u043F\u043E\u0437\u0430\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return Fl(t.reference,3)}return a}}});var eV,Ah,tV=b(()=>{Zn();Kn();eV=Ie(nt(),1);Ts();Ah=class extends En{innerPatternString(t){return"(\u0441\u0435\u0439\u0447\u0430\u0441|\u043F\u0440\u043E\u0448\u043B\u044B\u043C\\s*\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u043F\u0440\u043E\u0448\u043B\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u0435\u0433\u043E\u0434\u043D\u044F\\s*\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u0438\u043C \u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u0434\u0435\u043D\u044C|\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u0432\u0435\u0447\u0435\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u043D\u043E\u0447\u044C)"}innerExtract(t,e){let r=(0,eV.default)(t.refDate),a=e[0].toLowerCase(),i=t.createParsingComponents();if(a==="\u0441\u0435\u0439\u0447\u0430\u0441")return Yr(t.reference);if(a==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||a==="\u0432\u0435\u0447\u0435\u0440\u0430")return Cd(t.reference);if(a.endsWith("\u0443\u0442\u0440\u043E\u043C")||a.endsWith("\u0443\u0442\u0440\u0430"))return Pd(t.reference);if(a.match(/в\s*полдень/))return Md(t.reference);if(a.match(/прошлой\s*ночью/))return lv(t.reference);if(a.match(/прошлым\s*вечером/))return cv(t.reference);if(a.match(/следующей\s*ночью/)){let s=r.hour()<22?1:2;r=r.add(s,"day"),xt(i,r),i.imply("hour",0)}return a.match(/в\s*полночь/)||a.endsWith("\u043D\u043E\u0447\u044C\u044E")?Ol(t.reference):i}}});var woe,Soe,Doe,Ih,rV=b(()=>{ta();$e();Xa();Ts();woe=1,Soe=2,Doe=3,Ih=class extends En{innerPatternString(t){return`(?:(?:,|\\(|\uFF08)\\s*)?(?:\u0432\\s*?)?(?:(\u044D\u0442\u0443|\u044D\u0442\u043E\u0442|\u043F\u0440\u043E\u0448\u043B\u044B\u0439|\u043F\u0440\u043E\u0448\u043B\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E)\\s*)?(${X(kE)})(?:\\s*(?:,|\\)|\uFF09))?(?:\\s*\u043D\u0430\\s*(\u044D\u0442\u043E\u0439|\u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439)\\s*\u043D\u0435\u0434\u0435\u043B\u0435)?`}innerExtract(t,e){let r=e[Soe].toLowerCase(),a=kE[r],i=e[woe],s=e[Doe],o=i||s;o=o||"",o=o.toLowerCase();let l=null;return o=="\u043F\u0440\u043E\u0448\u043B\u044B\u0439"||o=="\u043F\u0440\u043E\u0448\u043B\u0443\u044E"||o=="\u043F\u0440\u043E\u0448\u043B\u043E\u0439"?l="last":o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E"?l="next":(o=="\u044D\u0442\u043E\u0442"||o=="\u044D\u0442\u0443"||o=="\u044D\u0442\u043E\u0439")&&(l="this"),sr(t.reference,a,l)}}});var nV,Eoe,xoe,_h,aV=b(()=>{ta();Ne();nV=Ie(nt(),1);$e();Ts();Eoe=1,xoe=2,_h=class extends En{innerPatternString(t){return`(\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C|\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439|\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C|\u043D\u0430 \u044D\u0442\u043E\u0439|\u0432 \u044D\u0442\u043E\u043C)\\s*(${X(kh)})`}innerExtract(t,e){let r=e[Eoe].toLowerCase(),a=e[xoe].toLowerCase(),i=kh[a];if(r=="\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||r=="\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C"){let l={};return l[i]=1,G.createRelativeFromReference(t.reference,l)}if(r=="\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C"||r=="\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439"){let l={};return l[i]=-1,G.createRelativeFromReference(t.reference,l)}let s=t.createParsingComponents(),o=(0,nV.default)(t.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.imply("year",o.year())):i.match(/month/i)?(o=o.add(-o.date()+1,"d"),s.imply("day",o.date()),s.assign("year",o.year()),s.assign("month",o.month()+1)):i.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.assign("year",o.year())),s}}});var Nh,iV=b(()=>{ta();Ne();Jn();Ts();Nh=class extends En{innerPatternString(t){return`(\u044D\u0442\u0438|\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435|\u043F\u0440\u043E\u0448\u043B\u044B\u0435|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435|\u043F\u043E\u0441\u043B\u0435|\u0441\u043F\u0443\u0441\u0442\u044F|\u0447\u0435\u0440\u0435\u0437|\\+|-)\\s*(${Ud})`}innerExtract(t,e){let r=e[1].toLowerCase(),a=Wd(e[2]);switch(r){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":a=ir(a);break}return G.createRelativeFromReference(t.reference,a)}}});var CE={};Be(CE,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>EE,createCasualConfiguration:()=>sV,createConfiguration:()=>xE,parse:()=>Poe,parseDate:()=>Moe,strict:()=>Coe});function Poe(n,t,e){return EE.parse(n,t,e)}function Moe(n,t,e){return EE.parseDate(n,t,e)}function sV(){let n=xE(!1);return n.parsers.unshift(new Mh),n.parsers.unshift(new Ah),n.parsers.unshift(new Dh),n.parsers.unshift(new _h),n.parsers.unshift(new Nh),n}function xE(n=!0){return Ot({parsers:[new gr(!0),new wh,new Sh,new Ih,new Eh(n),new xh],refiners:[new Ph,new Ch]},n)}var EE,Coe,oV=b(()=>{Uq();$q();Gq();Kq();Qq();Zq();Jq();Qn();Xq();tV();rV();aV();Dn();Ne();Ze();vs();iV();EE=new ve(sV()),Coe=new ve(xE(!0))});function Ioe(n){let t=n.toLowerCase();return PE[t]!==void 0?PE[t]:t==="un"||t==="una"||t==="uno"?1:t.match(/algunos?/)||t.match(/unos?/)?3:t.match(/media?/)?.5:parseFloat(t)}function uV(n){if(n.match(/^[0-9]{1,4}$/)){let t=parseInt(n);return t<100&&(t>50?t=t+1900:t=t+2e3),t}return n.match(/a\.?\s*c\.?/i)?(n=n.replace(/a\.?\s*c\.?/i,""),-parseInt(n)):parseInt(n)}function hV(n){let t={},e=n,r=lV.exec(e);for(;r;)_oe(t,r),e=e.substring(r[0].length),r=lV.exec(e);return t}function _oe(n,t){let e=Ioe(t[1]),r=cV[t[2].toLowerCase()];n[r]=e}var ME,AE,PE,cV,Aoe,dV,pV,lV,mV,Rh=b(()=>{$e();ME={domingo:0,dom:0,lunes:1,lun:1,martes:2,mar:2,mi\u00E9rcoles:3,miercoles:3,mi\u00E9:3,mie:3,jueves:4,jue:4,viernes:5,vie:5,s\u00E1bado:6,sabado:6,s\u00E1b:6,sab:6},AE={enero:1,ene:1,"ene.":1,febrero:2,feb:2,"feb.":2,marzo:3,mar:3,"mar.":3,abril:4,abr:4,"abr.":4,mayo:5,may:5,"may.":5,junio:6,jun:6,"jun.":6,julio:7,jul:7,"jul.":7,agosto:8,ago:8,"ago.":8,septiembre:9,setiembre:9,sep:9,"sep.":9,octubre:10,oct:10,"oct.":10,noviembre:11,nov:11,"nov.":11,diciembre:12,dic:12,"dic.":12},PE={uno:1,dos:2,tres:3,cuatro:4,cinco:5,seis:6,siete:7,ocho:8,nueve:9,diez:10,once:11,doce:12,trece:13},cV={sec:"second",segundo:"second",segundos:"second",min:"minute",mins:"minute",minuto:"minute",minutos:"minute",h:"hour",hr:"hour",hrs:"hour",hora:"hour",horas:"hour",d\u00EDa:"d",d\u00EDas:"d",semana:"week",semanas:"week",mes:"month",meses:"month",cuarto:"quarter",cuartos:"quarter",a\u00F1o:"year",a\u00F1os:"year"},Aoe=`(?:${X(PE)}|[0-9]+|[0-9]+\\.[0-9]+|un?|uno?|una?|algunos?|unos?|demi-?)`;dV="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";pV=`(${Aoe})\\s{0,5}(${X(cV)})\\s{0,5}`,lV=new RegExp(pV,"i"),mV=dn("",pV)});var Noe,Roe,Foe,Ooe,Fh,fV=b(()=>{Rh();$e();se();Xa();Noe=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|pasado|pr[o\xF3]ximo)\\s*)?(${X(ME)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|pasado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),Roe=1,Foe=2,Ooe=3,Fh=class extends j{innerPattern(){return Noe}innerExtract(t,e){let r=e[Foe].toLowerCase(),a=ME[r];if(a===void 0)return null;let i=e[Roe],s=e[Ooe],o=i||s||"";o=o.toLowerCase();let l=null;return o=="pasado"?l="this":o=="pr\xF3ximo"||o=="proximo"?l="next":o=="este"&&(l="this"),sr(t.reference,a,l)}}});var Oh,gV=b(()=>{fs();Oh=class extends Er{primaryPrefix(){return"(?:(?:aslas|deslas|las?|al?|de|del)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:l)?|\\?)\\s*"}}});var Lh,yV=b(()=>{Sa();Lh=class extends Nt{patternBetween(){return new RegExp("^\\s*(?:,|de|aslas|a)?\\s*$")}}});var Bh,vV=b(()=>{wa();Bh=class extends _t{patternBetween(){return/^\s*(?:-)\s*$/i}}});var Loe,bV,TV,Boe,kV,jh,wV=b(()=>{Yt();Rh();Rh();$e();se();Loe=new RegExp(`([0-9]{1,2})(?:\xBA|\xAA|\xB0)?(?:\\s*(?:desde|de|\\-|\\\u2013|ao?|\\s)\\s*([0-9]{1,2})(?:\xBA|\xAA|\xB0)?)?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${X(AE)})(?:\\s*(?:de|,)?\\s*(${dV}))?(?=\\W|$)`,"i"),bV=1,TV=2,Boe=3,kV=4,jh=class extends j{innerPattern(){return Loe}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=AE[e[Boe].toLowerCase()],i=parseInt(e[bV]);if(i>31)return e.index=e.index+e[bV].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[kV]){let s=uV(e[kV]);r.start.assign("year",s)}else{let s=lt(t.refDate,i,a);r.start.imply("year",s)}if(e[TV]){let s=parseInt(e[TV]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var Hh,SV=b(()=>{se();Zn();Hh=class extends j{innerPattern(t){return/(ahora|hoy|mañana|ayer)(?=\W|$)/i}innerExtract(t,e){let r=e[0].toLowerCase(),a=t.createParsingComponents();switch(r){case"ahora":return Yr(t.reference);case"hoy":return xr(t.reference);case"ma\xF1ana":return Kr(t.reference);case"ayer":return Gr(t.reference)}return a}}});var DV,zh,EV=b(()=>{Ze();se();Kn();DV=Ie(nt(),1),zh=class extends j{innerPattern(){return/(?:esta\s*)?(mañana|tarde|medianoche|mediodia|mediodía|noche)(?=\W|$)/i}innerExtract(t,e){let r=(0,DV.default)(t.refDate),a=t.createParsingComponents();switch(e[1].toLowerCase()){case"tarde":a.imply("meridiem",O.PM),a.imply("hour",15);break;case"noche":a.imply("meridiem",O.PM),a.imply("hour",22);break;case"ma\xF1ana":a.imply("meridiem",O.AM),a.imply("hour",6);break;case"medianoche":Za(a,r),a.imply("hour",0),a.imply("minute",0),a.imply("second",0);break;case"mediodia":case"mediod\xEDa":a.imply("meridiem",O.AM),a.imply("hour",12);break}return a}}});var Uh,xV=b(()=>{Rh();Ne();se();Uh=class extends j{innerPattern(){return new RegExp(`(?:en|por|durante|de|dentro de)\\s*(${mV})(?=\\W|$)`,"i")}innerExtract(t,e){let r=hV(e[1]);return G.createRelativeFromReference(t.reference,r)}}});var NE={};Be(NE,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>IE,createCasualConfiguration:()=>CV,createConfiguration:()=>_E,parse:()=>Hoe,parseDate:()=>zoe,strict:()=>joe});function Hoe(n,t,e){return IE.parse(n,t,e)}function zoe(n,t,e){return IE.parseDate(n,t,e)}function CV(n=!0){let t=_E(!1,n);return t.parsers.push(new Hh),t.parsers.push(new zh),t}function _E(n=!0,t=!0){return Ot({parsers:[new gr(t),new Fh,new Oh,new jh,new Uh],refiners:[new Lh,new Bh]},n)}var IE,joe,PV=b(()=>{Qn();Dn();Ne();Ze();vs();fV();gV();yV();vV();wV();SV();EV();xV();IE=new ve(CV()),joe=new ve(_E(!0))});function Woe(n){let t=n.toLowerCase();return FE[t]!==void 0?FE[t]:t.match(/декілька/)?2:t.match(/пів/)?.5:t.match(/пар/)?2:t===""?1:parseFloat(t)}function HE(n){let t=n.toLowerCase();return OE[t]!==void 0?OE[t]:parseInt(t)}function Hv(n){if(/(рік|року|р|р.)/i.test(n)&&(n=n.replace(/(рік|року|р|р.)/i,"")),/(до н.е.|до н. е.)/i.test(n))return n=n.replace(/(до н.е.|до н. е.)/i,""),-parseInt(n);if(/(н. е.|н.е.)/i.test(n))return n=n.replace(/(н. е.|н.е.)/i,""),parseInt(n);let t=parseInt(n);return wn(t)}function $d(n){let t={},e=n,r=MV.exec(e);for(;r;)qoe(t,r),e=e.substring(r[0].length).trim(),r=MV.exec(e);return t}function qoe(n,t){let e=Woe(t[1]),r=Wh[t[2].toLowerCase()];n[r]=e}var Ma,LE,BE,qd,FE,OE,Wh,Uoe,jE,RE,jv,AV,MV,Vd,ra=b(()=>{$e();Yt();Ma={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"},LE={\u043D\u0435\u0434\u0456\u043B\u044F:0,\u043D\u0435\u0434\u0456\u043B\u0456:0,\u043D\u0435\u0434\u0456\u043B\u044E:0,\u043D\u0434:0,"\u043D\u0434.":0,\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A:1,\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043A\u0430:1,\u043F\u043D:1,"\u043F\u043D.":1,\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A:2,\u0432\u0456\u0432\u0442\u043E\u0440\u043A\u0430:2,\u0432\u0442:2,"\u0432\u0442.":2,\u0441\u0435\u0440\u0435\u0434\u0430:3,\u0441\u0435\u0440\u0435\u0434\u0438:3,\u0441\u0435\u0440\u0435\u0434\u0443:3,\u0441\u0440:3,"\u0441\u0440.":3,\u0447\u0435\u0442\u0432\u0435\u0440:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0443:4,\u0447\u0442:4,"\u0447\u0442.":4,"\u043F'\u044F\u0442\u043D\u0438\u0446\u044F":5,"\u043F'\u044F\u0442\u043D\u0438\u0446\u0456":5,"\u043F'\u044F\u0442\u043D\u0438\u0446\u044E":5,\u043F\u0442:5,"\u043F\u0442.":5,\u0441\u0443\u0431\u043E\u0442\u0430:6,\u0441\u0443\u0431\u043E\u0442\u0438:6,\u0441\u0443\u0431\u043E\u0442\u0443:6,\u0441\u0431:6,"\u0441\u0431.":6},BE={\u0441\u0456\u0447\u0435\u043D\u044C:1,\u0441\u0456\u0447\u043D\u044F:1,\u0441\u0456\u0447\u043D\u0456:1,\u043B\u044E\u0442\u0438\u0439:2,\u043B\u044E\u0442\u043E\u0433\u043E:2,\u043B\u044E\u0442\u043E\u043C\u0443:2,\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C:3,\u0431\u0435\u0440\u0435\u0437\u043D\u044F:3,\u0431\u0435\u0440\u0435\u0437\u043D\u0456:3,\u043A\u0432\u0456\u0442\u0435\u043D\u044C:4,\u043A\u0432\u0456\u0442\u043D\u044F:4,\u043A\u0432\u0456\u0442\u043D\u0456:4,\u0442\u0440\u0430\u0432\u0435\u043D\u044C:5,\u0442\u0440\u0430\u0432\u043D\u044F:5,\u0442\u0440\u0430\u0432\u043D\u0456:5,\u0447\u0435\u0440\u0432\u0435\u043D\u044C:6,\u0447\u0435\u0440\u0432\u043D\u044F:6,\u0447\u0435\u0440\u0432\u043D\u0456:6,\u043B\u0438\u043F\u0435\u043D\u044C:7,\u043B\u0438\u043F\u043D\u044F:7,\u043B\u0438\u043F\u043D\u0456:7,\u0441\u0435\u0440\u043F\u0435\u043D\u044C:8,\u0441\u0435\u0440\u043F\u043D\u044F:8,\u0441\u0435\u0440\u043F\u043D\u0456:8,\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C:9,\u0432\u0435\u0440\u0435\u0441\u043D\u044F:9,\u0432\u0435\u0440\u0435\u0441\u043D\u0456:9,\u0436\u043E\u0432\u0442\u0435\u043D\u044C:10,\u0436\u043E\u0432\u0442\u043D\u044F:10,\u0436\u043E\u0432\u0442\u043D\u0456:10,\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434:11,\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430:11,\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0443:11,\u0433\u0440\u0443\u0434\u0435\u043D\u044C:12,\u0433\u0440\u0443\u0434\u043D\u044F:12,\u0433\u0440\u0443\u0434\u043D\u0456:12},qd={...BE,\u0441\u0456\u0447:1,"\u0441\u0456\u0447.":1,\u043B\u044E\u0442:2,"\u043B\u044E\u0442.":2,\u0431\u0435\u0440:3,"\u0431\u0435\u0440.":3,\u043A\u0432\u0456\u0442:4,"\u043A\u0432\u0456\u0442.":4,\u0442\u0440\u0430\u0432:5,"\u0442\u0440\u0430\u0432.":5,\u0447\u0435\u0440\u0432:6,"\u0447\u0435\u0440\u0432.":6,\u043B\u0438\u043F:7,"\u043B\u0438\u043F.":7,\u0441\u0435\u0440\u043F:8,"\u0441\u0435\u0440\u043F.":8,\u0441\u0435\u0440:8,"c\u0435\u0440.":8,\u0432\u0435\u0440:9,"\u0432\u0435\u0440.":9,\u0432\u0435\u0440\u0435\u0441:9,"\u0432\u0435\u0440\u0435\u0441.":9,\u0436\u043E\u0432\u0442:10,"\u0436\u043E\u0432\u0442.":10,\u043B\u0438\u0441\u0442\u043E\u043F:11,"\u043B\u0438\u0441\u0442\u043E\u043F.":11,\u0433\u0440\u0443\u0434:12,"\u0433\u0440\u0443\u0434.":12},FE={\u043E\u0434\u0438\u043D:1,\u043E\u0434\u043D\u0430:1,\u043E\u0434\u043D\u043E\u0457:1,\u043E\u0434\u043D\u0443:1,\u0434\u0432\u0456:2,\u0434\u0432\u0430:2,\u0434\u0432\u043E\u0445:2,\u0442\u0440\u0438:3,\u0442\u0440\u044C\u043E\u0445:3,\u0447\u043E\u0442\u0438\u0440\u0438:4,\u0447\u043E\u0442\u0438\u0440\u044C\u043E\u0445:4,"\u043F'\u044F\u0442\u044C":5,"\u043F'\u044F\u0442\u0438":5,\u0448\u0456\u0441\u0442\u044C:6,\u0448\u0435\u0441\u0442\u0438:6,\u0441\u0456\u043C:7,\u0441\u0435\u043C\u0438:7,\u0432\u0456\u0441\u0456\u043C:8,\u0432\u043E\u0441\u044C\u043C\u0438:8,"\u0434\u0435\u0432'\u044F\u0442\u044C":9,"\u0434\u0435\u0432'\u044F\u0442\u0438":9,\u0434\u0435\u0441\u044F\u0442\u044C:10,\u0434\u0435\u0441\u044F\u0442\u0438:10,\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C:11,\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u0438:11,\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u044C:12,\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u0438:12},OE={\u043F\u0435\u0440\u0448\u0435:1,\u043F\u0435\u0440\u0448\u043E\u0433\u043E:1,\u0434\u0440\u0443\u0433\u0435:2,\u0434\u0440\u0443\u0433\u043E\u0433\u043E:2,\u0442\u0440\u0435\u0442\u0454:3,\u0442\u0440\u0435\u0442\u044C\u043E\u0433\u043E:3,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0435:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E:4,"\u043F'\u044F\u0442\u0435":5,"\u043F'\u044F\u0442\u043E\u0433\u043E":5,\u0448\u043E\u0441\u0442\u0435:6,\u0448\u043E\u0441\u0442\u043E\u0433\u043E:6,\u0441\u044C\u043E\u043C\u0435:7,\u0441\u044C\u043E\u043C\u043E\u0433\u043E:7,\u0432\u043E\u0441\u044C\u043C\u0435:8,\u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E:8,"\u0434\u0435\u0432'\u044F\u0442\u0435":9,"\u0434\u0435\u0432'\u044F\u0442\u043E\u0433\u043E":9,\u0434\u0435\u0441\u044F\u0442\u0435:10,\u0434\u0435\u0441\u044F\u0442\u043E\u0433\u043E:10,\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u0435:11,\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:11,\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u0435:12,\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:12,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u0435:13,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:13,\u0447\u043E\u0442\u0438\u0440\u043D\u0430\u0434\u0446\u044F\u0442\u0435:14,\u0447\u043E\u0442\u0438\u043D\u0440\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:14,"\u043F'\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u0435":15,"\u043F'\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E":15,\u0448\u0456\u0441\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u0435:16,\u0448\u0456\u0441\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:16,\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u0435:17,\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:17,\u0432\u0456\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u0435:18,\u0432\u0456\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:18,"\u0434\u0435\u0432'\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u0435":19,"\u0434\u0435\u0432'\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E":19,\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u0435:20,\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u043E\u0433\u043E:20,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u043F\u0435\u0440\u0448\u0435":21,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u043F\u0435\u0440\u0448\u043E\u0433\u043E":21,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0434\u0440\u0443\u0433\u0435":22,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0434\u0440\u0443\u0433\u043E\u0433\u043E":22,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0442\u0440\u0435\u0442\u0454":23,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u043E\u0433\u043E":23,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0435":24,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E":24,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u043F'\u044F\u0442\u0435":25,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u043F'\u044F\u0442\u043E\u0433\u043E":25,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0448\u043E\u0441\u0442\u0435":26,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0448\u043E\u0441\u0442\u043E\u0433\u043E":26,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0441\u044C\u043E\u043C\u0435":27,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0441\u044C\u043E\u043C\u043E\u0433\u043E":27,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u0435":28,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E":28,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0434\u0435\u0432'\u044F\u0442\u0435":29,"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C \u0434\u0435\u0432'\u044F\u0442\u043E\u0433\u043E":29,\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u0435:30,\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u043E\u0433\u043E:30,"\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u044C \u043F\u0435\u0440\u0448\u0435":31,"\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u044C \u043F\u0435\u0440\u0448\u043E\u0433\u043E":31},Wh={\u0441\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0438:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0443:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043E\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0438:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0443:"second",\u0445\u0432:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u0430:"minute",\u0445\u0432\u0438\u043B\u0438\u043D:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u0438:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u0443:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u043E\u043A:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u043A\u0438:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u043A\u0443:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u043E\u0447\u043E\u043A:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u043E\u0447\u043A\u0438:"minute",\u0445\u0432\u0438\u043B\u0438\u043D\u043E\u0447\u043A\u0443:"minute",\u0433\u043E\u0434:"hour",\u0433\u043E\u0434\u0438\u043D\u0430:"hour",\u0433\u043E\u0434\u0438\u043D:"hour",\u0433\u043E\u0434\u0438\u043D\u0438:"hour",\u0433\u043E\u0434\u0438\u043D\u0443:"hour",\u0433\u043E\u0434\u0438\u043D\u043A\u0430:"hour",\u0433\u043E\u0434\u0438\u043D\u043E\u043A:"hour",\u0433\u043E\u0434\u0438\u043D\u043A\u0438:"hour",\u0433\u043E\u0434\u0438\u043D\u043A\u0443:"hour",\u0434\u0435\u043D\u044C:"d",\u0434\u043D\u044F:"d",\u0434\u043D\u0456\u0432:"d",\u0434\u043D\u0456:"d",\u0434\u043E\u0431\u0430:"d",\u0434\u043E\u0431\u0443:"d",\u0442\u0438\u0436\u0434\u0435\u043D\u044C:"week",\u0442\u0438\u0436\u043D\u044E:"week",\u0442\u0438\u0436\u043D\u044F:"week",\u0442\u0438\u0436\u043D\u0456:"week",\u0442\u0438\u0436\u043D\u0456\u0432:"week",\u043C\u0456\u0441\u044F\u0446\u044C:"month",\u043C\u0456\u0441\u044F\u0446\u0456\u0432:"month",\u043C\u0456\u0441\u044F\u0446\u0456:"month",\u043C\u0456\u0441\u044F\u0446\u044F:"month",\u043A\u0432\u0430\u0440\u0442\u0430\u043B:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0443:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0430:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0456\u0432:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0456:"quarter",\u0440\u0456\u043A:"year",\u0440\u043E\u043A\u0443:"year",\u0440\u043E\u0446\u0456:"year",\u0440\u043E\u043A\u0456\u0432:"year",\u0440\u043E\u043A\u0438:"year"},Uoe=`(?:${X(FE)}|[0-9]+|[0-9]+\\.[0-9]+|\u043F\u0456\u0432|\u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430|\u043F\u0430\u0440(?:\u0443)|\\s{0,3})`;jE=`(?:${X(OE)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435)?)`;RE="(?:\\s+(?:\u0440\u043E\u043A\u0443|\u0440\u0456\u043A|\u0440|\u0440.))?",jv=`(?:[1-9][0-9]{0,3}${RE}\\s*(?:\u043D.\u0435.|\u0434\u043E \u043D.\u0435.|\u043D. \u0435.|\u0434\u043E \u043D. \u0435.)|[1-2][0-9]{3}${RE}|[5-9][0-9]${RE})`;AV=`(${Uoe})\\s{0,3}(${X(Wh)})`,MV=new RegExp(AV,"i"),Vd=dn("(?:(?:\u0431\u043B\u0438\u0437\u044C\u043A\u043E|\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E)\\s{0,3})?",AV)});var IV,qh,_V=b(()=>{ra();Ne();se();IV=`(?:(?:\u043F\u0440\u0438\u0431\u043B\u0438\u0437\u043D\u043E|\u043E\u0440\u0456\u0454\u043D\u0442\u043E\u0432\u043D\u043E)\\s*(?:~\\s*)?)?(${Vd})${Ma.rightBoundary}`,qh=class extends j{patternLeftBoundary(){return Ma.leftBoundary}innerPattern(t){return t.option.forwardDate?new RegExp(IV,"i"):new RegExp(`(?:\u043F\u0440\u043E\u0442\u044F\u0433\u043E\u043C|\u043D\u0430 \u043F\u0440\u043E\u0442\u044F\u0437\u0456|\u043F\u0440\u043E\u0442\u044F\u0433\u043E\u043C|\u0443\u043F\u0440\u043E\u0434\u043E\u0432\u0436|\u0432\u043F\u0440\u043E\u0434\u043E\u0432\u0436)\\s*${IV}`,Ma.flags)}innerExtract(t,e){let r=$d(e[1]);return G.createRelativeFromReference(t.reference,r)}}});var ec,xn,ks=b(()=>{se();ra();ec=class extends j{patternLeftBoundary(){return Ma.leftBoundary}innerPattern(t){return new RegExp(this.innerPatternString(t),Ma.flags)}innerPatternHasChange(t,e){return!1}},xn=class extends ec{innerPattern(t){return new RegExp(`${this.innerPatternString(t)}${Ma.rightBoundary}`,Ma.flags)}}});var NV,RV,Voe,FV,Vh,OV=b(()=>{Yt();ra();ra();ra();$e();ks();NV=1,RV=2,Voe=3,FV=4,Vh=class extends xn{innerPatternString(t){return`(?:\u0437|\u0456\u0437)?\\s*(${jE})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${jE}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${X(qd)})(?:(?:-|\\/|,?\\s{0,3})(${jv}(?![^\\s]\\d)))?`}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),a=qd[e[Voe].toLowerCase()],i=HE(e[NV]);if(i>31)return e.index=e.index+e[NV].length,null;if(r.start.assign("month",a),r.start.assign("day",i),e[FV]){let s=Hv(e[FV]);r.start.assign("year",s)}else{let s=lt(t.reference.instant,i,a);r.start.imply("year",s)}if(e[RV]){let s=HE(e[RV]);r.end=r.start.clone(),r.end.assign("day",s)}return r}}});var $oe,LV,$h,BV=b(()=>{ra();Yt();$e();ra();ks();$oe=2,LV=3,$h=class extends ec{innerPatternString(t){return`((?:\u0432|\u0443)\\s*)?(${X(qd)})\\s*(?:[,-]?\\s*(${jv})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`}innerExtract(t,e){let r=e[$oe].toLowerCase();if(e[0].length<=3&&!BE[r])return null;let a=t.createParsingResult(e.index,e.index+e[0].length);a.start.imply("day",1);let i=qd[r];if(a.start.assign("month",i),e[LV]){let s=Hv(e[LV]);a.start.assign("year",s)}else{let s=lt(t.reference.instant,1,i);a.start.imply("year",s)}return a}}});var Yh,jV=b(()=>{Ze();fs();ra();Yh=class extends Er{constructor(t){super(t)}patternFlags(){return Ma.flags}primaryPatternLeftBoundary(){return"(^|\\s|T|(?:[^\\p{L}\\p{N}_]))"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|\u0434\u043E|\u0456|\u043F\u043E|\\?)\\s*"}primaryPrefix(){return"(?:(?:\u0432|\u0443|\u043E|\u043E\u0431|\u0437|\u0456\u0437|\u0432\u0456\u0434)\\s*)??"}primarySuffix(){return`(?:\\s*(?:\u0440\u0430\u043D\u043A\u0443|\u0432\u0435\u0447\u043E\u0440\u0430|\u043F\u043E \u043E\u0431\u0456\u0434\u0456|\u043F\u0456\u0441\u043B\u044F \u043E\u0431\u0456\u0434\u0443))?(?!\\/)${Ma.rightBoundary}`}extractPrimaryTimeComponents(t,e){let r=super.extractPrimaryTimeComponents(t,e);if(r){if(e[0].endsWith("\u0432\u0435\u0447\u043E\u0440\u0430")){let a=r.get("hour");a>=6&&a<12?(r.assign("hour",r.get("hour")+12),r.assign("meridiem",O.PM)):a<6&&r.assign("meridiem",O.AM)}if(e[0].endsWith("\u043F\u043E \u043E\u0431\u0456\u0434\u0456")||e[0].endsWith("\u043F\u0456\u0441\u043B\u044F \u043E\u0431\u0456\u0434\u0443")){r.assign("meridiem",O.PM);let a=r.get("hour");a>=0&&a<=6&&r.assign("hour",r.get("hour")+12)}e[0].endsWith("\u0440\u0430\u043D\u043A\u0443")&&(r.assign("meridiem",O.AM),r.get("hour")<12&&r.assign("hour",r.get("hour")))}return r}}});var Gh,HV=b(()=>{ra();Ne();Jn();ks();Gh=class extends ec{innerPatternString(t){return`(${Vd})\\s{0,5}\u0442\u043E\u043C\u0443(?=(?:\\W|$))`}innerExtract(t,e){let r=$d(e[1]),a=ir(r);return G.createRelativeFromReference(t.reference,a)}}});var Kh,zV=b(()=>{wa();Kh=class extends _t{patternBetween(){return/^\s*(і до|і по|до|по|-)\s*$/i}}});var Qh,UV=b(()=>{Sa();Qh=class extends Nt{patternBetween(){return new RegExp("^\\s*(T|\u0432|\u0443|\u043E|,|-)?\\s*$")}}});var Zh,WV=b(()=>{Zn();ks();Zh=class extends xn{innerPatternString(t){return"(?:\u0437|\u0456\u0437|\u0432\u0456\u0434)?\\s*(\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456|\u0432\u0447\u043E\u0440\u0430|\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u0456\u0441\u043B\u044F\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u0456\u0441\u043B\u044F\u043F\u0456\u0441\u043B\u044F\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0437\u0430\u043F\u043E\u0437\u0430\u0432\u0447\u043E\u0440\u0430|\u043F\u043E\u0437\u0430\u0432\u0447\u043E\u0440\u0430)"}innerExtract(t,e){let r=e[1].toLowerCase(),a=t.createParsingComponents();switch(r){case"\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456":return xr(t.reference);case"\u0432\u0447\u043E\u0440\u0430":return Gr(t.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return Kr(t.reference);case"\u043F\u0456\u0441\u043B\u044F\u0437\u0430\u0432\u0442\u0440\u0430":return Ti(t.reference,2);case"\u043F\u0456\u0441\u043B\u044F\u043F\u0456\u0441\u043B\u044F\u0437\u0430\u0432\u0442\u0440\u0430":return Ti(t.reference,3);case"\u043F\u043E\u0437\u0430\u0432\u0447\u043E\u0440\u0430":return Fl(t.reference,2);case"\u043F\u043E\u0437\u0430\u043F\u043E\u0437\u0430\u0432\u0447\u043E\u0440\u0430":return Fl(t.reference,3)}return a}}});var qV,Jh,VV=b(()=>{Zn();Kn();qV=Ie(nt(),1);ks();Jh=class extends xn{innerPatternString(t){return"(\u0437\u0430\u0440\u0430\u0437|\u043C\u0438\u043D\u0443\u043B\u043E\u0433\u043E\\s*\u0432\u0435\u0447\u043E\u0440\u0430|\u043C\u0438\u043D\u0443\u043B\u043E\u0457\\s*\u043D\u043E\u0447\u0456|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0457\\s*\u043D\u043E\u0447\u0456|\u0441\u044C\u043E\u0433\u043E\u0434\u043D\u0456\\s*\u0432\u043D\u043E\u0447\u0456|\u0446\u0456\u0454\u0457\\s*\u043D\u043E\u0447\u0456|\u0446\u044C\u043E\u0433\u043E \u0440\u0430\u043D\u043A\u0443|\u0432\u0440\u0430\u043D\u0446\u0456|\u0440\u0430\u043D\u043A\u0443|\u0437\u0440\u0430\u043D\u043A\u0443|\u043E\u043F\u0456\u0432\u0434\u043D\u0456|\u0432\u0432\u0435\u0447\u0435\u0440\u0456|\u0432\u0435\u0447\u043E\u0440\u0430|\u043E\u043F\u0456\u0432\u043D\u043E\u0447\u0456|\u0432\u043D\u043E\u0447\u0456)"}innerExtract(t,e){let r=(0,qV.default)(t.reference.instant),a=e[0].toLowerCase(),i=t.createParsingComponents();if(a==="\u0437\u0430\u0440\u0430\u0437")return Yr(t.reference);if(a==="\u0432\u0432\u0435\u0447\u0435\u0440\u0456"||a==="\u0432\u0435\u0447\u043E\u0440\u0430")return Cd(t.reference);if(a.endsWith("\u0432\u0440\u0430\u043D\u0446\u0456")||a.endsWith("\u0440\u0430\u043D\u043A\u0443")||a.endsWith("\u0437\u0440\u0430\u043D\u043A\u0443"))return Pd(t.reference);if(a.endsWith("\u043E\u043F\u0456\u0432\u0434\u043D\u0456"))return Md(t.reference);if(a.match(/минулої\s*ночі/))return lv(t.reference);if(a.match(/минулого\s*вечора/))return cv(t.reference);if(a.match(/наступної\s*ночі/)){let s=r.hour()<22?1:2;r=r.add(s,"day"),xt(i,r),i.imply("hour",1)}return a.match(/цієї\s*ночі/)?Ol(t.reference):a.endsWith("\u043E\u043F\u0456\u0432\u043D\u043E\u0447\u0456")||a.endsWith("\u0432\u043D\u043E\u0447\u0456")?Ol(t.reference):i}}});var Yoe,Goe,Koe,Xh,$V=b(()=>{ra();$e();Xa();ks();Yoe=1,Goe=2,Koe=3,Xh=class extends xn{innerPatternString(t){return`(?:(?:,|\\(|\uFF08)\\s*)?(?:\u0432\\s*?)?(?:\u0443\\s*?)?(?:(\u0446\u0435\u0439|\u043C\u0438\u043D\u0443\u043B\u043E\u0433\u043E|\u043C\u0438\u043D\u0443\u043B\u0438\u0439|\u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439|\u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044C\u043E\u0433\u043E|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443)\\s*)?(${X(LE)})(?:\\s*(?:,|\\)|\uFF09))?(?:\\s*(\u043D\u0430|\u0443|\u0432)\\s*(\u0446\u044C\u043E\u043C\u0443|\u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443)\\s*\u0442\u0438\u0436\u043D\u0456)?`}innerExtract(t,e){let r=e[Goe].toLocaleLowerCase(),a=LE[r],i=e[Yoe],s=e[Koe],o=i||s;o=o||"",o=o.toLocaleLowerCase();let l=null;return o=="\u043C\u0438\u043D\u0443\u043B\u043E\u0433\u043E"||o=="\u043C\u0438\u043D\u0443\u043B\u0438\u0439"||o=="\u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456\u0439"||o=="\u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u044C\u043E\u0433\u043E"?l="last":o=="\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E"||o=="\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439"?l="next":(o=="\u0446\u0435\u0439"||o=="\u0446\u044C\u043E\u0433\u043E"||o=="\u0446\u044C\u043E\u043C\u0443")&&(l="this"),sr(t.reference,a,l)}}});var YV,Qoe,Zoe,ef,GV=b(()=>{ra();Ne();YV=Ie(nt(),1);$e();ks();Qoe=1,Zoe=2,ef=class extends xn{innerPatternString(t){return`(\u0432 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443|\u0443 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443|\u043D\u0430 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443|\u043C\u0438\u043D\u0443\u043B\u043E\u0433\u043E|\u043D\u0430 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443|\u0432 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443|\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E|\u043D\u0430 \u0446\u044C\u043E\u043C\u0443|\u0432 \u0446\u044C\u043E\u043C\u0443|\u0443 \u0446\u044C\u043E\u043C\u0443|\u0446\u044C\u043E\u0433\u043E)\\s*(${X(Wh)})(?=\\s*)`}innerExtract(t,e){let r=e[Qoe].toLowerCase(),a=e[Zoe].toLowerCase(),i=Wh[a];if(r=="\u043D\u0430 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443"||r=="\u0432 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443"||r=="\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u043C\u0443"||r=="\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E"){let l={};return l[i]=1,G.createRelativeFromReference(t.reference,l)}if(r=="\u043D\u0430 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443"||r=="\u0432 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443"||r=="\u0443 \u043C\u0438\u043D\u0443\u043B\u043E\u043C\u0443"||r=="\u043C\u0438\u043D\u0443\u043B\u043E\u0433\u043E"){let l={};return l[i]=-1,G.createRelativeFromReference(t.reference,l)}let s=t.createParsingComponents(),o=(0,YV.default)(t.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.imply("year",o.year())):i.match(/month/i)?(o=o.add(-o.date()+1,"d"),s.imply("day",o.date()),s.assign("year",o.year()),s.assign("month",o.month()+1)):i.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),s.imply("day",o.date()),s.imply("month",o.month()+1),s.assign("year",o.year())),s}}});var tf,KV=b(()=>{ra();Ne();Jn();ks();tf=class extends xn{innerPatternString(t){return`(\u0446\u0456|\u043E\u0441\u0442\u0430\u043D\u043D\u0456|\u043C\u0438\u043D\u0443\u043B\u0456|\u043C\u0430\u0439\u0431\u0443\u0442\u043D\u0456|\u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0456|\u043F\u0456\u0441\u043B\u044F|\u0447\u0435\u0440\u0435\u0437|\\+|-)\\s*(${Vd})`}innerExtract(t,e){let r=e[1].toLowerCase(),a=$d(e[3]);switch(r){case"\u043E\u0441\u0442\u0430\u043D\u043D\u0456":case"\u043C\u0438\u043D\u0443\u043B\u0456":case"-":a=ir(a);break}return G.createRelativeFromReference(t.reference,a)}}});var WE={};Be(WE,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>zE,createCasualConfiguration:()=>QV,createConfiguration:()=>UE,parse:()=>Xoe,parseDate:()=>ele,strict:()=>Joe});function QV(){let n=UE(!1);return n.parsers.unshift(new Zh),n.parsers.unshift(new Jh),n.parsers.unshift(new $h),n.parsers.unshift(new ef),n.parsers.unshift(new tf),n}function UE(n){return Ot({parsers:[new ys,new gr(!0),new qh,new Vh,new Xh,new Yh(n),new Gh],refiners:[new Qh,new Kh]},n)}function Xoe(n,t,e){return zE.parse(n,t,e)}function ele(n,t,e){return zE.parseDate(n,t,e)}var zE,Joe,ZV=b(()=>{_V();OV();BV();jV();HV();zV();UV();Qn();WV();VV();$V();GV();Dn();Ne();Ze();vs();KV();ov();zE=new ve(QV()),Joe=new ve(UE(!0))});var zv={};Be(zv,{Chrono:()=>ve,Meridiem:()=>O,ParsingComponents:()=>G,ParsingContext:()=>gm,ParsingResult:()=>et,ReferenceWithTimezone:()=>at,Weekday:()=>we,casual:()=>qE,de:()=>gD,en:()=>oD,es:()=>NE,fr:()=>xD,ja:()=>AD,nl:()=>WD,parse:()=>rle,parseDate:()=>nle,pt:()=>FD,ru:()=>CE,strict:()=>tle,uk:()=>WE,zh:()=>yE});function rle(n,t,e){return qE.parse(n,t,e)}function nle(n,t,e){return qE.parseDate(n,t,e)}var tle,qE,JV=b(()=>{dW();Dn();Ne();Ze();FW();i2();T2();F2();cq();Bq();oV();PV();ZV();tle=sD,qE=ym});var Yd,VE=b(()=>{Yd=class{constructor(t,e=[]){this.config=t,this.userFields=e,this.triggerMap=new Map,this.propertyMap=new Map,this.buildMaps()}buildMaps(){this.triggerMap.clear(),this.propertyMap.clear();for(let t of this.config.triggers)t.enabled&&(this.triggerMap.set(t.trigger,t),this.propertyMap.set(t.propertyId,t))}getTriggerForProperty(t){return this.propertyMap.get(t)}getPropertyForTrigger(t){var e;return(e=this.triggerMap.get(t))==null?void 0:e.propertyId}getAllEnabledTriggers(){return this.config.triggers.filter(t=>t.enabled)}getTriggersOrderedByLength(){return this.getAllEnabledTriggers().sort((t,e)=>e.trigger.length-t.trigger.length)}usesNativeTagSuggester(){let t=this.getTriggerForProperty("tags");return(t==null?void 0:t.trigger)==="#"&&(t==null?void 0:t.enabled)}getTagTrigger(){let t=this.getTriggerForProperty("tags");return t!=null&&t.enabled?t.trigger:void 0}getContextTrigger(){let t=this.getTriggerForProperty("contexts");return t!=null&&t.enabled?t.trigger:void 0}getProjectTrigger(){let t=this.getTriggerForProperty("projects");return t!=null&&t.enabled?t.trigger:void 0}getStatusTrigger(){let t=this.getTriggerForProperty("status");return t!=null&&t.enabled?t.trigger:void 0}getPriorityTrigger(){let t=this.getTriggerForProperty("priority");return t!=null&&t.enabled?t.trigger:void 0}getUserField(t){return this.userFields.find(e=>e.id===t)}isUserField(t){return this.userFields.some(e=>e.id===t)}getSuggesterType(t){if(t==="tags")return this.usesNativeTagSuggester()?"native-tag":"list";if(t==="contexts")return"list";if(t==="projects")return"file";if(t==="status")return"status";if(t==="priority")return"priority";let e=this.getUserField(t);if(e)switch(e.type){case"text":return e.autosuggestFilter?"file":"list";case"list":return"list";case"boolean":return"boolean";default:return"none"}return"none"}updateConfig(t){this.config=t,this.buildMaps()}updateUserFields(t){this.userFields=t}}});var na,Gd=b(()=>{rr();JV();_S();pS();VE();na=class n{constructor(t=[],e=[],r=!0,a="en",i,s){this.isValidDateString=t=>/^\d{4}-\d{2}-\d{2}$/.test(t);this.isValidTimeString=t=>/^([01]?[0-9]|2[0-3]):[0-5][0-9]$/.test(t);this.escapeRegex=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");this.cleanupWhitespace=t=>t.replace(/\s+/g," ").replace(/^\s+|\s+$/g,"").trim();this.defaultToScheduled=r,this.languageConfig=KH(a),this.statusConfigs=t,this.priorityConfigs=e;let o=i||(()=>{let{DEFAULT_NLP_TRIGGERS:l}=(to(),Wa(jw));return l})();this.triggerConfig=new Yd(o,s||[]),this.boundaries=this.createBoundaryConfig(),this.priorityPatterns=this.buildPriorityPatterns(e),this.statusPatterns=this.buildFallbackStatusPatterns(),this.recurrencePatterns=this.buildRecurrencePatterns(),this.processingPipeline=this.buildProcessingPipeline()}static fromPlugin(t){let e=t.settings;return new n(e.customStatuses,e.customPriorities,e.nlpDefaultToScheduled,e.nlpLanguage,e.nlpTriggers,e.userFields)}createBoundaryConfig(){let t=["ru","zh","ja","uk","fr"].includes(this.languageConfig.code);return{boundary:t?"(?:^|\\s)":"\\b",endBoundary:t?"(?=\\s|$)":"\\b",isNonAscii:t}}getChronoParser(){let t=this.languageConfig.chronoLocale;return zv[t]||zv}buildProcessingPipeline(){return[{name:"extractTags",process:(t,e)=>this.extractTags(t,e)},{name:"extractContexts",process:(t,e)=>this.extractContexts(t,e)},{name:"extractProjects",process:(t,e)=>this.extractProjects(t,e)},{name:"extractPriority",process:(t,e)=>this.extractPriority(t,e)},{name:"extractStatus",process:(t,e)=>this.extractStatus(t,e)},{name:"extractRecurrence",process:(t,e)=>this.extractRecurrence(t,e)},{name:"extractTimeEstimate",process:(t,e)=>this.extractTimeEstimate(t,e)},{name:"extractUserFields",process:(t,e)=>this.extractUserFields(t,e)},{name:"parseUnifiedDatesAndTimes",process:(t,e)=>this.parseUnifiedDatesAndTimes(t,e)}]}parseInput(t){let e={title:"",tags:[],contexts:[],projects:[]},[r,a]=this.extractTitleAndDetails(t);a&&(e.details=a);let i=r;for(let s of this.processingPipeline)try{i=s.process(i,e)}catch(o){console.debug(`Error in processor ${s.name}:`,o)}return e.title=i.trim(),this.validateAndCleanupResult(e)}extractTitleAndDetails(t){let e=t.trim(),r=e.indexOf(`
|
||
`);if(r!==-1){let a=e.substring(0,r).trim(),i=e.substring(r+1).trim();return[a,i]}return[e,void 0]}extractTags(t,e){let r=this.triggerConfig.getTagTrigger();if(!r)return t;let a=this.escapeRegex(r),i=new RegExp(`${a}[\\p{L}\\p{N}\\p{M}_/-]+`,"gu"),s=t.match(i);return s?(e.tags.push(...s.map(o=>o.substring(r.length))),this.cleanupWhitespace(t.replace(i,""))):t}extractContexts(t,e){let r=this.triggerConfig.getContextTrigger();if(!r)return t;let a=this.escapeRegex(r),i=new RegExp(`${a}[\\p{L}\\p{N}\\p{M}_/-]+`,"gu"),s=t.match(i);return s?(e.contexts.push(...s.map(o=>o.substring(r.length))),this.cleanupWhitespace(t.replace(i,""))):t}extractProjects(t,e){let r=this.triggerConfig.getProjectTrigger();if(!r)return t;let a=t,i=this.escapeRegex(r),s=new RegExp(`${i}\\[\\[.*?\\]\\]`,"g"),o=a.match(s);o&&(e.projects.push(...o.map(d=>d.slice(r.length))),a=this.cleanupWhitespace(a.replace(s,"")));let l=new RegExp(`${i}[\\p{L}\\p{N}\\p{M}_/-]+`,"gu"),c=a.match(l);return c&&(e.projects.push(...c.map(d=>d.substring(r.length))),a=this.cleanupWhitespace(a.replace(l,""))),a}extractUserFields(t,e){let r=t,a=this.triggerConfig.getAllEnabledTriggers().filter(i=>this.triggerConfig.isUserField(i.propertyId));for(let i of a){let s=this.triggerConfig.getUserField(i.propertyId);if(!s)continue;let o=this.escapeRegex(i.trigger);if(s.type==="list"){let l=new RegExp(`${o}(?:"([^"]+)"|([\\p{L}\\p{N}\\p{M}_/-]+))`,"gu"),c=[],d;for(;(d=l.exec(r))!==null;){let u=d[1]||d[2];c.push(u)}c.length>0&&(e.userFields||(e.userFields={}),e.userFields[s.id]=c,r=this.cleanupWhitespace(r.replace(l,"")))}else if(s.type==="text"||s.type==="boolean"||s.type==="number"){let l=new RegExp(`${o}(?:"([^"]+)"|([\\p{L}\\p{N}\\p{M}_/-]+))`,"u"),c=r.match(l);if(c){let d=c[1]||c[2];e.userFields||(e.userFields={}),s.type==="boolean"?e.userFields[s.id]=d.toLowerCase()==="true"?"true":"false":e.userFields[s.id]=d,r=this.cleanupWhitespace(r.replace(l,""))}}else if(s.type==="date"){let l=new RegExp(`${o}(?:"([^"]+)"|([\\p{L}\\p{N}\\p{M}_/-]+))`,"u"),c=r.match(l);if(c){let d=c[1]||c[2];e.userFields||(e.userFields={}),e.userFields[s.id]=d,r=this.cleanupWhitespace(r.replace(l,""))}}}return r}buildPriorityPatterns(t){if(t.length>0)return t.flatMap(s=>[{regex:new RegExp(`\\b${this.escapeRegex(s.value)}\\b`,"i"),value:s.value},{regex:new RegExp(`\\b${this.escapeRegex(s.label)}\\b`,"i"),value:s.value}]);let e=[],r=this.languageConfig.fallbackPriority,{boundary:a,endBoundary:i}=this.boundaries;return e.push({regex:new RegExp(`${a}(${r.urgent.map(s=>this.escapeRegex(s)).join("|")})${i}`,"i"),value:"urgent"}),e.push({regex:new RegExp(`${a}(${r.high.map(s=>this.escapeRegex(s)).join("|")})${i}`,"i"),value:"high"}),e.push({regex:new RegExp(`${a}(${r.normal.map(s=>this.escapeRegex(s)).join("|")})${i}`,"i"),value:"normal"}),e.push({regex:new RegExp(`${a}(${r.low.map(s=>this.escapeRegex(s)).join("|")})${i}`,"i"),value:"low"}),e}extractPriority(t,e){if(this.priorityConfigs.length>0){let a=[...this.priorityConfigs].sort((o,l)=>l.label.length-o.label.length),i=this.triggerConfig.getTriggerForProperty("priority"),s=i!=null&&i.enabled?i.trigger:"";for(let o of a){let l=[o.label,o.value];for(let c of l){if(!c||c.trim()==="")continue;if(s){let u=s+c,p=this.findTextMatch(t,u);if(p)return e.priority=o.value,this.cleanupWhitespace(t.replace(p.fullMatch,""))}let d=this.findTextMatch(t,c);if(d)return e.priority=o.value,this.cleanupWhitespace(t.replace(d.fullMatch,""))}}return t}let r=null;for(let a of this.priorityPatterns){let i=t.match(a.regex);i&&i.index!==void 0&&(!r||i.index<r.index)&&(r={pattern:a,index:i.index})}return r?(e.priority=r.pattern.value,this.cleanupWhitespace(t.replace(r.pattern.regex,""))):t}buildFallbackStatusPatterns(){if(this.statusConfigs.length>0)return[];let t=this.languageConfig.fallbackStatus,{boundary:e,endBoundary:r}=this.boundaries;return[{regex:new RegExp(`${e}(${t.open.map(a=>this.escapeRegex(a)).join("|")})${r}`,"i"),value:"open"},{regex:new RegExp(`${e}(${t.inProgress.map(a=>this.escapeRegex(a)).join("|")})${r}`,"i"),value:"in-progress"},{regex:new RegExp(`${e}(${t.done.map(a=>this.escapeRegex(a)).join("|")})${r}`,"i"),value:"done"},{regex:new RegExp(`${e}(${t.cancelled.map(a=>this.escapeRegex(a)).join("|")})${r}`,"i"),value:"cancelled"},{regex:new RegExp(`${e}(${t.waiting.map(a=>this.escapeRegex(a)).join("|")})${r}`,"i"),value:"waiting"}]}extractStatus(t,e){if(this.statusConfigs.length>0){let r=[...this.statusConfigs].sort((s,o)=>o.label.length-s.label.length),a=this.triggerConfig.getTriggerForProperty("status"),i=a!=null&&a.enabled?a.trigger:"";for(let s of r){let o=[s.label,s.value];for(let l of o){if(!l||l.trim()==="")continue;if(i){let d=i+l,u=this.findTextMatch(t,d);if(u)return e.status=s.value,this.cleanupWhitespace(t.replace(u.fullMatch,""))}let c=this.findTextMatch(t,l);if(c)return e.status=s.value,this.cleanupWhitespace(t.replace(c.fullMatch,""))}}return t}for(let r of this.statusPatterns)if(r.regex.test(t))return e.status=r.value,this.cleanupWhitespace(t.replace(r.regex,""));return t}findTextMatch(t,e){if(!e||e.trim()==="")return null;let r=t.toLowerCase(),a=e.toLowerCase(),i=0;for(;;){let s=r.indexOf(a,i);if(s===-1)break;let o=s>0?t[s-1]:" ",l=s+e.length,c=l<t.length?t[l]:" ",d=/\s/.test(o)||s===0,u=/\s/.test(c)||l===t.length;if(d&&u)return{fullMatch:t.substring(s,l),startIndex:s};i=s+1}return null}parseUnifiedDatesAndTimes(t,e){var a,i;let r=t;try{let s=this.getChronoParser(),o=this.languageConfig.dateTriggers,l=[{type:"due",regex:new RegExp(`\\b(${o.due.map(T=>this.escapeRegex(T)).join("|")})`,"i")},{type:"scheduled",regex:new RegExp(`\\b(${o.scheduled.map(T=>this.escapeRegex(T)).join("|")})`,"i")}];for(let T of l){let k=r.match(T.regex);if(k){let w=(k.index||0)+k[0].length,S=r.substring(w),x=this.parseChronoFromPosition(S);if(x.success)return T.type==="due"?(e.dueDate=x.date,x.time&&(e.dueTime=x.time)):(e.scheduledDate=x.date,x.time&&(e.scheduledTime=x.time)),r=r.replace(T.regex,""),x.matchedText&&(r=r.replace(x.matchedText,"")),r=this.cleanupWhitespace(r),r}}let c=s.parse(t,new Date,{forwardDate:!0});if(c.length===0)return t;let d=c[0],u=d.text,p=d.start.date(),m=(a=d.end)==null?void 0:a.date(),h=new RegExp(`\\b(${o.due.map(T=>this.escapeRegex(T)).join("|")})\\b`,"i"),f=new RegExp(`\\b(${o.scheduled.map(T=>this.escapeRegex(T)).join("|")})\\b`,"i"),g=h.test(d.text),v=f.test(d.text);if(m&&wr(m)&&m.getTime()!==p.getTime())e.scheduledDate=M(p,"yyyy-MM-dd"),d.start.isCertain("hour")&&(e.scheduledTime=M(p,"HH:mm")),e.dueDate=M(m,"yyyy-MM-dd"),(i=d.end)!=null&&i.isCertain("hour")&&(e.dueTime=M(m,"HH:mm"));else if(wr(p)){let T=M(p,"yyyy-MM-dd"),k=d.start.isCertain("hour")?M(p,"HH:mm"):void 0;g&&!v?(e.dueDate=T,e.dueTime=k):v&&!g||this.defaultToScheduled?(e.scheduledDate=T,e.scheduledTime=k):(e.dueDate=T,e.dueTime=k)}r=r.replace(u,"").trim(),r=this.cleanupWhitespace(r)}catch(s){console.debug("Error in unified date parsing:",s)}return r}parseChronoFromPosition(t){try{let r=this.getChronoParser().parse(t,new Date,{forwardDate:!0});if(r.length>0){let a=r[0];if(a.index<=3){let i=a.start.date();if(wr(i)){let s={success:!0,date:M(i,"yyyy-MM-dd"),matchedText:a.text};return a.start.isCertain("hour")&&(s.time=M(i,"HH:mm")),s}}}}catch(e){console.debug("Error parsing date with chrono:",e)}return{success:!1}}buildRecurrencePatterns(){let t=this.languageConfig.recurrence,e=[],{boundary:r,endBoundary:a}=this.boundaries,i=s=>s.map(o=>this.escapeRegex(o)).join("|");return e.push(...this.buildOrdinalWeekdayPatterns(t,r,a,i)),e.push(...this.buildIntervalPatterns(t,r,a,i)),e.push(...this.buildEveryOtherPatterns(t,r,a,i)),e.push(...this.buildWeekdayPatterns(t,r,a,i)),e.push(...this.buildFrequencyPatterns(t,r,a,i)),e}buildOrdinalWeekdayPatterns(t,e,r,a){let i=a(t.every),s=a([...t.ordinals.first,...t.ordinals.second,...t.ordinals.third,...t.ordinals.fourth,...t.ordinals.last]),o=a([...t.weekdays.monday,...t.weekdays.tuesday,...t.weekdays.wednesday,...t.weekdays.thursday,...t.weekdays.friday,...t.weekdays.saturday,...t.weekdays.sunday]);return[{regex:new RegExp(`${e}(${i})\\s+(${s})\\s+(${o})${r}`,"i"),handler:l=>{let c=l[2].toLowerCase(),d=l[3].toLowerCase(),u=1;return t.ordinals.second.some(m=>m.toLowerCase()===c)?u=2:t.ordinals.third.some(m=>m.toLowerCase()===c)?u=3:t.ordinals.fourth.some(m=>m.toLowerCase()===c)?u=4:t.ordinals.last.some(m=>m.toLowerCase()===c)&&(u=-1),`FREQ=MONTHLY;BYDAY=${this.getWeekdayRRuleCode(d,t)};BYSETPOS=${u}`}}]}buildIntervalPatterns(t,e,r,a){let i=a(t.every),s=a([...t.periods.day,...t.periods.week,...t.periods.month,...t.periods.year]);return[{regex:new RegExp(`${e}(${i})\\s+(\\d+)\\s+(${s})${r}`,"i"),handler:o=>{let l=parseInt(o[2]),c=o[3].toLowerCase();return`FREQ=${this.getPeriodFrequency(c,t)};INTERVAL=${l}`}}]}buildEveryOtherPatterns(t,e,r,a){let i=a(t.every),s=a(t.other),o=a([...t.periods.day,...t.periods.week,...t.periods.month,...t.periods.year]);return[{regex:new RegExp(`${e}(${i})\\s+(${s})\\s+(${o})${r}`,"i"),handler:l=>{let c=l[3].toLowerCase();return`FREQ=${this.getPeriodFrequency(c,t)};INTERVAL=2`}}]}buildWeekdayPatterns(t,e,r,a){let i=a(t.every),s=a([...t.weekdays.monday,...t.weekdays.tuesday,...t.weekdays.wednesday,...t.weekdays.thursday,...t.weekdays.friday,...t.weekdays.saturday,...t.weekdays.sunday]),o=a([...t.pluralWeekdays.monday,...t.pluralWeekdays.tuesday,...t.pluralWeekdays.wednesday,...t.pluralWeekdays.thursday,...t.pluralWeekdays.friday,...t.pluralWeekdays.saturday,...t.pluralWeekdays.sunday]);return[{regex:new RegExp(`${e}(${i})\\s+(${s})${r}`,"i"),handler:l=>{let c=l[2].toLowerCase();return`FREQ=WEEKLY;BYDAY=${this.getWeekdayRRuleCode(c,t)}`}},{regex:new RegExp(`${e}(${o})${r}`,"i"),handler:l=>{let c=l[1].toLowerCase();return`FREQ=WEEKLY;BYDAY=${this.getPluralWeekdayRRuleCode(c,t)}`}}]}buildFrequencyPatterns(t,e,r,a){return[{regex:new RegExp(`${e}(${a(t.frequencies.daily)})${r}`,"i"),handler:()=>"FREQ=DAILY"},{regex:new RegExp(`${e}(${a(t.frequencies.weekly)})${r}`,"i"),handler:()=>"FREQ=WEEKLY"},{regex:new RegExp(`${e}(${a(t.frequencies.monthly)})${r}`,"i"),handler:()=>"FREQ=MONTHLY"},{regex:new RegExp(`${e}(${a(t.frequencies.yearly)})${r}`,"i"),handler:()=>"FREQ=YEARLY"}]}getPeriodFrequency(t,e){return e.periods.week.some(r=>r.toLowerCase()===t)?"WEEKLY":e.periods.month.some(r=>r.toLowerCase()===t)?"MONTHLY":e.periods.year.some(r=>r.toLowerCase()===t)?"YEARLY":"DAILY"}getWeekdayRRuleCode(t,e){return e.weekdays.tuesday.some(r=>r.toLowerCase()===t)?"TU":e.weekdays.wednesday.some(r=>r.toLowerCase()===t)?"WE":e.weekdays.thursday.some(r=>r.toLowerCase()===t)?"TH":e.weekdays.friday.some(r=>r.toLowerCase()===t)?"FR":e.weekdays.saturday.some(r=>r.toLowerCase()===t)?"SA":e.weekdays.sunday.some(r=>r.toLowerCase()===t)?"SU":"MO"}getPluralWeekdayRRuleCode(t,e){return e.pluralWeekdays.tuesday.some(r=>r.toLowerCase()===t)?"TU":e.pluralWeekdays.wednesday.some(r=>r.toLowerCase()===t)?"WE":e.pluralWeekdays.thursday.some(r=>r.toLowerCase()===t)?"TH":e.pluralWeekdays.friday.some(r=>r.toLowerCase()===t)?"FR":e.pluralWeekdays.saturday.some(r=>r.toLowerCase()===t)?"SA":e.pluralWeekdays.sunday.some(r=>r.toLowerCase()===t)?"SU":"MO"}extractRecurrence(t,e){for(let r of this.recurrencePatterns){let a=t.match(r.regex);if(a){let i=r.handler(a);if(this.isValidRRuleString(i))return e.recurrence=i,this.cleanupWhitespace(t.replace(r.regex,""))}}return t}isValidRRuleString(t){if(t.includes("BYDAY=undefined")||t.includes("BYDAY=;")||t.includes("BYDAY=")){let e=t.match(/BYDAY=([^;]*)/);if(e&&(!e[1]||e[1]==="undefined"||e[1].trim()===""))return!1}return!!t.includes("FREQ=")}extractTimeEstimate(t,e){let r=this.languageConfig.timeEstimate,{boundary:a,endBoundary:i}=this.boundaries,s=[{regex:new RegExp(`${a}(\\d+)(${r.hours.map(c=>this.escapeRegex(c)).join("|")})\\s*(\\d+)(${r.minutes.map(c=>this.escapeRegex(c)).join("|")})${i}`,"i"),handler:c=>parseInt(c[1])*60+parseInt(c[3])},{regex:new RegExp(`${a}(\\d+)\\s*(${r.hours.map(c=>this.escapeRegex(c)).join("|")})${i}`,"i"),handler:c=>parseInt(c[1])*60},{regex:new RegExp(`${a}(\\d+)\\s*(${r.minutes.map(c=>this.escapeRegex(c)).join("|")})${i}`,"i"),handler:c=>parseInt(c[1])}],o=t,l=0;for(let c of s){let d=o.match(c.regex);d&&(l+=c.handler(d),o=this.cleanupWhitespace(o.replace(c.regex,"")))}return l>0&&(e.estimate=l),o}validateAndCleanupResult(t){return t.title.trim()||(t.title="Untitled Task"),t.tags=[...new Set(t.tags.filter(Boolean))],t.contexts=[...new Set(t.contexts.filter(Boolean))],t.projects=[...new Set(t.projects.filter(Boolean))],t.dueDate&&!this.isValidDateString(t.dueDate)&&delete t.dueDate,t.scheduledDate&&!this.isValidDateString(t.scheduledDate)&&delete t.scheduledDate,t.dueTime&&!this.isValidTimeString(t.dueTime)&&delete t.dueTime,t.scheduledTime&&!this.isValidTimeString(t.scheduledTime)&&delete t.scheduledTime,t}getPreviewData(t){let e=[];if(t.title&&e.push({icon:"edit-3",text:`"${t.title}"`}),t.details&&e.push({icon:"file-text",text:`Details: "${t.details.substring(0,50)}${t.details.length>50?"...":""}"`}),t.dueDate){let r=t.dueTime?`${t.dueDate} at ${t.dueTime}`:t.dueDate;e.push({icon:"calendar",text:`Due: ${r}`})}if(t.scheduledDate){let r=t.scheduledTime?`${t.scheduledDate} at ${t.scheduledTime}`:t.scheduledDate;e.push({icon:"calendar-clock",text:`Scheduled: ${r}`})}if(t.priority&&e.push({icon:"alert-triangle",text:`Priority: ${t.priority}`}),t.status&&e.push({icon:"activity",text:`Status: ${t.status}`}),t.contexts&&t.contexts.length>0&&e.push({icon:"map-pin",text:`Contexts: ${t.contexts.map(r=>"@"+r).join(", ")}`}),t.projects&&t.projects.length>0){let r=t.projects.map(a=>`+${a}`).join(", ");e.push({icon:"folder",text:`Projects: ${r}`})}if(t.tags&&t.tags.length>0&&e.push({icon:"tag",text:`Tags: ${t.tags.map(r=>"#"+r).join(", ")}`}),t.recurrence){let r="Invalid recurrence";try{t.recurrence.includes("FREQ=")&&this.isValidRRuleString(t.recurrence)&&(r=ce.fromString(t.recurrence).toText())}catch(a){console.debug("Error parsing rrule for preview:",a)}e.push({icon:"repeat",text:`Recurrence: ${r}`})}if(t.estimate&&e.push({icon:"clock",text:`Estimate: ${t.estimate} min`}),t.userFields&&Object.keys(t.userFields).length>0)for(let[r,a]of Object.entries(t.userFields)){let i=this.triggerConfig.getUserField(r),s=(i==null?void 0:i.displayName)||r,o;Array.isArray(a)?o=a.join(", "):o=a,e.push({icon:"box",text:`${s}: ${o}`})}return e}getPreviewText(t){return this.getPreviewData(t).map(e=>e.text).join(" \u2022 ")}getStatusSuggestions(t,e=10){let r=t.toLowerCase();return this.statusConfigs.filter(a=>a&&typeof a.value=="string"&&typeof a.label=="string").filter(a=>a.value.trim()!==""&&a.label.trim()!=="").filter(a=>a.value.toLowerCase().includes(r)||a.label.toLowerCase().includes(r)).slice(0,e).map(a=>({value:a.value,label:a.label,display:a.label}))}}});var XV={};Be(XV,{ReminderModal:()=>ei});var Lt,ei,Kd=b(()=>{Lt=require("obsidian");Ke();ei=class extends Lt.Modal{constructor(e,r,a,i){super(e);this.selectedType="relative";this.relativeAnchor="due";this.relativeOffset=15;this.relativeUnit="minutes";this.relativeDirection="before";this.absoluteDate="";this.absoluteTime="";this.description="";this.plugin=r,this.task=a,this.reminders=a.reminders?[...a.reminders]:[],this.originalReminders=a.reminders?[...a.reminders]:[],this.onSave=i}onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("tasknotes-plugin"),e.addClass("tasknotes-reminder-modal"),e.createDiv({cls:"reminder-modal__loading"}).createEl("div",{text:"Loading reminders..."}),this.initializeWithFreshData().catch(a=>{console.error("Failed to initialize reminder modal:",a),e.empty(),e.addClass("tasknotes-plugin"),e.addClass("tasknotes-reminder-modal"),e.createDiv({cls:"reminder-modal__error",text:"Failed to load task data. Please try again."})})}async initializeWithFreshData(){let{contentEl:e}=this;if(this.task.path&&this.task.path.trim()!==""){let s=await this.plugin.cacheManager.getTaskInfo(this.task.path);s?(this.task=s,this.reminders=s.reminders?[...s.reminders]:[],this.originalReminders=s.reminders?[...s.reminders]:[]):(this.reminders=this.task.reminders?[...this.task.reminders]:[],this.originalReminders=this.task.reminders?[...this.task.reminders]:[])}else this.reminders=this.task.reminders?[...this.task.reminders]:[],this.originalReminders=this.task.reminders?[...this.task.reminders]:[];e.empty(),e.addClass("tasknotes-plugin"),e.addClass("tasknotes-reminder-modal");let r=e.createDiv({cls:"reminder-modal__header"});r.createEl("h2",{text:"Task Reminders"}),r.createDiv({cls:"reminder-modal__task-title",text:this.task.title});let a=this.getTaskContextInfo();if(a){let s=r.createDiv({cls:"reminder-modal__task-dates"});s.textContent=a}let i=e.createDiv({cls:"reminder-modal__content"});this.renderExistingReminders(i),this.renderAddReminderForm(i),this.renderActionButtons(e),this.setupKeyboardHandlers(),this.updateSaveButtonState()}renderActionButtons(e){let r=e.createDiv({cls:"reminder-modal__actions"});this.saveBtn=r.createEl("button",{text:"Save Changes",cls:"mod-cta reminder-modal__save-btn"}),this.saveBtn.disabled=!0,this.saveBtn.onclick=async()=>{await this.save()};let a=r.createEl("button",{text:"Cancel",cls:"reminder-modal__cancel-btn"});a.onclick=()=>{this.cancel()}}getTaskContextInfo(){let e=[];return this.task.due&&e.push(`Due: ${as(this.task.due)}`),this.task.scheduled&&e.push(`Scheduled: ${as(this.task.scheduled)}`),e.length>0?e.join(" \u2022 "):null}setupKeyboardHandlers(){let e=async r=>{r.key==="Enter"&&(r.ctrlKey||r.metaKey)&&!this.saveBtn.disabled?(r.preventDefault(),await this.save()):r.key==="Escape"&&(r.preventDefault(),this.cancel())};this.contentEl.addEventListener("keydown",e),this.onClose=()=>{this.contentEl.removeEventListener("keydown",e);let{contentEl:r}=this;r.empty()}}updateSaveButtonState(){if(!this.saveBtn)return;let e=this.remindersHaveChanged();this.saveBtn.disabled=!e,this.saveBtn.textContent=e?"Save Changes":"No Changes"}renderExistingReminders(e){let r=e.createDiv({cls:"reminder-modal__section"}),a=r.createDiv({cls:"reminder-modal__section-header"});if(a.createEl("h3",{text:"Current Reminders"}),this.reminders.length>0&&a.createSpan({cls:"reminder-modal__reminder-count",text:`(${this.reminders.length})`}),this.reminders.length===0){let s=r.createDiv({cls:"reminder-modal__empty-state"});(0,Lt.setIcon)(s.createDiv({cls:"reminder-modal__empty-icon"}),"bell-off"),s.createEl("div",{cls:"reminder-modal__empty-text",text:"No reminders set"});return}let i=r.createDiv({cls:"reminder-modal__reminder-list"});this.reminders.forEach((s,o)=>{let l=i.createDiv({cls:"reminder-modal__reminder-card"}),c=l.createDiv({cls:"reminder-modal__reminder-icon"}),d=s.type==="absolute"?"calendar-clock":"timer";(0,Lt.setIcon)(c,d);let u=l.createDiv({cls:"reminder-modal__reminder-content"}),p=u.createDiv({cls:"reminder-modal__reminder-primary"});if(p.textContent=this.formatReminderDisplayText(s),s.description){let f=u.createDiv({cls:"reminder-modal__reminder-description"});f.textContent=`"${s.description}"`}let h=l.createDiv({cls:"reminder-modal__reminder-actions"}).createEl("button",{cls:"reminder-modal__action-btn reminder-modal__remove-btn"});(0,Lt.setIcon)(h,"trash-2"),(0,Lt.setTooltip)(h,"Delete this reminder"),h.onclick=async f=>{f.stopPropagation(),await this.removeReminder(o)}})}formatReminderDisplayText(e){if(e.type==="absolute"){if(e.absoluteTime)try{let r=new Date(e.absoluteTime);return`${r.toLocaleDateString()} at ${r.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}`}catch(r){return`At ${e.absoluteTime}`}return"Absolute reminder"}else{let r=e.relatedTo==="due"?"due date":"scheduled date";return`${this.formatOffset(e.offset||"")} ${r}`}}renderQuickActions(e){if(!(this.task.due||this.task.scheduled))return;let i=e.createDiv({cls:"reminder-modal__quick-actions"}).createDiv({cls:"reminder-modal__quick-buttons"});[{label:"5m",fullLabel:"5 minutes before",offset:"-PT5M",icon:"clock"},{label:"15m",fullLabel:"15 minutes before",offset:"-PT15M",icon:"clock"},{label:"1h",fullLabel:"1 hour before",offset:"-PT1H",icon:"clock"},{label:"1d",fullLabel:"1 day before",offset:"-P1D",icon:"calendar"}].forEach(({label:o,fullLabel:l,offset:c,icon:d})=>{let u=this.task.due?"due":"scheduled",p=i.createEl("button",{cls:"reminder-modal__quick-btn"}),m=p.createSpan({cls:"reminder-modal__quick-btn-icon"});(0,Lt.setIcon)(m,d),p.createSpan({cls:"reminder-modal__quick-btn-label",text:o}),(0,Lt.setTooltip)(p,`Add reminder ${l} ${u} date`),p.onclick=async()=>{await this.addQuickReminder(u,c,l)}})}async addQuickReminder(e,r,a){let i={id:`rem_${Date.now()}`,type:"relative",relatedTo:e,offset:r,description:a};await this.addReminder(i),new Lt.Notice(`Added reminder: ${a}`)}renderAddReminderForm(e){let r=e.createDiv({cls:"reminder-modal__section"});r.createDiv({cls:"reminder-modal__section-header"}).createEl("h3",{text:"Add New Reminder"}),this.renderQuickActions(r);let i=r.createDiv({cls:"reminder-modal__form"}),s=i.createDiv({cls:"reminder-modal__type-selector"}),o=s.createEl("button",{cls:"reminder-modal__type-tab reminder-modal__type-tab--active",text:"Relative",attr:{"data-type":"relative"}}),l=s.createEl("button",{cls:"reminder-modal__type-tab",text:"Absolute",attr:{"data-type":"absolute"}});o.classList.toggle("reminder-modal__type-tab--active",this.selectedType==="relative"),l.classList.toggle("reminder-modal__type-tab--active",this.selectedType==="absolute");let c=h=>{this.selectedType=h,o.classList.toggle("reminder-modal__type-tab--active",h==="relative"),l.classList.toggle("reminder-modal__type-tab--active",h==="absolute"),this.updateFormVisibility(i,this.selectedType)};o.onclick=()=>c("relative"),l.onclick=()=>c("absolute");let d=i.createDiv({cls:"relative-fields"});new Lt.Setting(d).setName("Time").addText(h=>{h.setPlaceholder("15").setValue(String(this.relativeOffset)).onChange(f=>{this.relativeOffset=parseInt(f)||0})}).addDropdown(h=>{h.addOption("minutes","minutes").addOption("hours","hours").addOption("days","days").setValue(this.relativeUnit).onChange(f=>{this.relativeUnit=f})}),new Lt.Setting(d).setName("Direction").addDropdown(h=>{h.addOption("before","Before").addOption("after","After").setValue(this.relativeDirection).onChange(f=>{this.relativeDirection=f})}),new Lt.Setting(d).setName("Relative to").addDropdown(h=>{let f={};this.task.due&&(f.due=`Due date (${as(this.task.due)})`),this.task.scheduled&&(f.scheduled=`Scheduled date (${as(this.task.scheduled)})`),Object.keys(f).length===0?(f.none="No dates available",h.setDisabled(!0)):(Object.entries(f).forEach(([g,v])=>{h.addOption(g,v)}),h.setValue(this.relativeAnchor)),h.onChange(g=>{this.relativeAnchor=g})});let u=i.createDiv({cls:"absolute-fields"});new Lt.Setting(u).setName("Date").addText(h=>{h.setPlaceholder("YYYY-MM-DD").setValue(this.absoluteDate).onChange(f=>{this.absoluteDate=f}),h.inputEl.type="date"}),new Lt.Setting(u).setName("Time").addText(h=>{h.setPlaceholder("HH:MM").setValue(this.absoluteTime).onChange(f=>{this.absoluteTime=f}),h.inputEl.type="time"}),new Lt.Setting(i).setName("Description (optional)").addText(h=>{h.setPlaceholder("Custom reminder message").setValue(this.description).onChange(f=>{this.description=f})});let p=i.createEl("button",{cls:"reminder-add-btn"}),m=p.createSpan({cls:"reminder-add-btn-icon"});(0,Lt.setIcon)(m,"plus"),p.createSpan({cls:"reminder-add-btn-text",text:"Add Reminder"}),p.onclick=async()=>{p.disabled=!0,p.classList.add("reminder-add-btn--loading");try{let h=this.createReminder(this.selectedType,this.relativeAnchor,this.relativeOffset,this.relativeUnit,this.relativeDirection,this.absoluteDate,this.absoluteTime,this.description);h&&(await this.addReminder(h),this.selectedType==="relative"?(this.relativeOffset=15,this.relativeUnit="minutes",this.description=""):(this.absoluteDate="",this.absoluteTime="",this.description=""),this.resetFormInputs(i))}catch(h){console.error("Error adding reminder:",h),new Lt.Notice("Failed to add reminder. Please check your inputs.")}finally{p.disabled=!1,p.classList.remove("reminder-add-btn--loading")}},this.updateFormVisibility(i,this.selectedType)}updateFormVisibility(e,r){let a=e.querySelector(".relative-fields"),i=e.querySelector(".absolute-fields");r==="relative"?(a.style.display="block",i.style.display="none"):(a.style.display="none",i.style.display="block")}createReminder(e,r,a,i,s,o,l,c){let d=`rem_${Date.now()}`;if(e==="relative"){if(!(r==="due"?this.task.due:this.task.scheduled))return new Lt.Notice(`Cannot create reminder: Task has no ${r} date`),null;let p="PT";return i==="days"?p=`P${a}D`:i==="hours"?p=`PT${a}H`:p=`PT${a}M`,s==="before"&&(p="-"+p),{id:d,type:"relative",relatedTo:r,offset:p,description:c||void 0}}else{if(!o||!l)return new Lt.Notice("Please specify both date and time for absolute reminder"),null;let u=`${o}T${l}:00`;return{id:d,type:"absolute",absoluteTime:u,description:c||void 0}}}formatReminderTiming(e){if(e.type==="absolute")return"Absolute reminder";{let r=e.relatedTo==="due"?"due date":"scheduled date";return`${this.formatOffset(e.offset||"")} ${r}`}}formatReminderDetails(e){if(e.type==="absolute")return`At ${as(e.absoluteTime||"")}`;{let r=e.relatedTo==="due"?this.task.due:this.task.scheduled;return r?`When ${e.relatedTo} date is ${as(r)}`:`Relative to ${e.relatedTo} date (not set)`}}formatReminderDescription(e){if(e.description)return e.description;if(e.type==="absolute")return`At ${as(e.absoluteTime||"")}`;{let r=e.relatedTo==="due"?"due date":"scheduled date";return`${this.formatOffset(e.offset||"")} ${r}`}}formatOffset(e){let r=e.startsWith("-"),i=(r?e.substring(1):e).match(/P(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?)?/);if(!i)return e;let[,s,o,l]=i,c=[];if(s&&c.push(`${s} day${s!=="1"?"s":""}`),o&&c.push(`${o} hour${o!=="1"?"s":""}`),l&&c.push(`${l} minute${l!=="1"?"s":""}`),c.length===0)return"At time of";let d=c.join(" ");return r?`${d} before`:`${d} after`}async addReminder(e){this.reminders.push(e),this.refreshRemindersListOnly(),this.task.path&&this.plugin.emitter.trigger("reminder-preview-changed",{taskPath:this.task.path,currentReminders:[...this.reminders],action:"added",reminder:e})}async removeReminder(e){let r=this.reminders[e];this.reminders.splice(e,1),this.refreshRemindersListOnly(),this.task.path&&r&&this.plugin.emitter.trigger("reminder-preview-changed",{taskPath:this.task.path,currentReminders:[...this.reminders],action:"removed",reminder:r})}async refresh(){await this.initializeWithFreshData()}refreshRemindersListOnly(){let e=this.contentEl.querySelector(".reminder-modal__content");if(e){let r=e.querySelector(".reminder-modal__section");r&&r.remove();let a=document.createElement("div");this.renderExistingReminders(a);let i=a.firstChild;i&&e.insertBefore(i,e.firstChild)}this.updateSaveButtonState()}resetFormInputs(e){let r=e.querySelector('input[placeholder="15"]');r&&(r.value=String(this.relativeOffset));let a=e.querySelector('input[placeholder="Custom reminder message"]');a&&(a.value=this.description);let i=e.querySelector('input[type="date"]');i&&(i.value=this.absoluteDate);let s=e.querySelector('input[type="time"]');s&&(s.value=this.absoluteTime);let o=e.querySelector('.setting-item:has(input[placeholder="15"]) select');o&&(o.value=this.relativeUnit);let l=e.querySelector(".setting-item:nth-child(2) select");l&&(l.value=this.relativeDirection);let c=e.querySelector(".setting-item:nth-child(3) select");c&&(c.value=this.relativeAnchor)}async save(){var e;this.saveBtn.disabled=!0,this.saveBtn.textContent="Saving...";try{this.task.path&&this.task.path.trim()!==""&&((e=this.plugin.notificationService)==null||e.clearProcessedRemindersForTask(this.task.path));let r=this.remindersHaveChanged();this.onSave(this.reminders),r&&this.task.path&&this.plugin.emitter.trigger("reminder-changed",{taskPath:this.task.path,oldReminders:this.originalReminders,newReminders:[...this.reminders]}),this.close()}catch(r){console.error("Failed to save reminders:",r),new Lt.Notice("Failed to save reminders. Please try again."),this.saveBtn.disabled=!1,this.saveBtn.textContent="Save Changes"}}cancel(){this.remindersHaveChanged()&&this.task.path&&this.plugin.emitter.trigger("reminder-preview-changed",{taskPath:this.task.path,currentReminders:[...this.originalReminders],action:"cancelled"}),this.close()}remindersHaveChanged(){return this.reminders.length!==this.originalReminders.length?!0:!this.reminders.every((e,r)=>{let a=this.originalReminders[r];return a?e.id===a.id&&e.type===a.type&&e.relatedTo===a.relatedTo&&e.offset===a.offset&&e.absoluteTime===a.absoluteTime&&e.description===a.description:!1})}onClose(){let{contentEl:e}=this;e.empty()}}});var e$={};Be(e$,{CalendarExportService:()=>Si});var tc,Si,Uv=b(()=>{rr();tc=require("obsidian"),Si=class{static generateCalendarURL(t){let{type:e,task:r,useScheduledAsDue:a=!0}=t;switch(e){case"google":return this.generateGoogleCalendarURL(r,a);case"outlook":return this.generateOutlookCalendarURL(r,a);case"yahoo":return this.generateYahooCalendarURL(r,a);case"ics":return this.generateICSDownloadURL(r);default:throw new Error(`Unsupported calendar type: ${e}`)}}static openCalendarURL(t,e){try{let r=this.generateCalendarURL(t);window.open(r,"_blank")}catch(r){console.error("Failed to generate calendar URL:",r),new tc.Notice(e?e("services.calendarExport.notices.generateLinkFailed"):"Failed to generate calendar link")}}static generateGoogleCalendarURL(t,e){let r="https://calendar.google.com/calendar/render",a=new URLSearchParams;a.append("action","TEMPLATE"),a.append("text",t.title);let i=this.formatGoogleDates(t,e);i&&a.append("dates",i);let s=this.buildDescription(t);return s&&a.append("details",s),t.contexts&&t.contexts.length>0&&a.append("location",t.contexts.join(", ")),`${r}?${a.toString()}`}static generateOutlookCalendarURL(t,e){let r="https://outlook.live.com/calendar/0/deeplink/compose",a=new URLSearchParams;a.append("subject",t.title);let{startISO:i,endISO:s}=this.getTaskDateRange(t,e);i&&a.append("startdt",i),s&&a.append("enddt",s);let o=this.buildDescription(t);return o&&a.append("body",o),t.contexts&&t.contexts.length>0&&a.append("location",t.contexts.join(", ")),a.append("path","/calendar/action/compose"),a.append("rru","addevent"),`${r}?${a.toString()}`}static generateYahooCalendarURL(t,e){let r="https://calendar.yahoo.com/",a=new URLSearchParams;a.append("v","60"),a.append("title",t.title);let{startYahoo:i,endYahoo:s}=this.getYahooDateFormat(t,e);i&&a.append("st",i),s&&a.append("et",s);let o=this.buildDescription(t);return o&&a.append("desc",o),t.contexts&&t.contexts.length>0&&a.append("in_loc",t.contexts.join(", ")),`${r}?${a.toString()}`}static generateICSDownloadURL(t){let e=this.generateICSContent(t);return`data:text/calendar;charset=utf8,${encodeURIComponent(e)}`}static generateICSContent(t){let e=`${t.path.replace(/[^a-zA-Z0-9]/g,"-")}-${Date.now()}@tasknotes`,r=new Date().toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),a=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//TaskNotes//Task Export//EN","CALSCALE:GREGORIAN","METHOD:PUBLISH","BEGIN:VEVENT",`UID:${e}`,`DTSTAMP:${r}`];a.push(`SUMMARY:${this.escapeICSText(t.title)}`);let{startICS:i,endICS:s}=this.getICSDateFormat(t);i&&a.push(`DTSTART:${i}`),s&&a.push(`DTEND:${s}`);let o=this.buildDescription(t);if(o&&a.push(`DESCRIPTION:${this.escapeICSText(o)}`),t.contexts&&t.contexts.length>0&&a.push(`LOCATION:${this.escapeICSText(t.contexts.join(", "))}`),t.tags&&t.tags.length>0&&a.push(`CATEGORIES:${t.tags.map(l=>this.escapeICSText(l)).join(",")}`),t.priority){let c={highest:"1",high:"3",medium:"5",low:"7",lowest:"9"}[t.priority]||"5";a.push(`PRIORITY:${c}`)}if(t.status){let c={done:"COMPLETED","in-progress":"IN-PROCESS",todo:"NEEDS-ACTION",cancelled:"CANCELLED"}[t.status]||"NEEDS-ACTION";a.push(`STATUS:${c}`)}return a.push("END:VEVENT"),a.push("END:VCALENDAR"),a.join(`\r
|
||
`)}static buildDescription(t){let e=[],r=[];return t.priority&&r.push(`Priority: ${t.priority}`),t.status&&r.push(`Status: ${t.status}`),t.projects&&t.projects.length>0&&r.push(`Projects: ${t.projects.join(", ")}`),t.tags&&t.tags.length>0&&r.push(`Tags: ${t.tags.join(", ")}`),t.contexts&&t.contexts.length>0&&r.push(`Contexts: ${t.contexts.join(", ")}`),t.timeEstimate&&r.push(`Estimated time: ${t.timeEstimate} minutes`),r.length>0&&e.push(...r),e.length>0&&e.push(""),e.push(`Exported from TaskNotes: ${t.path}`),e.join(`
|
||
`)}static formatGoogleDates(t,e){let{startICS:r,endICS:a}=this.getICSDateFormat(t,e);if(!r)return null;if(a)return`${r}/${a}`;let i=this.parseICSDate(r),s=new Date(i.getTime()+3600*1e3),o=this.formatDateToICS(s);return`${r}/${o}`}static getTaskDateRange(t,e){let r=null,a=null;if(t.scheduled)try{r=this.parseTaskDate(t.scheduled).toISOString()}catch(i){console.warn("Invalid scheduled date:",t.scheduled)}if(t.due)try{a=this.parseTaskDate(t.due).toISOString()}catch(i){console.warn("Invalid due date:",t.due)}else if(e&&r){let i=new Date(r);a=new Date(i.getTime()+3600*1e3).toISOString()}return{startISO:r,endISO:a}}static getYahooDateFormat(t,e){let{startISO:r,endISO:a}=this.getTaskDateRange(t,e),i=s=>{let o=new Date(s);return M(o,"yyyyMMdd'T'HHmmss")};return{startYahoo:r?i(r):null,endYahoo:a?i(a):null}}static getICSDateFormat(t,e=!0){let{startISO:r,endISO:a}=this.getTaskDateRange(t,e),i=s=>{let o=new Date(s);return this.formatDateToICS(o)};return{startICS:r?i(r):null,endICS:a?i(a):null}}static formatDateToICS(t){return t.toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,"")}static parseICSDate(t){let e=t.substr(0,4),r=t.substr(4,2),a=t.substr(6,2),i=t.substr(9,2),s=t.substr(11,2),o=t.substr(13,2);return new Date(`${e}-${r}-${a}T${i}:${s}:${o}Z`)}static parseTaskDate(t){return t.includes("T")?qa(t):qa(`${t}T00:00:00`)}static escapeICSText(t){return t.replace(/\\/g,"\\\\").replace(/;/g,"\\;").replace(/,/g,"\\,").replace(/\n/g,"\\n").replace(/\r/g,"")}static foldICSLines(t){let e=t.split(`\r
|
||
`),r=[];return e.forEach(a=>{if(a.length<=75)r.push(a);else{let i=a;for(;i.length>75;)r.push(i.substring(0,75)),i=" "+i.substring(75);i.length>0&&r.push(i)}}),r.join(`\r
|
||
`)}static generateMultipleTasksICSContent(t){let e=new Date().toISOString().replace(/[-:]/g,"").replace(/\.\d{3}/,""),r=["BEGIN:VCALENDAR","VERSION:2.0","PRODID:-//TaskNotes//EN","CALSCALE:GREGORIAN"];return t.forEach((a,i)=>{let s=`${a.path.replace(/[^a-zA-Z0-9]/g,"-")}-${i}-${Date.now()}@tasknotes`;r.push("BEGIN:VEVENT"),r.push(`UID:${s}`),r.push(`DTSTAMP:${e}`),r.push(`SUMMARY:${this.escapeICSText(a.title)}`);let{startICS:o,endICS:l}=this.getICSDateFormat(a);if(o){if(!l){let d=this.parseICSDate(o),u=new Date(d.getTime()+3600*1e3);l=this.formatDateToICS(u)}}else{let d;if(a.dateCreated?d=new Date(a.dateCreated):d=new Date,o=this.formatDateToICS(d),!l){let u=new Date(d.getTime()+36e5);l=this.formatDateToICS(u)}}r.push(`DTSTART:${o}`),r.push(`DTEND:${l}`);let c=this.buildDescription(a);if(c&&r.push(`DESCRIPTION:${this.escapeICSText(c)}`),a.contexts&&a.contexts.length>0&&r.push(`LOCATION:${this.escapeICSText(a.contexts.join(", "))}`),a.tags&&a.tags.length>0&&r.push(`CATEGORIES:${a.tags.map(d=>this.escapeICSText(d)).join(",")}`),a.priority){let u={highest:"1",high:"3",medium:"5",low:"7",lowest:"9"}[a.priority]||"5";r.push(`PRIORITY:${u}`)}if(a.status){let u={done:"COMPLETED","in-progress":"IN-PROCESS",todo:"NEEDS-ACTION",cancelled:"CANCELLED"}[a.status]||"NEEDS-ACTION";r.push(`STATUS:${u}`)}r.push("END:VEVENT")}),r.push("END:VCALENDAR"),this.foldICSLines(r.join(`\r
|
||
`))}static downloadAllTasksICSFile(t,e){try{if(!t||t.length===0){new tc.Notice(e?e("services.calendarExport.notices.noTasksToExport"):"No tasks found to export");return}let r=this.generateMultipleTasksICSContent(t),a=new Blob([r],{type:"text/calendar"}),i=URL.createObjectURL(a),o=`tasknotes-all-tasks-${new Date().toISOString().split("T")[0]}.ics`,l=document.createElement("a");l.href=i,l.download=o,l.click(),URL.revokeObjectURL(i);let c=t.length===1?"":"s";new tc.Notice(e?e("services.calendarExport.notices.downloadSuccess",{filename:o,count:t.length,plural:c}):`Downloaded ${o} with ${t.length} task${c}`)}catch(r){console.error("Failed to download all tasks ICS file:",r),new tc.Notice(e?e("services.calendarExport.notices.downloadFailed"):"Failed to download calendar file")}}static downloadICSFile(t,e){try{let r=this.generateICSContent(t),a=new Blob([r],{type:"text/calendar"}),i=URL.createObjectURL(a),s=`${t.title.replace(/[^a-zA-Z0-9]/g,"-")}.ics`,o=document.createElement("a");o.href=i,o.download=s,o.click(),URL.revokeObjectURL(i),new tc.Notice(e?e("services.calendarExport.notices.singleDownloadSuccess",{filename:s}):`Downloaded ${s}`)}catch(r){console.error("Failed to download ICS file:",r),new tc.Notice(e?e("services.calendarExport.notices.downloadFailed"):"Failed to download calendar file")}}}});var t$,Mr,ws=b(()=>{t$=require("obsidian"),Mr=class extends t$.Menu{show(t){if(t instanceof MouseEvent)this.showAtMouseEvent(t);else if(t instanceof KeyboardEvent){let e=t.currentTarget;if(!(e instanceof HTMLElement))return;this.showAtPosition({x:e.getBoundingClientRect().left,y:e.getBoundingClientRect().bottom+4})}}}});var Qd,Wv,r$=b(()=>{Qd=require("obsidian"),Wv=class extends Qd.Modal{constructor(t,e){super(t),this.options=e}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("date-time-picker-modal"),this.options.title&&t.createEl("h3",{text:this.options.title}),new Qd.Setting(t).setName("Date").addText(r=>{this.dateInput=r.inputEl,this.dateInput.type="date",this.options.currentDate&&(this.dateInput.value=this.options.currentDate)}),new Qd.Setting(t).setName("Time (optional)").addText(r=>{this.timeInput=r.inputEl,this.timeInput.type="time",this.options.currentTime&&(this.timeInput.value=this.options.currentTime)}),new Qd.Setting(t).addButton(r=>r.setButtonText("Cancel").onClick(()=>{this.close()})).addButton(r=>r.setButtonText("Select").setCta().onClick(()=>{let a=this.dateInput.value||null,i=this.timeInput.value||null;this.options.onSelect(a,i),this.close()})),setTimeout(()=>{this.dateInput.focus()},100);let e=r=>{if(r.key==="Enter"){r.preventDefault();let a=this.dateInput.value||null,i=this.timeInput.value||null;this.options.onSelect(a,i),this.close()}};this.dateInput.addEventListener("keydown",e),this.timeInput.addEventListener("keydown",e)}onClose(){let{contentEl:t}=this;t.empty()}}});var n$={};Be(n$,{DateContextMenu:()=>Cn});var Cn,rc=b(()=>{ws();r$();Cn=class{constructor(t){this.menu=new Mr,this.options=t,this.buildMenu()}t(t,e,r){var a;return((a=this.options.plugin)==null?void 0:a.i18n.translate(t,r))||e||t}buildMenu(){this.options.title&&(this.menu.addItem(i=>{i.setTitle(this.options.title||""),i.setIcon("calendar"),i.setDisabled(!0)}),this.menu.addSeparator());let t=this.getDateOptions(),e=t.filter(i=>i.category==="increment");e.length>0&&(e.forEach(i=>{this.menu.addItem(s=>{i.icon&&s.setIcon(i.icon),s.setTitle(i.label),s.onClick(async()=>{this.options.onSelect(i.value,null)})})}),this.menu.addSeparator()),t.filter(i=>i.category==="basic").forEach(i=>{this.menu.addItem(s=>{i.icon&&s.setIcon(i.icon);let l=i.value&&i.value===this.options.currentValue?this.t("contextMenus.date.selected","\u2713 {label}",{label:i.label}):i.label;s.setTitle(l),s.onClick(async()=>{this.options.onSelect(i.value,null)})})});let a=t.filter(i=>i.category==="weekday");a.length>0&&(this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.date.weekdaysLabel","Weekdays")),i.setIcon("calendar");let s=i.setSubmenu();a.forEach(o=>{s.addItem(l=>{let d=o.value&&o.value===this.options.currentValue?this.t("contextMenus.date.selected","\u2713 {label}",{label:o.label}):o.label;l.setTitle(d),l.setIcon("calendar"),l.onClick(async()=>{this.options.onSelect(o.value,null)})})})})),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.date.pickDateTime","Pick date & time\u2026")),i.setIcon("calendar"),i.onClick(async()=>{this.showDateTimePicker()})}),this.options.currentValue&&this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.date.clearDate","Clear date")),i.setIcon("x"),i.onClick(async()=>{this.options.onSelect(null,null)})})}getDateOptions(){let t=window.moment(),e=[];if(this.options.currentValue){let o=window.moment(this.options.currentValue);e.push({label:this.t("contextMenus.date.increment.plusOneDay","+1 day"),value:o.clone().add(1,"day").format("YYYY-MM-DD"),icon:"plus",category:"increment"}),e.push({label:this.t("contextMenus.date.increment.minusOneDay","-1 day"),value:o.clone().subtract(1,"day").format("YYYY-MM-DD"),icon:"minus",category:"increment"}),e.push({label:this.t("contextMenus.date.increment.plusOneWeek","+1 week"),value:o.clone().add(1,"week").format("YYYY-MM-DD"),icon:"plus-circle",category:"increment"}),e.push({label:this.t("contextMenus.date.increment.minusOneWeek","-1 week"),value:o.clone().subtract(1,"week").format("YYYY-MM-DD"),icon:"minus-circle",category:"increment"})}e.push({label:this.t("contextMenus.date.basic.today","Today"),value:t.format("YYYY-MM-DD"),icon:"calendar-check",isToday:!0,category:"basic"}),e.push({label:this.t("contextMenus.date.basic.tomorrow","Tomorrow"),value:t.clone().add(1,"day").format("YYYY-MM-DD"),icon:"calendar-plus",category:"basic"}),["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"].forEach((o,l)=>{let c=t.clone().day(l);c.isSameOrBefore(t,"day")&&(c=c.add(1,"week"));let d=this.t(`common.weekdays.${o.toLowerCase()}`,o);e.push({label:d,value:c.format("YYYY-MM-DD"),icon:"calendar",category:"weekday"})});let a=t.clone().day(6);(a.isBefore(t)||a.isSame(t,"day"))&&a.add(1,"week"),e.push({label:this.t("contextMenus.date.basic.thisWeekend","This weekend"),value:a.format("YYYY-MM-DD"),icon:"calendar-days",category:"basic"});let i=t.clone().day(1).add(1,"week");e.push({label:this.t("contextMenus.date.basic.nextWeek","Next week"),value:i.format("YYYY-MM-DD"),icon:"calendar-plus",category:"basic"});let s=t.clone().add(1,"month").startOf("month");return e.push({label:this.t("contextMenus.date.basic.nextMonth","Next month"),value:s.format("YYYY-MM-DD"),icon:"calendar-range",category:"basic"}),e}show(t){this.menu.show(t)}showAtElement(t){this.menu.showAtPosition({x:t.getBoundingClientRect().left,y:t.getBoundingClientRect().bottom+4})}showDateTimePicker(){var r;let t=this.options.app||((r=this.options.plugin)==null?void 0:r.app);if(!t){console.error("DateContextMenu: No app instance available for modal");return}new Wv(t,{currentDate:this.options.currentValue||null,currentTime:this.options.currentTime||null,title:this.t("contextMenus.date.modal.title","Set date & time"),onSelect:(a,i)=>{this.options.onSelect(a,i)}}).open()}}});var a$={};Be(a$,{RecurrenceContextMenu:()=>ti});var Aa,ti,$E,Zd=b(()=>{Aa=require("obsidian");ws();ti=class{constructor(t){this.menu=new Mr,this.options=t,this.translate=t.plugin.i18n.translate.bind(t.plugin.i18n),this.buildMenu()}buildMenu(){this.getRecurrenceOptions().forEach(e=>{if(e.label.startsWith("\u2500")){this.menu.addSeparator();return}this.menu.addItem(r=>{let a=e.label;e.icon&&r.setIcon(e.icon),e.value===this.options.currentValue&&(a=`\u2713 ${e.label}`),r.setTitle(a),r.onClick(async()=>{let i=e.anchor||"scheduled";this.options.onSelect(e.value,i)})})}),this.menu.addSeparator(),this.menu.addItem(e=>{e.setTitle(this.translate("components.recurrenceContextMenu.customRecurrence")),e.setIcon("settings"),e.onClick(async()=>{this.showCustomRecurrenceModal()})}),this.options.currentValue&&this.menu.addItem(e=>{e.setTitle(this.translate("components.recurrenceContextMenu.clearRecurrence")),e.setIcon("x"),e.onClick(async()=>{this.options.onSelect(null)})})}getRecurrenceOptions(){let t=[],e=new Date,r=["SU","MO","TU","WE","TH","FR","SA"],a=["January","February","March","April","May","June","July","August","September","October","November","December"],i=r[e.getDay()],s=e.getDate(),o=e.getMonth()+1,l=a[e.getMonth()],c=e.toLocaleDateString("en-US",{weekday:"long"}),d=this.formatDateForDTSTART(e);if(this.options.currentValue){let u=this.options.currentValue.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(u&&u[1].includes("T")){let p=u[1].split("T")[1];d=`${d}T${p}`}}return t.push({label:this.translate("components.recurrenceContextMenu.daily"),value:`DTSTART:${d};FREQ=DAILY;INTERVAL=1`,icon:"calendar-days"}),t.push({label:this.translate("components.recurrenceContextMenu.weeklyOn",{day:c}),value:`DTSTART:${d};FREQ=WEEKLY;INTERVAL=1;BYDAY=${i}`,icon:"calendar"}),t.push({label:this.translate("components.recurrenceContextMenu.everyTwoWeeksOn",{day:c}),value:`DTSTART:${d};FREQ=WEEKLY;INTERVAL=2;BYDAY=${i}`,icon:"calendar"}),t.push({label:this.translate("components.recurrenceContextMenu.monthlyOnThe",{ordinal:this.getOrdinal(s)}),value:`DTSTART:${d};FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=${s}`,icon:"calendar-range"}),t.push({label:this.translate("components.recurrenceContextMenu.everyThreeMonthsOnThe",{ordinal:this.getOrdinal(s)}),value:`DTSTART:${d};FREQ=MONTHLY;INTERVAL=3;BYMONTHDAY=${s}`,icon:"calendar-range"}),t.push({label:this.translate("components.recurrenceContextMenu.yearlyOn",{month:l,ordinal:this.getOrdinal(s)}),value:`DTSTART:${d};FREQ=YEARLY;INTERVAL=1;BYMONTH=${o};BYMONTHDAY=${s}`,icon:"calendar-clock"}),t.push({label:this.translate("components.recurrenceContextMenu.weekdaysOnly"),value:`DTSTART:${d};FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`,icon:"briefcase"}),t.push({label:"\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500",value:"",icon:void 0}),t.push({label:this.translate("components.recurrenceContextMenu.dailyAfterCompletion"),value:`DTSTART:${d};FREQ=DAILY;INTERVAL=1`,icon:"calendar-days",anchor:"completion"}),t.push({label:this.translate("components.recurrenceContextMenu.every3DaysAfterCompletion"),value:`DTSTART:${d};FREQ=DAILY;INTERVAL=3`,icon:"calendar-days",anchor:"completion"}),t.push({label:this.translate("components.recurrenceContextMenu.weeklyAfterCompletion"),value:`DTSTART:${d};FREQ=WEEKLY;INTERVAL=1`,icon:"calendar",anchor:"completion"}),t.push({label:this.translate("components.recurrenceContextMenu.monthlyAfterCompletion"),value:`DTSTART:${d};FREQ=MONTHLY;INTERVAL=1`,icon:"calendar-range",anchor:"completion"}),t}formatDateForDTSTART(t){let e=t.getFullYear(),r=String(t.getMonth()+1).padStart(2,"0"),a=String(t.getDate()).padStart(2,"0");return`${e}${r}${a}`}getOrdinal(t){let e=["th","st","nd","rd"],r=t%100;return t+(e[(r-20)%10]||e[r]||e[0])}showCustomRecurrenceModal(){new $E(this.options.app,this.options.currentValue||"",this.options.currentAnchor||"scheduled",(t,e)=>{t&&this.options.onSelect(t,e)}).open()}show(t){this.menu.show(t)}},$E=class extends Aa.Modal{constructor(e,r,a,i){super(e);this.frequency="DAILY";this.interval=1;this.byDay=[];this.byMonthDay=[];this.byMonth=[];this.until="";this.endType="never";this.dtstart="";this.dtstartTime="";this.recurrenceAnchor="scheduled";this.currentValue=r,this.recurrenceAnchor=a,this.onSubmit=i,this.parseCurrentValue()}parseCurrentValue(){if(!this.currentValue){this.dtstart=this.formatTodayForInput();return}let e=this.currentValue.split(";");for(let r of e){let a=r.includes(":")&&r.startsWith("DTSTART")?":":"=",[i,s]=r.split(a);switch(i){case"DTSTART":if(s.length>=8){if(this.dtstart=`${s.slice(0,4)}-${s.slice(4,6)}-${s.slice(6,8)}`,s.length>8&&s.includes("T")){let o=s.slice(9);o.length>=4&&(this.dtstartTime=`${o.slice(0,2)}:${o.slice(2,4)}`)}}else{let o=new Date(s);isNaN(o.getTime())?this.dtstart=this.formatTodayForInput():this.dtstart=s}break;case"FREQ":this.frequency=s;break;case"INTERVAL":this.interval=parseInt(s)||1;break;case"BYDAY":{let o=s.split(","),l=[];for(let c of o){let d=c.match(/^(-?\d+)([A-Z]{2})$/);d?(this.bySetPos=parseInt(d[1]),l.push(d[2])):l.push(c)}this.byDay=l;break}case"BYMONTHDAY":this.byMonthDay=s.split(",").map(o=>parseInt(o));break;case"BYMONTH":this.byMonth=s.split(",").map(o=>parseInt(o));break;case"BYSETPOS":this.bySetPos=parseInt(s);break;case"COUNT":this.count=parseInt(s),this.endType="count";break;case"UNTIL":s.length===8?this.until=`${s.slice(0,4)}-${s.slice(4,6)}-${s.slice(6,8)}`:this.until=s,this.endType="until";break}}}formatTodayForInput(){let e=new Date,r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0");return`${r}-${a}-${i}`}onOpen(){let{contentEl:e}=this;e.empty(),e.createEl("h2",{text:"Custom Recurrence"}),new Aa.Setting(e).setName("Start date").setDesc("The date when the recurrence pattern begins").addText(V=>{V.inputEl.type="date",V.setValue(this.dtstart).onChange(J=>{this.dtstart=J})}),new Aa.Setting(e).setName("Start time").setDesc("The time when recurring instances should appear (optional)").addText(V=>{V.inputEl.type="time",V.setValue(this.dtstartTime).onChange(J=>{this.dtstartTime=J})}),new Aa.Setting(e).setName("Recur from").setDesc("When should the next occurrence be calculated from?").addDropdown(V=>{V.addOption("scheduled","Scheduled date (fixed schedule)").addOption("completion","Completion date (flexible schedule)").setValue(this.recurrenceAnchor).onChange(J=>{this.recurrenceAnchor=J})}),new Aa.Setting(e).setName("Frequency").addDropdown(V=>{V.addOption("DAILY","Daily").addOption("WEEKLY","Weekly").addOption("MONTHLY","Monthly").addOption("YEARLY","Yearly").setValue(this.frequency).onChange(J=>{this.frequency=J,this.updateFrequencySpecificVisibility()})}),new Aa.Setting(e).setName("Interval").setDesc("Every X days/weeks/months/years").addText(V=>{V.setValue(this.interval.toString()).onChange(J=>{this.interval=parseInt(J)||1})});let r=new Aa.Setting(e).setName("Days of week").setDesc("Select specific days (for weekly recurrence)"),a=r.controlEl.createDiv("days-container");[{key:"MO",label:"Mon"},{key:"TU",label:"Tue"},{key:"WE",label:"Wed"},{key:"TH",label:"Thu"},{key:"FR",label:"Fri"},{key:"SA",label:"Sat"},{key:"SU",label:"Sun"}].forEach(V=>{let J=a.createEl("label",{cls:"day-checkbox"});J.style.display="inline-block",J.style.marginRight="8px";let he=J.createEl("input",{type:"checkbox"});he.checked=this.byDay.includes(V.key),he.addEventListener("change",()=>{he.checked?this.byDay.includes(V.key)||this.byDay.push(V.key):this.byDay=this.byDay.filter(ge=>ge!==V.key)}),J.createSpan({text:` ${V.label}`})});let s=new Aa.Setting(e).setName("Monthly recurrence").setDesc("Choose how to repeat monthly"),o=s.controlEl.createDiv("monthly-options"),l=o.createEl("label",{cls:"radio-option"});l.style.display="block",l.style.marginBottom="8px";let c=l.createEl("input",{type:"radio",value:"bydate"});c.name="monthly-type",c.checked=this.byMonthDay.length>0||this.byDay.length===0&&this.bySetPos===void 0,l.createSpan({text:" On day "});let d=l.createEl("select");d.style.marginLeft="4px",d.style.marginRight="4px";for(let V=1;V<=31;V++){let J=d.createEl("option",{value:V.toString(),text:V.toString()});(this.byMonthDay.length>0&&this.byMonthDay[0]===V||this.byMonthDay.length===0&&V===new Date().getDate())&&(J.selected=!0)}l.createSpan({text:" of each month"});let u=o.createEl("label",{cls:"radio-option"});u.style.display="block",u.style.marginBottom="8px";let p=u.createEl("input",{type:"radio",value:"byday"});p.name="monthly-type",p.checked=this.byDay.length>0&&this.bySetPos!==void 0,u.createSpan({text:" On the "});let m=u.createEl("select");m.style.marginLeft="4px",m.style.marginRight="4px";let h=[{value:"1",text:"first"},{value:"2",text:"second"},{value:"3",text:"third"},{value:"4",text:"fourth"},{value:"-1",text:"last"}];h.forEach(V=>{let J=m.createEl("option",{value:V.value,text:V.text});(this.bySetPos===parseInt(V.value)||!this.bySetPos&&V.value==="1")&&(J.selected=!0)});let f=u.createEl("select");f.style.marginLeft="4px",f.style.marginRight="4px";let g=[{value:"MO",text:"Monday"},{value:"TU",text:"Tuesday"},{value:"WE",text:"Wednesday"},{value:"TH",text:"Thursday"},{value:"FR",text:"Friday"},{value:"SA",text:"Saturday"},{value:"SU",text:"Sunday"}],T=["SU","MO","TU","WE","TH","FR","SA"][new Date().getDay()];g.forEach(V=>{let J=f.createEl("option",{value:V.value,text:V.text});(this.byDay.length>0&&this.byDay[0]===V.value||this.byDay.length===0&&V.value===T)&&(J.selected=!0)}),u.createSpan({text:" of each month"});let k=new Aa.Setting(e).setName("Yearly recurrence").setDesc("Choose how to repeat yearly"),w=k.controlEl.createDiv("yearly-options"),S=w.createEl("label",{cls:"radio-option"});S.style.display="block",S.style.marginBottom="8px";let x=S.createEl("input",{type:"radio",value:"bydate"});x.name="yearly-type",x.checked=this.byMonthDay.length>0||this.byDay.length===0&&this.bySetPos===void 0,S.createSpan({text:" On "});let I=S.createEl("select");I.style.marginLeft="4px",I.style.marginRight="4px";let A=["January","February","March","April","May","June","July","August","September","October","November","December"];A.forEach((V,J)=>{let he=I.createEl("option",{value:(J+1).toString(),text:V});(this.byMonth.length>0&&this.byMonth[0]===J+1||this.byMonth.length===0&&J+1===new Date().getMonth()+1)&&(he.selected=!0)});let B=S.createEl("select");B.style.marginLeft="4px",B.style.marginRight="4px";for(let V=1;V<=31;V++){let J=B.createEl("option",{value:V.toString(),text:V.toString()});(this.byMonthDay.length>0&&this.byMonthDay[0]===V||this.byMonthDay.length===0&&V===new Date().getDate())&&(J.selected=!0)}S.createSpan({text:" each year"});let z=w.createEl("label",{cls:"radio-option"});z.style.display="block",z.style.marginBottom="8px";let U=z.createEl("input",{type:"radio",value:"byday"});U.name="yearly-type",U.checked=this.byDay.length>0&&this.bySetPos!==void 0,z.createSpan({text:" On the "});let N=z.createEl("select");N.style.marginLeft="4px",N.style.marginRight="4px",h.forEach(V=>{let J=N.createEl("option",{value:V.value,text:V.text});(this.bySetPos===parseInt(V.value)||!this.bySetPos&&V.value==="1")&&(J.selected=!0)});let P=z.createEl("select");P.style.marginLeft="4px",P.style.marginRight="4px",g.forEach(V=>{let J=P.createEl("option",{value:V.value,text:V.text});(this.byDay.length>0&&this.byDay[0]===V.value||this.byDay.length===0&&V.value===T)&&(J.selected=!0)});let _=z.createEl("select");_.style.marginLeft="4px",_.style.marginRight="4px",A.forEach((V,J)=>{let he=_.createEl("option",{value:(J+1).toString(),text:V});(this.byMonth.length>0&&this.byMonth[0]===J+1||this.byMonth.length===0&&J+1===new Date().getMonth()+1)&&(he.selected=!0)}),z.createSpan({text:" each year"}),new Aa.Setting(e).setName("End condition").setDesc("Choose when the recurrence should end");let Y=e.createDiv("end-condition-container"),Q=Y.createEl("label",{cls:"radio-option"});Q.style.display="block",Q.style.marginBottom="8px";let W=Q.createEl("input",{type:"radio",value:"never"});W.name="end-type",W.checked=this.endType==="never",Q.createSpan({text:" Never ends"});let H=Y.createEl("label",{cls:"radio-option"});H.style.display="block",H.style.marginBottom="8px";let K=H.createEl("input",{type:"radio",value:"count"});K.name="end-type",K.checked=this.endType==="count",H.createSpan({text:" End after "});let ae=H.createEl("input",{type:"number",placeholder:"10"});ae.style.width="60px",ae.style.marginLeft="4px",ae.style.marginRight="4px",ae.value=this.count?this.count.toString():"",H.createSpan({text:" occurrences"});let ye=Y.createEl("label",{cls:"radio-option"});ye.style.display="block",ye.style.marginBottom="8px";let Z=ye.createEl("input",{type:"radio",value:"until"});Z.name="end-type",Z.checked=this.endType==="until",ye.createSpan({text:" End on "});let Je=ye.createEl("input",{type:"date"});Je.style.marginLeft="4px",Je.value=this.until?this.until.replace(/(\d{4})(\d{2})(\d{2})/,"$1-$2-$3"):"",W.addEventListener("change",()=>{W.checked&&(this.endType="never")}),K.addEventListener("change",()=>{K.checked&&(this.endType="count")}),Z.addEventListener("change",()=>{Z.checked&&(this.endType="until")}),ae.addEventListener("input",()=>{this.count=parseInt(ae.value)||void 0,ae.value&&(K.checked=!0,this.endType="count")}),Je.addEventListener("input",()=>{this.until=Je.value?Je.value.replace(/-/g,""):"",Je.value&&(Z.checked=!0,this.endType="until")}),this.updateFrequencySpecificVisibility=()=>{r.settingEl.style.display=this.frequency==="WEEKLY"?"flex":"none",s.settingEl.style.display=this.frequency==="MONTHLY"?"flex":"none",k.settingEl.style.display=this.frequency==="YEARLY"?"flex":"none"},this.updateFrequencySpecificVisibility();let Rt=e.createDiv("button-container");Rt.style.display="flex",Rt.style.justifyContent="flex-end",Rt.style.gap="8px",Rt.style.marginTop="16px",Rt.createEl("button",{text:"Cancel"}).addEventListener("click",()=>{this.close()}),Rt.createEl("button",{text:"Save",cls:"mod-cta"}).addEventListener("click",()=>{let V=c.checked?"bydate":"byday",J=x.checked?"bydate":"byday";this.frequency==="MONTHLY"?V==="bydate"?(this.byMonthDay=[parseInt(d.value)],this.byDay=[],this.bySetPos=void 0):(this.byMonthDay=[],this.byDay=[f.value],this.bySetPos=parseInt(m.value)):this.frequency==="YEARLY"&&(J==="bydate"?(this.byMonth=[parseInt(I.value)],this.byMonthDay=[parseInt(B.value)],this.byDay=[],this.bySetPos=void 0):(this.byMonth=[parseInt(_.value)],this.byMonthDay=[],this.byDay=[P.value],this.bySetPos=parseInt(N.value)));let he=this.buildRRule(V,J);this.onSubmit(he,this.recurrenceAnchor),this.close()})}updateFrequencySpecificVisibility(){}buildRRule(e,r){let a=[];if(this.dtstart){let i=this.dtstart.replace(/-/g,"");if(this.dtstartTime){let s=this.dtstartTime.replace(":","")+"00Z";i=`${i}T${s}`}a.push(`DTSTART:${i}`)}switch(a.push(`FREQ=${this.frequency}`),this.interval>1&&a.push(`INTERVAL=${this.interval}`),this.frequency){case"WEEKLY":this.byDay.length>0&&a.push(`BYDAY=${this.byDay.join(",")}`);break;case"MONTHLY":if(e==="bydate"){let i=this.byMonthDay.length>0?this.byMonthDay[0]:new Date().getDate();a.push(`BYMONTHDAY=${i}`)}else if(e==="byday"&&this.byDay.length>0){let i=this.bySetPos||1;a.push(`BYDAY=${i}${this.byDay[0]}`)}break;case"YEARLY":if(r==="bydate"){let i=this.byMonth.length>0?this.byMonth[0]:new Date().getMonth()+1,s=this.byMonthDay.length>0?this.byMonthDay[0]:new Date().getDate();a.push(`BYMONTH=${i}`),a.push(`BYMONTHDAY=${s}`)}else if(r==="byday"){let i=this.byMonth.length>0?this.byMonth[0]:new Date().getMonth()+1;if(a.push(`BYMONTH=${i}`),this.byDay.length>0){let s=this.bySetPos||1;a.push(`BYDAY=${s}${this.byDay[0]}`)}}break}switch(this.endType){case"count":this.count&&this.count>0&&a.push(`COUNT=${this.count}`);break;case"until":if(this.until){let i=this.until.replace(/-/g,"");a.push(`UNTIL=${i}`)}break}return a.join(";")}onClose(){let{contentEl:e}=this;e.empty()}}});async function i$(n,t){return new YE(n,t).show()}var rf,YE,s$=b(()=>{rf=require("obsidian"),YE=class extends rf.Modal{constructor(t,e){super(t),this.options={confirmText:"Confirm",cancelText:"Cancel",...e}}show(){return new Promise(t=>{this.resolve=t,this.open()})}onOpen(){let{contentEl:t}=this;t.empty(),new rf.Setting(t).setName(this.options.title).setHeading(),new rf.Setting(t).addText(i=>{this.inputEl=i.inputEl,i.setPlaceholder(this.options.placeholder||"").setValue(this.options.initialValue||"").onChange(()=>{}),setTimeout(()=>{this.inputEl.focus(),this.inputEl.select()},100)});let e=t.createEl("div",{cls:"modal-button-container"});e.style.display="flex",e.style.gap="10px",e.style.justifyContent="flex-end",e.style.marginTop="20px";let r=e.createEl("button",{text:this.options.cancelText});r.addEventListener("click",()=>{this.resolve(null),this.close()});let a=e.createEl("button",{text:this.options.confirmText,cls:"mod-cta"});a.addEventListener("click",()=>{let i=this.inputEl.value.trim();this.resolve(i||null),this.close()}),this.inputEl.addEventListener("keydown",i=>{i.key==="Enter"?(i.preventDefault(),a.click()):i.key==="Escape"&&(i.preventDefault(),r.click())})}onClose(){let{contentEl:t}=this;t.empty(),this.resolve&&this.resolve(null)}}});var Ce,Jd,GE=b(()=>{Ce=require("obsidian");Ke();Kd();Uv();dl();rc();Zd();s$();To();Py();vd();Hp();ws();Jd=class{constructor(t){this.menu=new Mr,this.options=t,this.buildMenu()}t(t,e){return this.options.plugin.i18n.translate(t,e)}buildMenu(){var r,a;let{task:t,plugin:e}=this.options;if(this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.status")),i.setIcon("circle");let s=i.setSubmenu();this.addStatusOptions(s,t,e)}),t.recurrence){this.menu.addSeparator();let i=le(this.options.targetDate),s=((r=t.complete_instances)==null?void 0:r.includes(i))||!1;this.menu.addItem(l=>{l.setTitle(s?this.t("contextMenus.task.markIncomplete"):this.t("contextMenus.task.markComplete")),l.setIcon(s?"x":"check"),l.onClick(async()=>{var c,d;try{await e.toggleRecurringTaskComplete(t,this.options.targetDate),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){let p=u instanceof Error?u.message:String(u);console.error("Error toggling recurring task completion:",{error:p,taskPath:t.path}),new Ce.Notice(this.t("contextMenus.task.notices.toggleCompletionFailure",{message:p}))}})});let o=((a=t.skipped_instances)==null?void 0:a.includes(i))||!1;this.menu.addItem(l=>{l.setTitle(o?this.t("contextMenus.task.unskipInstance"):this.t("contextMenus.task.skipInstance")),l.setIcon(o?"undo":"x-circle"),l.onClick(async()=>{var c,d;try{await e.taskService.toggleRecurringTaskSkipped(t,this.options.targetDate),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){let p=u instanceof Error?u.message:String(u);console.error("Error toggling recurring task skip:",{error:p,taskPath:t.path}),new Ce.Notice(this.t("contextMenus.task.notices.toggleSkipFailure",{message:p}))}})})}this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.priority")),i.setIcon("star");let s=i.setSubmenu();this.addPriorityOptions(s,t,e)}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.dueDate")),i.setIcon("calendar");let s=i.setSubmenu();this.addDateOptions(s,t.due,async o=>{var l,c;try{await e.updateTaskProperty(t,"due",o||void 0),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){let u=d instanceof Error?d.message:String(d);console.error("Error updating task due date:",{error:u,taskPath:t.path}),new Ce.Notice(this.t("contextMenus.task.notices.updateDueDateFailure",{message:u}))}},()=>{e.openDueDateModal(t)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.scheduledDate")),i.setIcon("calendar-clock");let s=i.setSubmenu();this.addDateOptions(s,t.scheduled,async o=>{var l,c;try{await e.updateTaskProperty(t,"scheduled",o||void 0),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){let u=d instanceof Error?d.message:String(d);console.error("Error updating task scheduled date:",{error:u,taskPath:t.path}),new Ce.Notice(this.t("contextMenus.task.notices.updateScheduledFailure",{message:u}))}},()=>{e.openScheduledDateModal(t)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.reminders")),i.setIcon("bell");let s=i.setSubmenu();this.addQuickRemindersSection(s,t,e,"due",this.t("contextMenus.task.remindBeforeDue")),this.addQuickRemindersSection(s,t,e,"scheduled",this.t("contextMenus.task.remindBeforeScheduled")),s.addSeparator(),s.addItem(o=>{o.setTitle(this.t("contextMenus.task.manageReminders")),o.setIcon("settings"),o.onClick(()=>{new ei(e.app,e,t,async c=>{var d,u;try{await e.updateTaskProperty(t,"reminders",c.length>0?c:void 0),(u=(d=this.options).onUpdate)==null||u.call(d)}catch(p){console.error("Error updating reminders:",p),new Ce.Notice(this.t("contextMenus.task.notices.updateRemindersFailure"))}}).open()})}),t.reminders&&t.reminders.length>0&&s.addItem(o=>{o.setTitle(this.t("contextMenus.task.clearReminders")),o.setIcon("trash"),o.onClick(async()=>{var l,c;try{await e.updateTaskProperty(t,"reminders",void 0),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){console.error("Error clearing reminders:",d),new Ce.Notice(this.t("contextMenus.task.notices.clearRemindersFailure"))}})})}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.dependencies.title")),i.setIcon("git-branch");let s=i.setSubmenu();this.addDependencyMenuItems(s,t,e)}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.organization.title")),i.setIcon("folder-tree");let s=i.setSubmenu();this.addOrganizationMenuItems(s,t,e)}),this.menu.addSeparator(),this.menu.addItem(i=>{let s=e.getActiveTimeSession(t);i.setTitle(s?this.t("contextMenus.task.stopTimeTracking"):this.t("contextMenus.task.startTimeTracking")),i.setIcon(s?"pause":"play"),i.onClick(async()=>{var l,c;e.getActiveTimeSession(t)?await e.stopTimeTracking(t):await e.startTimeTracking(t),(c=(l=this.options).onUpdate)==null||c.call(l)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.editTimeEntries")),i.setIcon("clock"),i.onClick(()=>{e.openTimeEntryEditor(t)})}),this.menu.addItem(i=>{i.setTitle(t.archived?this.t("contextMenus.task.unarchive"):this.t("contextMenus.task.archive")),i.setIcon(t.archived?"archive-restore":"archive"),i.onClick(async()=>{var s,o;try{await e.toggleTaskArchive(t),(o=(s=this.options).onUpdate)==null||o.call(s)}catch(l){let c=l instanceof Error?l.message:String(l);console.error("Error toggling task archive:",{error:c,taskPath:t.path}),new Ce.Notice(this.t("contextMenus.task.notices.archiveFailure",{message:c}))}})}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.openNote")),i.setIcon("file-text"),i.onClick(()=>{let s=e.app.vault.getAbstractFileByPath(t.path);s instanceof Ce.TFile&&e.app.workspace.getLeaf(!1).openFile(s)})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.copyTitle")),i.setIcon("copy"),i.onClick(async()=>{try{await navigator.clipboard.writeText(t.title),new Ce.Notice(this.t("contextMenus.task.notices.copyTitleSuccess"))}catch(s){new Ce.Notice(this.t("contextMenus.task.notices.copyFailure"))}})}),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.noteActions")),i.setIcon("file-text");let s=i.setSubmenu(),o=e.app.vault.getAbstractFileByPath(t.path);if(o instanceof Ce.TFile){try{e.app.workspace.trigger("file-menu",s,o,"file-explorer")}catch(l){console.debug("Native file menu not available, using fallback")}s.addItem(l=>{l.setTitle(this.t("contextMenus.task.rename")),l.setIcon("pencil"),l.onClick(async()=>{try{let c=o.basename,d=await i$(e.app,{title:this.t("contextMenus.task.renameTitle"),placeholder:this.t("contextMenus.task.renamePlaceholder"),initialValue:c});if(d&&d.trim()!==""&&d!==c){let u=o.extension,p=d.endsWith(`.${u}`)?d:`${d}.${u}`,m=o.parent?`${o.parent.path}/${p}`:p;await e.app.vault.rename(o,m),new Ce.Notice(this.t("contextMenus.task.notices.renameSuccess",{name:p})),this.options.onUpdate&&this.options.onUpdate()}}catch(c){console.error("Error renaming file:",c),new Ce.Notice(this.t("contextMenus.task.notices.renameFailure"))}})}),s.addItem(l=>{l.setTitle(this.t("contextMenus.task.delete")),l.setIcon("trash"),l.onClick(async()=>{await $a(e.app,{title:this.t("contextMenus.task.deleteTitle"),message:this.t("contextMenus.task.deleteMessage",{name:o.name}),confirmText:this.t("contextMenus.task.deleteConfirm"),cancelText:this.t("common.cancel"),isDestructive:!0})&&e.app.vault.trash(o,!0)})}),s.addSeparator(),s.addItem(l=>{l.setTitle(this.t("contextMenus.task.copyPath")),l.setIcon("copy"),l.onClick(async()=>{try{await navigator.clipboard.writeText(o.path),new Ce.Notice(this.t("contextMenus.task.notices.copyPathSuccess"))}catch(c){new Ce.Notice(this.t("contextMenus.task.notices.copyFailure"))}})}),s.addItem(l=>{l.setTitle(this.t("contextMenus.task.copyUrl")),l.setIcon("link"),l.onClick(async()=>{try{let c=`obsidian://open?vault=${encodeURIComponent(e.app.vault.getName())}&file=${encodeURIComponent(o.path)}`;await navigator.clipboard.writeText(c),new Ce.Notice(this.t("contextMenus.task.notices.copyUrlSuccess"))}catch(c){new Ce.Notice(this.t("contextMenus.task.notices.copyFailure"))}})}),s.addSeparator(),s.addItem(l=>{l.setTitle(this.t("contextMenus.task.showInExplorer")),l.setIcon("folder-open"),l.onClick(()=>{e.app.workspace.getLeaf().setViewState({type:"file-explorer",state:{}}).then(()=>{let c=e.app.workspace.getLeavesOfType("file-explorer")[0];c!=null&&c.view&&"revealInFolder"in c.view&&c.view.revealInFolder(o)})})})}}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.addToCalendar")),i.setIcon("calendar-plus");let s=i.setSubmenu();s.addItem(o=>{o.setTitle(this.t("contextMenus.task.calendar.google")),o.setIcon("external-link"),o.onClick(()=>{Si.openCalendarURL({type:"google",task:t,useScheduledAsDue:!0},this.t.bind(this))})}),s.addItem(o=>{o.setTitle(this.t("contextMenus.task.calendar.outlook")),o.setIcon("external-link"),o.onClick(()=>{Si.openCalendarURL({type:"outlook",task:t,useScheduledAsDue:!0},this.t.bind(this))})}),s.addItem(o=>{o.setTitle(this.t("contextMenus.task.calendar.yahoo")),o.setIcon("external-link"),o.onClick(()=>{Si.openCalendarURL({type:"yahoo",task:t,useScheduledAsDue:!0},this.t.bind(this))})}),s.addSeparator(),s.addItem(o=>{o.setTitle(this.t("contextMenus.task.calendar.downloadIcs")),o.setIcon("download"),o.onClick(()=>{Si.downloadICSFile(t,this.t.bind(this))})})}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.recurrence")),i.setIcon("refresh-ccw");let s=i.setSubmenu(),o=typeof t.recurrence=="string"?t.recurrence:void 0;this.addRecurrenceOptions(s,o,async l=>{var c,d;try{await e.updateTaskProperty(t,"recurrence",l||void 0),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){let p=u instanceof Error?u.message:String(u);console.error("Error updating task recurrence:",{error:p,taskPath:t.path}),new Ce.Notice(this.t("contextMenus.task.notices.updateRecurrenceFailure",{message:p}))}},e)}),this.menu.addSeparator(),this.menu.addItem(i=>{i.setTitle(this.t("contextMenus.task.createSubtask")),i.setIcon("plus"),i.onClick(()=>{let s=e.app.vault.getAbstractFileByPath(t.path);if(s instanceof Ce.TFile){let o=vi(e.app,s,t.path,"","",e.settings.useFrontmatterMarkdownLinks);e.openTaskCreationModal({projects:[o]})}})}),setTimeout(()=>{this.updateMainMenuIconColors(t,e)},10)}addDependencyMenuItems(t,e,r){var s,o;t.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.addBlockedBy")),l.setIcon("link-2"),l.onClick(()=>{this.menu.hide(),this.openBlockedBySelector(e,r)})});let a=(s=e.blockedBy)!=null?s:[];a.length>0&&t.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.removeBlockedBy")),l.setIcon("unlink");let c=l.setSubmenu();a.forEach((d,u)=>{c.addItem(p=>{p.setTitle(d.uid),p.onClick(async()=>{var m,h;try{let f=a.filter((v,T)=>T!==u),g=await r.updateTaskProperty(e,"blockedBy",f.length>0?f:void 0);Object.assign(e,g),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.blockedByRemoved")),(h=(m=this.options).onUpdate)==null||h.call(m)}catch(f){console.error("Failed to remove blocked-by dependency:",f),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}})})})}),t.addSeparator(),t.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.addBlocking")),l.setIcon("git-branch-plus"),l.onClick(()=>{this.menu.hide(),this.openBlockingSelector(e,r)})});let i=(o=e.blocking)!=null?o:[];i.length>0&&t.addItem(l=>{l.setTitle(this.t("contextMenus.task.dependencies.removeBlocking")),l.setIcon("git-branch-minus");let c=l.setSubmenu();i.forEach(d=>{let u=r.app.vault.getAbstractFileByPath(d),p=u instanceof Ce.TFile?r.app.metadataCache.fileToLinktext(u,e.path,!1):d.split("/").pop()||d;c.addItem(m=>{m.setTitle(p),m.onClick(async()=>{var h,f;try{await r.taskService.updateBlockingRelationships(e,[],[d],{});let g=await r.cacheManager.getTaskInfo(e.path);g&&Object.assign(e,g),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.blockingRemoved")),(f=(h=this.options).onUpdate)==null||f.call(h)}catch(g){console.error("Failed to remove blocking dependency:",g),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}})})})})}dedupeDependencyEntries(t){let e=new Map;for(let r of t){let a=lo(r);if(!a)continue;let i=this.getDependencyKey(a);e.has(i)||e.set(i,a)}return Array.from(e.values())}async openBlockedBySelector(t,e){let r=new Set((Array.isArray(t.blockedBy)?t.blockedBy:[]).map(a=>a.uid));await this.openTaskDependencySelector(e,a=>{if(a.path===t.path)return!1;let i=Yn(e.app,t.path,a.path,e.settings.useFrontmatterMarkdownLinks);return!r.has(i)},async a=>{await this.handleBlockedBySelection(t,e,a)})}async openBlockingSelector(t,e){var a;let r=new Set((a=t.blocking)!=null?a:[]);await this.openTaskDependencySelector(e,i=>i.path===t.path?!1:!r.has(i.path),async i=>{await this.handleBlockingSelection(t,e,i)})}async openTaskDependencySelector(t,e,r){var a,i;try{let s=t.cacheManager,l=((i=await((a=s==null?void 0:s.getAllTasks)==null?void 0:a.call(s)))!=null?i:[]).filter(e);if(l.length===0){new Ce.Notice(this.t("contextMenus.task.dependencies.notices.noEligibleTasks"));return}Fr(t,l,async c=>{c&&await r(c)})}catch(s){console.error("Failed to open task selector for dependencies:",s),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}async handleBlockedBySelection(t,e,r){var a,i;if(r.path!==t.path)try{let s={uid:Yn(e.app,t.path,r.path,e.settings.useFrontmatterMarkdownLinks),reltype:$n},o=Array.isArray(t.blockedBy)?t.blockedBy:[],l=this.dedupeDependencyEntries([...o,s]);if(l.length===o.length)return;let c=await e.updateTaskProperty(t,"blockedBy",l);Object.assign(t,c),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.blockedByAdded",{count:1})),(i=(a=this.options).onUpdate)==null||i.call(a)}catch(s){console.error("Failed to add blocked-by dependency via selector:",s),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}async handleBlockingSelection(t,e,r){var i,s,o;let a=r.path;if(a!==t.path&&!((i=t.blocking)!=null&&i.includes(a)))try{let l={uid:Yn(e.app,a,t.path,e.settings.useFrontmatterMarkdownLinks),reltype:$n};await e.taskService.updateBlockingRelationships(t,[a],[],{[a]:l});let c=await e.cacheManager.getTaskInfo(t.path);c?Object.assign(t,c):Array.isArray(t.blocking)?t.blocking=Array.from(new Set([...t.blocking,a])):t.blocking=[a],new Ce.Notice(this.t("contextMenus.task.dependencies.notices.blockingAdded",{count:1})),(o=(s=this.options).onUpdate)==null||o.call(s)}catch(l){console.error("Failed to add blocking dependency via selector:",l),new Ce.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}getDependencyKey(t){var e;return`${t.uid}::${t.reltype}::${(e=t.gap)!=null?e:""}`}addOrganizationMenuItems(t,e,r){t.addItem(a=>{a.setTitle(this.t("contextMenus.task.organization.addToProject")),a.setIcon("folder-plus"),a.onClick(()=>{this.menu.hide(),this.openProjectSelector(e,r)})}),t.addItem(a=>{a.setTitle(this.t("contextMenus.task.organization.addSubtasks")),a.setIcon("indent"),a.onClick(()=>{this.menu.hide(),this.openSubtaskAssignmentSelector(e,r)})})}async openProjectSelector(t,e){try{new io(e.app,e,async a=>{a&&await this.addTaskToProject(t,e,a)}).open()}catch(r){console.error("Failed to open project selector:",r),new Ce.Notice(this.t("contextMenus.task.organization.notices.projectSelectFailed"))}}async openSubtaskAssignmentSelector(t,e){var r,a;try{let i=e.cacheManager,o=((a=await((r=i==null?void 0:i.getAllTasks)==null?void 0:r.call(i)))!=null?a:[]).filter(l=>l.path!==t.path);if(o.length===0){new Ce.Notice(this.t("contextMenus.task.organization.notices.noEligibleSubtasks"));return}Fr(e,o,async l=>{l&&await this.assignTaskAsSubtask(t,e,l)})}catch(i){console.error("Failed to open subtask assignment selector:",i),new Ce.Notice(this.t("contextMenus.task.organization.notices.subtaskSelectFailed"))}}async addTaskToProject(t,e,r){var a,i;try{if(!(r instanceof Ce.TFile)){new Ce.Notice(this.t("contextMenus.task.organization.notices.projectSelectFailed"));return}let s=vi(e.app,r,t.path,"","",e.settings.useFrontmatterMarkdownLinks),o=`[[${r.basename}]]`,l=Array.isArray(t.projects)?t.projects:[];if(l.includes(s)||l.includes(o)){new Ce.Notice(this.t("contextMenus.task.organization.notices.alreadyInProject"));return}let d=[...l.filter(p=>p!==o),s],u=await e.updateTaskProperty(t,"projects",d);Object.assign(t,u),new Ce.Notice(this.t("contextMenus.task.organization.notices.addedToProject",{project:r.basename})),(i=(a=this.options).onUpdate)==null||i.call(a)}catch(s){console.error("Failed to add task to project:",s),new Ce.Notice(this.t("contextMenus.task.organization.notices.addToProjectFailed"))}}async assignTaskAsSubtask(t,e,r){var a,i;try{let s=e.app.vault.getAbstractFileByPath(t.path);if(!(s instanceof Ce.TFile)){new Ce.Notice(this.t("contextMenus.task.organization.notices.currentTaskNotFound"));return}let o=vi(e.app,s,r.path,"","",e.settings.useFrontmatterMarkdownLinks),l=`[[${s.basename}]]`,c=Array.isArray(r.projects)?r.projects:[];if(c.includes(o)||c.includes(l)){new Ce.Notice(this.t("contextMenus.task.organization.notices.alreadySubtask"));return}let u=[...c.filter(m=>m!==l),o],p=await e.updateTaskProperty(r,"projects",u);Object.assign(r,p),new Ce.Notice(this.t("contextMenus.task.organization.notices.addedAsSubtask",{subtask:r.title,parent:s.basename})),(i=(a=this.options).onUpdate)==null||i.call(a)}catch(s){console.error("Failed to assign task as subtask:",s),new Ce.Notice(this.t("contextMenus.task.organization.notices.addAsSubtaskFailed"))}}buildProjectReference(t,e,r){return vi(r.app,t,e,"","",r.settings.useFrontmatterMarkdownLinks)}updateMainMenuIconColors(t,e){let r=document.querySelector(".menu");if(!r)return;let a=r.querySelectorAll(".menu-item"),i=this.t("contextMenus.task.status"),s=this.t("contextMenus.task.priority");a.forEach(o=>{let l=o.querySelector(".menu-item-title"),c=o.querySelector(".menu-item-icon");if(l&&c){let d=l.textContent;if(d===i){let u=e.settings.customStatuses.find(p=>p.value===t.status);u&&u.color&&(c.style.color=u.color)}else if(d===s){let u=e.settings.customPriorities.find(p=>p.value===t.priority);u&&u.color&&(c.style.color=u.color)}}})}addStatusOptions(t,e,r){this.getStatusOptions(e,r).forEach((i,s)=>{t.addItem(o=>{let l=i.label;o.setIcon(i.icon||"circle"),i.value===e.status&&(l=this.t("contextMenus.task.statusSelected",{label:i.label})),o.setTitle(l),o.onClick(async()=>{var c,d;try{await r.updateTaskProperty(e,"status",i.value),(d=(c=this.options).onUpdate)==null||d.call(c)}catch(u){let p=u instanceof Error?u.message:String(u);console.error("Error updating task status:",{error:p,taskPath:e.path}),new Ce.Notice(`Failed to update task status: ${p}`)}}),i.color&&setTimeout(()=>{let c=o.dom||o.domEl;if(c){let d=c.querySelector(".menu-item-icon");d&&(d.style.color=i.color)}},10)})})}addPriorityOptions(t,e,r){r.priorityManager.getPrioritiesByWeight().forEach(i=>{t.addItem(s=>{let o=i.label;s.setIcon("star"),i.value===e.priority&&(o=this.t("contextMenus.task.prioritySelected",{label:i.label})),s.setTitle(o),s.onClick(async()=>{var l,c;try{await r.updateTaskProperty(e,"priority",i.value),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){let u=d instanceof Error?d.message:String(d);console.error("Error updating task priority:",{error:u,taskPath:e.path}),new Ce.Notice(`Failed to update task priority: ${u}`)}}),i.color&&setTimeout(()=>{let l=s.dom||s.domEl;if(l){let c=l.querySelector(".menu-item-icon");c&&(c.style.color=i.color)}},10)})})}addDateOptions(t,e,r,a){let s=new Cn({currentValue:e,onSelect:d=>{r(d)},onCustomDate:a,plugin:this.options.plugin,app:this.options.plugin.app}).getDateOptions(),o=s.filter(d=>d.category==="increment");o.length>0&&(o.forEach(d=>{t.addItem(u=>{d.icon&&u.setIcon(d.icon),u.setTitle(d.label),u.onClick(()=>r(d.value))})}),t.addSeparator()),s.filter(d=>d.category==="basic").forEach(d=>{t.addItem(u=>{d.icon&&u.setIcon(d.icon);let m=d.value===e?this.t("contextMenus.date.selected",{label:d.label}):d.label;u.setTitle(m),u.onClick(()=>r(d.value))})});let c=s.filter(d=>d.category==="weekday");c.length>0&&(t.addSeparator(),t.addItem(d=>{d.setTitle(this.t("contextMenus.date.weekdaysLabel")),d.setIcon("calendar");let u=d.setSubmenu();c.forEach(p=>{u.addItem(m=>{let f=p.value===e?this.t("contextMenus.date.selected",{label:p.label}):p.label;m.setTitle(f),m.setIcon("calendar"),m.onClick(()=>r(p.value))})})})),t.addSeparator(),t.addItem(d=>{d.setTitle(this.t("contextMenus.date.pickDateTime")),d.setIcon("calendar"),d.onClick(()=>a())}),e&&t.addItem(d=>{d.setTitle(this.t("contextMenus.date.clearDate")),d.setIcon("x"),d.onClick(()=>r(null))})}addRecurrenceOptions(t,e,r,a){let i=new Date,s=["SU","MO","TU","WE","TH","FR","SA"],o=[a.i18n.translate("common.months.january"),a.i18n.translate("common.months.february"),a.i18n.translate("common.months.march"),a.i18n.translate("common.months.april"),a.i18n.translate("common.months.may"),a.i18n.translate("common.months.june"),a.i18n.translate("common.months.july"),a.i18n.translate("common.months.august"),a.i18n.translate("common.months.september"),a.i18n.translate("common.months.october"),a.i18n.translate("common.months.november"),a.i18n.translate("common.months.december")],l=s[i.getDay()],c=i.getDate(),d=i.getMonth()+1,u=o[i.getMonth()],p=i.toLocaleDateString("en-US",{weekday:"long"}),m=v=>{let T=v.getFullYear(),k=String(v.getMonth()+1).padStart(2,"0"),w=String(v.getDate()).padStart(2,"0");return`${T}${k}${w}`},h=v=>{let T=["th","st","nd","rd"],k=v%100;return v+(T[(k-20)%10]||T[k]||T[0])},f=m(i);[{label:this.t("modals.task.recurrence.daily"),value:`DTSTART:${f};FREQ=DAILY;INTERVAL=1`,icon:"calendar-days"},{label:this.t("modals.task.recurrence.weeklyOn",{days:p}),value:`DTSTART:${f};FREQ=WEEKLY;INTERVAL=1;BYDAY=${l}`,icon:"calendar"},{label:this.t("modals.task.recurrence.everyTwoWeeks"),value:`DTSTART:${f};FREQ=WEEKLY;INTERVAL=2;BYDAY=${l}`,icon:"calendar"},{label:this.t("modals.task.recurrence.monthlyOnOrdinal",{ordinal:h(c)}),value:`DTSTART:${f};FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=${c}`,icon:"calendar-range"},{label:this.t("modals.task.recurrence.everyThreeMonths"),value:`DTSTART:${f};FREQ=MONTHLY;INTERVAL=3;BYMONTHDAY=${c}`,icon:"calendar-range"},{label:this.t("modals.task.recurrence.yearlyOn",{month:u,day:h(c)}),value:`DTSTART:${f};FREQ=YEARLY;INTERVAL=1;BYMONTH=${d};BYMONTHDAY=${c}`,icon:"calendar-clock"},{label:this.t("modals.task.recurrence.weekdays"),value:`DTSTART:${f};FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR`,icon:"briefcase"}].forEach(v=>{t.addItem(T=>{let k=v.value===e;T.setTitle(k?`\u2713 ${v.label}`:v.label),T.setIcon(v.icon),T.onClick(()=>{r(v.value)})})}),t.addSeparator(),t.addItem(v=>{v.setTitle(this.t("contextMenus.task.customRecurrence")),v.setIcon("settings"),v.onClick(()=>{new ti({currentValue:typeof e=="string"?e:void 0,currentAnchor:this.options.task.recurrence_anchor||"scheduled",onSelect:r,app:a.app,plugin:a}).showCustomRecurrenceModal()})}),e&&t.addItem(v=>{v.setTitle(this.t("contextMenus.task.clearRecurrence")),v.setIcon("x"),v.onClick(()=>{r(null)})})}getStatusOptions(t,e){let r=e.settings.customStatuses,a=[];return r&&r.length>0&&[...r].sort((s,o)=>s.order-o.order).forEach(s=>{a.push({label:s.label,value:s.value,color:s.color,icon:s.icon})}),a}addQuickRemindersSection(t,e,r,a,i){if(!(a==="due"?e.due:e.scheduled)){t.addItem(o=>{o.setTitle(i),o.setIcon("bell"),o.setDisabled(!0)});return}t.addItem(o=>{o.setTitle(i),o.setIcon("bell");let l=o.setSubmenu();[{labelKey:"contextMenus.task.quickReminders.atTime",offset:"PT0M"},{labelKey:"contextMenus.task.quickReminders.fiveMinutes",offset:"-PT5M"},{labelKey:"contextMenus.task.quickReminders.fifteenMinutes",offset:"-PT15M"},{labelKey:"contextMenus.task.quickReminders.oneHour",offset:"-PT1H"},{labelKey:"contextMenus.task.quickReminders.oneDay",offset:"-P1D"}].forEach(d=>{l.addItem(u=>{let p=this.t(d.labelKey);u.setTitle(p),u.onClick(async()=>{await this.addQuickReminder(e,r,a,d.offset,p)})})})})}async addQuickReminder(t,e,r,a,i){var l,c;let s={id:`rem_${Date.now()}`,type:"relative",relatedTo:r,offset:a,description:i},o=[...t.reminders||[],s];try{await e.updateTaskProperty(t,"reminders",o),(c=(l=this.options).onUpdate)==null||c.call(l)}catch(d){console.error("Error adding reminder:",d),new Ce.Notice("Failed to add reminder")}}show(t){this.menu.showAtMouseEvent(t)}showAtElement(t){this.menu.showAtPosition({x:t.getBoundingClientRect().left,y:t.getBoundingClientRect().bottom+4})}}});var o$={};Be(o$,{PriorityContextMenu:()=>ri});var ri,nf=b(()=>{ws();ri=class{constructor(t){this.menu=new Mr,this.options=t,this.buildMenu()}buildMenu(){let t=this.options.plugin.settings.customPriorities;this.sortedPriorities=[...t].sort((e,r)=>r.weight-e.weight),this.sortedPriorities.forEach(e=>{this.menu.addItem(r=>{let a=e.label;r.setIcon("star"),e.value===this.options.currentValue&&(a=`\u2713 ${e.label}`),r.setTitle(a),r.onClick(async()=>{this.options.onSelect(e.value)})})})}show(t){this.menu.show(t),setTimeout(()=>{this.applyColorStyling()},10)}showAtElement(t){this.menu.showAtPosition({x:t.getBoundingClientRect().left,y:t.getBoundingClientRect().bottom+4}),setTimeout(()=>{this.applyColorStyling()},10)}applyColorStyling(){let t=document.querySelector(".menu");if(!t)return;let e=t.querySelectorAll(".menu-item");this.sortedPriorities.forEach((r,a)=>{let i=e[a];if(i&&r.color){let s=i.querySelector(".menu-item-icon");s&&(s.style.color=r.color)}})}}});var KE={};Be(KE,{BatchContextMenu:()=>af});var aa,af,qv=b(()=>{aa=require("obsidian");rc();ws();dl();af=class{constructor(t){this.menu=new Mr,this.options=t,this.buildMenu()}t(t,e){return this.options.plugin.i18n.translate(t,e)}buildMenu(){let{plugin:t,selectedPaths:e}=this.options,r=e.length;this.menu.addItem(a=>{a.setTitle(`${r} tasks selected`),a.setIcon("check-square"),a.setDisabled(!0)}),this.menu.addSeparator(),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.task.status")),a.setIcon("circle");let i=a.setSubmenu();this.addStatusOptions(i)}),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.task.priority")),a.setIcon("star");let i=a.setSubmenu();this.addPriorityOptions(i)}),this.menu.addSeparator(),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.task.dueDate")),a.setIcon("calendar");let i=a.setSubmenu();this.addDateOptions(i,"due")}),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.task.scheduledDate")),a.setIcon("calendar-clock");let i=a.setSubmenu();this.addDateOptions(i,"scheduled")}),this.menu.addSeparator(),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.task.archive")),a.setIcon("archive"),a.onClick(async()=>{await this.batchArchive(!0)})}),this.menu.addItem(a=>{a.setTitle(this.t("contextMenus.task.unarchive")),a.setIcon("archive-restore"),a.onClick(async()=>{await this.batchArchive(!1)})}),this.menu.addSeparator(),this.menu.addItem(a=>{a.setTitle("Clear selection"),a.setIcon("x"),a.onClick(()=>{var i,s;(i=this.options.plugin.taskSelectionService)==null||i.clearSelection(),(s=this.options.plugin.taskSelectionService)==null||s.exitSelectionMode()})}),this.menu.addSeparator(),this.menu.addItem(a=>{a.setTitle(`Delete ${r} tasks`),a.setIcon("trash"),a.onClick(async()=>{await this.batchDelete()})})}addStatusOptions(t){let r=[...this.options.plugin.settings.customStatuses].sort((a,i)=>a.order-i.order);for(let a of r)t.addItem(i=>{i.setTitle(a.label),i.setIcon(a.icon||"circle"),i.onClick(async()=>{await this.batchUpdateProperty("status",a.value)}),a.color&&setTimeout(()=>{let s=i.dom||i.domEl;if(s){let o=s.querySelector(".menu-item-icon");o&&(o.style.color=a.color)}},10)})}addPriorityOptions(t){let e=this.options.plugin.priorityManager.getPrioritiesByWeight();for(let r of e)t.addItem(a=>{a.setTitle(r.label),a.setIcon("star"),a.onClick(async()=>{await this.batchUpdateProperty("priority",r.value)}),r.color&&setTimeout(()=>{let i=a.dom||a.domEl;if(i){let s=i.querySelector(".menu-item-icon");s&&(s.style.color=r.color)}},10)});t.addSeparator(),t.addItem(r=>{r.setTitle(this.t("contextMenus.priority.clearPriority")),r.setIcon("x"),r.onClick(async()=>{await this.batchUpdateProperty("priority",void 0)})})}addDateOptions(t,e){let i=new Cn({currentValue:void 0,onSelect:()=>{},plugin:this.options.plugin,app:this.options.plugin.app}).getDateOptions().filter(s=>s.category==="basic");for(let s of i)t.addItem(o=>{s.icon&&o.setIcon(s.icon),o.setTitle(s.label),o.onClick(async()=>{await this.batchUpdateProperty(e,s.value)})});t.addSeparator(),t.addItem(s=>{s.setTitle(this.t("contextMenus.date.clearDate")),s.setIcon("x"),s.onClick(async()=>{await this.batchUpdateProperty(e,void 0)})})}async batchUpdateProperty(t,e){var o,l;let{plugin:r,selectedPaths:a,onUpdate:i}=this.options,s=a.length;try{new aa.Notice(`Updating ${s} tasks...`);let c=0,d=0;for(let u of a)try{let p=await r.cacheManager.getTaskInfo(u);p?(await r.taskService.updateProperty(p,t,e),c++):d++}catch(p){console.error(`[BatchContextMenu] Failed to update task ${u}:`,p),d++}d===0?new aa.Notice(`Updated ${c} tasks`):new aa.Notice(`Updated ${c} tasks, ${d} failed`),(o=r.taskSelectionService)==null||o.clearSelection(),(l=r.taskSelectionService)==null||l.exitSelectionMode(),i==null||i()}catch(c){console.error("[BatchContextMenu] Batch update failed:",c),new aa.Notice("Failed to update tasks")}}async batchArchive(t){var s,o;let{plugin:e,selectedPaths:r,onUpdate:a}=this.options,i=r.length;try{new aa.Notice(`${t?"Archiving":"Unarchiving"} ${i} tasks...`);let l=0,c=0;for(let d of r)try{let u=await e.cacheManager.getTaskInfo(d);u&&u.archived!==t?(await e.toggleTaskArchive(u),l++):u?l++:c++}catch(u){console.error(`[BatchContextMenu] Failed to archive task ${d}:`,u),c++}c===0?new aa.Notice(`${t?"Archived":"Unarchived"} ${l} tasks`):new aa.Notice(`${t?"Archived":"Unarchived"} ${l} tasks, ${c} failed`),(s=e.taskSelectionService)==null||s.clearSelection(),(o=e.taskSelectionService)==null||o.exitSelectionMode(),a==null||a()}catch(l){console.error("[BatchContextMenu] Batch archive failed:",l),new aa.Notice("Failed to archive tasks")}}async batchDelete(){var s,o;let{plugin:t,selectedPaths:e,onUpdate:r}=this.options,a=e.length;if(await $a(t.app,{title:"Delete tasks",message:`Are you sure you want to delete ${a} tasks? This action cannot be undone.`,confirmText:"Delete",cancelText:this.t("common.cancel"),isDestructive:!0}))try{new aa.Notice(`Deleting ${a} tasks...`);let l=0,c=0;for(let d of e)try{let u=t.app.vault.getAbstractFileByPath(d);u?(await t.app.vault.trash(u,!0),l++):c++}catch(u){console.error(`[BatchContextMenu] Failed to delete task ${d}:`,u),c++}c===0?new aa.Notice(`Deleted ${l} tasks`):new aa.Notice(`Deleted ${l} tasks, ${c} failed`),(s=t.taskSelectionService)==null||s.clearSelection(),(o=t.taskSelectionService)==null||o.exitSelectionMode(),r==null||r()}catch(l){console.error("[BatchContextMenu] Batch delete failed:",l),new aa.Notice("Failed to delete tasks")}}show(t){this.menu.showAtMouseEvent(t)}showAtPosition(t,e){this.menu.showAtPosition({x:t,y:e})}}});function l$(n){let{task:t,plugin:e,excludeSelector:r,onSingleClick:a,onDoubleClick:i,contextMenuHandler:s}=n,o=null,l=(f=!1)=>{let g=e.app.vault.getAbstractFileByPath(t.path);g instanceof QE.TFile&&(f?e.app.workspace.openLinkText(t.path,"",!0):e.app.workspace.getLeaf(!1).openFile(g))},c=async()=>{await e.openTaskEditModal(t)},d=async f=>{if(a){await a(f);return}if(f.ctrlKey||f.metaKey){l(!0);return}let g=e.settings.singleClickAction;g==="edit"?await c():g==="openNote"&&l(!1)},u=async f=>{if(i){await i(f);return}let g=e.settings.doubleClickAction;g==="edit"?await c():g==="openNote"&&l()};return{clickHandler:async f=>{if(r&&f.target.closest(r))return;let g=e.taskSelectionService;if(g){if(f.shiftKey){f.stopPropagation(),g.isSelectionModeActive()||g.enterSelectionMode(),g.toggleSelection(t.path);return}g.isSelectionModeActive()&&(g.clearSelection(),g.exitSelectionMode())}if(f.stopPropagation(),e.settings.doubleClickAction==="none"){await d(f);return}o?(clearTimeout(o),o=null,await u(f)):o=setTimeout(()=>{o=null,d(f)},250)},dblclickHandler:async f=>{},contextmenuHandler:async f=>{f.preventDefault(),f.stopPropagation();let g=e.taskSelectionService;if(f.shiftKey&&g){if(g.isSelectionModeActive()||g.enterSelectionMode(),g.isSelected(t.path)||g.addToSelection(t.path),g.getSelectionCount()>0){let{BatchContextMenu:v}=(qv(),Wa(KE));new v({plugin:e,selectedPaths:g.getSelectedPaths(),onUpdate:()=>{}}).show(f)}return}if(g&&g.getSelectionCount()>1){g.isSelected(t.path)||g.addToSelection(t.path);let{BatchContextMenu:v}=(qv(),Wa(KE));new v({plugin:e,selectedPaths:g.getSelectedPaths(),onUpdate:()=>{}}).show(f);return}g!=null&&g.isSelectionModeActive()&&(g.clearSelection(),g.exitSelectionMode()),s&&await s(f)},cleanup:()=>{o&&(clearTimeout(o),o=null)}}}function c$(n,t){return e=>{t.app.vault.getAbstractFileByPath(n.path)&&t.app.workspace.trigger("hover-link",{event:e,source:"tasknotes-task-card",hoverParent:e.currentTarget,targetEl:e.currentTarget,linktext:n.path,sourcePath:n.path})}}async function d$(n,t,e,r){let a=(c=!1)=>{let d=t.app.vault.getAbstractFileByPath(n.path);d instanceof QE.TFile&&(c?t.app.workspace.openLinkText(n.path,"",!0):t.app.workspace.getLeaf(!1).openFile(d))},i=async()=>{await t.openTaskEditModal(n)},s=async c=>{if(c.ctrlKey||c.metaKey){a(!0);return}let d=t.settings.singleClickAction;d==="edit"?await i():d==="openNote"&&a(!1)},o=async c=>{let d=t.settings.doubleClickAction;d==="edit"?await i():d==="openNote"&&a()};if(t.settings.doubleClickAction==="none"){await s(e);return}let l=Vv.get(r);if(l)clearTimeout(l),Vv.delete(r),await o(e);else{let c=setTimeout(()=>{Vv.delete(r),s(e)},250);Vv.set(r,c)}}var QE,Vv,ZE=b(()=>{QE=require("obsidian");Vv=new Map});function Ss(n,t,e,r,a={}){let{cssClass:i="internal-link",hoverSource:s="tasknotes-property-link",showErrorNotices:o=!1}=a,l=n.createEl("a",{cls:i,text:e,attr:{"data-href":t,role:"link",tabindex:"0"}});l.addEventListener("click",async c=>{c.preventDefault(),c.stopPropagation();try{let d=r.metadataCache.getFirstLinkpathDest(t,"");d instanceof nc.TFile?c.ctrlKey||c.metaKey?r.workspace.openLinkText(t,"",!0):await r.workspace.getLeaf(!1).openFile(d):o&&new nc.Notice(`Note "${e}" not found`)}catch(d){console.error("[TaskNotes] Error opening internal link:",{filePath:t,error:d}),o&&new nc.Notice(`Failed to open note "${e}"`)}}),l.addEventListener("auxclick",async c=>{if(c.button===1){c.preventDefault(),c.stopPropagation();try{r.metadataCache.getFirstLinkpathDest(t,"")instanceof nc.TFile&&r.workspace.openLinkText(t,"",!0)}catch(d){console.error("[TaskNotes] Error opening internal link:",{filePath:t,error:d})}}}),l.addEventListener("keydown",c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),l.click())}),l.addEventListener("mouseover",c=>{let d=r.metadataCache.getFirstLinkpathDest(t,"");if(d instanceof nc.TFile){let u={event:c,source:s,hoverParent:n,targetEl:l,linktext:t,sourcePath:d.path};r.workspace.trigger("hover-link",u)}})}function $v(n,t,e,r){let a=0,i;for(;(i=ale.exec(t))!==null;){let[o,l,c,d]=i,u=i.index;if(u>a&&n.appendChild(document.createTextNode(t.slice(a,u))),l){let p=l,m=p,h=p;if(p.includes("|")){let[f,g]=p.split("|");m=f,h=g}Ss(n,m,h,e)}else if(c&&d){let p=String(d).trim(),m=String(c).trim();/^[a-z]+:\/\//i.test(p)?n.createEl("a",{text:m,attr:{href:p,target:"_blank",rel:"noopener"}}).classList.add("external-link"):Ss(n,p,m,e)}a=u+o.length}let s=t.slice(a);if(s&&(r!=null&&r.onTagClick)){let o=/(^|\s)(#\w+)/g,l=0,c;for(;(c=o.exec(s))!==null;){let[,d,u]=c,p=c.index;p>l&&n.appendChild(document.createTextNode(s.slice(l,p))),d&&n.appendChild(document.createTextNode(d));let m=n.createEl("a",{cls:"tag",text:u,attr:{href:u,role:"button",tabindex:"0"}});m.addEventListener("click",h=>{h.preventDefault(),h.stopPropagation(),r.onTagClick(u,h)}),m.addEventListener("keydown",h=>{(h.key==="Enter"||h.key===" ")&&(h.preventDefault(),r.onTagClick(u,h))}),l=p+d.length+u.length}l<s.length&&n.appendChild(document.createTextNode(s.slice(l)))}else s&&n.appendChild(document.createTextNode(s))}function ile(n){return!n||typeof n!="string"||!n.startsWith("[[")||!n.endsWith("]]")||n.startsWith("\\[[")||n.endsWith("\\]]")?!1:n.slice(2,-2).trim().length>0}function sle(n){return!n||typeof n!="string"?!1:/^\[([^\]]*)\]\(([^)]+)\)$/.test(n)}function ole(n){let t=n.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(!t)return null;let e=t[1].trim(),r=t[2].trim();try{r=decodeURIComponent(r)}catch(a){console.debug("Failed to decode URI component:",r,a)}return{displayText:e,filePath:r}}function Yv(n,t,e){n.innerHTML="",t.flat(2).filter(a=>a!=null&&typeof a=="string").forEach((a,i)=>{if(i>0&&n.appendChild(document.createTextNode(", ")),n.appendChild(document.createTextNode("+")),ile(a)){let s=a.slice(2,-2),o=s,l=s;if(s.includes("|")){let c=s.split("|");o=c[0].trim(),l=c[1].trim()}Ss(n,o,l,e,{cssClass:"task-card__project-link internal-link",hoverSource:"tasknotes-project-link",showErrorNotices:!0})}else if(sle(a)){let s=ole(a);s?Ss(n,s.filePath,s.displayText,e,{cssClass:"task-card__project-link internal-link",hoverSource:"tasknotes-project-link",showErrorNotices:!0}):n.appendChild(document.createTextNode(a))}else n.appendChild(document.createTextNode(a))})}var nc,ale,Gv=b(()=>{nc=require("obsidian"),ale=/\[\[([^[\]]+)\]\]|\[([^\]]+)\]\(([^)]+)\)|<(https?:\/\/[^\s>]+)>|\[([^\]]+)\]\s*\[([^\]]*)\]/g});function u$(n,t,e){if(!t||typeof t!="string")return;let r=lle(t);if(!r)return;let a=n.createEl("a",{cls:"tag",text:r,attr:{href:r,role:"button",tabindex:"0"}});e!=null&&e.onTagClick&&(a.addEventListener("click",i=>{i.preventDefault(),i.stopPropagation(),e.onTagClick(r,i)}),a.addEventListener("keydown",i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),e.onTagClick(r,i))}))}function m$(n,t,e){if(typeof t=="string"){u$(n,t,e);return}if(Array.isArray(t)){t.flat(2).filter(a=>a!=null&&typeof a=="string").forEach((a,i)=>{i>0&&n.appendChild(document.createTextNode(" ")),u$(n,String(a),e)});return}t!=null&&n.appendChild(document.createTextNode(String(t)))}function h$(n,t,e){if(typeof t=="string"){let r=p$(t);if(r){let a=n.createEl("span",{cls:"context-tag",text:r,attr:{role:"button",tabindex:"0"}});e!=null&&e.onTagClick&&(a.addEventListener("click",i=>{i.preventDefault(),i.stopPropagation(),e.onTagClick(r,i)}),a.addEventListener("keydown",i=>{(i.key==="Enter"||i.key===" ")&&(i.preventDefault(),e.onTagClick(r,i))}))}return}if(Array.isArray(t)){t.flat(2).filter(a=>a!=null&&typeof a=="string").forEach((a,i)=>{i>0&&n.appendChild(document.createTextNode(", "));let s=p$(a);if(s){let o=n.createEl("span",{cls:"context-tag",text:s,attr:{role:"button",tabindex:"0"}});e!=null&&e.onTagClick&&(o.addEventListener("click",l=>{l.preventDefault(),l.stopPropagation(),e.onTagClick(s,l)}),o.addEventListener("keydown",l=>{(l.key==="Enter"||l.key===" ")&&(l.preventDefault(),e.onTagClick(s,l))}))}else n.appendChild(document.createTextNode(String(a)))});return}t!=null&&n.appendChild(document.createTextNode(String(t)))}function lle(n){if(!n||typeof n!="string")return null;let t=n.trim();if(!t)return null;let e=t.startsWith("#"),r=t.replace(/[^\p{L}\p{N}_#/-]/gu,"");return e?r.length>1?r:null:r?`#${r}`:null}function p$(n){if(!n||typeof n!="string")return null;let t=n.trim();if(!t)return null;let e=t.startsWith("@"),r=t.replace(/[^\p{L}\p{N}_@/-]/gu,"");return e?r.length>1?r:null:r?`@${r}`:null}var f$=b(()=>{});function dle(n){return cle.includes(n)}function pn(n,t){return n.map(e=>dle(e)?e:e in t.fieldMapper.getMapping()?t.fieldMapper.toUserField(e):e)}function Ds(n,t,e){return e.fieldMapper.isPropertyForField(n,t)}var cle,ko=b(()=>{cle=["tags","blocked","blocking"]});var Es={};Be(Es,{DEFAULT_TASK_CARD_OPTIONS:()=>ex,cleanupTaskCard:()=>Ele,createTaskCard:()=>Ct,refreshParentTaskSubtasks:()=>xle,showDeleteConfirmationModal:()=>Dle,showTaskContextMenu:()=>eu,toggleBlockingTasks:()=>tx,toggleSubtasks:()=>sf,updateTaskCard:()=>Sle});function ac(n){let{container:t,className:e,icon:r,tooltip:a,ariaLabel:i,onClick:s,visible:o=!0}=n;if(!o)return null;let l=t.createEl("div",{cls:e,attr:{"aria-label":i||a}});return(0,Le.setIcon)(l,r),(0,Le.setTooltip)(l,a,{placement:"top"}),s&&l.addEventListener("click",c=>{c.stopPropagation(),s(c)}),l}function JE(n,t,e){let r=n.querySelector(t);if(!e.shouldExist)return r==null||r.remove(),null;if(r)return r.setAttribute("aria-label",e.ariaLabel||e.tooltip),(0,Le.setTooltip)(r,e.tooltip,{placement:"top"}),r;let i=n.querySelector(".task-card__badges")||n.querySelector(".task-card__main-row");return i?ac({container:i,...e}):null}function ule(n,t,e,r,a){return async i=>{i.stopPropagation();try{if(n.recurrence){let s=await t.toggleRecurringTaskComplete(n,a),o=co(s,a),l=t.statusManager.getStatusConfig(o),c=t.statusManager.isCompletedStatus(o);l&&(r.style.borderColor=l.color,l.icon?(r.addClass("task-card__status-dot--icon"),r.empty(),(0,Le.setIcon)(r,l.icon)):(r.removeClass("task-card__status-dot--icon"),r.empty())),ple(e,n,t,c,o)}else{let s=await t.cacheManager.getTaskInfo(n.path);if(!s){new Le.Notice("Task not found");return}let o=s.status||"open",l=t.statusManager.getNextStatus(o);await t.updateTaskProperty(s,"status",l)}}catch(s){let o=s instanceof Error?s.message:String(s);console.error("Error cycling task status:",{error:o,taskPath:n.path}),new Le.Notice(`Failed to update task status: ${o}`)}}}function ple(n,t,e,r,a){var l;let i=["task-card"];r&&i.push("task-card--completed"),t.archived&&i.push("task-card--archived"),e.getActiveTimeSession(t)&&i.push("task-card--actively-tracked"),t.recurrence&&i.push("task-card--recurring"),t.priority&&i.push(`task-card--priority-${t.priority}`),a&&i.push(`task-card--status-${a}`),((l=e.settings)==null?void 0:l.subtaskChevronPosition)==="left"&&i.push("task-card--chevron-left"),n.className=i.join(" "),n.dataset.status=a;let s=n.querySelector(".task-card__title"),o=n.querySelector(".task-card__title-text");s&&s.classList.toggle("completed",r),o&&o.classList.toggle("completed",r)}function mle(n,t){return e=>{e.stopPropagation(),new ri({currentValue:n.priority,onSelect:async a=>{try{await t.updateTaskProperty(n,"priority",a)}catch(i){console.error("Error updating priority:",i),new Le.Notice("Failed to update priority")}},plugin:t}).show(e)}}function b$(n,t){return e=>{e.stopPropagation(),new ti({currentValue:typeof n.recurrence=="string"?n.recurrence:void 0,currentAnchor:n.recurrence_anchor||"scheduled",onSelect:async(a,i)=>{try{await t.updateTaskProperty(n,"recurrence",a||void 0),i!==void 0&&await t.updateTaskProperty(n,"recurrence_anchor",i)}catch(s){console.error("Error updating recurrence:",s),new Le.Notice("Failed to update recurrence")}},app:t.app,plugin:t}).show(e)}}function T$(n,t){return()=>{new ei(t.app,t,n,async r=>{try{await t.updateTaskProperty(n,"reminders",r.length>0?r:void 0)}catch(a){console.error("Error updating reminders:",a),new Le.Notice("Failed to update reminders")}}).open()}}function k$(n,t){return async()=>{try{await t.applyProjectSubtaskFilter(n)}catch(e){console.error("Error filtering project subtasks:",e),new Le.Notice("Failed to filter project subtasks")}}}function w$(n,t,e,r){return async()=>{try{if(!t.expandedProjectsService){new Le.Notice("Service not available. Please try reloading the plugin.");return}let a=t.expandedProjectsService.toggle(n.path);r.classList.toggle("task-card__chevron--expanded",a);let i=a?"Collapse subtasks":"Expand subtasks";r.setAttribute("aria-label",i),(0,Le.setTooltip)(r,i,{placement:"top"}),await sf(e,n,t,a)}catch(a){console.error("Error toggling subtasks:",a),new Le.Notice("Failed to toggle subtasks")}}}function hle(n,t,e,r){return async()=>{let a=r.classList.toggle("task-card__blocking-toggle--expanded");await tx(e,n,t,a)}}function S$(n,t,e,r){n.addEventListener("click",a=>{a.stopPropagation();let i=r==="due"?t.due:t.scheduled;new Cn({currentValue:_e(i||""),currentTime:Hr(i||""),onSelect:async(o,l)=>{try{let c;o?l?c=`${o}T${l}`:c=o:c=void 0,await e.updateTaskProperty(t,r,c)}catch(c){let d=c instanceof Error?c.message:String(c);console.error(`Error updating ${r} date:`,d);let u=r==="due"?"contextMenus.task.notices.updateDueDateFailure":"contextMenus.task.notices.updateScheduledFailure";new Le.Notice(e.i18n.translate(u,{message:d}))}},plugin:e,app:e.app}).show(a)})}function D$(n){let t=[...rd,"tags","blocked","blocking"];return pn(t,n)}function Xd(n){if(n&&typeof n=="object"&&"icon"in n){let t=n;if(t.icon==="lucide-link"&&"data"in t&&t.data!==null&&t.data!==void 0){let e=String(t.data);if(!e.match(/^[a-z]+:\/\//i)){let a="display"in t&&t.display?String(t.display):null;return a&&a!==e?`[[${e}|${a}]]`:`[[${e}]]`}let r="display"in t&&t.display?String(t.display):null;return r?`[${r}](${e})`:e}return"data"in t&&t.data!==null&&t.data!==void 0?t.data:t.icon==="lucide-calendar"&&"date"in t?t.date:"display"in t&&t.display!==null&&t.display!==void 0?t.display:t.icon==="lucide-file-question"||t.icon==="lucide-help-circle"?"":t.icon?String(t.icon).replace("lucide-",""):""}return n}function fle(n,t,e){try{let r=e.fieldMapper.lookupMappingKey(t);if(r&&r in Kv)return Kv[r](n);if(t in Kv)return Kv[t](n);if(t.startsWith("user:"))return gle(n,t,e);if(n.customProperties&&t in n.customProperties)return Xd(n.customProperties[t]);if(n.customProperties){let a=`file.${t}`;if(a in n.customProperties)return Xd(n.customProperties[a])}if(t.startsWith("file.")&&n.basesData&&typeof n.basesData.getValue=="function")try{let a=n.basesData.getValue(t);if(a!=null)return Xd(a)}catch(a){}if(t.startsWith("formula."))try{let a=n.basesData;if(!a||typeof a.getValue!="function")return"";let i=a.getValue(t);if(i==null)return"";let s=Xd(i);return s!==""?s:""}catch(a){return console.debug(`[TaskNotes] Error computing formula ${t}:`,a),"[Formula Error]"}if(n.basesData&&typeof n.basesData.getValue=="function")try{let a=`note.${t}`,i=n.basesData.getValue(a);if(i!=null)return Xd(i)}catch(a){}if(n.path){let a=E$(n.path,t,e);if(a!==void 0)return a}return null}catch(r){return console.warn(`TaskCard: Error getting property ${t}:`,r),null}}function gle(n,t,e){var s;let r=t.slice(5),a=(s=e.settings.userFields)==null?void 0:s.find(o=>o.id===r);if(!(a!=null&&a.key))return null;let i=n[a.key];return i===void 0&&(i=E$(n.path,a.key,e)),i}function E$(n,t,e){try{let r=e.app.metadataCache.getCache(n);return r!=null&&r.frontmatter?r.frontmatter[t]:void 0}catch(r){console.warn(`TaskCard: Error accessing frontmatter for ${n}:`,r);return}}function x$(n,t,e,r){let a=fle(e,t,r);if(!yle(a))return null;let i=n.createEl("span",{cls:`task-card__metadata-property task-card__metadata-property--${t.replace(":","-")}`});try{let o=r.fieldMapper.lookupMappingKey(t)||t;return o in g$?g$[o](i,a,e,r):t.startsWith("user:")?vle(i,t,a,r):ble(i,t,a,r),!i.textContent&&!i.hasChildNodes()?(i.remove(),null):i}catch(s){return console.warn(`TaskCard: Error rendering property ${t}:`,s),i.textContent=`${t}: (error)`,i}}function yle(n){return n!=null&&!(Array.isArray(n)&&n.length===0)&&!(typeof n=="string"&&n.trim()==="")}function vle(n,t,e,r){var c;let a=t.slice(5),i=(c=r.settings.userFields)==null?void 0:c.find(d=>d.id===a);if(!i){n.textContent=`${a}: (not found)`;return}let s=i.displayName||a;n.createEl("span",{text:`${s}: `});let o=n.createEl("span"),l={metadataCache:r.app.metadataCache,workspace:r.app.workspace};if(typeof e=="string"&&e.trim()!==""){let d=e.trim();if(d.includes("[[")||d.includes("](")||d.includes("#")&&/\s#\w+|#\w+/.test(d))$v(o,d,l);else{let u=v$(e,i);o.textContent=u}}else if(i.type==="list"&&Array.isArray(e))e.filter(u=>u!=null).forEach((u,p)=>{if(p>0&&o.appendChild(document.createTextNode(", ")),typeof u=="string"&&u.trim()!==""){let m=u.trim();if(m.includes("[[")||m.includes("](")||m.includes("#")&&/\s#\w+|#\w+/.test(m)){let h=o.createEl("span");$v(h,m,l)}else o.appendChild(document.createTextNode(String(u)))}else o.appendChild(document.createTextNode(String(u)))});else{let d=v$(e,i);d.trim()!==""?o.textContent=d:o.textContent="(empty)"}}function ble(n,t,e,r){let a;t.startsWith("formula.")?a=t.substring(8):a=t.charAt(0).toUpperCase()+t.slice(1),n.createEl("span",{text:`${a}: `});let i=n.createEl("span");Array.isArray(e)?e.map(o=>Xd(o)).filter(o=>o!=null&&o!=="").forEach((o,l)=>{l>0&&i.appendChild(document.createTextNode(", ")),y$(i,o,r)}):y$(i,e,r)}function y$(n,t,e){if(typeof t=="string"&&e){let a={metadataCache:e.app.metadataCache,workspace:e.app.workspace};if(t.includes("[[")||t.includes("[")&&t.includes("](")||t.includes("#")&&/\s#\w+|#\w+/.test(t)){$v(n,t,a,{onTagClick:async(i,s)=>{let o=i.startsWith("#")?i.slice(1):i;await e.openTagsPane(`#${o}`)||console.log("Could not open search pane, generic property tag clicked:",i)}});return}n.appendChild(document.createTextNode(t));return}let r;if(typeof t=="object"&&t!==null)if(t instanceof Date)r=kn(t.toISOString(),{dateFormat:"MMM d, yyyy",timeFormat:"",showTime:!1});else if(typeof t.toString=="function"&&t.toString()!=="[object Object]")r=t.toString();else{let a=Object.entries(t);a.length<=3?r=a.map(([i,s])=>`${i}: ${s}`).join(", "):r=JSON.stringify(t)}else typeof t=="boolean"?r=t?"\u2713":"\u2717":typeof t=="number"?r=Number.isInteger(t)?String(t):t.toFixed(2):r=String(t);r.length>100&&(r=r.substring(0,97)+"..."),n.appendChild(document.createTextNode(r))}function v$(n,t){if(n==null)return"";try{switch(t.type){case"text":case"number":return String(n);case"date":return kn(String(n),{dateFormat:"MMM d, yyyy",timeFormat:"",showTime:!1});case"boolean":return n?"\u2713":"\u2717";case"list":return Array.isArray(n)?n.flat(2).join(", "):String(n);default:return String(n)}}catch(e){return console.warn("TaskCard: Error formatting user property value:",e),String(n)}}function Tle(n,t,e,r){let a=wy(t),i=on(t),s=r.settings.calendarViewSettings.timeFormat,o="";if(a){let l=kn(t,{dateFormat:"",showTime:!0,userTimeFormat:s});o=l.trim()===""?"Due: Today":`Due: Today at ${l}`}else i?o=`Due: ${kn(t,{dateFormat:"MMM d",showTime:!0,userTimeFormat:s})} (overdue)`:o=`Due: ${kn(t,{dateFormat:"MMM d",showTime:!0,userTimeFormat:s})}`;n.textContent=o,n.classList.add("task-card__metadata-date","task-card__metadata-date--due"),i&&n.classList.add("task-card__metadata-date--overdue"),n.dataset.tnAction="edit-date",n.dataset.tnDateType="due",S$(n,e,r,"due")}function kle(n,t,e,r){let a=wy(t),i=on(t),s=r.settings.calendarViewSettings.timeFormat,o="";if(a){let l=kn(t,{dateFormat:"",showTime:!0,userTimeFormat:s});o=l.trim()===""?"Scheduled: Today":`Scheduled: Today at ${l}`}else i?o=`Scheduled: ${kn(t,{dateFormat:"MMM d",showTime:!0,userTimeFormat:s})} (past)`:o=`Scheduled: ${kn(t,{dateFormat:"MMM d",showTime:!0,userTimeFormat:s})}`;n.textContent=o,n.classList.add("task-card__metadata-date","task-card__metadata-date--scheduled"),i&&n.classList.add("task-card__metadata-date--past"),n.dataset.tnAction="edit-date",n.dataset.tnDateType="scheduled",S$(n,e,r,"scheduled")}function C$(n,t){n.style.display=t.length>0?"":"none"}function Ct(n,t,e,r={}){var H,K,ae,ye,Z,Je,Rt,Ye,De;let a={...ex,...r},i=a.targetDate||(()=>{let V=new Date;return new Date(Date.UTC(V.getFullYear(),V.getMonth(),V.getDate()))})(),s=n.recurrence?co(n,i):n.status,o=a.layout||"default",l=document.createElement(o==="inline"?"span":"div");l._taskPath=n.path;let c=t.getActiveTimeSession(n)!==null,d=n.recurrence?((H=n.complete_instances)==null?void 0:H.includes(le(i)))||!1:t.statusManager.isCompletedStatus(s),u=n.recurrence&&((K=n.skipped_instances)==null?void 0:K.includes(le(i)))||!1,p=!!n.recurrence,m=["task-card"];o!=="default"&&m.push(`task-card--layout-${o}`),d&&m.push("task-card--completed"),u&&m.push("task-card--skipped"),n.archived&&m.push("task-card--archived"),c&&m.push("task-card--actively-tracked"),p&&m.push("task-card--recurring"),n.priority&&m.push(`task-card--priority-${n.priority}`),s&&m.push(`task-card--status-${s}`),((ae=t.settings)==null?void 0:ae.subtaskChevronPosition)==="left"&&m.push("task-card--chevron-left"),ms(n.projects||[]).length>0&&m.push("task-card--has-projects"),l.className=m.join(" "),l.dataset.taskPath=n.path,l.dataset.key=n.path,l.dataset.status=s;let f=l.createEl(o==="inline"?"span":"div",{cls:"task-card__main-row"}),g=t.priorityManager.getPriorityConfig(n.priority);g&&l.style.setProperty("--priority-color",g.color);let v=t.statusManager.getStatusConfig(s);v&&l.style.setProperty("--current-status-color",v.color);let T=t.statusManager.getNextStatus(s),k=t.statusManager.getStatusConfig(T);k&&l.style.setProperty("--next-status-color",k.color);let w=null;(!e||e.some(V=>Ds(V,"status",t)))&&(w=f.createEl("span",{cls:"task-card__status-dot"}),v&&(w.style.borderColor=v.color,v.icon&&(w.addClass("task-card__status-dot--icon"),(0,Le.setIcon)(w,v.icon)))),w&&(w.addEventListener("mousedown",V=>{V.preventDefault(),V.stopPropagation()}),w.addEventListener("click",ule(n,t,l,w,i)));let x=!e||e.some(V=>Ds(V,"priority",t));if(n.priority&&g&&x){let V=f.createEl("span",{cls:"task-card__priority-dot",attr:{"aria-label":`Priority: ${g.label}`}});V.style.borderColor=g.color,V.addEventListener("click",mle(n,t))}let I=f.createEl(o==="inline"?"span":"div",{cls:"task-card__content"}),A=o!=="inline"?f.createEl("div",{cls:"task-card__badges"}):null;if(A){if(n.recurrence){let he=`Recurring: ${Wp(n.recurrence)} (click to change)`;ac({container:A,className:"task-card__recurring-indicator",icon:"rotate-ccw",tooltip:he,onClick:b$(n,t)})}if(n.reminders&&n.reminders.length>0){let he=n.reminders.length,ge=he===1?"1 reminder set (click to manage)":`${he} reminders set (click to manage)`;ac({container:A,className:"task-card__reminder-indicator",icon:"bell",tooltip:ge,onClick:T$(n,t)})}if(t.projectSubtasksService.isTaskUsedAsProjectSync(n.path)&&(ac({container:A,className:"task-card__project-indicator",icon:"folder",tooltip:"This task is used as a project (click to filter subtasks)",onClick:k$(n,t)}),(ye=t.settings)!=null&&ye.showExpandableSubtasks)){let he=((Z=t.expandedProjectsService)==null?void 0:Z.isExpanded(n.path))||!1,ge=ac({container:A,className:`task-card__chevron${he?" task-card__chevron--expanded":""}`,icon:"chevron-right",tooltip:he?"Collapse subtasks":"Expand subtasks"});ge&&ge.addEventListener("click",it=>{it.stopPropagation(),w$(n,t,l,ge)()}),he&&sf(l,n,t,!0).catch(it=>{console.error("Error showing initial subtasks:",it)})}if(n.blocking&&n.blocking.length>0){let he=t.i18n.translate("ui.taskCard.blockingToggle",{count:n.blocking.length}),ge=ac({container:A,className:"task-card__blocking-toggle is-visible",icon:"git-branch",tooltip:he});ge&&ge.addEventListener("click",it=>{it.stopPropagation(),hle(n,t,l,ge)()})}}let B=f.createEl("div",{cls:"task-card__context-menu",attr:{"aria-label":"Task options"}});(0,Le.setIcon)(B,"ellipsis-vertical"),(0,Le.setTooltip)(B,"Task options",{placement:"top"}),B.addEventListener("click",async V=>{V.stopPropagation(),V.preventDefault(),await eu(V,n.path,t,i)});let z=I.createEl(o==="inline"?"span":"div",{cls:"task-card__title"}),U=z.createSpan({cls:"task-card__title-text",text:n.title});d&&(z.classList.add("completed"),U.classList.add("completed"));let N=I.createEl(o==="inline"?"span":"div",{cls:"task-card__metadata"}),P=[],_=e||(t.settings.defaultVisibleProperties?pn(t.settings.defaultVisibleProperties,t):D$(t));for(let V of _){if(Ds(V,"status",t)||Ds(V,"priority",t))continue;if(V==="blocked"){if(n.isBlocked){let he=t.i18n.translate("ui.taskCard.blockedBadge"),ge=(Rt=(Je=n.blockedBy)==null?void 0:Je.length)!=null?Rt:0,it=ge>0?`${he} (${ge})`:he,Mt=N.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--blocked",text:it});(0,Le.setTooltip)(Mt,t.i18n.translate("ui.taskCard.blockedBadgeTooltip"),{placement:"top"}),P.push(Mt)}continue}if(V==="blocking"){if(n.isBlocking){let he=t.i18n.translate("ui.taskCard.blockingBadge"),ge=(De=(Ye=n.blocking)==null?void 0:Ye.length)!=null?De:0,it=ge>0?`${he} (${ge})`:he,Mt=N.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--blocking",text:it});(0,Le.setTooltip)(Mt,t.i18n.translate("ui.taskCard.blockingBadgeTooltip"),{placement:"top"}),P.push(Mt)}continue}let J=x$(N,V,n,t);J&&P.push(J)}C$(N,P);let{clickHandler:Y,dblclickHandler:Q,contextmenuHandler:W}=l$({task:n,plugin:t,contextMenuHandler:async V=>{let J=l.dataset.taskPath;J&&await eu(V,J,t,i)}});return l.addEventListener("click",Y),l.addEventListener("dblclick",Q),l.addEventListener("contextmenu",W),l.addEventListener("mouseover",c$(n,t)),l}async function eu(n,t,e,r){let a=e.app.vault.getAbstractFileByPath(t),i=()=>{a instanceof Le.TFile&&wle(n,a,e)};try{let s=await e.cacheManager.getTaskInfo(t);if(!s){i();return}new Jd({task:s,plugin:e,targetDate:r,onUpdate:()=>{e.app.workspace.trigger("tasknotes:refresh-views")}}).show(n)}catch(s){let o=s instanceof Error?s.message:String(s);console.error("Error creating context menu:",{error:o,taskPath:t}),new Le.Notice(`Failed to create context menu: ${o}`),i()}}function wle(n,t,e){var i;let r=new Le.Menu,a=!1;try{e.app.workspace.trigger("file-menu",r,t,"tasknotes-bases-view"),a=((i=r.items)==null?void 0:i.length)>0}catch(s){a=!1}a||(r.addItem(s=>{s.setTitle("Open"),s.setIcon("file-text"),s.onClick(()=>{e.app.workspace.getLeaf(!1).openFile(t)})}),r.addItem(s=>{s.setTitle("Open in new tab"),s.setIcon("external-link"),s.onClick(()=>{e.app.workspace.openLinkText(t.path,"",!0)})})),r.showAtMouseEvent(n)}function Sle(n,t,e,r,a={}){var H,K,ae,ye,Z,Je,Rt,Ye;let s={...ex,...a}.targetDate||(()=>{let De=new Date;return new Date(Date.UTC(De.getFullYear(),De.getMonth(),De.getDate()))})(),o=t.recurrence?co(t,s):t.status,l=e.getActiveTimeSession(t)!==null,c=t.recurrence?((H=t.complete_instances)==null?void 0:H.includes(le(s)))||!1:e.statusManager.isCompletedStatus(o),d=t.recurrence&&((K=t.skipped_instances)==null?void 0:K.includes(le(s)))||!1,u=!!t.recurrence,p=["task-card"];c&&p.push("task-card--completed"),d&&p.push("task-card--skipped"),t.archived&&p.push("task-card--archived"),l&&p.push("task-card--actively-tracked"),u&&p.push("task-card--recurring"),t.priority&&p.push(`task-card--priority-${t.priority}`),o&&p.push(`task-card--status-${o}`),((ae=e.settings)==null?void 0:ae.subtaskChevronPosition)==="left"&&p.push("task-card--chevron-left"),n.className=p.join(" "),n.dataset.status=o;let m=n.querySelector(".task-card__main-row"),h=e.priorityManager.getPriorityConfig(t.priority);h&&n.style.setProperty("--priority-color",h.color);let f=e.statusManager.getStatusConfig(o);f&&n.style.setProperty("--current-status-color",f.color);let g=e.statusManager.getNextStatus(o),v=e.statusManager.getStatusConfig(g);v&&n.style.setProperty("--next-status-color",v.color);let T=n.querySelector(".task-card__checkbox");T&&(T.checked=e.statusManager.isCompletedStatus(o));let k=!r||r.some(De=>Ds(De,"status",e)),w=n.querySelector(".task-card__status-dot");if(k){if(w)f&&(w.style.borderColor=f.color);else if(m){let De=m.createEl("span",{cls:"task-card__status-dot"});f&&(De.style.borderColor=f.color),De.addEventListener("click",async J=>{J.stopPropagation();try{if(t.recurrence){let he=await e.toggleRecurringTaskComplete(t,s),ge=co(he,s),it=e.statusManager.getStatusConfig(ge),Mt=e.statusManager.isCompletedStatus(ge);it&&(De.style.borderColor=it.color);let Dt=["task-card"];Mt&&Dt.push("task-card--completed"),t.archived&&Dt.push("task-card--archived"),e.getActiveTimeSession(t)&&Dt.push("task-card--actively-tracked"),t.recurrence&&Dt.push("task-card--recurring"),t.priority&&Dt.push(`task-card--priority-${t.priority}`),ge&&Dt.push(`task-card--status-${ge}`),n.className=Dt.join(" "),n.dataset.status=ge;let za=n.querySelector(".task-card__title-text"),ui=n.querySelector(".task-card__title");za&&za.classList.toggle("completed",Mt),ui&&ui.classList.toggle("completed",Mt)}else{let he=await e.cacheManager.getTaskInfo(t.path);if(!he){new Le.Notice("Task not found");return}let ge=he.status||"open",it=e.statusManager.getNextStatus(ge);await e.updateTaskProperty(he,"status",it)}}catch(he){let ge=he instanceof Error?he.message:String(he);console.error("Error cycling task status:",{error:ge,taskPath:t.path}),new Le.Notice(`Failed to update task status: ${ge}`)}});let V=n.querySelector(".task-card__checkbox");V?V.insertAdjacentElement("afterend",De):m.insertBefore(De,m.firstChild)}}else w&&w.remove();let S=!r||r.some(De=>Ds(De,"priority",e)),x=n.querySelector(".task-card__priority-dot");if(S&&t.priority&&h){if(!x&&m){let De=m.createEl("span",{cls:"task-card__priority-dot",attr:{"aria-label":`Priority: ${h.label}`}});De.style.borderColor=h.color,De.addEventListener("click",he=>{he.stopPropagation(),new ri({currentValue:t.priority,onSelect:async it=>{try{await e.updateTaskProperty(t,"priority",it)}catch(Mt){console.error("Error updating priority:",Mt),new Le.Notice("Failed to update priority")}},plugin:e}).show(he)});let V=n.querySelector(".task-card__status-dot"),J=n.querySelector(".task-card__checkbox");V?V.insertAdjacentElement("afterend",De):J?J.insertAdjacentElement("afterend",De):m.insertBefore(De,m.firstChild)}else if(x){x.style.borderColor=h.color,x.setAttribute("aria-label",`Priority: ${h.label}`);let De=x.cloneNode(!0);De.addEventListener("click",V=>{V.stopPropagation(),new ri({currentValue:t.priority,onSelect:async he=>{try{await e.updateTaskProperty(t,"priority",he)}catch(ge){console.error("Error updating priority:",ge),new Le.Notice("Failed to update priority")}},plugin:e}).show(V)}),x.replaceWith(De)}}else x&&x.remove();let I=n.querySelector(".task-card__badges"),A=t.recurrence?`Recurring: ${Wp(t.recurrence)} (click to change)`:"";JE(n,".task-card__recurring-indicator",{shouldExist:!!t.recurrence,className:"task-card__recurring-indicator",icon:"rotate-ccw",tooltip:A,onClick:b$(t,e)});let B=!!(t.reminders&&t.reminders.length>0),z=((ye=t.reminders)==null?void 0:ye.length)||0,U=z===1?"1 reminder set (click to manage)":`${z} reminders set (click to manage)`;JE(n,".task-card__reminder-indicator",{shouldExist:B,className:"task-card__reminder-indicator",icon:"bell",tooltip:U,onClick:T$(t,e)}),e.projectSubtasksService.isTaskUsedAsProject(t.path).then(De=>{var he,ge,it,Mt;(he=n.querySelector(".task-card__project-indicator-placeholder"))==null||he.remove(),(ge=n.querySelector(".task-card__chevron-placeholder"))==null||ge.remove(),JE(n,".task-card__project-indicator",{shouldExist:De,className:"task-card__project-indicator",icon:"folder",tooltip:"This task is used as a project (click to filter subtasks)",onClick:k$(t,e)});let V=De&&((it=e.settings)==null?void 0:it.showExpandableSubtasks),J=n.querySelector(".task-card__chevron");if(V&&!J){let Dt=((Mt=e.expandedProjectsService)==null?void 0:Mt.isExpanded(t.path))||!1,za=ac({container:I||m,className:`task-card__chevron${Dt?" task-card__chevron--expanded":""}`,icon:"chevron-right",tooltip:Dt?"Collapse subtasks":"Expand subtasks"});za&&za.addEventListener("click",ui=>{ui.stopPropagation(),w$(t,e,n,za)()}),Dt&&sf(n,t,e,!0).catch(ui=>{console.error("Error showing initial subtasks in update:",ui)})}else if(!V&&J){J.remove();let Dt=n.querySelector(".task-card__subtasks");if(Dt){let za=Dt._clickHandler;za&&(Dt.removeEventListener("click",za),delete Dt._clickHandler),Dt.remove()}}}).catch(De=>{console.error("Error checking if task is used as project in update:",De)});let N=n.querySelector(".task-card__blocking-toggle");if(N)if(t.blocking&&t.blocking.length>0){N.classList.add("is-visible"),N.classList.remove("is-hidden");let De=e.i18n.translate("ui.taskCard.blockingToggle",{count:t.blocking.length});N.setAttribute("aria-label",De),(0,Le.setTooltip)(N,De,{placement:"top"}),N.dataset.count=String(t.blocking.length),N.classList.contains("task-card__blocking-toggle--expanded")&&tx(n,t,e,!0).catch(V=>{console.error("Error refreshing blocking tasks:",V)})}else{N.classList.remove("is-visible","task-card__blocking-toggle--expanded"),N.classList.add("is-hidden");let De=n.querySelector(".task-card__blocking");De&&De.remove()}let P=n.querySelector(".task-card__title-text"),_=n.querySelector(".task-card__title"),Y=c;P&&(P.textContent=t.title,P.classList.toggle("completed",Y)),_&&_.classList.toggle("completed",Y);let Q=n.querySelector(".task-card__badge--blocked");Q&&Q.remove();let W=n.querySelector(".task-card__metadata");if(W){W.innerHTML="";let De=[],V=r||(e.settings.defaultVisibleProperties?pn(e.settings.defaultVisibleProperties,e):D$(e));for(let J of V){if(Ds(J,"status",e)||Ds(J,"priority",e))continue;if(J==="blocked"){if(t.isBlocked){let ge=e.i18n.translate("ui.taskCard.blockedBadge"),it=(Je=(Z=t.blockedBy)==null?void 0:Z.length)!=null?Je:0,Mt=it>0?`${ge} (${it})`:ge,Dt=W.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--blocked",text:Mt});(0,Le.setTooltip)(Dt,e.i18n.translate("ui.taskCard.blockedBadgeTooltip"),{placement:"top"}),De.push(Dt)}continue}if(J==="blocking"){if(t.isBlocking){let ge=e.i18n.translate("ui.taskCard.blockingBadge"),it=(Ye=(Rt=t.blocking)==null?void 0:Rt.length)!=null?Ye:0,Mt=it>0?`${ge} (${it})`:ge,Dt=W.createSpan({cls:"task-card__metadata-pill task-card__metadata-pill--blocking",text:Mt});(0,Le.setTooltip)(Dt,e.i18n.translate("ui.taskCard.blockingBadgeTooltip"),{placement:"top"}),De.push(Dt)}continue}let he=x$(W,J,t,e);he&&De.push(he)}C$(W,De)}}async function Dle(n,t){return new Promise((e,r)=>{new XE(t.app,n,async()=>{try{await t.taskService.deleteTask(n),e()}catch(i){r(i)}}).open()})}function Ele(n){let t=n.querySelector(".task-card__subtasks");if(t){let e=t._clickHandler;e&&(t.removeEventListener("click",e),delete t._clickHandler)}}async function sf(n,t,e,r){try{let a=n.querySelector(".task-card__subtasks");if(r){if(!a){a=document.createElement("div"),a.className="task-card__subtasks";let s=o=>{o.stopPropagation()};a.addEventListener("click",s),a._clickHandler=s,n.appendChild(a)}for(;a.firstChild;)a.removeChild(a.firstChild);let i=a.createEl("div",{cls:"task-card__subtasks-loading",text:e.i18n.translate("contextMenus.task.subtasks.loading")});try{let s=e.app.vault.getAbstractFileByPath(t.path);if(!(s instanceof Le.TFile))throw new Error("Task file not found");if(!e.projectSubtasksService)throw new Error("projectSubtasksService not initialized");let o=await e.projectSubtasksService.getTasksLinkedToProject(s);if(i.remove(),o.length===0){a.createEl("div",{cls:"task-card__subtasks-loading",text:e.i18n.translate("contextMenus.task.subtasks.noSubtasks")});return}let l=e.projectSubtasksService.sortTasks(o),d=(u=>{var h;let p=[],m=u.closest(".task-card");for(;m;){let f=m._taskPath;f&&p.unshift(f),m=(h=m.parentElement)==null?void 0:h.closest(".task-card")}return p})(n);for(let u of l){if(d.includes(u.path)){console.warn("Circular reference detected in task chain:",{subtask:u.path,parentChain:d,cycle:[...d,u.path]});continue}let p=Ct(u,e,void 0);p.classList.add("task-card--subtask"),a.appendChild(p)}}catch(s){console.error("Error loading subtasks:",s),i.textContent=e.i18n.translate("contextMenus.task.subtasks.loadFailed")}}else if(a){let i=a._clickHandler;i&&(a.removeEventListener("click",i),delete a._clickHandler),a.remove()}}catch(a){throw console.error("Error in toggleSubtasks:",a),a}}async function tx(n,t,e,r){let a=n.querySelector(".task-card__blocking");if(!r){a&&a.remove();return}a||(a=n.createDiv({cls:"task-card__blocking"}),a.addEventListener("click",s=>s.stopPropagation()),a.addEventListener("dblclick",s=>s.stopPropagation()),a.addEventListener("contextmenu",s=>s.stopPropagation())),a.empty();let i=a.createDiv({cls:"task-card__blocking-loading",text:e.i18n.translate("ui.taskCard.loadingDependencies")});try{let o=(t.blocking?await Promise.all(t.blocking.map(l=>e.cacheManager.getTaskInfo(l))):[]).filter(l=>!!l);if(i.remove(),o.length===0){a.createDiv({cls:"task-card__blocking-empty",text:e.i18n.translate("ui.taskCard.blockingEmpty")});return}o.forEach(l=>{let c=Ct(l,e,void 0);c.classList.add("task-card--dependency"),a.appendChild(c)})}catch(s){console.error("Error loading blocking tasks:",s),i.textContent=e.i18n.translate("ui.taskCard.blockingLoadError")}}async function xle(n,t,e){if(!n||!n.projects||n.projects.length===0)return;let r=0,a=10;for(;r<a;){try{let s=await t.cacheManager.getTaskInfo(n.path);if(s&&s.dateModified===n.dateModified)break}catch(s){}await new Promise(s=>setTimeout(s,10)),r++}let i=e.querySelectorAll(".task-card__chevron--expanded");for(let s of i){let o=s.closest(".task-card");if(!o)continue;let l=o.dataset.taskPath;if(!l)continue;let c=t.app.vault.getAbstractFileByPath(l);if(!(c instanceof Le.TFile))continue;let d=c.basename;if(n.projects.flat(2).some(p=>{if(p&&typeof p=="string"&&p.startsWith("[[")&&p.endsWith("]]")){let m=p.slice(2,-2).trim(),h=(0,Le.parseLinktext)(m).path,f=t.app.metadataCache.getFirstLinkpathDest(h,"");return h===d||f&&f.path===l}return p===d||p===l})&&o.querySelector(".task-card__subtasks"))try{let m=await t.cacheManager.getTaskInfo(l);m&&await sf(o,m,t,!0)}catch(m){console.error("Error refreshing parent task subtasks:",m)}}}var Le,ex,Kv,g$,XE,Or=b(()=>{Le=require("obsidian");GE();Dr();gl();Ke();rc();nf();Zd();ZE();Kd();Gv();f$();ko();to();ex={layout:"default"};Kv={due:n=>n.due,scheduled:n=>n.scheduled,projects:n=>n.projects,contexts:n=>n.contexts,tags:n=>n.tags,blocked:n=>n.isBlocked,blocking:n=>n.isBlocking,blockedBy:n=>n.blockedBy,blockingTasks:n=>n.blocking,timeEstimate:n=>n.timeEstimate,timeEntries:n=>n.timeEntries,totalTrackedTime:n=>n.totalTrackedTime,recurrence:n=>n.recurrence,completedDate:n=>n.completedDate,reminders:n=>n.reminders,icsEventId:n=>n.icsEventId,completeInstances:n=>n.complete_instances,skippedInstances:n=>n.skipped_instances,dateCreated:n=>n.dateCreated,dateModified:n=>n.dateModified};g$={due:(n,t,e,r)=>{typeof t=="string"&&Tle(n,t,e,r)},scheduled:(n,t,e,r)=>{typeof t=="string"&&kle(n,t,e,r)},projects:(n,t,e,r)=>{if(Array.isArray(t)){let a={metadataCache:r.app.metadataCache,workspace:r.app.workspace};Yv(n,t,a)}},contexts:(n,t,e,r)=>{Array.isArray(t)&&h$(n,t,{onTagClick:async(i,s)=>{let o=i.startsWith("@")?i.slice(1):i;await r.openTagsPane(`#${o}`)||console.log("Could not open search pane, context clicked:",i)}})},tags:(n,t,e,r)=>{if(Array.isArray(t)){let a=t;r.settings.taskIdentificationMethod==="tag"&&r.settings.hideIdentifyingTagsInCards&&(a=t.filter(i=>!kt.matchesHierarchicalTagExact(i,r.settings.taskTag))),a.length>0&&m$(n,a,{onTagClick:async(s,o)=>{let l=s.startsWith("#")?s.slice(1):s;await r.openTagsPane(`#${l}`)||console.log("Could not open search pane, tag clicked:",s)}})}},timeEstimate:(n,t,e,r)=>{typeof t=="number"&&(n.textContent=`${r.formatTime(t)} estimated`)},totalTrackedTime:(n,t,e,r)=>{typeof t=="number"&&t>0&&(n.textContent=`${r.formatTime(t)} tracked`)},recurrence:(n,t)=>{typeof t=="string"&&(n.textContent=`Recurring: ${Wp(t)}`)},completeInstances:(n,t,e)=>{var r;if(Array.isArray(t)&&t.length>0){let a=t.length,i=((r=e.skipped_instances)==null?void 0:r.length)||0,s=a+i;if(s>0){let o=Math.round(a/s*100);n.textContent=`\u2713 ${a} completed (${o}%)`,n.classList.add("task-card__metadata-pill--completed-instances")}else n.textContent=`\u2713 ${a} completed`,n.classList.add("task-card__metadata-pill--completed-instances")}},skippedInstances:(n,t,e)=>{if(Array.isArray(t)&&t.length>0){let r=t.length;n.textContent=`\u2298 ${r} skipped`,n.classList.add("task-card__metadata-pill--skipped-instances")}},completedDate:(n,t,e,r)=>{typeof t=="string"&&(n.textContent=`Completed: ${kn(t,{dateFormat:"MMM d",showTime:!1,userTimeFormat:r.settings.calendarViewSettings.timeFormat})}`)},dateCreated:(n,t,e,r)=>{typeof t=="string"&&(n.textContent=`Created: ${kn(t,{dateFormat:"MMM d",showTime:!1,userTimeFormat:r.settings.calendarViewSettings.timeFormat})}`)},dateModified:(n,t,e,r)=>{typeof t=="string"&&(n.textContent=`Modified: ${kn(t,{dateFormat:"MMM d",showTime:!1,userTimeFormat:r.settings.calendarViewSettings.timeFormat})}`)},blocked:(n,t,e)=>{var r,a;if(t===!0){let i=(a=(r=e.blockedBy)==null?void 0:r.length)!=null?a:0;n.textContent=i>0?`Blocked (${i})`:"Blocked",n.classList.add("task-card__metadata-pill--blocked")}},blocking:(n,t,e)=>{var r,a;if(t===!0){let i=(a=(r=e.blocking)==null?void 0:r.length)!=null?a:0;n.textContent=i>0?`Blocking (${i})`:"Blocking",n.classList.add("task-card__metadata-pill--blocking")}},blockedBy:(n,t,e,r)=>{if(Array.isArray(t)&&t.length>0){n.createEl("span",{text:"Blocked by: "});let a=n.createEl("span");t.forEach((i,s)=>{var l;s>0&&a.appendChild(document.createTextNode(", "));let o=typeof i=="string"?i:i.path;if(o){let c=a.createEl("a",{cls:"internal-link",attr:{href:o}});c.textContent=((l=o.split("/").pop())==null?void 0:l.replace(".md",""))||o,c.addEventListener("click",d=>{d.preventDefault(),d.stopPropagation(),r.app.workspace.openLinkText(o,"",!1)})}})}},blockingTasks:(n,t,e,r)=>{if(Array.isArray(t)&&t.length>0){n.createEl("span",{text:"Blocking: "});let a=n.createEl("span");t.forEach((i,s)=>{var l;s>0&&a.appendChild(document.createTextNode(", "));let o=a.createEl("a",{cls:"internal-link",attr:{href:i}});o.textContent=((l=i.split("/").pop())==null?void 0:l.replace(".md",""))||i,o.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),r.app.workspace.openLinkText(i,"",!1)})})}},timeEntries:(n,t,e,r)=>{if(Array.isArray(t)&&t.length>0){let a=$r(t);a>0&&(n.textContent=`${r.formatTime(a)} tracked (${t.length} ${t.length===1?"entry":"entries"})`)}},reminders:(n,t)=>{Array.isArray(t)&&t.length>0&&(n.textContent=`${t.length} ${t.length===1?"reminder":"reminders"}`)},icsEventId:(n,t)=>{Array.isArray(t)&&t.length>0&&(n.textContent=`Linked to ${t.length} calendar ${t.length===1?"event":"events"}`)}};XE=class extends Le.Modal{constructor(t,e,r){super(t),this.task=e,this.onConfirm=r}onOpen(){let{contentEl:t}=this;t.empty(),t.createEl("h2",{text:"Delete Task"});let e=t.createEl("p");e.appendText('Are you sure you want to delete the task "'),e.createEl("strong",{text:this.task.title}),e.appendText('"?'),t.createEl("p",{cls:"mod-warning",text:"This action cannot be undone. The task file will be permanently deleted."});let r=t.createEl("div",{cls:"modal-button-container"});r.style.display="flex",r.style.gap="10px",r.style.justifyContent="flex-end",r.style.marginTop="20px";let a=r.createEl("button",{text:"Cancel"});a.addEventListener("click",()=>{this.close()});let i=r.createEl("button",{text:"Delete",cls:"mod-warning"});i.style.backgroundColor="var(--color-red)",i.style.color="white",i.addEventListener("click",async()=>{try{await this.onConfirm(),this.close(),new Le.Notice("Task deleted successfully")}catch(s){let o=s instanceof Error?s.message:String(s);new Le.Notice(`Failed to delete task: ${o}`),console.error("Error in delete confirmation:",s)}}),a.focus()}onClose(){let{contentEl:t}=this;t.empty()}}});var P$={};Be(P$,{TaskSelectorWithCreateModal:()=>of,openTaskSelector:()=>Fr,openTaskSelectorWithCreate:()=>Cle});async function Cle(n,t){let e=await n.cacheManager.getAllTasks();return new Promise(r=>{new of(n.app,n,e,{onResult:r,...t}).open()})}function Fr(n,t,e,r){new of(n.app,n,t,{placeholder:r==null?void 0:r.placeholder,title:r==null?void 0:r.title,onResult:i=>{i.type==="selected"||i.type==="created"?e(i.task):e(null)}}).open()}var Di,of,To=b(()=>{Di=require("obsidian");Ke();Dr();Gd();Or();of=class extends Di.SuggestModal{constructor(e,r,a,i){super(e);this.createFooterEl=null;this.currentQuery="";this.resultHandled=!1;this.handleInputChange=()=>{let e=this.inputEl.value.trim();this.currentQuery=e,this.updateCreateFooter(e)};this.plugin=r,this.tasks=a,this.options=i,this.translate=r.i18n.translate.bind(r.i18n),this.nlParser=na.fromPlugin(r),this.setPlaceholder(i.placeholder||this.translate("modals.taskSelectorWithCreate.placeholder")),this.setInstructions([{command:"\u2191\u2193",purpose:this.translate("modals.taskSelector.instructions.navigate")},{command:"\u21B5",purpose:this.translate("modals.taskSelector.instructions.select")},{command:"\u21E7\u21B5",purpose:this.translate("modals.taskSelectorWithCreate.instructions.create")},{command:"esc",purpose:this.translate("modals.taskSelector.instructions.dismiss")}]),this.titleEl.setText(i.title||this.translate("modals.taskSelectorWithCreate.title")),this.titleEl.setAttribute("id","task-selector-with-create-title"),this.containerEl.setAttribute("aria-labelledby","task-selector-with-create-title"),this.containerEl.setAttribute("role","dialog"),this.containerEl.setAttribute("aria-modal","true"),this.containerEl.addClass("task-selector-with-create-modal"),this.containerEl.addClass("tasknotes-plugin")}onOpen(){super.onOpen(),this.scope.register(["Shift"],"Enter",e=>(e.preventDefault(),e.stopPropagation(),this.createNewTask(),!1)),this.inputEl.addEventListener("input",this.handleInputChange),setTimeout(()=>this.createFooter(),0)}createFooter(){var r;let e=((r=this.modalEl.querySelector(".prompt"))==null?void 0:r.parentElement)||this.modalEl;this.createFooterEl=createDiv({cls:"task-selector-create-footer"}),this.createFooterEl.style.display="none",e.appendChild(this.createFooterEl)}updateCreateFooter(e){if(!this.createFooterEl)return;if(!e){this.createFooterEl.style.display="none",this.createFooterEl.empty();return}let r=this.nlParser.parseInput(e);if(r.title&&r.title!=="Untitled Task"){this.createFooterEl.empty(),this.createFooterEl.style.display="flex";let a=this.createFooterEl.createDiv({cls:"task-selector-create-footer__icon"});(0,Di.setIcon)(a,"plus-circle");let i=this.createFooterEl.createDiv({cls:"task-selector-create-footer__content"});i.createDiv({cls:"task-selector-create-footer__title-line"}).createSpan({cls:"task-selector-create-footer__title",text:r.title});let o=this.buildMetadataParts(r);if(o.length>0){let c=i.createDiv({cls:"task-selector-create-footer__meta"});o.forEach(d=>{let u=c.createSpan({cls:`task-selector-create-footer__chip task-selector-create-footer__chip--${d.type}`}),p=u.createSpan({cls:"task-selector-create-footer__chip-icon"});(0,Di.setIcon)(p,d.icon),u.createSpan({cls:"task-selector-create-footer__chip-text",text:d.text})})}let l=i.createDiv({cls:"task-selector-create-footer__hint"});l.createSpan({cls:"task-selector-create-footer__shortcut",text:"\u21E7\u21B5"}),l.createSpan({cls:"task-selector-create-footer__hint-text",text:this.translate("modals.taskSelectorWithCreate.footer.createLabel")})}else this.createFooterEl.style.display="none",this.createFooterEl.empty()}buildMetadataParts(e){let r=[];if(e.dueDate){let a=e.dueTime?`${e.dueDate} ${e.dueTime}`:e.dueDate;r.push({icon:"calendar",text:a,type:"due"})}if(e.scheduledDate){let a=e.scheduledTime?`${e.scheduledDate} ${e.scheduledTime}`:e.scheduledDate;r.push({icon:"calendar-clock",text:a,type:"scheduled"})}if(e.priority&&e.priority!=="normal"&&r.push({icon:"flag",text:e.priority,type:"priority"}),e.status){let a=this.plugin.statusManager.getStatusConfig(e.status);r.push({icon:"circle-dot",text:(a==null?void 0:a.label)||e.status,type:"status"})}if(e.contexts&&e.contexts.length>0&&e.contexts.forEach(a=>{r.push({icon:"at-sign",text:a,type:"context"})}),e.projects&&e.projects.length>0&&e.projects.forEach(a=>{r.push({icon:"folder",text:a.replace(/^\[\[|\]\]$/g,""),type:"project"})}),e.tags&&e.tags.length>0&&e.tags.forEach(a=>{r.push({icon:"hash",text:a,type:"tag"})}),e.recurrence&&r.push({icon:"repeat",text:e.recurrence,type:"recurrence"}),e.estimate&&e.estimate>0){let a=Math.floor(e.estimate/60),i=e.estimate%60,s=a>0?`${a}h ${i}m`:`${i}m`;r.push({icon:"timer",text:s,type:"estimate"})}if(e.details){let a=e.details.length>30?e.details.substring(0,30)+"...":e.details;r.push({icon:"file-text",text:a,type:"details"})}if(e.userFields){let a=this.plugin.settings.userFields||[];for(let[i,s]of Object.entries(e.userFields)){let o=a.find(d=>d.id===i),l=(o==null?void 0:o.displayName)||i,c=Array.isArray(s)?s.join(", "):s;r.push({icon:"sliders-horizontal",text:`${l}: ${c}`,type:"userfield"})}}return r}async createNewTask(){let e=this.inputEl.value.trim();if(!e){new Di.Notice(this.translate("modals.taskSelectorWithCreate.notices.emptyQuery"));return}try{let r=this.nlParser.parseInput(e);if(!r.title||r.title==="Untitled Task"){new Di.Notice(this.translate("modals.taskSelectorWithCreate.notices.invalidTitle"));return}let a=this.buildTaskDataFromParsed(r),i=await this.plugin.taskService.createTask(a);new Di.Notice(this.translate("modals.taskCreation.notices.success",{title:i.taskInfo.title})),this.resultHandled=!0,this.close(),this.options.onResult({type:"created",task:i.taskInfo})}catch(r){console.error("Failed to create task:",r);let a=r instanceof Error?r.message:String(r);new Di.Notice(this.translate("modals.taskCreation.notices.failure",{message:a}))}}buildTaskDataFromParsed(e){let r=Oe(),a={title:e.title.trim(),status:e.status||this.plugin.settings.defaultTaskStatus,priority:e.priority||this.plugin.settings.defaultTaskPriority,dateCreated:r,dateModified:r};if(e.dueDate&&(a.due=e.dueTime?hr(e.dueDate,e.dueTime):e.dueDate),e.scheduledDate&&(a.scheduled=e.scheduledTime?hr(e.scheduledDate,e.scheduledTime):e.scheduledDate),e.contexts&&e.contexts.length>0&&(a.contexts=e.contexts),e.projects&&e.projects.length>0&&(a.projects=e.projects),e.tags&&e.tags.length>0&&(a.tags=e.tags.map(i=>Qa(i))),e.details&&(a.details=e.details),e.recurrence&&(a.recurrence=e.recurrence),e.estimate&&e.estimate>0&&(a.timeEstimate=e.estimate),e.userFields){let i=this.plugin.settings.userFields||[],s={};for(let[o,l]of Object.entries(e.userFields)){let c=i.find(d=>d.id===o);c&&(s[c.key]=Array.isArray(l)?l.join(", "):l)}Object.keys(s).length>0&&(a.customFrontmatter=s)}return a}getSuggestions(e){return this.currentQuery=e,this.getFilteredTasks(e)}getFilteredTasks(e){let r=e.toLowerCase();return this.tasks.filter(a=>!a.archived).filter(a=>{var s;return!!(!e||a.title&&a.title.toLowerCase().includes(r)||a.due&&a.due.toLowerCase().includes(r)||a.priority&&a.priority!=="normal"&&a.priority.toLowerCase().includes(r)||(s=a.contexts)!=null&&s.some(o=>o&&o.toLowerCase().includes(r))||ms(a.projects||[]).some(o=>o&&o.toLowerCase().includes(r)))}).sort((a,i)=>{var u,p;let s=this.plugin.statusManager.isCompletedStatus(a.status),o=this.plugin.statusManager.isCompletedStatus(i.status);if(s!==o)return s?1:-1;if(a.due&&!i.due)return-1;if(!a.due&&i.due)return 1;if(a.due&&i.due){let m=a.due.localeCompare(i.due);if(m!==0)return m}let l={high:0,normal:1,low:2},c=(u=l[a.priority])!=null?u:1,d=(p=l[i.priority])!=null?p:1;return c!==d?c-d:a.title.localeCompare(i.title)})}renderSuggestion(e,r){let a=Ct(e,this.plugin,void 0,{layout:"default"});a.classList.add("task-selector-modal__suggestion");let i=a.cloneNode(!0);r.appendChild(i)}onChooseSuggestion(e,r){this.resultHandled=!0,this.options.onResult({type:"selected",task:e})}onClose(){this.inputEl.removeEventListener("input",this.handleInputChange),this.createFooterEl&&(this.createFooterEl.remove(),this.createFooterEl=null),setTimeout(()=>{this.resultHandled||this.options.onResult({type:"cancelled"})},0),super.onClose()}}});var Xv,A$=b(()=>{ws();Xv=class{constructor(t){this.menu=new Mr,this.options=t,this.buildMenu()}buildMenu(){this.getStatusOptions().forEach((e,r)=>{this.menu.addItem(a=>{let i=e.label;a.setIcon(e.icon||"circle"),e.value===this.options.currentValue&&(i=`\u2713 ${e.label}`),a.setTitle(i),a.onClick(async()=>{this.options.onSelect(e.value)})})})}getStatusOptions(){let t=this.options.plugin.settings.customStatuses,e=[];return t&&t.length>0&&[...t].sort((a,i)=>a.order-i.order).forEach(a=>{e.push({label:a.label,value:a.value,color:a.color,icon:a.icon})}),e}capitalizeFirst(t){return t.charAt(0).toUpperCase()+t.slice(1)}show(t){this.menu.show(t),setTimeout(()=>{this.applyColorStyling()},10)}showAtElement(t){this.menu.showAtPosition({x:t.getBoundingClientRect().left,y:t.getBoundingClientRect().bottom+4}),setTimeout(()=>{this.applyColorStyling()},10)}applyColorStyling(){let t=this.getStatusOptions(),e=document.querySelector(".menu");if(!e)return;let r=e.querySelectorAll(".menu-item");t.forEach((a,i)=>{let s=r[i];if(s&&a.color){let o=s.querySelector(".menu-item-icon");o&&(o.style.color=a.color)}})}}});var tu,rx=b(()=>{Kd();ws();tu=class{constructor(t,e,r,a){this.plugin=t,this.task=e,this.triggerElement=r,this.onUpdate=a}show(t){let e=new Mr;this.addQuickRemindersSection(e,"due",this.plugin.i18n.translate("components.reminderContextMenu.remindBeforeDue")),this.addQuickRemindersSection(e,"scheduled",this.plugin.i18n.translate("components.reminderContextMenu.remindBeforeScheduled")),e.addSeparator(),e.addItem(r=>{r.setTitle(this.plugin.i18n.translate("components.reminderContextMenu.manageAllReminders")).setIcon("settings").onClick(()=>{this.openReminderModal()})}),this.task.reminders&&this.task.reminders.length>0&&e.addItem(r=>{r.setTitle(this.plugin.i18n.translate("components.reminderContextMenu.clearAllReminders")).setIcon("trash").onClick(async()=>{await this.clearAllReminders()})}),e.show(t)}addQuickRemindersSection(t,e,r){if(!(e==="due"?this.task.due:this.task.scheduled)){t.addItem(i=>{i.setTitle(r).setIcon("bell").setDisabled(!0)});return}t.addItem(i=>{i.setTitle(r),i.setIcon("bell"),this.addQuickReminderSubmenu(i.setSubmenu(),e)})}addQuickReminderSubmenu(t,e){[{label:this.plugin.i18n.translate("components.reminderContextMenu.quickReminders.atTime"),offset:"PT0M"},{label:this.plugin.i18n.translate("components.reminderContextMenu.quickReminders.fiveMinutesBefore"),offset:"-PT5M"},{label:this.plugin.i18n.translate("components.reminderContextMenu.quickReminders.fifteenMinutesBefore"),offset:"-PT15M"},{label:this.plugin.i18n.translate("components.reminderContextMenu.quickReminders.oneHourBefore"),offset:"-PT1H"},{label:this.plugin.i18n.translate("components.reminderContextMenu.quickReminders.oneDayBefore"),offset:"-P1D"}].forEach(a=>{t.addItem(i=>{i.setTitle(a.label).onClick(async()=>{await this.addQuickReminder(e,a.offset,a.label)})})})}async addQuickReminder(t,e,r){let a={id:`rem_${Date.now()}`,type:"relative",relatedTo:t,offset:e,description:r},i=[...this.task.reminders||[],a];await this.saveReminders(i)}async clearAllReminders(){await this.saveReminders([])}async saveReminders(t){let e;if(this.task.path&&this.task.path.trim()!==""){let r=await this.plugin.cacheManager.getTaskInfo(this.task.path);r?(e={...r,reminders:t},await this.plugin.taskService.updateProperty(e,"reminders",t)):e={...this.task,reminders:t}}else e={...this.task,reminders:t};this.onUpdate(e)}openReminderModal(){new ei(this.plugin.app,this.plugin,this.task,async e=>{await this.saveReminders(e)}).open()}}});function I$(n,t){let e=Object.keys(t).map(r=>Ple(n,r,t[r]));return e.length===1?e[0]:function(){e.forEach(r=>r())}}function Ple(n,t,e){let r=n[t],a=n.hasOwnProperty(t),i=a?r:function(){return Object.getPrototypeOf(n)[t].apply(this,arguments)},s=e(i);return r&&Object.setPrototypeOf(s,r),Object.setPrototypeOf(o,s),n[t]=o,l;function o(...c){return s===i&&n[t]===o&&l(),s.apply(this,c)}function l(){n[t]===o&&(a?n[t]=i:delete n[t]),s!==i&&(s=i,Object.setPrototypeOf(o,r||Function))}}var _$=b(()=>{});function Mle(n){let t=n.embedRegistry.embedByExtension.md({app:n,containerEl:document.createElement("div")},null,"");t.editable=!0,t.showEditor();let e=Object.getPrototypeOf(Object.getPrototypeOf(t.editMode));return t.unload(),e.constructor}function Ale(){return typeof app=="undefined"?class{constructor(t,e,r){this.containerEl=document.createElement("div");this.editorEl=document.createElement("div");this.owner={editMode:null,editor:null};this._loaded=!1;this.app=t,this.containerEl=e}set(t){}onUpdate(t,e){}buildLocalExtensions(){return[]}destroy(){}unload(){}}:Mle(app)}var R$,eb,Cs,N$,ru,nx=b(()=>{R$=require("obsidian"),eb=require("@codemirror/state"),Cs=require("@codemirror/view");_$();N$={cursorLocation:void 0,value:"",cls:"",placeholder:"",onEnter:()=>!1,onEscape:()=>{},onTab:()=>!1,onSubmit:()=>{},onBlur:()=>{},onPaste:()=>{},onChange:()=>{},extensions:[]},ru=class extends Ale(){constructor(t,e,r={}){super(t,e,{app:t,onMarkdownScroll:()=>{},getMode:()=>"source"}),this.options={...N$,...r},this.initial_value=this.options.value,this.scope=new R$.Scope(this.app.scope),this.scope.register(["Mod"],"Enter",(a,i)=>!0),this.owner.editMode=this,this.owner.editor=this.editor,this.set(r.value||""),this.uninstaller=I$(this.app.workspace,{setActiveLeaf:a=>function(...i){var s;(s=this.activeCM)!=null&&s.hasFocus||a.call(this,...i)}}),this.options.onBlur!==N$.onBlur&&this.editor.cm.contentDOM.addEventListener("blur",()=>{this.app.keymap.popScope(this.scope),this._loaded&&this.options.onBlur(this)}),this.editor.cm.contentDOM.addEventListener("focusin",()=>{this.app.keymap.pushScope(this.scope),this.app.workspace.activeEditor=this.owner}),r.cls&&this.editorEl.classList.add(r.cls),r.cursorLocation&&this.editor.cm.dispatch({selection:eb.EditorSelection.range(r.cursorLocation.anchor,r.cursorLocation.head)})}get value(){return this.editor.cm.state.doc.toString()}setValue(t){this.set(t)}onUpdate(t,e){super.onUpdate(t,e),e&&this.options.onChange(this.value,t)}buildLocalExtensions(){let t=super.buildLocalExtensions();return t.push(Cs.EditorView.theme({".cm-lineNumbers":{display:"none !important"},".cm-gutters":{display:"none !important"}})),t.push((0,Cs.tooltips)({parent:document.body})),this.options.placeholder&&t.push((0,Cs.placeholder)(this.options.placeholder)),t.push(Cs.EditorView.domEventHandlers({paste:e=>{this.options.onPaste(e,this)}})),t.push(eb.Prec.highest(Cs.keymap.of([{key:"Enter",run:e=>this.options.onEnter(this,!1,!1),shift:e=>this.options.onEnter(this,!1,!0)},{key:"Mod-Enter",run:e=>(this.options.onSubmit(this),!0)},{key:"Escape",run:e=>(this.options.onEscape(this),!0)},{key:"Tab",run:e=>this.options.onTab(this)}]))),this.options.extensions&&this.options.extensions.length>0&&t.push(...this.options.extensions),t}destroy(){this._loaded&&this.unload(),this.app.keymap.popScope(this.scope),this.app.workspace.activeEditor=null,this.uninstaller&&(this.uninstaller(),this.uninstaller=void 0),this.containerEl.empty(),super.destroy()}onunload(){this.destroy()}}});function cf(n,t){if(!n||!t)return 0;let e=n.toLowerCase().split(" ").filter(Boolean),r=t.toLowerCase(),a=0,i=0;for(let s=0;s<e.length;s++){let o=e[s],l=r.indexOf(o,a);if(l===-1)return 0;i+=Math.max(0,100-l),r.startsWith(o,l)&&(i+=10),s>0&&l===a&&(i+=5),a=l+o.length}return i}var F$=b(()=>{});var ix={};Be(ix,{FileSuggestHelper:()=>ax});var O$,ax,tb=b(()=>{O$=require("obsidian");F$();gp();Yw();gl();ax={async suggest(n,t,e=20,r){var s,o;let a=async()=>{var T,k,w,S,x,I,A,B,z,U;let l=(k=(T=n==null?void 0:n.app)==null?void 0:T.vault)!=null&&k.getMarkdownFiles?n.app.vault.getMarkdownFiles():[],c=[],d=((x=(S=(w=n.settings)==null?void 0:w.projectAutosuggest)==null?void 0:S.rows)!=null?x:[]).slice(0,3),u=new Set;for(let N of d)try{let P=hi(N);for(let _ of P)_.searchable&&!_.property.startsWith("literal:")&&u.add(_.property)}catch(P){}let p=(t||"").toLowerCase(),m=(I=r==null?void 0:r.requiredTags)!=null?I:[],h=(A=r==null?void 0:r.includeFolders)!=null?A:[],f=vy(r);for(let N of l){let P=n.app.metadataCache.getFileCache(N);if(m.length>0){let H=((B=P==null?void 0:P.tags)==null?void 0:B.map(Z=>Z.tag.replace("#","")))||[],K=((z=P==null?void 0:P.frontmatter)==null?void 0:z.tags)||[],ae=[...H,...Array.isArray(K)?K:[K].filter(Boolean)];if(!kt.matchesTagConditions(ae,m))continue}if(h.length>0&&!h.some(K=>N.path.startsWith(K)||N.path.startsWith(K+"/")))continue;if(f.enabled){let H=P==null?void 0:P.frontmatter;if(!by(H,f))continue}let _=N.basename,Y="";if(P!=null&&P.frontmatter){let H=n.fieldMapper.mapFromFrontmatter(P.frontmatter,N.path,n.settings.storeTitleInFilename);Y=typeof H.title=="string"?H.title:""}let Q=P!=null&&P.frontmatter?(0,O$.parseFrontMatterAliases)(P.frontmatter)||[]:[],W=0;if(W=Math.max(W,cf(t,_)+15),Y&&(W=Math.max(W,cf(t,Y)+5)),Array.isArray(Q))for(let H of Q)typeof H=="string"&&(W=Math.max(W,cf(t,H)));if(u.size>0){let H=(P==null?void 0:P.frontmatter)||{};for(let K of u){let ae="";if(K==="file.path")ae=N.path;else if(K==="file.parent")ae=((U=N.parent)==null?void 0:U.path)||"";else if(K==="file.basename")ae=_;else if(K==="title")ae=Y;else if(K==="aliases")ae=(Array.isArray(Q)?Q.filter(Z=>typeof Z=="string"):[]).join(" ");else{let ye=H[K];ye!=null&&(Array.isArray(ye)?ae=ye.filter(Z=>typeof Z=="string").join(" "):typeof ye=="object"?ae=JSON.stringify(ye):(typeof ye=="string"||typeof ye=="number"||typeof ye=="boolean")&&(ae=String(ye)))}if(ae){let ye=cf(t,ae),Z=ye>0?ye:ae.toLowerCase().includes(p)?30:0;Z>0&&(W=Math.max(W,Z))}}}if(W>0){let H=[];Y&&Y!==_&&H.push(`title: ${Y}`);let K=Array.isArray(Q)?Q.filter(ye=>typeof ye=="string"):[];K.length&&H.push(`aliases: ${K.join(", ")}`);let ae=H.length?`${_} [${H.join(" | ")}]`:_;c.push({insertText:_,displayText:ae,score:W})}}c.sort((N,P)=>P.score-N.score);let g=[],v=new Set;for(let N of c)if(!v.has(N.insertText)&&(g.push(N),v.add(N.insertText),g.length>=e))break;return g},i=(o=(s=n.settings)==null?void 0:s.suggestionDebounceMs)!=null?o:0;return i?new Promise(l=>{let c=n;c.__fileSuggestTimer&&clearTimeout(c.__fileSuggestTimer),c.__fileSuggestTimer=setTimeout(async()=>{let d=await a();l(d)},i)}):a()}}});var Ee,nu,sx,ox,df,lx=b(()=>{Ee=require("obsidian");rc();nf();A$();Zd();rx();Ke();Dr();Py();vd();Gv();To();Hp();nx();nu=class extends Ee.Modal{constructor(e,r){super(e);this.keyboardHandler=null;this.title="";this.details="";this.originalDetails="";this.dueDate="";this.scheduledDate="";this.priority="normal";this.status="open";this.contexts="";this.projects="";this.tags="";this.timeEstimate=0;this.recurrenceRule="";this.recurrenceAnchor="scheduled";this.reminders=[];this.userFields={};this.blockedByItems=[];this.blockingItems=[];this.selectedProjectItems=[];this.selectedSubtaskFiles=[];this.initialSubtaskFiles=[];this.detailsMarkdownEditor=null;this.isExpanded=!1;this.plugin=r}createDependencyItemFromFile(e,r={}){var s;let a=(s=r.sourcePath)!=null?s:this.getDependencySourcePath();return{dependency:{uid:Yn(this.plugin.app,a,e.path,this.plugin.settings.useFrontmatterMarkdownLinks),reltype:$n},path:e.path,name:e.basename}}createDependencyItemFromDependency(e,r){var s;let a=Pl(this.plugin.app,r!=null?r:this.getDependencySourcePath(),e);if(a){let o=((s=a.file)==null?void 0:s.basename)||a.path.split("/").pop()||e.uid;return{dependency:e,path:a.path,name:o}}let i=e.uid.replace(/^\[\[/,"").replace(/\]\]$/,"");return{dependency:e,name:i||e.uid,unresolved:!0}}createDependencyItemFromPath(e){let r=this.getDependencySourcePath(),a=this.plugin.app.vault.getAbstractFileByPath(e);if(a instanceof Ee.TFile)return{dependency:{uid:Yn(this.plugin.app,r,a.path,this.plugin.settings.useFrontmatterMarkdownLinks),reltype:$n},path:a.path,name:a.basename};let s=(e.split("/").pop()||e).replace(/\.md$/i,"");return{dependency:{uid:`[[${s}]]`,reltype:$n},path:e,name:s,unresolved:!0}}getDependencySourcePath(){var e;return this.getCurrentTaskPath()||((e=this.plugin.app.workspace.getActiveFile())==null?void 0:e.path)||""}getCurrentTaskPath(){}renderDependencyLists(){this.renderBlockedByList(),this.renderBlockingList()}getLinkServices(){return{metadataCache:this.plugin.app.metadataCache,workspace:this.plugin.app.workspace}}renderBlockedByList(){this.renderDependencyList(this.blockedByList,this.blockedByItems,e=>{this.blockedByItems.splice(e,1),this.renderBlockedByList()})}renderBlockingList(){this.renderDependencyList(this.blockingList,this.blockingItems,e=>{this.blockingItems.splice(e,1),this.renderBlockingList()})}renderDependencyList(e,r,a){if(!e||(e.empty(),r.length===0))return;let i=this.getLinkServices();r.forEach((s,o)=>{var p;let l=e.createDiv({cls:"task-project-item"});s.unresolved&&(l.addClass("task-project-item--unresolved"),(0,Ee.setTooltip)(l,this.t("contextMenus.task.dependencies.notices.unresolved",{entries:s.dependency.uid}),{placement:"top"}));let c=l.createDiv({cls:"task-project-info"}),d=c.createSpan({cls:"task-project-name"});if(s.path&&!s.unresolved)d.addClass("clickable-dependency"),Ss(d,s.path.replace(/\.md$/i,""),s.name,i,{cssClass:"task-dependency-link internal-link",hoverSource:"tasknotes-dependency-link",showErrorNotices:!0}),s.path!==s.name&&c.createDiv({cls:"task-project-path",text:s.path});else{d.textContent=s.name;let m=(p=s.path)!=null?p:s.dependency.uid;c.createDiv({cls:"task-project-path",text:m})}let u=l.createEl("button",{cls:"task-project-remove",text:"\xD7"});(0,Ee.setTooltip)(u,this.t("modals.task.dependencies.removeTaskTooltip"),{placement:"top"}),u.addEventListener("click",m=>{m.preventDefault(),m.stopPropagation(),a(o)})})}extractDetailsFromContent(e){let{body:r}=Up(e);return r.replace(/\r\n/g,`
|
||
`).trimEnd()}normalizeDetails(e){return e.replace(/\r\n/g,`
|
||
`)}addBlockedByTask(e){let r={uid:Yn(this.plugin.app,this.getDependencySourcePath(),e.path,this.plugin.settings.useFrontmatterMarkdownLinks),reltype:$n};this.addBlockedByDependency(r)}addBlockingTask(e){this.addBlockingTaskFromPath(e.path)}addBlockedByDependency(e){let r=this.getDependencySourcePath(),a=this.createDependencyItemFromDependency(e,r);this.blockedByItems.some(s=>s.dependency.uid===a.dependency.uid||a.path&&s.path===a.path)||(this.blockedByItems.push(a),this.renderBlockedByList())}addBlockingTaskFromPath(e){let r=this.getCurrentTaskPath();if(r&&e===r)return;let a=this.createDependencyItemFromPath(e);this.blockingItems.some(s=>s.path===a.path||s.dependency.uid===a.dependency.uid)||(this.blockingItems.push(a),this.renderBlockingList())}async openBlockedBySelector(){let e=this.getDependencySourcePath(),r=this.getCurrentTaskPath(),a=new Set(this.blockedByItems.map(i=>i.dependency.uid));await this.openTaskDependencySelector(i=>{if(r&&i.path===r)return!1;let s=Yn(this.plugin.app,e,i.path,this.plugin.settings.useFrontmatterMarkdownLinks);return!a.has(s)},i=>{let s={uid:Yn(this.plugin.app,e,i.path),reltype:$n};this.addBlockedByDependency(s)})}async openBlockingSelector(){let e=this.getDependencySourcePath(),r=this.getCurrentTaskPath(),a=new Set(this.blockingItems.map(s=>s.path).filter(s=>typeof s=="string")),i=new Set(this.blockingItems.map(s=>s.dependency.uid));await this.openTaskDependencySelector(s=>{if(r&&s.path===r||a.has(s.path))return!1;let o=Yn(this.plugin.app,e,s.path,this.plugin.settings.useFrontmatterMarkdownLinks);return!i.has(o)},s=>{this.addBlockingTaskFromPath(s.path)})}async openTaskDependencySelector(e,r){var a,i,s;try{let l=((s=await((i=(a=this.plugin.cacheManager).getAllTasks)==null?void 0:i.call(a)))!=null?s:[]).filter(e);if(l.length===0){new Ee.Notice(this.t("contextMenus.task.dependencies.notices.noEligibleTasks"));return}Fr(this.plugin,l,c=>{c&&r(c)})}catch(o){console.error("Failed to open task selector for dependencies:",o),new Ee.Notice(this.t("contextMenus.task.dependencies.notices.updateFailed"))}}getApp(){return this.app}getPlugin(){return this.plugin}t(e,r){return this.plugin.i18n.translate(e,r)}getFileByPath(e){return this.app.vault.getAbstractFileByPath(e)}getMarkdownFiles(){return this.app.vault.getMarkdownFiles()}getFileCache(e){return this.app.metadataCache.getFileCache(e)}resolveLink(e,r){return this.app.metadataCache.getFirstLinkpathDest(e,r)}isEditMode(){return!1}isCreationMode(){return!1}onOpen(){this.containerEl.addClass("tasknotes-plugin","minimalist-task-modal"),this.plugin.settings.enableModalSplitLayout&&this.containerEl.addClass("split-layout-enabled"),this.modalEl.addClass("mod-tasknotes"),this.titleEl.setText(this.getModalTitle()),this.keyboardHandler=e=>{if(e.key==="Enter"&&(e.ctrlKey||e.metaKey)){if(e.target.closest(".cm-editor"))return;e.preventDefault(),this.handleSave()}},this.containerEl.addEventListener("keydown",this.keyboardHandler),this.initializeFormData().then(()=>{this.createModalContent(),this.focusTitleInput()})}createModalContent(){let{contentEl:e}=this;e.empty();let r=e.createDiv("minimalist-modal-container");this.splitContentWrapper=r.createDiv("modal-split-content"),this.splitLeftColumn=this.splitContentWrapper.createDiv("modal-split-left"),this.splitRightColumn=this.splitContentWrapper.createDiv("modal-split-right"),this.createPrimaryInput(this.splitLeftColumn),this.createActionBar(this.splitLeftColumn),this.createDetailsSection(r),this.createAdditionalSections(this.splitLeftColumn),this.createActionButtons(r)}createPrimaryInput(e){this.createTitleInput(e)}createAdditionalSections(e){}createTitleInput(e){let r=e.createDiv("title-input-container");this.titleInput=r.createEl("input",{type:"text",cls:"title-input",placeholder:this.t("modals.task.titlePlaceholder")}),this.titleInput.value=this.title,this.titleInput.addEventListener("input",a=>{this.title=a.target.value})}createActionBar(e){this.actionBar=e.createDiv("action-bar"),this.createActionIcon(this.actionBar,"calendar",this.t("modals.task.actions.due"),(r,a)=>{this.showDateContextMenu(a,"due")},"due-date"),this.createActionIcon(this.actionBar,"calendar-clock",this.t("modals.task.actions.scheduled"),(r,a)=>{this.showDateContextMenu(a,"scheduled")},"scheduled-date"),this.createActionIcon(this.actionBar,"dot-square",this.t("modals.task.actions.status"),(r,a)=>{this.showStatusContextMenu(a)},"status"),this.createActionIcon(this.actionBar,"star",this.t("modals.task.actions.priority"),(r,a)=>{this.showPriorityContextMenu(a)},"priority"),this.createActionIcon(this.actionBar,"refresh-ccw",this.t("modals.task.actions.recurrence"),(r,a)=>{this.showRecurrenceContextMenu(a)},"recurrence"),this.createActionIcon(this.actionBar,"bell",this.t("modals.task.actions.reminders"),(r,a)=>{this.showReminderContextMenu(a)},"reminders"),this.updateIconStates()}createActionIcon(e,r,a,i,s){let o=e.createDiv("action-icon");o.setAttribute("aria-label",a),o.setAttribute("data-initial-tooltip",a),o.setAttribute("tabindex","0"),o.setAttribute("role","button"),s&&o.setAttribute("data-type",s);let l=o.createSpan("icon");return(0,Ee.setIcon)(l,r),o.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),i(o,c)}),o.addEventListener("keydown",c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),c.stopPropagation(),i(o,c))}),o}createDetailsSection(e){this.detailsContainer=this.splitLeftColumn?this.splitLeftColumn.createDiv("details-container"):e.createDiv("details-container"),this.isExpanded||(this.detailsContainer.style.display="none",this.splitRightColumn&&(this.splitRightColumn.style.display="none"));let r=this.plugin.settings.modalFieldsConfig,a=this.shouldShowField("title",r),i=this.shouldShowField("details",r),s=this.isEditMode(),o=this.isCreationMode()&&this.plugin.settings.enableNaturalLanguageInput;if(a&&(s||o)){let l=this.detailsContainer.createDiv("detail-label");l.textContent=this.t("modals.task.titleLabel");let c=this.detailsContainer.createEl("input",{type:"text",cls:"title-input-detailed",placeholder:this.t("modals.task.titleDetailedPlaceholder")});c.value=this.title,c.addEventListener("input",d=>{this.title=d.target.value}),(s||o)&&!this.titleInput&&(this.titleInput=c)}if(i){let l=this.splitRightColumn||this.detailsContainer,c=l.createDiv("detail-label");c.textContent=this.t("modals.task.detailsLabel");let d=l.createDiv("details-markdown-editor");this.detailsMarkdownEditor=this.createMarkdownEditor(d,{value:this.details,placeholder:this.t("modals.task.detailsPlaceholder"),cls:"details-editor",onChange:u=>{this.details=u},onSubmit:()=>{this.handleSave()},onEscape:()=>{this.close()},onTab:()=>(this.focusNextField(),!0)})}this.createAdditionalFields(this.detailsContainer)}shouldShowField(e,r){if(!r||!r.fields)return!0;let a=r.fields.find(s=>s.id===e);if(!a)return!0;let i=this.isCreationMode()?a.visibleInCreation:a.visibleInEdit;return a.enabled&&i}createAdditionalFields(e){let r=this.plugin.settings.modalFieldsConfig;if(!r){console.error("TaskModal: modalFieldsConfig is not initialized. This should never happen.");return}this.createFieldsFromConfig(e,r)}createFieldsFromConfig(e,r){let{getFieldsByGroup:a}=(wp(),Wa(sS)),i=a(r,this.isCreationMode()),s=[...r.groups].sort((o,l)=>o.order-l.order);for(let o of s){let l=i.get(o.id);if(!l||l.length===0||o.id==="basic")continue;let c=e.createDiv({cls:"task-modal__field-group"});o.id!=="metadata"&&e.createEl("hr",{cls:"task-modal__section-separator"});for(let d of l)this.createField(c,d)}}createField(e,r){switch(r.id){case"contexts":this.createContextsField(e);break;case"tags":this.createTagsField(e);break;case"time-estimate":this.createTimeEstimateField(e);break;case"projects":this.createProjectsField(e);break;case"subtasks":this.createSubtasksField(e);break;case"blocked-by":this.createBlockedByField(e);break;case"blocking":this.createBlockingField(e);break;default:r.fieldType==="user"&&this.createUserFieldByConfig(e,r);break}}createContextsField(e){new Ee.Setting(e).setName(this.t("modals.task.contextsLabel")).addText(r=>{r.setPlaceholder(this.t("modals.task.contextsPlaceholder")).setValue(this.contexts).onChange(a=>{this.contexts=a}),this.contextsInput=r.inputEl,new sx(this.app,r.inputEl,this.plugin)})}createTagsField(e){new Ee.Setting(e).setName(this.t("modals.task.tagsLabel")).addText(r=>{r.setPlaceholder(this.t("modals.task.tagsPlaceholder")).setValue(this.tags).onChange(a=>{this.tags=Qa(a)}),this.tagsInput=r.inputEl,new ox(this.app,r.inputEl,this.plugin)})}createTimeEstimateField(e){new Ee.Setting(e).setName(this.t("modals.task.timeEstimateLabel")).addText(r=>{r.setPlaceholder(this.t("modals.task.timeEstimatePlaceholder")).setValue(this.timeEstimate.toString()).onChange(a=>{this.timeEstimate=parseInt(a)||0}),this.timeEstimateInput=r.inputEl})}createProjectsField(e){new Ee.Setting(e).setName(this.t("modals.task.organization.projects")).addButton(r=>{r.setButtonText(this.t("modals.task.organization.addToProjectButton")).setTooltip(this.t("modals.task.projectsTooltip")).onClick(()=>{new io(this.app,this.plugin,i=>{this.addProject(i)}).open()}),r.buttonEl.addClasses(["tn-btn","tn-btn--ghost"])}),this.projectsList||(this.projectsList=e.createDiv({cls:"task-projects-list"})),this.renderOrganizationLists()}createSubtasksField(e){new Ee.Setting(e).setName(this.t("modals.task.organization.subtasks")).addButton(r=>{r.setButtonText(this.t("modals.task.organization.addSubtasksButton")).setTooltip(this.t("modals.task.organization.addSubtasksTooltip")).onClick(()=>{this.openSubtaskSelector()}),r.buttonEl.addClasses(["tn-btn","tn-btn--ghost"])}),this.subtasksList||(this.subtasksList=e.createDiv({cls:"task-projects-list"})),this.renderOrganizationLists()}createBlockedByField(e){new Ee.Setting(e).setName(this.t("modals.task.dependencies.blockedBy")).addButton(r=>{r.setButtonText(this.t("modals.task.dependencies.addTaskButton")).setTooltip(this.t("modals.task.dependencies.selectTaskTooltip")).onClick(()=>{this.openBlockedBySelector()}),r.buttonEl.addClasses(["tn-btn","tn-btn--ghost"])}),this.blockedByList||(this.blockedByList=e.createDiv({cls:"task-projects-list"})),this.renderDependencyLists()}createBlockingField(e){new Ee.Setting(e).setName(this.t("modals.task.dependencies.blocking")).addButton(r=>{r.setButtonText(this.t("modals.task.dependencies.addTaskButton")).setTooltip(this.t("modals.task.dependencies.selectTaskTooltip")).onClick(()=>{this.openBlockingSelector()}),r.buttonEl.addClasses(["tn-btn","tn-btn--ghost"])}),this.blockingList||(this.blockingList=e.createDiv({cls:"task-projects-list"})),this.renderDependencyLists()}createUserFieldByConfig(e,r){var s;let a=(s=this.plugin.settings.userFields)==null?void 0:s.find(o=>o.id===r.id);if(!a)return;let i=new Ee.Setting(e).setName(a.displayName);switch(a.type){case"text":case"list":{i.addText(o=>{let l=this.userFields[a.key],c=Array.isArray(l)?l.join(", "):l||"";o.setValue(c).onChange(d=>{a.type==="list"?this.userFields[a.key]=d.split(",").map(u=>u.trim()).filter(u=>u.length>0):this.userFields[a.key]=d}),new df(this.app,o.inputEl,this.plugin,a)});break}case"number":{i.addText(o=>{let l=this.userFields[a.key];o.setValue((l==null?void 0:l.toString())||"").onChange(c=>{let d=parseFloat(c);this.userFields[a.key]=isNaN(d)?null:d}),o.inputEl.type="number"});break}case"date":{i.addText(o=>{let l=this.userFields[a.key];o.setValue(l||"").onChange(c=>{this.userFields[a.key]=c}),o.inputEl.type="date"});break}case"boolean":{i.addToggle(o=>{let l=this.userFields[a.key];o.setValue(l===!0).onChange(c=>{this.userFields[a.key]=c})});break}}}createUserFields(e){var a;let r=((a=this.plugin.settings)==null?void 0:a.userFields)||[];r.length>0&&e.createDiv({cls:"user-fields-separator"}).createDiv({text:this.t("modals.task.customFieldsLabel"),cls:"detail-label-section"});for(let i of r){if(!i||!i.key||!i.displayName)continue;let s=this.userFields[i.key]||"";switch(i.type){case"boolean":new Ee.Setting(e).setName(i.displayName).addToggle(o=>{o.setValue(s===!0||s==="true").onChange(l=>{this.userFields[i.key]=l})});break;case"number":new Ee.Setting(e).setName(i.displayName).addText(o=>{o.setPlaceholder(this.t("modals.task.userFields.numberPlaceholder")).setValue(s?String(s):"").onChange(l=>{let c=parseFloat(l);this.userFields[i.key]=isNaN(c)?null:c})});break;case"date":new Ee.Setting(e).setName(i.displayName).addText(o=>{o.setPlaceholder(this.t("modals.task.userFields.datePlaceholder")).setValue(s?String(s):"").onChange(d=>{this.userFields[i.key]=d||null});let l=o.inputEl.parentElement;l&&l.addClass("tn-date-control");let c=l==null?void 0:l.createEl("button",{cls:"user-field-date-picker-btn"});c&&(c.setAttribute("aria-label",this.t("modals.task.userFields.pickDate",{field:i.displayName})),(0,Ee.setIcon)(c,"calendar"),c.addEventListener("click",d=>{d.preventDefault(),new Cn({currentValue:o.getValue()||void 0,onSelect:p=>{o.setValue(p||""),this.userFields[i.key]=p||null},plugin:this.plugin,app:this.app}).showAtElement(c)}))});break;case"list":new Ee.Setting(e).setName(i.displayName).addText(o=>{var d;let l=Array.isArray(s)?s.join(", "):s?String(s):"";o.setPlaceholder(this.t("modals.task.userFields.listPlaceholder")).setValue(l).onChange(u=>{u.trim()?this.userFields[i.key]=u.split(",").map(p=>p.trim()).filter(p=>p):this.userFields[i.key]=null}),new df(this.app,o.inputEl,this.plugin,i);let c=e.querySelector(".user-field-link-preview");c&&((d=c.detach)==null||d.call(c))});break;case"text":default:new Ee.Setting(e).setName(i.displayName).addText(o=>{o.setPlaceholder(this.t("modals.task.userFields.textPlaceholder",{field:i.displayName})).setValue(s?String(s):"").onChange(l=>{this.userFields[i.key]=l||null}),new df(this.app,o.inputEl,this.plugin,i)});break}}}createActionButtons(e){let r=e.createDiv("modal-button-container");this.isEditMode()&&r.createEl("button",{cls:"open-note-button",text:this.t("modals.task.buttons.openNote")}).addEventListener("click",async()=>{await this.openTaskNote()});let a=r.createEl("button",{cls:"mod-cta",text:this.t("modals.task.buttons.save")});a.addEventListener("click",async()=>{a.disabled=!0;try{await this.handleSave(),this.close()}finally{a.disabled=!1}}),r.createEl("button",{text:this.t("common.cancel")}).addEventListener("click",()=>{this.close()})}expandModal(){this.isExpanded||(this.isExpanded=!0,this.detailsContainer.style.display="block",this.containerEl.addClass("expanded"),this.splitRightColumn&&(this.splitRightColumn.style.display=""),this.detailsContainer.style.opacity="0",this.detailsContainer.style.transform="translateY(-10px)",setTimeout(()=>{this.detailsContainer.style.opacity="1",this.detailsContainer.style.transform="translateY(0)"},50))}showDateContextMenu(e,r){let a=r==="due"?this.dueDate:this.scheduledDate,i=r==="due"?this.t("modals.task.dateMenu.dueTitle"):this.t("modals.task.dateMenu.scheduledTitle");new Cn({currentValue:a?_e(a):void 0,currentTime:a?Hr(a):void 0,title:i,plugin:this.plugin,app:this.app,onSelect:(o,l)=>{if(o){let c=l?hr(o,l):o;r==="due"?this.dueDate=c:this.scheduledDate=c}else r==="due"?this.dueDate="":this.scheduledDate="";this.updateDateIconState()}}).show(e)}showStatusContextMenu(e){new Xv({currentValue:this.status,onSelect:a=>{this.status=a,this.updateStatusIconState()},plugin:this.plugin}).show(e)}showPriorityContextMenu(e){new ri({currentValue:this.priority,onSelect:a=>{this.priority=a,this.updatePriorityIconState()},plugin:this.plugin}).show(e)}showRecurrenceContextMenu(e){new ti({currentValue:this.recurrenceRule,currentAnchor:this.recurrenceAnchor,onSelect:(a,i)=>{this.recurrenceRule=a||"",i!==void 0&&(this.recurrenceAnchor=i),this.updateRecurrenceIconState()},app:this.app,plugin:this.plugin}).show(e)}showReminderContextMenu(e){let r={title:this.title,status:this.status,priority:this.priority,due:this.dueDate,scheduled:this.scheduledDate,path:"",archived:!1,reminders:this.reminders};new tu(this.plugin,r,e.target,i=>{this.reminders=i.reminders||[],this.updateReminderIconState()}).show(e)}updateDateIconState(){this.updateIconStates()}updateStatusIconState(){this.updateIconStates()}updatePriorityIconState(){this.updateIconStates()}updateRecurrenceIconState(){this.updateIconStates()}updateReminderIconState(){this.updateIconStates()}getDefaultStatus(){let e=this.plugin.settings.customStatuses;return e&&e.length>0?[...e].sort((a,i)=>a.order-i.order)[0].value:"open"}getDefaultPriority(){let e=this.plugin.settings.customPriorities;return e&&e.length>0?[...e].sort((a,i)=>a.weight-i.weight)[0].value:"normal"}getRecurrenceDisplayText(){if(!this.recurrenceRule)return"";let e=this.recurrenceRule;if(e.includes("FREQ=DAILY"))return"Daily";if(e.includes("FREQ=WEEKLY")){if(e.includes("INTERVAL=2"))return"Every 2 weeks";if(e.includes("BYDAY=MO,TU,WE,TH,FR"))return"Weekdays";if(e.includes("BYDAY=")){let a=e.match(/BYDAY=([A-Z]{2})/);return a?`Weekly on ${{SU:"Sunday",MO:"Monday",TU:"Tuesday",WE:"Wednesday",TH:"Thursday",FR:"Friday",SA:"Saturday"}[a[1]]||a[1]}`:"Weekly"}else return"Weekly"}else if(e.includes("FREQ=MONTHLY")){if(e.includes("INTERVAL=3"))return"Every 3 months";if(e.includes("BYMONTHDAY=")){let a=e.match(/BYMONTHDAY=(\d+)/);return a?`Monthly on the ${this.getOrdinal(parseInt(a[1]))}`:"Monthly"}else return e.includes("BYDAY=")?"Monthly (by weekday)":"Monthly"}else if(e.includes("FREQ=YEARLY")){if(e.includes("BYMONTH=")&&e.includes("BYMONTHDAY=")){let a=e.match(/BYMONTH=(\d+)/),i=e.match(/BYMONTHDAY=(\d+)/);if(a&&i){let o=["","January","February","March","April","May","June","July","August","September","October","November","December"][parseInt(a[1])],l=this.getOrdinal(parseInt(i[1]));return`Yearly on ${o} ${l}`}}return"Yearly"}let r="";if(e.includes("COUNT=")){let a=e.match(/COUNT=(\d+)/);a&&(r=` (${a[1]} times)`)}else if(e.includes("UNTIL=")){let a=e.match(/UNTIL=(\d{8})/);if(a){let i=a[1];r=` (until ${`${i.slice(0,4)}-${i.slice(4,6)}-${i.slice(6,8)}`})`}}return"Custom"+r}getOrdinal(e){let r=["th","st","nd","rd"],a=e%100;return e+(r[(a-20)%10]||r[a]||r[0])}updateIconStates(){if(!this.actionBar)return;let e=this.actionBar.querySelector('[data-type="due-date"]');e&&(this.dueDate?(e.classList.add("has-value"),(0,Ee.setTooltip)(e,this.t("modals.task.tooltips.dueValue",{value:this.dueDate}),{placement:"top"})):(e.classList.remove("has-value"),(0,Ee.setTooltip)(e,this.t("modals.task.actions.due"),{placement:"top"})));let r=this.actionBar.querySelector('[data-type="scheduled-date"]');r&&(this.scheduledDate?(r.classList.add("has-value"),(0,Ee.setTooltip)(r,this.t("modals.task.tooltips.scheduledValue",{value:this.scheduledDate}),{placement:"top"})):(r.classList.remove("has-value"),(0,Ee.setTooltip)(r,this.t("modals.task.actions.scheduled"),{placement:"top"})));let a=this.actionBar.querySelector('[data-type="status"]');if(a){let l=this.plugin.settings.customStatuses.find(u=>u.value===this.status),c=l?l.label:this.status;this.status&&l&&l.value!==this.getDefaultStatus()?(a.classList.add("has-value"),(0,Ee.setTooltip)(a,this.t("modals.task.tooltips.statusValue",{value:c}),{placement:"top"})):(a.classList.remove("has-value"),(0,Ee.setTooltip)(a,this.t("modals.task.actions.status"),{placement:"top"}));let d=a.querySelector(".icon");d&&l&&l.color?d.style.color=l.color:d&&(d.style.color="")}let i=this.actionBar.querySelector('[data-type="priority"]');if(i){let l=this.plugin.settings.customPriorities.find(u=>u.value===this.priority),c=l?l.label:this.priority;this.priority&&l&&l.value!==this.getDefaultPriority()?(i.classList.add("has-value"),(0,Ee.setTooltip)(i,this.t("modals.task.tooltips.priorityValue",{value:c}),{placement:"top"})):(i.classList.remove("has-value"),(0,Ee.setTooltip)(i,this.t("modals.task.actions.priority"),{placement:"top"}));let d=i.querySelector(".icon");d&&l&&l.color?d.style.color=l.color:d&&(d.style.color="")}let s=this.actionBar.querySelector('[data-type="recurrence"]');s&&(this.recurrenceRule&&this.recurrenceRule.trim()?(s.classList.add("has-value"),(0,Ee.setTooltip)(s,this.t("modals.task.tooltips.recurrenceValue",{value:this.getRecurrenceDisplayText()}),{placement:"top"})):(s.classList.remove("has-value"),(0,Ee.setTooltip)(s,this.t("modals.task.actions.recurrence"),{placement:"top"})));let o=this.actionBar.querySelector('[data-type="reminders"]');if(o)if(this.reminders&&this.reminders.length>0){o.classList.add("has-value");let l=this.reminders.length,c=l===1?this.t("modals.task.tooltips.remindersSingle"):this.t("modals.task.tooltips.remindersPlural",{count:l});(0,Ee.setTooltip)(o,c,{placement:"top"})}else o.classList.remove("has-value"),(0,Ee.setTooltip)(o,this.t("modals.task.actions.reminders"),{placement:"top"})}focusTitleInput(){setTimeout(()=>{this.titleInput.focus(),this.titleInput.select()},100)}addProject(e){this.selectedProjectItems.some(r=>{var a;return((a=r.file)==null?void 0:a.path)===e.path})||(e instanceof Ee.TFile&&this.selectedProjectItems.push({file:e,name:e.basename,link:this.buildProjectReference(e,this.getCurrentTaskPath()||"")}),this.updateProjectsFromFiles(),this.renderProjectsList())}removeProject(e){this.selectedProjectItems=this.selectedProjectItems.filter(r=>r!==e),this.updateProjectsFromFiles(),this.renderProjectsList()}updateProjectsFromFiles(){this.projects=this.selectedProjectItems.map(e=>e.link).join(", ")}buildProjectReference(e,r){return vi(this.app,e,r,"","",this.plugin.settings.useFrontmatterMarkdownLinks)}initializeProjectsFromStrings(e){this.selectedProjectItems=[];let r=this.getCurrentTaskPath()||"";for(let a of e){if(!a||typeof a!="string"||a.trim()==="")continue;let i=a.match(/^\[\[([^\]]+)\]\]$/);if(i){let s=i[1],o=this.resolveLink(s,r);if(o)this.selectedProjectItems.push({file:o,name:o.basename,link:a});else{let l=s.split("|")[0];this.selectedProjectItems.push({name:l,link:a,unresolved:!0})}}else{let s=a.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(s){let o=Cl(a),l=this.resolveLink(o,r);if(l)this.selectedProjectItems.push({file:l,name:l.basename,link:a});else{let c=s[1]||o;this.selectedProjectItems.push({name:c,link:a,unresolved:!0})}}else{let l=this.getMarkdownFiles().find(c=>c.basename===a||c.name===a+".md");l?this.selectedProjectItems.push({file:l,name:l.basename,link:`[[${l.basename}]]`}):this.selectedProjectItems.push({name:a,link:a,unresolved:!0})}}}this.updateProjectsFromFiles()}renderProjectsList(){this.projectsList&&(this.projectsList.empty(),this.selectedProjectItems.length!==0&&this.selectedProjectItems.forEach(e=>{let r=this.projectsList.createDiv({cls:"task-project-item"});e.unresolved&&r.addClass("task-project-item--unresolved");let a=r.createDiv({cls:"task-project-info"}),i=a.createDiv({cls:"task-project-name clickable-project"});if(e.file){let o=RS(this.app,e.file,this.getCurrentTaskPath()||"",e.file.name);if(this.renderProjectLinksWithoutPrefix(i,[o]),e.file.path!==e.file.name){let l=a.createDiv({cls:"task-project-path"});l.textContent=e.file.path}}else i.textContent=e.name,(0,Ee.setTooltip)(i,this.t("contextMenus.task.dependencies.notices.unresolved",{name:e.name}),{placement:"top"});let s=r.createEl("button",{cls:"task-project-remove",text:"\xD7"});(0,Ee.setTooltip)(s,this.t("modals.task.projectsRemoveTooltip"),{placement:"top"}),s.addEventListener("click",()=>{this.removeProject(e)})}))}async openSubtaskSelector(){var e,r,a;try{let i=this.plugin.cacheManager,s=(r=await((e=i==null?void 0:i.getAllTasks)==null?void 0:e.call(i)))!=null?r:[],o=this.isEditMode()?(a=this.task)==null?void 0:a.path:void 0,l=s.filter(c=>o&&c.path===o?!1:!this.selectedSubtaskFiles.some(d=>d.path===c.path));if(l.length===0){new Ee.Notice(this.t("modals.task.organization.notices.noEligibleSubtasks"));return}Fr(this.plugin,l,async c=>{if(!c)return;let d=this.app.vault.getAbstractFileByPath(c.path);d&&this.addSubtask(d)})}catch(i){console.error("Failed to open subtask selector:",i),new Ee.Notice(this.t("modals.task.organization.notices.subtaskSelectFailed"))}}addSubtask(e){this.selectedSubtaskFiles.some(r=>r.path===e.path)||(this.selectedSubtaskFiles.push(e),this.renderSubtasksList())}removeSubtask(e){this.selectedSubtaskFiles=this.selectedSubtaskFiles.filter(r=>r.path!==e.path),this.renderSubtasksList()}renderSubtasksList(){this.subtasksList&&(this.subtasksList.empty(),this.selectedSubtaskFiles.length!==0&&this.selectedSubtaskFiles.forEach(e=>{if(!(e instanceof Ee.TFile))return;let r=this.subtasksList.createDiv({cls:"task-project-item"}),a=r.createDiv({cls:"task-project-info"}),i=a.createDiv({cls:"task-project-name clickable-project"}),s=RS(this.app,e,this.getCurrentTaskPath()||"",e.name);if(this.renderProjectLinksWithoutPrefix(i,[s]),e.path!==e.name){let l=a.createDiv({cls:"task-project-path"});l.textContent=e.path}let o=r.createEl("button",{cls:"task-project-remove",text:"\xD7"});(0,Ee.setTooltip)(o,this.t("modals.task.organization.removeSubtaskTooltip"),{placement:"top"}),o.addEventListener("click",()=>{this.removeSubtask(e)})}))}renderOrganizationLists(){this.renderProjectsList(),this.renderSubtasksList()}renderProjectLinksWithoutPrefix(e,r){let a={metadataCache:this.app.metadataCache,workspace:this.app.workspace};Yv(e,r,a),Array.from(e.childNodes).forEach(i=>{var s;i.nodeType===Node.TEXT_NODE&&((s=i.textContent)==null?void 0:s.trim())==="+"&&i.remove()})}toggleProjectsList(){this.projectsList&&this.projectsList.toggleClass("collapsed",!this.projectsList.hasClass("collapsed"))}toggleSubtasksList(){this.subtasksList&&this.subtasksList.toggleClass("collapsed",!this.subtasksList.hasClass("collapsed"))}validateForm(){return this.title.trim().length>0}focusNextField(){setTimeout(()=>{this.contextsInput?this.contextsInput.focus():this.tagsInput?this.tagsInput.focus():this.timeEstimateInput&&this.timeEstimateInput.focus()},50)}createMarkdownEditor(e,r){try{return new ru(this.app,e,r)}catch(a){console.error("Failed to create markdown editor:",a);let i=e.createEl("textarea",{cls:r.cls+"-fallback",placeholder:r.placeholder});return i.value=r.value,i.addEventListener("input",s=>{r.onChange(s.target.value)}),i.addEventListener("keydown",s=>{s.key==="Enter"&&(s.ctrlKey||s.metaKey)?(s.preventDefault(),r.onSubmit()):s.key==="Escape"?(s.preventDefault(),r.onEscape()):s.key==="Tab"&&r.onTab()&&s.preventDefault()}),null}}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null),this.detailsMarkdownEditor&&(this.detailsMarkdownEditor.destroy(),this.detailsMarkdownEditor=null),super.onClose()}},sx=class extends Ee.AbstractInputSuggest{constructor(t,e,r){super(t,e),this.plugin=r,this.input=e}async getSuggestions(t){let e=this.input.value.split(",").map(i=>i.trim()),r=e[e.length-1];return r?this.plugin.cacheManager.getAllContexts().filter(i=>i&&typeof i=="string").filter(i=>i.toLowerCase().includes(r.toLowerCase())&&!e.slice(0,-1).includes(i)).slice(0,10).map(i=>({value:i,display:i,type:"context",toString(){return this.value}})):[]}renderSuggestion(t,e){e.textContent=t.display}selectSuggestion(t){let e=this.input.value.split(",").map(r=>r.trim());e[e.length-1]=t.value,this.input.value=e.join(", ")+", ",this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.focus()}},ox=class extends Ee.AbstractInputSuggest{constructor(t,e,r){super(t,e),this.plugin=r,this.input=e}async getSuggestions(t){let e=this.input.value.split(",").map(i=>i.trim()),r=e[e.length-1];return r?this.plugin.cacheManager.getAllTags().filter(i=>i&&typeof i=="string").filter(i=>i.toLowerCase().includes(r.toLowerCase())&&!e.slice(0,-1).includes(i)).slice(0,10).map(i=>({value:i,display:i,type:"tag",toString(){return this.value}})):[]}renderSuggestion(t,e){e.textContent=t.display}selectSuggestion(t){let e=this.input.value.split(",").map(r=>r.trim());e[e.length-1]=t.value,this.input.value=e.join(", ")+", ",this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.focus()}},df=class extends Ee.AbstractInputSuggest{constructor(t,e,r,a){super(t,e),this.plugin=r,this.input=e,this.fieldConfig=a}async getSuggestions(t){let e=this.fieldConfig.type==="list",r="",a=[];if(e?(a=this.input.value.split(",").map(o=>o.trim()),r=a[a.length-1]||""):r=this.input.value.trim(),!r)return[];let i=r.match(/\[\[([^\]]*)$/);if(i){let o=i[1]||"",{FileSuggestHelper:l}=await Promise.resolve().then(()=>(tb(),ix));return(await l.suggest(this.plugin,o,20,this.fieldConfig.autosuggestFilter)).map(d=>({value:d.insertText,display:d.displayText,type:"user-field",fieldKey:this.fieldConfig.key,toString(){return this.value}}))}return(await this.getExistingUserFieldValues(this.fieldConfig.key)).filter(o=>o&&typeof o=="string").filter(o=>o.toLowerCase().includes(r.toLowerCase())&&(!e||!a.slice(0,-1).includes(o))).slice(0,10).map(o=>({value:o,display:o,type:"user-field",fieldKey:this.fieldConfig.key,toString(){return this.value}}))}async getExistingUserFieldValues(t){var a,i;let e=async()=>{try{let s=this.plugin.app.vault.getMarkdownFiles(),o=new Set;for(let l of s)try{let c=this.plugin.app.metadataCache.getFileCache(l),d=c==null?void 0:c.frontmatter;if(d&&d[t]!==void 0){let u=d[t];Array.isArray(u)?u.forEach(p=>{typeof p=="string"&&p.trim()&&o.add(p.trim())}):typeof u=="string"&&u.trim()?o.add(u.trim()):(typeof u=="number"||typeof u=="boolean")&&o.add(u.toString())}if(o.size>=200)break}catch(c){continue}return Array.from(o).sort()}catch(s){return console.error("Error getting user field values:",s),[]}},r=(i=(a=this.plugin.settings)==null?void 0:a.suggestionDebounceMs)!=null?i:0;return r?new Promise(s=>{let o=this.plugin;o.__userFieldSuggestTimer&&clearTimeout(o.__userFieldSuggestTimer),o.__userFieldSuggestTimer=setTimeout(async()=>{let l=await e();s(l)},r)}):e()}renderSuggestion(t,e){e.textContent=t.display}selectSuggestion(t){var r;if(this.fieldConfig.type==="list"){let a=this.input.value.split(","),i=(r=a.pop())!=null?r:"",s=a.join(","),o=i.trim(),l=/\[\[/.test(o)?o.replace(/\[\[[^\]]*$/,`[[${t.value}]]`):t.value,c=(s?s+", ":"")+l;this.input.value=c.endsWith(",")?c+" ":c+", "}else{let a=this.input.value,i=a.replace(/\[\[[^\]]*$/,`[[${t.value}]]`);this.input.value=i===a?t.value:i}this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.focus()}}});function L$(n,t){if(!n||!t)throw new Error("Invalid context or settings provided");if(!n.title||typeof n.title!="string")throw new Error("Context must have a valid title");if(n.title.trim().length===0)throw new Error("Title cannot be empty");let e=n.date||new Date;if(!(e instanceof Date)||isNaN(e.getTime()))throw new Error("Invalid date provided in context");try{let r=t.icsIntegration;if(r)switch(r.icsNoteFilenameFormat){case"title":return Qr(n.title);case"zettel":return ic(e);case"timestamp":return B$(e);case"custom":{let a={icsEventTitle:n.icsEventTitle?Qr(n.icsEventTitle):Qr(n.title),icsEventLocation:n.icsEventLocation?Qr(n.icsEventLocation):"",icsEventDescription:n.icsEventDescription?Qr(n.icsEventDescription.substring(0,50)):"",icsEventTitleWithDate:Qr(`${n.icsEventTitle||n.title} - ${M(e,"PPP")}`)};return j$(n,r.customICSNoteFilenameTemplate,e,a)}default:return Qr(n.title)}return Qr(n.title)}catch(r){return console.error("Error generating ICS note filename:",r),Qr(n.title)}}function rb(n,t){if(!n||!t)throw new Error("Invalid context or settings provided");if(!n.title||typeof n.title!="string")throw new Error("Context must have a valid title");if(n.title.trim().length===0)throw new Error("Title cannot be empty");let e=n.date||new Date;if(!(e instanceof Date)||isNaN(e.getTime()))throw new Error("Invalid date provided in context");if(t.storeTitleInFilename)return Qr(n.title);try{switch(t.taskFilenameFormat){case"title":return Qr(n.title);case"zettel":return ic(e);case"timestamp":return B$(e);case"custom":return j$(n,t.customFilenameTemplate,e);default:return ic(e)}}catch(r){return console.error("Error generating filename:",r),ic(e)}}function ic(n){let t=M(n,"yyMMdd"),e=new Date(n);e.setHours(0,0,0,0);let a=Math.floor((n.getTime()-e.getTime())/1e3).toString(36);return`${t}${a}`}function B$(n){return M(n,"yyyy-MM-dd-HHmmss")}function j$(n,t,e,r){if(!n||!t||!e)throw new Error("Invalid inputs for custom filename generation");if(typeof t!="string"||t.trim().length===0)throw new Error("Template must be a non-empty string");if(!(e instanceof Date)||isNaN(e.getTime()))throw new Error("Invalid date for filename generation");try{let a=Qr(n.title),i=n.priority&&["low","normal","medium","high"].includes(n.priority)?n.priority:"normal",s=n.status&&["open","in-progress","done","scheduled"].includes(n.status)?n.status:"open",o={title:a,date:M(e,"yyyy-MM-dd"),time:M(e,"HHmmss"),priority:i,status:s,timestamp:M(e,"yyyy-MM-dd-HHmmss"),dateTime:M(e,"yyyy-MM-dd-HHmm"),year:M(e,"yyyy"),month:M(e,"MM"),day:M(e,"dd"),hour:M(e,"HH"),minute:M(e,"mm"),second:M(e,"ss"),dueDate:n.dueDate||"",scheduledDate:n.scheduledDate||"",shortDate:M(e,"yyMMdd"),monthName:M(e,"MMMM"),monthNameShort:M(e,"MMM"),dayName:M(e,"EEEE"),dayNameShort:M(e,"EEE"),week:M(e,"ww"),quarter:M(e,"q"),time12:M(e,"hh:mm a"),time24:M(e,"HH:mm"),hourPadded:M(e,"HH"),hour12:M(e,"hh"),ampm:M(e,"a"),unix:Math.floor(e.getTime()/1e3).toString(),unixMs:e.getTime().toString(),milliseconds:M(e,"SSS"),ms:M(e,"SSS"),timezone:M(e,"xxx"),timezoneShort:M(e,"xx"),utcOffset:M(e,"xxx"),utcOffsetShort:M(e,"xx"),utcZ:"Z",priorityShort:i.substring(0,1).toUpperCase(),statusShort:s.substring(0,1).toUpperCase(),titleLower:a.toLowerCase(),titleUpper:a.toUpperCase(),titleSnake:a.toLowerCase().replace(/\s+/g,"_"),titleKebab:a.toLowerCase().replace(/\s+/g,"-"),titleCamel:a.replace(/(?:^\w|[A-Z]|\b\w)/g,(c,d)=>d===0?c.toLowerCase():c.toUpperCase()).replace(/\s+/g,""),titlePascal:a.replace(/(?:^\w|[A-Z]|\b\w)/g,c=>c.toUpperCase()).replace(/\s+/g,""),zettel:ic(e),nano:Date.now().toString()+Math.random().toString(36).substring(2,7),...r||{}},l=t;if(t.length>500)throw new Error("Template too long");return Object.entries(o).forEach(([c,d])=>{try{let u=new RegExp(`\\{${c}\\}`,"g");l=l.replace(u,d)}catch(u){console.warn(`Error replacing template variable ${c}:`,u)}}),l=l.replace(/\{[^}]+\}/g,""),l.trim()||(l=a||ic(e)),Qr(l)}catch(a){return console.error("Error generating custom filename:",a),Qr(n.title)||ic(e)}}function Qr(n){if(!n||typeof n!="string")return"untitled";try{let t=n.trim().replace(/\s+/g," ").replace(/[<>:"/\\|?*#[\]]/g,"").replace(/./g,r=>{let a=r.charCodeAt(0);return a<=31||a>=127&&a<=159?"":r}).replace(/^\.+|\.+$/g,"").trim();return(!t||t.length===0)&&(t="untitled"),["CON","PRN","AUX","NUL","COM1","COM2","COM3","COM4","COM5","COM6","COM7","COM8","COM9","LPT1","LPT2","LPT3","LPT4","LPT5","LPT6","LPT7","LPT8","LPT9"].includes(t.toUpperCase())&&(t=`task-${t}`),t}catch(t){return console.error("Error sanitizing filename:",t),"untitled"}}async function uf(n,t,e){if(!n||typeof n!="string")throw new Error("Base filename must be a non-empty string");if(typeof t!="string")throw new Error("Folder path must be a string");if(!e)throw new Error("Vault must be provided");let r=Qr(n);if(!r)throw new Error("Base filename cannot be sanitized to a valid name");let a=t.replace(/\.\./g,"").trim();try{let i=(0,cx.normalizePath)(`${a}/${r}.md`);if(i.length>260)throw new Error("Generated path too long");if(!e.getAbstractFileByPath(i))return r;for(let l=2;l<=999;l++){let c=`${r}-${l}`,d=(0,cx.normalizePath)(`${a}/${c}.md`);if(d.length>260)break;if(!e.getAbstractFileByPath(d))return c}let s=Date.now().toString(36),o=`${r.substring(0,50)}-${s}`;return Qr(o)}catch(i){return console.error("Error generating unique filename:",i),`task-${Date.now().toString(36)}`}}var cx,nb=b(()=>{rr();cx=require("obsidian")});function z$(n){let t=(0,Ei.autocompletion)({override:[async r=>{let a=new Yd(n.settings.nlpTriggers,n.settings.userFields||[]),i=r.state.doc.lineAt(r.pos),s=i.text.slice(0,r.pos-i.from),o=(g,v)=>{if(g===-1)return!1;if(g===0)return!0;let T=v[g-1];return!/\w/.test(T)},l=a.getTriggersOrderedByLength(),c=[];for(let g of l){if(g.propertyId==="tags"&&g.trigger==="#")continue;let v=s.lastIndexOf(g.trigger);o(v,s)&&c.push({propertyId:g.propertyId,trigger:g.trigger,index:v,triggerLength:g.trigger.length})}if(c.length===0)return null;c.sort((g,v)=>v.index-g.index);let d=c[0],u=d.index+d.triggerLength,p=s.slice(u);if(d.propertyId==="projects"&&/^\[\[[^\]]*\]\]/.test(p)||d.propertyId!=="projects"&&(p.includes(" ")||p.includes(`
|
||
`)))return null;let m=await Ile(d.propertyId,p,n,a);if(!m||m.length===0)return null;let h=i.from+d.index+d.triggerLength,f=r.pos;return{from:h,to:f,options:m,validFor:/^[\w\s-]*$/}}],activateOnTyping:!0,closeOnBlur:!0,maxRenderedOptions:10,addToOptions:[{render:(r,a,i)=>{if(!r.projectMetadata)return null;let s=document.createElement("div");s.className="cm-project-suggestion__metadata";let o=r.projectMetadata;for(let l of o){let c=document.createElement("div");c.className="cm-project-suggestion__meta",c.textContent=l,s.appendChild(c)}return s},position:100}]}),e=dx.Prec.high(H$.keymap.of([{key:"ArrowDown",run:(0,Ei.moveCompletionSelection)(!0)},{key:"ArrowUp",run:(0,Ei.moveCompletionSelection)(!1)},{key:"Enter",run:Ei.acceptCompletion},{key:"Tab",run:Ei.acceptCompletion},{key:"Escape",run:Ei.closeCompletion}]));return[dx.Prec.high(t),e]}async function Ile(n,t,e,r){switch(r.getSuggesterType(n)){case"list":return _le(n,t,e);case"file":return Nle(n,t,e,r);case"status":return Rle(t,e);case"priority":return Fle(t,e);case"boolean":return Ole(t);case"native-tag":return null;default:return null}}function _le(n,t,e){let r=[],a=n;switch(n){case"tags":r=e.cacheManager.getAllTags(),a="Tag";break;case"contexts":r=e.cacheManager.getAllContexts(),a="Context";break;default:r=[],a=n;break}return r.filter(i=>i&&typeof i=="string").filter(i=>i.toLowerCase().includes(t.toLowerCase())).slice(0,10).map(i=>({label:i,apply:i+" ",type:"text",info:a}))}async function Nle(n,t,e,r){var a,i,s;try{let o;if(n==="projects")o=e.settings.projectAutosuggest;else{let u=r.getUserField(n);o=u==null?void 0:u.autosuggestFilter}let l=(e.settings.excludedFolders||"").split(",").map(u=>u.trim()).filter(Boolean),d=(await ax.suggest(e,t,20,o)).filter(u=>{let p=e.app.vault.getMarkdownFiles().find(m=>m.basename===u.insertText);return p?!l.some(m=>p.path.startsWith(m)):!0});if(n==="projects"){let u=new no({getFrontmatter:m=>m.frontmatter}),p=((s=(i=(a=e.settings)==null?void 0:a.projectAutosuggest)==null?void 0:i.rows)!=null?s:[]).slice(0,3);return d.map(m=>{var T;let h=m.displayText||m.insertText,f=m.insertText,g=e.app.vault.getMarkdownFiles().find(k=>k.basename===m.insertText),v=[];if(g&&p.length>0){let k=e.app.metadataCache.getFileCache(g),w=(k==null?void 0:k.frontmatter)||{},S=e.fieldMapper.mapFromFrontmatter(w,g.path,e.settings.storeTitleInFilename),x=typeof S.title=="string"?S.title:"",I=Array.isArray(w.aliases)?w.aliases.filter(B=>typeof B=="string"):[],A={basename:g.basename,name:g.name,path:g.path,parent:((T=g.parent)==null?void 0:T.path)||"",title:x,aliases:I,frontmatter:w};v=u.buildMetadataRows(p,A,hi)}return{label:h,apply:`[[${f}]] `,type:"text",info:"Project",projectMetadata:v.length>0?v:void 0}})}return d.map(u=>{let p=u.displayText||u.insertText,m=u.insertText;return{label:p,apply:`[[${m}]] `,type:"text",info:n==="projects"?"Project":n}})}catch(o){return console.error(`Error getting file suggestions for ${n}:`,o),[]}}function Rle(n,t){return na.fromPlugin(t).getStatusSuggestions(n,10).map(a=>({label:a.display,apply:a.value+" ",type:"text",info:"Status"}))}function Fle(n,t){return(t.settings.customPriorities||[]).filter(r=>r.label.toLowerCase().includes(n.toLowerCase())).slice(0,10).map(r=>({label:r.label,apply:r.value+" ",type:"text",info:"Priority"}))}function Ole(n){return["true","false"].filter(e=>e.toLowerCase().includes(n.toLowerCase())).map(e=>({label:e,apply:e+" ",type:"text",info:"Boolean"}))}var Ei,dx,H$,U$=b(()=>{Ei=require("@codemirror/autocomplete"),dx=require("@codemirror/state"),H$=require("@codemirror/view");Gd();VE();tb();yy();gp()});var ab={};Be(ab,{convertDefaultRemindersToReminders:()=>Lle,hasAnyUserFieldsEnabled:()=>W$,isUserFieldConfigComplete:()=>q$,isUserFieldEnabled:()=>Ble});function Lle(n,t){return n.map(e=>{let r={id:`rem_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,type:e.type,description:e.description};if(e.type==="relative"){if(e.relatedTo&&e.offset!==void 0&&e.unit&&e.direction){let a="PT";e.unit==="days"?a=`P${e.offset}D`:e.unit==="hours"?a=`PT${e.offset}H`:a=`PT${e.offset}M`,e.direction==="before"&&(a="-"+a),r.relatedTo=e.relatedTo,r.offset=a}}else e.type==="absolute"&&e.absoluteDate&&e.absoluteTime&&(r.absoluteTime=`${e.absoluteDate}T${e.absoluteTime}:00`);return r}).filter(e=>e.type==="relative"?e.relatedTo&&e.offset:!!e.absoluteTime)}function W$(n){let t=n.userFields;return!t||t.length===0?!1:t.some(e=>!!(e&&e.displayName&&e.key&&e.type))}function q$(n){return!n||!n.enabled?!1:!!(n.displayName&&n.key&&n.type)}function Ble(n){return n.userFields&&n.userFields.length>0?W$(n):q$(n.userField)}var ib=b(()=>{});var V$={};Be(V$,{TaskCreationModal:()=>So});var Zr,ux,So,sb=b(()=>{Zr=require("obsidian");lx();Ke();nb();Dr();Gd();Ke();yl();yy();gp();nx();U$();ux=class extends Zr.AbstractInputSuggest{constructor(e,r,a){super(e,r);this.currentTrigger=null;this.projectMetadataResolver=null;this.plugin=a,this.textarea=r,this.obsidianApp=e}isBoundary(e,r){if(r===-1)return!1;if(r===0)return!0;let a=e[r-1];return!/\w/.test(a)}findActiveTrigger(e){let r=e.lastIndexOf("@"),a=e.lastIndexOf("#"),i=e.lastIndexOf("+"),s=(this.plugin.settings.statusSuggestionTrigger||"").trim(),o=s?e.lastIndexOf(s):-1,l=[{type:"@",index:r},{type:"#",index:a},{type:"+",index:i},{type:"status",index:o}].filter(m=>this.isBoundary(e,m.index));if(l.length===0)return{trigger:null,triggerIndex:-1,queryAfterTrigger:""};l.sort((m,h)=>h.index-m.index);let c=l[0].index,d=l[0].type,u=d==="status"?(s==null?void 0:s.length)||0:1,p=e.slice(c+u);return{trigger:d,triggerIndex:c,queryAfterTrigger:p}}shouldEndSuggestionContext(e,r){return!!(e==="+"&&/^\[\[[^\]]*\]\]/.test(r)||(e==="@"||e==="#"||e==="status")&&(r.includes(" ")||r.includes(`
|
||
`)))}getContextSuggestions(e){return this.plugin.cacheManager.getAllContexts().filter(a=>a&&typeof a=="string").filter(a=>a.toLowerCase().includes(e.toLowerCase())).slice(0,10).map(a=>({value:a,display:a,type:"context",toString(){return this.value}}))}getStatusSuggestions(e){return na.fromPlugin(this.plugin).getStatusSuggestions(e,10).map(a=>({...a,type:"status",toString(){return this.value}}))}getTagSuggestions(e){return this.plugin.cacheManager.getAllTags().filter(a=>a&&typeof a=="string").filter(a=>a.toLowerCase().includes(e.toLowerCase())).slice(0,10).map(a=>({value:a,display:a,type:"tag",toString(){return this.value}}))}getProjectMetadataResolver(){var e,r,a;if(!this.projectMetadataResolver){let i=(a=(e=this.obsidianApp)!=null?e:this.app)!=null?a:(r=this.plugin)==null?void 0:r.app;this.projectMetadataResolver=new no({getFrontmatter:s=>{let o=i==null?void 0:i.vault.getAbstractFileByPath(s.path),l=o?i==null?void 0:i.metadataCache.getFileCache(o):void 0;return(l==null?void 0:l.frontmatter)||{}}})}return this.projectMetadataResolver}async getProjectSuggestions(e){var l,c,d,u,p,m;let{FileSuggestHelper:r}=await Promise.resolve().then(()=>(tb(),ix)),a=(this.plugin.settings.excludedFolders||"").split(",").map(h=>h.trim()).filter(Boolean),i=await r.suggest(this.plugin,e,20,this.plugin.settings.projectAutosuggest),s=(d=(l=this.obsidianApp)!=null?l:this.app)!=null?d:(c=this.plugin)==null?void 0:c.app,o=i.filter(h=>{let f=s==null?void 0:s.vault.getMarkdownFiles().find(g=>g.basename===h.insertText);return f?!a.some(g=>f.path.startsWith(g)):!0});try{let h=this.getProjectMetadataResolver(),f=((m=(p=(u=this.plugin.settings)==null?void 0:u.projectAutosuggest)==null?void 0:p.rows)!=null?m:[]).slice(0,3);return o.map(g=>{var z;let v=s==null?void 0:s.vault.getMarkdownFiles().find(U=>U.basename===g.insertText);if(!v)return{basename:g.insertText,displayName:g.displayText,type:"project",toString(){return this.basename}};let T=s==null?void 0:s.metadataCache.getFileCache(v),k=(T==null?void 0:T.frontmatter)||{},w=this.plugin.fieldMapper.mapFromFrontmatter(k,v.path,this.plugin.settings.storeTitleInFilename),S=typeof w.title=="string"?w.title:"",x=(0,Zr.parseFrontMatterAliases)(k)||[],I=Array.isArray(x)?x.filter(U=>typeof U=="string"):[],A={basename:v.basename,name:v.name,path:v.path,parent:((z=v.parent)==null?void 0:z.path)||"",title:S,aliases:I,frontmatter:k},B=this.generateProjectDisplayName(f,A,h,v.basename);return{basename:g.insertText,displayName:B,type:"project",entry:{basename:A.basename,name:A.name,path:A.path,parent:A.parent,title:A.title,aliases:A.aliases,frontmatter:A.frontmatter},toString(){return this.basename}}})}catch(h){return console.error("Enhanced project autosuggest failed, falling back to basic suggestions",h),o.map(f=>({basename:f.insertText,displayName:f.displayText,type:"project",toString(){return this.basename}}))}}generateProjectDisplayName(e,r,a,i){var o;let s=[];for(let l of e)try{let c=hi(l),d=[];for(let p of c){if(p.property.startsWith("literal:")){d.push(p.property.slice(8));continue}let m=a.resolve(p.property,r)||"";if(m)if(p.showName){let h=(o=p.displayName)!=null?o:p.property;d.push(`${h}: ${m}`)}else d.push(m)}let u=d.join(" ");u.trim()&&s.push(u)}catch(c){}return s.join(" | ")||i}async getSuggestions(e){let r=this.textarea.selectionStart,a=this.textarea.value.slice(0,r),{trigger:i,triggerIndex:s,queryAfterTrigger:o}=this.findActiveTrigger(a);if(!i||s===-1)return this.currentTrigger=null,[];if(this.shouldEndSuggestionContext(i,o))return this.currentTrigger=null,[];switch(this.currentTrigger=i,i){case"@":return this.getContextSuggestions(o);case"status":return this.getStatusSuggestions(o);case"#":return this.getTagSuggestions(o);case"+":return await this.getProjectSuggestions(o);default:return[]}}renderSuggestion(e,r){var c,d,u,p,m;r.setAttribute("role","option");let a=e.type==="project"?e.displayName:e.display;r.setAttribute("aria-label",`${e.type}: ${a}`);let i=r.createSpan("nlp-suggest-icon");i.textContent=this.currentTrigger==="status"?this.plugin.settings.statusSuggestionTrigger||"":this.currentTrigger||"",i.setAttribute("aria-hidden","true");let s=r.createSpan("nlp-suggest-text"),o=(h,f)=>{if(!f)return;let g=f.toLowerCase().split(/\s+/).filter(Boolean);if(!g.length)return;let v=T=>{var k;if(T.nodeType===Node.TEXT_NODE){let w=T.nodeValue||"",S=w.toLowerCase(),x=[];for(let z of g){let U=S.indexOf(z);for(;U!==-1;)x.push({start:U,end:U+z.length}),U=S.indexOf(z,U+1)}x.sort((z,U)=>z.start-U.start);let I=[];for(let z of x)(!I.length||z.start>=I[I.length-1].end)&&I.push(z);if(!I.length)return;let A=document.createDocumentFragment(),B=0;for(let z of I){z.start>B&&A.appendChild(document.createTextNode(w.slice(B,z.start)));let U=document.createElement("mark");U.textContent=w.slice(z.start,z.end),A.appendChild(U),B=z.end}B<w.length&&A.appendChild(document.createTextNode(w.slice(B))),(k=T.parentNode)==null||k.replaceChild(A,T)}else if(T.nodeType===Node.ELEMENT_NODE&&T.tagName!=="MARK"){let w=Array.from(T.childNodes);for(let S of w)v(S)}};v(h)},l="";if(this.currentTrigger==="+"){let h=this.textarea.selectionStart,f=this.textarea.value.slice(0,h),g=f.lastIndexOf("+");if(g!==-1){let v=f.slice(g+1);v&&!v.includes(`
|
||
`)&&(l=v.trim())}}if(e.type==="project"){let h=s.createDiv({cls:"nlp-suggest-project__filename",text:e.basename});l&&o(h,l);let f=((u=(d=(c=this.plugin.settings)==null?void 0:c.projectAutosuggest)==null?void 0:d.rows)!=null?u:[]).slice(0,3);if(Array.isArray(f)&&f.length>0&&e.entry){let g=this.getProjectMetadataResolver();for(let v=0;v<Math.min(f.length,3);v++){let T=f[v];if(T)try{let k=hi(T),w=s.createDiv({cls:"nlp-suggest-project__meta"}),S=new Set(["title","aliases","file.basename"]),x=!1;for(let I of k){if(I.property.startsWith("literal:")){let U=I.property.slice(8);U&&(w.childNodes.length&&w.appendChild(document.createTextNode(" ")),w.appendChild(document.createTextNode(U)),x=!0);continue}let A=g.resolve(I.property,e.entry);if(!A)continue;if(w.childNodes.length&&w.appendChild(document.createTextNode(" ")),I.showName){let U=document.createElement("span");U.className="nlp-suggest-project__meta-label",U.textContent=`${(p=I.displayName)!=null?p:I.property}:`,w.appendChild(U),w.appendChild(document.createTextNode(" "))}let B=document.createElement("span");B.className="nlp-suggest-project__meta-value",B.textContent=A,w.appendChild(B),x=!0;let z=I.searchable===!0||S.has(I.property);l&&z&&o(B,l)}(!x||((m=w.textContent)==null?void 0:m.trim().length)===0)&&w.remove()}catch(k){}}}}else e.type,s.textContent=e.display}selectSuggestion(e){if(!this.currentTrigger)return;let r=this.textarea.selectionStart,a=this.textarea.value.slice(0,r),i=this.textarea.value.slice(r),s=-1,o=(this.plugin.settings.statusSuggestionTrigger||"").trim();if(this.currentTrigger==="@"?s=a.lastIndexOf("@"):this.currentTrigger==="#"?s=a.lastIndexOf("#"):this.currentTrigger==="+"?s=a.lastIndexOf("+"):this.currentTrigger==="status"&&o&&(s=a.lastIndexOf(o)),s===-1)return;let l=e.type==="project"?e.basename:e.value,c=a.slice(0,s),d="";this.currentTrigger==="+"?d="+[["+l+"]]":this.currentTrigger==="status"?d=e.type==="status"?e.label:l:d=this.currentTrigger+l;let u=c+d+(d?" ":"")+i;this.textarea.value=u;let p=c.length+d.length+(d?1:0);this.textarea.setSelectionRange(p,p),this.textarea.dispatchEvent(new Event("input",{bubbles:!0})),this.textarea.focus()}},So=class extends nu{constructor(e,r,a={}){super(e,r);this.nlMarkdownEditor=null;this.nlpSuggest=null;this.eventListeners=[];this.options=a,this.nlParser=na.fromPlugin(r)}getModalTitle(){return this.t("modals.taskCreation.title")}isCreationMode(){return!0}addTrackedEventListener(e,r,a){e.addEventListener(r,a),this.eventListeners.push({element:e,event:r,handler:a})}removeAllEventListeners(){for(let{element:e,event:r,handler:a}of this.eventListeners)e.removeEventListener(r,a);this.eventListeners=[]}createPrimaryInput(e){this.plugin.settings.enableNaturalLanguageInput?this.createNaturalLanguageInput(e):(this.createTitleInput(e),this.isExpanded=!0,this.containerEl.addClass("expanded"))}createAdditionalSections(e){(this.options.prePopulatedValues&&this.options.prePopulatedValues.projects||this.selectedProjectItems.length>0)&&this.renderProjectsList()}createNaturalLanguageInput(e){let r=e.createDiv("nl-input-container"),a=r.createDiv("nl-markdown-editor");a.setAttribute("role","textbox"),a.setAttribute("aria-label",this.t("modals.taskCreation.nlPlaceholder")),a.setAttribute("aria-multiline","true"),this.nlPreviewContainer=r.createDiv("nl-preview-container"),this.nlPreviewContainer.setAttribute("role","status"),this.nlPreviewContainer.setAttribute("aria-live","polite"),this.nlPreviewContainer.setAttribute("aria-label","Task preview");try{let i=z$(this.plugin);this.nlMarkdownEditor=new ru(this.app,a,{value:"",placeholder:this.t("modals.taskCreation.nlPlaceholder"),cls:"nlp-editor",extensions:i,onChange:s=>{s.trim()?this.updateNaturalLanguagePreview(s.trim()):this.clearNaturalLanguagePreview()},onSubmit:()=>{this.handleSave()},onEscape:()=>{this.close()},onTab:()=>(this.isExpanded||this.expandModal(),setTimeout(()=>{let s=this.modalEl.querySelector(".title-input-detailed");s&&s.focus()},50),!0),onEnter:(s,o,l)=>l?!1:!!o}),setTimeout(()=>{var s;if(this.nlMarkdownEditor){let o=(s=this.nlMarkdownEditor.editor)==null?void 0:s.cm;o&&(o.focus(),o.scrollDOM.scrollTop=0)}},100)}catch(i){console.error("Failed to create NLP markdown editor:",i),this.nlInput=a.createEl("textarea",{cls:"nl-input",attr:{placeholder:this.t("modals.taskCreation.nlPlaceholder"),rows:"3"}});let s=()=>{let l=this.nlInput.value.trim();l?this.updateNaturalLanguagePreview(l):this.clearNaturalLanguagePreview()};this.addTrackedEventListener(this.nlInput,"input",s);let o=l=>{let c=this.nlInput.value.trim();if(!c)return;let d=l;d.key==="Enter"&&(d.ctrlKey||d.metaKey)?(d.preventDefault(),this.handleSave()):d.key==="Tab"&&d.shiftKey&&(d.preventDefault(),this.parseAndFillForm(c))};this.addTrackedEventListener(this.nlInput,"keydown",o),this.nlpSuggest=new ux(this.app,this.nlInput,this.plugin),setTimeout(()=>{this.nlInput.focus()},100)}}updateNaturalLanguagePreview(e){if(!this.nlPreviewContainer)return;let r=this.nlParser.parseInput(e),a=this.nlParser.getPreviewData(r);a.length>0&&r.title?(this.nlPreviewContainer.empty(),this.nlPreviewContainer.style.display="block",a.forEach(i=>{let s=this.nlPreviewContainer.createDiv("nl-preview-item");s.textContent=i.text})):this.clearNaturalLanguagePreview()}clearNaturalLanguagePreview(){this.nlPreviewContainer&&(this.nlPreviewContainer.empty(),this.nlPreviewContainer.style.display="none")}getNLPInputValue(){return this.nlMarkdownEditor?this.nlMarkdownEditor.value:this.nlInput?this.nlInput.value:""}createActionBar(e){if(this.actionBar=e.createDiv("action-bar"),this.plugin.settings.enableNaturalLanguageInput){this.createActionIcon(this.actionBar,"wand",this.t("modals.taskCreation.actions.fillFromNaturalLanguage"),(a,i)=>{let s=this.getNLPInputValue().trim();s&&this.parseAndFillForm(s)}),this.createActionIcon(this.actionBar,this.isExpanded?"chevron-up":"chevron-down",this.isExpanded?this.t("modals.taskCreation.actions.hideDetailedOptions"):this.t("modals.taskCreation.actions.showDetailedOptions"),(a,i)=>{this.toggleDetailedForm();let s=a.querySelector(".icon");s&&(0,Zr.setIcon)(s,this.isExpanded?"chevron-up":"chevron-down"),(0,Zr.setTooltip)(a,this.isExpanded?this.t("modals.taskCreation.actions.hideDetailedOptions"):this.t("modals.taskCreation.actions.showDetailedOptions"),{placement:"top"})});let r=this.actionBar.createDiv("action-separator");r.style.width="1px",r.style.height="24px",r.style.backgroundColor="var(--background-modifier-border)",r.style.margin="0 var(--size-4-2)"}this.createActionIcon(this.actionBar,"calendar",this.t("modals.task.actions.due"),(r,a)=>{this.showDateContextMenu(a,"due")},"due-date"),this.createActionIcon(this.actionBar,"calendar-clock",this.t("modals.task.actions.scheduled"),(r,a)=>{this.showDateContextMenu(a,"scheduled")},"scheduled-date"),this.createActionIcon(this.actionBar,"dot-square",this.t("modals.task.actions.status"),(r,a)=>{this.showStatusContextMenu(a)},"status"),this.createActionIcon(this.actionBar,"star",this.t("modals.task.actions.priority"),(r,a)=>{this.showPriorityContextMenu(a)},"priority"),this.createActionIcon(this.actionBar,"refresh-ccw",this.t("modals.task.actions.recurrence"),(r,a)=>{this.showRecurrenceContextMenu(a)},"recurrence"),this.createActionIcon(this.actionBar,"bell",this.t("modals.task.actions.reminders"),(r,a)=>{this.showReminderContextMenu(a)},"reminders"),this.updateIconStates()}parseAndFillForm(e){let r=this.nlParser.parseInput(e);this.applyParsedData(r),this.isExpanded||this.expandModal()}applyParsedData(e){var r;if(e.title&&(this.title=e.title),e.status&&(this.status=e.status),e.priority&&(this.priority=e.priority),e.dueDate&&(this.dueDate=e.dueTime?hr(e.dueDate,e.dueTime):e.dueDate),e.scheduledDate&&(this.scheduledDate=e.scheduledTime?hr(e.scheduledDate,e.scheduledTime):e.scheduledDate),e.contexts&&e.contexts.length>0&&(this.contexts=e.contexts.join(", ")),e.tags&&e.tags.length>0&&(this.tags=Qa(e.tags.join(", "))),e.details&&(this.details=e.details),e.recurrence&&(this.recurrenceRule=e.recurrence),e.estimate!==void 0&&(this.timeEstimate=e.estimate>0?e.estimate:0,this.timeEstimateInput&&(this.timeEstimateInput.value=this.timeEstimate>0?this.timeEstimate.toString():"")),this.titleInput&&(this.titleInput.value=this.title),this.detailsInput&&(this.detailsInput.value=this.details),this.detailsMarkdownEditor&&this.detailsMarkdownEditor.setValue(this.details),this.contextsInput&&(this.contextsInput.value=this.contexts),this.tagsInput&&(this.tagsInput.value=this.tags),e.projects&&e.projects.length>0&&(this.initializeProjectsFromStrings(e.projects),this.renderProjectsList()),e.userFields){console.debug("[TaskCreationModal] applyParsedData - parsed.userFields:",e.userFields),console.debug("[TaskCreationModal] applyParsedData - available user field definitions:",this.plugin.settings.userFields);for(let[a,i]of Object.entries(e.userFields)){let s=(r=this.plugin.settings.userFields)==null?void 0:r.find(o=>o.id===a);console.debug(`[TaskCreationModal] Looking for field ${a}, found:`,s),s?(Array.isArray(i)?this.userFields[s.key]=i.join(", "):this.userFields[s.key]=i,console.debug(`[TaskCreationModal] Applied user field ${s.displayName} (key: ${s.key}): ${i}`),console.debug("[TaskCreationModal] Current this.userFields:",this.userFields)):console.warn(`[TaskCreationModal] No user field definition found for field ID: ${a}`)}}else console.debug("[TaskCreationModal] applyParsedData - NO parsed.userFields");this.updateIconStates()}toggleDetailedForm(){this.isExpanded?(this.isExpanded=!1,this.detailsContainer.style.display="none",this.containerEl.removeClass("expanded")):this.expandModal()}async initializeFormData(){this.priority=this.plugin.settings.defaultTaskPriority,this.status=this.plugin.settings.defaultTaskStatus;let e=this.plugin.settings.taskCreationDefaults;if(this.dueDate=ba(e.defaultDueDate),this.scheduledDate=ba(e.defaultScheduledDate),this.contexts=e.defaultContexts||"",this.tags=e.defaultTags||"",e.defaultProjects){let r=ha(e.defaultProjects);r.length>0&&this.initializeProjectsFromStrings(r)}if(e.defaultTimeEstimate&&e.defaultTimeEstimate>0&&(this.timeEstimate=e.defaultTimeEstimate),e.defaultReminders&&e.defaultReminders.length>0){let{convertDefaultRemindersToReminders:r}=await Promise.resolve().then(()=>(ib(),ab));this.reminders=r(e.defaultReminders)}if(this.plugin.settings.userFields){for(let r of this.plugin.settings.userFields)if(r.defaultValue!==void 0)if(r.type==="date"&&typeof r.defaultValue=="string"){let a=r.defaultValue,i=ba(a);i&&(this.userFields[r.key]=i)}else this.userFields[r.key]=r.defaultValue}this.options.prePopulatedValues&&this.applyPrePopulatedValues(this.options.prePopulatedValues),this.details=this.normalizeDetails(this.details),this.originalDetails=this.details}applyPrePopulatedValues(e){e.title!==void 0&&(this.title=e.title),e.due!==void 0&&(this.dueDate=e.due),e.scheduled!==void 0&&(this.scheduledDate=e.scheduled),e.priority!==void 0&&(this.priority=e.priority),e.status!==void 0&&(this.status=e.status),e.contexts!==void 0&&(this.contexts=e.contexts.join(", ")),e.projects!==void 0&&(e.projects.filter(a=>a&&typeof a=="string"&&a.trim()!=="").length>0&&this.initializeProjectsFromStrings(e.projects),this.renderProjectsList()),e.tags!==void 0&&(this.tags=Qa(e.tags.filter(r=>r!==this.plugin.settings.taskTag).join(", "))),e.timeEstimate!==void 0&&(this.timeEstimate=e.timeEstimate),e.recurrence!==void 0&&typeof e.recurrence=="string"&&(this.recurrenceRule=e.recurrence),e.recurrence_anchor!==void 0&&(this.recurrenceAnchor=e.recurrence_anchor)}async handleSave(){if(this.plugin.settings.enableNaturalLanguageInput){let e=this.getNLPInputValue().trim();if(e&&!this.title.trim()){let r=this.nlParser.parseInput(e);this.applyParsedData(r)}}if(!this.validateForm()){new Zr.Notice(this.t("modals.taskCreation.notices.titleRequired"));return}try{let e=this.buildTaskData(),r=await this.plugin.taskService.createTask(e,{applyDefaults:!1}),a=r.taskInfo,i=r.taskInfo.title.replace(/[<>:"/\\|?*]/g,"").trim(),s=r.file.basename;if(s.startsWith("task-")&&s!==i?new Zr.Notice(this.t("modals.taskCreation.notices.successShortened",{title:a.title})):new Zr.Notice(this.t("modals.taskCreation.notices.success",{title:a.title})),this.blockingItems.length>0){let o=[],l={},c=[];if(this.blockingItems.forEach(d=>{d.path?o.includes(d.path)||(o.push(d.path),l[d.path]={...d.dependency}):c.push(d.dependency.uid)}),o.length>0){await this.plugin.taskService.updateBlockingRelationships(a,o,[],l);let d=await this.plugin.cacheManager.getTaskInfo(a.path);d&&(a=d)}c.length>0&&new Zr.Notice(this.t("modals.taskCreation.notices.blockingUnresolved",{entries:c.join(", ")})),this.blockingItems=[]}this.selectedSubtaskFiles.length>0&&await this.applySubtaskAssignments(a),this.options.onTaskCreated&&this.options.onTaskCreated(a),this.close()}catch(e){console.error("Failed to create task:",e);let r=e instanceof Error&&e.message?e.message:String(e);new Zr.Notice(this.t("modals.taskCreation.notices.failure",{message:r}))}}buildTaskData(){let e=Oe(),r=this.contexts.split(",").map(c=>c.trim()).filter(c=>c.length>0),a=ha(this.projects),i=Qa(this.tags).split(",").map(c=>c.trim()).filter(c=>c.length>0);this.plugin.settings.taskIdentificationMethod==="tag"&&this.plugin.settings.taskTag&&!i.includes(this.plugin.settings.taskTag)&&i.push(this.plugin.settings.taskTag);let s={title:this.title.trim(),due:this.dueDate||void 0,scheduled:this.scheduledDate||void 0,priority:this.priority,status:this.status,contexts:r.length>0?r:void 0,projects:a.length>0?a:void 0,tags:i.length>0?i:void 0,timeEstimate:this.timeEstimate>0?this.timeEstimate:void 0,recurrence:this.recurrenceRule||void 0,recurrence_anchor:this.recurrenceRule?this.recurrenceAnchor:void 0,reminders:this.reminders.length>0?this.reminders:void 0,creationContext:"manual-creation",dateCreated:e,dateModified:e,customFrontmatter:this.buildCustomFrontmatter()},o=this.blockedByItems.map(c=>({...c.dependency}));o.length>0&&(s.blockedBy=o);let l=this.normalizeDetails(this.details).trimEnd();return l.length>0&&(s.details=l),s}buildCustomFrontmatter(){let e={};console.debug("[TaskCreationModal] Building custom frontmatter from userFields:",this.userFields);for(let[r,a]of Object.entries(this.userFields))a!=null&&a!==""&&(e[r]=a,console.debug(`[TaskCreationModal] Adding to frontmatter: ${r} = ${a}`));return console.debug("[TaskCreationModal] Final custom frontmatter:",e),e}generateFilename(e){let r={title:e.title||"",status:e.status||"open",priority:e.priority||"normal",dueDate:e.due,scheduledDate:e.scheduled};return rb(r,this.plugin.settings)}createTitleInput(e){this.plugin.settings.enableNaturalLanguageInput||super.createTitleInput(e)}async applySubtaskAssignments(e){let r=this.app.vault.getAbstractFileByPath(e.path);if(r instanceof Zr.TFile)for(let a of this.selectedSubtaskFiles)try{let i=await this.plugin.cacheManager.getTaskInfo(a.path);if(!i)continue;let s=this.buildProjectReference(r,a.path),o=`[[${r.basename}]]`,l=Array.isArray(i.projects)?i.projects:[];if(l.includes(s)||l.includes(o))continue;let d=[...l.filter(u=>u!==o),s];await this.plugin.updateTaskProperty(i,"projects",d)}catch(i){console.error("Failed to assign subtask:",i)}}onClose(){this.nlMarkdownEditor&&(this.nlMarkdownEditor.destroy(),this.nlMarkdownEditor=null),this.nlpSuggest&&(this.nlpSuggest.close(),this.nlpSuggest=null),this.removeAllEventListeners(),super.onClose()}}});var ou,mx=b(()=>{ou=class n{constructor(t){this.statuses=t}getNextStatus(t){var i;let e=this.getStatusesByOrder(),r=e.findIndex(s=>s.value===t);if(r===-1)return((i=e[0])==null?void 0:i.value)||"open";let a=(r+1)%e.length;return e[a].value}getStatusConfig(t){return this.statuses.find(e=>e.value===t)}getCompletedStatuses(){return this.statuses.filter(t=>t.isCompleted).map(t=>t.value)}getOpenStatuses(){return this.statuses.filter(t=>!t.isCompleted).map(t=>t.value)}getStatusesByOrder(){return[...this.statuses].sort((t,e)=>t.order-e.order)}isCompletedStatus(t){let e=this.getStatusConfig(t);return(e==null?void 0:e.isCompleted)||!1}getStatusOrder(t){let e=this.getStatusConfig(t);return(e==null?void 0:e.order)||0}getStatusStyles(){let t=[];for(let e of this.statuses){let r=`--status-${e.value.replace(/[^a-zA-Z0-9-]/g,"-")}-color`;t.push(`${r}: ${e.color};`)}return`:root { ${t.join(" ")} }`}getAllStatuses(){return[...this.statuses]}getNonCompletionStatuses(){return this.statuses.filter(t=>!t.isCompleted)}updateStatuses(t){this.statuses=t}static validateStatuses(t){let e=[];t.length<2&&e.push("At least 2 statuses are required"),t.some(l=>l.isCompleted)||e.push("At least one status must be marked as completed");let a=t.map(l=>l.value),i=new Set(a);a.length!==i.size&&e.push("Status values must be unique");let s=t.map(l=>l.id),o=new Set(s);s.length!==o.size&&e.push("Status IDs must be unique");for(let l of t){if(!l.value||l.value.trim()===""){e.push("Status values cannot be empty");break}if(!l.label||l.label.trim()===""){e.push("Status labels cannot be empty");break}if(!l.color||!l.color.match(/^#[0-9a-fA-F]{6}$/)){e.push("Status colors must be valid hex colors (#rrggbb)");break}}return{valid:e.length===0,errors:e}}static generateStatusId(t){let e=new Set(t.map(i=>i.id)),r=1,a=`status-${r}`;for(;e.has(a);)r++,a=`status-${r}`;return a}static createDefaultStatus(t){let e=n.generateStatusId(t),r=Math.max(...t.map(a=>a.order),0)+1;return{id:e,value:"new-status",label:"New status",color:"#808080",isCompleted:!1,order:r,autoArchive:!1,autoArchiveDelay:5}}}});var G$={};Be(G$,{HierarchicalGroupingService:()=>hx});var hx,K$=b(()=>{hx=class{constructor(t){this.resolveUserFieldValues=t}group(t,e,r,a="asc",i=[]){let s=new Map,o=(c,d)=>{var p,m,h,f,g,v,T,k;if(!d||d==="none")return["all"];let u=w=>{let S=w.map(x=>String(x!=null?x:"").trim()).filter(x=>x!=="");return S.length?S:[]};if(d.startsWith("user:")){let w=d.slice(5);if(this.resolveUserFieldValues){let I=this.resolveUserFieldValues(c,w)||[],A=u(I);return A.length?A:[`No ${w}`]}let S=(p=c.customProperties)==null?void 0:p[w];if(Array.isArray(S)){let I=u(S);return I.length?I:[`No ${w}`]}let x=String(S!=null?S:"").trim();return x!==""?[x]:[`No ${w}`]}switch(d){case"status":return[((m=c.status)!=null?m:"").trim()||"No Status"];case"priority":return[((h=c.priority)!=null?h:"").trim()||"No Priority"];case"context":{let w=u((f=c.contexts)!=null?f:[]);return w.length?w:["No Context"]}case"project":{let w=u((g=c.projects)!=null?g:[]).map(I=>{let A=I.match(/^\[\[([^|\]]+)(?:\|([^\]]+))?\]\]$/);if(A){let B=A[1]||"";return A[2]||B.split("#")[0].split("/").pop()||B||I}return I}),S=[],x=new Set;for(let I of w)x.has(I)||(x.add(I),S.push(I));return S.length?S:["No Project"]}case"tags":{let w=u((v=c.tags)!=null?v:[]);return w.length?w:["No Tag"]}case"due":{let w=((T=c.due)!=null?T:"").trim();return w?[w.split("T")[0]]:["No Due Date"]}case"scheduled":{let w=((k=c.scheduled)!=null?k:"").trim();return w?[w.split("T")[0]]:["No Scheduled Date"]}default:{let S=c[d];if(Array.isArray(S)){let I=u(S);return I.length?I:[`No ${d}`]}let x=String(S!=null?S:"").trim();return x!==""?[x]:[`No ${d}`]}}};for(let c of t){let d=o(c,e),u=o(c,r);for(let p of d){s.has(p)||s.set(p,new Map);let m=s.get(p);for(let h of u)m.has(h)||m.set(h,[]),m.get(h).push(c)}}let l=new Map;for(let[c,d]of s){let u=this.sortSubgroups(d,r,a,i);l.set(c,u)}return l}sortSubgroups(t,e,r,a){let i=Array.from(t.keys()),s=this.sortSubgroupKeys(i,e,r,a),o=new Map;for(let l of s)o.set(l,t.get(l));return o}sortSubgroupKeys(t,e,r,a){let i=o=>/^No\s/i.test(o);if(typeof e=="string"&&e.startsWith("user:")){let o=e.slice(5),l=a.find(u=>(u.id||u.key)===o),c=(u,p)=>{if(i(u)&&!i(p))return-1;if(!i(u)&&i(p))return 1;if((l==null?void 0:l.type)==="number"){let m=parseFloat(u),h=parseFloat(p),f=isNaN(m)?Number.POSITIVE_INFINITY:m,g=isNaN(h)?Number.POSITIVE_INFINITY:h;if(f!==g)return f-g}else if((l==null?void 0:l.type)==="boolean"){let m=u==="true"?0:u==="false"?1:2,h=p==="true"?0:p==="false"?1:2;if(m!==h)return m-h}else if((l==null?void 0:l.type)==="date"){let m=Date.parse(u),h=Date.parse(p),f=isNaN(m)?Number.POSITIVE_INFINITY:m,g=isNaN(h)?Number.POSITIVE_INFINITY:h;if(f!==g)return f-g}return u.localeCompare(p)},d=t.slice().sort(c);return r==="desc"?d.reverse():d}let s=t.slice().sort((o,l)=>i(o)&&!i(l)?-1:!i(o)&&i(l)?1:o.localeCompare(l));return r==="desc"?s.reverse():s}}});var Z$={};Be(Z$,{TaskLinkDetectionService:()=>ff});var lc,ff,fx=b(()=>{lc=require("obsidian"),ff=class{constructor(t){this.linkCache=new Map;this.plugin=t}async detectTaskLink(t,e,r="wikilink"){let a=r==="wikilink"?this.parseWikilink(t):this.parseMarkdownLink(t);if(!a)return{isValidTaskLink:!1};let{linkPath:i,displayText:s}=a,o=`${e}:${i}`,l=this.linkCache.get(o);if(l){let p=this.plugin.app.vault.getAbstractFileByPath(i);if(p instanceof lc.TFile&&p.stat.mtime===l.lastModified)return l.result}let c=this.resolveLinkPath(i,e);if(!c){let p={isValidTaskLink:!1};return this.cacheResult(o,p,0),p}let d=this.plugin.app.vault.getAbstractFileByPath(c);if(!(d instanceof lc.TFile)){let p={isValidTaskLink:!1};return this.cacheResult(o,p,0),p}try{let p=await this.plugin.cacheManager.getTaskInfo(c);if(p){let m={isValidTaskLink:!0,taskPath:c,taskInfo:p,displayText:s};return this.cacheResult(o,m,d.stat.mtime),m}}catch(p){console.debug("TaskLinkDetectionService: Error checking task info for link:",c,p)}let u={isValidTaskLink:!1};return this.cacheResult(o,u,d.stat.mtime),u}parseWikilink(t){let e=t.slice(2,-2).trim();if(!e)return null;let r=e.indexOf("|");if(r!==-1){let i=e.slice(0,r).trim(),s=e.slice(r+1).trim();return!i||!s?null:{linkPath:(0,lc.parseLinktext)(i).path,displayText:s}}let a=(0,lc.parseLinktext)(e);return{linkPath:a.path,displayText:a.subpath||void 0}}parseMarkdownLink(t){let e=t.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(!e)return null;let r=e[1].trim(),a=e[2].trim();if(!a)return null;try{a=decodeURIComponent(a)}catch(s){console.debug("TaskLinkDetectionService: Failed to decode URI component:",a,s)}let i=(0,lc.parseLinktext)(a);return{linkPath:i.path,displayText:r||i.subpath||void 0}}resolveLinkPath(t,e){try{let r=this.plugin.app.metadataCache.getFirstLinkpathDest(t,e);return(r==null?void 0:r.path)||null}catch(r){return console.debug("Error resolving link path:",t,r),null}}cacheResult(t,e,r){if(this.linkCache.set(t,{result:e,lastModified:r}),this.linkCache.size>1e3){let a=this.linkCache.keys().next().value;this.linkCache.delete(a)}}clearCacheForFile(t){for(let[e]of this.linkCache)e.includes(t)&&this.linkCache.delete(e)}clearCache(){this.linkCache.clear()}findWikilinks(t){let e=[],r=/\[\[([^\]]+)\]\]/g,a;for(;(a=r.exec(t))!==null;)e.push({match:a[0],start:a.index,end:a.index+a[0].length,type:"wikilink"});let i=/\[([^\]]*)\]\(([^)]+)\)/g;for(r.lastIndex=0;(a=i.exec(t))!==null;)e.push({match:a[0],start:a.index,end:a.index+a[0].length,type:"markdown"});return e.sort((s,o)=>s.start-o.start)}cleanup(){this.linkCache.clear()}}});var J$,cu,gx=b(()=>{J$=require("@codemirror/view");wb();Or();ko();cu=class n extends J$.WidgetType{constructor(t,e,r,a){super(),this.taskInfo=t,this.plugin=e,this.originalText=r,this.displayText=a}toDOM(t){let e=new Date,r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),a=this.plugin.settings.inlineVisibleProperties||["status","priority","due","scheduled","recurrence"],i=pn(a,this.plugin),s=document.createElement("span");s.className="tasknotes-plugin tasknotes-inline-widget",s.style.display="inline",s.style.verticalAlign="baseline";let o=Ct(this.taskInfo,this.plugin,i,{layout:"inline",targetDate:r});return s.appendChild(o),o.dataset.originalText=this.originalText,o.addEventListener("tasknotes:task-updated",()=>{setTimeout(()=>{t&&typeof t.dispatch=="function"&&xo(t,this.taskInfo.path)},50)}),s}eq(t){return t instanceof n?this.taskInfo.path===t.taskInfo.path&&this.taskInfo.status===t.taskInfo.status&&this.taskInfo.title===t.taskInfo.title&&this.taskInfo.priority===t.taskInfo.priority&&this.taskInfo.archived===t.taskInfo.archived&&this.taskInfo.due===t.taskInfo.due&&this.taskInfo.scheduled===t.taskInfo.scheduled&&this.taskInfo.recurrence===t.taskInfo.recurrence&&JSON.stringify(this.taskInfo.complete_instances)===JSON.stringify(t.taskInfo.complete_instances)&&this.taskInfo.dateModified===t.taskInfo.dateModified:!1}ignoreEvent(t){return t.type==="mousedown"||t.type==="click"}get estimatedHeight(){return-1}get block(){return!1}}});function qle(n){let t=new Map;return Ci.ViewPlugin.fromClass(class{constructor(e){this.eventListeners=[];this.view=e,this.decorations=this.buildDecorations(e),this.setupEventListeners()}destroy(){this.eventListeners.forEach(e=>{n.emitter.offref(e)}),this.eventListeners=[]}setupEventListeners(){let e=n.emitter.on(Ga,()=>{this.refreshDecorations()}),r=n.emitter.on(gt,()=>{this.refreshDecorations()}),a=n.emitter.on(pd,()=>{this.refreshDecorations()}),i=n.emitter.on(kl,()=>{this.refreshDecorations()}),s=n.emitter.on("settings-changed",()=>{this.refreshDecorations()});this.eventListeners.push(e,r,a,i,s)}refreshDecorations(){this.view&&typeof this.view.dispatch=="function"&&queueMicrotask(()=>{try{t.clear(),this.view.dispatch({effects:[Sb.of({})]})}catch(e){console.error("Error dispatching task link update:",e)}})}update(e){var a,i;if(this.view=e.view,!((a=n==null?void 0:n.settings)!=null&&a.enableTaskLinkOverlay)){this.decorations=Ci.Decoration.none;return}try{if(!e.state.field(ai.editorLivePreviewField)){this.decorations=Ci.Decoration.none;return}}catch(s){this.decorations=Ci.Decoration.none;return}let r=e.transactions.some(s=>s.effects.some(o=>o.is(Sb)));if(e.docChanged||e.selectionSet||r){if(r){let s=(i=e.transactions.flatMap(o=>o.effects).find(o=>o.is(Sb)))==null?void 0:i.value;if(s!=null&&s.taskPath)for(let[o]of t.entries())o.includes(s.taskPath)&&t.delete(o);else t.clear()}this.decorations=this.buildDecorations(e.view)}}buildDecorations(e){var r,a;try{if(!((r=n==null?void 0:n.settings)!=null&&r.enableTaskLinkOverlay))return Ci.Decoration.none;if(!e.state.field(ai.editorLivePreviewField))return Ci.Decoration.none;let s=e.state.field(ai.editorInfoField,!1),o=(a=s==null?void 0:s.file)==null?void 0:a.path;return Vle(e.state,n,t,o)}catch(i){return console.error("Error building task link decorations:",i),Ci.Decoration.none}}},{decorations:e=>e.decorations})}function Vle(n,t,e,r){var o,l;let a=new Db.RangeSetBuilder;if(!n||!t||!e)return a.finish();let i=n.doc;if(!i||!t.app||!t.app.workspace)return a.finish();let s=t.taskLinkDetectionService||new ff(t);if(!r){let c=t.app.workspace.getActiveViewOfType(ai.MarkdownView);if(!c)return a.finish();r=(o=c.file)==null?void 0:o.path}if(!r||typeof r!="string"||r.length===0)return a.finish();try{let c=i.toString();if(typeof c!="string"||c.length>1e5)return a.finish();let d=(l=n.selection)==null?void 0:l.main.head,u=s.findWikilinks(c);if(!Array.isArray(u))return a.finish();for(let p of u)try{if(!p||typeof p.match!="string"||typeof p.start!="number"||typeof p.end!="number"||p.start<0||p.end<=p.start||p.start>=c.length||p.end>c.length)continue;let m=p.type==="wikilink"?$le(p.match):Yle(p.match);if(!m)continue;let{linkPath:h}=m;if(!h||typeof h!="string"||h.trim().length===0)continue;let f=Gle(h,r,t);if(!f)continue;let g=Kle(f,t);if(g){if(!g.title||typeof g.title!="string"||d!==void 0&&d>=p.start&&d<p.end)continue;let v=`${f}-${p.start}-${p.end}`,T=new cu(g,t,p.match,m.displayText),k=e.get(v);(!k||!k.eq(T))&&e.set(v,T);let w=Ci.Decoration.replace({widget:e.get(v),inclusive:!0});a.add(p.start,p.end,w)}}catch(m){continue}}catch(c){console.error("Error in buildTaskLinkDecorations:",c)}return a.finish()}function $le(n){if(!n||typeof n!="string"||n.length<4||!n.startsWith("[[")||!n.endsWith("]]"))return null;let t=n.slice(2,-2).trim();if(!t||t.length===0||t.length>500)return null;let e=t.indexOf("|");if(e!==-1){let a=t.slice(0,e).trim(),i=t.slice(e+1).trim();if(!a||!i)return null;let s=(0,ai.parseLinktext)(a);return s.path?{linkPath:s.path,displayText:i}:null}let r=(0,ai.parseLinktext)(t);return r.path?{linkPath:r.path,displayText:r.subpath||void 0}:null}function Yle(n){if(!n||typeof n!="string")return null;let t=n.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(!t)return null;let e=t[1].trim(),r=t[2].trim();if(!r||r.length===0||r.length>500)return null;try{r=decodeURIComponent(r)}catch(i){}let a=(0,ai.parseLinktext)(r);return a.path?{linkPath:a.path,displayText:e||a.subpath||void 0}:null}function Gle(n,t,e){if(!n||typeof n!="string"||n.trim().length===0||!t||typeof t!="string"||!e||!e.app||!e.app.metadataCache)return null;try{let r=e.app.metadataCache.getFirstLinkpathDest(n,t);return!r||!r.path||typeof r.path!="string"?null:r.path}catch(r){return null}}function Kle(n,t){if(!n||typeof n!="string"||n.trim().length===0||!t)return null;try{let e=/[<>:"|?*]/,r=n.split("").some(s=>{let o=s.charCodeAt(0);return o<=31||o===127});if(e.test(n)||r)return null;let a=t.cacheManager;if(!a||!a.getCachedTaskInfoSync)return null;let i=a.getCachedTaskInfoSync(n);return i&&typeof i=="object"&&i.title?i:null}catch(e){return null}}function X$(n){return qle(n)}function xo(n,t){if(!n||typeof n.dispatch!="function"){console.warn("Invalid EditorView passed to dispatchTaskUpdate:",n);return}try{n.dispatch({effects:[Sb.of({taskPath:t})]})}catch(e){console.error("Error dispatching task update:",e)}}var Db,Ci,ai,Sb,wb=b(()=>{Db=require("@codemirror/state"),Ci=require("@codemirror/view"),ai=require("obsidian");Wn();fx();gx();Sb=Db.StateEffect.define()});function Co(n,t){for(var e in t)n[e]=t[e];return n}function yY(n){var t=n.parentNode;t&&t.removeChild(n)}function E(n,t,e){var r,a,i,s={};for(i in t)i=="key"?r=t[i]:i=="ref"?a=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?Nb.call(arguments,2):e),typeof n=="function"&&n.defaultProps!=null)for(i in n.defaultProps)s[i]===void 0&&(s[i]=n.defaultProps[i]);return Mb(n,s,r,a,null)}function Mb(n,t,e,r,a){var i={type:n,props:t,key:e,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:a==null?++mY:a};return a==null&&be.vnode!=null&&be.vnode(i),i}function zt(){return{current:null}}function tt(n){return n.children}function Xle(n,t,e,r,a){var i;for(i in e)i==="children"||i==="key"||i in t||Ib(n,i,null,e[i],r);for(i in t)a&&typeof t[i]!="function"||i==="children"||i==="key"||i==="value"||i==="checked"||e[i]===t[i]||Ib(n,i,t[i],e[i],r)}function dY(n,t,e){t[0]==="-"?n.setProperty(t,e==null?"":e):n[t]=e==null?"":typeof e!="number"||Jle.test(t)?e:e+"px"}function Ib(n,t,e,r,a){var i;e:if(t==="style")if(typeof e=="string")n.style.cssText=e;else{if(typeof r=="string"&&(n.style.cssText=r=""),r)for(t in r)e&&t in e||dY(n.style,t,"");if(e)for(t in e)r&&e[t]===r[t]||dY(n.style,t,e[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+i]=e,e?r||n.addEventListener(t,i?pY:uY,i):n.removeEventListener(t,i?pY:uY,i);else if(t!=="dangerouslySetInnerHTML"){if(a)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t in n)try{n[t]=e==null?"":e;break e}catch(s){}typeof e=="function"||(e==null||e===!1&&t.indexOf("-")==-1?n.removeAttribute(t):n.setAttribute(t,e))}}function uY(n){du=!0;try{return this.l[n.type+!1](be.event?be.event(n):n)}finally{du=!1}}function pY(n){du=!0;try{return this.l[n.type+!0](be.event?be.event(n):n)}finally{du=!1}}function Lr(n,t){this.props=n,this.context=t}function gf(n,t){if(t==null)return n.__?gf(n.__,n.__.__k.indexOf(n)+1):null;for(var e;t<n.__k.length;t++)if((e=n.__k[t])!=null&&e.__e!=null)return e.__e;return typeof n.type=="function"?gf(n):null}function vY(n){var t,e;if((n=n.__)!=null&&n.__c!=null){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if((e=n.__k[t])!=null&&e.__e!=null){n.__e=n.__c.base=e.__e;break}return vY(n)}}function ece(n){du?setTimeout(n):hY(n)}function Tx(n){(!n.__d&&(n.__d=!0)&&cc.push(n)&&!_b.__r++||cY!==be.debounceRendering)&&((cY=be.debounceRendering)||ece)(_b)}function _b(){var n,t,e,r,a,i,s,o;for(cc.sort(function(l,c){return l.__v.__b-c.__v.__b});n=cc.shift();)n.__d&&(t=cc.length,r=void 0,a=void 0,s=(i=(e=n).__v).__e,(o=e.__P)&&(r=[],(a=Co({},i)).__v=i.__v+1,wx(o,i,a,e.__n,o.ownerSVGElement!==void 0,i.__h!=null?[s]:null,r,s==null?gf(i):s,i.__h),SY(r,i),i.__e!=s&&vY(i)),cc.length>t&&cc.sort(function(l,c){return l.__v.__b-c.__v.__b}));_b.__r=0}function bY(n,t,e,r,a,i,s,o,l,c){var d,u,p,m,h,f,g,v=r&&r.__k||gY,T=v.length;for(e.__k=[],d=0;d<t.length;d++)if((m=e.__k[d]=(m=t[d])==null||typeof m=="boolean"?null:typeof m=="string"||typeof m=="number"||typeof m=="bigint"?Mb(null,m,null,null,m):Array.isArray(m)?Mb(tt,{children:m},null,null,null):m.__b>0?Mb(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)!=null){if(m.__=e,m.__b=e.__b+1,(p=v[d])===null||p&&m.key==p.key&&m.type===p.type)v[d]=void 0;else for(u=0;u<T;u++){if((p=v[u])&&m.key==p.key&&m.type===p.type){v[u]=void 0;break}p=null}wx(n,m,p=p||Ab,a,i,s,o,l,c),h=m.__e,(u=m.ref)&&p.ref!=u&&(g||(g=[]),p.ref&&g.push(p.ref,null,m),g.push(u,m.__c||h,m)),h!=null?(f==null&&(f=h),typeof m.type=="function"&&m.__k===p.__k?m.__d=l=TY(m,l,n):l=kY(n,m,p,v,h,l),typeof e.type=="function"&&(e.__d=l)):l&&p.__e==l&&l.parentNode!=n&&(l=gf(p))}for(e.__e=f,d=T;d--;)v[d]!=null&&(typeof e.type=="function"&&v[d].__e!=null&&v[d].__e==e.__d&&(e.__d=wY(r).nextSibling),EY(v[d],v[d]));if(g)for(d=0;d<g.length;d++)DY(g[d],g[++d],g[++d])}function TY(n,t,e){for(var r,a=n.__k,i=0;a&&i<a.length;i++)(r=a[i])&&(r.__=n,t=typeof r.type=="function"?TY(r,t,e):kY(e,r,r,a,r.__e,t));return t}function yf(n,t){return t=t||[],n==null||typeof n=="boolean"||(Array.isArray(n)?n.some(function(e){yf(e,t)}):t.push(n)),t}function kY(n,t,e,r,a,i){var s,o,l;if(t.__d!==void 0)s=t.__d,t.__d=void 0;else if(e==null||a!=i||a.parentNode==null)e:if(i==null||i.parentNode!==n)n.appendChild(a),s=null;else{for(o=i,l=0;(o=o.nextSibling)&&l<r.length;l+=1)if(o==a)break e;n.insertBefore(a,i),s=i}return s!==void 0?s:a.nextSibling}function wY(n){var t,e,r;if(n.type==null||typeof n.type=="string")return n.__e;if(n.__k){for(t=n.__k.length-1;t>=0;t--)if((e=n.__k[t])&&(r=wY(e)))return r}return null}function wx(n,t,e,r,a,i,s,o,l){var c,d,u,p,m,h,f,g,v,T,k,w,S,x,I,A=t.type;if(t.constructor!==void 0)return null;e.__h!=null&&(l=e.__h,o=t.__e=e.__e,t.__h=null,i=[o]),(c=be.__b)&&c(t);try{e:if(typeof A=="function"){if(g=t.props,v=(c=A.contextType)&&r[c.__c],T=c?v?v.props.value:c.__:r,e.__c?f=(d=t.__c=e.__c).__=d.__E:("prototype"in A&&A.prototype.render?t.__c=d=new A(g,T):(t.__c=d=new Lr(g,T),d.constructor=A,d.render=rce),v&&v.sub(d),d.props=g,d.state||(d.state={}),d.context=T,d.__n=r,u=d.__d=!0,d.__h=[],d._sb=[]),d.__s==null&&(d.__s=d.state),A.getDerivedStateFromProps!=null&&(d.__s==d.state&&(d.__s=Co({},d.__s)),Co(d.__s,A.getDerivedStateFromProps(g,d.__s))),p=d.props,m=d.state,d.__v=t,u)A.getDerivedStateFromProps==null&&d.componentWillMount!=null&&d.componentWillMount(),d.componentDidMount!=null&&d.__h.push(d.componentDidMount);else{if(A.getDerivedStateFromProps==null&&g!==p&&d.componentWillReceiveProps!=null&&d.componentWillReceiveProps(g,T),!d.__e&&d.shouldComponentUpdate!=null&&d.shouldComponentUpdate(g,d.__s,T)===!1||t.__v===e.__v){for(t.__v!==e.__v&&(d.props=g,d.state=d.__s,d.__d=!1),t.__e=e.__e,t.__k=e.__k,t.__k.forEach(function(B){B&&(B.__=t)}),k=0;k<d._sb.length;k++)d.__h.push(d._sb[k]);d._sb=[],d.__h.length&&s.push(d);break e}d.componentWillUpdate!=null&&d.componentWillUpdate(g,d.__s,T),d.componentDidUpdate!=null&&d.__h.push(function(){d.componentDidUpdate(p,m,h)})}if(d.context=T,d.props=g,d.__P=n,w=be.__r,S=0,"prototype"in A&&A.prototype.render){for(d.state=d.__s,d.__d=!1,w&&w(t),c=d.render(d.props,d.state,d.context),x=0;x<d._sb.length;x++)d.__h.push(d._sb[x]);d._sb=[]}else do d.__d=!1,w&&w(t),c=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++S<25);d.state=d.__s,d.getChildContext!=null&&(r=Co(Co({},r),d.getChildContext())),u||d.getSnapshotBeforeUpdate==null||(h=d.getSnapshotBeforeUpdate(p,m)),I=c!=null&&c.type===tt&&c.key==null?c.props.children:c,bY(n,Array.isArray(I)?I:[I],t,e,r,a,i,s,o,l),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),f&&(d.__E=d.__=null),d.__e=!1}else i==null&&t.__v===e.__v?(t.__k=e.__k,t.__e=e.__e):t.__e=tce(e.__e,t,e,r,a,i,s,l);(c=be.diffed)&&c(t)}catch(B){t.__v=null,(l||i!=null)&&(t.__e=o,t.__h=!!l,i[i.indexOf(o)]=null),be.__e(B,t,e)}}function SY(n,t){be.__c&&be.__c(t,n),n.some(function(e){try{n=e.__h,e.__h=[],n.some(function(r){r.call(e)})}catch(r){be.__e(r,e.__v)}})}function tce(n,t,e,r,a,i,s,o){var l,c,d,u=e.props,p=t.props,m=t.type,h=0;if(m==="svg"&&(a=!0),i!=null){for(;h<i.length;h++)if((l=i[h])&&"setAttribute"in l==!!m&&(m?l.localName===m:l.nodeType===3)){n=l,i[h]=null;break}}if(n==null){if(m===null)return document.createTextNode(p);n=a?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,p.is&&p),i=null,o=!1}if(m===null)u===p||o&&n.data===p||(n.data=p);else{if(i=i&&Nb.call(n.childNodes),c=(u=e.props||Ab).dangerouslySetInnerHTML,d=p.dangerouslySetInnerHTML,!o){if(i!=null)for(u={},h=0;h<n.attributes.length;h++)u[n.attributes[h].name]=n.attributes[h].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===n.innerHTML)||(n.innerHTML=d&&d.__html||""))}if(Xle(n,p,u,a,o),d)t.__k=[];else if(h=t.props.children,bY(n,Array.isArray(h)?h:[h],t,e,r,a&&m!=="foreignObject",i,s,i?i[0]:e.__k&&gf(e,0),o),i!=null)for(h=i.length;h--;)i[h]!=null&&yY(i[h]);o||("value"in p&&(h=p.value)!==void 0&&(h!==n.value||m==="progress"&&!h||m==="option"&&h!==u.value)&&Ib(n,"value",h,u.value,!1),"checked"in p&&(h=p.checked)!==void 0&&h!==n.checked&&Ib(n,"checked",h,u.checked,!1))}return n}function DY(n,t,e){try{typeof n=="function"?n(t):n.current=t}catch(r){be.__e(r,e)}}function EY(n,t,e){var r,a;if(be.unmount&&be.unmount(n),(r=n.ref)&&(r.current&&r.current!==n.__e||DY(r,null,t)),(r=n.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){be.__e(i,t)}r.base=r.__P=null,n.__c=void 0}if(r=n.__k)for(a=0;a<r.length;a++)r[a]&&EY(r[a],t,e||typeof n.type!="function");e||n.__e==null||yY(n.__e),n.__=n.__e=n.__d=void 0}function rce(n,t,e){return this.constructor(n,e)}function Po(n,t,e){var r,a,i;be.__&&be.__(n,t),a=(r=typeof e=="function")?null:e&&e.__k||t.__k,i=[],wx(t,n=(!r&&e||t).__k=E(tt,null,[n]),a||Ab,Ab,t.ownerSVGElement!==void 0,!r&&e?[e]:a?null:t.firstChild?Nb.call(t.childNodes):null,i,!r&&e?e:a?a.__e:t.firstChild,r),SY(i,n)}function Rb(n,t){var e={__c:t="__cC"+fY++,__:n,Consumer:function(r,a){return r.children(a)},Provider:function(r){var a,i;return this.getChildContext||(a=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(s){this.props.value!==s.value&&a.some(function(o){o.__e=!0,Tx(o)})},this.sub=function(s){a.push(s);var o=s.componentWillUnmount;s.componentWillUnmount=function(){a.splice(a.indexOf(s),1),o&&o.call(s)}}),r.children}};return e.Provider.__=e.Consumer.contextType=e}var Nb,be,mY,kx,du,cc,cY,hY,fY,Ab,gY,Jle,Ms=b(()=>{Ab={},gY=[],Jle=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;Nb=gY.slice,be={__e:function(n,t,e,r){for(var a,i,s;t=t.__;)if((a=t.__c)&&!a.__)try{if((i=a.constructor)&&i.getDerivedStateFromError!=null&&(a.setState(i.getDerivedStateFromError(n)),s=a.__d),a.componentDidCatch!=null&&(a.componentDidCatch(n,r||{}),s=a.__d),s)return a.__E=a}catch(o){n=o}throw n}},mY=0,kx=function(n){return n!=null&&n.constructor===void 0},du=!1,Lr.prototype.setState=function(n,t){var e;e=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Co({},this.state),typeof n=="function"&&(n=n(Co({},e),this.props)),n&&Co(e,n),n!=null&&this.__v&&(t&&this._sb.push(t),Tx(this))},Lr.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),Tx(this))},Lr.prototype.render=tt,cc=[],hY=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_b.__r=0,fY=0});function ice(){for(var n;n=NY.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(Fb),n.__H.__h.forEach(Ex),n.__H.__h=[]}catch(t){n.__H.__h=[],be.__e(t,n.__v)}}function sce(n){var t,e=function(){clearTimeout(r),_Y&&cancelAnimationFrame(t),setTimeout(n)},r=setTimeout(e,100);_Y&&(t=requestAnimationFrame(e))}function Fb(n){var t=Ai,e=n.__c;typeof e=="function"&&(n.__c=void 0,e()),Ai=t}function Ex(n){var t=Ai;n.__c=n.__(),Ai=t}var ace,Ai,Sx,xY,NY,Dx,CY,PY,MY,AY,IY,_Y,xx=b(()=>{Ms();NY=[],Dx=[],CY=be.__b,PY=be.__r,MY=be.diffed,AY=be.__c,IY=be.unmount;be.__b=function(n){Ai=null,CY&&CY(n)},be.__r=function(n){PY&&PY(n),ace=0;var t=(Ai=n.__c).__H;t&&(Sx===Ai?(t.__h=[],Ai.__h=[],t.__.forEach(function(e){e.__N&&(e.__=e.__N),e.__V=Dx,e.__N=e.i=void 0})):(t.__h.forEach(Fb),t.__h.forEach(Ex),t.__h=[])),Sx=Ai},be.diffed=function(n){MY&&MY(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(NY.push(t)!==1&&xY===be.requestAnimationFrame||((xY=be.requestAnimationFrame)||sce)(ice)),t.__H.__.forEach(function(e){e.i&&(e.__H=e.i),e.__V!==Dx&&(e.__=e.__V),e.i=void 0,e.__V=Dx})),Sx=Ai=null},be.__c=function(n,t){t.some(function(e){try{e.__h.forEach(Fb),e.__h=e.__h.filter(function(r){return!r.__||Ex(r)})}catch(r){t.some(function(a){a.__h&&(a.__h=[])}),t=[],be.__e(r,e.__v)}}),AY&&AY(n,t)},be.unmount=function(n){IY&&IY(n);var t,e=n.__c;e&&e.__H&&(e.__H.__.forEach(function(r){try{Fb(r)}catch(a){t=a}}),e.__H=void 0,t&&be.__e(t,e.__v))};_Y=typeof requestAnimationFrame=="function"});function oce(n,t){for(var e in t)n[e]=t[e];return n}function RY(n,t){for(var e in n)if(e!=="__source"&&!(e in t))return!0;for(var r in t)if(r!=="__source"&&n[r]!==t[r])return!0;return!1}function FY(n){this.props=n}function WY(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),n.__c.__H=null),(n=oce({},n)).__c!=null&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(r){return WY(r,t,e)})),n}function qY(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(r){return qY(r,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function Cx(){this.__u=0,this.t=null,this.__b=null}function VY(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function Ob(){this.u=null,this.o=null}function cce(n){return this.getChildContext=function(){return n.context},n.children}function dce(n){var t=this,e=n.i;t.componentWillUnmount=function(){Po(null,t.l),t.l=null,t.i=null},t.i&&t.i!==e&&t.componentWillUnmount(),n.__v?(t.l||(t.i=e,t.l={nodeType:1,parentNode:e,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,a){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Po(E(cce,{context:t.context},n.__v),t.l)):t.l&&t.componentWillUnmount()}function Px(n,t){var e=E(dce,{__v:n,i:t});return e.containerInfo=t,e}function fce(){}function gce(){return this.cancelBubble}function yce(){return this.defaultPrevented}var OY,Frt,lce,LY,BY,uce,pce,mce,hce,jY,vce,HY,zY,UY,vf=b(()=>{Ms();Ms();xx();xx();(FY.prototype=new Lr).isPureReactComponent=!0,FY.prototype.shouldComponentUpdate=function(n,t){return RY(this.props,n)||RY(this.state,t)};OY=be.__b;be.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),OY&&OY(n)};Frt=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911,lce=be.__e;be.__e=function(n,t,e,r){if(n.then){for(var a,i=t;i=i.__;)if((a=i.__c)&&a.__c)return t.__e==null&&(t.__e=e.__e,t.__k=e.__k),a.__c(n,t)}lce(n,t,e,r)};LY=be.unmount;be.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&n.__h===!0&&(n.type=null),LY&&LY(n)},(Cx.prototype=new Lr).__c=function(n,t){var e=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(e);var a=VY(r.__v),i=!1,s=function(){i||(i=!0,e.__R=null,a?a(o):o())};e.__R=s;var o=function(){if(!--r.__u){if(r.state.__a){var c=r.state.__a;r.__v.__k[0]=qY(c,c.__c.__P,c.__c.__O)}var d;for(r.setState({__a:r.__b=null});d=r.t.pop();)d.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(s,s)},Cx.prototype.componentWillUnmount=function(){this.t=[]},Cx.prototype.render=function(n,t){if(this.__b){if(this.__v.__k){var e=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=WY(this.__b,e,r.__O=r.__P)}this.__b=null}var a=t.__a&&E(tt,null,n.fallback);return a&&(a.__h=null),[E(tt,null,t.__a?null:n.children),a]};BY=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&(n.props.revealOrder[0]!=="t"||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};(Ob.prototype=new Lr).__a=function(n){var t=this,e=VY(t.__v),r=t.o.get(n);return r[0]++,function(a){var i=function(){t.props.revealOrder?(r.push(a),BY(t,n,r)):a()};e?e(i):i()}},Ob.prototype.render=function(n){this.u=null,this.o=new Map;var t=yf(n.children);n.revealOrder&&n.revealOrder[0]==="b"&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},Ob.prototype.componentDidUpdate=Ob.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){BY(n,e,t)})};uce=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,pce=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,mce=typeof document!="undefined",hce=function(n){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/i:/fil|che|ra/i).test(n)};Lr.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(n){Object.defineProperty(Lr.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(t){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:t})}})});jY=be.event;be.event=function(n){return jY&&(n=jY(n)),n.persist=fce,n.isPropagationStopped=gce,n.isDefaultPrevented=yce,n.nativeEvent=n};HY={configurable:!0,get:function(){return this.class}},zY=be.vnode;be.vnode=function(n){var t=n.type,e=n.props,r=e;if(typeof t=="string"){var a=t.indexOf("-")===-1;for(var i in r={},e){var s=e[i];mce&&i==="children"&&t==="noscript"||i==="value"&&"defaultValue"in e&&s==null||(i==="defaultValue"&&"value"in e&&e.value==null?i="value":i==="download"&&s===!0?s="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!hce(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():a&&pce.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():s===null&&(s=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),r[i]&&(i="oninputCapture")),r[i]=s)}t=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=yf(e.children).forEach(function(o){o.props.selected=r.value.indexOf(o.props.value)!=-1})),t=="select"&&r.defaultValue!=null&&(r.value=yf(e.children).forEach(function(o){o.props.selected=r.multiple?r.defaultValue.indexOf(o.props.value)!=-1:r.defaultValue==o.props.value})),n.props=r,e.class!=e.className&&(HY.enumerable="className"in e,e.className!=null&&(r.class=e.className),Object.defineProperty(r,"className",HY))}n.$$typeof=uce,zY&&zY(n)};UY=be.__r;be.__r=function(n){UY&&UY(n),vce=n.__c}});function Ri(n){i3.push(n),jx.forEach(t=>{l3(t,n)})}function s3(n){n.isConnected&&n.getRootNode&&o3(n.getRootNode())}function o3(n){let t=jx.get(n);if(!t||!t.isConnected){if(t=n.querySelector("style[data-fullcalendar]"),!t){t=document.createElement("style"),t.setAttribute("data-fullcalendar","");let e=Tce();e&&(t.nonce=e);let r=n===document?document.head:n,a=n===document?r.querySelector("script,link[rel=stylesheet],link[as=style],style"):r.firstChild;r.insertBefore(t,a)}jx.set(n,t),bce(t)}}function bce(n){for(let t of i3)l3(n,t)}function l3(n,t){let{sheet:e}=n,r=e.cssRules.length;t.split("}").forEach((a,i)=>{a=a.trim(),a&&e.insertRule(a+"}",r+i)})}function Tce(){return Mx===void 0&&(Mx=kce()),Mx}function kce(){let n=document.querySelector('meta[name="csp-nonce"]');if(n&&n.hasAttribute("content"))return n.getAttribute("content");let t=document.querySelector("script[nonce]");return t&&t.nonce||""}function Rf(n){n.parentNode&&n.parentNode.removeChild(n)}function yr(n,t){if(n.closest)return n.closest(t);if(!document.documentElement.contains(n))return null;do{if(Xb(n,t))return n;n=n.parentElement||n.parentNode}while(n!==null&&n.nodeType===1);return null}function Xb(n,t){return(n.matches||n.matchesSelector||n.msMatchesSelector).call(n,t)}function c3(n,t){let e=n instanceof HTMLElement?[n]:n,r=[];for(let a=0;a<e.length;a+=1){let i=e[a].querySelectorAll(t);for(let s=0;s<i.length;s+=1)r.push(i[s])}return r}function Sc(n,t){for(let e in t)Kx(n,e,t[e])}function Kx(n,t,e){e==null?n.style[t]="":typeof e=="number"&&Sce.test(t)?n.style[t]=`${e}px`:n.style[t]=e}function eT(n){var t,e;return(e=(t=n.composedPath)===null||t===void 0?void 0:t.call(n)[0])!==null&&e!==void 0?e:n.target}function _n(){return $Y+=1,"fc-dom-"+$Y}function Ff(n){n.preventDefault()}function Dce(n,t){return e=>{let r=yr(e.target,n);r&&t.call(r,e,r)}}function Qx(n,t,e,r){let a=Dce(e,r);return n.addEventListener(t,a),()=>{n.removeEventListener(t,a)}}function d3(n,t,e,r){let a;return Qx(n,"mouseover",t,(i,s)=>{if(s!==a){a=s,e(i,s);let o=l=>{a=null,r(l,s),s.removeEventListener("mouseleave",o)};s.addEventListener("mouseleave",o)}})}function Zx(n,t){let e=r=>{t(r),YY.forEach(a=>{n.removeEventListener(a,e)})};YY.forEach(r=>{n.addEventListener(r,e)})}function u3(n){return Object.assign({onClick:n},p3(n))}function p3(n){return{tabIndex:0,onKeyDown(t){(t.key==="Enter"||t.key===" ")&&(n(t),t.preventDefault())}}}function Fs(){return GY+=1,String(GY)}function gu(){document.body.classList.add("fc-not-allowed")}function yu(){document.body.classList.remove("fc-not-allowed")}function Jx(n){n.style.userSelect="none",n.style.webkitUserSelect="none",n.addEventListener("selectstart",Ff)}function Xx(n){n.style.userSelect="",n.style.webkitUserSelect="",n.removeEventListener("selectstart",Ff)}function eC(n){n.addEventListener("contextmenu",Ff)}function tC(n){n.removeEventListener("contextmenu",Ff)}function m3(n){let t=[],e=[],r,a;for(typeof n=="string"?e=n.split(/\s*,\s*/):typeof n=="function"?e=[n]:Array.isArray(n)&&(e=n),r=0;r<e.length;r+=1)a=e[r],typeof a=="string"?t.push(a.charAt(0)==="-"?{field:a.substring(1),order:-1}:{field:a,order:1}):typeof a=="function"&&t.push({func:a});return t}function h3(n,t,e){let r,a;for(r=0;r<e.length;r+=1)if(a=Ece(n,t,e[r]),a)return a;return 0}function Ece(n,t,e){return e.func?e.func(n,t):f3(n[e.field],t[e.field])*(e.order||1)}function f3(n,t){return!n&&!t?0:t==null?-1:n==null?1:typeof n=="string"||typeof t=="string"?String(n).localeCompare(String(t)):n-t}function uc(n,t){let e=String(n);return"000".substr(0,t-e.length)+e}function vu(n,t,e){return typeof n=="function"?n(...t):typeof n=="string"?t.reduce((r,a,i)=>r.replace("$"+i,a||""),n):e}function rC(n,t){return n-t}function bf(n){return n%1===0}function xce(n){let t=n.querySelector(".fc-scrollgrid-shrink-frame"),e=n.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!e)throw new Error("needs fc-scrollgrid-shrink-cushion className");return n.getBoundingClientRect().width-t.getBoundingClientRect().width+e.getBoundingClientRect().width}function Re(n,t){return typeof n=="string"?Pce(n):typeof n=="object"&&n?QY(n):typeof n=="number"?QY({[t||"milliseconds"]:n}):null}function Pce(n){let t=Cce.exec(n);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*((t[3]?parseInt(t[3],10):0)*60*60*1e3+(t[4]?parseInt(t[4],10):0)*60*1e3+(t[5]?parseInt(t[5],10):0)*1e3+(t[6]?parseInt(t[6],10):0))}}return null}function QY(n){let t={years:n.years||n.year||0,months:n.months||n.month||0,days:n.days||n.day||0,milliseconds:(n.hours||n.hour||0)*60*60*1e3+(n.minutes||n.minute||0)*60*1e3+(n.seconds||n.second||0)*1e3+(n.milliseconds||n.millisecond||n.ms||0)},e=n.weeks||n.week;return e&&(t.days+=e*7,t.specifiedWeeks=!0),t}function Mce(n,t){return n.years===t.years&&n.months===t.months&&n.days===t.days&&n.milliseconds===t.milliseconds}function Of(n,t){return{years:n.years+t.years,months:n.months+t.months,days:n.days+t.days,milliseconds:n.milliseconds+t.milliseconds}}function g3(n,t){return{years:n.years-t.years,months:n.months-t.months,days:n.days-t.days,milliseconds:n.milliseconds-t.milliseconds}}function nC(n,t){return{years:n.years*t,months:n.months*t,days:n.days*t,milliseconds:n.milliseconds*t}}function Ace(n){return uu(n)/365}function Ice(n){return uu(n)/30}function uu(n){return ia(n)/864e5}function ia(n){return n.years*(365*864e5)+n.months*(30*864e5)+n.days*864e5+n.milliseconds}function Lf(n,t){let e=null;for(let r=0;r<KY.length;r+=1){let a=KY[r];if(t[a]){let i=n[a]/t[a];if(!bf(i)||e!==null&&e!==i)return null;e=i}else if(n[a])return null}return e}function Tf(n){let t=n.milliseconds;if(t){if(t%1e3!==0)return{unit:"millisecond",value:t};if(t%(1e3*60)!==0)return{unit:"second",value:t/1e3};if(t%(1e3*60*60)!==0)return{unit:"minute",value:t/(1e3*60)};if(t)return{unit:"hour",value:t/(1e3*60*60)}}return n.days?n.specifiedWeeks&&n.days%7===0?{unit:"week",value:n.days/7}:{unit:"day",value:n.days}:n.months?{unit:"month",value:n.months}:n.years?{unit:"year",value:n.years}:{unit:"millisecond",value:0}}function Fi(n,t,e){if(n===t)return!0;let r=n.length,a;if(r!==t.length)return!1;for(a=0;a<r;a+=1)if(!(e?e(n[a],t[a]):n[a]===t[a]))return!1;return!0}function tT(n,t){let e=Ao(n);return e[2]+=t*7,Mn(e)}function Bt(n,t){let e=Ao(n);return e[2]+=t,Mn(e)}function Ii(n,t){let e=Ao(n);return e[6]+=t,Mn(e)}function aC(n,t){return Oi(n,t)/7}function Oi(n,t){return(t.valueOf()-n.valueOf())/(1e3*60*60*24)}function Nce(n,t){return(t.valueOf()-n.valueOf())/(1e3*60*60)}function Rce(n,t){return(t.valueOf()-n.valueOf())/(1e3*60)}function Fce(n,t){return(t.valueOf()-n.valueOf())/1e3}function y3(n,t){let e=ct(n),r=ct(t);return{years:0,months:0,days:Math.round(Oi(e,r)),milliseconds:t.valueOf()-r.valueOf()-(n.valueOf()-e.valueOf())}}function v3(n,t){let e=pu(n,t);return e!==null&&e%7===0?e/7:null}function pu(n,t){return Io(n)===Io(t)?Math.round(Oi(n,t)):null}function ct(n){return Mn([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()])}function Oce(n){return Mn([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours()])}function Lce(n){return Mn([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes()])}function Bce(n){return Mn([n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds()])}function jce(n,t,e){let r=n.getUTCFullYear(),a=Ax(n,r,t,e);if(a<1)return Ax(n,r-1,t,e);let i=Ax(n,r+1,t,e);return i>=1?Math.min(a,i):a}function Ax(n,t,e,r){let a=Mn([t,0,1+Hce(t,e,r)]),i=ct(n),s=Math.round(Oi(a,i));return Math.floor(s/7)+1}function Hce(n,t,e){let r=7+t-e;return-((7+Mn([n,0,r]).getUTCDay()-t)%7)+r-1}function ZY(n){return[n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()]}function JY(n){return new Date(n[0],n[1]||0,n[2]==null?1:n[2],n[3]||0,n[4]||0,n[5]||0)}function Ao(n){return[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds()]}function Mn(n){return n.length===1&&(n=n.concat([0])),new Date(Date.UTC(...n))}function iC(n){return!isNaN(n.valueOf())}function Io(n){return n.getUTCHours()*1e3*60*60+n.getUTCMinutes()*1e3*60+n.getUTCSeconds()*1e3+n.getUTCMilliseconds()}function rT(n,t,e=!1){let r=n.toISOString();return r=r.replace(".000",""),e&&(r=r.replace("T00:00:00Z","")),r.length>10&&(t==null?r=r.replace("Z",""):t!==0&&(r=r.replace("Z",oC(t,!0)))),r}function Oo(n){return n.toISOString().replace(/T.*$/,"")}function bu(n){return n.toISOString().match(/^\d{4}-\d{2}/)[0]}function sC(n){return uc(n.getUTCHours(),2)+":"+uc(n.getUTCMinutes(),2)+":"+uc(n.getUTCSeconds(),2)}function oC(n,t=!1){let e=n<0?"-":"+",r=Math.abs(n),a=Math.floor(r/60),i=Math.round(r%60);return t?`${e+uc(a,2)}:${uc(i,2)}`:`GMT${e}${a}${i?`:${uc(i,2)}`:""}`}function pe(n,t,e){let r,a;return function(...i){if(!r)a=n.apply(this,i);else if(!Fi(r,i)){e&&e(a);let s=n.apply(this,i);(!t||!t(s,a))&&(a=s)}return r=i,a}}function Tu(n,t,e){let r,a;return i=>{if(!r)a=n.call(this,i);else if(!Jr(r,i)){e&&e(a);let s=n.call(this,i);(!t||!t(s,a))&&(a=s)}return r=i,a}}function XY(n,t,e){let r=Object.keys(n).length;return r===1&&n.timeZoneName==="short"?a=>oC(a.timeZoneOffset):r===0&&t.week?a=>Kce(e.computeWeekNumber(a.marker),e.weekText,e.weekTextLong,e.locale,t.week):Vce(n,t,e)}function Vce(n,t,e){n=Object.assign({},n),t=Object.assign({},t),$ce(n,t),n.timeZone="UTC";let r=new Intl.DateTimeFormat(e.locale.codes,n),a;if(t.omitZeroMinute){let i=Object.assign({},n);delete i.minute,a=new Intl.DateTimeFormat(e.locale.codes,i)}return i=>{let{marker:s}=i,o;a&&!s.getUTCMinutes()?o=a:o=r;let l=o.format(s);return Yce(l,i,n,t,e)}}function $ce(n,t){n.timeZoneName&&(n.hour||(n.hour="2-digit"),n.minute||(n.minute="2-digit")),n.timeZoneName==="long"&&(n.timeZoneName="short"),t.omitZeroMinute&&(n.second||n.millisecond)&&delete t.omitZeroMinute}function Yce(n,t,e,r,a){return n=n.replace(Wce,""),e.timeZoneName==="short"&&(n=Gce(n,a.timeZone==="UTC"||t.timeZoneOffset==null?"UTC":oC(t.timeZoneOffset))),r.omitCommas&&(n=n.replace(zce,"").trim()),r.omitZeroMinute&&(n=n.replace(":00","")),r.meridiem===!1?n=n.replace(Lb,"").trim():r.meridiem==="narrow"?n=n.replace(Lb,(i,s)=>s.toLocaleLowerCase()):r.meridiem==="short"?n=n.replace(Lb,(i,s)=>`${s.toLocaleLowerCase()}m`):r.meridiem==="lowercase"&&(n=n.replace(Lb,i=>i.toLocaleLowerCase())),n=n.replace(Uce," "),n=n.trim(),n}function Gce(n,t){let e=!1;return n=n.replace(qce,()=>(e=!0,t)),e||(n+=` ${t}`),n}function Kce(n,t,e,r,a){let i=[];return a==="long"?i.push(e):(a==="short"||a==="narrow")&&i.push(t),(a==="long"||a==="short")&&i.push(" "),i.push(r.simpleNumberFormat.format(n)),r.options.direction==="rtl"&&i.reverse(),i.join("")}function Qce(n,t,e){return e.getMarkerYear(n)!==e.getMarkerYear(t)?5:e.getMarkerMonth(n)!==e.getMarkerMonth(t)?4:e.getMarkerDay(n)!==e.getMarkerDay(t)?2:Io(n)!==Io(t)?1:0}function Zce(n,t){let e={};for(let r in n)(!(r in qb)||qb[r]<=t)&&(e[r]=n[r]);return e}function Jce(n,t,e,r){let a=0;for(;a<n.length;){let i=n.indexOf(t,a);if(i===-1)break;let s=n.substr(0,i);a=i+t.length;let o=n.substr(a),l=0;for(;l<e.length;){let c=e.indexOf(r,l);if(c===-1)break;let d=e.substr(0,c);l=c+r.length;let u=e.substr(l);if(s===d&&o===u)return{before:s,after:o}}}return null}function e3(n,t){let e=t.markerToArray(n.marker);return{marker:n.marker,timeZoneOffset:n.timeZoneOffset,array:e,year:e[0],month:e[1],day:e[2],hour:e[3],minute:e[4],second:e[5],millisecond:e[6]}}function Vb(n,t,e,r){let a=e3(n,e.calendarSystem),i=t?e3(t,e.calendarSystem):null;return{date:a,start:a,end:i,timeZone:e.timeZone,localeCodes:e.locale.codes,defaultSeparator:r||e.defaultSeparator}}function rt(n){return typeof n=="object"&&n?new Hx(n):typeof n=="string"?new zx(n):typeof n=="function"?new Ux(n):null}function dc(n,t){return typeof n=="object"&&typeof t=="object"&&n&&t?Jr(n,t):n===t}function Bb(n,t){return Array.isArray(n)&&Array.isArray(t)?Fi(n,t):n===t}function nT(n){return aT(n,Lo)}function Bf(n,t){let e={},r={};for(let a in t)a in n&&(e[a]=t[a](n[a]));for(let a in n)a in t||(r[a]=n[a]);return{refined:e,extra:r}}function F(n){return n}function aT(n,t){let e={};if(t){for(let r in t)if(t[r]===dc){let a=[];for(let i=n.length-1;i>=0;i-=1){let s=n[i][r];if(typeof s=="object"&&s)a.unshift(s);else if(s!==void 0){e[r]=s;break}}a.length&&(e[r]=aT(a))}}for(let r=n.length-1;r>=0;r-=1){let a=n[r];for(let i in a)i in e||(e[i]=a[i])}return e}function As(n,t){let e={};for(let r in n)t(n[r],r)&&(e[r]=n[r]);return e}function Na(n,t){let e={};for(let r in n)e[r]=t(n[r],r);return e}function uC(n){let t={};for(let e of n)t[e]=!0;return t}function iT(n){let t=[];for(let e in n)t.push(n[e]);return t}function Jr(n,t){if(n===t)return!0;for(let e in n)if($b.call(n,e)&&!(e in t))return!1;for(let e in t)if($b.call(t,e)&&n[e]!==t[e])return!1;return!0}function ede(n,t){let e=tde(n,t);for(let r of e)if(!Xce.test(r))return!1;return!0}function tde(n,t){let e=[];for(let r in n)$b.call(n,r)&&(r in t||e.push(r));for(let r in t)$b.call(t,r)&&n[r]!==t[r]&&e.push(r);return e}function Ub(n,t,e={}){if(n===t)return!0;for(let r in t)if(!(r in n&&rde(n[r],t[r],e[r])))return!1;for(let r in n)if(!(r in t))return!1;return!0}function rde(n,t,e){return n===t||e===!0?!0:e?e(n,t):!1}function T3(n,t=0,e,r=1){let a=[];e==null&&(e=Object.keys(n).length);for(let i=t;i<e;i+=r){let s=n[i];s!==void 0&&a.push(s)}return a}function nde(n,t){k3[n]=t}function ade(n){return new k3[n]}function w3(n){let t=ide.exec(n);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?+`0.${t[12]}`*1e3:0));if(iC(e)){let r=null;return t[13]&&(r=(t[15]==="-"?-1:1)*(Number(t[16]||0)*60+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}function wf(n){n();let t=be.debounceRendering,e=[];function r(a){e.push(a)}for(be.debounceRendering=r,Po(E(qx,{}),document.createElement("div"));e.length;)e.shift()();be.debounceRendering=t}function S3(n){let t=Rb(n),e=t.Provider;return t.Provider=function(){let r=!this.getChildContext,a=e.apply(this,arguments);if(r){let i=[];this.shouldComponentUpdate=s=>{this.props.value!==s.value&&i.forEach(o=>{o.context=s.value,o.forceUpdate()})},this.sub=s=>{i.push(s);let o=s.componentWillUnmount;s.componentWillUnmount=()=>{i.splice(i.indexOf(s),1),o&&o.call(s)}}}return a},t}function D3(n,t,e,r,a,i,s,o,l,c,d,u,p,m){return{dateEnv:a,nowManager:i,options:e,pluginHooks:o,emitter:d,dispatch:l,getCurrentData:c,calendarApi:u,viewSpec:n,viewApi:t,dateProfileGenerator:r,theme:s,isRtl:e.direction==="rtl",addResizeHandler(h){d.on("_resize",h)},removeResizeHandler(h){d.off("_resize",h)},createScrollResponder(h){return new Yb(h,d,Re(e.scrollTime),e.scrollTimeReset)},registerInteractiveComponent:p,unregisterInteractiveComponent:m}}function sde(n){let t=Object.create(this.prototype.propEquality);Object.assign(t,n),this.prototype.propEquality=t}function ode(n){let t=Object.create(this.prototype.stateEquality);Object.assign(t,n),this.prototype.stateEquality=t}function oa(n,t){typeof n=="function"?n(t):n&&(n.current=t)}function Vx(n,t){var e;return!!(t.handleCustomRendering&&n&&(!((e=t.customRenderingMetaMap)===null||e===void 0)&&e[n]))}function pC(n,t,e){let r=Object.assign(Object.assign({},n.elAttrs),{ref:e});return(n.elClasses||t)&&(r.className=(n.elClasses||[]).concat(t||[]).concat(r.className||[]).filter(Boolean).join(" ")),n.elStyle&&(r.style=n.elStyle),r}function lde(n){return!!n}function cde(n,t){let e=n.props;return E(Sf,Object.assign({renderProps:e.renderProps,generatorName:e.generatorName,customGenerator:e.customGenerator,defaultGenerator:e.defaultGenerator,renderId:n.context},t))}function dde(n,t){let e=typeof n=="function"?n(t):n||[];return typeof e=="string"?[e]:e}function hC(n){return[`fc-${n.type}-view`,"fc-view"]}function ude(n,t){let e=null,r=null;return n.start&&(e=t.createMarker(n.start)),n.end&&(r=t.createMarker(n.end)),!e&&!r||e&&r&&r<e?null:{start:e,end:r}}function t3(n,t){let e=[],{start:r}=t,a,i;for(n.sort(pde),a=0;a<n.length;a+=1)i=n[a],i.start>r&&e.push({start:r,end:i.start}),i.end>r&&(r=i.end);return r<t.end&&e.push({start:r,end:t.end}),e}function pde(n,t){return n.start.valueOf()-t.start.valueOf()}function mn(n,t){let{start:e,end:r}=n,a=null;return t.start!==null&&(e===null?e=t.start:e=new Date(Math.max(e.valueOf(),t.start.valueOf()))),t.end!=null&&(r===null?r=t.end:r=new Date(Math.min(r.valueOf(),t.end.valueOf()))),(e===null||r===null||e<r)&&(a={start:e,end:r}),a}function E3(n,t){return(n.start===null?null:n.start.valueOf())===(t.start===null?null:t.start.valueOf())&&(n.end===null?null:n.end.valueOf())===(t.end===null?null:t.end.valueOf())}function sT(n,t){return(n.end===null||t.start===null||n.end>t.start)&&(n.start===null||t.end===null||n.start<t.end)}function ku(n,t){return(n.start===null||t.start!==null&&t.start>=n.start)&&(n.end===null||t.end!==null&&t.end<=n.end)}function _a(n,t){return(n.start===null||t>=n.start)&&(n.end===null||t<n.end)}function mde(n,t){return t.start!=null&&n<t.start?t.start:t.end!=null&&n>=t.end?new Date(t.end.valueOf()-1):n}function x3(n){let t=Math.floor(Oi(n.start,n.end))||1,e=ct(n.start),r=Bt(e,t);return{start:e,end:r}}function oT(n,t=Re(0)){let e=null,r=null;if(n.end){r=ct(n.end);let a=n.end.valueOf()-r.valueOf();a&&a>=ia(t)&&(r=Bt(r,1))}return n.start&&(e=ct(n.start),r&&r<=e&&(r=Bt(e,1))),{start:e,end:r}}function fC(n){let t=oT(n);return Oi(t.start,t.end)>1}function _o(n,t,e,r){return r==="year"?Re(e.diffWholeYears(n,t),"year"):r==="month"?Re(e.diffWholeMonths(n,t),"month"):y3(n,t)}function wu(n,t,e,r){return{instanceId:Fs(),defId:n,range:t,forcedStartTzo:e==null?null:e,forcedEndTzo:r==null?null:r}}function hde(n,t,e,r){for(let a=0;a<r.length;a+=1){let i=r[a].parse(n,e);if(i){let{allDay:s}=n;return s==null&&(s=t,s==null&&(s=i.allDayGuess,s==null&&(s=!1))),{allDay:s,duration:i.duration,typeData:i.typeData,typeId:a}}}return null}function hc(n,t,e){let{dateEnv:r,pluginHooks:a,options:i}=e,{defs:s,instances:o}=n;o=As(o,l=>!s[l.defId].recurringDef);for(let l in s){let c=s[l];if(c.recurringDef){let{duration:d}=c.recurringDef;d||(d=c.allDay?i.defaultAllDayEventDuration:i.defaultTimedEventDuration);let u=fde(c,d,t,r,a.recurringTypes);for(let p of u){let m=wu(l,{start:p,end:r.add(p,d)});o[m.instanceId]=m}}}return{defs:s,instances:o}}function fde(n,t,e,r,a){let s=a[n.recurringDef.typeId].expand(n.recurringDef.typeData,{start:r.subtract(e.start,t),end:e.end},r);return n.allDay&&(s=s.map(ct)),s}function P3(n,t,e,r,a=gC(e),i,s){let{refined:o,extra:l}=jf(n,e,a),c=vde(t,e),d=hde(o,c,e.dateEnv,e.pluginHooks.recurringTypes);if(d){let p=mu(o,l,t?t.sourceId:"",d.allDay,!!d.duration,e,i);return p.recurringDef={typeId:d.typeId,typeData:d.typeData,duration:d.duration},{def:p,instance:null}}let u=yde(o,c,e,r);if(u){let p=mu(o,l,t?t.sourceId:"",u.allDay,u.hasEnd,e,i),m=wu(p.defId,u.range,u.forcedStartTzo,u.forcedEndTzo);return s&&p.publicId&&s[p.publicId]&&(m.instanceId=s[p.publicId]),{def:p,instance:m}}return null}function jf(n,t,e=gC(t)){return Bf(n,e)}function gC(n){return Object.assign(Object.assign(Object.assign({},Gb),gde),n.pluginHooks.eventRefiners)}function mu(n,t,e,r,a,i,s){let o={title:n.title||"",groupId:n.groupId||"",publicId:n.id||"",url:n.url||"",recurringDef:null,defId:(s&&n.id?s[n.id]:"")||Fs(),sourceId:e,allDay:r,hasEnd:a,interactive:n.interactive,ui:Su(n,i),extendedProps:Object.assign(Object.assign({},n.extendedProps||{}),t)};for(let l of i.pluginHooks.eventDefMemberAdders)Object.assign(o,l(n));return Object.freeze(o.ui.classNames),Object.freeze(o.extendedProps),o}function yde(n,t,e,r){let{allDay:a}=n,i,s=null,o=!1,l,c=null,d=n.start!=null?n.start:n.date;if(i=e.dateEnv.createMarkerMeta(d),i)s=i.marker;else if(!r)return null;return n.end!=null&&(l=e.dateEnv.createMarkerMeta(n.end)),a==null&&(t!=null?a=t:a=(!i||i.isTimeUnspecified)&&(!l||l.isTimeUnspecified)),a&&s&&(s=ct(s)),l&&(c=l.marker,a&&(c=ct(c)),s&&c<=s&&(c=null)),c?o=!0:r||(o=e.options.forceEventDuration||!1,c=e.dateEnv.add(s,a?e.options.defaultAllDayEventDuration:e.options.defaultTimedEventDuration)),{allDay:a,hasEnd:o,range:{start:s,end:c},forcedStartTzo:i?i.forcedTzo:null,forcedEndTzo:l?l.forcedTzo:null}}function vde(n,t){let e=null;return n&&(e=n.defaultAllDay),e==null&&(e=t.options.defaultAllDay),e}function Df(n,t,e,r,a,i){let s=vr(),o=gC(e);for(let l of n){let c=P3(l,t,e,r,o,a,i);c&&fc(c,s)}return s}function fc(n,t=vr()){return t.defs[n.def.defId]=n.def,n.instance&&(t.instances[n.instance.instanceId]=n.instance),t}function Hf(n,t){let e=n.instances[t];if(e){let r=n.defs[e.defId],a=cT(n,i=>bde(r,i));return a.defs[r.defId]=r,a.instances[e.instanceId]=e,a}return vr()}function bde(n,t){return!!(n.groupId&&n.groupId===t.groupId)}function vr(){return{defs:{},instances:{}}}function lT(n,t){return{defs:Object.assign(Object.assign({},n.defs),t.defs),instances:Object.assign(Object.assign({},n.instances),t.instances)}}function cT(n,t){let e=As(n.defs,t),r=As(n.instances,a=>e[a.defId]);return{defs:e,instances:r}}function Tde(n,t){let{defs:e,instances:r}=n,a={},i={};for(let s in e)t.defs[s]||(a[s]=e[s]);for(let s in r)!t.instances[s]&&a[r[s].defId]&&(i[s]=r[s]);return{defs:a,instances:i}}function kde(n,t){return Array.isArray(n)?Df(n,null,t,!0):typeof n=="object"&&n?Df([n],null,t,!0):n!=null?String(n):null}function $x(n){return Array.isArray(n)?n:typeof n=="string"?n.split(/\s+/):[]}function Su(n,t){let e=kde(n.constraint,t);return{display:n.display||null,startEditable:n.startEditable!=null?n.startEditable:n.editable,durationEditable:n.durationEditable!=null?n.durationEditable:n.editable,constraints:e!=null?[e]:[],overlap:n.overlap!=null?n.overlap:null,allows:n.allow!=null?[n.allow]:[],backgroundColor:n.backgroundColor||n.color||"",borderColor:n.borderColor||n.color||"",textColor:n.textColor||"",classNames:(n.className||[]).concat(n.classNames||[])}}function yC(n){return n.reduce(Sde,wde)}function Sde(n,t){return{display:t.display!=null?t.display:n.display,startEditable:t.startEditable!=null?t.startEditable:n.startEditable,durationEditable:t.durationEditable!=null?t.durationEditable:n.durationEditable,constraints:n.constraints.concat(t.constraints),overlap:typeof t.overlap=="boolean"?t.overlap:n.overlap,allows:n.allows.concat(t.allows),backgroundColor:t.backgroundColor||n.backgroundColor,borderColor:t.borderColor||n.borderColor,textColor:t.textColor||n.textColor,classNames:n.classNames.concat(t.classNames)}}function vC(n,t,e=bC(t)){let r;if(typeof n=="string"?r={url:n}:typeof n=="function"||Array.isArray(n)?r={events:n}:typeof n=="object"&&n&&(r=n),r){let{refined:a,extra:i}=Bf(r,e),s=Ede(a,t);if(s)return{_raw:n,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:a.defaultAllDay,eventDataTransform:a.eventDataTransform,success:a.success,failure:a.failure,publicId:a.id||"",sourceId:Fs(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Su(a,t),extendedProps:i}}return null}function bC(n){return Object.assign(Object.assign(Object.assign({},Gb),Dde),n.pluginHooks.eventSourceRefiners)}function Ede(n,t){let e=t.pluginHooks.eventSourceDefs;for(let r=e.length-1;r>=0;r-=1){let i=e[r].parseMeta(n);if(i)return{sourceDefId:r,meta:i}}return null}function M3(n,t,e,r,a){switch(t.type){case"RECEIVE_EVENTS":return xde(n,e[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,a);case"RESET_RAW_EVENTS":return Cde(n,e[t.sourceId],t.rawEvents,r.activeRange,a);case"ADD_EVENTS":return Pde(n,t.eventStore,r?r.activeRange:null,a);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return lT(n,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?hc(n,r.activeRange,a):n;case"REMOVE_EVENTS":return Tde(n,t.eventStore);case"REMOVE_EVENT_SOURCE":return I3(n,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return cT(n,i=>!i.sourceId);case"REMOVE_ALL_EVENTS":return vr();default:return n}}function xde(n,t,e,r,a,i){if(t&&e===t.latestFetchId){let s=Df(A3(a,t,i),t,i);return r&&(s=hc(s,r,i)),lT(I3(n,t.sourceId),s)}return n}function Cde(n,t,e,r,a){let{defIdMap:i,instanceIdMap:s}=Ade(n),o=Df(A3(e,t,a),t,a,!1,i,s);return hc(o,r,a)}function A3(n,t,e){let r=e.options.eventDataTransform,a=t?t.eventDataTransform:null;return a&&(n=r3(n,a)),r&&(n=r3(n,r)),n}function r3(n,t){let e;if(!t)e=n;else{e=[];for(let r of n){let a=t(r);a?e.push(a):a==null&&e.push(r)}}return e}function Pde(n,t,e,r){return e&&(t=hc(t,e,r)),lT(n,t)}function TC(n,t,e){let{defs:r}=n,a=Na(n.instances,i=>r[i.defId].allDay?i:Object.assign(Object.assign({},i),{range:{start:e.createMarker(t.toDate(i.range.start,i.forcedStartTzo)),end:e.createMarker(t.toDate(i.range.end,i.forcedEndTzo))},forcedStartTzo:e.canComputeOffset?null:i.forcedStartTzo,forcedEndTzo:e.canComputeOffset?null:i.forcedEndTzo}));return{defs:r,instances:a}}function I3(n,t){return cT(n,e=>e.sourceId!==t)}function Mde(n,t){return{defs:n.defs,instances:As(n.instances,e=>!t[e.instanceId])}}function Ade(n){let{defs:t,instances:e}=n,r={},a={};for(let i in t){let s=t[i],{publicId:o}=s;o&&(r[o]=i)}for(let i in e){let s=e[i],o=t[s.defId],{publicId:l}=o;l&&(a[l]=i)}return{defIdMap:r,instanceIdMap:a}}function Ide(n,t,e){(n[t]||(n[t]=[])).push(e)}function _de(n,t,e){e?n[t]&&(n[t]=n[t].filter(r=>r!==e)):delete n[t]}function kC(n,t){return Df(Rde(n),null,t)}function Rde(n){let t;return n===!0?t=[{}]:Array.isArray(n)?t=n.filter(e=>e.daysOfWeek):typeof n=="object"&&n?t=[n]:t=[],t=t.map(e=>Object.assign(Object.assign({},Nde),e)),t}function dT(n,t,e){e.emitter.trigger("select",Object.assign(Object.assign({},wC(n,e)),{jsEvent:t?t.origEvent:null,view:e.viewApi||e.calendarApi.view}))}function Fde(n,t){t.emitter.trigger("unselect",{jsEvent:n?n.origEvent:null,view:t.viewApi||t.calendarApi.view})}function wC(n,t){let e={};for(let r of t.pluginHooks.dateSpanTransforms)Object.assign(e,r(n,t));return Object.assign(e,Yde(n,t.dateEnv)),e}function Ef(n,t,e){let{dateEnv:r,options:a}=e,i=t;return n?(i=ct(i),i=r.add(i,a.defaultAllDayEventDuration)):i=r.add(i,a.defaultTimedEventDuration),i}function zf(n,t,e,r){let a=Kb(n.defs,t),i=vr();for(let s in n.defs){let o=n.defs[s];i.defs[s]=Ode(o,a[s],e,r)}for(let s in n.instances){let o=n.instances[s],l=i.defs[o.defId];i.instances[s]=Lde(o,l,a[o.defId],e,r)}return i}function Ode(n,t,e,r){let a=e.standardProps||{};a.hasEnd==null&&t.durationEditable&&(e.startDelta||e.endDelta)&&(a.hasEnd=!0);let i=Object.assign(Object.assign(Object.assign({},n),a),{ui:Object.assign(Object.assign({},n.ui),a.ui)});e.extendedProps&&(i.extendedProps=Object.assign(Object.assign({},i.extendedProps),e.extendedProps));for(let s of r.pluginHooks.eventDefMutationAppliers)s(i,e,r);return!i.hasEnd&&r.options.forceEventDuration&&(i.hasEnd=!0),i}function Lde(n,t,e,r,a){let{dateEnv:i}=a,s=r.standardProps&&r.standardProps.allDay===!0,o=r.standardProps&&r.standardProps.hasEnd===!1,l=Object.assign({},n);return s&&(l.range=x3(l.range)),r.datesDelta&&e.startEditable&&(l.range={start:i.add(l.range.start,r.datesDelta),end:i.add(l.range.end,r.datesDelta)}),r.startDelta&&e.durationEditable&&(l.range={start:i.add(l.range.start,r.startDelta),end:l.range.end}),r.endDelta&&e.durationEditable&&(l.range={start:l.range.start,end:i.add(l.range.end,r.endDelta)}),o&&(l.range={start:l.range.start,end:Ef(t.allDay,l.range.start,a)}),t.allDay&&(l.range={start:ct(l.range.start),end:ct(l.range.end)}),l.range.end<l.range.start&&(l.range.end=Ef(t.allDay,l.range.start,a)),l}function _3(n){let t=n._def,e=n._instance;return{defs:{[t.defId]:t},instances:e?{[e.instanceId]:e}:{}}}function Bi(n,t,e){let{defs:r,instances:a}=n,i=[],s=e?e.instanceId:"";for(let o in a){let l=a[o],c=r[l.defId];l.instanceId!==s&&i.push(new St(t,c,l))}return i}function hu(n,t,e,r){let a={},i={},s={},o=[],l=[],c=Kb(n.defs,t);for(let d in n.defs){let u=n.defs[d];c[u.defId].display==="inverse-background"&&(u.groupId?(a[u.groupId]=[],s[u.groupId]||(s[u.groupId]=u)):i[d]=[])}for(let d in n.instances){let u=n.instances[d],p=n.defs[u.defId],m=c[p.defId],h=u.range,f=!p.allDay&&r?oT(h,r):h,g=mn(f,e);g&&(m.display==="inverse-background"?p.groupId?a[p.groupId].push(g):i[u.defId].push(g):m.display!=="none"&&(m.display==="background"?o:l).push({def:p,ui:m,instance:u,range:g,isStart:f.start&&f.start.valueOf()===g.start.valueOf(),isEnd:f.end&&f.end.valueOf()===g.end.valueOf()}))}for(let d in a){let u=a[d],p=t3(u,e);for(let m of p){let h=s[d],f=c[h.defId];o.push({def:h,ui:f,instance:null,range:m,isStart:!1,isEnd:!1})}}for(let d in i){let u=i[d],p=t3(u,e);for(let m of p)o.push({def:n.defs[d],ui:c[d],instance:null,range:m,isStart:!1,isEnd:!1})}return{bg:o,fg:l}}function SC(n){return n.ui.display==="background"||n.ui.display==="inverse-background"}function n3(n,t){n.fcSeg=t}function Os(n){return n.fcSeg||n.parentNode.fcSeg||null}function Kb(n,t){return Na(n,e=>N3(e,t))}function N3(n,t){let e=[];return t[""]&&e.push(t[""]),t[n.defId]&&e.push(t[n.defId]),e.push(n.ui),yC(e)}function Dc(n,t){let e=n.map(Bde);return e.sort((r,a)=>h3(r,a,t)),e.map(r=>r._seg)}function Bde(n){let{eventRange:t}=n,e=t.def,r=t.instance?t.instance.range:t.range,a=r.start?r.start.valueOf():0,i=r.end?r.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},e.extendedProps),e),{id:e.publicId,start:a,end:i,duration:i-a,allDay:Number(e.allDay),_seg:n})}function jde(n,t){let{pluginHooks:e}=t,r=e.isDraggableTransformers,{def:a,ui:i}=n.eventRange,s=i.startEditable;for(let o of r)s=o(s,a,i,t);return s}function Hde(n,t){return n.isStart&&n.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function zde(n,t){return n.isEnd&&n.eventRange.ui.durationEditable}function Bo(n,t,e,r,a,i,s){let{dateEnv:o,options:l}=e,{displayEventTime:c,displayEventEnd:d}=l,u=n.eventRange.def,p=n.eventRange.instance;c==null&&(c=r!==!1),d==null&&(d=a!==!1);let m=p.range.start,h=p.range.end,f=i||n.start||n.eventRange.range.start,g=s||n.end||n.eventRange.range.end,v=ct(m).valueOf()===ct(f).valueOf(),T=ct(Ii(h,-1)).valueOf()===ct(Ii(g,-1)).valueOf();return c&&!u.allDay&&(v||T)?(f=v?m:f,g=T?h:g,d&&u.hasEnd?o.formatRange(f,g,t,{forcedStartTzo:i?null:p.forcedStartTzo,forcedEndTzo:s?null:p.forcedEndTzo}):o.format(f,t,{forcedTzo:i?null:p.forcedStartTzo})):""}function la(n,t,e){let r=n.eventRange.range;return{isPast:r.end<=(e||t.start),isFuture:r.start>=(e||t.end),isToday:t&&_a(t,r.start)}}function Ude(n){let t=["fc-event"];return n.isMirror&&t.push("fc-event-mirror"),n.isDraggable&&t.push("fc-event-draggable"),(n.isStartResizable||n.isEndResizable)&&t.push("fc-event-resizable"),n.isDragging&&t.push("fc-event-dragging"),n.isResizing&&t.push("fc-event-resizing"),n.isSelected&&t.push("fc-event-selected"),n.isStart&&t.push("fc-event-start"),n.isEnd&&t.push("fc-event-end"),n.isPast&&t.push("fc-event-past"),n.isToday&&t.push("fc-event-today"),n.isFuture&&t.push("fc-event-future"),t}function Uf(n){return n.instance?n.instance.instanceId:`${n.def.defId}:${n.range.start.toISOString()}`}function Du(n,t){let{def:e,instance:r}=n.eventRange,{url:a}=e;if(a)return{href:a};let{emitter:i,options:s}=t,{eventInteractive:o}=s;return o==null&&(o=e.interactive,o==null&&(o=!!i.hasHandlers("eventClick"))),o?p3(l=>{i.trigger("eventClick",{el:l.target,event:new St(t,e,r),jsEvent:l,view:t.viewApi})}):{}}function qde(n,t,e){let r=Vde(n,t),{range:a}=r;if(!a.start)return null;if(!a.end){if(e==null)return null;a.end=t.add(a.start,e)}return r}function Vde(n,t){let{refined:e,extra:r}=Bf(n,Wde),a=e.start?t.createMarkerMeta(e.start):null,i=e.end?t.createMarkerMeta(e.end):null,{allDay:s}=e;return s==null&&(s=a&&a.isTimeUnspecified&&(!i||i.isTimeUnspecified)),Object.assign({range:{start:a?a.marker:null,end:i?i.marker:null},allDay:s},r)}function DC(n,t){return E3(n.range,t.range)&&n.allDay===t.allDay&&$de(n,t)}function $de(n,t){for(let e in t)if(e!=="range"&&e!=="allDay"&&n[e]!==t[e])return!1;for(let e in n)if(!(e in t))return!1;return!0}function Yde(n,t){return Object.assign(Object.assign({},R3(n.range,t,n.allDay)),{allDay:n.allDay})}function EC(n,t,e){return Object.assign(Object.assign({},R3(n,t,e)),{timeZone:t.timeZone})}function R3(n,t,e){return{start:t.toDate(n.start),end:t.toDate(n.end),startStr:t.formatIso(n.start,{omitTime:e}),endStr:t.formatIso(n.end,{omitTime:e})}}function Gde(n,t,e){let r=jf({editable:!1},e),a=mu(r.refined,r.extra,"",n.allDay,!0,e);return{def:a,ui:N3(a,t),instance:wu(a.defId,n.range),range:n.range,isStart:!0,isEnd:!0}}function xC(n,t,e){let r=!1,a=function(o){r||(r=!0,t(o))},i=function(o){r||(r=!0,e(o))},s=n(a,i);s&&typeof s.then=="function"&&s.then(a,i)}function CC(n,t,e){n=n.toUpperCase();let r={method:n};return n==="GET"?t+=(t.indexOf("?")===-1?"?":"&")+new URLSearchParams(e):(r.body=new URLSearchParams(e),r.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,r).then(a=>{if(a.ok)return a.json().then(i=>[i,a],()=>{throw new Qb("Failure parsing JSON",a)});throw new Qb("Request failed",a)})}function PC(){return _x==null&&(_x=Kde()),_x}function Kde(){if(typeof document=="undefined")return!0;let n=document.createElement("div");n.style.position="absolute",n.style.top="0px",n.style.left="0px",n.innerHTML="<table><tr><td><div></div></td></tr></table>",n.querySelector("table").style.height="100px",n.querySelector("div").style.height="100%",document.body.appendChild(n);let e=n.querySelector("div").offsetHeight>0;return document.body.removeChild(n),e}function F3(n,t){return{component:n,el:t.el,useEventCenter:t.useEventCenter!=null?t.useEventCenter:!0,isHitComboAllowed:t.isHitComboAllowed||null}}function Wf(n){return{[n.component.uid]:n}}function Qde(n){let t=ct(n),e=Bt(t,1);return{start:t,end:e}}function MC(n,t){return n.left>=t.left&&n.left<t.right&&n.top>=t.top&&n.top<t.bottom}function uT(n,t){let e={left:Math.max(n.left,t.left),right:Math.min(n.right,t.right),top:Math.max(n.top,t.top),bottom:Math.min(n.bottom,t.bottom)};return e.left<e.right&&e.top<e.bottom?e:!1}function AC(n,t){return{left:Math.min(Math.max(n.left,t.left),t.right),top:Math.min(Math.max(n.top,t.top),t.bottom)}}function IC(n){return{left:(n.left+n.right)/2,top:(n.top+n.bottom)/2}}function _C(n,t){return{left:n.left-t.left,top:n.top-t.top}}function Zde(n,t,e){let r=[];n&&r.push(n),t&&r.push(t);let a={"":yC(r)};return e&&Object.assign(a,e),a}function qf(n,t,e,r){return{dow:n.getUTCDay(),isDisabled:!!(r&&(!r.activeRange||!_a(r.activeRange,n))),isOther:!!(r&&!_a(r.currentRange,n)),isToday:!!(t&&_a(t,n)),isPast:!!(e?n<e:t&&n<t.start),isFuture:!!(e?n>e:t&&n>=t.end)}}function Eu(n,t){let e=["fc-day",`fc-day-${_ce[n.dow]}`];return n.isDisabled?e.push("fc-day-disabled"):(n.isToday&&(e.push("fc-day-today"),e.push(t.getClass("today"))),n.isPast&&e.push("fc-day-past"),n.isFuture&&e.push("fc-day-future"),n.isOther&&e.push("fc-day-other")),e}function ji(n,t,e="day",r=!0){let{dateEnv:a,options:i,calendarApi:s}=n,o=a.format(t,e==="week"?Xde:Jde);if(i.navLinks){let l=a.toDate(t),c=d=>{let u=e==="day"?i.navLinkDayClick:e==="week"?i.navLinkWeekClick:null;typeof u=="function"?u.call(s,a.toDate(t),d):(typeof u=="string"&&(e=u),s.zoomTo(t,e))};return Object.assign({title:vu(i.navLinkHint,[o,l],o),"data-navlink":""},r?u3(c):{onClick:c})}return{"aria-label":o}}function O3(){return Rx===null&&(Rx=eue()),Rx}function eue(){let n=document.createElement("div");Sc(n,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),n.innerHTML="<div></div>",document.body.appendChild(n);let e=n.firstChild.getBoundingClientRect().left>n.getBoundingClientRect().left;return Rf(n),e}function L3(){return Fx||(Fx=tue()),Fx}function tue(){let n=document.createElement("div");n.style.overflow="scroll",n.style.position="absolute",n.style.top="-9999px",n.style.left="-9999px",document.body.appendChild(n);let t=B3(n);return document.body.removeChild(n),t}function B3(n){return{x:n.offsetHeight-n.clientHeight,y:n.offsetWidth-n.clientWidth}}function j3(n,t=!1){let e=window.getComputedStyle(n),r=parseInt(e.borderLeftWidth,10)||0,a=parseInt(e.borderRightWidth,10)||0,i=parseInt(e.borderTopWidth,10)||0,s=parseInt(e.borderBottomWidth,10)||0,o=B3(n),l=o.y-r-a,c=o.x-i-s,d={borderLeft:r,borderRight:a,borderTop:i,borderBottom:s,scrollbarBottom:c,scrollbarLeft:0,scrollbarRight:0};return O3()&&e.direction==="rtl"?d.scrollbarLeft=l:d.scrollbarRight=l,t&&(d.paddingLeft=parseInt(e.paddingLeft,10)||0,d.paddingRight=parseInt(e.paddingRight,10)||0,d.paddingTop=parseInt(e.paddingTop,10)||0,d.paddingBottom=parseInt(e.paddingBottom,10)||0),d}function NC(n,t=!1,e){let r=e?n.getBoundingClientRect():Vf(n),a=j3(n,t),i={left:r.left+a.borderLeft+a.scrollbarLeft,right:r.right-a.borderRight-a.scrollbarRight,top:r.top+a.borderTop,bottom:r.bottom-a.borderBottom-a.scrollbarBottom};return t&&(i.left+=a.paddingLeft,i.right-=a.paddingRight,i.top+=a.paddingTop,i.bottom-=a.paddingBottom),i}function Vf(n){let t=n.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,right:t.right+window.scrollX,bottom:t.bottom+window.scrollY}}function rue(n){let t=pT(n),e=n.getBoundingClientRect();for(let r of t){let a=uT(e,r.getBoundingClientRect());if(a)e=a;else return null}return e}function pT(n){let t=[];for(;n instanceof HTMLElement;){let e=window.getComputedStyle(n);if(e.position==="fixed")break;/(auto|scroll)/.test(e.overflow+e.overflowY+e.overflowX)&&t.push(n),n=n.parentNode}return t}function jb(n,t){let e=n.length;if(e!==t.length)return!1;for(let r=0;r<e;r++)if(Math.round(n[r])!==Math.round(t[r]))return!1;return!0}function If(n){return n.span.end}function Ni(n){return n.index+":"+n.span.start}function RC(n){let t=[];for(let e of n){let r=[],a={span:e.span,entries:[e]};for(let i of t)$f(i.span,a.span)?a={entries:i.entries.concat(a.entries),span:nue(i.span,a.span)}:r.push(i);r.push(a),t=r}return t}function nue(n,t){return{start:Math.min(n.start,t.start),end:Math.max(n.end,t.end)}}function $f(n,t){let e=Math.max(n.start,t.start),r=Math.min(n.end,t.end);return e<r?{start:e,end:r}:null}function Ox(n,t,e){n.splice(t,0,e)}function _f(n,t,e){let r=0,a=n.length;if(!a||t<e(n[r]))return[0,0];if(t>e(n[a-1]))return[a,0];for(;r<a;){let i=Math.floor(r+(a-r)/2),s=e(n[i]);if(t<s)a=i;else if(t>s)r=i+1;else return[i,1]}return[r,0]}function Yf(n){let{refined:t,extra:e}=Bf(n,aue);return{startTime:t.startTime||null,duration:t.duration||null,create:t.create!=null?t.create:!0,sourceId:t.sourceId,leftoverProps:e}}function H3(n,t){return!n||t>10?rt({weekday:"short"}):t>1?rt({weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}):rt({weekday:"long"})}function U3(n){return n.text}function sue(n,t,e){return n||H3(t,e)}function Hb(n,t){let e=n.activeRange;return t?e:{start:Ii(e.start,n.slotMinTime.milliseconds),end:Ii(e.end,n.slotMaxTime.milliseconds-864e5)}}function Gf(n,t,e){let{instances:r}=n.mutatedEvents;for(let a in r)if(!ku(t.validRange,r[a].range))return!1;return W3({eventDrag:n},e)}function FC(n,t,e){return ku(t.validRange,n.range)?W3({dateSelection:n},e):!1}function W3(n,t){let e=t.getCurrentData(),r=Object.assign({businessHours:e.businessHours,dateSelection:"",eventStore:e.eventStore,eventUiBases:e.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},n);return(t.pluginHooks.isPropsValid||q3)(r,t)}function q3(n,t,e={},r){return!(n.eventDrag&&!oue(n,t,e,r)||n.dateSelection&&!lue(n,t,e,r))}function oue(n,t,e,r){let a=t.getCurrentData(),i=n.eventDrag,s=i.mutatedEvents,o=s.defs,l=s.instances,c=Kb(o,i.isEvent?n.eventUiBases:{"":a.selectionConfig});r&&(c=Na(c,r));let d=Mde(n.eventStore,i.affectedEvents.instances),u=d.defs,p=d.instances,m=Kb(u,n.eventUiBases);for(let h in l){let f=l[h],g=f.range,v=c[f.defId],T=o[f.defId];if(!V3(v.constraints,g,d,n.businessHours,t))return!1;let{eventOverlap:k}=t.options,w=typeof k=="function"?k:null;for(let x in p){let I=p[x];if(sT(g,I.range)&&(m[I.defId].overlap===!1&&i.isEvent||v.overlap===!1||w&&!w(new St(t,u[I.defId],I),new St(t,T,f))))return!1}let S=a.eventStore;for(let x of v.allows){let I=Object.assign(Object.assign({},e),{range:f.range,allDay:T.allDay}),A=S.defs[T.defId],B=S.instances[h],z;if(A?z=new St(t,A,B):z=new St(t,T),!x(wC(I,t),z))return!1}}return!0}function lue(n,t,e,r){let a=n.eventStore,i=a.defs,s=a.instances,o=n.dateSelection,l=o.range,{selectionConfig:c}=t.getCurrentData();if(r&&(c=r(c)),!V3(c.constraints,l,a,n.businessHours,t))return!1;let{selectOverlap:d}=t.options,u=typeof d=="function"?d:null;for(let p in s){let m=s[p];if(sT(l,m.range)&&(c.overlap===!1||u&&!u(new St(t,i[m.defId],m),null)))return!1}for(let p of c.allows){let m=Object.assign(Object.assign({},e),o);if(!p(wC(m,t),null))return!1}return!0}function V3(n,t,e,r,a){for(let i of n)if(!due(cue(i,t,e,r,a),t))return!1;return!0}function cue(n,t,e,r,a){return n==="businessHours"?Lx(hc(r,t,a)):typeof n=="string"?Lx(cT(e,i=>i.groupId===n)):typeof n=="object"&&n?Lx(hc(n,t,a)):[]}function Lx(n){let{instances:t}=n,e=[];for(let r in t)e.push(t[r].range);return e}function due(n,t){for(let e of n)if(ku(e,t))return!0;return!1}function $3(n){let t=c3(n,".fc-scrollgrid-shrink"),e=0;for(let r of t)e=Math.max(e,xce(r));return Math.ceil(e)}function OC(n,t){return n.liquid&&t.liquid}function Y3(n,t){return t.maxHeight!=null||OC(n,t)}function G3(n,t,e,r){let{expandRows:a}=e;return typeof t.content=="function"?t.content(e):E("table",{role:"presentation",className:[t.tableClassName,n.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:a?e.clientHeight:""}},e.tableColGroupNode,E(r?"thead":"tbody",{role:"presentation"},typeof t.rowContent=="function"?t.rowContent(e):t.rowContent))}function K3(n,t){return Fi(n,t,Jr)}function Q3(n,t){let e=[];for(let r of n){let a=r.span||1;for(let i=0;i<a;i+=1)e.push(E("col",{style:{width:r.width==="shrink"?Z3(t):r.width||"",minWidth:r.minWidth||""}}))}return E("colgroup",{},...e)}function Z3(n){return n==null?4:n}function J3(n){for(let t of n)if(t.width==="shrink")return!0;return!1}function X3(n,t){let e=["fc-scrollgrid",t.theme.getClass("table")];return n&&e.push("fc-scrollgrid-liquid"),e}function eG(n,t){let e=["fc-scrollgrid-section",`fc-scrollgrid-section-${n.type}`,n.className];return t&&n.liquid&&n.maxHeight==null&&e.push("fc-scrollgrid-section-liquid"),n.isSticky&&e.push("fc-scrollgrid-section-sticky"),e}function Cu(n){return E("div",{className:"fc-scrollgrid-sticky-shim",style:{width:n.clientWidth,minWidth:n.tableMinWidth}})}function xc(n){let{stickyHeaderDates:t}=n;return(t==null||t==="auto")&&(t=n.height==="auto"||n.viewHeight==="auto"),t}function Kf(n){let{stickyFooterScrollbar:t}=n;return(t==null||t==="auto")&&(t=n.height==="auto"||n.viewHeight==="auto"),t}function uue(n,t){for(let e of n)if(e.key===t)return e;return null}function pue(n){return E("div",{className:"fc-event-main-frame"},n.timeText&&E("div",{className:"fc-event-time"},n.timeText),E("div",{className:"fc-event-title-container"},E("div",{className:"fc-event-title fc-sticky"},n.event.title||E(tt,null,"\xA0"))))}function Pu(n){return!!(n.dayCellContent||Vx("dayCellContent",n))}function hue(n){let{date:t,dateEnv:e,dateProfile:r,isMonthStart:a}=n,i=qf(t,n.todayRange,null,r),s=n.showDayNumber?e.format(t,a?n.monthStartFormat:mue):"";return Object.assign(Object.assign(Object.assign({date:e.toDate(t),view:n.viewApi},i),{isMonthStart:a,dayNumberText:s}),n.extraRenderProps)}function fue(n){let{title:t}=n.event;return t&&E("div",{className:"fc-event-title"},n.event.title)}function Zf(n){return E("div",{className:`fc-${n}`})}function gue(n){return n.text}function yue(n){return n.text}function a3(n){if(n.allDayDate)return{start:n.allDayDate,end:Bt(n.allDayDate,1)};let{hiddenSegs:t}=n;return{start:mT(t),end:bue(t)}}function mT(n){return n.reduce(vue).eventRange.range.start}function vue(n,t){return n.eventRange.range.start<t.eventRange.range.start?n:t}function bue(n){return n.reduce(Tue).eventRange.range.end}function Tue(n,t){return n.eventRange.range.end>t.eventRange.range.end?n:t}var i3,jx,Mx,wce,pc,Sce,$Y,YY,GY,KY,Cce,_ce,Ix,qb,Lb,zce,Uce,Wce,qce,Hx,zx,Ux,lC,Li,cC,dC,Lo,b3,$b,Xce,k3,Wx,ide,kf,Is,qx,Yb,Ra,_i,Ue,Sf,mC,Kt,sa,mc,Wb,C3,gde,Gb,wde,Dde,_s,Nde,Mo,St,Wde,Qb,_x,xf,ii,Ec,An,Cf,Nx,Pf,Jde,Xde,Rx,Fx,si,gc,Mf,Af,or,yc,Nf,xu,aue,z3,Zb,iue,Jb,Ns,vc,bc,Tc,zb,fu,In,No,Rs,Ro,Qf,mue,Fo,kc,Jf,Bx,Yx,Gx,wc,LC=b(()=>{Ms();Ms();vf();i3=[],jx=new Map;typeof document!="undefined"&&o3(document);wce=':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQUFBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}';Ri(wce);pc=class{constructor(t){this.drainedOption=t,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(t){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),t==null?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),t))}pause(t=""){let{pauseDepths:e}=this;e[t]=(e[t]||0)+1,this.clearTimeout()}resume(t="",e){let{pauseDepths:r}=this;t in r&&(e?delete r[t]:(r[t]-=1,r[t]<=0&&delete r[t]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}};Sce=/(top|left|right|bottom|width|height)$/i;$Y=0;YY=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];GY=0;KY=["years","months","days","milliseconds"],Cce=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;_ce=["sun","mon","tue","wed","thu","fri","sat"];Ix={week:3,separator:9,omitZeroMinute:9,meridiem:9,omitCommas:9},qb={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},Lb=/\s*([ap])\.?m\.?/i,zce=/,/g,Uce=/\s+/g,Wce=/\u200e/g,qce=/UTC|GMT/,Hx=class{constructor(t){let e={},r={},a=9;for(let i in t)i in Ix?(r[i]=t[i],Ix[i]<9&&(a=Math.min(Ix[i],a))):(e[i]=t[i],i in qb&&(a=Math.min(qb[i],a)));this.standardDateProps=e,this.extendedSettings=r,this.smallestUnitNum=a,this.buildFormattingFunc=pe(XY)}format(t,e){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,e)(t)}formatRange(t,e,r,a){let{standardDateProps:i,extendedSettings:s}=this,o=Qce(t.marker,e.marker,r.calendarSystem);if(!o)return this.format(t,r);let l=o;l>1&&(i.year==="numeric"||i.year==="2-digit")&&(i.month==="numeric"||i.month==="2-digit")&&(i.day==="numeric"||i.day==="2-digit")&&(l=1);let c=this.format(t,r),d=this.format(e,r);if(c===d)return c;let u=Zce(i,l),p=XY(u,s,r),m=p(t),h=p(e),f=Jce(c,m,d,h),g=s.separator||a||r.defaultSeparator||"";return f?f.before+m+g+h+f.after:c+g+d}getSmallestUnit(){switch(this.smallestUnitNum){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}};zx=class{constructor(t){this.cmdStr=t}format(t,e,r){return e.cmdFormatter(this.cmdStr,Vb(t,null,e,r))}formatRange(t,e,r,a){return r.cmdFormatter(this.cmdStr,Vb(t,e,r,a))}},Ux=class{constructor(t){this.func=t}format(t,e,r){return this.func(Vb(t,null,e,r))}formatRange(t,e,r,a){return this.func(Vb(t,e,r,a))}};lC={navLinkDayClick:F,navLinkWeekClick:F,duration:Re,bootstrapFontAwesome:F,buttonIcons:F,customButtons:F,defaultAllDayEventDuration:Re,defaultTimedEventDuration:Re,nextDayThreshold:Re,scrollTime:Re,scrollTimeReset:Boolean,slotMinTime:Re,slotMaxTime:Re,dayPopoverFormat:rt,slotDuration:Re,snapDuration:Re,headerToolbar:F,footerToolbar:F,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:rt,dayHeaderClassNames:F,dayHeaderContent:F,dayHeaderDidMount:F,dayHeaderWillUnmount:F,dayCellClassNames:F,dayCellContent:F,dayCellDidMount:F,dayCellWillUnmount:F,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:F,weekNumbers:Boolean,weekNumberClassNames:F,weekNumberContent:F,weekNumberDidMount:F,weekNumberWillUnmount:F,editable:Boolean,viewClassNames:F,viewDidMount:F,viewWillUnmount:F,nowIndicator:Boolean,nowIndicatorSnap:F,nowIndicatorClassNames:F,nowIndicatorContent:F,nowIndicatorDidMount:F,nowIndicatorWillUnmount:F,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:F,locale:F,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:F,eventOrder:m3,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:F,contentHeight:F,direction:String,weekNumberFormat:rt,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:F,initialDate:F,now:F,eventDataTransform:F,stickyHeaderDates:F,stickyFooterScrollbar:F,viewHeight:F,defaultAllDay:Boolean,eventSourceFailure:F,eventSourceSuccess:F,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:F,eventConstraint:F,eventAllow:F,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:F,eventContent:F,eventDidMount:F,eventWillUnmount:F,selectConstraint:F,selectOverlap:F,selectAllow:F,droppable:Boolean,unselectCancel:String,slotLabelFormat:F,slotLaneClassNames:F,slotLaneContent:F,slotLaneDidMount:F,slotLaneWillUnmount:F,slotLabelClassNames:F,slotLabelContent:F,slotLabelDidMount:F,slotLabelWillUnmount:F,dayMaxEvents:F,dayMaxEventRows:F,dayMinWidth:Number,slotLabelInterval:Re,allDayText:String,allDayClassNames:F,allDayContent:F,allDayDidMount:F,allDayWillUnmount:F,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:rt,rerenderDelay:Number,moreLinkText:F,moreLinkHint:F,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:F,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:Re,hiddenDays:F,fixedWeekCount:Boolean,validRange:F,visibleRange:F,titleFormat:F,eventInteractive:Boolean,noEventsText:String,viewHint:F,navLinkHint:F,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:F,moreLinkClassNames:F,moreLinkContent:F,moreLinkDidMount:F,moreLinkWillUnmount:F,monthStartFormat:rt,handleCustomRendering:F,customRenderingMetaMap:F,customRenderingReplaces:Boolean},Li={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" \u2013 ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"},nowIndicatorSnap:"auto"},cC={datesSet:F,eventsSet:F,eventAdd:F,eventChange:F,eventRemove:F,windowResize:F,eventClick:F,eventMouseEnter:F,eventMouseLeave:F,select:F,unselect:F,loading:F,_unmount:F,_beforeprint:F,_afterprint:F,_noEventDrop:F,_noEventResize:F,_resize:F,_scrollRequest:F},dC={buttonText:F,buttonHints:F,views:F,plugins:F,initialEvents:F,events:F,eventSources:F},Lo={headerToolbar:dc,footerToolbar:dc,buttonText:dc,buttonHints:dc,buttonIcons:dc,dateIncrement:dc,plugins:Bb,events:Bb,eventSources:Bb,resources:Bb};b3={type:String,component:F,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:F,usesMinMaxTime:Boolean,classNames:F,content:F,didMount:F,willUnmount:F};({hasOwnProperty:$b}=Object.prototype);Xce=/^on[A-Z]/;k3={};Wx=class{getMarkerYear(t){return t.getUTCFullYear()}getMarkerMonth(t){return t.getUTCMonth()}getMarkerDay(t){return t.getUTCDate()}arrayToMarker(t){return Mn(t)}markerToArray(t){return Ao(t)}};nde("gregory",Wx);ide=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;kf=class{constructor(t){let e=this.timeZone=t.timeZone,r=e!=="local"&&e!=="UTC";t.namedTimeZoneImpl&&r&&(this.namedTimeZoneImpl=new t.namedTimeZoneImpl(e)),this.canComputeOffset=!!(!r||this.namedTimeZoneImpl),this.calendarSystem=ade(t.calendarSystem),this.locale=t.locale,this.weekDow=t.locale.week.dow,this.weekDoy=t.locale.week.doy,t.weekNumberCalculation==="ISO"&&(this.weekDow=1,this.weekDoy=4),typeof t.firstDay=="number"&&(this.weekDow=t.firstDay),typeof t.weekNumberCalculation=="function"&&(this.weekNumberFunc=t.weekNumberCalculation),this.weekText=t.weekText!=null?t.weekText:t.locale.options.weekText,this.weekTextLong=(t.weekTextLong!=null?t.weekTextLong:t.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=t.cmdFormatter,this.defaultSeparator=t.defaultSeparator}createMarker(t){let e=this.createMarkerMeta(t);return e===null?null:e.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker(new Date().valueOf()):Mn(ZY(new Date))}createMarkerMeta(t){if(typeof t=="string")return this.parse(t);let e=null;return typeof t=="number"?e=this.timestampToMarker(t):t instanceof Date?(t=t.valueOf(),isNaN(t)||(e=this.timestampToMarker(t))):Array.isArray(t)&&(e=Mn(t)),e===null||!iC(e)?null:{marker:e,isTimeUnspecified:!1,forcedTzo:null}}parse(t){let e=w3(t);if(e===null)return null;let{marker:r}=e,a=null;return e.timeZoneOffset!==null&&(this.canComputeOffset?r=this.timestampToMarker(r.valueOf()-e.timeZoneOffset*60*1e3):a=e.timeZoneOffset),{marker:r,isTimeUnspecified:e.isTimeUnspecified,forcedTzo:a}}getYear(t){return this.calendarSystem.getMarkerYear(t)}getMonth(t){return this.calendarSystem.getMarkerMonth(t)}getDay(t){return this.calendarSystem.getMarkerDay(t)}add(t,e){let r=this.calendarSystem.markerToArray(t);return r[0]+=e.years,r[1]+=e.months,r[2]+=e.days,r[6]+=e.milliseconds,this.calendarSystem.arrayToMarker(r)}subtract(t,e){let r=this.calendarSystem.markerToArray(t);return r[0]-=e.years,r[1]-=e.months,r[2]-=e.days,r[6]-=e.milliseconds,this.calendarSystem.arrayToMarker(r)}addYears(t,e){let r=this.calendarSystem.markerToArray(t);return r[0]+=e,this.calendarSystem.arrayToMarker(r)}addMonths(t,e){let r=this.calendarSystem.markerToArray(t);return r[1]+=e,this.calendarSystem.arrayToMarker(r)}diffWholeYears(t,e){let{calendarSystem:r}=this;return Io(t)===Io(e)&&r.getMarkerDay(t)===r.getMarkerDay(e)&&r.getMarkerMonth(t)===r.getMarkerMonth(e)?r.getMarkerYear(e)-r.getMarkerYear(t):null}diffWholeMonths(t,e){let{calendarSystem:r}=this;return Io(t)===Io(e)&&r.getMarkerDay(t)===r.getMarkerDay(e)?r.getMarkerMonth(e)-r.getMarkerMonth(t)+(r.getMarkerYear(e)-r.getMarkerYear(t))*12:null}greatestWholeUnit(t,e){let r=this.diffWholeYears(t,e);return r!==null?{unit:"year",value:r}:(r=this.diffWholeMonths(t,e),r!==null?{unit:"month",value:r}:(r=v3(t,e),r!==null?{unit:"week",value:r}:(r=pu(t,e),r!==null?{unit:"day",value:r}:(r=Nce(t,e),bf(r)?{unit:"hour",value:r}:(r=Rce(t,e),bf(r)?{unit:"minute",value:r}:(r=Fce(t,e),bf(r)?{unit:"second",value:r}:{unit:"millisecond",value:e.valueOf()-t.valueOf()}))))))}countDurationsBetween(t,e,r){let a;return r.years&&(a=this.diffWholeYears(t,e),a!==null)?a/Ace(r):r.months&&(a=this.diffWholeMonths(t,e),a!==null)?a/Ice(r):r.days&&(a=pu(t,e),a!==null)?a/uu(r):(e.valueOf()-t.valueOf())/ia(r)}startOf(t,e){return e==="year"?this.startOfYear(t):e==="month"?this.startOfMonth(t):e==="week"?this.startOfWeek(t):e==="day"?ct(t):e==="hour"?Oce(t):e==="minute"?Lce(t):e==="second"?Bce(t):null}startOfYear(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t)])}startOfMonth(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t)])}startOfWeek(t){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(t),this.calendarSystem.getMarkerMonth(t),t.getUTCDate()-(t.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(t){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(t)):jce(t,this.weekDow,this.weekDoy)}format(t,e,r={}){return e.format({marker:t,timeZoneOffset:r.forcedTzo!=null?r.forcedTzo:this.offsetForMarker(t)},this)}formatRange(t,e,r,a={}){return a.isEndExclusive&&(e=Ii(e,-1)),r.formatRange({marker:t,timeZoneOffset:a.forcedStartTzo!=null?a.forcedStartTzo:this.offsetForMarker(t)},{marker:e,timeZoneOffset:a.forcedEndTzo!=null?a.forcedEndTzo:this.offsetForMarker(e)},this,a.defaultSeparator)}formatIso(t,e={}){let r=null;return e.omitTimeZoneOffset||(e.forcedTzo!=null?r=e.forcedTzo:r=this.offsetForMarker(t)),rT(t,r,e.omitTime)}timestampToMarker(t){return this.timeZone==="local"?Mn(ZY(new Date(t))):this.timeZone==="UTC"||!this.namedTimeZoneImpl?new Date(t):Mn(this.namedTimeZoneImpl.timestampToArray(t))}offsetForMarker(t){return this.timeZone==="local"?-JY(Ao(t)).getTimezoneOffset():this.timeZone==="UTC"?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Ao(t)):null}toDate(t,e){return this.timeZone==="local"?JY(Ao(t)):this.timeZone==="UTC"?new Date(t.valueOf()):this.namedTimeZoneImpl?new Date(t.valueOf()-this.namedTimeZoneImpl.offsetForArray(Ao(t))*1e3*60):new Date(t.valueOf()-(e||0))}},Is=class{constructor(t){this.iconOverrideOption&&this.setIconOverride(t[this.iconOverrideOption])}setIconOverride(t){let e,r;if(typeof t=="object"&&t){e=Object.assign({},this.iconClasses);for(r in t)e[r]=this.applyIconOverridePrefix(t[r]);this.iconClasses=e}else t===!1&&(this.iconClasses={})}applyIconOverridePrefix(t){let e=this.iconOverridePrefix;return e&&t.indexOf(e)!==0&&(t=e+t),t}getClass(t){return this.classes[t]||""}getIconClass(t,e){let r;return e&&this.rtlIconClasses?r=this.rtlIconClasses[t]||this.iconClasses[t]:r=this.iconClasses[t],r?`${this.baseIconClass} ${r}`:""}getCustomButtonIconClass(t){let e;return this.iconOverrideCustomButtonOption&&(e=t[this.iconOverrideCustomButtonOption],e)?`${this.baseIconClass} ${this.applyIconOverridePrefix(e)}`:""}};Is.prototype.classes={};Is.prototype.iconClasses={};Is.prototype.baseIconClass="";Is.prototype.iconOverridePrefix="";qx=class extends Lr{render(){return E("div",{})}componentDidMount(){this.setState({})}};Yb=class{constructor(t,e,r,a){this.execFunc=t,this.emitter=e,this.scrollTime=r,this.scrollTimeReset=a,this.handleScrollRequest=i=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},i),this.drain()},e.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(t){t&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}},Ra=S3({});_i=class extends Lr{shouldComponentUpdate(t,e){return!Ub(this.props,t,this.propEquality)||!Ub(this.state,e,this.stateEquality)}safeSetState(t){Ub(this.state,Object.assign(Object.assign({},this.state),t),this.stateEquality)||this.setState(t)}};_i.addPropsEquality=sde;_i.addStateEquality=ode;_i.contextType=Ra;_i.prototype.propEquality={};_i.prototype.stateEquality={};Ue=class extends _i{};Ue.contextType=Ra;Sf=class extends Ue{constructor(){super(...arguments),this.id=Fs(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=t=>{let{options:e}=this.context,{generatorName:r}=this.props;(!e.customRenderingReplaces||!Vx(r,e))&&this.updateElRef(t)},this.updateElRef=t=>{this.props.elRef&&oa(this.props.elRef,t)}}render(){let{props:t,context:e}=this,{options:r}=e,{customGenerator:a,defaultGenerator:i,renderProps:s}=t,o=pC(t,[],this.handleEl),l=!1,c,d=[],u;if(a!=null){let p=typeof a=="function"?a(s,E):a;if(p===!0)l=!0;else{let m=p&&typeof p=="object";m&&"html"in p?o.dangerouslySetInnerHTML={__html:p.html}:m&&"domNodes"in p?d=Array.prototype.slice.call(p.domNodes):(m?kx(p):typeof p!="function")?c=p:u=p}}else l=!Vx(t.generatorName,r);return l&&i&&(c=i(s)),this.queuedDomNodes=d,this.currentGeneratorMeta=u,E(t.elTag,o,c)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(t){var e;let{props:r,context:a}=this,{handleCustomRendering:i,customRenderingMetaMap:s}=a.options;if(i){let o=(e=this.currentGeneratorMeta)!==null&&e!==void 0?e:s==null?void 0:s[r.generatorName];o&&i(Object.assign(Object.assign({id:this.id,isActive:t,containerEl:this.base,reportNewContainerEl:this.updateElRef,generatorMeta:o},r),{elClasses:(r.elClasses||[]).filter(lde)}))}}applyQueueudDomNodes(){let{queuedDomNodes:t,currentDomNodes:e}=this,r=this.base;if(!Fi(t,e)){e.forEach(Rf);for(let a of t)r.appendChild(a);this.currentDomNodes=t}}};Sf.addPropsEquality({elClasses:Fi,elStyle:Jr,elAttrs:ede,renderProps:Jr});mC=S3(0),Kt=class extends Lr{constructor(){super(...arguments),this.InnerContent=cde.bind(void 0,this),this.handleEl=t=>{this.el=t,this.props.elRef&&(oa(this.props.elRef,t),t&&this.didMountMisfire&&this.componentDidMount())}}render(){let{props:t}=this,e=dde(t.classNameGenerator,t.renderProps);if(t.children){let r=pC(t,e,this.handleEl),a=t.children(this.InnerContent,t.renderProps,r);return t.elTag?E(t.elTag,r,a):a}else return E(Sf,Object.assign(Object.assign({},t),{elRef:this.handleEl,elTag:t.elTag||"div",elClasses:(t.elClasses||[]).concat(e),renderId:this.context}))}componentDidMount(){var t,e;this.el?(e=(t=this.props).didMount)===null||e===void 0||e.call(t,Object.assign(Object.assign({},this.props.renderProps),{el:this.el})):this.didMountMisfire=!0}componentWillUnmount(){var t,e;(e=(t=this.props).willUnmount)===null||e===void 0||e.call(t,Object.assign(Object.assign({},this.props.renderProps),{el:this.el}))}};Kt.contextType=mC;sa=class extends Ue{render(){let{props:t,context:e}=this,{options:r}=e,a={view:e.viewApi};return E(Kt,{elRef:t.elRef,elTag:t.elTag||"div",elAttrs:t.elAttrs,elClasses:[...hC(t.viewSpec),...t.elClasses||[]],elStyle:t.elStyle,renderProps:a,classNameGenerator:r.viewClassNames,generatorName:void 0,didMount:r.viewDidMount,willUnmount:r.viewWillUnmount},()=>t.children)}};mc=class{constructor(t){this.props=t,this.initHiddenDays()}buildPrev(t,e,r){let{dateEnv:a}=this.props,i=a.subtract(a.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(i,-1,r)}buildNext(t,e,r){let{dateEnv:a}=this.props,i=a.add(a.startOf(e,t.currentRangeUnit),t.dateIncrement);return this.build(i,1,r)}build(t,e,r=!0){let{props:a}=this,i,s,o,l,c,d;return i=this.buildValidRange(),i=this.trimHiddenDays(i),r&&(t=mde(t,i)),s=this.buildCurrentRangeInfo(t,e),o=/^(year|month|week|day)$/.test(s.unit),l=this.buildRenderRange(this.trimHiddenDays(s.range),s.unit,o),l=this.trimHiddenDays(l),c=l,a.showNonCurrentDates||(c=mn(c,s.range)),c=this.adjustActiveRange(c),c=mn(c,i),d=sT(s.range,i),_a(l,t)||(t=l.start),{currentDate:t,validRange:i,currentRange:s.range,currentRangeUnit:s.unit,isRangeAllDay:o,activeRange:c,renderRange:l,slotMinTime:a.slotMinTime,slotMaxTime:a.slotMaxTime,isValid:d,dateIncrement:this.buildDateIncrement(s.duration)}}buildValidRange(){let t=this.props.validRangeInput,e=typeof t=="function"?t.call(this.props.calendarApi,this.props.dateEnv.toDate(this.props.nowManager.getDateMarker())):t;return this.refineRange(e)||{start:null,end:null}}buildCurrentRangeInfo(t,e){let{props:r}=this,a=null,i=null,s=null,o;return r.duration?(a=r.duration,i=r.durationUnit,s=this.buildRangeFromDuration(t,e,a,i)):(o=this.props.dayCount)?(i="day",s=this.buildRangeFromDayCount(t,e,o)):(s=this.buildCustomVisibleRange(t))?i=r.dateEnv.greatestWholeUnit(s.start,s.end).unit:(a=this.getFallbackDuration(),i=Tf(a).unit,s=this.buildRangeFromDuration(t,e,a,i)),{duration:a,unit:i,range:s}}getFallbackDuration(){return Re({day:1})}adjustActiveRange(t){let{dateEnv:e,usesMinMaxTime:r,slotMinTime:a,slotMaxTime:i}=this.props,{start:s,end:o}=t;return r&&(uu(a)<0&&(s=ct(s),s=e.add(s,a)),uu(i)>1&&(o=ct(o),o=Bt(o,-1),o=e.add(o,i))),{start:s,end:o}}buildRangeFromDuration(t,e,r,a){let{dateEnv:i,dateAlignment:s}=this.props,o,l,c;if(!s){let{dateIncrement:u}=this.props;u&&ia(u)<ia(r)?s=Tf(u).unit:s=a}uu(r)<=1&&this.isHiddenDay(o)&&(o=this.skipHiddenDays(o,e),o=ct(o));function d(){o=i.startOf(t,s),l=i.add(o,r),c={start:o,end:l}}return d(),this.trimHiddenDays(c)||(t=this.skipHiddenDays(t,e),d()),c}buildRangeFromDayCount(t,e,r){let{dateEnv:a,dateAlignment:i}=this.props,s=0,o=t,l;i&&(o=a.startOf(o,i)),o=ct(o),o=this.skipHiddenDays(o,e),l=o;do l=Bt(l,1),this.isHiddenDay(l)||(s+=1);while(s<r);return{start:o,end:l}}buildCustomVisibleRange(t){let{props:e}=this,r=e.visibleRangeInput,a=typeof r=="function"?r.call(e.calendarApi,e.dateEnv.toDate(t)):r,i=this.refineRange(a);return i&&(i.start==null||i.end==null)?null:i}buildRenderRange(t,e,r){return t}buildDateIncrement(t){let{dateIncrement:e}=this.props,r;return e||((r=this.props.dateAlignment)?Re(1,r):t||Re({days:1}))}refineRange(t){if(t){let e=ude(t,this.props.dateEnv);return e&&(e=oT(e)),e}return null}initHiddenDays(){let t=this.props.hiddenDays||[],e=[],r=0,a;for(this.props.weekends===!1&&t.push(0,6),a=0;a<7;a+=1)(e[a]=t.indexOf(a)!==-1)||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=e}trimHiddenDays(t){let{start:e,end:r}=t;return e&&(e=this.skipHiddenDays(e)),r&&(r=this.skipHiddenDays(r,-1,!0)),e==null||r==null||e<r?{start:e,end:r}:null}isHiddenDay(t){return t instanceof Date&&(t=t.getUTCDay()),this.isHiddenDayHash[t]}skipHiddenDays(t,e=1,r=!1){for(;this.isHiddenDayHash[(t.getUTCDay()+(r?e:0)+7)%7];)t=Bt(t,e);return t}};Wb={id:String,groupId:String,title:String,url:String,interactive:Boolean},C3={start:F,end:F,date:F,allDay:Boolean},gde=Object.assign(Object.assign(Object.assign({},Wb),C3),{extendedProps:F});Gb={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:F,overlap:F,allow:F,className:$x,classNames:$x,color:String,backgroundColor:String,borderColor:String,textColor:String},wde={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};Dde={id:String,defaultAllDay:Boolean,url:String,format:String,events:F,eventDataTransform:F,success:F,failure:F};_s=class{constructor(){this.handlers={},this.thisContext=null}setThisContext(t){this.thisContext=t}setOptions(t){this.options=t}on(t,e){Ide(this.handlers,t,e)}off(t,e){_de(this.handlers,t,e)}trigger(t,...e){let r=this.handlers[t]||[],a=this.options&&this.options[t],i=[].concat(a||[],r);for(let s of i)s.apply(this.thisContext,e)}hasHandlers(t){return!!(this.handlers[t]&&this.handlers[t].length||this.options&&this.options[t])}};Nde={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};Mo=class{constructor(t,e){this.context=t,this.internalEventSource=e}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}},St=class n{constructor(t,e,r){this._context=t,this._def=e,this._instance=r||null}setProp(t,e){if(t in C3)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if(t==="id")e=Wb[t](e),this.mutate({standardProps:{publicId:e}});else if(t in Wb)e=Wb[t](e),this.mutate({standardProps:{[t]:e}});else if(t in Gb){let r=Gb[t](e);t==="color"?r={backgroundColor:e,borderColor:e}:t==="editable"?r={startEditable:e,durationEditable:e}:r={[t]:e},this.mutate({standardProps:{ui:r}})}else console.warn(`Could not set prop '${t}'. Use setExtendedProp instead.`)}setExtendedProp(t,e){this.mutate({extendedProps:{[t]:e}})}setStart(t,e={}){let{dateEnv:r}=this._context,a=r.createMarker(t);if(a&&this._instance){let i=this._instance.range,s=_o(i.start,a,r,e.granularity);e.maintainDuration?this.mutate({datesDelta:s}):this.mutate({startDelta:s})}}setEnd(t,e={}){let{dateEnv:r}=this._context,a;if(!(t!=null&&(a=r.createMarker(t),!a))&&this._instance)if(a){let i=_o(this._instance.range.end,a,r,e.granularity);this.mutate({endDelta:i})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(t,e,r={}){let{dateEnv:a}=this._context,i={allDay:r.allDay},s=a.createMarker(t),o;if(s&&!(e!=null&&(o=a.createMarker(e),!o))&&this._instance){let l=this._instance.range;r.allDay===!0&&(l=x3(l));let c=_o(l.start,s,a,r.granularity);if(o){let d=_o(l.end,o,a,r.granularity);Mce(c,d)?this.mutate({datesDelta:c,standardProps:i}):this.mutate({startDelta:c,endDelta:d,standardProps:i})}else i.hasEnd=!1,this.mutate({datesDelta:c,standardProps:i})}}moveStart(t){let e=Re(t);e&&this.mutate({startDelta:e})}moveEnd(t){let e=Re(t);e&&this.mutate({endDelta:e})}moveDates(t){let e=Re(t);e&&this.mutate({datesDelta:e})}setAllDay(t,e={}){let r={allDay:t},{maintainDuration:a}=e;a==null&&(a=this._context.options.allDayMaintainDuration),this._def.allDay!==t&&(r.hasEnd=a),this.mutate({standardProps:r})}formatRange(t){let{dateEnv:e}=this._context,r=this._instance,a=rt(t);return this._def.hasEnd?e.formatRange(r.range.start,r.range.end,a,{forcedStartTzo:r.forcedStartTzo,forcedEndTzo:r.forcedEndTzo}):e.format(r.range.start,a,{forcedTzo:r.forcedStartTzo})}mutate(t){let e=this._instance;if(e){let r=this._def,a=this._context,{eventStore:i}=a.getCurrentData(),s=Hf(i,e.instanceId);s=zf(s,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,a);let l=new n(a,r,e);this._def=s.defs[r.defId],this._instance=s.instances[e.instanceId],a.dispatch({type:"MERGE_EVENTS",eventStore:s}),a.emitter.trigger("eventChange",{oldEvent:l,event:this,relatedEvents:Bi(s,a,e),revert(){a.dispatch({type:"RESET_EVENTS",eventStore:i})}})}}remove(){let t=this._context,e=_3(this);t.dispatch({type:"REMOVE_EVENTS",eventStore:e}),t.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:e})}})}get source(){let{sourceId:t}=this._def;return t?new Mo(this._context,this._context.getCurrentData().eventSources[t]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let t=this._instance;return t?this._context.dateEnv.formatIso(t.range.start,{omitTime:this._def.allDay,forcedTzo:t.forcedStartTzo}):""}get endStr(){let t=this._instance;return t&&this._def.hasEnd?this._context.dateEnv.formatIso(t.range.end,{omitTime:this._def.allDay,forcedTzo:t.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(t={}){let e=this._def,{ui:r}=e,{startStr:a,endStr:i}=this,s={allDay:e.allDay};return e.title&&(s.title=e.title),a&&(s.start=a),i&&(s.end=i),e.publicId&&(s.id=e.publicId),e.groupId&&(s.groupId=e.groupId),e.url&&(s.url=e.url),r.display&&r.display!=="auto"&&(s.display=r.display),t.collapseColor&&r.backgroundColor&&r.backgroundColor===r.borderColor?s.color=r.backgroundColor:(r.backgroundColor&&(s.backgroundColor=r.backgroundColor),r.borderColor&&(s.borderColor=r.borderColor)),r.textColor&&(s.textColor=r.textColor),r.classNames.length&&(s.classNames=r.classNames),Object.keys(e.extendedProps).length&&(t.collapseExtendedProps?Object.assign(s,e.extendedProps):s.extendedProps=e.extendedProps),s}toJSON(){return this.toPlainObject()}};Wde={start:F,end:F,allDay:Boolean};Qb=class extends Error{constructor(t,e){super(t),this.response=e}};xf=class extends Ue{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{wf(()=>{this.setState({forPrint:!0})})},this.handleAfterPrint=()=>{wf(()=>{this.setState({forPrint:!1})})}}render(){let{props:t}=this,{options:e}=t,{forPrint:r}=this.state,a=r||e.height==="auto"||e.contentHeight==="auto",i=!a&&e.height!=null?e.height:"",s=["fc",r?"fc-media-print":"fc-media-screen",`fc-direction-${e.direction}`,t.theme.getClass("root")];return PC()||s.push("fc-liquid-hack"),t.children(s,i,a,r)}componentDidMount(){let{emitter:t}=this.props;t.on("_beforeprint",this.handleBeforePrint),t.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:t}=this.props;t.off("_beforeprint",this.handleBeforePrint),t.off("_afterprint",this.handleAfterPrint)}},ii=class{constructor(t){this.component=t.component,this.isHitComboAllowed=t.isHitComboAllowed||null}destroy(){}};Ec={},An=class extends Lr{constructor(t,e){super(t,e),this.handleRefresh=()=>{let r=this.computeTiming();r.state.nowDate.valueOf()!==this.state.nowDate.valueOf()&&this.setState(r.state),this.clearTimeout(),this.setTimeout(r.waitMs)},this.handleVisibilityChange=()=>{document.hidden||this.handleRefresh()},this.state=this.computeTiming().state}render(){let{props:t,state:e}=this;return t.children(e.nowDate,e.todayRange)}componentDidMount(){this.setTimeout(),this.context.nowManager.addResetListener(this.handleRefresh),document.addEventListener("visibilitychange",this.handleVisibilityChange)}componentDidUpdate(t){t.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout(),this.context.nowManager.removeResetListener(this.handleRefresh),document.removeEventListener("visibilitychange",this.handleVisibilityChange)}computeTiming(){let{props:t,context:e}=this,r=e.nowManager.getDateMarker(),{nowIndicatorSnap:a}=e.options;a==="auto"&&(a=/year|month|week|day/.test(t.unit)||(t.unitValue||1)===1);let i,s;return a?(i=e.dateEnv.startOf(r,t.unit),s=e.dateEnv.add(i,Re(1,t.unit)).valueOf()-r.valueOf()):(i=r,s=1e3*60),s=Math.min(1e3*60*60*24,s),{state:{nowDate:i,todayRange:Qde(i)},waitMs:s}}setTimeout(t=this.computeTiming().waitMs){this.timeoutId=setTimeout(()=>{let e=this.computeTiming();this.setState(e.state,()=>{this.setTimeout(e.waitMs)})},t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}};An.contextType=Ra;Cf=class{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(t){this.currentDataManager.dispatch(t)}get view(){return this.getCurrentData().viewApi}batchRendering(t){t()}updateSize(){this.trigger("_resize",!0)}setOption(t,e){this.dispatch({type:"SET_OPTION",optionName:t,rawOptionValue:e})}getOption(t){return this.currentDataManager.currentCalendarOptionsInput[t]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(t,e){let{currentDataManager:r}=this;r.currentCalendarOptionsRefiners[t]?r.emitter.on(t,e):console.warn(`Unknown listener name '${t}'`)}off(t,e){this.currentDataManager.emitter.off(t,e)}trigger(t,...e){this.currentDataManager.emitter.trigger(t,...e)}changeView(t,e){this.batchRendering(()=>{if(this.unselect(),e)if(e.start&&e.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:e});else{let{dateEnv:r}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t,dateMarker:r.createMarker(e)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:t})})}zoomTo(t,e){let r=this.getCurrentData(),a;e=e||"day",a=r.viewSpecs[e]||this.getUnitViewSpec(e),this.unselect(),a?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:a.type,dateMarker:t}):this.dispatch({type:"CHANGE_DATE",dateMarker:t})}getUnitViewSpec(t){let{viewSpecs:e,toolbarConfig:r}=this.getCurrentData(),a=[].concat(r.header?r.header.viewsWithButtons:[],r.footer?r.footer.viewsWithButtons:[]),i,s;for(let o in e)a.push(o);for(i=0;i<a.length;i+=1)if(s=e[a[i]],s&&s.singleUnit===t)return s;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,-1)})}nextYear(){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.addYears(t.currentDate,1)})}today(){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.nowManager.getDateMarker()})}gotoDate(t){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.createMarker(t)})}incrementDate(t){let e=this.getCurrentData(),r=Re(t);r&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.add(e.currentDate,r)}))}getDate(){let t=this.getCurrentData();return t.dateEnv.toDate(t.currentDate)}formatDate(t,e){let{dateEnv:r}=this.getCurrentData();return r.format(r.createMarker(t),rt(e))}formatRange(t,e,r){let{dateEnv:a}=this.getCurrentData();return a.formatRange(a.createMarker(t),a.createMarker(e),rt(r),r)}formatIso(t,e){let{dateEnv:r}=this.getCurrentData();return r.formatIso(r.createMarker(t),{omitTime:e})}select(t,e){let r;e==null?t.start!=null?r=t:r={start:t,end:null}:r={start:t,end:e};let a=this.getCurrentData(),i=qde(r,a.dateEnv,Re({days:1}));i&&(this.dispatch({type:"SELECT_DATES",selection:i}),dT(i,null,a))}unselect(t){let e=this.getCurrentData();e.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),Fde(t,e))}addEvent(t,e){if(t instanceof St){let s=t._def,o=t._instance;return this.getCurrentData().eventStore.defs[s.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:fc({def:s,instance:o})}),this.triggerEventAdd(t)),t}let r=this.getCurrentData(),a;if(e instanceof Mo)a=e.internalEventSource;else if(typeof e=="boolean")e&&([a]=iT(r.eventSources));else if(e!=null){let s=this.getEventSourceById(e);if(!s)return console.warn(`Could not find an event source with ID "${e}"`),null;a=s.internalEventSource}let i=P3(t,a,r,!1);if(i){let s=new St(r,i.def,i.def.recurringDef?null:i.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:fc(i)}),this.triggerEventAdd(s),s}return null}triggerEventAdd(t){let{emitter:e}=this.getCurrentData();e.trigger("eventAdd",{event:t,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:_3(t)})}})}getEventById(t){let e=this.getCurrentData(),{defs:r,instances:a}=e.eventStore;t=String(t);for(let i in r){let s=r[i];if(s.publicId===t){if(s.recurringDef)return new St(e,s,null);for(let o in a){let l=a[o];if(l.defId===s.defId)return new St(e,s,l)}}}return null}getEvents(){let t=this.getCurrentData();return Bi(t.eventStore,t)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let t=this.getCurrentData(),e=t.eventSources,r=[];for(let a in e)r.push(new Mo(t,e[a]));return r}getEventSourceById(t){let e=this.getCurrentData(),r=e.eventSources;t=String(t);for(let a in r)if(r[a].publicId===t)return new Mo(e,r[a]);return null}addEventSource(t){let e=this.getCurrentData();if(t instanceof Mo)return e.eventSources[t.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[t.internalEventSource]}),t;let r=vC(t,e);return r?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[r]}),new Mo(e,r)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(t){let e=Re(t);e&&this.trigger("_scrollRequest",{time:e})}};Nx=vr(),Pf=class{constructor(){this.getKeysForEventDefs=pe(this._getKeysForEventDefs),this.splitDateSelection=pe(this._splitDateSpan),this.splitEventStore=pe(this._splitEventStore),this.splitIndividualUi=pe(this._splitIndividualUi),this.splitEventDrag=pe(this._splitInteraction),this.splitEventResize=pe(this._splitInteraction),this.eventUiBuilders={}}splitProps(t){let e=this.getKeyInfo(t),r=this.getKeysForEventDefs(t.eventStore),a=this.splitDateSelection(t.dateSelection),i=this.splitIndividualUi(t.eventUiBases,r),s=this.splitEventStore(t.eventStore,r),o=this.splitEventDrag(t.eventDrag),l=this.splitEventResize(t.eventResize),c={};this.eventUiBuilders=Na(e,(d,u)=>this.eventUiBuilders[u]||pe(Zde));for(let d in e){let u=e[d],p=s[d]||Nx,m=this.eventUiBuilders[d];c[d]={businessHours:u.businessHours||t.businessHours,dateSelection:a[d]||null,eventStore:p,eventUiBases:m(t.eventUiBases[""],u.ui,i[d]),eventSelection:p.instances[t.eventSelection]?t.eventSelection:"",eventDrag:o[d]||null,eventResize:l[d]||null}}return c}_splitDateSpan(t){let e={};if(t){let r=this.getKeysForDateSpan(t);for(let a of r)e[a]=t}return e}_getKeysForEventDefs(t){return Na(t.defs,e=>this.getKeysForEventDef(e))}_splitEventStore(t,e){let{defs:r,instances:a}=t,i={};for(let s in r)for(let o of e[s])i[o]||(i[o]=vr()),i[o].defs[s]=r[s];for(let s in a){let o=a[s];for(let l of e[o.defId])i[l]&&(i[l].instances[s]=o)}return i}_splitIndividualUi(t,e){let r={};for(let a in t)if(a)for(let i of e[a])r[i]||(r[i]={}),r[i][a]=t[a];return r}_splitInteraction(t){let e={};if(t){let r=this._splitEventStore(t.affectedEvents,this._getKeysForEventDefs(t.affectedEvents)),a=this._getKeysForEventDefs(t.mutatedEvents),i=this._splitEventStore(t.mutatedEvents,a),s=o=>{e[o]||(e[o]={affectedEvents:r[o]||Nx,mutatedEvents:i[o]||Nx,isEvent:t.isEvent})};for(let o in r)s(o);for(let o in i)s(o)}return e}};Jde=rt({year:"numeric",month:"long",day:"numeric"}),Xde=rt({week:"long"});Rx=null;si=class{constructor(t,e,r,a){this.els=e;let i=this.originClientRect=t.getBoundingClientRect();r&&this.buildElHorizontals(i.left),a&&this.buildElVerticals(i.top)}buildElHorizontals(t){let e=[],r=[];for(let a of this.els){let i=a.getBoundingClientRect();e.push(i.left-t),r.push(i.right-t)}this.lefts=e,this.rights=r}buildElVerticals(t){let e=[],r=[];for(let a of this.els){let i=a.getBoundingClientRect();e.push(i.top-t),r.push(i.bottom-t)}this.tops=e,this.bottoms=r}leftToIndex(t){let{lefts:e,rights:r}=this,a=e.length,i;for(i=0;i<a;i+=1)if(t>=e[i]&&t<r[i])return i}topToIndex(t){let{tops:e,bottoms:r}=this,a=e.length,i;for(i=0;i<a;i+=1)if(t>=e[i]&&t<r[i])return i}getWidth(t){return this.rights[t]-this.lefts[t]}getHeight(t){return this.bottoms[t]-this.tops[t]}similarTo(t){return jb(this.tops||[],t.tops||[])&&jb(this.bottoms||[],t.bottoms||[])&&jb(this.lefts||[],t.lefts||[])&&jb(this.rights||[],t.rights||[])}};gc=class{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}},Mf=class extends gc{constructor(t){super(),this.el=t}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(t){this.el.scrollTop=t}setScrollLeft(t){this.el.scrollLeft=t}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}},Af=class extends gc{getScrollTop(){return window.scrollY}getScrollLeft(){return window.scrollX}setScrollTop(t){window.scroll(window.scrollX,t)}setScrollLeft(t){window.scroll(t,window.scrollY)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}},or=class extends Ue{constructor(){super(...arguments),this.uid=Fs()}prepareHits(){}queryHit(t,e,r,a){return null}isValidSegDownEl(t){return!this.props.eventDrag&&!this.props.eventResize&&!yr(t,".fc-event-mirror")}isValidDateDownEl(t){return!yr(t,".fc-event:not(.fc-bg-event)")&&!yr(t,".fc-more-link")&&!yr(t,"a[data-navlink]")&&!yr(t,".fc-popover")}},yc=class{constructor(t=e=>e.thickness||1){this.getEntryThickness=t,this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(t){let e=[];for(let r of t)this.insertEntry(r,e);return e}insertEntry(t,e){let r=this.findInsertion(t);this.isInsertionValid(r,t)?this.insertEntryAt(t,r):this.handleInvalidInsertion(r,t,e)}isInsertionValid(t,e){return(this.maxCoord===-1||t.levelCoord+this.getEntryThickness(e)<=this.maxCoord)&&(this.maxStackCnt===-1||t.stackCnt<this.maxStackCnt)}handleInvalidInsertion(t,e,r){if(this.allowReslicing&&t.touchingEntry){let a=Object.assign(Object.assign({},e),{span:$f(e.span,t.touchingEntry.span)});r.push(a),this.splitEntry(e,t.touchingEntry,r)}else r.push(e)}splitEntry(t,e,r){let a=t.span,i=e.span;a.start<i.start&&this.insertEntry({index:t.index,thickness:t.thickness,span:{start:a.start,end:i.start}},r),a.end>i.end&&this.insertEntry({index:t.index,thickness:t.thickness,span:{start:i.end,end:a.end}},r)}insertEntryAt(t,e){let{entriesByLevel:r,levelCoords:a}=this;e.lateral===-1?(Ox(a,e.level,e.levelCoord),Ox(r,e.level,[t])):Ox(r[e.level],e.lateral,t),this.stackCnts[Ni(t)]=e.stackCnt}findInsertion(t){let{levelCoords:e,entriesByLevel:r,strictOrder:a,stackCnts:i}=this,s=e.length,o=0,l=-1,c=-1,d=null,u=0;for(let h=0;h<s;h+=1){let f=e[h];if(!a&&f>=o+this.getEntryThickness(t))break;let g=r[h],v,T=_f(g,t.span.start,If),k=T[0]+T[1];for(;(v=g[k])&&v.span.start<t.span.end;){let w=f+this.getEntryThickness(v);w>o&&(o=w,d=v,l=h,c=k),w===o&&(u=Math.max(u,i[Ni(v)]+1)),k+=1}}let p=0;if(d)for(p=l+1;p<s&&e[p]<o;)p+=1;let m=-1;return p<s&&e[p]===o&&(m=_f(r[p],t.span.end,If)[0]),{touchingLevel:l,touchingLateral:c,touchingEntry:d,stackCnt:u,levelCoord:o,level:p,lateral:m}}toRects(){let{entriesByLevel:t,levelCoords:e}=this,r=t.length,a=[];for(let i=0;i<r;i+=1){let s=t[i],o=e[i];for(let l of s)a.push(Object.assign(Object.assign({},l),{thickness:this.getEntryThickness(l),levelCoord:o}))}return a}};Nf=class{constructor(t,e){this.emitter=new _s}destroy(){}setMirrorIsVisible(t){}setMirrorNeedsRevert(t){}setAutoScrollEnabled(t){}},xu={},aue={startTime:Re,duration:Re,create:Boolean,sourceId:String};z3="fc-col-header-cell";Zb=class extends Ue{render(){let{dateEnv:t,options:e,theme:r,viewApi:a}=this.context,{props:i}=this,{date:s,dateProfile:o}=i,l=qf(s,i.todayRange,null,o),c=[z3].concat(Eu(l,r)),d=t.format(s,i.dayHeaderFormat),u=!l.isDisabled&&i.colCnt>1?ji(this.context,s):{},p=t.toDate(s);t.namedTimeZoneImpl&&(p=Ii(p,36e5));let m=Object.assign(Object.assign(Object.assign({date:p,view:a},i.extraRenderProps),{text:d}),l);return E(Kt,{elTag:"th",elClasses:c,elAttrs:Object.assign({role:"columnheader",colSpan:i.colSpan,"data-date":l.isDisabled?void 0:Oo(s)},i.extraDataAttrs),renderProps:m,generatorName:"dayHeaderContent",customGenerator:e.dayHeaderContent,defaultGenerator:U3,classNameGenerator:e.dayHeaderClassNames,didMount:e.dayHeaderDidMount,willUnmount:e.dayHeaderWillUnmount},h=>E("div",{className:"fc-scrollgrid-sync-inner"},!l.isDisabled&&E(h,{elTag:"a",elAttrs:u,elClasses:["fc-col-header-cell-cushion",i.isSticky&&"fc-sticky"]})))}},iue=rt({weekday:"long"}),Jb=class extends Ue{render(){let{props:t}=this,{dateEnv:e,theme:r,viewApi:a,options:i}=this.context,s=Bt(new Date(2592e5),t.dow),o={dow:t.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},l=e.format(s,t.dayHeaderFormat),c=Object.assign(Object.assign(Object.assign(Object.assign({date:s},o),{view:a}),t.extraRenderProps),{text:l});return E(Kt,{elTag:"th",elClasses:[z3,...Eu(o,r),...t.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:t.colSpan},t.extraDataAttrs),renderProps:c,generatorName:"dayHeaderContent",customGenerator:i.dayHeaderContent,defaultGenerator:U3,classNameGenerator:i.dayHeaderClassNames,didMount:i.dayHeaderDidMount,willUnmount:i.dayHeaderWillUnmount},d=>E("div",{className:"fc-scrollgrid-sync-inner"},E(d,{elTag:"a",elClasses:["fc-col-header-cell-cushion",t.isSticky&&"fc-sticky"],elAttrs:{"aria-label":e.format(s,iue)}})))}},Ns=class extends Ue{constructor(){super(...arguments),this.createDayHeaderFormatter=pe(sue)}render(){let{context:t}=this,{dates:e,dateProfile:r,datesRepDistinctDays:a,renderIntro:i}=this.props,s=this.createDayHeaderFormatter(t.options.dayHeaderFormat,a,e.length);return E(An,{unit:"day"},(o,l)=>E("tr",{role:"row"},i&&i("day"),e.map(c=>a?E(Zb,{key:c.toISOString(),date:c,dateProfile:r,todayRange:l,colCnt:e.length,dayHeaderFormat:s}):E(Jb,{key:c.getUTCDay(),dow:c.getUTCDay(),dayHeaderFormat:s}))))}};vc=class{constructor(t,e){let r=t.start,{end:a}=t,i=[],s=[],o=-1;for(;r<a;)e.isHiddenDay(r)?i.push(o+.5):(o+=1,i.push(o),s.push(r)),r=Bt(r,1);this.dates=s,this.indices=i,this.cnt=s.length}sliceRange(t){let e=this.getDateDayIndex(t.start),r=this.getDateDayIndex(Bt(t.end,-1)),a=Math.max(0,e),i=Math.min(this.cnt-1,r);return a=Math.ceil(a),i=Math.floor(i),a<=i?{firstIndex:a,lastIndex:i,isStart:e===a,isEnd:r===i}:null}getDateDayIndex(t){let{indices:e}=this,r=Math.floor(Oi(this.dates[0],t));return r<0?e[0]-1:r>=e.length?e[e.length-1]+1:e[r]}},bc=class{constructor(t,e){let{dates:r}=t,a,i,s;if(e){for(i=r[0].getUTCDay(),a=1;a<r.length&&r[a].getUTCDay()!==i;a+=1);s=Math.ceil(r.length/a)}else s=1,a=r.length;this.rowCnt=s,this.colCnt=a,this.daySeries=t,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let t=[];for(let e=0;e<this.rowCnt;e+=1){let r=[];for(let a=0;a<this.colCnt;a+=1)r.push(this.buildCell(e,a));t.push(r)}return t}buildCell(t,e){let r=this.daySeries.dates[t*this.colCnt+e];return{key:r.toISOString(),date:r}}buildHeaderDates(){let t=[];for(let e=0;e<this.colCnt;e+=1)t.push(this.cells[0][e].date);return t}sliceRange(t){let{colCnt:e}=this,r=this.daySeries.sliceRange(t),a=[];if(r){let{firstIndex:i,lastIndex:s}=r,o=i;for(;o<=s;){let l=Math.floor(o/e),c=Math.min((l+1)*e,s+1);a.push({row:l,firstCol:o%e,lastCol:(c-1)%e,isStart:r.isStart&&o===i,isEnd:r.isEnd&&c-1===s}),o=c}}return a}},Tc=class{constructor(){this.sliceBusinessHours=pe(this._sliceBusinessHours),this.sliceDateSelection=pe(this._sliceDateSpan),this.sliceEventStore=pe(this._sliceEventStore),this.sliceEventDrag=pe(this._sliceInteraction),this.sliceEventResize=pe(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(t,e,r,a,...i){let{eventUiBases:s}=t,o=this.sliceEventStore(t.eventStore,s,e,r,...i);return{dateSelectionSegs:this.sliceDateSelection(t.dateSelection,e,r,s,a,...i),businessHourSegs:this.sliceBusinessHours(t.businessHours,e,r,a,...i),fgEventSegs:o.fg,bgEventSegs:o.bg,eventDrag:this.sliceEventDrag(t.eventDrag,s,e,r,...i),eventResize:this.sliceEventResize(t.eventResize,s,e,r,...i),eventSelection:t.eventSelection}}sliceNowDate(t,e,r,a,...i){return this._sliceDateSpan({range:{start:t,end:Ii(t,1)},allDay:!1},e,r,{},a,...i)}_sliceBusinessHours(t,e,r,a,...i){return t?this._sliceEventStore(hc(t,Hb(e,!!r),a),{},e,r,...i).bg:[]}_sliceEventStore(t,e,r,a,...i){if(t){let s=hu(t,e,Hb(r,!!a),a);return{bg:this.sliceEventRanges(s.bg,i),fg:this.sliceEventRanges(s.fg,i)}}return{bg:[],fg:[]}}_sliceInteraction(t,e,r,a,...i){if(!t)return null;let s=hu(t.mutatedEvents,e,Hb(r,!!a),a);return{segs:this.sliceEventRanges(s.fg,i),affectedInstances:t.affectedEvents.instances,isEvent:t.isEvent}}_sliceDateSpan(t,e,r,a,i,...s){if(!t)return[];let o=Hb(e,!!r),l=mn(t.range,o);if(l){t=Object.assign(Object.assign({},t),{range:l});let c=Gde(t,a,i),d=this.sliceRange(t.range,...s);for(let u of d)u.eventRange=c;return d}return[]}sliceEventRanges(t,e){let r=[];for(let a of t)r.push(...this.sliceEventRange(a,e));return r}sliceEventRange(t,e){let r=t.range;this.forceDayIfListItem&&t.ui.display==="list-item"&&(r={start:r.start,end:Bt(r.start,1)});let a=this.sliceRange(r,...e);for(let i of a)i.eventRange=t,i.isStart=t.isStart&&i.isStart,i.isEnd=t.isEnd&&i.isEnd;return a}};zb=/^(visible|hidden)$/,fu=class extends Ue{constructor(){super(...arguments),this.handleEl=t=>{this.el=t,oa(this.props.elRef,t)}}render(){let{props:t}=this,{liquid:e,liquidIsAbsolute:r}=t,a=e&&r,i=["fc-scroller"];return e&&(r?i.push("fc-scroller-liquid-absolute"):i.push("fc-scroller-liquid")),E("div",{ref:this.handleEl,className:i.join(" "),style:{overflowX:t.overflowX,overflowY:t.overflowY,left:a&&-(t.overcomeLeft||0)||"",right:a&&-(t.overcomeRight||0)||"",bottom:a&&-(t.overcomeBottom||0)||"",marginLeft:!a&&-(t.overcomeLeft||0)||"",marginRight:!a&&-(t.overcomeRight||0)||"",marginBottom:!a&&-(t.overcomeBottom||0)||"",maxHeight:t.maxHeight||""}},t.children)}needsXScrolling(){if(zb.test(this.props.overflowX))return!1;let{el:t}=this,e=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:r}=t;for(let a=0;a<r.length;a+=1)if(r[a].getBoundingClientRect().width>e)return!0;return!1}needsYScrolling(){if(zb.test(this.props.overflowY))return!1;let{el:t}=this,e=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:r}=t;for(let a=0;a<r.length;a+=1)if(r[a].getBoundingClientRect().height>e)return!0;return!1}getXScrollbarWidth(){return zb.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return zb.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}},In=class{constructor(t){this.masterCallback=t,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,r)=>{let{depths:a,currentMap:i}=this,s=!1,o=!1;e!==null?(s=r in i,i[r]=e,a[r]=(a[r]||0)+1,o=!0):(a[r]-=1,a[r]||(delete i[r],delete this.callbackMap[r],s=!0)),this.masterCallback&&(s&&this.masterCallback(null,String(r)),o&&this.masterCallback(e,String(r)))}}createRef(t){let e=this.callbackMap[t];return e||(e=this.callbackMap[t]=r=>{this.handleValue(r,String(t))}),e}collect(t,e,r){return T3(this.currentMap,t,e,r)}getAll(){return iT(this.currentMap)}};No=class extends Ue{constructor(){super(...arguments),this.processCols=pe(t=>t,K3),this.renderMicroColGroup=pe(Q3),this.scrollerRefs=new In,this.scrollerElRefs=new In(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:t,state:e,context:r}=this,a=t.sections||[],i=this.processCols(t.cols),s=this.renderMicroColGroup(i,e.shrinkWidth),o=X3(t.liquid,r);t.collapsibleWidth&&o.push("fc-scrollgrid-collapsible");let l=a.length,c=0,d,u=[],p=[],m=[];for(;c<l&&(d=a[c]).type==="header";)u.push(this.renderSection(d,s,!0)),c+=1;for(;c<l&&(d=a[c]).type==="body";)p.push(this.renderSection(d,s,!1)),c+=1;for(;c<l&&(d=a[c]).type==="footer";)m.push(this.renderSection(d,s,!0)),c+=1;let h=!PC(),f={role:"rowgroup"};return E("table",{role:"grid",className:o.join(" "),style:{height:t.height}},!!(!h&&u.length)&&E("thead",f,...u),!!(!h&&p.length)&&E("tbody",f,...p),!!(!h&&m.length)&&E("tfoot",f,...m),h&&E("tbody",f,...u,...p,...m))}renderSection(t,e,r){return"outerContent"in t?E(tt,{key:t.key},t.outerContent):E("tr",{key:t.key,role:"presentation",className:eG(t,this.props.liquid).join(" ")},this.renderChunkTd(t,e,t.chunk,r))}renderChunkTd(t,e,r,a){if("outerContent"in r)return r.outerContent;let{props:i}=this,{forceYScrollbars:s,scrollerClientWidths:o,scrollerClientHeights:l}=this.state,c=Y3(i,t),d=OC(i,t),u=i.liquid?s?"scroll":c?"auto":"hidden":"visible",p=t.key,m=G3(t,r,{tableColGroupNode:e,tableMinWidth:"",clientWidth:!i.collapsibleWidth&&o[p]!==void 0?o[p]:null,clientHeight:l[p]!==void 0?l[p]:null,expandRows:t.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},a);return E(a?"th":"td",{ref:r.elRef,role:"presentation"},E("div",{className:`fc-scroller-harness${d?" fc-scroller-harness-liquid":""}`},E(fu,{ref:this.scrollerRefs.createRef(p),elRef:this.scrollerElRefs.createRef(p),overflowY:u,overflowX:i.liquid?"hidden":"visible",maxHeight:t.maxHeight,liquid:d,liquidIsAbsolute:!0},m)))}_handleScrollerEl(t,e){let r=uue(this.props.sections,e);r&&oa(r.chunk.scrollerElRef,t)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return J3(this.props.cols)?$3(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let t=L3(),{scrollerRefs:e,scrollerElRefs:r}=this,a=!1,i={},s={};for(let o in e.currentMap){let l=e.currentMap[o];if(l&&l.needsYScrolling()){a=!0;break}}for(let o of this.props.sections){let l=o.key,c=r.currentMap[l];if(c){let d=c.parentNode;i[l]=Math.floor(d.getBoundingClientRect().width-(a?t.y:0)),s[l]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:a,scrollerClientWidths:i,scrollerClientHeights:s}}};No.addStateEquality({scrollerClientWidths:Jr,scrollerClientHeights:Jr});Rs=class extends Ue{constructor(){super(...arguments),this.buildPublicEvent=pe((t,e,r)=>new St(t,e,r)),this.handleEl=t=>{this.el=t,oa(this.props.elRef,t),t&&n3(t,this.props.seg)}}render(){let{props:t,context:e}=this,{options:r}=e,{seg:a}=t,{eventRange:i}=a,{ui:s}=i,o={event:this.buildPublicEvent(e,i.def,i.instance),view:e.viewApi,timeText:t.timeText,textColor:s.textColor,backgroundColor:s.backgroundColor,borderColor:s.borderColor,isDraggable:!t.disableDragging&&jde(a,e),isStartResizable:!t.disableResizing&&Hde(a,e),isEndResizable:!t.disableResizing&&zde(a),isMirror:!!(t.isDragging||t.isResizing||t.isDateSelecting),isStart:!!a.isStart,isEnd:!!a.isEnd,isPast:!!t.isPast,isFuture:!!t.isFuture,isToday:!!t.isToday,isSelected:!!t.isSelected,isDragging:!!t.isDragging,isResizing:!!t.isResizing};return E(Kt,{elRef:this.handleEl,elTag:t.elTag,elAttrs:t.elAttrs,elClasses:[...Ude(o),...a.eventRange.ui.classNames,...t.elClasses||[]],elStyle:t.elStyle,renderProps:o,generatorName:"eventContent",customGenerator:r.eventContent,defaultGenerator:t.defaultGenerator,classNameGenerator:r.eventClassNames,didMount:r.eventDidMount,willUnmount:r.eventWillUnmount},t.children)}componentDidUpdate(t){this.el&&this.props.seg!==t.seg&&n3(this.el,this.props.seg)}},Ro=class extends Ue{render(){let{props:t,context:e}=this,{options:r}=e,{seg:a}=t,{ui:i}=a.eventRange,s=r.eventTimeFormat||t.defaultTimeFormat,o=Bo(a,s,e,t.defaultDisplayEventTime,t.defaultDisplayEventEnd);return E(Rs,Object.assign({},t,{elTag:"a",elStyle:{borderColor:i.borderColor,backgroundColor:i.backgroundColor},elAttrs:Du(a,e),defaultGenerator:pue,timeText:o}),(l,c)=>E(tt,null,E(l,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:c.textColor}}),!!c.isStartResizable&&E("div",{className:"fc-event-resizer fc-event-resizer-start"}),!!c.isEndResizable&&E("div",{className:"fc-event-resizer fc-event-resizer-end"})))}};Ro.addPropsEquality({seg:Jr});Qf=n=>E(Ra.Consumer,null,t=>{let{options:e}=t,r={isAxis:n.isAxis,date:t.dateEnv.toDate(n.date),view:t.viewApi};return E(Kt,{elRef:n.elRef,elTag:n.elTag||"div",elAttrs:n.elAttrs,elClasses:n.elClasses,elStyle:n.elStyle,renderProps:r,generatorName:"nowIndicatorContent",customGenerator:e.nowIndicatorContent,classNameGenerator:e.nowIndicatorClassNames,didMount:e.nowIndicatorDidMount,willUnmount:e.nowIndicatorWillUnmount},n.children)}),mue=rt({day:"numeric"}),Fo=class extends Ue{constructor(){super(...arguments),this.refineRenderProps=Tu(hue)}render(){let{props:t,context:e}=this,{options:r}=e,a=this.refineRenderProps({date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,isMonthStart:t.isMonthStart||!1,showDayNumber:t.showDayNumber,extraRenderProps:t.extraRenderProps,viewApi:e.viewApi,dateEnv:e.dateEnv,monthStartFormat:r.monthStartFormat});return E(Kt,{elRef:t.elRef,elTag:t.elTag,elAttrs:Object.assign(Object.assign({},t.elAttrs),a.isDisabled?{}:{"data-date":Oo(t.date)}),elClasses:[...Eu(a,e.theme),...t.elClasses||[]],elStyle:t.elStyle,renderProps:a,generatorName:"dayCellContent",customGenerator:r.dayCellContent,defaultGenerator:t.defaultGenerator,classNameGenerator:a.isDisabled?void 0:r.dayCellClassNames,didMount:r.dayCellDidMount,willUnmount:r.dayCellWillUnmount},t.children)}};kc=class extends Ue{render(){let{props:t}=this,{seg:e}=t;return E(Rs,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:e.eventRange.ui.backgroundColor},defaultGenerator:fue,seg:e,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:t.isPast,isFuture:t.isFuture,isToday:t.isToday,disableDragging:!0,disableResizing:!0})}};Jf=n=>E(Ra.Consumer,null,t=>{let{dateEnv:e,options:r}=t,{date:a}=n,i=r.weekNumberFormat||n.defaultFormat,s=e.computeWeekNumber(a),o=e.format(a,i),l={num:s,text:o,date:a};return E(Kt,{elRef:n.elRef,elTag:n.elTag,elAttrs:n.elAttrs,elClasses:n.elClasses,elStyle:n.elStyle,renderProps:l,generatorName:"weekNumberContent",customGenerator:r.weekNumberContent,defaultGenerator:gue,classNameGenerator:r.weekNumberClassNames,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},n.children)});Bx=10,Yx=class extends Ue{constructor(){super(...arguments),this.state={titleId:_n()},this.handleRootEl=t=>{this.rootEl=t,this.props.elRef&&oa(this.props.elRef,t)},this.handleDocumentMouseDown=t=>{let e=eT(t);this.rootEl.contains(e)||this.handleCloseClick()},this.handleDocumentKeyDown=t=>{t.key==="Escape"&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:t}=this.props;t&&t()}}render(){let{theme:t,options:e}=this.context,{props:r,state:a}=this,i=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return Px(E("div",Object.assign({},r.extraAttrs,{id:r.id,className:i.join(" "),"aria-labelledby":a.titleId,ref:this.handleRootEl}),E("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},E("span",{className:"fc-popover-title",id:a.titleId},r.title),E("span",{className:"fc-popover-close "+t.getIconClass("close"),title:e.closeHint,onClick:this.handleCloseClick})),E("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:t}=this.context,{alignmentEl:e,alignGridTop:r}=this.props,{rootEl:a}=this,i=rue(e);if(i){let s=a.getBoundingClientRect(),o=r?yr(e,".fc-scrollgrid").getBoundingClientRect().top:i.top,l=t?i.right-s.width:i.left;o=Math.max(o,Bx),l=Math.min(l,document.documentElement.clientWidth-Bx-s.width),l=Math.max(l,Bx);let c=a.offsetParent.getBoundingClientRect();Sc(a,{top:o-c.top,left:l-c.left})}}},Gx=class extends or{constructor(){super(...arguments),this.handleRootEl=t=>{this.rootEl=t,t?this.context.registerInteractiveComponent(this,{el:t,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:t,dateEnv:e}=this.context,{props:r}=this,{startDate:a,todayRange:i,dateProfile:s}=r,o=e.format(a,t.dayPopoverFormat);return E(Fo,{elRef:this.handleRootEl,date:a,dateProfile:s,todayRange:i},(l,c,d)=>E(Yx,{elRef:d.ref,id:r.id,title:o,extraClassNames:["fc-more-popover"].concat(d.className||[]),extraAttrs:d,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},Pu(t)&&E(l,{elTag:"div",elClasses:["fc-more-popover-misc"]}),r.children))}queryHit(t,e,r,a){let{rootEl:i,props:s}=this;return t>=0&&t<r&&e>=0&&e<a?{dateProfile:s.dateProfile,dateSpan:Object.assign({allDay:!s.forceTimed,range:{start:s.startDate,end:s.endDate}},s.extraDateSpan),dayEl:i,rect:{left:0,top:0,right:r,bottom:a},layer:1}:null}},wc=class extends Ue{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:_n()},this.handleLinkEl=t=>{this.linkEl=t,this.props.elRef&&oa(this.props.elRef,t)},this.handleClick=t=>{let{props:e,context:r}=this,{moreLinkClick:a}=r.options,i=a3(e).start;function s(o){let{def:l,instance:c,range:d}=o.eventRange;return{event:new St(r,l,c),start:r.dateEnv.toDate(d.start),end:r.dateEnv.toDate(d.end),isStart:o.isStart,isEnd:o.isEnd}}typeof a=="function"&&(a=a({date:i,allDay:!!e.allDayDate,allSegs:e.allSegs.map(s),hiddenSegs:e.hiddenSegs.map(s),jsEvent:t,view:r.viewApi})),!a||a==="popover"?this.setState({isPopoverOpen:!0}):typeof a=="string"&&r.calendarApi.zoomTo(i,a)},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:t,state:e}=this;return E(Ra.Consumer,null,r=>{let{viewApi:a,options:i,calendarApi:s}=r,{moreLinkText:o}=i,{moreCnt:l}=t,c=a3(t),d=typeof o=="function"?o.call(s,l):`+${l} ${o}`,u=vu(i.moreLinkHint,[l],d),p={num:l,shortText:`+${l}`,text:d,view:a};return E(tt,null,!!t.moreCnt&&E(Kt,{elTag:t.elTag||"a",elRef:this.handleLinkEl,elClasses:[...t.elClasses||[],"fc-more-link"],elStyle:t.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},t.elAttrs),u3(this.handleClick)),{title:u,"aria-expanded":e.isPopoverOpen,"aria-controls":e.isPopoverOpen?e.popoverId:""}),renderProps:p,generatorName:"moreLinkContent",customGenerator:i.moreLinkContent,defaultGenerator:t.defaultGenerator||yue,classNameGenerator:i.moreLinkClassNames,didMount:i.moreLinkDidMount,willUnmount:i.moreLinkWillUnmount},t.children),e.isPopoverOpen&&E(Gx,{id:e.popoverId,startDate:c.start,endDate:c.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:this.parentEl,alignmentEl:t.alignmentElRef?t.alignmentElRef.current:this.linkEl,alignGridTop:t.alignGridTop,forceTimed:t.forceTimed,onClose:this.handlePopoverClose},t.popoverContent()))})}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=yr(this.linkEl,".fc-view-harness"))}}});function wue(n){let t=n.length>0?n[0].code:"en",e=kue.concat(n),r={en:lG};for(let a of e)r[a.code]=a;return{map:r,defaultCode:t}}function cG(n,t){return typeof n=="object"&&!Array.isArray(n)?dG(n.code,[n.code],n):Sue(n,t)}function Sue(n,t){let e=[].concat(n||[]),r=Due(e,t)||lG;return dG(n,e,r)}function Due(n,t){for(let e=0;e<n.length;e+=1){let r=n[e].toLocaleLowerCase().split("-");for(let a=r.length;a>0;a-=1){let i=r.slice(0,a).join("-");if(t[i])return t[i]}}return null}function dG(n,t,e){let r=aT([oG,e],["buttonText"]);delete r.code;let{week:a}=r;return delete r.week,{codeArg:n,codes:t,week:a,simpleNumberFormat:new Intl.NumberFormat(n),options:r}}function Xr(n){return{id:Fs(),name:n.name,premiumReleaseDate:n.premiumReleaseDate?new Date(n.premiumReleaseDate):void 0,deps:n.deps||[],reducers:n.reducers||[],isLoadingFuncs:n.isLoadingFuncs||[],contextInit:[].concat(n.contextInit||[]),eventRefiners:n.eventRefiners||{},eventDefMemberAdders:n.eventDefMemberAdders||[],eventSourceRefiners:n.eventSourceRefiners||{},isDraggableTransformers:n.isDraggableTransformers||[],eventDragMutationMassagers:n.eventDragMutationMassagers||[],eventDefMutationAppliers:n.eventDefMutationAppliers||[],dateSelectionTransformers:n.dateSelectionTransformers||[],datePointTransforms:n.datePointTransforms||[],dateSpanTransforms:n.dateSpanTransforms||[],views:n.views||{},viewPropsTransformers:n.viewPropsTransformers||[],isPropsValid:n.isPropsValid||null,externalDefTransforms:n.externalDefTransforms||[],viewContainerAppends:n.viewContainerAppends||[],eventDropTransformers:n.eventDropTransformers||[],componentInteractions:n.componentInteractions||[],calendarInteractions:n.calendarInteractions||[],themeClasses:n.themeClasses||{},eventSourceDefs:n.eventSourceDefs||[],cmdFormatter:n.cmdFormatter,recurringTypes:n.recurringTypes||[],namedTimeZonedImpl:n.namedTimeZonedImpl,initialView:n.initialView||"",elementDraggingImpl:n.elementDraggingImpl,optionChangeHandlers:n.optionChangeHandlers||{},scrollGridImpl:n.scrollGridImpl||null,listenerRefiners:n.listenerRefiners||{},optionRefiners:n.optionRefiners||{},propSetHandlers:n.propSetHandlers||{}}}function Eue(n,t){let e={},r={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function a(i){for(let s of i){let o=s.name,l=e[o];l===void 0?(e[o]=s.id,a(s.deps),r=Cue(r,s)):l!==s.id&&console.warn(`Duplicate plugin '${o}'`)}}return n&&a(n),a(t),r}function xue(){let n=[],t=[],e;return(r,a)=>((!e||!Fi(r,n)||!Fi(a,t))&&(e=Eue(r,a)),n=r,t=a,e)}function Cue(n,t){return{premiumReleaseDate:Pue(n.premiumReleaseDate,t.premiumReleaseDate),reducers:n.reducers.concat(t.reducers),isLoadingFuncs:n.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:n.contextInit.concat(t.contextInit),eventRefiners:Object.assign(Object.assign({},n.eventRefiners),t.eventRefiners),eventDefMemberAdders:n.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},n.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:n.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:n.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:n.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:n.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:n.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:n.dateSpanTransforms.concat(t.dateSpanTransforms),views:Object.assign(Object.assign({},n.views),t.views),viewPropsTransformers:n.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||n.isPropsValid,externalDefTransforms:n.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:n.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:n.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:n.calendarInteractions.concat(t.calendarInteractions),componentInteractions:n.componentInteractions.concat(t.componentInteractions),themeClasses:Object.assign(Object.assign({},n.themeClasses),t.themeClasses),eventSourceDefs:n.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||n.cmdFormatter,recurringTypes:n.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||n.namedTimeZonedImpl,initialView:n.initialView||t.initialView,elementDraggingImpl:n.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},n.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||n.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},n.listenerRefiners),t.listenerRefiners),optionRefiners:Object.assign(Object.assign({},n.optionRefiners),t.optionRefiners),propSetHandlers:Object.assign(Object.assign({},n.propSetHandlers),t.propSetHandlers)}}function Pue(n,t){return n===void 0?t:t===void 0?n:new Date(Math.max(n.valueOf(),t.valueOf()))}function Mue(n,t){let e={},r;for(r in n)jC(r,e,n,t);for(r in t)jC(r,e,n,t);return e}function jC(n,t,e,r){if(t[n])return t[n];let a=Aue(n,t,e,r);return a&&(t[n]=a),a}function Aue(n,t,e,r){let a=e[n],i=r[n],s=d=>a&&a[d]!==null?a[d]:i&&i[d]!==null?i[d]:null,o=s("component"),l=s("superType"),c=null;if(l){if(l===n)throw new Error("Can't have a custom view type that references itself");c=jC(l,t,e,r)}return!o&&c&&(o=c.component),o?{type:n,component:o,defaults:Object.assign(Object.assign({},c?c.defaults:{}),a?a.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),i?i.rawOptions:{})}:null}function tG(n){return Na(n,Iue)}function Iue(n){let t=typeof n=="function"?{component:n}:n,{component:e}=t;return t.content?e=rG(t):e&&!(e.prototype instanceof Ue)&&(e=rG(Object.assign(Object.assign({},t),{content:e}))),{superType:t.type,component:e,rawOptions:t}}function rG(n){return t=>E(Ra.Consumer,null,e=>E(Kt,{elTag:"div",elClasses:hC(e.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:e.options.nextDayThreshold}),generatorName:void 0,customGenerator:n.content,classNameGenerator:n.classNames,didMount:n.didMount,willUnmount:n.willUnmount}))}function _ue(n,t,e,r){let a=tG(n),i=tG(t.views),s=Mue(a,i);return Na(s,o=>Nue(o,i,t,e,r))}function Nue(n,t,e,r,a){let i=n.overrides.duration||n.defaults.duration||r.duration||e.duration,s=null,o="",l="",c={};if(i&&(s=Rue(i),s)){let p=Tf(s);o=p.unit,p.value===1&&(l=o,c=t[o]?t[o].rawOptions:{})}let d=p=>{let m=p.buttonText||{},h=n.defaults.buttonTextKey;return h!=null&&m[h]!=null?m[h]:m[n.type]!=null?m[n.type]:m[l]!=null?m[l]:null},u=p=>{let m=p.buttonHints||{},h=n.defaults.buttonTextKey;return h!=null&&m[h]!=null?m[h]:m[n.type]!=null?m[n.type]:m[l]!=null?m[l]:null};return{type:n.type,component:n.component,duration:s,durationUnit:o,singleUnit:l,optionDefaults:n.defaults,optionOverrides:Object.assign(Object.assign({},c),n.overrides),buttonTextOverride:d(r)||d(e)||n.overrides.buttonText,buttonTextDefault:d(a)||n.defaults.buttonText||d(Li)||n.type,buttonTitleOverride:u(r)||u(e)||n.overrides.buttonHint,buttonTitleDefault:u(a)||n.defaults.buttonHint||u(Li)}}function Rue(n){let t=JSON.stringify(n),e=nG[t];return e===void 0&&(e=Re(n),nG[t]=e),e}function Fue(n,t){switch(t.type){case"CHANGE_VIEW_TYPE":n=t.viewType}return n}function Oue(n,t){switch(t.type){case"CHANGE_DATE":return t.dateMarker;default:return n}}function Lue(n,t,e){let r=n.initialDate;return r!=null?t.createMarker(r):e.getDateMarker()}function Bue(n,t){switch(t.type){case"SET_OPTION":return Object.assign(Object.assign({},n),{[t.optionName]:t.rawOptionValue});default:return n}}function jue(n,t,e,r){let a;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||e);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if(a=r.buildPrev(n,e),a.isValid)return a;break;case"NEXT":if(a=r.buildNext(n,e),a.isValid)return a;break}return n}function Hue(n,t,e){let r=t?t.activeRange:null;return pG({},Yue(n,e),r,e)}function zue(n,t,e,r){let a=e?e.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return pG(n,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return Wue(n,t.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return e?mG(n,a,r):n;case"FETCH_EVENT_SOURCES":return GC(n,t.sourceIds?uC(t.sourceIds):hG(n,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return $ue(n,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return n}}function Uue(n,t,e){let r=t?t.activeRange:null;return GC(n,hG(n,e),r,!0,e)}function uG(n){for(let t in n)if(n[t].isFetching)return!0;return!1}function pG(n,t,e,r){let a={};for(let i of t)a[i.sourceId]=i;return e&&(a=mG(a,e,r)),Object.assign(Object.assign({},n),a)}function Wue(n,t){return As(n,e=>e.sourceId!==t)}function mG(n,t,e){return GC(n,As(n,r=>que(r,t,e)),t,!1,e)}function que(n,t,e){return fG(n,e)?!e.options.lazyFetching||!n.fetchRange||n.isFetching||t.start<n.fetchRange.start||t.end>n.fetchRange.end:!n.latestFetchId}function GC(n,t,e,r,a){let i={};for(let s in n){let o=n[s];t[s]?i[s]=Vue(o,e,r,a):i[s]=o}return i}function Vue(n,t,e,r){let{options:a,calendarApi:i}=r,s=r.pluginHooks.eventSourceDefs[n.sourceDefId],o=Fs();return s.fetch({eventSource:n,range:t,isRefetch:e,context:r},l=>{let{rawEvents:c}=l;a.eventSourceSuccess&&(c=a.eventSourceSuccess.call(i,c,l.response)||c),n.success&&(c=n.success.call(i,c,l.response)||c),r.dispatch({type:"RECEIVE_EVENTS",sourceId:n.sourceId,fetchId:o,fetchRange:t,rawEvents:c})},l=>{let c=!1;a.eventSourceFailure&&(a.eventSourceFailure.call(i,l),c=!0),n.failure&&(n.failure(l),c=!0),c||console.warn(l.message,l),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:n.sourceId,fetchId:o,fetchRange:t,error:l})}),Object.assign(Object.assign({},n),{isFetching:!0,latestFetchId:o})}function $ue(n,t,e,r){let a=n[t];return a&&e===a.latestFetchId?Object.assign(Object.assign({},n),{[t]:Object.assign(Object.assign({},a),{isFetching:!1,fetchRange:r})}):n}function hG(n,t){return As(n,e=>fG(e,t))}function Yue(n,t){let e=bC(t),r=[].concat(n.eventSources||[]),a=[];n.initialEvents&&r.unshift(n.initialEvents),n.events&&r.unshift(n.events);for(let i of r){let s=vC(i,t,e);s&&a.push(s)}return a}function fG(n,t){return!t.pluginHooks.eventSourceDefs[n.sourceDefId].ignoreRange}function Gue(n,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return n}}function Kue(n,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return n}}function Que(n,t){let e;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return e=t.state,{affectedEvents:e.affectedEvents,mutatedEvents:e.mutatedEvents,isEvent:e.isEvent};default:return n}}function Zue(n,t){let e;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return e=t.state,{affectedEvents:e.affectedEvents,mutatedEvents:e.mutatedEvents,isEvent:e.isEvent};default:return n}}function Jue(n,t,e,r,a){let i=n.headerToolbar?aG(n.headerToolbar,n,t,e,r,a):null,s=n.footerToolbar?aG(n.footerToolbar,n,t,e,r,a):null;return{header:i,footer:s}}function aG(n,t,e,r,a,i){let s={},o=[],l=!1;for(let c in n){let d=n[c],u=Xue(d,t,e,r,a,i);s[c]=u.widgets,o.push(...u.viewsWithButtons),l=l||u.hasTitle}return{sectionWidgets:s,viewsWithButtons:o,hasTitle:l}}function Xue(n,t,e,r,a,i){let s=t.direction==="rtl",o=t.customButtons||{},l=e.buttonText||{},c=t.buttonText||{},d=e.buttonHints||{},u=t.buttonHints||{},p=n?n.split(" "):[],m=[],h=!1;return{widgets:p.map(g=>g.split(",").map(v=>{if(v==="title")return h=!0,{buttonName:v};let T,k,w,S,x,I;if(T=o[v])w=A=>{T.click&&T.click.call(A.target,A,A.target)},(S=r.getCustomButtonIconClass(T))||(S=r.getIconClass(v,s))||(x=T.text),I=T.hint||T.text;else if(k=a[v]){m.push(v),w=()=>{i.changeView(v)},(x=k.buttonTextOverride)||(S=r.getIconClass(v,s))||(x=k.buttonTextDefault);let A=k.buttonTextOverride||k.buttonTextDefault;I=vu(k.buttonTitleOverride||k.buttonTitleDefault||t.viewHint,[A,v],A)}else if(i[v])if(w=()=>{i[v]()},(x=l[v])||(S=r.getIconClass(v,s))||(x=c[v]),v==="prevYear"||v==="nextYear"){let A=v==="prevYear"?"prev":"next";I=vu(d[A]||u[A],[c.year||"year","year"],c[v])}else I=A=>vu(d[v]||u[v],[c[A]||A,A],c[v]);return{buttonName:v,buttonClick:w,buttonIcon:S,buttonText:x,buttonHint:I}})),viewsWithButtons:m,hasTitle:h}}function ope(n,t,e){let{dateEnv:r,options:a}=e,i,s,o,l,c={};return i=n.startParam,i==null&&(i=a.startParam),s=n.endParam,s==null&&(s=a.endParam),o=n.timeZoneParam,o==null&&(o=a.timeZoneParam),typeof n.extraParams=="function"?l=n.extraParams():l=n.extraParams||{},Object.assign(c,l),c[i]=r.formatIso(t.start),c[s]=r.formatIso(t.end),r.timeZone!=="local"&&(c[o]=r.timeZone),c}function upe(n,t,e,r,a){let i=n?uC(n):null,s=ct(a.start),o=a.end,l=[];for(t&&(t.milliseconds<0?o=Bt(o,1):t.milliseconds>=1e3*60*60*24&&(s=Bt(s,-1)));s<o;){let c;(!i||i[s.getUTCDay()])&&(t?c=r.add(s,t):c=s,l.push(r.createMarker(e.toDate(c)))),s=Bt(s,1)}return l}function iG(n,t){let e=iT(t.getCurrentData().eventSources);if(e.length===1&&n.length===1&&Array.isArray(e[0]._raw)&&Array.isArray(n[0])){t.dispatch({type:"RESET_RAW_EVENTS",sourceId:e[0].sourceId,rawEvents:n[0]});return}let r=[];for(let a of n){let i=!1;for(let s=0;s<e.length;s+=1)if(e[s]._raw===a){e.splice(s,1),i=!0;break}i||r.push(a)}for(let a of e)t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:a.sourceId});for(let a of r)t.calendarApi.addEventSource(a)}function mpe(n,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},EC(n.activeRange,t.dateEnv)),{view:t.viewApi}))}function hpe(n,t){let{emitter:e}=t;e.hasHandlers("eventsSet")&&e.trigger("eventsSet",Bi(n,t))}function gpe(n,t,e){let r;return/^(year|month)$/.test(n.currentRangeUnit)?r=n.currentRange:r=n.activeRange,e.formatRange(r.start,r.end,rt(t.titleFormat||ype(n)),{isEndExclusive:n.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}function ype(n){let{currentRangeUnit:t}=n;if(t==="year")return{year:"numeric"};if(t==="month")return{year:"numeric",month:"long"};let e=pu(n.currentRange.start,n.currentRange.end);return e!==null&&e>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}function vpe(n,t,e,r,a,i,s,o){let l=cG(t||s.defaultCode,s.map);return new kf({calendarSystem:"gregory",timeZone:n,namedTimeZoneImpl:i.namedTimeZonedImpl,locale:l,weekNumberCalculation:e,firstDay:r,weekText:a,cmdFormatter:i.cmdFormatter,defaultSeparator:o})}function bpe(n,t){let e=t.themeClasses[n.themeSystem]||Hi;return new e(n)}function Tpe(n){let t=n.dateProfileGeneratorClass||mc;return new t(n)}function kpe(n,t,e){return new HC(n,t,e)}function wpe(n){return Na(n,t=>t.ui)}function Spe(n,t,e){let r={"":t};for(let a in n){let i=n[a];i.sourceId&&e[i.sourceId]&&(r[a]=e[i.sourceId])}return r}function Dpe(n){let{options:t}=n;return{eventUiSingleBase:Su({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:typeof t.eventOverlap=="boolean"?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},n),selectionConfig:Su({constraint:t.selectConstraint,overlap:typeof t.selectOverlap=="boolean"?t.selectOverlap:void 0,allow:t.selectAllow},n)}}function BC(n,t){for(let e of t.pluginHooks.isLoadingFuncs)if(e(n))return!0;return!1}function Epe(n){return kC(n.options.businessHours,n)}function sG(n,t){for(let e in n)console.warn(`Unknown option '${e}'`+(t?` for view '${t}'`:""))}function xpe(n,t,e,r,a,i){let s=e.build(a,void 0,!1),o=e.buildPrev(t,r,!1),l=e.buildNext(t,r,!1);return{title:i,activeButton:n.type,navUnit:n.singleUnit,isTodayEnabled:s.isValid&&!_a(t.currentRange,a),isPrevEnabled:o.isValid,isNextEnabled:l.isValid}}function Cpe(n){return n.map(t=>new t)}var kue,oG,lG,Hi,nG,HC,epe,tpe,rpe,npe,ape,ipe,spe,lpe,cpe,dpe,ppe,fpe,zC,hT,UC,WC,fT,qC,VC,$C,YC,gT,Cc=b(()=>{LC();Ms();vf();kue=[],oG={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},lG=Object.assign(Object.assign({},oG),{buttonHints:{prev:"Previous $0",next:"Next $0",today(n,t){return t==="day"?"Today":`This ${n}`}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint(n){return`Show ${n} more event${n===1?"":"s"}`}});Hi=class extends Is{};Hi.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"};Hi.prototype.baseIconClass="fc-icon";Hi.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"};Hi.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"};Hi.prototype.iconOverrideOption="buttonIcons";Hi.prototype.iconOverrideCustomButtonOption="icon";Hi.prototype.iconOverridePrefix="fc-icon-";nG={};HC=class{constructor(t,e,r){this.type=t,this.getCurrentData=e,this.dateEnv=r}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(t){return this.getCurrentData().options[t]}},epe={ignoreRange:!0,parseMeta(n){return Array.isArray(n.events)?n.events:null},fetch(n,t){t({rawEvents:n.eventSource.meta})}},tpe=Xr({name:"array-event-source",eventSourceDefs:[epe]}),rpe={parseMeta(n){return typeof n.events=="function"?n.events:null},fetch(n,t,e){let{dateEnv:r}=n.context,a=n.eventSource.meta;xC(a.bind(null,EC(n.range,r)),i=>t({rawEvents:i}),e)}},npe=Xr({name:"func-event-source",eventSourceDefs:[rpe]}),ape={method:String,extraParams:F,startParam:String,endParam:String,timeZoneParam:String},ipe={parseMeta(n){return n.url&&(n.format==="json"||!n.format)?{url:n.url,format:"json",method:(n.method||"GET").toUpperCase(),extraParams:n.extraParams,startParam:n.startParam,endParam:n.endParam,timeZoneParam:n.timeZoneParam}:null},fetch(n,t,e){let{meta:r}=n.eventSource,a=ope(r,n.range,n.context);CC(r.method,r.url,a).then(([i,s])=>{t({rawEvents:i,response:s})},e)}},spe=Xr({name:"json-event-source",eventSourceRefiners:ape,eventSourceDefs:[ipe]});lpe={daysOfWeek:F,startTime:Re,endTime:Re,duration:Re,startRecur:F,endRecur:F},cpe={parse(n,t){if(n.daysOfWeek||n.startTime||n.endTime||n.startRecur||n.endRecur){let e={daysOfWeek:n.daysOfWeek||null,startTime:n.startTime||null,endTime:n.endTime||null,startRecur:n.startRecur?t.createMarker(n.startRecur):null,endRecur:n.endRecur?t.createMarker(n.endRecur):null,dateEnv:t},r;return n.duration&&(r=n.duration),!r&&n.startTime&&n.endTime&&(r=g3(n.endTime,n.startTime)),{allDayGuess:!n.startTime&&!n.endTime,duration:r,typeData:e}}return null},expand(n,t,e){let r=mn(t,{start:n.startRecur,end:n.endRecur});return r?upe(n.daysOfWeek,n.startTime,n.dateEnv,e,r):[]}},dpe=Xr({name:"simple-recurring-event",recurringTypes:[cpe],eventRefiners:lpe});ppe=Xr({name:"change-handler",optionChangeHandlers:{events(n,t){iG([n],t)},eventSources:iG}});fpe=[tpe,npe,spe,dpe,ppe,Xr({name:"misc",isLoadingFuncs:[n=>uG(n.eventSources)],propSetHandlers:{dateProfile:mpe,eventStore:hpe}})],zC=class{constructor(t,e){this.runTaskOption=t,this.drainedOption=e,this.queue=[],this.delayedRunner=new pc(this.drain.bind(this))}request(t,e){this.queue.push(t),this.delayedRunner.request(e)}pause(t){this.delayedRunner.pause(t)}resume(t,e){this.delayedRunner.resume(t,e)}drain(){let{queue:t}=this;for(;t.length;){let e=[],r;for(;r=t.shift();)this.runTask(r),e.push(r);this.drained(e)}}runTask(t){this.runTaskOption&&this.runTaskOption(t)}drained(t){this.drainedOption&&this.drainedOption(t)}};hT=class{constructor(){this.resetListeners=new Set}handleInput(t,e){let r=this.dateEnv;if(t!==r&&(typeof e=="function"?this.nowFn=e:r||(this.nowAnchorDate=t.toDate(e?t.createMarker(e):t.createNowMarker()),this.nowAnchorQueried=Date.now()),this.dateEnv=t,r))for(let a of this.resetListeners.values())a()}getDateMarker(){return this.nowAnchorDate?this.dateEnv.timestampToMarker(this.nowAnchorDate.valueOf()+(Date.now()-this.nowAnchorQueried)):this.dateEnv.createMarker(this.nowFn())}addResetListener(t){this.resetListeners.add(t)}removeResetListener(t){this.resetListeners.delete(t)}},UC=class{constructor(t){this.computeCurrentViewData=pe(this._computeCurrentViewData),this.organizeRawLocales=pe(wue),this.buildLocale=pe(cG),this.buildPluginHooks=xue(),this.buildDateEnv=pe(vpe),this.buildTheme=pe(bpe),this.parseToolbars=pe(Jue),this.buildViewSpecs=pe(_ue),this.buildDateProfileGenerator=Tu(Tpe),this.buildViewApi=pe(kpe),this.buildViewUiProps=Tu(Dpe),this.buildEventUiBySource=pe(wpe,Jr),this.buildEventUiBases=pe(Spe),this.parseContextBusinessHours=Tu(Epe),this.buildTitle=pe(gpe),this.nowManager=new hT,this.emitter=new _s,this.actionRunner=new zC(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=p=>{this.actionRunner.request(p)},this.props=t,this.actionRunner.pause(),this.nowManager=new hT;let e={},r=this.computeOptionsData(t.optionOverrides,e,t.calendarApi),a=r.calendarOptions.initialView||r.pluginHooks.initialView,i=this.computeCurrentViewData(a,r,t.optionOverrides,e);t.calendarApi.currentDataManager=this,this.emitter.setThisContext(t.calendarApi),this.emitter.setOptions(i.options);let s={nowManager:this.nowManager,dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},o=Lue(r.calendarOptions,r.dateEnv,this.nowManager),l=i.dateProfileGenerator.build(o);_a(l.activeRange,o)||(o=l.currentRange.start);for(let p of r.pluginHooks.contextInit)p(s);let c=Hue(r.calendarOptions,l,s),d={dynamicOptionOverrides:e,currentViewType:a,currentDate:o,dateProfile:l,businessHours:this.parseContextBusinessHours(s),eventSources:c,eventUiBases:{},eventStore:vr(),renderableEventStore:vr(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(s).selectionConfig},u=Object.assign(Object.assign({},s),d);for(let p of r.pluginHooks.reducers)Object.assign(d,p(null,null,u));BC(d,s)&&this.emitter.trigger("loading",!0),this.state=d,this.updateData(),this.actionRunner.resume()}resetOptions(t,e){let{props:r}=this;e===void 0?r.optionOverrides=t:(r.optionOverrides=Object.assign(Object.assign({},r.optionOverrides||{}),t),this.optionsForRefining.push(...e)),(e===void 0||e.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(t){let{props:e,state:r,emitter:a}=this,i=Bue(r.dynamicOptionOverrides,t),s=this.computeOptionsData(e.optionOverrides,i,e.calendarApi),o=Fue(r.currentViewType,t),l=this.computeCurrentViewData(o,s,e.optionOverrides,i);e.calendarApi.currentDataManager=this,a.setThisContext(e.calendarApi),a.setOptions(l.options);let c={nowManager:this.nowManager,dateEnv:s.dateEnv,options:s.calendarOptions,pluginHooks:s.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:a,getCurrentData:this.getCurrentData},{currentDate:d,dateProfile:u}=r;this.data&&this.data.dateProfileGenerator!==l.dateProfileGenerator&&(u=l.dateProfileGenerator.build(d)),d=Oue(d,t),u=jue(u,t,d,l.dateProfileGenerator),(t.type==="PREV"||t.type==="NEXT"||!_a(u.currentRange,d))&&(d=u.currentRange.start);let p=zue(r.eventSources,t,u,c),m=M3(r.eventStore,t,p,u,c),f=uG(p)&&!l.options.progressiveEventRendering&&r.renderableEventStore||m,{eventUiSingleBase:g,selectionConfig:v}=this.buildViewUiProps(c),T=this.buildEventUiBySource(p),k=this.buildEventUiBases(f.defs,g,T),w={dynamicOptionOverrides:i,currentViewType:o,currentDate:d,dateProfile:u,eventSources:p,eventStore:m,renderableEventStore:f,selectionConfig:v,eventUiBases:k,businessHours:this.parseContextBusinessHours(c),dateSelection:Gue(r.dateSelection,t),eventSelection:Kue(r.eventSelection,t),eventDrag:Que(r.eventDrag,t),eventResize:Zue(r.eventResize,t)},S=Object.assign(Object.assign({},c),w);for(let A of s.pluginHooks.reducers)Object.assign(w,A(r,t,S));let x=BC(r,c),I=BC(w,c);!x&&I?a.trigger("loading",!0):x&&!I&&a.trigger("loading",!1),this.state=w,e.onAction&&e.onAction(t)}updateData(){let{props:t,state:e}=this,r=this.data,a=this.computeOptionsData(t.optionOverrides,e.dynamicOptionOverrides,t.calendarApi),i=this.computeCurrentViewData(e.currentViewType,a,t.optionOverrides,e.dynamicOptionOverrides),s=this.data=Object.assign(Object.assign(Object.assign({nowManager:this.nowManager,viewTitle:this.buildTitle(e.dateProfile,i.options,a.dateEnv),calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},a),i),e),o=a.pluginHooks.optionChangeHandlers,l=r&&r.calendarOptions,c=a.calendarOptions;if(l&&l!==c){l.timeZone!==c.timeZone&&(e.eventSources=s.eventSources=Uue(s.eventSources,e.dateProfile,s),e.eventStore=s.eventStore=TC(s.eventStore,r.dateEnv,s.dateEnv),e.renderableEventStore=s.renderableEventStore=TC(s.renderableEventStore,r.dateEnv,s.dateEnv));for(let d in o)(this.optionsForHandling.indexOf(d)!==-1||l[d]!==c[d])&&o[d](c[d],s)}this.optionsForHandling=[],t.onData&&t.onData(s)}computeOptionsData(t,e,r){if(!this.optionsForRefining.length&&t===this.stableOptionOverrides&&e===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:a,pluginHooks:i,localeDefaults:s,availableLocaleData:o,extra:l}=this.processRawCalendarOptions(t,e);sG(l);let c=this.buildDateEnv(a.timeZone,a.locale,a.weekNumberCalculation,a.firstDay,a.weekText,i,o,a.defaultRangeSeparator),d=this.buildViewSpecs(i.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,s),u=this.buildTheme(a,i),p=this.parseToolbars(a,this.stableOptionOverrides,u,d,r);return this.stableCalendarOptionsData={calendarOptions:a,pluginHooks:i,dateEnv:c,viewSpecs:d,theme:u,toolbarConfig:p,localeDefaults:s,availableRawLocales:o.map}}processRawCalendarOptions(t,e){let{locales:r,locale:a}=nT([Li,t,e]),i=this.organizeRawLocales(r),s=i.map,o=this.buildLocale(a||i.defaultCode,s).options,l=this.buildPluginHooks(t.plugins||[],fpe),c=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},lC),cC),dC),l.listenerRefiners),l.optionRefiners),d={},u=nT([Li,o,t,e]),p={},m=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,f=!1;for(let g in u)this.optionsForRefining.indexOf(g)===-1&&(u[g]===m[g]||Lo[g]&&g in m&&Lo[g](m[g],u[g]))?p[g]=h[g]:c[g]?(p[g]=c[g](u[g]),f=!0):d[g]=m[g];return f&&(this.currentCalendarOptionsInput=u,this.currentCalendarOptionsRefined=p,this.stableOptionOverrides=t,this.stableDynamicOptionOverrides=e),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:l,availableLocaleData:i,localeDefaults:o,extra:d}}_computeCurrentViewData(t,e,r,a){let i=e.viewSpecs[t];if(!i)throw new Error(`viewType "${t}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:s,extra:o}=this.processRawViewOptions(i,e.pluginHooks,e.localeDefaults,r,a);sG(o),this.nowManager.handleInput(e.dateEnv,s.now);let l=this.buildDateProfileGenerator({dateProfileGeneratorClass:i.optionDefaults.dateProfileGeneratorClass,nowManager:this.nowManager,duration:i.duration,durationUnit:i.durationUnit,usesMinMaxTime:i.optionDefaults.usesMinMaxTime,dateEnv:e.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:s.slotMinTime,slotMaxTime:s.slotMaxTime,showNonCurrentDates:s.showNonCurrentDates,dayCount:s.dayCount,dateAlignment:s.dateAlignment,dateIncrement:s.dateIncrement,hiddenDays:s.hiddenDays,weekends:s.weekends,validRangeInput:s.validRange,visibleRangeInput:s.visibleRange,fixedWeekCount:s.fixedWeekCount}),c=this.buildViewApi(t,this.getCurrentData,e.dateEnv);return{viewSpec:i,options:s,dateProfileGenerator:l,viewApi:c}}processRawViewOptions(t,e,r,a,i){let s=nT([Li,t.optionDefaults,r,a,t.optionOverrides,i]),o=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},lC),cC),dC),b3),e.listenerRefiners),e.optionRefiners),l={},c=this.currentViewOptionsInput,d=this.currentViewOptionsRefined,u=!1,p={};for(let m in s)s[m]===c[m]||Lo[m]&&Lo[m](s[m],c[m])?l[m]=d[m]:(s[m]===this.currentCalendarOptionsInput[m]||Lo[m]&&Lo[m](s[m],this.currentCalendarOptionsInput[m])?m in this.currentCalendarOptionsRefined&&(l[m]=this.currentCalendarOptionsRefined[m]):o[m]?l[m]=o[m](s[m]):p[m]=s[m],u=!0);return u&&(this.currentViewOptionsInput=s,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:p}}};WC=class extends Ue{render(){let t=this.props.widgetGroups.map(e=>this.renderWidgetGroup(e));return E("div",{className:"fc-toolbar-chunk"},...t)}renderWidgetGroup(t){let{props:e}=this,{theme:r}=this.context,a=[],i=!0;for(let s of t){let{buttonName:o,buttonClick:l,buttonText:c,buttonIcon:d,buttonHint:u}=s;if(o==="title")i=!1,a.push(E("h2",{className:"fc-toolbar-title",id:e.titleId},e.title));else{let p=o===e.activeButton,m=!e.isTodayEnabled&&o==="today"||!e.isPrevEnabled&&o==="prev"||!e.isNextEnabled&&o==="next",h=[`fc-${o}-button`,r.getClass("button")];p&&h.push(r.getClass("buttonActive")),a.push(E("button",{type:"button",title:typeof u=="function"?u(e.navUnit):u,disabled:m,"aria-pressed":p,className:h.join(" "),onClick:l},c||(d?E("span",{className:d,role:"img"}):"")))}}if(a.length>1){let s=i&&r.getClass("buttonGroup")||"";return E("div",{className:s},...a)}return a[0]}},fT=class extends Ue{render(){let{model:t,extraClassName:e}=this.props,r=!1,a,i,s=t.sectionWidgets,o=s.center;return s.left?(r=!0,a=s.left):a=s.start,s.right?(r=!0,i=s.right):i=s.end,E("div",{className:[e||"","fc-toolbar",r?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",a||[]),this.renderSection("center",o||[]),this.renderSection("end",i||[]))}renderSection(t,e){let{props:r}=this;return E(WC,{key:t,widgetGroups:e,title:r.title,navUnit:r.navUnit,activeButton:r.activeButton,isTodayEnabled:r.isTodayEnabled,isPrevEnabled:r.isPrevEnabled,isNextEnabled:r.isNextEnabled,titleId:r.titleId})}},qC=class extends Ue{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=t=>{this.el=t,oa(this.props.elRef,t),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:t,state:e}=this,{aspectRatio:r}=t,a=["fc-view-harness",r||t.liquid||t.height?"fc-view-harness-active":"fc-view-harness-passive"],i="",s="";return r?e.availableWidth!==null?i=e.availableWidth/r:s=`${1/r*100}%`:i=t.height||"",E("div",{"aria-labelledby":t.labeledById,ref:this.handleEl,className:a.join(" "),style:{height:i,paddingBottom:s}},t.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}},VC=class extends ii{constructor(t){super(t),this.handleSegClick=(e,r)=>{let{component:a}=this,{context:i}=a,s=Os(r);if(s&&a.isValidSegDownEl(e.target)){let o=yr(e.target,".fc-event-forced-url"),l=o?o.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:r,event:new St(a.context,s.eventRange.def,s.eventRange.instance),jsEvent:e,view:i.viewApi}),l&&!e.defaultPrevented&&(window.location.href=l)}},this.destroy=Qx(t.el,"click",".fc-event",this.handleSegClick)}},$C=class extends ii{constructor(t){super(t),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,r)=>{Os(r)&&(this.currentSegEl=r,this.triggerEvent("eventMouseEnter",e,r))},this.handleSegLeave=(e,r)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,r))},this.removeHoverListeners=d3(t.el,".fc-event",this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(t,e,r){let{component:a}=this,{context:i}=a,s=Os(r);(!e||a.isValidSegDownEl(e.target))&&i.emitter.trigger(t,{el:r,event:new St(i,s.eventRange.def,s.eventRange.instance),jsEvent:e,view:i.viewApi})}},YC=class extends _i{constructor(){super(...arguments),this.buildViewContext=pe(D3),this.buildViewPropTransformers=pe(Cpe),this.buildToolbarProps=pe(xpe),this.headerRef=zt(),this.footerRef=zt(),this.interactionsStore={},this.state={viewLabelId:_n()},this.registerInteractiveComponent=(t,e)=>{let r=F3(t,e),s=[VC,$C].concat(this.props.pluginHooks.componentInteractions).map(o=>new o(r));this.interactionsStore[t.uid]=s,Ec[t.uid]=r},this.unregisterInteractiveComponent=t=>{let e=this.interactionsStore[t.uid];if(e){for(let r of e)r.destroy();delete this.interactionsStore[t.uid]}delete Ec[t.uid]},this.resizeRunner=new pc(()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})}),this.handleWindowResize=t=>{let{options:e}=this.props;e.handleWindowResize&&t.target===window&&this.resizeRunner.request(e.windowResizeDelay)}}render(){let{props:t}=this,{toolbarConfig:e,options:r}=t,a=!1,i="",s;t.isHeightAuto||t.forPrint?i="":r.height!=null?a=!0:r.contentHeight!=null?i=r.contentHeight:s=Math.max(r.aspectRatio,.5);let o=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.nowManager,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=e.header&&e.header.hasTitle?this.state.viewLabelId:void 0;return E(Ra.Provider,{value:o},E(An,{unit:"day"},c=>{let d=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,c,t.viewTitle);return E(tt,null,e.header&&E(fT,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:e.header,titleId:l},d)),E(qC,{liquid:a,height:i,aspectRatio:s,labeledById:l},this.renderView(t),this.buildAppendContent()),e.footer&&E(fT,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:e.footer,titleId:""},d)))}))}componentDidMount(){let{props:t}=this;this.calendarInteractions=t.pluginHooks.calendarInteractions.map(r=>new r(t)),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:e}=t.pluginHooks;for(let r in e)e[r](t[r],t)}componentDidUpdate(t){let{props:e}=this,{propSetHandlers:r}=e.pluginHooks;for(let a in r)e[a]!==t[a]&&r[a](e[a],e)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let t of this.calendarInteractions)t.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:t}=this,e=t.pluginHooks.viewContainerAppends.map(r=>r(t));return E(tt,{},...e)}renderView(t){let{pluginHooks:e}=t,{viewSpec:r}=t,a={dateProfile:t.dateProfile,businessHours:t.businessHours,eventStore:t.renderableEventStore,eventUiBases:t.eventUiBases,dateSelection:t.dateSelection,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,isHeightAuto:t.isHeightAuto,forPrint:t.forPrint},i=this.buildViewPropTransformers(e.viewPropsTransformers);for(let o of i)Object.assign(a,o.transform(a,t));let s=r.component;return E(s,Object.assign({},a))}};gT=class extends Cf{constructor(t,e={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=r=>{switch(r.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=r=>{this.currentData=r,this.renderRunner.request(r.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:r}=this;wf(()=>{Po(E(xf,{options:r.calendarOptions,theme:r.theme,emitter:r.emitter},(a,i,s,o)=>(this.setClassNames(a),this.setHeight(i),E(mC.Provider,{value:this.customContentRenderId},E(YC,Object.assign({isHeightAuto:s,forPrint:o},r))))),this.el)})}else this.isRendered&&(this.isRendered=!1,Po(null,this.el),this.setClassNames([]),this.setHeight(""))},s3(t),this.el=t,this.renderRunner=new pc(this.handleRenderRequest),new UC({optionOverrides:e,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let t=this.isRendering;t?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),t&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){wf(()=>{super.updateSize()})}batchRendering(t){this.renderRunner.pause("batchRendering"),t(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(t,e){this.currentDataManager.resetOptions(t,e)}setClassNames(t){if(!Fi(t,this.currentClassNames)){let{classList:e}=this.el;for(let r of this.currentClassNames)e.remove(r);for(let r of t)e.add(r);this.currentClassNames=t}}setHeight(t){Kx(this.el,"height",t)}}});var Pc=b(()=>{LC();Ms();vf()});function Ppe(n){return n.button===0&&!n.ctrlKey}function Mpe(){KC+=1,setTimeout(()=>{KC-=1},xu.touchMouseIgnoreWait)}function Ape(){yT+=1,yT===1&&window.addEventListener("touchmove",yG,{passive:!1})}function Ipe(){yT-=1,yT||window.removeEventListener("touchmove",yG,{passive:!1})}function yG(n){QC&&n.preventDefault()}function _pe(n){let t=n.tagName;return t==="HTML"||t==="BODY"}function wT(n,t){return!n&&!t?!0:!!n!=!!t?!1:DC(n.dateSpan,t.dateSpan)}function sP(n,t){let e={};for(let r of t.pluginHooks.datePointTransforms)Object.assign(e,r(n,t));return Object.assign(e,Npe(n,t.dateEnv)),e}function Npe(n,t){return{date:t.toDate(n.range.start),dateStr:t.formatIso(n.range.start,{omitTime:n.allDay}),allDay:n.allDay}}function Rpe(n){let{options:t}=n.context,e=t.selectLongPressDelay;return e==null&&(e=t.longPressDelay),e}function Fpe(n,t,e){let r=n.dateSpan,a=t.dateSpan,i=[r.range.start,r.range.end,a.range.start,a.range.end];i.sort(rC);let s={};for(let o of e){let l=o(n,t);if(l===!1)return null;l&&Object.assign(s,l)}return s.range={start:i[0],end:i[3]},s.allDay=r.allDay,s}function Ope(n,t,e,r){let a=n.dateSpan,i=t.dateSpan,s=a.range.start,o=i.range.start,l={};a.allDay!==i.allDay&&(l.allDay=i.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,i.allDay?s=ct(e):s=e);let c=_o(s,o,n.context.dateEnv,n.componentId===t.componentId?n.largeUnit:null);c.milliseconds&&(l.allDay=!1);let d={datesDelta:c,standardProps:l};for(let u of r)u(d,n,t);return d}function Lpe(n){let{options:t}=n.context,e=t.eventLongPressDelay;return e==null&&(e=t.longPressDelay),e}function Bpe(n,t,e,r){let a=n.context.dateEnv,i=n.dateSpan.range.start,s=t.dateSpan.range.start,o=_o(i,s,a,n.largeUnit);if(e){if(a.add(r.start,o)<r.end)return{startDelta:o}}else if(a.add(r.end,o)>r.start)return{endDelta:o};return null}function zpe(n,t,e){let r=Object.assign({},t.leftoverProps);for(let d of e.pluginHooks.externalDefTransforms)Object.assign(r,d(n,t));let{refined:a,extra:i}=jf(r,e),s=mu(a,i,t.sourceId,n.allDay,e.options.forceEventDuration||!!t.duration,e),o=n.range.start;n.allDay&&t.startTime&&(o=e.dateEnv.add(o,t.startTime));let l=t.duration?e.dateEnv.add(o,t.duration):Ef(n.allDay,o,e),c=wu(s.defId,{start:o,end:l});return{def:s,instance:c}}function Upe(n){let t=Wpe(n,"event"),e=t?JSON.parse(t):{create:!1};return Yf(e)}function Wpe(n,t){let e=xu.dataAttrPrefix,r=(e?e+"-":"")+t;return n.getAttribute("data-"+r)||""}var KC,yT,QC,vT,ZC,bT,TT,JC,gG,XC,jo,eP,Mc,tP,rP,Xf,nP,aP,jpe,Hpe,iP,kT,vG,oP=b(()=>{Cc();Pc();xu.touchMouseIgnoreWait=500;KC=0,yT=0,QC=!1,vT=class{constructor(t){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{if(!this.shouldIgnoreMouse()&&Ppe(e)&&this.tryStart(e)){let r=this.createEventFromMouse(e,!0);this.emitter.trigger("pointerdown",r),this.initScrollWatch(r),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=e=>{let r=this.createEventFromMouse(e);this.recordCoords(r),this.emitter.trigger("pointermove",r)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=e=>{if(this.tryStart(e)){this.isTouchDragging=!0;let r=this.createEventFromTouch(e,!0);this.emitter.trigger("pointerdown",r),this.initScrollWatch(r);let a=e.target;this.shouldIgnoreMove||a.addEventListener("touchmove",this.handleTouchMove),a.addEventListener("touchend",this.handleTouchEnd),a.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{let r=this.createEventFromTouch(e);this.recordCoords(r),this.emitter.trigger("pointermove",r)},this.handleTouchEnd=e=>{if(this.isDragging){let r=e.target;r.removeEventListener("touchmove",this.handleTouchMove),r.removeEventListener("touchend",this.handleTouchEnd),r.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(e)),this.cleanup(),this.isTouchDragging=!1,Mpe()}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{if(!this.shouldIgnoreMove){let r=window.scrollX-this.prevScrollX+this.prevPageX,a=window.scrollY-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:r,pageY:a,deltaX:r-this.origPageX,deltaY:a-this.origPageY})}},this.containerEl=t,this.emitter=new _s,t.addEventListener("mousedown",this.handleMouseDown),t.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Ape()}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),Ipe()}tryStart(t){let e=this.querySubjectEl(t),r=t.target;return e&&(!this.handleSelector||yr(r,this.handleSelector))?(this.subjectEl=e,this.isDragging=!0,this.wasTouchScroll=!1,!0):!1}cleanup(){QC=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(t){return this.selector?yr(t.target,this.selector):this.containerEl}shouldIgnoreMouse(){return KC||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(QC=!0)}initScrollWatch(t){this.shouldWatchScroll&&(this.recordCoords(t),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(t){this.shouldWatchScroll&&(this.prevPageX=t.pageX,this.prevPageY=t.pageY,this.prevScrollX=window.scrollX,this.prevScrollY=window.scrollY)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(t,e){let r=0,a=0;return e?(this.origPageX=t.pageX,this.origPageY=t.pageY):(r=t.pageX-this.origPageX,a=t.pageY-this.origPageY),{origEvent:t,isTouch:!1,subjectEl:this.subjectEl,pageX:t.pageX,pageY:t.pageY,deltaX:r,deltaY:a}}createEventFromTouch(t,e){let r=t.touches,a,i,s=0,o=0;return r&&r.length?(a=r[0].pageX,i=r[0].pageY):(a=t.pageX,i=t.pageY),e?(this.origPageX=a,this.origPageY=i):(s=a-this.origPageX,o=i-this.origPageY),{origEvent:t,isTouch:!0,subjectEl:this.subjectEl,pageX:a,pageY:i,deltaX:s,deltaY:o}}};ZC=class{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(t,e,r){this.sourceEl=t,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=e-window.scrollX,this.origScreenY=r-window.scrollY,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(t,e){this.deltaX=t-window.scrollX-this.origScreenX,this.deltaY=e-window.scrollY-this.origScreenY,this.updateElPosition()}setIsVisible(t){t?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=t,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=t)}stop(t,e){let r=()=>{this.cleanup(),e()};t&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)}doRevertAnimation(t,e){let r=this.mirrorEl,a=this.sourceEl.getBoundingClientRect();r.style.transition="top "+e+"ms,left "+e+"ms",Sc(r,{left:a.left,top:a.top}),Zx(r,()=>{r.style.transition="",t()})}cleanup(){this.mirrorEl&&(Rf(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&Sc(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let t=this.sourceElRect,e=this.mirrorEl;return e||(e=this.mirrorEl=this.sourceEl.cloneNode(!0),e.style.userSelect="none",e.style.webkitUserSelect="none",e.style.pointerEvents="none",e.classList.add("fc-event-dragging"),Sc(e,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:t.right-t.left,height:t.bottom-t.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(e)),e}},bT=class extends gc{constructor(t,e){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=t,this.doesListening=e,this.scrollTop=this.origScrollTop=t.getScrollTop(),this.scrollLeft=this.origScrollLeft=t.getScrollLeft(),this.scrollWidth=t.getScrollWidth(),this.scrollHeight=t.getScrollHeight(),this.clientWidth=t.getClientWidth(),this.clientHeight=t.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(t){this.scrollController.setScrollTop(t),this.doesListening||(this.scrollTop=Math.max(Math.min(t,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(t){this.scrollController.setScrollLeft(t),this.doesListening||(this.scrollLeft=Math.max(Math.min(t,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}},TT=class extends bT{constructor(t,e){super(new Mf(t),e)}getEventTarget(){return this.scrollController.el}computeClientRect(){return NC(this.scrollController.el)}},JC=class extends bT{constructor(t){super(new Af,t)}getEventTarget(){return window}computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}},gG=typeof performance=="function"?performance.now:Date.now,XC=class{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let t=this.computeBestEdge(this.pointerScreenX+window.scrollX,this.pointerScreenY+window.scrollY);if(t){let e=gG();this.handleSide(t,(e-this.msSinceRequest)/1e3),this.requestAnimation(e)}else this.isAnimating=!1}}}start(t,e,r){this.isEnabled&&(this.scrollCaches=this.buildCaches(r),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(t,e))}handleMove(t,e){if(this.isEnabled){let r=t-window.scrollX,a=e-window.scrollY,i=this.pointerScreenY===null?0:a-this.pointerScreenY,s=this.pointerScreenX===null?0:r-this.pointerScreenX;i<0?this.everMovedUp=!0:i>0&&(this.everMovedDown=!0),s<0?this.everMovedLeft=!0:s>0&&(this.everMovedRight=!0),this.pointerScreenX=r,this.pointerScreenY=a,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(gG()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let t of this.scrollCaches)t.destroy();this.scrollCaches=null}}requestAnimation(t){this.msSinceRequest=t,requestAnimationFrame(this.animate)}handleSide(t,e){let{scrollCache:r}=t,{edgeThreshold:a}=this,i=a-t.distance,s=i*i/(a*a)*this.maxVelocity*e,o=1;switch(t.name){case"left":o=-1;case"right":r.setScrollLeft(r.getScrollLeft()+s*o);break;case"top":o=-1;case"bottom":r.setScrollTop(r.getScrollTop()+s*o);break}}computeBestEdge(t,e){let{edgeThreshold:r}=this,a=null,i=this.scrollCaches||[];for(let s of i){let o=s.clientRect,l=t-o.left,c=o.right-t,d=e-o.top,u=o.bottom-e;l>=0&&c>=0&&d>=0&&u>=0&&(d<=r&&this.everMovedUp&&s.canScrollUp()&&(!a||a.distance>d)&&(a={scrollCache:s,name:"top",distance:d}),u<=r&&this.everMovedDown&&s.canScrollDown()&&(!a||a.distance>u)&&(a={scrollCache:s,name:"bottom",distance:u}),l<=r&&this.everMovedLeft&&s.canScrollLeft()&&(!a||a.distance>l)&&(a={scrollCache:s,name:"left",distance:l}),c<=r&&this.everMovedRight&&s.canScrollRight()&&(!a||a.distance>c)&&(a={scrollCache:s,name:"right",distance:c}))}return a}buildCaches(t){return this.queryScrollEls(t).map(e=>e===window?new JC(!1):new TT(e,!1))}queryScrollEls(t){let e=[];for(let r of this.scrollQuery)typeof r=="object"?e.push(r):e.push(...Array.prototype.slice.call(t.getRootNode().querySelectorAll(r)));return e}},jo=class extends Nf{constructor(t,e){super(t),this.containerEl=t,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=a=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,Jx(document.body),eC(document.body),a.isTouch||a.origEvent.preventDefault(),this.emitter.trigger("pointerdown",a),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(a.subjectEl,a.pageX,a.pageY),this.startDelay(a),this.minDistance||this.handleDistanceSurpassed(a)))},this.onPointerMove=a=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",a),!this.isDistanceSurpassed){let i=this.minDistance,s,{deltaX:o,deltaY:l}=a;s=o*o+l*l,s>=i*i&&this.handleDistanceSurpassed(a)}this.isDragging&&(a.origEvent.type!=="scroll"&&(this.mirror.handleMove(a.pageX,a.pageY),this.autoScroller.handleMove(a.pageX,a.pageY)),this.emitter.trigger("dragmove",a))}},this.onPointerUp=a=>{this.isInteracting&&(this.isInteracting=!1,Xx(document.body),tC(document.body),this.emitter.trigger("pointerup",a),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(a)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let r=this.pointer=new vT(t);r.emitter.on("pointerdown",this.onPointerDown),r.emitter.on("pointermove",this.onPointerMove),r.emitter.on("pointerup",this.onPointerUp),e&&(r.selector=e),this.mirror=new ZC,this.autoScroller=new XC}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(t){typeof this.delay=="number"?this.delayTimeoutId=setTimeout(()=>{this.delayTimeoutId=null,this.handleDelayEnd(t)},this.delay):this.handleDelayEnd(t)}handleDelayEnd(t){this.isDelayEnded=!0,this.tryStartDrag(t)}handleDistanceSurpassed(t){this.isDistanceSurpassed=!0,this.tryStartDrag(t)}tryStartDrag(t){this.isDelayEnded&&this.isDistanceSurpassed&&(!this.pointer.wasTouchScroll||this.touchScrollAllowed)&&(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(t.pageX,t.pageY,this.containerEl),this.emitter.trigger("dragstart",t),this.touchScrollAllowed===!1&&this.pointer.cancelTouchScroll())}tryStopDrag(t){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,t))}stopDrag(t){this.isDragging=!1,this.emitter.trigger("dragend",t)}setIgnoreMove(t){this.pointer.shouldIgnoreMove=t}setMirrorIsVisible(t){this.mirror.setIsVisible(t)}setMirrorNeedsRevert(t){this.mirrorNeedsRevert=t}setAutoScrollEnabled(t){this.autoScroller.isEnabled=t}},eP=class{constructor(t){this.el=t,this.origRect=Vf(t),this.scrollCaches=pT(t).map(e=>new TT(e,!0))}destroy(){for(let t of this.scrollCaches)t.destroy()}computeLeft(){let t=this.origRect.left;for(let e of this.scrollCaches)t+=e.origScrollLeft-e.getScrollLeft();return t}computeTop(){let t=this.origRect.top;for(let e of this.scrollCaches)t+=e.origScrollTop-e.getScrollTop();return t}isWithinClipping(t,e){let r={left:t,top:e};for(let a of this.scrollCaches)if(!_pe(a.getEventTarget())&&!MC(r,a.clientRect))return!1;return!0}};Mc=class{constructor(t,e){this.useSubjectCenter=!1,this.requireInitial=!0,this.disablePointCheck=!1,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=r=>{let{dragging:a}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(r),this.initialHit||!this.requireInitial?(a.setIgnoreMove(!1),this.emitter.trigger("pointerdown",r)):a.setIgnoreMove(!0)},this.handleDragStart=r=>{this.emitter.trigger("dragstart",r),this.handleMove(r,!0)},this.handleDragMove=r=>{this.emitter.trigger("dragmove",r),this.handleMove(r)},this.handlePointerUp=r=>{this.releaseHits(),this.emitter.trigger("pointerup",r)},this.handleDragEnd=r=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,r),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",r)},this.droppableStore=e,t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragstart",this.handleDragStart),t.emitter.on("dragmove",this.handleDragMove),t.emitter.on("pointerup",this.handlePointerUp),t.emitter.on("dragend",this.handleDragEnd),this.dragging=t,this.emitter=new _s}processFirstCoord(t){let e={left:t.pageX,top:t.pageY},r=e,a=t.subjectEl,i;a instanceof HTMLElement&&(i=Vf(a),r=AC(r,i));let s=this.initialHit=this.queryHitForOffset(r.left,r.top);if(s){if(this.useSubjectCenter&&i){let o=uT(i,s.rect);o&&(r=IC(o))}this.coordAdjust=_C(r,e)}else this.coordAdjust={left:0,top:0}}handleMove(t,e){let r=this.queryHitForOffset(t.pageX+this.coordAdjust.left,t.pageY+this.coordAdjust.top);(e||!wT(this.movingHit,r))&&(this.movingHit=r,this.emitter.trigger("hitupdate",r,!1,t))}prepareHits(){this.offsetTrackers=Na(this.droppableStore,t=>(t.component.prepareHits(),new eP(t.el)))}releaseHits(){let{offsetTrackers:t}=this;for(let e in t)t[e].destroy();this.offsetTrackers={}}queryHitForOffset(t,e){let{droppableStore:r,offsetTrackers:a}=this,i=null;for(let s in r){let o=r[s].component,l=a[s];if(l&&l.isWithinClipping(t,e)){let c=l.computeLeft(),d=l.computeTop(),u=t-c,p=e-d,{origRect:m}=l,h=m.right-m.left,f=m.bottom-m.top;if(u>=0&&u<h&&p>=0&&p<f){let g=o.queryHit(u,p,h,f);g&&ku(g.dateProfile.activeRange,g.dateSpan.range)&&(this.disablePointCheck||l.el.contains(l.el.getRootNode().elementFromPoint(u+c-window.scrollX,p+d-window.scrollY)))&&(!i||g.layer>i.layer)&&(g.componentId=s,g.context=o.context,g.rect.left+=c,g.rect.right+=c,g.rect.top+=d,g.rect.bottom+=d,i=g)}}}return i}};tP=class extends ii{constructor(t){super(t),this.handlePointerDown=r=>{let{dragging:a}=this,i=r.origEvent.target;a.setIgnoreMove(!this.component.isValidDateDownEl(i))},this.handleDragEnd=r=>{let{component:a}=this,{pointer:i}=this.dragging;if(!i.wasTouchScroll){let{initialHit:s,finalHit:o}=this.hitDragging;if(s&&o&&wT(s,o)){let{context:l}=a,c=Object.assign(Object.assign({},sP(s.dateSpan,l)),{dayEl:s.dayEl,jsEvent:r.origEvent,view:l.viewApi||l.calendarApi.view});l.emitter.trigger("dateClick",c)}}},this.dragging=new jo(t.el),this.dragging.autoScroller.isEnabled=!1;let e=this.hitDragging=new Mc(this.dragging,Wf(t));e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}},rP=class extends ii{constructor(t){super(t),this.dragSelection=null,this.handlePointerDown=s=>{let{component:o,dragging:l}=this,{options:c}=o.context,d=c.selectable&&o.isValidDateDownEl(s.origEvent.target);l.setIgnoreMove(!d),l.delay=s.isTouch?Rpe(o):null},this.handleDragStart=s=>{this.component.context.calendarApi.unselect(s)},this.handleHitUpdate=(s,o)=>{let{context:l}=this.component,c=null,d=!1;if(s){let u=this.hitDragging.initialHit;s.componentId===u.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(u,s)||(c=Fpe(u,s,l.pluginHooks.dateSelectionTransformers)),(!c||!FC(c,s.dateProfile,l))&&(d=!0,c=null)}c?l.dispatch({type:"SELECT_DATES",selection:c}):o||l.dispatch({type:"UNSELECT_DATES"}),d?gu():yu(),o||(this.dragSelection=c)},this.handlePointerUp=s=>{this.dragSelection&&(dT(this.dragSelection,s,this.component.context),this.dragSelection=null)};let{component:e}=t,{options:r}=e.context,a=this.dragging=new jo(t.el);a.touchScrollAllowed=!1,a.minDistance=r.selectMinDistance||0,a.autoScroller.isEnabled=r.dragScroll;let i=this.hitDragging=new Mc(this.dragging,Wf(t));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}};Xf=class n extends ii{constructor(t){super(t),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=s=>{let o=s.origEvent.target,{component:l,dragging:c}=this,{mirror:d}=c,{options:u}=l.context,p=l.context;this.subjectEl=s.subjectEl;let m=this.subjectSeg=Os(s.subjectEl),f=(this.eventRange=m.eventRange).instance.instanceId;this.relevantEvents=Hf(p.getCurrentData().eventStore,f),c.minDistance=s.isTouch?0:u.eventDragMinDistance,c.delay=s.isTouch&&f!==l.props.eventSelection?Lpe(l):null,u.fixedMirrorParent?d.parentNode=u.fixedMirrorParent:d.parentNode=yr(o,".fc"),d.revertDuration=u.dragRevertDuration;let g=l.isValidSegDownEl(o)&&!yr(o,".fc-event-resizer");c.setIgnoreMove(!g),this.isDragging=g&&s.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=s=>{let o=this.component.context,l=this.eventRange,c=l.instance.instanceId;s.isTouch?c!==this.component.props.eventSelection&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:c}):o.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(o.calendarApi.unselect(s),o.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new St(o,l.def,l.instance),jsEvent:s.origEvent,view:o.viewApi}))},this.handleHitUpdate=(s,o)=>{if(!this.isDragging)return;let l=this.relevantEvents,c=this.hitDragging.initialHit,d=this.component.context,u=null,p=null,m=null,h=!1,f={affectedEvents:l,mutatedEvents:vr(),isEvent:!0};if(s){u=s.context;let g=u.options;d===u||g.editable&&g.droppable?(p=Ope(c,s,this.eventRange.instance.range.start,u.getCurrentData().pluginHooks.eventDragMutationMassagers),p&&(m=zf(l,u.getCurrentData().eventUiBases,p,u),f.mutatedEvents=m,Gf(f,s.dateProfile,u)||(h=!0,p=null,m=null,f.mutatedEvents=vr()))):u=null}this.displayDrag(u,f),h?gu():yu(),o||(d===u&&wT(c,s)&&(p=null),this.dragging.setMirrorNeedsRevert(!p),this.dragging.setMirrorIsVisible(!s||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=u,this.validMutation=p,this.mutatedRelevantEvents=m)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=s=>{if(this.isDragging){let o=this.component.context,l=o.viewApi,{receivingContext:c,validMutation:d}=this,u=this.eventRange.def,p=this.eventRange.instance,m=new St(o,u,p),h=this.relevantEvents,f=this.mutatedRelevantEvents,{finalHit:g}=this.hitDragging;if(this.clearDrag(),o.emitter.trigger("eventDragStop",{el:this.subjectEl,event:m,jsEvent:s.origEvent,view:l}),d){if(c===o){let v=new St(o,f.defs[u.defId],p?f.instances[p.instanceId]:null);o.dispatch({type:"MERGE_EVENTS",eventStore:f});let T={oldEvent:m,event:v,relatedEvents:Bi(f,o,p),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:h})}},k={};for(let w of o.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(k,w(d,o));o.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},T),k),{el:s.subjectEl,delta:d.datesDelta,jsEvent:s.origEvent,view:l})),o.emitter.trigger("eventChange",T)}else if(c){let v={event:m,relatedEvents:Bi(h,o,p),revert(){o.dispatch({type:"MERGE_EVENTS",eventStore:h})}};o.emitter.trigger("eventLeave",Object.assign(Object.assign({},v),{draggedEl:s.subjectEl,view:l})),o.dispatch({type:"REMOVE_EVENTS",eventStore:h}),o.emitter.trigger("eventRemove",v);let T=f.defs[u.defId],k=f.instances[p.instanceId],w=new St(c,T,k);c.dispatch({type:"MERGE_EVENTS",eventStore:f});let S={event:w,relatedEvents:Bi(f,c,k),revert(){c.dispatch({type:"REMOVE_EVENTS",eventStore:f})}};c.emitter.trigger("eventAdd",S),s.isTouch&&c.dispatch({type:"SELECT_EVENT",eventInstanceId:p.instanceId}),c.emitter.trigger("drop",Object.assign(Object.assign({},sP(g.dateSpan,c)),{draggedEl:s.subjectEl,jsEvent:s.origEvent,view:g.context.viewApi})),c.emitter.trigger("eventReceive",Object.assign(Object.assign({},S),{draggedEl:s.subjectEl,view:g.context.viewApi}))}}else o.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:e}=this,{options:r}=e.context,a=this.dragging=new jo(t.el);a.pointer.selector=n.SELECTOR,a.touchScrollAllowed=!1,a.autoScroller.isEnabled=r.dragScroll;let i=this.hitDragging=new Mc(this.dragging,Ec);i.useSubjectCenter=t.useEventCenter,i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("pointerup",this.handlePointerUp),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(t,e){let r=this.component.context,a=this.receivingContext;a&&a!==t&&(a===r?a.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:e.affectedEvents,mutatedEvents:vr(),isEvent:!0}}):a.dispatch({type:"UNSET_EVENT_DRAG"})),t&&t.dispatch({type:"SET_EVENT_DRAG",state:e})}clearDrag(){let t=this.component.context,{receivingContext:e}=this;e&&e.dispatch({type:"UNSET_EVENT_DRAG"}),t!==e&&t.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}};Xf.SELECTOR=".fc-event-draggable, .fc-event-resizable";nP=class extends ii{constructor(t){super(t),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=i=>{let{component:s}=this,o=this.querySegEl(i),l=Os(o),c=this.eventRange=l.eventRange;this.dragging.minDistance=s.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(i.origEvent.target)||i.isTouch&&this.component.props.eventSelection!==c.instance.instanceId)},this.handleDragStart=i=>{let{context:s}=this.component,o=this.eventRange;this.relevantEvents=Hf(s.getCurrentData().eventStore,this.eventRange.instance.instanceId);let l=this.querySegEl(i);this.draggingSegEl=l,this.draggingSeg=Os(l),s.calendarApi.unselect(),s.emitter.trigger("eventResizeStart",{el:l,event:new St(s,o.def,o.instance),jsEvent:i.origEvent,view:s.viewApi})},this.handleHitUpdate=(i,s,o)=>{let{context:l}=this.component,c=this.relevantEvents,d=this.hitDragging.initialHit,u=this.eventRange.instance,p=null,m=null,h=!1,f={affectedEvents:c,mutatedEvents:vr(),isEvent:!0};i&&(i.componentId===d.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(d,i)||(p=Bpe(d,i,o.subjectEl.classList.contains("fc-event-resizer-start"),u.range))),p&&(m=zf(c,l.getCurrentData().eventUiBases,p,l),f.mutatedEvents=m,Gf(f,i.dateProfile,l)||(h=!0,p=null,m=null,f.mutatedEvents=null)),m?l.dispatch({type:"SET_EVENT_RESIZE",state:f}):l.dispatch({type:"UNSET_EVENT_RESIZE"}),h?gu():yu(),s||(p&&wT(d,i)&&(p=null),this.validMutation=p,this.mutatedRelevantEvents=m)},this.handleDragEnd=i=>{let{context:s}=this.component,o=this.eventRange.def,l=this.eventRange.instance,c=new St(s,o,l),d=this.relevantEvents,u=this.mutatedRelevantEvents;if(s.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:c,jsEvent:i.origEvent,view:s.viewApi}),this.validMutation){let p=new St(s,u.defs[o.defId],l?u.instances[l.instanceId]:null);s.dispatch({type:"MERGE_EVENTS",eventStore:u});let m={oldEvent:c,event:p,relatedEvents:Bi(u,s,l),revert(){s.dispatch({type:"MERGE_EVENTS",eventStore:d})}};s.emitter.trigger("eventResize",Object.assign(Object.assign({},m),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||Re(0),endDelta:this.validMutation.endDelta||Re(0),jsEvent:i.origEvent,view:s.viewApi})),s.emitter.trigger("eventChange",m)}else s.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:e}=t,r=this.dragging=new jo(t.el);r.pointer.selector=".fc-event-resizer",r.touchScrollAllowed=!1,r.autoScroller.isEnabled=e.context.options.dragScroll;let a=this.hitDragging=new Mc(this.dragging,Wf(t));a.emitter.on("pointerdown",this.handlePointerDown),a.emitter.on("dragstart",this.handleDragStart),a.emitter.on("hitupdate",this.handleHitUpdate),a.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(t){return yr(t.subjectEl,".fc-event")}};aP=class{constructor(t){this.context=t,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=r=>{r.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=r=>{let a=this.context.options.unselectCancel,i=eT(r.origEvent);this.matchesCancel=!!yr(i,a),this.matchesEvent=!!yr(i,Xf.SELECTOR)},this.onDocumentPointerUp=r=>{let{context:a}=this,{documentPointer:i}=this,s=a.getCurrentData();if(!i.wasTouchScroll){if(s.dateSelection&&!this.isRecentPointerDateSelect){let o=a.options.unselectAuto;o&&(!o||!this.matchesCancel)&&a.calendarApi.unselect(r)}s.eventSelection&&!this.matchesEvent&&a.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let e=this.documentPointer=new vT(document);e.shouldIgnoreMove=!0,e.shouldWatchScroll=!1,e.emitter.on("pointerdown",this.onDocumentPointerDown),e.emitter.on("pointerup",this.onDocumentPointerUp),t.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}},jpe={fixedMirrorParent:F},Hpe={dateClick:F,eventDragStart:F,eventDragStop:F,eventDrop:F,eventResizeStart:F,eventResizeStop:F,eventResize:F,drop:F,eventReceive:F,eventLeave:F},iP=class{constructor(t,e){this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=a=>{this.dragMeta=this.buildDragMeta(a.subjectEl)},this.handleHitUpdate=(a,i,s)=>{let{dragging:o}=this.hitDragging,l=null,c=null,d=!1,u={affectedEvents:vr(),mutatedEvents:vr(),isEvent:this.dragMeta.create};a&&(l=a.context,this.canDropElOnCalendar(s.subjectEl,l)&&(c=zpe(a.dateSpan,this.dragMeta,l),u.mutatedEvents=fc(c),d=!Gf(u,a.dateProfile,l),d&&(u.mutatedEvents=vr(),c=null))),this.displayDrag(l,u),o.setMirrorIsVisible(i||!c||!document.querySelector(".fc-event-mirror")),d?gu():yu(),i||(o.setMirrorNeedsRevert(!c),this.receivingContext=l,this.droppableEvent=c)},this.handleDragEnd=a=>{let{receivingContext:i,droppableEvent:s}=this;if(this.clearDrag(),i&&s){let o=this.hitDragging.finalHit,l=o.context.viewApi,c=this.dragMeta;if(i.emitter.trigger("drop",Object.assign(Object.assign({},sP(o.dateSpan,i)),{draggedEl:a.subjectEl,jsEvent:a.origEvent,view:l})),c.create){let d=fc(s);i.dispatch({type:"MERGE_EVENTS",eventStore:d}),a.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:s.instance.instanceId}),i.emitter.trigger("eventReceive",{event:new St(i,s.def,s.instance),relatedEvents:[],revert(){i.dispatch({type:"REMOVE_EVENTS",eventStore:d})},draggedEl:a.subjectEl,view:l})}}this.receivingContext=null,this.droppableEvent=null};let r=this.hitDragging=new Mc(t,Ec);r.requireInitial=!1,r.emitter.on("dragstart",this.handleDragStart),r.emitter.on("hitupdate",this.handleHitUpdate),r.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=e}buildDragMeta(t){return typeof this.suppliedDragMeta=="object"?Yf(this.suppliedDragMeta):typeof this.suppliedDragMeta=="function"?Yf(this.suppliedDragMeta(t)):Upe(t)}displayDrag(t,e){let r=this.receivingContext;r&&r!==t&&r.dispatch({type:"UNSET_EVENT_DRAG"}),t&&t.dispatch({type:"SET_EVENT_DRAG",state:e})}clearDrag(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})}canDropElOnCalendar(t,e){let r=e.options.dropAccept;return typeof r=="function"?r.call(e.calendarApi,t):typeof r=="string"&&r?!!Xb(t,r):!0}};xu.dataAttrPrefix="";kT=class{constructor(t,e={}){this.handlePointerDown=a=>{let{dragging:i}=this,{minDistance:s,longPressDelay:o}=this.settings;i.minDistance=s!=null?s:a.isTouch?0:Li.eventDragMinDistance,i.delay=a.isTouch?o!=null?o:Li.longPressDelay:0},this.handleDragStart=a=>{a.isTouch&&this.dragging.delay&&a.subjectEl.classList.contains("fc-event")&&this.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=e;let r=this.dragging=new jo(t);r.touchScrollAllowed=!1,e.itemSelector!=null&&(r.pointer.selector=e.itemSelector),e.appendTo!=null&&(r.mirror.parentNode=e.appendTo),r.emitter.on("pointerdown",this.handlePointerDown),r.emitter.on("dragstart",this.handleDragStart),new iP(r,e.eventData)}destroy(){this.dragging.destroy()}},vG=Xr({name:"@fullcalendar/interaction",componentInteractions:[tP,rP,Xf,nP],calendarInteractions:[aP],elementDraggingImpl:jo,optionRefiners:jpe,listenerRefiners:Hpe})});var ze=D(xe=>{"use strict";xe.secondsInYear=xe.secondsInWeek=xe.secondsInQuarter=xe.secondsInMonth=xe.secondsInMinute=xe.secondsInHour=xe.secondsInDay=xe.quartersInYear=xe.monthsInYear=xe.monthsInQuarter=xe.minutesInYear=xe.minutesInMonth=xe.minutesInHour=xe.minutesInDay=xe.minTime=xe.millisecondsInWeek=xe.millisecondsInSecond=xe.millisecondsInMinute=xe.millisecondsInHour=xe.millisecondsInDay=xe.maxTime=xe.daysInYear=xe.daysInWeek=xe.constructFromSymbol=void 0;var Qat=xe.daysInWeek=7,kme=xe.daysInYear=365.2425,wme=xe.maxTime=Math.pow(10,8)*24*60*60*1e3,Zat=xe.minTime=-wme,Jat=xe.millisecondsInWeek=6048e5,Xat=xe.millisecondsInDay=864e5,eit=xe.millisecondsInMinute=6e4,tit=xe.millisecondsInHour=36e5,rit=xe.millisecondsInSecond=1e3,nit=xe.minutesInYear=525600,ait=xe.minutesInMonth=43200,iit=xe.minutesInDay=1440,sit=xe.minutesInHour=60,oit=xe.monthsInQuarter=3,lit=xe.monthsInYear=12,cit=xe.quartersInYear=4,Sme=xe.secondsInHour=3600,dit=xe.secondsInMinute=60,p4=xe.secondsInDay=Sme*24,uit=xe.secondsInWeek=p4*7,Dme=xe.secondsInYear=p4*kme,Eme=xe.secondsInMonth=Dme/12,pit=xe.secondsInQuarter=Eme*3,mit=xe.constructFromSymbol=Symbol.for("constructDateFrom")});var ke=D(h4=>{"use strict";h4.constructFrom=xme;var m4=ze();function xme(n,t){return typeof n=="function"?n(t):n&&typeof n=="object"&&m4.constructFromSymbol in n?n[m4.constructFromSymbol](t):n instanceof Date?new n.constructor(t):new Date(t)}});var $=D(f4=>{"use strict";f4.toDate=Pme;var Cme=ke();function Pme(n,t){return(0,Cme.constructFrom)(t||n,n)}});var Wi=D(g4=>{"use strict";g4.addDays=Ime;var Mme=ke(),Ame=$();function Ime(n,t,e){let r=(0,Ame.toDate)(n,e==null?void 0:e.in);return isNaN(t)?(0,Mme.constructFrom)((e==null?void 0:e.in)||n,NaN):(t&&r.setDate(r.getDate()+t),r)}});var Hu=D(v4=>{"use strict";v4.addMonths=Nme;var y4=ke(),_me=$();function Nme(n,t,e){let r=(0,_me.toDate)(n,e==null?void 0:e.in);if(isNaN(t))return(0,y4.constructFrom)((e==null?void 0:e.in)||n,NaN);if(!t)return r;let a=r.getDate(),i=(0,y4.constructFrom)((e==null?void 0:e.in)||n,r.getTime());i.setMonth(r.getMonth()+t+1,0);let s=i.getDate();return a>=s?i:(r.setFullYear(i.getFullYear(),i.getMonth(),a),r)}});var gP=D(b4=>{"use strict";b4.add=Bme;var Rme=Wi(),Fme=Hu(),Ome=ke(),Lme=$();function Bme(n,t,e){let{years:r=0,months:a=0,weeks:i=0,days:s=0,hours:o=0,minutes:l=0,seconds:c=0}=t,d=(0,Lme.toDate)(n,e==null?void 0:e.in),u=a||r?(0,Fme.addMonths)(d,a+r*12):d,p=s||i?(0,Rme.addDays)(u,s+i*7):u,m=l+o*60,f=(c+m*60)*1e3;return(0,Ome.constructFrom)((e==null?void 0:e.in)||n,+p+f)}});var yP=D(T4=>{"use strict";T4.isSaturday=Hme;var jme=$();function Hme(n,t){return(0,jme.toDate)(n,t==null?void 0:t.in).getDay()===6}});var vP=D(k4=>{"use strict";k4.isSunday=Ume;var zme=$();function Ume(n,t){return(0,zme.toDate)(n,t==null?void 0:t.in).getDay()===0}});var lg=D(w4=>{"use strict";w4.isWeekend=qme;var Wme=$();function qme(n,t){let e=(0,Wme.toDate)(n,t==null?void 0:t.in).getDay();return e===0||e===6}});var TP=D(S4=>{"use strict";S4.addBusinessDays=Kme;var Vme=ke(),$me=yP(),Yme=vP(),bP=lg(),Gme=$();function Kme(n,t,e){let r=(0,Gme.toDate)(n,e==null?void 0:e.in),a=(0,bP.isWeekend)(r,e);if(isNaN(t))return(0,Vme.constructFrom)(e==null?void 0:e.in,NaN);let i=r.getHours(),s=t<0?-1:1,o=Math.trunc(t/5);r.setDate(r.getDate()+o*7);let l=Math.abs(t%5);for(;l>0;)r.setDate(r.getDate()+s),(0,bP.isWeekend)(r,e)||(l-=1);return a&&(0,bP.isWeekend)(r,e)&&t!==0&&((0,$me.isSaturday)(r,e)&&r.setDate(r.getDate()+(s<0?2:-1)),(0,Yme.isSunday)(r,e)&&r.setDate(r.getDate()+(s<0?1:-2))),r.setHours(i),r}});var cg=D(D4=>{"use strict";D4.addMilliseconds=Jme;var Qme=ke(),Zme=$();function Jme(n,t,e){return(0,Qme.constructFrom)((e==null?void 0:e.in)||n,+(0,Zme.toDate)(n)+t)}});var kP=D(E4=>{"use strict";E4.addHours=the;var Xme=cg(),ehe=ze();function the(n,t,e){return(0,Xme.addMilliseconds)(n,t*ehe.millisecondsInHour,e)}});var tn=D(wP=>{"use strict";wP.getDefaultOptions=rhe;wP.setDefaultOptions=nhe;var x4={};function rhe(){return x4}function nhe(n){x4=n}});var ci=D(C4=>{"use strict";C4.startOfWeek=she;var ahe=tn(),ihe=$();function she(n,t){var o,l,c,d,u,p,m,h;let e=(0,ahe.getDefaultOptions)(),r=(h=(m=(d=(c=t==null?void 0:t.weekStartsOn)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:e.weekStartsOn)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?h:0,a=(0,ihe.toDate)(n,t==null?void 0:t.in),i=a.getDay(),s=(i<r?7:0)+i-r;return a.setDate(a.getDate()-s),a.setHours(0,0,0,0),a}});var qi=D(P4=>{"use strict";P4.startOfISOWeek=lhe;var ohe=ci();function lhe(n,t){return(0,ohe.startOfWeek)(n,{...t,weekStartsOn:1})}});var $o=D(I4=>{"use strict";I4.getISOWeekYear=dhe;var M4=ke(),A4=qi(),che=$();function dhe(n,t){let e=(0,che.toDate)(n,t==null?void 0:t.in),r=e.getFullYear(),a=(0,M4.constructFrom)(e,0);a.setFullYear(r+1,0,4),a.setHours(0,0,0,0);let i=(0,A4.startOfISOWeek)(a),s=(0,M4.constructFrom)(e,0);s.setFullYear(r,0,4),s.setHours(0,0,0,0);let o=(0,A4.startOfISOWeek)(s);return e.getTime()>=i.getTime()?r+1:e.getTime()>=o.getTime()?r:r-1}});var Ws=D(_4=>{"use strict";_4.getTimezoneOffsetInMilliseconds=phe;var uhe=$();function phe(n){let t=(0,uhe.toDate)(n),e=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return e.setUTCFullYear(t.getFullYear()),+n-+e}});var wt=D(N4=>{"use strict";N4.normalizeDates=hhe;var mhe=ke();function hhe(n,...t){let e=mhe.constructFrom.bind(null,n||t.find(r=>typeof r=="object"));return t.map(e)}});var dg=D(R4=>{"use strict";R4.startOfDay=ghe;var fhe=$();function ghe(n,t){let e=(0,fhe.toDate)(n,t==null?void 0:t.in);return e.setHours(0,0,0,0),e}});var qs=D(L4=>{"use strict";L4.differenceInCalendarDays=bhe;var F4=Ws(),yhe=wt(),vhe=ze(),O4=dg();function bhe(n,t,e){let[r,a]=(0,yhe.normalizeDates)(e==null?void 0:e.in,n,t),i=(0,O4.startOfDay)(r),s=(0,O4.startOfDay)(a),o=+i-(0,F4.getTimezoneOffsetInMilliseconds)(i),l=+s-(0,F4.getTimezoneOffsetInMilliseconds)(s);return Math.round((o-l)/vhe.millisecondsInDay)}});var zu=D(B4=>{"use strict";B4.startOfISOWeekYear=She;var The=ke(),khe=$o(),whe=qi();function She(n,t){let e=(0,khe.getISOWeekYear)(n,t),r=(0,The.constructFrom)((t==null?void 0:t.in)||n,0);return r.setFullYear(e,0,4),r.setHours(0,0,0,0),(0,whe.startOfISOWeek)(r)}});var SP=D(H4=>{"use strict";H4.setISOWeekYear=Che;var Dhe=ke(),Ehe=qs(),j4=zu(),xhe=$();function Che(n,t,e){let r=(0,xhe.toDate)(n,e==null?void 0:e.in),a=(0,Ehe.differenceInCalendarDays)(r,(0,j4.startOfISOWeekYear)(r,e)),i=(0,Dhe.constructFrom)((e==null?void 0:e.in)||n,0);return i.setFullYear(t,0,4),i.setHours(0,0,0,0),r=(0,j4.startOfISOWeekYear)(i),r.setDate(r.getDate()+a),r}});var DP=D(z4=>{"use strict";z4.addISOWeekYears=Ahe;var Phe=$o(),Mhe=SP();function Ahe(n,t,e){return(0,Mhe.setISOWeekYear)(n,(0,Phe.getISOWeekYear)(n,e)+t,e)}});var JT=D(U4=>{"use strict";U4.addMinutes=Nhe;var Ihe=ze(),_he=$();function Nhe(n,t,e){let r=(0,_he.toDate)(n,e==null?void 0:e.in);return r.setTime(r.getTime()+t*Ihe.millisecondsInMinute),r}});var XT=D(W4=>{"use strict";W4.addQuarters=Fhe;var Rhe=Hu();function Fhe(n,t,e){return(0,Rhe.addMonths)(n,t*3,e)}});var EP=D(q4=>{"use strict";q4.addSeconds=Lhe;var Ohe=cg();function Lhe(n,t,e){return(0,Ohe.addMilliseconds)(n,t*1e3,e)}});var ug=D(V4=>{"use strict";V4.addWeeks=jhe;var Bhe=Wi();function jhe(n,t,e){return(0,Bhe.addDays)(n,t*7,e)}});var xP=D($4=>{"use strict";$4.addYears=zhe;var Hhe=Hu();function zhe(n,t,e){return(0,Hhe.addMonths)(n,t*12,e)}});var G4=D(Y4=>{"use strict";Y4.areIntervalsOverlapping=Uhe;var ek=$();function Uhe(n,t,e){let[r,a]=[+(0,ek.toDate)(n.start,e==null?void 0:e.in),+(0,ek.toDate)(n.end,e==null?void 0:e.in)].sort((o,l)=>o-l),[i,s]=[+(0,ek.toDate)(t.start,e==null?void 0:e.in),+(0,ek.toDate)(t.end,e==null?void 0:e.in)].sort((o,l)=>o-l);return e!=null&&e.inclusive?r<=s&&i<=a:r<s&&i<a}});var CP=D(Q4=>{"use strict";Q4.max=qhe;var K4=ke(),Whe=$();function qhe(n,t){let e,r=t==null?void 0:t.in;return n.forEach(a=>{!r&&typeof a=="object"&&(r=K4.constructFrom.bind(null,a));let i=(0,Whe.toDate)(a,r);(!e||e<i||isNaN(+i))&&(e=i)}),(0,K4.constructFrom)(r,e||NaN)}});var PP=D(J4=>{"use strict";J4.min=$he;var Z4=ke(),Vhe=$();function $he(n,t){let e,r=t==null?void 0:t.in;return n.forEach(a=>{!r&&typeof a=="object"&&(r=Z4.constructFrom.bind(null,a));let i=(0,Vhe.toDate)(a,r);(!e||e>i||isNaN(+i))&&(e=i)}),(0,Z4.constructFrom)(r,e||NaN)}});var e6=D(X4=>{"use strict";X4.clamp=Qhe;var Yhe=wt(),Ghe=CP(),Khe=PP();function Qhe(n,t,e){let[r,a,i]=(0,Yhe.normalizeDates)(e==null?void 0:e.in,n,t.start,t.end);return(0,Khe.min)([(0,Ghe.max)([r,a],e),i],e)}});var MP=D(r6=>{"use strict";r6.closestIndexTo=Zhe;var t6=$();function Zhe(n,t){let e=+(0,t6.toDate)(n);if(isNaN(e))return NaN;let r,a;return t.forEach((i,s)=>{let o=(0,t6.toDate)(i);if(isNaN(+o)){r=NaN,a=NaN;return}let l=Math.abs(e-+o);(r==null||l<a)&&(r=s,a=l)}),r}});var a6=D(n6=>{"use strict";n6.closestTo=tfe;var Jhe=wt(),Xhe=MP(),efe=ke();function tfe(n,t,e){let[r,...a]=(0,Jhe.normalizeDates)(e==null?void 0:e.in,n,...t),i=(0,Xhe.closestIndexTo)(r,a);if(typeof i=="number"&&isNaN(i))return(0,efe.constructFrom)(r,NaN);if(i!==void 0)return a[i]}});var Oc=D(s6=>{"use strict";s6.compareAsc=rfe;var i6=$();function rfe(n,t){let e=+(0,i6.toDate)(n)-+(0,i6.toDate)(t);return e<0?-1:e>0?1:e}});var c6=D(l6=>{"use strict";l6.compareDesc=nfe;var o6=$();function nfe(n,t){let e=+(0,o6.toDate)(n)-+(0,o6.toDate)(t);return e>0?-1:e<0?1:e}});var br=D(d6=>{"use strict";d6.constructNow=ife;var afe=ke();function ife(n){return(0,afe.constructFrom)(n,Date.now())}});var p6=D(u6=>{"use strict";u6.daysToWeeks=ofe;var sfe=ze();function ofe(n){let t=Math.trunc(n/sfe.daysInWeek);return t===0?0:t}});var Uu=D(h6=>{"use strict";h6.isSameDay=cfe;var lfe=wt(),m6=dg();function cfe(n,t,e){let[r,a]=(0,lfe.normalizeDates)(e==null?void 0:e.in,n,t);return+(0,m6.startOfDay)(r)==+(0,m6.startOfDay)(a)}});var AP=D(f6=>{"use strict";f6.isDate=dfe;function dfe(n){return n instanceof Date||typeof n=="object"&&Object.prototype.toString.call(n)==="[object Date]"}});var Vs=D(g6=>{"use strict";g6.isValid=mfe;var ufe=AP(),pfe=$();function mfe(n){return!(!(0,ufe.isDate)(n)&&typeof n!="number"||isNaN(+(0,pfe.toDate)(n)))}});var T6=D(b6=>{"use strict";b6.differenceInBusinessDays=vfe;var hfe=wt(),y6=Wi(),ffe=qs(),gfe=Uu(),v6=Vs(),yfe=lg();function vfe(n,t,e){let[r,a]=(0,hfe.normalizeDates)(e==null?void 0:e.in,n,t);if(!(0,v6.isValid)(r)||!(0,v6.isValid)(a))return NaN;let i=(0,ffe.differenceInCalendarDays)(r,a),s=i<0?-1:1,o=Math.trunc(i/7),l=o*5,c=(0,y6.addDays)(a,o*7);for(;!(0,gfe.isSameDay)(r,c);)l+=(0,yfe.isWeekend)(c,e)?0:s,c=(0,y6.addDays)(c,s);return l===0?0:l}});var IP=D(w6=>{"use strict";w6.differenceInCalendarISOWeekYears=Tfe;var bfe=wt(),k6=$o();function Tfe(n,t,e){let[r,a]=(0,bfe.normalizeDates)(e==null?void 0:e.in,n,t);return(0,k6.getISOWeekYear)(r,e)-(0,k6.getISOWeekYear)(a,e)}});var x6=D(E6=>{"use strict";E6.differenceInCalendarISOWeeks=Sfe;var S6=Ws(),kfe=wt(),wfe=ze(),D6=qi();function Sfe(n,t,e){let[r,a]=(0,kfe.normalizeDates)(e==null?void 0:e.in,n,t),i=(0,D6.startOfISOWeek)(r),s=(0,D6.startOfISOWeek)(a),o=+i-(0,S6.getTimezoneOffsetInMilliseconds)(i),l=+s-(0,S6.getTimezoneOffsetInMilliseconds)(s);return Math.round((o-l)/wfe.millisecondsInWeek)}});var tk=D(C6=>{"use strict";C6.differenceInCalendarMonths=Efe;var Dfe=wt();function Efe(n,t,e){let[r,a]=(0,Dfe.normalizeDates)(e==null?void 0:e.in,n,t),i=r.getFullYear()-a.getFullYear(),s=r.getMonth()-a.getMonth();return i*12+s}});var _P=D(P6=>{"use strict";P6.getQuarter=Cfe;var xfe=$();function Cfe(n,t){let e=(0,xfe.toDate)(n,t==null?void 0:t.in);return Math.trunc(e.getMonth()/3)+1}});var NP=D(A6=>{"use strict";A6.differenceInCalendarQuarters=Mfe;var Pfe=wt(),M6=_P();function Mfe(n,t,e){let[r,a]=(0,Pfe.normalizeDates)(e==null?void 0:e.in,n,t),i=r.getFullYear()-a.getFullYear(),s=(0,M6.getQuarter)(r)-(0,M6.getQuarter)(a);return i*4+s}});var rk=D(N6=>{"use strict";N6.differenceInCalendarWeeks=_fe;var I6=Ws(),Afe=wt(),Ife=ze(),_6=ci();function _fe(n,t,e){let[r,a]=(0,Afe.normalizeDates)(e==null?void 0:e.in,n,t),i=(0,_6.startOfWeek)(r,e),s=(0,_6.startOfWeek)(a,e),o=+i-(0,I6.getTimezoneOffsetInMilliseconds)(i),l=+s-(0,I6.getTimezoneOffsetInMilliseconds)(s);return Math.round((o-l)/Ife.millisecondsInWeek)}});var nk=D(R6=>{"use strict";R6.differenceInCalendarYears=Rfe;var Nfe=wt();function Rfe(n,t,e){let[r,a]=(0,Nfe.normalizeDates)(e==null?void 0:e.in,n,t);return r.getFullYear()-a.getFullYear()}});var ak=D(O6=>{"use strict";O6.differenceInDays=Lfe;var Ffe=wt(),Ofe=qs();function Lfe(n,t,e){let[r,a]=(0,Ffe.normalizeDates)(e==null?void 0:e.in,n,t),i=F6(r,a),s=Math.abs((0,Ofe.differenceInCalendarDays)(r,a));r.setDate(r.getDate()-i*s);let o=+(F6(r,a)===-i),l=i*(s-o);return l===0?0:l}function F6(n,t){let e=n.getFullYear()-t.getFullYear()||n.getMonth()-t.getMonth()||n.getDate()-t.getDate()||n.getHours()-t.getHours()||n.getMinutes()-t.getMinutes()||n.getSeconds()-t.getSeconds()||n.getMilliseconds()-t.getMilliseconds();return e<0?-1:e>0?1:e}});var $s=D(L6=>{"use strict";L6.getRoundingMethod=Bfe;function Bfe(n){return t=>{let r=(n?Math[n]:Math.trunc)(t);return r===0?0:r}}});var ik=D(B6=>{"use strict";B6.differenceInHours=Ufe;var jfe=$s(),Hfe=wt(),zfe=ze();function Ufe(n,t,e){let[r,a]=(0,Hfe.normalizeDates)(e==null?void 0:e.in,n,t),i=(+r-+a)/zfe.millisecondsInHour;return(0,jfe.getRoundingMethod)(e==null?void 0:e.roundingMethod)(i)}});var RP=D(j6=>{"use strict";j6.subISOWeekYears=qfe;var Wfe=DP();function qfe(n,t,e){return(0,Wfe.addISOWeekYears)(n,-t,e)}});var U6=D(z6=>{"use strict";z6.differenceInISOWeekYears=Gfe;var Vfe=wt(),H6=Oc(),$fe=IP(),Yfe=RP();function Gfe(n,t,e){let[r,a]=(0,Vfe.normalizeDates)(e==null?void 0:e.in,n,t),i=(0,H6.compareAsc)(r,a),s=Math.abs((0,$fe.differenceInCalendarISOWeekYears)(r,a,e)),o=(0,Yfe.subISOWeekYears)(r,i*s,e),l=+((0,H6.compareAsc)(o,a)===-i),c=i*(s-l);return c===0?0:c}});var sk=D(q6=>{"use strict";q6.differenceInMilliseconds=Kfe;var W6=$();function Kfe(n,t){return+(0,W6.toDate)(n)-+(0,W6.toDate)(t)}});var ok=D(V6=>{"use strict";V6.differenceInMinutes=Xfe;var Qfe=$s(),Zfe=ze(),Jfe=sk();function Xfe(n,t,e){let r=(0,Jfe.differenceInMilliseconds)(n,t)/Zfe.millisecondsInMinute;return(0,Qfe.getRoundingMethod)(e==null?void 0:e.roundingMethod)(r)}});var lk=D($6=>{"use strict";$6.endOfDay=tge;var ege=$();function tge(n,t){let e=(0,ege.toDate)(n,t==null?void 0:t.in);return e.setHours(23,59,59,999),e}});var ck=D(Y6=>{"use strict";Y6.endOfMonth=nge;var rge=$();function nge(n,t){let e=(0,rge.toDate)(n,t==null?void 0:t.in),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}});var FP=D(G6=>{"use strict";G6.isLastDayOfMonth=oge;var age=lk(),ige=ck(),sge=$();function oge(n,t){let e=(0,sge.toDate)(n,t==null?void 0:t.in);return+(0,age.endOfDay)(e,t)==+(0,ige.endOfMonth)(e,t)}});var pg=D(K6=>{"use strict";K6.differenceInMonths=uge;var lge=wt(),OP=Oc(),cge=tk(),dge=FP();function uge(n,t,e){let[r,a,i]=(0,lge.normalizeDates)(e==null?void 0:e.in,n,n,t),s=(0,OP.compareAsc)(a,i),o=Math.abs((0,cge.differenceInCalendarMonths)(a,i));if(o<1)return 0;a.getMonth()===1&&a.getDate()>27&&a.setDate(30),a.setMonth(a.getMonth()-s*o);let l=(0,OP.compareAsc)(a,i)===-s;(0,dge.isLastDayOfMonth)(r)&&o===1&&(0,OP.compareAsc)(r,i)===1&&(l=!1);let c=s*(o-+l);return c===0?0:c}});var Z6=D(Q6=>{"use strict";Q6.differenceInQuarters=hge;var pge=$s(),mge=pg();function hge(n,t,e){let r=(0,mge.differenceInMonths)(n,t,e)/3;return(0,pge.getRoundingMethod)(e==null?void 0:e.roundingMethod)(r)}});var mg=D(J6=>{"use strict";J6.differenceInSeconds=yge;var fge=$s(),gge=sk();function yge(n,t,e){let r=(0,gge.differenceInMilliseconds)(n,t)/1e3;return(0,fge.getRoundingMethod)(e==null?void 0:e.roundingMethod)(r)}});var e5=D(X6=>{"use strict";X6.differenceInWeeks=Tge;var vge=$s(),bge=ak();function Tge(n,t,e){let r=(0,bge.differenceInDays)(n,t,e)/7;return(0,vge.getRoundingMethod)(e==null?void 0:e.roundingMethod)(r)}});var LP=D(r5=>{"use strict";r5.differenceInYears=Sge;var kge=wt(),t5=Oc(),wge=nk();function Sge(n,t,e){let[r,a]=(0,kge.normalizeDates)(e==null?void 0:e.in,n,t),i=(0,t5.compareAsc)(r,a),s=Math.abs((0,wge.differenceInCalendarYears)(r,a));r.setFullYear(1584),a.setFullYear(1584);let o=(0,t5.compareAsc)(r,a)===-i,l=i*(s-+o);return l===0?0:l}});var Vi=D(n5=>{"use strict";n5.normalizeInterval=Ege;var Dge=wt();function Ege(n,t){let[e,r]=(0,Dge.normalizeDates)(n,t.start,t.end);return{start:e,end:r}}});var BP=D(a5=>{"use strict";a5.eachDayOfInterval=Pge;var xge=Vi(),Cge=ke();function Pge(n,t){var c;let{start:e,end:r}=(0,xge.normalizeInterval)(t==null?void 0:t.in,n),a=+e>+r,i=a?+e:+r,s=a?r:e;s.setHours(0,0,0,0);let o=(c=t==null?void 0:t.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,Cge.constructFrom)(e,s)),s.setDate(s.getDate()+o),s.setHours(0,0,0,0);return a?l.reverse():l}});var s5=D(i5=>{"use strict";i5.eachHourOfInterval=Ige;var Mge=Vi(),Age=ke();function Ige(n,t){var c;let{start:e,end:r}=(0,Mge.normalizeInterval)(t==null?void 0:t.in,n),a=+e>+r,i=a?+e:+r,s=a?r:e;s.setMinutes(0,0,0);let o=(c=t==null?void 0:t.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,Age.constructFrom)(e,s)),s.setHours(s.getHours()+o);return a?l.reverse():l}});var l5=D(o5=>{"use strict";o5.eachMinuteOfInterval=Fge;var _ge=Vi(),Nge=JT(),Rge=ke();function Fge(n,t){var c;let{start:e,end:r}=(0,_ge.normalizeInterval)(t==null?void 0:t.in,n);e.setSeconds(0,0);let a=+e>+r,i=a?+e:+r,s=a?r:e,o=(c=t==null?void 0:t.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,Rge.constructFrom)(e,s)),s=(0,Nge.addMinutes)(s,o);return a?l.reverse():l}});var d5=D(c5=>{"use strict";c5.eachMonthOfInterval=Bge;var Oge=Vi(),Lge=ke();function Bge(n,t){var c;let{start:e,end:r}=(0,Oge.normalizeInterval)(t==null?void 0:t.in,n),a=+e>+r,i=a?+e:+r,s=a?r:e;s.setHours(0,0,0,0),s.setDate(1);let o=(c=t==null?void 0:t.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,Lge.constructFrom)(e,s)),s.setMonth(s.getMonth()+o);return a?l.reverse():l}});var dk=D(u5=>{"use strict";u5.startOfQuarter=Hge;var jge=$();function Hge(n,t){let e=(0,jge.toDate)(n,t==null?void 0:t.in),r=e.getMonth(),a=r-r%3;return e.setMonth(a,1),e.setHours(0,0,0,0),e}});var m5=D(p5=>{"use strict";p5.eachQuarterOfInterval=qge;var zge=Vi(),Uge=XT(),Wge=ke(),uk=dk();function qge(n,t){var c;let{start:e,end:r}=(0,zge.normalizeInterval)(t==null?void 0:t.in,n),a=+e>+r,i=a?+(0,uk.startOfQuarter)(e):+(0,uk.startOfQuarter)(r),s=a?(0,uk.startOfQuarter)(r):(0,uk.startOfQuarter)(e),o=(c=t==null?void 0:t.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,Wge.constructFrom)(e,s)),s=(0,Uge.addQuarters)(s,o);return a?l.reverse():l}});var f5=D(h5=>{"use strict";h5.eachWeekOfInterval=Gge;var Vge=Vi(),$ge=ug(),Yge=ke(),pk=ci();function Gge(n,t){var u;let{start:e,end:r}=(0,Vge.normalizeInterval)(t==null?void 0:t.in,n),a=+e>+r,i=a?(0,pk.startOfWeek)(r,t):(0,pk.startOfWeek)(e,t),s=a?(0,pk.startOfWeek)(e,t):(0,pk.startOfWeek)(r,t);i.setHours(15),s.setHours(15);let o=+s.getTime(),l=i,c=(u=t==null?void 0:t.step)!=null?u:1;if(!c)return[];c<0&&(c=-c,a=!a);let d=[];for(;+l<=o;)l.setHours(0),d.push((0,Yge.constructFrom)(e,l)),l=(0,$ge.addWeeks)(l,c),l.setHours(15);return a?d.reverse():d}});var mk=D(g5=>{"use strict";g5.eachWeekendOfInterval=Xge;var Kge=Vi(),Qge=ke(),Zge=BP(),Jge=lg();function Xge(n,t){let{start:e,end:r}=(0,Kge.normalizeInterval)(t==null?void 0:t.in,n),a=(0,Zge.eachDayOfInterval)({start:e,end:r},t),i=[],s=0;for(;s<a.length;){let o=a[s++];(0,Jge.isWeekend)(o)&&i.push((0,Qge.constructFrom)(e,o))}return i}});var hg=D(y5=>{"use strict";y5.startOfMonth=tye;var eye=$();function tye(n,t){let e=(0,eye.toDate)(n,t==null?void 0:t.in);return e.setDate(1),e.setHours(0,0,0,0),e}});var b5=D(v5=>{"use strict";v5.eachWeekendOfMonth=iye;var rye=mk(),nye=ck(),aye=hg();function iye(n,t){let e=(0,aye.startOfMonth)(n,t),r=(0,nye.endOfMonth)(n,t);return(0,rye.eachWeekendOfInterval)({start:e,end:r},t)}});var jP=D(T5=>{"use strict";T5.endOfYear=oye;var sye=$();function oye(n,t){let e=(0,sye.toDate)(n,t==null?void 0:t.in),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(23,59,59,999),e}});var hk=D(k5=>{"use strict";k5.startOfYear=cye;var lye=$();function cye(n,t){let e=(0,lye.toDate)(n,t==null?void 0:t.in);return e.setFullYear(e.getFullYear(),0,1),e.setHours(0,0,0,0),e}});var S5=D(w5=>{"use strict";w5.eachWeekendOfYear=mye;var dye=mk(),uye=jP(),pye=hk();function mye(n,t){let e=(0,pye.startOfYear)(n,t),r=(0,uye.endOfYear)(n,t);return(0,dye.eachWeekendOfInterval)({start:e,end:r},t)}});var E5=D(D5=>{"use strict";D5.eachYearOfInterval=gye;var hye=Vi(),fye=ke();function gye(n,t){var c;let{start:e,end:r}=(0,hye.normalizeInterval)(t==null?void 0:t.in,n),a=+e>+r,i=a?+e:+r,s=a?r:e;s.setHours(0,0,0,0),s.setMonth(0,1);let o=(c=t==null?void 0:t.step)!=null?c:1;if(!o)return[];o<0&&(o=-o,a=!a);let l=[];for(;+s<=i;)l.push((0,fye.constructFrom)(e,s)),s.setFullYear(s.getFullYear()+o);return a?l.reverse():l}});var C5=D(x5=>{"use strict";x5.endOfDecade=vye;var yye=$();function vye(n,t){let e=(0,yye.toDate)(n,t==null?void 0:t.in),r=e.getFullYear(),a=9+Math.floor(r/10)*10;return e.setFullYear(a,11,31),e.setHours(23,59,59,999),e}});var M5=D(P5=>{"use strict";P5.endOfHour=Tye;var bye=$();function Tye(n,t){let e=(0,bye.toDate)(n,t==null?void 0:t.in);return e.setMinutes(59,59,999),e}});var HP=D(A5=>{"use strict";A5.endOfWeek=Sye;var kye=tn(),wye=$();function Sye(n,t){var o,l,c,d,u,p,m,h;let e=(0,kye.getDefaultOptions)(),r=(h=(m=(d=(c=t==null?void 0:t.weekStartsOn)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:e.weekStartsOn)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?h:0,a=(0,wye.toDate)(n,t==null?void 0:t.in),i=a.getDay(),s=(i<r?-7:0)+6-(i-r);return a.setDate(a.getDate()+s),a.setHours(23,59,59,999),a}});var _5=D(I5=>{"use strict";I5.endOfISOWeek=Eye;var Dye=HP();function Eye(n,t){return(0,Dye.endOfWeek)(n,{...t,weekStartsOn:1})}});var R5=D(N5=>{"use strict";N5.endOfISOWeekYear=Mye;var xye=ke(),Cye=$o(),Pye=qi();function Mye(n,t){let e=(0,Cye.getISOWeekYear)(n,t),r=(0,xye.constructFrom)((t==null?void 0:t.in)||n,0);r.setFullYear(e+1,0,4),r.setHours(0,0,0,0);let a=(0,Pye.startOfISOWeek)(r,t);return a.setMilliseconds(a.getMilliseconds()-1),a}});var O5=D(F5=>{"use strict";F5.endOfMinute=Iye;var Aye=$();function Iye(n,t){let e=(0,Aye.toDate)(n,t==null?void 0:t.in);return e.setSeconds(59,999),e}});var B5=D(L5=>{"use strict";L5.endOfQuarter=Nye;var _ye=$();function Nye(n,t){let e=(0,_ye.toDate)(n,t==null?void 0:t.in),r=e.getMonth(),a=r-r%3+3;return e.setMonth(a,0),e.setHours(23,59,59,999),e}});var H5=D(j5=>{"use strict";j5.endOfSecond=Fye;var Rye=$();function Fye(n,t){let e=(0,Rye.toDate)(n,t==null?void 0:t.in);return e.setMilliseconds(999),e}});var U5=D(z5=>{"use strict";z5.endOfToday=Lye;var Oye=lk();function Lye(n){return(0,Oye.endOfDay)(Date.now(),n)}});var V5=D(q5=>{"use strict";q5.endOfTomorrow=Bye;var W5=br();function Bye(n){let t=(0,W5.constructNow)(n==null?void 0:n.in),e=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=(0,W5.constructNow)(n==null?void 0:n.in);return i.setFullYear(e,r,a+1),i.setHours(23,59,59,999),n!=null&&n.in?n.in(i):i}});var Y5=D($5=>{"use strict";$5.endOfYesterday=zye;var jye=ke(),Hye=br();function zye(n){let t=(0,Hye.constructNow)(n==null?void 0:n.in),e=(0,jye.constructFrom)(n==null?void 0:n.in,0);return e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()-1),e.setHours(23,59,59,999),e}});var G5=D(zP=>{"use strict";zP.formatDistance=void 0;var Uye={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Wye=(n,t,e)=>{let r,a=Uye[n];return typeof a=="string"?r=a:t===1?r=a.one:r=a.other.replace("{{count}}",t.toString()),e!=null&&e.addSuffix?e.comparison&&e.comparison>0?"in "+r:r+" ago":r};zP.formatDistance=Wye});var Q5=D(K5=>{"use strict";K5.buildFormatLongFn=qye;function qye(n){return(t={})=>{let e=t.width?String(t.width):n.defaultWidth;return n.formats[e]||n.formats[n.defaultWidth]}}});var Z5=D(WP=>{"use strict";WP.formatLong=void 0;var UP=Q5(),Vye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$ye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Yye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Jst=WP.formatLong={date:(0,UP.buildFormatLongFn)({formats:Vye,defaultWidth:"full"}),time:(0,UP.buildFormatLongFn)({formats:$ye,defaultWidth:"full"}),dateTime:(0,UP.buildFormatLongFn)({formats:Yye,defaultWidth:"full"})}});var J5=D(qP=>{"use strict";qP.formatRelative=void 0;var Gye={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Kye=(n,t,e,r)=>Gye[n];qP.formatRelative=Kye});var eK=D(X5=>{"use strict";X5.buildLocalizeFn=Qye;function Qye(n){return(t,e)=>{let r=e!=null&&e.context?String(e.context):"standalone",a;if(r==="formatting"&&n.formattingValues){let s=n.defaultFormattingWidth||n.defaultWidth,o=e!=null&&e.width?String(e.width):s;a=n.formattingValues[o]||n.formattingValues[s]}else{let s=n.defaultWidth,o=e!=null&&e.width?String(e.width):n.defaultWidth;a=n.values[o]||n.values[s]}let i=n.argumentCallback?n.argumentCallback(t):t;return a[i]}}});var tK=D(VP=>{"use strict";VP.localize=void 0;var fg=eK(),Zye={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Jye={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Xye={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},eve={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},tve={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},rve={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},nve=(n,t)=>{let e=Number(n),r=e%100;if(r>20||r<10)switch(r%10){case 1:return e+"st";case 2:return e+"nd";case 3:return e+"rd"}return e+"th"},rot=VP.localize={ordinalNumber:nve,era:(0,fg.buildLocalizeFn)({values:Zye,defaultWidth:"wide"}),quarter:(0,fg.buildLocalizeFn)({values:Jye,defaultWidth:"wide",argumentCallback:n=>n-1}),month:(0,fg.buildLocalizeFn)({values:Xye,defaultWidth:"wide"}),day:(0,fg.buildLocalizeFn)({values:eve,defaultWidth:"wide"}),dayPeriod:(0,fg.buildLocalizeFn)({values:tve,defaultWidth:"wide",formattingValues:rve,defaultFormattingWidth:"wide"})}});var nK=D(rK=>{"use strict";rK.buildMatchFn=ave;function ave(n){return(t,e={})=>{let r=e.width,a=r&&n.matchPatterns[r]||n.matchPatterns[n.defaultMatchWidth],i=t.match(a);if(!i)return null;let s=i[0],o=r&&n.parsePatterns[r]||n.parsePatterns[n.defaultParseWidth],l=Array.isArray(o)?sve(o,u=>u.test(s)):ive(o,u=>u.test(s)),c;c=n.valueCallback?n.valueCallback(l):l,c=e.valueCallback?e.valueCallback(c):c;let d=t.slice(s.length);return{value:c,rest:d}}}function ive(n,t){for(let e in n)if(Object.prototype.hasOwnProperty.call(n,e)&&t(n[e]))return e}function sve(n,t){for(let e=0;e<n.length;e++)if(t(n[e]))return e}});var iK=D(aK=>{"use strict";aK.buildMatchPatternFn=ove;function ove(n){return(t,e={})=>{let r=t.match(n.matchPattern);if(!r)return null;let a=r[0],i=t.match(n.parsePattern);if(!i)return null;let s=n.valueCallback?n.valueCallback(i[0]):i[0];s=e.valueCallback?e.valueCallback(s):s;let o=t.slice(a.length);return{value:s,rest:o}}}});var sK=D($P=>{"use strict";$P.match=void 0;var gg=nK(),lve=iK(),cve=/^(\d+)(th|st|nd|rd)?/i,dve=/\d+/i,uve={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},pve={any:[/^b/i,/^(a|c)/i]},mve={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},hve={any:[/1/i,/2/i,/3/i,/4/i]},fve={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},gve={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},yve={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},vve={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},bve={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Tve={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},sot=$P.match={ordinalNumber:(0,lve.buildMatchPatternFn)({matchPattern:cve,parsePattern:dve,valueCallback:n=>parseInt(n,10)}),era:(0,gg.buildMatchFn)({matchPatterns:uve,defaultMatchWidth:"wide",parsePatterns:pve,defaultParseWidth:"any"}),quarter:(0,gg.buildMatchFn)({matchPatterns:mve,defaultMatchWidth:"wide",parsePatterns:hve,defaultParseWidth:"any",valueCallback:n=>n+1}),month:(0,gg.buildMatchFn)({matchPatterns:fve,defaultMatchWidth:"wide",parsePatterns:gve,defaultParseWidth:"any"}),day:(0,gg.buildMatchFn)({matchPatterns:yve,defaultMatchWidth:"wide",parsePatterns:vve,defaultParseWidth:"any"}),dayPeriod:(0,gg.buildMatchFn)({matchPatterns:bve,defaultMatchWidth:"any",parsePatterns:Tve,defaultParseWidth:"any"})}});var oK=D(YP=>{"use strict";YP.enUS=void 0;var kve=G5(),wve=Z5(),Sve=J5(),Dve=tK(),Eve=sK(),lot=YP.enUS={code:"en-US",formatDistance:kve.formatDistance,formatLong:wve.formatLong,formatRelative:Sve.formatRelative,localize:Dve.localize,match:Eve.match,options:{weekStartsOn:0,firstWeekContainsDate:1}}});var Lc=D(lK=>{"use strict";Object.defineProperty(lK,"defaultLocale",{enumerable:!0,get:function(){return xve.enUS}});var xve=oK()});var GP=D(cK=>{"use strict";cK.getDayOfYear=Ave;var Cve=qs(),Pve=hk(),Mve=$();function Ave(n,t){let e=(0,Mve.toDate)(n,t==null?void 0:t.in);return(0,Cve.differenceInCalendarDays)(e,(0,Pve.startOfYear)(e))+1}});var fk=D(dK=>{"use strict";dK.getISOWeek=Fve;var Ive=ze(),_ve=qi(),Nve=zu(),Rve=$();function Fve(n,t){let e=(0,Rve.toDate)(n,t==null?void 0:t.in),r=+(0,_ve.startOfISOWeek)(e)-+(0,Nve.startOfISOWeekYear)(e);return Math.round(r/Ive.millisecondsInWeek)+1}});var yg=D(mK=>{"use strict";mK.getWeekYear=Bve;var Ove=tn(),uK=ke(),pK=ci(),Lve=$();function Bve(n,t){var d,u,p,m,h,f,g,v;let e=(0,Lve.toDate)(n,t==null?void 0:t.in),r=e.getFullYear(),a=(0,Ove.getDefaultOptions)(),i=(v=(g=(m=(p=t==null?void 0:t.firstWeekContainsDate)!=null?p:(u=(d=t==null?void 0:t.locale)==null?void 0:d.options)==null?void 0:u.firstWeekContainsDate)!=null?m:a.firstWeekContainsDate)!=null?g:(f=(h=a.locale)==null?void 0:h.options)==null?void 0:f.firstWeekContainsDate)!=null?v:1,s=(0,uK.constructFrom)((t==null?void 0:t.in)||n,0);s.setFullYear(r+1,0,i),s.setHours(0,0,0,0);let o=(0,pK.startOfWeek)(s,t),l=(0,uK.constructFrom)((t==null?void 0:t.in)||n,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);let c=(0,pK.startOfWeek)(l,t);return+e>=+o?r+1:+e>=+c?r:r-1}});var gk=D(hK=>{"use strict";hK.startOfWeekYear=Wve;var jve=tn(),Hve=ke(),zve=yg(),Uve=ci();function Wve(n,t){var o,l,c,d,u,p,m,h;let e=(0,jve.getDefaultOptions)(),r=(h=(m=(d=(c=t==null?void 0:t.firstWeekContainsDate)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)!=null?d:e.firstWeekContainsDate)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)!=null?h:1,a=(0,zve.getWeekYear)(n,t),i=(0,Hve.constructFrom)((t==null?void 0:t.in)||n,0);return i.setFullYear(a,0,r),i.setHours(0,0,0,0),(0,Uve.startOfWeek)(i,t)}});var yk=D(fK=>{"use strict";fK.getWeek=Gve;var qve=ze(),Vve=ci(),$ve=gk(),Yve=$();function Gve(n,t){let e=(0,Yve.toDate)(n,t==null?void 0:t.in),r=+(0,Vve.startOfWeek)(e,t)-+(0,$ve.startOfWeekYear)(e,t);return Math.round(r/qve.millisecondsInWeek)+1}});var Bc=D(gK=>{"use strict";gK.addLeadingZeros=Kve;function Kve(n,t){let e=n<0?"-":"",r=Math.abs(n).toString().padStart(t,"0");return e+r}});var QP=D(KP=>{"use strict";KP.lightFormatters=void 0;var Yo=Bc(),yot=KP.lightFormatters={y(n,t){let e=n.getFullYear(),r=e>0?e:1-e;return(0,Yo.addLeadingZeros)(t==="yy"?r%100:r,t.length)},M(n,t){let e=n.getMonth();return t==="M"?String(e+1):(0,Yo.addLeadingZeros)(e+1,2)},d(n,t){return(0,Yo.addLeadingZeros)(n.getDate(),t.length)},a(n,t){let e=n.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.toUpperCase();case"aaa":return e;case"aaaaa":return e[0];case"aaaa":default:return e==="am"?"a.m.":"p.m."}},h(n,t){return(0,Yo.addLeadingZeros)(n.getHours()%12||12,t.length)},H(n,t){return(0,Yo.addLeadingZeros)(n.getHours(),t.length)},m(n,t){return(0,Yo.addLeadingZeros)(n.getMinutes(),t.length)},s(n,t){return(0,Yo.addLeadingZeros)(n.getSeconds(),t.length)},S(n,t){let e=t.length,r=n.getMilliseconds(),a=Math.trunc(r*Math.pow(10,e-3));return(0,Yo.addLeadingZeros)(a,t.length)}}});var bK=D(ZP=>{"use strict";ZP.formatters=void 0;var Qve=GP(),Zve=fk(),Jve=$o(),Xve=yk(),ebe=yg(),Xt=Bc(),Go=QP(),Wu={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},bot=ZP.formatters={G:function(n,t,e){let r=n.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return e.era(r,{width:"abbreviated"});case"GGGGG":return e.era(r,{width:"narrow"});case"GGGG":default:return e.era(r,{width:"wide"})}},y:function(n,t,e){if(t==="yo"){let r=n.getFullYear(),a=r>0?r:1-r;return e.ordinalNumber(a,{unit:"year"})}return Go.lightFormatters.y(n,t)},Y:function(n,t,e,r){let a=(0,ebe.getWeekYear)(n,r),i=a>0?a:1-a;if(t==="YY"){let s=i%100;return(0,Xt.addLeadingZeros)(s,2)}return t==="Yo"?e.ordinalNumber(i,{unit:"year"}):(0,Xt.addLeadingZeros)(i,t.length)},R:function(n,t){let e=(0,Jve.getISOWeekYear)(n);return(0,Xt.addLeadingZeros)(e,t.length)},u:function(n,t){let e=n.getFullYear();return(0,Xt.addLeadingZeros)(e,t.length)},Q:function(n,t,e){let r=Math.ceil((n.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,Xt.addLeadingZeros)(r,2);case"Qo":return e.ordinalNumber(r,{unit:"quarter"});case"QQQ":return e.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return e.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return e.quarter(r,{width:"wide",context:"formatting"})}},q:function(n,t,e){let r=Math.ceil((n.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,Xt.addLeadingZeros)(r,2);case"qo":return e.ordinalNumber(r,{unit:"quarter"});case"qqq":return e.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return e.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return e.quarter(r,{width:"wide",context:"standalone"})}},M:function(n,t,e){let r=n.getMonth();switch(t){case"M":case"MM":return Go.lightFormatters.M(n,t);case"Mo":return e.ordinalNumber(r+1,{unit:"month"});case"MMM":return e.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return e.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return e.month(r,{width:"wide",context:"formatting"})}},L:function(n,t,e){let r=n.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,Xt.addLeadingZeros)(r+1,2);case"Lo":return e.ordinalNumber(r+1,{unit:"month"});case"LLL":return e.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return e.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return e.month(r,{width:"wide",context:"standalone"})}},w:function(n,t,e,r){let a=(0,Xve.getWeek)(n,r);return t==="wo"?e.ordinalNumber(a,{unit:"week"}):(0,Xt.addLeadingZeros)(a,t.length)},I:function(n,t,e){let r=(0,Zve.getISOWeek)(n);return t==="Io"?e.ordinalNumber(r,{unit:"week"}):(0,Xt.addLeadingZeros)(r,t.length)},d:function(n,t,e){return t==="do"?e.ordinalNumber(n.getDate(),{unit:"date"}):Go.lightFormatters.d(n,t)},D:function(n,t,e){let r=(0,Qve.getDayOfYear)(n);return t==="Do"?e.ordinalNumber(r,{unit:"dayOfYear"}):(0,Xt.addLeadingZeros)(r,t.length)},E:function(n,t,e){let r=n.getDay();switch(t){case"E":case"EE":case"EEE":return e.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return e.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return e.day(r,{width:"short",context:"formatting"});case"EEEE":default:return e.day(r,{width:"wide",context:"formatting"})}},e:function(n,t,e,r){let a=n.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return(0,Xt.addLeadingZeros)(i,2);case"eo":return e.ordinalNumber(i,{unit:"day"});case"eee":return e.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return e.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return e.day(a,{width:"short",context:"formatting"});case"eeee":default:return e.day(a,{width:"wide",context:"formatting"})}},c:function(n,t,e,r){let a=n.getDay(),i=(a-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return(0,Xt.addLeadingZeros)(i,t.length);case"co":return e.ordinalNumber(i,{unit:"day"});case"ccc":return e.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return e.day(a,{width:"narrow",context:"standalone"});case"cccccc":return e.day(a,{width:"short",context:"standalone"});case"cccc":default:return e.day(a,{width:"wide",context:"standalone"})}},i:function(n,t,e){let r=n.getDay(),a=r===0?7:r;switch(t){case"i":return String(a);case"ii":return(0,Xt.addLeadingZeros)(a,t.length);case"io":return e.ordinalNumber(a,{unit:"day"});case"iii":return e.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return e.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return e.day(r,{width:"short",context:"formatting"});case"iiii":default:return e.day(r,{width:"wide",context:"formatting"})}},a:function(n,t,e){let a=n.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(n,t,e){let r=n.getHours(),a;switch(r===12?a=Wu.noon:r===0?a=Wu.midnight:a=r/12>=1?"pm":"am",t){case"b":case"bb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(n,t,e){let r=n.getHours(),a;switch(r>=17?a=Wu.evening:r>=12?a=Wu.afternoon:r>=4?a=Wu.morning:a=Wu.night,t){case"B":case"BB":case"BBB":return e.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return e.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return e.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(n,t,e){if(t==="ho"){let r=n.getHours()%12;return r===0&&(r=12),e.ordinalNumber(r,{unit:"hour"})}return Go.lightFormatters.h(n,t)},H:function(n,t,e){return t==="Ho"?e.ordinalNumber(n.getHours(),{unit:"hour"}):Go.lightFormatters.H(n,t)},K:function(n,t,e){let r=n.getHours()%12;return t==="Ko"?e.ordinalNumber(r,{unit:"hour"}):(0,Xt.addLeadingZeros)(r,t.length)},k:function(n,t,e){let r=n.getHours();return r===0&&(r=24),t==="ko"?e.ordinalNumber(r,{unit:"hour"}):(0,Xt.addLeadingZeros)(r,t.length)},m:function(n,t,e){return t==="mo"?e.ordinalNumber(n.getMinutes(),{unit:"minute"}):Go.lightFormatters.m(n,t)},s:function(n,t,e){return t==="so"?e.ordinalNumber(n.getSeconds(),{unit:"second"}):Go.lightFormatters.s(n,t)},S:function(n,t){return Go.lightFormatters.S(n,t)},X:function(n,t,e){let r=n.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return vK(r);case"XXXX":case"XX":return jc(r);case"XXXXX":case"XXX":default:return jc(r,":")}},x:function(n,t,e){let r=n.getTimezoneOffset();switch(t){case"x":return vK(r);case"xxxx":case"xx":return jc(r);case"xxxxx":case"xxx":default:return jc(r,":")}},O:function(n,t,e){let r=n.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+yK(r,":");case"OOOO":default:return"GMT"+jc(r,":")}},z:function(n,t,e){let r=n.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+yK(r,":");case"zzzz":default:return"GMT"+jc(r,":")}},t:function(n,t,e){let r=Math.trunc(+n/1e3);return(0,Xt.addLeadingZeros)(r,t.length)},T:function(n,t,e){return(0,Xt.addLeadingZeros)(+n,t.length)}};function yK(n,t=""){let e=n>0?"-":"+",r=Math.abs(n),a=Math.trunc(r/60),i=r%60;return i===0?e+String(a):e+String(a)+t+(0,Xt.addLeadingZeros)(i,2)}function vK(n,t){return n%60===0?(n>0?"-":"+")+(0,Xt.addLeadingZeros)(Math.abs(n)/60,2):jc(n,t)}function jc(n,t=""){let e=n>0?"-":"+",r=Math.abs(n),a=(0,Xt.addLeadingZeros)(Math.trunc(r/60),2),i=(0,Xt.addLeadingZeros)(r%60,2);return e+a+t+i}});var XP=D(JP=>{"use strict";JP.longFormatters=void 0;var TK=(n,t)=>{switch(n){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},kK=(n,t)=>{switch(n){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},tbe=(n,t)=>{let e=n.match(/(P+)(p+)?/)||[],r=e[1],a=e[2];if(!a)return TK(n,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",TK(r,t)).replace("{{time}}",kK(a,t))},kot=JP.longFormatters={p:kK,P:tbe}});var e0=D(vk=>{"use strict";vk.isProtectedDayOfYearToken=ibe;vk.isProtectedWeekYearToken=sbe;vk.warnOrThrowProtectedError=obe;var rbe=/^D+$/,nbe=/^Y+$/,abe=["D","DD","YY","YYYY"];function ibe(n){return rbe.test(n)}function sbe(n){return nbe.test(n)}function obe(n,t,e){let r=lbe(n,t,e);if(console.warn(r),abe.includes(n))throw new RangeError(r)}function lbe(n,t,e){let r=n[0]==="Y"?"years":"days of the month";return`Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${r} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}});var n0=D(vg=>{"use strict";vg.format=vg.formatDate=vbe;Object.defineProperty(vg,"formatters",{enumerable:!0,get:function(){return r0.formatters}});Object.defineProperty(vg,"longFormatters",{enumerable:!0,get:function(){return wK.longFormatters}});var cbe=Lc(),dbe=tn(),r0=bK(),wK=XP(),t0=e0(),ube=Vs(),pbe=$(),mbe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,hbe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,fbe=/^'([^]*?)'?$/,gbe=/''/g,ybe=/[a-zA-Z]/;function vbe(n,t,e){var d,u,p,m,h,f,g,v,T,k,w,S,x,I,A,B,z,U;let r=(0,dbe.getDefaultOptions)(),a=(u=(d=e==null?void 0:e.locale)!=null?d:r.locale)!=null?u:cbe.defaultLocale,i=(k=(T=(f=(h=e==null?void 0:e.firstWeekContainsDate)!=null?h:(m=(p=e==null?void 0:e.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)!=null?f:r.firstWeekContainsDate)!=null?T:(v=(g=r.locale)==null?void 0:g.options)==null?void 0:v.firstWeekContainsDate)!=null?k:1,s=(U=(z=(I=(x=e==null?void 0:e.weekStartsOn)!=null?x:(S=(w=e==null?void 0:e.locale)==null?void 0:w.options)==null?void 0:S.weekStartsOn)!=null?I:r.weekStartsOn)!=null?z:(B=(A=r.locale)==null?void 0:A.options)==null?void 0:B.weekStartsOn)!=null?U:0,o=(0,pbe.toDate)(n,e==null?void 0:e.in);if(!(0,ube.isValid)(o))throw new RangeError("Invalid time value");let l=t.match(hbe).map(N=>{let P=N[0];if(P==="p"||P==="P"){let _=wK.longFormatters[P];return _(N,a.formatLong)}return N}).join("").match(mbe).map(N=>{if(N==="''")return{isToken:!1,value:"'"};let P=N[0];if(P==="'")return{isToken:!1,value:bbe(N)};if(r0.formatters[P])return{isToken:!0,value:N};if(P.match(ybe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+P+"`");return{isToken:!1,value:N}});a.localize.preprocessor&&(l=a.localize.preprocessor(o,l));let c={firstWeekContainsDate:i,weekStartsOn:s,locale:a};return l.map(N=>{if(!N.isToken)return N.value;let P=N.value;(!(e!=null&&e.useAdditionalWeekYearTokens)&&(0,t0.isProtectedWeekYearToken)(P)||!(e!=null&&e.useAdditionalDayOfYearTokens)&&(0,t0.isProtectedDayOfYearToken)(P))&&(0,t0.warnOrThrowProtectedError)(P,t,String(n));let _=r0.formatters[P[0]];return _(o,P,a.localize,c)}).join("")}function bbe(n){let t=n.match(fbe);return t?t[1].replace(gbe,"'"):n}});var a0=D(DK=>{"use strict";DK.formatDistance=xbe;var Tbe=Lc(),kbe=tn(),SK=Ws(),wbe=wt(),Sbe=Oc(),qu=ze(),Dbe=pg(),Ebe=mg();function xbe(n,t,e){var h,f;let r=(0,kbe.getDefaultOptions)(),a=(f=(h=e==null?void 0:e.locale)!=null?h:r.locale)!=null?f:Tbe.defaultLocale,i=2520,s=(0,Sbe.compareAsc)(n,t);if(isNaN(s))throw new RangeError("Invalid time value");let o=Object.assign({},e,{addSuffix:e==null?void 0:e.addSuffix,comparison:s}),[l,c]=(0,wbe.normalizeDates)(e==null?void 0:e.in,...s>0?[t,n]:[n,t]),d=(0,Ebe.differenceInSeconds)(c,l),u=((0,SK.getTimezoneOffsetInMilliseconds)(c)-(0,SK.getTimezoneOffsetInMilliseconds)(l))/1e3,p=Math.round((d-u)/60),m;if(p<2)return e!=null&&e.includeSeconds?d<5?a.formatDistance("lessThanXSeconds",5,o):d<10?a.formatDistance("lessThanXSeconds",10,o):d<20?a.formatDistance("lessThanXSeconds",20,o):d<40?a.formatDistance("halfAMinute",0,o):d<60?a.formatDistance("lessThanXMinutes",1,o):a.formatDistance("xMinutes",1,o):p===0?a.formatDistance("lessThanXMinutes",1,o):a.formatDistance("xMinutes",p,o);if(p<45)return a.formatDistance("xMinutes",p,o);if(p<90)return a.formatDistance("aboutXHours",1,o);if(p<qu.minutesInDay){let g=Math.round(p/60);return a.formatDistance("aboutXHours",g,o)}else{if(p<i)return a.formatDistance("xDays",1,o);if(p<qu.minutesInMonth){let g=Math.round(p/qu.minutesInDay);return a.formatDistance("xDays",g,o)}else if(p<qu.minutesInMonth*2)return m=Math.round(p/qu.minutesInMonth),a.formatDistance("aboutXMonths",m,o)}if(m=(0,Dbe.differenceInMonths)(c,l),m<12){let g=Math.round(p/qu.minutesInMonth);return a.formatDistance("xMonths",g,o)}else{let g=m%12,v=Math.trunc(m/12);return g<3?a.formatDistance("aboutXYears",v,o):g<9?a.formatDistance("overXYears",v,o):a.formatDistance("almostXYears",v+1,o)}}});var i0=D(xK=>{"use strict";xK.formatDistanceStrict=_be;var Cbe=Lc(),Pbe=tn(),Mbe=$s(),EK=Ws(),Abe=wt(),Ibe=Oc(),Ko=ze();function _be(n,t,e){var g,v,T;let r=(0,Pbe.getDefaultOptions)(),a=(v=(g=e==null?void 0:e.locale)!=null?g:r.locale)!=null?v:Cbe.defaultLocale,i=(0,Ibe.compareAsc)(n,t);if(isNaN(i))throw new RangeError("Invalid time value");let s=Object.assign({},e,{addSuffix:e==null?void 0:e.addSuffix,comparison:i}),[o,l]=(0,Abe.normalizeDates)(e==null?void 0:e.in,...i>0?[t,n]:[n,t]),c=(0,Mbe.getRoundingMethod)((T=e==null?void 0:e.roundingMethod)!=null?T:"round"),d=l.getTime()-o.getTime(),u=d/Ko.millisecondsInMinute,p=(0,EK.getTimezoneOffsetInMilliseconds)(l)-(0,EK.getTimezoneOffsetInMilliseconds)(o),m=(d-p)/Ko.millisecondsInMinute,h=e==null?void 0:e.unit,f;if(h?f=h:u<1?f="second":u<60?f="minute":u<Ko.minutesInDay?f="hour":m<Ko.minutesInMonth?f="day":m<Ko.minutesInYear?f="month":f="year",f==="second"){let k=c(d/1e3);return a.formatDistance("xSeconds",k,s)}else if(f==="minute"){let k=c(u);return a.formatDistance("xMinutes",k,s)}else if(f==="hour"){let k=c(u/60);return a.formatDistance("xHours",k,s)}else if(f==="day"){let k=c(m/Ko.minutesInDay);return a.formatDistance("xDays",k,s)}else if(f==="month"){let k=c(m/Ko.minutesInMonth);return k===12&&h!=="month"?a.formatDistance("xYears",1,s):a.formatDistance("xMonths",k,s)}else{let k=c(m/Ko.minutesInYear);return a.formatDistance("xYears",k,s)}}});var PK=D(CK=>{"use strict";CK.formatDistanceToNow=Fbe;var Nbe=br(),Rbe=a0();function Fbe(n,t){return(0,Rbe.formatDistance)(n,(0,Nbe.constructNow)(n),t)}});var AK=D(MK=>{"use strict";MK.formatDistanceToNowStrict=Bbe;var Obe=br(),Lbe=i0();function Bbe(n,t){return(0,Lbe.formatDistanceStrict)(n,(0,Obe.constructNow)(n),t)}});var _K=D(IK=>{"use strict";IK.formatDuration=Ube;var jbe=Lc(),Hbe=tn(),zbe=["years","months","weeks","days","hours","minutes","seconds"];function Ube(n,t){var l,c,d,u,p;let e=(0,Hbe.getDefaultOptions)(),r=(c=(l=t==null?void 0:t.locale)!=null?l:e.locale)!=null?c:jbe.defaultLocale,a=(d=t==null?void 0:t.format)!=null?d:zbe,i=(u=t==null?void 0:t.zero)!=null?u:!1,s=(p=t==null?void 0:t.delimiter)!=null?p:" ";return r.formatDistance?a.reduce((m,h)=>{let f=`x${h.replace(/(^.)/,v=>v.toUpperCase())}`,g=n[h];return g!==void 0&&(i||n[h])?m.concat(r.formatDistance(f,g)):m},[]).join(s):""}});var RK=D(NK=>{"use strict";NK.formatISO=qbe;var Qo=Bc(),Wbe=$();function qbe(n,t){var c,d;let e=(0,Wbe.toDate)(n,t==null?void 0:t.in);if(isNaN(+e))throw new RangeError("Invalid time value");let r=(c=t==null?void 0:t.format)!=null?c:"extended",a=(d=t==null?void 0:t.representation)!=null?d:"complete",i="",s="",o=r==="extended"?"-":"",l=r==="extended"?":":"";if(a!=="time"){let u=(0,Qo.addLeadingZeros)(e.getDate(),2),p=(0,Qo.addLeadingZeros)(e.getMonth()+1,2);i=`${(0,Qo.addLeadingZeros)(e.getFullYear(),4)}${o}${p}${o}${u}`}if(a!=="date"){let u=e.getTimezoneOffset();if(u!==0){let v=Math.abs(u),T=(0,Qo.addLeadingZeros)(Math.trunc(v/60),2),k=(0,Qo.addLeadingZeros)(v%60,2);s=`${u<0?"+":"-"}${T}:${k}`}else s="Z";let p=(0,Qo.addLeadingZeros)(e.getHours(),2),m=(0,Qo.addLeadingZeros)(e.getMinutes(),2),h=(0,Qo.addLeadingZeros)(e.getSeconds(),2),f=i===""?"":"T",g=[p,m,h].join(l);i=`${i}${f}${g}${s}`}return i}});var OK=D(FK=>{"use strict";FK.formatISO9075=Ybe;var Vu=Bc(),Vbe=Vs(),$be=$();function Ybe(n,t){var l,c;let e=(0,$be.toDate)(n,t==null?void 0:t.in);if(!(0,Vbe.isValid)(e))throw new RangeError("Invalid time value");let r=(l=t==null?void 0:t.format)!=null?l:"extended",a=(c=t==null?void 0:t.representation)!=null?c:"complete",i="",s=r==="extended"?"-":"",o=r==="extended"?":":"";if(a!=="time"){let d=(0,Vu.addLeadingZeros)(e.getDate(),2),u=(0,Vu.addLeadingZeros)(e.getMonth()+1,2);i=`${(0,Vu.addLeadingZeros)(e.getFullYear(),4)}${s}${u}${s}${d}`}if(a!=="date"){let d=(0,Vu.addLeadingZeros)(e.getHours(),2),u=(0,Vu.addLeadingZeros)(e.getMinutes(),2),p=(0,Vu.addLeadingZeros)(e.getSeconds(),2);i=`${i}${i===""?"":" "}${d}${o}${u}${o}${p}`}return i}});var BK=D(LK=>{"use strict";LK.formatISODuration=Gbe;function Gbe(n){let{years:t=0,months:e=0,days:r=0,hours:a=0,minutes:i=0,seconds:s=0}=n;return`P${t}Y${e}M${r}DT${a}H${i}M${s}S`}});var HK=D(jK=>{"use strict";jK.formatRFC3339=Zbe;var Zo=Bc(),Kbe=Vs(),Qbe=$();function Zbe(n,t){var m;let e=(0,Qbe.toDate)(n,t==null?void 0:t.in);if(!(0,Kbe.isValid)(e))throw new RangeError("Invalid time value");let r=(m=t==null?void 0:t.fractionDigits)!=null?m:0,a=(0,Zo.addLeadingZeros)(e.getDate(),2),i=(0,Zo.addLeadingZeros)(e.getMonth()+1,2),s=e.getFullYear(),o=(0,Zo.addLeadingZeros)(e.getHours(),2),l=(0,Zo.addLeadingZeros)(e.getMinutes(),2),c=(0,Zo.addLeadingZeros)(e.getSeconds(),2),d="";if(r>0){let h=e.getMilliseconds(),f=Math.trunc(h*Math.pow(10,r-3));d="."+(0,Zo.addLeadingZeros)(f,r)}let u="",p=e.getTimezoneOffset();if(p!==0){let h=Math.abs(p),f=(0,Zo.addLeadingZeros)(Math.trunc(h/60),2),g=(0,Zo.addLeadingZeros)(h%60,2);u=`${p<0?"+":"-"}${f}:${g}`}else u="Z";return`${s}-${i}-${a}T${o}:${l}:${c}${d}${u}`}});var UK=D(zK=>{"use strict";zK.formatRFC7231=rTe;var bk=Bc(),Jbe=Vs(),Xbe=$(),eTe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],tTe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function rTe(n){let t=(0,Xbe.toDate)(n);if(!(0,Jbe.isValid)(t))throw new RangeError("Invalid time value");let e=eTe[t.getUTCDay()],r=(0,bk.addLeadingZeros)(t.getUTCDate(),2),a=tTe[t.getUTCMonth()],i=t.getUTCFullYear(),s=(0,bk.addLeadingZeros)(t.getUTCHours(),2),o=(0,bk.addLeadingZeros)(t.getUTCMinutes(),2),l=(0,bk.addLeadingZeros)(t.getUTCSeconds(),2);return`${e}, ${r} ${a} ${i} ${s}:${o}:${l} GMT`}});var qK=D(WK=>{"use strict";WK.formatRelative=lTe;var nTe=Lc(),aTe=tn(),iTe=wt(),sTe=qs(),oTe=n0();function lTe(n,t,e){var u,p,m,h,f,g,v,T,k,w;let[r,a]=(0,iTe.normalizeDates)(e==null?void 0:e.in,n,t),i=(0,aTe.getDefaultOptions)(),s=(p=(u=e==null?void 0:e.locale)!=null?u:i.locale)!=null?p:nTe.defaultLocale,o=(w=(k=(g=(f=e==null?void 0:e.weekStartsOn)!=null?f:(h=(m=e==null?void 0:e.locale)==null?void 0:m.options)==null?void 0:h.weekStartsOn)!=null?g:i.weekStartsOn)!=null?k:(T=(v=i.locale)==null?void 0:v.options)==null?void 0:T.weekStartsOn)!=null?w:0,l=(0,sTe.differenceInCalendarDays)(r,a);if(isNaN(l))throw new RangeError("Invalid time value");let c;l<-6?c="other":l<-1?c="lastWeek":l<0?c="yesterday":l<1?c="today":l<2?c="tomorrow":l<7?c="nextWeek":c="other";let d=s.formatRelative(c,r,a,{locale:s,weekStartsOn:o});return(0,oTe.format)(r,d,{locale:s,weekStartsOn:o})}});var $K=D(VK=>{"use strict";VK.fromUnixTime=dTe;var cTe=$();function dTe(n,t){return(0,cTe.toDate)(n*1e3,t==null?void 0:t.in)}});var s0=D(YK=>{"use strict";YK.getDate=pTe;var uTe=$();function pTe(n,t){return(0,uTe.toDate)(n,t==null?void 0:t.in).getDate()}});var bg=D(GK=>{"use strict";GK.getDay=hTe;var mTe=$();function hTe(n,t){return(0,mTe.toDate)(n,t==null?void 0:t.in).getDay()}});var o0=D(KK=>{"use strict";KK.getDaysInMonth=yTe;var fTe=ke(),gTe=$();function yTe(n,t){let e=(0,gTe.toDate)(n,t==null?void 0:t.in),r=e.getFullYear(),a=e.getMonth(),i=(0,fTe.constructFrom)(e,0);return i.setFullYear(r,a+1,0),i.setHours(0,0,0,0),i.getDate()}});var l0=D(QK=>{"use strict";QK.isLeapYear=bTe;var vTe=$();function bTe(n,t){let r=(0,vTe.toDate)(n,t==null?void 0:t.in).getFullYear();return r%400===0||r%4===0&&r%100!==0}});var JK=D(ZK=>{"use strict";ZK.getDaysInYear=wTe;var TTe=l0(),kTe=$();function wTe(n,t){let e=(0,kTe.toDate)(n,t==null?void 0:t.in);return Number.isNaN(+e)?NaN:(0,TTe.isLeapYear)(e)?366:365}});var e8=D(XK=>{"use strict";XK.getDecade=DTe;var STe=$();function DTe(n,t){let r=(0,STe.toDate)(n,t==null?void 0:t.in).getFullYear();return Math.floor(r/10)*10}});var c0=D(t8=>{"use strict";t8.getDefaultOptions=xTe;var ETe=tn();function xTe(){return Object.assign({},(0,ETe.getDefaultOptions)())}});var n8=D(r8=>{"use strict";r8.getHours=PTe;var CTe=$();function PTe(n,t){return(0,CTe.toDate)(n,t==null?void 0:t.in).getHours()}});var d0=D(a8=>{"use strict";a8.getISODay=ATe;var MTe=$();function ATe(n,t){let e=(0,MTe.toDate)(n,t==null?void 0:t.in).getDay();return e===0?7:e}});var o8=D(s8=>{"use strict";s8.getISOWeeksInYear=NTe;var ITe=ug(),_Te=ze(),i8=zu();function NTe(n,t){let e=(0,i8.startOfISOWeekYear)(n,t),a=+(0,i8.startOfISOWeekYear)((0,ITe.addWeeks)(e,60))-+e;return Math.round(a/_Te.millisecondsInWeek)}});var c8=D(l8=>{"use strict";l8.getMilliseconds=FTe;var RTe=$();function FTe(n){return(0,RTe.toDate)(n).getMilliseconds()}});var u8=D(d8=>{"use strict";d8.getMinutes=LTe;var OTe=$();function LTe(n,t){return(0,OTe.toDate)(n,t==null?void 0:t.in).getMinutes()}});var m8=D(p8=>{"use strict";p8.getMonth=jTe;var BTe=$();function jTe(n,t){return(0,BTe.toDate)(n,t==null?void 0:t.in).getMonth()}});var g8=D(f8=>{"use strict";f8.getOverlappingDaysInIntervals=zTe;var h8=Ws(),HTe=ze(),Tk=$();function zTe(n,t){let[e,r]=[+(0,Tk.toDate)(n.start),+(0,Tk.toDate)(n.end)].sort((u,p)=>u-p),[a,i]=[+(0,Tk.toDate)(t.start),+(0,Tk.toDate)(t.end)].sort((u,p)=>u-p);if(!(e<i&&a<r))return 0;let o=a<e?e:a,l=o-(0,h8.getTimezoneOffsetInMilliseconds)(o),c=i>r?r:i,d=c-(0,h8.getTimezoneOffsetInMilliseconds)(c);return Math.ceil((d-l)/HTe.millisecondsInDay)}});var v8=D(y8=>{"use strict";y8.getSeconds=WTe;var UTe=$();function WTe(n){return(0,UTe.toDate)(n).getSeconds()}});var T8=D(b8=>{"use strict";b8.getTime=VTe;var qTe=$();function VTe(n){return+(0,qTe.toDate)(n)}});var w8=D(k8=>{"use strict";k8.getUnixTime=YTe;var $Te=$();function YTe(n){return Math.trunc(+(0,$Te.toDate)(n)/1e3)}});var D8=D(S8=>{"use strict";S8.getWeekOfMonth=XTe;var GTe=tn(),KTe=s0(),QTe=bg(),ZTe=hg(),JTe=$();function XTe(n,t){var l,c,d,u,p,m,h,f;let e=(0,GTe.getDefaultOptions)(),r=(f=(h=(u=(d=t==null?void 0:t.weekStartsOn)!=null?d:(c=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:c.weekStartsOn)!=null?u:e.weekStartsOn)!=null?h:(m=(p=e.locale)==null?void 0:p.options)==null?void 0:m.weekStartsOn)!=null?f:0,a=(0,KTe.getDate)((0,JTe.toDate)(n,t==null?void 0:t.in));if(isNaN(a))return NaN;let i=(0,QTe.getDay)((0,ZTe.startOfMonth)(n,t)),s=r-i;s<=0&&(s+=7);let o=a-s;return Math.ceil(o/7)+1}});var u0=D(x8=>{"use strict";x8.lastDayOfMonth=eke;var E8=$();function eke(n,t){let e=(0,E8.toDate)(n,t==null?void 0:t.in),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(0,0,0,0),(0,E8.toDate)(e,t==null?void 0:t.in)}});var P8=D(C8=>{"use strict";C8.getWeeksInMonth=ike;var tke=rk(),rke=u0(),nke=hg(),ake=$();function ike(n,t){let e=(0,ake.toDate)(n,t==null?void 0:t.in);return(0,tke.differenceInCalendarWeeks)((0,rke.lastDayOfMonth)(e,t),(0,nke.startOfMonth)(e,t),t)+1}});var A8=D(M8=>{"use strict";M8.getYear=oke;var ske=$();function oke(n,t){return(0,ske.toDate)(n,t==null?void 0:t.in).getFullYear()}});var _8=D(I8=>{"use strict";I8.hoursToMilliseconds=cke;var lke=ze();function cke(n){return Math.trunc(n*lke.millisecondsInHour)}});var R8=D(N8=>{"use strict";N8.hoursToMinutes=uke;var dke=ze();function uke(n){return Math.trunc(n*dke.minutesInHour)}});var O8=D(F8=>{"use strict";F8.hoursToSeconds=mke;var pke=ze();function mke(n){return Math.trunc(n*pke.secondsInHour)}});var B8=D(L8=>{"use strict";L8.interval=fke;var hke=wt();function fke(n,t,e){let[r,a]=(0,hke.normalizeDates)(e==null?void 0:e.in,n,t);if(isNaN(+r))throw new TypeError("Start date is invalid");if(isNaN(+a))throw new TypeError("End date is invalid");if(e!=null&&e.assertPositive&&+r>+a)throw new TypeError("End date must be after start date");return{start:r,end:a}}});var H8=D(j8=>{"use strict";j8.intervalToDuration=Ske;var gke=Vi(),Tg=gP(),yke=ak(),vke=ik(),bke=ok(),Tke=pg(),kke=mg(),wke=LP();function Ske(n,t){let{start:e,end:r}=(0,gke.normalizeInterval)(t==null?void 0:t.in,n),a={},i=(0,wke.differenceInYears)(r,e);i&&(a.years=i);let s=(0,Tg.add)(e,{years:a.years}),o=(0,Tke.differenceInMonths)(r,s);o&&(a.months=o);let l=(0,Tg.add)(s,{months:a.months}),c=(0,yke.differenceInDays)(r,l);c&&(a.days=c);let d=(0,Tg.add)(l,{days:a.days}),u=(0,vke.differenceInHours)(r,d);u&&(a.hours=u);let p=(0,Tg.add)(d,{hours:a.hours}),m=(0,bke.differenceInMinutes)(r,p);m&&(a.minutes=m);let h=(0,Tg.add)(p,{minutes:a.minutes}),f=(0,kke.differenceInSeconds)(r,h);return f&&(a.seconds=f),a}});var U8=D(z8=>{"use strict";z8.intlFormat=Eke;var Dke=$();function Eke(n,t,e){let r;return xke(t)?r=t:e=t,new Intl.DateTimeFormat(e==null?void 0:e.locale,r).format((0,Dke.toDate)(n))}function xke(n){return n!==void 0&&!("locale"in n)}});var G8=D(Y8=>{"use strict";Y8.intlFormatDistance=Pke;var Cke=wt(),Hc=ze(),p0=qs(),W8=tk(),m0=NP(),q8=rk(),h0=nk(),V8=ik(),$8=ok(),f0=mg();function Pke(n,t,e){let r=0,a,[i,s]=(0,Cke.normalizeDates)(e==null?void 0:e.in,n,t);if(e!=null&&e.unit)a=e==null?void 0:e.unit,a==="second"?r=(0,f0.differenceInSeconds)(i,s):a==="minute"?r=(0,$8.differenceInMinutes)(i,s):a==="hour"?r=(0,V8.differenceInHours)(i,s):a==="day"?r=(0,p0.differenceInCalendarDays)(i,s):a==="week"?r=(0,q8.differenceInCalendarWeeks)(i,s):a==="month"?r=(0,W8.differenceInCalendarMonths)(i,s):a==="quarter"?r=(0,m0.differenceInCalendarQuarters)(i,s):a==="year"&&(r=(0,h0.differenceInCalendarYears)(i,s));else{let l=(0,f0.differenceInSeconds)(i,s);Math.abs(l)<Hc.secondsInMinute?(r=(0,f0.differenceInSeconds)(i,s),a="second"):Math.abs(l)<Hc.secondsInHour?(r=(0,$8.differenceInMinutes)(i,s),a="minute"):Math.abs(l)<Hc.secondsInDay&&Math.abs((0,p0.differenceInCalendarDays)(i,s))<1?(r=(0,V8.differenceInHours)(i,s),a="hour"):Math.abs(l)<Hc.secondsInWeek&&(r=(0,p0.differenceInCalendarDays)(i,s))&&Math.abs(r)<7?a="day":Math.abs(l)<Hc.secondsInMonth?(r=(0,q8.differenceInCalendarWeeks)(i,s),a="week"):Math.abs(l)<Hc.secondsInQuarter?(r=(0,W8.differenceInCalendarMonths)(i,s),a="month"):Math.abs(l)<Hc.secondsInYear&&(0,m0.differenceInCalendarQuarters)(i,s)<4?(r=(0,m0.differenceInCalendarQuarters)(i,s),a="quarter"):(r=(0,h0.differenceInCalendarYears)(i,s),a="year")}return new Intl.RelativeTimeFormat(e==null?void 0:e.locale,{numeric:"auto",...e}).format(r,a)}});var Z8=D(Q8=>{"use strict";Q8.isAfter=Mke;var K8=$();function Mke(n,t){return+(0,K8.toDate)(n)>+(0,K8.toDate)(t)}});var e9=D(X8=>{"use strict";X8.isBefore=Ake;var J8=$();function Ake(n,t){return+(0,J8.toDate)(n)<+(0,J8.toDate)(t)}});var n9=D(r9=>{"use strict";r9.isEqual=Ike;var t9=$();function Ike(n,t){return+(0,t9.toDate)(n)==+(0,t9.toDate)(t)}});var i9=D(a9=>{"use strict";a9.isExists=_ke;function _ke(n,t,e){let r=new Date(n,t,e);return r.getFullYear()===n&&r.getMonth()===t&&r.getDate()===e}});var o9=D(s9=>{"use strict";s9.isFirstDayOfMonth=Rke;var Nke=$();function Rke(n,t){return(0,Nke.toDate)(n,t==null?void 0:t.in).getDate()===1}});var c9=D(l9=>{"use strict";l9.isFriday=Oke;var Fke=$();function Oke(n,t){return(0,Fke.toDate)(n,t==null?void 0:t.in).getDay()===5}});var u9=D(d9=>{"use strict";d9.isFuture=Bke;var Lke=$();function Bke(n){return+(0,Lke.toDate)(n)>Date.now()}});var g0=D(p9=>{"use strict";p9.transpose=Hke;var jke=ke();function Hke(n,t){let e=zke(t)?new t(0):(0,jke.constructFrom)(t,0);return e.setFullYear(n.getFullYear(),n.getMonth(),n.getDate()),e.setHours(n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e}function zke(n){var t;return typeof n=="function"&&((t=n.prototype)==null?void 0:t.constructor)===n}});var b0=D(zc=>{"use strict";zc.ValueSetter=zc.Setter=zc.DateTimezoneSetter=void 0;var m9=ke(),Uke=g0(),Wke=10,kg=class{constructor(){C(this,"subPriority",0)}validate(t,e){return!0}};zc.Setter=kg;var y0=class extends kg{constructor(t,e,r,a,i){super(),this.value=t,this.validateValue=e,this.setValue=r,this.priority=a,i&&(this.subPriority=i)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,r){return this.setValue(t,e,this.value,r)}};zc.ValueSetter=y0;var v0=class extends kg{constructor(e,r){super();C(this,"priority",Wke);C(this,"subPriority",-1);this.context=e||(a=>(0,m9.constructFrom)(r,a))}set(e,r){return r.timestampIsSet?e:(0,m9.constructFrom)(e,(0,Uke.transpose)(e,this.context))}};zc.DateTimezoneSetter=v0});var dt=D(k0=>{"use strict";k0.Parser=void 0;var qke=b0(),T0=class{run(t,e,r,a){let i=this.parse(t,e,r,a);return i?{setter:new qke.ValueSetter(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(t,e,r){return!0}};k0.Parser=T0});var h9=D(S0=>{"use strict";S0.EraParser=void 0;var Vke=dt(),w0=class extends Vke.Parser{constructor(){super(...arguments);C(this,"priority",140);C(this,"incompatibleTokens",["R","u","t","T"])}parse(e,r,a){switch(r){case"G":case"GG":case"GGG":return a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"});case"GGGGG":return a.era(e,{width:"narrow"});case"GGGG":default:return a.era(e,{width:"wide"})||a.era(e,{width:"abbreviated"})||a.era(e,{width:"narrow"})}}set(e,r,a){return r.era=a,e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}};S0.EraParser=w0});var rn=D(wg=>{"use strict";wg.timezonePatterns=wg.numericPatterns=void 0;var Dlt=wg.numericPatterns={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},Elt=wg.timezonePatterns={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/}});var bt=D($i=>{"use strict";$i.dayPeriodEnumToHours=Zke;$i.isLeapYearIndex=Xke;$i.mapValue=$ke;$i.normalizeTwoDigitYear=Jke;$i.parseAnyDigitsSigned=Gke;$i.parseNDigits=Kke;$i.parseNDigitsSigned=Qke;$i.parseNumericPattern=Ba;$i.parseTimezonePattern=Yke;var D0=ze(),Ys=rn();function $ke(n,t){return n&&{value:t(n.value),rest:n.rest}}function Ba(n,t){let e=t.match(n);return e?{value:parseInt(e[0],10),rest:t.slice(e[0].length)}:null}function Yke(n,t){let e=t.match(n);if(!e)return null;if(e[0]==="Z")return{value:0,rest:t.slice(1)};let r=e[1]==="+"?1:-1,a=e[2]?parseInt(e[2],10):0,i=e[3]?parseInt(e[3],10):0,s=e[5]?parseInt(e[5],10):0;return{value:r*(a*D0.millisecondsInHour+i*D0.millisecondsInMinute+s*D0.millisecondsInSecond),rest:t.slice(e[0].length)}}function Gke(n){return Ba(Ys.numericPatterns.anyDigitsSigned,n)}function Kke(n,t){switch(n){case 1:return Ba(Ys.numericPatterns.singleDigit,t);case 2:return Ba(Ys.numericPatterns.twoDigits,t);case 3:return Ba(Ys.numericPatterns.threeDigits,t);case 4:return Ba(Ys.numericPatterns.fourDigits,t);default:return Ba(new RegExp("^\\d{1,"+n+"}"),t)}}function Qke(n,t){switch(n){case 1:return Ba(Ys.numericPatterns.singleDigitSigned,t);case 2:return Ba(Ys.numericPatterns.twoDigitsSigned,t);case 3:return Ba(Ys.numericPatterns.threeDigitsSigned,t);case 4:return Ba(Ys.numericPatterns.fourDigitsSigned,t);default:return Ba(new RegExp("^-?\\d{1,"+n+"}"),t)}}function Zke(n){switch(n){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Jke(n,t){let e=t>0,r=e?t:1-t,a;if(r<=50)a=n||100;else{let i=r+50,s=Math.trunc(i/100)*100,o=n>=i%100;a=n+s-(o?100:0)}return e?a:1-a}function Xke(n){return n%400===0||n%4===0&&n%100!==0}});var f9=D(x0=>{"use strict";x0.YearParser=void 0;var ewe=dt(),$u=bt(),E0=class extends ewe.Parser{constructor(){super(...arguments);C(this,"priority",130);C(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(e,r,a){let i=s=>({year:s,isTwoDigitYear:r==="yy"});switch(r){case"y":return(0,$u.mapValue)((0,$u.parseNDigits)(4,e),i);case"yo":return(0,$u.mapValue)(a.ordinalNumber(e,{unit:"year"}),i);default:return(0,$u.mapValue)((0,$u.parseNDigits)(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,a){let i=e.getFullYear();if(a.isTwoDigitYear){let o=(0,$u.normalizeTwoDigitYear)(a.year,i);return e.setFullYear(o,0,1),e.setHours(0,0,0,0),e}let s=!("era"in r)||r.era===1?a.year:1-a.year;return e.setFullYear(s,0,1),e.setHours(0,0,0,0),e}};x0.YearParser=E0});var y9=D(P0=>{"use strict";P0.LocalWeekYearParser=void 0;var twe=yg(),g9=ci(),rwe=dt(),Yu=bt(),C0=class extends rwe.Parser{constructor(){super(...arguments);C(this,"priority",130);C(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(e,r,a){let i=s=>({year:s,isTwoDigitYear:r==="YY"});switch(r){case"Y":return(0,Yu.mapValue)((0,Yu.parseNDigits)(4,e),i);case"Yo":return(0,Yu.mapValue)(a.ordinalNumber(e,{unit:"year"}),i);default:return(0,Yu.mapValue)((0,Yu.parseNDigits)(r.length,e),i)}}validate(e,r){return r.isTwoDigitYear||r.year>0}set(e,r,a,i){let s=(0,twe.getWeekYear)(e,i);if(a.isTwoDigitYear){let l=(0,Yu.normalizeTwoDigitYear)(a.year,s);return e.setFullYear(l,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),(0,g9.startOfWeek)(e,i)}let o=!("era"in r)||r.era===1?a.year:1-a.year;return e.setFullYear(o,0,i.firstWeekContainsDate),e.setHours(0,0,0,0),(0,g9.startOfWeek)(e,i)}};P0.LocalWeekYearParser=C0});var b9=D(A0=>{"use strict";A0.ISOWeekYearParser=void 0;var nwe=qi(),awe=ke(),iwe=dt(),v9=bt(),M0=class extends iwe.Parser{constructor(){super(...arguments);C(this,"priority",130);C(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(e,r){return r==="R"?(0,v9.parseNDigitsSigned)(4,e):(0,v9.parseNDigitsSigned)(r.length,e)}set(e,r,a){let i=(0,awe.constructFrom)(e,0);return i.setFullYear(a,0,4),i.setHours(0,0,0,0),(0,nwe.startOfISOWeek)(i)}};A0.ISOWeekYearParser=M0});var k9=D(_0=>{"use strict";_0.ExtendedYearParser=void 0;var swe=dt(),T9=bt(),I0=class extends swe.Parser{constructor(){super(...arguments);C(this,"priority",130);C(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(e,r){return r==="u"?(0,T9.parseNDigitsSigned)(4,e):(0,T9.parseNDigitsSigned)(r.length,e)}set(e,r,a){return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}};_0.ExtendedYearParser=I0});var w9=D(R0=>{"use strict";R0.QuarterParser=void 0;var owe=dt(),lwe=bt(),N0=class extends owe.Parser{constructor(){super(...arguments);C(this,"priority",120);C(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"Q":case"QQ":return(0,lwe.parseNDigits)(r.length,e);case"Qo":return a.ordinalNumber(e,{unit:"quarter"});case"QQQ":return a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return a.quarter(e,{width:"narrow",context:"formatting"});case"QQQQ":default:return a.quarter(e,{width:"wide",context:"formatting"})||a.quarter(e,{width:"abbreviated",context:"formatting"})||a.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=1&&r<=4}set(e,r,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}};R0.QuarterParser=N0});var S9=D(O0=>{"use strict";O0.StandAloneQuarterParser=void 0;var cwe=dt(),dwe=bt(),F0=class extends cwe.Parser{constructor(){super(...arguments);C(this,"priority",120);C(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"q":case"qq":return(0,dwe.parseNDigits)(r.length,e);case"qo":return a.ordinalNumber(e,{unit:"quarter"});case"qqq":return a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return a.quarter(e,{width:"narrow",context:"standalone"});case"qqqq":default:return a.quarter(e,{width:"wide",context:"standalone"})||a.quarter(e,{width:"abbreviated",context:"standalone"})||a.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=1&&r<=4}set(e,r,a){return e.setMonth((a-1)*3,1),e.setHours(0,0,0,0),e}};O0.StandAloneQuarterParser=F0});var D9=D(B0=>{"use strict";B0.MonthParser=void 0;var uwe=rn(),pwe=dt(),Sg=bt(),L0=class extends pwe.Parser{constructor(){super(...arguments);C(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]);C(this,"priority",110)}parse(e,r,a){let i=s=>s-1;switch(r){case"M":return(0,Sg.mapValue)((0,Sg.parseNumericPattern)(uwe.numericPatterns.month,e),i);case"MM":return(0,Sg.mapValue)((0,Sg.parseNDigits)(2,e),i);case"Mo":return(0,Sg.mapValue)(a.ordinalNumber(e,{unit:"month"}),i);case"MMM":return a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return a.month(e,{width:"narrow",context:"formatting"});case"MMMM":default:return a.month(e,{width:"wide",context:"formatting"})||a.month(e,{width:"abbreviated",context:"formatting"})||a.month(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=11}set(e,r,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}};B0.MonthParser=L0});var E9=D(H0=>{"use strict";H0.StandAloneMonthParser=void 0;var mwe=rn(),hwe=dt(),Dg=bt(),j0=class extends hwe.Parser{constructor(){super(...arguments);C(this,"priority",110);C(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(e,r,a){let i=s=>s-1;switch(r){case"L":return(0,Dg.mapValue)((0,Dg.parseNumericPattern)(mwe.numericPatterns.month,e),i);case"LL":return(0,Dg.mapValue)((0,Dg.parseNDigits)(2,e),i);case"Lo":return(0,Dg.mapValue)(a.ordinalNumber(e,{unit:"month"}),i);case"LLL":return a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return a.month(e,{width:"narrow",context:"standalone"});case"LLLL":default:return a.month(e,{width:"wide",context:"standalone"})||a.month(e,{width:"abbreviated",context:"standalone"})||a.month(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=11}set(e,r,a){return e.setMonth(a,1),e.setHours(0,0,0,0),e}};H0.StandAloneMonthParser=j0});var z0=D(C9=>{"use strict";C9.setWeek=gwe;var fwe=yk(),x9=$();function gwe(n,t,e){let r=(0,x9.toDate)(n,e==null?void 0:e.in),a=(0,fwe.getWeek)(r,e)-t;return r.setDate(r.getDate()-a*7),(0,x9.toDate)(r,e==null?void 0:e.in)}});var M9=D(W0=>{"use strict";W0.LocalWeekParser=void 0;var ywe=z0(),vwe=ci(),bwe=rn(),Twe=dt(),P9=bt(),U0=class extends Twe.Parser{constructor(){super(...arguments);C(this,"priority",100);C(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(e,r,a){switch(r){case"w":return(0,P9.parseNumericPattern)(bwe.numericPatterns.week,e);case"wo":return a.ordinalNumber(e,{unit:"week"});default:return(0,P9.parseNDigits)(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,a,i){return(0,vwe.startOfWeek)((0,ywe.setWeek)(e,a,i),i)}};W0.LocalWeekParser=U0});var q0=D(A9=>{"use strict";A9.setISOWeek=Swe;var kwe=fk(),wwe=$();function Swe(n,t,e){let r=(0,wwe.toDate)(n,e==null?void 0:e.in),a=(0,kwe.getISOWeek)(r,e)-t;return r.setDate(r.getDate()-a*7),r}});var _9=D($0=>{"use strict";$0.ISOWeekParser=void 0;var Dwe=q0(),Ewe=qi(),xwe=rn(),Cwe=dt(),I9=bt(),V0=class extends Cwe.Parser{constructor(){super(...arguments);C(this,"priority",100);C(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(e,r,a){switch(r){case"I":return(0,I9.parseNumericPattern)(xwe.numericPatterns.week,e);case"Io":return a.ordinalNumber(e,{unit:"week"});default:return(0,I9.parseNDigits)(r.length,e)}}validate(e,r){return r>=1&&r<=53}set(e,r,a){return(0,Ewe.startOfISOWeek)((0,Dwe.setISOWeek)(e,a))}};$0.ISOWeekParser=V0});var N9=D(K0=>{"use strict";K0.DateParser=void 0;var Pwe=rn(),Mwe=dt(),Y0=bt(),Awe=[31,28,31,30,31,30,31,31,30,31,30,31],Iwe=[31,29,31,30,31,30,31,31,30,31,30,31],G0=class extends Mwe.Parser{constructor(){super(...arguments);C(this,"priority",90);C(this,"subPriority",1);C(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"d":return(0,Y0.parseNumericPattern)(Pwe.numericPatterns.date,e);case"do":return a.ordinalNumber(e,{unit:"date"});default:return(0,Y0.parseNDigits)(r.length,e)}}validate(e,r){let a=e.getFullYear(),i=(0,Y0.isLeapYearIndex)(a),s=e.getMonth();return i?r>=1&&r<=Iwe[s]:r>=1&&r<=Awe[s]}set(e,r,a){return e.setDate(a),e.setHours(0,0,0,0),e}};K0.DateParser=G0});var R9=D(J0=>{"use strict";J0.DayOfYearParser=void 0;var _we=rn(),Nwe=dt(),Q0=bt(),Z0=class extends Nwe.Parser{constructor(){super(...arguments);C(this,"priority",90);C(this,"subpriority",1);C(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(e,r,a){switch(r){case"D":case"DD":return(0,Q0.parseNumericPattern)(_we.numericPatterns.dayOfYear,e);case"Do":return a.ordinalNumber(e,{unit:"date"});default:return(0,Q0.parseNDigits)(r.length,e)}}validate(e,r){let a=e.getFullYear();return(0,Q0.isLeapYearIndex)(a)?r>=1&&r<=366:r>=1&&r<=365}set(e,r,a){return e.setMonth(0,a),e.setHours(0,0,0,0),e}};J0.DayOfYearParser=Z0});var Eg=D(F9=>{"use strict";F9.setDay=Lwe;var Rwe=tn(),Fwe=Wi(),Owe=$();function Lwe(n,t,e){var u,p,m,h,f,g,v,T;let r=(0,Rwe.getDefaultOptions)(),a=(T=(v=(h=(m=e==null?void 0:e.weekStartsOn)!=null?m:(p=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?h:r.weekStartsOn)!=null?v:(g=(f=r.locale)==null?void 0:f.options)==null?void 0:g.weekStartsOn)!=null?T:0,i=(0,Owe.toDate)(n,e==null?void 0:e.in),s=i.getDay(),l=(t%7+7)%7,c=7-a,d=t<0||t>6?t-(s+c)%7:(l+c)%7-(s+c)%7;return(0,Fwe.addDays)(i,d,e)}});var O9=D(eM=>{"use strict";eM.DayParser=void 0;var Bwe=Eg(),jwe=dt(),X0=class extends jwe.Parser{constructor(){super(...arguments);C(this,"priority",90);C(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(e,r,a){switch(r){case"E":case"EE":case"EEE":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return a.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"EEEE":default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,a,i){return e=(0,Bwe.setDay)(e,a,i),e.setHours(0,0,0,0),e}};eM.DayParser=X0});var L9=D(nM=>{"use strict";nM.LocalDayParser=void 0;var Hwe=Eg(),zwe=dt(),tM=bt(),rM=class extends zwe.Parser{constructor(){super(...arguments);C(this,"priority",90);C(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(e,r,a,i){let s=o=>{let l=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+l};switch(r){case"e":case"ee":return(0,tM.mapValue)((0,tM.parseNDigits)(r.length,e),s);case"eo":return(0,tM.mapValue)(a.ordinalNumber(e,{unit:"day"}),s);case"eee":return a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeeee":return a.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"});case"eeee":default:return a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"})}}validate(e,r){return r>=0&&r<=6}set(e,r,a,i){return e=(0,Hwe.setDay)(e,a,i),e.setHours(0,0,0,0),e}};nM.LocalDayParser=rM});var B9=D(sM=>{"use strict";sM.StandAloneLocalDayParser=void 0;var Uwe=Eg(),Wwe=dt(),aM=bt(),iM=class extends Wwe.Parser{constructor(){super(...arguments);C(this,"priority",90);C(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(e,r,a,i){let s=o=>{let l=Math.floor((o-1)/7)*7;return(o+i.weekStartsOn+6)%7+l};switch(r){case"c":case"cc":return(0,aM.mapValue)((0,aM.parseNDigits)(r.length,e),s);case"co":return(0,aM.mapValue)(a.ordinalNumber(e,{unit:"day"}),s);case"ccc":return a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"ccccc":return a.day(e,{width:"narrow",context:"standalone"});case"cccccc":return a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"});case"cccc":default:return a.day(e,{width:"wide",context:"standalone"})||a.day(e,{width:"abbreviated",context:"standalone"})||a.day(e,{width:"short",context:"standalone"})||a.day(e,{width:"narrow",context:"standalone"})}}validate(e,r){return r>=0&&r<=6}set(e,r,a,i){return e=(0,Uwe.setDay)(e,a,i),e.setHours(0,0,0,0),e}};sM.StandAloneLocalDayParser=iM});var oM=D(j9=>{"use strict";j9.setISODay=Ywe;var qwe=Wi(),Vwe=d0(),$we=$();function Ywe(n,t,e){let r=(0,$we.toDate)(n,e==null?void 0:e.in),a=(0,Vwe.getISODay)(r,e),i=t-a;return(0,qwe.addDays)(r,i,e)}});var H9=D(cM=>{"use strict";cM.ISODayParser=void 0;var Gwe=oM(),Kwe=dt(),xg=bt(),lM=class extends Kwe.Parser{constructor(){super(...arguments);C(this,"priority",90);C(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(e,r,a){let i=s=>s===0?7:s;switch(r){case"i":case"ii":return(0,xg.parseNDigits)(r.length,e);case"io":return a.ordinalNumber(e,{unit:"day"});case"iii":return(0,xg.mapValue)(a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),i);case"iiiii":return(0,xg.mapValue)(a.day(e,{width:"narrow",context:"formatting"}),i);case"iiiiii":return(0,xg.mapValue)(a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),i);case"iiii":default:return(0,xg.mapValue)(a.day(e,{width:"wide",context:"formatting"})||a.day(e,{width:"abbreviated",context:"formatting"})||a.day(e,{width:"short",context:"formatting"})||a.day(e,{width:"narrow",context:"formatting"}),i)}}validate(e,r){return r>=1&&r<=7}set(e,r,a){return e=(0,Gwe.setISODay)(e,a),e.setHours(0,0,0,0),e}};cM.ISODayParser=lM});var z9=D(uM=>{"use strict";uM.AMPMParser=void 0;var Qwe=dt(),Zwe=bt(),dM=class extends Qwe.Parser{constructor(){super(...arguments);C(this,"priority",80);C(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(e,r,a){switch(r){case"a":case"aa":case"aaa":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaa":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,a){return e.setHours((0,Zwe.dayPeriodEnumToHours)(a),0,0,0),e}};uM.AMPMParser=dM});var U9=D(mM=>{"use strict";mM.AMPMMidnightParser=void 0;var Jwe=dt(),Xwe=bt(),pM=class extends Jwe.Parser{constructor(){super(...arguments);C(this,"priority",80);C(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(e,r,a){switch(r){case"b":case"bb":case"bbb":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbb":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,a){return e.setHours((0,Xwe.dayPeriodEnumToHours)(a),0,0,0),e}};mM.AMPMMidnightParser=pM});var W9=D(fM=>{"use strict";fM.DayPeriodParser=void 0;var eSe=dt(),tSe=bt(),hM=class extends eSe.Parser{constructor(){super(...arguments);C(this,"priority",80);C(this,"incompatibleTokens",["a","b","t","T"])}parse(e,r,a){switch(r){case"B":case"BB":case"BBB":return a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return a.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBB":default:return a.dayPeriod(e,{width:"wide",context:"formatting"})||a.dayPeriod(e,{width:"abbreviated",context:"formatting"})||a.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,r,a){return e.setHours((0,tSe.dayPeriodEnumToHours)(a),0,0,0),e}};fM.DayPeriodParser=hM});var V9=D(yM=>{"use strict";yM.Hour1to12Parser=void 0;var rSe=rn(),nSe=dt(),q9=bt(),gM=class extends nSe.Parser{constructor(){super(...arguments);C(this,"priority",70);C(this,"incompatibleTokens",["H","K","k","t","T"])}parse(e,r,a){switch(r){case"h":return(0,q9.parseNumericPattern)(rSe.numericPatterns.hour12h,e);case"ho":return a.ordinalNumber(e,{unit:"hour"});default:return(0,q9.parseNDigits)(r.length,e)}}validate(e,r){return r>=1&&r<=12}set(e,r,a){let i=e.getHours()>=12;return i&&a<12?e.setHours(a+12,0,0,0):!i&&a===12?e.setHours(0,0,0,0):e.setHours(a,0,0,0),e}};yM.Hour1to12Parser=gM});var Y9=D(bM=>{"use strict";bM.Hour0to23Parser=void 0;var aSe=rn(),iSe=dt(),$9=bt(),vM=class extends iSe.Parser{constructor(){super(...arguments);C(this,"priority",70);C(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(e,r,a){switch(r){case"H":return(0,$9.parseNumericPattern)(aSe.numericPatterns.hour23h,e);case"Ho":return a.ordinalNumber(e,{unit:"hour"});default:return(0,$9.parseNDigits)(r.length,e)}}validate(e,r){return r>=0&&r<=23}set(e,r,a){return e.setHours(a,0,0,0),e}};bM.Hour0to23Parser=vM});var K9=D(kM=>{"use strict";kM.Hour0To11Parser=void 0;var sSe=rn(),oSe=dt(),G9=bt(),TM=class extends oSe.Parser{constructor(){super(...arguments);C(this,"priority",70);C(this,"incompatibleTokens",["h","H","k","t","T"])}parse(e,r,a){switch(r){case"K":return(0,G9.parseNumericPattern)(sSe.numericPatterns.hour11h,e);case"Ko":return a.ordinalNumber(e,{unit:"hour"});default:return(0,G9.parseNDigits)(r.length,e)}}validate(e,r){return r>=0&&r<=11}set(e,r,a){return e.getHours()>=12&&a<12?e.setHours(a+12,0,0,0):e.setHours(a,0,0,0),e}};kM.Hour0To11Parser=TM});var Z9=D(SM=>{"use strict";SM.Hour1To24Parser=void 0;var lSe=rn(),cSe=dt(),Q9=bt(),wM=class extends cSe.Parser{constructor(){super(...arguments);C(this,"priority",70);C(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(e,r,a){switch(r){case"k":return(0,Q9.parseNumericPattern)(lSe.numericPatterns.hour24h,e);case"ko":return a.ordinalNumber(e,{unit:"hour"});default:return(0,Q9.parseNDigits)(r.length,e)}}validate(e,r){return r>=1&&r<=24}set(e,r,a){let i=a<=24?a%24:a;return e.setHours(i,0,0,0),e}};SM.Hour1To24Parser=wM});var X9=D(EM=>{"use strict";EM.MinuteParser=void 0;var dSe=rn(),uSe=dt(),J9=bt(),DM=class extends uSe.Parser{constructor(){super(...arguments);C(this,"priority",60);C(this,"incompatibleTokens",["t","T"])}parse(e,r,a){switch(r){case"m":return(0,J9.parseNumericPattern)(dSe.numericPatterns.minute,e);case"mo":return a.ordinalNumber(e,{unit:"minute"});default:return(0,J9.parseNDigits)(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,a){return e.setMinutes(a,0,0),e}};EM.MinuteParser=DM});var t7=D(CM=>{"use strict";CM.SecondParser=void 0;var pSe=rn(),mSe=dt(),e7=bt(),xM=class extends mSe.Parser{constructor(){super(...arguments);C(this,"priority",50);C(this,"incompatibleTokens",["t","T"])}parse(e,r,a){switch(r){case"s":return(0,e7.parseNumericPattern)(pSe.numericPatterns.second,e);case"so":return a.ordinalNumber(e,{unit:"second"});default:return(0,e7.parseNDigits)(r.length,e)}}validate(e,r){return r>=0&&r<=59}set(e,r,a){return e.setSeconds(a,0),e}};CM.SecondParser=xM});var n7=D(MM=>{"use strict";MM.FractionOfSecondParser=void 0;var hSe=dt(),r7=bt(),PM=class extends hSe.Parser{constructor(){super(...arguments);C(this,"priority",30);C(this,"incompatibleTokens",["t","T"])}parse(e,r){let a=i=>Math.trunc(i*Math.pow(10,-r.length+3));return(0,r7.mapValue)((0,r7.parseNDigits)(r.length,e),a)}set(e,r,a){return e.setMilliseconds(a),e}};MM.FractionOfSecondParser=PM});var a7=D(IM=>{"use strict";IM.ISOTimezoneWithZParser=void 0;var fSe=ke(),gSe=Ws(),Cg=rn(),ySe=dt(),Pg=bt(),AM=class extends ySe.Parser{constructor(){super(...arguments);C(this,"priority",10);C(this,"incompatibleTokens",["t","T","x"])}parse(e,r){switch(r){case"X":return(0,Pg.parseTimezonePattern)(Cg.timezonePatterns.basicOptionalMinutes,e);case"XX":return(0,Pg.parseTimezonePattern)(Cg.timezonePatterns.basic,e);case"XXXX":return(0,Pg.parseTimezonePattern)(Cg.timezonePatterns.basicOptionalSeconds,e);case"XXXXX":return(0,Pg.parseTimezonePattern)(Cg.timezonePatterns.extendedOptionalSeconds,e);case"XXX":default:return(0,Pg.parseTimezonePattern)(Cg.timezonePatterns.extended,e)}}set(e,r,a){return r.timestampIsSet?e:(0,fSe.constructFrom)(e,e.getTime()-(0,gSe.getTimezoneOffsetInMilliseconds)(e)-a)}};IM.ISOTimezoneWithZParser=AM});var i7=D(NM=>{"use strict";NM.ISOTimezoneParser=void 0;var vSe=ke(),bSe=Ws(),Mg=rn(),TSe=dt(),Ag=bt(),_M=class extends TSe.Parser{constructor(){super(...arguments);C(this,"priority",10);C(this,"incompatibleTokens",["t","T","X"])}parse(e,r){switch(r){case"x":return(0,Ag.parseTimezonePattern)(Mg.timezonePatterns.basicOptionalMinutes,e);case"xx":return(0,Ag.parseTimezonePattern)(Mg.timezonePatterns.basic,e);case"xxxx":return(0,Ag.parseTimezonePattern)(Mg.timezonePatterns.basicOptionalSeconds,e);case"xxxxx":return(0,Ag.parseTimezonePattern)(Mg.timezonePatterns.extendedOptionalSeconds,e);case"xxx":default:return(0,Ag.parseTimezonePattern)(Mg.timezonePatterns.extended,e)}}set(e,r,a){return r.timestampIsSet?e:(0,vSe.constructFrom)(e,e.getTime()-(0,bSe.getTimezoneOffsetInMilliseconds)(e)-a)}};NM.ISOTimezoneParser=_M});var s7=D(FM=>{"use strict";FM.TimestampSecondsParser=void 0;var kSe=ke(),wSe=dt(),SSe=bt(),RM=class extends wSe.Parser{constructor(){super(...arguments);C(this,"priority",40);C(this,"incompatibleTokens","*")}parse(e){return(0,SSe.parseAnyDigitsSigned)(e)}set(e,r,a){return[(0,kSe.constructFrom)(e,a*1e3),{timestampIsSet:!0}]}};FM.TimestampSecondsParser=RM});var o7=D(LM=>{"use strict";LM.TimestampMillisecondsParser=void 0;var DSe=ke(),ESe=dt(),xSe=bt(),OM=class extends ESe.Parser{constructor(){super(...arguments);C(this,"priority",20);C(this,"incompatibleTokens","*")}parse(e){return(0,xSe.parseAnyDigitsSigned)(e)}set(e,r,a){return[(0,DSe.constructFrom)(e,a),{timestampIsSet:!0}]}};LM.TimestampMillisecondsParser=OM});var l7=D(BM=>{"use strict";BM.parsers=void 0;var CSe=h9(),PSe=f9(),MSe=y9(),ASe=b9(),ISe=k9(),_Se=w9(),NSe=S9(),RSe=D9(),FSe=E9(),OSe=M9(),LSe=_9(),BSe=N9(),jSe=R9(),HSe=O9(),zSe=L9(),USe=B9(),WSe=H9(),qSe=z9(),VSe=U9(),$Se=W9(),YSe=V9(),GSe=Y9(),KSe=K9(),QSe=Z9(),ZSe=X9(),JSe=t7(),XSe=n7(),eDe=a7(),tDe=i7(),rDe=s7(),nDe=o7(),Bct=BM.parsers={G:new CSe.EraParser,y:new PSe.YearParser,Y:new MSe.LocalWeekYearParser,R:new ASe.ISOWeekYearParser,u:new ISe.ExtendedYearParser,Q:new _Se.QuarterParser,q:new NSe.StandAloneQuarterParser,M:new RSe.MonthParser,L:new FSe.StandAloneMonthParser,w:new OSe.LocalWeekParser,I:new LSe.ISOWeekParser,d:new BSe.DateParser,D:new jSe.DayOfYearParser,E:new HSe.DayParser,e:new zSe.LocalDayParser,c:new USe.StandAloneLocalDayParser,i:new WSe.ISODayParser,a:new qSe.AMPMParser,b:new VSe.AMPMMidnightParser,B:new $Se.DayPeriodParser,h:new YSe.Hour1to12Parser,H:new GSe.Hour0to23Parser,K:new KSe.Hour0To11Parser,k:new QSe.Hour1To24Parser,m:new ZSe.MinuteParser,s:new JSe.SecondParser,S:new XSe.FractionOfSecondParser,X:new eDe.ISOTimezoneWithZParser,x:new tDe.ISOTimezoneParser,t:new rDe.TimestampSecondsParser,T:new nDe.TimestampMillisecondsParser}});var HM=D(wk=>{"use strict";Object.defineProperty(wk,"longFormatters",{enumerable:!0,get:function(){return jM.longFormatters}});wk.parse=hDe;Object.defineProperty(wk,"parsers",{enumerable:!0,get:function(){return d7.parsers}});var aDe=Lc(),jM=XP(),kk=e0(),iDe=ke(),sDe=c0(),c7=$(),oDe=b0(),d7=l7(),lDe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,cDe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,dDe=/^'([^]*?)'?$/,uDe=/''/g,pDe=/\S/,mDe=/[a-zA-Z]/;function hDe(n,t,e,r){var g,v,T,k,w,S,x,I,A,B,z,U,N,P,_,Y,Q,W;let a=()=>(0,iDe.constructFrom)((r==null?void 0:r.in)||e,NaN),i=(0,sDe.getDefaultOptions)(),s=(v=(g=r==null?void 0:r.locale)!=null?g:i.locale)!=null?v:aDe.defaultLocale,o=(B=(A=(S=(w=r==null?void 0:r.firstWeekContainsDate)!=null?w:(k=(T=r==null?void 0:r.locale)==null?void 0:T.options)==null?void 0:k.firstWeekContainsDate)!=null?S:i.firstWeekContainsDate)!=null?A:(I=(x=i.locale)==null?void 0:x.options)==null?void 0:I.firstWeekContainsDate)!=null?B:1,l=(W=(Q=(P=(N=r==null?void 0:r.weekStartsOn)!=null?N:(U=(z=r==null?void 0:r.locale)==null?void 0:z.options)==null?void 0:U.weekStartsOn)!=null?P:i.weekStartsOn)!=null?Q:(Y=(_=i.locale)==null?void 0:_.options)==null?void 0:Y.weekStartsOn)!=null?W:0;if(!t)return n?a():(0,c7.toDate)(e,r==null?void 0:r.in);let c={firstWeekContainsDate:o,weekStartsOn:l,locale:s},d=[new oDe.DateTimezoneSetter(r==null?void 0:r.in,e)],u=t.match(cDe).map(H=>{let K=H[0];if(K in jM.longFormatters){let ae=jM.longFormatters[K];return ae(H,s.formatLong)}return H}).join("").match(lDe),p=[];for(let H of u){!(r!=null&&r.useAdditionalWeekYearTokens)&&(0,kk.isProtectedWeekYearToken)(H)&&(0,kk.warnOrThrowProtectedError)(H,t,n),!(r!=null&&r.useAdditionalDayOfYearTokens)&&(0,kk.isProtectedDayOfYearToken)(H)&&(0,kk.warnOrThrowProtectedError)(H,t,n);let K=H[0],ae=d7.parsers[K];if(ae){let{incompatibleTokens:ye}=ae;if(Array.isArray(ye)){let Je=p.find(Rt=>ye.includes(Rt.token)||Rt.token===K);if(Je)throw new RangeError(`The format string mustn't contain \`${Je.fullToken}\` and \`${H}\` at the same time`)}else if(ae.incompatibleTokens==="*"&&p.length>0)throw new RangeError(`The format string mustn't contain \`${H}\` and any other token at the same time`);p.push({token:K,fullToken:H});let Z=ae.run(n,H,s.match,c);if(!Z)return a();d.push(Z.setter),n=Z.rest}else{if(K.match(mDe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+K+"`");if(H==="''"?H="'":K==="'"&&(H=fDe(H)),n.indexOf(H)===0)n=n.slice(H.length);else return a()}}if(n.length>0&&pDe.test(n))return a();let m=d.map(H=>H.priority).sort((H,K)=>K-H).filter((H,K,ae)=>ae.indexOf(H)===K).map(H=>d.filter(K=>K.priority===H).sort((K,ae)=>ae.subPriority-K.subPriority)).map(H=>H[0]),h=(0,c7.toDate)(e,r==null?void 0:r.in);if(isNaN(+h))return a();let f={};for(let H of m){if(!H.validate(h,c))return a();let K=H.set(h,f,c);Array.isArray(K)?(h=K[0],Object.assign(f,K[1])):h=K}return h}function fDe(n){return n.match(dDe)[1].replace(uDe,"'")}});var p7=D(u7=>{"use strict";u7.isMatch=vDe;var gDe=Vs(),yDe=HM();function vDe(n,t,e){return(0,gDe.isValid)((0,yDe.parse)(n,t,new Date,e))}});var h7=D(m7=>{"use strict";m7.isMonday=TDe;var bDe=$();function TDe(n,t){return(0,bDe.toDate)(n,t==null?void 0:t.in).getDay()===1}});var g7=D(f7=>{"use strict";f7.isPast=wDe;var kDe=$();function wDe(n){return+(0,kDe.toDate)(n)<Date.now()}});var zM=D(y7=>{"use strict";y7.startOfHour=DDe;var SDe=$();function DDe(n,t){let e=(0,SDe.toDate)(n,t==null?void 0:t.in);return e.setMinutes(0,0,0),e}});var UM=D(b7=>{"use strict";b7.isSameHour=xDe;var EDe=wt(),v7=zM();function xDe(n,t,e){let[r,a]=(0,EDe.normalizeDates)(e==null?void 0:e.in,n,t);return+(0,v7.startOfHour)(r)==+(0,v7.startOfHour)(a)}});var Sk=D(k7=>{"use strict";k7.isSameWeek=PDe;var CDe=wt(),T7=ci();function PDe(n,t,e){let[r,a]=(0,CDe.normalizeDates)(e==null?void 0:e.in,n,t);return+(0,T7.startOfWeek)(r,e)==+(0,T7.startOfWeek)(a,e)}});var WM=D(w7=>{"use strict";w7.isSameISOWeek=ADe;var MDe=Sk();function ADe(n,t,e){return(0,MDe.isSameWeek)(n,t,{...e,weekStartsOn:1})}});var E7=D(D7=>{"use strict";D7.isSameISOWeekYear=_De;var S7=zu(),IDe=wt();function _De(n,t,e){let[r,a]=(0,IDe.normalizeDates)(e==null?void 0:e.in,n,t);return+(0,S7.startOfISOWeekYear)(r)==+(0,S7.startOfISOWeekYear)(a)}});var qM=D(x7=>{"use strict";x7.startOfMinute=RDe;var NDe=$();function RDe(n,t){let e=(0,NDe.toDate)(n,t==null?void 0:t.in);return e.setSeconds(0,0),e}});var VM=D(P7=>{"use strict";P7.isSameMinute=FDe;var C7=qM();function FDe(n,t){return+(0,C7.startOfMinute)(n)==+(0,C7.startOfMinute)(t)}});var $M=D(M7=>{"use strict";M7.isSameMonth=LDe;var ODe=wt();function LDe(n,t,e){let[r,a]=(0,ODe.normalizeDates)(e==null?void 0:e.in,n,t);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}});var YM=D(I7=>{"use strict";I7.isSameQuarter=jDe;var BDe=wt(),A7=dk();function jDe(n,t,e){let[r,a]=(0,BDe.normalizeDates)(e==null?void 0:e.in,n,t);return+(0,A7.startOfQuarter)(r)==+(0,A7.startOfQuarter)(a)}});var GM=D(_7=>{"use strict";_7.startOfSecond=zDe;var HDe=$();function zDe(n,t){let e=(0,HDe.toDate)(n,t==null?void 0:t.in);return e.setMilliseconds(0),e}});var KM=D(R7=>{"use strict";R7.isSameSecond=UDe;var N7=GM();function UDe(n,t){return+(0,N7.startOfSecond)(n)==+(0,N7.startOfSecond)(t)}});var QM=D(F7=>{"use strict";F7.isSameYear=qDe;var WDe=wt();function qDe(n,t,e){let[r,a]=(0,WDe.normalizeDates)(e==null?void 0:e.in,n,t);return r.getFullYear()===a.getFullYear()}});var L7=D(O7=>{"use strict";O7.isThisHour=GDe;var VDe=br(),$De=UM(),YDe=$();function GDe(n,t){return(0,$De.isSameHour)((0,YDe.toDate)(n,t==null?void 0:t.in),(0,VDe.constructNow)((t==null?void 0:t.in)||n))}});var j7=D(B7=>{"use strict";B7.isThisISOWeek=JDe;var KDe=ke(),QDe=br(),ZDe=WM();function JDe(n,t){return(0,ZDe.isSameISOWeek)((0,KDe.constructFrom)((t==null?void 0:t.in)||n,n),(0,QDe.constructNow)((t==null?void 0:t.in)||n))}});var z7=D(H7=>{"use strict";H7.isThisMinute=tEe;var XDe=br(),eEe=VM();function tEe(n){return(0,eEe.isSameMinute)(n,(0,XDe.constructNow)(n))}});var W7=D(U7=>{"use strict";U7.isThisMonth=iEe;var rEe=ke(),nEe=br(),aEe=$M();function iEe(n,t){return(0,aEe.isSameMonth)((0,rEe.constructFrom)((t==null?void 0:t.in)||n,n),(0,nEe.constructNow)((t==null?void 0:t.in)||n))}});var V7=D(q7=>{"use strict";q7.isThisQuarter=cEe;var sEe=ke(),oEe=br(),lEe=YM();function cEe(n,t){return(0,lEe.isSameQuarter)((0,sEe.constructFrom)((t==null?void 0:t.in)||n,n),(0,oEe.constructNow)((t==null?void 0:t.in)||n))}});var Y7=D($7=>{"use strict";$7.isThisSecond=pEe;var dEe=br(),uEe=KM();function pEe(n){return(0,uEe.isSameSecond)(n,(0,dEe.constructNow)(n))}});var K7=D(G7=>{"use strict";G7.isThisWeek=gEe;var mEe=ke(),hEe=br(),fEe=Sk();function gEe(n,t){return(0,fEe.isSameWeek)((0,mEe.constructFrom)((t==null?void 0:t.in)||n,n),(0,hEe.constructNow)((t==null?void 0:t.in)||n),t)}});var Z7=D(Q7=>{"use strict";Q7.isThisYear=TEe;var yEe=ke(),vEe=br(),bEe=QM();function TEe(n,t){return(0,bEe.isSameYear)((0,yEe.constructFrom)((t==null?void 0:t.in)||n,n),(0,vEe.constructNow)((t==null?void 0:t.in)||n))}});var X7=D(J7=>{"use strict";J7.isThursday=wEe;var kEe=$();function wEe(n,t){return(0,kEe.toDate)(n,t==null?void 0:t.in).getDay()===4}});var tQ=D(eQ=>{"use strict";eQ.isToday=xEe;var SEe=ke(),DEe=br(),EEe=Uu();function xEe(n,t){return(0,EEe.isSameDay)((0,SEe.constructFrom)((t==null?void 0:t.in)||n,n),(0,DEe.constructNow)((t==null?void 0:t.in)||n))}});var nQ=D(rQ=>{"use strict";rQ.isTomorrow=AEe;var CEe=Wi(),PEe=br(),MEe=Uu();function AEe(n,t){return(0,MEe.isSameDay)(n,(0,CEe.addDays)((0,PEe.constructNow)((t==null?void 0:t.in)||n),1),t)}});var iQ=D(aQ=>{"use strict";aQ.isTuesday=_Ee;var IEe=$();function _Ee(n,t){return(0,IEe.toDate)(n,t==null?void 0:t.in).getDay()===2}});var oQ=D(sQ=>{"use strict";sQ.isWednesday=REe;var NEe=$();function REe(n,t){return(0,NEe.toDate)(n,t==null?void 0:t.in).getDay()===3}});var cQ=D(lQ=>{"use strict";lQ.isWithinInterval=FEe;var ZM=$();function FEe(n,t,e){let r=+(0,ZM.toDate)(n,e==null?void 0:e.in),[a,i]=[+(0,ZM.toDate)(t.start,e==null?void 0:e.in),+(0,ZM.toDate)(t.end,e==null?void 0:e.in)].sort((s,o)=>s-o);return r>=a&&r<=i}});var Ig=D(dQ=>{"use strict";dQ.subDays=LEe;var OEe=Wi();function LEe(n,t,e){return(0,OEe.addDays)(n,-t,e)}});var pQ=D(uQ=>{"use strict";uQ.isYesterday=UEe;var BEe=ke(),jEe=br(),HEe=Uu(),zEe=Ig();function UEe(n,t){return(0,HEe.isSameDay)((0,BEe.constructFrom)((t==null?void 0:t.in)||n,n),(0,zEe.subDays)((0,jEe.constructNow)((t==null?void 0:t.in)||n),1))}});var fQ=D(hQ=>{"use strict";hQ.lastDayOfDecade=WEe;var mQ=$();function WEe(n,t){let e=(0,mQ.toDate)(n,t==null?void 0:t.in),r=e.getFullYear(),a=9+Math.floor(r/10)*10;return e.setFullYear(a+1,0,0),e.setHours(0,0,0,0),(0,mQ.toDate)(e,t==null?void 0:t.in)}});var JM=D(gQ=>{"use strict";gQ.lastDayOfWeek=$Ee;var qEe=tn(),VEe=$();function $Ee(n,t){var o,l,c,d,u,p,m,h;let e=(0,qEe.getDefaultOptions)(),r=(h=(m=(d=(c=t==null?void 0:t.weekStartsOn)!=null?c:(l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)!=null?d:e.weekStartsOn)!=null?m:(p=(u=e.locale)==null?void 0:u.options)==null?void 0:p.weekStartsOn)!=null?h:0,a=(0,VEe.toDate)(n,t==null?void 0:t.in),i=a.getDay(),s=(i<r?-7:0)+6-(i-r);return a.setHours(0,0,0,0),a.setDate(a.getDate()+s),a}});var vQ=D(yQ=>{"use strict";yQ.lastDayOfISOWeek=GEe;var YEe=JM();function GEe(n,t){return(0,YEe.lastDayOfWeek)(n,{...t,weekStartsOn:1})}});var TQ=D(bQ=>{"use strict";bQ.lastDayOfISOWeekYear=JEe;var KEe=ke(),QEe=$o(),ZEe=qi();function JEe(n,t){let e=(0,QEe.getISOWeekYear)(n,t),r=(0,KEe.constructFrom)((t==null?void 0:t.in)||n,0);r.setFullYear(e+1,0,4),r.setHours(0,0,0,0);let a=(0,ZEe.startOfISOWeek)(r,t);return a.setDate(a.getDate()-1),a}});var wQ=D(kQ=>{"use strict";kQ.lastDayOfQuarter=exe;var XEe=$();function exe(n,t){let e=(0,XEe.toDate)(n,t==null?void 0:t.in),r=e.getMonth(),a=r-r%3+3;return e.setMonth(a,0),e.setHours(0,0,0,0),e}});var DQ=D(SQ=>{"use strict";SQ.lastDayOfYear=rxe;var txe=$();function rxe(n,t){let e=(0,txe.toDate)(n,t==null?void 0:t.in),r=e.getFullYear();return e.setFullYear(r+1,0,0),e.setHours(0,0,0,0),e}});var xQ=D(XM=>{"use strict";XM.lightFormat=cxe;Object.defineProperty(XM,"lightFormatters",{enumerable:!0,get:function(){return EQ.lightFormatters}});var EQ=QP(),nxe=Vs(),axe=$(),ixe=/(\w)\1*|''|'(''|[^'])+('|$)|./g,sxe=/^'([^]*?)'?$/,oxe=/''/g,lxe=/[a-zA-Z]/;function cxe(n,t){let e=(0,axe.toDate)(n);if(!(0,nxe.isValid)(e))throw new RangeError("Invalid time value");let r=t.match(ixe);return r?r.map(i=>{if(i==="''")return"'";let s=i[0];if(s==="'")return dxe(i);let o=EQ.lightFormatters[s];if(o)return o(e,i);if(s.match(lxe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return i}).join(""):""}function dxe(n){let t=n.match(sxe);return t?t[1].replace(oxe,"'"):n}});var MQ=D(PQ=>{"use strict";PQ.milliseconds=uxe;var CQ=ze();function uxe({years:n,months:t,weeks:e,days:r,hours:a,minutes:i,seconds:s}){let o=0;n&&(o+=n*CQ.daysInYear),t&&(o+=t*(CQ.daysInYear/12)),e&&(o+=e*7),r&&(o+=r);let l=o*24*60*60;return a&&(l+=a*60*60),i&&(l+=i*60),s&&(l+=s),Math.trunc(l*1e3)}});var IQ=D(AQ=>{"use strict";AQ.millisecondsToHours=mxe;var pxe=ze();function mxe(n){let t=n/pxe.millisecondsInHour;return Math.trunc(t)}});var NQ=D(_Q=>{"use strict";_Q.millisecondsToMinutes=fxe;var hxe=ze();function fxe(n){let t=n/hxe.millisecondsInMinute;return Math.trunc(t)}});var FQ=D(RQ=>{"use strict";RQ.millisecondsToSeconds=yxe;var gxe=ze();function yxe(n){let t=n/gxe.millisecondsInSecond;return Math.trunc(t)}});var LQ=D(OQ=>{"use strict";OQ.minutesToHours=bxe;var vxe=ze();function bxe(n){let t=n/vxe.minutesInHour;return Math.trunc(t)}});var jQ=D(BQ=>{"use strict";BQ.minutesToMilliseconds=kxe;var Txe=ze();function kxe(n){return Math.trunc(n*Txe.millisecondsInMinute)}});var zQ=D(HQ=>{"use strict";HQ.minutesToSeconds=Sxe;var wxe=ze();function Sxe(n){return Math.trunc(n*wxe.secondsInMinute)}});var WQ=D(UQ=>{"use strict";UQ.monthsToQuarters=Exe;var Dxe=ze();function Exe(n){let t=n/Dxe.monthsInQuarter;return Math.trunc(t)}});var VQ=D(qQ=>{"use strict";qQ.monthsToYears=Cxe;var xxe=ze();function Cxe(n){let t=n/xxe.monthsInYear;return Math.trunc(t)}});var Gs=D($Q=>{"use strict";$Q.nextDay=Axe;var Pxe=Wi(),Mxe=bg();function Axe(n,t,e){let r=t-(0,Mxe.getDay)(n,e);return r<=0&&(r+=7),(0,Pxe.addDays)(n,r,e)}});var GQ=D(YQ=>{"use strict";YQ.nextFriday=_xe;var Ixe=Gs();function _xe(n,t){return(0,Ixe.nextDay)(n,5,t)}});var QQ=D(KQ=>{"use strict";KQ.nextMonday=Rxe;var Nxe=Gs();function Rxe(n,t){return(0,Nxe.nextDay)(n,1,t)}});var JQ=D(ZQ=>{"use strict";ZQ.nextSaturday=Oxe;var Fxe=Gs();function Oxe(n,t){return(0,Fxe.nextDay)(n,6,t)}});var eZ=D(XQ=>{"use strict";XQ.nextSunday=Bxe;var Lxe=Gs();function Bxe(n,t){return(0,Lxe.nextDay)(n,0,t)}});var rZ=D(tZ=>{"use strict";tZ.nextThursday=Hxe;var jxe=Gs();function Hxe(n,t){return(0,jxe.nextDay)(n,4,t)}});var aZ=D(nZ=>{"use strict";nZ.nextTuesday=Uxe;var zxe=Gs();function Uxe(n,t){return(0,zxe.nextDay)(n,2,t)}});var sZ=D(iZ=>{"use strict";iZ.nextWednesday=qxe;var Wxe=Gs();function qxe(n,t){return(0,Wxe.nextDay)(n,3,t)}});var dZ=D(cZ=>{"use strict";cZ.parseISO=$xe;var Ek=ze(),Vxe=ke(),oZ=$();function $xe(n,t){var c;let e=()=>(0,Vxe.constructFrom)(t==null?void 0:t.in,NaN),r=(c=t==null?void 0:t.additionalDigits)!=null?c:2,a=Qxe(n),i;if(a.date){let d=Zxe(a.date,r);i=Jxe(d.restDateString,d.year)}if(!i||isNaN(+i))return e();let s=+i,o=0,l;if(a.time&&(o=Xxe(a.time),isNaN(o)))return e();if(a.timezone){if(l=eCe(a.timezone),isNaN(l))return e()}else{let d=new Date(s+o),u=(0,oZ.toDate)(0,t==null?void 0:t.in);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return(0,oZ.toDate)(s+o+l,t==null?void 0:t.in)}var Dk={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},Yxe=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,Gxe=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,Kxe=/^([+-])(\d{2})(?::?(\d{2}))?$/;function Qxe(n){let t={},e=n.split(Dk.dateTimeDelimiter),r;if(e.length>2)return t;if(/:/.test(e[0])?r=e[0]:(t.date=e[0],r=e[1],Dk.timeZoneDelimiter.test(t.date)&&(t.date=n.split(Dk.timeZoneDelimiter)[0],r=n.substr(t.date.length,n.length))),r){let a=Dk.timezone.exec(r);a?(t.time=r.replace(a[1],""),t.timezone=a[1]):t.time=r}return t}function Zxe(n,t){let e=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=n.match(e);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:i===null?a:i*100,restDateString:n.slice((r[1]||r[2]).length)}}function Jxe(n,t){if(t===null)return new Date(NaN);let e=n.match(Yxe);if(!e)return new Date(NaN);let r=!!e[4],a=_g(e[1]),i=_g(e[2])-1,s=_g(e[3]),o=_g(e[4]),l=_g(e[5])-1;if(r)return iCe(t,o,l)?tCe(t,o,l):new Date(NaN);{let c=new Date(0);return!nCe(t,i,s)||!aCe(t,a)?new Date(NaN):(c.setUTCFullYear(t,i,Math.max(a,s)),c)}}function _g(n){return n?parseInt(n):1}function Xxe(n){let t=n.match(Gxe);if(!t)return NaN;let e=eA(t[1]),r=eA(t[2]),a=eA(t[3]);return sCe(e,r,a)?e*Ek.millisecondsInHour+r*Ek.millisecondsInMinute+a*1e3:NaN}function eA(n){return n&&parseFloat(n.replace(",","."))||0}function eCe(n){if(n==="Z")return 0;let t=n.match(Kxe);if(!t)return 0;let e=t[1]==="+"?-1:1,r=parseInt(t[2]),a=t[3]&&parseInt(t[3])||0;return oCe(r,a)?e*(r*Ek.millisecondsInHour+a*Ek.millisecondsInMinute):NaN}function tCe(n,t,e){let r=new Date(0);r.setUTCFullYear(n,0,4);let a=r.getUTCDay()||7,i=(t-1)*7+e+1-a;return r.setUTCDate(r.getUTCDate()+i),r}var rCe=[31,null,31,30,31,30,31,31,30,31,30,31];function lZ(n){return n%400===0||n%4===0&&n%100!==0}function nCe(n,t,e){return t>=0&&t<=11&&e>=1&&e<=(rCe[t]||(lZ(n)?29:28))}function aCe(n,t){return t>=1&&t<=(lZ(n)?366:365)}function iCe(n,t,e){return t>=1&&t<=53&&e>=0&&e<=6}function sCe(n,t,e){return n===24?t===0&&e===0:e>=0&&e<60&&t>=0&&t<60&&n>=0&&n<25}function oCe(n,t){return t>=0&&t<=59}});var mZ=D(pZ=>{"use strict";pZ.parseJSON=lCe;var uZ=$();function lCe(n,t){let e=n.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return e?(0,uZ.toDate)(Date.UTC(+e[1],+e[2]-1,+e[3],+e[4]-(+e[9]||0)*(e[8]=="-"?-1:1),+e[5]-(+e[10]||0)*(e[8]=="-"?-1:1),+e[6],+((e[7]||"0")+"00").substring(0,3)),t==null?void 0:t.in):(0,uZ.toDate)(NaN,t==null?void 0:t.in)}});var Ks=D(hZ=>{"use strict";hZ.previousDay=uCe;var cCe=bg(),dCe=Ig();function uCe(n,t,e){let r=(0,cCe.getDay)(n,e)-t;return r<=0&&(r+=7),(0,dCe.subDays)(n,r,e)}});var gZ=D(fZ=>{"use strict";fZ.previousFriday=mCe;var pCe=Ks();function mCe(n,t){return(0,pCe.previousDay)(n,5,t)}});var vZ=D(yZ=>{"use strict";yZ.previousMonday=fCe;var hCe=Ks();function fCe(n,t){return(0,hCe.previousDay)(n,1,t)}});var TZ=D(bZ=>{"use strict";bZ.previousSaturday=yCe;var gCe=Ks();function yCe(n,t){return(0,gCe.previousDay)(n,6,t)}});var wZ=D(kZ=>{"use strict";kZ.previousSunday=bCe;var vCe=Ks();function bCe(n,t){return(0,vCe.previousDay)(n,0,t)}});var DZ=D(SZ=>{"use strict";SZ.previousThursday=kCe;var TCe=Ks();function kCe(n,t){return(0,TCe.previousDay)(n,4,t)}});var xZ=D(EZ=>{"use strict";EZ.previousTuesday=SCe;var wCe=Ks();function SCe(n,t){return(0,wCe.previousDay)(n,2,t)}});var PZ=D(CZ=>{"use strict";CZ.previousWednesday=ECe;var DCe=Ks();function ECe(n,t){return(0,DCe.previousDay)(n,3,t)}});var AZ=D(MZ=>{"use strict";MZ.quartersToMonths=CCe;var xCe=ze();function CCe(n){return Math.trunc(n*xCe.monthsInQuarter)}});var _Z=D(IZ=>{"use strict";IZ.quartersToYears=MCe;var PCe=ze();function MCe(n){let t=n/PCe.quartersInYear;return Math.trunc(t)}});var RZ=D(NZ=>{"use strict";NZ.roundToNearestHours=NCe;var ACe=$s(),ICe=ke(),_Ce=$();function NCe(n,t){var u,p;let e=(u=t==null?void 0:t.nearestTo)!=null?u:1;if(e<1||e>12)return(0,ICe.constructFrom)((t==null?void 0:t.in)||n,NaN);let r=(0,_Ce.toDate)(n,t==null?void 0:t.in),a=r.getMinutes()/60,i=r.getSeconds()/60/60,s=r.getMilliseconds()/1e3/60/60,o=r.getHours()+a+i+s,l=(p=t==null?void 0:t.roundingMethod)!=null?p:"round",d=(0,ACe.getRoundingMethod)(l)(o/e)*e;return r.setHours(d,0,0,0),r}});var OZ=D(FZ=>{"use strict";FZ.roundToNearestMinutes=LCe;var RCe=$s(),FCe=ke(),OCe=$();function LCe(n,t){var d,u;let e=(d=t==null?void 0:t.nearestTo)!=null?d:1;if(e<1||e>30)return(0,FCe.constructFrom)(n,NaN);let r=(0,OCe.toDate)(n,t==null?void 0:t.in),a=r.getSeconds()/60,i=r.getMilliseconds()/1e3/60,s=r.getMinutes()+a+i,o=(u=t==null?void 0:t.roundingMethod)!=null?u:"round",c=(0,RCe.getRoundingMethod)(o)(s/e)*e;return r.setMinutes(c,0,0),r}});var BZ=D(LZ=>{"use strict";LZ.secondsToHours=jCe;var BCe=ze();function jCe(n){let t=n/BCe.secondsInHour;return Math.trunc(t)}});var HZ=D(jZ=>{"use strict";jZ.secondsToMilliseconds=zCe;var HCe=ze();function zCe(n){return n*HCe.millisecondsInSecond}});var UZ=D(zZ=>{"use strict";zZ.secondsToMinutes=WCe;var UCe=ze();function WCe(n){let t=n/UCe.secondsInMinute;return Math.trunc(t)}});var xk=D(WZ=>{"use strict";WZ.setMonth=YCe;var qCe=ke(),VCe=o0(),$Ce=$();function YCe(n,t,e){let r=(0,$Ce.toDate)(n,e==null?void 0:e.in),a=r.getFullYear(),i=r.getDate(),s=(0,qCe.constructFrom)((e==null?void 0:e.in)||n,0);s.setFullYear(a,t,15),s.setHours(0,0,0,0);let o=(0,VCe.getDaysInMonth)(s);return r.setMonth(t,Math.min(i,o)),r}});var VZ=D(qZ=>{"use strict";qZ.set=ZCe;var GCe=ke(),KCe=xk(),QCe=$();function ZCe(n,t,e){let r=(0,QCe.toDate)(n,e==null?void 0:e.in);return isNaN(+r)?(0,GCe.constructFrom)((e==null?void 0:e.in)||n,NaN):(t.year!=null&&r.setFullYear(t.year),t.month!=null&&(r=(0,KCe.setMonth)(r,t.month)),t.date!=null&&r.setDate(t.date),t.hours!=null&&r.setHours(t.hours),t.minutes!=null&&r.setMinutes(t.minutes),t.seconds!=null&&r.setSeconds(t.seconds),t.milliseconds!=null&&r.setMilliseconds(t.milliseconds),r)}});var YZ=D($Z=>{"use strict";$Z.setDate=XCe;var JCe=$();function XCe(n,t,e){let r=(0,JCe.toDate)(n,e==null?void 0:e.in);return r.setDate(t),r}});var KZ=D(GZ=>{"use strict";GZ.setDayOfYear=tPe;var ePe=$();function tPe(n,t,e){let r=(0,ePe.toDate)(n,e==null?void 0:e.in);return r.setMonth(0),r.setDate(t),r}});var JZ=D(ZZ=>{"use strict";ZZ.setDefaultOptions=rPe;var QZ=tn();function rPe(n){let t={},e=(0,QZ.getDefaultOptions)();for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);for(let r in n)Object.prototype.hasOwnProperty.call(n,r)&&(n[r]===void 0?delete t[r]:t[r]=n[r]);(0,QZ.setDefaultOptions)(t)}});var eJ=D(XZ=>{"use strict";XZ.setHours=aPe;var nPe=$();function aPe(n,t,e){let r=(0,nPe.toDate)(n,e==null?void 0:e.in);return r.setHours(t),r}});var rJ=D(tJ=>{"use strict";tJ.setMilliseconds=sPe;var iPe=$();function sPe(n,t,e){let r=(0,iPe.toDate)(n,e==null?void 0:e.in);return r.setMilliseconds(t),r}});var aJ=D(nJ=>{"use strict";nJ.setMinutes=lPe;var oPe=$();function lPe(n,t,e){let r=(0,oPe.toDate)(n,e==null?void 0:e.in);return r.setMinutes(t),r}});var sJ=D(iJ=>{"use strict";iJ.setQuarter=uPe;var cPe=xk(),dPe=$();function uPe(n,t,e){let r=(0,dPe.toDate)(n,e==null?void 0:e.in),a=Math.trunc(r.getMonth()/3)+1,i=t-a;return(0,cPe.setMonth)(r,r.getMonth()+i*3)}});var lJ=D(oJ=>{"use strict";oJ.setSeconds=mPe;var pPe=$();function mPe(n,t,e){let r=(0,pPe.toDate)(n,e==null?void 0:e.in);return r.setSeconds(t),r}});var uJ=D(dJ=>{"use strict";dJ.setWeekYear=vPe;var hPe=tn(),fPe=ke(),gPe=qs(),cJ=gk(),yPe=$();function vPe(n,t,e){var l,c,d,u,p,m,h,f;let r=(0,hPe.getDefaultOptions)(),a=(f=(h=(u=(d=e==null?void 0:e.firstWeekContainsDate)!=null?d:(c=(l=e==null?void 0:e.locale)==null?void 0:l.options)==null?void 0:c.firstWeekContainsDate)!=null?u:r.firstWeekContainsDate)!=null?h:(m=(p=r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)!=null?f:1,i=(0,gPe.differenceInCalendarDays)((0,yPe.toDate)(n,e==null?void 0:e.in),(0,cJ.startOfWeekYear)(n,e),e),s=(0,fPe.constructFrom)((e==null?void 0:e.in)||n,0);s.setFullYear(t,0,a),s.setHours(0,0,0,0);let o=(0,cJ.startOfWeekYear)(s,e);return o.setDate(o.getDate()+i),o}});var mJ=D(pJ=>{"use strict";pJ.setYear=kPe;var bPe=ke(),TPe=$();function kPe(n,t,e){let r=(0,TPe.toDate)(n,e==null?void 0:e.in);return isNaN(+r)?(0,bPe.constructFrom)((e==null?void 0:e.in)||n,NaN):(r.setFullYear(t),r)}});var fJ=D(hJ=>{"use strict";hJ.startOfDecade=SPe;var wPe=$();function SPe(n,t){let e=(0,wPe.toDate)(n,t==null?void 0:t.in),r=e.getFullYear(),a=Math.floor(r/10)*10;return e.setFullYear(a,0,1),e.setHours(0,0,0,0),e}});var yJ=D(gJ=>{"use strict";gJ.startOfToday=EPe;var DPe=dg();function EPe(n){return(0,DPe.startOfDay)(Date.now(),n)}});var bJ=D(vJ=>{"use strict";vJ.startOfTomorrow=PPe;var xPe=ke(),CPe=br();function PPe(n){let t=(0,CPe.constructNow)(n==null?void 0:n.in),e=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=(0,xPe.constructFrom)(n==null?void 0:n.in,0);return i.setFullYear(e,r,a+1),i.setHours(0,0,0,0),i}});var wJ=D(kJ=>{"use strict";kJ.startOfYesterday=MPe;var TJ=br();function MPe(n){let t=(0,TJ.constructNow)(n==null?void 0:n.in),e=t.getFullYear(),r=t.getMonth(),a=t.getDate(),i=(0,TJ.constructNow)(n==null?void 0:n.in);return i.setFullYear(e,r,a-1),i.setHours(0,0,0,0),i}});var tA=D(SJ=>{"use strict";SJ.subMonths=IPe;var APe=Hu();function IPe(n,t,e){return(0,APe.addMonths)(n,-t,e)}});var EJ=D(DJ=>{"use strict";DJ.sub=FPe;var _Pe=ke(),NPe=Ig(),RPe=tA();function FPe(n,t,e){let{years:r=0,months:a=0,weeks:i=0,days:s=0,hours:o=0,minutes:l=0,seconds:c=0}=t,d=(0,RPe.subMonths)(n,a+r*12,e),u=(0,NPe.subDays)(d,s+i*7,e),p=l+o*60,h=(c+p*60)*1e3;return(0,_Pe.constructFrom)((e==null?void 0:e.in)||n,+u-h)}});var CJ=D(xJ=>{"use strict";xJ.subBusinessDays=LPe;var OPe=TP();function LPe(n,t,e){return(0,OPe.addBusinessDays)(n,-t,e)}});var MJ=D(PJ=>{"use strict";PJ.subHours=jPe;var BPe=kP();function jPe(n,t,e){return(0,BPe.addHours)(n,-t,e)}});var IJ=D(AJ=>{"use strict";AJ.subMilliseconds=zPe;var HPe=cg();function zPe(n,t,e){return(0,HPe.addMilliseconds)(n,-t,e)}});var NJ=D(_J=>{"use strict";_J.subMinutes=WPe;var UPe=JT();function WPe(n,t,e){return(0,UPe.addMinutes)(n,-t,e)}});var FJ=D(RJ=>{"use strict";RJ.subQuarters=VPe;var qPe=XT();function VPe(n,t,e){return(0,qPe.addQuarters)(n,-t,e)}});var LJ=D(OJ=>{"use strict";OJ.subSeconds=YPe;var $Pe=EP();function YPe(n,t,e){return(0,$Pe.addSeconds)(n,-t,e)}});var jJ=D(BJ=>{"use strict";BJ.subWeeks=KPe;var GPe=ug();function KPe(n,t,e){return(0,GPe.addWeeks)(n,-t,e)}});var zJ=D(HJ=>{"use strict";HJ.subYears=ZPe;var QPe=xP();function ZPe(n,t,e){return(0,QPe.addYears)(n,-t,e)}});var WJ=D(UJ=>{"use strict";UJ.weeksToDays=XPe;var JPe=ze();function XPe(n){return Math.trunc(n*JPe.daysInWeek)}});var VJ=D(qJ=>{"use strict";qJ.yearsToDays=t0e;var e0e=ze();function t0e(n){return Math.trunc(n*e0e.daysInYear)}});var YJ=D($J=>{"use strict";$J.yearsToMonths=n0e;var r0e=ze();function n0e(n){return Math.trunc(n*r0e.monthsInYear)}});var KJ=D(GJ=>{"use strict";GJ.yearsToQuarters=i0e;var a0e=ze();function i0e(n){return Math.trunc(n*a0e.quartersInYear)}});var IR=D(y=>{"use strict";var rA=gP();Object.keys(rA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===rA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return rA[n]}})});var nA=TP();Object.keys(nA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===nA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return nA[n]}})});var aA=Wi();Object.keys(aA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===aA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return aA[n]}})});var iA=kP();Object.keys(iA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===iA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return iA[n]}})});var sA=DP();Object.keys(sA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===sA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return sA[n]}})});var oA=cg();Object.keys(oA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===oA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return oA[n]}})});var lA=JT();Object.keys(lA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===lA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return lA[n]}})});var cA=Hu();Object.keys(cA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===cA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return cA[n]}})});var dA=XT();Object.keys(dA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===dA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return dA[n]}})});var uA=EP();Object.keys(uA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===uA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return uA[n]}})});var pA=ug();Object.keys(pA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===pA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return pA[n]}})});var mA=xP();Object.keys(mA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===mA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return mA[n]}})});var hA=G4();Object.keys(hA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===hA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return hA[n]}})});var fA=e6();Object.keys(fA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===fA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return fA[n]}})});var gA=MP();Object.keys(gA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===gA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return gA[n]}})});var yA=a6();Object.keys(yA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===yA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return yA[n]}})});var vA=Oc();Object.keys(vA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===vA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return vA[n]}})});var bA=c6();Object.keys(bA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===bA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return bA[n]}})});var TA=ke();Object.keys(TA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===TA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return TA[n]}})});var kA=br();Object.keys(kA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===kA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return kA[n]}})});var wA=p6();Object.keys(wA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===wA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return wA[n]}})});var SA=T6();Object.keys(SA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===SA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return SA[n]}})});var DA=qs();Object.keys(DA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===DA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return DA[n]}})});var EA=IP();Object.keys(EA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===EA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return EA[n]}})});var xA=x6();Object.keys(xA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===xA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return xA[n]}})});var CA=tk();Object.keys(CA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===CA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return CA[n]}})});var PA=NP();Object.keys(PA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===PA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return PA[n]}})});var MA=rk();Object.keys(MA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===MA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return MA[n]}})});var AA=nk();Object.keys(AA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===AA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return AA[n]}})});var IA=ak();Object.keys(IA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===IA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return IA[n]}})});var _A=ik();Object.keys(_A).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===_A[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return _A[n]}})});var NA=U6();Object.keys(NA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===NA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return NA[n]}})});var RA=sk();Object.keys(RA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===RA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return RA[n]}})});var FA=ok();Object.keys(FA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===FA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return FA[n]}})});var OA=pg();Object.keys(OA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===OA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return OA[n]}})});var LA=Z6();Object.keys(LA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===LA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return LA[n]}})});var BA=mg();Object.keys(BA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===BA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return BA[n]}})});var jA=e5();Object.keys(jA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===jA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return jA[n]}})});var HA=LP();Object.keys(HA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===HA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return HA[n]}})});var zA=BP();Object.keys(zA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===zA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return zA[n]}})});var UA=s5();Object.keys(UA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===UA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return UA[n]}})});var WA=l5();Object.keys(WA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===WA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return WA[n]}})});var qA=d5();Object.keys(qA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===qA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return qA[n]}})});var VA=m5();Object.keys(VA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===VA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return VA[n]}})});var $A=f5();Object.keys($A).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===$A[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return $A[n]}})});var YA=mk();Object.keys(YA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===YA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return YA[n]}})});var GA=b5();Object.keys(GA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===GA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return GA[n]}})});var KA=S5();Object.keys(KA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===KA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return KA[n]}})});var QA=E5();Object.keys(QA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===QA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return QA[n]}})});var ZA=lk();Object.keys(ZA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===ZA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return ZA[n]}})});var JA=C5();Object.keys(JA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===JA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return JA[n]}})});var XA=M5();Object.keys(XA).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===XA[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return XA[n]}})});var eI=_5();Object.keys(eI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===eI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return eI[n]}})});var tI=R5();Object.keys(tI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===tI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return tI[n]}})});var rI=O5();Object.keys(rI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===rI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return rI[n]}})});var nI=ck();Object.keys(nI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===nI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return nI[n]}})});var aI=B5();Object.keys(aI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===aI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return aI[n]}})});var iI=H5();Object.keys(iI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===iI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return iI[n]}})});var sI=U5();Object.keys(sI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===sI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return sI[n]}})});var oI=V5();Object.keys(oI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===oI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return oI[n]}})});var lI=HP();Object.keys(lI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===lI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return lI[n]}})});var cI=jP();Object.keys(cI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===cI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return cI[n]}})});var dI=Y5();Object.keys(dI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===dI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return dI[n]}})});var uI=n0();Object.keys(uI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===uI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return uI[n]}})});var pI=a0();Object.keys(pI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===pI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return pI[n]}})});var mI=i0();Object.keys(mI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===mI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return mI[n]}})});var hI=PK();Object.keys(hI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===hI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return hI[n]}})});var fI=AK();Object.keys(fI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===fI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return fI[n]}})});var gI=_K();Object.keys(gI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===gI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return gI[n]}})});var yI=RK();Object.keys(yI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===yI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return yI[n]}})});var vI=OK();Object.keys(vI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===vI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return vI[n]}})});var bI=BK();Object.keys(bI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===bI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return bI[n]}})});var TI=HK();Object.keys(TI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===TI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return TI[n]}})});var kI=UK();Object.keys(kI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===kI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return kI[n]}})});var wI=qK();Object.keys(wI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===wI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return wI[n]}})});var SI=$K();Object.keys(SI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===SI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return SI[n]}})});var DI=s0();Object.keys(DI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===DI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return DI[n]}})});var EI=bg();Object.keys(EI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===EI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return EI[n]}})});var xI=GP();Object.keys(xI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===xI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return xI[n]}})});var CI=o0();Object.keys(CI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===CI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return CI[n]}})});var PI=JK();Object.keys(PI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===PI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return PI[n]}})});var MI=e8();Object.keys(MI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===MI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return MI[n]}})});var AI=c0();Object.keys(AI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===AI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return AI[n]}})});var II=n8();Object.keys(II).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===II[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return II[n]}})});var _I=d0();Object.keys(_I).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===_I[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return _I[n]}})});var NI=fk();Object.keys(NI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===NI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return NI[n]}})});var RI=$o();Object.keys(RI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===RI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return RI[n]}})});var FI=o8();Object.keys(FI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===FI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return FI[n]}})});var OI=c8();Object.keys(OI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===OI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return OI[n]}})});var LI=u8();Object.keys(LI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===LI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return LI[n]}})});var BI=m8();Object.keys(BI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===BI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return BI[n]}})});var jI=g8();Object.keys(jI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===jI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return jI[n]}})});var HI=_P();Object.keys(HI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===HI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return HI[n]}})});var zI=v8();Object.keys(zI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===zI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return zI[n]}})});var UI=T8();Object.keys(UI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===UI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return UI[n]}})});var WI=w8();Object.keys(WI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===WI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return WI[n]}})});var qI=yk();Object.keys(qI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===qI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return qI[n]}})});var VI=D8();Object.keys(VI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===VI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return VI[n]}})});var $I=yg();Object.keys($I).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===$I[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return $I[n]}})});var YI=P8();Object.keys(YI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===YI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return YI[n]}})});var GI=A8();Object.keys(GI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===GI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return GI[n]}})});var KI=_8();Object.keys(KI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===KI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return KI[n]}})});var QI=R8();Object.keys(QI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===QI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return QI[n]}})});var ZI=O8();Object.keys(ZI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===ZI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return ZI[n]}})});var JI=B8();Object.keys(JI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===JI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return JI[n]}})});var XI=H8();Object.keys(XI).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===XI[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return XI[n]}})});var e_=U8();Object.keys(e_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===e_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return e_[n]}})});var t_=G8();Object.keys(t_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===t_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return t_[n]}})});var r_=Z8();Object.keys(r_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===r_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return r_[n]}})});var n_=e9();Object.keys(n_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===n_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return n_[n]}})});var a_=AP();Object.keys(a_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===a_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return a_[n]}})});var i_=n9();Object.keys(i_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===i_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return i_[n]}})});var s_=i9();Object.keys(s_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===s_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return s_[n]}})});var o_=o9();Object.keys(o_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===o_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return o_[n]}})});var l_=c9();Object.keys(l_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===l_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return l_[n]}})});var c_=u9();Object.keys(c_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===c_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return c_[n]}})});var d_=FP();Object.keys(d_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===d_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return d_[n]}})});var u_=l0();Object.keys(u_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===u_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return u_[n]}})});var p_=p7();Object.keys(p_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===p_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return p_[n]}})});var m_=h7();Object.keys(m_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===m_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return m_[n]}})});var h_=g7();Object.keys(h_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===h_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return h_[n]}})});var f_=Uu();Object.keys(f_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===f_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return f_[n]}})});var g_=UM();Object.keys(g_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===g_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return g_[n]}})});var y_=WM();Object.keys(y_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===y_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return y_[n]}})});var v_=E7();Object.keys(v_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===v_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return v_[n]}})});var b_=VM();Object.keys(b_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===b_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return b_[n]}})});var T_=$M();Object.keys(T_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===T_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return T_[n]}})});var k_=YM();Object.keys(k_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===k_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return k_[n]}})});var w_=KM();Object.keys(w_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===w_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return w_[n]}})});var S_=Sk();Object.keys(S_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===S_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return S_[n]}})});var D_=QM();Object.keys(D_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===D_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return D_[n]}})});var E_=yP();Object.keys(E_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===E_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return E_[n]}})});var x_=vP();Object.keys(x_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===x_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return x_[n]}})});var C_=L7();Object.keys(C_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===C_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return C_[n]}})});var P_=j7();Object.keys(P_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===P_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return P_[n]}})});var M_=z7();Object.keys(M_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===M_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return M_[n]}})});var A_=W7();Object.keys(A_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===A_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return A_[n]}})});var I_=V7();Object.keys(I_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===I_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return I_[n]}})});var __=Y7();Object.keys(__).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===__[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return __[n]}})});var N_=K7();Object.keys(N_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===N_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return N_[n]}})});var R_=Z7();Object.keys(R_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===R_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return R_[n]}})});var F_=X7();Object.keys(F_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===F_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return F_[n]}})});var O_=tQ();Object.keys(O_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===O_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return O_[n]}})});var L_=nQ();Object.keys(L_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===L_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return L_[n]}})});var B_=iQ();Object.keys(B_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===B_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return B_[n]}})});var j_=Vs();Object.keys(j_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===j_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return j_[n]}})});var H_=oQ();Object.keys(H_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===H_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return H_[n]}})});var z_=lg();Object.keys(z_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===z_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return z_[n]}})});var U_=cQ();Object.keys(U_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===U_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return U_[n]}})});var W_=pQ();Object.keys(W_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===W_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return W_[n]}})});var q_=fQ();Object.keys(q_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===q_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return q_[n]}})});var V_=vQ();Object.keys(V_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===V_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return V_[n]}})});var $_=TQ();Object.keys($_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===$_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return $_[n]}})});var Y_=u0();Object.keys(Y_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===Y_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return Y_[n]}})});var G_=wQ();Object.keys(G_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===G_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return G_[n]}})});var K_=JM();Object.keys(K_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===K_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return K_[n]}})});var Q_=DQ();Object.keys(Q_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===Q_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return Q_[n]}})});var Z_=xQ();Object.keys(Z_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===Z_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return Z_[n]}})});var J_=CP();Object.keys(J_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===J_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return J_[n]}})});var X_=MQ();Object.keys(X_).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===X_[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return X_[n]}})});var eN=IQ();Object.keys(eN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===eN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return eN[n]}})});var tN=NQ();Object.keys(tN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===tN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return tN[n]}})});var rN=FQ();Object.keys(rN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===rN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return rN[n]}})});var nN=PP();Object.keys(nN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===nN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return nN[n]}})});var aN=LQ();Object.keys(aN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===aN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return aN[n]}})});var iN=jQ();Object.keys(iN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===iN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return iN[n]}})});var sN=zQ();Object.keys(sN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===sN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return sN[n]}})});var oN=WQ();Object.keys(oN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===oN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return oN[n]}})});var lN=VQ();Object.keys(lN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===lN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return lN[n]}})});var cN=Gs();Object.keys(cN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===cN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return cN[n]}})});var dN=GQ();Object.keys(dN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===dN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return dN[n]}})});var uN=QQ();Object.keys(uN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===uN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return uN[n]}})});var pN=JQ();Object.keys(pN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===pN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return pN[n]}})});var mN=eZ();Object.keys(mN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===mN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return mN[n]}})});var hN=rZ();Object.keys(hN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===hN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return hN[n]}})});var fN=aZ();Object.keys(fN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===fN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return fN[n]}})});var gN=sZ();Object.keys(gN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===gN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return gN[n]}})});var yN=HM();Object.keys(yN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===yN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return yN[n]}})});var vN=dZ();Object.keys(vN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===vN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return vN[n]}})});var bN=mZ();Object.keys(bN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===bN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return bN[n]}})});var TN=Ks();Object.keys(TN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===TN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return TN[n]}})});var kN=gZ();Object.keys(kN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===kN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return kN[n]}})});var wN=vZ();Object.keys(wN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===wN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return wN[n]}})});var SN=TZ();Object.keys(SN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===SN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return SN[n]}})});var DN=wZ();Object.keys(DN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===DN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return DN[n]}})});var EN=DZ();Object.keys(EN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===EN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return EN[n]}})});var xN=xZ();Object.keys(xN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===xN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return xN[n]}})});var CN=PZ();Object.keys(CN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===CN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return CN[n]}})});var PN=AZ();Object.keys(PN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===PN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return PN[n]}})});var MN=_Z();Object.keys(MN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===MN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return MN[n]}})});var AN=RZ();Object.keys(AN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===AN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return AN[n]}})});var IN=OZ();Object.keys(IN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===IN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return IN[n]}})});var _N=BZ();Object.keys(_N).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===_N[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return _N[n]}})});var NN=HZ();Object.keys(NN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===NN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return NN[n]}})});var RN=UZ();Object.keys(RN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===RN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return RN[n]}})});var FN=VZ();Object.keys(FN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===FN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return FN[n]}})});var ON=YZ();Object.keys(ON).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===ON[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return ON[n]}})});var LN=Eg();Object.keys(LN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===LN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return LN[n]}})});var BN=KZ();Object.keys(BN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===BN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return BN[n]}})});var jN=JZ();Object.keys(jN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===jN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return jN[n]}})});var HN=eJ();Object.keys(HN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===HN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return HN[n]}})});var zN=oM();Object.keys(zN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===zN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return zN[n]}})});var UN=q0();Object.keys(UN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===UN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return UN[n]}})});var WN=SP();Object.keys(WN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===WN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return WN[n]}})});var qN=rJ();Object.keys(qN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===qN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return qN[n]}})});var VN=aJ();Object.keys(VN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===VN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return VN[n]}})});var $N=xk();Object.keys($N).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===$N[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return $N[n]}})});var YN=sJ();Object.keys(YN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===YN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return YN[n]}})});var GN=lJ();Object.keys(GN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===GN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return GN[n]}})});var KN=z0();Object.keys(KN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===KN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return KN[n]}})});var QN=uJ();Object.keys(QN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===QN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return QN[n]}})});var ZN=mJ();Object.keys(ZN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===ZN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return ZN[n]}})});var JN=dg();Object.keys(JN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===JN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return JN[n]}})});var XN=fJ();Object.keys(XN).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===XN[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return XN[n]}})});var eR=zM();Object.keys(eR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===eR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return eR[n]}})});var tR=qi();Object.keys(tR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===tR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return tR[n]}})});var rR=zu();Object.keys(rR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===rR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return rR[n]}})});var nR=qM();Object.keys(nR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===nR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return nR[n]}})});var aR=hg();Object.keys(aR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===aR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return aR[n]}})});var iR=dk();Object.keys(iR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===iR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return iR[n]}})});var sR=GM();Object.keys(sR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===sR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return sR[n]}})});var oR=yJ();Object.keys(oR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===oR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return oR[n]}})});var lR=bJ();Object.keys(lR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===lR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return lR[n]}})});var cR=ci();Object.keys(cR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===cR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return cR[n]}})});var dR=gk();Object.keys(dR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===dR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return dR[n]}})});var uR=hk();Object.keys(uR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===uR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return uR[n]}})});var pR=wJ();Object.keys(pR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===pR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return pR[n]}})});var mR=EJ();Object.keys(mR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===mR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return mR[n]}})});var hR=CJ();Object.keys(hR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===hR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return hR[n]}})});var fR=Ig();Object.keys(fR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===fR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return fR[n]}})});var gR=MJ();Object.keys(gR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===gR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return gR[n]}})});var yR=RP();Object.keys(yR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===yR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return yR[n]}})});var vR=IJ();Object.keys(vR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===vR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return vR[n]}})});var bR=NJ();Object.keys(bR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===bR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return bR[n]}})});var TR=tA();Object.keys(TR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===TR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return TR[n]}})});var kR=FJ();Object.keys(kR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===kR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return kR[n]}})});var wR=LJ();Object.keys(wR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===wR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return wR[n]}})});var SR=jJ();Object.keys(SR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===SR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return SR[n]}})});var DR=zJ();Object.keys(DR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===DR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return DR[n]}})});var ER=$();Object.keys(ER).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===ER[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return ER[n]}})});var xR=g0();Object.keys(xR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===xR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return xR[n]}})});var CR=WJ();Object.keys(CR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===CR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return CR[n]}})});var PR=VJ();Object.keys(PR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===PR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return PR[n]}})});var MR=YJ();Object.keys(MR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===MR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return MR[n]}})});var AR=KJ();Object.keys(AR).forEach(function(n){n==="default"||n==="__esModule"||n in y&&y[n]===AR[n]||Object.defineProperty(y,n,{enumerable:!0,get:function(){return AR[n]}})})});var ZJ={};Be(ZJ,{TaskSelectionService:()=>_R});var _R,JJ=b(()=>{_R=class{constructor(t){this.selectedTaskPaths=new Set;this.lastSelectedPath=null;this.primarySelectedPath=null;this.selectionModeActive=!1;this.selectionModeListeners=[];this.selectionChangeListeners=[];this.plugin=t}isSelectionModeActive(){return this.selectionModeActive}enterSelectionMode(){this.selectionModeActive||(this.selectionModeActive=!0,this.notifySelectionModeChange(!0))}exitSelectionMode(t=!1){this.selectionModeActive&&(this.selectionModeActive=!1,t&&this.clearSelection(),this.notifySelectionModeChange(!1))}toggleSelectionMode(){this.selectionModeActive?this.exitSelectionMode():this.enterSelectionMode()}isSelected(t){return this.selectedTaskPaths.has(t)}toggleSelection(t){this.selectedTaskPaths.has(t)?(this.selectedTaskPaths.delete(t),this.primarySelectedPath===t&&(this.primarySelectedPath=this.selectedTaskPaths.size>0?Array.from(this.selectedTaskPaths)[0]:null)):(this.selectedTaskPaths.size===0&&(this.primarySelectedPath=t),this.selectedTaskPaths.add(t)),this.lastSelectedPath=t,this.selectedTaskPaths.size>0&&!this.selectionModeActive&&this.enterSelectionMode(),this.selectedTaskPaths.size===0&&this.selectionModeActive&&this.exitSelectionMode(),this.notifySelectionChange()}selectTask(t){this.selectedTaskPaths.clear(),this.selectedTaskPaths.add(t),this.lastSelectedPath=t,this.primarySelectedPath=t,this.notifySelectionChange()}addToSelection(t){this.selectedTaskPaths.size===0&&(this.primarySelectedPath=t),this.selectedTaskPaths.add(t),this.lastSelectedPath=t,this.notifySelectionChange()}removeFromSelection(t){this.selectedTaskPaths.delete(t),this.notifySelectionChange()}selectRange(t,e){if(!this.lastSelectedPath){this.selectTask(t);return}let r=e.indexOf(this.lastSelectedPath),a=e.indexOf(t);if(r===-1||a===-1){this.toggleSelection(t);return}let i=Math.min(r,a),s=Math.max(r,a);for(let o=i;o<=s;o++)this.selectedTaskPaths.add(e[o]);this.lastSelectedPath=t,this.notifySelectionChange()}selectAll(t){this.selectedTaskPaths.size===0&&t.length>0&&(this.primarySelectedPath=t[0]);for(let e of t)this.selectedTaskPaths.add(e);t.length>0&&(this.lastSelectedPath=t[t.length-1]),this.notifySelectionChange()}clearSelection(){this.selectedTaskPaths.clear(),this.lastSelectedPath=null,this.primarySelectedPath=null,this.notifySelectionChange()}getSelectedPaths(){return Array.from(this.selectedTaskPaths)}getPrimarySelectedPath(){return this.primarySelectedPath}getSelectionCount(){return this.selectedTaskPaths.size}async getSelectedTasks(){let t=[];for(let e of this.selectedTaskPaths){let r=await this.plugin.cacheManager.getTaskInfo(e);r&&t.push(r)}return t}onSelectionModeChange(t){return this.selectionModeListeners.push(t),()=>{let e=this.selectionModeListeners.indexOf(t);e!==-1&&this.selectionModeListeners.splice(e,1)}}onSelectionChange(t){return this.selectionChangeListeners.push(t),()=>{let e=this.selectionChangeListeners.indexOf(t);e!==-1&&this.selectionChangeListeners.splice(e,1)}}notifySelectionModeChange(t){for(let e of this.selectionModeListeners)try{e(t)}catch(r){console.error("[TaskSelectionService] Error in selection mode listener:",r)}}notifySelectionChange(){let t=this.getSelectedPaths();for(let e of this.selectionChangeListeners)try{e(t)}catch(r){console.error("[TaskSelectionService] Error in selection change listener:",r)}}destroy(){this.selectedTaskPaths.clear(),this.selectionModeListeners=[],this.selectionChangeListeners=[]}}});var XJ={};Be(XJ,{BasesFilterConverter:()=>NR});var NR,eX=b(()=>{NR=class{constructor(t){this.plugin=t,this.statusManager=t.statusManager,this.priorityManager=t.priorityManager}convertToBasesFilter(t){try{let e=this.convertNodeToObject(t);return e||null}catch(e){throw console.error("Error converting TaskNotes filter to Bases:",e),new Error(`Failed to convert filter: ${e.message}`)}}convertNodeToObject(t){return t.type=="group"?this.convertGroupToObject(t):t.type=="condition"?this.convertConditionToString(t):null}convertGroupToObject(t){let e=t.children.filter(i=>i.type=="condition"?this.isConditionComplete(i):!0);if(e.length==0)return null;let r=e.map(i=>this.convertNodeToObject(i)).filter(i=>i!==null);return r.length==0?null:r.length===1?r[0]:{[t.conjunction=="and"?"and":"or"]:r}}convertConditionToString(t){let{property:e,operator:r,value:a}=t;if(e=="status.isCompleted")return this.convertCompletedStatusCondition(r,a);if(e.startsWith("user:"))return this.convertUserFieldCondition(e,r,a);let i=this.getBasesPropertyPath(e);return this.convertOperator(i,r,a,e)}isConditionComplete(t){let{property:e,operator:r,value:a}=t;return!e||!r?!1:["is-empty","is-not-empty","is-checked","is-not-checked"].includes(r)?!0:a!=null&&a!==""}convertCompletedStatusCondition(t,e){let r=this.statusManager.getCompletedStatuses(),a=this.plugin.fieldMapper,i=a.toUserField("status"),s=r.map(u=>`note.${i} == "${this.escapeString(u)}"`).join(" || "),o=r.length>1?`(${s})`:s,l=a.toUserField("completeInstances"),c=`note.${l} && note.${l}.map(date(value).format("YYYY-MM-DD")).contains(today().format("YYYY-MM-DD"))`,d=`(${o}) || (${c})`;return t=="is-not-checked"||t=="is-not"?`!(${d})`:d}convertUserFieldCondition(t,e,r){let a=t.slice(5),s=(this.plugin.settings.userFields||[]).find(l=>(l.id||l.key)===a||l.key===a);if(!s)return console.warn(`User field not found: ${a}`),"true";let o=`note.${s.key}`;return this.convertOperator(o,e,r,t,s.type)}getBasesPropertyPath(t){let e=this.plugin.fieldMapper,r;switch(t){case"title":r=e.toUserField("title");break;case"status":r=e.toUserField("status");break;case"priority":r=e.toUserField("priority");break;case"due":r=e.toUserField("due");break;case"scheduled":r=e.toUserField("scheduled");break;case"contexts":r=e.toUserField("contexts");break;case"projects":r=e.toUserField("projects");break;case"tags":return"file.tags";case"path":return"file.path";case"dateCreated":return"file.ctime";case"dateModified":return"file.mtime";case"archived":return`file.tags.contains("${this.escapeString(e.toUserField("archiveTag"))}")`;case"timeEstimate":r=e.toUserField("timeEstimate");break;case"completedDate":r=e.toUserField("completedDate");break;case"recurrence":r=e.toUserField("recurrence");break;case"blockedBy":r=e.toUserField("blockedBy");break;case"blocking":r="blocking";break;case"dependencies.isBlocked":case"dependencies.isBlocking":return t=="dependencies.isBlocked"?`note.${e.toUserField("blockedBy")} && note.${e.toUserField("blockedBy")}.length > 0`:"false";default:r=t}return`note.${r}`}convertOperator(t,e,r,a,i){switch(e){case"is":return this.convertIsOperator(t,r,i);case"is-not":return`!(${this.convertIsOperator(t,r,i)})`;case"contains":return this.convertContainsOperator(t,r,a);case"does-not-contain":return`!(${this.convertContainsOperator(t,r,a)})`;case"is-before":return`${t} < "${this.escapeString(String(r))}"`;case"is-after":return`${t} > "${this.escapeString(String(r))}"`;case"is-on-or-before":return`${t} <= "${this.escapeString(String(r))}"`;case"is-on-or-after":return`${t} >= "${this.escapeString(String(r))}"`;case"is-empty":return`${t}.isEmpty()`;case"is-not-empty":return`!${t}.isEmpty()`;case"is-checked":return`${t} == true`;case"is-not-checked":return`${t} != true`;case"is-greater-than":return`${t} > ${this.formatNumericValue(r)}`;case"is-less-than":return`${t} < ${this.formatNumericValue(r)}`;case"is-greater-than-or-equal":return`${t} >= ${this.formatNumericValue(r)}`;case"is-less-than-or-equal":return`${t} <= ${this.formatNumericValue(r)}`;default:return console.warn(`Unknown operator: ${e}`),"true"}}convertIsOperator(t,e,r){if(Array.isArray(e)){if(e.length==0)return`(!${t} || ${t}.length == 0)`;let a=e.map(i=>`${t}.contains("${this.escapeString(String(i))}")`);return a.length>1?`(${a.join(" || ")})`:a[0]}return r=="list"?`${t}.contains("${this.escapeString(String(e))}")`:typeof e=="boolean"||r=="boolean"?`${t} == ${e}`:typeof e=="number"||r=="number"?`${t} == ${e}`:e==null||e==""?`(!${t} || ${t} == "" || ${t} == null)`:`${t} == "${this.escapeString(String(e))}"`}convertContainsOperator(t,e,r){if(["tags","contexts","projects"].includes(r)){if(Array.isArray(e)){let i=e.map(s=>`${t}.contains("${this.escapeString(String(s))}")`);return i.length>1?`(${i.join(" || ")})`:i[0]}if(r=="projects"){let i=String(e);return i.startsWith("[[")&&i.endsWith("]]")?`${t}.contains("${this.escapeString(i)}")`:`(${t}.contains("[[${this.escapeString(i)}]]") || ${t}.contains("${this.escapeString(i)}"))`}return`${t}.contains("${this.escapeString(String(e))}")`}return`${t}.lower().contains("${this.escapeString(String(e).toLowerCase())}")`}formatNumericValue(t){if(typeof t=="number")return String(t);let e=parseFloat(String(t));return isNaN(e)?"0":String(e)}escapeString(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}filterObjectToYAML(t,e=0){let r=" ".repeat(e);if(typeof t=="string")return`'${t.replace(/'/g,"\\'")}'`;if(Array.isArray(t))return t.map(a=>`
|
||
${r}- ${this.filterObjectToYAML(a,e+1)}`).join("");if(typeof t=="object"&&t!==null){let a=Object.keys(t)[0],i=t[a];return Array.isArray(i)?`
|
||
${r}${a}:${i.map(s=>`
|
||
${r} - ${this.filterObjectToYAML(s,e+2)}`).join("")}`:`
|
||
${r}${a}: ${this.filterObjectToYAML(i,e+1)}`}return String(t)}convertSavedViewToBasesFile(t,e="tasknotesTaskList"){let r=this.convertToBasesFilter(t.query),a=`# ${t.name}
|
||
|
||
`;if(r&&(a+=`filters:${this.filterObjectToYAML(r,1)}
|
||
|
||
`),a+=`views:
|
||
`,a+=` - type: ${e}
|
||
`,a+=` name: "${t.name}"
|
||
`,t.query.sortKey&&t.query.sortKey!=="none"){let i=this.mapSortKeyToBasesColumn(t.query.sortKey),s=(t.query.sortDirection||"asc").toUpperCase();a+=` sort:
|
||
`,a+=` - column: ${i}
|
||
`,a+=` direction: ${s}
|
||
`}if(t.query.groupKey&&t.query.groupKey!=="none"){let i=this.mapGroupKeyToBasesColumn(t.query.groupKey),s=(t.query.sortDirection||"asc").toUpperCase();a+=` groupBy:
|
||
`,a+=` property: ${i}
|
||
`,a+=` direction: ${s}
|
||
`}return t.viewOptions&&Object.keys(t.viewOptions).length>0&&(a+=` options:
|
||
`,Object.entries(t.viewOptions).forEach(([i,s])=>{let o;typeof s=="boolean"||typeof s=="number"?o=String(s):typeof s=="string"?o=`"${this.escapeString(s)}"`:o=JSON.stringify(s),a+=` ${i}: ${o}
|
||
`})),a}mapSortKeyToBasesColumn(t){let e=this.plugin.fieldMapper;switch(t){case"due":return e.toUserField("due");case"scheduled":return e.toUserField("scheduled");case"priority":return e.toUserField("priority");case"status":return e.toUserField("status");case"title":return e.toUserField("title");case"dateCreated":return"file.ctime";case"dateModified":return"file.mtime";case"completedDate":return e.toUserField("completedDate");case"tags":return"file.tags";case"path":return"file.path";case"timeEstimate":return e.toUserField("timeEstimate");case"recurrence":return e.toUserField("recurrence");default:if(t.startsWith("user:")){let r=t.slice(5),i=(this.plugin.settings.userFields||[]).find(s=>(s.id||s.key)===r||s.key===r);return(i==null?void 0:i.key)||t}return t}}mapGroupKeyToBasesColumn(t){return this.mapSortKeyToBasesColumn(t)}convertAllSavedViewsToBasesFile(t){if(!t||t.length==0)return"";let e=`# All Saved Views
|
||
`;e+=`# Converted from TaskNotes saved views
|
||
|
||
`;let r=[];for(let a of t){let i=this.detectViewType(a),s=this.convertToBasesFilter(a.query),o=` - type: ${i}
|
||
`;if(o+=` name: "${a.name}"
|
||
`,s&&(o+=` filters:${this.filterObjectToYAML(s,3)}
|
||
`),a.query.sortKey&&a.query.sortKey!=="none"){let l=this.mapSortKeyToBasesColumn(a.query.sortKey),c=(a.query.sortDirection||"asc").toUpperCase();o+=` sort:
|
||
`,o+=` - column: ${l}
|
||
`,o+=` direction: ${c}
|
||
`}if(a.query.groupKey&&a.query.groupKey!=="none"){let l=this.mapGroupKeyToBasesColumn(a.query.groupKey),c=(a.query.sortDirection||"asc").toUpperCase();o+=` groupBy:
|
||
`,o+=` property: ${l}
|
||
`,o+=` direction: ${c}
|
||
`}a.viewOptions&&Object.keys(a.viewOptions).length>0&&(o+=` options:
|
||
`,Object.entries(a.viewOptions).forEach(([l,c])=>{let d;typeof c=="boolean"||typeof c=="number"?d=String(c):typeof c=="string"?d=`"${this.escapeString(c)}"`:d=JSON.stringify(c),o+=` ${l}: ${d}
|
||
`})),r.push(o)}return e+=`views:
|
||
`,e+=r.join(`
|
||
`),e}detectViewType(t){let e=t.viewOptions||{};return["showScheduled","showDue","showRecurring","showTimeEntries","showTimeblocks","showPropertyBasedEvents","calendarView","customDayCount","firstDay","slotMinTime","slotMaxTime","slotDuration"].some(o=>o in e)?"tasknotesCalendar":["columnWidth","hideEmptyColumns"].some(o=>o in e)?"tasknotesKanban":"tasknotesTaskList"}}});var Ak,tX=b(()=>{Ak=class{constructor(t){this.basesView=t}extractDataItems(){return this.basesView.data.data.map(e=>({key:e.file.path,data:e,file:e.file,path:e.file.path,properties:this.extractEntryProperties(e),basesData:e}))}getGroupedData(){return this.basesView.data.groupedData}isGrouped(){let t=this.basesView.data.groupedData;return t.length!==1?!0:t[0].hasKey()}getSortConfig(){return this.basesView.config.getSort()}getVisiblePropertyIds(){return this.basesView.config.getOrder()}getPropertyDisplayName(t){return this.basesView.config.getDisplayName(t)}getPropertyValue(t,e){try{let r=t.getValue(e);return this.convertValueToNative(r)}catch(r){return console.warn(`[BasesDataAdapter] Failed to get property ${e}:`,r),null}}convertValueToNative(t){var e,r;if(t==null||((e=t.constructor)==null?void 0:e.name)==="NullValue")return null;if(typeof t.data!="undefined")return t.data;if(typeof t.length=="function"){let a=t.length(),i=[];for(let s=0;s<a;s++){let o=t.at(s);i.push(this.convertValueToNative(o))}return i}return t.date instanceof Date?t.date.toISOString():((r=t.constructor)==null?void 0:r.name)==="DateValue"&&t.toISOString?t.toISOString():t.file?t.file.path:t}convertGroupKeyToString(t){if(t==null||t.hasKey&&!t.hasKey())return"Unknown";let e;if(t.file&&typeof t.file=="object"?e=t.file.path:t.date instanceof Date?e=t.date:t.data!==void 0?e=t.data:e=t,e==null)return"None";if(e instanceof Date){let r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0");return`${r}-${a}-${i}`}return typeof e=="string"?e||"None":typeof e=="number"?String(e):typeof e=="boolean"?e?"True":"False":Array.isArray(e)?e.length>0?e.join(", "):"None":String(e)}extractEntryProperties(t){let r={...t.frontmatter||t.properties||{}},a=t.file;return a&&(a.name!==void 0&&(r["file.name"]=a.name),a.basename!==void 0&&(r["file.basename"]=a.basename),a.extension!==void 0&&(r["file.extension"]=a.extension),a.path!==void 0&&(r["file.path"]=a.path),a.stat&&(a.stat.size!==void 0&&(r["file.size"]=a.stat.size),a.stat.ctime!==void 0&&(r["file.ctime"]=a.stat.ctime),a.stat.mtime!==void 0&&(r["file.mtime"]=a.stat.mtime))),r}getComputedProperty(t,e){if(!t)return null;try{let r=t.getValue(e);return this.convertValueToNative(r)}catch(r){return null}}stripPropertyPrefix(t){let e=t.split(".");return e.length>1&&["note","file","formula"].includes(e[0])?e.slice(1).join("."):t}}});var Ik,rX=b(()=>{Ik=class{constructor(t,e){this.plugin=t;this.fieldMapper=e}basesToTaskCardProperty(t){if(this.fieldMapper&&this.fieldMapper.isRecognizedProperty(t))return this.applySpecialTransformations(t);if(t.startsWith("note.")){let e=t.substring(5);return this.fieldMapper&&this.fieldMapper.isRecognizedProperty(e)?this.applySpecialTransformations(e):e==="dateCreated"?"dateCreated":e==="dateModified"?"dateModified":e==="completedDate"?"completedDate":this.applySpecialTransformations(e)}if(t.startsWith("task.")){let e=t.substring(5);return this.fieldMapper&&this.fieldMapper.isRecognizedProperty(e)?this.applySpecialTransformations(e):this.applySpecialTransformations(e)}return t.startsWith("file.")?t==="file.ctime"?"dateCreated":t==="file.mtime"?"dateModified":t:t.startsWith("formula.")?t:this.applySpecialTransformations(t)}internalToUserProperty(t){let e=this.fieldMapper.getMapping();return t in e?this.fieldMapper.toUserField(t):t}userPropertyToInternal(t){return this.fieldMapper.fromUserField(t)||t}basesToUserProperty(t){let e=this.basesToInternal(t);return this.internalToUserProperty(e)}applySpecialTransformations(t){return t==="timeEntries"?"totalTrackedTime":t==="blockedBy"?"blocked":t}basesToInternal(t){return this.basesToTaskCardProperty(t)}basesToTaskInfoProperty(t){var a;let e=t.replace(/^(note\.|file\.|task\.)/,""),r=(a=this.fieldMapper)==null?void 0:a.fromUserField(e);return r||(e==="ctime"||t==="file.ctime"?"dateCreated":e==="mtime"||t==="file.mtime"?"dateModified":e==="name"||e==="basename"?"title":e)}mapVisibleProperties(t){return t.map(e=>this.basesToTaskCardProperty(e))}}});var nX,_k,aX=b(()=>{nX=require("obsidian");es();_k=class{constructor(t,e,r=300){this.searchBoxEl=null;this.inputEl=null;this.clearBtnEl=null;this.debouncedSearch=null;this.destroyed=!1;this.handleInput=()=>{if(!this.inputEl)return;let t=this.inputEl.value;this.updateClearButtonVisibility(),this.debouncedSearch&&this.debouncedSearch(t)};this.handleKeydown=t=>{t.key==="Escape"&&(this.clear(),this.debouncedSearch&&this.debouncedSearch(""))};this.handleClear=()=>{var t;this.clear(),this.debouncedSearch&&this.debouncedSearch(""),(t=this.inputEl)==null||t.focus()};this.container=t,this.onSearch=e,this.debounceMs=r,this.debouncedSearch=nd(a=>{this.destroyed||this.onSearch(a)},this.debounceMs,!1)}render(){this.searchBoxEl=document.createElement("div"),this.searchBoxEl.className="tn-search-box";let t=document.createElement("div");t.className="tn-search-box__input-wrapper";let e=document.createElement("div");e.className="tn-search-box__icon",(0,nX.setIcon)(e,"search"),this.inputEl=document.createElement("input"),this.inputEl.type="text",this.inputEl.className="tn-search-box__input",this.inputEl.placeholder="Search tasks...",this.inputEl.setAttribute("aria-label","Search tasks");let r=document.createElement("button");return r.type="button",r.className="tn-search-box__clear",r.textContent="\xD7",r.setAttribute("aria-label","Clear search"),this.clearBtnEl=r,t.appendChild(e),t.appendChild(this.inputEl),t.appendChild(this.clearBtnEl),this.searchBoxEl.appendChild(t),this.container.appendChild(this.searchBoxEl),this.attachEventListeners(),this.searchBoxEl}attachEventListeners(){!this.inputEl||!this.clearBtnEl||(this.inputEl.addEventListener("input",this.handleInput),this.inputEl.addEventListener("keydown",this.handleKeydown),this.clearBtnEl.addEventListener("click",this.handleClear))}updateClearButtonVisibility(){if(!this.inputEl||!this.clearBtnEl)return;this.inputEl.value.length>0?this.clearBtnEl.classList.add("is-visible"):this.clearBtnEl.classList.remove("is-visible")}getValue(){var t;return((t=this.inputEl)==null?void 0:t.value)||""}setValue(t){this.inputEl&&(this.inputEl.value=t,this.updateClearButtonVisibility())}clear(){this.inputEl&&(this.inputEl.value="",this.updateClearButtonVisibility())}destroy(){this.destroyed=!0,this.inputEl&&(this.inputEl.removeEventListener("input",this.handleInput),this.inputEl.removeEventListener("keydown",this.handleKeydown)),this.clearBtnEl&&this.clearBtnEl.removeEventListener("click",this.handleClear),this.inputEl=null,this.clearBtnEl=null,this.searchBoxEl=null,this.debouncedSearch=null}}});var Nk,iX=b(()=>{Nk=class{constructor(t){this.visibleProperties=t||[]}filterTasks(t,e){let r=this.normalizeSearchTerm(e);return r?t.filter(a=>this.extractSearchableText(a).includes(r)):t}extractSearchableText(t){let e=[];if(e.push(t.title||""),e.push(t.status||""),e.push(t.priority||""),t.tags&&Array.isArray(t.tags)&&e.push(t.tags.join(" ")),t.contexts&&Array.isArray(t.contexts)&&e.push(t.contexts.join(" ")),t.projects&&Array.isArray(t.projects)&&e.push(t.projects.join(" ")),t.customProperties&&this.visibleProperties.length>0)for(let r of this.visibleProperties){let a=t.customProperties[r];a!=null&&(Array.isArray(a)?e.push(a.join(" ")):e.push(String(a)))}return e.join(" ").toLowerCase()}normalizeSearchTerm(t){return t.trim().toLowerCase()}}});var Rk,Gi,Ng=b(()=>{Rk=require("obsidian");tX();rX();Wn();ko();to();aX();iX();qv();Gi=class extends Rk.Component{constructor(e,r,a){super();this.rootElement=null;this.taskUpdateListener=null;this.updateDebounceTimer=null;this.dataUpdateDebounceTimer=null;this.relevantPathsCache=new Set;this.enableSearch=!1;this.searchBox=null;this.searchFilter=null;this.currentSearchTerm="";this.selectionModeCleanup=null;this.selectionIndicatorEl=null;this.plugin=a,this.containerEl=r,this.dataAdapter=new Ak(this),this.propertyMapper=new Ik(a,a.fieldMapper),this.createFileForView=this.createFileForView.bind(this)}onload(){this.setupContainer(),this.setupTaskUpdateListener(),this.setupSelectionHandling(),this.updateRelevantPathsCache(),this.render()}onDataUpdated(){var e;(e=this.rootElement)!=null&&e.isConnected&&(this.dataUpdateDebounceTimer&&clearTimeout(this.dataUpdateDebounceTimer),this.dataUpdateDebounceTimer=window.setTimeout(()=>{this.dataUpdateDebounceTimer=null;try{this.render()}catch(r){console.error(`[TaskNotes][${this.type}] Render error:`,r),this.renderError(r)}},500))}updateRelevantPathsCache(){this.relevantPathsCache.clear();try{let e=this.dataAdapter.extractDataItems();for(let r of e)r.path&&this.relevantPathsCache.add(r.path)}catch(e){}}getEphemeralState(){var e;return{scrollTop:((e=this.rootElement)==null?void 0:e.scrollTop)||0}}setEphemeralState(e){if(!(!e||!this.rootElement||!this.rootElement.isConnected))try{e.scrollTop!==void 0&&(this.rootElement.scrollTop=e.scrollTop)}catch(r){console.debug("[TaskNotes][Bases] Failed to restore ephemeral state:",r)}}focus(){var e;try{(e=this.rootElement)!=null&&e.isConnected&&typeof this.rootElement.focus=="function"&&this.rootElement.focus()}catch(r){console.debug("[TaskNotes][Bases] Failed to focus view:",r)}}refresh(){this.render()}onResize(){}setupContainer(){this.containerEl.empty();let e=document.createElement("div");e.className=`tn-bases-integration tasknotes-plugin tasknotes-container tn-${this.type}`,e.tabIndex=-1,this.containerEl.appendChild(e),this.rootElement=e,this.setupNewTaskButton()}setupNewTaskButton(){setTimeout(()=>this.injectNewTaskButton(),100),this.register(()=>this.cleanupNewTaskButton())}cleanupNewTaskButton(){let e=this.containerEl.closest(".bases-view"),r=e==null?void 0:e.parentElement;r==null||r.classList.remove("tasknotes-view-active")}injectNewTaskButton(){let e=this.containerEl.closest(".bases-view");if(!e){console.debug("[TaskNotes][Bases] No .bases-view found");return}let r=e.parentElement;if(!r){console.debug("[TaskNotes][Bases] No parent element found");return}r.classList.add("tasknotes-view-active");let a=r.querySelector(".bases-toolbar");if(!a){console.debug("[TaskNotes][Bases] No .bases-toolbar found in parent");return}if(a.querySelector(".tn-bases-new-task-btn"))return;let i=document.createElement("div");i.className="bases-toolbar-item tn-bases-new-task-btn";let s=document.createElement("div");s.className="text-icon-button",s.tabIndex=0;let o=document.createElement("span");o.className="text-button-icon",(0,Rk.setIcon)(o,"plus"),s.appendChild(o);let l=document.createElement("span");l.className="text-button-label",l.textContent=this.plugin.i18n.translate("common.new"),s.appendChild(l),i.appendChild(s),i.addEventListener("click",()=>{this.createFileForView("New Task")});let c=a.querySelector(".bases-toolbar-new-item-menu");c?c.before(i):a.appendChild(i),console.debug("[TaskNotes][Bases] Injected New Task button into toolbar")}setupTaskUpdateListener(){this.taskUpdateListener||(this.taskUpdateListener=this.plugin.emitter.on(gt,async e=>{var r;try{let a=(e==null?void 0:e.task)||(e==null?void 0:e.taskInfo);if(!(a!=null&&a.path)||!((r=this.rootElement)!=null&&r.isConnected))return;this.relevantPathsCache.has(a.path)&&await this.handleTaskUpdate(a)}catch(a){console.error("[TaskNotes][Bases] Error in task update handler:",a),this.debouncedRefresh()}}),this.register(()=>{this.taskUpdateListener&&(this.plugin.emitter.offref(this.taskUpdateListener),this.taskUpdateListener=null)}))}debouncedRefresh(){this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.render(),this.updateDebounceTimer=null},300)}async createFileForView(e,r){let{TaskCreationModal:a}=await Promise.resolve().then(()=>(sb(),V$)),i={},s={};if(r){let d={};r(d);let u=this.plugin.fieldMapper;if(d[u.toUserField("title")]&&(i.title=String(d[u.toUserField("title")])),d[u.toUserField("status")]&&(i.status=String(d[u.toUserField("status")])),d[u.toUserField("priority")]&&(i.priority=String(d[u.toUserField("priority")])),d[u.toUserField("due")]&&(i.due=String(d[u.toUserField("due")])),d[u.toUserField("scheduled")]&&(i.scheduled=String(d[u.toUserField("scheduled")])),d[u.toUserField("contexts")]){let h=d[u.toUserField("contexts")];i.contexts=Array.isArray(h)?h:[h]}if(d[u.toUserField("projects")]){let h=d[u.toUserField("projects")];i.projects=Array.isArray(h)?h:[h]}if(d.tags){let h=d.tags;i.tags=Array.isArray(h)?h:[h]}if(d.tags&&Array.isArray(d.tags)){let h=u.toUserField("archiveTag");i.archived=d.tags.includes(h)}if(d[u.toUserField("timeEstimate")]&&(i.timeEstimate=Number(d[u.toUserField("timeEstimate")])),d[u.toUserField("recurrence")]&&(i.recurrence=String(d[u.toUserField("recurrence")])),d[u.toUserField("completedDate")]&&(i.completedDate=String(d[u.toUserField("completedDate")])),d[u.toUserField("dateCreated")]&&(i.dateCreated=String(d[u.toUserField("dateCreated")])),d[u.toUserField("blockedBy")]){let h=d[u.toUserField("blockedBy")];i.blockedBy=Array.isArray(h)?h:[h]}let p=this.plugin.settings.userFields||[];for(let h of p)d[h.key]!==void 0&&(s[h.key]=d[h.key]);let m=new Set([u.toUserField("title"),u.toUserField("status"),u.toUserField("priority"),u.toUserField("due"),u.toUserField("scheduled"),u.toUserField("contexts"),u.toUserField("projects"),"tags",u.toUserField("archiveTag"),u.toUserField("timeEstimate"),u.toUserField("recurrence"),u.toUserField("completedDate"),u.toUserField("dateCreated"),u.toUserField("blockedBy"),...p.map(h=>h.key)]);for(let[h,f]of Object.entries(d))m.has(h)||(s[h]=f)}let o={...i};Object.keys(s).length>0&&(o.customFrontmatter=s);let l=this.app||this.plugin.app;new a(l,this.plugin,{prePopulatedValues:o,onTaskCreated:d=>{this.refresh()}}).open()}getVisibleProperties(){let e=this.config.getOrder(),r=this.propertyMapper.mapVisibleProperties(e);if(!r||r.length===0){let a=this.plugin.settings.defaultVisibleProperties||[...rd,"tags"];r=pn(a,this.plugin)}return r}setupSearch(e){if(this.searchBox){this.currentSearchTerm&&this.searchBox.getValue()!==this.currentSearchTerm&&this.searchBox.setValue(this.currentSearchTerm);return}if(!this.enableSearch)return;let r=document.createElement("div");r.className="tn-search-container",e.firstChild?e.insertBefore(r,e.firstChild):e.appendChild(r);let a=[];try{this.config&&(a=this.getVisibleProperties())}catch(i){console.debug(`[${this.type}] Could not get visible properties during search setup:`,i)}this.searchFilter=new Nk(a),this.searchBox=new _k(r,i=>this.handleSearch(i),300),this.searchBox.render(),this.currentSearchTerm&&this.searchBox.setValue(this.currentSearchTerm),this.register(()=>{this.searchBox&&(this.searchBox.destroy(),this.searchBox=null),this.searchFilter=null,this.currentSearchTerm=""})}handleSearch(e){let r=performance.now();this.currentSearchTerm=e,this.render();let a=performance.now()-r;a>200&&console.warn(`[${this.type}] Slow search: ${a.toFixed(2)}ms for search term "${e}"`)}applySearchFilter(e){if(!this.searchFilter||!this.currentSearchTerm)return e;let r=performance.now(),a=this.searchFilter.filterTasks(e,this.currentSearchTerm),i=performance.now()-r;return i>100&&console.warn(`[${this.type}] Filter operation took ${i.toFixed(2)}ms for ${e.length} tasks`),a}isSearchWithNoResults(e,r){return this.currentSearchTerm.length>0&&e.length===0&&r>0}renderSearchNoResults(e){let r=document.createElement("div");r.className="tn-search-no-results";let a=document.createElement("div");a.className="tn-search-no-results__text",a.textContent=`No tasks match "${this.currentSearchTerm}"`;let i=document.createElement("div");i.className="tn-search-no-results__hint",i.textContent="Try a different search term or clear the search",r.appendChild(a),r.appendChild(i),e.appendChild(r)}setupSelectionHandling(){if(!this.rootElement)return;let e=this.plugin.taskSelectionService;if(!e)return;let r=s=>{if(s.key==="Escape"&&e.isSelectionModeActive()&&(e.exitSelectionMode(!0),this.updateSelectionModeUI(!1)),(s.ctrlKey||s.metaKey)&&s.key==="a"&&e.isSelectionModeActive()){s.preventDefault();let o=this.getVisibleTaskPaths();e.selectAll(o),this.updateSelectionVisuals()}};this.rootElement.addEventListener("keydown",r);let a=e.onSelectionChange(s=>{this.updateSelectionVisuals(),this.updateSelectionIndicator(s.length)}),i=e.onSelectionModeChange(s=>{this.updateSelectionModeUI(s)});this.register(()=>{var s;(s=this.rootElement)==null||s.removeEventListener("keydown",r),a(),i()})}updateSelectionModeUI(e){this.rootElement&&(e?(this.rootElement.classList.add("tn-selection-mode"),this.rootElement.setAttribute("data-selection-mode","true")):(this.rootElement.classList.remove("tn-selection-mode"),this.rootElement.removeAttribute("data-selection-mode"),this.clearSelectionVisuals()))}updateSelectionVisuals(){if(!this.rootElement)return;let e=this.plugin.taskSelectionService;if(!e)return;let r=e.getPrimarySelectedPath(),a=this.rootElement.querySelectorAll(".task-card");for(let s of a){let o=s.dataset.taskPath;o&&(e.isSelected(o)?(s.classList.add("task-card--selected"),o===r?s.classList.add("task-card--selected-primary"):s.classList.remove("task-card--selected-primary")):(s.classList.remove("task-card--selected"),s.classList.remove("task-card--selected-primary")))}let i=this.rootElement.querySelectorAll(".kanban-view__card-wrapper");for(let s of i){let o=s.dataset.taskPath;o&&(e.isSelected(o)?(s.classList.add("kanban-view__card-wrapper--selected"),o===r?s.classList.add("kanban-view__card-wrapper--selected-primary"):s.classList.remove("kanban-view__card-wrapper--selected-primary")):(s.classList.remove("kanban-view__card-wrapper--selected"),s.classList.remove("kanban-view__card-wrapper--selected-primary")))}}clearSelectionVisuals(){if(!this.rootElement)return;let e=this.rootElement.querySelectorAll(".task-card--selected");for(let a of e)a.classList.remove("task-card--selected"),a.classList.remove("task-card--selected-primary");let r=this.rootElement.querySelectorAll(".kanban-view__card-wrapper--selected");for(let a of r)a.classList.remove("kanban-view__card-wrapper--selected"),a.classList.remove("kanban-view__card-wrapper--selected-primary")}updateSelectionIndicator(e){this.rootElement&&(e>0?(this.selectionIndicatorEl||(this.selectionIndicatorEl=document.createElement("div"),this.selectionIndicatorEl.className="tn-selection-indicator",this.selectionIndicatorEl.addEventListener("click",()=>{var r,a;(r=this.plugin.taskSelectionService)==null||r.clearSelection(),(a=this.plugin.taskSelectionService)==null||a.exitSelectionMode()}),this.rootElement.appendChild(this.selectionIndicatorEl)),this.selectionIndicatorEl.textContent=`${e} selected`,this.selectionIndicatorEl.style.display="block"):this.selectionIndicatorEl&&(this.selectionIndicatorEl.style.display="none"))}handleSelectionClick(e,r){let a=this.plugin.taskSelectionService;if(!a||!a.isSelectionModeActive()&&!e.shiftKey&&!e.ctrlKey&&!e.metaKey)return!1;if(e.shiftKey&&!a.isSelectionModeActive()&&a.enterSelectionMode(),e.shiftKey){let i=this.getVisibleTaskPaths();a.selectRange(r,i)}else(e.ctrlKey||e.metaKey||a.isSelectionModeActive())&&a.toggleSelection(r);return this.updateSelectionVisuals(),!0}showBatchContextMenu(e){let r=this.plugin.taskSelectionService;if(!r)return;let a=r.getSelectedPaths();if(a.length===0)return;new af({plugin:this.plugin,selectedPaths:a,onUpdate:()=>{this.render()}}).show(e)}getVisibleTaskPaths(){if(!this.rootElement)return[];let e=this.rootElement.querySelectorAll(".task-card[data-task-path]"),r=[];for(let a of e){let i=a.dataset.taskPath;i&&r.push(i)}return r}}});function sX(n,t,e){var c,d;let r=new Set(["title","status","priority","archived","due","scheduled","contexts","projects","tags","timeEstimate","completedDate","recurrence","dateCreated","dateModified","timeEntries","reminders","icsEventId","complete_instances","skipped_instances","blockedBy","blocking"]),a={};Object.keys(n).forEach(u=>{r.has(u)||(a[u]=n[u])});let i=n.timeEntries?$r(n.timeEntries):0,s=!1,o=[],l=!1;return e!=null&&e.dependencyCache&&t.path?(s=e.dependencyCache.isTaskBlocked(t.path),o=e.dependencyCache.getBlockedTaskPaths(t.path),l=o.length>0):s=Array.isArray(n.blockedBy)&&n.blockedBy.length>0,{title:n.title||t.name||((d=(c=t.path)==null?void 0:c.split("/").pop())==null?void 0:d.replace(".md",""))||"Untitled",status:n.status||"open",priority:n.priority||"normal",path:t.path||"",archived:n.archived||!1,due:n.due,scheduled:n.scheduled,contexts:Array.isArray(n.contexts)?n.contexts:n.contexts?[n.contexts]:void 0,projects:Array.isArray(n.projects)?n.projects:n.projects?[n.projects]:void 0,tags:Array.isArray(n.tags)?n.tags:n.tags?[n.tags]:void 0,timeEstimate:n.timeEstimate,completedDate:n.completedDate,recurrence:n.recurrence,dateCreated:n.dateCreated,dateModified:n.dateModified,timeEntries:n.timeEntries,totalTrackedTime:i,reminders:n.reminders,icsEventId:n.icsEventId,complete_instances:n.complete_instances,skipped_instances:n.skipped_instances,blockedBy:n.blockedBy,blocking:o.length>0?o:void 0,isBlocked:s,isBlocking:l,customProperties:Object.keys(a).length>0?a:void 0,basesData:t.basesData}}function l0e(n,t){if(!(n!=null&&n.path))return null;let e=n.properties||n.frontmatter||{};if(t!=null&&t.fieldMapper){let r=t.fieldMapper.mapFromFrontmatter(e,n.path,t.settings.storeTitleInFilename),a=sX(r,n,t),i={};return Object.keys(e).forEach(s=>{s.startsWith("file.")&&(i[s]=e[s])}),{...a,customProperties:{...r.customProperties,...a.customProperties,...i}}}else return sX(e,n,t)}async function Uc(n,t,e){let r=e||l0e,a=[];for(let i of n)if(i!=null&&i.path)try{let s=r(i,t);s&&a.push(s)}catch(s){console.warn("[TaskNotes][BasesPOC] Error converting Bases item to TaskInfo:",s)}return a}var o0e,Fk=b(()=>{o0e=require("obsidian");Dr();ko();to()});function Lk(n,t,e){let r=t.match(/^\[\[([^\]]+)\]\]$/);if(r){let s=r[1],o=(0,Ok.parseLinktext)(s),l=o.path,c=o.subpath?`${o.path}${o.subpath}`:s.contains("|")?s.split("|")[1].trim():o.path;Ss(n,l,c,e,{cssClass:"internal-link task-group-link",hoverSource:"tasknotes-bases-group",showErrorNotices:!1});return}let a=t.endsWith(".md")?t.replace(/\.md$/,""):t,i=e.metadataCache.getFirstLinkpathDest(a,"");if(i instanceof Ok.TFile){let s=i.basename;Ss(n,a,s,e,{cssClass:"internal-link task-group-link",hoverSource:"tasknotes-bases-group",showErrorNotices:!1});return}n.textContent=t}var Ok,RR=b(()=>{Ok=require("obsidian");Gv()});var Jo,FR=b(()=>{Jo=class{constructor(t){this.items=[];this.state={startIndex:0,endIndex:0,totalItems:0,offsetY:0};this.renderedElements=new Map;this.scrollRAF=null;this.itemHeights=new Map;this.positionCache=[];this.totalHeight=0;this.resizeObserver=null;this.measurementRAF=null;this.pendingMeasurements=new Set;this.handleScroll=()=>{this.scrollRAF===null&&(this.scrollRAF=requestAnimationFrame(()=>{this.updateVisibleRange(),this.scrollRAF=null}))};var e,r,a;this.container=t.container,this.items=t.items,this.estimatedHeight=(e=t.itemHeight)!=null?e:0,this.overscan=(r=t.overscan)!=null?r:5,this.renderItem=t.renderItem,this.getItemKey=(a=t.getItemKey)!=null?a:((i,s)=>String(s)),this.setupDOM(),this.attachScrollListener(),this.setupResizeObserver(),!t.itemHeight&&this.items.length>0&&this.calculateEstimatedHeight(),this.rebuildPositionCache(),this.updateVisibleRange()}setupDOM(){this.container.empty(),this.container.style.position="relative",this.spacer=this.container.createDiv({cls:"virtual-scroller__spacer"}),this.spacer.style.cssText=`
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
pointer-events: none;
|
||
`,this.updateSpacerHeight(),this.contentContainer=this.container.createDiv({cls:"virtual-scroller__content"}),this.contentContainer.style.cssText=`
|
||
position: relative;
|
||
`,this.scrollContainer=this.findScrollContainer(this.container)}calculateEstimatedHeight(){let t=Math.min(5,this.items.length),e=[],r=this.contentContainer.createDiv({cls:"virtual-scroller__sample"});r.style.cssText=`
|
||
position: absolute;
|
||
visibility: hidden;
|
||
pointer-events: none;
|
||
`;for(let a=0;a<t;a++){let i=this.renderItem(this.items[a],a);r.appendChild(i);let s=i.getBoundingClientRect().height;s>0&&e.push(s)}if(r.remove(),e.length>0){let a=e.reduce((i,s)=>i+s,0);this.estimatedHeight=Math.ceil(a/e.length)}else this.estimatedHeight=60}findScrollContainer(t){let e=t;for(;e;){let a=window.getComputedStyle(e).overflowY;if(a==="scroll"||a==="auto")return e;e=e.parentElement}return t}updateSpacerHeight(){this.spacer.style.height=`${this.totalHeight}px`}binarySearchPosition(t){if(this.positionCache.length===0)return 0;let e=0,r=this.positionCache.length-1;for(;e<r;){let a=Math.floor((e+r)/2);this.positionCache[a]<t?e=a+1:r=a}return Math.max(0,e-1)}getItemHeight(t){var e;return(e=this.itemHeights.get(t))!=null?e:this.estimatedHeight}getItemPosition(t){return t<0||t>=this.positionCache.length?0:this.positionCache[t]}rebuildPositionCache(){this.positionCache=[];let t=0;for(let e=0;e<this.items.length;e++)this.positionCache[e]=t,t+=this.getItemHeight(e);this.totalHeight=t,this.updateSpacerHeight()}setupResizeObserver(){this.resizeObserver=new ResizeObserver(t=>{for(let e of t){let r=e.target,a=parseInt(r.dataset.virtualIndex||"-1",10);a>=0&&a<this.items.length&&this.pendingMeasurements.add(a)}this.measurementRAF===null&&(this.measurementRAF=requestAnimationFrame(()=>{this.processPendingMeasurements(),this.measurementRAF=null}))})}processPendingMeasurements(){if(this.pendingMeasurements.size===0)return;let t=!1;for(let e of this.pendingMeasurements){let r=this.contentContainer.querySelector(`[data-virtual-index="${e}"]`);if(r){let a=r.getBoundingClientRect().height;this.itemHeights.get(e)!==a&&a>0&&(this.itemHeights.set(e,a),t=!0)}}this.pendingMeasurements.clear(),t&&this.rebuildPositionCache()}measureRenderedItems(){let t=this.contentContainer.querySelectorAll("[data-virtual-index]"),e=!1;for(let r of t){let a=parseInt(r.dataset.virtualIndex||"-1",10);if(a>=0&&a<this.items.length){let i=r.getBoundingClientRect().height;this.itemHeights.get(a)!==i&&i>0&&(this.itemHeights.set(a,i),e=!0)}}e&&this.rebuildPositionCache()}attachScrollListener(){this.scrollContainer.addEventListener("scroll",this.handleScroll)}updateVisibleRange(){var o;let t=this.scrollContainer.scrollTop,e=this.scrollContainer.clientHeight;e===0&&(e=((o=this.scrollContainer.parentElement)==null?void 0:o.clientHeight)||0),e===0&&(e=window.innerHeight,console.warn("[VirtualScroller] Using window height as fallback:",e));let r=Math.max(0,this.binarySearchPosition(t)-this.overscan),a=r,i=t+e;for(;a<this.items.length-1&&!(this.getItemPosition(a)+this.getItemHeight(a)>i);)a++;a=Math.min(this.items.length-1,a+this.overscan);let s=this.getItemPosition(r);(r!==this.state.startIndex||a!==this.state.endIndex||this.items.length!==this.state.totalItems)&&(this.state={startIndex:r,endIndex:a,totalItems:this.items.length,offsetY:s},this.renderVisibleItems())}renderVisibleItems(){let{startIndex:t,endIndex:e,offsetY:r}=this.state,a=new Set;this.contentContainer.style.transform=`translateY(${r}px)`;let i=new Map;for(let[o,l]of this.renderedElements)l.parentElement===this.contentContainer&&i.set(o,l);let s=null;for(let o=t;o<=e;o++){let l=this.items[o],c=this.getItemKey(l,o);a.add(c);let d=this.renderedElements.get(c);d?d.dataset.virtualIndex=String(o):(d=this.renderItem(l,o),d.dataset.virtualIndex=String(o),this.renderedElements.set(c,d),this.resizeObserver&&this.resizeObserver.observe(d)),s?d.previousElementSibling!==s&&s.after(d):this.contentContainer.firstChild!==d&&this.contentContainer.prepend(d),s=d}for(let[o,l]of this.renderedElements)a.has(o)||(this.resizeObserver&&this.resizeObserver.unobserve(l),l.remove(),this.renderedElements.delete(o));requestAnimationFrame(()=>{this.measureRenderedItems()})}updateItems(t){let e=this.scrollContainer.scrollTop;this.items=t,this.state.totalItems=t.length;let r=this.itemHeights.size;for(let a=t.length;a<r;a++)this.itemHeights.delete(a);this.rebuildPositionCache();for(let a of this.renderedElements.values())this.resizeObserver&&this.resizeObserver.unobserve(a);this.renderedElements.clear(),this.contentContainer.empty(),this.state.startIndex=-1,this.state.endIndex=-1,this.scrollContainer.scrollTop=e,this.updateVisibleRange()}scrollToIndex(t,e="smooth"){let r=this.getItemPosition(t);this.scrollContainer.scrollTo({top:r,behavior:e})}recalculate(){this.state.startIndex=-1,this.state.endIndex=-1,this.updateVisibleRange()}invalidateItem(t){let e=this.renderedElements.get(t);if(e){let r=parseInt(e.dataset.virtualIndex||"-1",10);r>=0&&this.itemHeights.delete(r),this.renderedElements.delete(t),e.remove()}this.rebuildPositionCache(),this.updateVisibleRange()}invalidateHeights(t){for(let e of t)this.itemHeights.delete(e);this.rebuildPositionCache()}getState(){return{...this.state}}destroy(){this.scrollRAF!==null&&cancelAnimationFrame(this.scrollRAF),this.measurementRAF!==null&&cancelAnimationFrame(this.measurementRAF),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.scrollContainer.removeEventListener("scroll",this.handleScroll),this.renderedElements.clear(),this.contentContainer.empty(),this.itemHeights.clear(),this.positionCache=[],this.pendingMeasurements.clear()}}});function oX(n){return function(t,e){if(!e)throw console.error("[TaskNotes][TaskListView] No containerEl provided"),new Error("TaskListView requires a containerEl");return new OR(t,e,n)}}var Ln,OR,lX=b(()=>{Ln=require("obsidian");Ng();Fk();Or();RR();rc();nf();Zd();Kd();Ke();FR();OR=class extends Gi{constructor(e,r,a){super(e,r,a);this.type="tasknoteTaskList";this.itemsContainer=null;this.currentTaskElements=new Map;this.lastRenderWasGrouped=!1;this.lastFlatPaths=[];this.lastTaskSignatures=new Map;this.taskInfoCache=new Map;this.clickTimeouts=new Map;this.currentTargetDate=mt(new Date);this.containerListenersRegistered=!1;this.virtualScroller=null;this.useVirtualScrolling=!1;this.collapsedGroups=new Set;this.collapsedSubGroups=new Set;this.subGroupPropertyId=null;this.configLoaded=!1;this.VIRTUAL_SCROLL_THRESHOLD=100;this.handleItemClick=async e=>{let r=e.target,a=r.closest(".task-group-header");if(a){let i=a.closest(".task-group"),s=i==null?void 0:i.dataset.groupKey;if(s){if(r.closest("a"))return;e.preventDefault(),e.stopPropagation(),await this.handleGroupToggle(s);return}}};this.handleItemContextMenu=async e=>{let r=this.getTaskContextFromEvent(e);if(!r)return;e.preventDefault(),e.stopPropagation();let a=this.plugin.taskSelectionService;if(a&&a.getSelectionCount()>1){a.isSelected(r.task.path)||a.addToSelection(r.task.path),this.showBatchContextMenu(e);return}await eu(e,r.task.path,this.plugin,this.currentTargetDate)};this.handleItemPointerOver=e=>{if("pointerType"in e&&e.pointerType!=="mouse")return;let r=this.getTaskContextFromEvent(e);if(!r)return;let a=e.relatedTarget;if(a&&r.card.contains(a))return;let i=this.app||this.plugin.app;i.vault.getAbstractFileByPath(r.task.path)&&i.workspace.trigger("hover-link",{event:e,source:"tasknotes-task-card",hoverParent:r.card,targetEl:r.card,linktext:r.task.path,sourcePath:r.task.path})};this.dataAdapter.basesView=this}onload(){this.readViewOptions(),super.onload()}readViewOptions(){if(!this.config||typeof this.config.get!="function"){console.debug("[TaskListView] Config not available yet in readViewOptions");return}try{this.subGroupPropertyId=this.config.getAsPropertyId("subGroup");let e=this.config.get("enableSearch");this.enableSearch=e!=null?e:!1,this.configLoaded=!0}catch(e){console.warn("[TaskListView] Failed to parse config:",e)}}setupContainer(){var r;super.setupContainer(),this.rootElement&&(this.rootElement.style.cssText="display: flex; flex-direction: column; height: 100%;");let e=document.createElement("div");e.className="tn-bases-items-container",e.style.cssText="margin-top: 12px; flex: 1; max-height: 100vh; overflow-y: auto; position: relative;",(r=this.rootElement)==null||r.appendChild(e),this.itemsContainer=e,this.registerContainerListeners()}async render(){var e;if(!(!this.itemsContainer||!this.rootElement)){!this.configLoaded&&this.config&&this.readViewOptions(),this.rootElement&&this.setupSearch(this.rootElement);try{if(!((e=this.data)!=null&&e.data))return;let r=this.dataAdapter.extractDataItems();await this.computeFormulas(r);let a=await Uc(r,this.plugin);if(a.length===0){this.clearAllTaskElements(),this.renderEmptyState(),this.lastRenderWasGrouped=!1;return}let i=this.dataAdapter.isGrouped();!i&&this.subGroupPropertyId?(this.lastRenderWasGrouped||this.clearAllTaskElements(),await this.renderGroupedBySubProperty(a),this.lastRenderWasGrouped=!0):i?(this.lastRenderWasGrouped||this.clearAllTaskElements(),await this.renderGrouped(a),this.lastRenderWasGrouped=!0):(this.lastRenderWasGrouped&&this.clearAllTaskElements(),await this.renderFlat(a),this.lastRenderWasGrouped=!1)}catch(r){console.error("[TaskNotes][TaskListView] Error rendering:",r),this.clearAllTaskElements(),this.renderError(r)}}}async computeFormulas(e){var a,i,s;let r=(i=(a=this.data)==null?void 0:a.ctx)==null?void 0:i.formulas;if(!(!r||typeof r!="object"||e.length===0))for(let o=0;o<e.length;o++){let l=e[o],c=(s=l.basesData)==null?void 0:s.formulaResults;if(c!=null&&c.cachedFormulaOutputs)for(let d of Object.keys(r)){let u=r[d];if(u&&typeof u.getValue=="function")try{let p=l.basesData,m=l.properties||{},h;if(p.frontmatter&&Object.keys(m).length>0){let f=p.frontmatter;p.frontmatter={...f,...m},h=u.getValue(p),p.frontmatter=f}else h=u.getValue(p);h!==void 0&&(c.cachedFormulaOutputs[d]=h)}catch(p){}}}}async renderFlat(e){let r=this.getVisibleProperties(),a=this.applySearchFilter(e);if(this.isSearchWithNoResults(a,e.length)){this.clearAllTaskElements(),this.itemsContainer&&this.renderSearchNoResults(this.itemsContainer);return}let i=mt(new Date);this.currentTargetDate=i;let s=this.getCardOptions(i),o=a.length>=this.VIRTUAL_SCROLL_THRESHOLD;o&&!this.useVirtualScrolling?(this.cleanupNonVirtualRendering(),this.useVirtualScrolling=!0):!o&&this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),this.useVirtualScrolling?await this.renderFlatVirtual(a,r,s):await this.renderFlatNormal(a,r,s)}async renderFlatVirtual(e,r,a){this.itemsContainer&&(this.virtualScroller?this.virtualScroller.updateItems(e):(this.virtualScroller=new Jo({container:this.itemsContainer,items:e,overscan:5,renderItem:(i,s)=>{let o=Ct(i,this.plugin,r,a);return this.taskInfoCache.set(i.path,i),this.lastTaskSignatures.set(i.path,this.buildTaskSignature(i)),o},getItemKey:i=>i.path}),setTimeout(()=>{var i;(i=this.virtualScroller)==null||i.recalculate()},0)),this.lastFlatPaths=e.map(i=>i.path))}async renderFlatNormal(e,r,a){if(!this.itemsContainer)return;let i=new Set,s=!this.arePathArraysEqual(e,this.lastFlatPaths);s&&(this.itemsContainer.empty(),this.currentTaskElements.clear());for(let o of e){let l=s?null:this.currentTaskElements.get(o.path)||null,c=this.buildTaskSignature(o),d=this.lastTaskSignatures.get(o.path);if(!l||(c!==d||!l)){let p=Ct(o,this.plugin,r,a);l&&l.isConnected&&l.replaceWith(p),l=p}l.isConnected||this.itemsContainer.appendChild(l),this.currentTaskElements.set(o.path,l),this.taskInfoCache.set(o.path,o),this.lastTaskSignatures.set(o.path,c),i.add(o.path)}if(!s&&i.size!==this.currentTaskElements.size){for(let[o,l]of this.currentTaskElements)if(!i.has(o)){l.remove(),this.currentTaskElements.delete(o);let c=this.clickTimeouts.get(o);c&&(clearTimeout(c),this.clickTimeouts.delete(o)),this.taskInfoCache.delete(o),this.lastTaskSignatures.delete(o)}}this.lastFlatPaths=e.map(o=>o.path)}buildGroupedRenderItems(e,r){let a=[],i=this.subGroupPropertyId?this.buildPathToPropsMap():new Map;for(let s of e){let o=this.dataAdapter.convertGroupKeyToString(s.key),l=new Set(s.entries.map(u=>u.file.path)),c=r.filter(u=>l.has(u.path));if(c.length===0)continue;let d=this.collapsedGroups.has(o);if(a.push({type:"primary-header",groupKey:o,groupTitle:o,taskCount:c.length,groupEntries:s.entries,isCollapsed:d}),!d)if(this.subGroupPropertyId){let u=this.groupTasksBySubProperty(c,this.subGroupPropertyId,i);for(let[p,m]of u){if(m.length===0)continue;let h=`${o}:${p}`,f=this.collapsedSubGroups.has(h);if(a.push({type:"sub-header",groupKey:o,subGroupKey:p,subGroupTitle:p,taskCount:m.length,isCollapsed:f,parentKey:o}),!f)for(let g of m)a.push({type:"task",task:g,groupKey:o,subGroupKey:p})}}else for(let u of c)a.push({type:"task",task:u,groupKey:o})}return a}async renderGroupedBySubProperty(e){let r=this.getVisibleProperties(),a=this.applySearchFilter(e);if(this.isSearchWithNoResults(a,e.length)){this.clearAllTaskElements(),this.itemsContainer&&this.renderSearchNoResults(this.itemsContainer);return}let i=mt(new Date);this.currentTargetDate=i;let s=this.getCardOptions(i),o=this.buildPathToPropsMap(),l=this.groupTasksBySubProperty(a,this.subGroupPropertyId,o),c=[];for(let[u,p]of l){if(p.length===0)continue;let m=this.collapsedGroups.has(u);if(c.push({type:"primary-header",groupKey:u,groupTitle:u,taskCount:p.length,groupEntries:[],isCollapsed:m}),!m)for(let h of p)c.push({type:"task",task:h,groupKey:u})}let d=c.length>=this.VIRTUAL_SCROLL_THRESHOLD;if(this.useVirtualScrolling&&d&&this.virtualScroller){this.virtualScroller.updateItems(c),this.lastFlatPaths=e.map(u=>u.path);return}this.itemsContainer.empty(),this.currentTaskElements.clear(),this.clearClickTimeouts(),this.taskInfoCache.clear(),this.lastTaskSignatures.clear(),d&&!this.useVirtualScrolling?(this.cleanupNonVirtualRendering(),this.useVirtualScrolling=!0):!d&&this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),this.useVirtualScrolling?await this.renderGroupedVirtual(c,r,s):await this.renderGroupedNormal(c,r,s),this.lastFlatPaths=e.map(u=>u.path)}async renderGrouped(e){let r=this.getVisibleProperties(),a=this.dataAdapter.getGroupedData(),i=this.applySearchFilter(e);if(this.isSearchWithNoResults(i,e.length)){this.clearAllTaskElements(),this.itemsContainer&&this.renderSearchNoResults(this.itemsContainer);return}let s=mt(new Date);this.currentTargetDate=s;let o=this.getCardOptions(s),l=this.buildGroupedRenderItems(a,i),c=l.length>=this.VIRTUAL_SCROLL_THRESHOLD;if(this.useVirtualScrolling&&c&&this.virtualScroller){this.virtualScroller.updateItems(l),this.lastFlatPaths=e.map(d=>d.path);return}this.itemsContainer.empty(),this.currentTaskElements.clear(),this.clearClickTimeouts(),this.taskInfoCache.clear(),this.lastTaskSignatures.clear(),c&&!this.useVirtualScrolling?(this.cleanupNonVirtualRendering(),this.useVirtualScrolling=!0):!c&&this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),this.useVirtualScrolling?await this.renderGroupedVirtual(l,r,o):await this.renderGroupedNormal(l,r,o),this.lastFlatPaths=e.map(d=>d.path)}async renderGroupedVirtual(e,r,a){this.virtualScroller?this.virtualScroller.updateItems(e):(this.virtualScroller=new Jo({container:this.itemsContainer,items:e,overscan:5,renderItem:i=>{if(i.type==="primary-header"||i.type==="sub-header")return this.createGroupHeader(i);{let s=Ct(i.task,this.plugin,r,a);return this.taskInfoCache.set(i.task.path,i.task),this.lastTaskSignatures.set(i.task.path,this.buildTaskSignature(i.task)),s}},getItemKey:i=>i.type==="primary-header"?`primary-${i.groupKey}`:i.type==="sub-header"?`sub-${i.groupKey}:${i.subGroupKey}`:i.task.path}),setTimeout(()=>{var i;(i=this.virtualScroller)==null||i.recalculate()},0))}async renderGroupedNormal(e,r,a){for(let i of e)if(i.type==="primary-header"||i.type==="sub-header"){let s=this.createGroupHeader(i);this.itemsContainer.appendChild(s)}else{let s=Ct(i.task,this.plugin,r,a);this.itemsContainer.appendChild(s),this.currentTaskElements.set(i.task.path,s),this.taskInfoCache.set(i.task.path,i.task),this.lastTaskSignatures.set(i.task.path,this.buildTaskSignature(i.task))}}createGroupHeader(e){let r=document.createElement("div");r.className="task-section task-group";let a=e.type==="sub-header",i=a?"sub":"primary";r.dataset.level=i,a?(r.dataset.groupKey=`${e.groupKey}:${e.subGroupKey}`,r.dataset.parentKey=e.parentKey):r.dataset.groupKey=e.groupKey,e.isCollapsed&&r.classList.add("is-collapsed");let s=document.createElement("h3");s.className="task-group-header task-list-view__group-header",r.appendChild(s);let o=document.createElement("button");o.className="task-group-toggle",o.setAttribute("aria-label","Toggle group"),o.setAttribute("aria-expanded",String(!e.isCollapsed)),o.dataset.groupKey=r.dataset.groupKey,s.appendChild(o),(0,Ln.setIcon)(o,"chevron-right");let l=o.querySelector("svg");l&&(l.classList.add("chevron"),l.setAttribute("width","16"),l.setAttribute("height","16"));let c=s.createSpan({cls:"task-group-title"}),d=a?e.subGroupTitle:e.groupTitle;return this.renderGroupTitle(c,d),s.createSpan({text:` (${e.taskCount})`,cls:"agenda-view__item-count"}),r}async handleTaskUpdate(e){if(this.taskInfoCache.set(e.path,e),this.lastTaskSignatures.set(e.path,this.buildTaskSignature(e)),this.useVirtualScrolling)this.debouncedRefresh();else{let r=this.currentTaskElements.get(e.path);if(r&&r.isConnected){let a=this.getVisibleProperties(),i=Ct(e,this.plugin,a,this.getCardOptions(this.currentTargetDate));r.replaceWith(i),i.classList.add("task-card--updated"),window.setTimeout(()=>{i.classList.remove("task-card--updated")},1e3),this.currentTaskElements.set(e.path,i)}else this.debouncedRefresh()}}renderEmptyState(){let e=document.createElement("div");e.className="tn-bases-empty",e.style.cssText="padding: 20px; text-align: center; color: #666;",e.textContent="No TaskNotes tasks found for this Base.",this.itemsContainer.appendChild(e)}renderError(e){let r=document.createElement("div");r.className="tn-bases-error",r.style.cssText="padding: 20px; color: #d73a49; background: #ffeaea; border-radius: 4px; margin: 10px 0;",r.textContent=`Error loading tasks: ${e.message||"Unknown error"}`,this.itemsContainer.appendChild(r)}renderGroupTitle(e,r){let a=this.app||this.plugin.app,i={metadataCache:a.metadataCache,workspace:a.workspace};Lk(e,r,i)}onunload(){this.unregisterContainerListeners(),this.destroyVirtualScroller(),this.currentTaskElements.clear(),this.itemsContainer=null,this.lastRenderWasGrouped=!1,this.clearClickTimeouts(),this.taskInfoCache.clear(),this.lastTaskSignatures.clear(),this.lastFlatPaths=[],this.useVirtualScrolling=!1,this.collapsedGroups.clear(),this.collapsedSubGroups.clear()}getEphemeralState(){var e;return{scrollTop:((e=this.rootElement)==null?void 0:e.scrollTop)||0,collapsedGroups:Array.from(this.collapsedGroups),collapsedSubGroups:Array.from(this.collapsedSubGroups)}}setEphemeralState(e){e&&(e.collapsedGroups&&Array.isArray(e.collapsedGroups)&&(this.collapsedGroups=new Set(e.collapsedGroups)),e.collapsedSubGroups&&Array.isArray(e.collapsedSubGroups)&&(this.collapsedSubGroups=new Set(e.collapsedSubGroups)),e.scrollTop!==void 0&&this.rootElement&&requestAnimationFrame(()=>{this.rootElement&&this.rootElement.isConnected&&(this.rootElement.scrollTop=e.scrollTop)}))}clearAllTaskElements(){var e;this.useVirtualScrolling&&(this.destroyVirtualScroller(),this.useVirtualScrolling=!1),(e=this.itemsContainer)==null||e.empty(),this.currentTaskElements.forEach(r=>r.remove()),this.currentTaskElements.clear(),this.lastFlatPaths=[],this.lastTaskSignatures.clear(),this.taskInfoCache.clear(),this.clearClickTimeouts()}getCardOptions(e){return{targetDate:e}}clearClickTimeouts(){for(let e of this.clickTimeouts.values())e&&clearTimeout(e);this.clickTimeouts.clear()}registerContainerListeners(){!this.itemsContainer||this.containerListenersRegistered||(this.registerDomEvent(this.itemsContainer,"click",this.handleItemClick),this.containerListenersRegistered=!0)}unregisterContainerListeners(){this.containerListenersRegistered=!1}getTaskContextFromEvent(e){let r=e.target;if(!r)return null;let a=r.closest(".task-card");if(!a)return null;let i=a.dataset.taskPath;if(!i)return null;let s=this.taskInfoCache.get(i);return s?{task:s,card:a}:null}async handleGroupToggle(e){e.includes(":")?this.collapsedSubGroups.has(e)?this.collapsedSubGroups.delete(e):this.collapsedSubGroups.add(e):this.collapsedGroups.has(e)?this.collapsedGroups.delete(e):this.collapsedGroups.add(e),this.lastRenderWasGrouped&&await this.refreshGroupedView()}async refreshGroupedView(){var s;if(!((s=this.data)!=null&&s.data))return;let e=this.dataAdapter.extractDataItems();await this.computeFormulas(e);let r=await Uc(e,this.plugin),a=this.dataAdapter.getGroupedData(),i=this.buildGroupedRenderItems(a,r);this.useVirtualScrolling&&this.virtualScroller?this.virtualScroller.updateItems(i):await this.render()}async handleActionClick(e,r,a,i){switch(e){case"toggle-status":await this.handleToggleStatus(r,i);return;case"priority-menu":this.showPriorityMenu(r,i);return;case"recurrence-menu":this.showRecurrenceMenu(r,i);return;case"reminder-menu":this.showReminderModal(r);return;case"task-context-menu":await eu(i,r.path,this.plugin,this.getTaskActionDate(r));return;case"edit-date":await this.openDateContextMenu(r,a.dataset.tnDateType,i);return;case"filter-project-subtasks":await this.filterProjectSubtasks(r);return;case"toggle-subtasks":await this.toggleSubtasks(r,a);return;case"toggle-blocking-tasks":await this.toggleBlockingTasks(r,a);return;default:await this.handleCardClick(r,i)}}async handleToggleStatus(e,r){try{if(e.recurrence){let a=this.getTaskActionDate(e);await this.plugin.toggleRecurringTaskComplete(e,a)}else await this.plugin.toggleTaskStatus(e)}catch(a){let i=a instanceof Error?a.message:String(a);console.error("[TaskNotes][TaskListView] Failed to toggle status",{error:i,taskPath:e.path}),new Ln.Notice(`Failed to toggle task status: ${i}`)}}getTaskActionDate(e){let r=_e(e.scheduled||e.due||"");return r?je(r):this.currentTargetDate}showPriorityMenu(e,r){new ri({currentValue:e.priority,onSelect:async i=>{try{await this.plugin.updateTaskProperty(e,"priority",i)}catch(s){console.error("[TaskNotes][TaskListView] Failed to update priority",s),new Ln.Notice("Failed to update priority")}},plugin:this.plugin}).show(r)}showRecurrenceMenu(e,r){new ti({currentValue:typeof e.recurrence=="string"?e.recurrence:void 0,currentAnchor:e.recurrence_anchor||"scheduled",onSelect:async(i,s)=>{try{await this.plugin.updateTaskProperty(e,"recurrence",i||void 0),s!==void 0&&await this.plugin.updateTaskProperty(e,"recurrence_anchor",s)}catch(o){console.error("[TaskNotes][TaskListView] Failed to update recurrence",o),new Ln.Notice("Failed to update recurrence")}},app:this.plugin.app,plugin:this.plugin}).show(r)}showReminderModal(e){new ei(this.plugin.app,this.plugin,e,async a=>{try{await this.plugin.updateTaskProperty(e,"reminders",a.length>0?a:void 0)}catch(i){console.error("[TaskNotes][TaskListView] Failed to update reminders",i),new Ln.Notice("Failed to update reminders")}}).open()}async openDateContextMenu(e,r,a){if(!r)return;let i=r==="due"?e.due:e.scheduled;new Cn({currentValue:_e(i||""),currentTime:Hr(i||""),onSelect:async(o,l)=>{try{let c;o?l?c=`${o}T${l}`:c=o:c=void 0,await this.plugin.updateTaskProperty(e,r,c)}catch(c){let d=c instanceof Error?c.message:String(c);console.error("[TaskNotes][TaskListView] Failed to update date",{error:d,taskPath:e.path,dateType:r}),new Ln.Notice(`Failed to update ${r} date: ${d}`)}},plugin:this.plugin,app:this.app||this.plugin.app}).show(a)}async handleCardClick(e,r){if(this.handleSelectionClick(r,e.path))return;if(this.plugin.settings.doubleClickAction==="none"){await this.executeSingleClickAction(e,r);return}let a=this.clickTimeouts.get(e.path);if(a)clearTimeout(a),this.clickTimeouts.delete(e.path),await this.executeDoubleClickAction(e,r);else{let i=window.setTimeout(async()=>{this.clickTimeouts.delete(e.path),await this.executeSingleClickAction(e,r)},250);this.clickTimeouts.set(e.path,i)}}async executeSingleClickAction(e,r){if(r.ctrlKey||r.metaKey){this.openTaskNote(e,!0);return}switch(this.plugin.settings.singleClickAction){case"edit":await this.editTask(e);break;case"openNote":this.openTaskNote(e,!1);break;default:break}}async executeDoubleClickAction(e,r){switch(this.plugin.settings.doubleClickAction){case"edit":await this.editTask(e);break;case"openNote":this.openTaskNote(e,!1);break;default:break}}async editTask(e){await this.plugin.openTaskEditModal(e)}openTaskNote(e,r){let a=this.app||this.plugin.app,i=a.vault.getAbstractFileByPath(e.path);i instanceof Ln.TFile&&(r?a.workspace.openLinkText(e.path,"",!0):a.workspace.getLeaf(!1).openFile(i))}async filterProjectSubtasks(e){try{await this.plugin.applyProjectSubtaskFilter(e)}catch(r){console.error("[TaskNotes][TaskListView] Failed to filter project subtasks",r),new Ln.Notice("Failed to filter project subtasks")}}async toggleSubtasks(e,r){try{if(!this.plugin.expandedProjectsService){console.error("[TaskNotes][TaskListView] ExpandedProjectsService not initialized"),new Ln.Notice("Service not available. Please try reloading the plugin.");return}let a=this.plugin.expandedProjectsService.toggle(e.path);r.classList.toggle("task-card__chevron--expanded",a),r.setAttribute("aria-label",a?"Collapse subtasks":"Expand subtasks");let i=r.closest(".task-card");if(i){let{toggleSubtasks:s}=await Promise.resolve().then(()=>(Or(),Es));await s(i,e,this.plugin,a)}}catch(a){console.error("[TaskNotes][TaskListView] Failed to toggle subtasks",a),new Ln.Notice("Failed to toggle subtasks")}}async toggleBlockingTasks(e,r){try{let a=r.classList.toggle("task-card__blocking-toggle--expanded"),i=r.closest(".task-card");if(i){let{toggleBlockingTasks:s}=await Promise.resolve().then(()=>(Or(),Es));await s(i,e,this.plugin,a)}}catch(a){console.error("[TaskNotes][TaskListView] Failed to toggle blocking tasks",a),new Ln.Notice("Failed to toggle blocking tasks")}}arePathArraysEqual(e,r){if(e.length!==r.length)return!1;for(let a=0;a<e.length;a++)if(e[a].path!==r[a])return!1;return!0}cleanupNonVirtualRendering(){var e;(e=this.itemsContainer)==null||e.empty(),this.currentTaskElements.clear(),this.clearClickTimeouts()}destroyVirtualScroller(){this.virtualScroller&&(this.virtualScroller.destroy(),this.virtualScroller=null)}buildPathToPropsMap(){var a,i,s;let e=new Map;if(!((a=this.data)!=null&&a.data))return e;let r=this.dataAdapter.extractDataItems();for(let o of r)if(o.path){let l={...o.properties||{}},c=(s=(i=o.basesData)==null?void 0:i.formulaResults)==null?void 0:s.cachedFormulaOutputs;if(c&&typeof c=="object")for(let[d,u]of Object.entries(c))l[`formula.${d}`]=u;e.set(o.path,l)}return e}getPropertyValue(e,r){var i,s;if(!r)return null;if(r.startsWith("formula."))return(i=e[r])!=null?i:null;let a=r.replace(/^(note\.|task\.|file\.)/,"");return(s=e[a])!=null?s:null}valueToString(e){var r,a;if(e==null)return"None";if(typeof e=="object"&&e!==null&&typeof e.toString=="function"){if(((r=e.constructor)==null?void 0:r.name)==="NullValue"||e.isTruthy&&!e.isTruthy())return"None";if(((a=e.constructor)==null?void 0:a.name)==="ListValue"||Array.isArray(e.value)){let s=e.value||[];return s.length===0?"None":s.map(o=>this.valueToString(o)).join(", ")}return e.toString()||"None"}return typeof e=="string"?e||"None":typeof e=="number"?String(e):typeof e=="boolean"?e?"True":"False":Array.isArray(e)?e.length>0?e.map(i=>this.valueToString(i)).join(", "):"None":String(e)}groupTasksBySubProperty(e,r,a){let i=new Map;for(let s of e){let o=a.get(s.path)||{},l=this.getPropertyValue(o,r),c=this.valueToString(l);i.has(c)||i.set(c,[]),i.get(c).push(s)}return i}buildTaskSignature(e){var r,a,i,s;return`${e.path}|${e.title}|${e.status}|${e.priority}|${e.due}|${e.scheduled}|${e.recurrence}|${e.archived}|${(r=e.complete_instances)==null?void 0:r.join(",")}|${(a=e.reminders)==null?void 0:a.length}|${(i=e.blocking)==null?void 0:i.length}|${(s=e.blockedBy)==null?void 0:s.length}`}}});function cX(n){return function(t,e){if(!e)throw console.error("[TaskNotes][KanbanView] No containerEl provided"),new Error("KanbanView requires a containerEl");return new LR(t,e,n)}}var Gu,LR,dX=b(()=>{Gu=require("obsidian");Ng();Fk();Or();RR();FR();Ke();LR=class extends Gi{constructor(e,r,a){super(e,r,a);this.type="tasknoteKanban";this.boardEl=null;this.currentTaskElements=new Map;this.draggedTaskPath=null;this.draggedTaskPaths=[];this.draggedFromColumn=null;this.draggedFromSwimlane=null;this.draggedSourceColumns=new Map;this.draggedSourceSwimlanes=new Map;this.taskInfoCache=new Map;this.containerListenersRegistered=!1;this.columnScrollers=new Map;this.swimLanePropertyId=null;this.columnWidth=280;this.maxSwimlaneHeight=600;this.hideEmptyColumns=!1;this.explodeListColumns=!0;this.columnOrders={};this.configLoaded=!1;this.VIRTUAL_SCROLL_THRESHOLD=15;this.handleBoardClick=async e=>{let r=this.getTaskContextFromEvent(e);if(!r)return;let{task:a,card:i}=r,o=e.target.closest("[data-tn-action]");if(o&&o!==i){let l=o.dataset.tnAction;if(l){e.preventDefault(),e.stopPropagation(),await this.handleCardAction(l,a,o,e);return}}};this.handleBoardContextMenu=async e=>{let r=this.getTaskContextFromEvent(e);if(!r)return;e.preventDefault(),e.stopPropagation();let{showTaskContextMenu:a}=await Promise.resolve().then(()=>(Or(),Es));await a(e,r.task.path,this.plugin,this.getTaskActionDate(r.task))};this.basesController=e,this.dataAdapter.basesView=this}onload(){this.readViewOptions(),super.onload()}onDataUpdated(){let e=this.getEphemeralState();try{this.render()}catch(r){console.error(`[TaskNotes][${this.type}] Render error:`,r),this.renderError(r)}this.setEphemeralState(e)}readViewOptions(){if(!(!this.config||typeof this.config.get!="function"))try{this.swimLanePropertyId=this.config.getAsPropertyId("swimLane"),this.columnWidth=this.config.get("columnWidth")||280,this.maxSwimlaneHeight=this.config.get("maxSwimlaneHeight")||600,this.hideEmptyColumns=this.config.get("hideEmptyColumns")||!1;let e=this.config.get("explodeListColumns");this.explodeListColumns=e!==!1;let r=this.config.get("columnOrder")||"{}";this.columnOrders=JSON.parse(r);let a=this.config.get("enableSearch");this.enableSearch=a!=null?a:!1,this.configLoaded=!0}catch(e){console.warn("[KanbanView] Failed to parse config:",e)}}getEphemeralState(){var r;let e={};for(let[a,i]of this.columnScrollers){let s=i.scrollContainer;s&&(e[a]=s.scrollTop)}return this.boardEl&&(this.boardEl.querySelectorAll(".kanban-view__column").forEach(s=>{let o=s.getAttribute("data-group"),l=s.querySelector(".kanban-view__cards");o&&l&&!(o in e)&&(e[o]=l.scrollTop)}),this.boardEl.querySelectorAll(".kanban-view__swimlane-column").forEach(s=>{let o=s.getAttribute("data-column"),l=s.getAttribute("data-swimlane");if(o&&l){let c=`${l}:${o}`,d=s.querySelector(".kanban-view__tasks-container");d&&!(c in e)&&(e[c]=d.scrollTop)}})),{scrollTop:((r=this.rootElement)==null?void 0:r.scrollTop)||0,columnScroll:e}}setEphemeralState(e){e&&(e.scrollTop!==void 0&&this.rootElement&&requestAnimationFrame(()=>{this.rootElement&&this.rootElement.isConnected&&(this.rootElement.scrollTop=e.scrollTop)}),e.columnScroll&&typeof e.columnScroll=="object"&&requestAnimationFrame(()=>{for(let[r,a]of this.columnScrollers){let i=e.columnScroll[r];if(i!==void 0){let s=a.scrollContainer;s&&(s.scrollTop=i)}}this.boardEl&&(this.boardEl.querySelectorAll(".kanban-view__column").forEach(i=>{let s=i.getAttribute("data-group");if(s&&e.columnScroll[s]!==void 0){let o=i.querySelector(".kanban-view__cards");o&&!this.columnScrollers.has(s)&&(o.scrollTop=e.columnScroll[s])}}),this.boardEl.querySelectorAll(".kanban-view__swimlane-column").forEach(i=>{let s=i.getAttribute("data-column"),o=i.getAttribute("data-swimlane");if(s&&o){let l=`${o}:${s}`;if(e.columnScroll[l]!==void 0){let c=i.querySelector(".kanban-view__tasks-container");c&&!this.columnScrollers.has(l)&&(c.scrollTop=e.columnScroll[l])}}}))}))}async render(){var e;if(!(!this.boardEl||!this.rootElement)&&(e=this.data)!=null&&e.data){!this.configLoaded&&this.config&&this.readViewOptions(),this.rootElement&&this.setupSearch(this.rootElement);try{let r=this.dataAdapter.extractDataItems(),a=await Uc(r,this.plugin),i=this.applySearchFilter(a);if(this.destroyColumnScrollers(),this.boardEl.empty(),i.length===0){this.isSearchWithNoResults(i,a.length)?this.renderSearchNoResults(this.boardEl):this.renderEmptyState();return}let s=this.buildPathToPropsMap(),o=this.getGroupByPropertyId();if(!o){this.renderNoGroupByError();return}let l=this.groupTasks(i,o,s);this.swimLanePropertyId?await this.renderWithSwimLanes(l,i,s,o):await this.renderFlat(l)}catch(r){console.error("[TaskNotes][KanbanView] Error rendering:",r),this.renderError(r)}}}getGroupByPropertyId(){var r;let e=this.basesController;if((r=e==null?void 0:e.query)!=null&&r.views&&(e!=null&&e.viewName)){let a=e.query.views,i=e.viewName;for(let s=0;s<20;s++){let o=a[s];if(o&&o.name===i){if(o.groupBy){if(typeof o.groupBy=="object"&&o.groupBy.property)return o.groupBy.property;if(typeof o.groupBy=="string")return o.groupBy}return null}}}return null}groupTasks(e,r,a){let i=new Map,s=this.stripPropertyPrefix(r);if(this.explodeListColumns&&this.isListTypeProperty(s))for(let l of e){let c=this.getListPropertyValue(l,s,a);if(Array.isArray(c)&&c.length>0)for(let d of c){let u=String(d)||"None";i.has(u)||i.set(u,[]),i.get(u).push(l)}else{let d="None";i.has(d)||i.set(d,[]),i.get(d).push(l)}}else{let l=this.dataAdapter.getGroupedData(),c=new Map(e.map(d=>[d.path,d]));for(let d of l){let u=this.dataAdapter.convertGroupKeyToString(d.key),p=[];for(let m of d.entries){let h=c.get(m.file.path);h&&p.push(h)}i.set(u,p)}}return this.augmentWithEmptyStatusColumns(i,r),this.augmentWithEmptyPriorityColumns(i,r),i}isListTypeProperty(e){let r=this.plugin.app.metadataTypeManager;if(r!=null&&r.properties){let o=r.properties[e.toLowerCase()];if(o!=null&&o.type&&new Set(["multitext","tags","aliases"]).has(o.type))return!0}let a=this.plugin.fieldMapper.toUserField("contexts"),i=this.plugin.fieldMapper.toUserField("projects");return new Set(["contexts",a,"projects",i,"tags","aliases"]).has(e)}getListPropertyValue(e,r,a){let i=this.plugin.fieldMapper.toUserField("contexts"),s=this.plugin.fieldMapper.toUserField("projects");return r==="contexts"||r===i?e.contexts:r==="projects"||r===s?e.projects:r==="tags"?e.tags:(a.get(e.path)||{})[r]}augmentWithEmptyStatusColumns(e,r){let a=this.plugin.fieldMapper.toUserField("status");if(r.replace(/^(note\.|file\.|task\.)/,"")!==a)return;let s=this.plugin.settings.customStatuses;if(!(!s||s.length===0))for(let o of s){let l=o.value;e.has(l)||e.set(l,[])}}augmentWithEmptyPriorityColumns(e,r){let a=this.plugin.fieldMapper.toUserField("priority");if(r.replace(/^(note\.|file\.|task\.)/,"")!==a)return;let s=this.plugin.priorityManager.getAllPriorities();if(!(!s||s.length===0))for(let o of s){let l=o.value;e.has(l)||e.set(l,[])}}async renderFlat(e){if(!this.boardEl)return;this.boardEl.style.setProperty("--kanban-column-width",`${this.columnWidth}px`);let r=this.getVisibleProperties(),a=this.getGroupByPropertyId(),i=Array.from(e.keys()),s=a?this.applyColumnOrder(a,i):i;for(let o of s){let l=e.get(o)||[];if(this.hideEmptyColumns&&l.length===0)continue;let c=await this.createColumn(o,l,r);this.boardEl&&this.boardEl.appendChild(c)}}async renderWithSwimLanes(e,r,a,i){if(!this.swimLanePropertyId)return;let s=new Map,o=new Set;for(let p of r){let m=a.get(p.path)||{},h=this.getPropertyValue(m,this.swimLanePropertyId),f=this.valueToString(h);o.add(f)}for(let p of o){let m=new Map;s.set(p,m);for(let[h]of e)m.set(h,[])}let l=this.stripPropertyPrefix(i),c=this.explodeListColumns&&this.isListTypeProperty(l);for(let p of r){let m=a.get(p.path)||{},h=this.getPropertyValue(m,this.swimLanePropertyId),f=this.valueToString(h),g=s.get(f);if(g)if(c){let v=this.getListPropertyValue(p,l,a);if(Array.isArray(v)&&v.length>0)for(let T of v){let k=String(T)||"None";g.has(k)&&g.get(k).push(p)}else g.has("None")&&g.get("None").push(p)}else{let v=this.getPropertyValue(m,i),T=this.valueToString(v);g.has(T)&&g.get(T).push(p)}}let d=Array.from(e.keys()),u=this.applyColumnOrder(i,d);await this.renderSwimLaneTable(s,u,a)}async renderSwimLaneTable(e,r,a){if(!this.boardEl)return;this.boardEl.style.setProperty("--kanban-column-width",`${this.columnWidth}px`),this.boardEl.style.setProperty("--kanban-swimlane-max-height",`${this.maxSwimlaneHeight}px`),this.boardEl.addClass("kanban-view__board--swimlanes");let i=this.boardEl.createEl("div",{cls:"kanban-view__swimlane-row kanban-view__swimlane-row--header"});i.createEl("div",{cls:"kanban-view__swimlane-label"});for(let o of r){let l=i.createEl("div",{cls:"kanban-view__column-header-cell"});l.setAttribute("draggable","true"),l.setAttribute("data-column-key",o);let c=l.createSpan({cls:"kanban-view__drag-handle"});c.textContent="\u22EE\u22EE";let d=l.createSpan({cls:"kanban-view__column-title"});this.renderGroupTitleWrapper(d,o),this.setupColumnHeaderDragHandlers(l)}let s=this.getVisibleProperties();for(let[o,l]of e){let c=this.boardEl.createEl("div",{cls:"kanban-view__swimlane-row"}),d=c.createEl("div",{cls:"kanban-view__swimlane-label"}),u=d.createEl("div",{cls:"kanban-view__swimlane-title"});this.renderGroupTitleWrapper(u,o);let p=Array.from(l.values()).reduce((m,h)=>m+h.length,0);d.createEl("div",{cls:"kanban-view__swimlane-count",text:`${p}`});for(let m of r){let h=l.get(m)||[],f=c.createEl("div",{cls:"kanban-view__swimlane-column",attr:{"data-column":m,"data-swimlane":o}});this.setupSwimLaneCellDragDrop(f,m,o);let g=f.createDiv({cls:"kanban-view__tasks-container"});if(h.length>=this.VIRTUAL_SCROLL_THRESHOLD)await this.createVirtualSwimLaneCell(g,`${o}:${m}`,h,s);else{let v=this.getCardOptions();for(let T of h){let k=g.createDiv({cls:"kanban-view__card-wrapper"});k.setAttribute("draggable","true"),k.setAttribute("data-task-path",T.path);let w=Ct(T,this.plugin,s,v);k.appendChild(w),this.currentTaskElements.set(T.path,k),this.taskInfoCache.set(T.path,T),this.setupCardDragHandlers(k,T)}}}}}async createColumn(e,r,a){let i=document.createElement("div");i.className="kanban-view__column",i.style.width=`${this.columnWidth}px`,i.setAttribute("data-group",e);let s=i.createDiv({cls:"kanban-view__column-header"});s.setAttribute("draggable","true"),s.setAttribute("data-column-key",e);let o=s.createSpan({cls:"kanban-view__drag-handle"});o.textContent="\u22EE\u22EE";let l=s.createSpan({cls:"kanban-view__column-title"});this.renderGroupTitleWrapper(l,e),s.createSpan({cls:"kanban-view__column-count",text:` (${r.length})`}),this.setupColumnHeaderDragHandlers(s);let c=i.createDiv({cls:"kanban-view__cards"});this.setupColumnDragDrop(i,c,e);let d=this.getCardOptions();return r.length>=this.VIRTUAL_SCROLL_THRESHOLD?this.createVirtualColumn(c,e,r,a,d):this.createNormalColumn(c,r,a,d),i}createVirtualColumn(e,r,a,i,s){e.style.cssText="overflow-y: auto; max-height: 100vh; position: relative;";let o=new Jo({container:e,items:a,overscan:3,renderItem:l=>{let c=document.createElement("div");c.className="kanban-view__card-wrapper",c.setAttribute("draggable","true"),c.setAttribute("data-task-path",l.path);let d=Ct(l,this.plugin,i,s);return c.appendChild(d),this.taskInfoCache.set(l.path,l),this.setupCardDragHandlers(c,l),c},getItemKey:l=>l.path});this.columnScrollers.set(r,o)}async createVirtualSwimLaneCell(e,r,a,i){e.style.cssText="overflow-y: auto; height: 100%; position: relative;";let s=this.getCardOptions(),o=new Jo({container:e,items:a,overscan:3,renderItem:l=>{let c=document.createElement("div");c.className="kanban-view__card-wrapper",c.setAttribute("draggable","true"),c.setAttribute("data-task-path",l.path);let d=Ct(l,this.plugin,i,s);return c.appendChild(d),this.taskInfoCache.set(l.path,l),this.setupCardDragHandlers(c,l),c},getItemKey:l=>l.path});this.columnScrollers.set(r,o)}createNormalColumn(e,r,a,i){for(let s of r){let o=e.createDiv({cls:"kanban-view__card-wrapper"});o.setAttribute("draggable","true"),o.setAttribute("data-task-path",s.path);let l=Ct(s,this.plugin,a,i);o.appendChild(l),this.currentTaskElements.set(s.path,o),this.taskInfoCache.set(s.path,s),this.setupCardDragHandlers(o,s)}}setupColumnHeaderDragHandlers(e){let r=e.dataset.columnKey;if(!r)return;let a=e.classList.contains("kanban-view__column-header-cell"),i=a?"kanban-view__column-header-cell--dragging":"kanban-view__column-header--dragging";e.addEventListener("dragstart",s=>{s.dataTransfer&&(s.dataTransfer.effectAllowed="move",s.dataTransfer.setData("text/x-kanban-column",r),e.classList.add(i))}),e.addEventListener("dragover",s=>{var o;(o=s.dataTransfer)!=null&&o.types.includes("text/x-kanban-column")&&(s.preventDefault(),s.stopPropagation(),s.dataTransfer.dropEffect="move",e.classList.add("kanban-view__column-header--dragover"))}),e.addEventListener("dragleave",s=>{var o;(o=s.dataTransfer)!=null&&o.types.includes("text/x-kanban-column")&&s.target===e&&e.classList.remove("kanban-view__column-header--dragover")}),e.addEventListener("drop",async s=>{var f;if(!((f=s.dataTransfer)!=null&&f.types.includes("text/x-kanban-column")))return;s.preventDefault(),s.stopPropagation(),e.classList.remove("kanban-view__column-header--dragover");let o=s.dataTransfer.getData("text/x-kanban-column"),l=e.dataset.columnKey;if(!l||!o||o===l)return;let c=this.getGroupByPropertyId();if(!c)return;let d=a?".kanban-view__column-header-cell":".kanban-view__column-header",u=Array.from(this.boardEl.querySelectorAll(d)).map(g=>g.dataset.columnKey).filter(Boolean),p=u.indexOf(o),m=u.indexOf(l),h=[...u];h.splice(p,1),h.splice(m,0,o),await this.saveColumnOrder(c,h),await this.render()}),e.addEventListener("dragend",()=>{e.classList.remove(i)})}setupColumnDragDrop(e,r,a){e.addEventListener("dragover",i=>{var s;(s=i.dataTransfer)!=null&&s.types.includes("text/x-kanban-column")||(i.preventDefault(),i.stopPropagation(),i.dataTransfer&&(i.dataTransfer.dropEffect="move"),e.classList.add("kanban-view__column--dragover"))}),e.addEventListener("dragleave",i=>{let s=e.getBoundingClientRect(),o=i.clientX,l=i.clientY;(o<s.left||o>=s.right||l<s.top||l>=s.bottom)&&e.classList.remove("kanban-view__column--dragover")}),e.addEventListener("drop",async i=>{var s;(s=i.dataTransfer)!=null&&s.types.includes("text/x-kanban-column")||(i.preventDefault(),i.stopPropagation(),e.classList.remove("kanban-view__column--dragover"),this.draggedTaskPath&&(await this.handleTaskDrop(this.draggedTaskPath,a,null),this.draggedTaskPath=null,this.draggedFromColumn=null))}),e.addEventListener("dragend",()=>{e.classList.remove("kanban-view__column--dragover")})}setupSwimLaneCellDragDrop(e,r,a){e.addEventListener("dragover",i=>{i.preventDefault(),i.stopPropagation(),i.dataTransfer&&(i.dataTransfer.dropEffect="move"),e.classList.add("kanban-view__swimlane-column--dragover")}),e.addEventListener("dragleave",i=>{let s=e.getBoundingClientRect(),o=i.clientX,l=i.clientY;(o<s.left||o>=s.right||l<s.top||l>=s.bottom)&&e.classList.remove("kanban-view__swimlane-column--dragover")}),e.addEventListener("drop",async i=>{i.preventDefault(),i.stopPropagation(),e.classList.remove("kanban-view__swimlane-column--dragover"),this.draggedTaskPath&&(await this.handleTaskDrop(this.draggedTaskPath,r,a),this.draggedTaskPath=null,this.draggedFromColumn=null)}),e.addEventListener("dragend",()=>{e.classList.remove("kanban-view__swimlane-column--dragover")})}setupCardDragHandlers(e,r){e.addEventListener("click",a=>{if(this.handleSelectionClick(a,r.path)){a.stopPropagation();return}}),e.addEventListener("contextmenu",a=>{a.preventDefault(),a.stopPropagation();let i=this.plugin.taskSelectionService;if(i&&i.getSelectionCount()>1){i.isSelected(r.path)||i.addToSelection(r.path),this.showBatchContextMenu(a);return}let{showTaskContextMenu:s}=(Or(),Wa(Es));s(a,r.path,this.plugin,new Date)}),e.addEventListener("dragstart",a=>{let i=this.plugin.taskSelectionService;if(i&&i.isSelected(r.path)&&i.getSelectionCount()>1){this.draggedTaskPaths=i.getSelectedPaths(),this.draggedTaskPath=r.path,this.draggedSourceColumns.clear(),this.draggedSourceSwimlanes.clear();for(let c of this.draggedTaskPaths){let d=this.currentTaskElements.get(c);if(d){d.classList.add("kanban-view__card--dragging");let u=d.closest("[data-group]"),p=d.closest("[data-column]"),m=d.closest("[data-swimlane]"),h=(u==null?void 0:u.dataset.group)||(p==null?void 0:p.dataset.column),f=m==null?void 0:m.dataset.swimlane;h&&this.draggedSourceColumns.set(c,h),f&&this.draggedSourceSwimlanes.set(c,f)}}a.dataTransfer&&(a.dataTransfer.effectAllowed="move",a.dataTransfer.setData("text/plain",this.draggedTaskPaths.join(",")),a.dataTransfer.setData("text/x-batch-drag","true"))}else this.draggedTaskPath=r.path,this.draggedTaskPaths=[r.path],e.classList.add("kanban-view__card--dragging"),a.dataTransfer&&(a.dataTransfer.effectAllowed="move",a.dataTransfer.setData("text/plain",r.path));let s=e.closest("[data-group]"),o=e.closest("[data-column]"),l=e.closest("[data-swimlane]");this.draggedFromColumn=(s==null?void 0:s.dataset.group)||(o==null?void 0:o.dataset.column)||null,this.draggedFromSwimlane=(l==null?void 0:l.dataset.swimlane)||null}),e.addEventListener("dragend",()=>{var a,i;for(let s of this.draggedTaskPaths){let o=this.currentTaskElements.get(s);o&&o.classList.remove("kanban-view__card--dragging")}e.classList.remove("kanban-view__card--dragging"),this.draggedFromColumn=null,this.draggedFromSwimlane=null,this.draggedTaskPaths=[],this.draggedSourceColumns.clear(),this.draggedSourceSwimlanes.clear(),(a=this.boardEl)==null||a.querySelectorAll(".kanban-view__column--dragover").forEach(s=>{s.classList.remove("kanban-view__column--dragover")}),(i=this.boardEl)==null||i.querySelectorAll(".kanban-view__swimlane-column--dragover").forEach(s=>{s.classList.remove("kanban-view__swimlane-column--dragover")})})}async handleTaskDrop(e,r,a){var i,s,o;try{let l=this.getGroupByPropertyId();if(!l)return;if(l.startsWith("formula.")){new Gu.Notice(this.plugin.i18n.translate("views.kanban.errors.formulaGroupingReadOnly")||"Cannot move tasks between formula-based columns. Formula values are computed and cannot be directly modified.");return}if(a!==null&&((i=this.swimLanePropertyId)!=null&&i.startsWith("formula."))){new Gu.Notice(this.plugin.i18n.translate("views.kanban.errors.formulaSwimlaneReadOnly")||"Cannot move tasks between formula-based swimlanes. Formula values are computed and cannot be directly modified.");return}let c=this.stripPropertyPrefix(l),d=this.explodeListColumns&&this.isListTypeProperty(c),u=this.swimLanePropertyId?this.stripPropertyPrefix(this.swimLanePropertyId):null,p=u&&this.isListTypeProperty(u),m=this.draggedTaskPaths.length>1?this.draggedTaskPaths:[e],h=m.length>1;for(let f of m){let g=h?this.draggedSourceColumns.get(f):this.draggedFromColumn,v=h?this.draggedSourceSwimlanes.get(f):this.draggedFromSwimlane;d&&g?await this.updateListPropertyOnDrop(f,l,g,r):await this.updateTaskFrontmatterProperty(f,l,r),a!==null&&this.swimLanePropertyId&&(p&&v?await this.updateListPropertyOnDrop(f,this.swimLanePropertyId,v,a):await this.updateTaskFrontmatterProperty(f,this.swimLanePropertyId,a))}h&&((s=this.plugin.taskSelectionService)==null||s.clearSelection(),(o=this.plugin.taskSelectionService)==null||o.exitSelectionMode()),this.debouncedRefresh()}catch(l){console.error("[TaskNotes][KanbanView] Error updating task:",l)}}async updateListPropertyOnDrop(e,r,a,i){if(a===i)return;let s=this.plugin.app.vault.getAbstractFileByPath(e);if(!s||!(s instanceof Gu.TFile))throw new Error(`Cannot find task file: ${e}`);let o=r.replace(/^(note\.|file\.|task\.)/,"");await this.plugin.app.fileManager.processFrontMatter(s,l=>{let c=l[o];Array.isArray(c)||(c=c?[c]:[]);let d=c.filter(u=>u!==a);!d.includes(i)&&i!=="None"&&d.push(i),l[o]=d.length>0?d:[]})}async updateTaskFrontmatterProperty(e,r,a){let i=this.plugin.app.vault.getAbstractFileByPath(e);if(!i||!(i instanceof Gu.TFile))throw new Error(`Cannot find task file: ${e}`);let s=r.replace(/^(note\.|file\.|task\.)/,""),o=await this.plugin.cacheManager.getTaskInfo(e),l=this.plugin.fieldMapper.lookupMappingKey(s);o&&l?await this.plugin.taskService.updateProperty(o,l,a):await this.plugin.app.fileManager.processFrontMatter(i,c=>{c[s]=a})}setupContainer(){var r;super.setupContainer();let e=document.createElement("div");e.className="kanban-view__board",(r=this.rootElement)==null||r.appendChild(e),this.boardEl=e,this.registerBoardListeners()}async handleTaskUpdate(e){this.debouncedRefresh()}debouncedRefresh(){this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer);let e=this.getEphemeralState();this.updateDebounceTimer=window.setTimeout(async()=>{await this.render(),this.updateDebounceTimer=null,this.setEphemeralState(e)},150)}renderEmptyState(){if(!this.boardEl)return;let e=document.createElement("div");e.className="tn-bases-empty",e.style.cssText="padding: 20px; text-align: center; color: var(--text-muted);",e.textContent="No TaskNotes tasks found for this Base.",this.boardEl.appendChild(e)}renderNoGroupByError(){if(!this.boardEl)return;let e=document.createElement("div");e.className="tn-bases-error",e.style.cssText="padding: 20px; text-align: center; color: var(--text-error);",e.textContent=this.plugin.i18n.translate("views.kanban.errors.noGroupBy"),this.boardEl.appendChild(e)}renderError(e){if(!this.boardEl)return;let r=document.createElement("div");r.className="tn-bases-error",r.style.cssText="padding: 20px; color: #d73a49; background: #ffeaea; border-radius: 4px; margin: 10px 0;",r.textContent=`Error loading kanban: ${e.message||"Unknown error"}`,this.boardEl.appendChild(r)}buildPathToPropsMap(){var a,i;let e=this.dataAdapter.extractDataItems(),r=new Map;for(let s of e){if(!s.path)continue;let o={...s.properties||{}},l=(i=(a=s.basesData)==null?void 0:a.formulaResults)==null?void 0:i.cachedFormulaOutputs;if(l&&typeof l=="object")for(let[c,d]of Object.entries(l))o[`formula.${c}`]=d;r.set(s.path,o)}return r}getPropertyValue(e,r){var i;if(r.startsWith("formula."))return(i=e[r])!=null?i:null;let a=this.stripPropertyPrefix(r);return e[r]!==void 0?e[r]:e[a]!==void 0?e[a]:null}stripPropertyPrefix(e){let r=e.split(".");return r.length>1&&["note","file","formula","task"].includes(r[0])?r.slice(1).join("."):e}valueToString(e){var r,a;if(e==null)return"None";if(typeof e=="object"&&e!==null&&typeof e.toString=="function"){if(((r=e.constructor)==null?void 0:r.name)==="NullValue"||e.isTruthy&&!e.isTruthy())return"None";if(((a=e.constructor)==null?void 0:a.name)==="ListValue"||Array.isArray(e.value)){let s=e.value||[];return s.length===0?"None":s.map(o=>this.valueToString(o)).join(", ")}return e.toString()||"None"}return typeof e=="string"?e||"None":typeof e=="number"?String(e):typeof e=="boolean"?e?"True":"False":Array.isArray(e)?e.length>0?e.map(i=>this.valueToString(i)).join(", "):"None":String(e)}renderGroupTitleWrapper(e,r){let a=this.app||this.plugin.app,i={metadataCache:a.metadataCache,workspace:a.workspace};Lk(e,r,i)}applyColumnOrder(e,r){let a=this.columnOrders[e];if(!a||a.length===0)return r.sort();let i=[],s=[];for(let o of a)r.includes(o)&&i.push(o);for(let o of r)a.includes(o)||s.push(o);return[...i,...s.sort()]}async saveColumnOrder(e,r){this.columnOrders[e]=r;try{let a=JSON.stringify(this.columnOrders);this.config.set("columnOrder",a)}catch(a){console.error("[KanbanView] Failed to save column order:",a)}}getCardOptions(){let e=new Date;return{targetDate:new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()))}}registerBoardListeners(){}unregisterBoardListeners(){}getTaskContextFromEvent(e){let r=e.target;if(!r)return null;let a=r.closest(".task-card");if(!a)return null;let i=a.closest(".kanban-view__card-wrapper");if(!i)return null;let s=i.dataset.taskPath;if(!s)return null;let o=this.taskInfoCache.get(s);return o?{task:o,card:a}:null}async handleCardAction(e,r,a,i){let[{DateContextMenu:s},{PriorityContextMenu:o},{RecurrenceContextMenu:l},{ReminderModal:c},{showTaskContextMenu:d}]=await Promise.all([Promise.resolve().then(()=>(rc(),n$)),Promise.resolve().then(()=>(nf(),o$)),Promise.resolve().then(()=>(Zd(),a$)),Promise.resolve().then(()=>(Kd(),XV)),Promise.resolve().then(()=>(Or(),Es))]);switch(e){case"toggle-status":await this.handleToggleStatus(r,i);return;case"priority-menu":this.showPriorityMenu(r,i,o);return;case"recurrence-menu":this.showRecurrenceMenu(r,i,l);return;case"reminder-menu":this.showReminderModal(r,c);return;case"task-context-menu":await d(i,r.path,this.plugin,this.getTaskActionDate(r));return;case"edit-date":await this.openDateContextMenu(r,a.dataset.tnDateType,i,s);return;case"toggle-subtasks":await this.handleToggleSubtasks(r,a);return;case"toggle-blocking-tasks":await this.handleToggleBlockingTasks(r,a);return}}async handleToggleStatus(e,r){try{if(e.recurrence){let a=this.getTaskActionDate(e);await this.plugin.toggleRecurringTaskComplete(e,a)}else await this.plugin.toggleTaskStatus(e)}catch(a){console.error("[TaskNotes][KanbanView] Failed to toggle status",a)}}getTaskActionDate(e){let r=_e(e.scheduled||e.due||"");return r?je(r):mt(new Date)}showPriorityMenu(e,r,a){new a({currentValue:e.priority,onSelect:async s=>{try{await this.plugin.updateTaskProperty(e,"priority",s)}catch(o){console.error("[TaskNotes][KanbanView] Failed to update priority",o)}},plugin:this.plugin}).show(r)}showRecurrenceMenu(e,r,a){new a({currentValue:typeof e.recurrence=="string"?e.recurrence:void 0,currentAnchor:e.recurrence_anchor||"scheduled",onSelect:async(s,o)=>{try{await this.plugin.updateTaskProperty(e,"recurrence",s||void 0),o!==void 0&&await this.plugin.updateTaskProperty(e,"recurrence_anchor",o)}catch(l){console.error("[TaskNotes][KanbanView] Failed to update recurrence",l)}},app:this.plugin.app,plugin:this.plugin}).show(r)}showReminderModal(e,r){new r(this.plugin.app,this.plugin,e,async i=>{try{await this.plugin.updateTaskProperty(e,"reminders",i.length>0?i:void 0)}catch(s){console.error("[TaskNotes][KanbanView] Failed to update reminders",s)}}).open()}async openDateContextMenu(e,r,a,i){if(!r)return;let{getDatePart:s,getTimePart:o}=await Promise.resolve().then(()=>(Ke(),pH)),l=r==="due"?e.due:e.scheduled;new i({currentValue:s(l||""),currentTime:o(l||""),onSelect:async(d,u)=>{try{let p;d?u?p=`${d}T${u}`:p=d:p=void 0,await this.plugin.updateTaskProperty(e,r,p)}catch(p){console.error("[TaskNotes][KanbanView] Failed to update date",p)}},plugin:this.plugin,app:this.app||this.plugin.app}).show(a)}async handleToggleSubtasks(e,r){var l,c,d;let{toggleSubtasks:a}=await Promise.resolve().then(()=>(Or(),Es)),i=r.closest(".task-card");if(!i)return;let o=!(((l=this.plugin.expandedProjectsService)==null?void 0:l.isExpanded(e.path))||!1);o?(c=this.plugin.expandedProjectsService)==null||c.setExpanded(e.path,!0):(d=this.plugin.expandedProjectsService)==null||d.setExpanded(e.path,!1),r.classList.toggle("is-rotated",o),await a(i,e,this.plugin,o)}async handleToggleBlockingTasks(e,r){let{toggleBlockingTasks:a}=await Promise.resolve().then(()=>(Or(),Es)),i=r.closest(".task-card");if(!i)return;let s=r.classList.toggle("task-card__blocking-toggle--expanded");await a(i,e,this.plugin,s)}destroyColumnScrollers(){for(let e of this.columnScrollers.values())e.destroy();this.columnScrollers.clear()}onunload(){this.unregisterBoardListeners(),this.destroyColumnScrollers(),this.currentTaskElements.clear(),this.taskInfoCache.clear(),this.boardEl=null}}});var Rg=b(()=>{Ms();vf()});function jk(n,t){let e=[];for(let r=0;r<t;r+=1)e[r]=[];for(let r of n)e[r.row].push(r);return e}function Bk(n,t){let e=[];for(let r=0;r<t;r+=1)e[r]=[];for(let r of n)e[r.firstCol].push(r);return e}function uX(n,t){let e=[];if(n){for(let r=0;r<t;r+=1)e[r]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(let r of n.segs)e[r.row].segs.push(r)}else for(let r=0;r<t;r+=1)e[r]=null;return e}function mX(n){let{display:t}=n.eventRange.ui;return t==="list-item"||t==="auto"&&!n.eventRange.def.allDay&&n.firstCol===n.lastCol&&n.isStart&&n.isEnd}function c0e(n){return E(tt,null,E("div",{className:"fc-daygrid-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}}),n.timeText&&E("div",{className:"fc-event-time"},n.timeText),E("div",{className:"fc-event-title"},n.event.title||E(tt,null,"\xA0")))}function d0e(n){let t=[],e=[];for(let r of n)t.push(r.seg),r.isVisible||e.push(r.seg);return{allSegs:t,invisibleSegs:e}}function p0e(n){return n.dayNumberText||E(tt,null,"\xA0")}function m0e(n,t,e){let{start:r,end:a}=t,i=Ii(a,-1),s=e.getYear(r),o=e.getMonth(r),l=e.getYear(i),c=e.getMonth(i);return!(s===l&&o===c)&&(n.valueOf()===r.valueOf()||e.getDay(n)===1&&n.valueOf()<a.valueOf())}function hX(n){return n.eventRange.instance.instanceId+":"+n.firstCol}function fX(n){return hX(n)+":"+n.lastCol}function h0e(n,t,e,r,a,i,s){let o=new zR(v=>{let T=n[v.index].eventRange.instance.instanceId+":"+v.span.start+":"+(v.span.end-1);return a[T]||1});o.allowReslicing=!0,o.strictOrder=r,t===!0||e===!0?(o.maxCoord=i,o.hiddenConsumes=!0):typeof t=="number"?o.maxStackCnt=t:typeof e=="number"&&(o.maxStackCnt=e,o.hiddenConsumes=!0);let l=[],c=[];for(let v=0;v<n.length;v+=1){let T=n[v],k=fX(T);a[k]!=null?l.push({index:v,span:{start:T.firstCol,end:T.lastCol+1}}):c.push(T)}let d=o.addSegs(l),u=o.toRects(),{singleColPlacements:p,multiColPlacements:m,leftoverMargins:h}=f0e(u,n,s),f=[],g=[];for(let v of c){m[v.firstCol].push({seg:v,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let T=v.firstCol;T<=v.lastCol;T+=1)p[T].push({seg:Ku(v,T,T+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let v=0;v<s.length;v+=1)f.push(0);for(let v of d){let T=n[v.index],k=v.span;m[k.start].push({seg:Ku(T,k.start,k.end,s),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let w=k.start;w<k.end;w+=1)f[w]+=1,p[w].push({seg:Ku(T,w,w+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let v=0;v<s.length;v+=1)g.push(h[v]);return{singleColPlacements:p,multiColPlacements:m,moreCnts:f,moreMarginTops:g}}function f0e(n,t,e){let r=g0e(n,e.length),a=[],i=[],s=[];for(let o=0;o<e.length;o+=1){let l=r[o],c=[],d=0,u=0;for(let m of l){let h=t[m.index];c.push({seg:Ku(h,o,o+1,e),isVisible:!0,isAbsolute:!1,absoluteTop:m.levelCoord,marginTop:m.levelCoord-d}),d=m.levelCoord+m.thickness}let p=[];d=0,u=0;for(let m of l){let h=t[m.index],f=m.span.end-m.span.start>1,g=m.span.start===o;u+=m.levelCoord-d,d=m.levelCoord+m.thickness,f?(u+=m.thickness,g&&p.push({seg:Ku(h,m.span.start,m.span.end,e),isVisible:!0,isAbsolute:!0,absoluteTop:m.levelCoord,marginTop:0})):g&&(p.push({seg:Ku(h,m.span.start,m.span.end,e),isVisible:!0,isAbsolute:!1,absoluteTop:m.levelCoord,marginTop:u}),u=0)}a.push(c),i.push(p),s.push(u)}return{singleColPlacements:a,multiColPlacements:i,leftoverMargins:s}}function g0e(n,t){let e=[];for(let r=0;r<t;r+=1)e.push([]);for(let r of n)for(let a=r.span.start;a<r.span.end;a+=1)e[a].push(r);return e}function Ku(n,t,e,r){if(n.firstCol===t&&n.lastCol===e-1)return n;let a=n.eventRange,i=a.range,s=mn(i,{start:r[t].date,end:Bt(r[e-1].date,1)});return Object.assign(Object.assign({},n),{firstCol:t,lastCol:e-1,eventRange:{def:a.def,ui:Object.assign(Object.assign({},a.ui),{durationEditable:!1}),instance:a.instance,range:s},isStart:n.isStart&&s.start.valueOf()===i.start.valueOf(),isEnd:n.isEnd&&s.end.valueOf()===i.end.valueOf()})}function y0e(n,t){if(!n.length)return[];let e=v0e(t);return n.map(r=>({seg:r,isVisible:!0,isAbsolute:!0,absoluteTop:e[r.eventRange.instance.instanceId],marginTop:0}))}function v0e(n){let t={};for(let e of n)for(let r of e)t[r.seg.eventRange.instance.instanceId]=r.absoluteTop;return t}function b0e(n,t){return jk(n.filter(T0e),t)}function T0e(n){return n.eventRange.def.allDay}function k0e(n,t){let e;return t.currentRangeUnit.match(/year|month/)&&(e=n.querySelector(`[data-date="${bu(t.currentDate)}-01"]`)),e||(e=n.querySelector(`[data-date="${Oo(t.currentDate)}"]`)),e}function WR(n,t){let e=new vc(n.renderRange,t);return new bc(e,/year|month|week/.test(n.currentRangeUnit))}function qR(n){let{dateEnv:t,currentRange:e}=n,{start:r,end:a}=e,i;if(n.snapToWeek&&(r=t.startOfWeek(r),i=t.startOfWeek(a),i.valueOf()!==a.valueOf()&&(a=tT(i,1))),n.fixedWeekCount){let s=t.startOfWeek(t.startOfMonth(Bt(e.end,-1))),o=Math.ceil(aC(s,a));a=tT(a,6-o)}return{start:r,end:a}}var BR,pX,Hk,zk,jR,u0e,HR,zR,Uk,Fg,UR,Og,Lg,Wk,Qu,w0e,qk=b(()=>{Pc();Rg();BR=class extends or{constructor(){super(...arguments),this.headerElRef=zt()}renderSimpleLayout(t,e){let{props:r,context:a}=this,i=[],s=xc(a.options);return t&&i.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}}),i.push({type:"body",key:"body",liquid:!0,chunk:{content:e}}),E(sa,{elClasses:["fc-daygrid"],viewSpec:a.viewSpec},E(No,{liquid:!r.isHeightAuto&&!r.forPrint,collapsibleWidth:r.forPrint,cols:[],sections:i}))}renderHScrollLayout(t,e,r,a){let i=this.context.pluginHooks.scrollGridImpl;if(!i)throw new Error("No ScrollGrid implementation");let{props:s,context:o}=this,l=!s.forPrint&&xc(o.options),c=!s.forPrint&&Kf(o.options),d=[];return t&&d.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}]}),d.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:e}]}),c&&d.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Cu}]}),E(sa,{elClasses:["fc-daygrid"],viewSpec:o.viewSpec},E(i,{liquid:!s.isHeightAuto&&!s.forPrint,forPrint:s.forPrint,collapsibleWidth:s.forPrint,colGroups:[{cols:[{span:r,minWidth:a}]}],sections:d}))}};pX=rt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});Hk=class extends Ue{render(){let{props:t}=this;return E(Ro,Object.assign({},t,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:pX,defaultDisplayEventEnd:t.defaultDisplayEventEnd,disableResizing:!t.seg.eventRange.def.allDay}))}},zk=class extends Ue{render(){let{props:t,context:e}=this,{options:r}=e,{seg:a}=t,i=r.eventTimeFormat||pX,s=Bo(a,i,e,!0,t.defaultDisplayEventEnd);return E(Rs,Object.assign({},t,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:Du(t.seg,e),defaultGenerator:c0e,timeText:s,isResizing:!1,isDateSelecting:!1}))}};jR=class extends Ue{constructor(){super(...arguments),this.compileSegs=pe(d0e)}render(){let{props:t}=this,{allSegs:e,invisibleSegs:r}=this.compileSegs(t.singlePlacements);return E(wc,{elClasses:["fc-daygrid-more-link"],dateProfile:t.dateProfile,todayRange:t.todayRange,allDayDate:t.allDayDate,moreCnt:t.moreCnt,allSegs:e,hiddenSegs:r,alignmentElRef:t.alignmentElRef,alignGridTop:t.alignGridTop,extraDateSpan:t.extraDateSpan,popoverContent:()=>{let a=(t.eventDrag?t.eventDrag.affectedInstances:null)||(t.eventResize?t.eventResize.affectedInstances:null)||{};return E(tt,null,e.map(i=>{let s=i.eventRange.instance.instanceId;return E("div",{className:"fc-daygrid-event-harness",key:s,style:{visibility:a[s]?"hidden":""}},mX(i)?E(zk,Object.assign({seg:i,isDragging:!1,isSelected:s===t.eventSelection,defaultDisplayEventEnd:!1},la(i,t.todayRange))):E(Hk,Object.assign({seg:i,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:s===t.eventSelection,defaultDisplayEventEnd:!1},la(i,t.todayRange))))}))}})}};u0e=rt({week:"narrow"}),HR=class extends or{constructor(){super(...arguments),this.rootElRef=zt(),this.state={dayNumberId:_n()},this.handleRootEl=t=>{oa(this.rootElRef,t),oa(this.props.elRef,t)}}render(){let{context:t,props:e,state:r,rootElRef:a}=this,{options:i,dateEnv:s}=t,{date:o,dateProfile:l}=e,c=e.showDayNumber&&m0e(o,l.currentRange,s);return E(Fo,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygrid-day",...e.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},e.extraDataAttrs),e.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:p0e,date:o,dateProfile:l,todayRange:e.todayRange,showDayNumber:e.showDayNumber,isMonthStart:c,extraRenderProps:e.extraRenderProps},(d,u)=>E("div",{ref:e.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:e.minHeight}},e.showWeekNumber&&E(Jf,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:ji(t,o,"week"),date:o,defaultFormat:u0e}),!u.isDisabled&&(e.showDayNumber||Pu(i)||e.forceDayTop)?E("div",{className:"fc-daygrid-day-top"},E(d,{elTag:"a",elClasses:["fc-daygrid-day-number",c&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},ji(t,o)),{id:r.dayNumberId})})):e.showDayNumber?E("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},E("a",{className:"fc-daygrid-day-number"},"\xA0")):void 0,E("div",{className:"fc-daygrid-day-events",ref:e.fgContentElRef},e.fgContent,E("div",{className:"fc-daygrid-day-bottom",style:{marginTop:e.moreMarginTop}},E(jR,{allDayDate:o,singlePlacements:e.singlePlacements,moreCnt:e.moreCnt,alignmentElRef:a,alignGridTop:!e.showDayNumber,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange}))),E("div",{className:"fc-daygrid-day-bg"},e.bgContent)))}};zR=class extends yc{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(t){let e=super.addSegs(t),{entriesByLevel:r}=this,a=i=>!this.forceHidden[Ni(i)];for(let i=0;i<r.length;i+=1)r[i]=r[i].filter(a);return e}handleInvalidInsertion(t,e,r){let{entriesByLevel:a,forceHidden:i}=this,{touchingEntry:s,touchingLevel:o,touchingLateral:l}=t;if(this.hiddenConsumes&&s){let c=Ni(s);if(!i[c])if(this.allowReslicing){let d=Object.assign(Object.assign({},s),{span:$f(s.span,e.span)}),u=Ni(d);i[u]=!0,a[o][l]=d,r.push(d),this.splitEntry(s,e,r)}else i[c]=!0,r.push(s)}super.handleInvalidInsertion(t,e,r)}},Uk=class extends or{constructor(){super(...arguments),this.cellElRefs=new In,this.frameElRefs=new In,this.fgElRefs=new In,this.segHarnessRefs=new In,this.rootElRef=zt(),this.state={framePositions:null,maxContentHeight:null,segHeights:{}},this.handleResize=t=>{t&&this.updateSizing(!0)}}render(){let{props:t,state:e,context:r}=this,{options:a}=r,i=t.cells.length,s=Bk(t.businessHourSegs,i),o=Bk(t.bgEventSegs,i),l=Bk(this.getHighlightSegs(),i),c=Bk(this.getMirrorSegs(),i),{singleColPlacements:d,multiColPlacements:u,moreCnts:p,moreMarginTops:m}=h0e(Dc(t.fgEventSegs,a.eventOrder),t.dayMaxEvents,t.dayMaxEventRows,a.eventOrderStrict,e.segHeights,e.maxContentHeight,t.cells),h=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{};return E("tr",{ref:this.rootElRef,role:"row"},t.renderIntro&&t.renderIntro(),t.cells.map((f,g)=>{let v=this.renderFgSegs(g,t.forPrint?d[g]:u[g],t.todayRange,h),T=this.renderFgSegs(g,y0e(c[g],u),t.todayRange,{},!!t.eventDrag,!!t.eventResize,!1);return E(HR,{key:f.key,elRef:this.cellElRefs.createRef(f.key),innerElRef:this.frameElRefs.createRef(f.key),dateProfile:t.dateProfile,date:f.date,showDayNumber:t.showDayNumbers,showWeekNumber:t.showWeekNumbers&&g===0,forceDayTop:t.showWeekNumbers,todayRange:t.todayRange,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,extraRenderProps:f.extraRenderProps,extraDataAttrs:f.extraDataAttrs,extraClassNames:f.extraClassNames,extraDateSpan:f.extraDateSpan,moreCnt:p[g],moreMarginTop:m[g],singlePlacements:d[g],fgContentElRef:this.fgElRefs.createRef(f.key),fgContent:E(tt,null,E(tt,null,v),E(tt,null,T)),bgContent:E(tt,null,this.renderFillSegs(l[g],"highlight"),this.renderFillSegs(s[g],"non-business"),this.renderFillSegs(o[g],"bg-event")),minHeight:t.cellMinHeight})}))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(t,e){let r=this.props;this.updateSizing(!Jr(t,r))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:t}=this;return t.eventDrag&&t.eventDrag.segs.length?t.eventDrag.segs:t.eventResize&&t.eventResize.segs.length?t.eventResize.segs:t.dateSelectionSegs}getMirrorSegs(){let{props:t}=this;return t.eventResize&&t.eventResize.segs.length?t.eventResize.segs:[]}renderFgSegs(t,e,r,a,i,s,o){let{context:l}=this,{eventSelection:c}=this.props,{framePositions:d}=this.state,u=this.props.cells.length===1,p=i||s||o,m=[];if(d)for(let h of e){let{seg:f}=h,{instanceId:g}=f.eventRange.instance,v=h.isVisible&&!a[g],T=h.isAbsolute,k="",w="";T&&(l.isRtl?(w=0,k=d.lefts[f.lastCol]-d.lefts[f.firstCol]):(k=0,w=d.rights[f.firstCol]-d.rights[f.lastCol])),m.push(E("div",{className:"fc-daygrid-event-harness"+(T?" fc-daygrid-event-harness-abs":""),key:hX(f),ref:p?null:this.segHarnessRefs.createRef(fX(f)),style:{visibility:v?"":"hidden",marginTop:T?"":h.marginTop,top:T?h.absoluteTop:"",left:k,right:w}},mX(f)?E(zk,Object.assign({seg:f,isDragging:i,isSelected:g===c,defaultDisplayEventEnd:u},la(f,r))):E(Hk,Object.assign({seg:f,isDragging:i,isResizing:s,isDateSelecting:o,isSelected:g===c,defaultDisplayEventEnd:u},la(f,r)))))}return m}renderFillSegs(t,e){let{isRtl:r}=this.context,{todayRange:a}=this.props,{framePositions:i}=this.state,s=[];if(i)for(let o of t){let l=r?{right:0,left:i.lefts[o.lastCol]-i.lefts[o.firstCol]}:{left:0,right:i.rights[o.firstCol]-i.rights[o.lastCol]};s.push(E("div",{key:Uf(o.eventRange),className:"fc-daygrid-bg-harness",style:l},e==="bg-event"?E(kc,Object.assign({seg:o},la(o,a))):Zf(e)))}return E(tt,{},...s)}updateSizing(t){let{props:e,state:r,frameElRefs:a}=this;if(!e.forPrint&&e.clientWidth!==null){if(t){let l=e.cells.map(c=>a.currentMap[c.key]);if(l.length){let c=this.rootElRef.current,d=new si(c,l,!0,!1);(!r.framePositions||!r.framePositions.similarTo(d))&&this.setState({framePositions:new si(c,l,!0,!1)})}}let i=this.state.segHeights,s=this.querySegHeights(),o=e.dayMaxEvents===!0||e.dayMaxEventRows===!0;this.safeSetState({segHeights:Object.assign(Object.assign({},i),s),maxContentHeight:o?this.computeMaxContentHeight():null})}}querySegHeights(){let t=this.segHarnessRefs.currentMap,e={};for(let r in t){let a=Math.round(t[r].getBoundingClientRect().height);e[r]=Math.max(e[r]||0,a)}return e}computeMaxContentHeight(){let t=this.props.cells[0].key,e=this.cellElRefs.currentMap[t],r=this.fgElRefs.currentMap[t];return e.getBoundingClientRect().bottom-r.getBoundingClientRect().top}getCellEls(){let t=this.cellElRefs.currentMap;return this.props.cells.map(e=>t[e.key])}};Uk.addStateEquality({segHeights:Jr});Fg=class extends or{constructor(){super(...arguments),this.splitBusinessHourSegs=pe(jk),this.splitBgEventSegs=pe(b0e),this.splitFgEventSegs=pe(jk),this.splitDateSelectionSegs=pe(jk),this.splitEventDrag=pe(uX),this.splitEventResize=pe(uX),this.rowRefs=new In}render(){let{props:t,context:e}=this,r=t.cells.length,a=this.splitBusinessHourSegs(t.businessHourSegs,r),i=this.splitBgEventSegs(t.bgEventSegs,r),s=this.splitFgEventSegs(t.fgEventSegs,r),o=this.splitDateSelectionSegs(t.dateSelectionSegs,r),l=this.splitEventDrag(t.eventDrag,r),c=this.splitEventResize(t.eventResize,r),d=r>=7&&t.clientWidth?t.clientWidth/e.options.aspectRatio/6:null;return E(An,{unit:"day"},(u,p)=>E(tt,null,t.cells.map((m,h)=>E(Uk,{ref:this.rowRefs.createRef(h),key:m.length?m[0].date.toISOString():h,showDayNumbers:r>1,showWeekNumbers:t.showWeekNumbers,todayRange:p,dateProfile:t.dateProfile,cells:m,renderIntro:t.renderRowIntro,businessHourSegs:a[h],eventSelection:t.eventSelection,bgEventSegs:i[h],fgEventSegs:s[h],dateSelectionSegs:o[h],eventDrag:l[h],eventResize:c[h],dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,clientWidth:t.clientWidth,clientHeight:t.clientHeight,cellMinHeight:d,forPrint:t.forPrint}))))}componentDidMount(){this.registerInteractiveComponent()}componentDidUpdate(){this.registerInteractiveComponent()}registerInteractiveComponent(){if(!this.rootEl){let t=this.rowRefs.currentMap[0].getCellEls()[0],e=t?t.closest(".fc-daygrid-body"):null;e&&(this.rootEl=e,this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}))}}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new si(this.rootEl,this.rowRefs.collect().map(t=>t.getCellEls()[0]),!1,!0),this.colPositions=new si(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(t,e){let{colPositions:r,rowPositions:a}=this,i=r.leftToIndex(t),s=a.topToIndex(e);if(s!=null&&i!=null){let o=this.props.cells[s][i];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(s,i),allDay:!0},o.extraDateSpan),dayEl:this.getCellEl(s,i),rect:{left:r.lefts[i],right:r.rights[i],top:a.tops[s],bottom:a.bottoms[s]},layer:0}}return null}getCellEl(t,e){return this.rowRefs.currentMap[t].getCellEls()[e]}getCellRange(t,e){let r=this.props.cells[t][e].date,a=Bt(r,1);return{start:r,end:a}}};UR=class extends or{constructor(){super(...arguments),this.elRef=zt(),this.needsScrollReset=!1}render(){let{props:t}=this,{dayMaxEventRows:e,dayMaxEvents:r,expandRows:a}=t,i=r===!0||e===!0;i&&!a&&(i=!1,e=null,r=null);let s=["fc-daygrid-body",i?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",a?"":"fc-daygrid-body-natural"];return E("div",{ref:this.elRef,className:s.join(" "),style:{width:t.clientWidth,minWidth:t.tableMinWidth}},E("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:a?t.clientHeight:""}},t.colGroupNode,E("tbody",{role:"presentation"},E(Fg,{dateProfile:t.dateProfile,cells:t.cells,renderRowIntro:t.renderRowIntro,showWeekNumbers:t.showWeekNumbers,clientWidth:t.clientWidth,clientHeight:t.clientHeight,businessHourSegs:t.businessHourSegs,bgEventSegs:t.bgEventSegs,fgEventSegs:t.fgEventSegs,dateSelectionSegs:t.dateSelectionSegs,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,dayMaxEvents:r,dayMaxEventRows:e,forPrint:t.forPrint,isHitComboAllowed:t.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(t){t.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){let t=k0e(this.elRef.current,this.props.dateProfile);if(t){let e=t.closest(".fc-daygrid-body"),r=e.closest(".fc-scroller"),a=t.getBoundingClientRect().top-e.getBoundingClientRect().top;r.scrollTop=a?a+1:0}this.needsScrollReset=!1}}};Og=class extends Tc{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(t,e){return e.sliceRange(t)}},Lg=class extends or{constructor(){super(...arguments),this.slicer=new Og,this.tableRef=zt()}render(){let{props:t,context:e}=this;return E(UR,Object.assign({ref:this.tableRef},this.slicer.sliceProps(t,t.dateProfile,t.nextDayThreshold,e,t.dayTableModel),{dateProfile:t.dateProfile,cells:t.dayTableModel.cells,colGroupNode:t.colGroupNode,tableMinWidth:t.tableMinWidth,renderRowIntro:t.renderRowIntro,dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,showWeekNumbers:t.showWeekNumbers,expandRows:t.expandRows,headerAlignElRef:t.headerAlignElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint}))}},Wk=class extends BR{constructor(){super(...arguments),this.buildDayTableModel=pe(WR),this.headerRef=zt(),this.tableRef=zt()}render(){let{options:t,dateProfileGenerator:e}=this.context,{props:r}=this,a=this.buildDayTableModel(r.dateProfile,e),i=t.dayHeaders&&E(Ns,{ref:this.headerRef,dateProfile:r.dateProfile,dates:a.headerDates,datesRepDistinctDays:a.rowCnt===1}),s=o=>E(Lg,{ref:this.tableRef,dateProfile:r.dateProfile,dayTableModel:a,businessHours:r.businessHours,dateSelection:r.dateSelection,eventStore:r.eventStore,eventUiBases:r.eventUiBases,eventSelection:r.eventSelection,eventDrag:r.eventDrag,eventResize:r.eventResize,nextDayThreshold:t.nextDayThreshold,colGroupNode:o.tableColGroupNode,tableMinWidth:o.tableMinWidth,dayMaxEvents:t.dayMaxEvents,dayMaxEventRows:t.dayMaxEventRows,showWeekNumbers:t.weekNumbers,expandRows:!r.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:o.clientWidth,clientHeight:o.clientHeight,forPrint:r.forPrint});return t.dayMinWidth?this.renderHScrollLayout(i,s,a.colCnt,t.dayMinWidth):this.renderSimpleLayout(i,s)}};Qu=class extends mc{buildRenderRange(t,e,r){let a=super.buildRenderRange(t,e,r),{props:i}=this;return qR({currentRange:a,snapToWeek:/^(year|month)$/.test(e),fixedWeekCount:i.fixedWeekCount,dateEnv:i.dateEnv})}};w0e=':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygrid-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}';Ri(w0e)});var gX,yX=b(()=>{Cc();qk();gX=Xr({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:Wk,dateProfileGeneratorClass:Qu},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}})});function wX(n){let t=["fc-timegrid-slot","fc-timegrid-slot-label",n.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return E(Ra.Consumer,null,e=>{if(!n.isLabeled)return E("td",{className:t.join(" "),"data-time":n.isoTimeStr});let{dateEnv:r,options:a,viewApi:i}=e,s=a.slotLabelFormat==null?S0e:Array.isArray(a.slotLabelFormat)?rt(a.slotLabelFormat[0]):rt(a.slotLabelFormat),o={level:0,time:n.time,date:r.toDate(n.date),view:i,text:r.format(n.date,s)};return E(Kt,{elTag:"td",elClasses:t,elAttrs:{"data-time":n.isoTimeStr},renderProps:o,generatorName:"slotLabelContent",customGenerator:a.slotLabelContent,defaultGenerator:D0e,classNameGenerator:a.slotLabelClassNames,didMount:a.slotLabelDidMount,willUnmount:a.slotLabelWillUnmount},l=>E("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},E(l,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]})))})}function D0e(n){return n.text}function C0e(n){return n.text}function P0e(n,t){return t.map(e=>n[e.key])}function Bg(n,t){let e=[],r;for(r=0;r<t;r+=1)e.push([]);if(n)for(r=0;r<n.length;r+=1)e[n[r].col].push(n[r]);return e}function vX(n,t){let e=[];if(n){for(let r=0;r<t;r+=1)e[r]={affectedInstances:n.affectedInstances,isEvent:n.isEvent,segs:[]};for(let r of n.segs)e[r.col].segs.push(r)}else for(let r=0;r<t;r+=1)e[r]=null;return e}function M0e(n){return n.shortText}function A0e(n,t,e){let r=new yc;t!=null&&(r.strictOrder=t),e!=null&&(r.maxStackCnt=e);let a=r.addSegs(n),i=RC(a),s=I0e(r);return s=F0e(s,1),{segRects:O0e(s),hiddenGroups:i}}function I0e(n){let{entriesByLevel:t}=n,e=aF((r,a)=>r+":"+a,(r,a)=>{let i=R0e(n,r,a),s=bX(i,e),o=t[r][a];return[Object.assign(Object.assign({},o),{nextLevelNodes:s[0]}),o.thickness+s[1]]});return bX(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,e)[0]}function bX(n,t){if(!n)return[[],0];let{level:e,lateralStart:r,lateralEnd:a}=n,i=r,s=[];for(;i<a;)s.push(t(e,i)),i+=1;return s.sort(_0e),[s.map(N0e),s[0][1]]}function _0e(n,t){return t[1]-n[1]}function N0e(n){return n[0]}function R0e(n,t,e){let{levelCoords:r,entriesByLevel:a}=n,i=a[t][e],s=r[t]+i.thickness,o=r.length,l=t;for(;l<o&&r[l]<s;l+=1);for(;l<o;l+=1){let c=a[l],d,u=_f(c,i.span.start,If),p=u[0]+u[1],m=p;for(;(d=c[m])&&d.span.start<i.span.end;)m+=1;if(p<m)return{level:l,lateralStart:p,lateralEnd:m}}return null}function F0e(n,t){let e=aF((r,a,i)=>Ni(r),(r,a,i)=>{let{nextLevelNodes:s,thickness:o}=r,l=o+i,c=o/l,d,u=[];if(!s.length)d=t;else for(let m of s)if(d===void 0){let h=e(m,a,l);d=h[0],u.push(h[1])}else{let h=e(m,d,0);u.push(h[1])}let p=(d-a)*c;return[d-p,Object.assign(Object.assign({},r),{thickness:p,nextLevelNodes:u})]});return n.map(r=>e(r,0,0)[1])}function O0e(n){let t=[],e=aF((a,i,s)=>Ni(a),(a,i,s)=>{let o=Object.assign(Object.assign({},a),{levelCoord:i,stackDepth:s,stackForward:0});return t.push(o),o.stackForward=r(a.nextLevelNodes,i+a.thickness,s+1)+1});function r(a,i,s){let o=0;for(let l of a)o=Math.max(e(l,i,s),o);return o}return r(n,0,0),t}function aF(n,t){let e={};return(...r)=>{let a=n(...r);return a in e?e[a]:e[a]=t(...r)}}function TX(n,t,e=null,r=0){let a=[];if(e)for(let i=0;i<n.length;i+=1){let s=n[i],o=e.computeDateTop(s.start,t),l=Math.max(o+(r||0),e.computeDateTop(s.end,t));a.push({start:Math.round(o),end:Math.round(l)})}return a}function L0e(n,t,e,r){let a=[],i=[];for(let c=0;c<n.length;c+=1){let d=t[c];d?a.push({index:c,thickness:1,span:d}):i.push(n[c])}let{segRects:s,hiddenGroups:o}=A0e(a,e,r),l=[];for(let c of s)l.push({seg:n[c.index],rect:c});for(let c of i)l.push({seg:c,rect:null});return{segPlacements:l,hiddenGroups:o}}function SX(n,{todayRange:t,nowDate:e,eventSelection:r,eventDrag:a,eventResize:i}){let s=(a?a.affectedInstances:null)||(i?i.affectedInstances:null)||{};return E(tt,null,n.map(o=>{let l=o.eventRange.instance.instanceId;return E("div",{key:l,style:{visibility:s[l]?"hidden":""}},E(Vk,Object.assign({seg:o,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:l===r,isShort:!1},la(o,t,e))))}))}function VR(n){return n?{top:n.start,bottom:-n.end}:{top:"",bottom:""}}function j0e(n,t){return n.map(e=>t[e.index])}function H0e(n,t){return t.map(e=>n[e.key])}function z0e(n,t){let e=t||n,r=Lf(n,e);return r===null&&(e=n,r=1),{snapDuration:e,snapsPerSlot:r}}function U0e(n,t,e){let r=[];for(let a of n.headerDates)r.push({start:e.add(a,t.slotMinTime),end:e.add(a,t.slotMaxTime)});return r}function W0e(n,t,e,r,a){let i=new Date(0),s=n,o=Re(0),l=e||q0e(r),c=[];for(;ia(s)<ia(t);){let d=a.add(i,s),u=Lf(o,l)!==null;c.push({date:d,time:s,key:d.toISOString(),isoTimeStr:sC(d),isLabeled:u}),s=Of(s,r),o=Of(o,r)}return c}function q0e(n){let t,e,r;for(t=kX.length-1;t>=0;t-=1)if(e=Re(kX[t]),r=Lf(e,n),r!==null&&r>1)return e;return n}function V0e(n,t){let e=new vc(n.renderRange,t);return new bc(e,!1)}var $R,S0e,YR,E0e,x0e,GR,KR,QR,ZR,JR,B0e,Vk,XR,eF,tF,rF,nF,kX,$k,$0e,DX=b(()=>{Pc();Rg();qk();$R=class extends Pf{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(t){return t.allDay?["allDay"]:["timed"]}getKeysForEventDef(t){return t.allDay?SC(t)?["timed","allDay"]:["allDay"]:["timed"]}},S0e=rt({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});YR=class extends Ue{render(){return this.props.slatMetas.map(t=>E("tr",{key:t.key},E(wX,Object.assign({},t))))}},E0e=rt({week:"short"}),x0e=5,GR=class extends or{constructor(){super(...arguments),this.allDaySplitter=new $R,this.headerElRef=zt(),this.rootElRef=zt(),this.scrollerElRef=zt(),this.state={slatCoords:null},this.handleScrollTopRequest=t=>{let e=this.scrollerElRef.current;e&&(e.scrollTop=t)},this.renderHeadAxis=(t,e="")=>{let{options:r}=this.context,{dateProfile:a}=this.props,i=a.renderRange,o=Oi(i.start,i.end)===1?ji(this.context,i.start,"week"):{};return r.weekNumbers&&t==="day"?E(Jf,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:i.start,defaultFormat:E0e},l=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:e}},E(l,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:o}))):E("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},E("div",{className:"fc-timegrid-axis-frame",style:{height:e}}))},this.renderTableRowAxis=t=>{let{options:e,viewApi:r}=this.context,a={text:e.allDayText,view:r};return E(Kt,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:a,generatorName:"allDayContent",customGenerator:e.allDayContent,defaultGenerator:C0e,classNameGenerator:e.allDayClassNames,didMount:e.allDayDidMount,willUnmount:e.allDayWillUnmount},i=>E("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",t==null?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:t}},E(i,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]})))},this.handleSlatCoords=t=>{this.setState({slatCoords:t})}}renderSimpleLayout(t,e,r){let{context:a,props:i}=this,s=[],o=xc(a.options);return t&&s.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}}),e&&(s.push({type:"body",key:"all-day",chunk:{content:e}}),s.push({type:"body",key:"all-day-divider",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{className:"fc-timegrid-divider "+a.theme.getClass("tableCellShaded")}))})),s.push({type:"body",key:"body",liquid:!0,expandRows:!!a.options.expandRows,chunk:{scrollerElRef:this.scrollerElRef,content:r}}),E(sa,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:a.viewSpec},E(No,{liquid:!i.isHeightAuto&&!i.forPrint,collapsibleWidth:i.forPrint,cols:[{width:"shrink"}],sections:s}))}renderHScrollLayout(t,e,r,a,i,s,o){let l=this.context.pluginHooks.scrollGridImpl;if(!l)throw new Error("No ScrollGrid implementation");let{context:c,props:d}=this,u=!d.forPrint&&xc(c.options),p=!d.forPrint&&Kf(c.options),m=[];t&&m.push({type:"header",key:"header",isSticky:u,syncRowHeights:!0,chunks:[{key:"axis",rowContent:f=>E("tr",{role:"presentation"},this.renderHeadAxis("day",f.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:t}]}),e&&(m.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:f=>E("tr",{role:"presentation"},this.renderTableRowAxis(f.rowSyncHeights[0]))},{key:"cols",content:e}]}),m.push({key:"all-day-divider",type:"body",outerContent:E("tr",{role:"presentation",className:"fc-scrollgrid-section"},E("td",{colSpan:2,className:"fc-timegrid-divider "+c.theme.getClass("tableCellShaded")}))}));let h=c.options.nowIndicator;return m.push({type:"body",key:"body",liquid:!0,expandRows:!!c.options.expandRows,chunks:[{key:"axis",content:f=>E("div",{className:"fc-timegrid-axis-chunk"},E("table",{"aria-hidden":!0,style:{height:f.expandRows?f.clientHeight:""}},f.tableColGroupNode,E("tbody",null,E(YR,{slatMetas:s}))),E("div",{className:"fc-timegrid-now-indicator-container"},E(An,{unit:h?"minute":"day"},g=>{let v=h&&o&&o.safeComputeTop(g);return typeof v=="number"?E(Qf,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:v},isAxis:!0,date:g}):null})))},{key:"cols",scrollerElRef:this.scrollerElRef,content:r}]}),p&&m.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Cu},{key:"cols",content:Cu}]}),E(sa,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:c.viewSpec},E(l,{liquid:!d.isHeightAuto&&!d.forPrint,forPrint:d.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:a,minWidth:i}]}],sections:m}))}getAllDayMaxEventProps(){let{dayMaxEvents:t,dayMaxEventRows:e}=this.context.options;return(t===!0||e===!0)&&(t=void 0,e=x0e),{dayMaxEvents:t,dayMaxEventRows:e}}};KR=class{constructor(t,e,r){this.positions=t,this.dateProfile=e,this.slotDuration=r}safeComputeTop(t){let{dateProfile:e}=this;if(_a(e.currentRange,t)){let r=ct(t),a=t.valueOf()-r.valueOf();if(a>=ia(e.slotMinTime)&&a<ia(e.slotMaxTime))return this.computeTimeTop(Re(a))}return null}computeDateTop(t,e){return e||(e=ct(t)),this.computeTimeTop(Re(t.valueOf()-e.valueOf()))}computeTimeTop(t){let{positions:e,dateProfile:r}=this,a=e.els.length,i=(t.milliseconds-ia(r.slotMinTime))/ia(this.slotDuration),s,o;return i=Math.max(0,i),i=Math.min(a,i),s=Math.floor(i),s=Math.min(s,a-1),o=i-s,e.tops[s]+e.getHeight(s)*o}},QR=class extends Ue{render(){let{props:t,context:e}=this,{options:r}=e,{slatElRefs:a}=t;return E("tbody",null,t.slatMetas.map((i,s)=>{let o={time:i.time,date:e.dateEnv.toDate(i.date),view:e.viewApi};return E("tr",{key:i.key,ref:a.createRef(i.key)},t.axis&&E(wX,Object.assign({},i)),E(Kt,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!i.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":i.isoTimeStr},renderProps:o,generatorName:"slotLaneContent",customGenerator:r.slotLaneContent,classNameGenerator:r.slotLaneClassNames,didMount:r.slotLaneDidMount,willUnmount:r.slotLaneWillUnmount}))}))}},ZR=class extends Ue{constructor(){super(...arguments),this.rootElRef=zt(),this.slatElRefs=new In}render(){let{props:t,context:e}=this;return E("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},E("table",{"aria-hidden":!0,className:e.theme.getClass("table"),style:{minWidth:t.tableMinWidth,width:t.clientWidth,height:t.minHeight}},t.tableColGroupNode,E(QR,{slatElRefs:this.slatElRefs,axis:t.axis,slatMetas:t.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:t,props:e}=this;e.onCoords&&e.clientWidth!==null&&this.rootElRef.current.offsetHeight&&e.onCoords(new KR(new si(this.rootElRef.current,P0e(this.slatElRefs.currentMap,e.slatMetas),!1,!0),this.props.dateProfile,t.options.slotDuration))}};JR=class extends Ue{render(){let{props:t}=this;return E(wc,{elClasses:["fc-timegrid-more-link"],elStyle:{top:t.top,bottom:t.bottom},allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:()=>SX(t.hiddenSegs,t),defaultGenerator:M0e,forceTimed:!0},e=>E(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]}))}};B0e=rt({hour:"numeric",minute:"2-digit",meridiem:!1}),Vk=class extends Ue{render(){return E(Ro,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:B0e}))}},XR=class extends Ue{constructor(){super(...arguments),this.sortEventSegs=pe(Dc)}render(){let{props:t,context:e}=this,{options:r}=e,a=r.selectMirror,i=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||a&&t.dateSelectionSegs||[],s=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},o=this.sortEventSegs(t.fgEventSegs,r.eventOrder);return E(Fo,{elTag:"td",elRef:t.elRef,elClasses:["fc-timegrid-col",...t.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},t.extraDataAttrs),date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraRenderProps:t.extraRenderProps},l=>E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(t.businessHourSegs,"non-business"),this.renderFillSegs(t.bgEventSegs,"bg-event"),this.renderFillSegs(t.dateSelectionSegs,"highlight")),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(o,s,!1,!1,!1)),E("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(i,{},!!t.eventDrag,!!t.eventResize,!!a,"mirror")),E("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(t.nowIndicatorSegs)),Pu(r)&&E(l,{elTag:"div",elClasses:["fc-timegrid-col-misc"]})))}renderFgSegs(t,e,r,a,i,s){let{props:o}=this;return o.forPrint?SX(t,o):this.renderPositionedFgSegs(t,e,r,a,i,s)}renderPositionedFgSegs(t,e,r,a,i,s){let{eventMaxStack:o,eventShortHeight:l,eventOrderStrict:c,eventMinHeight:d}=this.context.options,{date:u,slatCoords:p,eventSelection:m,todayRange:h,nowDate:f}=this.props,g=r||a||i,v=TX(t,u,p,d),{segPlacements:T,hiddenGroups:k}=L0e(t,v,c,o);return E(tt,null,this.renderHiddenGroups(k,t),T.map(w=>{let{seg:S,rect:x}=w,I=S.eventRange.instance.instanceId,A=g||!!(!e[I]&&x),B=VR(x&&x.span),z=!g&&x?this.computeSegHStyle(x):{left:0,right:0},U=!!x&&x.stackForward>0,N=!!x&&x.span.end-x.span.start<l;return E("div",{className:"fc-timegrid-event-harness"+(U?" fc-timegrid-event-harness-inset":""),key:s||I,style:Object.assign(Object.assign({visibility:A?"":"hidden"},B),z)},E(Vk,Object.assign({seg:S,isDragging:r,isResizing:a,isDateSelecting:i,isSelected:I===m,isShort:N},la(S,h,f))))}))}renderHiddenGroups(t,e){let{extraDateSpan:r,dateProfile:a,todayRange:i,nowDate:s,eventSelection:o,eventDrag:l,eventResize:c}=this.props;return E(tt,null,t.map(d=>{let u=VR(d.span),p=j0e(d.entries,e);return E(JR,{key:rT(mT(p)),hiddenSegs:p,top:u.top,bottom:u.bottom,extraDateSpan:r,dateProfile:a,todayRange:i,nowDate:s,eventSelection:o,eventDrag:l,eventResize:c})}))}renderFillSegs(t,e){let{props:r,context:a}=this,s=TX(t,r.date,r.slatCoords,a.options.eventMinHeight).map((o,l)=>{let c=t[l];return E("div",{key:Uf(c.eventRange),className:"fc-timegrid-bg-harness",style:VR(o)},e==="bg-event"?E(kc,Object.assign({seg:c},la(c,r.todayRange,r.nowDate))):Zf(e))});return E(tt,null,s)}renderNowIndicator(t){let{slatCoords:e,date:r}=this.props;return e?t.map((a,i)=>E(Qf,{key:i,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:e.computeDateTop(a.start,r)},isAxis:!1,date:r})):null}computeSegHStyle(t){let{isRtl:e,options:r}=this.context,a=r.slotEventOverlap,i=t.levelCoord,s=t.levelCoord+t.thickness,o,l;a&&(s=Math.min(1,i+(s-i)*2)),e?(o=1-s,l=i):(o=i,l=1-s);let c={zIndex:t.stackDepth+1,left:o*100+"%",right:l*100+"%"};return a&&!t.stackForward&&(c[e?"marginLeft":"marginRight"]=20),c}};eF=class extends Ue{constructor(){super(...arguments),this.splitFgEventSegs=pe(Bg),this.splitBgEventSegs=pe(Bg),this.splitBusinessHourSegs=pe(Bg),this.splitNowIndicatorSegs=pe(Bg),this.splitDateSelectionSegs=pe(Bg),this.splitEventDrag=pe(vX),this.splitEventResize=pe(vX),this.rootElRef=zt(),this.cellElRefs=new In}render(){let{props:t,context:e}=this,r=e.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),a=t.cells.length,i=this.splitFgEventSegs(t.fgEventSegs,a),s=this.splitBgEventSegs(t.bgEventSegs,a),o=this.splitBusinessHourSegs(t.businessHourSegs,a),l=this.splitNowIndicatorSegs(t.nowIndicatorSegs,a),c=this.splitDateSelectionSegs(t.dateSelectionSegs,a),d=this.splitEventDrag(t.eventDrag,a),u=this.splitEventResize(t.eventResize,a);return E("div",{className:"fc-timegrid-cols",ref:this.rootElRef},E("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,E("tbody",{role:"presentation"},E("tr",{role:"row"},t.axis&&E("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},E("div",{className:"fc-timegrid-col-frame"},E("div",{className:"fc-timegrid-now-indicator-container"},typeof r=="number"&&E(Qf,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:r},isAxis:!0,date:t.nowDate})))),t.cells.map((p,m)=>E(XR,{key:p.key,elRef:this.cellElRefs.createRef(p.key),dateProfile:t.dateProfile,date:p.date,nowDate:t.nowDate,todayRange:t.todayRange,extraRenderProps:p.extraRenderProps,extraDataAttrs:p.extraDataAttrs,extraClassNames:p.extraClassNames,extraDateSpan:p.extraDateSpan,fgEventSegs:i[m],bgEventSegs:s[m],businessHourSegs:o[m],nowIndicatorSegs:l[m],dateSelectionSegs:c[m],eventDrag:d[m],eventResize:u[m],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint}))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:t}=this;t.onColCoords&&t.clientWidth!==null&&t.onColCoords(new si(this.rootElRef.current,H0e(this.cellElRefs.currentMap,t.cells),!0,!1))}};tF=class extends or{constructor(){super(...arguments),this.processSlotOptions=pe(z0e),this.state={slatCoords:null},this.handleRootEl=t=>{t?this.context.registerInteractiveComponent(this,{el:t,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=t=>{let{onScrollTopRequest:e}=this.props,{slatCoords:r}=this.state;if(e&&r){if(t.time){let a=r.computeTimeTop(t.time);a=Math.ceil(a),a&&(a+=1),e(a)}return!0}return!1},this.handleColCoords=t=>{this.colCoords=t},this.handleSlatCoords=t=>{this.setState({slatCoords:t}),this.props.onSlatCoords&&this.props.onSlatCoords(t)}}render(){let{props:t,state:e}=this;return E("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},E(ZR,{axis:t.axis,dateProfile:t.dateProfile,slatMetas:t.slatMetas,clientWidth:t.clientWidth,minHeight:t.expandRows?t.clientHeight:"",tableMinWidth:t.tableMinWidth,tableColGroupNode:t.axis?t.tableColGroupNode:null,onCoords:this.handleSlatCoords}),E(eF,{cells:t.cells,axis:t.axis,dateProfile:t.dateProfile,businessHourSegs:t.businessHourSegs,bgEventSegs:t.bgEventSegs,fgEventSegs:t.fgEventSegs,dateSelectionSegs:t.dateSelectionSegs,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange,nowDate:t.nowDate,nowIndicatorSegs:t.nowIndicatorSegs,clientWidth:t.clientWidth,tableMinWidth:t.tableMinWidth,tableColGroupNode:t.tableColGroupNode,slatCoords:e.slatCoords,onColCoords:this.handleColCoords,forPrint:t.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(t){this.scrollResponder.update(t.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(t,e){let{dateEnv:r,options:a}=this.context,{colCoords:i}=this,{dateProfile:s}=this.props,{slatCoords:o}=this.state,{snapDuration:l,snapsPerSlot:c}=this.processSlotOptions(this.props.slotDuration,a.snapDuration),d=i.leftToIndex(t),u=o.positions.topToIndex(e);if(d!=null&&u!=null){let p=this.props.cells[d],m=o.positions.tops[u],h=o.positions.getHeight(u),f=(e-m)/h,g=Math.floor(f*c),v=u*c+g,T=this.props.cells[d].date,k=Of(s.slotMinTime,nC(l,v)),w=r.add(T,k),S=r.add(w,l);return{dateProfile:s,dateSpan:Object.assign({range:{start:w,end:S},allDay:!1},p.extraDateSpan),dayEl:i.els[d],rect:{left:i.lefts[d],right:i.rights[d],top:m,bottom:m+h},layer:0}}return null}};rF=class extends Tc{sliceRange(t,e){let r=[];for(let a=0;a<e.length;a+=1){let i=mn(t,e[a]);i&&r.push({start:i.start,end:i.end,isStart:i.start.valueOf()===t.start.valueOf(),isEnd:i.end.valueOf()===t.end.valueOf(),col:a})}return r}},nF=class extends or{constructor(){super(...arguments),this.buildDayRanges=pe(U0e),this.slicer=new rF,this.timeColsRef=zt()}render(){let{props:t,context:e}=this,{dateProfile:r,dayTableModel:a}=t,{nowIndicator:i,nextDayThreshold:s}=e.options,o=this.buildDayRanges(a,r,e.dateEnv);return E(An,{unit:i?"minute":"day"},(l,c)=>E(tF,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(t,r,null,e,o),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:a.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:l,nowIndicatorSegs:i&&this.slicer.sliceNowDate(l,r,s,e,o),todayRange:c,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords})))}};kX=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];$k=class extends GR{constructor(){super(...arguments),this.buildTimeColsModel=pe(V0e),this.buildSlatMetas=pe(W0e)}render(){let{options:t,dateEnv:e,dateProfileGenerator:r}=this.context,{props:a}=this,{dateProfile:i}=a,s=this.buildTimeColsModel(i,r),o=this.allDaySplitter.splitProps(a),l=this.buildSlatMetas(i.slotMinTime,i.slotMaxTime,t.slotLabelInterval,t.slotDuration,e),{dayMinWidth:c}=t,d=!c,u=c,p=t.dayHeaders&&E(Ns,{dates:s.headerDates,dateProfile:i,datesRepDistinctDays:!0,renderIntro:d?this.renderHeadAxis:null}),m=t.allDaySlot!==!1&&(f=>E(Lg,Object.assign({},o.allDay,{dateProfile:i,dayTableModel:s,nextDayThreshold:t.nextDayThreshold,tableMinWidth:f.tableMinWidth,colGroupNode:f.tableColGroupNode,renderRowIntro:d?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:f.clientWidth,clientHeight:f.clientHeight,forPrint:a.forPrint},this.getAllDayMaxEventProps()))),h=f=>E(nF,Object.assign({},o.timed,{dayTableModel:s,dateProfile:i,axis:d,slotDuration:t.slotDuration,slatMetas:l,forPrint:a.forPrint,tableColGroupNode:f.tableColGroupNode,tableMinWidth:f.tableMinWidth,clientWidth:f.clientWidth,clientHeight:f.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:f.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return u?this.renderHScrollLayout(p,m,h,s.colCnt,c,l,this.state.slatCoords):this.renderSimpleLayout(p,m,h)}};$0e='.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-arrow,.fc .fc-timegrid-now-indicator-line{pointer-events:none}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}';Ri($0e)});var Y0e,EX,xX=b(()=>{Cc();DX();Y0e={allDaySlot:Boolean},EX=Xr({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:Y0e,views:{timeGrid:{component:$k,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}})});function G0e(n){return E(tt,null,n.text&&E("a",Object.assign({id:n.textId,className:"fc-list-day-text"},n.navLinkAttrs),n.text),n.sideText&&E("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},n.sideNavLinkAttrs),n.sideText))}function Q0e(n,t){let e=Du(n,t);return E("a",Object.assign({},e),n.eventRange.def.title)}function Z0e(n,t,e,r,a){let{options:i}=e;if(i.displayEventTime!==!1){let s=n.eventRange.def,o=n.eventRange.instance,l=!1,c;if(s.allDay?l=!0:fC(n.eventRange.range)?n.isStart?c=Bo(n,t,e,null,null,o.range.start,n.end):n.isEnd?c=Bo(n,t,e,null,null,n.start,o.range.end):l=!0:c=Bo(n,t,e),l){let d={text:e.options.allDayText,view:e.viewApi};return E(Kt,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${r} ${a}`},renderProps:d,generatorName:"allDayContent",customGenerator:i.allDayContent,defaultGenerator:J0e,classNameGenerator:i.allDayClassNames,didMount:i.allDayDidMount,willUnmount:i.allDayWillUnmount})}return E("td",{className:"fc-list-event-time"},c)}return null}function J0e(n){return n.text}function X0e(n){return n.text}function eMe(n){let t=ct(n.renderRange.start),e=n.renderRange.end,r=[],a=[];for(;t<e;)r.push(t),a.push({start:t,end:Bt(t,1)}),t=Bt(t,1);return{dayDates:r,dayRanges:a}}function tMe(n){let t=[],e,r;for(e=0;e<n.length;e+=1)r=n[e],(t[r.dayIndex]||(t[r.dayIndex]=[])).push(r);return t}var iF,K0e,sF,Yk,rMe,CX=b(()=>{Pc();Rg();iF=class extends Ue{constructor(){super(...arguments),this.state={textId:_n()}}render(){let{theme:t,dateEnv:e,options:r,viewApi:a}=this.context,{cellId:i,dayDate:s,todayRange:o}=this.props,{textId:l}=this.state,c=qf(s,o),d=r.listDayFormat?e.format(s,r.listDayFormat):"",u=r.listDaySideFormat?e.format(s,r.listDaySideFormat):"",p=Object.assign({date:e.toDate(s),view:a,textId:l,text:d,sideText:u,navLinkAttrs:ji(this.context,s),sideNavLinkAttrs:ji(this.context,s,"day",!1)},c);return E(Kt,{elTag:"tr",elClasses:["fc-list-day",...Eu(c,t)],elAttrs:{"data-date":Oo(s)},renderProps:p,generatorName:"dayHeaderContent",customGenerator:r.dayHeaderContent,defaultGenerator:G0e,classNameGenerator:r.dayHeaderClassNames,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},m=>E("th",{scope:"colgroup",colSpan:3,id:i,"aria-labelledby":l},E(m,{elTag:"div",elClasses:["fc-list-day-cushion",t.getClass("tableCellShaded")]})))}};K0e=rt({hour:"numeric",minute:"2-digit",meridiem:"short"}),sF=class extends Ue{render(){let{props:t,context:e}=this,{options:r}=e,{seg:a,timeHeaderId:i,eventHeaderId:s,dateHeaderId:o}=t,l=r.eventTimeFormat||K0e;return E(Rs,Object.assign({},t,{elTag:"tr",elClasses:["fc-list-event",a.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>Q0e(a,e),seg:a,timeText:"",disableDragging:!0,disableResizing:!0}),(c,d)=>E(tt,null,Z0e(a,l,e,i,o),E("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},E("span",{className:"fc-list-event-dot",style:{borderColor:d.borderColor||d.backgroundColor}})),E(c,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${s} ${o}`}})))}};Yk=class extends or{constructor(){super(...arguments),this.computeDateVars=pe(eMe),this.eventStoreToSegs=pe(this._eventStoreToSegs),this.state={timeHeaderId:_n(),eventHeaderId:_n(),dateHeaderIdRoot:_n()},this.setRootEl=t=>{t?this.context.registerInteractiveComponent(this,{el:t}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:t,context:e}=this,{dayDates:r,dayRanges:a}=this.computeDateVars(t.dateProfile),i=this.eventStoreToSegs(t.eventStore,t.eventUiBases,a);return E(sa,{elRef:this.setRootEl,elClasses:["fc-list",e.theme.getClass("table"),e.options.stickyHeaderDates!==!1?"fc-list-sticky":""],viewSpec:e.viewSpec},E(fu,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},i.length>0?this.renderSegList(i,r):this.renderEmptyMessage()))}renderEmptyMessage(){let{options:t,viewApi:e}=this.context,r={text:t.noEventsText,view:e};return E(Kt,{elTag:"div",elClasses:["fc-list-empty"],renderProps:r,generatorName:"noEventsContent",customGenerator:t.noEventsContent,defaultGenerator:X0e,classNameGenerator:t.noEventsClassNames,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},a=>E(a,{elTag:"div",elClasses:["fc-list-empty-cushion"]}))}renderSegList(t,e){let{theme:r,options:a}=this.context,{timeHeaderId:i,eventHeaderId:s,dateHeaderIdRoot:o}=this.state,l=tMe(t);return E(An,{unit:"day"},(c,d)=>{let u=[];for(let p=0;p<l.length;p+=1){let m=l[p];if(m){let h=Oo(e[p]),f=o+"-"+h;u.push(E(iF,{key:h,cellId:f,dayDate:e[p],todayRange:d})),m=Dc(m,a.eventOrder);for(let g of m)u.push(E(sF,Object.assign({key:h+":"+g.eventRange.instance.instanceId,seg:g,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:i,eventHeaderId:s,dateHeaderId:f},la(g,d,c))))}}return E("table",{className:"fc-list-table "+r.getClass("table")},E("thead",null,E("tr",null,E("th",{scope:"col",id:i},a.timeHint),E("th",{scope:"col","aria-hidden":!0}),E("th",{scope:"col",id:s},a.eventHint))),E("tbody",null,u))})}_eventStoreToSegs(t,e,r){return this.eventRangesToSegs(hu(t,e,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,r)}eventRangesToSegs(t,e){let r=[];for(let a of t)r.push(...this.eventRangeToSegs(a,e));return r}eventRangeToSegs(t,e){let{dateEnv:r}=this.context,{nextDayThreshold:a}=this.context.options,i=t.range,s=t.def.allDay,o,l,c,d=[];for(o=0;o<e.length;o+=1)if(l=mn(i,e[o]),l&&(c={component:this,eventRange:t,start:l.start,end:l.end,isStart:t.isStart&&l.start.valueOf()===i.start.valueOf(),isEnd:t.isEnd&&l.end.valueOf()===i.end.valueOf(),dayIndex:o},d.push(c),!c.isEnd&&!s&&o+1<e.length&&i.end<r.add(e[o+1].start,a))){c.end=i.end,c.isEnd=!0;break}return d}};rMe=':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}';Ri(rMe)});function PX(n){return n===!1?null:rt(n)}var nMe,MX,AX=b(()=>{Cc();CX();Pc();nMe={listDayFormat:PX,listDaySideFormat:PX,noEventsClassNames:F,noEventsContent:F,noEventsDidMount:F,noEventsWillUnmount:F};MX=Xr({name:"@fullcalendar/list",optionRefiners:nMe,views:{list:{component:Yk,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}})});function iMe(n,t,e,r,a){let{start:i,end:s}=t.currentRange,o=i,l=[];for(;o.valueOf()<s.valueOf();){let c=e.add(o,aMe),d={start:n.skipHiddenDays(o),end:n.skipHiddenDays(c,-1,!0)},u=qR({currentRange:d,snapToWeek:!0,fixedWeekCount:r,dateEnv:e});u={start:n.skipHiddenDays(u.start),end:n.skipHiddenDays(u.end,-1,!0)};let p=t.activeRange?mn(t.activeRange,a?u:d):null;l.push({currentDate:t.currentDate,isValid:t.isValid,validRange:t.validRange,renderRange:u,activeRange:p,currentRange:d,currentRangeUnit:"month",isRangeAllDay:!0,dateIncrement:t.dateIncrement,slotMinTime:t.slotMaxTime,slotMaxTime:t.slotMinTime}),o=c}return l}function lMe(n,t){return n||(t[0].currentRange.start.getUTCFullYear()!==t[t.length-1].currentRange.start.getUTCFullYear()?sMe:oMe)}var oF,lF,aMe,sMe,oMe,cMe,dMe,IX,_X=b(()=>{Cc();qk();Pc();Rg();oF=class extends or{constructor(){super(...arguments),this.buildDayTableModel=pe(WR),this.slicer=new Og,this.state={labelId:_n()}}render(){let{props:t,state:e,context:r}=this,{dateProfile:a,forPrint:i}=t,{options:s}=r,o=this.buildDayTableModel(a,r.dateProfileGenerator),l=this.slicer.sliceProps(t,a,s.nextDayThreshold,r,o),c=t.tableWidth!=null?t.tableWidth/s.aspectRatio:null,d=o.cells.length,u=c!=null?c/d:null;return E("div",{ref:t.elRef,"data-date":t.isoDateStr,className:"fc-multimonth-month",style:{width:t.width},role:"grid","aria-labelledby":e.labelId},E("div",{className:"fc-multimonth-header",style:{marginBottom:u},role:"presentation"},E("div",{className:"fc-multimonth-title",id:e.labelId},r.dateEnv.format(t.dateProfile.currentRange.start,t.titleFormat)),E("table",{className:["fc-multimonth-header-table",r.theme.getClass("table")].join(" "),role:"presentation"},E("thead",{role:"rowgroup"},E(Ns,{dateProfile:t.dateProfile,dates:o.headerDates,datesRepDistinctDays:!1})))),E("div",{className:["fc-multimonth-daygrid","fc-daygrid","fc-daygrid-body",!i&&"fc-daygrid-body-balanced",i&&"fc-daygrid-body-unbalanced",i&&"fc-daygrid-body-natural"].join(" "),style:{marginTop:-u}},E("table",{className:["fc-multimonth-daygrid-table",r.theme.getClass("table")].join(" "),style:{height:i?"":c},role:"presentation"},E("tbody",{role:"rowgroup"},E(Fg,Object.assign({},l,{dateProfile:a,cells:o.cells,eventSelection:t.eventSelection,dayMaxEvents:!i,dayMaxEventRows:!i,showWeekNumbers:s.weekNumbers,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i}))))))}},lF=class extends or{constructor(){super(...arguments),this.splitDateProfileByMonth=pe(iMe),this.buildMonthFormat=pe(lMe),this.scrollElRef=zt(),this.firstMonthElRef=zt(),this.needsScrollReset=!1,this.handleSizing=t=>{t&&this.updateSize()}}render(){let{context:t,props:e,state:r}=this,{options:a}=t,{clientWidth:i,clientHeight:s}=r,o=r.monthHPadding||0,l=Math.min(i!=null?Math.floor(i/(a.multiMonthMinWidth+o)):1,a.multiMonthMaxColumns)||1,c=100/l+"%",d=i==null?null:i/l-o,u=i!=null&&l===1,p=this.splitDateProfileByMonth(t.dateProfileGenerator,e.dateProfile,t.dateEnv,u?!1:a.fixedWeekCount,a.showNonCurrentDates),m=this.buildMonthFormat(a.multiMonthTitleFormat,p),h=["fc-multimonth",u?"fc-multimonth-singlecol":"fc-multimonth-multicol",d!=null&&d<400?"fc-multimonth-compact":"",e.isHeightAuto?"":"fc-scroller"];return E(sa,{elRef:this.scrollElRef,elClasses:h,viewSpec:t.viewSpec},p.map((f,g)=>{let v=bu(f.currentRange.start);return E(oF,Object.assign({},e,{key:v,isoDateStr:v,elRef:g===0?this.firstMonthElRef:void 0,titleFormat:m,dateProfile:f,width:c,tableWidth:d,clientWidth:i,clientHeight:s}))}))}componentDidMount(){this.updateSize(),this.context.addResizeHandler(this.handleSizing),this.requestScrollReset()}componentDidUpdate(t){Jr(t,this.props)||this.handleSizing(!1),t.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}updateSize(){let t=this.scrollElRef.current,e=this.firstMonthElRef.current;t&&this.setState({clientWidth:t.clientWidth,clientHeight:t.clientHeight}),e&&t&&this.state.monthHPadding==null&&this.setState({monthHPadding:t.clientWidth-e.firstChild.offsetWidth})}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.state.monthHPadding!=null){let{currentDate:t}=this.props.dateProfile,e=this.scrollElRef.current,r=e.querySelector(`[data-date="${bu(t)}"]`);e.scrollTop=r.getBoundingClientRect().top-this.firstMonthElRef.current.getBoundingClientRect().top,this.needsScrollReset=!1}}shouldComponentUpdate(){return!0}},aMe=Re(1,"month");sMe=rt({year:"numeric",month:"long"}),oMe=rt({month:"long"});cMe={multiMonthTitleFormat:rt,multiMonthMaxColumns:Number,multiMonthMinWidth:Number},dMe=".fc .fc-multimonth{border:1px solid var(--fc-border-color);display:flex;flex-wrap:wrap;overflow-x:hidden;overflow-y:auto}.fc .fc-multimonth-title{font-size:1.2em;font-weight:700;padding:1em 0;text-align:center}.fc .fc-multimonth-daygrid{background:var(--fc-page-bg-color)}.fc .fc-multimonth-daygrid-table,.fc .fc-multimonth-header-table{table-layout:fixed;width:100%}.fc .fc-multimonth-daygrid-table{border-top-style:hidden!important}.fc .fc-multimonth-singlecol .fc-multimonth{position:relative}.fc .fc-multimonth-singlecol .fc-multimonth-header{background:var(--fc-page-bg-color);position:relative;top:0;z-index:2}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid{position:relative;z-index:1}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid-table,.fc .fc-multimonth-singlecol .fc-multimonth-header-table{border-left-style:hidden;border-right-style:hidden}.fc .fc-multimonth-singlecol .fc-multimonth-month:last-child .fc-multimonth-daygrid-table{border-bottom-style:hidden}.fc .fc-multimonth-multicol{line-height:1}.fc .fc-multimonth-multicol .fc-multimonth-month{padding:0 1.2em 1.2em}.fc .fc-multimonth-multicol .fc-daygrid-more-link{border:1px solid var(--fc-event-border-color);display:block;float:none;padding:1px}.fc .fc-multimonth-compact{line-height:1}.fc .fc-multimonth-compact .fc-multimonth-daygrid-table,.fc .fc-multimonth-compact .fc-multimonth-header-table{font-size:.9em}.fc-media-screen .fc-multimonth-singlecol .fc-multimonth-header{position:sticky}.fc-media-print .fc-multimonth{overflow:visible}";Ri(dMe);IX=Xr({name:"@fullcalendar/multimonth",initialView:"multiMonthYear",optionRefiners:cMe,views:{multiMonth:{component:lF,dateProfileGeneratorClass:Qu,multiMonthMinWidth:350,multiMonthMaxColumns:3},multiMonthYear:{type:"multiMonth",duration:{years:1},fixedWeekCount:!0,showNonCurrentDates:!1}}})});function Xo(n,t,e){new cF(n.app,n,{placeholder:e==null?void 0:e.placeholder,title:e==null?void 0:e.title,filter:e==null?void 0:e.filter,newFileFolder:e==null?void 0:e.newFileFolder,onResult:a=>{a.type==="selected"||a.type==="created"?t(a.file):t(null)}}).open()}var Bn,cF,jg=b(()=>{Bn=require("obsidian"),cF=class extends Bn.SuggestModal{constructor(e,r,a){super(e);this.currentQuery="";this.resultHandled=!1;this.createFooterEl=null;this.handleInputChange=()=>{this.currentQuery=this.inputEl.value.trim(),this.updateCreateFooter()};this.plugin=r,this.options=a,this.setPlaceholder(a.placeholder||"Search files or type to create new..."),this.setInstructions([{command:"\u2191\u2193",purpose:"to navigate"},{command:"\u21B5",purpose:"to select"},{command:"\u21E7\u21B5",purpose:"to create new"},{command:"esc",purpose:"to cancel"}]),a.title&&this.titleEl.setText(a.title),this.containerEl.addClass("file-selector-modal"),this.containerEl.addClass("tasknotes-plugin")}onOpen(){super.onOpen(),this.scope.register(["Shift"],"Enter",e=>(e.preventDefault(),e.stopPropagation(),this.createNewFile(),!1)),this.inputEl.addEventListener("input",this.handleInputChange),setTimeout(()=>this.createFooter(),0)}createFooter(){var r;let e=this.modalEl.querySelector(".prompt");e&&(this.createFooterEl=((r=e.parentElement)==null?void 0:r.createDiv({cls:"file-selector-create-footer"}))||null,this.createFooterEl&&(this.createFooterEl.style.display="none"))}updateCreateFooter(){if(!this.createFooterEl)return;if(!this.currentQuery){this.createFooterEl.style.display="none";return}this.createFooterEl.empty(),this.createFooterEl.style.display="flex";let r=this.createFooterEl.createDiv({cls:"file-selector-create-footer__content"}).createDiv({cls:"file-selector-create-footer__title-line"}),a=r.createSpan({cls:"file-selector-create-footer__shortcut",text:"\u21E7\u21B5"});r.createSpan({cls:"file-selector-create-footer__hint-text",text:" to create: "}),r.createSpan({cls:"file-selector-create-footer__filename",text:this.getNewFileName()})}getNewFileName(){let e=this.currentQuery;return e.toLowerCase().endsWith(".md")&&(e=e.slice(0,-3)),e+".md"}async createNewFile(){if(!this.currentQuery){new Bn.Notice("Please enter a file name");return}try{let e=this.currentQuery;e.toLowerCase().endsWith(".md")&&(e=e.slice(0,-3));let r=this.options.newFileFolder||"",a=r?`${r}/${e}.md`:`${e}.md`;if(this.app.vault.getAbstractFileByPath(a)){new Bn.Notice(`File "${a}" already exists`);return}r&&(this.app.vault.getAbstractFileByPath(r)||await this.app.vault.createFolder(r));let s=await this.app.vault.create(a,"");this.resultHandled=!0,this.close(),this.options.onResult({type:"created",file:s})}catch(e){console.error("Error creating file:",e),new Bn.Notice("Failed to create file")}}getSuggestions(e){this.currentQuery=e.trim(),this.updateCreateFooter();let r=this.app.vault.getAllLoadedFiles(),a=e.toLowerCase(),i,s=this.options.filter||"markdown";return typeof s=="function"?i=r.filter(s):s==="markdown"?i=r.filter(o=>o instanceof Bn.TFile&&o.extension==="md"&&!o.path.includes(".trash")):i=r.filter(o=>o instanceof Bn.TFile&&!o.path.includes(".trash")),e?i.filter(o=>this.getSearchText(o).toLowerCase().includes(a)).slice(0,50):i.slice(0,50)}getSearchText(e){let r=`${e.name} ${e.path}`;if(e instanceof Bn.TFile){let a=this.app.metadataCache.getFileCache(e);if(a!=null&&a.frontmatter){let i=this.plugin.fieldMapper.toUserField("title"),s=a.frontmatter[i];s&&(r+=` ${s}`);let o=(0,Bn.parseFrontMatterAliases)(a.frontmatter);o&&o.length>0&&(r+=` ${o.join(" ")}`)}}return r}renderSuggestion(e,r){let a=r.createDiv({cls:"file-selector-suggestion"});if(a.createDiv({cls:"file-selector-suggestion__name",text:e.name}),e instanceof Bn.TFile){let i=this.app.metadataCache.getFileCache(e);if(i!=null&&i.frontmatter){let s=this.plugin.fieldMapper.toUserField("title"),o=i.frontmatter[s];if(o)a.createDiv({cls:"file-selector-suggestion__title",text:o});else{let l=(0,Bn.parseFrontMatterAliases)(i.frontmatter);l&&l.length>0&&a.createDiv({cls:"file-selector-suggestion__aliases",text:l.join(", ")})}}}e.parent&&e.parent.path!=="/"&&a.createDiv({cls:"file-selector-suggestion__path",text:e.parent.path})}onChooseSuggestion(e,r){this.resultHandled=!0,this.options.onResult({type:"selected",file:e})}onClose(){this.inputEl.removeEventListener("input",this.handleInputChange),this.createFooterEl&&(this.createFooterEl.remove(),this.createFooterEl=null),setTimeout(()=>{this.resultHandled||this.options.onResult({type:"cancelled"})},0),super.onClose()}}});var Wt,el,Gk,NX=b(()=>{Wt=require("obsidian");Dr();jg();Ke();el=Ie(Xi()),Gk=class extends Wt.Modal{constructor(e,r,a){super(e);this.selectedAttachments=[];this.keyboardHandler=null;this.plugin=r,this.options=a,this.translate=r.i18n.translate.bind(r.i18n)}onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("timeblock-creation-modal"),this.keyboardHandler=c=>{c.key==="Enter"&&(c.ctrlKey||c.metaKey)&&(c.preventDefault(),this.handleSubmit())},this.containerEl.addEventListener("keydown",this.keyboardHandler),new Wt.Setting(e).setName(this.translate("modals.timeblockCreation.heading")).setHeading();let r=e.createDiv({cls:"timeblock-date-display"});r.createEl("strong",{text:this.translate("modals.timeblockCreation.dateLabel")});let a=ml(this.options.date);r.createSpan({text:a.toLocaleDateString()}),new Wt.Setting(e).setName(this.translate("modals.timeblockCreation.titleLabel")).setDesc(this.translate("modals.timeblockCreation.titleDesc")).addText(c=>{this.titleInput=c.inputEl,c.setPlaceholder(this.translate("modals.timeblockCreation.titlePlaceholder")).setValue(this.options.prefilledTitle||"").onChange(()=>this.validateForm()),window.setTimeout(()=>this.titleInput.focus(),100)});let i=e.createDiv({cls:"timeblock-time-container"});new Wt.Setting(i).setName(this.translate("modals.timeblockCreation.startTimeLabel")).setDesc(this.translate("modals.timeblockCreation.startTimeDesc")).addText(c=>{this.startTimeInput=c.inputEl,c.setPlaceholder(this.translate("modals.timeblockCreation.startTimePlaceholder")).setValue(this.options.startTime||"").onChange(()=>this.validateForm()),this.startTimeInput.type="time"}),new Wt.Setting(i).setName(this.translate("modals.timeblockCreation.endTimeLabel")).setDesc(this.translate("modals.timeblockCreation.endTimeDesc")).addText(c=>{this.endTimeInput=c.inputEl,c.setPlaceholder(this.translate("modals.timeblockCreation.endTimePlaceholder")).setValue(this.options.endTime||"").onChange(()=>{this.endTimeInput.value==="00:00"&&(this.endTimeInput.value="23:59"),this.validateForm()}),this.endTimeInput.type="time"}),new Wt.Setting(e).setName(this.translate("modals.timeblockCreation.descriptionLabel")).setDesc(this.translate("modals.timeblockCreation.descriptionDesc")).addTextArea(c=>{this.descriptionInput=c.inputEl,c.setPlaceholder(this.translate("modals.timeblockCreation.descriptionPlaceholder")).setValue(""),this.descriptionInput.rows=3}),new Wt.Setting(e).setName(this.translate("modals.timeblockCreation.colorLabel")).setDesc(this.translate("modals.timeblockCreation.colorDesc")).addText(c=>{this.colorInput=c.inputEl,c.setPlaceholder(this.translate("modals.timeblockCreation.colorPlaceholder")).setValue("#6366f1"),this.colorInput.type="color"}),new Wt.Setting(e).setName(this.translate("modals.timeblockCreation.attachmentsLabel")).setDesc(this.translate("modals.timeblockCreation.attachmentsDesc")).addButton(c=>{c.setButtonText(this.translate("modals.timeblockCreation.addAttachmentButton")).setTooltip(this.translate("modals.timeblockCreation.addAttachmentTooltip")).onClick(()=>{Xo(this.plugin,d=>{d&&this.addAttachment(d)},{placeholder:"Search files or type to create new...",filter:"all"})})}),this.attachmentsList=e.createDiv({cls:"timeblock-attachments-list"}),this.renderAttachmentsList();let s=e.createDiv({cls:"timeblock-modal-buttons"});s.createEl("button",{text:this.translate("common.cancel")}).addEventListener("click",()=>this.close()),s.createEl("button",{text:this.translate("modals.timeblockCreation.createButton"),cls:"mod-cta timeblock-create-button"}).addEventListener("click",()=>this.handleSubmit()),this.validateForm()}validateForm(){var o,l,c;let e=this.contentEl.querySelector(".timeblock-create-button");if(!e)return;let r=(o=this.titleInput)==null?void 0:o.value.trim(),a=(l=this.startTimeInput)==null?void 0:l.value,i=(c=this.endTimeInput)==null?void 0:c.value,s=!!(r&&a&&i);if(s&&a&&i){let[d,u]=a.split(":").map(Number),[p,m]=i.split(":").map(Number),h=d*60+u,f=p*60+m;f===0&&(f=1439),f<=h&&(s=!1)}e.disabled=!s,e.style.opacity=s?"1":"0.5"}async handleSubmit(){try{let e=this.titleInput.value.trim(),r=this.startTimeInput.value,a=this.endTimeInput.value,i=this.descriptionInput.value.trim(),s=this.colorInput.value;if(!e||!r||!a){new Wt.Notice(this.translate("notices.timeblockRequiredFieldsMissing"));return}a==="00:00"&&(a="23:59");let o=this.selectedAttachments.map(c=>`[[${c.path}]]`),l={id:LS(),title:e,startTime:r,endTime:a};i&&(l.description=i),s&&(l.color=s),o.length>0&&(l.attachments=o),await this.saveTimeblockToDailyNote(l),this.plugin.emitter.trigger("data-changed"),new Wt.Notice(`Timeblock "${e}" created successfully`),this.close()}catch(e){console.error("Error creating timeblock:",e),new Wt.Notice("Failed to create timeblock. Check console for details.")}}async saveTimeblockToDailyNote(e){if(!(0,el.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes plugin is not enabled");let r=window.moment(this.options.date),a=(0,el.getAllDailyNotes)(),i=(0,el.getDailyNote)(r,a);if(!i){try{i=await(0,el.createDailyNote)(r)}catch(u){let p=u instanceof Error?u.message:String(u);throw new Error(`Failed to create daily note: ${p}. Please check your Daily Notes plugin configuration and ensure the daily notes folder exists.`)}if(!i)throw new Error("Failed to create daily note. Please check your Daily Notes plugin configuration and ensure the daily notes folder exists.")}let s=await this.app.vault.read(i),o={},l=s;if(s.startsWith("---")){let u=s.indexOf("---",3);if(u!==-1){let p=s.substring(3,u);l=s.substring(u+3);try{o=(0,Wt.parseYaml)(p)||{}}catch(m){console.error("Error parsing existing frontmatter:",m),o={}}}}o.timeblocks||(o.timeblocks=[]),o.timeblocks.push(e);let d=`---
|
||
${(0,Wt.stringifyYaml)(o)}---${l}`;await this.app.vault.modify(i,d)}addAttachment(e){if(this.selectedAttachments.some(r=>r.path===e.path)){new Wt.Notice(this.translate("notices.timeblockAttachmentExists",{fileName:e.name}));return}this.selectedAttachments.push(e),this.renderAttachmentsList(),new Wt.Notice(this.translate("notices.timeblockAttachmentAdded",{fileName:e.name}))}removeAttachment(e){this.selectedAttachments=this.selectedAttachments.filter(r=>r.path!==e.path),this.renderAttachmentsList(),new Wt.Notice(this.translate("notices.timeblockAttachmentRemoved",{fileName:e.name}))}renderAttachmentsList(){if(this.attachmentsList.empty(),this.selectedAttachments.length===0){let e=this.attachmentsList.createDiv({cls:"timeblock-attachments-empty"});e.textContent="No attachments added yet";return}this.selectedAttachments.forEach(e=>{let r=this.attachmentsList.createDiv({cls:"timeblock-attachment-item"}),a=r.createDiv({cls:"timeblock-attachment-info"}),i=a.createSpan({cls:"timeblock-attachment-name"});if(i.textContent=e.name,e.path!==e.name){let o=a.createDiv({cls:"timeblock-attachment-path"});o.textContent=e.path}let s=r.createEl("button",{cls:"timeblock-attachment-remove",text:"\xD7"});(0,Wt.setTooltip)(s,"Remove attachment",{placement:"top"}),s.addEventListener("click",()=>{this.removeAttachment(e)})})}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:e}=this;e.empty()}}});var Tt,Zs,Kk,RX=b(()=>{Tt=require("obsidian");jg();Zs=Ie(Xi());Ke();Kk=class extends Tt.Modal{constructor(e,r,a,i,s){super(e);this.selectedAttachments=[];this.keyboardHandler=null;this.plugin=r,this.timeblock={...a},this.originalTimeblock=a,this.eventDate=i,this.timeblockDate=s||le(i),this.translate=r.i18n.translate.bind(r.i18n)}async onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("timeblock-info-modal"),this.keyboardHandler=d=>{d.key==="Enter"&&(d.ctrlKey||d.metaKey)&&(d.preventDefault(),this.handleSave())},this.containerEl.addEventListener("keydown",this.keyboardHandler),new Tt.Setting(e).setName(this.translate("modals.timeblockInfo.editHeading")).setHeading();let r=e.createDiv({cls:"timeblock-date-display"});r.createEl("strong",{text:this.translate("modals.timeblockInfo.dateTimeLabel")});let a=`${this.eventDate.toLocaleDateString()} from ${this.timeblock.startTime} to ${this.timeblock.endTime}`;r.createSpan({text:a}),new Tt.Setting(e).setName(this.translate("modals.timeblockInfo.titleLabel")).setDesc(this.translate("modals.timeblockInfo.titleDesc")).addText(d=>{this.titleInput=d.inputEl,d.setPlaceholder(this.translate("modals.timeblockInfo.titlePlaceholder")).setValue(this.timeblock.title||"").onChange(()=>this.validateForm())}),new Tt.Setting(e).setName(this.translate("modals.timeblockInfo.descriptionLabel")).setDesc(this.translate("modals.timeblockInfo.descriptionDesc")).addTextArea(d=>{this.descriptionInput=d.inputEl,d.setPlaceholder(this.translate("modals.timeblockInfo.descriptionPlaceholder")).setValue(this.timeblock.description||""),this.descriptionInput.rows=3}),new Tt.Setting(e).setName(this.translate("modals.timeblockInfo.colorLabel")).setDesc(this.translate("modals.timeblockInfo.colorDesc")).addText(d=>{this.colorInput=d.inputEl,d.setPlaceholder(this.translate("modals.timeblockInfo.colorPlaceholder")).setValue(this.timeblock.color||"#6366f1"),this.colorInput.type="color"}),new Tt.Setting(e).setName(this.translate("modals.timeblockInfo.attachmentsLabel")).setDesc(this.translate("modals.timeblockInfo.attachmentsDesc")).addButton(d=>{d.setButtonText(this.translate("modals.timeblockInfo.addAttachmentButton")).setTooltip(this.translate("modals.timeblockInfo.addAttachmentTooltip")).onClick(()=>{Xo(this.plugin,u=>{u&&this.addAttachment(u)},{placeholder:"Search files or type to create new...",filter:"all"})})}),this.attachmentsList=e.createDiv({cls:"timeblock-attachments-list"}),await this.initializeAttachments(),this.renderAttachmentsList();let i=e.createDiv({cls:"timeblock-modal-buttons"});i.style.display="flex",i.style.justifyContent="space-between",i.style.alignItems="center",i.style.marginTop="20px",i.createEl("button",{text:this.translate("modals.timeblockInfo.deleteButton"),cls:"mod-warning timeblock-delete-button"}).addEventListener("click",()=>this.handleDelete());let o=i.createDiv({cls:"timeblock-modal-buttons-right"});o.style.display="flex",o.style.gap="8px",o.createEl("button",{text:this.translate("common.cancel")}).addEventListener("click",()=>this.close()),o.createEl("button",{text:this.translate("modals.timeblockInfo.saveButton"),cls:"mod-cta timeblock-save-button"}).addEventListener("click",()=>this.handleSave()),this.validateForm(),window.setTimeout(()=>this.titleInput.focus(),50)}validateForm(){var i;let e=this.contentEl.querySelector(".timeblock-save-button");if(!e)return;let a=!!((i=this.titleInput)==null?void 0:i.value.trim());e.disabled=!a,e.style.opacity=a?"1":"0.5"}async initializeAttachments(){if(this.timeblock.attachments)for(let e of this.timeblock.attachments){let r=e.replace(/^\[\[|\]\]$/g,""),a=this.app.vault.getAbstractFileByPath(r);a&&this.selectedAttachments.push(a)}}addAttachment(e){if(this.selectedAttachments.some(r=>r.path===e.path)){new Tt.Notice(this.translate("notices.timeblockAttachmentExists",{fileName:e.name}));return}this.selectedAttachments.push(e),this.renderAttachmentsList(),new Tt.Notice(this.translate("notices.timeblockAttachmentAdded",{fileName:e.name}))}removeAttachment(e){this.selectedAttachments=this.selectedAttachments.filter(r=>r.path!==e.path),this.renderAttachmentsList(),new Tt.Notice(this.translate("notices.timeblockAttachmentRemoved",{fileName:e.name}))}openAttachment(e){e instanceof Tt.TFile?this.app.workspace.getLeaf(!1).openFile(e):new Tt.Notice(this.translate("notices.timeblockFileTypeNotSupported",{fileName:e.name}))}renderAttachmentsList(){if(this.attachmentsList.empty(),this.selectedAttachments.length===0){let e=this.attachmentsList.createDiv({cls:"timeblock-attachments-empty"});e.textContent="No attachments";return}this.selectedAttachments.forEach(e=>{let r=this.attachmentsList.createDiv({cls:"timeblock-attachment-item"}),a=r.createDiv({cls:"timeblock-attachment-info"});a.style.cursor="pointer",(0,Tt.setTooltip)(a,"Click to open",{placement:"top"}),a.addEventListener("click",()=>this.openAttachment(e));let i=a.createSpan({cls:"timeblock-attachment-name"});if(i.textContent=e.name,e.path!==e.name){let o=a.createDiv({cls:"timeblock-attachment-path"});o.textContent=e.path}let s=r.createEl("button",{cls:"timeblock-attachment-remove",text:"\xD7"});(0,Tt.setTooltip)(s,"Remove attachment",{placement:"top"}),s.addEventListener("click",o=>{o.stopPropagation(),this.removeAttachment(e)})})}async handleSave(){try{let e=this.titleInput.value.trim();if(!e){new Tt.Notice(this.translate("notices.timeblockTitleRequired"));return}this.timeblock.title=e,this.timeblock.description=this.descriptionInput.value.trim()||void 0,this.timeblock.color=this.colorInput.value||void 0;let r=this.selectedAttachments.map(a=>`[[${a.path}]]`);this.timeblock.attachments=r.length>0?r:void 0,await this.updateTimeblockInDailyNote(),this.plugin.emitter.trigger("data-changed"),new Tt.Notice(this.translate("notices.timeblockUpdatedSuccess",{title:e})),this.close()}catch(e){console.error("Error updating timeblock:",e),new Tt.Notice(this.translate("notices.timeblockUpdateFailed"))}}async updateTimeblockInDailyNote(){if(!(0,Zs.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes plugin is not enabled");let e=this.timeblockDate,r=window.moment(e,"YYYY-MM-DD"),a=(0,Zs.getAllDailyNotes)(),i=(0,Zs.getDailyNote)(r,a);if(!i)throw new Error("Daily note not found");let s=await this.app.vault.read(i),o={},l=s;if(s.startsWith("---")){let u=s.indexOf("---",3);if(u!==-1){let p=s.substring(3,u);l=s.substring(u+3);try{o=(0,Tt.parseYaml)(p)||{}}catch(m){console.error("Error parsing existing frontmatter:",m),o={}}}}if(o.timeblocks&&Array.isArray(o.timeblocks)){let u=o.timeblocks.findIndex(p=>p.id===this.originalTimeblock.id||p.title===this.originalTimeblock.title&&p.startTime===this.originalTimeblock.startTime&&p.endTime===this.originalTimeblock.endTime);if(u>=0)o.timeblocks[u]=this.timeblock;else throw new Error("Timeblock not found in daily note")}else throw new Error("No timeblocks found in daily note");let d=`---
|
||
${(0,Tt.stringifyYaml)(o)}---${l}`;await this.app.vault.modify(i,d)}async handleDelete(){if(await this.showDeleteConfirmation())try{await this.deleteTimeblockFromDailyNote(),this.plugin.emitter.trigger("data-changed"),new Tt.Notice(this.translate("notices.timeblockDeletedSuccess",{title:this.timeblock.title})),this.close()}catch(r){console.error("Error deleting timeblock:",r),new Tt.Notice(this.translate("notices.timeblockDeleteFailed"))}}async showDeleteConfirmation(){return new Promise(e=>{let r=new Tt.Modal(this.app);r.titleEl.setText(this.translate("modals.timeblockInfo.deleteConfirmationTitle"));let a=r.contentEl;a.createEl("p",{text:`Are you sure you want to delete the timeblock "${this.timeblock.title}"?`}),a.createEl("p",{text:"This action cannot be undone.",cls:"mod-warning"});let i=a.createDiv({cls:"modal-button-container"});i.style.display="flex",i.style.justifyContent="flex-end",i.style.gap="8px",i.style.marginTop="20px";let s=i.createEl("button",{text:this.translate("common.cancel")});s.addEventListener("click",()=>{r.close(),e(!1)}),i.createEl("button",{text:"Delete",cls:"mod-warning"}).addEventListener("click",()=>{r.close(),e(!0)}),r.open(),setTimeout(()=>s.focus(),50)})}async deleteTimeblockFromDailyNote(){if(!(0,Zs.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes plugin is not enabled");let e=this.timeblockDate,r=window.moment(e,"YYYY-MM-DD"),a=(0,Zs.getAllDailyNotes)(),i=(0,Zs.getDailyNote)(r,a);if(!i)throw new Error("Daily note not found");let s=await this.app.vault.read(i),o={},l=s;if(s.startsWith("---")){let u=s.indexOf("---",3);if(u!==-1){let p=s.substring(3,u);l=s.substring(u+3);try{o=(0,Tt.parseYaml)(p)||{}}catch(m){console.error("Error parsing existing frontmatter:",m),o={}}}}if(o.timeblocks&&Array.isArray(o.timeblocks)){let u=o.timeblocks.findIndex(p=>p.id===this.originalTimeblock.id||p.title===this.originalTimeblock.title&&p.startTime===this.originalTimeblock.startTime&&p.endTime===this.originalTimeblock.endTime);if(u>=0)o.timeblocks.splice(u,1),o.timeblocks.length===0&&delete o.timeblocks;else throw new Error("Timeblock not found in daily note")}else throw new Error("No timeblocks found in daily note");let c=Object.keys(o).length>0?(0,Tt.stringifyYaml)(o):"",d=c?`---
|
||
${c}---${l}`:l.trim();await this.app.vault.modify(i,d)}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:e}=this;e.empty()}}});function Hg(n,t){if(n.startsWith("var("))return n;if(n=n.replace("#",""),!/^[0-9A-Fa-f]{6}$/.test(n))return`rgba(128, 128, 128, ${t})`;let e=parseInt(n.substring(0,2),16),r=parseInt(n.substring(2,4),16),a=parseInt(n.substring(4,6),16);return`rgba(${e}, ${r}, ${a}, ${t})`}function uMe(){return document.body.classList.contains("theme-dark")}function Zu(n=!1){return n?uMe()?"#e8eaed":"#202124":""}function Zk(n){return n.startsWith("var(")}function OX(n,t){let e=n.title;if(n.projects&&n.projects.length>0&&(e+=`
|
||
Project: ${n.projects[0]}`),n.priority){let r=t.priorityManager.getPriorityConfig(n.priority);e+=`
|
||
Priority: ${(r==null?void 0:r.label)||n.priority}`}if(n.status){let r=t.statusManager.getStatusConfig(n.status);e+=`
|
||
Status: ${(r==null?void 0:r.label)||n.status}`}if(n.timeEstimate){let r=Math.floor(n.timeEstimate/60),a=n.timeEstimate%60;e+=`
|
||
Estimate: ${r>0?`${r}h `:""}${a}m`}return e}function LX(n,t){let{isNextScheduledOccurrence:e=!1,isPatternInstance:r=!1,isRecurringInstance:a=!1,isCompleted:i=!1}=t;if(e?(n.style.borderStyle="solid",n.style.borderWidth="2px",n.setAttribute("data-next-scheduled","true"),n.classList.add("fc-next-scheduled-event"),i&&(n.style.opacity="0.6")):r?(n.style.borderStyle="dashed",n.style.borderWidth="2px",n.style.opacity=i?"0.4":"0.7",n.setAttribute("data-pattern-instance","true"),n.classList.add("fc-pattern-instance-event")):a&&(n.style.borderStyle="dashed",n.style.borderWidth="2px",n.setAttribute("data-recurring","true"),n.classList.add("fc-recurring-event"),i&&(n.style.opacity="0.6")),i){let s=n.querySelector(".fc-event-title, .fc-event-title-container");s?s.style.textDecoration="line-through":n.style.textDecoration="line-through",n.classList.add("fc-completed-event")}}async function pMe(n,t,e,r){try{if(!n.recurrence||typeof n.recurrence!="string")throw new Error("Task does not have a valid RRULE string");let a=n.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/),i;if(a){let s=a[1],o;if(e)o=s.slice(0,8);else{let l=s.slice(0,8),c=String(t.getHours()).padStart(2,"0"),d=String(t.getMinutes()).padStart(2,"0");o=`${l}T${c}${d}00Z`}i=n.recurrence.replace(/DTSTART:[^;]+/,`DTSTART:${o}`),new Tr.Notice("Updated recurring pattern time. All future instances now appear at this time.")}else{let s=HS(n,t,e);if(!s)throw new Error("Failed to add DTSTART to recurrence rule");i=s,new Tr.Notice("Added time information to recurring pattern. All future instances now appear at this time.")}await r.taskService.updateProperty(n,"recurrence",i)}catch(a){throw console.error("Error updating pattern instance time:",a),a}}async function BX(n,t,e){let{isRecurringInstance:r,isNextScheduledOccurrence:a,isPatternInstance:i}=n.event.extendedProps,s=n.event.start,o=n.event.allDay;if(a){let l;o?l=M(s,"yyyy-MM-dd"):l=M(s,"yyyy-MM-dd'T'HH:mm"),await e.taskService.updateProperty(t,"scheduled",l),new Tr.Notice("Rescheduled next occurrence. This does not change the recurrence pattern.")}else if(i)await pMe(t,s,o,e);else if(r){let l=_e(t.scheduled),c;if(o)c=l,new Tr.Notice("Updated recurring task to all-day. This affects all future instances.");else{let d=M(s,"HH:mm");c=`${l}T${d}`,new Tr.Notice(`Updated recurring task time to ${d}. This affects all future instances.`)}await e.taskService.updateProperty(t,"scheduled",c)}}function uF(n){let t=n.event||n,e=t.extendedProps||{},{isRecurringInstance:r,isNextScheduledOccurrence:a,isPatternInstance:i,instanceDate:s}=e;if((r||a||i)&&s)return je(s);let o=t.start;if(o){let l=M(o,"yyyy-MM-dd");return je(l)}return ft()}function pF(n,t){if(!t)return;let e=Math.ceil(t/1440),r=je(n),a=new Date(Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()+e));return le(a)}function mMe(n,t){if(!n.scheduled)return null;let e=Ft(n.scheduled),r=n.scheduled,a;if(e&&n.timeEstimate){let c=$t(r),d=new Date(c.getTime()+n.timeEstimate*60*1e3);a=M(d,"yyyy-MM-dd'T'HH:mm")}else e||(a=pF(r,n.timeEstimate));let i=t.priorityManager.getPriorityConfig(n.priority),s=(i==null?void 0:i.color)||"var(--color-accent)",o=t.statusManager.isCompletedStatus(n.status),l=Zk(s)?Zu(!0):s;return{id:`scheduled-${n.path}`,title:n.title,start:r,end:a,allDay:!e,backgroundColor:"transparent",borderColor:s,textColor:l,editable:!0,extendedProps:{taskInfo:n,eventType:"scheduled",isCompleted:o}}}function hMe(n,t){if(!n.due)return null;let e=Ft(n.due),r=n.due,a;if(e){let d=$t(r),u=new Date(d.getTime()+1800*1e3);a=M(u,"yyyy-MM-dd'T'HH:mm")}let i=t.priorityManager.getPriorityConfig(n.priority),s=(i==null?void 0:i.color)||"var(--color-orange)",o=Hg(s,.15),l=t.statusManager.isCompletedStatus(n.status),c=Zk(s)?Zu(!0):s;return{id:`due-${n.path}`,title:`DUE: ${n.title}`,start:r,end:a,allDay:!e,backgroundColor:o,borderColor:s,textColor:c,editable:!1,extendedProps:{taskInfo:n,eventType:"due",isCompleted:l}}}function fMe(n,t){if(!n.timeEntries)return[];let e=t.statusManager.isCompletedStatus(n.status);return n.timeEntries.filter(r=>r.endTime).map((r,a)=>({id:`timeentry-${n.path}-${a}`,title:n.title,start:r.startTime,end:r.endTime,allDay:!1,editable:!0,extendedProps:{taskInfo:n,eventType:"timeEntry",isCompleted:e,timeEntryIndex:a}}))}function zg(n,t){var e;try{let r=n.subscriptionId.startsWith("google-"),a=n.subscriptionId.startsWith("microsoft-"),i,s,o,l;if(r)s=n.color||"#4285F4",i=Hg(s,.2),o=Zu(!0),l="Google Calendar";else if(a)s=n.color||"#0078D4",i=Hg(s,.2),o=Zu(!0),l="Microsoft Calendar";else{let c=(e=t.icsSubscriptionService)==null?void 0:e.getSubscriptions().find(d=>d.id===n.subscriptionId);if(!c||!c.enabled)return null;i=Hg(c.color,.2),s=c.color,o=s,l=c.name}return{id:n.id,title:n.title,start:n.start,end:n.end,allDay:n.allDay,backgroundColor:i,borderColor:s,textColor:o,editable:r||a,extendedProps:{icsEvent:n,eventType:"ics",subscriptionName:l,isGoogleCalendar:r,isMicrosoftCalendar:a}}}catch(r){return console.error("Error creating ICS event:",r),null}}function gMe(n){if(n.recurrence&&typeof n.recurrence=="string"){let t=n.recurrence.match(/DTSTART:(\d{8}(?:T\d{6}Z?)?)/);if(t&&t[1].includes("T")){let e=t[1].split("T")[1];if(e.length>=4){let r=e.slice(0,2),a=e.slice(2,4);return`${r}:${a}`}}}if(n.scheduled){let t=Hr(n.scheduled);if(t)return t}return"09:00"}function yMe(n,t,e,r,a){var m,h;let i=Ft(t),s;if(i&&n.timeEstimate){let f=$t(t),g=new Date(f.getTime()+n.timeEstimate*60*1e3);s=M(g,"yyyy-MM-dd'T'HH:mm")}else i||(s=pF(t,n.timeEstimate));let o=a.priorityManager.getPriorityConfig(n.priority),l=(o==null?void 0:o.color)||"var(--color-accent)",c=((m=n.complete_instances)==null?void 0:m.includes(e))||!1,d=((h=n.skipped_instances)==null?void 0:h.includes(e))||!1,u=Zk(l)?Zu(!0):l,p="transparent";return c?p="rgba(0,0,0,0.3)":d&&(p="rgba(128,128,128,0.2)"),{id:`next-scheduled-${n.path}-${e}`,title:n.title,start:t,end:s,allDay:!i,backgroundColor:p,borderColor:l,textColor:u,editable:!0,extendedProps:{taskInfo:n,eventType:"scheduled",isCompleted:c,isSkipped:d,isNextScheduledOccurrence:!0,instanceDate:e,recurringTemplateTime:r}}}function vMe(n,t,e,r,a){var h,f;let i=Ft(t),s;if(i&&n.timeEstimate){let g=$t(t),v=new Date(g.getTime()+n.timeEstimate*60*1e3);s=M(v,"yyyy-MM-dd'T'HH:mm")}else i||(s=pF(t,n.timeEstimate));let o=a.priorityManager.getPriorityConfig(n.priority),l=(o==null?void 0:o.color)||"var(--color-accent)",c=((h=n.complete_instances)==null?void 0:h.includes(e))||!1,d=((f=n.skipped_instances)==null?void 0:f.includes(e))||!1,u=Hg(l,.5),p=Zk(l)?Zu(!0):u,m="transparent";return c?m="rgba(0,0,0,0.2)":d&&(m="rgba(128,128,128,0.15)"),{id:`recurring-${n.path}-${e}`,title:n.title,start:t,end:s,allDay:!i,backgroundColor:m,borderColor:u,textColor:p,editable:!0,extendedProps:{taskInfo:n,eventType:"recurring",isCompleted:c,isSkipped:d,isPatternInstance:!0,instanceDate:e,recurringTemplateTime:r}}}function bMe(n,t,e,r){if(!n.recurrence||!n.scheduled)return[];let a=[],i=Ft(n.scheduled),s=gMe(n),o=_e(n.scheduled),l=i?Hr(n.scheduled):null,c=l?`${o}T${l}`:o,d=yMe(n,c,o,l||"09:00",r);d&&a.push(d);let u=e;typeof n.recurrence=="string"&&n.recurrence.includes("FREQ=YEARLY")&&(u=new Date(t.getTime()+800*24*60*60*1e3));let p=_l(n,t,u),m=e.getTime();for(let h of p){let f=le(h);if(h.getTime()>m||f===o)continue;let g=i?`${f}T${s}`:f,v=vMe(n,g,f,s,r);v&&a.push(v)}return a}function TMe(n,t){let e=`${t}T${n.startTime}:00`,r=`${t}T${n.endTime}:00`,a=n.color||"#6366f1",i=n.color||"#4f46e5";return{id:`timeblock-${n.id}`,title:n.title,start:e,end:r,allDay:!1,backgroundColor:a,borderColor:i,textColor:"var(--text-on-accent)",editable:!0,extendedProps:{eventType:"timeblock",timeblock:n,originalDate:t}}}function kMe(n,t){if(!(n!=null&&n.timeblocks)||!Array.isArray(n.timeblocks))return[];let e=[];for(let r of n.timeblocks)r&&typeof r.id=="string"&&typeof r.startTime=="string"&&typeof r.endTime=="string"&&e.push(r);return e}async function SMe(n,t,e){try{let r=Date.now();(!dF||r-FX>wMe)&&(dF=(0,Ki.getAllDailyNotes)(),FX=r);let a=dF,i=[];for(let s=new Date(t);s<=e;s.setUTCDate(s.getUTCDate()+1)){let o=le(s),l=new Date(`${o}T12:00:00`),c=window.moment(l),d=(0,Ki.getDailyNote)(c,a);if(d){let u=n.app.metadataCache.getFileCache(d);if(u!=null&&u.frontmatter){let p=kMe(u.frontmatter,d.path);for(let m of p)i.push(TMe(m,o))}}}return i}catch(r){return console.error("Error getting timeblock events:",r),[]}}function Qk(n,t,e,r){if(!t||!e)return!0;try{let i=$t(n).getTime();if(isNaN(i))return!0;let s=i;return r&&(s=i+r*60*1e3),i<e.getTime()&&s>=t.getTime()}catch(a){return!0}}async function jX(n,t,e={}){let{showScheduled:r=!0,showDue:a=!0,showTimeEntries:i=!0,showRecurring:s=!0,showICSEvents:o=!0,showTimeblocks:l=!1,visibleStart:c,visibleEnd:d}=e,u=[];for(let p of n){if(p.recurrence){if(!p.scheduled)continue;if(s&&c&&d){let m=bMe(p,c,d,t);u.push(...m)}}else{if(r&&p.scheduled&&Qk(p.scheduled,c,d,p.timeEstimate)){let m=mMe(p,t);m&&u.push(m)}if(a&&p.due&&Qk(p.due,c,d)){let m=hMe(p,t);m&&u.push(m)}}if(i&&p.timeEntries){let m=fMe(p,t);for(let h of m)Qk(h.start,c,d)&&u.push(h)}}if(o&&t.icsSubscriptionService){let p=t.icsSubscriptionService.getAllEvents();for(let m of p)if(Qk(m.start,c,d)){let h=zg(m,t);h&&u.push(h)}}if(l&&c&&d){let p=await SMe(t,c,d);u.push(...p)}return u}async function HX(n,t,e,r){if(e){new Tr.Notice("Timeblocks must have specific times. Please select a time range in week or day view.");return}let a=M(n,"yyyy-MM-dd"),i=M(n,"HH:mm"),s=M(t,"HH:mm");new Gk(r.app,r,{date:a,startTime:i,endTime:s}).open()}async function zX(n,t,e,r){if(e){new Tr.Notice(r.i18n.translate("modals.timeEntry.mustHaveSpecificTime"));return}try{let i=(await r.cacheManager.getAllTasks()).filter(s=>!s.archived);if(i.length===0){new Tr.Notice(r.i18n.translate("modals.timeEntry.noTasksAvailable"));return}Fr(r,i,async s=>{if(s)try{let o=Math.round((t.getTime()-n.getTime())/6e4),l={startTime:n.toISOString(),endTime:t.toISOString(),description:"",duration:o},c=[...s.timeEntries||[],l];await r.taskService.updateTask(s,{timeEntries:c}),r.emitter.trigger(Ga),new Tr.Notice(r.i18n.translate("modals.timeEntry.created",{taskTitle:s.title,duration:o.toString()}))}catch(o){console.error("Error creating time entry:",o),new Tr.Notice(r.i18n.translate("modals.timeEntry.createFailed"))}})}catch(a){console.error("Error opening task selector for time entry:",a),new Tr.Notice(r.i18n.translate("modals.timeEntry.createFailed"))}}async function UX(n,t,e,r){try{let a=n.event.start,i=n.event.end,s=M(a,"yyyy-MM-dd"),o=M(a,"HH:mm"),l=M(i,"HH:mm");await tv(r.app,t.id,e,s,o,l),new Tr.Notice("Timeblock moved successfully")}catch(a){console.error("Error moving timeblock:",a),new Tr.Notice(`Failed to move timeblock: ${a.message}`),n.revert()}}async function WX(n,t,e,r){try{let a=n.event.start,i=n.event.end;if(!a||!i){n.revert();return}let s=M(a,"HH:mm"),o=M(i,"HH:mm");await tv(r.app,t.id,e,e,s,o),new Tr.Notice("Timeblock duration updated")}catch(a){console.error("Error resizing timeblock:",a),new Tr.Notice(`Failed to resize timeblock: ${a.message}`),n.revert()}}async function Jk(n,t,e,r){new Kk(r.app,r,n,t,e).open()}function qX(n,t){n.setAttribute("data-timeblock-id",t.id||""),n.style.borderStyle="solid",n.style.borderWidth="2px",n.classList.add("fc-timeblock-event")}function VX(n){var e;let t=((e=n.attachments)==null?void 0:e.length)||0;return`${n.title||"Timeblock"}${n.description?` - ${n.description}`:""}${t>0?` (${t} attachment${t>1?"s":""})`:""}`}function $X(n,t,e,r="tasknotes-calendar"){n.addEventListener("mouseover",a=>{e.app.vault.getAbstractFileByPath(t.path)&&e.app.workspace.trigger("hover-link",{event:a,source:r,hoverParent:n,targetEl:n,linktext:t.path,sourcePath:t.path})})}async function YX(n,t){try{if(!(0,Ki.appHasDailyNotesPluginLoaded)()){new Tr.Notice("Daily Notes core plugin is not enabled. Please enable it in Settings > Core plugins.");return}let e=window.moment(n),r=(0,Ki.getAllDailyNotes)(),a=(0,Ki.getDailyNote)(e,r);if(!a)try{a=await(0,Ki.createDailyNote)(e)}catch(i){let s=i instanceof Error?i.message:String(i);console.error("Failed to create daily note:",i),new Tr.Notice(`Failed to create daily note: ${s}`);return}a&&await t.app.workspace.getLeaf(!1).openFile(a)}catch(e){let r=e instanceof Error?e.message:String(e);console.error("Failed to navigate to daily note:",e),new Tr.Notice(`Failed to navigate to daily note: ${r}`)}}function GX(n,t,e,r){let a=e?M(n,"yyyy-MM-dd"):M(n,"yyyy-MM-dd'T'HH:mm"),i=Math.round((t.getTime()-n.getTime())/(1e3*60)),s=!e&&i>r,o={scheduled:a};if(e){let c=Math.round((t.getTime()-n.getTime())/864e5);c>1&&(o.timeEstimate=c*1440)}else s&&(o.timeEstimate=i);return o}var Tr,Ki,dF,FX,wMe,mF=b(()=>{rr();Wn();Ke();Dr();Tr=require("obsidian"),Ki=Ie(Xi());NX();To();RX();dF=null,FX=0,wMe=5e3});var Xk,jn,ew=b(()=>{Xk=require("obsidian"),jn=class{static async execute(t,e={}){let{fallback:r,errorMessage:a="An error occurred",showNotice:i=!0,logError:s=!0}=e;try{return await t()}catch(o){if(s&&console.error(a,o),i){let l=o instanceof Error?o.message:String(o);new Xk.Notice(`${a}: ${l}`)}return r}}static async executeWithRetry(t,e={}){let{maxRetries:r=3,retryDelay:a=1e3,errorMessage:i="Operation failed",showNotice:s=!0}=e,o;for(let l=0;l<=r;l++)try{return await t()}catch(c){if(o=c instanceof Error?c:new Error(String(c)),l<r){await new Promise(d=>setTimeout(d,a));continue}console.error(`${i} after ${r+1} attempts:`,o),s&&new Xk.Notice(`${i}: ${o.message}`);return}}static async executeWithValidation(t,e,r={}){let{showNotice:a=!0}=r;for(let i of e)if(!i.condition){a&&new Xk.Notice(i.message);return}return this.execute(t,r)}}});var Js,Ju,hF=b(()=>{Js=require("obsidian");rr();ew();Ju=class extends Js.Modal{constructor(e,r,a){super(e);this.title="";this.folder="";this.template="";this.useTemplate=!1;this.keyboardHandler=null;this.plugin=r,this.options=a,this.translate=r.i18n.translate.bind(r.i18n),this.title=this.generateDefaultTitle(),this.folder=this.getDefaultFolder(),this.template=this.getDefaultTemplate()}onOpen(){this.containerEl.addClass("tasknotes-plugin","ics-note-creation-modal"),this.keyboardHandler=e=>{e.key==="Enter"&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),this.handleCreate())},this.containerEl.addEventListener("keydown",this.keyboardHandler),this.createModalContent()}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null),this.contentEl.empty()}createModalContent(){let{contentEl:e}=this;e.empty(),e.createDiv("modal-header").createEl("h2",{text:this.translate("modals.icsNoteCreation.heading")});let a=e.createDiv("ics-event-preview");this.createEventPreview(a),new Js.Setting(e).setName(this.translate("modals.icsNoteCreation.titleLabel")).setDesc(this.translate("modals.icsNoteCreation.titleDesc")).addText(l=>{this.titleInput=l.inputEl,l.setValue(this.title).onChange(c=>{this.title=c,this.updatePreview()})}),new Js.Setting(e).setName(this.translate("modals.icsNoteCreation.folderLabel")).setDesc(this.translate("modals.icsNoteCreation.folderDesc")).addText(l=>{this.folderInput=l.inputEl,l.setValue(this.folder).setPlaceholder(this.translate("modals.icsNoteCreation.folderPlaceholder")).onChange(c=>{this.folder=c,this.updatePreview()})}),this.templateContainer=e.createDiv("template-settings"),this.createTemplateSettings(),this.previewContainer=e.createDiv("content-preview"),this.updatePreview();let i=e.createDiv("modal-button-container"),s=i.createEl("button",{text:this.translate("modals.icsNoteCreation.createButton"),cls:"mod-cta"});s.onclick=l=>{l.preventDefault(),l.stopPropagation(),console.log("Create button clicked"),this.handleCreate()};let o=i.createEl("button",{text:this.translate("common.cancel")});o.onclick=l=>{l.preventDefault(),l.stopPropagation(),console.log("Cancel button clicked"),this.close()},setTimeout(()=>{var l;return(l=this.titleInput)==null?void 0:l.focus()},100)}createEventPreview(e){let{icsEvent:r,subscriptionName:a}=this.options;e.createEl("h3",{text:r.title});let i=e.createDiv("event-details");if(r.start){let o=r.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(r.start)?r.start+"T00:00:00":r.start,l=new Date(o),c=i.createDiv();c.createEl("strong",{text:this.translate("modals.icsNoteCreation.startLabel")}),c.appendText(M(l,"PPPp"))}if(r.end&&!r.allDay){let o=/^\d{4}-\d{2}-\d{2}$/.test(r.end)?r.end+"T00:00:00":r.end,l=new Date(o),c=i.createDiv();c.createEl("strong",{text:this.translate("modals.icsNoteCreation.endLabel")}),c.appendText(M(l,"PPPp"))}if(r.location){let o=i.createDiv();o.createEl("strong",{text:this.translate("modals.icsNoteCreation.locationLabel")}),o.appendText(r.location)}let s=i.createDiv();s.createEl("strong",{text:this.translate("modals.icsNoteCreation.calendarLabel")}),s.appendText(a)}createTemplateSettings(){this.templateContainer.empty(),new Js.Setting(this.templateContainer).setName(this.translate("modals.icsNoteCreation.useTemplateLabel")).setDesc(this.translate("modals.icsNoteCreation.useTemplateDesc")).addToggle(e=>{e.setValue(this.useTemplate).onChange(r=>{this.useTemplate=r,this.updateTemplateInput(),this.updatePreview()})}),this.useTemplate&&new Js.Setting(this.templateContainer).setName(this.translate("modals.icsNoteCreation.templatePathLabel")).setDesc(this.translate("modals.icsNoteCreation.templatePathDesc")).addText(e=>{this.templateInput=e.inputEl,e.setValue(this.template).setPlaceholder(this.translate("modals.icsNoteCreation.templatePathPlaceholder")).onChange(r=>{this.template=r,this.updatePreview()})})}updateDefaultsForContentType(){var e,r;this.folder=((e=this.plugin.settings.icsIntegration)==null?void 0:e.defaultNoteFolder)||"",this.template=((r=this.plugin.settings.icsIntegration)==null?void 0:r.defaultNoteTemplate)||"",this.folderInput&&(this.folderInput.value=this.folder),this.templateInput&&(this.templateInput.value=this.template)}updateTemplateInput(){this.createTemplateSettings()}updatePreview(){if(!this.previewContainer)return;this.previewContainer.empty(),this.previewContainer.createEl("h4",{text:"Summary"});let e=this.previewContainer.createDiv("preview-details"),r=e.createDiv();r.createEl("strong",{text:"Type: "}),r.appendText("Note");let a=e.createDiv();a.createEl("strong",{text:"Title: "}),a.appendText(this.title||"Untitled");let i=e.createDiv();if(i.createEl("strong",{text:"Folder: "}),i.appendText(this.folder||"Vault root"),this.useTemplate&&this.template){let c=e.createDiv();c.createEl("strong",{text:"Template: "}),c.appendText(this.template)}else{let c=e.createDiv();c.createEl("strong",{text:"Template: "}),c.appendText("Default format")}let s=this.previewContainer.createDiv("template-variables");s.createEl("h5",{text:"Available Template Variables"});let o=["{{title}}","{{icsEventTitle}}","{{icsEventStart}}","{{icsEventEnd}}","{{icsEventLocation}}","{{icsEventDescription}}","{{icsEventUrl}}","{{icsEventSubscription}}","{{icsEventId}}","{{date}}","{{time}}"],l=s.createDiv("variables-list");o.forEach(c=>{l.createSpan({text:c,cls:"template-variable"})})}generateDefaultTitle(){let{icsEvent:e}=this.options,r=e.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(e.start)?e.start+"T00:00:00":e.start,a=new Date(r);return`${e.title} - ${M(a,"PPP")}`}getDefaultFolder(){var e;return((e=this.plugin.settings.icsIntegration)==null?void 0:e.defaultNoteFolder)||""}getDefaultTemplate(){var e;return((e=this.plugin.settings.icsIntegration)==null?void 0:e.defaultNoteTemplate)||""}async handleCreate(){await jn.executeWithValidation(async()=>{var a,i;let{icsEvent:e}=this.options,r=await this.plugin.icsNoteService.createNoteFromICS(e,{title:this.title,folder:this.folder||void 0,template:this.useTemplate&&this.template?this.template:void 0});new Js.Notice(`Note created: ${this.title}`),(i=(a=this.options).onContentCreated)==null||i.call(a,r.file,r.noteInfo),this.close()},[{condition:!!this.title.trim(),message:"Title is required"}],{errorMessage:"Failed to create note from ICS event"})}}});var Pt,tl,tw=b(()=>{Pt=require("obsidian");hF();jg();ew();tl=class extends Pt.Modal{constructor(e,r,a,i){super(e);this.relatedNotes=[];this.plugin=r,this.icsEvent=a,this.subscriptionName=i,this.translate=r.i18n.translate.bind(r.i18n)}async onOpen(){await this.renderContent()}async renderContent(){let{contentEl:e}=this;e.empty(),await this.loadRelatedNotes(),new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.calendarEventHeading")).setHeading(),new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.titleLabel")).setDesc(this.icsEvent.title||this.translate("ui.icsCard.untitledEvent")),this.subscriptionName&&new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.calendarLabel")).setDesc(this.subscriptionName);let r=this.icsEvent.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(this.icsEvent.start)?this.icsEvent.start+"T00:00:00":this.icsEvent.start,a=new Date(r),i=a.toLocaleDateString("en-US",{weekday:"long",year:"numeric",month:"long",day:"numeric"});if(!this.icsEvent.allDay&&(i+=` at ${a.toLocaleTimeString()}`,this.icsEvent.end)){let s=/^\d{4}-\d{2}-\d{2}$/.test(this.icsEvent.end)?this.icsEvent.end+"T00:00:00":this.icsEvent.end,o=new Date(s);i+=` - ${o.toLocaleTimeString()}`}new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.dateTimeLabel")).setDesc(i),this.icsEvent.location&&new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.locationLabel")).setDesc(this.icsEvent.location),this.icsEvent.description&&new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.descriptionLabel")).setDesc(this.icsEvent.description),this.icsEvent.url&&new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.urlLabel")).descEl.createEl("a",{cls:"external-link",href:this.icsEvent.url,text:this.icsEvent.url}).setAttribute("target","_blank"),new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.relatedNotesHeading")).setHeading(),this.relatedNotes.length===0?new Pt.Setting(e).setDesc(this.translate("modals.icsEventInfo.noRelatedItems")):this.relatedNotes.forEach(s=>{let l=this.isTaskNote(s)?this.translate("modals.icsEventInfo.typeTask"):this.translate("modals.icsEventInfo.typeNote");new Pt.Setting(e).setName(s.title).setDesc(`Type: ${l}`).addButton(c=>{c.setButtonText("Open").onClick(async()=>{await this.safeOpenFile(s.path),this.close()})})}),new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.actionsHeading")).setHeading(),new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.createFromEventLabel")).setDesc(this.translate("modals.icsEventInfo.createFromEventDesc")).addButton(s=>{s.setButtonText("Create Note").onClick(()=>{console.log("Create Note clicked"),this.openCreationModal()})}).addButton(s=>{s.setButtonText("Create Task").onClick(async()=>{console.log("Create Task clicked"),await this.createTaskDirectly()})}),new Pt.Setting(e).setName(this.translate("modals.icsEventInfo.linkExistingLabel")).setDesc(this.translate("modals.icsEventInfo.linkExistingDesc")).addButton(s=>{s.setButtonText("Link Note").onClick(()=>{console.log("Link Note clicked"),this.linkExistingNote()})}).addButton(s=>{s.setButtonText("Refresh").onClick(()=>{console.log("Refresh clicked"),this.refreshRelatedNotes()})})}async loadRelatedNotes(){let e=await jn.execute(()=>this.plugin.icsNoteService.findRelatedNotes(this.icsEvent),{fallback:[],errorMessage:"Failed to load related notes",showNotice:!1});this.relatedNotes=e||[]}openCreationModal(){console.log("Opening note creation modal");try{new Ju(this.app,this.plugin,{icsEvent:this.icsEvent,subscriptionName:this.subscriptionName||"Unknown Calendar",onContentCreated:async(r,a)=>{new Pt.Notice(this.translate("notices.icsNoteCreatedSuccess")),this.refreshRelatedNotes(),await this.safeOpenFile(r.path)}}).open()}catch(e){console.error("Error opening creation modal:",e),new Pt.Notice(this.translate("notices.icsCreationModalOpenFailed"))}}async linkExistingNote(){await jn.execute(async()=>{Xo(this.plugin,async e=>{e&&await jn.execute(async()=>{await this.plugin.icsNoteService.linkNoteToICS(e.path,this.icsEvent),new Pt.Notice(this.translate("notices.icsNoteLinkSuccess",{fileName:e.name})),this.refreshRelatedNotes()},{errorMessage:"Failed to link note"})},{placeholder:"Search notes to link...",filter:"markdown"})},{errorMessage:"Failed to open note selection"})}async createTaskDirectly(){await jn.execute(async()=>{let e=await this.plugin.icsNoteService.createTaskFromICS(this.icsEvent);new Pt.Notice(this.translate("notices.icsTaskCreatedSuccess",{taskTitle:e.taskInfo.title})),await this.safeOpenFile(e.file.path),this.refreshRelatedNotes()},{errorMessage:"Failed to create task from ICS event"})}async refreshRelatedNotes(){await jn.execute(async()=>{await this.loadRelatedNotes(),await this.renderContent(),new Pt.Notice(this.translate("notices.icsRelatedItemsRefreshed"))},{errorMessage:"Failed to refresh related notes"})}isTaskNote(e){var a;let r=this.plugin.settings.taskTag;return((a=e.tags)==null?void 0:a.includes(r))||!1}async safeOpenFile(e){try{let r=this.app.vault.getAbstractFileByPath(e);r instanceof Pt.TFile?await this.app.workspace.getLeaf().openFile(r):(new Pt.Notice(this.translate("notices.icsFileNotFound")),console.error("Invalid file path or file not found:",e))}catch(r){console.error("Error opening file:",r),new Pt.Notice(this.translate("notices.icsFileOpenFailed"))}}onClose(){let{contentEl:e}=this;e.empty()}}});var fn,Xu,fF=b(()=>{fn=require("obsidian");tw();hF();jg();ew();ws();Xu=class{constructor(t){this.menu=new Mr,this.options=t,this.buildMenu()}t(t,e){return this.options.plugin.i18n.translate(t,e)}getLocale(){return this.options.plugin.i18n.getCurrentLocale()||"en"}buildMenu(){let{icsEvent:t,plugin:e,subscriptionName:r}=this.options;this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.showDetails")).setIcon("info").onClick(()=>{new tl(e.app,e,t,r).open()})),this.menu.addSeparator(),this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.createTask")).setIcon("check-circle").onClick(async()=>{await this.createTaskFromEvent()})),this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.createNote")).setIcon("file-plus").onClick(()=>{this.createNoteFromEvent()})),this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.linkNote")).setIcon("link").onClick(()=>{this.linkExistingNote()})),this.menu.addSeparator(),this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.copyTitle")).setIcon("copy").onClick(async()=>{try{await navigator.clipboard.writeText(t.title),new fn.Notice(this.t("contextMenus.ics.notices.copyTitleSuccess"))}catch(i){new fn.Notice(this.t("contextMenus.ics.notices.copyFailure"))}})),t.location&&this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.copyLocation")).setIcon("map-pin").onClick(async()=>{try{await navigator.clipboard.writeText(t.location||""),new fn.Notice(this.t("contextMenus.ics.notices.copyLocationSuccess"))}catch(i){new fn.Notice(this.t("contextMenus.ics.notices.copyFailure"))}})),t.url&&this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.copyUrl")).setIcon("external-link").onClick(async()=>{try{await navigator.clipboard.writeText(t.url||""),new fn.Notice(this.t("contextMenus.ics.notices.copyUrlSuccess"))}catch(i){new fn.Notice(this.t("contextMenus.ics.notices.copyFailure"))}})),this.menu.addItem(a=>a.setTitle(this.t("contextMenus.ics.copyMarkdown")).setIcon("file-text").onClick(async()=>{let i=this.formatEventAsMarkdown();try{await navigator.clipboard.writeText(i),new fn.Notice(this.t("contextMenus.ics.notices.copyMarkdownSuccess"))}catch(s){new fn.Notice(this.t("contextMenus.ics.notices.copyFailure"))}}))}async createTaskFromEvent(){await jn.execute(async()=>{let t=await this.options.plugin.icsNoteService.createTaskFromICS(this.options.icsEvent);new fn.Notice(this.t("contextMenus.ics.notices.taskCreated",{title:t.taskInfo.title}));let e=this.options.plugin.app.vault.getAbstractFileByPath(t.file.path);e instanceof fn.TFile&&await this.options.plugin.app.workspace.getLeaf().openFile(e),this.options.onUpdate&&this.options.onUpdate()},{errorMessage:this.t("contextMenus.ics.notices.taskCreateFailure")})}createNoteFromEvent(){try{new Ju(this.options.plugin.app,this.options.plugin,{icsEvent:this.options.icsEvent,subscriptionName:this.options.subscriptionName||this.t("contextMenus.ics.subscriptionUnknown"),onContentCreated:async e=>{new fn.Notice(this.t("contextMenus.ics.notices.noteCreated")),await this.options.plugin.app.workspace.getLeaf().openFile(e),this.options.onUpdate&&this.options.onUpdate()}}).open()}catch(t){console.error("Error opening creation modal:",t),new fn.Notice(this.t("contextMenus.ics.notices.creationFailure"))}}async linkExistingNote(){await jn.execute(async()=>{Xo(this.options.plugin,async t=>{t&&await jn.execute(async()=>{await this.options.plugin.icsNoteService.linkNoteToICS(t.path,this.options.icsEvent),new fn.Notice(this.t("contextMenus.ics.notices.linkSuccess",{name:t.name})),this.options.onUpdate&&this.options.onUpdate()},{errorMessage:this.t("contextMenus.ics.notices.linkFailure")})},{placeholder:"Search notes to link...",filter:"markdown"})},{errorMessage:this.t("contextMenus.ics.notices.linkSelectionFailure")})}formatEventAsMarkdown(){let{icsEvent:t,subscriptionName:e}=this.options,r=[],a=t.title||this.t("contextMenus.ics.markdown.titleFallback");r.push(`## ${a}`),r.push(""),e&&r.push(this.t("contextMenus.ics.markdown.calendar",{value:e}));let i=this.getLocale(),s=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.start)?t.start+"T00:00:00":t.start,o=new Date(s),l=new Intl.DateTimeFormat(i,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),c=new Intl.DateTimeFormat(i,{hour:"numeric",minute:"2-digit"}),d=l.format(o);if(!t.allDay&&(d+=this.t("contextMenus.ics.markdown.at",{time:c.format(o)}),t.end)){let u=/^\d{4}-\d{2}-\d{2}$/.test(t.end)?t.end+"T00:00:00":t.end,p=new Date(u);d+=` - ${c.format(p)}`}return r.push(this.t("contextMenus.ics.markdown.date",{value:d})),t.location&&r.push(this.t("contextMenus.ics.markdown.location",{value:t.location})),t.description&&(r.push(""),r.push(this.t("contextMenus.ics.markdown.descriptionHeading")),r.push(t.description)),t.url&&(r.push(""),r.push(this.t("contextMenus.ics.markdown.url",{value:t.url}))),r.join(`
|
||
`)}show(t){this.menu.showAtMouseEvent(t)}showAtElement(t){this.menu.showAtPosition({x:t.getBoundingClientRect().left,y:t.getBoundingClientRect().bottom+4})}}});function DMe(n,t){try{if(!n.start)return"";let e=new Date(n.start);if(n.allDay)return t.i18n.translate("ui.icsCard.allDay");let r=t.settings.calendarViewSettings.timeFormat,a=od(e,r);if(n.end){let i=new Date(n.end),s=od(i,r);return`${a} \u2013 ${s}`}return a}catch(e){return""}}function QX(n,t,e={}){var f;let r=document.createElement("div");r.className="task-card task-card--ics",r.dataset.key=n.id;let a=(f=t.icsSubscriptionService)==null?void 0:f.getSubscriptions().find(g=>g.id===n.subscriptionId),i=(a==null?void 0:a.color)||"var(--color-accent)",s=(a==null?void 0:a.name)||t.i18n.translate("ui.icsCard.calendarFallback"),o=r.createEl("div",{cls:"task-card__main-row"}),l=o.createEl("span",{cls:"ics-card__icon"}),c=l.createDiv({attr:{"aria-label":t.i18n.translate("ui.icsCard.calendarEvent")}});(0,KX.setIcon)(c,"calendar");let d=l;d.style.display="inline-flex",d.style.width="16px",d.style.height="16px",d.style.marginRight="8px",d.style.alignItems="center",d.style.justifyContent="center",d.style.flexShrink="0",c.style.width="100%",c.style.height="100%",c.style.color=i;let u=o.createEl("div",{cls:"task-card__content"});u.createEl("div",{cls:"task-card__title",text:n.title||t.i18n.translate("ui.icsCard.untitledEvent")});let p=u.createEl("div",{cls:"task-card__metadata"}),m=[],h=DMe(n,t);return h&&m.push(h),n.location&&m.push(n.location),m.push(s),p.textContent=m.join(" \u2022 "),r.addEventListener("click",()=>{new tl(t.app,t,n,s).open()}),r.addEventListener("contextmenu",g=>{g.preventDefault(),g.stopPropagation(),new Xu({icsEvent:n,plugin:t,subscriptionName:s,onUpdate:()=>{t.app.workspace.trigger("tasknotes:refresh-views")}}).show(g)}),r.style.setProperty("--current-status-color",i),r}var KX,ZX=b(()=>{KX=require("obsidian");fF();Ke();tw()});function XX(n,t,e,r={}){var u,p,m,h,f;let a={...EMe,...r},i=document.createElement("div");i.className="task-card task-card--property-event";let s=n.file;if(!s)return i.textContent=t.i18n.translate("ui.propertyEventCard.unknownFile"),i;i.dataset.key=`property-${s.path}`,i.dataset.filePath=s.path;let o=i.createEl("div",{cls:"task-card__main-row"}),l=o.createEl("span",{cls:"property-event-card__icon"}),c=l.createDiv();(0,JX.setIcon)(c,"file-text"),l.style.display="inline-flex",l.style.width="16px",l.style.height="16px",l.style.marginRight="8px",l.style.alignItems="center",l.style.justifyContent="center",l.style.flexShrink="0",c.style.width="100%",c.style.height="100%",c.style.color="var(--color-accent)";let d=o.createEl("div",{cls:"task-card__content"});if(d.createEl("div",{cls:"task-card__title",text:s.basename||s.name}),a.showProperties&&e){let g=d.createEl("div",{cls:"task-card__metadata"}),v=[];try{let T=((u=e.getOrder)==null?void 0:u.call(e))||[],k=(p=e.getAsPropertyId)==null?void 0:p.call(e,"startDateProperty"),w=(m=e.getAsPropertyId)==null?void 0:m.call(e,"endDateProperty");for(let S of T){if(S===k||S===w)continue;let x=(h=n.getValue)==null?void 0:h.call(n,S);if(x&&x.data!==null&&x.data!==void 0){let I=((f=e.getDisplayName)==null?void 0:f.call(e,S))||S,A=String(x.data);A.length>30&&(A=A.substring(0,27)+"..."),v.push(`${I}: ${A}`)}}}catch(T){console.debug("[TaskNotes][PropertyEventCard] Error reading properties:",T)}v.length>0?g.textContent=v.join(" \u2022 "):g.textContent=s.path}return i.addEventListener("click",g=>{let v=g.ctrlKey||g.metaKey;t.app.workspace.openLinkText(s.path,"",v)}),i.addEventListener("mouseover",g=>{t.app.workspace.trigger("hover-link",{event:g,source:"tasknotes-property-event-card",hoverParent:i,targetEl:i,linktext:s.path,sourcePath:s.path})}),i.style.setProperty("--current-status-color","var(--color-accent)"),i}var JX,EMe,eee=b(()=>{JX=require("obsidian"),EMe={showProperties:!0}});function ree(n,t,e={}){let r={...xMe,...e},a=document.createElement("div");a.className="task-card task-card--timeblock",a.dataset.key=`timeblock-${n.id}`;let i=a.createEl("div",{cls:"task-card__main-row"}),s=i.createEl("span",{cls:"timeblock-card__icon"}),o=s.createDiv();(0,tee.setIcon)(o,"clock"),s.style.display="inline-flex",s.style.width="16px",s.style.height="16px",s.style.marginRight="8px",s.style.alignItems="center",s.style.justifyContent="center",s.style.flexShrink="0",o.style.width="100%",o.style.height="100%",o.style.color=n.color||"var(--color-accent)";let l=i.createEl("div",{cls:"task-card__content"}),c=n.title||"Timeblock",d=`${n.startTime} - ${n.endTime}`;l.createEl("div",{cls:"task-card__title",text:c});let u=l.createEl("div",{cls:"task-card__metadata"});if(u.textContent=d,r.showDescription&&n.description){let p=l.createEl("div",{cls:"task-card__description",text:n.description});p.style.fontSize="var(--tn-font-size-sm)",p.style.color="var(--tn-text-muted)",p.style.marginTop="4px"}if(r.showAttachments&&n.attachments&&n.attachments.length>0){let p=l.createEl("div",{cls:"timeblock-card__attachments"});p.style.fontSize="var(--tn-font-size-sm)",p.style.color="var(--tn-text-muted)",p.style.marginTop="4px";let m=n.attachments.length===1?"1 attachment":`${n.attachments.length} attachments`;p.textContent=`\u{1F4CE} ${m}`}return a.addEventListener("click",p=>{r.eventDate&&r.originalDate&&Jk(n,r.eventDate,r.originalDate,t)}),n.color?a.style.setProperty("--current-status-color",n.color):a.style.setProperty("--current-status-color","var(--color-accent)"),a}var tee,xMe,nee=b(()=>{tee=require("obsidian");mF();xMe={showDescription:!0,showAttachments:!0}});function rw(n){if(typeof n=="string"){let t=n.trim();if(!t)return null;if(Ft(t)){let e=$t(t);return isNaN(e.getTime())?null:{value:M(e,"yyyy-MM-dd'T'HH:mm"),isAllDay:!1}}try{let e=je(t);return{value:le(e),isAllDay:!0}}catch(e){return null}}if(typeof n=="number"){let t=new Date(n);return isNaN(t.getTime())?null:{value:le(t),isAllDay:!0}}return n instanceof Date?isNaN(n.getTime())?null:n.getHours()!==0||n.getMinutes()!==0||n.getSeconds()!==0||n.getMilliseconds()!==0?{value:M(n,"yyyy-MM-dd'T'HH:mm"),isAllDay:!1}:{value:le(n),isAllDay:!0}:null}function aee(n){return function(t,e){if(!e)throw console.error("[TaskNotes][CalendarView] No containerEl provided"),new Error("CalendarView requires a containerEl");return new gF(t,e,n)}}var Hn,gF,iee=b(()=>{Ng();Fk();Cc();yX();xX();AX();oP();_X();mF();ZE();sb();tw();Hn=require("obsidian");rr();Or();ZX();eee();nee();GE();fF();Ke();gF=class extends Gi{constructor(e,r,a){super(e,r,a);this.type="tasknoteCalendar";this.calendar=null;this.calendarEl=null;this.currentTasks=[];this.basesEntryByPath=new Map;this._isRendering=!1;this._pendingRender=!1;this._expectingImmediateUpdate=!1;this._isFirstDataUpdate=!0;this.icsCalendarToggles=new Map;this.googleCalendarToggles=new Map;this.microsoftCalendarToggles=new Map;this.configLoaded=!1;this.dataAdapter.basesView=this;let i=this.plugin.settings.calendarViewSettings;this.viewOptions={showScheduled:i.defaultShowScheduled,showDue:i.defaultShowDue,showRecurring:i.defaultShowRecurring,showTimeEntries:i.defaultShowTimeEntries,showTimeblocks:i.defaultShowTimeblocks,showPropertyBasedEvents:!0,initialDate:"",initialDateProperty:null,initialDateStrategy:"first",calendarView:i.defaultView,customDayCount:i.customDayCount,listDayCount:7,slotMinTime:this.validateTimeValue(i.slotMinTime,"00:00:00",!1),slotMaxTime:this.validateTimeValue(i.slotMaxTime,"24:00:00",!0),slotDuration:this.validateTimeValue(i.slotDuration,"00:30:00",!1),scrollTime:this.validateTimeValue(i.scrollTime,"08:00:00",!1),firstDay:i.firstDay,weekNumbers:i.weekNumbers,nowIndicator:i.nowIndicator,showWeekends:i.showWeekends,showAllDaySlot:!0,showTodayHighlight:i.showTodayHighlight,selectMirror:i.selectMirror,timeFormat:i.timeFormat,eventMinHeight:i.eventMinHeight,slotEventOverlap:i.slotEventOverlap,eventMaxStack:i.eventMaxStack,dayMaxEvents:i.dayMaxEvents,dayMaxEventRows:i.dayMaxEventRows,locale:i.locale,startDateProperty:null,endDateProperty:null,titleProperty:null}}onload(){this.readViewOptions(),super.onload()}onResize(){this.calendar&&this.calendar.updateSize()}onDataUpdated(){var e;if((e=this.rootElement)!=null&&e.isConnected){if(this.dataUpdateDebounceTimer&&(clearTimeout(this.dataUpdateDebounceTimer),this.dataUpdateDebounceTimer=null),this._isFirstDataUpdate){this._isFirstDataUpdate=!1,this.render();return}if(this._expectingImmediateUpdate){this._expectingImmediateUpdate=!1,this.render();return}this.dataUpdateDebounceTimer=window.setTimeout(()=>{this.dataUpdateDebounceTimer=null,this.render()},5e3)}}expectImmediateUpdate(){this._expectingImmediateUpdate=!0,setTimeout(()=>{this._expectingImmediateUpdate=!1},2e3)}validateTimeValue(e,r,a=!1){if(!e)return r;if(/^\d{2}:\d{2}:\d{2}$/.test(e)){let[i,s]=e.split(":").map(Number),o=a?24:23;return i<0||i>o||s<0||s>59?(console.warn(`[TaskNotes][CalendarView] Invalid time value: ${e}, using default: ${r}`),r):i===24&&s!==0?(console.warn(`[TaskNotes][CalendarView] Invalid time value: ${e}, using default: ${r}`),r):e}if(/^\d{2}:\d{2}$/.test(e)){let[i,s]=e.split(":").map(Number),o=a?24:23;return i<0||i>o||s<0||s>59?(console.warn(`[TaskNotes][CalendarView] Invalid time value: ${e}, using default: ${r}`),r):i===24&&s!==0?(console.warn(`[TaskNotes][CalendarView] Invalid time value: ${e}, using default: ${r}`),r):`${e}:00`}return console.warn(`[TaskNotes][CalendarView] Invalid time format: ${e}, using default: ${r}`),r}readEventToggles(){var e,r,a,i,s,o,l,c,d;if(!(!this.config||typeof this.config.get!="function"))try{if(this.viewOptions.showScheduled=(e=this.config.get("showScheduled"))!=null?e:this.viewOptions.showScheduled,this.viewOptions.showDue=(r=this.config.get("showDue"))!=null?r:this.viewOptions.showDue,this.viewOptions.showRecurring=(a=this.config.get("showRecurring"))!=null?a:this.viewOptions.showRecurring,this.viewOptions.showTimeEntries=(i=this.config.get("showTimeEntries"))!=null?i:this.viewOptions.showTimeEntries,this.viewOptions.showTimeblocks=(s=this.config.get("showTimeblocks"))!=null?s:this.viewOptions.showTimeblocks,this.viewOptions.showPropertyBasedEvents=(o=this.config.get("showPropertyBasedEvents"))!=null?o:this.viewOptions.showPropertyBasedEvents,this.plugin.icsSubscriptionService){let u=this.plugin.icsSubscriptionService.getSubscriptions();for(let p of u){let m=`showICS_${p.id}`;this.icsCalendarToggles.set(p.id,(l=this.config.get(m))!=null?l:!0)}}if(this.plugin.googleCalendarService){let u=this.plugin.googleCalendarService.getAvailableCalendars();for(let p of u){let m=`showGoogleCalendar_${p.id}`;this.googleCalendarToggles.set(p.id,(c=this.config.get(m))!=null?c:!0)}}if(this.plugin.microsoftCalendarService){let u=this.plugin.microsoftCalendarService.getAvailableCalendars();for(let p of u){let m=`showMicrosoftCalendar_${p.id}`;this.microsoftCalendarToggles.set(p.id,(d=this.config.get(m))!=null?d:!0)}}}catch(u){console.error("[TaskNotes][CalendarView] Error reading event toggles:",u)}}readViewOptions(){var e,r,a,i,s,o,l,c,d,u,p,m,h,f,g,v,T,k,w;if(!(!this.config||typeof this.config.get!="function"))try{this.readEventToggles(),this.viewOptions.initialDate=(e=this.config.get("initialDate"))!=null?e:this.viewOptions.initialDate,this.viewOptions.initialDateProperty=(r=this.config.get("initialDateProperty"))!=null?r:this.viewOptions.initialDateProperty,this.viewOptions.initialDateStrategy=(a=this.config.get("initialDateStrategy"))!=null?a:this.viewOptions.initialDateStrategy,this.viewOptions.calendarView=(i=this.config.get("calendarView"))!=null?i:this.viewOptions.calendarView,this.viewOptions.customDayCount=(s=this.config.get("customDayCount"))!=null?s:this.viewOptions.customDayCount,this.viewOptions.listDayCount=(o=this.config.get("listDayCount"))!=null?o:this.viewOptions.listDayCount,this.viewOptions.slotMinTime=this.validateTimeValue(this.config.get("slotMinTime"),this.viewOptions.slotMinTime,!1),this.viewOptions.slotMaxTime=this.validateTimeValue(this.config.get("slotMaxTime"),this.viewOptions.slotMaxTime,!0),this.viewOptions.slotDuration=this.validateTimeValue(this.config.get("slotDuration"),this.viewOptions.slotDuration,!1),this.viewOptions.scrollTime=this.validateTimeValue(this.config.get("scrollTime"),this.viewOptions.scrollTime,!1),this.viewOptions.firstDay=Number((l=this.config.get("firstDay"))!=null?l:this.viewOptions.firstDay),this.viewOptions.weekNumbers=(c=this.config.get("weekNumbers"))!=null?c:this.viewOptions.weekNumbers,this.viewOptions.nowIndicator=(d=this.config.get("nowIndicator"))!=null?d:this.viewOptions.nowIndicator,this.viewOptions.showWeekends=(u=this.config.get("showWeekends"))!=null?u:this.viewOptions.showWeekends,this.viewOptions.showAllDaySlot=(p=this.config.get("showAllDaySlot"))!=null?p:this.viewOptions.showAllDaySlot,this.viewOptions.showTodayHighlight=(m=this.config.get("showTodayHighlight"))!=null?m:this.viewOptions.showTodayHighlight,this.viewOptions.selectMirror=(h=this.config.get("selectMirror"))!=null?h:this.viewOptions.selectMirror,this.viewOptions.timeFormat=(f=this.config.get("timeFormat"))!=null?f:this.viewOptions.timeFormat,this.viewOptions.eventMinHeight=(g=this.config.get("eventMinHeight"))!=null?g:this.viewOptions.eventMinHeight,this.viewOptions.slotEventOverlap=(v=this.config.get("slotEventOverlap"))!=null?v:this.viewOptions.slotEventOverlap;let S=this.config.get("eventMaxStack");S!==void 0&&(this.viewOptions.eventMaxStack=S===0?null:S);let x=this.config.get("dayMaxEvents");x!==void 0&&(this.viewOptions.dayMaxEvents=x===0?!0:x);let I=this.config.get("dayMaxEventRows");I!==void 0&&(this.viewOptions.dayMaxEventRows=I===0?!1:I),this.viewOptions.startDateProperty=(T=this.config.get("startDateProperty"))!=null?T:this.viewOptions.startDateProperty,this.viewOptions.endDateProperty=(k=this.config.get("endDateProperty"))!=null?k:this.viewOptions.endDateProperty,this.viewOptions.titleProperty=(w=this.config.get("titleProperty"))!=null?w:this.viewOptions.titleProperty;let A=this.config.get("enableSearch");this.enableSearch=A!=null?A:!1,this.configLoaded=!0,this.calendar&&this.applyTodayHighlightStyling()}catch(S){console.error("[TaskNotes][CalendarView] Error reading view options:",S)}}async render(){var e,r,a;if(this._isRendering){this._pendingRender=!0;return}if(this._isRendering=!0,this._pendingRender=!1,!this.calendarEl||!this.rootElement){this._isRendering=!1;return}if(!((e=this.data)!=null&&e.data)){this._isRendering=!1;return}!this.configLoaded&&this.config?this.readViewOptions():this.config&&this.readEventToggles(),this.rootElement&&this.setupSearch(this.rootElement);try{let i=this.dataAdapter.extractDataItems(),s=await Uc(i,this.plugin),o=this.applySearchFilter(s);if(this.currentTasks=o,this.basesEntryByPath.clear(),(r=this.data)!=null&&r.data)for(let l of this.data.data)(a=l.file)!=null&&a.path&&this.basesEntryByPath.set(l.file.path,l);this.calendar?await this.updateCalendarEvents(s):await this.initializeCalendar(s)}catch(i){console.error("[TaskNotes][CalendarView] Error rendering:",i),this.renderError(i)}finally{this._isRendering=!1}this._pendingRender&&(this._pendingRender=!1,setTimeout(()=>this.render(),0))}async initializeCalendar(e){var i;if(!this.calendarEl)return;let r=this.determineInitialDate(e),a={plugins:[gX,EX,MX,vG,IX],initialView:this.viewOptions.calendarView,initialDate:r,headerToolbar:{left:"prev,next today refreshCalendars",center:"title",right:"multiMonthYear,dayGridMonth,timeGridWeek,timeGridCustom,timeGridDay,listWeekButton"},buttonText:{today:this.plugin.i18n.translate("views.basesCalendar.today"),month:this.plugin.i18n.translate("views.basesCalendar.buttonText.month"),week:this.plugin.i18n.translate("views.basesCalendar.buttonText.week"),day:this.plugin.i18n.translate("views.basesCalendar.buttonText.day"),year:this.plugin.i18n.translate("views.basesCalendar.buttonText.year"),list:this.plugin.i18n.translate("views.basesCalendar.buttonText.list")},customButtons:{listWeekButton:{text:this.plugin.i18n.translate("views.basesCalendar.buttonText.list"),hint:this.plugin.i18n.translate("views.basesCalendar.buttonText.list")||"List",click:()=>{var s;this.calendar&&((s=this.calendar.view)==null?void 0:s.type)!=="listWeek"&&this.calendar.changeView("listWeek")}},refreshCalendars:{text:this.plugin.i18n.translate("views.basesCalendar.buttonText.refresh")||"Refresh",hint:this.plugin.i18n.translate("views.basesCalendar.hints.refresh")||"Refresh calendar subscriptions",click:async()=>{try{this.plugin.icsSubscriptionService&&await this.plugin.icsSubscriptionService.refreshAllSubscriptions(),this.plugin.googleCalendarService&&await this.plugin.googleCalendarService.refreshAllCalendars(),this.plugin.microsoftCalendarService&&await this.plugin.microsoftCalendarService.refreshAllCalendars(),this.calendar&&this.calendar.refetchEvents()}catch(s){console.error("[TaskNotes][CalendarView] Error refreshing calendars:",s)}}}},views:{timeGridCustom:{type:"timeGrid",duration:{days:this.viewOptions.customDayCount},buttonText:this.plugin.i18n.translate("views.basesCalendar.buttonText.customDays",{count:this.viewOptions.customDayCount.toString()})},listWeek:{type:"list",duration:{days:this.viewOptions.listDayCount},buttonText:this.plugin.i18n.translate("views.basesCalendar.buttonText.listDays",{count:this.viewOptions.listDayCount.toString()})||`${this.viewOptions.listDayCount}d List`}},height:"100%",expandRows:!0,handleWindowResize:!0,stickyHeaderDates:!1,locale:this.viewOptions.locale||this.plugin.settings.uiLanguage||navigator.language||"en",slotMinTime:this.viewOptions.slotMinTime,slotMaxTime:this.viewOptions.slotMaxTime,slotDuration:this.viewOptions.slotDuration,firstDay:this.viewOptions.firstDay,weekNumbers:this.viewOptions.weekNumbers,nowIndicator:this.viewOptions.nowIndicator,weekends:this.viewOptions.showWeekends,allDaySlot:this.viewOptions.showAllDaySlot,dayMaxEvents:this.viewOptions.dayMaxEvents,dayMaxEventRows:this.viewOptions.dayMaxEventRows,eventMaxStack:(i=this.viewOptions.eventMaxStack)!=null?i:void 0,navLinks:!0,navLinkDayClick:s=>YX(s,this.plugin),editable:!0,selectable:!0,selectMirror:this.viewOptions.selectMirror,eventTimeFormat:{hour:"2-digit",minute:"2-digit",hour12:this.viewOptions.timeFormat==="12"},slotLabelFormat:{hour:"2-digit",minute:"2-digit",hour12:this.viewOptions.timeFormat==="12"},scrollTime:this.viewOptions.scrollTime,eventMinHeight:this.viewOptions.eventMinHeight,slotEventOverlap:this.viewOptions.slotEventOverlap,eventAllow:()=>!0,events:(s,o,l)=>{this.fetchEvents(s,o,l)},eventDidMount:s=>this.handleEventDidMount(s),eventClick:s=>this.handleEventClick(s),eventDrop:s=>this.handleEventDrop(s),eventResize:s=>this.handleEventResize(s),select:s=>this.handleDateSelect(s),viewDidMount:s=>{let o=s.view.type;o&&o!==this.viewOptions.calendarView&&(this.viewOptions.calendarView=o,console.debug("[TaskNotes][CalendarView] View type changed to:",o,"(not saving to avoid recreation)"))}};this.calendar=new gT(this.calendarEl,a),this.calendar.render(),this.applyTodayHighlightStyling()}applyTodayHighlightStyling(){this.calendarEl&&(this.viewOptions.showTodayHighlight?this.calendarEl.classList.remove("hide-today-highlight"):this.calendarEl.classList.add("hide-today-highlight"))}determineInitialDate(e){var r;if(this.viewOptions.initialDate){let a=rw(this.viewOptions.initialDate);return(r=a==null?void 0:a.value)!=null?r:this.viewOptions.initialDate}if(this.viewOptions.initialDateProperty){let a=this.viewOptions.initialDateProperty,i=this.propertyMapper.basesToInternal(a),s=[];for(let o of e){let l=o[i],c=rw(l);if(!c)continue;let d=c.isAllDay?je(c.value):new Date(c.value);isNaN(d.getTime())||s.push({compare:d,value:c.value})}if(s.length>0)return this.viewOptions.initialDateStrategy==="earliest"?s.reduce((l,c)=>c.compare.getTime()<l.compare.getTime()?c:l).value:this.viewOptions.initialDateStrategy==="latest"?s.reduce((l,c)=>c.compare.getTime()>l.compare.getTime()?c:l).value:s[0].value}}async fetchEvents(e,r,a){try{let i=await this.buildAllEvents(e);r(i)}catch(i){console.error("[TaskNotes][CalendarView] Error fetching events:",i),a(i)}}async buildAllEvents(e){let r=[],a={showScheduled:this.viewOptions.showScheduled,showDue:this.viewOptions.showDue,showRecurring:this.viewOptions.showRecurring,showTimeEntries:this.viewOptions.showTimeEntries,showTimeblocks:this.viewOptions.showTimeblocks,showICSEvents:!1,visibleStart:e.start,visibleEnd:e.end},i=await jX(this.currentTasks,this.plugin,a);if(r.push(...i),this.viewOptions.showPropertyBasedEvents&&this.viewOptions.startDateProperty){let s=await this.buildPropertyBasedEvents();r.push(...s)}if(this.plugin.icsSubscriptionService){let s=await this.buildICSEvents();r.push(...s)}if(this.plugin.googleCalendarService){let s=await this.buildGoogleCalendarEvents();r.push(...s)}if(this.plugin.microsoftCalendarService){let s=await this.buildMicrosoftCalendarEvents();r.push(...s)}return r}async buildPropertyBasedEvents(){var r;if(!((r=this.data)!=null&&r.data))return[];if(!this.viewOptions.startDateProperty)return[];let e=[];for(let a of this.data.data)try{let i=a.file;if(!i)continue;let s=this.dataAdapter.getPropertyValue(a,this.viewOptions.startDateProperty),o=rw(s);if(!o)continue;let l=typeof o.value=="string"?o.value:M(o.value,"yyyy-MM-dd'T'HH:mm"),c,d=o.isAllDay;if(this.viewOptions.endDateProperty){let m=this.dataAdapter.getPropertyValue(a,this.viewOptions.endDateProperty),h=rw(m);h&&(c=typeof h.value=="string"?h.value:M(h.value,"yyyy-MM-dd'T'HH:mm"),d=h.isAllDay)}let u;if(this.viewOptions.titleProperty){let m=this.dataAdapter.getPropertyValue(a,this.viewOptions.titleProperty);m&&typeof m=="string"&&m.trim()&&(u=m.trim())}let p=o.isAllDay&&(c?d:!0);e.push({id:`property-${i.path}`,title:u||i.basename||i.name,start:l,end:c,allDay:p,backgroundColor:"var(--color-accent)",borderColor:"var(--color-accent)",textColor:"var(--text-on-accent)",editable:!0,extendedProps:{eventType:"property-based",filePath:i.path,file:i,basesEntry:a}})}catch(i){console.warn("[TaskNotes][CalendarView] Error processing property-based entry:",i)}return e}async buildICSEvents(){if(!this.plugin.icsSubscriptionService)return[];let e=[],r=this.plugin.icsSubscriptionService.getAllEvents();for(let a of r){if(this.icsCalendarToggles.get(a.subscriptionId)===!1)continue;let i=zg(a,this.plugin);i&&e.push(i)}return e}async buildGoogleCalendarEvents(){if(!this.plugin.googleCalendarService)return[];let e=[],r=this.plugin.googleCalendarService.getAllEvents();for(let a of r){let i=a.subscriptionId.replace("google-","");if(this.googleCalendarToggles.get(i)===!1)continue;let s=zg(a,this.plugin);s&&e.push(s)}return e}async buildMicrosoftCalendarEvents(){if(!this.plugin.microsoftCalendarService)return[];let e=[],r=this.plugin.microsoftCalendarService.getAllEvents();for(let a of r){let i=a.subscriptionId.replace("microsoft-","");if(this.microsoftCalendarToggles.get(i)===!1)continue;let s=zg(a,this.plugin);s&&e.push(s)}return e}async updateCalendarEvents(e){this.calendar&&this.calendar.refetchEvents()}async refreshCalendarWithFreshData(){if(this.calendar)try{let e=[];for(let r of this.currentTasks){let a=this.plugin.cacheManager.getCachedTaskInfoSync(r.path);a&&(a.basesData=r.basesData,e.push(a))}this.currentTasks=e,this.calendar.refetchEvents()}catch(e){console.error("[TaskNotes][CalendarView] Error refreshing calendar:",e)}}async handleEventClick(e){let{taskInfo:r,timeblock:a,eventType:i,filePath:s,icsEvent:o,subscriptionName:l}=e.event.extendedProps||{},c=e.jsEvent;if(i==="timeblock"&&a){let d=M(e.event.start,"yyyy-MM-dd");Jk(a,e.event.start,d,this.plugin);return}if(i==="timeEntry"&&r&&c.button===0){this.plugin.openTimeEntryEditor(r);return}if(i==="ics"&&o){new tl(this.plugin.app,this.plugin,o,l).open();return}if(i==="property-based"&&s){let d=this.plugin.app.vault.getAbstractFileByPath(s);if(d instanceof Hn.TFile){let p=c.ctrlKey||c.metaKey||c.button===1;this.plugin.app.workspace.getLeaf(p).openFile(d)}return}r!=null&&r.path&&c.button===0&&d$(r,this.plugin,c,e.event.id)}async handleEventDrop(e){var u,p;if(this.expectImmediateUpdate(),!((u=e==null?void 0:e.event)!=null&&u.extendedProps)){console.warn("[TaskNotes][CalendarView] Event dropped without extendedProps");return}let{taskInfo:r,timeblock:a,eventType:i,isRecurringInstance:s,isNextScheduledOccurrence:o,isPatternInstance:l,filePath:c,icsEvent:d}=e.event.extendedProps;if(i==="timeblock"){let m=M(e.oldEvent.start,"yyyy-MM-dd");await UX(e,a,m,this.plugin);return}if(i==="property-based"&&c){try{let m=this.plugin.app.vault.getAbstractFileByPath(c);if(!m||!(m instanceof Hn.TFile)){e.revert();return}let h=this.viewOptions.startDateProperty,f=this.viewOptions.endDateProperty;if(!h){e.revert();return}let g=h.includes(".")?h.split(".").pop():h,v=f&&f.includes(".")?f.split(".").pop():f;if(!g){e.revert();return}let T=e.oldEvent.start,w=e.event.start.getTime()-T.getTime();await this.plugin.app.fileManager.processFrontMatter(m,S=>{let x=S[g];if(x){let I=new Date(x);if(isNaN(I.getTime()))return;let A=new Date(I.getTime()+w);if(isNaN(A.getTime()))return;S[g]=M(A,e.event.allDay?"yyyy-MM-dd":"yyyy-MM-dd'T'HH:mm")}if(v){let I=S[v];if(I){let A=new Date(I);if(isNaN(A.getTime()))return;let B=new Date(A.getTime()+w);if(isNaN(B.getTime()))return;S[v]=M(B,e.event.allDay?"yyyy-MM-dd":"yyyy-MM-dd'T'HH:mm")}}})}catch(m){console.error("[TaskNotes][CalendarView] Error updating property-based event:",m),e.revert()}return}if(i==="ics"&&d){let m=(p=this.plugin.calendarProviderRegistry)==null?void 0:p.findProviderForEvent(d);if(m){try{let{calendarId:h,eventId:f}=m.extractEventIds(d),g=e.event.start,v=e.event.allDay,T=e.event.end;T||(T=new Date(g),v?T.setDate(T.getDate()+1):T.setHours(T.getHours()+1));let k={};if(v)k.start={date:M(g,"yyyy-MM-dd")},k.end={date:M(T,"yyyy-MM-dd")};else{let w=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC";k.start={dateTime:M(g,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:w},k.end={dateTime:M(T,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:w}}await m.updateEvent(h,f,k)}catch(h){console.error(`[TaskNotes][CalendarView] Error updating ${m.providerName} event:`,h),e.revert()}return}else{e.revert();return}}if(i==="timeEntry"){let m=e.event.extendedProps.timeEntryIndex;if(typeof m!="number"){e.revert();return}try{let h=e.event.start,f=e.event.end;if(!h||!f){e.revert();return}let g=e.oldEvent.start,v=h.getTime()-g.getTime(),T=[...r.timeEntries||[]],k=T[m];if(k){let w=new Date(k.startTime);if(!k.endTime){e.revert();return}let S=new Date(k.endTime);k.startTime=new Date(w.getTime()+v).toISOString(),k.endTime=new Date(S.getTime()+v).toISOString(),k.duration=Math.round((new Date(k.endTime).getTime()-new Date(k.startTime).getTime())/6e4),await this.plugin.taskService.updateTask(r,{timeEntries:T})}}catch(h){console.error("Error updating time entry:",h),e.revert()}return}if(i==="due"){e.revert();return}if(r&&(s||o||l)){await BX(e,r,this.plugin);return}if(r)try{if(i==="scheduled"){let m=e.event.start,f=e.event.allDay?M(m,"yyyy-MM-dd"):M(m,"yyyy-MM-dd'T'HH:mm");await this.plugin.taskService.updateProperty(r,"scheduled",f)}}catch(m){console.error("[TaskNotes][CalendarView] Error updating task date:",m),e.revert()}}async handleEventResize(e){var c,d;if(this.expectImmediateUpdate(),!((c=e==null?void 0:e.event)!=null&&c.extendedProps)){console.warn("[TaskNotes][CalendarView] Event resized without extendedProps");return}let{taskInfo:r,timeblock:a,eventType:i,filePath:s,timeEntryIndex:o,icsEvent:l}=e.event.extendedProps;if(i==="timeEntry"){if(typeof o!="number"){e.revert();return}try{let u=e.event.start,p=e.event.end;if(!u||!p){e.revert();return}let m=[...r.timeEntries||[]],h=m[o];h&&(h.startTime=u.toISOString(),h.endTime=p.toISOString(),h.duration=Math.round((p.getTime()-u.getTime())/6e4),await this.plugin.taskService.updateTask(r,{timeEntries:m}))}catch(u){console.error("Error resizing time entry:",u),e.revert()}return}if(i==="timeblock"){let u=M(e.event.start,"yyyy-MM-dd");await WX(e,a,u,this.plugin);return}if(i==="property-based"&&s){try{let u=this.plugin.app.vault.getAbstractFileByPath(s);if(!u||!(u instanceof Hn.TFile)){e.revert();return}let p=this.viewOptions.endDateProperty;if(!p){e.revert();return}let m=p.includes(".")?p.split(".").pop():p;if(!m){e.revert();return}let h=e.event.end;if(!h){e.revert();return}await this.plugin.app.fileManager.processFrontMatter(u,f=>{isNaN(h.getTime())||(f[m]=M(h,e.event.allDay?"yyyy-MM-dd":"yyyy-MM-dd'T'HH:mm"))})}catch(u){console.error("[TaskNotes][CalendarView] Error resizing property-based event:",u),e.revert()}return}if(i==="ics"&&l){let u=(d=this.plugin.calendarProviderRegistry)==null?void 0:d.findProviderForEvent(l);if(u){try{let{calendarId:p,eventId:m}=u.extractEventIds(l),h=e.event.start,f=e.event.end;if(!f){e.revert();return}let g=e.event.allDay,v={};if(g)v.start={date:M(h,"yyyy-MM-dd")},v.end={date:M(f,"yyyy-MM-dd")};else{let T=Intl.DateTimeFormat().resolvedOptions().timeZone||"UTC";v.start={dateTime:M(h,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:T},v.end={dateTime:M(f,"yyyy-MM-dd'T'HH:mm:ss"),timeZone:T}}await u.updateEvent(p,m,v)}catch(p){console.error(`[TaskNotes][CalendarView] Error resizing ${u.providerName} event:`,p),e.revert()}return}}if(i!=="scheduled"&&i!=="recurring"){e.revert();return}try{let u=e.event.start,p=e.event.end;if(u&&p){let m;e.event.allDay?m=Math.round((p.getTime()-u.getTime())/864e5)*1440:m=Math.round((p.getTime()-u.getTime())/(1e3*60)),await this.plugin.taskService.updateProperty(r,"timeEstimate",m)}}catch(u){console.error("[TaskNotes][CalendarView] Error updating task duration:",u),e.revert()}}async handleDateSelect(e){let r=new Hn.Menu;r.addItem(a=>{a.setTitle("Create task").setIcon("check-square").onClick(async()=>{let i=this.viewOptions.slotDuration.split(":"),s=parseInt(i[0])*60+parseInt(i[1]||"0"),o=GX(e.start,e.end,e.allDay,s);new So(this.plugin.app,this.plugin,{prePopulatedValues:o}).open()})}),this.plugin.settings.calendarViewSettings.enableTimeblocking&&r.addItem(a=>{a.setTitle("Create timeblock").setIcon("clock").onClick(async()=>{this.expectImmediateUpdate(),await HX(e.start,e.end,e.allDay,this.plugin)})}),r.addItem(a=>{a.setTitle("Create time entry").setIcon("play").onClick(async()=>{this.expectImmediateUpdate(),await zX(e.start,e.end,e.allDay,this.plugin)})}),r.showAtMouseEvent(e.jsEvent),this.calendar&&this.calendar.unselect()}handleEventDidMount(e){var l,c,d,u,p;if(!((l=e==null?void 0:e.event)!=null&&l.extendedProps))return;let{taskInfo:r,timeblock:a,icsEvent:i,eventType:s,basesEntry:o}=e.event.extendedProps;if(i&&e.view.type!=="listWeek"&&((c=this.plugin.calendarProviderRegistry)==null?void 0:c.findProviderForEvent(i))){let h=e.el.querySelector(".fc-event-title");if(h){let f=document.createElement("span");f.style.marginRight="4px",f.style.display="inline-flex",f.style.alignItems="center";let g=document.createElement("span");g.style.width="12px",g.style.height="12px",g.style.display="inline-flex",g.style.flexShrink="0",(0,Hn.setIcon)(g,"calendar"),f.appendChild(g),h.insertBefore(f,h.firstChild)}}if(e.view.type==="listWeek"){e.el.innerHTML="";let m=null,h=this.getVisibleProperties();if(r&&s!=="ics"&&s!=="property-based"){let f={...r},g=this.basesEntryByPath.get(r.path);if(g){if(f.basesData=g,h){for(let T of h)if(T.startsWith("formula."))try{(d=g.getValue)==null||d.call(g,T)}catch(k){console.debug("[TaskNotes][CalendarView] Error getting formula:",T,k)}}if(!f.dateCreated)try{let T=(u=g.getValue)==null?void 0:u.call(g,"file.ctime");T!=null&&T.data&&(f.dateCreated=T.data)}catch(T){console.debug("[TaskNotes][CalendarView] Error getting file.ctime:",T)}if(!f.dateModified)try{let T=(p=g.getValue)==null?void 0:p.call(g,"file.mtime");T!=null&&T.data&&(f.dateModified=T.data)}catch(T){console.debug("[TaskNotes][CalendarView] Error getting file.mtime:",T)}}let v=uF(e);m=Ct(f,this.plugin,h,{targetDate:v})}else if(i&&s==="ics")m=QX(i,this.plugin);else if(s==="property-based"&&o)m=XX(o,this.plugin,this.config);else if(s==="timeblock"&&a){let f=e.event.start?M(e.event.start,"yyyy-MM-dd"):void 0;m=ree(a,this.plugin,{eventDate:e.event.start,originalDate:f})}if(m){e.el.appendChild(m),e.el.classList.remove("fc-event","fc-event-start","fc-event-end");return}else e.el.classList.add("fc-event-default-list")}if(e.el.setAttribute("data-event-type",s||"unknown"),s==="timeblock"&&a){qX(e.el,a),e.event.setProp&&e.event.setProp("editable",!0);let m=VX(a);(0,Hn.setTooltip)(e.el,m,{placement:"top"});return}if(r&&r.path){if(e.el.setAttribute("data-task-path",r.path),e.el.classList.add("fc-task-event"),r.tags&&r.tags.length>0&&r.tags.forEach(m=>{let h=m.replace(/[^a-zA-Z0-9-_]/g,"");h&&e.el.classList.add(`fc-tag-${h}`)}),e.event.setProp)switch(s){case"scheduled":case"recurring":case"timeEntry":e.event.setProp("editable",!0);break;case"due":e.event.setProp("editable",!1);break;default:e.event.setProp("editable",!0)}LX(e.el,e.event.extendedProps)}if(r){let m=OX(r,this.plugin);(0,Hn.setTooltip)(e.el,m)}else if(i){let m=i.description?`${i.title}
|
||
|
||
${i.description}`:i.title;(0,Hn.setTooltip)(e.el,m)}r&&s!=="ics"&&$X(e.el,r,this.plugin,"tasknotes-bases-calendar"),r&&e.el.addEventListener("contextmenu",m=>{m.preventDefault(),m.stopPropagation();let h=uF(e);new Jd({task:r,plugin:this.plugin,targetDate:h,onUpdate:()=>{this.refreshCalendarWithFreshData()}}).show(m)}),i&&s==="ics"&&e.el.addEventListener("contextmenu",m=>{m.preventDefault(),m.stopPropagation();let h=e.event.extendedProps.subscriptionName;new Xu({icsEvent:i,plugin:this.plugin,subscriptionName:h,onUpdate:()=>{this.refreshCalendarWithFreshData()}}).show(m)}),s==="property-based"&&e.event.extendedProps.filePath&&e.el.addEventListener("mouseover",m=>{this.plugin.app.vault.getAbstractFileByPath(e.event.extendedProps.filePath)&&this.plugin.app.workspace.trigger("hover-link",{event:m,source:"tasknotes-bases-calendar",hoverParent:e.el,targetEl:e.el,linktext:e.event.extendedProps.filePath,sourcePath:e.event.extendedProps.filePath})}),s==="property-based"&&e.event.extendedProps.filePath&&e.el.addEventListener("contextmenu",m=>{m.preventDefault(),m.stopPropagation();let h=this.plugin.app.vault.getAbstractFileByPath(e.event.extendedProps.filePath);if(h instanceof Hn.TFile){let f=new Hn.Menu;this.plugin.app.workspace.trigger("file-menu",f,h,"tasknotes-bases-calendar"),f.showAtPosition({x:m.clientX,y:m.clientY})}})}setupContainer(){if(super.setupContainer(),this.rootElement){this.rootElement.className="tn-bases-integration tasknotes-plugin advanced-calendar-view",this.rootElement.style.cssText="min-height: 800px; height: 100%; display: flex; flex-direction: column;";let e=document.createElement("div");e.id="bases-calendar",e.style.cssText="flex: 1; min-height: 700px; overflow: auto;",this.rootElement.appendChild(e),this.calendarEl=e}}async handleTaskUpdate(e){this.debouncedRefresh()}renderError(e){if(!this.calendarEl)return;let r=document.createElement("div");r.className="tn-bases-error",r.style.cssText="padding: 20px; color: #d73a49; background: #ffeaea; border-radius: 4px; margin: 10px 0;",r.textContent=`Error loading calendar: ${e.message||"Unknown error"}`,this.calendarEl.appendChild(r)}onunload(){var e;if(this.calendar&&this.config){let r=(e=this.calendar.view)==null?void 0:e.type;if(r)try{this.config.get("calendarView")!==r&&(this.config.set("calendarView",r),console.debug("[TaskNotes][CalendarView] Saved view type on unload:",r))}catch(a){console.debug("[TaskNotes][CalendarView] Failed to save view type on unload:",a)}}this.calendar&&(this.calendar.destroy(),this.calendar=null),this.calendarEl=null,this.currentTasks=[]}getEphemeralState(){var r;let e=super.getEphemeralState();if(this.calendar){let a=this.calendar.getDate(),i=(r=this.calendar.view)==null?void 0:r.type;return{...e,calendarDate:a?a.toISOString():null,calendarView:i||null}}return e}setEphemeralState(e){var r;if(super.setEphemeralState(e),!!e&&this.calendar){if(e.calendarDate)try{this.calendar.gotoDate(new Date(e.calendarDate))}catch(a){console.debug("[CalendarView] Failed to restore calendar date:",a)}if(e.calendarView&&e.calendarView!==((r=this.calendar.view)==null?void 0:r.type))try{this.calendar.changeView(e.calendarView)}catch(a){console.debug("[CalendarView] Failed to restore calendar view:",a)}}}}});function see(n){return function(t,e){if(!e)throw console.error("[TaskNotes][MiniCalendarView] No containerEl provided"),new Error("MiniCalendarView requires a containerEl");return new yF(t,e,n)}}var rl,nl,yF,nw,oee=b(()=>{rl=require("obsidian");Ng();rr();Ke();Dr();nl=Ie(Xi()),yF=class extends Gi{constructor(e,r,a){super(e,r,a);this.type="tasknotesMiniCalendar";this.calendarEl=null;this.dateProperty=null;this.titleProperty=null;this.configLoaded=!1;this.isInitialRender=!0;this.shouldRestoreFocus=!1;this.multiSelectMode=!1;this.selectedDates=new Set;this.notesByDate=new Map;this.monthCalculationCache=new Map;this.keyboardHandler=null;this.dataAdapter.basesView=this;let i=ft(),s=mt(i);this.selectedDate=s,this.displayedMonth=s.getUTCMonth(),this.displayedYear=s.getUTCFullYear()}onload(){this.readViewOptions(),super.onload()}readViewOptions(){if(!(!this.config||typeof this.config.get!="function"))try{this.dateProperty=this.config.get("dateProperty")||"file.ctime",this.titleProperty=this.config.get("titleProperty")||"file.name",this.configLoaded=!0}catch(e){console.error("[TaskNotes][MiniCalendarView] Error reading view options:",e)}}async render(){var e;if(!(!this.calendarEl||!this.rootElement)&&(e=this.data)!=null&&e.data){this.config&&this.readViewOptions();try{let r=this.calendarEl.querySelector(".mini-calendar-view__grid")===document.activeElement;this.calendarEl.empty();let a=this.data.data;this.indexNotesByDate(a),this.renderCalendarControls(),this.renderCalendarGrid(),(this.isInitialRender||this.shouldRestoreFocus||r)&&(this.isInitialRender&&(this.isInitialRender=!1),this.shouldRestoreFocus=!1,setTimeout(()=>{var o;let s=(o=this.calendarEl)==null?void 0:o.querySelector(".mini-calendar-view__grid");s&&s.focus()},10))}catch(r){console.error("[TaskNotes][MiniCalendarView] Error rendering:",r),this.renderError(r)}}}indexNotesByDate(e){var r;if(this.notesByDate.clear(),!!this.dateProperty)for(let a of e)try{let i=a.file;if(!i)continue;let s=this.getDateValueFromProperty(a,this.dateProperty);if(!s)continue;let o=_e(s);if(!o)continue;let l=i.basename||i.name;if(this.titleProperty)try{let u=(r=a.getValue)==null?void 0:r.call(a,this.titleProperty);if(u!=null)if(typeof u=="object"&&u.toString){let p=u.toString();p&&p!=="null"&&p!==""&&(l=p)}else if(typeof u=="string")l=u;else{let p=String(u);p&&p!=="null"&&p!==""&&(l=p)}else{let p=this.dataAdapter.getPropertyValue(a,this.titleProperty);if(p!=null)if(typeof p=="object"&&p.toString){let m=p.toString();m&&m!=="null"&&m!==""&&(l=m)}else if(typeof p=="string")l=p;else{let m=String(p);m&&m!=="null"&&m!==""&&(l=m)}}}catch(u){console.warn("[TaskNotes][MiniCalendarView] Error getting title property:",u)}let c={file:i,title:l,path:i.path,dateValue:s,basesEntry:a};this.notesByDate.has(o)||this.notesByDate.set(o,[]);let d=this.notesByDate.get(o);d&&d.push(c)}catch(i){console.warn("[TaskNotes][MiniCalendarView] Error indexing note:",i)}}getDateValueFromProperty(e,r){try{let a=this.dataAdapter.getPropertyValue(e,r);if(!a)return null;if(typeof a=="string")return this.extractDateFromString(a);if(typeof a=="number")return this.toAnchoredDateString(new Date(a));if(a instanceof Date)return this.toAnchoredDateString(a);if(typeof a=="object"){let i=a.date;if(i instanceof Date)return this.toAnchoredDateString(i);let s=a.toISOString;if(typeof s=="function")return this.extractDateFromString(s.call(a))}return null}catch(a){return console.warn("[TaskNotes][MiniCalendarView] Error getting date value:",a),null}}extractDateFromString(e){let r=e==null?void 0:e.trim();if(!r)return null;if(/^\d{4}-\d{2}-\d{2}$/.test(r))return this.validateCalendarDate(r);if(r.includes("T")||/\d{4}-\d{2}-\d{2}\s+\d{2}:\d{2}/.test(r)||/[+-]\d{2}:\d{2}$/.test(r)){let s=r.includes(" ")&&!r.includes("T")?r.replace(" ","T"):r,o=new Date(s);if(!isNaN(o.getTime()))return this.toAnchoredDateString(o)}let a=r.match(/^(\d{4})[/.](\d{2})[/.](\d{2})$/);if(a){let[,s,o,l]=a;return this.validateCalendarDate(`${s}-${o}-${l}`)}let i=r.match(/(\d{4}-\d{2}-\d{2})/);return i?this.validateCalendarDate(i[1]):null}toAnchoredDateString(e){if(!(e instanceof Date)||isNaN(e.getTime()))return null;let r=mt(e);return le(r)}validateCalendarDate(e){if(!e)return null;let a=e.trim().match(/^(\d{4})-(\d{2})-(\d{2})$/);if(!a)return null;let[,i,s,o]=a,l=Number(i),c=Number(s)-1,d=Number(o);if(Number.isNaN(l)||Number.isNaN(c)||Number.isNaN(d))return null;let u=Qw(l,c,d);return u.getUTCFullYear()!==l||u.getUTCMonth()!==c||u.getUTCDate()!==d?null:le(u)}renderCalendarControls(){if(!this.calendarEl)return;let r=this.calendarEl.createDiv({cls:"mini-calendar-view__controls"}).createDiv({cls:"mini-calendar-view__header"}),a=r.createDiv({cls:"mini-calendar-view__navigation"});a.createEl("button",{text:"\u2039",cls:"mini-calendar-view__nav-button mini-calendar-view__nav-button--prev tn-btn tn-btn--icon tn-btn--ghost",attr:{"aria-label":"Previous month",title:"Previous month"}}).addEventListener("click",()=>this.navigateToPreviousMonth()),a.createDiv({cls:"mini-calendar-view__month-display",text:M(ao(this.selectedDate),"MMMM yyyy")}),a.createEl("button",{text:"\u203A",cls:"mini-calendar-view__nav-button mini-calendar-view__nav-button--next tn-btn tn-btn--icon tn-btn--ghost",attr:{"aria-label":"Next month",title:"Next month"}}).addEventListener("click",()=>this.navigateToNextMonth()),r.createEl("button",{text:"Today",cls:"mini-calendar-view__today-button tn-btn tn-btn--ghost tn-btn--sm",attr:{"aria-label":"Go to today",title:"Go to today"}}).addEventListener("click",()=>this.navigateToToday())}renderCalendarGrid(){if(!this.calendarEl)return;let e=this.calendarEl.createDiv({cls:"mini-calendar-view__grid-container"}),r=this.displayedMonth,a=this.displayedYear,i=new Date(Date.UTC(a,r,1)),s=new Date(Date.UTC(a,r+1,0)),o=this.plugin.settings.calendarViewSettings.firstDay||0,l=(i.getUTCDay()-o+7)%7,c=e.createDiv({cls:"mini-calendar-view__grid",attr:{role:"grid","aria-label":`Calendar for ${M(ao(new Date(Date.UTC(a,r,1))),"MMMM yyyy")}`,tabindex:"0"}});this.setupKeyboardNavigation(c),c.addEventListener("click",()=>{c.focus()});let d=c.createDiv({cls:"mini-calendar-view__grid-header",attr:{role:"row"}});d.createDiv({text:"",cls:"mini-calendar-view__week-header",attr:{role:"columnheader"}});let u=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];[...u.slice(o),...u.slice(0,o)].forEach(w=>{d.createDiv({text:w,cls:"mini-calendar-view__day-header",attr:{role:"columnheader","aria-label":w}})});let m=l,h=42,f=s.getUTCDate(),g=h-f-m,v=new Date(Date.UTC(a,r,0)).getUTCDate(),T=[],k=[];for(let w=0;w<m;w++){let S=v-m+w+1,x=new Date(Date.UTC(a,r-1,S));k.push(x)}for(let w=1;w<=f;w++){k.length===7&&(T.push(k),k=[]);let S=new Date(Date.UTC(a,r,w));k.push(S)}for(let w=1;w<=g;w++){k.length===7&&(T.push(k),k=[]);let S=new Date(Date.UTC(a,r+1,w));k.push(S)}k.length>0&&T.push(k),T.forEach(w=>{this.renderWeekRow(c,w)})}renderWeekRow(e,r){let a=e.createDiv({cls:"mini-calendar-view__week",attr:{role:"row"}}),i=this.getWeekNumber(r[0]);a.createDiv({cls:"mini-calendar-week-number",text:`W${i}`}).addEventListener("click",o=>{var c;o.preventDefault(),o.stopPropagation(),this.selectWeek(r);let l=(c=this.calendarEl)==null?void 0:c.querySelector(".mini-calendar-view__grid");l&&l.focus()}),r.forEach((o,l)=>{let c=this.displayedMonth,d=this.displayedYear,u=o.getUTCMonth()!==c||o.getUTCFullYear()!==d,p=o.getUTCDate();this.renderDay(a,o,p,u)})}renderDay(e,r,a,i){let s=ft(),o=mt(s),l=ev(r,o),c=ev(r,this.selectedDate),d="mini-calendar-view__day";l&&(d+=" mini-calendar-view__day--today"),c&&(d+=" mini-calendar-view__day--selected"),i&&(d+=" mini-calendar-view__day--outside-month");let u=e.createDiv({cls:d,text:a.toString(),attr:{role:"gridcell","aria-label":M(ao(r),"EEEE, MMMM d, yyyy")+(l?" (Today)":""),"aria-selected":c?"true":"false","aria-current":l?"date":null}}),p=le(r),m=this.notesByDate.get(p);if(m&&m.length>0){let h=this.getHeatMapIntensity(m.length);u.addClass(`mini-calendar-view__day--intensity-${h}`);let f=this.createNotePreviewText(m);(0,rl.setTooltip)(u,f,{placement:"top"})}u.addEventListener("click",h=>{var g;h.preventDefault(),h.stopPropagation(),this.handleDayClick(r,h);let f=(g=this.calendarEl)==null?void 0:g.querySelector(".mini-calendar-view__grid");f&&f.focus()})}async handleDayClick(e,r){if(this.selectedDate=e,r&&(r.ctrlKey||r.metaKey)){await this.openDailyNoteForDate(e);return}this.refresh();let a=le(e),i=this.notesByDate.get(a);i&&i.length>0&&new nw(this.plugin.app,this.plugin,i,o=>{o&&this.plugin.app.workspace.getLeaf(!1).openFile(o.file)}).open()}async openDailyNoteForDate(e){if(!(0,nl.appHasDailyNotesPluginLoaded)()){new rl.Notice("Daily Notes core plugin is not enabled. Please enable it in Settings > Core plugins.");return}let r=ao(e),a=new Date(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,0),i=window.moment(a),s=(0,nl.getAllDailyNotes)(),o=(0,nl.getDailyNote)(i,s);if(!o)try{o=await(0,nl.createDailyNote)(i)}catch(l){let c=l instanceof Error?l.message:String(l);console.error("Failed to create daily note:",l),new rl.Notice(`Failed to create daily note: ${c}`);return}o&&await this.plugin.app.workspace.getLeaf(!1).openFile(o)}navigateToPreviousMonth(){let e=new Date(this.selectedDate.getTime());e.setUTCMonth(this.selectedDate.getUTCMonth()-1),this.selectedDate=e,this.displayedMonth=e.getUTCMonth(),this.displayedYear=e.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}navigateToNextMonth(){let e=new Date(this.selectedDate.getTime());e.setUTCMonth(this.selectedDate.getUTCMonth()+1),this.selectedDate=e,this.displayedMonth=e.getUTCMonth(),this.displayedYear=e.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}navigateToToday(){let e=ft(),r=mt(e);this.selectedDate=r,this.displayedMonth=r.getUTCMonth(),this.displayedYear=r.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}setupKeyboardNavigation(e){this.keyboardHandler&&e.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=async r=>{if(r.key==="ArrowLeft"||r.key==="ArrowRight"||r.key==="ArrowUp"||r.key==="ArrowDown"){r.preventDefault(),this.navigateByArrowKey(r.key);return}if(r.key==="PageUp"){r.preventDefault(),r.shiftKey?this.navigateToYear(-1):this.navigateToPreviousMonth();return}if(r.key==="PageDown"){r.preventDefault(),r.shiftKey?this.navigateToYear(1):this.navigateToNextMonth();return}if(r.key==="Home"){r.preventDefault(),r.ctrlKey||r.metaKey?this.navigateToStartOfMonth():this.navigateToStartOfWeek();return}if(r.key==="End"){r.preventDefault(),r.ctrlKey||r.metaKey?this.navigateToEndOfMonth():this.navigateToEndOfWeek();return}if(r.key==="t"||r.key==="T"){r.preventDefault(),this.navigateToToday();return}if(r.key==="Escape"){this.multiSelectMode&&(r.preventDefault(),this.multiSelectMode=!1,this.selectedDates.clear(),this.refresh());return}if(r.key==="Enter"||r.key===" "){r.preventDefault(),r.ctrlKey||r.metaKey?await this.openDailyNoteForDate(this.selectedDate):await this.handleDayClick(this.selectedDate);return}},e.addEventListener("keydown",this.keyboardHandler)}navigateByArrowKey(e){let r=new Date(this.selectedDate.getTime());switch(e){case"ArrowLeft":r.setUTCDate(r.getUTCDate()-1);break;case"ArrowRight":r.setUTCDate(r.getUTCDate()+1);break;case"ArrowUp":r.setUTCDate(r.getUTCDate()-7);break;case"ArrowDown":r.setUTCDate(r.getUTCDate()+7);break}this.selectedDate=r,(r.getUTCMonth()!==this.displayedMonth||r.getUTCFullYear()!==this.displayedYear)&&(this.displayedMonth=r.getUTCMonth(),this.displayedYear=r.getUTCFullYear(),this.monthCalculationCache.clear()),this.shouldRestoreFocus=!0,this.refresh()}navigateToStartOfWeek(){let e=this.plugin.settings.calendarViewSettings.firstDay||0,a=(this.selectedDate.getUTCDay()-e+7)%7,i=new Date(this.selectedDate.getTime());i.setUTCDate(i.getUTCDate()-a),this.selectedDate=i,(i.getUTCMonth()!==this.displayedMonth||i.getUTCFullYear()!==this.displayedYear)&&(this.displayedMonth=i.getUTCMonth(),this.displayedYear=i.getUTCFullYear(),this.monthCalculationCache.clear()),this.shouldRestoreFocus=!0,this.refresh()}navigateToEndOfWeek(){let e=this.plugin.settings.calendarViewSettings.firstDay||0,r=this.selectedDate.getUTCDay(),i=((e+6)%7-r+7)%7,s=new Date(this.selectedDate.getTime());s.setUTCDate(s.getUTCDate()+i),this.selectedDate=s,(s.getUTCMonth()!==this.displayedMonth||s.getUTCFullYear()!==this.displayedYear)&&(this.displayedMonth=s.getUTCMonth(),this.displayedYear=s.getUTCFullYear(),this.monthCalculationCache.clear()),this.shouldRestoreFocus=!0,this.refresh()}navigateToStartOfMonth(){let e=new Date(Date.UTC(this.selectedDate.getUTCFullYear(),this.selectedDate.getUTCMonth(),1));this.selectedDate=e,this.shouldRestoreFocus=!0,this.refresh()}navigateToEndOfMonth(){let e=new Date(Date.UTC(this.selectedDate.getUTCFullYear(),this.selectedDate.getUTCMonth()+1,0));this.selectedDate=e,this.shouldRestoreFocus=!0,this.refresh()}navigateToYear(e){let r=new Date(this.selectedDate.getTime());r.setUTCFullYear(r.getUTCFullYear()+e),this.selectedDate=r,this.displayedMonth=r.getUTCMonth(),this.displayedYear=r.getUTCFullYear(),this.monthCalculationCache.clear(),this.shouldRestoreFocus=!0,this.refresh()}getWeekNumber(e){let r=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate())),a=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-a);let i=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-i.getTime())/864e5+1)/7)}selectWeek(e){this.multiSelectMode=!0,this.selectedDates.clear(),e.forEach(r=>{this.selectedDates.add(le(r))}),this.shouldRestoreFocus=!0,this.refresh(),this.showCombinedNotes()}showCombinedNotes(){let e=[];this.selectedDates.forEach(r=>{let a=this.notesByDate.get(r);a&&e.push(...a)}),e.length>0?new nw(this.plugin.app,this.plugin,e,a=>{a&&this.plugin.app.workspace.getLeaf(!1).openFile(a.file)}).open():new rl.Notice("No notes found for selected dates")}createNotePreviewText(e){let r=[];return r.push(`${e.length} note${e.length>1?"s":""}`),r.push(""),e.slice(0,5).forEach(a=>{var o,l;let i=`\u2022 ${a.title}`,s=(l=(o=a.basesEntry)==null?void 0:o.getValue)==null?void 0:l.call(o,"type");if(s){let c=null;if(typeof s=="object"&&s.toString){let d=s.toString();d&&d!=="null"&&d!==""&&(c=d)}else typeof s=="string"&&(c=s);c&&(i+=` (${c})`)}r.push(i)}),e.length>5&&r.push(`+ ${e.length-5} more...`),r.join(`
|
||
`)}getHeatMapIntensity(e){return e===0?"none":e===1?"low":e<=3?"medium":e<=5?"high":"very-high"}setupContainer(){var r;super.setupContainer();let e=document.createElement("div");e.className="mini-calendar-bases-view",(r=this.rootElement)==null||r.appendChild(e),this.calendarEl=e}async handleTaskUpdate(e){this.debouncedRefresh()}renderError(e){if(!this.calendarEl)return;let r=document.createElement("div");r.className="tn-bases-error",r.style.cssText="padding: 20px; color: #d73a49; background: #ffeaea; border-radius: 4px; margin: 10px 0;",r.textContent=`Error loading mini calendar: ${e.message||"Unknown error"}`,this.calendarEl.appendChild(r)}onunload(){this.calendarEl=null,this.notesByDate.clear(),this.monthCalculationCache.clear(),this.keyboardHandler=null}},nw=class extends rl.FuzzySuggestModal{constructor(t,e,r,a){super(t),this.plugin=e,this.notes=r,this.onChooseNote=a,this.setPlaceholder("Select a note to open"),this.setInstructions([{command:"\u2191\u2193",purpose:"Navigate"},{command:"\u21B5",purpose:"Open note"},{command:"esc",purpose:"Dismiss"}])}getItems(){return this.notes.sort((t,e)=>t.title.localeCompare(e.title))}getItemText(t){return t.title}renderSuggestion(t,e){let r=t.item,a=e.createDiv({cls:"note-selector-modal__suggestion"});a.createDiv({cls:"note-selector-modal__title",text:r.title}),r.path!==r.title&&a.createDiv({cls:"note-selector-modal__path",text:r.path})}onChooseItem(t,e){this.onChooseNote(t)}}});function CMe(n){var t,e;try{let r=n.internalPlugins;if(!r)return console.debug("[TaskNotes][Bases] Internal plugins manager not available"),null;let a=(t=r.getEnabledPluginById)==null?void 0:t.call(r,"bases");return a?!a.registrations||typeof a.registrations!="object"?(console.warn("[TaskNotes][Bases] Bases plugin found but registrations API not available"),null):{registrations:a.registrations,isEnabled:!0,version:((e=a.manifest)==null?void 0:e.version)||"unknown"}:(console.debug("[TaskNotes][Bases] Bases plugin not found or not enabled"),null)}catch(r){return console.warn("[TaskNotes][Bases] Error accessing Bases plugin API:",r),null}}function Ug(n,t,e){var r;if(typeof n.registerBasesView=="function")try{return n.registerBasesView(t,e)?(console.debug(`[TaskNotes][Bases] Successfully registered view via public API: ${t}`),!0):(console.debug("[TaskNotes][Bases] Public API returned false (Bases may be disabled)"),!1)}catch(a){return(r=a==null?void 0:a.message)!=null&&r.includes("already exists")?(console.debug(`[TaskNotes][Bases] View ${t} already registered via public API`),!0):(console.warn(`[TaskNotes][Bases] Public API registration failed for ${t}:`,a),!1)}return console.warn("[TaskNotes][Bases] Cannot register view: Bases public API not available (requires Obsidian 1.10.0+)"),!1}function Wg(n,t){let e=CMe(n.app);if(!e)return!0;try{return e.registrations[t]&&delete e.registrations[t],!0}catch(r){return console.error(`[TaskNotes][Bases] Error unregistering view ${t}:`,r),!1}}var lee=b(()=>{});var aw={};Be(aw,{registerBasesTaskList:()=>PMe,unregisterBasesViews:()=>MMe});async function PMe(n){if(!n.settings.enableBases||!(0,cee.requireApiVersion)("1.10.1"))return;let t=async()=>{try{let e=Ug(n,"tasknotesTaskList",{name:"TaskNotes Task List",icon:"tasknotes-simple",factory:oX(n),options:()=>[{type:"property",key:"subGroup",displayName:"Sub-group by",placeholder:"Select property for sub-grouping (optional)",filter:s=>s.startsWith("note.")||s.startsWith("task.")||s.startsWith("formula.")},{type:"toggle",key:"enableSearch",displayName:"Enable search box",default:!1}]}),r=Ug(n,"tasknotesKanban",{name:"TaskNotes Kanban",icon:"tasknotes-simple",factory:cX(n),options:()=>[{type:"property",key:"swimLane",displayName:"Swim Lane",placeholder:"Select property for swim lanes (optional)",filter:s=>s.startsWith("note.")||s.startsWith("task.")||s.startsWith("formula.")},{type:"slider",key:"columnWidth",displayName:"Column Width",default:280,min:200,max:500,step:20},{type:"slider",key:"maxSwimlaneHeight",displayName:"Max Swimlane Height",default:600,min:300,max:1200,step:50},{type:"toggle",key:"hideEmptyColumns",displayName:"Hide Empty Columns",default:!1},{type:"toggle",key:"enableSearch",displayName:"Enable search box",default:!1},{type:"toggle",key:"explodeListColumns",displayName:"Show items in multiple columns",default:!0},{type:"multitext",key:"columnOrder",displayName:"Column Order (Advanced)",placeholder:"Auto-managed when dragging columns",default:"{}"}]}),a=Ug(n,"tasknotesCalendar",{name:"TaskNotes Calendar",icon:"tasknotes-simple",factory:aee(n),options:()=>{var c;let s=n.settings.calendarViewSettings,o=d=>n.i18n.translate(`views.basesCalendar.settings.${d}`),l=[{type:"group",displayName:o("groups.events"),items:[{type:"toggle",key:"showScheduled",displayName:o("events.showScheduledTasks"),default:s.defaultShowScheduled},{type:"toggle",key:"showDue",displayName:o("events.showDueTasks"),default:s.defaultShowDue},{type:"toggle",key:"showRecurring",displayName:o("events.showRecurringTasks"),default:s.defaultShowRecurring},{type:"toggle",key:"showTimeEntries",displayName:o("events.showTimeEntries"),default:s.defaultShowTimeEntries},{type:"toggle",key:"showTimeblocks",displayName:o("events.showTimeblocks"),default:s.defaultShowTimeblocks},{type:"toggle",key:"showPropertyBasedEvents",displayName:o("events.showPropertyBasedEvents"),default:!0}]},{type:"group",displayName:o("groups.dateNavigation"),items:[{type:"text",key:"initialDate",displayName:o("dateNavigation.navigateToDate"),default:"",placeholder:o("dateNavigation.navigateToDatePlaceholder")},{type:"property",key:"initialDateProperty",displayName:o("dateNavigation.navigateToDateFromProperty"),placeholder:o("dateNavigation.navigateToDateFromPropertyPlaceholder"),filter:d=>d.startsWith("note.")||d.startsWith("file.")},{type:"dropdown",key:"initialDateStrategy",displayName:o("dateNavigation.propertyNavigationStrategy"),default:"first",options:{first:o("dateNavigation.strategies.first"),earliest:o("dateNavigation.strategies.earliest"),latest:o("dateNavigation.strategies.latest")}}]},{type:"group",displayName:o("groups.layout"),items:[{type:"dropdown",key:"calendarView",displayName:o("layout.calendarView"),default:s.defaultView,options:{dayGridMonth:"Month",timeGridWeek:"Week",timeGridCustom:"Custom days",timeGridDay:"Day",listWeek:"List",multiMonthYear:"Year"}},{type:"slider",key:"customDayCount",displayName:o("layout.customDayCount"),default:s.customDayCount||3,min:1,max:14,step:1},{type:"slider",key:"listDayCount",displayName:o("layout.listDayCount"),default:7,min:1,max:30,step:1},{type:"text",key:"slotMinTime",displayName:o("layout.dayStartTime"),default:s.slotMinTime,placeholder:o("layout.dayStartTimePlaceholder")},{type:"text",key:"slotMaxTime",displayName:o("layout.dayEndTime"),default:s.slotMaxTime,placeholder:o("layout.dayEndTimePlaceholder")},{type:"text",key:"slotDuration",displayName:o("layout.timeSlotDuration"),default:s.slotDuration,placeholder:o("layout.timeSlotDurationPlaceholder")},{type:"dropdown",key:"firstDay",displayName:o("layout.weekStartsOn"),default:String(s.firstDay),options:{0:n.i18n.translate("common.weekdays.sunday"),1:n.i18n.translate("common.weekdays.monday"),2:n.i18n.translate("common.weekdays.tuesday"),3:n.i18n.translate("common.weekdays.wednesday"),4:n.i18n.translate("common.weekdays.thursday"),5:n.i18n.translate("common.weekdays.friday"),6:n.i18n.translate("common.weekdays.saturday")}},{type:"toggle",key:"weekNumbers",displayName:o("layout.showWeekNumbers"),default:s.weekNumbers},{type:"toggle",key:"nowIndicator",displayName:o("layout.showNowIndicator"),default:s.nowIndicator},{type:"toggle",key:"showWeekends",displayName:o("layout.showWeekends"),default:s.showWeekends},{type:"toggle",key:"showAllDaySlot",displayName:o("layout.showAllDaySlot"),default:!0},{type:"toggle",key:"showTodayHighlight",displayName:o("layout.showTodayHighlight"),default:s.showTodayHighlight},{type:"toggle",key:"selectMirror",displayName:o("layout.showSelectionPreview"),default:s.selectMirror},{type:"toggle",key:"slotEventOverlap",displayName:o("layout.slotEventOverlap"),default:s.slotEventOverlap},{type:"toggle",key:"enableSearch",displayName:o("layout.enableSearch"),default:!1},{type:"dropdown",key:"timeFormat",displayName:o("layout.timeFormat"),default:s.timeFormat,options:{12:o("layout.timeFormat12"),24:o("layout.timeFormat24")}},{type:"text",key:"scrollTime",displayName:o("layout.initialScrollTime"),default:s.scrollTime,placeholder:o("layout.initialScrollTimePlaceholder")},{type:"slider",key:"eventMinHeight",displayName:o("layout.minimumEventHeight"),default:s.eventMinHeight,min:15,max:100,step:5},{type:"slider",key:"eventMaxStack",displayName:o("layout.eventMaxStack"),default:(c=s.eventMaxStack)!=null?c:0,min:0,max:10,step:1},{type:"slider",key:"dayMaxEvents",displayName:o("layout.dayMaxEvents"),default:typeof s.dayMaxEvents=="number"?s.dayMaxEvents:0,min:0,max:20,step:1},{type:"slider",key:"dayMaxEventRows",displayName:o("layout.dayMaxEventRows"),default:typeof s.dayMaxEventRows=="number"?s.dayMaxEventRows:0,min:0,max:10,step:1}]},{type:"group",displayName:o("groups.propertyBasedEvents"),items:[{type:"property",key:"startDateProperty",displayName:o("propertyBasedEvents.startDateProperty"),placeholder:o("propertyBasedEvents.startDatePropertyPlaceholder"),filter:d=>d.startsWith("note.")||d.startsWith("file.")},{type:"property",key:"endDateProperty",displayName:o("propertyBasedEvents.endDateProperty"),placeholder:o("propertyBasedEvents.endDatePropertyPlaceholder"),filter:d=>d.startsWith("note.")||d.startsWith("file.")},{type:"property",key:"titleProperty",displayName:o("propertyBasedEvents.titleProperty"),placeholder:o("propertyBasedEvents.titlePropertyPlaceholder"),filter:d=>d.startsWith("note.")||d.startsWith("formula.")||d.startsWith("file.")}]}];if(n.icsSubscriptionService){let d=n.icsSubscriptionService.getSubscriptions();if(d.length>0){let u=d.map(p=>({type:"toggle",key:`showICS_${p.id}`,displayName:p.name,default:!0}));l.push({type:"group",displayName:o("groups.calendarSubscriptions"),items:u})}}if(n.googleCalendarService){let d=n.googleCalendarService.getAvailableCalendars();if(d.length>0){let u=d.map(p=>({type:"toggle",key:`showGoogleCalendar_${p.id}`,displayName:p.summary||p.id,default:!0}));l.push({type:"group",displayName:o("groups.googleCalendars")||"Google Calendars",items:u})}}if(n.microsoftCalendarService){let d=n.microsoftCalendarService.getAvailableCalendars();if(d.length>0){let u=d.map(p=>({type:"toggle",key:`showMicrosoftCalendar_${p.id}`,displayName:p.summary||p.id,default:!0}));l.push({type:"group",displayName:o("groups.microsoftCalendars")||"Microsoft Calendars",items:u})}}return l}}),i=Ug(n,"tasknotesMiniCalendar",{name:"TaskNotes Mini Calendar",icon:"tasknotes-simple",factory:see(n),options:()=>[{type:"property",key:"dateProperty",displayName:"Date Property",placeholder:"Select property to show on calendar",default:"file.ctime",filter:s=>s.startsWith("note.")||s.startsWith("file.")||s.startsWith("task.")},{type:"property",key:"titleProperty",displayName:"Title Property",placeholder:"Select property to use as title",default:"file.name",filter:s=>s.startsWith("note.")||s.startsWith("formula.")||s.startsWith("file.")}]});return!e&&!r&&!a&&!i?(console.debug("[TaskNotes][Bases] Bases plugin not available for registration"),!1):(n.app.workspace.iterateAllLeaves(s=>{var o,l;if(((l=(o=s.view)==null?void 0:o.getViewType)==null?void 0:l.call(o))==="bases"){let c=s.view;if(typeof c.refresh=="function")try{c.refresh()}catch(d){console.debug("[TaskNotes][Bases] Error refreshing view:",d)}}}),!0)}catch(e){return console.warn("[TaskNotes][Bases] Registration attempt failed:",e),!1}};if(!await t()){for(let e=0;e<5;e++)if(await new Promise(r=>setTimeout(r,200)),await t())return;console.warn("[TaskNotes][Bases] Failed to register views after multiple attempts")}}function MMe(n){try{Wg(n,"tasknotesTaskList"),Wg(n,"tasknotesKanban"),Wg(n,"tasknotesCalendar"),Wg(n,"tasknotesMiniCalendar")}catch(t){console.error("[TaskNotes][Bases] Error during view unregistration:",t)}}var cee,iw=b(()=>{cee=require("obsidian");lX();dX();iee();oee();lee()});var uee=D(()=>{var dee;(function(n){(function(t){var e=typeof globalThis=="object"?globalThis:typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:o(),r=a(n);typeof e.Reflect!="undefined"&&(r=a(e.Reflect,r)),t(r,e),typeof e.Reflect=="undefined"&&(e.Reflect=n);function a(l,c){return function(d,u){Object.defineProperty(l,d,{configurable:!0,writable:!0,value:u}),c&&c(d,u)}}function i(){try{return Function("return this;")()}catch(l){}}function s(){try{return(0,eval)("(function() { return this; })()")}catch(l){}}function o(){return i()||s()}})(function(t,e){var r=Object.prototype.hasOwnProperty,a=typeof Symbol=="function",i=a&&typeof Symbol.toPrimitive!="undefined"?Symbol.toPrimitive:"@@toPrimitive",s=a&&typeof Symbol.iterator!="undefined"?Symbol.iterator:"@@iterator",o=typeof Object.create=="function",l={__proto__:[]}instanceof Array,c=!o&&!l,d={create:o?function(){return uw(Object.create(null))}:l?function(){return uw({__proto__:null})}:function(){return uw({})},has:c?function(R,L){return r.call(R,L)}:function(R,L){return L in R},get:c?function(R,L){return r.call(R,L)?R[L]:void 0}:function(R,L){return R[L]}},u=Object.getPrototypeOf(Function),p=typeof Map=="function"&&typeof Map.prototype.entries=="function"?Map:Uee(),m=typeof Set=="function"&&typeof Set.prototype.entries=="function"?Set:Wee(),h=typeof WeakMap=="function"?WeakMap:qee(),f=a?Symbol.for("@reflect-metadata:registry"):void 0,g=jee(),v=Hee(g);function T(R,L,q,ee){if(Z(q)){if(!it(R))throw new TypeError;if(!Dt(L))throw new TypeError;return N(R,L)}else{if(!it(R))throw new TypeError;if(!Ye(L))throw new TypeError;if(!Ye(ee)&&!Z(ee)&&!Je(ee))throw new TypeError;return Je(ee)&&(ee=void 0),q=ge(q),P(R,L,q,ee)}}t("decorate",T);function k(R,L){function q(ee,Te){if(!Ye(ee))throw new TypeError;if(!Z(Te)&&!za(Te))throw new TypeError;H(R,L,ee,Te)}return q}t("metadata",k);function w(R,L,q,ee){if(!Ye(q))throw new TypeError;return Z(ee)||(ee=ge(ee)),H(R,L,q,ee)}t("defineMetadata",w);function S(R,L,q){if(!Ye(L))throw new TypeError;return Z(q)||(q=ge(q)),_(R,L,q)}t("hasMetadata",S);function x(R,L,q){if(!Ye(L))throw new TypeError;return Z(q)||(q=ge(q)),Y(R,L,q)}t("hasOwnMetadata",x);function I(R,L,q){if(!Ye(L))throw new TypeError;return Z(q)||(q=ge(q)),Q(R,L,q)}t("getMetadata",I);function A(R,L,q){if(!Ye(L))throw new TypeError;return Z(q)||(q=ge(q)),W(R,L,q)}t("getOwnMetadata",A);function B(R,L){if(!Ye(R))throw new TypeError;return Z(L)||(L=ge(L)),K(R,L)}t("getMetadataKeys",B);function z(R,L){if(!Ye(R))throw new TypeError;return Z(L)||(L=ge(L)),ae(R,L)}t("getOwnMetadataKeys",z);function U(R,L,q){if(!Ye(L))throw new TypeError;if(Z(q)||(q=ge(q)),!Ye(L))throw new TypeError;Z(q)||(q=ge(q));var ee=np(L,q,!1);return Z(ee)?!1:ee.OrdinaryDeleteMetadata(R,L,q)}t("deleteMetadata",U);function N(R,L){for(var q=R.length-1;q>=0;--q){var ee=R[q],Te=ee(L);if(!Z(Te)&&!Je(Te)){if(!Dt(Te))throw new TypeError;L=Te}}return L}function P(R,L,q,ee){for(var Te=R.length-1;Te>=0;--Te){var Qt=R[Te],cr=Qt(L,q,ee);if(!Z(cr)&&!Je(cr)){if(!Ye(cr))throw new TypeError;ee=cr}}return ee}function _(R,L,q){var ee=Y(R,L,q);if(ee)return!0;var Te=dw(L);return Je(Te)?!1:_(R,Te,q)}function Y(R,L,q){var ee=np(L,q,!1);return Z(ee)?!1:J(ee.OrdinaryHasOwnMetadata(R,L,q))}function Q(R,L,q){var ee=Y(R,L,q);if(ee)return W(R,L,q);var Te=dw(L);if(!Je(Te))return Q(R,Te,q)}function W(R,L,q){var ee=np(L,q,!1);if(!Z(ee))return ee.OrdinaryGetOwnMetadata(R,L,q)}function H(R,L,q,ee){var Te=np(q,ee,!0);Te.OrdinaryDefineOwnMetadata(R,L,q,ee)}function K(R,L){var q=ae(R,L),ee=dw(R);if(ee===null)return q;var Te=K(ee,L);if(Te.length<=0)return q;if(q.length<=0)return Te;for(var Qt=new m,cr=[],Ve=0,ne=q;Ve<ne.length;Ve++){var oe=ne[Ve],de=Qt.has(oe);de||(Qt.add(oe),cr.push(oe))}for(var fe=0,Ge=Te;fe<Ge.length;fe++){var oe=Ge[fe],de=Qt.has(oe);de||(Qt.add(oe),cr.push(oe))}return cr}function ae(R,L){var q=np(R,L,!1);return q?q.OrdinaryOwnMetadataKeys(R,L):[]}function ye(R){if(R===null)return 1;switch(typeof R){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return R===null?1:6;default:return 6}}function Z(R){return R===void 0}function Je(R){return R===null}function Rt(R){return typeof R=="symbol"}function Ye(R){return typeof R=="object"?R!==null:typeof R=="function"}function De(R,L){switch(ye(R)){case 0:return R;case 1:return R;case 2:return R;case 3:return R;case 4:return R;case 5:return R}var q=L===3?"string":L===5?"number":"default",ee=MF(R,i);if(ee!==void 0){var Te=ee.call(R,q);if(Ye(Te))throw new TypeError;return Te}return V(R,q==="default"?"number":q)}function V(R,L){if(L==="string"){var q=R.toString;if(Mt(q)){var ee=q.call(R);if(!Ye(ee))return ee}var Te=R.valueOf;if(Mt(Te)){var ee=Te.call(R);if(!Ye(ee))return ee}}else{var Te=R.valueOf;if(Mt(Te)){var ee=Te.call(R);if(!Ye(ee))return ee}var Qt=R.toString;if(Mt(Qt)){var ee=Qt.call(R);if(!Ye(ee))return ee}}throw new TypeError}function J(R){return!!R}function he(R){return""+R}function ge(R){var L=De(R,3);return Rt(L)?L:he(L)}function it(R){return Array.isArray?Array.isArray(R):R instanceof Object?R instanceof Array:Object.prototype.toString.call(R)==="[object Array]"}function Mt(R){return typeof R=="function"}function Dt(R){return typeof R=="function"}function za(R){switch(ye(R)){case 3:return!0;case 4:return!0;default:return!1}}function ui(R,L){return R===L||R!==R&&L!==L}function MF(R,L){var q=R[L];if(q!=null){if(!Mt(q))throw new TypeError;return q}}function AF(R){var L=MF(R,s);if(!Mt(L))throw new TypeError;var q=L.call(R);if(!Ye(q))throw new TypeError;return q}function IF(R){return R.value}function _F(R){var L=R.next();return L.done?!1:L}function NF(R){var L=R.return;L&&L.call(R)}function dw(R){var L=Object.getPrototypeOf(R);if(typeof R!="function"||R===u||L!==u)return L;var q=R.prototype,ee=q&&Object.getPrototypeOf(q);if(ee==null||ee===Object.prototype)return L;var Te=ee.constructor;return typeof Te!="function"||Te===R?L:Te}function Bee(){var R;!Z(f)&&typeof e.Reflect!="undefined"&&!(f in e.Reflect)&&typeof e.Reflect.defineMetadata=="function"&&(R=zee(e.Reflect));var L,q,ee,Te=new h,Qt={registerProvider:cr,getProvider:ne,setProvider:de};return Qt;function cr(fe){if(!Object.isExtensible(Qt))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case R===fe:break;case Z(L):L=fe;break;case L===fe:break;case Z(q):q=fe;break;case q===fe:break;default:ee===void 0&&(ee=new m),ee.add(fe);break}}function Ve(fe,Ge){if(!Z(L)){if(L.isProviderFor(fe,Ge))return L;if(!Z(q)){if(q.isProviderFor(fe,Ge))return L;if(!Z(ee))for(var At=AF(ee);;){var Zt=_F(At);if(!Zt)return;var Ua=IF(Zt);if(Ua.isProviderFor(fe,Ge))return NF(At),Ua}}}if(!Z(R)&&R.isProviderFor(fe,Ge))return R}function ne(fe,Ge){var At=Te.get(fe),Zt;return Z(At)||(Zt=At.get(Ge)),Z(Zt)&&(Zt=Ve(fe,Ge),Z(Zt)||(Z(At)&&(At=new p,Te.set(fe,At)),At.set(Ge,Zt))),Zt}function oe(fe){if(Z(fe))throw new TypeError;return L===fe||q===fe||!Z(ee)&&ee.has(fe)}function de(fe,Ge,At){if(!oe(At))throw new Error("Metadata provider not registered.");var Zt=ne(fe,Ge);if(Zt!==At){if(!Z(Zt))return!1;var Ua=Te.get(fe);Z(Ua)&&(Ua=new p,Te.set(fe,Ua)),Ua.set(Ge,At)}return!0}}function jee(){var R;return!Z(f)&&Ye(e.Reflect)&&Object.isExtensible(e.Reflect)&&(R=e.Reflect[f]),Z(R)&&(R=Bee()),!Z(f)&&Ye(e.Reflect)&&Object.isExtensible(e.Reflect)&&Object.defineProperty(e.Reflect,f,{enumerable:!1,configurable:!1,writable:!1,value:R}),R}function Hee(R){var L=new h,q={isProviderFor:function(oe,de){var fe=L.get(oe);return Z(fe)?!1:fe.has(de)},OrdinaryDefineOwnMetadata:cr,OrdinaryHasOwnMetadata:Te,OrdinaryGetOwnMetadata:Qt,OrdinaryOwnMetadataKeys:Ve,OrdinaryDeleteMetadata:ne};return g.registerProvider(q),q;function ee(oe,de,fe){var Ge=L.get(oe),At=!1;if(Z(Ge)){if(!fe)return;Ge=new p,L.set(oe,Ge),At=!0}var Zt=Ge.get(de);if(Z(Zt)){if(!fe)return;if(Zt=new p,Ge.set(de,Zt),!R.setProvider(oe,de,q))throw Ge.delete(de),At&&L.delete(oe),new Error("Wrong provider for target.")}return Zt}function Te(oe,de,fe){var Ge=ee(de,fe,!1);return Z(Ge)?!1:J(Ge.has(oe))}function Qt(oe,de,fe){var Ge=ee(de,fe,!1);if(!Z(Ge))return Ge.get(oe)}function cr(oe,de,fe,Ge){var At=ee(fe,Ge,!0);At.set(oe,de)}function Ve(oe,de){var fe=[],Ge=ee(oe,de,!1);if(Z(Ge))return fe;for(var At=Ge.keys(),Zt=AF(At),Ua=0;;){var RF=_F(Zt);if(!RF)return fe.length=Ua,fe;var Vee=IF(RF);try{fe[Ua]=Vee}catch($ee){try{NF(Zt)}finally{throw $ee}}Ua++}}function ne(oe,de,fe){var Ge=ee(de,fe,!1);if(Z(Ge)||!Ge.delete(oe))return!1;if(Ge.size===0){var At=L.get(de);Z(At)||(At.delete(fe),At.size===0&&L.delete(At))}return!0}}function zee(R){var L=R.defineMetadata,q=R.hasOwnMetadata,ee=R.getOwnMetadata,Te=R.getOwnMetadataKeys,Qt=R.deleteMetadata,cr=new h,Ve={isProviderFor:function(ne,oe){var de=cr.get(ne);return!Z(de)&&de.has(oe)?!0:Te(ne,oe).length?(Z(de)&&(de=new m,cr.set(ne,de)),de.add(oe),!0):!1},OrdinaryDefineOwnMetadata:L,OrdinaryHasOwnMetadata:q,OrdinaryGetOwnMetadata:ee,OrdinaryOwnMetadataKeys:Te,OrdinaryDeleteMetadata:Qt};return Ve}function np(R,L,q){var ee=g.getProvider(R,L);if(!Z(ee))return ee;if(q){if(g.setProvider(R,L,v))return v;throw new Error("Illegal state.")}}function Uee(){var R={},L=[],q=(function(){function Ve(ne,oe,de){this._index=0,this._keys=ne,this._values=oe,this._selector=de}return Ve.prototype["@@iterator"]=function(){return this},Ve.prototype[s]=function(){return this},Ve.prototype.next=function(){var ne=this._index;if(ne>=0&&ne<this._keys.length){var oe=this._selector(this._keys[ne],this._values[ne]);return ne+1>=this._keys.length?(this._index=-1,this._keys=L,this._values=L):this._index++,{value:oe,done:!1}}return{value:void 0,done:!0}},Ve.prototype.throw=function(ne){throw this._index>=0&&(this._index=-1,this._keys=L,this._values=L),ne},Ve.prototype.return=function(ne){return this._index>=0&&(this._index=-1,this._keys=L,this._values=L),{value:ne,done:!0}},Ve})(),ee=(function(){function Ve(){this._keys=[],this._values=[],this._cacheKey=R,this._cacheIndex=-2}return Object.defineProperty(Ve.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),Ve.prototype.has=function(ne){return this._find(ne,!1)>=0},Ve.prototype.get=function(ne){var oe=this._find(ne,!1);return oe>=0?this._values[oe]:void 0},Ve.prototype.set=function(ne,oe){var de=this._find(ne,!0);return this._values[de]=oe,this},Ve.prototype.delete=function(ne){var oe=this._find(ne,!1);if(oe>=0){for(var de=this._keys.length,fe=oe+1;fe<de;fe++)this._keys[fe-1]=this._keys[fe],this._values[fe-1]=this._values[fe];return this._keys.length--,this._values.length--,ui(ne,this._cacheKey)&&(this._cacheKey=R,this._cacheIndex=-2),!0}return!1},Ve.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=R,this._cacheIndex=-2},Ve.prototype.keys=function(){return new q(this._keys,this._values,Te)},Ve.prototype.values=function(){return new q(this._keys,this._values,Qt)},Ve.prototype.entries=function(){return new q(this._keys,this._values,cr)},Ve.prototype["@@iterator"]=function(){return this.entries()},Ve.prototype[s]=function(){return this.entries()},Ve.prototype._find=function(ne,oe){if(!ui(this._cacheKey,ne)){this._cacheIndex=-1;for(var de=0;de<this._keys.length;de++)if(ui(this._keys[de],ne)){this._cacheIndex=de;break}}return this._cacheIndex<0&&oe&&(this._cacheIndex=this._keys.length,this._keys.push(ne),this._values.push(void 0)),this._cacheIndex},Ve})();return ee;function Te(Ve,ne){return Ve}function Qt(Ve,ne){return ne}function cr(Ve,ne){return[Ve,ne]}}function Wee(){var R=(function(){function L(){this._map=new p}return Object.defineProperty(L.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),L.prototype.has=function(q){return this._map.has(q)},L.prototype.add=function(q){return this._map.set(q,q),this},L.prototype.delete=function(q){return this._map.delete(q)},L.prototype.clear=function(){this._map.clear()},L.prototype.keys=function(){return this._map.keys()},L.prototype.values=function(){return this._map.keys()},L.prototype.entries=function(){return this._map.entries()},L.prototype["@@iterator"]=function(){return this.keys()},L.prototype[s]=function(){return this.keys()},L})();return R}function qee(){var R=16,L=d.create(),q=ee();return(function(){function ne(){this._key=ee()}return ne.prototype.has=function(oe){var de=Te(oe,!1);return de!==void 0?d.has(de,this._key):!1},ne.prototype.get=function(oe){var de=Te(oe,!1);return de!==void 0?d.get(de,this._key):void 0},ne.prototype.set=function(oe,de){var fe=Te(oe,!0);return fe[this._key]=de,this},ne.prototype.delete=function(oe){var de=Te(oe,!1);return de!==void 0?delete de[this._key]:!1},ne.prototype.clear=function(){this._key=ee()},ne})();function ee(){var ne;do ne="@@WeakMap@@"+Ve();while(d.has(L,ne));return L[ne]=!0,ne}function Te(ne,oe){if(!r.call(ne,q)){if(!oe)return;Object.defineProperty(ne,q,{value:d.create()})}return ne[q]}function Qt(ne,oe){for(var de=0;de<oe;++de)ne[de]=Math.random()*255|0;return ne}function cr(ne){if(typeof Uint8Array=="function"){var oe=new Uint8Array(ne);return typeof crypto!="undefined"?crypto.getRandomValues(oe):typeof msCrypto!="undefined"?msCrypto.getRandomValues(oe):Qt(oe,ne),oe}return Qt(new Array(ne),ne)}function Ve(){var ne=cr(R);ne[6]=ne[6]&79|64,ne[8]=ne[8]&191|128;for(var oe="",de=0;de<R;++de){var fe=ne[de];(de===4||de===6||de===8)&&(oe+="-"),fe<16&&(oe+="0"),oe+=fe.toString(16).toLowerCase()}return oe}}function uw(R){return R.__=void 0,delete R.__,R}})})(dee||(dee={}))});var mee={};Be(mee,{Delete:()=>Vg,Get:()=>er,OpenAPI:()=>AMe,OpenAPIController:()=>bF,Post:()=>tr,Put:()=>TF,Route:()=>qg,generateOpenAPISpec:()=>kF,getOpenAPIOperation:()=>RMe,getRouteInfo:()=>NMe,getRoutes:()=>sw,hasOpenAPIEndpoints:()=>FMe});function bF(n){return Reflect.hasMetadata(ep,n)||Reflect.defineMetadata(ep,[],n),n}function qg(n,t){return function(e,r,a){Reflect.defineMetadata(vF,{method:n.toLowerCase(),path:t,handler:r},e,r);let i=Reflect.getMetadata("routes",e.constructor)||[];i.push({method:n.toLowerCase(),path:t,handler:r}),Reflect.defineMetadata("routes",i,e.constructor)}}function er(n){return qg("GET",n)}function tr(n){return qg("POST",n)}function TF(n){return qg("PUT",n)}function Vg(n){return qg("DELETE",n)}function AMe(n){return function(t,e,r){Reflect.defineMetadata(pee,n,t,e);let a=Reflect.getMetadata(ep,t.constructor)||[],i=Reflect.getMetadata(vF,t,e),{path:s,method:o}=i||IMe(e);a.push({path:s,method:o,operation:n}),Reflect.defineMetadata(ep,a,t.constructor)}}function IMe(n){return console.warn(`extractPathAndMethod is deprecated. Use @Route decorators on method: ${n}`),{path:"/api/unknown",method:"get"}}function kF(n){let t=Reflect.getMetadata(ep,n.constructor)||[],e=sw(n.constructor)||[],r={openapi:"3.0.0",info:{title:"TaskNotes API",version:"1.0.0",description:"RESTful API for managing tasks, time tracking, and automation in TaskNotes",contact:{name:"TaskNotes",url:"https://github.com/your-repo/tasknotes"}},servers:[{url:"http://localhost:8080",description:"Local development server"}],security:[{bearerAuth:[]}],paths:{},components:{securitySchemes:{bearerAuth:{type:"http",scheme:"bearer",bearerFormat:"JWT",description:"Optional bearer token for API authentication"}},schemas:_Me()}};for(let a of t)r.paths[a.path]||(r.paths[a.path]={}),r.paths[a.path][a.method.toLowerCase()]=a.operation;for(let a of e)r.paths[a.path]||(r.paths[a.path]={}),r.paths[a.path][a.method.toLowerCase()]||(r.paths[a.path][a.method.toLowerCase()]={summary:`${a.method.toUpperCase()} ${a.path}`,description:`${a.method.toUpperCase()} endpoint for ${a.path}`,responses:{200:{description:"Success",content:{"application/json":{schema:{$ref:"#/components/schemas/APIResponse"}}}},400:{description:"Bad Request",content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}}},500:{description:"Internal Server Error",content:{"application/json":{schema:{$ref:"#/components/schemas/Error"}}}}}});return r}function _Me(){return{APIResponse:{type:"object",properties:{success:{type:"boolean",description:"Whether the request was successful"},data:{description:"Response data (varies by endpoint)"},error:{type:"string",description:"Error message (present when success is false)"},message:{type:"string",description:"Optional success message"}},required:["success"]},Task:{type:"object",properties:{id:{type:"string",description:"Unique task identifier (file path)"},title:{type:"string",description:"Task title",maxLength:200},status:{type:"string",description:"Current task status",enum:["todo","open","completed","in-progress","cancelled"]},priority:{type:"string",description:"Task priority level",enum:["low","normal","medium","high","urgent"]},due:{type:"string",format:"date-time",description:"Due date and time (ISO 8601 format)",nullable:!0},scheduled:{type:"string",format:"date-time",description:"Scheduled date and time (ISO 8601 format)",nullable:!0},path:{type:"string",description:"File path of the task"},archived:{type:"boolean",description:"Whether the task is archived"},tags:{type:"array",items:{type:"string"},description:"Task tags"},contexts:{type:"array",items:{type:"string"},description:"Task contexts (GTD-style)"},projects:{type:"array",items:{type:"string"},description:"Associated projects"},timeEstimate:{type:"integer",minimum:0,description:"Estimated time in minutes",nullable:!0},details:{type:"string",description:"Additional task details/description",nullable:!0},dateCreated:{type:"string",format:"date-time",description:"Task creation timestamp"},dateModified:{type:"string",format:"date-time",description:"Last modification timestamp"}},required:["id","title","status","path"]},TaskCreationData:{type:"object",properties:{title:{type:"string",description:"Task title",maxLength:200},status:{type:"string",description:"Initial task status",enum:["todo","open","in-progress"]},priority:{type:"string",description:"Task priority level",enum:["low","normal","medium","high","urgent"]},due:{type:"string",format:"date-time",description:"Due date and time (ISO 8601 format)"},scheduled:{type:"string",format:"date-time",description:"Scheduled date and time (ISO 8601 format)"},tags:{type:"array",items:{type:"string"},description:"Task tags"},contexts:{type:"array",items:{type:"string"},description:"Task contexts"},projects:{type:"array",items:{type:"string"},description:"Associated projects"},details:{type:"string",description:"Task details/description"},timeEstimate:{type:"integer",minimum:0,description:"Estimated time in minutes"}},required:["title"]},TaskStats:{type:"object",properties:{total:{type:"integer",description:"Total number of tasks"},completed:{type:"integer",description:"Number of completed tasks"},active:{type:"integer",description:"Number of active (non-completed, non-archived) tasks"},overdue:{type:"integer",description:"Number of overdue tasks"},archived:{type:"integer",description:"Number of archived tasks"},withTimeTracking:{type:"integer",description:"Number of tasks with time tracking entries"}},required:["total","completed","active","overdue","archived","withTimeTracking"]},WebhookConfig:{type:"object",properties:{id:{type:"string",description:"Unique webhook identifier"},url:{type:"string",format:"uri",description:"Webhook endpoint URL"},events:{type:"array",items:{type:"string",enum:["task.created","task.updated","task.deleted","task.completed","task.archived","task.unarchived","time.started","time.stopped","pomodoro.started","pomodoro.completed","pomodoro.interrupted","recurring.instance.completed","reminder.triggered"]},description:"Events to subscribe to",minItems:1},active:{type:"boolean",description:"Whether the webhook is active"},transformFile:{type:"string",description:"Optional transform file path for payload customization"},corsHeaders:{type:"boolean",description:"Whether to include custom headers (disable for strict CORS services)"}},required:["url","events"]},PomodoroSession:{type:"object",properties:{id:{type:"string",description:"Unique session identifier"},type:{type:"string",enum:["work","short-break","long-break"],description:"Type of pomodoro session"},duration:{type:"integer",description:"Session duration in seconds"},startTime:{type:"string",format:"date-time",description:"Session start timestamp"},endTime:{type:"string",format:"date-time",description:"Session end timestamp",nullable:!0},task:{$ref:"#/components/schemas/Task",nullable:!0,description:"Associated task (if any)"}},required:["id","type","duration","startTime"]},PomodoroState:{type:"object",properties:{isRunning:{type:"boolean",description:"Whether a pomodoro session is currently running"},timeRemaining:{type:"integer",description:"Time remaining in current session (seconds)"},currentSession:{$ref:"#/components/schemas/PomodoroSession",nullable:!0,description:"Current active session (if any)"},nextSessionType:{type:"string",enum:["work","short-break","long-break"],nullable:!0,description:"Suggested next session type"},totalPomodoros:{type:"integer",description:"Total completed pomodoros (all time)"},currentStreak:{type:"integer",description:"Current consecutive pomodoro streak"},totalMinutesToday:{type:"integer",description:"Total focused minutes today"}},required:["isRunning","timeRemaining"]},PomodoroSessionHistory:{type:"object",properties:{id:{type:"string",description:"Session identifier"},type:{type:"string",enum:["work","short-break","long-break"]},startTime:{type:"string",format:"date-time"},endTime:{type:"string",format:"date-time"},duration:{type:"integer",description:"Actual session duration in seconds"},completed:{type:"boolean",description:"Whether the session was completed (not interrupted)"},taskPath:{type:"string",nullable:!0,description:"Associated task file path"},taskTitle:{type:"string",nullable:!0,description:"Associated task title"}},required:["id","type","startTime","endTime","duration","completed"]},PomodoroStats:{type:"object",properties:{totalSessions:{type:"integer",description:"Total number of sessions"},completedSessions:{type:"integer",description:"Number of completed sessions"},interruptedSessions:{type:"integer",description:"Number of interrupted sessions"},totalFocusTime:{type:"integer",description:"Total focused time in minutes"},workSessions:{type:"integer",description:"Number of work sessions"},breakSessions:{type:"integer",description:"Number of break sessions"},longestStreak:{type:"integer",description:"Longest consecutive completed sessions"},averageSessionLength:{type:"number",description:"Average session length in minutes"}},required:["totalSessions","completedSessions","interruptedSessions","totalFocusTime"]},TimeEntry:{type:"object",properties:{startTime:{type:"string",format:"date-time",description:"ISO timestamp when time tracking started"},endTime:{type:"string",format:"date-time",nullable:!0,description:"ISO timestamp when time tracking ended (null if still running)"},description:{type:"string",nullable:!0,description:"Optional description of work being tracked"},duration:{type:"integer",minimum:0,description:"Duration in minutes (calculated or manually set)"},isActive:{type:"boolean",description:"Whether this time entry is currently active"}},required:["startTime","duration","isActive"]},ActiveTimeSession:{type:"object",properties:{task:{type:"object",properties:{id:{type:"string",description:"Task identifier (file path)"},title:{type:"string",description:"Task title"},status:{type:"string",description:"Task status"},priority:{type:"string",description:"Task priority"},tags:{type:"array",items:{type:"string"},description:"Task tags"},projects:{type:"array",items:{type:"string"},description:"Associated projects"}},required:["id","title","status"]},session:{type:"object",properties:{startTime:{type:"string",format:"date-time",description:"When the session started"},description:{type:"string",nullable:!0,description:"Session description"},elapsedMinutes:{type:"integer",minimum:0,description:"Minutes elapsed since session started"}},required:["startTime","elapsedMinutes"]},elapsedMinutes:{type:"integer",minimum:0,description:"Total elapsed minutes for this session"}},required:["task","session","elapsedMinutes"]},TimeSummary:{type:"object",properties:{period:{type:"string",enum:["today","week","month","all","custom"],description:"Time period for the summary"},dateRange:{type:"object",properties:{from:{type:"string",format:"date-time",description:"Start date of the summary period"},to:{type:"string",format:"date-time",description:"End date of the summary period"}},required:["from","to"]},summary:{type:"object",properties:{totalMinutes:{type:"integer",minimum:0,description:"Total tracked time in minutes"},totalHours:{type:"number",minimum:0,description:"Total tracked time in hours (rounded to 2 decimals)"},tasksWithTime:{type:"integer",minimum:0,description:"Number of tasks with time tracking data"},activeTasks:{type:"integer",minimum:0,description:"Number of tasks with active time tracking"},completedTasks:{type:"integer",minimum:0,description:"Number of completed tasks with time tracking"}},required:["totalMinutes","totalHours","tasksWithTime","activeTasks","completedTasks"]},topTasks:{type:"array",items:{type:"object",properties:{task:{type:"string",description:"Task identifier"},title:{type:"string",description:"Task title"},minutes:{type:"integer",minimum:0,description:"Total minutes tracked for this task"}},required:["task","title","minutes"]},description:"Top 10 tasks by time tracked"},topProjects:{type:"array",items:{type:"object",properties:{project:{type:"string",description:"Project name"},minutes:{type:"integer",minimum:0,description:"Total minutes tracked for this project"}},required:["project","minutes"]},description:"Top 10 projects by time tracked"},topTags:{type:"array",items:{type:"object",properties:{tag:{type:"string",description:"Tag name"},minutes:{type:"integer",minimum:0,description:"Total minutes tracked for this tag"}},required:["tag","minutes"]},description:"Top 10 tags by time tracked"}},required:["period","dateRange","summary","topTasks","topProjects","topTags"]},TaskTimeData:{type:"object",properties:{task:{type:"object",properties:{id:{type:"string",description:"Task identifier (file path)"},title:{type:"string",description:"Task title"},status:{type:"string",description:"Task status"},priority:{type:"string",description:"Task priority"}},required:["id","title","status"]},summary:{type:"object",properties:{totalMinutes:{type:"integer",minimum:0,description:"Total time tracked for this task in minutes"},totalHours:{type:"number",minimum:0,description:"Total time tracked for this task in hours"},totalSessions:{type:"integer",minimum:0,description:"Total number of time tracking sessions"},completedSessions:{type:"integer",minimum:0,description:"Number of completed sessions"},activeSessions:{type:"integer",minimum:0,maximum:1,description:"Number of active sessions (0 or 1)"},averageSessionMinutes:{type:"number",minimum:0,description:"Average session length in minutes"}},required:["totalMinutes","totalHours","totalSessions","completedSessions","activeSessions","averageSessionMinutes"]},activeSession:{type:"object",nullable:!0,properties:{startTime:{type:"string",format:"date-time",description:"When the active session started"},description:{type:"string",nullable:!0,description:"Description of the active session"},elapsedMinutes:{type:"integer",minimum:0,description:"Minutes elapsed since session started"}},required:["startTime","elapsedMinutes"]},timeEntries:{type:"array",items:{$ref:"#/components/schemas/TimeEntry"},description:"All time entries for this task"}},required:["task","summary","timeEntries"]},Error:{type:"object",properties:{success:{type:"boolean",enum:[!1]},error:{type:"string",description:"Error message describing what went wrong"}},required:["success","error"]}}}function NMe(n,t){return Reflect.getMetadata(vF,n,t)}function sw(n){return Reflect.getMetadata("routes",n)||[]}function RMe(n,t){return Reflect.getMetadata(pee,n,t)}function FMe(n){return(Reflect.getMetadata(ep,n)||[]).length>0}var Wht,pee,ep,vF,Xs=b(()=>{Wht=Ie(uee()),pee=Symbol("openapi:operation"),ep=Symbol("openapi:endpoints"),vF=Symbol("route")});var hee,ow,fee=b(()=>{hee=require("url");Xs();ow=class{constructor(){this.routes=[]}compilePattern(t){let e=[],r=t.replace(/:([a-zA-Z_][a-zA-Z0-9_]*)/g,(i,s)=>(e.push(s),"([^/]+)"));return{regex:new RegExp(`^${r}$`),paramNames:e}}register(t,e,r){let{regex:a,paramNames:i}=this.compilePattern(e);this.routes.push({method:t,pattern:e,handler:r,regex:a,paramNames:i})}get(t,e){this.register("GET",t,e)}post(t,e){this.register("POST",t,e)}put(t,e){this.register("PUT",t,e)}delete(t,e){this.register("DELETE",t,e)}options(t,e){this.register("OPTIONS",t,e)}async route(t,e){let a=(0,hee.parse)(t.url||"",!0).pathname||"",i=t.method;for(let s of this.routes)if(s.method===i){let o=a.match(s.regex);if(o){let l={};for(let c=0;c<s.paramNames.length;c++){let d=s.paramNames[c],u=o[c+1];u&&(l[d]=decodeURIComponent(u))}return await s.handler(t,e,l),!0}}return!1}registerController(t){let e=sw(t.constructor);for(let r of e){let a=t[r.handler];typeof a=="function"&&this.register(r.method.toUpperCase(),r.path,a.bind(t))}}getRoutes(){return this.routes}}});var ja,tp=b(()=>{ja=class{sendResponse(t,e,r){t.statusCode=e,t.setHeader("Content-Type","application/json"),t.setHeader("Access-Control-Allow-Origin","*"),t.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),t.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization"),t.end(JSON.stringify(r))}successResponse(t,e){return{success:!0,data:t,message:e}}errorResponse(t){return{success:!1,error:t}}async parseRequestBody(t){return new Promise((e,r)=>{let a="";t.on("data",i=>{a+=i.toString()}),t.on("end",()=>{try{e(a?JSON.parse(a):{})}catch(i){r(new Error("Invalid JSON"))}}),t.on("error",r)})}}});var gee,gn,yee=b(()=>{gee=require("url");tp();Xs();gn=class extends ja{constructor(e,r,a,i,s,o){super();this.plugin=e;this.taskService=r;this.filterService=a;this.cacheManager=i;this.statusManager=s;this.webhookNotifier=o}async getTasks(e,r){try{let i=(0,gee.parse)(e.url||"",!0).query;if(["status","priority","project","tag","overdue","completed","archived","due_before","due_after","sort"].some(h=>i[h])){this.sendResponse(r,400,this.errorResponse("For filtering tasks, please use POST /api/tasks/query which supports advanced filtering capabilities. GET /api/tasks is for basic listing only. See API documentation for details."));return}let l=await this.cacheManager.getAllTasks(),c=0,d=50;i.offset&&(c=parseInt(i.offset,10),(isNaN(c)||c<0)&&(c=0)),i.limit&&(d=parseInt(i.limit,10),(isNaN(d)||d<1)&&(d=50),d>200&&(d=200));let u=l.slice(c,c+d),p=this.plugin.app.vault.adapter,m=null;try{"basePath"in p&&typeof p.basePath=="string"?m=p.basePath:"path"in p&&typeof p.path=="string"&&(m=p.path)}catch(h){}this.sendResponse(r,200,this.successResponse({tasks:u,pagination:{total:l.length,offset:c,limit:d,hasMore:c+d<l.length},vault:{name:this.plugin.app.vault.getName(),path:m},note:"For filtering and advanced queries, use POST /api/tasks/query"}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async createTask(e,r){try{let a=await this.parseRequestBody(e);if(!a.title||!a.title.trim()){this.sendResponse(r,400,this.errorResponse("Title is required"));return}let i=await this.taskService.createTask(a);await this.webhookNotifier.triggerWebhook("task.created",{task:i.taskInfo}),this.sendResponse(r,201,this.successResponse(i.taskInfo))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async getTask(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(i);if(!s){this.sendResponse(r,404,this.errorResponse("Task not found"));return}this.sendResponse(r,200,this.successResponse(s))}catch(i){this.sendResponse(r,500,this.errorResponse(i.message))}}async updateTask(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let s=await this.parseRequestBody(e),o=await this.cacheManager.getTaskInfo(i);if(!o){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let l=await this.taskService.updateTask(o,s);await this.webhookNotifier.triggerWebhook("task.updated",{task:l,previous:o}),this.sendResponse(r,200,this.successResponse(l))}catch(i){this.sendResponse(r,400,this.errorResponse(i.message))}}async deleteTask(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(i);if(!s){this.sendResponse(r,404,this.errorResponse("Task not found"));return}await this.taskService.deleteTask(s),await this.webhookNotifier.triggerWebhook("task.deleted",{task:s}),this.sendResponse(r,200,this.successResponse({message:"Task deleted successfully"}))}catch(i){this.sendResponse(r,500,this.errorResponse(i.message))}}async toggleStatus(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(i);if(!s){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let o=await this.taskService.toggleStatus(s),l=this.statusManager.isCompletedStatus(s.status),c=this.statusManager.isCompletedStatus(o.status);!l&&c?await this.webhookNotifier.triggerWebhook("task.completed",{task:o}):await this.webhookNotifier.triggerWebhook("task.updated",{task:o,previous:s}),this.sendResponse(r,200,this.successResponse(o))}catch(i){this.sendResponse(r,400,this.errorResponse(i.message))}}async toggleArchive(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(i);if(!s){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let o=await this.taskService.toggleArchive(s);o.archived?await this.webhookNotifier.triggerWebhook("task.archived",{task:o}):await this.webhookNotifier.triggerWebhook("task.unarchived",{task:o}),this.sendResponse(r,200,this.successResponse(o))}catch(i){this.sendResponse(r,400,this.errorResponse(i.message))}}async completeRecurringInstance(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let{date:s}=await this.parseRequestBody(e),o=await this.cacheManager.getTaskInfo(i);if(!o){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let l=s?new Date(s):void 0,c=await this.taskService.toggleRecurringTaskComplete(o,l);this.sendResponse(r,200,this.successResponse(c))}catch(i){this.sendResponse(r,400,this.errorResponse(i.message))}}async queryTasks(e,r){try{let a=await this.parseRequestBody(e),i=await this.filterService.getGroupedTasks(a),s=[];for(let d of i.values())s.push(...d);let o=await this.cacheManager.getAllTasks(),l=this.plugin.app.vault.adapter,c=null;try{"basePath"in l&&typeof l.basePath=="string"?c=l.basePath:"path"in l&&typeof l.path=="string"&&(c=l.path)}catch(d){}this.sendResponse(r,200,this.successResponse({tasks:s,total:o.length,filtered:s.length,vault:{name:this.plugin.app.vault.getName(),path:c}}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async getFilterOptions(e,r){try{let a=await this.filterService.getFilterOptions();this.sendResponse(r,200,this.successResponse(a))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async getStats(e,r){try{let a=await this.cacheManager.getAllTasks(),i={total:a.length,completed:a.filter(s=>this.statusManager.isCompletedStatus(s.status)).length,active:a.filter(s=>!this.statusManager.isCompletedStatus(s.status)&&!s.archived).length,overdue:a.filter(s=>this.statusManager.isCompletedStatus(s.status)||s.archived?!1:s.due&&new Date(s.due)<new Date).length,archived:a.filter(s=>s.archived).length,withTimeTracking:a.filter(s=>s.timeEntries&&s.timeEntries.length>0).length};this.sendResponse(r,200,this.successResponse(i))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}};He([er("/api/tasks")],gn.prototype,"getTasks",1),He([tr("/api/tasks")],gn.prototype,"createTask",1),He([er("/api/tasks/:id")],gn.prototype,"getTask",1),He([TF("/api/tasks/:id")],gn.prototype,"updateTask",1),He([Vg("/api/tasks/:id")],gn.prototype,"deleteTask",1),He([tr("/api/tasks/:id/toggle-status")],gn.prototype,"toggleStatus",1),He([tr("/api/tasks/:id/archive")],gn.prototype,"toggleArchive",1),He([tr("/api/tasks/:id/complete-instance")],gn.prototype,"completeRecurringInstance",1),He([tr("/api/tasks/query")],gn.prototype,"queryTasks",1),He([er("/api/filter-options")],gn.prototype,"getFilterOptions",1),He([er("/api/stats")],gn.prototype,"getStats",1)});var vee,Qi,bee=b(()=>{vee=require("url");tp();Xs();Qi=class extends ja{constructor(e,r,a,i,s){super();this.plugin=e;this.taskService=r;this.cacheManager=a;this.statusManager=i;this.webhookNotifier=s}async startTimeTracking(e,r,a){var i;try{let s=a==null?void 0:a.id;if(!s){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let o=await this.cacheManager.getTaskInfo(s);if(!o){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let l=await this.taskService.startTimeTracking(o);await this.webhookNotifier.triggerWebhook("time.started",{task:l,session:(i=l.timeEntries)==null?void 0:i[l.timeEntries.length-1]}),this.sendResponse(r,200,this.successResponse(l))}catch(s){this.sendResponse(r,400,this.errorResponse(s.message))}}async stopTimeTracking(e,r,a){var i;try{let s=a==null?void 0:a.id;if(!s){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let o=await this.cacheManager.getTaskInfo(s);if(!o){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let l=await this.taskService.stopTimeTracking(o);await this.webhookNotifier.triggerWebhook("time.stopped",{task:l,session:(i=l.timeEntries)==null?void 0:i[l.timeEntries.length-1]}),this.sendResponse(r,200,this.successResponse(l))}catch(s){this.sendResponse(r,400,this.errorResponse(s.message))}}async startTimeTrackingWithDescription(e,r,a){var i;try{let s=a==null?void 0:a.id;if(!s){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let o=await this.cacheManager.getTaskInfo(s);if(!o){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let c=(await this.parseRequestBody(e)).description||"",d=await this.taskService.startTimeTracking(o);if(c&&d.timeEntries&&d.timeEntries.length>0){let u=d.timeEntries[d.timeEntries.length-1];u&&!u.endTime&&(u.description=c,await this.taskService.updateTask(d,{timeEntries:d.timeEntries}))}await this.webhookNotifier.triggerWebhook("time.started",{task:d,session:(i=d.timeEntries)==null?void 0:i[d.timeEntries.length-1]}),this.sendResponse(r,200,this.successResponse({task:d,message:c?`Time tracking started with description: ${c}`:"Time tracking started"}))}catch(s){this.sendResponse(r,400,this.errorResponse(s.message))}}async getActiveTimeSessions(e,r){try{let a=await this.cacheManager.getAllTasks(),i=[];for(let s of a){let o=this.plugin.getActiveTimeSession(s);if(o){let l=new Date(o.startTime),c=Math.floor((Date.now()-l.getTime())/(1e3*60));i.push({task:{id:s.path,title:s.title,status:s.status,priority:s.priority,tags:s.tags||[],projects:s.projects||[]},session:{startTime:o.startTime,description:o.description,elapsedMinutes:c},elapsedMinutes:c})}}this.sendResponse(r,200,this.successResponse({activeSessions:i,totalActiveSessions:i.length,totalElapsedMinutes:i.reduce((s,o)=>s+o.elapsedMinutes,0)}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async getTimeSummary(e,r){try{let i=(0,vee.parse)(e.url||"",!0).query,s=await this.cacheManager.getAllTasks(),o=i.period||"today",l=i.from?new Date(i.from):null,c=i.to?new Date(i.to):null,d,u=new Date;switch(o){case"today":d=new Date,d.setHours(0,0,0,0);break;case"week":d=new Date,d.setDate(d.getDate()-d.getDay()),d.setHours(0,0,0,0);break;case"month":d=new Date,d.setDate(1),d.setHours(0,0,0,0);break;case"all":d=new Date(0);break;default:l?(d=l,c&&(u=c)):(d=new Date,d.setHours(0,0,0,0))}let p=0,m=0,h=0,f=[],g=new Map,v=new Map;for(let S of s){if(!S.timeEntries||S.timeEntries.length===0)continue;let x=0,I=!1;for(let A of S.timeEntries){let B=new Date(A.startTime),z=A.endTime?new Date(A.endTime):new Date;if(B>=d&&B<=u)if(A.duration)x+=A.duration;else if(A.endTime){let U=z.getTime()-B.getTime();x+=Math.floor(U/(1e3*60))}else{let U=Math.floor((Date.now()-B.getTime())/6e4);x+=U,I=!0}}if(x>0){if(p+=x,f.push({task:S.path,title:S.title,minutes:x}),I?h++:this.statusManager.isCompletedStatus(S.status)&&m++,S.projects)for(let A of S.projects){let B=g.get(A)||0;g.set(A,B+x)}if(S.tags)for(let A of S.tags){let B=v.get(A)||0;v.set(A,B+x)}}}f.sort((S,x)=>x.minutes-S.minutes);let T=f.slice(0,10),k=Array.from(g.entries()).sort((S,x)=>x[1]-S[1]).slice(0,10).map(([S,x])=>({project:S,minutes:x})),w=Array.from(v.entries()).sort((S,x)=>x[1]-S[1]).slice(0,10).map(([S,x])=>({tag:S,minutes:x}));this.sendResponse(r,200,this.successResponse({period:o,dateRange:{from:d.toISOString(),to:u.toISOString()},summary:{totalMinutes:p,totalHours:Math.round(p/60*100)/100,tasksWithTime:f.length,activeTasks:h,completedTasks:m},topTasks:T,topProjects:k,topTags:w}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async getTaskTimeData(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Task ID is required"));return}let s=await this.cacheManager.getTaskInfo(i);if(!s){this.sendResponse(r,404,this.errorResponse("Task not found"));return}let o=s.timeEntries||[],l=this.plugin.getActiveTimeSession(s),c=this.calculateTotalTimeSpent(o),d=o.filter(h=>h.endTime).length,u=l?1:0,p=o.filter(h=>h.endTime&&h.duration),m=p.length>0?Math.round(p.reduce((h,f)=>h+(f.duration||0),0)/p.length*100)/100:0;this.sendResponse(r,200,this.successResponse({task:{id:s.path,title:s.title,status:s.status,priority:s.priority},summary:{totalMinutes:c,totalHours:Math.round(c/60*100)/100,totalSessions:o.length,completedSessions:d,activeSessions:u,averageSessionMinutes:m},activeSession:l?{startTime:l.startTime,description:l.description,elapsedMinutes:Math.floor((Date.now()-new Date(l.startTime).getTime())/(1e3*60))}:null,timeEntries:o.map(h=>({startTime:h.startTime,endTime:h.endTime||null,description:h.description||null,duration:h.duration||(h.endTime?Math.floor((new Date(h.endTime).getTime()-new Date(h.startTime).getTime())/(1e3*60)):Math.floor((Date.now()-new Date(h.startTime).getTime())/(1e3*60))),isActive:!h.endTime}))}))}catch(i){this.sendResponse(r,500,this.errorResponse(i.message))}}calculateTotalTimeSpent(e){return!e||e.length===0?0:e.reduce((r,a)=>{if(a.duration)return r+a.duration;if(a.endTime){let i=new Date(a.endTime).getTime()-new Date(a.startTime).getTime();return r+Math.floor(i/(1e3*60))}else{let i=Date.now()-new Date(a.startTime).getTime();return r+Math.floor(i/(1e3*60))}},0)}};He([tr("/api/tasks/:id/time/start")],Qi.prototype,"startTimeTracking",1),He([tr("/api/tasks/:id/time/stop")],Qi.prototype,"stopTimeTracking",1),He([tr("/api/tasks/:id/time/start-with-description")],Qi.prototype,"startTimeTrackingWithDescription",1),He([er("/api/time/active")],Qi.prototype,"getActiveTimeSessions",1),He([er("/api/time/summary")],Qi.prototype,"getTimeSummary",1),He([er("/api/tasks/:id/time")],Qi.prototype,"getTaskTimeData",1)});var wF,di,Tee=b(()=>{wF=require("url");tp();Xs();di=class extends ja{constructor(e,r){super();this.plugin=e;this.cacheManager=r}async startPomodoro(e,r){try{let a=await this.parseRequestBody(e),i;if(a.taskId){let c=await this.cacheManager.getTaskInfo(a.taskId);if(!c){this.sendResponse(r,404,this.errorResponse("Task not found"));return}i=c}if(this.plugin.pomodoroService.getState().isRunning){this.sendResponse(r,400,this.errorResponse("Pomodoro session is already running. Stop or pause the current session first."));return}let o=a.duration?parseInt(a.duration):void 0;await this.plugin.pomodoroService.startPomodoro(i,o);let l=this.plugin.pomodoroService.getState();this.sendResponse(r,200,this.successResponse({session:l.currentSession,task:i||null,message:"Pomodoro session started"}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async stopPomodoro(e,r){try{if(!this.plugin.pomodoroService.getState().currentSession){this.sendResponse(r,400,this.errorResponse("No active pomodoro session to stop"));return}await this.plugin.pomodoroService.stopPomodoro(),this.sendResponse(r,200,this.successResponse({message:"Pomodoro session stopped and reset"}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async pausePomodoro(e,r){try{let a=this.plugin.pomodoroService.getState();if(!a.isRunning||!a.currentSession){this.sendResponse(r,400,this.errorResponse("No running pomodoro session to pause"));return}await this.plugin.pomodoroService.pausePomodoro();let i=this.plugin.pomodoroService.getState();this.sendResponse(r,200,this.successResponse({timeRemaining:i.timeRemaining,message:"Pomodoro session paused"}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async resumePomodoro(e,r){try{let a=this.plugin.pomodoroService.getState();if(a.isRunning){this.sendResponse(r,400,this.errorResponse("Pomodoro session is already running"));return}if(!a.currentSession){this.sendResponse(r,400,this.errorResponse("No paused session to resume"));return}await this.plugin.pomodoroService.resumePomodoro();let i=this.plugin.pomodoroService.getState();this.sendResponse(r,200,this.successResponse({timeRemaining:i.timeRemaining,message:"Pomodoro session resumed"}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async getPomodoroStatus(e,r){try{let i={...this.plugin.pomodoroService.getState(),totalPomodoros:await this.plugin.pomodoroService.getPomodorosCompleted(),currentStreak:await this.plugin.pomodoroService.getCurrentStreak(),totalMinutesToday:await this.plugin.pomodoroService.getTotalMinutesToday()};this.sendResponse(r,200,this.successResponse(i))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async getPomodoroSessions(e,r){try{let i=(0,wF.parse)(e.url||"",!0).query,s=await this.plugin.pomodoroService.getSessionHistory();if(i.date&&typeof i.date=="string"){let l=i.date;s=s.filter(c=>new Date(c.startTime).toISOString().split("T")[0]===l)}let o=s.length;if(i.limit&&typeof i.limit=="string"){let l=parseInt(i.limit);l>0&&(s=s.slice(-l))}this.sendResponse(r,200,this.successResponse({sessions:s,total:o}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async getPomodoroStats(e,r){try{let i=(0,wF.parse)(e.url||"",!0).query,s;if(i.date&&typeof i.date=="string"){let o=new Date(i.date);s=await this.plugin.pomodoroService.getStatsForDate(o)}else s=await this.plugin.pomodoroService.getTodayStats();this.sendResponse(r,200,this.successResponse(s))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}};He([tr("/api/pomodoro/start")],di.prototype,"startPomodoro",1),He([tr("/api/pomodoro/stop")],di.prototype,"stopPomodoro",1),He([tr("/api/pomodoro/pause")],di.prototype,"pausePomodoro",1),He([tr("/api/pomodoro/resume")],di.prototype,"resumePomodoro",1),He([er("/api/pomodoro/status")],di.prototype,"getPomodoroStatus",1),He([er("/api/pomodoro/sessions")],di.prototype,"getPomodoroSessions",1),He([er("/api/pomodoro/stats")],di.prototype,"getPomodoroStats",1)});var eo,kee=b(()=>{tp();Xs();eo=class extends ja{constructor(e,r,a,i,s){super();this.plugin=e;this.taskService=r;this.nlParser=a;this.webhookNotifier=i;this.httpAPIService=s}async healthCheck(e,r){let a=this.plugin.app.vault.getName(),i=this.plugin.app.vault.adapter,s=null;try{"basePath"in i&&typeof i.basePath=="string"?s=i.basePath:"path"in i&&typeof i.path=="string"&&(s=i.path)}catch(o){}this.sendResponse(r,200,this.successResponse({status:"ok",timestamp:new Date().toISOString(),vault:{name:a,path:s}}))}async handleNLPParse(e,r){try{let a=await this.parseRequestBody(e);if(!a.text||typeof a.text!="string"){this.sendResponse(r,400,this.errorResponse("Text field is required and must be a string"));return}let i=this.nlParser.parseInput(a.text),s={title:i.title,details:i.details,priority:i.priority,status:i.status||this.getDefaultStatus(),tags:i.tags,contexts:i.contexts,projects:i.projects,recurrence:i.recurrence,timeEstimate:i.estimate};i.dueDate&&(s.due=i.dueDate,i.dueTime&&(s.due=`${i.dueDate} ${i.dueTime}`)),i.scheduledDate&&(s.scheduled=i.scheduledDate,i.scheduledTime&&(s.scheduled=`${i.scheduledDate} ${i.scheduledTime}`)),this.sendResponse(r,200,this.successResponse({parsed:i,taskData:s}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async handleNLPCreate(e,r){try{let a=await this.parseRequestBody(e);if(!a.text||typeof a.text!="string"){this.sendResponse(r,400,this.errorResponse("Text field is required and must be a string"));return}let i=this.nlParser.parseInput(a.text),s={title:i.title,details:i.details,priority:i.priority,status:i.status||this.getDefaultStatus(),tags:i.tags,contexts:i.contexts,projects:i.projects,recurrence:i.recurrence,timeEstimate:i.estimate,creationContext:"api"};i.dueDate&&(s.due=i.dueDate,i.dueTime&&(s.due=`${i.dueDate} ${i.dueTime}`)),i.scheduledDate&&(s.scheduled=i.scheduledDate,i.scheduledTime&&(s.scheduled=`${i.scheduledDate} ${i.scheduledTime}`));let o=await this.taskService.createTask(s);await this.webhookNotifier.triggerWebhook("task.created",{task:o.taskInfo,source:"nlp",originalText:a.text}),this.sendResponse(r,201,this.successResponse({task:o.taskInfo,parsed:i}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async handleOpenAPISpec(e,r){try{let a=this.httpAPIService&&this.httpAPIService.generateOpenAPISpec?this.httpAPIService.generateOpenAPISpec():kF(this);r.statusCode=200,r.setHeader("Content-Type","application/json"),r.setHeader("Access-Control-Allow-Origin","*"),r.end(JSON.stringify(a,null,2))}catch(a){console.error("OpenAPI spec generation error:",a),this.sendResponse(r,500,this.errorResponse("Failed to generate API specification"))}}async handleSwaggerUI(e,r){try{let a=this.generateSwaggerUIHTML();r.statusCode=200,r.setHeader("Content-Type","text/html"),r.setHeader("Access-Control-Allow-Origin","*"),r.end(a)}catch(a){console.error("Swagger UI generation error:",a),this.sendResponse(r,500,this.errorResponse("Failed to generate API documentation"))}}getDefaultStatus(){let e=this.plugin.settings.customStatuses;return e&&e.length>0?[...e].sort((a,i)=>a.order-i.order)[0].value:"open"}generateSwaggerUIHTML(){return`<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>TaskNotes API Documentation</title>
|
||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui.css" />
|
||
<style>
|
||
body { margin: 0; }
|
||
.swagger-ui .topbar { display: none; }
|
||
.swagger-ui .info .title { color: #663399; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div id="swagger-ui"></div>
|
||
<script src="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui-bundle.js"><\/script>
|
||
<script src="https://unpkg.com/swagger-ui-dist@5.9.0/swagger-ui-standalone-preset.js"><\/script>
|
||
<script>
|
||
SwaggerUIBundle({
|
||
url: 'http://localhost:${this.plugin.settings.apiPort}/api/docs',
|
||
dom_id: '#swagger-ui',
|
||
deepLinking: true,
|
||
presets: [
|
||
SwaggerUIBundle.presets.apis,
|
||
SwaggerUIStandalonePreset
|
||
],
|
||
plugins: [
|
||
SwaggerUIBundle.plugins.DownloadUrl
|
||
],
|
||
layout: "StandaloneLayout",
|
||
tryItOutEnabled: true,
|
||
displayRequestDuration: true,
|
||
docExpansion: 'list',
|
||
filter: true,
|
||
validatorUrl: null
|
||
});
|
||
<\/script>
|
||
</body>
|
||
</html>`}};He([er("/api/health")],eo.prototype,"healthCheck",1),He([tr("/api/nlp/parse")],eo.prototype,"handleNLPParse",1),He([tr("/api/nlp/create")],eo.prototype,"handleNLPCreate",1),He([er("/api/docs")],eo.prototype,"handleOpenAPISpec",1),He([er("/api/docs/ui")],eo.prototype,"handleSwaggerUI",1)});var lw,al,wee=b(()=>{tp();lw=require("crypto");Xs();al=class extends ja{constructor(e){super();this.plugin=e;this.webhooks=new Map;this.webhookDeliveryQueue=[];this.loadWebhooks()}async registerWebhook(e,r){try{let a=await this.parseRequestBody(e);if(!a.url||typeof a.url!="string"){this.sendResponse(r,400,this.errorResponse("URL is required and must be a string"));return}if(!a.events||!Array.isArray(a.events)||a.events.length===0){this.sendResponse(r,400,this.errorResponse("Events array is required and must not be empty"));return}let i=a.id||this.generateWebhookId(),s=a.secret||this.generateWebhookSecret(),o={id:i,url:a.url,events:a.events,secret:s,active:a.active!==!1,createdAt:new Date().toISOString(),failureCount:0,successCount:0,transformFile:a.transformFile||void 0,corsHeaders:a.corsHeaders!==!1};this.webhooks.set(i,o),await this.saveWebhooks(),this.sendResponse(r,201,this.successResponse({webhook:o,message:"Webhook registered successfully. Save the secret for signature validation."}))}catch(a){this.sendResponse(r,400,this.errorResponse(a.message))}}async listWebhooks(e,r){try{let a=Array.from(this.webhooks.values()).map(i=>({...i,secret:void 0}));this.sendResponse(r,200,this.successResponse({webhooks:a,total:a.length}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async deleteWebhook(e,r,a){try{let i=a==null?void 0:a.id;if(!i){this.sendResponse(r,400,this.errorResponse("Webhook ID is required"));return}if(!this.webhooks.has(i)){this.sendResponse(r,404,this.errorResponse("Webhook not found"));return}this.webhooks.delete(i),await this.saveWebhooks(),this.sendResponse(r,200,this.successResponse({message:"Webhook deleted successfully"}))}catch(i){this.sendResponse(r,500,this.errorResponse(i.message))}}async getWebhookDeliveries(e,r){try{let a=this.webhookDeliveryQueue.slice(-100);this.sendResponse(r,200,this.successResponse({deliveries:a,total:a.length}))}catch(a){this.sendResponse(r,500,this.errorResponse(a.message))}}async triggerWebhook(e,r){setImmediate(()=>{this.processWebhookTrigger(e,r).catch(a=>{console.error("Webhook processing error:",a)})})}async processWebhookTrigger(e,r){let a=Array.from(this.webhooks.values()).filter(l=>l.active&&l.events.includes(e));if(a.length===0)return;let i=this.plugin.app.vault.adapter,s=null;try{"basePath"in i&&typeof i.basePath=="string"?s=i.basePath:"path"in i&&typeof i.path=="string"&&(s=i.path)}catch(l){}let o={event:e,timestamp:new Date().toISOString(),vault:{name:this.plugin.app.vault.getName(),path:s},data:r};for(let l of a){let c=o;if(l.transformFile)try{c=await this.applyTransformation(l.transformFile,o)}catch(u){console.error(`Transform error for ${l.transformFile}:`,u)}let d={id:this.generateDeliveryId(),webhookId:l.id,event:e,payload:c,status:"pending",attempts:0};this.webhookDeliveryQueue.push(d),this.deliverWebhook(l,d)}this.webhookDeliveryQueue.length>100&&(this.webhookDeliveryQueue=this.webhookDeliveryQueue.slice(-100))}async deliverWebhook(e,r,a=0){try{r.attempts++,r.lastAttempt=new Date().toISOString();let s=this.generateSignature(r.payload,e.secret),o={"Content-Type":"application/json"};e.corsHeaders!==!1&&(o["X-TaskNotes-Event"]=r.event,o["X-TaskNotes-Signature"]=s,o["X-TaskNotes-Delivery-ID"]=r.id);let l=await fetch(e.url,{method:"POST",headers:o,body:JSON.stringify(r.payload)});if(r.responseStatus=l.status,l.ok)r.status="success",e.successCount++,e.lastTriggered=new Date().toISOString();else throw new Error(`HTTP ${l.status}: ${l.statusText}`)}catch(s){if(r.error=s.message,e.failureCount++,a<3){let o=Math.pow(2,a)*1e3;setTimeout(()=>{this.deliverWebhook(e,r,a+1)},o)}else r.status="failed",e.failureCount>10&&(e.active=!1,console.warn(`Webhook ${e.id} disabled after ${e.failureCount} failures`))}await this.saveWebhooks()}generateSignature(e,r){let a=(0,lw.createHmac)("sha256",r);return a.update(JSON.stringify(e)),a.digest("hex")}generateWebhookId(){return`wh_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}generateWebhookSecret(){return(0,lw.createHash)("sha256").update(Date.now().toString()+Math.random().toString()).digest("hex")}generateDeliveryId(){return`del_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}async saveWebhooks(){let e=Array.from(this.webhooks.values());this.plugin.settings.webhooks=e,await this.plugin.saveSettings()}loadWebhooks(){if(this.plugin.settings.webhooks){this.webhooks.clear();for(let e of this.plugin.settings.webhooks)this.webhooks.set(e.id,e)}}async applyTransformation(e,r){try{return console.log(`\u{1F527} Applying transformation: ${e}`),e.endsWith(".js")?await this.applyJSTransformation(e,r):e.endsWith(".json")?await this.applyJSONTransformation(e,r):(console.warn(`\u26A0\uFE0F Unknown transform file type for ${e}, using original payload`),r)}catch(a){throw console.error(`\u274C Transformation failed for ${e}:`,a),a}}async applyJSTransformation(e,r){try{console.log(`\u{1F4C2} Reading transform file: ${e}`);let a;try{a=await this.plugin.app.vault.adapter.read(e),console.log(`\u2705 Transform file loaded successfully (${a.length} characters)`)}catch(o){throw new Error(`Failed to read transform file '${e}': ${o.message}. Please check the file path and ensure it exists in your vault.`)}if(!a.trim())throw new Error(`Transform file '${e}' is empty. Please add a transform function.`);a.includes("function transform")||console.warn(`\u26A0\uFE0F Transform file '${e}' may not contain a 'transform' function`),console.log(`\u{1F527} Executing transform function for event: ${r.event}`);let s=new Function("payload",`
|
||
${a}
|
||
if (typeof transform === 'function') {
|
||
console.log("\u{1F525} transform file loaded");
|
||
return transform(payload);
|
||
} else {
|
||
throw new Error('Transform file must export a transform function. Expected: function transform(payload) { ... }');
|
||
}
|
||
`)(r);return console.log(`\u2705 Transform completed successfully for ${e}`),s}catch(a){throw console.error(`\u274C JS transformation error for '${e}':`,a.message),a}}async applyJSONTransformation(e,r){try{console.log(`\u{1F4C2} Reading JSON template file: ${e}`);let a;try{a=await this.plugin.app.vault.adapter.read(e),console.log(`\u2705 JSON template file loaded successfully (${a.length} characters)`)}catch(l){throw new Error(`Failed to read template file '${e}': ${l.message}. Please check the file path and ensure it exists in your vault.`)}if(!a.trim())throw new Error(`Template file '${e}' is empty. Please add JSON template content.`);let i;try{i=JSON.parse(a)}catch(l){throw new Error(`Invalid JSON in template file '${e}': ${l.message}`)}console.log(`\u{1F527} Applying JSON template for event: ${r.event}`);let s=i[r.event]||i.default;if(!s){let l=Object.keys(i).filter(c=>c!=="default");throw new Error(`No template found for event '${r.event}' and no default template. Available templates: ${l.join(", ")}`)}let o=this.interpolateTemplate(s,r);return console.log(`\u2705 JSON template applied successfully for ${e}`),o}catch(a){throw console.error(`\u274C JSON transformation error for '${e}':`,a.message),a}}interpolateTemplate(e,r){if(typeof e=="string")return e.replace(/\$\{([^}]+)\}/g,(a,i)=>this.getNestedValue(r,i)||a);if(Array.isArray(e))return e.map(a=>this.interpolateTemplate(a,r));if(e&&typeof e=="object"){let a={};for(let[i,s]of Object.entries(e))a[i]=this.interpolateTemplate(s,r);return a}else return e}getNestedValue(e,r){return r.split(".").reduce((a,i)=>a&&a[i]!==void 0?a[i]:void 0,e)}};He([tr("/api/webhooks")],al.prototype,"registerWebhook",1),He([er("/api/webhooks")],al.prototype,"listWebhooks",1),He([Vg("/api/webhooks/:id")],al.prototype,"deleteWebhook",1),He([er("/api/webhooks/deliveries")],al.prototype,"getWebhookDeliveries",1)});var Eee={};Be(Eee,{HTTPAPIService:()=>$g});var See,Dee,$g,xee=b(()=>{See=require("http"),Dee=require("url");Gd();mx();Xs();fee();yee();bee();Tee();kee();wee();$g=class{constructor(t,e,r,a){this.plugin=t;let i=new na(t.settings.customStatuses,t.settings.customPriorities,t.settings.nlpDefaultToScheduled,t.settings.nlpLanguage,t.settings.nlpTriggers,t.settings.userFields),s=new ou(t.settings.customStatuses);this.webhookController=new al(t),this.tasksController=new gn(t,e,r,a,s,this.webhookController),this.timeTrackingController=new Qi(t,e,a,s,this.webhookController),this.pomodoroController=new di(t,a),this.systemController=new eo(t,e,i,this.webhookController,this),this.router=new ow,this.setupRoutes()}setupRoutes(){this.router.registerController(this.tasksController),this.router.registerController(this.timeTrackingController),this.router.registerController(this.pomodoroController),this.router.registerController(this.systemController),this.router.registerController(this.webhookController)}generateOpenAPISpec(){let{generateOpenAPISpec:t}=(Xs(),Wa(mee)),e=t(this.systemController),r=[this.tasksController,this.timeTrackingController,this.pomodoroController,this.systemController,this.webhookController];e.paths={};for(let a of r){let i=t(a);i.paths&&(e.paths={...e.paths,...i.paths})}return e.servers=[{url:`http://localhost:${this.plugin.settings.apiPort}`,description:"TaskNotes API Server"}],e}async handleCORSPreflight(t,e){e.statusCode=200,e.setHeader("Access-Control-Allow-Origin","*"),e.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),e.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization"),e.end()}authenticate(t){let e=this.plugin.settings.apiAuthToken;if(!e)return!0;let r=t.headers.authorization;return!r||!r.startsWith("Bearer ")?!1:r.substring(7)===e}sendResponse(t,e,r){t.statusCode=e,t.setHeader("Content-Type","application/json"),t.setHeader("Access-Control-Allow-Origin","*"),t.setHeader("Access-Control-Allow-Methods","GET, POST, PUT, DELETE, OPTIONS"),t.setHeader("Access-Control-Allow-Headers","Content-Type, Authorization"),t.end(JSON.stringify(r))}successResponse(t,e){return{success:!0,data:t,message:e}}errorResponse(t){return{success:!1,error:t}}async handleRequest(t,e){try{if(t.method==="OPTIONS"){await this.handleCORSPreflight(t,e);return}if(((0,Dee.parse)(t.url||"",!0).pathname||"").startsWith("/api/")&&!this.authenticate(t)){this.sendResponse(e,401,this.errorResponse("Authentication required"));return}await this.router.route(t,e)||this.sendResponse(e,404,this.errorResponse("Not found"))}catch(r){console.error("API Error:",r),this.sendResponse(e,500,this.errorResponse("Internal server error"))}}async triggerWebhook(t,e){await this.webhookController.triggerWebhook(t,e)}async start(){return new Promise((t,e)=>{try{this.server=(0,See.createServer)((r,a)=>{this.handleRequest(r,a).catch(i=>{console.error("Request handling error:",i),this.sendResponse(a,500,this.errorResponse("Internal server error"))})}),this.server.listen(this.plugin.settings.apiPort,()=>{console.log(`TaskNotes API server started on port ${this.plugin.settings.apiPort}`),t()}),this.server.on("error",r=>{console.error("API server error:",r),e(r)})}catch(r){e(r)}})}async stop(){return new Promise(t=>{this.server?this.server.close(()=>{console.log("TaskNotes API server stopped"),t()}):t()})}isRunning(){return!!this.server&&this.server.listening}getPort(){return this.plugin.settings.apiPort}};$g=He([bF],$g)});var yn,SF=b(()=>{Ke();yn=class{static parseTaskLine(t){if(typeof t!="string")return{isTaskLine:!1,originalText:"",error:"Invalid input: line must be a string"};if(t.length>2e3)return{isTaskLine:!1,originalText:t,error:"Line too long to process safely"};let r=t.trim().match(this.CHECKBOX_PATTERN);if(!r)return{isTaskLine:!1,originalText:t};try{let[,,a,,i]=r;if(typeof a!="string"||typeof i!="string")return{isTaskLine:!0,originalText:t,error:"Invalid checkbox format"};let s=a.toLowerCase()==="x",o=this.parseTaskContent(i,s);return!o||!o.title||o.title.trim().length===0?{isTaskLine:!0,originalText:t,error:"Task must have a title"}:{isTaskLine:!0,originalText:t,parsedData:o}}catch(a){return{isTaskLine:!0,originalText:t,error:`Failed to parse task: ${a instanceof Error?a.message:"Unknown error"}`}}}static parseTaskContent(t,e){if(typeof t!="string")throw new Error("Content must be a string");if(t.length>1e3)throw new Error("Content too long to process safely");let r=t;try{let a=this.extractDate(r,this.EMOJI_PATTERNS.DUE_DATE),i=this.extractDate(r,this.EMOJI_PATTERNS.SCHEDULED_DATE),s=this.extractDate(r,this.EMOJI_PATTERNS.START_DATE),o=this.extractDate(r,this.EMOJI_PATTERNS.CREATED_DATE),l=this.extractDate(r,this.EMOJI_PATTERNS.DONE_DATE),c=this.extractPriority(r),{recurrence:d,recurrenceData:u}=this.extractRecurrence(r),p=this.extractTags(r),m=this.extractCleanTitle(r);if(!m||m.trim().length===0)throw new Error("Title cannot be empty after parsing");let h;if(e||l)h="done";else if(s)try{!Zw(s)&&!bp(s)?h="scheduled":h="open"}catch(f){}return{title:m.trim(),status:h,priority:c,dueDate:a,scheduledDate:i,startDate:s,createdDate:o,doneDate:l,recurrence:d,recurrenceData:u,tags:p.length>0?p:void 0,projects:void 0,isCompleted:e}}catch(a){throw new Error(`Failed to parse task content: ${a instanceof Error?a.message:"Unknown error"}`)}}static extractDate(t,e){if(!(typeof t!="string"||!e))try{let a=new RegExp(e.source,"g").exec(t);if(a&&a[1]){let i=a[1].trim();if(!/^\d{4}-\d{2}-\d{2}$/.test(i))return;try{let s=je(i);if(isNaN(s.getTime()))return;let o=s.getUTCFullYear();return o<1900||o>2100?void 0:le(s)}catch(s){return}}}catch(r){console.debug("Error extracting date:",r)}}static extractPriority(t){if(new RegExp(this.EMOJI_PATTERNS.HIGH_PRIORITY.source).test(t))return"high";if(new RegExp(this.EMOJI_PATTERNS.MEDIUM_PRIORITY.source).test(t))return"medium";if(new RegExp(this.EMOJI_PATTERNS.LOW_PRIORITY.source).test(t))return"low"}static extractRecurrence(t){let r=new RegExp(this.EMOJI_PATTERNS.RECURRENCE.source,"g").exec(t);if(!r||!r[1])return{};let a=r[1].trim();if(a.includes("every day"))return{recurrence:"daily",recurrenceData:{frequency:"daily"}};if(a.includes("every week"))return{recurrence:"weekly",recurrenceData:{frequency:"weekly"}};if(a.includes("every month"))return{recurrence:"monthly",recurrenceData:{frequency:"monthly"}};if(a.includes("every year"))return{recurrence:"yearly",recurrenceData:{frequency:"yearly"}};let i=a.match(/every\s+(monday|tuesday|wednesday|thursday|friday|saturday|sunday)/i);return i?{recurrence:"weekly",recurrenceData:{frequency:"weekly",days_of_week:[i[1].toLowerCase().substring(0,3)]}}:{recurrence:"custom",recurrenceData:{frequency:"custom",raw:a}}}static extractTags(t){if(typeof t!="string")return[];try{let e=new RegExp(this.TAG_PATTERN.source,"g"),r=[],a;for(;(a=e.exec(t))!==null;)if(a[0]){let i=a[0].substring(1);i&&!r.includes(i)&&r.push(i)}return r}catch(e){return console.debug("Error extracting tags:",e),[]}}static extractCleanTitle(t){if(typeof t!="string")return"";try{let e=t;Object.values(this.EMOJI_PATTERNS).forEach(a=>{try{let i=new RegExp(a.source,"g");e=e.replace(i,"")}catch(i){console.debug("Error applying emoji pattern:",i)}});try{let a=new RegExp(this.TAG_PATTERN.source,"g");e=e.replace(a,"")}catch(a){console.debug("Error removing tags from title:",a)}let r=e.replace(/\s+/g," ").trim();return r.length===0?"Untitled Task":r}catch(e){return console.debug("Error extracting clean title:",e),"Untitled Task"}}static isTasksPluginFormat(t){if(typeof t!="string"||t.length>1e3)return!1;try{let e=t.trim();return this.CHECKBOX_PATTERN.test(e)?Object.values(this.EMOJI_PATTERNS).some(i=>{try{return new RegExp(i.source).test(e)}catch(s){return!1}}):!1}catch(e){return console.debug("Error validating Tasks plugin format:",e),!1}}static getSummary(t){let e=[];return e.push(`Title: "${t.title}"`),e.push(`Status: ${t.status}`),e.push(`Priority: ${t.priority}`),t.dueDate&&e.push(`Due: ${t.dueDate}`),t.startDate&&e.push(`Start: ${t.startDate}`),t.scheduledDate&&e.push(`Scheduled: ${t.scheduledDate}`),t.createdDate&&e.push(`Created: ${t.createdDate}`),t.doneDate&&e.push(`Done: ${t.doneDate}`),t.recurrence&&e.push(`Recurrence: ${t.recurrence}`),t.tags&&t.tags.length>0&&e.push(`Tags: ${t.tags.map(r=>"#"+r).join(", ")}`),t.projects&&t.projects.length>0&&e.push(`Projects: ${t.projects.map(r=>r.includes(" ")?`+[[${r}]]`:`+${r}`).join(", ")}`),e.join(" | ")}};yn.EMOJI_PATTERNS={DUE_DATE:/📅\s*(\d{4}-\d{2}-\d{2})/g,SCHEDULED_DATE:/⏳\s*(\d{4}-\d{2}-\d{2})/g,START_DATE:/🛫\s*(\d{4}-\d{2}-\d{2})/g,CREATED_DATE:/➕\s*(\d{4}-\d{2}-\d{2})/g,DONE_DATE:/✅\s*(\d{4}-\d{2}-\d{2})/g,HIGH_PRIORITY:/⏫/g,MEDIUM_PRIORITY:/🔼/g,LOW_PRIORITY:/⏬/g,RECURRENCE:/🔁\s*([^📅⏳🛫➕✅⏫🔼⏬🔁#]+?)(?=\s*[📅⏳🛫➕✅⏫🔼⏬🔁#]|$)/gu},yn.TAG_PATTERN=/#[\w/]+/g,yn.CHECKBOX_PATTERN=/^(\s*(?:[-*+]|\d+\.)\s+\[)([ xX])(\]\s+)(.*)/});var Cee={};Be(Cee,{InstantTaskConvertService:()=>DF});var vn,DF,Pee=b(()=>{vn=require("obsidian");SF();Gd();Ke();Dr();wb();yl();DF=class{translate(t,e){return this.plugin.i18n.translate(t,e)}constructor(t,e,r){this.plugin=t,this.statusManager=e,this.priorityManager=r,this.nlParser=new na(t.settings.customStatuses,t.settings.customPriorities,t.settings.nlpDefaultToScheduled,t.settings.nlpLanguage,t.settings.nlpTriggers,t.settings.userFields)}async batchConvertAllTasks(t){try{let e=this.findAllCheckboxTasks(t);if(e.length===0){new vn.Notice(this.translate("services.instantTaskConvert.notices.noCheckboxTasks"));return}let r=e.length===1?"":"s";new vn.Notice(this.translate("services.instantTaskConvert.notices.convertingTasks",{count:e.length,plural:r}));let a=await this.batchConvertTasksOptimized(t,e);if(a.failures.length===0){let i=a.successCount===1?"":"s";new vn.Notice(this.translate("services.instantTaskConvert.notices.conversionSuccess",{count:a.successCount,plural:i}))}else{let i=a.successCount===1?"":"s";new vn.Notice(this.translate("services.instantTaskConvert.notices.partialConversion",{successCount:a.successCount,successPlural:i,failureCount:a.failures.length})),console.warn("Batch conversion failures:",a.failures)}}catch(e){console.error("Error during batch task conversion:",e),new vn.Notice(this.translate("services.instantTaskConvert.notices.batchConversionFailed"))}}async batchConvertTasksOptimized(t,e){let r=[],a=[],i=e.map(async o=>{try{let l=await this.parseTaskForBatch(o.line);if(!l)throw new Error("Failed to parse task");let c=await this.createTaskFile(l),d=this.generateLinkText(o.line,c);return{lineNumber:o.lineNumber,line:o.line,file:c,linkText:d}}catch(l){return r.push({lineNumber:o.lineNumber+1,error:l instanceof Error?l.message:String(l)}),null}}),s=await Promise.all(i);for(let o of s)o&&a.push(o);return a.length>0&&this.replaceAllTaskLines(t,a),{successCount:a.length,failures:r}}async instantConvertTask(t,e){var r,a,i,s;try{if(!this.validateInputParameters(t,e).isValid){new vn.Notice(this.translate("services.instantTaskConvert.notices.invalidParameters"));return}let l=this.extractSelectionInfo(t,e),c=l.taskLine,d=l.details,u,p=yn.parseTaskLine(c);if(p.isTaskLine){if(p.error||!p.parsedData){new vn.Notice(this.translate("services.instantTaskConvert.notices.parseError",{error:p.error||"No data extracted"}));return}if(this.plugin.settings.enableNaturalLanguageInput){let T=p.parsedData.title,k=d!=null&&d.trim()?`${T}
|
||
${d}`:T,w=this.nlParser.parseInput(k),S={title:((r=w.title)==null?void 0:r.trim())||T,isCompleted:w.isCompleted||!1,status:w.status,priority:w.priority,dueDate:w.dueDate,scheduledDate:w.scheduledDate,dueTime:w.dueTime,scheduledTime:w.scheduledTime,recurrence:w.recurrence,timeEstimate:w.estimate,tags:((a=w.tags)==null?void 0:a.length)>0?w.tags:void 0,projects:((i=w.projects)==null?void 0:i.length)>0?w.projects:void 0,contexts:((s=w.contexts)==null?void 0:s.length)>0?w.contexts:void 0,userFields:w.userFields};u=this.mergeParseResults(p.parsedData,S)}else u=p.parsedData}else{let T=this.extractLineContentAsTitle(c);if(!T.trim()){new vn.Notice(this.translate("services.instantTaskConvert.notices.emptyLine"));return}if(this.plugin.settings.enableNaturalLanguageInput){let k=this.tryNLPFallback(T,d||"");k?u=k:u={title:T,isCompleted:!1}}else u={title:T,isCompleted:!1}}if(!this.validateTaskData(u).isValid){new vn.Notice(this.translate("services.instantTaskConvert.notices.invalidTaskData"));return}let h=await this.createTaskFile(u,d);if(!(await this.replaceOriginalTaskLines(t,l,h,u.title)).success){new vn.Notice(this.translate("services.instantTaskConvert.notices.replaceLineFailed"));try{await this.plugin.app.vault.delete(h)}catch(T){console.warn("Failed to clean up created file after replacement failure:",T)}return}let g=this.sanitizeTitle(u.title),v=h.basename;v.startsWith("task-")&&v!==g?new vn.Notice(this.translate("services.instantTaskConvert.notices.conversionCompleteShortened",{title:u.title})):new vn.Notice(this.translate("services.instantTaskConvert.notices.conversionComplete",{title:u.title})),await this.refreshTaskLinkOverlays(t,h)}catch(o){console.error("Error during instant task conversion:",o),o.message.includes("file already exists")?new vn.Notice(this.translate("services.instantTaskConvert.notices.fileExists")):new vn.Notice(this.translate("services.instantTaskConvert.notices.conversionFailed"))}}extractSelectionInfo(t,e){let r=t.getSelection();if(r&&r.trim()){let i=t.listSelections()[0],s=Math.min(i.anchor.line,i.head.line),o=Math.max(i.anchor.line,i.head.line);if(e>=s&&e<=o){let l=[];for(let p=s;p<=o;p++)l.push(t.getLine(p));let c=l[0],u=l.slice(1).join(`
|
||
`).trimEnd();return{taskLine:c,details:u,startLine:s,endLine:o,originalContent:l}}}let a=t.getLine(e);return{taskLine:a,details:"",startLine:e,endLine:e,originalContent:[a]}}validateInputParameters(t,e){if(!t)return{isValid:!1,error:"Editor is not available."};let r=t.lineCount();if(e<0||e>=r)return{isValid:!1,error:`Line number ${e} is out of bounds (0-${r-1}).`};let a=t.getLine(e);return a==null?{isValid:!1,error:`Cannot read line ${e}.`}:{isValid:!0}}validateTaskData(t){if(!t.title||t.title.trim().length===0)return{isValid:!1,error:"Task title cannot be empty."};let e=["dueDate","scheduledDate","startDate","createdDate","doneDate"];for(let r of e){let a=t[r];if(a&&!this.isValidDateFormat(a))return{isValid:!1,error:`Invalid date format in ${r}: ${a}`}}return{isValid:!0}}isValidDateFormat(t){if(!/^\d{4}-\d{2}-\d{2}$/.test(t))return!1;try{let r=je(t);return le(r)===t}catch(r){return!1}}async createTaskFile(t,e=""){var P,_,Y,Q;let r=((P=t.title)==null?void 0:P.trim())||"",a=this.sanitizeTitle(r)||"Untitled Task",i=e;if(r.length>200){let W=this.extractOverflowText(r,200);W&&(i=W+(e?`
|
||
|
||
`+e:""))}let s=this.plugin.app.workspace.getActiveFile(),o=s?this.plugin.app.fileManager.generateMarkdownLink(s,s.path):"",l=this.sanitizeDate(t.dueDate),c=this.sanitizeDate(t.scheduledDate),d=((_=t.dueTime)==null?void 0:_.trim())||void 0,u=((Y=t.scheduledTime)==null?void 0:Y.trim())||void 0,p,m,h,f,g=[],v=this.plugin.settings.taskIdentificationMethod==="tag"?[this.plugin.settings.taskTag]:[],T,k,w=t.tags||[],S=t.contexts||[],x=t.projects||[];if(this.plugin.settings.useDefaultsOnInstantConvert){let W=this.plugin.settings.taskCreationDefaults;if(p=(t.priority?this.sanitizePriority(t.priority):"")||this.plugin.settings.defaultTaskPriority,m=(t.status?this.sanitizeStatus(t.status):"")||this.plugin.settings.defaultTaskStatus,l?h=d?hr(l,d):l:W.defaultDueDate!=="none"&&(h=ba(W.defaultDueDate)),c?f=u?hr(c,u):c:W.defaultScheduledDate!=="none"&&(f=ba(W.defaultScheduledDate)),g=[],S.length>0&&g.push(...S),W.defaultContexts){let H=W.defaultContexts.split(",").map(K=>K.trim()).filter(K=>K);g.push(...H)}if(g=[...new Set(g)],v=this.plugin.settings.taskIdentificationMethod==="tag"?[this.plugin.settings.taskTag]:[],w.length>0&&v.push(...w),W.defaultTags){let H=W.defaultTags.split(",").map(K=>K.trim()).filter(K=>K);v.push(...H)}v=[...new Set(v)],t.timeEstimate!==void 0&&t.timeEstimate>0?T=t.timeEstimate:W.defaultTimeEstimate&&W.defaultTimeEstimate>0&&(T=W.defaultTimeEstimate),t.recurrence?k=t.recurrence:W.defaultRecurrence&&W.defaultRecurrence!=="none"&&(k={daily:"FREQ=DAILY",weekly:"FREQ=WEEKLY",monthly:"FREQ=MONTHLY",yearly:"FREQ=YEARLY"}[W.defaultRecurrence]||void 0)}else p=(t.priority?this.sanitizePriority(t.priority):"")||"none",m=(t.status?this.sanitizeStatus(t.status):"")||"none",h=l?d?hr(l,d):l:void 0,f=c?u?hr(c,u):c:void 0,g=[],S.length>0&&g.push(...S),v=this.plugin.settings.taskIdentificationMethod==="tag"?[this.plugin.settings.taskTag]:[],w.length>0&&v.push(...w),v=[...new Set(v)],T=t.timeEstimate,t.recurrence&&(k=t.recurrence);let I=[];if(this.plugin.settings.useDefaultsOnInstantConvert){let W=this.plugin.settings.taskCreationDefaults;if(W.defaultProjects){let H=ha(W.defaultProjects);I.push(...H)}W.useParentNoteAsProject&&s&&I.push(o)}x.length>0&&I.push(...x);let A=[...new Set(I)],B;if(this.plugin.settings.useDefaultsOnInstantConvert){let W=this.plugin.settings.taskCreationDefaults;if(W.defaultReminders&&W.defaultReminders.length>0){let{convertDefaultRemindersToReminders:H}=await Promise.resolve().then(()=>(ib(),ab));B=H(W.defaultReminders)}}let z={};if(t.userFields)for(let[W,H]of Object.entries(t.userFields)){let K=(Q=this.plugin.settings.userFields)==null?void 0:Q.find(ae=>ae.id===W);K?Array.isArray(H)?z[K.key]=H.join(", "):z[K.key]=H:console.warn(`[InstantTaskConvert] No user field definition found for field ID: ${W}`)}let U={title:a,status:m,priority:p,due:h,scheduled:f,contexts:g.length>0?g:void 0,projects:A.length>0?A:void 0,tags:v,timeEstimate:T,recurrence:k,reminders:B,details:i,parentNote:o,creationContext:"inline-conversion",dateCreated:Oe(),dateModified:Oe(),customFrontmatter:Object.keys(z).length>0?z:void 0},{file:N}=await this.plugin.taskService.createTask(U);return N}sanitizeTitle(t){return t?t.trim().substring(0,200):""}extractOverflowText(t,e){if(!t||t.length<=e)return"";let r=t.lastIndexOf(" ",e);return r>0&&r>e-50?t.substring(r).trim():t.substring(e).trim()}sanitizePriority(t){return this.priorityManager.getAllPriorities().map(r=>r&&typeof r=="object"?r.value:r).filter(r=>r!=null).includes(t)?t:""}sanitizeStatus(t){return this.statusManager.getAllStatuses().map(r=>r&&typeof r=="object"?r.value:r).filter(r=>r!=null).includes(t)?t:""}sanitizeDate(t){return!t||!this.isValidDateFormat(t)?"":t}async replaceOriginalTaskLines(t,e,r,a){var i;try{if(!t||!r)return{success:!1,error:"Invalid editor or file reference."};let{startLine:s,endLine:o,originalContent:l}=e,c=t.lineCount();if(s<0||o>=c)return{success:!1,error:`Line range ${s}-${o} is no longer valid (current line count: ${c}).`};for(let w=0;w<l.length;w++)if(t.getLine(s+w)!==l[w])return{success:!1,error:"Content has changed since parsing. Please try again."};let d=yn.parseTaskLine(l[0]),u=d.isTaskLine;if(u&&!d.isTaskLine)return{success:!1,error:"First line is no longer a valid task."};if(!u&&!this.extractLineContentAsTitle(l[0]).trim())return{success:!1,error:"First line no longer contains valid content."};let p=((i=l[0].match(/^(\s*)/))==null?void 0:i[1])||"",m="";if(u){let w=l[0].match(/^\s*((?:[-*+]|\d+\.)\s+)\[/);m=(w==null?void 0:w[1])||"- "}else{let w=l[0].match(/^\s*([-*+]\s+)/),S=l[0].match(/^\s*(\d+\.\s+)/),x=l[0].match(/^\s*(>\s*)/);w?m=w[1]:S?m=S[1]:x?m=x[1]:m="- "}let h=this.plugin.app.workspace.getActiveFile(),f=(h==null?void 0:h.path)||"",g=this.plugin.app.fileManager.generateMarkdownLink(r,f),v=`${p}${m}${g}`;if(v.length>500)return{success:!1,error:"Generated link text is too long."};let T={line:s,ch:0},k={line:o,ch:t.getLine(o).length};return t.replaceRange(v,T,k),{success:!0}}catch(s){return console.error("Error replacing task lines:",s),{success:!1,error:`Failed to replace lines: ${s.message}`}}}async refreshTaskLinkOverlays(t,e){try{await this.forceMetadataCacheUpdate(e),setTimeout(()=>{try{let r=t.cm;if(r){let a=t.getCursor();xo(r,e.path),setTimeout(()=>{try{t.setCursor(a)}catch(i){console.debug("Error restoring cursor position:",i)}},10)}}catch(r){console.debug("Error dispatching task update for overlays:",r)}},100)}catch(r){console.debug("Error refreshing task link overlays:",r)}}async forceMetadataCacheUpdate(t){try{await this.plugin.app.vault.cachedRead(t),this.plugin.app.metadataCache.getFileCache(t)===null&&setTimeout(async()=>{try{await this.plugin.app.vault.cachedRead(t)}catch(e){console.debug("Error in delayed cache update:",e)}},10)}catch(e){console.debug("Error forcing metadata cache update:",e)}}mergeParseResults(t,e){var i;if(!e)return t;let r=(s,o)=>{let l=[...s||[],...o||[]],c=[...new Set(l)];return c.length>0?c:void 0},a=(s,o)=>{if(!s&&!o)return;let l={...o||{},...s||{}};return Object.keys(l).length>0?l:void 0};return{title:((i=e.title)==null?void 0:i.trim())||t.title,dueDate:t.dueDate||e.dueDate,scheduledDate:t.scheduledDate||e.scheduledDate,dueTime:t.dueTime||e.dueTime,scheduledTime:t.scheduledTime||e.scheduledTime,startDate:t.startDate,createdDate:t.createdDate,doneDate:t.doneDate,priority:t.priority||e.priority,status:t.status||e.status,recurrence:t.recurrence||e.recurrence,recurrenceData:t.recurrenceData,timeEstimate:t.timeEstimate||e.timeEstimate,tags:r(t.tags,e.tags),contexts:r(t.contexts,e.contexts),projects:r(t.projects,e.projects?this.resolveProjectLinks(e.projects):void 0),userFields:a(t.userFields,e.userFields),isCompleted:t.isCompleted}}tryNLPFallback(t,e){var r;try{let a=this.extractTaskContent(t);if(!a.trim())return null;let i=e.trim().length>0?`${a}
|
||
${e}`:a,s=this.nlParser.parseInput(i);return(r=s.title)!=null&&r.trim()?{title:s.title.trim(),isCompleted:s.isCompleted||!1,status:s.status,priority:s.priority,dueDate:s.dueDate,scheduledDate:s.scheduledDate,dueTime:s.dueTime,scheduledTime:s.scheduledTime,recurrence:s.recurrence,timeEstimate:s.estimate,tags:s.tags&&s.tags.length>0?s.tags:void 0,projects:s.projects&&s.projects.length>0?this.resolveProjectLinks(s.projects):void 0,contexts:s.contexts&&s.contexts.length>0?s.contexts:void 0,userFields:s.userFields,startDate:void 0,createdDate:void 0,doneDate:void 0,recurrenceData:void 0}:null}catch(a){return console.debug("NLP fallback parsing failed:",a),null}}resolveProjectLinks(t){var e,r,a;try{if(!((r=(e=this.plugin.app)==null?void 0:e.workspace)!=null&&r.getActiveFile)||!((a=this.plugin.app)!=null&&a.metadataCache))return t;let i=this.plugin.app.workspace.getActiveFile(),s=(i==null?void 0:i.path)||"";return t.map(o=>{let l=o.match(/^\[\[([^\]]+)\]\]$/);if(l){let c=l[1],d=c;c.includes("|")&&(d=c.split("|")[0]);try{let u=this.plugin.app.metadataCache.getFirstLinkpathDest(d,s);if(u)return`[[${this.plugin.app.metadataCache.fileToLinktext(u,s,!0)}]]`}catch(u){console.debug("Error resolving project link:",u)}return o}return o})}catch(i){return console.debug("Error in resolveProjectLinks:",i),t}}extractTaskContent(t){return t.replace(/^\s*(?:[-*+]|\d+\.)\s*\[[ xX]\]\s*/,"").trim()}extractLineContentAsTitle(t){let e=t.trim();for(e=e.replace(/^\s*[-*+]\s+/,""),e=e.replace(/^\s*\d+\.\s+/,"");e.match(/^\s*>\s*/);)e=e.replace(/^\s*>\s*/,"");return e=e.replace(/^\s*#+\s+/,""),e.match(/^\s*(-{3,}|={3,})\s*$/)?"":e.trim()}findAllCheckboxTasks(t){let e=[],r=t.lineCount();for(let a=0;a<r;a++){let i=t.getLine(a);if(yn.parseTaskLine(i).isTaskLine){e.push({lineNumber:a,line:i});continue}if(i.trim().includes("[ ]")||i.trim().includes("[x]")||i.trim().includes("[X]")){let o=i.trim();for(;o.match(/^\s*>\s*/);)o=o.replace(/^\s*>\s*/,"");yn.parseTaskLine(o).isTaskLine&&e.push({lineNumber:a,line:i})}}return e}async parseTaskForBatch(t){var e,r,a,i;try{let s=yn.parseTaskLine(t);if(s.isTaskLine){if(s.error||!s.parsedData)return null;if(this.plugin.settings.enableNaturalLanguageInput){let o=s.parsedData.title,l=this.nlParser.parseInput(o),c={title:((e=l.title)==null?void 0:e.trim())||o,isCompleted:l.isCompleted||!1,status:l.status,priority:l.priority,dueDate:l.dueDate,scheduledDate:l.scheduledDate,dueTime:l.dueTime,scheduledTime:l.scheduledTime,recurrence:l.recurrence,timeEstimate:l.estimate,tags:((r=l.tags)==null?void 0:r.length)>0?l.tags:void 0,projects:((a=l.projects)==null?void 0:a.length)>0?l.projects:void 0,contexts:((i=l.contexts)==null?void 0:i.length)>0?l.contexts:void 0,userFields:l.userFields};return this.mergeParseResults(s.parsedData,c)}return s.parsedData}else{let o=this.extractLineContentAsTitle(t);if(!o.trim())return null;if(this.plugin.settings.enableNaturalLanguageInput){let l=this.tryNLPFallback(o,"");if(l)return l}return{title:o,isCompleted:!1}}}catch(s){return console.warn("Error parsing task for batch:",s),null}}generateLinkText(t,e){var d;let r=((d=t.match(/^(\s*)/))==null?void 0:d[1])||"",i=yn.parseTaskLine(t).isTaskLine,s="";if(i){let u=t.match(/^\s*((?:[-*+]|\d+\.)\s+)\[/);s=(u==null?void 0:u[1])||"- "}else{let u=t.match(/^\s*([-*+]\s+)/),p=t.match(/^\s*(\d+\.\s+)/),m=t.match(/^\s*(>\s*)/);u?s=u[1]:p?s=p[1]:m?s=m[1]:s="- "}let o=this.plugin.app.workspace.getActiveFile(),l=(o==null?void 0:o.path)||"",c=this.plugin.app.fileManager.generateMarkdownLink(e,l);return`${r}${s}${c}`}replaceAllTaskLines(t,e){let r=e.sort((a,i)=>i.lineNumber-a.lineNumber);for(let a of r){let i=t.getLine(a.lineNumber).length;t.replaceRange(a.linkText,{line:a.lineNumber,ch:0},{line:a.lineNumber,ch:i})}}}});var Aee={};Be(Aee,{createInstantConvertButtons:()=>LMe,createInstantConvertField:()=>Mee});function Mee(n){return cw.StateField.define({create(){return Ha.Decoration.none},update(t,e){if(!n||!e)return Ha.Decoration.none;if(!n.settings||!n.settings.enableInstantTaskConvert)return Ha.Decoration.none;if(!e.state)return console.warn("Invalid transaction state in instant convert field update"),Ha.Decoration.none;try{return!e.docChanged&&t!==Ha.Decoration.none?t.map(e.changes):OMe(e.state,n)}catch(r){return console.error("Error updating instant convert decorations:",r),Ha.Decoration.none}},provide(t){return Ha.EditorView.decorations.from(t)}})}function OMe(n,t){let e=new cw.RangeSetBuilder,r=n.doc;if(!r||!t)return console.warn("Invalid state or plugin for building convert button decorations"),e.finish();if(typeof r.lines!="number"||r.lines<0)return console.warn("Invalid document lines count:",r.lines),e.finish();for(let a=0;a<r.lines;a++)try{let i=r.line(a+1);if(!i||typeof i.text!="string")continue;let s=i.text;if(s.length>1e3)continue;let o=yn.parseTaskLine(s);if(o.isTaskLine&&o.parsedData){if(!o.parsedData.title||o.parsedData.title.trim().length===0||typeof i.to!="number"||i.to<0)continue;let l=new EF(t,a),c=Ha.Decoration.widget({widget:l,side:1});e.add(i.to,i.to,c)}}catch(i){console.debug("Error processing line",a,":",i);continue}return e.finish()}function LMe(n){return Mee(n)}var cw,Ha,rp,EF,Iee=b(()=>{cw=require("@codemirror/state"),Ha=require("@codemirror/view"),rp=require("obsidian");SF();EF=class n extends Ha.WidgetType{constructor(t,e){super(),this.plugin=t,this.lineNumber=e}toDOM(t){let e=document.createElement("span");e.className="tasknotes-plugin";let r=e.createEl("button",{cls:"instant-convert-button",attr:{"aria-label":"Convert to TaskNote"}});(0,rp.setTooltip)(r,"Convert to TaskNote",{placement:"top"});let a=r.createEl("span",{cls:"instant-convert-button__icon"});return(0,rp.setIcon)(a,"file-plus"),r.addEventListener("mousedown",async i=>{i.preventDefault(),i.stopPropagation();try{if(!this.validateButtonClick())return;let s=this.plugin.app.workspace.getActiveViewOfType(rp.MarkdownView);if(!s){console.warn("No active markdown view available for task conversion");return}let o=s.editor;if(!this.validateEditorState(o))return;this.plugin.instantTaskConvertService&&o&&await this.plugin.instantTaskConvertService.instantConvertTask(o,this.lineNumber)}catch(s){console.error("Error in convert button click handler:",s)}}),e}eq(t){return t instanceof n&&t.plugin===this.plugin&&t.lineNumber===this.lineNumber}get estimatedHeight(){return-1}ignoreEvent(){return!1}validateButtonClick(){return this.plugin?this.plugin.settings.enableInstantTaskConvert?typeof this.lineNumber!="number"||this.lineNumber<0?(console.warn("Invalid line number for task conversion:",this.lineNumber),!1):!0:(console.warn("Instant task conversion is disabled"),!1):(console.warn("Plugin not available for task conversion"),!1)}validateEditorState(t){if(!t)return console.warn("Editor not available for task conversion"),!1;let e=t.lineCount();if(this.lineNumber>=e)return console.warn(`Line number ${this.lineNumber} is out of bounds (total lines: ${e})`),!1;try{let r=t.getLine(this.lineNumber);return r?yn.parseTaskLine(r).isTaskLine?!0:(console.warn(`Line ${this.lineNumber} is no longer a task`),!1):(console.warn(`Cannot read line ${this.lineNumber}`),!1)}catch(r){return console.warn("Error validating line content:",r),!1}}}});var _ee={};Be(_ee,{DueDateModal:()=>xF});var Yg,xF,Nee=b(()=>{Yg=require("obsidian");rr();Ke();xF=class extends Yg.Modal{constructor(t,e,r){super(t),this.task=e,this.plugin=r,this.translate=r.i18n.translate.bind(r.i18n)}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-plugin"),this.titleEl.setText(this.translate("modals.dueDate.title")),this.titleEl.setAttribute("id","due-date-modal-title"),this.containerEl.setAttribute("aria-labelledby","due-date-modal-title"),this.containerEl.setAttribute("role","dialog"),this.containerEl.setAttribute("aria-modal","true"),t.createEl("p",{text:this.translate("modals.dueDate.taskLabel",{title:this.task.title}),cls:"due-date-modal__task-title"});let r=new Yg.Setting(t).setName(this.translate("modals.dueDate.sections.dateTime")).setDesc(this.translate("modals.dueDate.descriptions.dateTime")).controlEl.createDiv({cls:"modal-form__datetime-container"});this.dueDateInput=r.createEl("input",{type:"date",cls:"modal-form__input modal-form__input--date",attr:{"aria-label":this.translate("modals.dueDate.inputs.date.ariaLabel"),placeholder:this.translate("modals.dueDate.inputs.date.placeholder")}}),this.dueDateInput.value=_e(this.task.due||""),this.dueTimeInput=r.createEl("input",{type:"time",cls:"modal-form__input modal-form__input--time",attr:{"aria-label":this.translate("modals.dueDate.inputs.time.ariaLabel"),placeholder:this.translate("modals.dueDate.inputs.time.placeholder")}}),this.dueTimeInput.value=Hr(this.task.due||"")||"",this.dueDateInput.addEventListener("keydown",h=>{h.key==="Enter"?this.save():h.key==="Escape"&&this.close()}),this.dueTimeInput.addEventListener("keydown",h=>{h.key==="Enter"?this.save():h.key==="Escape"&&this.close()}),setTimeout(()=>this.dueDateInput.focus(),100);let a=t.createDiv({cls:"modal-form__group"});new Yg.Setting(a).setName(this.translate("modals.dueDate.sections.quickOptions")).setHeading();let i=a.createDiv({cls:"modal-form__quick-actions"});i.createEl("button",{text:this.translate("modals.dueDate.quickOptions.today"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.dueDate.quickOptions.todayAriaLabel")}}).addEventListener("click",()=>{this.dueDateInput.value=M(new Date,"yyyy-MM-dd")}),i.createEl("button",{text:this.translate("modals.dueDate.quickOptions.tomorrow"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.dueDate.quickOptions.tomorrowAriaLabel")}}).addEventListener("click",()=>{this.dueDateInput.value=M($c(new Date,{days:1}),"yyyy-MM-dd")}),i.createEl("button",{text:this.translate("modals.dueDate.quickOptions.nextWeek"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.dueDate.quickOptions.nextWeekAriaLabel")}}).addEventListener("click",()=>{this.dueDateInput.value=M($c(new Date,{weeks:1}),"yyyy-MM-dd")}),i.createEl("button",{text:this.translate("modals.dueDate.quickOptions.now"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.dueDate.quickOptions.nowAriaLabel")}}).addEventListener("click",()=>{let h=new Date;this.dueDateInput.value=M(h,"yyyy-MM-dd"),this.dueTimeInput.value=M(h,"HH:mm")}),i.createEl("button",{text:this.translate("modals.dueDate.quickOptions.clear"),cls:"modal-form__button modal-form__button--quick-date modal-form__button--quick-date--clear",attr:{"aria-label":this.translate("modals.dueDate.quickOptions.clearAriaLabel")}}).addEventListener("click",()=>{this.dueDateInput.value="",this.dueTimeInput.value=""});let u=t.createDiv({cls:"modal-form__buttons"});u.createEl("button",{text:this.translate("common.save"),cls:"modal-form__button modal-form__button--primary"}).addEventListener("click",()=>this.save()),u.createEl("button",{text:this.translate("common.cancel"),cls:"modal-form__button modal-form__button--secondary"}).addEventListener("click",()=>this.close())}async save(){let t=this.dueDateInput.value.trim(),e=this.dueTimeInput.value.trim(),r;if(t?e?r=hr(t,e):r=t:r=void 0,!kp(t,e)){let a=this.contentEl.createEl("div",{text:this.translate("modals.dueDate.errors.invalidDateTime"),cls:"modal-form__error",attr:{role:"alert","aria-live":"assertive"}});this.dueDateInput.setAttribute("aria-invalid","true"),this.dueDateInput.setAttribute("aria-describedby","due-date-error"),a.setAttribute("id","due-date-error"),setTimeout(()=>{a.remove(),this.dueDateInput.removeAttribute("aria-invalid"),this.dueDateInput.removeAttribute("aria-describedby")},3e3);return}try{await this.plugin.taskService.updateProperty(this.task,"due",r),this.close()}catch(a){console.error("Failed to update due date:",a);let i=this.contentEl.createEl("div",{text:this.translate("modals.dueDate.errors.updateFailed"),cls:"modal-form__error"});setTimeout(()=>i.remove(),3e3)}}onClose(){let{contentEl:t}=this;t.empty()}}});var Ree={};Be(Ree,{ScheduledDateModal:()=>CF});var Gg,CF,Fee=b(()=>{Gg=require("obsidian");rr();Ke();CF=class extends Gg.Modal{constructor(t,e,r){super(t),this.task=e,this.plugin=r,this.translate=r.i18n.translate.bind(r.i18n)}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-plugin"),this.titleEl.setText(this.translate("modals.scheduledDate.title")),this.titleEl.setAttribute("id","scheduled-date-modal-title"),this.containerEl.setAttribute("aria-labelledby","scheduled-date-modal-title"),this.containerEl.setAttribute("role","dialog"),this.containerEl.setAttribute("aria-modal","true"),t.createEl("p",{text:this.translate("modals.scheduledDate.taskLabel",{title:this.task.title}),cls:"scheduled-date-modal__task-title"});let r=new Gg.Setting(t).setName(this.translate("modals.scheduledDate.sections.dateTime")).setDesc(this.translate("modals.scheduledDate.descriptions.dateTime")).controlEl.createDiv({cls:"modal-form__datetime-container"});this.scheduledDateInput=r.createEl("input",{type:"date",cls:"modal-form__input modal-form__input--date",attr:{"aria-label":this.translate("modals.scheduledDate.inputs.date.ariaLabel"),placeholder:this.translate("modals.scheduledDate.inputs.date.placeholder")}}),this.scheduledDateInput.value=_e(this.task.scheduled||""),this.scheduledTimeInput=r.createEl("input",{type:"time",cls:"modal-form__input modal-form__input--time",attr:{"aria-label":this.translate("modals.scheduledDate.inputs.time.ariaLabel"),placeholder:this.translate("modals.scheduledDate.inputs.time.placeholder")}}),this.scheduledTimeInput.value=Hr(this.task.scheduled||"")||"",this.scheduledDateInput.addEventListener("keydown",h=>{h.key==="Enter"?this.save():h.key==="Escape"&&this.close()}),this.scheduledTimeInput.addEventListener("keydown",h=>{h.key==="Enter"?this.save():h.key==="Escape"&&this.close()}),window.setTimeout(()=>this.scheduledDateInput.focus(),100);let a=t.createDiv({cls:"modal-form__group"});new Gg.Setting(a).setName(this.translate("modals.scheduledDate.sections.quickOptions")).setHeading();let i=a.createDiv({cls:"modal-form__quick-actions"});i.createEl("button",{text:this.translate("modals.scheduledDate.quickOptions.today"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.scheduledDate.quickOptions.todayAriaLabel")}}).addEventListener("click",()=>{this.scheduledDateInput.value=M(new Date,"yyyy-MM-dd")}),i.createEl("button",{text:this.translate("modals.scheduledDate.quickOptions.tomorrow"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.scheduledDate.quickOptions.tomorrowAriaLabel")}}).addEventListener("click",()=>{this.scheduledDateInput.value=M($c(new Date,{days:1}),"yyyy-MM-dd")}),i.createEl("button",{text:this.translate("modals.scheduledDate.quickOptions.nextWeek"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.scheduledDate.quickOptions.nextWeekAriaLabel")}}).addEventListener("click",()=>{this.scheduledDateInput.value=M($c(new Date,{weeks:1}),"yyyy-MM-dd")}),i.createEl("button",{text:this.translate("modals.scheduledDate.quickOptions.now"),cls:"modal-form__button modal-form__button--quick-date",attr:{"aria-label":this.translate("modals.scheduledDate.quickOptions.nowAriaLabel")}}).addEventListener("click",()=>{let h=new Date;this.scheduledDateInput.value=M(h,"yyyy-MM-dd"),this.scheduledTimeInput.value=M(h,"HH:mm")}),i.createEl("button",{text:this.translate("modals.scheduledDate.quickOptions.clear"),cls:"modal-form__button modal-form__button--quick-date modal-form__button--quick-date--clear",attr:{"aria-label":this.translate("modals.scheduledDate.quickOptions.clearAriaLabel")}}).addEventListener("click",()=>{this.scheduledDateInput.value="",this.scheduledTimeInput.value=""});let u=t.createDiv({cls:"modal-form__buttons"});u.createEl("button",{text:this.translate("common.save"),cls:"modal-form__button modal-form__button--primary"}).addEventListener("click",()=>this.save()),u.createEl("button",{text:this.translate("common.cancel"),cls:"modal-form__button modal-form__button--secondary"}).addEventListener("click",()=>this.close())}async save(){let t=this.scheduledDateInput.value.trim(),e=this.scheduledTimeInput.value.trim(),r;if(t?e?r=hr(t,e):r=t:r=void 0,!kp(t,e)){let a=this.contentEl.createEl("div",{text:this.translate("modals.scheduledDate.errors.invalidDateTime"),cls:"modal-form__error",attr:{role:"alert","aria-live":"assertive"}});this.scheduledDateInput.setAttribute("aria-invalid","true"),this.scheduledDateInput.setAttribute("aria-describedby","scheduled-date-error"),a.setAttribute("id","scheduled-date-error"),window.setTimeout(()=>{a.remove(),this.scheduledDateInput.removeAttribute("aria-invalid"),this.scheduledDateInput.removeAttribute("aria-describedby")},3e3);return}try{await this.plugin.taskService.updateProperty(this.task,"scheduled",r),this.close()}catch(a){console.error("Failed to update scheduled date:",a);let i=this.contentEl.createEl("div",{text:this.translate("modals.scheduledDate.errors.updateFailed"),cls:"modal-form__error"});window.setTimeout(()=>i.remove(),3e3)}}onClose(){let{contentEl:t}=this;t.empty()}}});var Oee={};Be(Oee,{TaskActionPaletteModal:()=>PF});var kr,PF,Lee=b(()=>{kr=require("obsidian"),PF=class extends kr.FuzzySuggestModal{constructor(t,e,r,a){super(t),this.task=e,this.plugin=r,this.targetDate=a,this.actions=this.buildActionsList(),this.setPlaceholder("Type to search for an action..."),this.setInstructions([{command:"\u2191\u2193",purpose:"to navigate"},{command:"\u21B5",purpose:"to execute"},{command:"esc",purpose:"to dismiss"}]),this.titleEl.setText(`Quick actions: ${e.title}`),this.titleEl.setAttribute("id","task-action-palette-title"),this.containerEl.setAttribute("aria-labelledby","task-action-palette-title"),this.containerEl.setAttribute("role","dialog"),this.containerEl.setAttribute("aria-modal","true"),this.containerEl.addClass("task-action-palette-modal")}buildActionsList(){let t=[];(this.task.recurrence?this.plugin.statusManager.getNonCompletionStatuses():this.plugin.statusManager.getAllStatuses()).forEach(a=>{let i=this.task.status===a.value;t.push({id:`status-${a.value}`,title:`Change status to "${a.label}"`,description:`Set task status to ${a.label}`,icon:i?"check":"circle",category:"status",keywords:["status",a.value,a.label,"change","set"],isApplicable:()=>!i,execute:async s=>{await this.plugin.updateTaskProperty(s,"status",a.value),new kr.Notice(`Status changed to ${a.label}`)}})}),this.plugin.priorityManager.getAllPriorities().forEach(a=>{let i=this.task.priority===a.value;t.push({id:`priority-${a.value}`,title:`Set priority to "${a.label}"`,description:`Change task priority to ${a.label}`,icon:i?"check":"flag",category:"priority",keywords:["priority",a.value,a.label,"change","set"],isApplicable:()=>!i,execute:async s=>{await this.plugin.updateTaskProperty(s,"priority",a.value),new kr.Notice(`Priority changed to ${a.label}`)}})}),t.push({id:"set-due-date",title:"Set due date",description:"Set or change the task due date",icon:"calendar",category:"dates",keywords:["due","date","deadline","set","change"],isApplicable:()=>!0,execute:async a=>{this.plugin.openDueDateModal(a)}},{id:"set-scheduled-date",title:"Set scheduled date",description:"Set or change when the task is scheduled",icon:"calendar-clock",category:"dates",keywords:["scheduled","date","schedule","set","change"],isApplicable:()=>!0,execute:async a=>{this.plugin.openScheduledDateModal(a)}},{id:"clear-due-date",title:"Clear due date",description:"Remove the due date from this task",icon:"calendar-x",category:"dates",keywords:["clear","remove","due","date"],isApplicable:a=>!!a.due,execute:async a=>{await this.plugin.updateTaskProperty(a,"due",void 0),new kr.Notice("Due date cleared")}},{id:"clear-scheduled-date",title:"Clear scheduled date",description:"Remove the scheduled date from this task",icon:"calendar-x",category:"dates",keywords:["clear","remove","scheduled","date"],isApplicable:a=>!!a.scheduled,execute:async a=>{await this.plugin.updateTaskProperty(a,"scheduled",void 0),new kr.Notice("Scheduled date cleared")}});let r=this.plugin.getActiveTimeSession(this.task);return t.push({id:"toggle-time-tracking",title:r?"Stop time tracking":"Start time tracking",description:r?"Stop tracking time for this task":"Start tracking time for this task",icon:r?"pause":"play",category:"tracking",keywords:["time","tracking","timer",r?"stop":"start"],isApplicable:()=>!0,execute:async a=>{this.plugin.getActiveTimeSession(a)?(await this.plugin.stopTimeTracking(a),new kr.Notice("Time tracking stopped")):(await this.plugin.startTimeTracking(a),new kr.Notice("Time tracking started"))}}),this.task.timeEntries&&this.task.timeEntries.length>0&&t.push({id:"edit-time-entries",title:"Edit time entries",description:"View, edit, or add time entries for this task",icon:"clock",category:"tracking",keywords:["time","entries","edit","tracking","history"],isApplicable:()=>!0,execute:async a=>{this.plugin.openTimeEntryEditor(a),this.close()}}),t.push({id:"toggle-archive",title:this.task.archived?"Unarchive task":"Archive task",description:this.task.archived?"Move task back to active tasks":"Archive this task",icon:this.task.archived?"archive-restore":"archive",category:"organization",keywords:["archive",this.task.archived?"unarchive":"archive","organize"],isApplicable:()=>!0,execute:async a=>{await this.plugin.toggleTaskArchive(a),new kr.Notice(a.archived?"Task unarchived":"Task archived")}}),this.task.recurrence&&t.push({id:"complete-recurring-instance",title:"Complete this occurrence",description:"Mark this specific instance of the recurring task as complete",icon:"check-circle",category:"status",keywords:["complete","done","finish","recurring","instance","occurrence"],isApplicable:(a,i,s)=>!i.statusManager.isCompletedStatus(a.status),execute:async(a,i,s)=>{await i.toggleRecurringTaskComplete(a,s),new kr.Notice("Recurring task instance completed")}}),t.push({id:"edit-task",title:"Edit task details",description:"Open the full task editor",icon:"edit",category:"other",keywords:["edit","modify","details","properties"],isApplicable:()=>!0,execute:async a=>{await this.plugin.openTaskEditModal(a)}},{id:"open-task-file",title:"Open task file",description:"Open the task file in the editor",icon:"file-text",category:"other",keywords:["open","file","editor","edit"],isApplicable:()=>!0,execute:async a=>{let i=this.plugin.app.vault.getAbstractFileByPath(a.path);i&&await this.plugin.app.workspace.getLeaf(!0).openFile(i)}},{id:"copy-task-title",title:"Copy task title",description:"Copy the task title to clipboard",icon:"copy",category:"other",keywords:["copy","clipboard","title"],isApplicable:()=>!0,execute:async a=>{try{await navigator.clipboard.writeText(a.title),new kr.Notice("Task title copied to clipboard")}catch(i){new kr.Notice("Failed to copy to clipboard")}}},{id:"copy-task-link",title:"Copy task link",description:"Copy a wikilink to this task",icon:"link",category:"other",keywords:["copy","link","wikilink","reference"],isApplicable:()=>!0,execute:async a=>{try{let i=this.plugin.app.vault.getAbstractFileByPath(a.path);if(i){let s=this.plugin.app.metadataCache.fileToLinktext(i,"");await navigator.clipboard.writeText(`[[${s}]]`),new kr.Notice("Task link copied to clipboard")}}catch(i){new kr.Notice("Failed to copy to clipboard")}}},{id:"delete-task",title:"Delete task",description:"Permanently delete this task",icon:"trash",category:"other",keywords:["delete","remove","trash"],isApplicable:()=>!0,execute:async a=>{this.close();let{showDeleteConfirmationModal:i}=await Promise.resolve().then(()=>(Or(),Es));await i(a,this.plugin)}}),t}getItems(){return this.actions.filter(t=>t.isApplicable(this.task,this.plugin,this.targetDate)).sort((t,e)=>{var s,o;let r={status:0,priority:1,dates:2,tracking:3,organization:4,other:5},a=(s=r[t.category])!=null?s:999,i=(o=r[e.category])!=null?o:999;return a!==i?a-i:t.title.localeCompare(e.title)})}getItemText(t){return[t.title,t.description,t.category,...t.keywords].join(" ")}renderSuggestion(t,e){let r=t.item,a=e.createDiv({cls:"task-action-palette__suggestion"}),i=a.createDiv({cls:"task-action-palette__icon"});(0,kr.setIcon)(i,r.icon);let s=a.createDiv({cls:"task-action-palette__content"});s.createDiv({cls:"task-action-palette__title",text:r.title}),s.createDiv({cls:"task-action-palette__description",text:r.description}),a.createDiv({cls:"task-action-palette__badge"}).createSpan({cls:`task-action-palette__category task-action-palette__category--${r.category}`,text:r.category})}async onChooseItem(t,e){try{let r=await this.plugin.cacheManager.getTaskInfo(this.task.path);if(!r){new kr.Notice("Task not found");return}await t.execute(r,this.plugin,this.targetDate)}catch(r){let a=r instanceof Error?r.message:String(r);console.error("Error executing action:",{error:a,actionId:t.id,taskPath:this.task.path}),new kr.Notice(`Failed to execute action: ${a}`)}}}});var jMe={};Be(jMe,{default:()=>BMe});module.exports=Wa(jMe);var re=require("obsidian");rr();var il=Ie(Xi());to();var Cp=require("obsidian");es();var ts=require("obsidian");es();dl();function ad(n,t,e){n.empty();let r=(c,d)=>t.i18n.translate(c,d);Ae(n,r("settings.general.taskStorage.header")),Pe(n,r("settings.general.taskStorage.description")),nr(n,{name:r("settings.general.taskStorage.defaultFolder.name"),desc:r("settings.general.taskStorage.defaultFolder.description"),placeholder:"TaskNotes",getValue:()=>t.settings.tasksFolder,setValue:async c=>{t.settings.tasksFolder=c,e()},ariaLabel:"Default folder path for new tasks"}),t.settings.enableInstantTaskConvert&&nr(n,{name:r("settings.features.instantConvert.folder.name"),desc:r("settings.features.instantConvert.folder.description"),placeholder:"{{currentNotePath}}",getValue:()=>t.settings.inlineTaskConvertFolder,setValue:async c=>{t.settings.inlineTaskConvertFolder=c,e()},ariaLabel:"Folder for converted inline tasks"}),Me(n,{name:r("settings.general.taskStorage.moveArchived.name"),desc:r("settings.general.taskStorage.moveArchived.description"),getValue:()=>t.settings.moveArchivedTasks,setValue:async c=>{t.settings.moveArchivedTasks=c,e(),ad(n,t,e)}}),t.settings.moveArchivedTasks&&nr(n,{name:r("settings.general.taskStorage.archiveFolder.name"),desc:r("settings.general.taskStorage.archiveFolder.description"),placeholder:"TaskNotes/Archive",getValue:()=>t.settings.archiveFolder,setValue:async c=>{t.settings.archiveFolder=c,e()},ariaLabel:"Archive folder path"}),Ae(n,r("settings.general.taskIdentification.header")),Pe(n,r("settings.general.taskIdentification.description")),ur(n,{name:r("settings.general.taskIdentification.identifyBy.name"),desc:r("settings.general.taskIdentification.identifyBy.description"),options:[{value:"tag",label:r("settings.general.taskIdentification.identifyBy.options.tag")},{value:"property",label:r("settings.general.taskIdentification.identifyBy.options.property")}],getValue:()=>t.settings.taskIdentificationMethod,setValue:async c=>{t.settings.taskIdentificationMethod=c,e(),ad(n,t,e)},ariaLabel:"Task identification method"}),t.settings.taskIdentificationMethod==="tag"?(nr(n,{name:r("settings.general.taskIdentification.taskTag.name"),desc:r("settings.general.taskIdentification.taskTag.description"),placeholder:"task",getValue:()=>t.settings.taskTag,setValue:async c=>{t.settings.taskTag=c,e()},ariaLabel:"Task identification tag"}),Me(n,{name:r("settings.general.taskIdentification.hideIdentifyingTags.name"),desc:r("settings.general.taskIdentification.hideIdentifyingTags.description"),getValue:()=>t.settings.hideIdentifyingTagsInCards,setValue:async c=>{t.settings.hideIdentifyingTagsInCards=c,e()}})):(nr(n,{name:r("settings.general.taskIdentification.taskProperty.name"),desc:r("settings.general.taskIdentification.taskProperty.description"),placeholder:"category",getValue:()=>t.settings.taskPropertyName,setValue:async c=>{t.settings.taskPropertyName=c,e()}}),nr(n,{name:r("settings.general.taskIdentification.taskPropertyValue.name"),desc:r("settings.general.taskIdentification.taskPropertyValue.description"),placeholder:"task",getValue:()=>t.settings.taskPropertyValue,setValue:async c=>{t.settings.taskPropertyValue=c,e()}})),Ae(n,r("settings.integrations.basesIntegration.viewCommands.header")),Pe(n,r("settings.integrations.basesIntegration.viewCommands.description")),Pe(n,r("settings.integrations.basesIntegration.viewCommands.descriptionRegen"));let a=n.createDiv({cls:"setting-item-description"});a.createEl("a",{text:r("settings.integrations.basesIntegration.viewCommands.docsLink"),href:r("settings.integrations.basesIntegration.viewCommands.docsLinkUrl")}).setAttr("target","_blank"),a.style.marginBottom="1em",[{id:"open-calendar-view",nameKey:"miniCalendar",defaultPath:"TaskNotes/Views/mini-calendar-default.base"},{id:"open-kanban-view",nameKey:"kanban",defaultPath:"TaskNotes/Views/kanban-default.base"},{id:"open-tasks-view",nameKey:"tasks",defaultPath:"TaskNotes/Views/tasks-default.base"},{id:"open-advanced-calendar-view",nameKey:"advancedCalendar",defaultPath:"TaskNotes/Views/calendar-default.base"},{id:"open-agenda-view",nameKey:"agenda",defaultPath:"TaskNotes/Views/agenda-default.base"},{id:"relationships",nameKey:"relationships",defaultPath:"TaskNotes/Views/relationships.base"}].forEach(({id:c,nameKey:d,defaultPath:u})=>{let p=new ts.Setting(n),m=r(`settings.integrations.basesIntegration.viewCommands.commands.${d}`);p.setName(m),p.setDesc(r("settings.integrations.basesIntegration.viewCommands.fileLabel",{path:t.settings.commandFileMapping[c]})),p.addText(h=>(h.setPlaceholder(u).setValue(t.settings.commandFileMapping[c]).onChange(async f=>{t.settings.commandFileMapping[c]=f,await e(),p.setDesc(r("settings.integrations.basesIntegration.viewCommands.fileLabel",{path:f}))}),h.inputEl.style.width="100%",h)),p.addButton(h=>(h.setButtonText(r("settings.integrations.basesIntegration.viewCommands.resetButton")).setTooltip(r("settings.integrations.basesIntegration.viewCommands.resetTooltip")).onClick(async()=>{t.settings.commandFileMapping[c]=u,await e(),app.setting.activeTab&&app.setting.openTabById(app.setting.activeTab.id)}),h))}),new ts.Setting(n).setName(r("settings.integrations.basesIntegration.createDefaultFiles.name")).setDesc(r("settings.integrations.basesIntegration.createDefaultFiles.description")).addButton(c=>(c.setButtonText(r("settings.integrations.basesIntegration.createDefaultFiles.buttonText")).setCta().onClick(async()=>{await t.createDefaultBasesFiles()}),c)),new ts.Setting(n).setName(r("settings.integrations.basesIntegration.exportV3Views.name")).setDesc(r("settings.integrations.basesIntegration.exportV3Views.description")).addButton(c=>(c.setButtonText(r("settings.integrations.basesIntegration.exportV3Views.buttonText")).onClick(async()=>{try{let d=t.viewStateManager.getSavedViews();if(d.length===0){new ts.Notice(r("settings.integrations.basesIntegration.exportV3Views.noViews"));return}let u=t.basesFilterConverter.convertAllSavedViewsToBasesFile(d),p="all-saved-views.base",m=`TaskNotes/Views/${p}`;t.app.vault.getAbstractFileByPath("TaskNotes/Views")||await t.app.vault.createFolder("TaskNotes/Views");let f=t.app.vault.getAbstractFileByPath(m);if(f){if(!await $a(t.app,{title:r("settings.integrations.basesIntegration.exportV3Views.fileExists"),message:r("settings.integrations.basesIntegration.exportV3Views.confirmOverwrite",{fileName:p}),isDestructive:!1}))return;await t.app.vault.modify(f,u)}else await t.app.vault.create(m,u);new ts.Notice(r("settings.integrations.basesIntegration.exportV3Views.success",{count:d.length.toString(),filePath:m})),await t.app.workspace.openLinkText(m,"",!0)}catch(d){console.error("Error exporting all views to Bases:",d),new ts.Notice(r("settings.integrations.basesIntegration.exportV3Views.error",{message:d.message}))}}),c)),Ae(n,r("settings.general.folderManagement.header")),nr(n,{name:r("settings.general.folderManagement.excludedFolders.name"),desc:r("settings.general.folderManagement.excludedFolders.description"),placeholder:"Templates, Archive",getValue:()=>t.settings.excludedFolders,setValue:async c=>{t.settings.excludedFolders=c,e()},ariaLabel:"Excluded folder paths"}),Ae(n,r("settings.features.uiLanguage.header")),Pe(n,r("settings.features.uiLanguage.description"));let o=(()=>{let c=[{value:"system",label:r("common.systemDefault")}];for(let d of t.i18n.getAvailableLocales()){let u=t.i18n.getNativeLanguageName(d);c.push({value:d,label:u})}return c})();ur(n,{name:r("settings.features.uiLanguage.dropdown.name"),desc:r("settings.features.uiLanguage.dropdown.description"),options:o,getValue:()=>{var c;return(c=t.settings.uiLanguage)!=null?c:"system"},setValue:async c=>{t.settings.uiLanguage=c,t.i18n.setLocale(c),e(),ad(n,t,e)}}),t.app.vault.getConfig("useMarkdownLinks")&&(Ae(n,r("settings.general.frontmatter.header")),Pe(n,r("settings.general.frontmatter.description")),Me(n,{name:r("settings.general.frontmatter.useMarkdownLinks.name"),desc:r("settings.general.frontmatter.useMarkdownLinks.description"),getValue:()=>t.settings.useFrontmatterMarkdownLinks,setValue:async c=>{t.settings.useFrontmatterMarkdownLinks=c,e()}})),Ae(n,r("settings.general.releaseNotes.header")),Pe(n,r("settings.general.releaseNotes.description",{version:t.manifest.version})),Me(n,{name:r("settings.general.releaseNotes.showOnUpdate.name"),desc:r("settings.general.releaseNotes.showOnUpdate.description"),getValue:()=>{var c;return(c=t.settings.showReleaseNotesOnUpdate)!=null?c:!0},setValue:async c=>{t.settings.showReleaseNotesOnUpdate=c,e()}}),new ts.Setting(n).setName(r("settings.general.releaseNotes.viewButton.name")).setDesc(r("settings.general.releaseNotes.viewButton.description")).addButton(c=>c.setButtonText(r("settings.general.releaseNotes.viewButton.buttonText")).setCta().onClick(async()=>{await t.activateReleaseNotesView()}))}es();var Hw=require("obsidian");function pt(n,t){let e=n.createDiv("tasknotes-settings__card");t.id&&e.setAttribute("data-card-id",t.id),t.draggable&&e.addClass("tasknotes-settings__card--draggable"),t.collapsible&&(e.addClass("tasknotes-settings__card--collapsible"),t.defaultCollapsed&&e.addClass("tasknotes-settings__card--collapsed"));let r=e.createDiv("tasknotes-settings__card-header"),a=null;t.draggable&&(r.addClass("tasknotes-settings__card-header--with-drag-handle"),a=r.createDiv("tasknotes-settings__card-drag-handle"),a.textContent="\u22EE\u22EE",a.draggable=!0,a.title="Drag to reorder");let i=r.createDiv();if(i.style.display="flex",i.style.alignItems="center",i.style.flex="1",i.style.minWidth="0",t.colorIndicator){let c=i.createDiv("tasknotes-settings__card-color-indicator");c.style.backgroundColor=t.colorIndicator.color,t.colorIndicator.cssVar&&c.style.setProperty("--card-color",t.colorIndicator.color)}let s=i.createDiv("tasknotes-settings__card-info"),o=s.createSpan("tasknotes-settings__card-primary-text");if(o.textContent=t.header.primaryText,t.header.secondaryText){let c=s.createSpan("tasknotes-settings__card-secondary-text");c.textContent=t.header.secondaryText}let l=r.createDiv();if(l.style.display="flex",l.style.alignItems="center",l.style.gap="0.5rem",t.header.meta&&t.header.meta.length>0){let c=l.createDiv("tasknotes-settings__card-meta");t.header.meta.forEach(d=>{c.appendChild(d)})}if(t.header.actions&&t.header.actions.length>0){let c=l.querySelector(".tasknotes-settings__card-header-actions")||l.createDiv("tasknotes-settings__card-header-actions");t.header.actions.forEach(d=>{let u=c.createEl("button",{cls:"tasknotes-settings__card-header-btn"});d.variant==="delete"&&u.addClass("tasknotes-settings__card-header-btn--delete");let p=u.createSpan();(0,Hw.setIcon)(p,d.icon),d.tooltip&&(u.title=d.tooltip),u.onclick=m=>{m.stopPropagation(),d.onClick()}})}if(t.collapsible){let c=()=>{var u,p;e.hasClass("tasknotes-settings__card--collapsed")?(e.removeClass("tasknotes-settings__card--collapsed"),r.title="Collapse card",(u=t.onCollapseChange)==null||u.call(t,!1)):(e.addClass("tasknotes-settings__card--collapsed"),r.title="Expand card",(p=t.onCollapseChange)==null||p.call(t,!0))};r.addClass("tasknotes-settings__card-header--clickable"),r.title=t.defaultCollapsed?"Expand card":"Collapse card",r.onclick=d=>{d.target.closest(".tasknotes-settings__card-header-actions")||c()}}if(t.content&&t.content.sections.length>0){let c=e.createDiv("tasknotes-settings__card-content");t.draggable&&c.addClass("tasknotes-settings__card-content--with-drag-handle"),t.content.sections.forEach(d=>{d.rows.forEach(u=>{let p=c.createDiv("tasknotes-settings__card-config-row");u.fullWidth&&(p.style.flexDirection="column",p.style.alignItems="flex-start",p.style.gap="0.5rem");let m=p.createSpan("tasknotes-settings__card-config-label");m.textContent=u.label,p.appendChild(u.input)})})}if(t.actions&&t.actions.buttons.length>0){let c=e.createDiv("tasknotes-settings__card-actions");t.draggable&&c.addClass("tasknotes-settings__card-actions--with-drag-handle"),t.actions.buttons.forEach(d=>{let u=c.createEl("button",{text:d.text,cls:"tasknotes-settings__card-action-btn"});if(d.variant&&u.addClass(`tasknotes-settings__card-action-btn--${d.variant}`),d.icon){let p=u.createSpan();(0,Hw.setIcon)(p,d.icon),u.insertBefore(p,u.firstChild)}d.disabled&&(u.disabled=!0),u.onclick=d.onClick})}return e}function an(n,t="default"){let e=document.createElement("span");return e.addClass("tasknotes-settings__card-status-badge"),e.addClass(`tasknotes-settings__card-status-badge--${t}`),e.textContent=n,e}function Ya(n,t){return{icon:"trash-2",variant:"delete",tooltip:t||"Delete",onClick:n}}function Se(n="text",t,e){let r=document.createElement("input");return r.type=n,r.addClass("tasknotes-settings__card-input"),t&&(r.placeholder=t),e&&(r.value=e),r}function pr(n=!1,t){let{Setting:e}=require("obsidian"),r=document.createElement("div"),a=new e(r),i;return a.addToggle(s=>{s.setValue(n),t&&s.onChange(t),i=s.toggleEl}),i}function Sr(n,t){let e=document.createElement("select");return e.addClass("tasknotes-settings__card-input"),n.forEach(r=>{let a=e.createEl("option",{value:r.value,text:r.label});t===r.value&&(a.selected=!0)}),e}function id(n,t,e){let r=n.querySelector(".tasknotes-settings__card-drag-handle");if(!r)return;let a=n.getAttribute("data-card-id");a&&(r.addEventListener("dragstart",i=>{i.dataTransfer&&(i.dataTransfer.setData("text/plain",a),n.addClass("tasknotes-settings__card--dragging"))}),r.addEventListener("dragend",()=>{n.removeClass("tasknotes-settings__card--dragging")}),n.addEventListener("dragover",i=>{i.preventDefault();let s=t.querySelector(".tasknotes-settings__card--dragging");if(s&&s!==n){let o=n.getBoundingClientRect(),l=o.top+o.height/2;n.removeClass("tasknotes-settings__card--drag-over-top","tasknotes-settings__card--drag-over-bottom"),i.clientY<l?n.addClass("tasknotes-settings__card--drag-over-top"):n.addClass("tasknotes-settings__card--drag-over-bottom")}}),n.addEventListener("dragleave",()=>{n.removeClass("tasknotes-settings__card--drag-over-top","tasknotes-settings__card--drag-over-bottom")}),n.addEventListener("drop",i=>{i.preventDefault(),n.removeClass("tasknotes-settings__card--drag-over-top","tasknotes-settings__card--drag-over-bottom");let s=i.dataTransfer.getData("text/plain"),o=a;if(s!==o){let l=n.getBoundingClientRect(),c=l.top+l.height/2,d=i.clientY<c;e(s,o,d)}}))}function ro(n,t,e,r){let a=Se("number");return n!==void 0&&(a.min=n.toString()),t!==void 0&&(a.max=t.toString()),e!==void 0&&(a.step=e.toString()),r!==void 0&&(a.value=r.toString()),a}function zw(n){return n&&n.replace(/^webcal:\/\//i,"http://").replace(/^webcals:\/\//i,"https://")}function my(n,t){let e=document.createElement("input");return e.type="text",e.addClass("tasknotes-settings__card-input"),e.pattern="^(https?|webcals?)://.*",e.title="Enter an http://, https://, webcal://, or webcals:// URL",n&&(e.placeholder=n),t&&(e.value=t),e}function sd(n){let t=document.createElement("span");return t.addClass("tasknotes-settings__card-info-badge"),t.textContent=n,t}function mi(n,t,e,r){n.empty();let a=n.createDiv("tasknotes-settings__empty-state");if(a.createSpan("tasknotes-settings__empty-icon"),a.createSpan({text:t,cls:"tasknotes-settings__empty-text"}),e&&r){let i=a.createEl("button",{text:e,cls:"tn-btn tn-btn--primary"});i.style.marginTop="1rem",i.onclick=r}}var Uw=require("obsidian");function wre(n,t,e){var a;let r=n.settings.nlpTriggers.triggers.find(i=>i.propertyId===t);return{propertyId:t,enabled:(a=r==null?void 0:r.enabled)!=null?a:t!=="priority",trigger:(r==null?void 0:r.trigger)||e}}function iH(n,t,e,r,a){var s,o;let i=n.settings.nlpTriggers.triggers.findIndex(l=>l.propertyId===t);i!==-1?(e.enabled!==void 0&&(n.settings.nlpTriggers.triggers[i].enabled=e.enabled),e.trigger!==void 0&&(n.settings.nlpTriggers.triggers[i].trigger=e.trigger)):n.settings.nlpTriggers.triggers.push({propertyId:t,trigger:(s=e.trigger)!=null?s:r,enabled:(o=e.enabled)!=null?o:!0}),a()}function ma(n,t,e,r,a,i){let s=wre(n,t,e),o=pr(s.enabled,c=>{iH(n,t,{enabled:c},e,r),i&&i()}),l=[{label:a("settings.taskProperties.propertyCard.nlpTrigger"),input:o}];if(s.enabled){let c=Se("text",e,s.trigger);c.style.width="80px",c.addEventListener("change",()=>{let d=c.value;if(d.trim().length===0){new Uw.Notice(a("settings.taskProperties.propertyCard.triggerEmpty"));return}if(d.length>10){new Uw.Notice(a("settings.taskProperties.propertyCard.triggerTooLong"));return}iH(n,t,{trigger:d},e,r)}),l.push({label:a("settings.taskProperties.propertyCard.triggerChar"),input:c})}return l}function sn(n){let t=document.createElement("p");return t.className="setting-item-description",t.style.marginTop="0",t.style.marginBottom="0.75rem",t.textContent=n,t}function ul(n,t,e,r,a){let i=Se("text",a.propertyId,t.settings.fieldMapping[a.propertyId]);i.addEventListener("change",()=>{t.settings.fieldMapping[a.propertyId]=i.value,e()});let o=[{label:"",input:sn(a.description||""),fullWidth:!0},{label:r("settings.taskProperties.propertyCard.propertyKey"),input:i}];if(a.hasDefault&&a.getDefaultValue&&a.setDefaultValue){let l;a.defaultType==="dropdown"||a.defaultType==="date-preset"?(l=Sr(a.defaultOptions||[],a.getDefaultValue()),l.addEventListener("change",()=>{a.setDefaultValue(l.value)})):a.defaultType==="number"?(l=ro(0,void 0,1,parseInt(a.getDefaultValue())||0),l.addEventListener("change",()=>{a.setDefaultValue(l.value)})):(l=Se("text",a.defaultPlaceholder||"",a.getDefaultValue()),l.addEventListener("change",()=>{a.setDefaultValue(l.value)})),o.push({label:r("settings.taskProperties.propertyCard.default"),input:l})}if(a.hasNLPTrigger&&a.nlpDefaultTrigger){let l=ma(t,a.propertyId,a.nlpDefaultTrigger,e,r);o.push(...l)}pt(n,{id:`property-${a.propertyId}`,collapsible:!0,defaultCollapsed:!0,header:{primaryText:a.displayName,secondaryText:t.settings.fieldMapping[a.propertyId]},content:{sections:[{rows:o}]}})}function bn(n,t,e,r,a,i,s){let o=Se("text",a,t.settings.fieldMapping[a]);o.addEventListener("change",()=>{t.settings.fieldMapping[a]=o.value,e()});let l=sn(s||"");pt(n,{id:`property-${a}`,collapsible:!0,defaultCollapsed:!0,header:{primaryText:i,secondaryText:t.settings.fieldMapping[a]},content:{sections:[{rows:[{label:"",input:l,fullWidth:!0},{label:r("settings.taskProperties.propertyCard.propertyKey"),input:o}]}]}})}function Ww(n,t,e,r){let a=n.createDiv(),i=!0;function s(){a.empty();let o=Se("text","title",t.settings.fieldMapping.title);o.addEventListener("change",()=>{t.settings.fieldMapping.title=o.value,e()});let l=pr(t.settings.storeTitleInFilename,p=>{t.settings.storeTitleInFilename=p,e(),s()}),c=document.createElement("div");c.addClass("tasknotes-settings__nested-content"),sH(c,t,e,r);let u=[{label:"",input:sn(r("settings.taskProperties.properties.title.description")),fullWidth:!0}];t.settings.storeTitleInFilename||u.push({label:r("settings.taskProperties.propertyCard.propertyKey"),input:o}),u.push({label:r("settings.taskProperties.titleCard.storeTitleInFilename"),input:l},{label:"",input:c,fullWidth:!0}),pt(a,{id:"property-title",collapsible:!0,defaultCollapsed:i,onCollapseChange:p=>{i=p},header:{primaryText:r("settings.taskProperties.properties.title.name"),secondaryText:t.settings.storeTitleInFilename?r("settings.taskProperties.titleCard.storedInFilename"):t.settings.fieldMapping.title},content:{sections:[{rows:u}]}})}s()}function sH(n,t,e,r){if(n.empty(),t.settings.storeTitleInFilename){n.createDiv({text:r("settings.taskProperties.titleCard.filenameUpdatesWithTitle"),cls:"setting-item-description"});return}let a=n.createDiv("tasknotes-settings__card-config-row");a.createSpan({text:r("settings.taskProperties.titleCard.filenameFormat"),cls:"tasknotes-settings__card-config-label"});let i=Sr([{value:"title",label:r("settings.appearance.taskFilenames.filenameFormat.options.title")},{value:"zettel",label:r("settings.appearance.taskFilenames.filenameFormat.options.zettel")},{value:"timestamp",label:r("settings.appearance.taskFilenames.filenameFormat.options.timestamp")},{value:"custom",label:r("settings.appearance.taskFilenames.filenameFormat.options.custom")}],t.settings.taskFilenameFormat);if(i.addEventListener("change",()=>{t.settings.taskFilenameFormat=i.value,e(),sH(n,t,e,r)}),a.appendChild(i),t.settings.taskFilenameFormat==="custom"){let s=n.createDiv("tasknotes-settings__card-config-row");s.createSpan({text:r("settings.taskProperties.titleCard.customTemplate"),cls:"tasknotes-settings__card-config-label"});let o=Se("text",r("settings.appearance.taskFilenames.customTemplate.placeholder"),t.settings.customFilenameTemplate);o.style.width="100%",o.addEventListener("change",()=>{t.settings.customFilenameTemplate=o.value,e()}),s.appendChild(o),n.createDiv({text:r("settings.appearance.taskFilenames.customTemplate.helpText"),cls:"setting-item-description"})}}var rs=require("obsidian"),qw=class extends rs.AbstractInputSuggest{constructor(t,e){super(t,e),this.input=e}getSuggestions(t){let e=(0,rs.getIconIds)(),r=t.toLowerCase().trim();return r?e.filter(a=>a.toLowerCase().includes(r)).map(a=>({id:a,display:a})):["check","circle","clock","star","flag","alert-circle","calendar","bookmark","play","pause","square","x","check-circle","minus-circle","plus-circle","loader"].filter(i=>e.includes(i)).map(i=>({id:i,display:i}))}renderSuggestion(t,e){e.addClass("icon-suggestion-item");let r=e.createSpan("icon-suggestion-preview");(0,rs.setIcon)(r,t.id),e.createSpan({text:t.display,cls:"icon-suggestion-text"})}selectSuggestion(t){this.input.value=t.id,this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.dispatchEvent(new Event("change",{bubbles:!0})),this.close()}};function oH(n,t,e,r){let a=document.createElement("div");a.addClass("icon-input-container");let i=document.createElement("span");i.addClass("icon-input-preview"),a.appendChild(i);let s=document.createElement("input");s.type="text",s.addClass("tasknotes-settings__card-input"),s.addClass("icon-input"),s.placeholder=t,e&&(s.value=e,(0,rs.setIcon)(i,e),i.style.display="flex"),a.appendChild(s);let o=()=>{let l=s.value.trim();l&&(0,rs.getIconIds)().includes(l)?(i.empty(),(0,rs.setIcon)(i,l),i.style.display="flex"):i.style.display="none"};return s.addEventListener("input",()=>{o(),r&&r(s.value)}),new qw(n,s),{container:a,input:s}}function Vw(n,t,e,r){let a=Se("text","status",t.settings.fieldMapping.status),i=Sr(t.settings.customStatuses.map(T=>({value:T.value,label:T.label||T.value})),t.settings.defaultTaskStatus);a.addEventListener("change",()=>{t.settings.fieldMapping.status=a.value,e()}),i.addEventListener("change",()=>{t.settings.defaultTaskStatus=i.value,e()});let s=document.createElement("div");s.addClass("tasknotes-settings__nested-cards");let o=s.createDiv("tasknotes-settings__collapsible-section"),l=o.createDiv("tasknotes-settings__collapsible-section-header");l.createSpan({text:r("settings.taskProperties.statusCard.valuesHeader"),cls:"tasknotes-settings__collapsible-section-title"});let c=l.createSpan("tasknotes-settings__collapsible-section-chevron");c.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';let d=o.createDiv("tasknotes-settings__collapsible-section-content"),u=d.createDiv("tasknotes-settings__help-section");u.createEl("h4",{text:r("settings.taskProperties.taskStatuses.howTheyWork.title")});let p=u.createEl("ul");p.createEl("li",{text:r("settings.taskProperties.taskStatuses.howTheyWork.value")}),p.createEl("li",{text:r("settings.taskProperties.taskStatuses.howTheyWork.label")}),p.createEl("li",{text:r("settings.taskProperties.taskStatuses.howTheyWork.color")}),p.createEl("li",{text:r("settings.taskProperties.taskStatuses.howTheyWork.icon")}),p.createEl("li",{text:r("settings.taskProperties.taskStatuses.howTheyWork.completed")}),p.createEl("li",{text:r("settings.taskProperties.taskStatuses.howTheyWork.autoArchive")}),u.createEl("p",{text:r("settings.taskProperties.taskStatuses.howTheyWork.orderNote"),cls:"setting-item-description"});let m=d.createDiv("tasknotes-statuses-container");hy(m,t,e,r,()=>{i.empty(),t.settings.customStatuses.forEach(T=>{let k=i.createEl("option",{value:T.value,text:T.label||T.value});T.value===t.settings.defaultTaskStatus&&(k.selected=!0)})});let h=d.createEl("button",{text:r("settings.taskProperties.taskStatuses.addNew.buttonText"),cls:"tn-btn tn-btn--ghost"});h.style.marginTop="0.5rem",h.onclick=()=>{let k={id:`status_${Date.now()}`,value:"",label:"",color:"#6366f1",completed:!1,isCompleted:!1,order:t.settings.customStatuses.length,autoArchive:!1,autoArchiveDelay:5};t.settings.customStatuses.push(k),e(),hy(m,t,e,r,()=>{i.empty(),t.settings.customStatuses.forEach(w=>{let S=i.createEl("option",{value:w.value,text:w.label||w.value});w.value===t.settings.defaultTaskStatus&&(S.selected=!0)})})},l.addEventListener("click",()=>{o.toggleClass("tasknotes-settings__collapsible-section--collapsed",!o.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let f=ma(t,"status","*",e,r),v=[{label:"",input:sn(r("settings.taskProperties.properties.status.description")),fullWidth:!0},{label:r("settings.taskProperties.propertyCard.propertyKey"),input:a},{label:r("settings.taskProperties.propertyCard.default"),input:i},...f,{label:"",input:s,fullWidth:!0}];pt(n,{id:"property-status",collapsible:!0,defaultCollapsed:!0,header:{primaryText:r("settings.taskProperties.properties.status.name"),secondaryText:t.settings.fieldMapping.status},content:{sections:[{rows:v}]}})}function hy(n,t,e,r,a){if(n.empty(),!t.settings.customStatuses||t.settings.customStatuses.length===0){mi(n,r("settings.taskProperties.taskStatuses.emptyState"));return}[...t.settings.customStatuses].sort((s,o)=>s.order-o.order).forEach(s=>{let o=Se("text",r("settings.taskProperties.taskStatuses.placeholders.value"),s.value),l=Se("text",r("settings.taskProperties.taskStatuses.placeholders.label"),s.label),c=Se("color","",s.color),{container:d,input:u}=oH(t.app,r("settings.taskProperties.taskStatuses.placeholders.icon"),s.icon||""),p=pr(s.isCompleted||!1,w=>{s.isCompleted=w;let S=g==null?void 0:g.querySelector(".tasknotes-settings__card-meta");S&&(S.empty(),s.isCompleted&&S.appendChild(an(r("settings.taskProperties.taskStatuses.badges.completed"),"completed"))),e()}),m=pr(s.autoArchive||!1,w=>{s.autoArchive=w,e(),v()}),h=ro(1,1440,1,s.autoArchiveDelay||5),f=s.isCompleted?[an(r("settings.taskProperties.taskStatuses.badges.completed"),"completed")]:[],g,v=()=>{let w=h.closest(".tasknotes-settings__card-config-row");w&&(w.style.display=s.autoArchive?"flex":"none")},T=()=>{if(confirm(r("settings.taskProperties.taskStatuses.deleteConfirm",{label:s.label||s.value}))){let S=t.settings.customStatuses.findIndex(x=>x.id===s.id);S!==-1&&(t.settings.customStatuses.splice(S,1),t.settings.customStatuses.forEach((x,I)=>{x.order=I}),e(),hy(n,t,e,r,a),a&&a())}},k={id:s.id,draggable:!0,collapsible:!0,defaultCollapsed:!0,colorIndicator:{color:s.color,cssVar:"--status-color"},header:{primaryText:s.value||"untitled",secondaryText:s.label||"No label",meta:f,actions:[Ya(T)]},content:{sections:[{rows:[{label:r("settings.taskProperties.taskStatuses.fields.value"),input:o},{label:r("settings.taskProperties.taskStatuses.fields.label"),input:l},{label:r("settings.taskProperties.taskStatuses.fields.color"),input:c},{label:r("settings.taskProperties.taskStatuses.fields.icon"),input:d},{label:r("settings.taskProperties.taskStatuses.fields.completed"),input:p},{label:r("settings.taskProperties.taskStatuses.fields.autoArchive"),input:m},{label:r("settings.taskProperties.taskStatuses.fields.delayMinutes"),input:h}]}]}};g=pt(n,k),v(),o.addEventListener("change",()=>{s.value=o.value,g.querySelector(".tasknotes-settings__card-primary-text").textContent=s.value||"untitled",e(),a&&a()}),l.addEventListener("change",()=>{s.label=l.value,g.querySelector(".tasknotes-settings__card-secondary-text").textContent=s.label||"No label",e(),a&&a()}),c.addEventListener("change",()=>{s.color=c.value;let w=g.querySelector(".tasknotes-settings__card-color-indicator");w&&(w.style.backgroundColor=s.color),e()}),u.addEventListener("change",()=>{s.icon=u.value.trim()||void 0,e()}),h.addEventListener("change",()=>{let w=parseInt(h.value);!isNaN(w)&&w>=1&&w<=1440&&(s.autoArchiveDelay=w,e())}),id(g,n,(w,S,x)=>{let I=t.settings.customStatuses.findIndex(N=>N.id===w),A=t.settings.customStatuses.findIndex(N=>N.id===S);if(I===-1||A===-1)return;let B=[...t.settings.customStatuses],[z]=B.splice(I,1),U=A;I<A&&(U=A-1),x||U++,B.splice(U,0,z),B.forEach((N,P)=>{N.order=P}),t.settings.customStatuses=B,e(),hy(n,t,e,r,a)})})}var lH=require("obsidian");function $w(n,t,e,r){let a=Se("text","priority",t.settings.fieldMapping.priority),i=Sr([{value:"",label:r("settings.defaults.options.noDefault")},...t.settings.customPriorities.map(T=>({value:T.value,label:T.label||T.value}))],t.settings.defaultTaskPriority);a.addEventListener("change",()=>{t.settings.fieldMapping.priority=a.value,e()}),i.addEventListener("change",()=>{t.settings.defaultTaskPriority=i.value,e()});let s=document.createElement("div");s.addClass("tasknotes-settings__nested-cards");let o=s.createDiv("tasknotes-settings__collapsible-section"),l=o.createDiv("tasknotes-settings__collapsible-section-header");l.createSpan({text:r("settings.taskProperties.priorityCard.valuesHeader"),cls:"tasknotes-settings__collapsible-section-title"});let c=l.createSpan("tasknotes-settings__collapsible-section-chevron");c.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';let d=o.createDiv("tasknotes-settings__collapsible-section-content"),u=d.createDiv("tasknotes-settings__help-section");u.createEl("h4",{text:r("settings.taskProperties.taskPriorities.howTheyWork.title")});let p=u.createEl("ul");p.createEl("li",{text:r("settings.taskProperties.taskPriorities.howTheyWork.value")}),p.createEl("li",{text:r("settings.taskProperties.taskPriorities.howTheyWork.label")}),p.createEl("li",{text:r("settings.taskProperties.taskPriorities.howTheyWork.color")});let m=d.createDiv("tasknotes-priorities-container");fy(m,t,e,r,()=>{i.empty();let T=i.createEl("option",{value:"",text:r("settings.defaults.options.noDefault")});t.settings.defaultTaskPriority===""&&(T.selected=!0),t.settings.customPriorities.forEach(k=>{let w=i.createEl("option",{value:k.value,text:k.label||k.value});k.value===t.settings.defaultTaskPriority&&(w.selected=!0)})});let h=d.createEl("button",{text:r("settings.taskProperties.taskPriorities.addNew.buttonText"),cls:"tn-btn tn-btn--ghost"});h.style.marginTop="0.5rem",h.onclick=()=>{let T=`priority_${Date.now()}`,k=t.settings.customPriorities.reduce((S,x)=>Math.max(S,x.weight),-1),w={id:T,value:"",label:"",color:"#6366f1",weight:k+1};t.settings.customPriorities.push(w),e(),fy(m,t,e,r,()=>{i.empty();let S=i.createEl("option",{value:"",text:r("settings.defaults.options.noDefault")});t.settings.defaultTaskPriority===""&&(S.selected=!0),t.settings.customPriorities.forEach(x=>{let I=i.createEl("option",{value:x.value,text:x.label||x.value});x.value===t.settings.defaultTaskPriority&&(I.selected=!0)})})},l.addEventListener("click",()=>{o.toggleClass("tasknotes-settings__collapsible-section--collapsed",!o.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let f=ma(t,"priority","!",e,r),v=[{label:"",input:sn(r("settings.taskProperties.properties.priority.description")),fullWidth:!0},{label:r("settings.taskProperties.propertyCard.propertyKey"),input:a},{label:r("settings.taskProperties.propertyCard.default"),input:i},...f,{label:"",input:s,fullWidth:!0}];pt(n,{id:"property-priority",collapsible:!0,defaultCollapsed:!0,header:{primaryText:r("settings.taskProperties.properties.priority.name"),secondaryText:t.settings.fieldMapping.priority},content:{sections:[{rows:v}]}})}function fy(n,t,e,r,a){if(n.empty(),!t.settings.customPriorities||t.settings.customPriorities.length===0){mi(n,r("settings.taskProperties.taskPriorities.emptyState"));return}[...t.settings.customPriorities].sort((s,o)=>s.weight-o.weight).forEach(s=>{let o=Se("text",r("settings.taskProperties.taskPriorities.placeholders.value"),s.value),l=Se("text",r("settings.taskProperties.taskPriorities.placeholders.label"),s.label),c=Se("color","",s.color),d=pt(n,{id:s.id,draggable:!0,collapsible:!0,defaultCollapsed:!0,colorIndicator:{color:s.color},header:{primaryText:s.label||s.value||"untitled",actions:[Ya(()=>{if(t.settings.customPriorities.length<=1){new lH.Notice(r("settings.taskProperties.taskPriorities.deleteConfirm"));return}let u=t.settings.customPriorities.findIndex(p=>p.id===s.id);u!==-1&&(t.settings.customPriorities.splice(u,1),t.settings.customPriorities.sort((p,m)=>p.weight-m.weight).forEach((p,m)=>{p.weight=m}),e(),fy(n,t,e,r,a),a&&a())},r("settings.taskProperties.taskPriorities.deleteTooltip"))]},content:{sections:[{rows:[{label:r("settings.taskProperties.taskPriorities.fields.value"),input:o},{label:r("settings.taskProperties.taskPriorities.fields.label"),input:l},{label:r("settings.taskProperties.taskPriorities.fields.color"),input:c}]}]}});o.addEventListener("change",()=>{s.value=o.value,e(),a&&a()}),l.addEventListener("change",()=>{s.label=l.value,d.querySelector(".tasknotes-settings__card-primary-text").textContent=s.label||s.value||"untitled",e(),a&&a()}),c.addEventListener("change",()=>{s.color=c.value;let u=d.querySelector(".tasknotes-settings__card-color-indicator");u&&(u.style.backgroundColor=s.color),e()}),id(d,n,(u,p,m)=>{let h=t.settings.customPriorities.findIndex(S=>S.id===u),f=t.settings.customPriorities.findIndex(S=>S.id===p);if(h===-1||f===-1)return;let g=[...t.settings.customPriorities].sort((S,x)=>S.weight-x.weight),v=g.findIndex(S=>S.id===u),T=g.findIndex(S=>S.id===p),[k]=g.splice(v,1),w=T;v<T&&(w=T-1),m||w++,g.splice(w,0,k),g.forEach((S,x)=>{S.weight=x}),t.settings.customPriorities=g,e(),fy(n,t,e,r,a)})})}function gy(n,t,e,r){var u,p;let a=t||{requiredTags:[],includeFolders:[],propertyKey:"",propertyValue:""},i=m=>{a={...a,...m},e(a)},s=Se("text",r("settings.appearance.projectAutosuggest.requiredTags.placeholder"),((u=a.requiredTags)==null?void 0:u.join(", "))||"");s.addEventListener("change",()=>{let m=s.value.split(",").map(h=>h.trim()).filter(Boolean);i({requiredTags:m})});let o=Se("text",r("settings.appearance.projectAutosuggest.includeFolders.placeholder"),((p=a.includeFolders)==null?void 0:p.join(", "))||"");o.addEventListener("change",()=>{let m=o.value.split(",").map(h=>h.trim()).filter(Boolean);i({includeFolders:m})});let l=Se("text",r("settings.appearance.projectAutosuggest.requiredPropertyKey.placeholder"),a.propertyKey||"");l.addEventListener("change",()=>{i({propertyKey:l.value.trim()})});let c=Se("text",r("settings.appearance.projectAutosuggest.requiredPropertyValue.placeholder"),a.propertyValue||"");c.addEventListener("change",()=>{i({propertyValue:c.value.trim()})});let d=(m,h)=>{let f=n.createDiv("tasknotes-settings__card-config-row"),g=f.createSpan("tasknotes-settings__card-config-label");g.textContent=m,f.appendChild(h)};d(r("settings.appearance.projectAutosuggest.requiredTags.name"),s),d(r("settings.appearance.projectAutosuggest.includeFolders.name"),o),d(r("settings.appearance.projectAutosuggest.requiredPropertyKey.name"),l),d(r("settings.appearance.projectAutosuggest.requiredPropertyValue.name"),c)}Py();yl();function nS(n,t,e,r){let a=n.createDiv(),i=!0;function s(){a.empty();let o=Se("text","projects",t.settings.fieldMapping.projects);o.addEventListener("change",()=>{t.settings.fieldMapping.projects=o.value,e()});let l=document.createElement("div");l.addClass("tasknotes-settings__nested-content");let c=[],d=l.createDiv("default-projects-container");t.settings.taskCreationDefaults.defaultProjects&&ha(t.settings.taskCreationDefaults.defaultProjects).map(w=>w.replace(/\[\[|\]\]/g,"").trim()).filter(w=>w).forEach(w=>{let S=t.app.vault.getAbstractFileByPath(w+".md")||t.app.vault.getAbstractFileByPath(w);S&&c.push(S)});let p=d.createDiv().createEl("button",{text:r("settings.defaults.basicDefaults.defaultProjects.selectButton"),cls:"tn-btn tn-btn--ghost"});p.onclick=()=>{new io(t.app,t,w=>{if(!c.includes(w)){c.push(w);let S=c.map(x=>`[[${x.path.replace(/\.md$/,"")}]]`).join(", ");t.settings.taskCreationDefaults.defaultProjects=S,e(),rS(m,t,e,c,r)}}).open()};let m=d.createDiv("default-projects-list-container");rS(m,t,e,c,r);let h=pr(t.settings.taskCreationDefaults.useParentNoteAsProject,k=>{t.settings.taskCreationDefaults.useParentNoteAsProject=k,e()}),f=ma(t,"projects","+",e,r),g=sn(r("settings.taskProperties.properties.projects.description")),v=document.createElement("div");v.addClass("tasknotes-settings__nested-content"),Ure(v,t,e,r,s);let T=[{label:"",input:g,fullWidth:!0},{label:r("settings.taskProperties.propertyCard.propertyKey"),input:o},{label:r("settings.taskProperties.projectsCard.defaultProjects"),input:l,fullWidth:!0},{label:r("settings.taskProperties.projectsCard.useParentNote"),input:h},...f,{label:"",input:v,fullWidth:!0}];pt(a,{id:"property-projects",collapsible:!0,defaultCollapsed:i,onCollapseChange:k=>{i=k},header:{primaryText:r("settings.taskProperties.properties.projects.name"),secondaryText:t.settings.fieldMapping.projects},content:{sections:[{rows:T}]}})}s()}function Ure(n,t,e,r,a){n.empty(),t.settings.projectAutosuggest||(t.settings.projectAutosuggest={enableFuzzy:!1,rows:[],showAdvanced:!1,requiredTags:[],includeFolders:[],propertyKey:"",propertyValue:""});let i=()=>{let _=t.settings.projectAutosuggest;return _?_.requiredTags&&_.requiredTags.length>0||_.includeFolders&&_.includeFolders.length>0||_.propertyKey&&_.propertyKey.trim()!=="":!1},s=n.createDiv("tasknotes-settings__collapsible-section");s.addClass("tasknotes-settings__collapsible-section--collapsed");let o=s.createDiv("tasknotes-settings__collapsible-section-header"),l=o.createDiv("tasknotes-settings__collapsible-section-header-left");l.createSpan({text:r("settings.taskProperties.projectsCard.autosuggestFilters"),cls:"tasknotes-settings__collapsible-section-title"});let c=l.createSpan("tasknotes-settings__filter-badge"),d=()=>{i()?(c.style.display="inline-flex",c.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon></svg><span>${r("settings.taskProperties.projectsCard.filtersOn")}</span>`):c.style.display="none"};d();let u=o.createSpan("tasknotes-settings__collapsible-section-chevron");u.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';let p=s.createDiv("tasknotes-settings__collapsible-section-content");gy(p,{requiredTags:t.settings.projectAutosuggest.requiredTags,includeFolders:t.settings.projectAutosuggest.includeFolders,propertyKey:t.settings.projectAutosuggest.propertyKey,propertyValue:t.settings.projectAutosuggest.propertyValue},_=>{t.settings.projectAutosuggest.requiredTags=_.requiredTags,t.settings.projectAutosuggest.includeFolders=_.includeFolders,t.settings.projectAutosuggest.propertyKey=_.propertyKey,t.settings.projectAutosuggest.propertyValue=_.propertyValue,d(),e()},r),o.addEventListener("click",()=>{s.toggleClass("tasknotes-settings__collapsible-section--collapsed",!s.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let m=n.createDiv("tasknotes-settings__collapsible-section");m.addClass("tasknotes-settings__collapsible-section--collapsed");let h=m.createDiv("tasknotes-settings__collapsible-section-header");h.createDiv("tasknotes-settings__collapsible-section-header-left").createSpan({text:r("settings.taskProperties.projectsCard.customizeDisplay"),cls:"tasknotes-settings__collapsible-section-title"});let g=h.createSpan("tasknotes-settings__collapsible-section-chevron");g.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';let v=m.createDiv("tasknotes-settings__collapsible-section-content"),T=v.createDiv("tasknotes-settings__card-config-row");T.createSpan({text:r("settings.appearance.projectAutosuggest.enableFuzzyMatching.name"),cls:"tasknotes-settings__card-config-label"});let k=pr(t.settings.projectAutosuggest.enableFuzzy,_=>{t.settings.projectAutosuggest.enableFuzzy=_,e()});T.appendChild(k),v.createDiv({text:r("settings.appearance.projectAutosuggest.displayRowsHelp"),cls:"setting-item-description"});let w=()=>{var _,Y;return((Y=(_=t.settings.projectAutosuggest)==null?void 0:_.rows)!=null?Y:[]).slice(0,3)},S=(_,Y)=>{var H;if(!t.settings.projectAutosuggest)return;let W=[...(H=t.settings.projectAutosuggest.rows)!=null?H:[]];W[_]=Y,t.settings.projectAutosuggest.rows=W.slice(0,3),e()},x=v.createDiv("tasknotes-settings__card-config-row");x.createSpan({text:r("settings.appearance.projectAutosuggest.displayRows.row1.name"),cls:"tasknotes-settings__card-config-label"});let I=Se("text",r("settings.appearance.projectAutosuggest.displayRows.row1.placeholder"),w()[0]||"");I.addEventListener("change",()=>S(0,I.value)),x.appendChild(I);let A=v.createDiv("tasknotes-settings__card-config-row");A.createSpan({text:r("settings.appearance.projectAutosuggest.displayRows.row2.name"),cls:"tasknotes-settings__card-config-label"});let B=Se("text",r("settings.appearance.projectAutosuggest.displayRows.row2.placeholder"),w()[1]||"");B.addEventListener("change",()=>S(1,B.value)),A.appendChild(B);let z=v.createDiv("tasknotes-settings__card-config-row");z.createSpan({text:r("settings.appearance.projectAutosuggest.displayRows.row3.name"),cls:"tasknotes-settings__card-config-label"});let U=Se("text",r("settings.appearance.projectAutosuggest.displayRows.row3.placeholder"),w()[2]||"");U.addEventListener("change",()=>S(2,U.value)),z.appendChild(U);let N=v.createDiv("tasknotes-settings__help-section");N.createEl("h4",{text:r("settings.appearance.projectAutosuggest.quickReference.header")});let P=N.createEl("ul");P.createEl("li",{text:r("settings.appearance.projectAutosuggest.quickReference.properties")}),P.createEl("li",{text:r("settings.appearance.projectAutosuggest.quickReference.labels")}),P.createEl("li",{text:r("settings.appearance.projectAutosuggest.quickReference.searchable")}),P.createEl("li",{text:r("settings.appearance.projectAutosuggest.quickReference.staticText")}),N.createEl("p",{text:r("settings.appearance.projectAutosuggest.quickReference.alwaysSearchable"),cls:"settings-help-note"}),h.addEventListener("click",()=>{m.toggleClass("tasknotes-settings__collapsible-section--collapsed",!m.hasClass("tasknotes-settings__collapsible-section--collapsed"))})}function rS(n,t,e,r,a){if(n.empty(),r.length===0){n.createDiv({text:a("settings.taskProperties.projectsCard.noDefaultProjects"),cls:"setting-item-description"});return}r.forEach(i=>{let s=n.createDiv("tasknotes-settings__project-item");s.createSpan({text:i.name.replace(/\.md$/,"")});let o=s.createEl("button",{cls:"tasknotes-settings__card-header-btn tasknotes-settings__card-header-btn--delete"});o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>',o.title=a("settings.defaults.basicDefaults.defaultProjects.removeTooltip",{name:i.name}),o.onclick=()=>{let l=r.indexOf(i);if(l>-1){r.splice(l,1);let c=r.map(d=>`[[${d.path.replace(/\.md$/,"")}]]`).join(", ");t.settings.taskCreationDefaults.defaultProjects=c,e(),rS(n,t,e,r,a)}}})}function aS(n,t,e,r){let a=Se("text",r("settings.defaults.basicDefaults.defaultTags.placeholder"),t.settings.taskCreationDefaults.defaultTags);a.addEventListener("change",()=>{t.settings.taskCreationDefaults.defaultTags=a.value,e()});let i=ma(t,"tags","#",e,r),o=[{label:"",input:sn(r("settings.taskProperties.properties.tags.description")),fullWidth:!0},{label:r("settings.taskProperties.propertyCard.default"),input:a},...i];pt(n,{id:"property-tags",collapsible:!0,defaultCollapsed:!0,header:{primaryText:r("settings.taskProperties.properties.tags.name"),secondaryText:r("settings.taskProperties.tagsCard.nativeObsidianTags")},content:{sections:[{rows:o}]}})}function iS(n,t,e,r){let a=Se("text","reminders",t.settings.fieldMapping.reminders);a.addEventListener("change",()=>{t.settings.fieldMapping.reminders=a.value,e()});let i=document.createElement("div");i.addClass("tasknotes-settings__nested-cards");let s=i.createDiv("tasknotes-settings__collapsible-section"),o=s.createDiv("tasknotes-settings__collapsible-section-header");o.createSpan({text:r("settings.taskProperties.remindersCard.defaultReminders"),cls:"tasknotes-settings__collapsible-section-title"});let l=o.createSpan("tasknotes-settings__collapsible-section-chevron");l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';let c=s.createDiv("tasknotes-settings__collapsible-section-content"),d=c.createDiv("tasknotes-reminders-container");My(d,t,e,r);let u=c.createEl("button",{text:r("settings.defaults.reminders.addReminder.buttonText"),cls:"tn-btn tn-btn--ghost"});u.style.marginTop="0.5rem",u.onclick=()=>{let f={id:`reminder_${Date.now()}`,type:"relative",relatedTo:"due",offset:1,unit:"hours",direction:"before",description:"Reminder"};t.settings.taskCreationDefaults.defaultReminders=t.settings.taskCreationDefaults.defaultReminders||[],t.settings.taskCreationDefaults.defaultReminders.push(f),e(),My(d,t,e,r)},o.addEventListener("click",()=>{s.toggleClass("tasknotes-settings__collapsible-section--collapsed",!s.hasClass("tasknotes-settings__collapsible-section--collapsed"))});let m=[{label:"",input:sn(r("settings.taskProperties.properties.reminders.description")),fullWidth:!0},{label:r("settings.taskProperties.propertyCard.propertyKey"),input:a},{label:"",input:i,fullWidth:!0}];pt(n,{id:"property-reminders",collapsible:!0,defaultCollapsed:!0,header:{primaryText:r("settings.taskProperties.properties.reminders.name"),secondaryText:t.settings.fieldMapping.reminders},content:{sections:[{rows:m}]}})}function My(n,t,e,r){if(n.empty(),!t.settings.taskCreationDefaults.defaultReminders||t.settings.taskCreationDefaults.defaultReminders.length===0){mi(n,r("settings.defaults.reminders.emptyState"));return}t.settings.taskCreationDefaults.defaultReminders.forEach((a,i)=>{let s=mH(a,r),o=Se("text",r("settings.defaults.reminders.reminderDescription"),a.description),l=Sr([{value:"relative",label:r("settings.defaults.reminders.types.relative")},{value:"absolute",label:r("settings.defaults.reminders.types.absolute")}],a.type),c=p=>{Object.assign(a,p),e();let m=n.querySelector(`[data-card-id="${a.id}"]`);if(m){let h=m.querySelector(".tasknotes-settings__card-secondary-text");h&&(h.textContent=mH(a,r))}},d=a.type==="relative"?Wre(a,c,r):qre(a,c,r),u=pt(n,{id:a.id,collapsible:!0,defaultCollapsed:!0,header:{primaryText:a.description||r("settings.defaults.reminders.unnamedReminder"),secondaryText:s,actions:[Ya(()=>{t.settings.taskCreationDefaults.defaultReminders.splice(i,1),e(),My(n,t,e,r)},r("settings.defaults.reminders.deleteTooltip"))]},content:{sections:[{rows:[{label:r("settings.defaults.reminders.fields.description"),input:o},{label:r("settings.defaults.reminders.fields.type"),input:l}]},{rows:d}]}});o.addEventListener("input",()=>{a.description=o.value,e();let p=u.querySelector(".tasknotes-settings__card-primary-text");p&&(p.textContent=a.description||r("settings.defaults.reminders.unnamedReminder"))}),l.addEventListener("change",()=>{a.type=l.value,e(),My(n,t,e,r)})})}function Wre(n,t,e){let r=ro(0,void 0,1,n.offset);r.addEventListener("input",()=>{let o=parseInt(r.value);!isNaN(o)&&o>=0&&t({offset:o})});let a=Sr([{value:"minutes",label:e("settings.defaults.reminders.units.minutes")},{value:"hours",label:e("settings.defaults.reminders.units.hours")},{value:"days",label:e("settings.defaults.reminders.units.days")}],n.unit);a.addEventListener("change",()=>{t({unit:a.value})});let i=Sr([{value:"before",label:e("settings.defaults.reminders.directions.before")},{value:"after",label:e("settings.defaults.reminders.directions.after")}],n.direction);i.addEventListener("change",()=>{t({direction:i.value})});let s=Sr([{value:"due",label:e("settings.defaults.reminders.relatedTo.due")},{value:"scheduled",label:e("settings.defaults.reminders.relatedTo.scheduled")}],n.relatedTo);return s.addEventListener("change",()=>{t({relatedTo:s.value})}),[{label:e("settings.defaults.reminders.fields.offset"),input:r},{label:e("settings.defaults.reminders.fields.unit"),input:a},{label:e("settings.defaults.reminders.fields.direction"),input:i},{label:e("settings.defaults.reminders.fields.relatedTo"),input:s}]}function qre(n,t,e){let r=Se("date",n.absoluteDate||new Date().toISOString().split("T")[0]);r.addEventListener("input",()=>{t({absoluteDate:r.value})});let a=Se("time",n.absoluteTime||"09:00");return a.addEventListener("input",()=>{t({absoluteTime:a.value})}),[{label:e("settings.defaults.reminders.fields.date"),input:r},{label:e("settings.defaults.reminders.fields.time"),input:a}]}function mH(n,t){var e;if(n.type==="relative"){let r=n.direction==="before"?t("settings.defaults.reminders.directions.before"):t("settings.defaults.reminders.directions.after"),a=t(`settings.defaults.reminders.units.${n.unit||"hours"}`),i=(e=n.offset)!=null?e:1,s=n.relatedTo==="due"?t("settings.defaults.reminders.relatedTo.due"):t("settings.defaults.reminders.relatedTo.scheduled");return`${i} ${a} ${r} ${s}`}else{let r=n.absoluteDate||t("settings.defaults.reminders.fields.date"),a=n.absoluteTime||t("settings.defaults.reminders.fields.time");return`${r} at ${a}`}}var bH=require("obsidian");wp();function $re(n,t,e){let r,a;if(n.type==="boolean"){let i=typeof n.defaultValue=="boolean"?n.defaultValue:!1;r=pr(i,s=>{e(s)}),a={label:t("settings.taskProperties.customUserFields.fields.defaultValue"),input:r}}else if(n.type==="number"){let i=Se("number",t("settings.taskProperties.customUserFields.placeholders.defaultValue"),n.defaultValue!==void 0?String(n.defaultValue):"");i.addEventListener("change",()=>{let s=i.value.trim();e(s===""?void 0:parseFloat(s))}),r=i,a={label:t("settings.taskProperties.customUserFields.fields.defaultValue"),input:r}}else if(n.type==="date"){let i=typeof n.defaultValue=="string"?n.defaultValue:"none",s=Sr([{value:"none",label:t("settings.defaults.options.none")},{value:"today",label:t("settings.defaults.options.today")},{value:"tomorrow",label:t("settings.defaults.options.tomorrow")},{value:"next-week",label:t("settings.defaults.options.nextWeek")}],i);s.addEventListener("change",()=>{let o=s.value;e(o==="none"?void 0:o)}),r=s,a={label:t("settings.taskProperties.customUserFields.fields.defaultValue"),input:r}}else if(n.type==="list"){let i=Array.isArray(n.defaultValue)?n.defaultValue.join(", "):"",s=Se("text",t("settings.taskProperties.customUserFields.placeholders.defaultValueList"),i);s.addEventListener("change",()=>{let o=s.value.trim();e(o===""?void 0:o.split(",").map(l=>l.trim()).filter(l=>l))}),r=s,a={label:t("settings.taskProperties.customUserFields.fields.defaultValue"),input:r}}else{let i=Se("text",t("settings.taskProperties.customUserFields.placeholders.defaultValue"),typeof n.defaultValue=="string"?n.defaultValue:"");i.addEventListener("change",()=>{let s=i.value.trim();e(s===""?void 0:s)}),r=i,a={label:t("settings.taskProperties.customUserFields.fields.defaultValue"),input:r}}return{element:r,row:a}}function oS(n,t,e,r){if(Array.isArray(t.settings.userFields)||(t.settings.userFields=[]),t.settings.userField&&t.settings.userField.enabled){let i=t.settings.userField,s=(i.displayName||i.key||"field").toLowerCase().replace(/[^a-z0-9_-]/g,"-");t.settings.userFields.find(o=>o.id===s||o.key===i.key)||(t.settings.userFields.push({id:s,displayName:i.displayName||"",key:i.key||"",type:i.type||"text"}),e())}let a=n.createDiv("tasknotes-user-fields-container");Sp(a,t,e,r),new bH.Setting(n).setName(r("settings.taskProperties.customUserFields.addNew.name")).setDesc(r("settings.taskProperties.customUserFields.addNew.description")).addButton(i=>i.setButtonText(r("settings.taskProperties.customUserFields.addNew.buttonText")).onClick(async()=>{t.settings.userFields||(t.settings.userFields=[]);let s=`field_${Date.now()}`,o={id:s,displayName:"",key:"",type:"text"};if(t.settings.userFields.push(o),!t.settings.modalFieldsConfig)t.settings.modalFieldsConfig=vl(void 0,t.settings.userFields);else{let l=t.settings.modalFieldsConfig.fields.filter(d=>d.group==="custom"),c=l.length>0?Math.max(...l.map(d=>d.order)):-1;t.settings.modalFieldsConfig.fields.push({id:s,fieldType:"user",group:"custom",displayName:o.displayName||"",visibleInCreation:!0,visibleInEdit:!0,order:c+1,enabled:!0})}e(),Sp(a,t,e,r)}))}function Sp(n,t,e,r,a){if(n.empty(),t.settings.userFields||(t.settings.userFields=[]),t.settings.userFields.length===0){mi(n,r("settings.taskProperties.customUserFields.emptyState"),r("settings.taskProperties.customUserFields.emptyStateButton"),()=>{let i=document.querySelector('[data-setting-name="Add new user field"] button');i&&i.click()});return}t.settings.userFields.forEach((i,s)=>{let o=Se("text",r("settings.taskProperties.customUserFields.placeholders.displayName"),i.displayName),l=Se("text",r("settings.taskProperties.customUserFields.placeholders.propertyKey"),i.key),c=Sr([{value:"text",label:r("settings.taskProperties.customUserFields.types.text")},{value:"number",label:r("settings.taskProperties.customUserFields.types.number")},{value:"boolean",label:r("settings.taskProperties.customUserFields.types.boolean")},{value:"date",label:r("settings.taskProperties.customUserFields.types.date")},{value:"list",label:r("settings.taskProperties.customUserFields.types.list")}],i.type);o.addEventListener("change",()=>{if(i.displayName=o.value,t.settings.modalFieldsConfig){let x=t.settings.modalFieldsConfig.fields.find(I=>I.id===i.id);x&&(x.displayName=i.displayName)}let S=n.querySelector(`[data-card-id="${i.id}"]`);if(S){let x=S.querySelector(".tasknotes-settings__card-header-primary");x&&(x.textContent=i.displayName||r("settings.taskProperties.customUserFields.defaultNames.unnamedField"))}e()}),l.addEventListener("change",()=>{i.key=l.value;let S=n.querySelector(`[data-card-id="${i.id}"]`);if(S){let x=S.querySelector(".tasknotes-settings__card-header-secondary");x&&(x.textContent=i.key||r("settings.taskProperties.customUserFields.defaultNames.noKey"))}e()}),c.addEventListener("change",()=>{i.type=c.value,i.defaultValue=void 0,e(),Sp(n,t,e,r,i.id)});let{row:d}=$re(i,r,S=>{i.defaultValue=S,e()}),u=ma(t,i.id,`${i.id}:`,e,r,()=>Sp(n,t,e,r)),p=document.createElement("div");p.addClass("tasknotes-settings__collapsible-section"),p.addClass("tasknotes-settings__collapsible-section--collapsed");let m=S=>S?S.requiredTags&&S.requiredTags.length>0||S.includeFolders&&S.includeFolders.length>0||S.propertyKey&&S.propertyKey.trim()!=="":!1,h=p.createDiv("tasknotes-settings__collapsible-section-header"),f=h.createDiv("tasknotes-settings__collapsible-section-header-left"),g=f.createSpan("tasknotes-settings__collapsible-section-title");g.textContent=r("settings.taskProperties.customUserFields.autosuggestFilters.header");let v=f.createSpan("tasknotes-settings__filter-badge"),T=()=>{m(i.autosuggestFilter)?(v.style.display="inline-flex",v.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3"></polygon></svg><span>Filters On</span>'):v.style.display="none"};T();let k=h.createSpan("tasknotes-settings__collapsible-section-chevron");k.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>';let w=p.createDiv("tasknotes-settings__collapsible-section-content");gy(w,i.autosuggestFilter,S=>{i.autosuggestFilter=S,T(),e()},r),h.addEventListener("click",()=>{p.hasClass("tasknotes-settings__collapsible-section--collapsed")?p.removeClass("tasknotes-settings__collapsible-section--collapsed"):p.addClass("tasknotes-settings__collapsible-section--collapsed")}),pt(n,{id:i.id,collapsible:!0,defaultCollapsed:i.id!==a,header:{primaryText:i.displayName||r("settings.taskProperties.customUserFields.defaultNames.unnamedField"),secondaryText:i.key||r("settings.taskProperties.customUserFields.defaultNames.noKey"),meta:[an(i.type.charAt(0).toUpperCase()+i.type.slice(1),"default")],actions:[Ya(()=>{var S;if(t.settings.userFields){let x=(S=t.settings.userFields[s])==null?void 0:S.id;t.settings.userFields.splice(s,1),t.settings.modalFieldsConfig&&x&&(t.settings.modalFieldsConfig.fields=t.settings.modalFieldsConfig.fields.filter(I=>I.id!==x)),e(),Sp(n,t,e,r)}},r("settings.taskProperties.customUserFields.deleteTooltip"))]},content:{sections:[{rows:[{label:r("settings.taskProperties.customUserFields.fields.displayName"),input:o},{label:r("settings.taskProperties.customUserFields.fields.propertyKey"),input:l},{label:r("settings.taskProperties.customUserFields.fields.type"),input:c},d,...u]},{rows:[{label:"",input:p,fullWidth:!0}]}]}})})}function lS(n,t,e){n.empty();let r=(a,i)=>t.i18n.translate(a,i);Ae(n,r("settings.taskProperties.sections.coreProperties")),Pe(n,r("settings.taskProperties.sections.corePropertiesDesc")),Ww(n,t,e,r),Vw(n,t,e,r),$w(n,t,e,r),Ae(n,r("settings.taskProperties.sections.dateProperties")),Pe(n,r("settings.taskProperties.sections.datePropertiesDesc")),ul(n,t,e,r,{propertyId:"due",displayName:r("settings.taskProperties.properties.due.name"),description:r("settings.taskProperties.properties.due.description"),hasDefault:!0,defaultType:"date-preset",defaultOptions:[{value:"none",label:r("settings.defaults.options.none")},{value:"today",label:r("settings.defaults.options.today")},{value:"tomorrow",label:r("settings.defaults.options.tomorrow")},{value:"next-week",label:r("settings.defaults.options.nextWeek")}],getDefaultValue:()=>t.settings.taskCreationDefaults.defaultDueDate,setDefaultValue:a=>{t.settings.taskCreationDefaults.defaultDueDate=a,e()}}),ul(n,t,e,r,{propertyId:"scheduled",displayName:r("settings.taskProperties.properties.scheduled.name"),description:r("settings.taskProperties.properties.scheduled.description"),hasDefault:!0,defaultType:"date-preset",defaultOptions:[{value:"none",label:r("settings.defaults.options.none")},{value:"today",label:r("settings.defaults.options.today")},{value:"tomorrow",label:r("settings.defaults.options.tomorrow")},{value:"next-week",label:r("settings.defaults.options.nextWeek")}],getDefaultValue:()=>t.settings.taskCreationDefaults.defaultScheduledDate,setDefaultValue:a=>{t.settings.taskCreationDefaults.defaultScheduledDate=a,e()}}),Ae(n,r("settings.taskProperties.sections.organizationProperties")),Pe(n,r("settings.taskProperties.sections.organizationPropertiesDesc")),ul(n,t,e,r,{propertyId:"contexts",displayName:r("settings.taskProperties.properties.contexts.name"),description:r("settings.taskProperties.properties.contexts.description"),hasDefault:!0,defaultType:"text",defaultPlaceholder:r("settings.defaults.basicDefaults.defaultContexts.placeholder"),getDefaultValue:()=>t.settings.taskCreationDefaults.defaultContexts,setDefaultValue:a=>{t.settings.taskCreationDefaults.defaultContexts=a,e()},hasNLPTrigger:!0,nlpDefaultTrigger:"@"}),nS(n,t,e,r),aS(n,t,e,r),Ae(n,r("settings.taskProperties.sections.taskDetails")),Pe(n,r("settings.taskProperties.sections.taskDetailsDesc")),ul(n,t,e,r,{propertyId:"timeEstimate",displayName:r("settings.taskProperties.properties.timeEstimate.name"),description:r("settings.taskProperties.properties.timeEstimate.description"),hasDefault:!0,defaultType:"number",defaultPlaceholder:r("settings.defaults.basicDefaults.defaultTimeEstimate.placeholder"),getDefaultValue:()=>{var a;return((a=t.settings.taskCreationDefaults.defaultTimeEstimate)==null?void 0:a.toString())||""},setDefaultValue:a=>{t.settings.taskCreationDefaults.defaultTimeEstimate=parseInt(a)||0,e()}}),ul(n,t,e,r,{propertyId:"recurrence",displayName:r("settings.taskProperties.properties.recurrence.name"),description:r("settings.taskProperties.properties.recurrence.description"),hasDefault:!0,defaultType:"dropdown",defaultOptions:[{value:"none",label:r("settings.defaults.options.none")},{value:"daily",label:r("settings.defaults.options.daily")},{value:"weekly",label:r("settings.defaults.options.weekly")},{value:"monthly",label:r("settings.defaults.options.monthly")},{value:"yearly",label:r("settings.defaults.options.yearly")}],getDefaultValue:()=>t.settings.taskCreationDefaults.defaultRecurrence,setDefaultValue:a=>{t.settings.taskCreationDefaults.defaultRecurrence=a,e()}}),bn(n,t,e,r,"recurrenceAnchor",r("settings.taskProperties.properties.recurrenceAnchor.name"),r("settings.taskProperties.properties.recurrenceAnchor.description")),iS(n,t,e,r),Ae(n,r("settings.taskProperties.sections.metadataProperties")),Pe(n,r("settings.taskProperties.sections.metadataPropertiesDesc")),bn(n,t,e,r,"dateCreated",r("settings.taskProperties.properties.dateCreated.name"),r("settings.taskProperties.properties.dateCreated.description")),bn(n,t,e,r,"dateModified",r("settings.taskProperties.properties.dateModified.name"),r("settings.taskProperties.properties.dateModified.description")),bn(n,t,e,r,"completedDate",r("settings.taskProperties.properties.completedDate.name"),r("settings.taskProperties.properties.completedDate.description")),bn(n,t,e,r,"archiveTag",r("settings.taskProperties.properties.archiveTag.name"),r("settings.taskProperties.properties.archiveTag.description")),bn(n,t,e,r,"timeEntries",r("settings.taskProperties.properties.timeEntries.name"),r("settings.taskProperties.properties.timeEntries.description")),bn(n,t,e,r,"completeInstances",r("settings.taskProperties.properties.completeInstances.name"),r("settings.taskProperties.properties.completeInstances.description")),bn(n,t,e,r,"skippedInstances",r("settings.taskProperties.properties.skippedInstances.name"),r("settings.taskProperties.properties.skippedInstances.description")),bn(n,t,e,r,"blockedBy",r("settings.taskProperties.properties.blockedBy.name"),r("settings.taskProperties.properties.blockedBy.description")),Ae(n,r("settings.taskProperties.sections.featureProperties")),Pe(n,r("settings.taskProperties.sections.featurePropertiesDesc")),bn(n,t,e,r,"pomodoros",r("settings.taskProperties.properties.pomodoros.name"),r("settings.taskProperties.properties.pomodoros.description")),bn(n,t,e,r,"icsEventId",r("settings.taskProperties.properties.icsEventId.name"),r("settings.taskProperties.properties.icsEventId.description")),bn(n,t,e,r,"icsEventTag",r("settings.taskProperties.properties.icsEventTag.name"),r("settings.taskProperties.properties.icsEventTag.description")),Ae(n,r("settings.taskProperties.customUserFields.header")),Pe(n,r("settings.taskProperties.customUserFields.description")),oS(n,t,e,r)}var cS=require("obsidian");es();function TH(n,t,e,r,a){let i=(c,d)=>t.i18n.translate(c,d);if(n.empty(),n.addClass("field-manager"),!e||!e.groups||!e.fields){n.createDiv({text:"Error: Invalid field configuration. Please reset to defaults."});return}let s=n.createDiv({cls:"field-manager__tabs"}),o=n.createDiv({cls:"field-manager__content"}),l=[...e.groups].sort((c,d)=>c.order-d.order);l.forEach((c,d)=>{let u=s.createDiv({cls:"field-manager__tab"});d===0&&u.addClass("field-manager__tab--active"),u.setText(c.displayName),u.onclick=()=>{s.querySelectorAll(".field-manager__tab").forEach(p=>{p.removeClass("field-manager__tab--active")}),u.addClass("field-manager__tab--active"),Ay(o,c.id,e,t,r,a)}}),l.length>0&&Ay(o,l[0].id,e,t,r,a)}function Ay(n,t,e,r,a,i){n.empty();let s=(c,d)=>r.i18n.translate(c,d),o=e.fields.filter(c=>c.group===t).sort((c,d)=>c.order-d.order);if(o.length===0){n.createDiv({cls:"field-manager__empty"}).setText("No fields in this group");return}let l=n.createDiv({cls:"field-manager__cards"});o.forEach((c,d)=>{Yre(l,c,d,e,r,a,i,t)})}function Yre(n,t,e,r,a,i,s,o){let l=(g,v)=>a.i18n.translate(g,v),c=document.createElement("span");c.classList.add("field-card__type"),c.classList.add(`field-card__type--${t.fieldType}`),c.textContent=t.fieldType;let d=pr(t.enabled,g=>{let v=r.fields.findIndex(T=>T.id===t.id);if(v!==-1){r.fields[v].enabled=g,i(r);let T=document.querySelector(".field-manager__tab--active");if(T){let k=Array.from(T.parentElement.children).indexOf(T),S=[...r.groups].sort((x,I)=>x.order-I.order)[k];S&&Ay(n.parentElement,S.id,r,a,i,s)}}}),u=pr(t.visibleInCreation,g=>{let v=r.fields.findIndex(T=>T.id===t.id);v!==-1&&(r.fields[v].visibleInCreation=g,i(r))}),p=pr(t.visibleInEdit,g=>{let v=r.fields.findIndex(T=>T.id===t.id);v!==-1&&(r.fields[v].visibleInEdit=g,i(r))}),m=Sr(r.groups.map(g=>({value:g.id,label:g.displayName})),t.group);m.onchange=()=>{let g=r.fields.findIndex(v=>v.id===t.id);if(g!==-1){r.fields[g].group=m.value,i(r);let v=document.querySelector(".field-manager__tab--active");v&&v.click()}};let h=t.group!=="basic",f=pt(n,{id:t.id,draggable:h,header:{primaryText:t.displayName,secondaryText:`ID: ${t.id}`,meta:[c]},content:{sections:[{rows:[{label:"Enabled:",input:d}]},...t.enabled?[{rows:[{label:"Show in Creation:",input:u},{label:"Show in Edit:",input:p},{label:"Group:",input:m,fullWidth:!0}]}]:[]]}});h&&id(f,n,(g,v,T)=>{let k=r.fields.findIndex(z=>z.id===g&&z.group===o),w=r.fields.findIndex(z=>z.id===v&&z.group===o);if(k===-1||w===-1)return;let S=r.fields.filter(z=>z.group===o),x=S.findIndex(z=>z.id===g),I=S.findIndex(z=>z.id===v),[A]=S.splice(x,1),B=I+(T?0:1);S.splice(B,0,A),S.forEach((z,U)=>{let N=r.fields.findIndex(P=>P.id===z.id);N!==-1&&(r.fields[N].order=U)}),i(r),Ay(n,o,r,a,i,s)})}function kH(){let n="field-manager-styles";if(document.getElementById(n))return;let t=document.createElement("style");t.id=n,t.textContent=`
|
||
.field-manager {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 1rem;
|
||
}
|
||
|
||
.field-manager__tabs {
|
||
display: flex;
|
||
gap: 0.5rem;
|
||
border-bottom: 2px solid var(--background-modifier-border);
|
||
padding-bottom: 0.5rem;
|
||
}
|
||
|
||
.field-manager__tab {
|
||
padding: 0.5rem 1rem;
|
||
cursor: pointer;
|
||
border-radius: 4px;
|
||
transition: background-color 0.2s;
|
||
}
|
||
|
||
.field-manager__tab:hover {
|
||
background-color: var(--background-modifier-hover);
|
||
}
|
||
|
||
.field-manager__tab--active {
|
||
background-color: var(--interactive-accent);
|
||
color: var(--text-on-accent);
|
||
}
|
||
|
||
.field-manager__content {
|
||
padding: 1rem 0;
|
||
}
|
||
|
||
.field-manager__cards {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 0.75rem;
|
||
}
|
||
|
||
.field-manager__empty {
|
||
text-align: center;
|
||
padding: 2rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.field-card__type {
|
||
font-size: 0.75rem;
|
||
padding: 0.125rem 0.5rem;
|
||
border-radius: 3px;
|
||
background: var(--background-modifier-border);
|
||
}
|
||
|
||
.field-card__type--core {
|
||
background: var(--interactive-accent);
|
||
color: var(--text-on-accent);
|
||
}
|
||
|
||
.field-card__type--user {
|
||
background: var(--color-purple);
|
||
color: white;
|
||
}
|
||
|
||
.field-card__type--dependency {
|
||
background: var(--color-orange);
|
||
color: white;
|
||
}
|
||
|
||
.field-card__type--organization {
|
||
background: var(--color-green);
|
||
color: white;
|
||
}
|
||
`,document.head.appendChild(t)}wp();dl();function Dp(n,t,e){n.empty();let r=(c,d)=>t.i18n.translate(c,d);kH(),t.settings.modalFieldsConfig||(t.settings.modalFieldsConfig=vl(void 0,t.settings.userFields),e()),Ae(n,"Task Modal Fields Configuration"),Pe(n,"Configure which fields appear in task creation and edit modals. Drag fields to reorder them within each group."),Me(n,{name:"Split layout on wide screens",desc:"When enabled, the details editor appears in a right column on screens 900px or wider. When disabled, the modal uses a stacked layout.",getValue:()=>t.settings.enableModalSplitLayout,setValue:c=>{t.settings.enableModalSplitLayout=c,e()}});let a=n.createDiv({cls:"modal-fields-sync"}),i=a.createEl("button",{cls:"mod-cta",text:"Sync User Fields"});i.onclick=()=>{Gre(t),e(),new cS.Notice("User fields synced to modal configuration"),Dp(n,t,e)},Pe(a,"Click to sync custom user fields from Task Properties settings into this configuration.");let s=n.createDiv({cls:"modal-fields-manager-container"});if(!t.settings.modalFieldsConfig){s.createDiv({text:"Error: Could not initialize field configuration"});return}TH(s,t,t.settings.modalFieldsConfig,c=>{t.settings.modalFieldsConfig=c,e()},t.app);let l=n.createDiv({cls:"modal-fields-reset"}).createEl("button",{cls:"mod-warning",text:"Reset to Defaults"});l.onclick=async()=>{await $a(t.app,{title:"Reset Field Configuration",message:"Are you sure you want to reset field configuration to defaults? This will remove any custom field configurations.",confirmText:"Reset",cancelText:"Cancel",isDestructive:!0})&&(t.settings.modalFieldsConfig=vl(void 0,t.settings.userFields),e(),new cS.Notice("Field configuration reset to defaults"),Dp(n,t,e))}}function Gre(n){if(!n.settings.modalFieldsConfig){n.settings.modalFieldsConfig=vl(void 0,n.settings.userFields);return}if(!n.settings.userFields||n.settings.userFields.length===0)return;let t=n.settings.modalFieldsConfig,e=new Set(t.fields.filter(a=>a.fieldType==="user").map(a=>a.id));n.settings.userFields.forEach(a=>{if(e.has(a.id)){let i=t.fields.findIndex(s=>s.id===a.id);i!==-1&&(t.fields[i].displayName=a.displayName)}else{let i=t.fields.filter(o=>o.group==="custom"),s=i.length>0?Math.max(...i.map(o=>o.order)):-1;t.fields.push({id:a.id,fieldType:"user",group:"custom",displayName:a.displayName,visibleInCreation:!0,visibleInEdit:!0,order:s+1,enabled:!0})}});let r=new Set(n.settings.userFields.map(a=>a.id));t.fields=t.fields.filter(a=>a.fieldType!=="user"||r.has(a.id))}var Un=require("obsidian");es();var Iy=require("obsidian"),ld=class extends Iy.Modal{constructor(e,r,a,i,s="Select Task Card Properties",o="Choose which properties to display in task cards. Selected properties will appear in the order shown below."){super(e);this.keyboardHandler=null;this.availableProperties=r,this.currentSelection=a,this.tempSelection=[...a],this.onSubmit=i,this.modalTitle=s,this.modalDescription=o}onOpen(){let{contentEl:e}=this;e.empty(),this.keyboardHandler=o=>{o.key==="Enter"&&(o.ctrlKey||o.metaKey)&&(o.preventDefault(),this.onSubmit(this.tempSelection),this.close())},this.containerEl.addEventListener("keydown",this.keyboardHandler),e.createEl("h2",{text:this.modalTitle}),e.createEl("p",{text:this.modalDescription,cls:"setting-item-description"});let r=e.createDiv({cls:"property-selector-checkboxes"});r.style.maxHeight="400px",r.style.overflowY="auto",r.style.marginBottom="20px";for(let o of this.availableProperties){let l=new Iy.Setting(r).setName(o.label).addToggle(c=>{c.setValue(this.tempSelection.includes(o.id)).onChange(d=>{if(d)this.tempSelection.includes(o.id)||this.tempSelection.push(o.id);else{let u=this.tempSelection.indexOf(o.id);u>-1&&this.tempSelection.splice(u,1)}})})}let a=e.createDiv({cls:"modal-button-container"});a.style.display="flex",a.style.gap="10px",a.style.justifyContent="flex-end",a.createEl("button",{text:"Cancel"}).addEventListener("click",()=>{this.close()}),a.createEl("button",{text:"Save",cls:"mod-cta"}).addEventListener("click",()=>{this.onSubmit(this.tempSelection),this.close()})}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:e}=this;e.empty()}};function Ep(n){var a;let t=(i,s)=>{let o=n.fieldMapper.toUserField(s);return o!==i.toLowerCase().replace(/\s+/g,"")?`${i} (${o})`:i},e=[{id:"status",label:t("Status","status")},{id:"priority",label:t("Priority","priority")},{id:"blocked",label:"Blocked Status"},{id:"blocking",label:"Blocking Status"},{id:"due",label:t("Due Date","due")},{id:"scheduled",label:t("Scheduled Date","scheduled")},{id:"timeEstimate",label:t("Time Estimate","timeEstimate")},{id:"totalTrackedTime",label:"Total Tracked Time"},{id:"recurrence",label:t("Recurrence","recurrence")},{id:"completeInstances",label:t("Completed Instances","completeInstances")},{id:"skippedInstances",label:t("Skipped Instances","skippedInstances")},{id:"completedDate",label:t("Completed Date","completedDate")},{id:"dateCreated",label:t("Created Date","dateCreated")},{id:"dateModified",label:t("Modified Date","dateModified")},{id:"projects",label:t("Projects","projects")},{id:"contexts",label:t("Contexts","contexts")},{id:"tags",label:"Tags"}],r=((a=n.settings.userFields)==null?void 0:a.map(i=>({id:`user:${i.id}`,label:i.displayName})))||[];return[...e,...r]}function _y(n,t){let e=Ep(n);return t.map(r=>{var a;return((a=e.find(i=>i.id===r))==null?void 0:a.label)||r}).filter(Boolean)}function bl(n,t,e){n.empty();let r=(o,l)=>t.i18n.translate(o,l);Ae(n,r("settings.appearance.taskCards.header")),Pe(n,r("settings.appearance.taskCards.description"));let a=Ep(t),i=t.settings.defaultVisibleProperties||[];new Un.Setting(n).setName(r("settings.appearance.taskCards.defaultVisibleProperties.name")).setDesc(r("settings.appearance.taskCards.defaultVisibleProperties.description")).addButton(o=>{o.setButtonText("Configure").onClick(()=>{new ld(t.app,a,i,async c=>{t.settings.defaultVisibleProperties=c,e(),new Un.Notice("Default task card properties updated"),bl(n,t,e)},"Select Default Task Card Properties","Choose which properties to display in task cards (views, kanban, etc.). Selected properties will appear in the order shown below.").open()})});let s=_y(t,i);Pe(n,`Currently showing: ${s.join(", ")}`),Ae(n,r("settings.appearance.displayFormatting.header")),Pe(n,r("settings.appearance.displayFormatting.description")),ur(n,{name:r("settings.appearance.displayFormatting.timeFormat.name"),desc:r("settings.appearance.displayFormatting.timeFormat.description"),options:[{value:"12",label:r("settings.appearance.displayFormatting.timeFormat.options.twelveHour")},{value:"24",label:r("settings.appearance.displayFormatting.timeFormat.options.twentyFourHour")}],getValue:()=>t.settings.calendarViewSettings.timeFormat,setValue:async o=>{t.settings.calendarViewSettings.timeFormat=o,e()}}),Ae(n,r("settings.appearance.calendarView.header")),Pe(n,r("settings.appearance.calendarView.description")),ur(n,{name:r("settings.appearance.calendarView.defaultView.name"),desc:r("settings.appearance.calendarView.defaultView.description"),options:[{value:"dayGridMonth",label:r("settings.appearance.calendarView.defaultView.options.monthGrid")},{value:"timeGridWeek",label:r("settings.appearance.calendarView.defaultView.options.weekTimeline")},{value:"timeGridDay",label:r("settings.appearance.calendarView.defaultView.options.dayTimeline")},{value:"multiMonthYear",label:r("settings.appearance.calendarView.defaultView.options.yearView")},{value:"timeGridCustom",label:r("settings.appearance.calendarView.defaultView.options.customMultiDay")}],getValue:()=>t.settings.calendarViewSettings.defaultView,setValue:async o=>{t.settings.calendarViewSettings.defaultView=o,e(),bl(n,t,e)}}),t.settings.calendarViewSettings.defaultView==="timeGridCustom"&&zn(n,{name:r("settings.appearance.calendarView.customDayCount.name"),desc:r("settings.appearance.calendarView.customDayCount.description"),placeholder:r("settings.appearance.calendarView.customDayCount.placeholder"),min:2,max:10,getValue:()=>t.settings.calendarViewSettings.customDayCount,setValue:async o=>{t.settings.calendarViewSettings.customDayCount=o,e()}}),ur(n,{name:r("settings.appearance.calendarView.firstDayOfWeek.name"),desc:r("settings.appearance.calendarView.firstDayOfWeek.description"),options:[{value:"0",label:r("common.weekdays.sunday")},{value:"1",label:r("common.weekdays.monday")},{value:"2",label:r("common.weekdays.tuesday")},{value:"3",label:r("common.weekdays.wednesday")},{value:"4",label:r("common.weekdays.thursday")},{value:"5",label:r("common.weekdays.friday")},{value:"6",label:r("common.weekdays.saturday")}],getValue:()=>t.settings.calendarViewSettings.firstDay.toString(),setValue:async o=>{t.settings.calendarViewSettings.firstDay=parseInt(o),e()}}),Me(n,{name:r("settings.appearance.calendarView.showWeekends.name"),desc:r("settings.appearance.calendarView.showWeekends.description"),getValue:()=>t.settings.calendarViewSettings.showWeekends,setValue:async o=>{t.settings.calendarViewSettings.showWeekends=o,e()}}),Me(n,{name:r("settings.appearance.calendarView.showWeekNumbers.name"),desc:r("settings.appearance.calendarView.showWeekNumbers.description"),getValue:()=>t.settings.calendarViewSettings.weekNumbers,setValue:async o=>{t.settings.calendarViewSettings.weekNumbers=o,e()}}),Me(n,{name:r("settings.appearance.calendarView.showTodayHighlight.name"),desc:r("settings.appearance.calendarView.showTodayHighlight.description"),getValue:()=>t.settings.calendarViewSettings.showTodayHighlight,setValue:async o=>{t.settings.calendarViewSettings.showTodayHighlight=o,e()}}),Me(n,{name:r("settings.appearance.calendarView.showCurrentTimeIndicator.name"),desc:r("settings.appearance.calendarView.showCurrentTimeIndicator.description"),getValue:()=>t.settings.calendarViewSettings.nowIndicator,setValue:async o=>{t.settings.calendarViewSettings.nowIndicator=o,e()}}),Me(n,{name:r("settings.appearance.calendarView.selectionMirror.name"),desc:r("settings.appearance.calendarView.selectionMirror.description"),getValue:()=>t.settings.calendarViewSettings.selectMirror,setValue:async o=>{t.settings.calendarViewSettings.selectMirror=o,e()}}),new Un.Setting(n).setName(r("settings.appearance.calendarView.calendarLocale.name")).setDesc(r("settings.appearance.calendarView.calendarLocale.description")).addText(o=>{o.setPlaceholder(r("settings.appearance.calendarView.calendarLocale.placeholder")),o.setValue(t.settings.calendarViewSettings.locale||""),o.inputEl.addClass("settings-view__input"),o.inputEl.addEventListener("blur",()=>{let l=o.getValue().trim();if(l)try{Intl.getCanonicalLocales(l),t.settings.calendarViewSettings.locale=l,e()}catch(c){new Un.Notice(r("settings.appearance.calendarView.calendarLocale.invalidLocale")),t.settings.calendarViewSettings.locale="",o.setValue(""),e()}else t.settings.calendarViewSettings.locale="",e()})}),Ae(n,r("settings.appearance.defaultEventVisibility.header")),Pe(n,r("settings.appearance.defaultEventVisibility.description")),Me(n,{name:r("settings.appearance.defaultEventVisibility.showScheduledTasks.name"),desc:r("settings.appearance.defaultEventVisibility.showScheduledTasks.description"),getValue:()=>t.settings.calendarViewSettings.defaultShowScheduled,setValue:async o=>{t.settings.calendarViewSettings.defaultShowScheduled=o,e()}}),Me(n,{name:r("settings.appearance.defaultEventVisibility.showDueDates.name"),desc:r("settings.appearance.defaultEventVisibility.showDueDates.description"),getValue:()=>t.settings.calendarViewSettings.defaultShowDue,setValue:async o=>{t.settings.calendarViewSettings.defaultShowDue=o,e()}}),Me(n,{name:r("settings.appearance.defaultEventVisibility.showDueWhenScheduled.name"),desc:r("settings.appearance.defaultEventVisibility.showDueWhenScheduled.description"),getValue:()=>t.settings.calendarViewSettings.defaultShowDueWhenScheduled,setValue:async o=>{t.settings.calendarViewSettings.defaultShowDueWhenScheduled=o,e()}}),Me(n,{name:r("settings.appearance.defaultEventVisibility.showTimeEntries.name"),desc:r("settings.appearance.defaultEventVisibility.showTimeEntries.description"),getValue:()=>t.settings.calendarViewSettings.defaultShowTimeEntries,setValue:async o=>{t.settings.calendarViewSettings.defaultShowTimeEntries=o,e()}}),Me(n,{name:r("settings.appearance.defaultEventVisibility.showRecurringTasks.name"),desc:r("settings.appearance.defaultEventVisibility.showRecurringTasks.description"),getValue:()=>t.settings.calendarViewSettings.defaultShowRecurring,setValue:async o=>{t.settings.calendarViewSettings.defaultShowRecurring=o,e()}}),Me(n,{name:r("settings.appearance.defaultEventVisibility.showICSEvents.name"),desc:r("settings.appearance.defaultEventVisibility.showICSEvents.description"),getValue:()=>t.settings.calendarViewSettings.defaultShowICSEvents,setValue:async o=>{t.settings.calendarViewSettings.defaultShowICSEvents=o,e()}}),Ae(n,r("settings.appearance.timeSettings.header")),Pe(n,r("settings.appearance.timeSettings.description")),ur(n,{name:r("settings.appearance.timeSettings.timeSlotDuration.name"),desc:r("settings.appearance.timeSettings.timeSlotDuration.description"),options:[{value:"00:15:00",label:r("settings.appearance.timeSettings.timeSlotDuration.options.fifteenMinutes")},{value:"00:30:00",label:r("settings.appearance.timeSettings.timeSlotDuration.options.thirtyMinutes")},{value:"01:00:00",label:r("settings.appearance.timeSettings.timeSlotDuration.options.sixtyMinutes")}],getValue:()=>t.settings.calendarViewSettings.slotDuration,setValue:async o=>{t.settings.calendarViewSettings.slotDuration=o,e()}}),nr(n,{name:r("settings.appearance.timeSettings.startTime.name"),desc:r("settings.appearance.timeSettings.startTime.description"),placeholder:r("settings.appearance.timeSettings.startTime.placeholder"),debounceMs:500,getValue:()=>{let o=t.settings.calendarViewSettings.slotMinTime;return!o||o.length<5||!/^\d{2}:\d{2}:\d{2}$/.test(o)?"00:00":o.slice(0,5)},setValue:async o=>{if(!/^\d{2}:\d{2}$/.test(o)){new Un.Notice("Invalid time format. Please use HH:MM format (e.g., 08:00)");return}let[l,c]=o.split(":").map(Number);if(l<0||l>23||c<0||c>59){new Un.Notice("Invalid time. Hours must be 00-23 and minutes must be 00-59");return}t.settings.calendarViewSettings.slotMinTime=o+":00",e()}}),nr(n,{name:r("settings.appearance.timeSettings.endTime.name"),desc:r("settings.appearance.timeSettings.endTime.description"),placeholder:r("settings.appearance.timeSettings.endTime.placeholder"),debounceMs:500,getValue:()=>{let o=t.settings.calendarViewSettings.slotMaxTime;return!o||o.length<5||!/^\d{2}:\d{2}:\d{2}$/.test(o)?"24:00":o.slice(0,5)},setValue:async o=>{if(!/^\d{2}:\d{2}$/.test(o)){new Un.Notice("Invalid time format. Please use HH:MM format (e.g., 23:00)");return}let[l,c]=o.split(":").map(Number);if(l<0||l>24||c<0||c>59){new Un.Notice("Invalid time. Hours must be 00-24 and minutes must be 00-59");return}if(l===24&&c!==0){new Un.Notice("When hour is 24, minutes must be 00");return}t.settings.calendarViewSettings.slotMaxTime=o+":00",e()}}),nr(n,{name:r("settings.appearance.timeSettings.initialScrollTime.name"),desc:r("settings.appearance.timeSettings.initialScrollTime.description"),placeholder:r("settings.appearance.timeSettings.initialScrollTime.placeholder"),debounceMs:500,getValue:()=>{let o=t.settings.calendarViewSettings.scrollTime;return!o||o.length<5||!/^\d{2}:\d{2}:\d{2}$/.test(o)?"08:00":o.slice(0,5)},setValue:async o=>{if(!/^\d{2}:\d{2}$/.test(o)){new Un.Notice("Invalid time format. Please use HH:MM format (e.g., 08:00)");return}let[l,c]=o.split(":").map(Number);if(l<0||l>23||c<0||c>59){new Un.Notice("Invalid time. Hours must be 00-23 and minutes must be 00-59");return}t.settings.calendarViewSettings.scrollTime=o+":00",e()}}),zn(n,{name:r("settings.appearance.timeSettings.eventMinHeight.name"),desc:r("settings.appearance.timeSettings.eventMinHeight.description"),placeholder:r("settings.appearance.timeSettings.eventMinHeight.placeholder"),min:5,max:100,debounceMs:300,getValue:()=>t.settings.calendarViewSettings.eventMinHeight,setValue:async o=>{t.settings.calendarViewSettings.eventMinHeight=o,e()}}),Ae(n,r("settings.appearance.uiElements.header")),Pe(n,r("settings.appearance.uiElements.description")),Me(n,{name:r("settings.appearance.uiElements.showTrackedTasksInStatusBar.name"),desc:r("settings.appearance.uiElements.showTrackedTasksInStatusBar.description"),getValue:()=>t.settings.showTrackedTasksInStatusBar,setValue:async o=>{t.settings.showTrackedTasksInStatusBar=o,e()}}),Me(n,{name:r("settings.appearance.uiElements.showRelationshipsWidget.name"),desc:r("settings.appearance.uiElements.showRelationshipsWidget.description"),getValue:()=>t.settings.showRelationships,setValue:async o=>{t.settings.showRelationships=o,e(),bl(n,t,e)}}),t.settings.showRelationships&&ur(n,{name:r("settings.appearance.uiElements.relationshipsPosition.name"),desc:r("settings.appearance.uiElements.relationshipsPosition.description"),options:[{value:"top",label:r("settings.appearance.uiElements.relationshipsPosition.options.top")},{value:"bottom",label:r("settings.appearance.uiElements.relationshipsPosition.options.bottom")}],getValue:()=>t.settings.relationshipsPosition,setValue:async o=>{t.settings.relationshipsPosition=o,e()}}),Me(n,{name:r("settings.appearance.uiElements.showTaskCardInNote.name"),desc:r("settings.appearance.uiElements.showTaskCardInNote.description"),getValue:()=>t.settings.showTaskCardInNote,setValue:async o=>{t.settings.showTaskCardInNote=o,e()}}),Me(n,{name:r("settings.appearance.uiElements.showExpandableSubtasks.name"),desc:r("settings.appearance.uiElements.showExpandableSubtasks.description"),getValue:()=>t.settings.showExpandableSubtasks,setValue:async o=>{t.settings.showExpandableSubtasks=o,e(),bl(n,t,e)}}),t.settings.showExpandableSubtasks&&ur(n,{name:r("settings.appearance.uiElements.subtaskChevronPosition.name"),desc:r("settings.appearance.uiElements.subtaskChevronPosition.description"),options:[{value:"left",label:r("settings.appearance.uiElements.subtaskChevronPosition.options.left")},{value:"right",label:r("settings.appearance.uiElements.subtaskChevronPosition.options.right")}],getValue:()=>t.settings.subtaskChevronPosition,setValue:async o=>{t.settings.subtaskChevronPosition=o,e()}}),ur(n,{name:r("settings.appearance.uiElements.viewsButtonAlignment.name"),desc:r("settings.appearance.uiElements.viewsButtonAlignment.description"),options:[{value:"left",label:r("settings.appearance.uiElements.viewsButtonAlignment.options.left")},{value:"right",label:r("settings.appearance.uiElements.viewsButtonAlignment.options.right")}],getValue:()=>t.settings.viewsButtonAlignment,setValue:async o=>{t.settings.viewsButtonAlignment=o,e()}}),Ae(n,r("settings.general.taskInteraction.header")),Pe(n,r("settings.general.taskInteraction.description")),ur(n,{name:r("settings.general.taskInteraction.singleClick.name"),desc:r("settings.general.taskInteraction.singleClick.description"),options:[{value:"edit",label:r("settings.general.taskInteraction.actions.edit")},{value:"openNote",label:r("settings.general.taskInteraction.actions.openNote")}],getValue:()=>t.settings.singleClickAction,setValue:async o=>{t.settings.singleClickAction=o,e()}}),ur(n,{name:r("settings.general.taskInteraction.doubleClick.name"),desc:r("settings.general.taskInteraction.doubleClick.description"),options:[{value:"edit",label:r("settings.general.taskInteraction.actions.edit")},{value:"openNote",label:r("settings.general.taskInteraction.actions.openNote")},{value:"none",label:r("settings.general.taskInteraction.actions.none")}],getValue:()=>t.settings.doubleClickAction,setValue:async o=>{t.settings.doubleClickAction=o,e()}})}var xp=require("obsidian");es();var Ny=require("obsidian"),dS=class extends Ny.Modal{constructor(t,e){super(t.app),this.plugin=t,this.hasExistingData=e}t(t,e){return this.plugin.i18n.translate(t,e)}show(){return new Promise(t=>{this.resolve=t,this.open()})}onOpen(){let{contentEl:t}=this;t.empty();let e=this.hasExistingData?"migrate":"switch",r=this.t(`modals.storageLocation.title.${e}`);new Ny.Setting(t).setName(r).setHeading();let a=this.t(`modals.storageLocation.message.${e}`),s=t.createEl("p").createEl("strong");s.textContent=a,t.createEl("br"),t.createEl("p",{text:this.t("modals.storageLocation.whatThisMeans")});let o=t.createEl("ul");[this.t("modals.storageLocation.bullets.dailyNotesRequired"),this.t("modals.storageLocation.bullets.storedInNotes"),this.hasExistingData?this.t("modals.storageLocation.bullets.migrateData"):this.t("modals.storageLocation.bullets.futureSessions"),this.t("modals.storageLocation.bullets.dataLongevity")].forEach(m=>{let h=o.createEl("li");h.textContent=m}),t.createEl("br");let c=t.createEl("p");if(this.hasExistingData){let m=c.createEl("strong");m.textContent=this.t("modals.storageLocation.finalNote.migrate")}else c.textContent=this.t("modals.storageLocation.finalNote.switch");let d=t.createEl("div",{cls:"modal-button-container"});d.style.display="flex",d.style.gap="10px",d.style.justifyContent="flex-end",d.style.marginTop="20px",d.createEl("button",{text:this.t("common.cancel")}).addEventListener("click",()=>{this.resolve(!1),this.close()});let p=d.createEl("button",{text:this.hasExistingData?this.t("modals.storageLocation.buttons.migrate"):this.t("modals.storageLocation.buttons.switch"),cls:"mod-cta"});p.addEventListener("click",()=>{this.resolve(!0),this.close()}),window.setTimeout(()=>{p.focus()},50)}onClose(){let{contentEl:t}=this;t.empty(),this.resolve&&this.resolve(!1)}};async function wH(n,t){return new dS(n,t).show()}pS();function fa(n,t,e){n.empty();let r=(a,i)=>t.i18n.translate(a,i);if(Ae(n,r("settings.features.inlineTasks.header")),Pe(n,r("settings.features.inlineTasks.description")),Me(n,{name:r("settings.features.overlays.taskLinkToggle.name"),desc:r("settings.features.overlays.taskLinkToggle.description"),getValue:()=>t.settings.enableTaskLinkOverlay,setValue:async a=>{t.settings.enableTaskLinkOverlay=a,e(),fa(n,t,e)}}),t.settings.enableTaskLinkOverlay){let a=Ep(t),i=t.settings.inlineVisibleProperties||["status","priority","due","scheduled","recurrence"];new xp.Setting(n).setName("Inline Task Card Properties").setDesc("Select which properties to show in inline task cards (task links in editor). Fewer properties = more compact display.").addButton(o=>{o.setButtonText("Configure").onClick(()=>{new ld(t.app,a,i,async c=>{t.settings.inlineVisibleProperties=c,e(),new xp.Notice("Inline task card properties updated"),fa(n,t,e)},"Select Inline Task Card Properties","Choose which properties to display in inline task cards. Selected properties will appear in the order shown below.").open()})});let s=_y(t,i);Pe(n,`Currently showing: ${s.join(", ")}`)}if(Me(n,{name:r("settings.features.instantConvert.toggle.name"),desc:r("settings.features.instantConvert.toggle.description"),getValue:()=>t.settings.enableInstantTaskConvert,setValue:async a=>{t.settings.enableInstantTaskConvert=a,e(),fa(n,t,e)}}),Ae(n,r("settings.features.nlp.header")),Pe(n,r("settings.features.nlp.description")),Me(n,{name:r("settings.features.nlp.enable.name"),desc:r("settings.features.nlp.enable.description"),getValue:()=>t.settings.enableNaturalLanguageInput,setValue:async a=>{t.settings.enableNaturalLanguageInput=a,e(),fa(n,t,e)}}),t.settings.enableNaturalLanguageInput&&(Me(n,{name:r("settings.features.nlp.defaultToScheduled.name"),desc:r("settings.features.nlp.defaultToScheduled.description"),getValue:()=>t.settings.nlpDefaultToScheduled,setValue:async a=>{t.settings.nlpDefaultToScheduled=a,e()}}),ur(n,{name:r("settings.features.nlp.language.name"),desc:r("settings.features.nlp.language.description"),options:GH(),getValue:()=>t.settings.nlpLanguage,setValue:async a=>{t.settings.nlpLanguage=a,e()}})),Ae(n,r("settings.defaults.header.bodyTemplate")),Pe(n,r("settings.defaults.description.bodyTemplate")),Me(n,{name:r("settings.defaults.bodyTemplate.useBodyTemplate.name"),desc:r("settings.defaults.bodyTemplate.useBodyTemplate.description"),getValue:()=>t.settings.taskCreationDefaults.useBodyTemplate,setValue:async a=>{t.settings.taskCreationDefaults.useBodyTemplate=a,e(),fa(n,t,e)}}),t.settings.taskCreationDefaults.useBodyTemplate){nr(n,{name:r("settings.defaults.bodyTemplate.bodyTemplateFile.name"),desc:r("settings.defaults.bodyTemplate.bodyTemplateFile.description"),placeholder:r("settings.defaults.bodyTemplate.bodyTemplateFile.placeholder"),getValue:()=>t.settings.taskCreationDefaults.bodyTemplate,setValue:async s=>{t.settings.taskCreationDefaults.bodyTemplate=s,e()}});let a=n.createDiv("tasknotes-settings__help-section");a.createEl("h4",{text:r("settings.defaults.bodyTemplate.variablesHeader")});let i=a.createEl("ul");i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.title")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.details")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.date")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.time")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.priority")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.status")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.contexts")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.tags")}),i.createEl("li",{text:r("settings.defaults.bodyTemplate.variables.projects")})}Me(n,{name:r("settings.defaults.instantConversion.useDefaultsOnInstantConvert.name"),desc:r("settings.defaults.instantConversion.useDefaultsOnInstantConvert.description"),getValue:()=>t.settings.useDefaultsOnInstantConvert,setValue:async a=>{t.settings.useDefaultsOnInstantConvert=a,e()}}),Ae(n,r("settings.features.pomodoro.header")),Pe(n,r("settings.features.pomodoro.description")),zn(n,{name:r("settings.features.pomodoro.workDuration.name"),desc:r("settings.features.pomodoro.workDuration.description"),placeholder:"25",min:1,max:120,getValue:()=>t.settings.pomodoroWorkDuration,setValue:async a=>{t.settings.pomodoroWorkDuration=a,e()}}),zn(n,{name:r("settings.features.pomodoro.shortBreak.name"),desc:r("settings.features.pomodoro.shortBreak.description"),placeholder:"5",min:1,max:60,getValue:()=>t.settings.pomodoroShortBreakDuration,setValue:async a=>{t.settings.pomodoroShortBreakDuration=a,e()}}),zn(n,{name:r("settings.features.pomodoro.longBreak.name"),desc:r("settings.features.pomodoro.longBreak.description"),placeholder:"15",min:1,max:120,getValue:()=>t.settings.pomodoroLongBreakDuration,setValue:async a=>{t.settings.pomodoroLongBreakDuration=a,e()}}),zn(n,{name:r("settings.features.pomodoro.longBreakInterval.name"),desc:r("settings.features.pomodoro.longBreakInterval.description"),placeholder:"4",min:1,max:10,getValue:()=>t.settings.pomodoroLongBreakInterval,setValue:async a=>{t.settings.pomodoroLongBreakInterval=a,e()}}),Me(n,{name:r("settings.features.pomodoro.autoStartBreaks.name"),desc:r("settings.features.pomodoro.autoStartBreaks.description"),getValue:()=>t.settings.pomodoroAutoStartBreaks,setValue:async a=>{t.settings.pomodoroAutoStartBreaks=a,e()}}),Me(n,{name:r("settings.features.pomodoro.autoStartWork.name"),desc:r("settings.features.pomodoro.autoStartWork.description"),getValue:()=>t.settings.pomodoroAutoStartWork,setValue:async a=>{t.settings.pomodoroAutoStartWork=a,e()}}),Me(n,{name:r("settings.features.pomodoro.notifications.name"),desc:r("settings.features.pomodoro.notifications.description"),getValue:()=>t.settings.pomodoroNotifications,setValue:async a=>{t.settings.pomodoroNotifications=a,e()}}),Me(n,{name:r("settings.features.pomodoroSound.enabledName"),desc:r("settings.features.pomodoroSound.enabledDesc"),getValue:()=>t.settings.pomodoroSoundEnabled,setValue:async a=>{t.settings.pomodoroSoundEnabled=a,e(),fa(n,t,e)}}),t.settings.pomodoroSoundEnabled&&zn(n,{name:r("settings.features.pomodoroSound.volumeName"),desc:r("settings.features.pomodoroSound.volumeDesc"),placeholder:"50",min:0,max:100,getValue:()=>t.settings.pomodoroSoundVolume,setValue:async a=>{t.settings.pomodoroSoundVolume=a,e()}}),ur(n,{name:r("settings.features.dataStorage.name"),desc:r("settings.features.dataStorage.description"),options:[{value:"plugin",label:r("settings.features.dataStorage.pluginData")},{value:"daily-notes",label:r("settings.features.dataStorage.dailyNotes")}],getValue:()=>t.settings.pomodoroStorageLocation,setValue:async a=>{let i=a;if(i!==t.settings.pomodoroStorageLocation){let s=await t.loadData(),o=(s==null?void 0:s.pomodoroHistory)&&Array.isArray(s.pomodoroHistory)&&s.pomodoroHistory.length>0;await wH(t,o)?(t.settings.pomodoroStorageLocation=i,e(),new xp.Notice(r("settings.features.dataStorage.notices.locationChanged",{location:r(i==="plugin"?"settings.features.dataStorage.pluginData":"settings.features.dataStorage.dailyNotes")}))):fa(n,t,e)}}}),Ae(n,r("settings.features.notifications.header")),Pe(n,r("settings.features.notifications.description")),Me(n,{name:r("settings.features.notifications.enableName"),desc:r("settings.features.notifications.enableDesc"),getValue:()=>t.settings.enableNotifications,setValue:async a=>{t.settings.enableNotifications=a,e(),fa(n,t,e)}}),t.settings.enableNotifications&&ur(n,{name:r("settings.features.notifications.typeName"),desc:r("settings.features.notifications.typeDesc"),options:[{value:"in-app",label:r("settings.features.notifications.inAppLabel")},{value:"system",label:r("settings.features.notifications.systemLabel")}],getValue:()=>t.settings.notificationType,setValue:async a=>{t.settings.notificationType=a,e()}}),Ae(n,r("settings.features.performance.header")),Pe(n,r("settings.features.performance.description")),Me(n,{name:r("settings.features.overdue.hideCompletedName"),desc:r("settings.features.overdue.hideCompletedDesc"),getValue:()=>t.settings.hideCompletedFromOverdue,setValue:async a=>{t.settings.hideCompletedFromOverdue=a,e()}}),Me(n,{name:r("settings.features.indexing.disableName"),desc:r("settings.features.indexing.disableDesc"),getValue:()=>t.settings.disableNoteIndexing,setValue:async a=>{t.settings.disableNoteIndexing=a,e()}}),t.settings.suggestionDebounceMs!==void 0&&zn(n,{name:r("settings.features.suggestions.debounceName"),desc:r("settings.features.suggestions.debounceDesc"),placeholder:"300",min:0,max:2e3,getValue:()=>t.settings.suggestionDebounceMs||0,setValue:async a=>{t.settings.suggestionDebounceMs=a>0?a:void 0,e()}}),Ae(n,r("settings.features.timeTrackingSection.header")),Pe(n,r("settings.features.timeTrackingSection.description")),Me(n,{name:r("settings.features.timeTracking.autoStopName"),desc:r("settings.features.timeTracking.autoStopDesc"),getValue:()=>t.settings.autoStopTimeTrackingOnComplete,setValue:async a=>{t.settings.autoStopTimeTrackingOnComplete=a,e()}}),Me(n,{name:r("settings.features.timeTracking.stopNotificationName"),desc:r("settings.features.timeTracking.stopNotificationDesc"),getValue:()=>t.settings.autoStopTimeTrackingNotification,setValue:async a=>{t.settings.autoStopTimeTrackingNotification=a,e()}}),Ae(n,r("settings.features.recurringSection.header")),Pe(n,r("settings.features.recurringSection.description")),Me(n,{name:r("settings.features.recurring.maintainOffsetName"),desc:r("settings.features.recurring.maintainOffsetDesc"),getValue:()=>t.settings.maintainDueDateOffsetInRecurring,setValue:async a=>{t.settings.maintainDueDateOffsetInRecurring=a,e()}}),Ae(n,r("settings.features.timeblocking.header")),Pe(n,r("settings.features.timeblocking.description")),Me(n,{name:r("settings.features.timeblocking.enableName"),desc:r("settings.features.timeblocking.enableDesc"),getValue:()=>t.settings.calendarViewSettings.enableTimeblocking,setValue:async a=>{t.settings.calendarViewSettings.enableTimeblocking=a,e(),fa(n,t,e)}}),t.settings.calendarViewSettings.enableTimeblocking&&(Me(n,{name:r("settings.features.timeblocking.showBlocksName"),desc:r("settings.features.timeblocking.showBlocksDesc"),getValue:()=>t.settings.calendarViewSettings.defaultShowTimeblocks,setValue:async a=>{t.settings.calendarViewSettings.defaultShowTimeblocks=a,e()}}),Pe(n,r("settings.features.timeblocking.usage")))}var ue=require("obsidian");async function QH(n,t=8080){let e=n.createEl("p",{text:"Loading API endpoints...",attr:{style:"color: var(--text-muted); font-style: italic; margin: 16px 0;"}});try{console.log(`Fetching API documentation from http://localhost:${t}/api/docs`);let r=await fetch(`http://localhost:${t}/api/docs`);if(console.log("API docs response:",r.status,r.statusText),!r.ok)throw new Error(`API unavailable (${r.status}: ${r.statusText})`);let a=await r.json();console.log("OpenAPI spec loaded:",a),e.remove();let i={};if(a.paths)for(let[s,o]of Object.entries(a.paths))for(let[l,c]of Object.entries(o)){let u=(c.tags||["General"])[0];i[u]||(i[u]=[]),i[u].push({method:l.toUpperCase(),path:s,summary:c.summary||c.description||"No description"})}Object.keys(i).length>0?Object.entries(i).forEach(([s,o])=>{n.createEl("h5",{text:s,attr:{style:"margin: 16px 0 8px 0; font-weight: 600; color: var(--text-normal);"}});let l=n.createEl("ul");o.forEach(c=>{l.createEl("li",{text:`${c.method} ${c.path} - ${c.summary}`})})}):n.createEl("p",{text:"No API endpoints found in specification.",attr:{style:"color: var(--text-muted); margin: 16px 0;"}})}catch(r){console.error("Error loading API endpoints:",r),e.remove(),n.createEl("p",{text:`API server not accessible (${r.message}). Ensure the TaskNotes API server is running on port ${t}.`,attr:{style:"color: var(--text-muted); font-style: italic; margin: 16px 0;"}})}}es();dl();function cd(n,t){let r=new Date().getTime()-n.getTime(),a=Math.floor(r/1e3),i=Math.floor(a/60),s=Math.floor(i/60),o=Math.floor(s/24);return o>0?t("settings.integrations.timeFormats.daysAgo",{days:o,plural:o>1?"s":""}):s>0?t("settings.integrations.timeFormats.hoursAgo",{hours:s,plural:s>1?"s":""}):i>0?t("settings.integrations.timeFormats.minutesAgo",{minutes:i,plural:i>1?"s":""}):t("settings.integrations.timeFormats.justNow")}function Tl(n,t,e){n.empty();let r=(m,h)=>t.i18n.translate(m,h);Ae(n,"OAuth Calendar Integration"),Pe(n,"Connect your Google Calendar or Microsoft Outlook to sync events directly into TaskNotes.");let a=n.createDiv("tasknotes-oauth-setup-guide");a.style.cssText=`
|
||
font-size: 0.9em;
|
||
color: var(--text-muted);
|
||
line-height: 1.5;
|
||
padding: 12px;
|
||
background: var(--background-secondary);
|
||
border-radius: 6px;
|
||
border-left: 3px solid var(--interactive-accent);
|
||
margin-bottom: 16px;
|
||
`;let i=a.createDiv(),s=i.createEl("strong");s.textContent="OAuth Setup Required:",i.appendText(" You'll need to create OAuth credentials with Google and/or Microsoft to connect your calendars. This takes approximately 15 minutes for initial setup.");let o=a.createEl("a",{text:"View Calendar Setup Guide",href:"https://callumalpass.github.io/tasknotes/calendar-setup",attr:{target:"_blank"}});o.style.cssText=`
|
||
font-size: 0.9em;
|
||
color: var(--interactive-accent);
|
||
margin-top: 8px;
|
||
display: inline-block;
|
||
`;let l=n.createDiv("google-calendar-integration-container"),c=async()=>{if(l.empty(),!t.oauthService){let f=pt(l,{header:{primaryText:"Google Calendar",secondaryText:"OAuth service not available",meta:[an("Error","inactive")]}});return}let m=await t.oauthService.isConnected("google"),h=m?await t.oauthService.getConnection("google"):null;if(m&&h){let f=h.connectedAt?new Date(h.connectedAt):null,g=f?cd(f,r):"",v=document.createElement("div");v.style.fontSize="0.9em",v.style.color="var(--text-muted)",v.textContent=f?`Connected ${g}`:"Connected";let T=document.createElement("div");if(T.style.fontSize="0.9em",T.style.color="var(--text-muted)",h.lastRefreshed){let k=new Date(h.lastRefreshed);T.textContent=`Last refreshed ${cd(k,r)}`}else T.textContent="Never refreshed";pt(l,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#4285F4"},header:{primaryText:"Google Calendar",secondaryText:"OAuth 2.0 Connection",meta:[an("Connected","active")]},content:{sections:[{rows:[{label:"Status:",input:v},{label:"Sync:",input:T}]}]},actions:{buttons:[{text:"Refresh Now",icon:"refresh-cw",variant:"primary",onClick:async()=>{try{t.googleCalendarService&&(await t.googleCalendarService.refresh(),new ue.Notice("Google Calendar refreshed successfully"),c())}catch(k){console.error("Failed to refresh:",k),new ue.Notice("Failed to refresh Google Calendar")}}},{text:"Disconnect",icon:"log-out",variant:"warning",onClick:async()=>{try{await t.oauthService.disconnect("google"),new ue.Notice("Disconnected from Google Calendar"),c()}catch(k){console.error("Failed to disconnect:",k),new ue.Notice("Failed to disconnect from Google Calendar")}}}]}})}else{let f=document.createElement("div");f.style.fontSize="0.9em",f.style.color="var(--text-muted)",f.style.lineHeight="1.5",f.innerHTML="Connect your Google Calendar account to sync events directly into TaskNotes. Events will automatically refresh every 15 minutes.";let g=[{rows:[{label:"Info:",input:f,fullWidth:!0}]}];{let v=Se("text","your-client-id.apps.googleusercontent.com",t.settings.googleOAuthClientId);v.addEventListener("blur",async()=>{t.settings.googleOAuthClientId=v.value.trim(),e(),t.oauthService&&await t.oauthService.loadClientIds()});let T=Se("text","your-client-secret",t.settings.googleOAuthClientSecret);T.setAttribute("type","password"),T.addEventListener("blur",async()=>{t.settings.googleOAuthClientSecret=T.value.trim(),e(),t.oauthService&&await t.oauthService.loadClientIds()});let k=document.createElement("div");k.style.fontSize="0.85em",k.style.color="var(--text-muted)",k.style.fontStyle="italic",k.style.marginTop="0.5rem",k.textContent="Enter your OAuth app credentials from Google Cloud Console.",g.push({rows:[{label:"Client ID:",input:v},{label:"Client Secret:",input:T},{label:"",input:k,fullWidth:!0}]})}pt(l,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#9AA0A6"},header:{primaryText:"Google Calendar",secondaryText:"OAuth 2.0 Connection",meta:[an("Not Connected","inactive")]},content:{sections:g},actions:{buttons:[{text:"Connect Google Calendar",icon:"link",variant:"primary",onClick:async()=>{try{await t.oauthService.authenticate("google"),new ue.Notice("Google Calendar connected successfully!"),c()}catch(v){console.error("Failed to connect:",v),new ue.Notice(`Failed to connect: ${v.message}`)}}}]}})}};c();let d=n.createDiv("microsoft-calendar-integration-container"),u=async()=>{if(d.empty(),!t.oauthService){pt(d,{header:{primaryText:"Microsoft Outlook Calendar",secondaryText:"OAuth service not available",meta:[an("Error","inactive")]}});return}let m=await t.oauthService.isConnected("microsoft"),h=m?await t.oauthService.getConnection("microsoft"):null;if(m&&h){let f=h.connectedAt?new Date(h.connectedAt):null,g=f?cd(f,r):"",v=document.createElement("div");v.style.fontSize="0.9em",v.style.color="var(--text-muted)",v.textContent=f?`Connected ${g}`:"Connected";let T=document.createElement("div");if(T.style.fontSize="0.9em",T.style.color="var(--text-muted)",h.lastRefreshed){let k=new Date(h.lastRefreshed);T.textContent=`Last refreshed ${cd(k,r)}`}else T.textContent="Never refreshed";pt(d,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#0078D4"},header:{primaryText:"Microsoft Outlook Calendar",secondaryText:"OAuth 2.0 Connection",meta:[an("Connected","active")]},content:{sections:[{rows:[{label:"Status:",input:v},{label:"Sync:",input:T}]}]},actions:{buttons:[{text:"Disconnect",icon:"log-out",variant:"warning",onClick:async()=>{try{await t.oauthService.disconnect("microsoft"),new ue.Notice("Disconnected from Microsoft Calendar"),u()}catch(k){console.error("Failed to disconnect:",k),new ue.Notice("Failed to disconnect from Microsoft Calendar")}}}]}})}else{let f=document.createElement("div");f.style.fontSize="0.9em",f.style.color="var(--text-muted)",f.style.lineHeight="1.5",f.innerHTML="Connect your Microsoft Outlook calendar to sync events directly into TaskNotes.";let g=[{rows:[{label:"Info:",input:f,fullWidth:!0}]}];{let v=Se("text","your-microsoft-client-id",t.settings.microsoftOAuthClientId);v.addEventListener("blur",async()=>{t.settings.microsoftOAuthClientId=v.value.trim(),e(),t.oauthService&&await t.oauthService.loadClientIds()});let T=Se("text","your-microsoft-client-secret",t.settings.microsoftOAuthClientSecret);T.setAttribute("type","password"),T.addEventListener("blur",async()=>{t.settings.microsoftOAuthClientSecret=T.value.trim(),e(),t.oauthService&&await t.oauthService.loadClientIds()});let k=document.createElement("div");k.style.fontSize="0.85em",k.style.color="var(--text-muted)",k.style.fontStyle="italic",k.style.marginTop="0.5rem",k.textContent="Enter your OAuth app credentials from Azure Portal.",g.push({rows:[{label:"Client ID:",input:v},{label:"Client Secret:",input:T},{label:"",input:k,fullWidth:!0}]})}pt(d,{collapsible:!0,defaultCollapsed:!1,colorIndicator:{color:"#737373"},header:{primaryText:"Microsoft Outlook Calendar",secondaryText:"OAuth 2.0 Connection",meta:[an("Not Connected","inactive")]},content:{sections:g},actions:{buttons:[{text:"Connect Microsoft Calendar",icon:"link",variant:"primary",onClick:async()=>{try{await t.oauthService.authenticate("microsoft"),new ue.Notice("Microsoft Calendar connected successfully!"),u()}catch(v){console.error("Failed to connect:",v),new ue.Notice(`Failed to connect: ${v.message}`)}}}]}})}};u(),Ae(n,r("settings.integrations.calendarSubscriptions.header")),Pe(n,r("settings.integrations.calendarSubscriptions.description")),nr(n,{name:r("settings.integrations.calendarSubscriptions.defaultNoteTemplate.name"),desc:r("settings.integrations.calendarSubscriptions.defaultNoteTemplate.description"),placeholder:r("settings.integrations.calendarSubscriptions.defaultNoteTemplate.placeholder"),getValue:()=>t.settings.icsIntegration.defaultNoteTemplate,setValue:async m=>{t.settings.icsIntegration.defaultNoteTemplate=m,e()}}),nr(n,{name:r("settings.integrations.calendarSubscriptions.defaultNoteFolder.name"),desc:r("settings.integrations.calendarSubscriptions.defaultNoteFolder.description"),placeholder:r("settings.integrations.calendarSubscriptions.defaultNoteFolder.placeholder"),getValue:()=>t.settings.icsIntegration.defaultNoteFolder,setValue:async m=>{t.settings.icsIntegration.defaultNoteFolder=m,e()}}),ur(n,{name:r("settings.integrations.calendarSubscriptions.filenameFormat.name"),desc:r("settings.integrations.calendarSubscriptions.filenameFormat.description"),options:[{value:"title",label:r("settings.integrations.calendarSubscriptions.filenameFormat.options.title")},{value:"zettel",label:r("settings.integrations.calendarSubscriptions.filenameFormat.options.zettel")},{value:"timestamp",label:r("settings.integrations.calendarSubscriptions.filenameFormat.options.timestamp")},{value:"custom",label:r("settings.integrations.calendarSubscriptions.filenameFormat.options.custom")}],getValue:()=>t.settings.icsIntegration.icsNoteFilenameFormat,setValue:async m=>{t.settings.icsIntegration.icsNoteFilenameFormat=m,e(),Tl(n,t,e)}}),t.settings.icsIntegration.icsNoteFilenameFormat==="custom"&&nr(n,{name:r("settings.integrations.calendarSubscriptions.customTemplate.name"),desc:r("settings.integrations.calendarSubscriptions.customTemplate.description"),placeholder:r("settings.integrations.calendarSubscriptions.customTemplate.placeholder"),getValue:()=>t.settings.icsIntegration.customICSNoteFilenameTemplate,setValue:async m=>{t.settings.icsIntegration.customICSNoteFilenameTemplate=m,e()}}),Ae(n,r("settings.integrations.subscriptionsList.header"));let p=n.createDiv("ics-subscriptions-container");if(dd(p,t,e),hp(n,{name:r("settings.integrations.subscriptionsList.addSubscription.name"),desc:r("settings.integrations.subscriptionsList.addSubscription.description"),buttonText:r("settings.integrations.subscriptionsList.addSubscription.buttonText"),onClick:async()=>{let m={name:r("settings.integrations.subscriptionsList.newCalendarName"),url:"",color:"#6366f1",enabled:!1,type:"remote",refreshInterval:60};if(!t.icsSubscriptionService){new ue.Notice(r("settings.integrations.subscriptionsList.notices.serviceUnavailable"));return}try{await t.icsSubscriptionService.addSubscription(m),new ue.Notice(r("settings.integrations.subscriptionsList.notices.addSuccess")),dd(p,t,e)}catch(h){console.error("Error adding subscription:",h),new ue.Notice(r("settings.integrations.subscriptionsList.notices.addFailure"))}}}),hp(n,{name:r("settings.integrations.subscriptionsList.refreshAll.name"),desc:r("settings.integrations.subscriptionsList.refreshAll.description"),buttonText:r("settings.integrations.subscriptionsList.refreshAll.buttonText"),onClick:async()=>{if(t.icsSubscriptionService)try{await t.icsSubscriptionService.refreshAllSubscriptions(),new ue.Notice(r("settings.integrations.subscriptionsList.notices.refreshSuccess"))}catch(m){console.error("Error refreshing subscriptions:",m),new ue.Notice(r("settings.integrations.subscriptionsList.notices.refreshFailure"))}}}),Ae(n,r("settings.integrations.autoExport.header")),Pe(n,r("settings.integrations.autoExport.description")),Me(n,{name:r("settings.integrations.autoExport.enable.name"),desc:r("settings.integrations.autoExport.enable.description"),getValue:()=>t.settings.icsIntegration.enableAutoExport,setValue:async m=>{t.settings.icsIntegration.enableAutoExport=m,e(),new ue.Notice(r("settings.integrations.autoExport.notices.reloadRequired")),Tl(n,t,e)}}),t.settings.icsIntegration.enableAutoExport){nr(n,{name:r("settings.integrations.autoExport.filePath.name"),desc:r("settings.integrations.autoExport.filePath.description"),placeholder:r("settings.integrations.autoExport.filePath.placeholder"),getValue:()=>t.settings.icsIntegration.autoExportPath,setValue:async h=>{t.settings.icsIntegration.autoExportPath=h||"tasknotes-calendar.ics",e()}}),zn(n,{name:r("settings.integrations.autoExport.interval.name"),desc:r("settings.integrations.autoExport.interval.description"),placeholder:r("settings.integrations.autoExport.interval.placeholder"),min:5,max:1440,getValue:()=>t.settings.icsIntegration.autoExportInterval,setValue:async h=>{t.settings.icsIntegration.autoExportInterval=Math.max(5,h||60),e(),t.autoExportService&&t.autoExportService.updateInterval(t.settings.icsIntegration.autoExportInterval)}});let m=n.createDiv("auto-export-status");if(m.style.marginTop="10px",m.style.padding="10px",m.style.backgroundColor="var(--background-secondary)",m.style.borderRadius="4px",m.empty(),t.autoExportService){let h=t.autoExportService.getLastExportTime(),f=t.autoExportService.getNextExportTime(),g=m.createDiv();g.style.fontWeight="500",g.style.marginBottom="5px",g.textContent=r("settings.integrations.autoExport.status.title")+":";let v=m.createDiv();v.style.fontSize="0.9em",v.style.opacity="0.8";let T=h?r("settings.integrations.autoExport.status.lastExport",{time:h.toLocaleString()}):r("settings.integrations.autoExport.status.noExports"),k=f?r("settings.integrations.autoExport.status.nextExport",{time:f.toLocaleString()}):r("settings.integrations.autoExport.status.notScheduled");v.textContent=T+`
|
||
`+k,v.style.whiteSpace="pre-line"}else{let h=m.createDiv();h.style.fontWeight="500",h.style.color="var(--text-warning)",h.textContent=r("settings.integrations.autoExport.status.serviceNotInitialized")}hp(n,{name:r("settings.integrations.autoExport.exportNow.name"),desc:r("settings.integrations.autoExport.exportNow.description"),buttonText:r("settings.integrations.autoExport.exportNow.buttonText"),onClick:async()=>{if(t.autoExportService)try{await t.autoExportService.exportNow(),new ue.Notice(r("settings.integrations.autoExport.notices.exportSuccess")),Tl(n,t,e)}catch(h){console.error("Manual export failed:",h),new ue.Notice(r("settings.integrations.autoExport.notices.exportFailure"))}else new ue.Notice(r("settings.integrations.autoExport.notices.serviceUnavailable"))}})}if(!ue.Platform.isMobile){if(Ae(n,r("settings.integrations.httpApi.header")),Pe(n,r("settings.integrations.httpApi.description")),Me(n,{name:r("settings.integrations.httpApi.enable.name"),desc:r("settings.integrations.httpApi.enable.description"),getValue:()=>t.settings.enableAPI,setValue:async h=>{t.settings.enableAPI=h,e(),Tl(n,t,e)}}),t.settings.enableAPI){zn(n,{name:r("settings.integrations.httpApi.port.name"),desc:r("settings.integrations.httpApi.port.description"),placeholder:r("settings.integrations.httpApi.port.placeholder"),min:1024,max:65535,getValue:()=>t.settings.apiPort,setValue:async k=>{t.settings.apiPort=k,e()}}),nr(n,{name:r("settings.integrations.httpApi.authToken.name"),desc:r("settings.integrations.httpApi.authToken.description"),placeholder:r("settings.integrations.httpApi.authToken.placeholder"),getValue:()=>t.settings.apiAuthToken,setValue:async k=>{t.settings.apiAuthToken=k,e()}});let h=n.createDiv("tasknotes-settings__help-section"),f=h.createDiv("tasknotes-settings__collapsible-header"),g=f.createDiv("tasknotes-settings__collapsible-header-content"),v=g.createSpan("tasknotes-settings__collapsible-icon");v.textContent=r("settings.integrations.httpApi.endpoints.expandIcon"),g.createSpan({text:r("settings.integrations.httpApi.endpoints.header"),cls:"tasknotes-settings__collapsible-title"});let T=h.createDiv("tasknotes-settings__collapsible-content");T.style.display="none",f.addEventListener("click",()=>{let k=T.style.display!=="none";T.style.display=k?"none":"block",v.textContent=r(k?"settings.integrations.httpApi.endpoints.expandIcon":"settings.integrations.httpApi.endpoints.collapseIcon")}),QH(T,t.settings.apiPort)}Ae(n,r("settings.integrations.webhooks.header"));let m=n.createDiv("setting-item-description");m.createEl("p",{text:r("settings.integrations.webhooks.description.overview")}),m.createEl("p",{text:r("settings.integrations.webhooks.description.usage")}),Ry(n,t,e),hp(n,{name:r("settings.integrations.webhooks.addWebhook.name"),desc:r("settings.integrations.webhooks.addWebhook.description"),buttonText:r("settings.integrations.webhooks.addWebhook.buttonText"),onClick:async()=>{new fS(t.app,async f=>{var v;let g={id:`wh_${Date.now()}_${Math.random().toString(36).substring(2,9)}`,url:f.url||"",events:f.events||[],secret:Kre(),active:!0,createdAt:new Date().toISOString(),failureCount:0,successCount:0,transformFile:f.transformFile,corsHeaders:f.corsHeaders};t.settings.webhooks||(t.settings.webhooks=[]),t.settings.webhooks.push(g),e(),Ry(((v=n.querySelector(".tasknotes-webhooks-container"))==null?void 0:v.parentElement)||n,t,e),new mS(t.app,g.secret).open(),new ue.Notice(r("settings.integrations.webhooks.notices.created"))}).open()}})}Ae(n,r("settings.integrations.otherIntegrations.header")),Pe(n,r("settings.integrations.otherIntegrations.description"))}function dd(n,t,e){n.empty();let r=(i,s)=>t.i18n.translate(i,s);if(!t.icsSubscriptionService){Pe(n,r("settings.integrations.subscriptionsList.notices.serviceUnavailable"));return}let a=t.icsSubscriptionService.getSubscriptions();if(a.length===0){let i=n.createDiv("tasknotes-webhooks-empty-state");i.createSpan("tasknotes-webhooks-empty-icon"),i.createSpan({text:r("settings.integrations.subscriptionsList.emptyState"),cls:"tasknotes-webhooks-empty-text"});return}a.forEach(i=>{let s=pr(i.enabled,S=>{i.enabled=S,e()}),o=Se("text","Calendar name",i.name),l=document.createElement("select");l.className="tasknotes-settings__card-input";let c=document.createElement("option");c.value="remote",c.textContent="Remote URL",c.selected=i.type==="remote",l.appendChild(c);let d=document.createElement("option");d.value="local",d.textContent="Local File",d.selected=i.type==="local",l.appendChild(d);let u;if(i.type==="remote")u=my("ICS/iCal URL",i.url);else{let S=Se("text","Local file path (e.g., Calendar.ics)",i.filePath||"");S.setAttribute("placeholder","Calendar.ics"),u=S}let p=Se("color","",i.color),m=ro(5,1440,5,i.refreshInterval||60),h=async S=>{try{await t.icsSubscriptionService.updateSubscription(i.id,S),e(),dd(n,t,e)}catch(x){console.error("Error updating subscription:",x),new ue.Notice(r("settings.integrations.subscriptionsList.notices.updateFailure")),dd(n,t,e)}};o.addEventListener("blur",()=>h({name:o.value.trim()})),p.addEventListener("change",()=>h({color:p.value})),m.addEventListener("blur",()=>{let S=parseInt(m.value)||60;h({refreshInterval:S})}),l.addEventListener("change",async()=>{let S=l.value;i.type=S,S==="remote"?(i.url=i.filePath||"",i.filePath=void 0):(i.filePath=i.url||"",i.url=void 0),e();let x=l.closest(".tasknotes-settings__card");if(x){let I=x.querySelector(".tasknotes-settings__card-config-row:nth-child(4)");if(I){let A=I.querySelector("input");A&&A.remove();let B;if(S==="remote")B=my("ICS/iCal URL",i.url);else{let P=Se("text","Local file path (e.g., Calendar.ics)",i.filePath||"");P.setAttribute("placeholder","Calendar.ics"),B=P}B.addEventListener("blur",()=>{let P=B.value.trim();if(i.type==="remote"){let _=zw(P);h({url:_})}else h({filePath:P})}),I.appendChild(B);let z=I.querySelector(".tasknotes-settings__card-config-label");z&&(z.textContent=S==="remote"?"URL:":"File Path:");let U=x.querySelector(".tasknotes-settings__card-secondary-text");U&&(U.textContent=S==="remote"?"Remote Calendar":"Local File");let N=x.querySelector(".tasknotes-settings__card-meta .info-badge");N&&(N.textContent=S==="remote"?"Remote":"Local File")}}}),u.addEventListener("blur",()=>{let S=u.value.trim();if(i.type==="remote"){let x=zw(S);h({url:x})}else h({filePath:S})});let f=an(i.enabled?"Enabled":"Disabled",i.enabled?"active":"inactive"),g=sd(i.type==="remote"?"Remote":"Local File"),v=[f,g],T=t.icsSubscriptionService.getLastFetched(i.id);if(T){let S=new Date(T),x=cd(S,r),I=sd(`Synced ${x}`);v.push(I)}let k=t.icsSubscriptionService.getLastError(i.id);if(k){let S=an("Error","inactive");S.title=k,v.push(S)}let w=[{label:"Enabled:",input:s},{label:"Name:",input:o},{label:"Type:",input:l},{label:i.type==="remote"?"URL:":"File Path:",input:u},{label:"Color:",input:p},{label:"Refresh (min):",input:m}];pt(n,{id:i.id,collapsible:!0,defaultCollapsed:!0,colorIndicator:{color:i.color},header:{primaryText:i.name,secondaryText:i.type==="remote"?"Remote Calendar":"Local File",meta:v,actions:[Ya(async()=>{if(await $a(t.app,{title:r("settings.integrations.subscriptionsList.confirmDelete.title"),message:r("settings.integrations.subscriptionsList.confirmDelete.message",{name:i.name}),confirmText:r("settings.integrations.subscriptionsList.confirmDelete.confirmText"),cancelText:r("common.cancel"),isDestructive:!0}))try{await t.icsSubscriptionService.removeSubscription(i.id),new ue.Notice(r("settings.integrations.subscriptionsList.notices.deleteSuccess",{name:i.name})),e(),dd(n,t,e)}catch(x){console.error("Error deleting subscription:",x),new ue.Notice(r("settings.integrations.subscriptionsList.notices.deleteFailure"))}},"Delete subscription")]},content:{sections:[{rows:w}]},actions:{buttons:[{text:r("settings.integrations.subscriptionsList.refreshNow"),icon:"refresh-cw",variant:i.enabled?"primary":"secondary",disabled:!i.enabled,onClick:async()=>{if(!i.enabled){new ue.Notice(r("settings.integrations.subscriptionsList.notices.enableFirst"));return}try{await t.icsSubscriptionService.refreshSubscription(i.id),new ue.Notice(r("settings.integrations.subscriptionsList.notices.refreshSuccess",{name:i.name})),dd(n,t,e)}catch(S){console.error("Error refreshing subscription:",S),new ue.Notice(r("settings.integrations.subscriptionsList.notices.refreshFailure"))}}}]}})})}function Ry(n,t,e){let r=(s,o)=>t.i18n.translate(s,o),a=n.querySelector(".tasknotes-webhooks-container");a&&a.remove();let i=n.createDiv("tasknotes-webhooks-container");if(!t.settings.webhooks||t.settings.webhooks.length===0){mi(i,r("settings.integrations.webhooks.emptyState.message"),r("settings.integrations.webhooks.emptyState.buttonText"),()=>{var o;let s=(o=n.closest(".settings-tab-content"))==null?void 0:o.querySelector("button.tn-btn--primary");s&&s.click()});return}t.settings.webhooks.forEach((s,o)=>{let l=an(s.active?"Active":"Inactive",s.active?"active":"inactive"),c=sd(`Success: ${s.successCount||0}`),d=sd(`Failed: ${s.failureCount||0}`),u=my("Webhook URL",s.url),p=pr(s.active,v=>{s.active=v,e();let T=p.closest(".tasknotes-settings__card");if(T){let k=T.querySelector(".tasknotes-settings__card-status-badge--active, .tasknotes-settings__card-status-badge--inactive");k&&(k.textContent=s.active?"Active":"Inactive",k.className=s.active?"tasknotes-settings__card-status-badge tasknotes-settings__card-status-badge--active":"tasknotes-settings__card-status-badge tasknotes-settings__card-status-badge--inactive");let w=T.querySelector('[aria-label*="Test"]');w&&(w.disabled=!s.active||!s.url)}new ue.Notice(s.active?r("settings.integrations.webhooks.notices.enabled"):r("settings.integrations.webhooks.notices.disabled"))});u.addEventListener("blur",()=>{u.value.trim()!==s.url&&(s.url=u.value.trim(),e(),new ue.Notice(r("settings.integrations.webhooks.notices.urlUpdated")))});let m=s.createdAt?new Date(s.createdAt):null,h=m?r("settings.integrations.webhooks.statusLabels.created",{timeAgo:cd(m,r)}):"Creation date unknown",f=document.createElement("div");if(f.style.display="flex",f.style.flexWrap="wrap",f.style.gap="0.5rem",f.style.alignItems="center",f.style.minHeight="1.5rem",f.style.lineHeight="1.5rem",s.events.length===0){let v=document.createElement("span");v.textContent=r("settings.integrations.webhooks.eventsDisplay.noEvents"),v.style.color="var(--text-muted)",v.style.fontStyle="italic",v.style.lineHeight="1.5rem",f.appendChild(v)}else s.events.forEach(v=>{let T=sd(v);T.style.marginBottom="0",T.style.flexShrink="0",f.appendChild(T)});let g=s.transformFile?(()=>{let v=document.createElement("span");return v.textContent=s.transformFile,v.style.fontFamily="monospace",v.style.fontSize="0.85rem",v.style.color="var(--text-muted)",v.style.lineHeight="1.5rem",v.style.padding="0.25rem 0.5rem",v.style.background="var(--background-modifier-form-field)",v.style.borderRadius="4px",v.style.border="1px solid var(--background-modifier-border)",v})():(()=>{let v=document.createElement("span");return v.textContent=r("settings.integrations.webhooks.transformDisplay.noTransform"),v.style.color="var(--text-muted)",v.style.fontStyle="italic",v.style.lineHeight="1.5rem",v})();pt(i,{id:s.id,collapsible:!0,defaultCollapsed:!0,header:{primaryText:r("settings.integrations.webhooks.cardHeader"),secondaryText:h,meta:[l,c,d],actions:[Ya(async()=>{await $a(t.app,{title:r("settings.integrations.webhooks.confirmDelete.title"),message:r("settings.integrations.webhooks.confirmDelete.message",{url:s.url}),confirmText:r("settings.integrations.webhooks.confirmDelete.confirmText"),cancelText:r("common.cancel"),isDestructive:!0})&&(t.settings.webhooks.splice(o,1),e(),Ry(n,t,e),new ue.Notice(r("settings.integrations.webhooks.notices.deleted")))})]},content:{sections:[{rows:[{label:r("settings.integrations.webhooks.cardFields.active"),input:p},{label:r("settings.integrations.webhooks.cardFields.url"),input:u},{label:r("settings.integrations.webhooks.cardFields.events"),input:f},{label:r("settings.integrations.webhooks.cardFields.transform"),input:g}]}]},actions:{buttons:[{text:r("settings.integrations.webhooks.editEvents"),icon:"settings",variant:"secondary",onClick:async()=>{new hS(t.app,s,async T=>{Object.assign(s,T),e(),Ry(n,t,e),new ue.Notice(r("settings.integrations.webhooks.notices.updated"))}).open()}}]}})})}function Kre(){return Array.from(crypto.getRandomValues(new Uint8Array(32))).map(n=>n.toString(16).padStart(2,"0")).join("")}var mS=class extends ue.Modal{constructor(t,e){super(t),this.secret=e}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-webhook-modal");let e=t.createDiv({cls:"tasknotes-webhook-secret-notice"}),r=e.createDiv({cls:"tasknotes-webhook-secret-title"}),a=r.createSpan();(0,ue.setIcon)(a,"shield-check"),r.createSpan({text:"Webhook Secret Generated"});let i=e.createDiv({cls:"tasknotes-webhook-secret-content"});i.createEl("p",{text:"Your webhook secret has been generated. Save this secret as you won't be able to view it again:"}),i.createEl("code",{text:this.secret,cls:"tasknotes-webhook-secret-code"}),i.createEl("p",{text:"Use this secret to verify webhook payloads in your receiving application."});let o=t.createDiv({cls:"tasknotes-webhook-modal-buttons"}).createEl("button",{text:"Got it",cls:"tasknotes-webhook-modal-btn save"});o.onclick=()=>this.close()}onClose(){let{contentEl:t}=this;t.empty()}},hS=class extends ue.Modal{constructor(t,e,r){var a;super(t),this.selectedEvents=[...e.events],this.transformFile=e.transformFile||"",this.corsHeaders=(a=e.corsHeaders)!=null?a:!0,this.onSubmit=r}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-webhook-modal");let e=t.createDiv({cls:"tasknotes-webhook-modal-header"}),r=e.createSpan({cls:"tasknotes-webhook-modal-icon"});(0,ue.setIcon)(r,"webhook"),e.createEl("h2",{text:"Edit Webhook",cls:"tasknotes-webhook-modal-title"});let a=t.createDiv({cls:"tasknotes-webhook-modal-section"}),i=a.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),s=i.createSpan();(0,ue.setIcon)(s,"zap"),i.createEl("h3",{text:"Events to subscribe to"});let o=a.createDiv({cls:"tasknotes-webhook-events-list"});[{id:"task.created",label:"Task Created",desc:"When new tasks are created"},{id:"task.updated",label:"Task Updated",desc:"When tasks are modified"},{id:"task.completed",label:"Task Completed",desc:"When tasks are marked complete"},{id:"task.deleted",label:"Task Deleted",desc:"When tasks are deleted"},{id:"task.archived",label:"Task Archived",desc:"When tasks are archived"},{id:"task.unarchived",label:"Task Unarchived",desc:"When tasks are unarchived"},{id:"time.started",label:"Time Started",desc:"When time tracking starts"},{id:"time.stopped",label:"Time Stopped",desc:"When time tracking stops"},{id:"pomodoro.started",label:"Pomodoro Started",desc:"When pomodoro sessions begin"},{id:"pomodoro.completed",label:"Pomodoro Completed",desc:"When pomodoro sessions finish"},{id:"pomodoro.interrupted",label:"Pomodoro Interrupted",desc:"When pomodoro sessions are stopped"},{id:"recurring.instance.completed",label:"Recurring Instance Completed",desc:"When recurring task instances complete"},{id:"reminder.triggered",label:"Reminder Triggered",desc:"When task reminders activate"}].forEach(w=>{new ue.Setting(o).setName(w.label).setDesc(w.desc).addToggle(S=>(S.toggleEl.setAttribute("aria-label",`Subscribe to ${w.label} events`),S.setValue(this.selectedEvents.includes(w.id)).onChange(x=>{if(x)this.selectedEvents.push(w.id);else{let I=this.selectedEvents.indexOf(w.id);I>-1&&this.selectedEvents.splice(I,1)}})))});let c=t.createDiv({cls:"tasknotes-webhook-modal-section"}),d=c.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),u=d.createSpan();(0,ue.setIcon)(u,"file-code"),d.createEl("h3",{text:"Transform Configuration (Optional)"}),new ue.Setting(c).setName("Transform File").setDesc("Path to a .js or .json file in your vault that transforms webhook payloads").addText(w=>(w.inputEl.setAttribute("aria-label","Transform file path"),w.setPlaceholder("discord-transform.js").setValue(this.transformFile).onChange(S=>{this.transformFile=S})));let p=t.createDiv({cls:"tasknotes-webhook-modal-section"}),m=p.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),h=m.createSpan();(0,ue.setIcon)(h,"settings"),m.createEl("h3",{text:"Headers Configuration"}),new ue.Setting(p).setName("Include custom headers").setDesc("Include TaskNotes headers (event type, signature, delivery ID). Turn off for Discord, Slack, and other services with strict CORS policies.").addToggle(w=>(w.toggleEl.setAttribute("aria-label","Include custom headers"),w.setValue(this.corsHeaders).onChange(S=>{this.corsHeaders=S})));let f=t.createDiv({cls:"tasknotes-webhook-modal-buttons"}),g=f.createEl("button",{text:"Cancel",cls:"tasknotes-webhook-modal-btn cancel",attr:{"aria-label":"Cancel webhook editing"}}),v=g.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,ue.setIcon)(v,"x"),g.onclick=()=>this.close();let T=f.createEl("button",{text:"Save Changes",cls:"tasknotes-webhook-modal-btn save mod-cta",attr:{"aria-label":"Save webhook changes"}}),k=T.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,ue.setIcon)(k,"save"),T.onclick=()=>{if(this.selectedEvents.length===0){new ue.Notice("Please select at least one event");return}this.onSubmit({events:this.selectedEvents,transformFile:this.transformFile.trim()||void 0,corsHeaders:this.corsHeaders}),this.close()}}onClose(){let{contentEl:t}=this;t.empty()}},fS=class extends ue.Modal{constructor(e,r){super(e);this.url="";this.selectedEvents=[];this.transformFile="";this.corsHeaders=!0;this.onSubmit=r}onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("tasknotes-webhook-modal");let r=e.createDiv({cls:"tasknotes-webhook-modal-header"}),a=r.createSpan({cls:"tasknotes-webhook-modal-icon"});(0,ue.setIcon)(a,"webhook"),r.createEl("h2",{text:"Add Webhook",cls:"tasknotes-webhook-modal-title"});let i=e.createDiv({cls:"tasknotes-webhook-modal-section"});new ue.Setting(i).setName("Webhook URL").setDesc("The endpoint where webhook payloads will be sent").addText(_=>(_.inputEl.setAttribute("aria-label","Webhook URL"),_.setPlaceholder("https://your-service.com/webhook").setValue(this.url).onChange(Y=>{this.url=Y})));let s=e.createDiv({cls:"tasknotes-webhook-modal-section"}),o=s.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),l=o.createSpan();(0,ue.setIcon)(l,"zap"),o.createEl("h3",{text:"Events to subscribe to"});let c=s.createDiv({cls:"tasknotes-webhook-events-list"});[{id:"task.created",label:"Task Created",desc:"When new tasks are created"},{id:"task.updated",label:"Task Updated",desc:"When tasks are modified"},{id:"task.completed",label:"Task Completed",desc:"When tasks are marked complete"},{id:"task.deleted",label:"Task Deleted",desc:"When tasks are deleted"},{id:"task.archived",label:"Task Archived",desc:"When tasks are archived"},{id:"task.unarchived",label:"Task Unarchived",desc:"When tasks are unarchived"},{id:"time.started",label:"Time Started",desc:"When time tracking starts"},{id:"time.stopped",label:"Time Stopped",desc:"When time tracking stops"},{id:"pomodoro.started",label:"Pomodoro Started",desc:"When pomodoro sessions begin"},{id:"pomodoro.completed",label:"Pomodoro Completed",desc:"When pomodoro sessions finish"},{id:"pomodoro.interrupted",label:"Pomodoro Interrupted",desc:"When pomodoro sessions are stopped"},{id:"recurring.instance.completed",label:"Recurring Instance Completed",desc:"When recurring task instances complete"},{id:"reminder.triggered",label:"Reminder Triggered",desc:"When task reminders activate"}].forEach(_=>{new ue.Setting(c).setName(_.label).setDesc(_.desc).addToggle(Y=>(Y.toggleEl.setAttribute("aria-label",`Subscribe to ${_.label} events`),Y.setValue(this.selectedEvents.includes(_.id)).onChange(Q=>{if(Q)this.selectedEvents.push(_.id);else{let W=this.selectedEvents.indexOf(_.id);W>-1&&this.selectedEvents.splice(W,1)}})))});let u=e.createDiv({cls:"tasknotes-webhook-modal-section"}),p=u.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),m=p.createSpan();(0,ue.setIcon)(m,"file-code"),p.createEl("h3",{text:"Transform Configuration (Optional)"}),new ue.Setting(u).setName("Transform File").setDesc("Path to a .js or .json file in your vault that transforms webhook payloads").addText(_=>(_.inputEl.setAttribute("aria-label","Transform file path"),_.setPlaceholder("discord-transform.js").setValue(this.transformFile).onChange(Y=>{this.transformFile=Y})));let h=u.createDiv({cls:"tasknotes-webhook-transform-help"}),f=h.createDiv({cls:"tasknotes-webhook-help-header"}),g=f.createSpan();(0,ue.setIcon)(g,"info"),f.createSpan({text:"Transform files allow you to customize webhook payloads:"});let v=h.createEl("ul",{cls:"tasknotes-webhook-help-list"}),T=v.createEl("li");T.createEl("strong",{text:".js files:"}),T.appendText(" Custom JavaScript transforms");let k=v.createEl("li");k.createEl("strong",{text:".json files:"}),k.appendText(" Templates with "),k.createEl("code",{text:"${data.task.title}"});let w=v.createEl("li");w.createEl("strong",{text:"Leave empty:"}),w.appendText(" Send raw data");let S=h.createDiv({cls:"tasknotes-webhook-help-example"});S.createEl("strong",{text:"Example:"}),S.appendText(" "),S.createEl("code",{text:"discord-transform.js"});let x=e.createDiv({cls:"tasknotes-webhook-modal-section"}),I=x.createDiv({cls:"tasknotes-webhook-modal-subsection-header"}),A=I.createSpan();(0,ue.setIcon)(A,"settings"),I.createEl("h3",{text:"Headers Configuration"}),new ue.Setting(x).setName("Include custom headers").setDesc("Include TaskNotes headers (event type, signature, delivery ID). Turn off for Discord, Slack, and other services with strict CORS policies.").addToggle(_=>(_.toggleEl.setAttribute("aria-label","Include custom headers"),_.setValue(this.corsHeaders).onChange(Y=>{this.corsHeaders=Y})));let B=e.createDiv({cls:"tasknotes-webhook-modal-buttons"}),z=B.createEl("button",{text:"Cancel",cls:"tasknotes-webhook-modal-btn cancel",attr:{"aria-label":"Cancel webhook creation"}}),U=z.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,ue.setIcon)(U,"x"),z.onclick=()=>this.close();let N=B.createEl("button",{text:"Add Webhook",cls:"tasknotes-webhook-modal-btn save mod-cta",attr:{"aria-label":"Create webhook"}}),P=N.createSpan({cls:"tasknotes-webhook-modal-btn-icon"});(0,ue.setIcon)(P,"plus"),N.onclick=()=>{if(!this.url.trim()){new ue.Notice("Webhook URL is required");return}if(this.selectedEvents.length===0){new ue.Notice("Please select at least one event");return}this.onSubmit({url:this.url.trim(),events:this.selectedEvents,transformFile:this.transformFile.trim()||void 0,corsHeaders:this.corsHeaders}),this.close()}}onClose(){let{contentEl:e}=this;e.empty()}};var Fy=class extends Cp.PluginSettingTab{constructor(e,r){super(e,r);this.activeTab="general";this.tabContents={};this.debouncedSave=nd(()=>this.plugin.saveSettings(),500);this.plugin=r,this.plugin.registerEvent(this.plugin.i18n.on("locale-changed",()=>{this.containerEl.isConnected&&this.display()}))}display(){let{containerEl:e}=this;e.empty(),e.addClass("tasknotes-settings"),e.addClass("tasknotes-plugin"),e.addClass("settings-view");let r=d=>this.plugin.i18n.translate(d),a=e.createDiv("settings-tab-nav settings-view__tab-nav"),i=[{id:"general",nameKey:"settings.tabs.general",renderFn:ad},{id:"task-properties",nameKey:"settings.tabs.taskProperties",renderFn:lS},{id:"modal-fields",nameKey:"settings.tabs.modalFields",renderFn:Dp},{id:"appearance",nameKey:"settings.tabs.appearance",renderFn:bl},{id:"features",nameKey:"settings.tabs.features",renderFn:fa},{id:"integrations",nameKey:"settings.tabs.integrations",renderFn:Tl}],s=Cp.Platform.isMobile?i.filter(d=>d.id!=="integrations"||this.hasNonAPIIntegrations()):i;Cp.Platform.isMobile&&this.activeTab==="integrations"&&!this.hasNonAPIIntegrations()&&(this.activeTab="general"),s.forEach(d=>{let u=this.activeTab===d.id,p=r(d.nameKey),m=a.createEl("button",{text:p,cls:u?"settings-tab-button settings-view__tab-button active settings-view__tab-button--active is-active vertical-tab-nav-item":"settings-tab-button settings-view__tab-button vertical-tab-nav-item",attr:{role:"tab","aria-selected":u.toString(),"aria-controls":`settings-tab-${d.id}`,id:`tab-button-${d.id}`,tabindex:u?"0":"-1"}});m.addEventListener("click",()=>{this.switchTab(d.id)}),m.addEventListener("keydown",h=>{if(h.key==="ArrowLeft"||h.key==="ArrowRight"){h.preventDefault();let f=s.findIndex(T=>T.id===d.id),g=h.key==="ArrowRight"?(f+1)%s.length:(f-1+s.length)%s.length,v=s[g].id;this.switchTab(v)}})}),e.createDiv("settings-header").createEl("a",{text:r("settings.header.documentation"),href:r("settings.header.documentationUrl"),cls:"settings-header-link"}).setAttr("target","_blank");let c=e.createDiv("settings-tab-contents settings-view__tab-contents");s.forEach(d=>{let u=c.createDiv("settings-tab-content settings-view__tab-content");u.setAttribute("role","tabpanel"),u.setAttribute("id",`settings-tab-${d.id}`),u.setAttribute("aria-labelledby",`tab-button-${d.id}`),this.activeTab===d.id&&(u.addClass("active"),u.addClass("settings-view__tab-content--active"),d.renderFn(u,this.plugin,this.debouncedSave)),this.tabContents[d.id]=u})}switchTab(e){this.activeTab=e,this.containerEl.querySelectorAll(".settings-tab-button").forEach(a=>{let i=a.id===`tab-button-${e}`;a.classList.toggle("active",i),a.classList.toggle("settings-view__tab-button--active",i),a.classList.toggle("is-active",i),a.setAttribute("aria-selected",i.toString()),a.setAttribute("tabindex",i?"0":"-1")}),this.containerEl.querySelectorAll(".settings-tab-content").forEach(a=>{let i=a.id===`settings-tab-${e}`;a.classList.toggle("active",i),a.classList.toggle("settings-view__tab-content--active",i)});let r=this.tabContents[e];if(r&&r.children.length===0){let a=this.getTabConfigurations().find(i=>i.id===e);a&&a.renderFn(r,this.plugin,this.debouncedSave)}setTimeout(()=>{let a=this.containerEl.querySelector(`#tab-button-${e}`);a&&a.focus()},50)}getTabConfigurations(){return[{id:"general",nameKey:"settings.tabs.general",renderFn:ad},{id:"task-properties",nameKey:"settings.tabs.taskProperties",renderFn:lS},{id:"modal-fields",nameKey:"settings.tabs.modalFields",renderFn:Dp},{id:"appearance",nameKey:"settings.tabs.appearance",renderFn:bl},{id:"features",nameKey:"settings.tabs.features",renderFn:fa},{id:"integrations",nameKey:"settings.tabs.integrations",renderFn:Tl}]}hasNonAPIIntegrations(){return!0}};function Qre(n){if(n.taskIdentificationMethod==="tag")return`file.hasTag("${n.taskTag||"task"}")`;{let t=n.taskPropertyName,e=n.taskPropertyValue;return t?e?`note.${t} == "${e}"`:`note.${t} && note.${t} != "" && note.${t} != null`:`file.hasTag("${n.taskTag||"task"}")`}}function ud(n){return`filters:
|
||
and:
|
||
${(Array.isArray(n)?n:[n]).map(r=>` - ${r}`).join(`
|
||
`)}`}function ln(n){return n.replace(/^(note\.|file\.|task\.|formula\.)/,"")}function It(n,t){var a;let e=t.fieldMapper;if(n.startsWith("user:")){let i=n.substring(5),s=(a=t.settings.userFields)==null?void 0:a.find(o=>o.id===i);return s?s.key:n}switch(n){case"tags":return"file.tags";case"dateCreated":return"file.ctime";case"dateModified":return"file.mtime";case"title":return"file.name";case"blocked":case"blocking":return e.toUserField("blockedBy");case"complete_instances":return e.toUserField("completeInstances");case"totalTrackedTime":return e.toUserField("timeEntries")}let r=e.getMapping();return n in r?e.toUserField(n):n}function Zre(n){let r=(n.settings.defaultVisibleProperties||["status","priority","due","scheduled","projects","contexts","tags"]).map(o=>It(o,n)).filter(o=>!!o),a=["file.name",It("recurrence",n),It("complete_instances",n)].filter(o=>!!o),i=[],s=new Set;for(let o of r)o&&!s.has(o)&&(i.push(o),s.add(o));for(let o of a)o&&!s.has(o)&&(i.push(o),s.add(o));return i}function Jre(n){return n.map(t=>` - ${t}`).join(`
|
||
`)}function Xre(n){let t=n.settings,e=ln(It("priority",n)),r=[...t.customPriorities].sort((i,s)=>i.weight-s.weight);if(r.length===0)return"999";let a="999";for(let i=r.length-1;i>=0;i--){let s=r[i];a=`if(${e}=="${s.value}",${i},${a})`}return a}function ene(n){let t=ln(It("priority",n)),e=n.settings.customPriorities;if(e.length===0)return'"No priority"';let r='"No priority"';for(let a=e.length-1;a>=0;a--){let i=e[a];r=`if(${t}=="${i.value}","${i.label}",${r})`}return r}function tne(n){let t=ln(It("due",n)),e=ln(It("status",n)),r=ln(It("timeEstimate",n)),a=ln(It("timeEntries",n)),i=ln(It("projects",n)),s=ln(It("contexts",n)),l=n.settings.customStatuses.filter(u=>u.isCompleted).map(u=>u.value).map(u=>`${e} != "${u}"`).join(" && "),c=ln(It("scheduled",n)),d=ln(It("recurrence",n));return{priorityWeight:Xre(n),daysUntilDue:`if(${t}, ((number(date(${t})) - number(today())) / 86400000).floor(), null)`,daysUntilScheduled:`if(${c}, ((number(date(${c})) - number(today())) / 86400000).floor(), null)`,daysSinceCreated:"((number(now()) - number(file.ctime)) / 86400000).floor()",daysSinceModified:"((number(now()) - number(file.mtime)) / 86400000).floor()",isOverdue:`${t} && date(${t}) < today() && ${l}`,isDueToday:`${t} && date(${t}).date() == today()`,isDueThisWeek:`${t} && date(${t}) >= today() && date(${t}) <= today() + "7d"`,isScheduledToday:`${c} && date(${c}).date() == today()`,isRecurring:`${d} && !${d}.isEmpty()`,hasTimeEstimate:`${r} && ${r} > 0`,timeRemaining:`if(${r} && ${r} > 0, ${r} - if(${a}, list(${a}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0), 0), null)`,efficiencyRatio:`if(${r} && ${r} > 0 && ${a}, (list(${a}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) / ${r} * 100).round(), null)`,timeTrackedThisWeek:`if(${a}, list(${a}).filter(value.endTime && date(value.startTime) >= today() - "7d").map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0).round(), 0)`,timeTrackedToday:`if(${a}, list(${a}).filter(value.endTime && date(value.startTime).date() == today()).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0).round(), 0)`,dueMonth:`if(${t}, date(${t}).format("YYYY-MM"), "No due date")`,dueWeek:`if(${t}, date(${t}).format("YYYY-[W]WW"), "No due date")`,scheduledMonth:`if(${c}, date(${c}).format("YYYY-MM"), "Not scheduled")`,scheduledWeek:`if(${c}, date(${c}).format("YYYY-[W]WW"), "Not scheduled")`,dueDateCategory:`if(!${t}, "No due date", if(date(${t}) < today(), "Overdue", if(date(${t}).date() == today(), "Today", if(date(${t}).date() == today() + "1d", "Tomorrow", if(date(${t}) <= today() + "7d", "This week", "Later")))))`,timeEstimateCategory:`if(!${r} || ${r} == 0, "No estimate", if(${r} < 30, "Quick (<30m)", if(${r} <= 120, "Medium (30m-2h)", "Long (>2h)")))`,ageCategory:'if(((number(now()) - number(file.ctime)) / 86400000) < 1, "Today", if(((number(now()) - number(file.ctime)) / 86400000) < 7, "This week", if(((number(now()) - number(file.ctime)) / 86400000) < 30, "This month", "Older")))',createdMonth:'file.ctime.format("YYYY-MM")',modifiedMonth:'file.mtime.format("YYYY-MM")',priorityCategory:ene(n),projectCount:`if(!${i} || list(${i}).length == 0, "No projects", if(list(${i}).length == 1, "Single project", "Multiple projects"))`,contextCount:`if(!${s} || list(${s}).length == 0, "No contexts", if(list(${s}).length == 1, "Single context", "Multiple contexts"))`,trackingStatus:`if(!${r} || ${r} == 0, "No estimate", if(!${a} || list(${a}).length == 0, "Not started", if(formula.efficiencyRatio < 100, "Under estimate", "Over estimate")))`,nextDate:`if(${t} && ${c}, if(date(${t}) < date(${c}), ${t}, ${c}), if(${t}, ${t}, ${c}))`,daysUntilNext:`if(${t} && ${c}, min(formula.daysUntilDue, formula.daysUntilScheduled), if(${t}, formula.daysUntilDue, formula.daysUntilScheduled))`,hasDate:`${t} || ${c}`,isToday:`(${t} && date(${t}).date() == today()) || (${c} && date(${c}).date() == today())`,isThisWeek:`(${t} && date(${t}) >= today() && date(${t}) <= today() + "7d") || (${c} && date(${c}) >= today() && date(${c}) <= today() + "7d")`,nextDateCategory:`if(!${t} && !${c}, "No date", if((${t} && date(${t}) < today()) || (${c} && date(${c}) < today()), "Overdue/Past", if((${t} && date(${t}).date() == today()) || (${c} && date(${c}).date() == today()), "Today", if((${t} && date(${t}).date() == today() + "1d") || (${c} && date(${c}).date() == today() + "1d"), "Tomorrow", if((${t} && date(${t}) <= today() + "7d") || (${c} && date(${c}) <= today() + "7d"), "This week", "Later")))))`,nextDateMonth:`if(${t} && ${c}, if(date(${t}) < date(${c}), date(${t}).format("YYYY-MM"), date(${c}).format("YYYY-MM")), if(${t}, date(${t}).format("YYYY-MM"), if(${c}, date(${c}).format("YYYY-MM"), "No date")))`,nextDateWeek:`if(${t} && ${c}, if(date(${t}) < date(${c}), date(${t}).format("YYYY-[W]WW"), date(${c}).format("YYYY-[W]WW")), if(${t}, date(${t}).format("YYYY-[W]WW"), if(${c}, date(${c}).format("YYYY-[W]WW"), "No date")))`,urgencyScore:`if(!${t} && !${c}, formula.priorityWeight, formula.priorityWeight + max(0, 10 - formula.daysUntilNext))`,timeTrackedFormatted:`if(${a}, if(list(${a}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) >= 60, (list(${a}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) / 60).floor() + "h " + (list(${a}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0) % 60).round() + "m", list(${a}).filter(value.endTime).map((number(date(value.endTime)) - number(date(value.startTime))) / 60000).reduce(acc + value, 0).round() + "m"), "0m")`,dueDateDisplay:`if(!${t}, "", if(date(${t}).date() == today(), "Today", if(date(${t}).date() == today() + "1d", "Tomorrow", if(date(${t}).date() == today() - "1d", "Yesterday", if(date(${t}) < today(), formula.daysUntilDue * -1 + "d ago", if(date(${t}) <= today() + "7d", date(${t}).format("ddd"), date(${t}).format("MMM D")))))))`}}function rne(n){let t=tne(n);return`formulas:
|
||
${Object.entries(t).map(([r,a])=>` ${r}: '${a}'`).join(`
|
||
`)}`}function ZH(n,t){let e=t.settings,r=Qre(e),a=Zre(t),i=Jre(a),s=rne(t);switch(n){case"open-calendar-view":{let o=It("due",t),l=It("scheduled",t);return`# Mini Calendar
|
||
# Generated with your TaskNotes settings
|
||
|
||
${ud([r])}
|
||
|
||
${s}
|
||
|
||
views:
|
||
- type: tasknotesMiniCalendar
|
||
name: "Due"
|
||
order:
|
||
${i}
|
||
sort:
|
||
- property: ${o}
|
||
direction: ASC
|
||
dateProperty: ${o}
|
||
- type: tasknotesMiniCalendar
|
||
name: "Scheduled"
|
||
order: []
|
||
dateProperty: ${l}
|
||
- type: tasknotesMiniCalendar
|
||
name: "Created"
|
||
dateProperty: file.ctime
|
||
- type: tasknotesMiniCalendar
|
||
name: "Modified"
|
||
dateProperty: file.mtime
|
||
`}case"open-kanban-view":{let o=ln(It("status",t));return`# Kanban Board
|
||
|
||
${ud([r])}
|
||
|
||
${s}
|
||
|
||
views:
|
||
- type: tasknotesKanban
|
||
name: "Kanban Board"
|
||
order:
|
||
${i}
|
||
groupBy:
|
||
property: ${o}
|
||
direction: ASC
|
||
options:
|
||
columnWidth: 280
|
||
hideEmptyColumns: false
|
||
`}case"open-tasks-view":{let o=It("status",t),l=It("due",t),c=It("scheduled",t),d=It("recurrence",t),u=It("completeInstances",t),p=It("blockedBy",t),m=e.customStatuses.filter(g=>g.isCompleted).map(g=>g.value),h=m.map(g=>`${o} != "${g}"`).join(`
|
||
- `),f=m.map(g=>`file(value.uid).properties.${ln(o)} != "${g}"`).join(" && ");return`# All Tasks
|
||
|
||
${ud([r])}
|
||
|
||
${s}
|
||
|
||
views:
|
||
- type: tasknotesTaskList
|
||
name: "All Tasks"
|
||
order:
|
||
${i}
|
||
sort:
|
||
- column: due
|
||
direction: ASC
|
||
- type: tasknotesTaskList
|
||
name: "Not Blocked"
|
||
filters:
|
||
and:
|
||
# Incomplete tasks
|
||
- or:
|
||
# Non-recurring task that's not in any completed status
|
||
- and:
|
||
- ${d}.isEmpty()
|
||
- ${h}
|
||
# Recurring task where today is not in complete_instances
|
||
- and:
|
||
- ${d}
|
||
- "!${u}.contains(today().format(\\"yyyy-MM-dd\\"))"
|
||
# Not blocked by any incomplete tasks
|
||
- or:
|
||
# No blocking dependencies at all
|
||
- ${p}.isEmpty()
|
||
# All blocking tasks are completed (filter returns only incomplete, then check if empty)
|
||
- 'list(${p}).filter(${f}).isEmpty()'
|
||
order:
|
||
${i}
|
||
sort:
|
||
- column: formula.urgencyScore
|
||
direction: DESC
|
||
- type: tasknotesTaskList
|
||
name: "Today"
|
||
filters:
|
||
and:
|
||
# Incomplete tasks (handles both recurring and non-recurring)
|
||
- or:
|
||
# Non-recurring task that's not in any completed status
|
||
- and:
|
||
- ${d}.isEmpty()
|
||
- ${h}
|
||
# Recurring task where today is not in complete_instances
|
||
- and:
|
||
- ${d}
|
||
- "!${u}.contains(today().format(\\"yyyy-MM-dd\\"))"
|
||
# Due or scheduled today
|
||
- or:
|
||
- date(${l}) == today()
|
||
- date(${c}) == today()
|
||
order:
|
||
${i}
|
||
sort:
|
||
- column: formula.urgencyScore
|
||
direction: DESC
|
||
- type: tasknotesTaskList
|
||
name: "Overdue"
|
||
filters:
|
||
and:
|
||
# Incomplete tasks
|
||
- or:
|
||
# Non-recurring task that's not in any completed status
|
||
- and:
|
||
- ${d}.isEmpty()
|
||
- ${h}
|
||
# Recurring task where today is not in complete_instances
|
||
- and:
|
||
- ${d}
|
||
- "!${u}.contains(today().format(\\"yyyy-MM-dd\\"))"
|
||
# Due in the past
|
||
- date(${l}) < today()
|
||
order:
|
||
${i}
|
||
sort:
|
||
- column: formula.urgencyScore
|
||
direction: DESC
|
||
- type: tasknotesTaskList
|
||
name: "This Week"
|
||
filters:
|
||
and:
|
||
# Incomplete tasks
|
||
- or:
|
||
# Non-recurring task that's not in any completed status
|
||
- and:
|
||
- ${d}.isEmpty()
|
||
- ${h}
|
||
# Recurring task where today is not in complete_instances
|
||
- and:
|
||
- ${d}
|
||
- "!${u}.contains(today().format(\\"yyyy-MM-dd\\"))"
|
||
# Due or scheduled this week
|
||
- or:
|
||
- and:
|
||
- date(${l}) >= today()
|
||
- date(${l}) <= today() + "7 days"
|
||
- and:
|
||
- date(${c}) >= today()
|
||
- date(${c}) <= today() + "7 days"
|
||
order:
|
||
${i}
|
||
sort:
|
||
- column: formula.urgencyScore
|
||
direction: DESC
|
||
- type: tasknotesTaskList
|
||
name: "Unscheduled"
|
||
filters:
|
||
and:
|
||
# Incomplete tasks
|
||
- or:
|
||
# Non-recurring task that's not in any completed status
|
||
- and:
|
||
- ${d}.isEmpty()
|
||
- ${h}
|
||
# Recurring task where today is not in complete_instances
|
||
- and:
|
||
- ${d}
|
||
- "!${u}.contains(today().format(\\"yyyy-MM-dd\\"))"
|
||
# No due date and no scheduled date
|
||
- date(${l}).isEmpty()
|
||
- date(${c}).isEmpty()
|
||
order:
|
||
${i}
|
||
sort:
|
||
- column: ${o}
|
||
direction: ASC
|
||
`}case"open-advanced-calendar-view":return`# Calendar
|
||
|
||
${ud([r])}
|
||
|
||
${s}
|
||
|
||
views:
|
||
- type: tasknotesCalendar
|
||
name: "Calendar"
|
||
order:
|
||
${i}
|
||
options:
|
||
showScheduled: true
|
||
showDue: true
|
||
showRecurring: true
|
||
showTimeEntries: true
|
||
showTimeblocks: true
|
||
showPropertyBasedEvents: true
|
||
calendarView: "timeGridWeek"
|
||
customDayCount: 3
|
||
firstDay: 0
|
||
slotMinTime: "06:00:00"
|
||
slotMaxTime: "22:00:00"
|
||
slotDuration: "00:30:00"
|
||
`;case"open-agenda-view":return`# Agenda
|
||
|
||
${ud([r])}
|
||
|
||
${s}
|
||
|
||
views:
|
||
- type: tasknotesCalendar
|
||
name: "Agenda"
|
||
order:
|
||
${i}
|
||
calendarView: "listWeek"
|
||
startDateProperty: file.ctime
|
||
listDayCount: 7
|
||
titleProperty: file.basename
|
||
`;case"relationships":{let o=ln(It("projects",t)),l=ln(It("blockedBy",t)),c=ln(It("status",t));return`# Relationships
|
||
# This view shows all relationships for the current file
|
||
# Dynamically shows/hides tabs based on available data
|
||
|
||
${ud([r])}
|
||
|
||
${s}
|
||
|
||
views:
|
||
- type: tasknotesKanban
|
||
name: "Subtasks"
|
||
filters:
|
||
and:
|
||
- note.${o}.contains(this.file.asLink())
|
||
order:
|
||
${i}
|
||
groupBy:
|
||
property: ${c}
|
||
direction: ASC
|
||
- type: tasknotesTaskList
|
||
name: "Projects"
|
||
filters:
|
||
and:
|
||
- list(this.${o}).contains(file.asLink())
|
||
order:
|
||
${i}
|
||
- type: tasknotesTaskList
|
||
name: "Blocked By"
|
||
filters:
|
||
and:
|
||
- list(this.note.${l}).map(value.uid).contains(file.asLink())
|
||
order:
|
||
${i}
|
||
- type: tasknotesKanban
|
||
name: "Blocking"
|
||
filters:
|
||
and:
|
||
- note.${l}.map(value.uid).contains(this.file.asLink())
|
||
order:
|
||
${i}
|
||
groupBy:
|
||
property: ${c}
|
||
direction: ASC
|
||
`}default:return""}}Wn();var wo=require("obsidian");Wn();To();Or();ko();var Qv=class extends wo.ItemView{constructor(e,r){super(e);this.timerDisplay=null;this.statusDisplay=null;this.progressCircle=null;this.progressContainer=null;this.startButton=null;this.pauseButton=null;this.stopButton=null;this.taskDisplay=null;this.statsDisplay=null;this.taskSelectButton=null;this.taskClearButton=null;this.currentSelectedTask=null;this.taskCardContainer=null;this.addTimeButton=null;this.subtractTimeButton=null;this.skipBreakButton=null;this.statElements={pomodoros:null};this.resizeObserver=null;this.resizeTimeout=null;this.functionListeners=[];this.currentCircleSize=300;this.currentCircumference=0;this.listeners=[];this.plugin=r,this.registerEvents()}getViewType(){return Pp}getDisplayText(){return this.plugin.i18n.translate("views.pomodoro.title")}getIcon(){return"clock"}t(e,r){return this.plugin.i18n.translate(e,r)}registerEvents(){this.listeners.forEach(o=>this.plugin.emitter.offref(o)),this.listeners=[];let e=this.plugin.emitter.on(Oy,({session:o,task:l})=>{this.updateDisplay(o,l)});this.listeners.push(e);let r=this.plugin.emitter.on(Ly,({session:o,nextType:l})=>{this.onPomodoroComplete(o,l)});this.listeners.push(r);let a=this.plugin.emitter.on(By,({session:o})=>{this.updateDisplay()});this.listeners.push(a);let i=this.plugin.emitter.on(Ka,({timeRemaining:o,session:l})=>{this.updateTimer(o),this.updateDisplay(l)});this.listeners.push(i);let s=this.plugin.emitter.on(gt,async({path:o,originalTask:l,updatedTask:c})=>{if(!o||!c)return;if(this.currentSelectedTask&&(this.currentSelectedTask.path===o||l&&this.currentSelectedTask.path===l.path)){this.currentSelectedTask=c,this.updateTaskCardDisplay(c);let u=this.plugin.pomodoroService.getState();u.currentSession&&l&&l.path!==c.path&&u.currentSession.taskPath===l.path&&await this.plugin.pomodoroService.assignTaskToCurrentSession(c)}});this.listeners.push(s)}async onOpen(){await this.plugin.onReady(),await this.render(),this.ensureResizeHandlingSetup(),this.plugin.app.workspace.layoutReady?setTimeout(()=>this.ensureResizeHandlingSetup(),50):this.plugin.app.workspace.onLayoutReady(()=>{this.ensureResizeHandlingSetup()})}async onClose(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.resizeTimeout&&(window.clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.listeners.forEach(e=>this.plugin.emitter.offref(e)),this.functionListeners.forEach(e=>e()),this.timerDisplay=null,this.statusDisplay=null,this.progressCircle=null,this.progressContainer=null,this.startButton=null,this.pauseButton=null,this.stopButton=null,this.taskDisplay=null,this.statsDisplay=null,this.taskSelectButton=null,this.taskClearButton=null,this.currentSelectedTask=null,this.taskCardContainer=null,this.statElements={pomodoros:null},this.contentEl.empty()}async render(){let e=this.contentEl.createDiv({cls:"tasknotes-plugin pomodoro-view"});this.statusDisplay=e.createDiv({cls:"pomodoro-view__status",text:this.t("views.pomodoro.status.ready")});let r=e.createDiv({cls:"pomodoro-view__timer-section"});this.progressContainer=r.createDiv({cls:"pomodoro-view__progress-container"});let a=document.createElementNS("http://www.w3.org/2000/svg","svg");a.setAttribute("class","pomodoro-view__progress-svg"),a.setAttribute("width","300"),a.setAttribute("height","300"),a.setAttribute("viewBox","0 0 300 300"),this.progressContainer.appendChild(a);let i=document.createElementNS("http://www.w3.org/2000/svg","circle");i.setAttributeNS(null,"cx","150"),i.setAttributeNS(null,"cy","150"),i.setAttributeNS(null,"r","140"),i.setAttributeNS(null,"fill","none"),i.setAttributeNS(null,"stroke","var(--tn-border-color)"),i.setAttributeNS(null,"stroke-width","2"),a.appendChild(i),this.progressCircle=document.createElementNS("http://www.w3.org/2000/svg","circle"),this.progressCircle.setAttributeNS(null,"cx","150"),this.progressCircle.setAttributeNS(null,"cy","150"),this.progressCircle.setAttributeNS(null,"r","140"),this.progressCircle.setAttributeNS(null,"fill","none"),this.progressCircle.setAttributeNS(null,"stroke","var(--tn-interactive-accent)"),this.progressCircle.setAttributeNS(null,"stroke-width","4"),this.progressCircle.setAttributeNS(null,"stroke-linecap","round");let o=2*Math.PI*140;this.progressCircle.setAttributeNS(null,"stroke-dasharray",o.toString()),this.progressCircle.setAttributeNS(null,"stroke-dashoffset",o.toString()),this.progressCircle.addClass("pomodoro-view__progress-circle"),a.appendChild(this.progressCircle);let l=this.progressContainer.createDiv({cls:"pomodoro-view__timer-overlay"}),d=`${this.plugin.settings.pomodoroWorkDuration.toString().padStart(2,"0")}:00`;this.timerDisplay=l.createDiv({cls:"pomodoro-view__timer-display",text:d});let u=l.createDiv({cls:"pomodoro-view__time-controls"});this.subtractTimeButton=u.createEl("button",{cls:"pomodoro-view__time-adjust-button pomodoro-view__subtract-time",text:"-"}),this.addTimeButton=u.createEl("button",{cls:"pomodoro-view__time-adjust-button pomodoro-view__add-time",text:"+"}),this.taskDisplay=e.createDiv({cls:"pomodoro-view__task-display"});let p=e.createDiv({cls:"pomodoro-view__task-selector"}),m=p.createDiv({cls:"pomodoro-view__task-buttons"});this.taskSelectButton=m.createEl("button",{cls:"pomodoro-view__task-select-button",text:this.t("views.pomodoro.buttons.chooseTask")}),this.taskClearButton=m.createEl("button",{cls:"pomodoro-view__task-clear-button pomodoro-view__task-clear-button--hidden",text:this.t("views.pomodoro.buttons.clearTask")}),this.taskCardContainer=p.createDiv({cls:"pomodoro-view__task-card-container"});let h=e.createDiv({cls:"pomodoro-view__control-section"}),f=h.createDiv({cls:"pomodoro-view__primary-controls"});this.startButton=f.createEl("button",{text:this.t("views.pomodoro.buttons.start"),cls:"pomodoro-view__start-button"}),this.pauseButton=f.createEl("button",{text:this.t("views.pomodoro.buttons.pause"),cls:"pomodoro-view__pause-button"}),this.pauseButton.addClass("pomodoro-view__pause-button--hidden"),this.stopButton=f.createEl("button",{text:this.t("views.pomodoro.buttons.stop"),cls:"pomodoro-view__stop-button"}),this.stopButton.addClass("pomodoro-view__stop-button--hidden"),this.skipBreakButton=h.createEl("button",{cls:"pomodoro-view__skip-break-button",text:this.t("views.pomodoro.buttons.skipBreak")}),this.skipBreakButton.addClass("pomodoro-view__skip-break-button--hidden");let g=e.createDiv({cls:"pomodoro-view__stats-section"});this.statsDisplay=g.createDiv({cls:"pomodoro-view__stats"});let v=this.statsDisplay.createDiv({cls:"pomodoro-view__stat pomodoro-view__stat--clickable"});if(this.statElements.pomodoros=v.createSpan({cls:"pomodoro-view__stat-value",text:"0"}),v.createSpan({cls:"pomodoro-view__stat-label",text:this.t("views.pomodoro.statsLabel")}),this.registerDomEvent(v,"click",()=>{this.plugin.activatePomodoroStatsView()}),this.registerDomEvent(this.startButton,"click",async()=>{var T,k,w;if(!((T=this.startButton)!=null&&T.hasClass("is-loading"))){(k=this.startButton)==null||k.addClass("pomodoro-view__start-button--loading");try{let S=this.plugin.pomodoroService.getState();S.currentSession&&!S.isRunning?await this.plugin.pomodoroService.resumePomodoro():S.nextSessionType==="short-break"?await this.plugin.pomodoroService.startBreak(!1):S.nextSessionType==="long-break"?await this.plugin.pomodoroService.startBreak(!0):await this.plugin.pomodoroService.startPomodoro(this.currentSelectedTask||void 0)}finally{(w=this.startButton)==null||w.removeClass("pomodoro-view__start-button--loading")}}}),this.registerDomEvent(this.pauseButton,"click",()=>{this.plugin.pomodoroService.pausePomodoro()}),this.registerDomEvent(this.stopButton,"click",()=>{this.plugin.pomodoroService.stopPomodoro()}),this.registerDomEvent(this.skipBreakButton,"click",()=>{let T=this.plugin.pomodoroService.getState();T.currentSession?this.plugin.pomodoroService.stopPomodoro():(T.nextSessionType==="short-break"||T.nextSessionType==="long-break")&&this.plugin.pomodoroService.startPomodoro(this.currentSelectedTask||void 0)}),this.registerDomEvent(this.addTimeButton,"click",()=>{this.adjustSessionTime(60)}),this.registerDomEvent(this.subtractTimeButton,"click",()=>{this.adjustSessionTime(-60)}),this.registerDomEvent(this.taskSelectButton,"click",async()=>{await this.openTaskSelector()}),this.registerDomEvent(this.taskClearButton,"click",async()=>{await this.selectTask(null)}),this.restoreLastSelectedTask(),this.updateDisplay(),this.updateStats().catch(T=>{console.error("Failed to update initial stats:",T)}),this.plugin.pomodoroService){let T=this.plugin.pomodoroService.getState();this.updateTimer(T.timeRemaining)}}setupResizeHandling(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.resizeTimeout&&(window.clearTimeout(this.resizeTimeout),this.resizeTimeout=null),this.functionListeners.forEach(s=>s()),this.functionListeners=[];let e=this.contentEl.ownerDocument.defaultView||window,r=()=>{this.resizeTimeout&&e.clearTimeout(this.resizeTimeout),this.resizeTimeout=e.setTimeout(()=>{this.updateResponsiveLayout()},150)};if(e.ResizeObserver){this.resizeObserver=new e.ResizeObserver(r);let s=this.contentEl.querySelector(".pomodoro-view");s&&this.resizeObserver.observe(s)}let a=this.plugin.app.workspace.on("layout-change",r);this.listeners.push(a),e.addEventListener("resize",r),this.functionListeners.push(()=>e.removeEventListener("resize",r));let i=this.plugin.app.workspace.on("active-leaf-change",s=>{s===this.leaf&&e.setTimeout(()=>{this.updateResponsiveLayout()},100)});this.listeners.push(i),this.updateResponsiveLayout()}ensureResizeHandlingSetup(e=0){let a=Math.min(100*Math.pow(1.5,e),1e3);setTimeout(()=>{if(!this.resizeObserver){let i=this.contentEl.querySelector(".pomodoro-view");i?i.getBoundingClientRect().width>0?this.setupResizeHandling():e<10&&this.ensureResizeHandlingSetup(e+1):e<10&&this.ensureResizeHandlingSetup(e+1)}},a)}updateResponsiveLayout(){let e=this.contentEl.querySelector(".pomodoro-view");if(!e)return;let r=e.getBoundingClientRect(),a=r.width,i=r.height,s=Math.min(a/600,1),o=Math.min(i/800,1),l=Math.min(s*.7+o*.3,1);e.classList.remove("pomodoro-view--tiny","pomodoro-view--extra-narrow","pomodoro-view--very-narrow","pomodoro-view--narrow","pomodoro-view--small","pomodoro-view--medium-small","pomodoro-view--medium","pomodoro-view--wide"),a<=200?e.classList.add("pomodoro-view--tiny"):a<=250?e.classList.add("pomodoro-view--extra-narrow"):a<=300?e.classList.add("pomodoro-view--very-narrow"):a<=350?e.classList.add("pomodoro-view--narrow"):a<=400?e.classList.add("pomodoro-view--small"):a<=500?e.classList.add("pomodoro-view--medium-small"):a<=600?e.classList.add("pomodoro-view--medium"):e.classList.add("pomodoro-view--wide");let c=e.querySelector(".pomodoro-view__timer-display");if(c){let d,u;a<=200?(d=2,u="700"):a<=250?(d=2.2,u="650"):a<=300?(d=2.5,u="600"):a<=350?(d=3,u="600"):a<=400?(d=3.2,u="550"):a<=500?(d=3.6,u="500"):a<=600?(d=4,u="500"):(d=4.5,u="400");let m=`${Math.max(d*l,1.5).toFixed(1)}rem`;c.style.fontSize=m,c.style.fontWeight=u}this.updateProgressCircleSize(a,i)}updateProgressCircleSize(e,r){if(!this.progressContainer)return;let a=this.progressContainer.querySelector(".pomodoro-view__progress-svg");if(!a)return;let i=Math.min(e*.8,r*.4),s;if(e<=200?s=Math.max(120,Math.min(i,e-40)):e<=250?s=Math.max(150,Math.min(i,e-50)):e<=300?s=Math.max(180,Math.min(i,e-60)):e<=350?s=Math.max(200,Math.min(i,e-70)):e<=400?s=Math.max(230,Math.min(i,e-80)):e<=500?s=Math.max(250,Math.min(i,e-100)):e<=600?s=Math.max(280,Math.min(i,300)):s=Math.max(300,Math.min(i,e*.5,400)),s===this.currentCircleSize)return;this.currentCircleSize=s,a.setAttribute("width",s.toString()),a.setAttribute("height",s.toString()),a.setAttribute("viewBox",`0 0 ${s} ${s}`),this.progressContainer.style.width=`${s}px`,this.progressContainer.style.height=`${s}px`;let o=s/2,l=o-20;if(a.querySelectorAll("circle").forEach(d=>{d.setAttribute("cx",o.toString()),d.setAttribute("cy",o.toString()),d.setAttribute("r",l.toString())}),this.progressCircle){let d=2*Math.PI*l;if(this.currentCircumference=d,this.progressCircle.setAttribute("stroke-dasharray",d.toString()),this.progressCircle.setAttribute("stroke-dashoffset",d.toString()),this.plugin.pomodoroService){let u=this.plugin.pomodoroService.getState();this.updateProgress(u)}}}async openTaskSelector(){try{let r=(await this.plugin.cacheManager.getAllTasks()).filter(a=>!a.archived);if(r.length===0){new wo.Notice(this.t("views.pomodoro.notices.noTasks"));return}Fr(this.plugin,r,a=>{this.selectTask(a)})}catch(e){console.error("Error opening task selector:",e),new wo.Notice(this.t("views.pomodoro.notices.loadFailed"))}}async selectTask(e){this.currentSelectedTask=e,this.taskSelectButton&&(e?(this.taskSelectButton.textContent=this.t("views.pomodoro.buttons.changeTask"),(0,wo.setTooltip)(this.taskSelectButton,this.t("views.pomodoro.buttons.selectDifferentTask"),{placement:"top"}),this.taskSelectButton.removeClass("pomodoro-view__task-select-button--no-task")):(this.taskSelectButton.textContent=this.t("views.pomodoro.buttons.chooseTask"),this.taskSelectButton.removeAttribute("title"),this.taskSelectButton.addClass("pomodoro-view__task-select-button--no-task"))),this.taskClearButton&&(e?this.taskClearButton.removeClass("pomodoro-view__task-clear-button--hidden"):this.taskClearButton.addClass("pomodoro-view__task-clear-button--hidden")),this.updateTaskCardDisplay(e),await this.plugin.pomodoroService.saveLastSelectedTask(e==null?void 0:e.path);let r=this.plugin.pomodoroService.getState();r.currentSession&&r.currentSession.type==="work"&&await this.plugin.pomodoroService.assignTaskToCurrentSession(e||void 0)}updateTaskCardDisplay(e){if(this.taskCardContainer)if(this.taskCardContainer.empty(),e){let r=this.plugin.settings.defaultVisibleProperties?pn(this.plugin.settings.defaultVisibleProperties,this.plugin):void 0,a=Ct(e,this.plugin,r);this.taskCardContainer.appendChild(a),this.taskCardContainer.removeClass("pomodoro-view__task-card-container--empty")}else this.taskCardContainer.addClass("pomodoro-view__task-card-container--empty")}async restoreLastSelectedTask(){try{if(!this.plugin.pomodoroService){console.log("PomodoroView: pomodoroService not available, skipping restore");return}let e=await this.plugin.pomodoroService.getLastSelectedTaskPath();if(e){let r=await this.plugin.cacheManager.getTaskByPath(e);r&&!this.plugin.statusManager.isCompletedStatus(r.status)&&!r.archived&&await this.selectTask(r)}}catch(e){console.error("Error restoring last selected task:",e)}}async updateTaskButtonFromPath(e){try{let r=await this.plugin.cacheManager.getTaskInfo(e);if(r){this.currentSelectedTask=r,this.taskSelectButton&&(this.taskSelectButton.textContent=this.t("views.pomodoro.buttons.changeTask"),(0,wo.setTooltip)(this.taskSelectButton,this.t("views.pomodoro.buttons.selectDifferentTask"),{placement:"top"}),this.taskSelectButton.removeClass("pomodoro-no-task"),this.taskSelectButton.removeClass("pomodoro-view__task-select-button--no-task")),this.taskClearButton&&this.taskClearButton.removeClass("pomodoro-view__task-clear-button--hidden"),this.updateTaskCardDisplay(r);return}this.currentSelectedTask=null,this.taskSelectButton&&(this.taskSelectButton.textContent=this.t("views.pomodoro.buttons.chooseTask"),this.taskSelectButton.removeAttribute("title"),this.taskSelectButton.addClass("pomodoro-view__task-select-button--no-task")),this.taskClearButton&&this.taskClearButton.addClass("pomodoro-view__task-clear-button--hidden"),this.updateTaskCardDisplay(null)}catch(r){console.error("Error updating task button from path:",r)}}updateDisplay(e,r){var i,s;if(!this.plugin.pomodoroService){this.statusDisplay&&(this.statusDisplay.textContent=this.t("views.pomodoro.status.ready"),this.statusDisplay.className="pomodoro-status pomodoro-view__status");return}let a=this.plugin.pomodoroService.getState();if(this.updateTimer(a.timeRemaining),this.updateProgress(a),this.statusDisplay)if(a.isRunning&&a.currentSession){let o=a.currentSession.type==="work"?this.t("views.pomodoro.status.working"):a.currentSession.type==="short-break"?this.t("views.pomodoro.status.shortBreak"):this.t("views.pomodoro.status.longBreak");this.statusDisplay.textContent=o,this.statusDisplay.className=`pomodoro-status pomodoro-view__status pomodoro-status-${a.currentSession.type} pomodoro-view__status--${a.currentSession.type}`}else a.currentSession&&!a.isRunning?(this.statusDisplay.textContent=this.t("views.pomodoro.status.paused"),this.statusDisplay.className="pomodoro-status pomodoro-view__status pomodoro-status-paused pomodoro-view__status--paused"):(this.statusDisplay.textContent=this.t("views.pomodoro.status.ready"),this.statusDisplay.className="pomodoro-status pomodoro-view__status");if(this.taskDisplay){let o=(i=a.currentSession)==null?void 0:i.taskPath,l=this.taskDisplay.dataset.currentTaskPath;o!==l&&(this.taskDisplay.empty(),this.taskDisplay.dataset.currentTaskPath=o||"")}if(this.taskSelectButton&&(s=a.currentSession)!=null&&s.taskPath&&!this.currentSelectedTask&&this.updateTaskButtonFromPath(a.currentSession.taskPath),this.startButton&&this.pauseButton&&this.stopButton&&(a.isRunning?(this.startButton.addClass("pomodoro-view__start-button--hidden"),this.pauseButton.removeClass("pomodoro-view__pause-button--hidden"),this.stopButton.removeClass("pomodoro-view__stop-button--hidden")):a.currentSession?(this.startButton.removeClass("pomodoro-view__start-button--hidden"),this.startButton.textContent=this.t("views.pomodoro.buttons.resume"),this.pauseButton.addClass("pomodoro-view__pause-button--hidden"),this.stopButton.removeClass("pomodoro-view__stop-button--hidden")):(this.startButton.removeClass("pomodoro-view__start-button--hidden"),a.nextSessionType==="short-break"?this.startButton.textContent=this.t("views.pomodoro.buttons.startShortBreak"):a.nextSessionType==="long-break"?this.startButton.textContent=this.t("views.pomodoro.buttons.startLongBreak"):this.startButton.textContent=this.t("views.pomodoro.buttons.start"),this.pauseButton.addClass("pomodoro-view__pause-button--hidden"),this.stopButton.addClass("pomodoro-view__stop-button--hidden"))),this.skipBreakButton){let o=a.currentSession&&(a.currentSession.type==="short-break"||a.currentSession.type==="long-break"),l=!a.currentSession&&(a.nextSessionType==="short-break"||a.nextSessionType==="long-break");o||l?(this.skipBreakButton.removeClass("pomodoro-view__skip-break-button--hidden"),this.skipBreakButton.textContent=this.t("views.pomodoro.buttons.skipBreak")):this.skipBreakButton.addClass("pomodoro-view__skip-break-button--hidden")}this.addTimeButton&&this.subtractTimeButton&&(this.addTimeButton.removeClass("pomodoro-view__time-adjust-button--hidden"),this.subtractTimeButton.removeClass("pomodoro-view__time-adjust-button--hidden")),this.updateStats().catch(o=>{console.error("Failed to update stats:",o)})}updateTimer(e){if(this.timerDisplay){let r=Math.max(0,Math.floor(e)),a=Math.floor(r/60),i=r%60;this.timerDisplay.textContent=`${a.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`,r<=60&&r>0?this.timerDisplay.addClass("pomodoro-view__timer-display--warning"):this.timerDisplay.removeClass("pomodoro-view__timer-display--warning")}}updateProgress(e){if(!this.progressCircle)return;let r=this.currentCircumference;if(r===0){let c=this.progressCircle.getAttribute("r"),d=c?parseInt(c):140;r=2*Math.PI*d,this.currentCircumference=r}if(!e.currentSession){this.progressCircle.setAttributeNS(null,"stroke-dashoffset",r.toString()),this.progressCircle.removeClass("pomodoro-view__progress-circle--work"),this.progressCircle.removeClass("pomodoro-view__progress-circle--short-break"),this.progressCircle.removeClass("pomodoro-view__progress-circle--long-break"),this.progressCircle.removeClass("pomodoro-view__progress-circle--warning");return}let a=e.currentSession.activePeriods||[],i=0;for(let c of a)if(c.endTime){let d=new Date(c.startTime).getTime(),u=new Date(c.endTime).getTime();i+=Math.floor((u-d)/1e3)}else if(e.isRunning){let d=new Date(c.startTime).getTime(),u=Date.now();i+=Math.floor((u-d)/1e3)}let s=e.currentSession.plannedDuration*60,o=s>0?Math.max(0,Math.min(1,i/s)):0,l=r-o*r;this.progressCircle.setAttributeNS(null,"stroke-dashoffset",l.toString()),this.progressCircle.removeClass("pomodoro-view__progress-circle--work"),this.progressCircle.removeClass("pomodoro-view__progress-circle--short-break"),this.progressCircle.removeClass("pomodoro-view__progress-circle--long-break"),this.progressCircle.addClass(`pomodoro-view__progress-circle--${e.currentSession.type}`),e.timeRemaining<=60&&e.timeRemaining>0?this.progressCircle.addClass("pomodoro-view__progress-circle--warning"):this.progressCircle.removeClass("pomodoro-view__progress-circle--warning")}async updateStats(){try{if(!this.plugin.pomodoroService){this.statElements.pomodoros&&(this.statElements.pomodoros.textContent="0");return}let e=await this.plugin.pomodoroService.getTodayStats();this.statElements.pomodoros&&this.statElements.pomodoros.textContent!==e.pomodorosCompleted.toString()&&(this.statElements.pomodoros.textContent=e.pomodorosCompleted.toString())}catch(e){console.error("Failed to update stats:",e),this.statElements.pomodoros&&(this.statElements.pomodoros.textContent="0")}}adjustSessionTime(e){if(!this.plugin.pomodoroService)return;let r=this.plugin.pomodoroService.getState();if(r.currentSession)this.plugin.pomodoroService.adjustSessionTime(e);else{let a=Math.max(60,r.timeRemaining+e);this.plugin.pomodoroService.adjustPreparedTimer(a)}if(this.plugin.pomodoroService){let a=this.plugin.pomodoroService.getState();this.updateTimer(a.timeRemaining),this.updateProgress(a)}}onPomodoroComplete(e,r){if(this.updateDisplay(),this.statusDisplay)if(e.type==="work"){let a=r==="long-break",i=this.t(a?"views.pomodoro.status.breakLength.long":"views.pomodoro.status.breakLength.short");this.statusDisplay.textContent=this.t("views.pomodoro.status.breakPrompt",{length:i})}else this.statusDisplay.textContent=this.t("views.pomodoro.status.breakComplete")}};var xs=require("obsidian");rr();Wn();Ke();function lf(n){if(n.activePeriods&&Array.isArray(n.activePeriods))return n.activePeriods.filter(t=>t.endTime).reduce((t,e)=>{let r=new Date(e.startTime),i=new Date(e.endTime).getTime()-r.getTime();return t+Math.round(i/(1e3*60))},0);if(n.duration!==void 0)return n.duration;if(n.startTime&&n.endTime){let t=new Date(n.startTime),r=new Date(n.endTime).getTime()-t.getTime();return Math.round(r/(1e3*60))}return 0}var M$=`
|
||
let timerInterval;
|
||
|
||
self.onmessage = function(e) {
|
||
const { command, duration } = e.data;
|
||
|
||
if (command === 'start') {
|
||
if (timerInterval) {
|
||
clearInterval(timerInterval);
|
||
}
|
||
|
||
let timeRemaining = duration;
|
||
timerInterval = setInterval(() => {
|
||
timeRemaining--;
|
||
// Notificar al hilo principal cada segundo para actualizar la UI
|
||
self.postMessage({ type: 'tick', timeRemaining: timeRemaining });
|
||
|
||
if (timeRemaining <= 0) {
|
||
self.postMessage({ type: 'done' });
|
||
clearInterval(timerInterval);
|
||
timerInterval = null;
|
||
}
|
||
}, 1000);
|
||
|
||
} else if (command === 'stop') {
|
||
if (timerInterval) {
|
||
clearInterval(timerInterval);
|
||
timerInterval = null;
|
||
}
|
||
}
|
||
};
|
||
`;var Zv=class extends xs.ItemView{constructor(e,r){super(e);this.overviewStatsEl=null;this.todayStatsEl=null;this.weekStatsEl=null;this.recentSessionsEl=null;this.overallStatsEl=null;this.plugin=r}getViewType(){return Mp}getDisplayText(){return this.plugin.i18n.translate("views.pomodoroStats.title")}getIcon(){return"bar-chart"}t(e,r){return this.plugin.i18n.translate(e,r)}calculateActualDuration(e){return e.filter(r=>r.endTime).reduce((r,a)=>{let i=new Date(a.startTime),o=(a.endTime?new Date(a.endTime):new Date).getTime()-i.getTime();return r+Math.round(o/(1e3*60))},0)}async onOpen(){await this.plugin.onReady(),await this.render()}async onClose(){this.contentEl.empty()}async render(){let e=this.contentEl.createDiv({cls:"tasknotes-plugin tasknotes-container pomodoro-stats-container pomodoro-stats-view"}),r=e.createDiv({cls:"pomodoro-stats-header pomodoro-stats-view__header"});new xs.Setting(r).setName(this.t("views.pomodoroStats.heading")).setHeading();let a=r.createEl("button",{cls:"pomodoro-stats-refresh-button pomodoro-stats-view__refresh-button",text:this.t("views.pomodoroStats.refresh")});this.registerDomEvent(a,"click",()=>{this.refreshStats()});let i=e.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new xs.Setting(i).setName(this.t("views.pomodoroStats.sections.overview")).setHeading(),this.overviewStatsEl=i.createDiv({cls:"pomodoro-overview-grid pomodoro-stats-view__overview-grid"});let s=e.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new xs.Setting(s).setName(this.t("views.pomodoroStats.sections.today")).setHeading(),this.todayStatsEl=s.createDiv({cls:"pomodoro-stats-grid pomodoro-stats-view__stats-grid"});let o=e.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new xs.Setting(o).setName(this.t("views.pomodoroStats.sections.week")).setHeading(),this.weekStatsEl=o.createDiv({cls:"pomodoro-stats-grid pomodoro-stats-view__stats-grid"});let l=e.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new xs.Setting(l).setName(this.t("views.pomodoroStats.sections.allTime")).setHeading(),this.overallStatsEl=l.createDiv({cls:"pomodoro-stats-grid pomodoro-stats-view__stats-grid"});let c=e.createDiv({cls:"pomodoro-stats-section pomodoro-stats-view__section"});new xs.Setting(c).setName(this.t("views.pomodoroStats.sections.recent")).setHeading(),this.recentSessionsEl=c.createDiv({cls:"pomodoro-recent-sessions pomodoro-stats-view__recent-sessions"}),await this.refreshStats()}async refreshStats(){try{await Promise.all([this.updateOverviewStats(),this.updateTodayStats(),this.updateWeekStats(),this.updateOverallStats(),this.updateRecentSessions()])}catch(e){console.error("Failed to refresh stats:",e)}}async updateOverviewStats(){if(!this.overviewStatsEl)return;let e=await this.plugin.pomodoroService.getTodayStats(),r=await this.calculateOverallStatsFromHistory(),a=ft(),i=new Date(a);i.setDate(i.getDate()-1);let s=mt(i),o=await this.calculateStatsForRange(s,s);this.renderOverviewStats(this.overviewStatsEl,e,r,o)}async updateTodayStats(){if(!this.todayStatsEl)return;let e=await this.plugin.pomodoroService.getTodayStats();this.renderStatsGrid(this.todayStatsEl,e)}async updateWeekStats(){if(!this.weekStatsEl)return;let e=ft(),r=mt(e),i={weekStartsOn:this.plugin.settings.calendarViewSettings.firstDay||0},s=nn(r,i),o=Kc(r,i),l=await this.calculateStatsForRange(s,o);this.renderStatsGrid(this.weekStatsEl,l)}async updateOverallStats(){if(!this.overallStatsEl)return;let e=await this.plugin.pomodoroService.getSessionHistory(),r=this.calculateOverallStats(e);this.renderStatsGrid(this.overallStatsEl,r)}async calculateOverallStatsFromHistory(){let e=await this.plugin.pomodoroService.getSessionHistory();return this.calculateOverallStats(e)}async updateRecentSessions(){var a;if(!this.recentSessionsEl)return;let r=(await this.plugin.pomodoroService.getSessionHistory()).filter(i=>i.type==="work").slice(-10).reverse();if(this.recentSessionsEl.empty(),r.length===0){this.recentSessionsEl.createDiv({cls:"pomodoro-no-sessions pomodoro-stats-view__no-sessions",text:this.t("views.pomodoroStats.recents.empty")});return}for(let i of r){let s=this.recentSessionsEl.createDiv({cls:"pomodoro-session-item pomodoro-stats-view__session-item"}),o=s.createSpan({cls:"session-date pomodoro-stats-view__session-date"}),l=this.plugin.settings.calendarViewSettings.timeFormat;o.textContent=M(new Date(i.startTime),l==="12"?"MMM d, h:mm a":"MMM d, HH:mm");let c=s.createSpan({cls:"session-duration pomodoro-stats-view__session-duration"}),d=lf(i);c.textContent=this.t("views.pomodoroStats.recents.duration",{minutes:d});let u=s.createSpan({cls:"session-status pomodoro-stats-view__session-status"});if(u.textContent=this.t(i.completed?"views.pomodoroStats.recents.status.completed":"views.pomodoroStats.recents.status.interrupted"),u.addClass(i.completed?"status-completed":"status-interrupted"),u.addClass(i.completed?"pomodoro-stats-view__session-status--completed":"pomodoro-stats-view__session-status--interrupted"),i.taskPath){let p=s.createSpan({cls:"session-task pomodoro-stats-view__session-task"}),m=((a=i.taskPath.split("/").pop())==null?void 0:a.replace(".md",""))||"";p.textContent=m}}}renderOverviewStats(e,r,a,i){e.empty();let s=v=>{if(v<60)return`${v}m`;let T=Math.floor(v/60),k=v%60;return k>0?`${T}h${k}m`:`${T}h`},o=r.pomodorosCompleted-i.pomodorosCompleted,l=r.totalMinutes-i.totalMinutes,c=e.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),d=c.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});if(d.textContent=r.pomodorosCompleted.toString(),c.createDiv({cls:"overview-label pomodoro-stats-view__overview-label",text:this.t("views.pomodoroStats.overviewCards.todayPomos.label")}),o!==0){let v=c.createDiv({cls:"overview-change pomodoro-stats-view__overview-change"});v.textContent=o>0?this.t("views.pomodoroStats.overviewCards.todayPomos.change.more",{count:o}):this.t("views.pomodoroStats.overviewCards.todayPomos.change.less",{count:Math.abs(o)}),v.addClass(o>0?"positive":"negative")}let u=e.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),p=u.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});p.textContent=a.pomodorosCompleted.toString(),u.createDiv({cls:"overview-label pomodoro-stats-view__overview-label",text:this.t("views.pomodoroStats.overviewCards.totalPomos.label")});let m=e.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),h=m.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});if(h.textContent=s(r.totalMinutes),m.createDiv({cls:"overview-label pomodoro-stats-view__overview-label",text:this.t("views.pomodoroStats.overviewCards.todayFocus.label")}),l!==0){let v=m.createDiv({cls:"overview-change pomodoro-stats-view__overview-change"});v.textContent=l>0?this.t("views.pomodoroStats.overviewCards.todayFocus.change.more",{duration:s(Math.abs(l))}):this.t("views.pomodoroStats.overviewCards.todayFocus.change.less",{duration:s(Math.abs(l))}),v.addClass(l>0?"positive":"negative")}let f=e.createDiv({cls:"pomodoro-overview-card pomodoro-stats-view__overview-card"}),g=f.createDiv({cls:"overview-value pomodoro-stats-view__overview-value"});g.textContent=s(a.totalMinutes),f.createDiv({cls:"overview-label pomodoro-stats-view__overview-label",text:this.t("views.pomodoroStats.overviewCards.totalFocus.label")})}renderStatsGrid(e,r){e.empty();let a=e.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});a.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:r.pomodorosCompleted.toString()}),a.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.pomodoros")});let i=e.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});i.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:r.currentStreak.toString()}),i.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.streak")});let s=e.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});s.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:r.totalMinutes.toString()}),s.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.minutes")});let o=e.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});o.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:r.averageSessionLength.toString()}),o.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.average")});let l=e.createDiv({cls:"pomodoro-stat-card pomodoro-stats-view__stat-card"});l.createDiv({cls:"stat-value pomodoro-stats-view__stat-value",text:`${r.completionRate}%`}),l.createDiv({cls:"stat-label pomodoro-stats-view__stat-label",text:this.t("views.pomodoroStats.stats.completion")})}async calculateStatsForRange(e,r){let a=await this.plugin.pomodoroService.getSessionHistory(),i=pa(e),s=pa(r),o=a.filter(l=>{try{let c=Ty(l.startTime),d=pa(c);return d>=i&&d<=s}catch(c){return console.error("Error parsing session timestamp for filtering:",{sessionStartTime:l.startTime,error:c}),!1}});return this.calculateStatsFromSessions(o)}calculateOverallStats(e){return this.calculateStatsFromSessions(e)}calculateStatsFromSessions(e){let r=e.filter(c=>c.type==="work"),a=r.filter(c=>c.completed),i=0;for(let c=r.length-1;c>=0&&r[c].completed;c--)i++;let s=a.reduce((c,d)=>c+lf(d),0),o=a.length>0?s/a.length:0,l=r.length>0?a.length/r.length*100:0;return{pomodorosCompleted:a.length,currentStreak:i,totalMinutes:s,averageSessionLength:Math.round(o),completionRate:Math.round(l)}}};var Ia=require("obsidian");rr();Wn();Dr();Ke();Or();ko();var Jv=class extends Ia.ItemView{constructor(e,r){super(e);this.overviewStatsEl=null;this.todayStatsEl=null;this.weekStatsEl=null;this.monthStatsEl=null;this.projectsStatsEl=null;this.filtersEl=null;this.currentFilters={dateRange:"all",selectedProjects:[],minTimeSpent:0};this.drilldownModal=null;this.currentDrilldownData=null;this.listeners=[];this.statsCache=new Map;this.lastCacheTime=0;this.CACHE_DURATION=6e4;this.debounceTimeout=null;this.plugin=r}getViewType(){return Ap}getDisplayText(){return this.plugin.i18n.translate("views.stats.title")}getIcon(){return"bar-chart-4"}async onOpen(){await this.plugin.onReady();let e=this.plugin.emitter.on(gt,async({path:r,originalTask:a,updatedTask:i})=>{if(!r||!i||!this.drilldownModal||!this.currentDrilldownData)return;this.currentDrilldownData.tasks.some(o=>o.path===r||a&&o.path===a.path)&&await this.refreshDrilldownModal()});this.listeners.push(e),await this.render()}async onClose(){this.contentEl.empty(),this.listeners.forEach(e=>this.plugin.emitter.offref(e)),this.listeners=[]}async render(){let e=this.contentEl.createDiv({cls:"tasknotes-plugin tasknotes-container stats-container stats-view"}),r=e.createDiv({cls:"stats-header stats-view__header"});new Ia.Setting(r).setName(this.plugin.i18n.translate("views.stats.taskProjectStats")).setHeading();let a=r.createEl("button",{cls:"stats-refresh-button stats-view__refresh-button",text:this.plugin.i18n.translate("views.stats.refreshButton")});this.registerDomEvent(a,"click",()=>{this.refreshStats()});let i=e.createDiv({cls:"stats-section stats-view__section"});new Ia.Setting(i).setName(this.plugin.i18n.translate("views.stats.sections.filters")).setHeading(),this.filtersEl=i.createDiv({cls:"stats-filters stats-view__filters"}),this.renderFilters();let s=e.createDiv({cls:"stats-section stats-view__section"});new Ia.Setting(s).setName(this.plugin.i18n.translate("views.stats.sections.overview")).setHeading(),this.overviewStatsEl=s.createDiv({cls:"stats-overview-grid stats-view__overview-grid"});let o=e.createDiv({cls:"stats-section stats-view__section"});new Ia.Setting(o).setName(this.plugin.i18n.translate("views.stats.sections.today")).setHeading(),this.todayStatsEl=o.createDiv({cls:"stats-grid stats-view__stats-grid"});let l=e.createDiv({cls:"stats-section stats-view__section"});new Ia.Setting(l).setName(this.plugin.i18n.translate("views.stats.sections.thisWeek")).setHeading(),this.weekStatsEl=l.createDiv({cls:"stats-grid stats-view__stats-grid"});let c=e.createDiv({cls:"stats-section stats-view__section"});new Ia.Setting(c).setName(this.plugin.i18n.translate("views.stats.sections.thisMonth")).setHeading(),this.monthStatsEl=c.createDiv({cls:"stats-grid stats-view__stats-grid"});let d=e.createDiv({cls:"stats-section stats-view__section"});new Ia.Setting(d).setName(this.plugin.i18n.translate("views.stats.sections.projectBreakdown")).setHeading(),this.projectsStatsEl=d.createDiv({cls:"stats-projects stats-view__projects"}),await this.refreshStats()}async refreshStats(){try{this.clearCache();let e=await Promise.allSettled([this.updateOverviewStats(),this.updateTodayStats(),this.updateWeekStats(),this.updateMonthStats(),this.updateProjectStats()])}catch(e){}}async getAllTasks(){let e=`all-tasks-${JSON.stringify(this.currentFilters)}`;if(this.isCacheValid()&&this.statsCache.has(e)){let i=this.statsCache.get(e);if(i)return i}let r=this.plugin.cacheManager.getAllTaskPaths(),a=[];for(let i of r)try{let s=await this.plugin.cacheManager.getTaskInfo(i);s&&a.push(s)}catch(s){}return a=this.applyTaskFilters(a),this.statsCache.set(e,a),this.lastCacheTime=Date.now(),a}applyTaskFilters(e){let r=e,a=this.getFilterDateRange();return(a.start||a.end)&&(r=r.filter(i=>{if(i.timeEntries&&i.timeEntries.length>0)return i.timeEntries.some(s=>{if(!s.startTime)return!1;let o=new Date(s.startTime);return!(a.start&&o<a.start||a.end&&o>a.end)});if(i.completedDate){let s=new Date(i.completedDate);return!(a.start&&s<a.start||a.end&&s>a.end)}if(i.dateCreated){let s=new Date(i.dateCreated);return!(a.start&&s<a.start||a.end&&s>a.end)}return!(a.start||a.end)})),this.currentFilters.minTimeSpent>0&&(r=r.filter(i=>$r(i.timeEntries||[])>=this.currentFilters.minTimeSpent)),r}async updateOverviewStats(){if(!this.overviewStatsEl)return;let e=await this.getAllTasks(),r=this.calculateOverallStats(e);this.renderOverviewStats(this.overviewStatsEl,r)}async updateTodayStats(){if(!this.todayStatsEl)return;let e=ft(),r=mt(e),a=pa(r),i=await this.calculateStatsForRange(a,r);this.renderTimeRangeStats(this.todayStatsEl,i)}async updateWeekStats(){if(!this.weekStatsEl)return;let e=ft(),r=mt(e),i={weekStartsOn:this.plugin.settings.calendarViewSettings.firstDay||0},s=nn(r,i),o=Kc(r,i),l=await this.calculateStatsForRange(s,o);this.renderTimeRangeStats(this.weekStatsEl,l)}async updateMonthStats(){if(!this.monthStatsEl)return;let e=ft(),r=mt(e),a=iy(r),i=ay(r),s=await this.calculateStatsForRange(a,i);this.renderTimeRangeStats(this.monthStatsEl,s)}async updateProjectStats(){if(!this.projectsStatsEl)return;let e=await this.getAllTasks(),r=this.calculateProjectStats(e);await this.renderProjectStats(this.projectsStatsEl,r)}consolidateProjectName(e){var r;if(!e||typeof e!="string")return e;if(e.startsWith("[[")&&e.endsWith("]]")){let a=this.extractWikilinkPath(e);if(a&&((r=this.plugin)!=null&&r.app)){let i=this.plugin.app.metadataCache.getFirstLinkpathDest(a,"");if(i)return i.basename;let s=this.extractProjectName(e);if(s)return s}}if(e.includes("|")){let a=e.split("|");return a[a.length-1]||e}if(e.includes("/")){let a=e.split("/");return a[a.length-1]||e}return e}extractWikilinkPath(e){if(!e||typeof e!="string"||!e.startsWith("[[")||!e.endsWith("]]"))return null;let r=e.slice(2,-2);return(0,Ia.parseLinktext)(r).path}extractProjectName(e){if(!e)return null;if(e.startsWith("[[")&&e.endsWith("]]")){let r=this.extractWikilinkPath(e);if(!r)return null;let a=r.split("/");return a[a.length-1]||r}if(e.includes("|")){let r=e.split("|");return r[r.length-1]||e}if(e.includes("/")){let r=e.split("/");return r[r.length-1]||e}return e}calculateOverallStats(e){let r=0,a=0,i=0,s=new Set;for(let o of e){r+=$r(o.timeEntries||[]),a+=o.timeEstimate||0,this.plugin.statusManager.isCompletedStatus(o.status)&&i++;let l=this.getTaskProjects(o);for(let c of l)s.add(c)}return{totalTimeSpent:r,totalTimeEstimate:a,totalTasks:e.length,completedTasks:i,activeProjects:s.size,completionRate:e.length>0?i/e.length*100:0,avgTimePerTask:e.length>0?r/e.length:0}}async calculateStatsForRange(e,r){let i=(await this.getAllTasks()).filter(l=>{if(l.timeEntries&&l.timeEntries.length>0)return l.timeEntries.some(c=>{if(!c.startTime)return!1;let d=new Date(c.startTime);return d>=e&&d<=r});if(l.completedDate){let c=new Date(l.completedDate);return c>=e&&c<=r}if(l.dateCreated){let c=new Date(l.dateCreated);return c>=e&&c<=r}return!1}),s=this.calculateOverallStats(i),o=this.calculateProjectStats(i);return{overall:s,projects:o}}calculateProjectStats(e){let r=new Map;for(let s of e){let o=$r(s.timeEntries||[]),l=s.timeEstimate||0,c=this.plugin.statusManager.isCompletedStatus(s.status),d;s.timeEntries&&s.timeEntries.length>0?d=[...s.timeEntries].sort((m,h)=>new Date(h.startTime).getTime()-new Date(m.startTime).getTime())[0].startTime:s.completedDate?d=s.completedDate:s.dateModified&&(d=s.dateModified);let u=this.getTaskProjects(s);for(let p of u){r.has(p)||r.set(p,{tasks:[],totalTime:0,totalTimeEstimate:0,completedCount:0,lastActivity:void 0});let m=r.get(p);m&&(m.tasks.push(s),m.totalTime+=o,m.totalTimeEstimate+=l,c&&m.completedCount++,d&&(!m.lastActivity||new Date(d)>new Date(m.lastActivity))&&(m.lastActivity=d))}}let a=[];for(let[s,o]of r.entries())a.push({projectName:s,totalTimeSpent:o.totalTime,totalTimeEstimate:o.totalTimeEstimate,taskCount:o.tasks.length,completedTaskCount:o.completedCount,avgTimePerTask:o.tasks.length>0?o.totalTime/o.tasks.length:0,lastActivity:o.lastActivity});let i=this.plugin.i18n.translate("views.stats.noProject");return a.sort((s,o)=>s.projectName===i?1:o.projectName===i?-1:o.totalTimeSpent-s.totalTimeSpent),a}renderFilters(){if(!this.filtersEl)return;this.filtersEl.empty();let e=this.filtersEl.createDiv({cls:"stats-view__filter-grid"}),r=e.createDiv({cls:"stats-view__filter-item"}),a=r.createDiv({cls:"stats-view__filter-label"});a.textContent=this.plugin.i18n.translate("views.stats.sections.dateRange");let i=r.createEl("select",{cls:"stats-view__filter-select"}),s=[{value:"all",text:this.plugin.i18n.translate("views.stats.timeRanges.allTime")},{value:"7days",text:this.plugin.i18n.translate("views.stats.timeRanges.last7Days")},{value:"30days",text:this.plugin.i18n.translate("views.stats.timeRanges.last30Days")},{value:"90days",text:this.plugin.i18n.translate("views.stats.timeRanges.last90Days")},{value:"custom",text:this.plugin.i18n.translate("views.stats.timeRanges.customRange")}];for(let m of s){let h=i.createEl("option",{value:m.value,text:m.text});m.value===this.currentFilters.dateRange&&(h.selected=!0)}this.registerDomEvent(i,"change",()=>{this.currentFilters.dateRange=i.value,this.renderCustomDateInputs(),this.applyFilters()});let o=e.createDiv({cls:"stats-view__custom-dates"});this.currentFilters.dateRange==="custom"&&this.renderCustomDateInputs(o);let l=e.createDiv({cls:"stats-view__filter-item"}),c=l.createDiv({cls:"stats-view__filter-label"});c.textContent=this.plugin.i18n.translate("views.stats.filters.minTime");let d=l.createEl("input",{cls:"stats-view__filter-input",type:"number",value:this.currentFilters.minTimeSpent.toString(),placeholder:"0"});this.registerDomEvent(d,"input",()=>{this.currentFilters.minTimeSpent=parseInt(d.value)||0,this.applyFilters()});let p=e.createDiv({cls:"stats-view__filter-buttons"}).createEl("button",{cls:"stats-view__filter-button stats-view__filter-button--reset",text:this.plugin.i18n.translate("views.stats.resetFiltersButton")});this.registerDomEvent(p,"click",()=>{this.currentFilters={dateRange:"all",selectedProjects:[],minTimeSpent:0},this.renderFilters(),this.applyFilters()})}renderCustomDateInputs(e){var a;let r=e||((a=this.filtersEl)==null?void 0:a.querySelector(".stats-view__custom-dates"));if(r&&(r.empty(),this.currentFilters.dateRange==="custom")){let i=r.createDiv({cls:"stats-view__date-input-container"});i.createDiv({cls:"stats-view__date-label",text:this.plugin.i18n.translate("views.stats.dateRangeFrom")});let s=i.createEl("input",{cls:"stats-view__date-input",type:"date",value:this.currentFilters.customStartDate||""}),o=r.createDiv({cls:"stats-view__date-input-container"});o.createDiv({cls:"stats-view__date-label",text:this.plugin.i18n.translate("views.stats.dateRangeTo")});let l=o.createEl("input",{cls:"stats-view__date-input",type:"date",value:this.currentFilters.customEndDate||""});this.registerDomEvent(s,"change",()=>{this.currentFilters.customStartDate=s.value,this.applyFilters()}),this.registerDomEvent(l,"change",()=>{this.currentFilters.customEndDate=l.value,this.applyFilters()})}}async applyFilters(){this.debounceTimeout&&clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout(async()=>{await this.refreshStats(),this.debounceTimeout=null},300)}isCacheValid(){return Date.now()-this.lastCacheTime<this.CACHE_DURATION}clearCache(){this.statsCache.clear(),this.lastCacheTime=0}getTaskProjects(e){try{if(!e||!Array.isArray(e.projects))return[this.plugin.i18n.translate("views.stats.noProject")];let r=ms(e.projects);return r.length>0?r.map(a=>this.consolidateProjectName(a)).filter(a=>typeof a=="string"&&a.length>0):[this.plugin.i18n.translate("views.stats.noProject")]}catch(r){return[this.plugin.i18n.translate("views.stats.noProject")]}}getFilterDateRange(){let e=ft(),r=mt(e);switch(this.currentFilters.dateRange){case"7days":return{start:Xc(r,7),end:r};case"30days":return{start:Xc(r,30),end:r};case"90days":return{start:Xc(r,90),end:r};case"custom":return{start:this.currentFilters.customStartDate?new Date(this.currentFilters.customStartDate):void 0,end:this.currentFilters.customEndDate?new Date(this.currentFilters.customEndDate):void 0};case"all":default:return{}}}renderOverviewStats(e,r){e.empty();let a=f=>{if(f<60)return`${Math.round(f)}m`;let g=Math.floor(f/60),v=Math.round(f%60);return v>0?`${g}h ${v}m`:`${g}h`},i=e.createDiv({cls:"stats-overview-card stats-view__overview-card"}),s=i.createDiv({cls:"overview-value stats-view__overview-value"});s.textContent=`${a(r.totalTimeSpent)} / ${a(r.totalTimeEstimate)}`,i.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.timeTrackedEstimated")});let o=e.createDiv({cls:"stats-overview-card stats-view__overview-card"}),l=o.createDiv({cls:"overview-value stats-view__overview-value"});l.textContent=r.totalTasks.toString(),o.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.totalTasks")});let c=e.createDiv({cls:"stats-overview-card stats-view__overview-card"}),d=c.createDiv({cls:"overview-value stats-view__overview-value"});d.textContent=`${Math.round(r.completionRate)}%`,c.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.completionRate")});let u=e.createDiv({cls:"stats-overview-card stats-view__overview-card"}),p=u.createDiv({cls:"overview-value stats-view__overview-value"});p.textContent=r.activeProjects.toString(),u.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.activeProjects")});let m=e.createDiv({cls:"stats-overview-card stats-view__overview-card"}),h=m.createDiv({cls:"overview-value stats-view__overview-value"});h.textContent=a(r.avgTimePerTask),m.createDiv({cls:"overview-label stats-view__overview-label",text:this.plugin.i18n.translate("views.stats.cards.avgTimePerTask")})}renderTimeRangeStats(e,r){e.empty();let a=c=>{if(c<60)return`${Math.round(c)}m`;let d=Math.floor(c/60),u=Math.round(c%60);return u>0?`${d}h ${u}m`:`${d}h`},i=e.createDiv({cls:"stats-stat-card stats-view__stat-card"});i.createDiv({cls:"stat-value stats-view__stat-value",text:`${a(r.overall.totalTimeSpent)} / ${a(r.overall.totalTimeEstimate)}`}),i.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.cards.timeTrackedEstimated")});let s=e.createDiv({cls:"stats-stat-card stats-view__stat-card"});s.createDiv({cls:"stat-value stats-view__stat-value",text:r.overall.totalTasks.toString()}),s.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.labels.tasks")});let o=e.createDiv({cls:"stats-stat-card stats-view__stat-card"});o.createDiv({cls:"stat-value stats-view__stat-value",text:r.overall.completedTasks.toString()}),o.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.labels.completed")});let l=e.createDiv({cls:"stats-stat-card stats-view__stat-card"});l.createDiv({cls:"stat-value stats-view__stat-value",text:r.overall.activeProjects.toString()}),l.createDiv({cls:"stat-label stats-view__stat-label",text:this.plugin.i18n.translate("views.stats.labels.projects")})}async renderProjectStats(e,r){if(e.empty(),r.length===0){e.createDiv({cls:"stats-no-data stats-view__no-data",text:this.plugin.i18n.translate("views.stats.noProjectData")});return}let a=s=>{if(s<60)return`${Math.round(s)}m`;let o=Math.floor(s/60),l=Math.round(s%60);return l>0?`${o}h ${l}m`:`${o}h`},i=s=>{if(!s)return this.plugin.i18n.translate("views.stats.notAvailable");try{let o=new Date(s);return M(o,"MMM d, yyyy")}catch(o){return this.plugin.i18n.translate("views.stats.notAvailable")}};for(let s of r){let o=["stats-project-item","stats-view__project-item","stats-view__project-item--clickable"];s.projectName===this.plugin.i18n.translate("views.stats.noProject")&&o.push("stats-view__project-item--no-project");let l=e.createDiv({cls:o.join(" ")});this.registerDomEvent(l,"click",()=>{this.openProjectDrilldown(s.projectName)});let c=l.createDiv({cls:"stats-view__project-header"}),d=c.createDiv({cls:"project-name stats-view__project-name"});d.textContent=s.projectName,c.createDiv({cls:"stats-view__click-indicator",text:"\u2192"});let u=s.taskCount>0?s.completedTaskCount/s.taskCount*100:0,p=l.createDiv({cls:"stats-view__project-content-grid"}),m=p.createDiv({cls:"stats-view__progress-container"});this.renderProgressCircle(m,u,s.completedTaskCount,s.taskCount);let h=p.createDiv({cls:"stats-view__stats-container"});if(s.totalTimeSpent>0||s.totalTimeEstimate>0){let T=h.createDiv({cls:"stats-view__time-bar"}),w=T.createDiv({cls:"stats-view__time-bar-visual"}).createDiv({cls:"stats-view__time-bar-fill"}),S=0;s.totalTimeEstimate>0?S=s.totalTimeSpent/s.totalTimeEstimate*100:s.totalTimeSpent>0&&(S=100,w.style.backgroundColor="var(--color-base-40)"),w.style.width=`${Math.min(S,100)}%`,S>100&&(w.style.backgroundColor="var(--color-red)");let x=T.createDiv({cls:"stats-view__time-bar-label"});x.textContent=`${a(s.totalTimeSpent)} / ${a(s.totalTimeEstimate)}`}let f=h.createDiv({cls:"project-stats stats-view__project-stats"});if(s.lastActivity){let T=f.createDiv({cls:"project-stat stats-view__project-stat"});T.textContent=`Last activity: ${i(s.lastActivity)}`}if(s.avgTimePerTask>0){let T=f.createDiv({cls:"project-stat stats-view__project-stat"});T.textContent=`Avg: ${a(s.avgTimePerTask)}/task`}let g=h.createDiv({cls:"stats-view__trend-container"}),v=g.createDiv({cls:"stats-view__sparkline"});try{let T=await this.calculateProjectTrend(s.projectName);T.length>0&&T.some(k=>k.value>0)?this.renderSparkline(v,T):g.remove()}catch(T){g.remove()}}}renderProgressCircle(e,r,a,i){let c=2*Math.PI*27.5,d=c-r/100*c,u=document.createElementNS("http://www.w3.org/2000/svg","svg");u.setAttribute("width","60"),u.setAttribute("height","60"),u.setAttribute("viewBox","0 0 60 60"),u.classList.add("stats-view__progress-circle-svg");let p=document.createElementNS("http://www.w3.org/2000/svg","circle");p.setAttribute("cx",(60/2).toString()),p.setAttribute("cy",(60/2).toString()),p.setAttribute("r",27.5.toString()),p.classList.add("stats-view__progress-circle-bg");let m=document.createElementNS("http://www.w3.org/2000/svg","circle");m.setAttribute("cx",(60/2).toString()),m.setAttribute("cy",(60/2).toString()),m.setAttribute("r",27.5.toString()),m.setAttribute("stroke-dasharray",`${c} ${c}`),m.setAttribute("stroke-dashoffset",d.toString()),m.classList.add("stats-view__progress-circle-fg");let h=document.createElementNS("http://www.w3.org/2000/svg","text");h.setAttribute("x","50%"),h.setAttribute("y","50%"),h.setAttribute("dy","0.3em"),h.setAttribute("text-anchor","middle"),h.classList.add("stats-view__progress-circle-text"),h.textContent=`${Math.round(r)}%`,u.appendChild(p),u.appendChild(m),u.appendChild(h),e.appendChild(u);let f=e.createDiv({cls:"stats-view__progress-label"});f.textContent=`${a}/${i} tasks`}async calculateProjectTrend(e){try{let r=this.plugin.cacheManager.getAllTaskPaths(),a=[];for(let l of r)try{let c=await this.plugin.cacheManager.getTaskInfo(l);c&&this.getTaskProjects(c).includes(e)&&a.push(c)}catch(c){}let i=[],s=ft(),o=mt(s);for(let l=29;l>=0;l--){let c=Xc(o,l),d=M(c,"yyyy-MM-dd"),u=0;for(let p of a)if(p.timeEntries)for(let m of p.timeEntries)m.startTime&&M(new Date(m.startTime),"yyyy-MM-dd")===d&&(u+=$r([m]));i.push({date:d,value:u})}return i}catch(r){return[]}}renderSparkline(e,r){if(e.empty(),r.length===0)return;let a=100,i=20,s=Math.max(...r.map(d=>d.value));if(s===0)return;let o=document.createElementNS("http://www.w3.org/2000/svg","svg");o.setAttribute("width",a.toString()),o.setAttribute("height",i.toString()),o.setAttribute("viewBox",`0 0 ${a} ${i}`),o.classList.add("stats-view__sparkline-svg");let l=document.createElementNS("http://www.w3.org/2000/svg","path"),c="";r.forEach((d,u)=>{let p=u/(r.length-1)*a,m=i-d.value/s*i;u===0?c+=`M ${p} ${m}`:c+=` L ${p} ${m}`}),l.setAttribute("d",c),l.setAttribute("fill","none"),l.setAttribute("stroke","currentColor"),l.setAttribute("stroke-width","1.5"),l.setAttribute("opacity","0.7"),o.appendChild(l),e.appendChild(o)}async openProjectDrilldown(e){this.closeDrilldownModal();let r=document.body.createDiv({cls:"stats-view__modal-backdrop"});this.drilldownModal=r;let a=r.createDiv({cls:"stats-view__modal tasknotes-plugin"}),i=a.createDiv({cls:"stats-view__modal-header"}),s=i.createDiv({cls:"stats-view__modal-title"});s.textContent=`${e} - Detailed View`;let o=i.createEl("button",{cls:"stats-view__modal-close",text:"\xD7"}),l=a.createDiv({cls:"stats-view__modal-content"});l.textContent=this.plugin.i18n.translate("views.stats.loading"),this.registerDomEvent(o,"click",()=>this.closeDrilldownModal()),this.registerDomEvent(r,"click",d=>{d.target===r&&this.closeDrilldownModal()});let c=d=>{d.key==="Escape"&&(this.closeDrilldownModal(),document.removeEventListener("keydown",c))};document.addEventListener("keydown",c);try{let d=await this.getProjectDrilldownData(e);this.currentDrilldownData=d,this.renderDrilldownContent(l,d)}catch(d){console.error("Error loading drill-down data:",d),l.textContent=this.plugin.i18n.translate("notices.statsLoadingFailed")}}closeDrilldownModal(){this.drilldownModal&&(this.drilldownModal.remove(),this.drilldownModal=null,this.currentDrilldownData=null)}async refreshDrilldownModal(){if(!this.drilldownModal||!this.currentDrilldownData)return;let e=this.drilldownModal.querySelector(".stats-view__modal-content");if(e)try{let r=await this.getProjectDrilldownData(this.currentDrilldownData.projectName);this.currentDrilldownData=r,this.renderDrilldownContent(e,r)}catch(r){console.error("Error refreshing drill-down modal:",r)}}async getProjectDrilldownData(e){var m;let r=this.plugin.cacheManager.getAllTaskPaths(),a=[];for(let h of r)try{let f=await this.plugin.cacheManager.getTaskInfo(h);f&&this.getTaskProjects(f).includes(e)&&a.push(f)}catch(f){console.error(`Failed to get task for drill-down: ${h}`,f)}let i=a.reduce((h,f)=>h+$r(f.timeEntries||[]),0),s=a.reduce((h,f)=>h+(f.timeEstimate||0),0),o=a.filter(h=>this.plugin.statusManager.isCompletedStatus(h.status)).length,l=a.length>0?o/a.length*100:0,c=a.filter(h=>{var f;return((f=h.timeEntries)==null?void 0:f.length)||h.completedDate}).sort((h,f)=>{var T,k;let g=(T=h.timeEntries)!=null&&T.length?Math.max(...h.timeEntries.map(w=>new Date(w.startTime).getTime())):h.completedDate?new Date(h.completedDate).getTime():0;return((k=f.timeEntries)!=null&&k.length?Math.max(...f.timeEntries.map(w=>new Date(w.startTime).getTime())):f.completedDate?new Date(f.completedDate).getTime():0)-g}).slice(0,10),d=[],u=ft(),p=mt(u);for(let h=29;h>=0;h--){let f=Xc(p,h),g=M(f,"yyyy-MM-dd"),v=0,T=0,k=0;for(let w of a){if(w.timeEntries){let S=w.timeEntries.filter(x=>M(new Date(x.startTime),"yyyy-MM-dd")===g);S.length>0&&(v+=$r(S),T++)}w.completedDate&&M(new Date(w.completedDate),"yyyy-MM-dd")===g&&(k++,(m=w.timeEntries)!=null&&m.some(S=>M(new Date(S.startTime),"yyyy-MM-dd")===g)||T++)}d.push({date:g,timeSpent:v,taskCount:T,completedTasks:k})}return{projectName:e,tasks:a,totalTimeSpent:i,totalTimeEstimate:s,completionRate:l,timeByDay:d,recentActivity:c}}renderDrilldownContent(e,r){e.empty();let a=S=>{if(S<60)return`${Math.round(S)}m`;let x=Math.floor(S/60),I=Math.round(S%60);return I>0?`${x}h ${I}m`:`${x}h`},s=e.createDiv({cls:"stats-view__drilldown-overview"}).createDiv({cls:"stats-view__drilldown-stats"}),o=s.createDiv({cls:"stats-view__drilldown-card"});o.createDiv({cls:"stats-view__drilldown-value",text:`${a(r.totalTimeSpent)} / ${a(r.totalTimeEstimate)}`}),o.createDiv({cls:"stats-view__drilldown-label",text:"Total Time"});let l=s.createDiv({cls:"stats-view__drilldown-card"});l.createDiv({cls:"stats-view__drilldown-value",text:r.tasks.length.toString()}),l.createDiv({cls:"stats-view__drilldown-label",text:"Total Tasks"});let c=s.createDiv({cls:"stats-view__drilldown-card"});c.createDiv({cls:"stats-view__drilldown-value",text:`${Math.round(r.completionRate)}%`}),c.createDiv({cls:"stats-view__drilldown-label",text:"Completed"});let d=s.createDiv({cls:"stats-view__drilldown-card"}),u=r.tasks.length>0?r.totalTimeSpent/r.tasks.length:0,p=r.tasks.length>0?r.totalTimeEstimate/r.tasks.length:0;d.createDiv({cls:"stats-view__drilldown-value",text:`${a(u)} / ${a(p)}`}),d.createDiv({cls:"stats-view__drilldown-label",text:"Avg per Task"});let m=e.createDiv({cls:"stats-view__drilldown-section"});m.createDiv({cls:"stats-view__drilldown-heading",text:"Activity Over Time (Last 30 Days)"});let h=m.createDiv({cls:"stats-view__activity-chart"});this.renderActivityChart(h,r.timeByDay);let f=e.createDiv({cls:"stats-view__drilldown-section"}),g=f.createDiv({cls:"stats-view__section-header"});g.createDiv({cls:"stats-view__drilldown-heading",text:"All Project Tasks"});let T=g.createDiv({cls:"stats-view__task-filters"}).createEl("select",{cls:"stats-view__filter-select"});T.createEl("option",{value:"all",text:this.plugin.i18n.translate("views.stats.filters.allTasks")}),T.createEl("option",{value:"active",text:this.plugin.i18n.translate("views.stats.filters.activeOnly")}),T.createEl("option",{value:"completed",text:this.plugin.i18n.translate("views.stats.filters.completedOnly")});let k=f.createDiv({cls:"stats-view__task-list"}),w=(S="all")=>{k.empty();let x=r.tasks;if(S==="active"?x=r.tasks.filter(A=>!this.plugin.statusManager.isCompletedStatus(A.status)):S==="completed"&&(x=r.tasks.filter(A=>this.plugin.statusManager.isCompletedStatus(A.status))),x.sort((A,B)=>{let z=this.plugin.statusManager.isCompletedStatus(A.status),U=this.plugin.statusManager.isCompletedStatus(B.status);if(z!==U)return z?1:-1;let N=P=>{var _;return(_=P.timeEntries)!=null&&_.length?Math.max(...P.timeEntries.map(Y=>new Date(Y.startTime).getTime())):P.dateModified?new Date(P.dateModified).getTime():0};return N(B)-N(A)}),x.length===0){k.createDiv({cls:"stats-view__no-data",text:this.plugin.i18n.translate("views.stats.noTasks")});return}let I=k.createDiv({cls:"stats-view__task-count"});I.textContent=`Showing ${x.length} task${x.length!==1?"s":""}`;for(let A of x){let B=this.plugin.settings.defaultVisibleProperties?pn(this.plugin.settings.defaultVisibleProperties,this.plugin):void 0,z=Ct(A,this.plugin,B);k.appendChild(z)}};w("all"),this.registerDomEvent(T,"change",()=>{w(T.value)})}renderActivityChart(e,r){if(e.empty(),r.length===0)return;let a=Math.max(...r.map(s=>s.timeSpent));if(a===0){e.createDiv({cls:"stats-view__no-data",text:"No time tracking data"});return}let i=e.createDiv({cls:"stats-view__bar-chart"});for(let s of r){let l=i.createDiv({cls:"stats-view__bar-container"}).createDiv({cls:"stats-view__bar"}),c=s.timeSpent/a*40;l.style.height=`${c}px`;let d=`${M(new Date(s.date),"MMM d")}: ${Math.round(s.timeSpent)}m`;l.setAttribute("title",d)}}};sb();var Ar=require("obsidian");lx();Ke();Ke();Dr();yl();rx();dl();var pf=class extends nu{constructor(e,r,a){super(e,r);this.editModalKeyboardHandler=null;this.completedInstancesChanges=[];this.calendarWrapper=null;this.initialBlockedBy=[];this.initialBlockingPaths=[];this.pendingBlockingUpdates={added:[],removed:[],raw:{}};this.unresolvedBlockingEntries=[];this.isShowingConfirmation=!1;this.pendingClose=!1;this.isExpanded=!0;this.task=a.task,this.options=a}getCurrentTaskPath(){return this.task.path}getModalTitle(){return this.t("modals.taskEdit.title")}isEditMode(){return!0}async initializeFormData(){var e,r;this.title=this.task.title,this.dueDate=this.task.due||"",this.scheduledDate=this.task.scheduled||"",this.priority=this.task.priority,this.status=this.task.status,this.contexts=this.task.contexts?this.task.contexts.join(", "):"",this.task.projects&&this.task.projects.length>0?this.task.projects.filter(i=>i&&typeof i=="string"&&i.trim()!=="").length>0?this.initializeProjectsFromStrings(this.task.projects):(this.projects="",this.selectedProjectItems=[]):(this.projects="",this.selectedProjectItems=[]),this.tags=this.task.tags?Qa(this.task.tags.filter(a=>a!==this.plugin.settings.taskTag).join(", ")):"",this.timeEstimate=this.task.timeEstimate||0,this.recurrenceRule=this.task.recurrence||"",this.recurrenceAnchor=this.task.recurrence_anchor||"scheduled",this.reminders=this.task.reminders?[...this.task.reminders]:[],this.details=this.normalizeDetails(this.details),this.originalDetails=this.details,await this.initializeSubtasks(),this.blockedByItems=((e=this.task.blockedBy)!=null?e:[]).map(a=>this.createDependencyItemFromDependency(a,this.task.path)),this.initialBlockedBy=this.blockedByItems.map(a=>({...a.dependency})),this.blockingItems=((r=this.task.blocking)!=null?r:[]).map(a=>this.createDependencyItemFromPath(a)),this.initialBlockingPaths=this.blockingItems.filter(a=>a.path).map(a=>a.path),this.pendingBlockingUpdates={added:[],removed:[],raw:{}},this.unresolvedBlockingEntries=[],await this.initializeUserFields()}async initializeUserFields(){var e;try{let r=this.app.vault.getAbstractFileByPath(this.task.path);if(!r||!(r instanceof Ar.TFile))return;let a=this.app.metadataCache.getFileCache(r),i=a==null?void 0:a.frontmatter;if(!i)return;let s=((e=this.plugin.settings)==null?void 0:e.userFields)||[];for(let o of s){if(!o||!o.key)continue;let l=i[o.key];l!==void 0&&(this.userFields[o.key]=l)}}catch(r){console.error("Error initializing user fields:",r)}}dependenciesEqual(e,r){if(e.length!==r.length)return!1;let a=o=>[...o].sort((l,c)=>l.uid.localeCompare(c.uid)),i=a(e),s=a(r);for(let o=0;o<i.length;o++){let l=i[o],c=s[o];if(l.uid!==c.uid||l.reltype!==c.reltype||(l.gap||"")!==(c.gap||""))return!1}return!0}showReminderContextMenu(e){let r={...this.task,title:this.title,due:this.dueDate,scheduled:this.scheduledDate,reminders:this.reminders};new tu(this.plugin,r,e.target,i=>{this.reminders=i.reminders||[],this.updateReminderIconState()}).show(e)}async onOpen(){this.completedInstancesChanges=[],await this.refreshTaskData(),this.containerEl.addClass("tasknotes-plugin","minimalist-task-modal","expanded"),this.plugin.settings.enableModalSplitLayout&&this.containerEl.addClass("split-layout-enabled"),this.modalEl.addClass("mod-tasknotes"),this.titleEl.setText(this.getModalTitle()),this.editModalKeyboardHandler=async e=>{e.key==="Enter"&&(e.ctrlKey||e.metaKey)&&(e.preventDefault(),await this.handleSave(),this.forceClose())},this.containerEl.addEventListener("keydown",this.editModalKeyboardHandler),this.initializeFormData().then(()=>{this.createModalContent(),this.renderProjectsList(),this.updateIconStates(),this.focusTitleInput()})}async refreshTaskData(){try{let e=this.app.vault.getAbstractFileByPath(this.task.path);if(!e||!(e instanceof Ar.TFile)){console.warn("Could not find file for task:",this.task.path);return}let r=await this.app.vault.read(e);this.details=this.extractDetailsFromContent(r),this.originalDetails=this.details;let a=await this.plugin.cacheManager.getTaskInfo(this.task.path);if(a)a.details=this.details,this.task=a,this.options.task=a;else{let i=OS(this.app,r,this.task.path,e,this.plugin.fieldMapper,this.plugin.settings.storeTitleInFilename);i&&(i.details=this.details,this.task=i,this.options.task=i)}}catch(e){console.warn("Could not refresh task data:",e)}}createPrimaryInput(e){}createAdditionalSections(e){this.createCompletionsCalendarSection(e),this.createMetadataSection(e)}forceClose(){this.pendingClose=!0,super.close()}close(){if(this.pendingClose){this.pendingClose=!1,super.close();return}if(this.isShowingConfirmation)return;let e=this.getChanges();if(!(Object.keys(e).length>0)){super.close();return}this.showUnsavedChangesConfirmation()}async showUnsavedChangesConfirmation(){this.isShowingConfirmation=!0;try{let e=await this.showThreeButtonConfirmation();if(e==="save")try{await this.handleSave(),this.forceClose()}catch(r){console.error("Save failed during close confirmation:",r)}else e==="discard"&&this.forceClose()}finally{this.isShowingConfirmation=!1}}showThreeButtonConfirmation(){return new Promise(e=>{new fp(this.app,{title:this.t("modals.task.unsavedChanges.title"),message:this.t("modals.task.unsavedChanges.message"),confirmText:this.t("modals.task.unsavedChanges.save"),cancelText:this.t("modals.task.unsavedChanges.discard"),thirdButtonText:this.t("modals.task.unsavedChanges.cancel"),defaultToConfirm:!0,onThirdButton:()=>e("cancel")}).show().then(a=>{e(a?"save":"discard")})})}onClose(){this.editModalKeyboardHandler&&(this.containerEl.removeEventListener("keydown",this.editModalKeyboardHandler),this.editModalKeyboardHandler=null),super.onClose()}createCompletionsCalendarSection(e){if(this.task.recurrence){let r=e.createDiv("completions-calendar-container"),a=r.createDiv("detail-label");a.textContent=this.t("modals.taskEdit.sections.completions");let i=r.createDiv("completions-calendar-content");this.createRecurringCalendar(i)}}createMetadataSection(e){this.metadataContainer=e.createDiv("metadata-container");let r=this.metadataContainer.createDiv("detail-label");r.textContent=this.t("modals.taskEdit.sections.taskInfo");let a=this.metadataContainer.createDiv("metadata-content"),i=$r(this.task.timeEntries||[]);if(i>0){let s=a.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.totalTrackedTime")+" ",s.createSpan("metadata-value").textContent=zp(i)}if(this.task.dateCreated){let s=a.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.created")+" ",s.createSpan("metadata-value").textContent=ky(this.task.dateCreated)}if(this.task.dateModified){let s=a.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.modified")+" ",s.createSpan("metadata-value").textContent=ky(this.task.dateModified)}if(this.task.path){let s=a.createDiv("metadata-item");s.createSpan("metadata-key").textContent=this.t("modals.taskEdit.metadata.file")+" ",s.createSpan("metadata-value").textContent=this.task.path}}createRecurringCalendar(e){this.calendarWrapper=e.createDiv("recurring-calendar");let a=ft();if(this.task.complete_instances&&this.task.complete_instances.length>0){let i=this.task.complete_instances.filter(s=>s&&typeof s=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(s.trim())).map(s=>ml(s).getTime()).filter(s=>!isNaN(s));i.length>0&&(a=new Date(Math.max(...i)))}this.renderCalendarMonth(this.calendarWrapper,a)}renderCalendarMonth(e,r){e.empty();let a=e.createDiv("recurring-calendar__header"),i=a.createEl("button",{cls:"recurring-calendar__nav",text:"\u2039"}),s=a.createSpan("recurring-calendar__month"),o=this.plugin.i18n.getCurrentLocale()||"en",l=new Intl.DateTimeFormat(o,{month:"short",year:"numeric"});s.textContent=l.format(r);let c=a.createEl("button",{cls:"recurring-calendar__nav",text:"\u203A"}),d=e.createDiv("recurring-calendar__grid"),u=Ey(r),p=xy(r),m=this.plugin.settings.calendarViewSettings.firstDay||0,h=Dy(u,m),f=tS(p,m),g=eS(h,f),v=Ey(r);v.setUTCMonth(v.getUTCMonth()-1);let T=xy(r);T.setUTCMonth(T.getUTCMonth()+1);let k=_l(this.task,v,T),w=new Set(k.map(I=>le(I))),S=new Set(this.task.complete_instances||[]);for(let I of this.completedInstancesChanges)S.has(I)?S.delete(I):S.add(I);let x=new Set(this.task.skipped_instances||[]);g.forEach(I=>{let A=le(I),B=I.getUTCMonth()===r.getUTCMonth(),z=w.has(A),U=S.has(A),N=x.has(A),P=d.createDiv("recurring-calendar__day");P.textContent=String(I.getUTCDate()),B||P.addClass("recurring-calendar__day--faded"),P.addClass("recurring-calendar__day--clickable"),z&&P.addClass("recurring-calendar__day--recurring"),U&&P.addClass("recurring-calendar__day--completed"),N&&P.addClass("recurring-calendar__day--skipped"),P.addEventListener("click",()=>{this.toggleCompletedInstance(A),this.renderCalendarMonth(e,r)})}),i.addEventListener("click",()=>{let I=new Date(r);I.setUTCMonth(I.getUTCMonth()-1),this.renderCalendarMonth(e,I)}),c.addEventListener("click",()=>{let I=new Date(r);I.setUTCMonth(I.getUTCMonth()+1),this.renderCalendarMonth(e,I)})}toggleCompletedInstance(e){let r=this.completedInstancesChanges.indexOf(e);r!==-1?this.completedInstancesChanges.splice(r,1):this.completedInstancesChanges.push(e)}async handleSave(){var e;if(!this.validateForm()){new Ar.Notice(this.t("modals.taskEdit.notices.titleRequired"));return}try{let r=this.getChanges(),a=this.pendingBlockingUpdates.added.length>0||this.pendingBlockingUpdates.removed.length>0,i=Object.keys(r).length>0,s=this.hasSubtaskChanges();if(this.unresolvedBlockingEntries.length>0&&!a&&(new Ar.Notice(this.t("modals.taskEdit.notices.blockingUnresolved",{entries:this.unresolvedBlockingEntries.join(", ")})),this.unresolvedBlockingEntries=[]),!i&&!a&&!s){new Ar.Notice(this.t("modals.taskEdit.notices.noChanges")),this.close();return}let o=this.task;if(i&&(o=await this.plugin.taskService.updateTask(this.task,r),this.task=o,Object.prototype.hasOwnProperty.call(r,"details"))){let l=((e=r.details)!=null?e:"").toString();this.details=l,this.originalDetails=l}if(a){await this.plugin.taskService.updateBlockingRelationships(o,this.pendingBlockingUpdates.added,this.pendingBlockingUpdates.removed,this.pendingBlockingUpdates.raw);let l=await this.plugin.cacheManager.getTaskInfo(o.path);l&&(o=l,this.task=l)}s&&await this.applySubtaskChanges(o),this.unresolvedBlockingEntries.length>0&&new Ar.Notice(this.t("modals.taskEdit.notices.blockingUnresolved",{entries:this.unresolvedBlockingEntries.join(", ")})),this.options.onTaskUpdated&&this.options.onTaskUpdated(o),i?new Ar.Notice(this.t("modals.taskEdit.notices.updateSuccess",{title:o.title})):a&&new Ar.Notice(this.t("modals.taskEdit.notices.dependenciesUpdateSuccess")),this.pendingBlockingUpdates={added:[],removed:[],raw:{}},this.unresolvedBlockingEntries=[]}catch(r){console.error("Failed to update task:",r);let a=r instanceof Error&&r.message?r.message:String(r);new Ar.Notice(this.t("modals.taskEdit.notices.updateFailure",{message:a}))}}getChanges(){let e={};this.title.trim()!==this.task.title&&(e.title=this.title.trim()),this.dueDate!==(this.task.due||"")&&(e.due=this.dueDate||void 0),this.scheduledDate!==(this.task.scheduled||"")&&(e.scheduled=this.scheduledDate||void 0),this.priority!==this.task.priority&&(e.priority=this.priority),this.status!==this.task.status&&(e.status=this.status);let r=this.contexts.split(",").map(U=>U.trim()).filter(U=>U.length>0),a=this.task.contexts||[];JSON.stringify(r.sort())!==JSON.stringify(a.sort())&&(e.contexts=r.length>0?r:void 0);let i=ha(this.projects),s=this.task.projects||[];JSON.stringify(i.sort())!==JSON.stringify(s.sort())&&(e.projects=i.length>0?i:void 0);let o=this.tags.split(",").map(U=>U.trim()).filter(U=>U.length>0);this.plugin.settings.taskIdentificationMethod==="tag"&&this.plugin.settings.taskTag&&!o.includes(this.plugin.settings.taskTag)&&o.push(this.plugin.settings.taskTag);let l=this.task.tags||[];JSON.stringify(o.sort())!==JSON.stringify(l.sort())&&(e.tags=o.length>0?o:void 0);let c=this.timeEstimate>0?this.timeEstimate:void 0,d=this.task.timeEstimate;c!==d&&(e.timeEstimate=c);let u=typeof this.task.recurrence=="string"?this.task.recurrence:"";this.recurrenceRule!==u&&(e.recurrence=this.recurrenceRule||void 0);let p=this.task.recurrence_anchor||"scheduled";this.recurrenceAnchor!==p&&(e.recurrence_anchor=this.recurrenceAnchor);let m=this.task.reminders||[],h=this.reminders||[];JSON.stringify(h)!==JSON.stringify(m)&&(e.reminders=h.length>0?h:void 0);let f=this.blockedByItems.map(U=>({...U.dependency}));this.dependenciesEqual(f,this.initialBlockedBy)||(e.blockedBy=f.length>0?f:void 0);let g=new Map,v=[];this.blockingItems.forEach(U=>{U.path?g.set(U.path,{...U.dependency}):v.push(U.dependency.uid)});let T=Array.from(g.keys()),k=new Set(this.initialBlockingPaths),w=new Set(T),S=T.filter(U=>!k.has(U)),x=this.initialBlockingPaths.filter(U=>!w.has(U)),I={};for(let U of S){let N=g.get(U);N&&(I[U]={...N})}this.pendingBlockingUpdates={added:S,removed:x,raw:I},this.unresolvedBlockingEntries=v;let A=this.normalizeDetails(this.details),B=this.normalizeDetails(this.originalDetails);if(A!==B&&(e.details=A.trimEnd()),this.completedInstancesChanges.length>0){let U=new Set(this.task.complete_instances||[]),N=null;for(let P of this.completedInstancesChanges)U.has(P)?U.delete(P):(U.add(P),(!N||P>N)&&(N=P));if(e.complete_instances=Array.from(U),this.task.recurrence&&typeof this.task.recurrence=="string"){if((this.task.recurrence_anchor||"scheduled")==="completion"&&N){let{updateDTSTARTInRecurrenceRule:Q}=(Dr(),Wa(tU)),W=Q(this.task.recurrence,N);W&&(e.recurrence=W)}let _={...this.task,...e,recurrence:e.recurrence||this.task.recurrence},Y=Nl(_,this.plugin.settings.maintainDueDateOffsetInRecurring);Y.scheduled&&(e.scheduled=Y.scheduled),Y.due&&(e.due=Y.due)}}let z=this.getUserFieldChanges();return Object.keys(z).length>0&&(e.customFrontmatter=z),Object.keys(e).length>0&&(e.dateModified=Oe()),e}getUserFieldChanges(){var r;let e={};try{let a=this.app.vault.getAbstractFileByPath(this.task.path);if(!a||!(a instanceof Ar.TFile))return e;let i=this.app.metadataCache.getFileCache(a),s=(i==null?void 0:i.frontmatter)||{},o=((r=this.plugin.settings)==null?void 0:r.userFields)||[];for(let l of o){if(!l||!l.key)continue;let c=this.userFields[l.key],d=s[l.key];this.isDifferent(c,d)&&(e[l.key]=c==null||c===""?null:c)}}catch(a){console.error("Error comparing user fields:",a)}return e}isDifferent(e,r){let a=o=>o==null||o===""?null:o,i=a(e),s=a(r);return Array.isArray(i)||Array.isArray(s)?JSON.stringify(i)!==JSON.stringify(s):i!==s}async openTaskNote(){try{let e=this.app.vault.getAbstractFileByPath(this.task.path);if(!e){new Ar.Notice(this.t("modals.taskEdit.notices.fileMissing",{path:this.task.path}));return}await this.app.workspace.getLeaf(!0).openFile(e),this.close()}catch(e){console.error("Failed to open task note:",e),new Ar.Notice(this.t("modals.taskEdit.notices.openNoteFailure"))}}async archiveTask(){try{let e=await this.plugin.taskService.toggleArchive(this.task);this.task=e,this.options.onTaskUpdated&&this.options.onTaskUpdated(e);let r=e.archived?"modals.taskEdit.archiveAction.archived":"modals.taskEdit.archiveAction.unarchived",a=this.t(r);new Ar.Notice(this.t("modals.taskEdit.notices.archiveSuccess",{action:a})),this.close()}catch(e){console.error("Failed to archive task:",e),new Ar.Notice(this.t("modals.taskEdit.notices.archiveFailure"))}}createActionButtons(e){let r=e.createDiv("modal-button-container");r.createEl("button",{cls:"open-note-button",text:this.t("modals.task.buttons.openNote")}).addEventListener("click",async()=>{await this.openTaskNote()}),r.createEl("button",{cls:"mod-warning archive-button",text:this.task.archived?this.t("modals.taskEdit.buttons.unarchive"):this.t("modals.taskEdit.buttons.archive")}).addEventListener("click",async()=>{await this.archiveTask()});let s=r.createEl("button",{cls:"mod-cta",text:this.t("modals.task.buttons.save")});s.addEventListener("click",async()=>{s.disabled=!0;try{await this.handleSave(),this.forceClose()}finally{s.disabled=!1}}),r.createEl("button",{text:this.t("common.cancel")}).addEventListener("click",()=>{this.close()})}async initializeSubtasks(){try{let e=this.app.vault.getAbstractFileByPath(this.task.path);if(!(e instanceof Ar.TFile))return;let r=await this.plugin.projectSubtasksService.getTasksLinkedToProject(e);this.selectedSubtaskFiles=[],this.initialSubtaskFiles=[];for(let a of r){let i=this.app.vault.getAbstractFileByPath(a.path);i&&(this.selectedSubtaskFiles.push(i),this.initialSubtaskFiles.push(i))}}catch(e){console.error("Error initializing subtasks:",e)}}hasSubtaskChanges(){let e=this.selectedSubtaskFiles.map(a=>a.path).sort(),r=this.initialSubtaskFiles.map(a=>a.path).sort();return e.length!==r.length||e.some((a,i)=>a!==r[i])}async applySubtaskChanges(e){let r=this.app.vault.getAbstractFileByPath(e.path);if(!(r instanceof Ar.TFile))return;let a=new Set(this.selectedSubtaskFiles.map(l=>l.path)),i=new Set(this.initialSubtaskFiles.map(l=>l.path)),s=this.initialSubtaskFiles.filter(l=>!a.has(l.path));for(let l of s)await this.removeSubtaskRelation(l,r);let o=this.selectedSubtaskFiles.filter(l=>!i.has(l.path));for(let l of o)await this.addSubtaskRelation(l,r);this.initialSubtaskFiles=[...this.selectedSubtaskFiles]}async addSubtaskRelation(e,r){try{let a=await this.plugin.cacheManager.getTaskInfo(e.path);if(!a)return;let i=this.buildProjectReference(r,e.path),s=`[[${r.basename}]]`,o=Array.isArray(a.projects)?a.projects:[];if(o.includes(i)||o.includes(s))return;let c=[...o.filter(d=>d!==s),i];await this.plugin.updateTaskProperty(a,"projects",c)}catch(a){console.error("Failed to add subtask relation:",a)}}async removeSubtaskRelation(e,r){try{let a=await this.plugin.cacheManager.getTaskInfo(e.path);if(!a)return;let i=this.buildProjectReference(r,e.path),s=`[[${r.basename}]]`,l=(Array.isArray(a.projects)?a.projects:[]).filter(c=>c!==i&&c!==s);await this.plugin.updateTaskProperty(a,"projects",l)}catch(a){console.error("Failed to remove subtask relation:",a)}}};To();var Ps=require("obsidian"),ob=class extends Ps.Modal{constructor(e,r,a,i){super(e);this.keyboardHandler=null;this.plugin=r,this.task=a,this.timeEntries=JSON.parse(JSON.stringify(a.timeEntries||[])),this.onSave=i,this.translate=r.i18n.translate.bind(r.i18n)}onOpen(){let{contentEl:e}=this;e.empty(),e.addClass("time-entry-editor-modal"),this.titleEl.setText(this.translate("modals.timeEntryEditor.title",{taskTitle:this.task.title})),this.keyboardHandler=m=>{m.key==="Enter"&&(m.ctrlKey||m.metaKey)&&(m.preventDefault(),this.save())},this.containerEl.addEventListener("keydown",this.keyboardHandler),this.entriesContainerEl=e.createDiv({cls:"time-entry-editor-modal__entries"}),this.renderEntries(),e.createDiv({cls:"time-entry-editor-modal__add-button-container"}).createEl("button",{text:this.translate("modals.timeEntryEditor.addEntry"),cls:"mod-cta"}).addEventListener("click",()=>this.addNewEntry());let i=e.createDiv({cls:"time-entry-editor-modal__footer"}),s=this.calculateTotalMinutes(),o=Math.floor(s/60),l=s%60,c=o>0?this.translate("modals.timeEntryEditor.totalTime",{hours:o.toString(),minutes:l.toString()}):this.translate("modals.timeEntryEditor.totalMinutes",{minutes:s.toString()});i.createDiv({cls:"time-entry-editor-modal__total",text:c});let d=i.createDiv({cls:"time-entry-editor-modal__buttons"});d.createEl("button",{text:this.translate("common.cancel")}).addEventListener("click",()=>this.close()),d.createEl("button",{text:this.translate("common.save"),cls:"mod-cta"}).addEventListener("click",()=>this.save())}renderEntries(){if(this.entriesContainerEl.empty(),this.timeEntries.length===0){this.entriesContainerEl.createDiv({cls:"time-entry-editor-modal__empty",text:this.translate("modals.timeEntryEditor.noEntries")});return}[...this.timeEntries].sort((r,a)=>new Date(a.startTime).getTime()-new Date(r.startTime).getTime()).forEach((r,a)=>{let i=this.timeEntries.indexOf(r);this.renderEntry(r,i)})}renderEntry(e,r){let a=this.entriesContainerEl.createDiv({cls:"time-entry-editor-modal__entry"}),i=a.createDiv({cls:"time-entry-editor-modal__entry-header"}),s=new Date(e.startTime).toLocaleDateString();i.createSpan({cls:"time-entry-editor-modal__entry-date",text:s});let o=i.createEl("button",{cls:"time-entry-editor-modal__delete-button",attr:{"aria-label":this.translate("modals.timeEntryEditor.deleteEntry")}});o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 6 5 6 21 6"></polyline><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"></path></svg>',o.addEventListener("click",()=>this.deleteEntry(r));let l=a.createDiv({cls:"time-entry-editor-modal__time-container"}),d=new Ps.Setting(l).setName(this.translate("modals.timeEntryEditor.startTime")).controlEl.createEl("input",{type:"datetime-local",cls:"time-entry-editor-modal__datetime-input"});d.value=this.formatDateTimeForInput(new Date(e.startTime)),d.addEventListener("change",()=>{let m=new Date(d.value);isNaN(m.getTime())||(e.startTime=m.toISOString())});let p=new Ps.Setting(l).setName(this.translate("modals.timeEntryEditor.endTime")).controlEl.createEl("input",{type:"datetime-local",cls:"time-entry-editor-modal__datetime-input"});e.endTime&&(p.value=this.formatDateTimeForInput(new Date(e.endTime))),p.addEventListener("change",()=>{if(p.value){let m=new Date(p.value);isNaN(m.getTime())||(e.endTime=m.toISOString())}else e.endTime=void 0}),new Ps.Setting(l).setName(this.translate("modals.timeEntryEditor.description")).addTextArea(m=>{m.setValue(e.description||"").setPlaceholder(this.translate("modals.timeEntryEditor.descriptionPlaceholder")).onChange(h=>{e.description=h||void 0}),m.inputEl.rows=2})}calculateDuration(e){if(!e.endTime){let i=new Date,s=new Date(e.startTime);return Math.round((i.getTime()-s.getTime())/6e4)}let r=new Date(e.startTime),a=new Date(e.endTime);return Math.round((a.getTime()-r.getTime())/6e4)}calculateTotalMinutes(){return this.timeEntries.reduce((e,r)=>{let a=r.duration||this.calculateDuration(r);return e+a},0)}addNewEntry(){let e=new Date,a={startTime:new Date(e.getTime()-3600*1e3).toISOString(),endTime:e.toISOString(),description:""};this.timeEntries.push(a),this.renderEntries()}deleteEntry(e){this.timeEntries.splice(e,1),this.renderEntries(),this.onOpen()}formatDateTimeForInput(e){let r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),i=String(e.getDate()).padStart(2,"0"),s=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0");return`${r}-${a}-${i}T${s}:${o}`}save(){for(let e of this.timeEntries){if(!e.startTime){new Ps.Notice(this.translate("modals.timeEntryEditor.validation.missingStartTime"));return}if(e.endTime){let r=new Date(e.startTime);if(new Date(e.endTime)<=r){new Ps.Notice(this.translate("modals.timeEntryEditor.validation.endBeforeStart"));return}}}this.timeEntries.forEach(e=>{e.endTime&&(e.duration=this.calculateDuration(e))}),this.onSave(this.timeEntries),this.close()}onClose(){this.keyboardHandler&&(this.containerEl.removeEventListener("keydown",this.keyboardHandler),this.keyboardHandler=null);let{contentEl:e}=this;e.empty()}};var ni=require("obsidian"),Pn=Ie(Xi());Wn();Ke();var lb=class{constructor(t){this.timerWorker=null;this.activeAudioContexts=new Set;this.cleanupTimeouts=new Set;this.lastSelectedTaskPathLoaded=!1;this.plugin=t,this.state={isRunning:!1,timeRemaining:t.settings.pomodoroWorkDuration*60}}translate(t,e){return this.plugin.i18n.translate(t,e)}async initialize(){await this.loadState(),this.setupWorker(),this.state.isRunning&&this.state.currentSession&&this.resumeTimer()}setWebhookNotifier(t){this.webhookNotifier=t}setupWorker(){let t=new Blob([M$],{type:"application/javascript"}),e=URL.createObjectURL(t);this.timerWorker=new Worker(e),this.timerWorker.onmessage=r=>{r.data.type==="done"&&this.completePomodoro(),r.data.type==="tick"&&(this.state.timeRemaining=r.data.timeRemaining,this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}))}}async loadState(){try{let t=await this.plugin.loadData();if(t!=null&&t.pomodoroState){this.state=t.pomodoroState,this.state.timeRemaining=Math.max(0,this.state.timeRemaining||0);let e=le(ft());if(t.lastPomodoroDate!==e&&this.state.currentSession&&(this.state.currentSession=void 0,this.state.isRunning=!1),this.state.currentSession){let a=new Date(this.state.currentSession.startTime).getTime();(Date.now()-a)/(1e3*60*60)>24&&(this.state.currentSession=void 0,this.state.isRunning=!1,this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60)}this.state.currentSession||(this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60)}}catch(t){console.error("Failed to load pomodoro state:",t),this.state={isRunning:!1,timeRemaining:this.plugin.settings.pomodoroWorkDuration*60}}}async saveState(){try{let t=await this.plugin.loadData()||{};t.pomodoroState=this.state,t.lastPomodoroDate=le(ft()),await this.plugin.saveData(t)}catch(t){console.error("Failed to save pomodoro state:",t)}}async saveLastSelectedTask(t){this.lastSelectedTaskPath=t,this.lastSelectedTaskPathLoaded=!0;try{let e=await this.plugin.loadData()||{};e.lastSelectedTaskPath=t,await this.plugin.saveData(e)}catch(e){console.error("Failed to save last selected task:",e)}}async getLastSelectedTaskPath(){if(this.lastSelectedTaskPathLoaded)return this.lastSelectedTaskPath;try{let t=await this.plugin.loadData(),e=t==null?void 0:t.lastSelectedTaskPath;return typeof e=="string"&&e.trim().length>0?this.lastSelectedTaskPath=e:this.lastSelectedTaskPath=void 0,this.lastSelectedTaskPathLoaded=!0,this.lastSelectedTaskPath}catch(t){console.error("Failed to load last selected task:",t);return}}async startPomodoro(t,e){var l;if(this.state.isRunning){new ni.Notice(this.translate("services.pomodoro.notices.alreadyRunning"));return}if(this.state.currentSession&&!this.state.isRunning){new ni.Notice(this.translate("services.pomodoro.notices.resumeCurrentSession"));return}let a=(e?Math.max(1,Math.min(120,e))*60:null)||Math.max(1,Math.min(7200,this.state.timeRemaining)),i=a/60;console.log("Starting pomodoro with planned duration:",i,"minutes");let s=Oe(),o={id:Date.now().toString(),taskPath:t==null?void 0:t.path,startTime:s,plannedDuration:i,type:"work",completed:!1,activePeriods:[{startTime:s}]};if(t!=null&&t.path&&(this.lastWorkSessionTaskPath=t.path,this.lastSelectedTaskPath=t.path,this.lastSelectedTaskPathLoaded=!0),this.state.currentSession=o,this.state.isRunning=!0,this.state.timeRemaining=a,this.state.nextSessionType=void 0,await this.saveState(),this.startTimer(),t)try{await this.plugin.taskService.startTimeTracking(t)}catch(c){(l=c.message)!=null&&l.includes("Time tracking is already active")||console.error("Failed to start time tracking for Pomodoro:",c)}if(this.plugin.emitter.trigger(Oy,{session:o,task:t}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("pomodoro.started",{session:o,task:t})}catch(c){console.warn("Failed to trigger webhook for pomodoro start:",c)}new Notification(`Pomodoro started${t?` for: ${t.title}`:""}`)}async startBreak(t=!1){if(this.state.isRunning){new ni.Notice(this.translate("services.pomodoro.notices.timerAlreadyRunning"));return}if(this.state.currentSession&&!this.state.isRunning){new ni.Notice(this.translate("services.pomodoro.notices.resumeSessionInstead"));return}let e=t?Math.max(1,Math.min(60,this.plugin.settings.pomodoroLongBreakDuration)):Math.max(1,Math.min(30,this.plugin.settings.pomodoroShortBreakDuration)),r=Oe(),a={id:Date.now().toString(),startTime:r,plannedDuration:e,type:t?"long-break":"short-break",completed:!1,activePeriods:[{startTime:r}]};this.state.currentSession=a,this.state.isRunning=!0,this.state.timeRemaining=a.plannedDuration*60,this.state.nextSessionType=void 0,await this.saveState(),this.startTimer(),new ni.Notice(this.translate(t?"services.pomodoro.notices.longBreakStarted":"services.pomodoro.notices.shortBreakStarted"))}async pausePomodoro(){if(this.state.isRunning){if(this.stopTimer(),this.state.isRunning=!1,this.state.currentSession&&this.state.currentSession.activePeriods.length>0){let t=this.state.currentSession.activePeriods[this.state.currentSession.activePeriods.length-1];t.endTime||(t.endTime=Oe())}if(this.state.currentSession&&this.state.currentSession.taskPath)try{let t=await this.plugin.cacheManager.getTaskInfo(this.state.currentSession.taskPath);t&&await this.plugin.taskService.stopTimeTracking(t)}catch(t){console.error("Failed to stop time tracking for Pomodoro pause:",t)}await this.saveState(),this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),new ni.Notice(this.translate("services.pomodoro.notices.paused"))}}async resumePomodoro(){var t;if(!(this.state.isRunning||!this.state.currentSession)){if(this.state.isRunning=!0,this.state.currentSession&&this.state.currentSession.activePeriods.push({startTime:Oe()}),await this.saveState(),this.startTimer(),this.state.currentSession&&this.state.currentSession.taskPath)try{let e=await this.plugin.cacheManager.getTaskInfo(this.state.currentSession.taskPath);e&&await this.plugin.taskService.startTimeTracking(e)}catch(e){(t=e.message)!=null&&t.includes("Time tracking is already active")||console.error("Failed to start time tracking for Pomodoro resume:",e)}this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),new ni.Notice(this.translate("services.pomodoro.notices.resumed"))}}async stopPomodoro(){if(!this.state.currentSession)return;let t=this.state.isRunning;if(this.stopTimer(),this.state.currentSession){if(this.state.currentSession.interrupted=!0,this.state.currentSession.endTime=Oe(),this.state.currentSession.activePeriods.length>0){let e=this.state.currentSession.activePeriods[this.state.currentSession.activePeriods.length-1];e.endTime||(e.endTime=Oe())}await this.addSessionToHistory(this.state.currentSession)}if(this.plugin.emitter.trigger(By,{session:this.state.currentSession}),this.webhookNotifier&&this.state.currentSession)try{let e=this.state.currentSession.taskPath?await this.plugin.cacheManager.getTaskInfo(this.state.currentSession.taskPath):void 0;await this.webhookNotifier.triggerWebhook("pomodoro.interrupted",{session:this.state.currentSession,task:e})}catch(e){console.warn("Failed to trigger webhook for pomodoro interruption:",e)}if(this.state.currentSession&&this.state.currentSession.taskPath&&t)try{let e=await this.plugin.cacheManager.getTaskInfo(this.state.currentSession.taskPath);e&&await this.plugin.taskService.stopTimeTracking(e)}catch(e){console.error("Failed to stop time tracking for Pomodoro interrupt:",e)}this.state.currentSession=void 0,this.state.isRunning=!1,this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,await this.saveState(),this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}),t&&new ni.Notice(this.translate("services.pomodoro.notices.stoppedAndReset"))}startTimer(){this.timerWorker&&this.timerWorker.postMessage({command:"start",duration:this.state.timeRemaining})}stopTimer(){this.timerWorker&&this.timerWorker.postMessage({command:"stop"})}resumeTimer(){if(this.state.currentSession&&this.state.currentSession.startTime){let t=new Date(this.state.currentSession.startTime).getTime(),e=Date.now();if(t>e){this.stopPomodoro();return}let r=this.state.currentSession.plannedDuration*60;if(!this.state.isRunning&&this.state.timeRemaining>0)this.state.timeRemaining=Math.min(this.state.timeRemaining,r);else if(this.state.isRunning){let a=this.state.currentSession.activePeriods||[],i=0;for(let s of a){let o=new Date(s.startTime).getTime(),l=s.endTime?new Date(s.endTime).getTime():e;i+=Math.floor((l-o)/1e3)}this.state.timeRemaining=Math.max(0,r-i)}this.state.timeRemaining>0&&this.state.isRunning?this.startTimer():this.state.timeRemaining<=0&&this.completePomodoro()}}async autoStartWorkSession(){if(!this.state.isRunning)try{let t=await this.getAutoStartTask();t?await this.startPomodoro(t):await this.startPomodoro()}catch(t){console.error("Failed to auto-start work session:",t)}}async getAutoStartTask(){var a;let t=[];this.lastWorkSessionTaskPath&&t.push(this.lastWorkSessionTaskPath),(a=this.state.currentSession)!=null&&a.taskPath&&t.push(this.state.currentSession.taskPath);let e=await this.getLastSelectedTaskPath();e&&t.push(e);let r=Array.from(new Set(t.filter(i=>typeof i=="string"&&i.length>0)));for(let i of r)try{let s=await this.plugin.cacheManager.getTaskInfo(i);if(!s){this.clearCachedTaskPath(i);continue}if(s.archived||this.plugin.statusManager.isCompletedStatus(s.status)){this.clearCachedTaskPath(i);continue}return s}catch(s){console.warn(`Failed to load task for auto-start (${i}):`,s)}}clearCachedTaskPath(t){this.lastWorkSessionTaskPath===t&&(this.lastWorkSessionTaskPath=void 0),this.lastSelectedTaskPath===t&&(this.lastSelectedTaskPath=void 0,this.lastSelectedTaskPathLoaded=!0)}async completePomodoro(){if(this.stopTimer(),!this.state.currentSession)return;let t=this.state.currentSession;if(t.completed=!0,t.endTime=Oe(),t.type==="work"&&t.taskPath&&(this.lastWorkSessionTaskPath=t.taskPath),t.activePeriods.length>0){let r=t.activePeriods[t.activePeriods.length-1];r.endTime||(r.endTime=Oe())}if(t.type==="work"&&this.state.isRunning&&t.taskPath)try{let r=await this.plugin.cacheManager.getTaskInfo(t.taskPath);r&&await this.plugin.taskService.stopTimeTracking(r)}catch(r){console.error("Failed to stop time tracking for Pomodoro completion:",r)}let e=!1;if(t.type==="work")try{e=((await this.getTodayStats()).pomodorosCompleted+1)%this.plugin.settings.pomodoroLongBreakInterval===0}catch(r){console.error("Failed to calculate break type:",r),e=!1}if(await this.addSessionToHistory(t),this.plugin.emitter.trigger(Ly,{session:t,nextType:t.type==="work"?e?"long-break":"short-break":"work"}),this.webhookNotifier)try{let r=t.taskPath?await this.plugin.cacheManager.getTaskInfo(t.taskPath):void 0;await this.webhookNotifier.triggerWebhook("pomodoro.completed",{session:t,task:r})}catch(r){console.warn("Failed to trigger webhook for pomodoro completion:",r)}if(this.plugin.settings.pomodoroNotifications){let r=t.type==="work"?"\u{1F345} Pomodoro completed!":"\u2615 Break completed!",a=t.type==="work"?`Time for a ${e?"long break \u{1F4A4}":"short break \u2615"}`:"Ready for the next pomodoro?";new Notification(r,{body:a})}if(this.plugin.settings.pomodoroSoundEnabled&&this.playCompletionSound(),this.state.currentSession=void 0,this.state.isRunning=!1,t.type==="work"){let r=e?this.plugin.settings.pomodoroLongBreakDuration:this.plugin.settings.pomodoroShortBreakDuration;if(this.state.timeRemaining=r*60,this.state.nextSessionType=e?"long-break":"short-break",this.plugin.settings.pomodoroAutoStartBreaks){let a=setTimeout(()=>this.startBreak(e),1e3);this.cleanupTimeouts.add(a)}}else if(this.state.timeRemaining=this.plugin.settings.pomodoroWorkDuration*60,this.state.nextSessionType="work",this.plugin.settings.pomodoroAutoStartWork){let r=setTimeout(()=>{this.autoStartWorkSession()},1e3);this.cleanupTimeouts.add(r)}await this.saveState(),this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession})}playCompletionSound(){try{let t=new(window.AudioContext||window.webkitAudioContext),e=t.createOscillator(),r=t.createGain();e.connect(r),r.connect(t.destination);let a=Math.max(0,Math.min(1,this.plugin.settings.pomodoroSoundVolume/100));r.gain.value=a*.3,e.frequency.value=800,e.type="sine",e.start(),e.stop(t.currentTime+.1),this.activeAudioContexts.add(t);let i=setTimeout(()=>{try{let o=t.createOscillator();o.connect(r),o.frequency.value=1e3,o.type="sine",o.start(),o.stop(t.currentTime+.1)}catch(o){console.error("Failed to play second beep:",o)}},150);this.cleanupTimeouts.add(i);let s=setTimeout(()=>{this.activeAudioContexts.delete(t),t.close().catch(()=>{})},300);this.cleanupTimeouts.add(s)}catch(t){console.error("Failed to play completion sound:",t)}}getState(){return{...this.state}}adjustSessionTime(t){if(this.state.currentSession){this.stopTimer(),this.state.timeRemaining=Math.max(1,this.state.timeRemaining+t);let e=this.state.currentSession.activePeriods||[],r=0;for(let i of e)if(i.endTime){let s=new Date(i.startTime).getTime(),o=new Date(i.endTime).getTime();r+=Math.floor((o-s)/1e3)}else if(this.state.isRunning){let s=new Date(i.startTime).getTime(),o=Date.now();r+=Math.floor((o-s)/1e3)}let a=r+this.state.timeRemaining;this.state.currentSession.plannedDuration=Math.ceil(a/60),this.saveState(),this.startTimer(),this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession})}}adjustPreparedTimer(t){this.state.currentSession||(this.stopTimer(),this.state.timeRemaining=Math.max(1,t),this.saveState(),console.log("Adjusted prepared timer to:",this.state.timeRemaining,"seconds"),this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}))}isRunning(){return this.state.isRunning}getCurrentSession(){return this.state.currentSession}getTimeRemaining(){return this.state.timeRemaining}async getPomodorosCompleted(){return(await this.getTodayStats()).pomodorosCompleted}async getCurrentStreak(){return(await this.getTodayStats()).currentStreak}async getTotalMinutesToday(){return(await this.getTodayStats()).totalMinutes}async assignTaskToCurrentSession(t){this.state.currentSession&&(this.state.currentSession.taskPath=t==null?void 0:t.path,t!=null&&t.path?(this.lastWorkSessionTaskPath=t.path,this.lastSelectedTaskPath=t.path,this.lastSelectedTaskPathLoaded=!0):(this.lastWorkSessionTaskPath=void 0,this.lastSelectedTaskPath=void 0,this.lastSelectedTaskPathLoaded=!0),await this.saveState(),this.plugin.emitter.trigger(Ka,{timeRemaining:this.state.timeRemaining,session:this.state.currentSession}))}async getSessionHistory(){try{let t=[],e=await this.plugin.loadData(),r=(e==null?void 0:e.pomodoroHistory)||[];if(this.plugin.settings.pomodoroStorageLocation==="daily-notes"){let a=await this.loadHistoryFromDailyNotes();t=a,r.length>0&&(t=this.mergeHistories(r,a))}else t=r;return t.sort((a,i)=>new Date(a.startTime).getTime()-new Date(i.startTime).getTime())}catch(t){return console.error("Failed to load session history:",t),[]}}async saveSessionHistory(t){try{if(this.plugin.settings.pomodoroStorageLocation==="daily-notes")await this.saveHistoryToDailyNotes(t);else{let e=await this.plugin.loadData()||{};e.pomodoroHistory=t,await this.plugin.saveData(e)}}catch(e){console.error("Failed to save session history:",e)}}async addSessionToHistory(t){if(!t.endTime){console.warn("Cannot add session to history without end time");return}let e={id:t.id,startTime:t.startTime,endTime:t.endTime,plannedDuration:t.plannedDuration,type:t.type,taskPath:t.taskPath,completed:t.completed&&!t.interrupted,activePeriods:t.activePeriods.slice()};try{if(this.plugin.settings.pomodoroStorageLocation==="daily-notes")await this.addSingleSessionToDailyNote(e);else{let r=await this.getSessionHistory();r.push(e),await this.saveSessionHistory(r)}}catch(r){console.error("Failed to add session to history:",r)}}async getStatsForDate(t){let e=le(t),i=(await this.getSessionHistory()).filter(u=>le(new Date(u.startTime))===e).filter(u=>u.type==="work"),s=i.filter(u=>u.completed),o=0;for(let u=i.length-1;u>=0&&i[u].completed;u--)o++;let l=s.reduce((u,p)=>u+lf(p),0),c=s.length>0?l/s.length:0,d=i.length>0?s.length/i.length*100:0;return{pomodorosCompleted:s.length,currentStreak:o,totalMinutes:l,averageSessionLength:Math.round(c),completionRate:Math.round(d)}}async getTodayStats(){let t=ft(),e=mt(t);return this.getStatsForDate(e)}cleanup(){this.stopTimer(),this.timerWorker&&(this.timerWorker.terminate(),this.timerWorker=null);for(let t of this.cleanupTimeouts)clearTimeout(t);this.cleanupTimeouts.clear();for(let t of this.activeAudioContexts)t.state!=="closed"&&t.close().catch(()=>{});this.activeAudioContexts.clear(),this.saveState()}async saveHistoryToDailyNotes(t){try{if(!(0,Pn.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes core plugin is not enabled");let e=this.groupSessionsByDate(t);for(let[r,a]of e)await this.updateDailyNotePomodoros(r,a)}catch(e){throw console.error("Failed to save history to daily notes:",e),e}}async loadHistoryFromDailyNotes(){try{if(!(0,Pn.appHasDailyNotesPluginLoaded)())return[];let t=[],e=(0,Pn.getAllDailyNotes)(),r=this.plugin.fieldMapper.toUserField("pomodoros");for(let[,a]of Object.entries(e))try{let i=this.plugin.app.metadataCache.getFileCache(a),s=i==null?void 0:i.frontmatter;if(s&&s[r]){let o=s[r];Array.isArray(o)&&t.push(...o)}}catch(i){console.warn(`Failed to read pomodoro data from daily note ${a.path}:`,i)}return t}catch(t){return console.error("Failed to load history from daily notes:",t),[]}}groupSessionsByDate(t){let e=new Map;for(let r of t){let a=new Date(r.startTime),i=le(a);e.has(i)||e.set(i,[]),e.get(i).push(r)}return e}async addSingleSessionToDailyNote(t){try{let e=new Date(t.startTime),r=window.moment(e),a=(0,Pn.getAllDailyNotes)(),i=(0,Pn.getDailyNote)(r,a);if(!i&&(i=await(0,Pn.createDailyNote)(r),!i))throw new Error("Failed to create daily note. Please check your Daily Notes plugin configuration and ensure the daily notes folder exists.");let s=this.plugin.fieldMapper.toUserField("pomodoros");await this.plugin.app.fileManager.processFrontMatter(i,o=>{let l=o[s]||[];new Set(l.map(d=>d.id)).has(t.id)||(o[s]=[...l,t])})}catch(e){console.error("Failed to add session to daily note:",e)}}async updateDailyNotePomodoros(t,e){try{let r=$t(t),a=window.moment(r),i=(0,Pn.getAllDailyNotes)(),s=(0,Pn.getDailyNote)(a,i);if(!s&&(s=await(0,Pn.createDailyNote)(a),!s))throw new Error("Failed to create daily note. Please check your Daily Notes plugin configuration and ensure the daily notes folder exists.");let o=this.plugin.fieldMapper.toUserField("pomodoros");await this.plugin.app.fileManager.processFrontMatter(s,l=>{let c=l[o]||[],d=new Set(c.map(p=>p.id)),u=e.filter(p=>!d.has(p.id));u.length>0&&(l[o]=[...c,...u])})}catch(r){console.error(`Failed to update daily note for ${t}:`,r)}}mergeHistories(t,e){let r=[...e],a=new Set(e.map(i=>i.id));for(let i of t)a.has(i.id)||r.push(i);return r}async migrateTodailyNotes(){try{if(!(0,Pn.appHasDailyNotesPluginLoaded)())throw new Error("Daily Notes core plugin must be enabled for migration");let t=await this.plugin.loadData(),e=(t==null?void 0:t.pomodoroHistory)||[];if(e.length===0)return;await this.saveHistoryToDailyNotes(e),t.pomodoroHistory=[],await this.plugin.saveData(t),new ni.Notice(this.translate("services.pomodoro.notices.migrationSuccess",{count:e.length}))}catch(t){throw console.error("Failed to migrate pomodoro data to daily notes:",t),new ni.Notice(this.translate("services.pomodoro.notices.migrationFailure")),t}}};Dr();Ke();var Do=require("obsidian");gl();Ke();Dr();var cb=class extends Do.Events{constructor(e,r,a){super();this.initialized=!1;this.eventListeners=[];this.debouncedHandlers=new Map;this.DEBOUNCE_DELAY=300;this.app=e,this.settings=r,this.taskTag=r.taskTag,this.excludedFolders=r.excludedFolders?r.excludedFolders.split(",").map(i=>i.trim()).filter(i=>i.length>0):[],this.fieldMapper=a,this.disableNoteIndexing=r.disableNoteIndexing,this.storeTitleInFilename=r.storeTitleInFilename}initialize(){this.initialized||(this.setupNativeEventListeners(),this.initialized=!0,this.trigger("cache-initialized",{message:"Task manager ready"}))}getApp(){return this.app}isTaskFile(e){if(!e)return!1;if(this.settings.taskIdentificationMethod==="property"){let r=this.settings.taskPropertyName,a=this.settings.taskPropertyValue;if(!r||!a)return!1;let i=e[r];return i===void 0?!1:Array.isArray(i)?i.some(s=>this.comparePropertyValues(s,a)):this.comparePropertyValues(i,a)}else return Array.isArray(e.tags)?e.tags.some(r=>typeof r=="string"&&kt.matchesHierarchicalTagExact(r,this.taskTag)):!1}comparePropertyValues(e,r){if(typeof e=="boolean"&&typeof r=="string"){let a=r.toLowerCase();if(a==="true"||a==="false")return e===(a==="true")}return e===r}setupNativeEventListeners(){let e=this.app.metadataCache.on("changed",(i,s,o)=>{i instanceof Do.TFile&&i.extension==="md"&&this.isValidFile(i.path)&&this.handleFileChangedDebounced(i,o)});this.eventListeners.push(e);let r=this.app.metadataCache.on("deleted",(i,s)=>{i instanceof Do.TFile&&i.extension==="md"&&this.handleFileDeleted(i.path)});this.eventListeners.push(r);let a=this.app.vault.on("rename",(i,s)=>{i instanceof Do.TFile&&i.extension==="md"&&this.handleFileRenamed(i,s)});this.eventListeners.push(a)}handleFileChangedDebounced(e,r){let a=e.path,i=this.debouncedHandlers.get(a);i&&window.clearTimeout(i);let s=window.setTimeout(()=>{this.debouncedHandlers.delete(a),this.handleFileChanged(e,r)},this.DEBOUNCE_DELAY);this.debouncedHandlers.set(a,s)}async handleFileChanged(e,r){this.trigger("file-updated",{path:e.path,file:e}),this.trigger("data-changed")}handleFileDeleted(e){let r=this.debouncedHandlers.get(e);r&&(window.clearTimeout(r),this.debouncedHandlers.delete(e)),this.trigger("file-deleted",{path:e}),this.trigger("data-changed")}handleFileRenamed(e,r){let a=this.debouncedHandlers.get(r);a&&(window.clearTimeout(a),this.debouncedHandlers.delete(r)),this.trigger("file-renamed",{oldPath:r,newPath:e.path,file:e}),this.trigger("data-changed")}isValidFile(e){return!this.excludedFolders.some(r=>e.startsWith(r))}async getTaskInfo(e){let r=this.app.vault.getAbstractFileByPath(e);if(!(r instanceof Do.TFile))return null;let a=this.app.metadataCache.getFileCache(r);return!(a!=null&&a.frontmatter)||!this.isTaskFile(a.frontmatter)?null:this.extractTaskInfoFromNative(e,a.frontmatter)}extractTaskInfoFromNative(e,r){if(!r||!this.fieldMapper||!this.isTaskFile(r))return null;try{let a=this.fieldMapper.mapFromFrontmatter(r,e,this.storeTitleInFilename),i=a.timeEntries?$r(a.timeEntries):0,s=!1,o=[];this._dependencyCache?(s=this._dependencyCache.isTaskBlocked(e),o=this._dependencyCache.getBlockedTaskPaths(e)):s=Array.isArray(a.blockedBy)&&a.blockedBy.length>0;let l=o.length>0;return{...a,id:e,path:e,title:a.title||"Untitled task",status:a.status||"open",priority:a.priority||"normal",archived:a.archived||!1,tags:Array.isArray(a.tags)?a.tags:[],contexts:Array.isArray(a.contexts)?a.contexts:[],projects:Array.isArray(a.projects)?a.projects:[],totalTrackedTime:i,isBlocked:s,isBlocking:l,blocking:o.length>0?o:void 0}}catch(a){return console.error(`Error extracting task info from native metadata for ${e}:`,a),null}}async getAllTasks(){let e=[],r=this.app.vault.getMarkdownFiles();for(let a of r){if(!this.isValidFile(a.path))continue;let i=await this.getTaskInfo(a.path);i&&e.push(i)}return e}getAllTaskPaths(){let e=new Set,r=this.app.vault.getMarkdownFiles();for(let a of r){if(!this.isValidFile(a.path))continue;let i=this.app.metadataCache.getFileCache(a);i!=null&&i.frontmatter&&this.isTaskFile(i.frontmatter)&&e.add(a.path)}return e}getTasksForDate(e){var o,l;let r=[],a=this.app.vault.getMarkdownFiles(),i=((o=this.fieldMapper)==null?void 0:o.toUserField("scheduled"))||"scheduled",s=((l=this.fieldMapper)==null?void 0:l.toUserField("due"))||"due";for(let c of a){if(!this.isValidFile(c.path))continue;let d=this.app.metadataCache.getFileCache(c);if(!(d!=null&&d.frontmatter)||!this.isTaskFile(d.frontmatter))continue;let u=d.frontmatter[i],p=d.frontmatter[s];(u===e||p===e)&&r.push(c.path)}return r}getTaskPathsByStatus(e){var s;let r=[],a=this.app.vault.getMarkdownFiles(),i=((s=this.fieldMapper)==null?void 0:s.toUserField("status"))||"status";for(let o of a){if(!this.isValidFile(o.path))continue;let l=this.app.metadataCache.getFileCache(o);!(l!=null&&l.frontmatter)||!this.isTaskFile(l.frontmatter)||l.frontmatter[i]===e&&r.push(o.path)}return r}getTaskPathsByPriority(e){var s;let r=[],a=this.app.vault.getMarkdownFiles(),i=((s=this.fieldMapper)==null?void 0:s.toUserField("priority"))||"priority";for(let o of a){if(!this.isValidFile(o.path))continue;let l=this.app.metadataCache.getFileCache(o);!(l!=null&&l.frontmatter)||!this.isTaskFile(l.frontmatter)||l.frontmatter[i]===e&&r.push(o.path)}return r}getOverdueTaskPaths(){var o,l,c;let e=new Set,r=this.app.vault.getMarkdownFiles(),a=Vt(),i=((o=this.fieldMapper)==null?void 0:o.toUserField("due"))||"due",s=((l=this.fieldMapper)==null?void 0:l.toUserField("status"))||"status";for(let d of r){if(!this.isValidFile(d.path))continue;let u=this.app.metadataCache.getFileCache(d);if(!(u!=null&&u.frontmatter)||!this.isTaskFile(u.frontmatter))continue;let p=u.frontmatter[i],m=u.frontmatter[s],h=((c=this.settings.customStatuses)==null?void 0:c.some(f=>f.value===m&&f.isCompleted))||!1;p&&!h&&ns(p,a)&&e.add(d.path)}return e}getAllStatuses(){var i;let e=new Set,r=this.app.vault.getMarkdownFiles(),a=((i=this.fieldMapper)==null?void 0:i.toUserField("status"))||"status";for(let s of r){if(!this.isValidFile(s.path))continue;let o=this.app.metadataCache.getFileCache(s);if(!(o!=null&&o.frontmatter)||!this.isTaskFile(o.frontmatter))continue;let l=o.frontmatter[a];l&&e.add(l)}return Array.from(e).sort()}getAllPriorities(){var i;let e=new Set,r=this.app.vault.getMarkdownFiles(),a=((i=this.fieldMapper)==null?void 0:i.toUserField("priority"))||"priority";for(let s of r){if(!this.isValidFile(s.path))continue;let o=this.app.metadataCache.getFileCache(s);if(!(o!=null&&o.frontmatter)||!this.isTaskFile(o.frontmatter))continue;let l=o.frontmatter[a];l&&e.add(l)}return Array.from(e).sort()}getAllTags(){let e=new Set,r=this.app.vault.getMarkdownFiles();for(let a of r){if(!this.isValidFile(a.path))continue;let i=this.app.metadataCache.getFileCache(a);if(!(i!=null&&i.frontmatter)||!this.isTaskFile(i.frontmatter))continue;let s=i.frontmatter.tags;Array.isArray(s)&&s.forEach(o=>{typeof o=="string"&&e.add(o)})}return Array.from(e).sort()}getAllContexts(){var i;let e=new Set,r=this.app.vault.getMarkdownFiles(),a=((i=this.fieldMapper)==null?void 0:i.toUserField("contexts"))||"context";for(let s of r){if(!this.isValidFile(s.path))continue;let o=this.app.metadataCache.getFileCache(s);if(!(o!=null&&o.frontmatter)||!this.isTaskFile(o.frontmatter))continue;let l=o.frontmatter[a];Array.isArray(l)?l.forEach(c=>{typeof c=="string"&&e.add(c)}):l&&e.add(l)}return Array.from(e).sort()}getAllProjects(){var i;let e=new Set,r=this.app.vault.getMarkdownFiles(),a=((i=this.fieldMapper)==null?void 0:i.toUserField("projects"))||"project";for(let s of r){if(!this.isValidFile(s.path))continue;let o=this.app.metadataCache.getFileCache(s);if(!(o!=null&&o.frontmatter)||!this.isTaskFile(o.frontmatter))continue;let l=o.frontmatter[a];Array.isArray(l)?l.forEach(c=>{typeof c=="string"&&e.add(c)}):l&&e.add(l)}return Array.from(e).sort()}getAllTimeEstimates(){var i;let e=new Map,r=this.app.vault.getMarkdownFiles(),a=((i=this.fieldMapper)==null?void 0:i.toUserField("timeEstimate"))||"timeEstimate";for(let s of r){if(!this.isValidFile(s.path))continue;let o=this.app.metadataCache.getFileCache(s);if(!(o!=null&&o.frontmatter)||!this.isTaskFile(o.frontmatter))continue;let l=o.frontmatter[a];typeof l=="number"&&l>0&&e.set(s.path,l)}return e}async getNotesForDate(e){if(this.disableNoteIndexing)return[];let r=[],a=le(e),i=this.app.vault.getMarkdownFiles();for(let s of i){if(!this.isValidFile(s.path))continue;let o=this.app.metadataCache.getFileCache(s);if(!(o!=null&&o.frontmatter)||this.isTaskFile(o.frontmatter))continue;(o.frontmatter.date||o.frontmatter.scheduled)===a&&r.push({path:s.path,title:this.storeTitleInFilename?s.basename:o.frontmatter.title||s.basename,tags:o.frontmatter.tags||[]})}return r}async getTaskByPath(e){return this.getTaskInfo(e)}async getCachedTaskInfo(e){return this.getTaskInfo(e)}getCachedTaskInfoSync(e){let r=this.app.vault.getAbstractFileByPath(e);if(!(r instanceof Do.TFile))return null;let a=this.app.metadataCache.getFileCache(r);return!(a!=null&&a.frontmatter)||!this.isTaskFile(a.frontmatter)?null:this.extractTaskInfoFromNative(e,a.frontmatter)}isInitialized(){return this.initialized}destroy(){this.debouncedHandlers.forEach(e=>{window.clearTimeout(e)}),this.debouncedHandlers.clear(),this.eventListeners.forEach(e=>{this.app.metadataCache.offref(e)}),this.eventListeners=[],this.initialized=!1}setDependencyCache(e){this._dependencyCache=e}getBlockingTaskPaths(e){return this._dependencyCache?this._dependencyCache.getBlockingTaskPaths(e):(console.warn("DependencyCache not set in TaskManager"),[])}getBlockedTaskPaths(e){return this._dependencyCache?this._dependencyCache.getBlockedTaskPaths(e):(console.warn("DependencyCache not set in TaskManager"),[])}isTaskBlocked(e){return this._dependencyCache?this._dependencyCache.isTaskBlocked(e):!1}getTasksReferencingProject(e){return this._dependencyCache?this._dependencyCache.getTasksReferencingProject(e):(console.warn("DependencyCache not set in TaskManager"),[])}isFileUsedAsProject(e){return this._dependencyCache?this._dependencyCache.isFileUsedAsProject(e):!1}async waitForFreshTaskData(e,r=3){await new Promise(a=>setTimeout(a,50))}updateConfig(e){this.settings=e,this.taskTag=e.taskTag,this.excludedFolders=e.excludedFolders?e.excludedFolders.split(",").map(r=>r.trim()).filter(r=>r.length>0):[],this.disableNoteIndexing=e.disableNoteIndexing,this.storeTitleInFilename=e.storeTitleInFilename,this.trigger("data-changed")}subscribe(e,r){return this.on(e,r),()=>{this.off(e,r)}}async getCalendarData(e,r){let a=await this.getAllTasks(),i={};for(let s of a)s.scheduled&&(i[s.scheduled]||(i[s.scheduled]=[]),i[s.scheduled].push(s)),s.due&&(i[s.due]||(i[s.due]=[]),i[s.due].includes(s)||i[s.due].push(s));return i}async getTaskInfoForDate(e){let r=le(e),a=this.getTasksForDate(r),i=[];for(let s of a){let o=await this.getTaskInfo(s);o&&i.push(o)}return i}getTaskPathsByDate(e){return new Set(this.getTasksForDate(e))}getAllProjectsWithDetails(){return[]}getAllProjectFiles(){return[]}async rebuildDailyNotesCache(e,r){}async clearAllCaches(){this.trigger("data-changed")}clearCacheEntry(e){}updateTaskInfoInCache(e,r){this.trigger("file-updated",{path:e})}};var sc=require("obsidian");vd();var db=class extends sc.Events{constructor(e,r,a,i,s){super();this.dependencySources=new Map;this.dependencyTargets=new Map;this.projectReferences=new Map;this.initialized=!1;this.indexesBuilt=!1;this.eventListeners=[];this.app=e,this.settings=r,this.fieldMapper=a,this.statusManager=i,this.isTaskFileCallback=s}initialize(){this.initialized||(this.setupEventListeners(),this.initialized=!0)}async buildIndexes(){if(this.indexesBuilt)return;let e=this.app.vault.getMarkdownFiles();for(let r of e){let a=this.app.metadataCache.getFileCache(r);!(a!=null&&a.frontmatter)||!this.isTaskFileCallback(a.frontmatter)||this.indexTaskFile(r.path,a.frontmatter)}this.indexesBuilt=!0}setupEventListeners(){let e=this.app.metadataCache.on("changed",(i,s,o)=>{i instanceof sc.TFile&&i.extension==="md"&&this.handleFileChanged(i,o)});this.eventListeners.push(e);let r=this.app.metadataCache.on("deleted",(i,s)=>{i instanceof sc.TFile&&i.extension==="md"&&this.handleFileDeleted(i.path)});this.eventListeners.push(r);let a=this.app.vault.on("rename",(i,s)=>{i instanceof sc.TFile&&i.extension==="md"&&this.handleFileRenamed(i,s)});this.eventListeners.push(a)}handleFileChanged(e,r){let a=this.app.metadataCache.getFileCache(e);if(!(a!=null&&a.frontmatter)){this.clearFileFromIndexes(e.path);return}if(!this.isTaskFileCallback(a.frontmatter)){this.clearFileFromIndexes(e.path);return}this.clearForwardDependencies(e.path),this.indexTaskFile(e.path,a.frontmatter)}handleFileDeleted(e){this.clearFileFromIndexes(e)}handleFileRenamed(e,r){let a=this.app.metadataCache.getFileCache(e);this.clearFileFromIndexes(r),a!=null&&a.frontmatter&&this.isTaskFileCallback(a.frontmatter)&&this.indexTaskFile(e.path,a.frontmatter)}resolveProjectReference(e,r){if(!r||typeof r!="string")return null;let a=r.trim();if(!a)return null;let i=Pl(this.app,e,a);return(i==null?void 0:i.path)||null}indexTaskFile(e,r){var l,c;let a=((l=this.fieldMapper)==null?void 0:l.toUserField("blockedBy"))||"blockedBy",i=((c=this.fieldMapper)==null?void 0:c.toUserField("projects"))||"project",s=r[a];if(s){let d=Zy(s);if(d){let u=new Set;for(let p of d){let m=Pl(this.app,e,p);m!=null&&m.path&&(u.add(m.path),this.dependencyTargets.has(m.path)||this.dependencyTargets.set(m.path,new Set),this.dependencyTargets.get(m.path).add(e))}u.size>0&&this.dependencySources.set(e,u)}}let o=r[i];if(o){let d=Array.isArray(o)?o:[o];for(let u of d)if(typeof u=="string"){let p=this.resolveProjectReference(e,u);p&&(this.projectReferences.has(p)||this.projectReferences.set(p,new Set),this.projectReferences.get(p).add(e))}}}clearForwardDependencies(e){let r=this.dependencySources.get(e);if(r){for(let a of r){let i=this.dependencyTargets.get(a);i&&(i.delete(e),i.size===0&&this.dependencyTargets.delete(a))}this.dependencySources.delete(e)}for(let[a,i]of this.projectReferences.entries())i.delete(e),i.size===0&&this.projectReferences.delete(a)}clearFileFromIndexes(e){let r=this.dependencySources.get(e);if(r){for(let i of r){let s=this.dependencyTargets.get(i);s&&(s.delete(e),s.size===0&&this.dependencyTargets.delete(i))}this.dependencySources.delete(e)}let a=this.dependencyTargets.get(e);if(a){for(let i of a){let s=this.dependencySources.get(i);s&&(s.delete(e),s.size===0&&this.dependencySources.delete(i))}this.dependencyTargets.delete(e)}for(let[i,s]of this.projectReferences.entries())s.delete(e),s.size===0&&this.projectReferences.delete(i)}getBlockingTaskPaths(e){this.indexesBuilt||(console.warn("DependencyCache: getBlockingTaskPaths called before indexes built, building now..."),this.buildIndexesSync());let r=this.dependencySources.get(e);return r?Array.from(r):[]}getBlockedTaskPaths(e){this.indexesBuilt||(console.warn("DependencyCache: getBlockedTaskPaths called before indexes built, building now..."),this.buildIndexesSync());let r=this.dependencyTargets.get(e);return r?Array.from(r):[]}isTaskBlocked(e){var i;let r=this.getBlockingTaskPaths(e);if(r.length===0)return!1;let a=((i=this.fieldMapper)==null?void 0:i.toUserField("status"))||"status";for(let s of r){let o=this.app.vault.getAbstractFileByPath(s);if(!(o instanceof sc.TFile))continue;let l=this.app.metadataCache.getFileCache(o);if(!(l!=null&&l.frontmatter))continue;let c=l.frontmatter[a];if(!c||!this.statusManager.isCompletedStatus(c))return!0}return!1}getTasksReferencingProject(e){this.indexesBuilt||(console.warn("DependencyCache: getTasksReferencingProject called before indexes built, building now..."),this.buildIndexesSync());let r=this.projectReferences.get(e);return r?Array.from(r):[]}isFileUsedAsProject(e){return this.indexesBuilt||(console.warn("DependencyCache: isFileUsedAsProject called before indexes built, building now..."),this.buildIndexesSync()),this.projectReferences.has(e)}buildIndexesSync(){if(this.indexesBuilt)return;let e=this.app.vault.getMarkdownFiles();for(let r of e){let a=this.app.metadataCache.getFileCache(r);!(a!=null&&a.frontmatter)||!this.isTaskFileCallback(a.frontmatter)||this.indexTaskFile(r.path,a.frontmatter)}this.indexesBuilt=!0}destroy(){this.eventListeners.forEach(e=>{this.app.metadataCache.offref(e)}),this.eventListeners=[],this.dependencySources.clear(),this.dependencyTargets.clear(),this.projectReferences.clear(),this.initialized=!1,this.indexesBuilt=!1}};var au=class{constructor(){this.inFlightRequests=new Map;this.prefetchQueue=new Set;this.prefetchPromises=new Map;this.activeTimeouts=new Set}async execute(t,e,r=5e3){if(this.inFlightRequests.has(t))return this.inFlightRequests.get(t);let a=this.createRequest(t,e,r);return this.inFlightRequests.set(t,a),a}async createRequest(t,e,r){try{let a=await e(),i=setTimeout(()=>{this.inFlightRequests.delete(t),this.activeTimeouts.delete(i)},r);return this.activeTimeouts.add(i),a}catch(a){throw this.inFlightRequests.delete(t),a}}prefetch(t,e,r="low"){if(!(this.inFlightRequests.has(t)||this.prefetchPromises.has(t)))if(r==="high")this.executePrefetch(t,e);else if(this.prefetchQueue.add(t),"requestIdleCallback"in window)requestIdleCallback(()=>{this.processPrefetchQueue(t,e)});else{let a=setTimeout(()=>{this.processPrefetchQueue(t,e),this.activeTimeouts.delete(a)},50);this.activeTimeouts.add(a)}}async executePrefetch(t,e){try{let r=e();this.prefetchPromises.set(t,r),await r;let a=setTimeout(()=>{this.prefetchPromises.delete(t),this.activeTimeouts.delete(a)},3e4);this.activeTimeouts.add(a)}catch(r){this.prefetchPromises.delete(t)}}processPrefetchQueue(t,e){this.prefetchQueue.has(t)&&(this.prefetchQueue.delete(t),this.executePrefetch(t,e))}getPrefetchedData(t){return this.prefetchPromises.get(t)||null}cancel(t){this.inFlightRequests.delete(t),this.prefetchPromises.delete(t),this.prefetchQueue.delete(t)}cancelAll(){this.inFlightRequests.clear(),this.prefetchPromises.clear(),this.prefetchQueue.clear();for(let t of this.activeTimeouts)clearTimeout(t);this.activeTimeouts.clear()}getStats(){return{inFlightCount:this.inFlightRequests.size,prefetchCount:this.prefetchPromises.size,queuedCount:this.prefetchQueue.size}}},ub=class{constructor(t){this.lastAccessTime=new Map;this.deduplicator=t}recordAccess(t,e,r){let a=this.getDateKey(t);this.lastAccessTime.set(a,Date.now()),this.prefetchAdjacentDates(t,e,r)}prefetchAdjacentDates(t,e,r){this.getAdjacentDates(t).forEach(({date:i,priority:s})=>{let o=`${e}-${this.getDateKey(i)}`;this.deduplicator.prefetch(o,()=>r(i),s)})}getAdjacentDates(t){let e=[],r=new Date(t);r.setDate(t.getDate()-1),e.push({date:r,priority:"high"});let a=new Date(t);a.setDate(t.getDate()+1),e.push({date:a,priority:"high"});for(let i=2;i<=7;i++){let s=new Date(t);s.setDate(t.getDate()-i),e.push({date:s,priority:"low"});let o=new Date(t);o.setDate(t.getDate()+i),e.push({date:o,priority:"low"})}return e}getDateKey(t){return t.toISOString().split("T")[0]}cleanup(){let t=Date.now(),e=1440*60*1e3;for(let[r,a]of this.lastAccessTime)t-a>e&&this.lastAccessTime.delete(r)}};var iu=class{constructor(){this.updateQueue=[];this.isProcessing=!1;this.activeTimeouts=new Set}scheduleUpdate(t){this.updateQueue.push(t),this.isProcessing||(this.isProcessing=!0,requestAnimationFrame(()=>{this.processUpdates()}))}processUpdates(){let t=[...this.updateQueue];this.updateQueue=[];try{t.forEach(e=>{try{e()}catch(r){console.error("Error processing DOM update:",r)}})}finally{this.isProcessing=!1,this.updateQueue.length>0&&requestAnimationFrame(()=>{this.processUpdates()})}}updateAttributes(t,e){for(let[r,a]of Object.entries(e))a===null?t.removeAttribute(r):t.getAttribute(r)!==a&&t.setAttribute(r,a)}updateClasses(t,e){for(let[r,a]of Object.entries(e))a?t.classList.add(r):t.classList.remove(r)}updateTextContent(t,e){t.textContent!==e&&(t.textContent=e)}updateStyles(t,e){for(let[r,a]of Object.entries(e))a===null?t.style.removeProperty(r):t.style.setProperty(r,a)}preserveState(t){let e={scrollTop:t.scrollTop,scrollLeft:t.scrollLeft,focused:document.activeElement===t,selection:null};return(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&(e.selection={start:t.selectionStart||0,end:t.selectionEnd||0}),e}restoreState(t,e){t.scrollTop=e.scrollTop,t.scrollLeft=e.scrollLeft,e.focused&&t.focus(),e.selection&&(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement)&&t.setSelectionRange(e.selection.start,e.selection.end)}animateUpdate(t,e,r=1500){t.classList.add(`task-${e}`);let a=setTimeout(()=>{t.classList.remove(`task-${e}`),this.activeTimeouts.delete(a)},r);this.activeTimeouts.add(a)}updateList(t,e,r,a,i){let s=new Map,o=new Set;Array.from(t.children).forEach(d=>{let u=d.dataset.key;u&&(s.set(u,d),o.add(u))});let l=new Set(e.map(r)),c=document.createDocumentFragment();e.forEach(d=>{let u=r(d),p=s.get(u);if(p)i&&i(p,d),c.appendChild(p);else{let m=a(d);m.dataset.key=u,c.appendChild(m)}}),o.forEach(d=>{if(!l.has(d)){let u=s.get(d);u&&u.parentNode&&u.remove()}}),t.replaceChildren(c)}createOptimisticUpdate(t,e,r){return e(t),{commit:()=>{},revert:()=>{r(t)}}}destroy(){this.updateQueue=[],this.isProcessing=!1;for(let t of this.activeTimeouts)clearTimeout(t);this.activeTimeouts.clear()}},pb=class{constructor(){this.stateMap=new Map}saveState(t,e){let r=new iu;this.stateMap.set(t,r.preserveState(e))}restoreState(t,e){let r=this.stateMap.get(t);r&&new iu().restoreState(e,r)}clearState(t){t?this.stateMap.delete(t):this.stateMap.clear()}destroy(){this.stateMap.clear()}};var su=require("obsidian"),Eo=class Eo{constructor(){this.metrics=new Map;this.markers=new Map;this.enabled=!0;this.mutationObservers=new Set;this.performanceObservers=new Set}static getInstance(){return Eo.instance||(Eo.instance=new Eo),Eo.instance}startTimer(t){this.enabled&&this.markers.set(t,performance.now())}endTimer(t){if(!this.enabled)return 0;let e=this.markers.get(t);if(e===void 0)return t.includes("-measure-")||console.warn(`No start marker found for operation: ${t}`),0;let r=performance.now()-e;return this.recordMetric(t,r),this.markers.delete(t),r}async measure(t,e){if(!this.enabled)return e();let r=performance.now();try{return await e()}finally{let a=performance.now()-r;this.recordMetric(t,a)}}measureSync(t,e){if(!this.enabled)return e();let r=performance.now();try{return e()}finally{let a=performance.now()-r;this.recordMetric(t,a)}}recordMetric(t,e){if(!this.enabled)return;this.metrics.has(t)||this.metrics.set(t,[]);let r=this.metrics.get(t);r.push(e),r.length>50&&r.splice(0,r.length-50)}getStats(t){let e=this.metrics.get(t);if(!e||e.length===0)return null;let r=[...e].sort((s,o)=>s-o),a=r.length,i=r.reduce((s,o)=>s+o,0);return{count:a,average:i/a,min:r[0],max:r[a-1],median:r[Math.floor(a/2)],p95:r[Math.floor(a*.95)]}}getAllStats(){let t={};for(let[e]of this.metrics)t[e]=this.getStats(e);return t}logSummary(){if(!this.enabled)return;console.group("[Performance Summary]");let t=this.getAllStats();["cache-file-read","task-list-render","calendar-render","task-update","file-index","dom-update"].forEach(r=>{let a=t[r];a&&console.log(`${r}:`,{average:`${a.average.toFixed(2)}ms`,p95:`${a.p95.toFixed(2)}ms`,count:a.count})}),console.groupEnd()}monitorDOMMutations(t){if(!this.enabled)return()=>{};let e=0,r=performance.now(),a=new MutationObserver(i=>{e+=i.length;let s=performance.now()-r;e>100&&s<1e3&&console.warn(`High DOM mutation rate: ${e} mutations in ${s.toFixed(2)}ms`)});return a.observe(t,{childList:!0,subtree:!0,attributes:!0}),this.mutationObservers.add(a),()=>{a.disconnect(),this.mutationObservers.delete(a),this.recordMetric("dom-mutations",e)}}recordMemoryUsage(t){if(!this.enabled||!("memory"in performance))return;let e=performance.memory,r={used:e.usedJSHeapSize/1024/1024,total:e.totalJSHeapSize/1024/1024,limit:e.jsHeapSizeLimit/1024/1024},a=t?`memory-${t}`:"memory-usage";this.recordMetric(a,r.used),r.used>100&&console.warn(`High memory usage: ${r.used.toFixed(2)}MB`)}trackLongTasks(){if(!this.enabled||!("PerformanceObserver"in window))return()=>{};let t=new PerformanceObserver(e=>{for(let r of e.getEntries())r.duration>50&&(console.warn(`Long task detected: ${r.duration.toFixed(2)}ms`),this.recordMetric("long-task",r.duration))});try{t.observe({entryTypes:["longtask"]}),this.performanceObservers.add(t)}catch(e){console.warn("Long task monitoring not supported")}return()=>{t.disconnect(),this.performanceObservers.delete(t)}}mark(t){if(this.enabled)try{performance.mark(`tasknotes-${t}`)}catch(e){}}measureBetweenMarks(t,e,r){if(this.enabled)try{performance.measure(`tasknotes-${r}`,`tasknotes-${t}`,`tasknotes-${e}`)}catch(a){}}clear(){this.metrics.clear(),this.markers.clear()}destroy(){for(let t of this.mutationObservers)t.disconnect();this.mutationObservers.clear();for(let t of this.performanceObservers)t.disconnect();this.performanceObservers.clear(),this.clear(),Eo.instance=null}setEnabled(t){this.enabled=t,t||this.clear()}exportData(){let t={timestamp:new Date().toISOString(),stats:this.getAllStats(),platform:{isDesktop:su.Platform.isDesktop,isMobile:su.Platform.isMobile,isWin:su.Platform.isWin,isMacOS:su.Platform.isMacOS,isLinux:su.Platform.isLinux},memoryInfo:"memory"in performance?performance.memory:null};return JSON.stringify(t,null,2)}};Eo.instance=null;var px=Eo;var mf=px.getInstance();FS();mx();var mb=class n{constructor(t){this.priorities=t}getPriorityConfig(t){return this.priorities.find(e=>e.value===t)}getPrioritiesByWeight(){return[...this.priorities].sort((t,e)=>e.weight-t.weight)}getPrioritiesByWeightAsc(){return[...this.priorities].sort((t,e)=>t.weight-e.weight)}getNextPriority(t){var i;let e=this.getPrioritiesByWeightAsc(),r=e.findIndex(s=>s.value===t);if(r===-1)return((i=e[0])==null?void 0:i.value)||"normal";let a=(r+1)%e.length;return e[a].value}comparePriorities(t,e){let r=this.getPriorityConfig(t),a=this.getPriorityConfig(e),i=(r==null?void 0:r.weight)||0;return((a==null?void 0:a.weight)||0)-i}getPriorityStyles(){let t=[];for(let e of this.priorities){let r=`--priority-${e.value.replace(/[^a-zA-Z0-9-]/g,"-")}-color`;t.push(`${r}: ${e.color};`)}return`:root { ${t.join(" ")} }`}getAllPriorities(){return[...this.priorities]}updatePriorities(t){this.priorities=t}getHighestPriority(){var e;return(e=this.getPrioritiesByWeight()[0])==null?void 0:e.value}getLowestPriority(){var e;return(e=this.getPrioritiesByWeightAsc()[0])==null?void 0:e.value}getPriorityWeight(t){let e=this.getPriorityConfig(t);return(e==null?void 0:e.weight)||0}isHigherPriority(t,e){return this.comparePriorities(t,e)>0}static validatePriorities(t){let e=[];t.length<1&&e.push("At least 1 priority is required");let r=t.map(c=>c.value),a=new Set(r);r.length!==a.size&&e.push("Priority values must be unique");let i=t.map(c=>c.id),s=new Set(i);i.length!==s.size&&e.push("Priority IDs must be unique");let o=t.map(c=>c.weight),l=new Set(o);o.length!==l.size&&e.push("Priority weights must be unique");for(let c of t){if(!c.value||c.value.trim()===""){e.push("Priority values cannot be empty");break}if(!c.label||c.label.trim()===""){e.push("Priority labels cannot be empty");break}if(!c.color||!c.color.match(/^#[0-9a-fA-F]{6}$/)){e.push("Priority colors must be valid hex colors (#rrggbb)");break}if(typeof c.weight!="number"||c.weight<0){e.push("Priority weights must be non-negative numbers");break}}return{valid:e.length===0,errors:e}}static generatePriorityId(t){let e=new Set(t.map(i=>i.id)),r=1,a=`priority-${r}`;for(;e.has(a);)r++,a=`priority-${r}`;return a}static generatePriorityWeight(t){let e=t.map(r=>r.weight);return e.length===0?1:Math.max(...e)+1}static createDefaultPriority(t){let e=n.generatePriorityId(t),r=n.generatePriorityWeight(t);return{id:e,value:"new-priority",label:"New priority",color:"#808080",weight:r}}};Wn();nb();var Gt=require("obsidian");rr();var $$=require("obsidian");function hb(n,t){let e=jle(n),r=e.frontmatter?Hle(e.frontmatter,t):{},a=zle(e.body,t);return{frontmatter:r,body:a}}function jle(n){var e,r;let t=n.split(`
|
||
`);if(((e=t[0])==null?void 0:e.trim())==="---"){let a=-1;for(let i=1;i<t.length;i++)if(((r=t[i])==null?void 0:r.trim())==="---"){a=i;break}if(a>0){let s=t.slice(1,a).join(`
|
||
`),l=t.slice(a+1).join(`
|
||
`);return{frontmatter:s.trim()||null,body:l}}}return{frontmatter:null,body:n}}function Hle(n,t){try{let e=Ule(n,t),r=(0,$$.parseYaml)(e);return typeof r!="object"||r===null?(console.warn("Template frontmatter did not parse to a valid object"),{}):r}catch(e){return console.error("Error processing template frontmatter:",e),{}}}function zle(n,t){return Wle(n,t)}function Ule(n,t){var u;let e=n,r=new Date,a=t.title||"",i=hf(a)?`"${oc(a)}"`:a;e=e.replace(/\{\{title\}\}/g,i),e=e.replace(/\{\{priority\}\}/g,t.priority||""),e=e.replace(/\{\{status\}\}/g,t.status||"");let s=Array.isArray(t.contexts)?t.contexts.join(", "):"";e=e.replace(/\{\{contexts\}\}/g,s);let o=Array.isArray(t.tags)?t.tags.join(", "):"";e=e.replace(/\{\{tags\}\}/g,o);let l=Array.isArray(t.tags)?t.tags.map(p=>`#${p}`).join(" "):"";e=e.replace(/\{\{hashtags\}\}/g,l),e=e.replace(/\{\{timeEstimate\}\}/g,((u=t.timeEstimate)==null?void 0:u.toString())||""),e=e.replace(/\{\{dueDate\}\}/g,t.dueDate||""),e=e.replace(/\{\{scheduledDate\}\}/g,t.scheduledDate||""),e=e.replace(/\{\{details\}\}/g,t.details||"");let c=t.parentNote||"",d=c?`"${oc(c)}"`:"";if(e=e.replace(/\{\{parentNote\}\}/g,d),e=e.replace(/\{\{date\}\}/g,M(r,"yyyy-MM-dd")),e=e.replace(/\{\{time\}\}/g,M(r,"HH:mm")),"icsEventTitle"in t){let p=t,m=p.icsEventTitle||"",h=hf(m)?`"${oc(m)}"`:m;e=e.replace(/\{\{icsEventTitle\}\}/g,h),e=e.replace(/\{\{icsEventStart\}\}/g,p.icsEventStart||""),e=e.replace(/\{\{icsEventEnd\}\}/g,p.icsEventEnd||"");let f=p.icsEventLocation||"",g=f&&hf(f)?`"${oc(f)}"`:f;e=e.replace(/\{\{icsEventLocation\}\}/g,g);let v=p.icsEventDescription||"",T=v&&hf(v)?`"${oc(v)}"`:v;e=e.replace(/\{\{icsEventDescription\}\}/g,T),e=e.replace(/\{\{icsEventUrl\}\}/g,p.icsEventUrl||"");let k=p.icsEventSubscription||"",w=k&&hf(k)?`"${oc(k)}"`:k;e=e.replace(/\{\{icsEventSubscription\}\}/g,w);let S=p.icsEventId||"",x=S?`"${oc(S)}"`:"";e=e.replace(/\{\{icsEventId\}\}/g,x)}return e}function hf(n){if(!n)return!1;let t=/[[\]{}:>|*&!%#`@,]/,e=/^[-?]/,r=/^\d+\.?\d*$/,a=/^(true|false|yes|no|on|off)$/i;return t.test(n)||e.test(n)||r.test(n)||a.test(n)}function oc(n){return n?n.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):""}function Wle(n,t){var o;let e=n,r=new Date;e=e.replace(/\{\{title\}\}/g,t.title||""),e=e.replace(/\{\{priority\}\}/g,t.priority||""),e=e.replace(/\{\{status\}\}/g,t.status||"");let a=Array.isArray(t.contexts)?t.contexts.join(", "):"";e=e.replace(/\{\{contexts\}\}/g,a);let i=Array.isArray(t.tags)?t.tags.join(", "):"";e=e.replace(/\{\{tags\}\}/g,i);let s=Array.isArray(t.tags)?t.tags.map(l=>`#${l}`).join(" "):"";if(e=e.replace(/\{\{hashtags\}\}/g,s),e=e.replace(/\{\{timeEstimate\}\}/g,((o=t.timeEstimate)==null?void 0:o.toString())||""),e=e.replace(/\{\{dueDate\}\}/g,t.dueDate||""),e=e.replace(/\{\{scheduledDate\}\}/g,t.scheduledDate||""),e=e.replace(/\{\{details\}\}/g,t.details||""),e=e.replace(/\{\{parentNote\}\}/g,t.parentNote||""),e=e.replace(/\{\{date\}\}/g,M(r,"yyyy-MM-dd")),e=e.replace(/\{\{time\}\}/g,M(r,"HH:mm")),"icsEventTitle"in t){let l=t;e=e.replace(/\{\{icsEventTitle\}\}/g,l.icsEventTitle||""),e=e.replace(/\{\{icsEventStart\}\}/g,l.icsEventStart||""),e=e.replace(/\{\{icsEventEnd\}\}/g,l.icsEventEnd||""),e=e.replace(/\{\{icsEventLocation\}\}/g,l.icsEventLocation||""),e=e.replace(/\{\{icsEventDescription\}\}/g,l.icsEventDescription||""),e=e.replace(/\{\{icsEventUrl\}\}/g,l.icsEventUrl||""),e=e.replace(/\{\{icsEventSubscription\}\}/g,l.icsEventSubscription||""),e=e.replace(/\{\{icsEventId\}\}/g,l.icsEventId||"")}return e}function Y$(n,t){return{...t,...n}}Dr();vd();Ke();rr();function fb(n,t={}){if(!n)return n;let{date:e=new Date,taskData:r,icsData:a,extractProjectBasename:i}=t,s=n;if(r){let c=Array.isArray(r.contexts)&&r.contexts.length>0?r.contexts[0]:"";s=s.replace(/\{\{context\}\}/g,c);let d=Array.isArray(r.projects)&&r.projects.length>0?i?i(r.projects[0]):r.projects[0]:"";s=s.replace(/\{\{project\}\}/g,d);let u=Array.isArray(r.projects)&&r.projects.length>0?r.projects.map(z=>i?i(z):z).join("/"):"";s=s.replace(/\{\{projects\}\}/g,u);let p=Array.isArray(r.contexts)&&r.contexts.length>0?r.contexts.join("/"):"";s=s.replace(/\{\{contexts\}\}/g,p);let m=r.priority||"";s=s.replace(/\{\{priority\}\}/g,m);let h=r.status||"";s=s.replace(/\{\{status\}\}/g,h);let f=r.title?r.title.replace(/[<>:"/\\|?*]/g,"_"):"";s=s.replace(/\{\{title\}\}/g,f);let g=r.due||"";s=s.replace(/\{\{dueDate\}\}/g,g);let v=r.scheduled||"";s=s.replace(/\{\{scheduledDate\}\}/g,v);let T=m?m.substring(0,1).toUpperCase():"";s=s.replace(/\{\{priorityShort\}\}/g,T);let k=h?h.substring(0,1).toUpperCase():"";s=s.replace(/\{\{statusShort\}\}/g,k);let w=f?f.toLowerCase():"";s=s.replace(/\{\{titleLower\}\}/g,w);let S=f?f.toUpperCase():"";s=s.replace(/\{\{titleUpper\}\}/g,S);let x=f?f.toLowerCase().replace(/\s+/g,"_"):"";s=s.replace(/\{\{titleSnake\}\}/g,x);let I=f?f.toLowerCase().replace(/\s+/g,"-"):"";s=s.replace(/\{\{titleKebab\}\}/g,I);let A=f?f.replace(/(?:^\w|[A-Z]|\b\w)/g,(z,U)=>U===0?z.toLowerCase():z.toUpperCase()).replace(/\s+/g,""):"";s=s.replace(/\{\{titleCamel\}\}/g,A);let B=f?f.replace(/(?:^\w|[A-Z]|\b\w)/g,z=>z.toUpperCase()).replace(/\s+/g,""):"";s=s.replace(/\{\{titlePascal\}\}/g,B)}if(a){let c=a.title?a.title.replace(/[<>:"/\\|?*]/g,"_"):"";s=s.replace(/\{\{icsEventTitle\}\}/g,c);let d=c?c.toLowerCase():"";s=s.replace(/\{\{icsEventTitleLower\}\}/g,d);let u=c?c.toUpperCase():"";s=s.replace(/\{\{icsEventTitleUpper\}\}/g,u);let p=c?c.toLowerCase().replace(/\s+/g,"_"):"";s=s.replace(/\{\{icsEventTitleSnake\}\}/g,p);let m=c?c.toLowerCase().replace(/\s+/g,"-"):"";s=s.replace(/\{\{icsEventTitleKebab\}\}/g,m);let h=c?c.replace(/(?:^\w|[A-Z]|\b\w)/g,(T,k)=>k===0?T.toLowerCase():T.toUpperCase()).replace(/\s+/g,""):"";s=s.replace(/\{\{icsEventTitleCamel\}\}/g,h);let f=c?c.replace(/(?:^\w|[A-Z]|\b\w)/g,T=>T.toUpperCase()).replace(/\s+/g,""):"";s=s.replace(/\{\{icsEventTitlePascal\}\}/g,f);let g=a.location?a.location.replace(/[<>:"/\\|?*]/g,"_"):"";s=s.replace(/\{\{icsEventLocation\}\}/g,g);let v=a.description?a.description.replace(/[<>:"/\\|?*]/g,"_"):"";s=s.replace(/\{\{icsEventDescription\}\}/g,v)}s=s.replace(/\{\{year\}\}/g,M(e,"yyyy")),s=s.replace(/\{\{month\}\}/g,M(e,"MM")),s=s.replace(/\{\{day\}\}/g,M(e,"dd")),s=s.replace(/\{\{date\}\}/g,M(e,"yyyy-MM-dd")),s=s.replace(/\{\{time\}\}/g,M(e,"HHmmss")),s=s.replace(/\{\{timestamp\}\}/g,M(e,"yyyy-MM-dd-HHmmss")),s=s.replace(/\{\{dateTime\}\}/g,M(e,"yyyy-MM-dd-HHmm")),s=s.replace(/\{\{hour\}\}/g,M(e,"HH")),s=s.replace(/\{\{minute\}\}/g,M(e,"mm")),s=s.replace(/\{\{second\}\}/g,M(e,"ss")),s=s.replace(/\{\{shortDate\}\}/g,M(e,"yyMMdd")),s=s.replace(/\{\{monthName\}\}/g,M(e,"MMMM")),s=s.replace(/\{\{monthNameShort\}\}/g,M(e,"MMM")),s=s.replace(/\{\{dayName\}\}/g,M(e,"EEEE")),s=s.replace(/\{\{dayNameShort\}\}/g,M(e,"EEE")),s=s.replace(/\{\{week\}\}/g,M(e,"ww")),s=s.replace(/\{\{quarter\}\}/g,M(e,"q")),s=s.replace(/\{\{time12\}\}/g,M(e,"hh:mm a")),s=s.replace(/\{\{time24\}\}/g,M(e,"HH:mm")),s=s.replace(/\{\{hourPadded\}\}/g,M(e,"HH")),s=s.replace(/\{\{hour12\}\}/g,M(e,"hh")),s=s.replace(/\{\{ampm\}\}/g,M(e,"a")),s=s.replace(/\{\{unix\}\}/g,Math.floor(e.getTime()/1e3).toString()),s=s.replace(/\{\{unixMs\}\}/g,e.getTime().toString()),s=s.replace(/\{\{milliseconds\}\}/g,M(e,"SSS")),s=s.replace(/\{\{ms\}\}/g,M(e,"SSS")),s=s.replace(/\{\{timezone\}\}/g,M(e,"xxx")),s=s.replace(/\{\{timezoneShort\}\}/g,M(e,"xx")),s=s.replace(/\{\{utcOffset\}\}/g,M(e,"xxx")),s=s.replace(/\{\{utcOffsetShort\}\}/g,M(e,"xx")),s=s.replace(/\{\{utcZ\}\}/g,"Z");let o=(()=>{let c=M(e,"yyMMdd"),d=new Date(e);d.setHours(0,0,0,0);let p=Math.floor((e.getTime()-d.getTime())/1e3).toString(36);return`${c}${p}`})();s=s.replace(/\{\{zettel\}\}/g,o);let l=Date.now().toString()+Math.random().toString(36).substring(2,7);return s=s.replace(/\{\{nano\}\}/g,l),s}var gb=class{constructor(t){this.plugin=t}translate(t,e){return this.plugin.i18n.translate(t,e)}sanitizeTitle(t){if(!t||typeof t!="string")return"untitled";try{let e=t.trim().replace(/\s+/g," ").replace(/[<>:"/\\|?*#[\]]/g,"").replace(/./g,r=>{let a=r.charCodeAt(0);return a<=31||a>=127&&a<=159?"":r}).replace(/^\.+|\.+$/g,"").trim();return(!e||e.length===0)&&(e="untitled"),e}catch(e){return console.error("Error sanitizing title:",e),"untitled"}}setWebhookNotifier(t){this.webhookNotifier=t}setAutoArchiveService(t){this.autoArchiveService=t}processFolderTemplate(t,e,r=new Date){let a=e?{title:e.title,priority:e.priority,status:e.status,contexts:e.contexts,projects:e.projects,due:e.due,scheduled:e.scheduled}:void 0;return fb(t,{date:r,taskData:a,extractProjectBasename:i=>this.extractProjectBasename(i)})}async createTask(t,e={}){var a;let{applyDefaults:r=!0}=e;try{if(r&&(t=await this.applyTaskCreationDefaults(t)),!t.title||!t.title.trim())throw new Error("Title is required");let i=this.sanitizeTitle(t.title.trim()),s=t.priority||this.plugin.settings.defaultTaskPriority,o=t.status||this.plugin.settings.defaultTaskStatus,l=t.dateCreated||Oe(),c=t.dateModified||Oe(),d=t.contexts||[],u=t.projects||[],p=t.tags||[];this.plugin.settings.taskIdentificationMethod==="tag"&&(p.includes(this.plugin.settings.taskTag)||(p=[this.plugin.settings.taskTag,...p]));let m={title:i,priority:s,status:o,date:new Date,dueDate:t.due,scheduledDate:t.scheduled},h=rb(m,this.plugin.settings),f="";if(t.creationContext==="inline-conversion"){let U=this.plugin.settings.inlineTaskConvertFolder||"";if(U.trim()){if(f=U,U.includes("{{currentNotePath}}")||U.includes("{{currentNoteTitle}}")){let N=this.plugin.app.workspace.getActiveFile();if(U.includes("{{currentNotePath}}")){let P=((a=N==null?void 0:N.parent)==null?void 0:a.path)||"";f=f.replace(/\{\{currentNotePath\}\}/g,P)}if(U.includes("{{currentNoteTitle}}")){let P=(N==null?void 0:N.basename)||"";f=f.replace(/\{\{currentNoteTitle\}\}/g,P)}}f=this.processFolderTemplate(f,t)}else{let N=this.plugin.settings.tasksFolder||"";f=this.processFolderTemplate(N,t)}}else{let U=this.plugin.settings.tasksFolder||"";f=this.processFolderTemplate(U,t)}f&&await Al(this.plugin.app.vault,f);let g=await uf(h,f,this.plugin.app.vault),v=f?`${f}/${g}.md`:`${g}.md`,T={title:i,status:o,priority:s,due:t.due||void 0,scheduled:t.scheduled||void 0,contexts:d.length>0?d:void 0,projects:u.length>0?u:void 0,timeEstimate:t.timeEstimate&&t.timeEstimate>0?t.timeEstimate:void 0,dateCreated:l,dateModified:c,recurrence:t.recurrence||void 0,recurrence_anchor:t.recurrence_anchor||void 0,reminders:t.reminders&&t.reminders.length>0?t.reminders:void 0,icsEventId:t.icsEventId||void 0},k=this.plugin.fieldMapper.mapToFrontmatter(T,this.plugin.settings.taskTag,this.plugin.settings.storeTitleInFilename);if(this.plugin.settings.taskIdentificationMethod==="property"){let U=this.plugin.settings.taskPropertyName,N=this.plugin.settings.taskPropertyValue;if(U&&N){let _=N.toLowerCase(),Y=_==="true"||_==="false"?_==="true":N;k[U]=Y}let P=p.filter(_=>_!==this.plugin.settings.taskTag);P.length>0&&(k.tags=P)}else k.tags=p;let w=await this.applyTemplate(t),S=w.body?w.body.replace(/\r\n/g,`
|
||
`).trimEnd():t.details?t.details.replace(/\r\n/g,`
|
||
`).trimEnd():"",x=Y$(k,w.frontmatter);t.customFrontmatter&&(x={...x,...t.customFrontmatter});let A=`---
|
||
${(0,Gt.stringifyYaml)(x)}---
|
||
|
||
`;S.length>0&&(A+=`${S}
|
||
`);let B=await this.plugin.app.vault.create(v,A),z={...T,...x,title:x.title||T.title||i,status:x.status||T.status||o,priority:x.priority||T.priority||s,path:B.path,tags:p,archived:!1,details:S};try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(B),this.plugin.cacheManager.updateTaskInfoInCache(B.path,z)}catch(U){console.error("Error updating cache for new task:",U)}if(this.plugin.emitter.trigger(gt,{path:B.path,updatedTask:z}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("task.created",{task:z})}catch(U){console.warn("Failed to trigger webhook for task creation:",U)}return{file:B,taskInfo:z}}catch(i){let s=i instanceof Error?i.message:String(i);throw console.error("Error creating task:",{error:s,stack:i instanceof Error?i.stack:void 0,taskData:t}),new Error(`Failed to create task: ${s}`)}}async applyTemplate(t){var r,a,i,s;let e=this.plugin.settings.taskCreationDefaults;if(!e.useBodyTemplate||!((r=e.bodyTemplate)!=null&&r.trim()))return{frontmatter:{},body:((a=t.details)==null?void 0:a.trim())||""};try{let o=(0,Gt.normalizePath)(e.bodyTemplate.trim());o.endsWith(".md")||(o+=".md");let l=this.plugin.app.vault.getAbstractFileByPath(o);if(l instanceof Gt.TFile){let c=await this.plugin.app.vault.read(l),d={title:t.title||"",priority:t.priority||"",status:t.status||"",contexts:Array.isArray(t.contexts)?t.contexts:[],tags:Array.isArray(t.tags)?t.tags:[],timeEstimate:t.timeEstimate||0,dueDate:t.due||"",scheduledDate:t.scheduled||"",details:t.details||"",parentNote:t.parentNote||""};return hb(c,d)}else return console.warn(`Task body template not found: ${o}`),new Gt.Notice(this.translate("services.task.notices.templateNotFound",{path:o})),{frontmatter:{},body:((i=t.details)==null?void 0:i.trim())||""}}catch(o){return console.error("Error reading task body template:",o),new Gt.Notice(this.translate("services.task.notices.templateReadError",{template:e.bodyTemplate})),{frontmatter:{},body:((s=t.details)==null?void 0:s.trim())||""}}}async applyTaskCreationDefaults(t){let e=this.plugin.settings.taskCreationDefaults,r={...t};if(!r.due&&e.defaultDueDate!=="none"&&(r.due=ba(e.defaultDueDate)),!r.scheduled&&e.defaultScheduledDate!=="none"&&(r.scheduled=ba(e.defaultScheduledDate)),!r.contexts&&e.defaultContexts&&(r.contexts=e.defaultContexts.split(",").map(i=>i.trim()).filter(i=>i)),!r.projects&&e.defaultProjects&&(r.projects=e.defaultProjects.split(",").map(i=>i.trim()).filter(i=>i)),!r.tags&&e.defaultTags&&(r.tags=e.defaultTags.split(",").map(i=>i.trim()).filter(i=>i)),!r.timeEstimate&&e.defaultTimeEstimate>0&&(r.timeEstimate=e.defaultTimeEstimate),!r.recurrence&&e.defaultRecurrence&&e.defaultRecurrence!=="none"){let i={daily:"FREQ=DAILY",weekly:"FREQ=WEEKLY",monthly:"FREQ=MONTHLY",yearly:"FREQ=YEARLY"};r.recurrence=i[e.defaultRecurrence]||void 0}if(!r.reminders&&e.defaultReminders&&e.defaultReminders.length>0){let{convertDefaultRemindersToReminders:i}=await Promise.resolve().then(()=>(ib(),ab));r.reminders=i(e.defaultReminders)}let a=this.plugin.settings.userFields;if(a&&a.length>0){r.customFrontmatter||(r.customFrontmatter={});for(let i of a)if(i.defaultValue!==void 0&&r.customFrontmatter[i.key]===void 0)if(i.type==="date"&&typeof i.defaultValue=="string"){let s=ba(i.defaultValue);s&&(r.customFrontmatter[i.key]=s)}else r.customFrontmatter[i.key]=i.defaultValue}return r}async toggleStatus(t){try{let r=this.plugin.statusManager.isCompletedStatus(t.status)?this.plugin.settings.defaultTaskStatus:this.plugin.statusManager.getCompletedStatuses()[0]||"done";return await this.updateProperty(t,"status",r)}catch(e){let r=e instanceof Error?e.message:String(e);throw console.error("Error toggling task status:",{error:r,stack:e instanceof Error?e.stack:void 0,taskPath:t.path,currentStatus:t.status}),new Error(`Failed to toggle task status: ${r}`)}}async updateProperty(t,e,r,a={}){try{let i=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(i instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);let s=await this.plugin.cacheManager.getTaskInfo(t.path)||t,o={...s};o[e]=r,o.dateModified=Oe(),e==="status"&&!s.recurrence&&(this.plugin.statusManager.isCompletedStatus(r)?o.completedDate=Tp():o.completedDate=void 0),await this.plugin.app.fileManager.processFrontMatter(i,l=>{let c=this.plugin.fieldMapper.toUserField(e);if(e==="status"){let u=String(r).toLowerCase(),p=u==="true"||u==="false"?u==="true":r;l[c]=p,this.updateCompletedDateInFrontmatter(l,r,!!s.recurrence)}else(e==="due"||e==="scheduled")&&!r?delete l[c]:l[c]=r;let d=this.plugin.fieldMapper.toUserField("dateModified");l[d]=o.dateModified});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(i),this.plugin.cacheManager.updateTaskInfoInCache(t.path,o)}catch(l){console.error("Error updating task cache:",{error:l instanceof Error?l.message:String(l),taskPath:t.path})}try{if(this.plugin.emitter.trigger(gt,{path:t.path,originalTask:t,updatedTask:o}),e==="status"){let l=this.plugin.statusManager.isCompletedStatus(t.status),c=this.plugin.statusManager.isCompletedStatus(r);if(l!==c){let d=this.plugin.cacheManager.getBlockedTaskPaths(t.path);for(let u of d)try{let p=await this.plugin.cacheManager.getTaskInfo(u);p&&this.plugin.emitter.trigger(gt,{path:u,originalTask:p,updatedTask:p})}catch(p){console.error(`Error triggering update for dependent task ${u}:`,p)}}}}catch(l){console.error("Error emitting task update event:",{error:l instanceof Error?l.message:String(l),taskPath:t.path})}if(this.webhookNotifier)try{let l=this.plugin.statusManager.isCompletedStatus(t.status),c=e==="status"&&this.plugin.statusManager.isCompletedStatus(r);e==="status"&&!l&&c?await this.webhookNotifier.triggerWebhook("task.completed",{task:o}):await this.webhookNotifier.triggerWebhook("task.updated",{task:o,previous:t})}catch(l){console.warn("Failed to trigger webhook for property update:",l)}if(this.autoArchiveService&&e==="status"&&r!==t.status)try{let l=this.plugin.statusManager.getStatusConfig(r);l&&(l.autoArchive?await this.autoArchiveService.scheduleAutoArchive(o,l):await this.autoArchiveService.cancelAutoArchive(o.path))}catch(l){console.warn("Failed to handle auto-archive for status property change:",l)}return o}catch(i){let s=i instanceof Error?i.message:String(i);throw console.error("Error updating task property:",{error:s,stack:i instanceof Error?i.stack:void 0,taskPath:t.path,property:String(e),value:r}),new Error(`Failed to update task property: ${s}`)}}async toggleArchive(t){var o,l;let e=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(e instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);let r=this.plugin.fieldMapper.getMapping().archiveTag,a=t.archived,i={...t};i.archived=!a,i.dateModified=Oe(),i.tags||(i.tags=[]),a?i.tags=i.tags.filter(c=>c!==r):i.tags.includes(r)||(i.tags=[...i.tags,r]),await this.plugin.app.fileManager.processFrontMatter(e,c=>{let d=this.plugin.fieldMapper.toUserField("dateModified");a?c.tags&&Array.isArray(c.tags)&&(c.tags=c.tags.filter(u=>u!==r),c.tags.length===0&&delete c.tags):(c.tags?Array.isArray(c.tags)||(c.tags=[c.tags]):c.tags=[],c.tags.includes(r)||c.tags.push(r)),c[d]=i.dateModified});let s=e;if(this.plugin.settings.moveArchivedTasks)try{if(!a&&((o=this.plugin.settings.archiveFolder)!=null&&o.trim())){let c=this.plugin.settings.archiveFolder.trim(),d=this.processFolderTemplate(c,{title:i.title||"",priority:i.priority,status:i.status,contexts:i.contexts,projects:i.projects});await Al(this.plugin.app.vault,d);let u=`${d}/${e.name}`;if(this.plugin.app.vault.getAbstractFileByPath(u))throw new Error(`A file named "${e.name}" already exists in the archive folder "${d}". Cannot move task to avoid overwriting existing file.`);await this.plugin.app.fileManager.renameFile(e,u),s=this.plugin.app.vault.getAbstractFileByPath(u),i.path=u,this.plugin.cacheManager.clearCacheEntry(t.path)}else if(a&&((l=this.plugin.settings.tasksFolder)!=null&&l.trim())){let c=this.plugin.settings.tasksFolder.trim();await Al(this.plugin.app.vault,c);let d=`${c}/${e.name}`;if(this.plugin.app.vault.getAbstractFileByPath(d))throw new Error(`A file named "${e.name}" already exists in the tasks folder "${c}". Cannot move task to avoid overwriting existing file.`);await this.plugin.app.fileManager.renameFile(e,d),s=this.plugin.app.vault.getAbstractFileByPath(d),i.path=d,this.plugin.cacheManager.clearCacheEntry(t.path)}}catch(c){let d=c instanceof Error?c.message:String(c),u=a?"unarchiving":"archiving";console.error(`Error moving ${u} task:`,d),new Gt.Notice(this.translate("services.task.notices.moveTaskFailed",{operation:u,error:d}))}try{s instanceof Gt.TFile&&this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(s),this.plugin.cacheManager.updateTaskInfoInCache(i.path,i)}catch(c){console.error("Error updating cache for archived task:",c)}if(this.plugin.emitter.trigger(gt,{path:i.path,originalTask:t,updatedTask:i}),this.webhookNotifier)try{i.archived?await this.webhookNotifier.triggerWebhook("task.archived",{task:i}):await this.webhookNotifier.triggerWebhook("task.unarchived",{task:i})}catch(c){console.warn("Failed to trigger webhook for task archive/unarchive:",c)}return i}async startTimeTracking(t){var s;let e=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(e instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);if(this.plugin.getActiveTimeSession(t))throw new Error("Time tracking is already active for this task");let a={...t};a.dateModified=Oe(),a.timeEntries||(a.timeEntries=[]);let i={startTime:Oe(),description:"Work session"};a.timeEntries=[...a.timeEntries,i],await this.plugin.app.fileManager.processFrontMatter(e,o=>{let l=this.plugin.fieldMapper.toUserField("timeEntries"),c=this.plugin.fieldMapper.toUserField("dateModified");o[l]||(o[l]=[]),o[l].push(i),o[c]=a.dateModified});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(e),this.plugin.cacheManager.updateTaskInfoInCache(t.path,a)}catch(o){console.error("Error updating cache for time tracking start:",o)}if(this.plugin.emitter.trigger(gt,{path:t.path,originalTask:t,updatedTask:a}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("time.started",{task:a,session:(s=a.timeEntries)==null?void 0:s[a.timeEntries.length-1]})}catch(o){console.warn("Failed to trigger webhook for time tracking start:",o)}return a}async stopTimeTracking(t){var i;let e=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(e instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);let r=this.plugin.getActiveTimeSession(t);if(!r)throw new Error("No active time tracking session for this task");let a={...t};if(a.dateModified=Oe(),a.timeEntries&&Array.isArray(a.timeEntries)){let s=a.timeEntries.findIndex(o=>o.startTime===r.startTime&&!o.endTime);s!==-1&&(a.timeEntries=[...a.timeEntries],a.timeEntries[s]={...a.timeEntries[s],endTime:Oe()})}await this.plugin.app.fileManager.processFrontMatter(e,s=>{let o=this.plugin.fieldMapper.toUserField("timeEntries"),l=this.plugin.fieldMapper.toUserField("dateModified");if(s[o]&&Array.isArray(s[o])){let c=s[o].findIndex(d=>d.startTime===r.startTime&&!d.endTime);c!==-1&&(s[o][c].endTime=Oe())}s[l]=a.dateModified});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(e),this.plugin.cacheManager.updateTaskInfoInCache(t.path,a)}catch(s){console.error("Error updating cache for time tracking stop:",s)}if(this.plugin.emitter.trigger(gt,{path:t.path,originalTask:t,updatedTask:a}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("time.stopped",{task:a,session:(i=a.timeEntries)==null?void 0:i[a.timeEntries.length-1]})}catch(s){console.warn("Failed to trigger webhook for time tracking stop:",s)}return a}async updateTask(t,e){try{let r=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(r instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);let a=this.plugin.settings.storeTitleInFilename&&e.title&&e.title!==t.title,i=t.path;if(a){let c=r.parent?r.parent.path:"",d=await uf(e.title,c,this.plugin.app.vault);i=c?`${c}/${d}.md`:`${d}.md`}let s={};if(e.recurrence!==void 0&&e.recurrence!==t.recurrence){let c={...t,...e},d=Nl(c,this.plugin.settings.maintainDueDateOffsetInRecurring);if(d.scheduled&&(s.scheduled=d.scheduled),d.due&&(s.due=d.due),typeof e.recurrence=="string"&&e.recurrence&&!e.recurrence.includes("DTSTART:")){let u={...t,...e,...s},p=Td(u);p&&(s.recurrence=p)}}else if(e.recurrence!==void 0&&!t.recurrence&&e.recurrence&&typeof e.recurrence=="string"&&!e.recurrence.includes("DTSTART:")){let c={...t,...e},d=Td(c);d&&(s.recurrence=d)}if(e.scheduled!==void 0&&e.scheduled!==t.scheduled&&t.recurrence&&typeof t.recurrence=="string"&&!t.recurrence.includes("DTSTART:")){let c={...t,...e},d=Td(c);d&&(s.recurrence=d)}let o=null;if(Object.prototype.hasOwnProperty.call(e,"details")&&(o=typeof e.details=="string"?e.details.replace(/\r\n/g,`
|
||
`):""),await this.plugin.app.fileManager.processFrontMatter(r,c=>{let d={...t,...e,...s,dateModified:Oe()},u=this.plugin.fieldMapper.mapToFrontmatter(d,this.plugin.settings.taskIdentificationMethod==="tag"?this.plugin.settings.taskTag:void 0,this.plugin.settings.storeTitleInFilename);if(Object.keys(u).forEach(p=>{u[p]!==void 0&&(c[p]=u[p])}),e.status!==void 0&&this.updateCompletedDateInFrontmatter(c,e.status,!!t.recurrence),this.plugin.settings.taskIdentificationMethod==="property"){let p=this.plugin.settings.taskPropertyName,m=this.plugin.settings.taskPropertyValue;if(p&&m){let h=m.toLowerCase(),f=h==="true"||h==="false"?h==="true":m;c[p]=f}}if(e.customFrontmatter&&Object.keys(e.customFrontmatter).forEach(p=>{let m=e.customFrontmatter[p];m===null?delete c[p]:c[p]=m}),e.hasOwnProperty("due")&&e.due===void 0&&delete c[this.plugin.fieldMapper.toUserField("due")],e.hasOwnProperty("scheduled")&&e.scheduled===void 0&&delete c[this.plugin.fieldMapper.toUserField("scheduled")],e.hasOwnProperty("contexts")&&e.contexts===void 0&&delete c[this.plugin.fieldMapper.toUserField("contexts")],e.hasOwnProperty("timeEstimate")&&e.timeEstimate===void 0&&delete c[this.plugin.fieldMapper.toUserField("timeEstimate")],e.hasOwnProperty("completedDate")&&e.completedDate===void 0&&delete c[this.plugin.fieldMapper.toUserField("completedDate")],e.hasOwnProperty("recurrence")&&e.recurrence===void 0&&delete c[this.plugin.fieldMapper.toUserField("recurrence")],e.hasOwnProperty("blockedBy")&&e.blockedBy===void 0&&delete c[this.plugin.fieldMapper.toUserField("blockedBy")],a&&delete c[this.plugin.fieldMapper.toUserField("title")],e.hasOwnProperty("tags")){let p=e.tags;this.plugin.settings.taskIdentificationMethod==="property"&&p&&(p=p.filter(m=>m!==this.plugin.settings.taskTag)),c.tags=p}else if(t.tags){let p=t.tags;this.plugin.settings.taskIdentificationMethod==="property"&&(p=p.filter(m=>m!==this.plugin.settings.taskTag)),c.tags=p}}),a&&await this.plugin.app.fileManager.renameFile(r,i),o!==null){let c=this.plugin.app.vault.getAbstractFileByPath(i);if(c instanceof Gt.TFile){let d=await this.plugin.app.vault.read(c),{frontmatter:u}=Up(d),p=u!==null?`---
|
||
${u}
|
||
---
|
||
|
||
`:"",m=o.trimEnd(),h=m.length>0?`${m}
|
||
`:"";await this.plugin.app.vault.modify(c,`${p}${h}`)}}let l={...t,...e,...s,path:i,dateModified:Oe()};o!==null&&(l.details=o),e.status!==void 0&&!t.recurrence&&(this.plugin.statusManager.isCompletedStatus(e.status)?t.completedDate||(l.completedDate=Tp()):l.completedDate=void 0),a&&this.plugin.cacheManager.clearCacheEntry(t.path);try{let c=this.plugin.app.vault.getAbstractFileByPath(i);if(c instanceof Gt.TFile&&this.plugin.cacheManager.waitForFreshTaskData){let d={};e.title!==void 0&&(d.title=e.title),e.status!==void 0&&(d.status=e.status),e.priority!==void 0&&(d.priority=e.priority),Object.keys(d).length>0&&await this.plugin.cacheManager.waitForFreshTaskData(c)}this.plugin.cacheManager.updateTaskInfoInCache(i,l)}catch(c){console.error("Error updating task cache:",{error:c instanceof Error?c.message:String(c),taskPath:i})}try{this.plugin.emitter.trigger(gt,{path:i,originalTask:t,updatedTask:l})}catch(c){console.error("Error emitting task update event:",{error:c instanceof Error?c.message:String(c),taskPath:i})}if(this.webhookNotifier)try{let c=this.plugin.statusManager.isCompletedStatus(t.status),d=this.plugin.statusManager.isCompletedStatus(l.status);!c&&d?await this.webhookNotifier.triggerWebhook("task.completed",{task:l}):await this.webhookNotifier.triggerWebhook("task.updated",{task:l,previous:t})}catch(c){console.warn("Failed to trigger webhook for task update:",c)}if(this.autoArchiveService&&e.status!==void 0&&e.status!==t.status)try{let c=this.plugin.statusManager.getStatusConfig(l.status);c&&(c.autoArchive?await this.autoArchiveService.scheduleAutoArchive(l,c):await this.autoArchiveService.cancelAutoArchive(l.path))}catch(c){console.warn("Failed to handle auto-archive for status change:",c)}return l}catch(r){let a=r instanceof Error?r.message:String(r);throw console.error("Error updating task:",{error:a,stack:r instanceof Error?r.stack:void 0,taskPath:t.path,updates:e}),new Error(`Failed to update task: ${a}`)}}async updateBlockingRelationships(t,e,r,a={}){let i=Array.from(new Set(r)),s=Array.from(new Set(e));for(let o of i){let l=await this.plugin.cacheManager.getTaskInfo(o);if(!l)continue;let c=this.computeBlockedByUpdate(l,t.path,"remove");if(c===null)continue;let d={blockedBy:c.length>0?c:void 0};await this.updateTask(l,d)}for(let o of s){let l=await this.plugin.cacheManager.getTaskInfo(o);if(!l)continue;let c=this.computeBlockedByUpdate(l,t.path,"add",a[o]);c!==null&&await this.updateTask(l,{blockedBy:c})}}computeBlockedByUpdate(t,e,r,a){var c;let i=Array.isArray(t.blockedBy)?t.blockedBy.map(d=>lo(d)).filter(d=>!!d):[];if(i.length===0&&r==="remove")return null;let s=!1,o=!1,l=[];for(let d of i){let u=Pl(this.plugin.app,t.path,d);if(u&&u.path===e&&(o=!0,r==="remove")){s=!0;continue}l.push(d)}if(r==="add"&&!o){let d=a?lo(a):null,p={uid:Yn(this.plugin.app,t.path,e,this.plugin.settings.useFrontmatterMarkdownLinks),reltype:(c=d==null?void 0:d.reltype)!=null?c:$n};d!=null&&d.gap&&(p.gap=d.gap),l.push(p),s=!0}return s?l:null}async deleteTask(t){try{let e=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(e instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);if(await this.plugin.app.vault.delete(e),this.plugin.cacheManager.clearCacheEntry(t.path),this.plugin.emitter.trigger(pd,{path:t.path,deletedTask:t}),this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("task.deleted",{task:t})}catch(r){console.warn("Failed to trigger webhook for task deletion:",r)}}catch(e){let r=e instanceof Error?e.message:String(e);throw console.error("Error deleting task:",{error:r,stack:e instanceof Error?e.stack:void 0,taskPath:t.path}),new Error(`Failed to delete task: ${r}`)}}async toggleRecurringTaskComplete(t,e){let r=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(r instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);let a=await this.plugin.cacheManager.getTaskInfo(t.path)||t;if(!a.recurrence)throw new Error("Task is not recurring");let i=e||(()=>{let p=ft();return mt(p)})(),s=le(i),o=Array.isArray(a.complete_instances)?a.complete_instances:[],c=!o.includes(s),d={...a};if(d.dateModified=Oe(),c){o.includes(s)||(d.complete_instances=[...o,s]);let p=Array.isArray(a.skipped_instances)?a.skipped_instances:[];d.skipped_instances=p.filter(m=>m!==s)}else{d.complete_instances=o.filter(m=>m!==s);let p=Array.isArray(a.skipped_instances)?a.skipped_instances:[];d.skipped_instances=p.filter(m=>m!==s)}if(c&&typeof d.recurrence=="string"){if((d.recurrence_anchor||"scheduled")==="completion"){let m=jS(d.recurrence,s);m&&(d.recurrence=m)}else if(!d.recurrence.includes("DTSTART:")){let m=Td(d);m&&(d.recurrence=m)}}let u=Nl(d,this.plugin.settings.maintainDueDateOffsetInRecurring);u.scheduled&&(d.scheduled=u.scheduled),u.due&&(d.due=u.due),await this.plugin.app.fileManager.processFrontMatter(r,p=>{let m=this.plugin.fieldMapper.toUserField("completeInstances"),h=this.plugin.fieldMapper.toUserField("skippedInstances"),f=this.plugin.fieldMapper.toUserField("dateModified"),g=this.plugin.fieldMapper.toUserField("scheduled"),v=this.plugin.fieldMapper.toUserField("due"),T=this.plugin.fieldMapper.toUserField("recurrence");p[m]||(p[m]=[]),p[h]||(p[h]=[]);let k=p[m];c?k.includes(s)||(p[m]=[...k,s]):p[m]=k.filter(w=>w!==s),p[h]=d.skipped_instances||[],d.recurrence!==a.recurrence&&(p[T]=d.recurrence),d.scheduled&&(p[g]=d.scheduled),d.due&&(p[v]=d.due),p[f]=d.dateModified});try{if(this.plugin.cacheManager.waitForFreshTaskData){let p={complete_instances:d.complete_instances};d.scheduled!==a.scheduled&&(p.scheduled=d.scheduled),d.due!==a.due&&(p.due=d.due),await this.plugin.cacheManager.waitForFreshTaskData(r)}this.plugin.cacheManager.updateTaskInfoInCache(a.path,d)}catch(p){console.error("Error updating cache for recurring task:",p)}if(this.plugin.emitter.trigger(gt,{path:a.path,originalTask:a,updatedTask:d}),c&&this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("recurring.instance.completed",{task:d,date:s,targetDate:i})}catch(p){console.error("Error triggering recurring task completion webhook:",p)}return d}async toggleRecurringTaskSkipped(t,e){let r=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(r instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);let a=await this.plugin.cacheManager.getTaskInfo(t.path)||t;if(!a.recurrence)throw new Error("Task is not recurring");let i=e||(()=>{let p=ft();return mt(p)})(),s=le(i),o=Array.isArray(a.skipped_instances)?a.skipped_instances:[],c=!o.includes(s),d={...a};if(d.dateModified=Oe(),c){o.includes(s)||(d.skipped_instances=[...o,s]);let p=Array.isArray(a.complete_instances)?a.complete_instances:[];d.complete_instances=p.filter(m=>m!==s)}else d.skipped_instances=o.filter(p=>p!==s);let u=Nl(d,this.plugin.settings.maintainDueDateOffsetInRecurring);u.scheduled&&(d.scheduled=u.scheduled),u.due&&(d.due=u.due),await this.plugin.app.fileManager.processFrontMatter(r,p=>{let m=this.plugin.fieldMapper.toUserField("skippedInstances"),h=this.plugin.fieldMapper.toUserField("completeInstances"),f=this.plugin.fieldMapper.toUserField("dateModified"),g=this.plugin.fieldMapper.toUserField("scheduled"),v=this.plugin.fieldMapper.toUserField("due");p[m]||(p[m]=[]),p[m]=d.skipped_instances||[],p[h]||(p[h]=[]),p[h]=d.complete_instances||[],d.scheduled&&(p[g]=d.scheduled),d.due&&(p[v]=d.due),p[f]=d.dateModified});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(r),this.plugin.cacheManager.updateTaskInfoInCache(a.path,d)}catch(p){console.error("Error updating cache for skipped recurring task:",p)}if(this.plugin.emitter.trigger(gt,{path:a.path,originalTask:a,updatedTask:d}),c&&this.webhookNotifier)try{await this.webhookNotifier.triggerWebhook("recurring.instance.skipped",{task:d,date:s,targetDate:i})}catch(p){console.error("Error triggering recurring task skip webhook:",p)}return d}async deleteTimeEntry(t,e){let r=this.plugin.app.vault.getAbstractFileByPath(t.path);if(!(r instanceof Gt.TFile))throw new Error(`Cannot find task file: ${t.path}`);if(!t.timeEntries||!Array.isArray(t.timeEntries))throw new Error("Task has no time entries");if(e<0||e>=t.timeEntries.length)throw new Error("Invalid time entry index");let a={...t};a.dateModified=Oe(),a.timeEntries=t.timeEntries.filter((i,s)=>s!==e),await this.plugin.app.fileManager.processFrontMatter(r,i=>{let s=this.plugin.fieldMapper.toUserField("timeEntries"),o=this.plugin.fieldMapper.toUserField("dateModified");i[s]&&Array.isArray(i[s])&&(i[s]=i[s].filter((l,c)=>c!==e)),i[o]=a.dateModified});try{this.plugin.cacheManager.waitForFreshTaskData&&await this.plugin.cacheManager.waitForFreshTaskData(r),this.plugin.cacheManager.updateTaskInfoInCache(t.path,a)}catch(i){console.error("Error updating cache for time entry deletion:",i)}return this.plugin.emitter.trigger(gt,{path:t.path,originalTask:t,updatedTask:a}),a}updateCompletedDateInFrontmatter(t,e,r){if(r)return;let a=this.plugin.fieldMapper.toUserField("completedDate");this.plugin.statusManager.isCompletedStatus(e)?t[a]=Tp():t[a]&&delete t[a]}extractProjectBasename(t){var r;if(!t)return"";let e=t.match(/^\[\[([^\]]+)\]\]$/);if(e){let a=e[1];if(a.includes("|"))return a.split("|")[1].trim();if((r=this.plugin.app)!=null&&r.metadataCache)try{let s=this.plugin.app.metadataCache.getFirstLinkpathDest(a,"");if(s)return s.basename}catch(s){console.debug("Error resolving project file:",s)}let i=a.split("/");return i[i.length-1]||a}return t}};var Q$=require("obsidian");var xi=class{constructor(){this.events={}}on(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),()=>{this.events[t]=this.events[t].filter(r=>r!==e)}}emit(t,...e){this.events[t]&&this.events[t].forEach(r=>{r(...e)})}removeAllListeners(t){t?delete this.events[t]:this.events={}}};gl();Dr();rr();yl();Ke();var lu=class lu extends xi{constructor(e,r,a,i){super();this.plugin=i;this.indexQueryCache=new Map;this.cacheTimeout=3e4;this.cacheTimers=new Map;this.filterOptionsCache=null;this.filterOptionsCacheTimestamp=0;this.filterOptionsCacheTTL=3e5;this.filterOptionsComputeCount=0;this.filterOptionsCacheHits=0;this.cacheManager=e,this.statusManager=r,this.priorityManager=a,lu.lastInstance=this}translate(e,r,a){var i;try{if((i=this.plugin)!=null&&i.i18n)return this.plugin.i18n.translate(e,a)}catch(s){console.error("FilterService translation error:",s)}return r}static translateStatic(e,r){let a=lu.lastInstance;return a?a.translate(e,r):r}getLocale(){var e,r,a;try{let i=(a=(r=(e=this.plugin)==null?void 0:e.i18n)==null?void 0:r.getCurrentLocale)==null?void 0:a.call(r);if(i)return i}catch(i){console.error("FilterService locale error:",i)}return"en"}getDueGroupLabel(e){switch(e){case"overdue":return this.translate("services.filter.groupLabels.due.overdue","Overdue");case"today":return this.translate("services.filter.groupLabels.due.today","Today");case"tomorrow":return this.translate("services.filter.groupLabels.due.tomorrow","Tomorrow");case"nextSevenDays":return this.translate("services.filter.groupLabels.due.nextSevenDays","Next seven days");case"later":return this.translate("services.filter.groupLabels.due.later","Later");case"none":return this.translate("services.filter.groupLabels.due.none","No due date");case"invalid":default:return this.translate("services.filter.groupLabels.invalidDate","Invalid date")}}getScheduledGroupLabel(e){switch(e){case"past":return this.translate("services.filter.groupLabels.scheduled.past","Past scheduled");case"today":return this.translate("services.filter.groupLabels.scheduled.today","Today");case"tomorrow":return this.translate("services.filter.groupLabels.scheduled.tomorrow","Tomorrow");case"nextSevenDays":return this.translate("services.filter.groupLabels.scheduled.nextSevenDays","Next seven days");case"later":return this.translate("services.filter.groupLabels.scheduled.later","Later");case"none":return this.translate("services.filter.groupLabels.scheduled.none","No scheduled date");case"invalid":default:return this.translate("services.filter.groupLabels.invalidDate","Invalid date")}}getNoProjectLabel(){return this.translate("services.filter.groupLabels.noProject","No project")}getNoTagsLabel(){return this.translate("services.filter.groupLabels.noTags","No tags")}getInvalidDateLabel(){return this.translate("services.filter.groupLabels.invalidDate","Invalid date")}async getGroupedTasks(e,r){try{kt.validateFilterNode(e,!1);let a=this.getIndexOptimizedTaskPaths(e),s=(await this.pathsToTaskInfos(Array.from(a))).filter(l=>this.evaluateFilterNode(e,l,r)),o=this.sortTasks(s,e.sortKey||"due",e.sortDirection||"asc");return this.currentSortKey=e.sortKey||"due",this.currentSortDirection=e.sortDirection||"asc",this.groupTasks(o,e.groupKey||"none",r)}catch(a){if(a instanceof _r||a instanceof ss)return console.error("Filter error:",a.message,{nodeId:a.nodeId,field:a.field}),new Map;throw a}}async getHierarchicalGroupedTasks(e,r){var a,i;try{kt.validateFilterNode(e,!1);let s=this.getIndexOptimizedTaskPaths(e),l=(await this.pathsToTaskInfos(Array.from(s))).filter(p=>this.evaluateFilterNode(e,p,r)),c=this.sortTasks(l,e.sortKey||"due",e.sortDirection||"asc");this.currentSortKey=e.sortKey||"due",this.currentSortDirection=e.sortDirection||"asc";let d=this.groupTasks(c,e.groupKey||"none",r),u=e.subgroupKey;if(u&&u!=="none"&&e.groupKey&&e.groupKey!=="none"){let{HierarchicalGroupingService:p}=await Promise.resolve().then(()=>(K$(),G$)),m=(T,k)=>{var I,A,B;let S=(((A=(I=this.plugin)==null?void 0:I.settings)==null?void 0:A.userFields)||[]).find(z=>(z.id||z.key)===k||z.key===k),x=`No ${(S==null?void 0:S.displayName)||(S==null?void 0:S.key)||k}`;if(!S)return[x];try{let z=this.cacheManager.getApp(),U=z.vault.getAbstractFileByPath(T.path);if(!U)return[x];let N=(B=z.metadataCache.getFileCache(U))==null?void 0:B.frontmatter,P=N?N[S.key]:void 0;switch(S.type){case"boolean":{if(typeof P=="boolean")return[P?"true":"false"];if(P==null)return[x];let _=String(P).trim().toLowerCase();return _==="true"||_==="false"?[_]:[x]}case"number":{if(typeof P=="number")return[String(P)];if(typeof P=="string"){let _=P.match(/^(\d+(?:\.\d+)?)/);return _?[_[1]]:[x]}return[x]}case"date":return P?[String(P)]:[x];case"list":{let _=this.normalizeUserListValue(P).filter(Y=>!/^\[\[/.test(Y));return _.length>0?_:[x]}case"text":default:{let _=String(P!=null?P:"").trim();return _?[_]:[x]}}}catch(z){return[x]}},f=new p(m).group(c,e.groupKey,u,this.currentSortDirection,((i=(a=this.plugin)==null?void 0:a.settings)==null?void 0:i.userFields)||[]),g=Array.from(d.keys()),v=new Map;for(let T of g){let k=f.get(T);k&&v.set(T,k)}for(let[T,k]of f)v.has(T)||v.set(T,k);return{groups:d,hierarchicalGroups:v}}return{groups:d}}catch(s){if(s instanceof _r||s instanceof ss)return console.error("Filter error (hierarchical):",s.message,{nodeId:s.nodeId}),{groups:new Map};throw s}}getIndexOptimizedTaskPaths(e){let r=this.analyzeQueryOptimizationSafety(e);if(!r.canOptimize)return this.cacheManager.getAllTaskPaths();if(r.strategy==="intersect"){let a=this.getPathsForIndexableCondition(r.conditions[0]);for(let i=1;i<r.conditions.length;i++){let s=this.getPathsForIndexableCondition(r.conditions[i]);a=this.intersectPathSets(a,s)}return a}else if(r.strategy==="single")return this.getPathsForIndexableCondition(r.conditions[0]);return this.cacheManager.getAllTaskPaths()}analyzeQueryOptimizationSafety(e){let r=this.findIndexableConditions(e);return r.length===0?{canOptimize:!1,conditions:[],reason:"No indexable conditions found"}:this.isSimpleQuery(e,r)?{canOptimize:!0,strategy:r.length===1?"single":"intersect",conditions:r}:{canOptimize:!1,conditions:r,reason:"Complex query structure with OR conditions - optimization not safe"}}isSimpleQuery(e,r){return r.length===0||this.hasIndexableConditionInOrGroup(e,r)?!1:r.length===1||e.type==="group"&&e.conjunction==="and"&&e.children.filter(i=>i.type==="condition"&&this.isIndexableCondition(i)).length===r.length}hasIndexableConditionInOrGroup(e,r){return this.checkNodeForOrWithIndexable(e,r)}checkNodeForOrWithIndexable(e,r){if(e.type==="condition")return!1;if(e.type==="group"){if(e.conjunction==="or"&&e.children.some(i=>i.type==="condition"&&r.includes(i)))return!0;for(let a of e.children)if(this.checkNodeForOrWithIndexable(a,r))return!0}return!1}findIndexableConditions(e){let r=[];if(e.type==="condition")this.isIndexableCondition(e)&&r.push(e);else if(e.type==="group")for(let a of e.children)r.push(...this.findIndexableConditions(a));return r}isIndexableCondition(e){let{property:r,operator:a,value:i}=e;return!!(r==="status"&&a==="is"&&i||r==="due"&&(a==="is"||a==="is-before"||a==="is-after")&&i||r==="scheduled"&&(a==="is"||a==="is-before"||a==="is-after")&&i)}getCachedIndexResult(e,r){let a=this.indexQueryCache.get(e);if(a)return new Set(a);let i=r();this.indexQueryCache.set(e,new Set(i));let s=this.cacheTimers.get(e);s&&clearTimeout(s);let o=setTimeout(()=>{this.indexQueryCache.delete(e),this.cacheTimers.delete(e)},this.cacheTimeout);return this.cacheTimers.set(e,o),i}clearIndexQueryCache(){for(let e of this.cacheTimers.values())clearTimeout(e);this.indexQueryCache.clear(),this.cacheTimers.clear()}getCacheStats(){return{entryCount:this.indexQueryCache.size,cacheKeys:Array.from(this.indexQueryCache.keys()),timeoutMs:this.cacheTimeout}}getPathsForIndexableCondition(e){let{property:r,operator:a,value:i}=e,s=`${r}:${a}:${i}`;return this.getCachedIndexResult(s,()=>r==="status"&&a==="is"&&i&&typeof i=="string"?new Set(this.cacheManager.getTaskPathsByStatus(i)):(r==="due"||r==="scheduled")&&a==="is"&&i&&typeof i=="string"?new Set(this.cacheManager.getTasksForDate(i)):(r==="due"||r==="scheduled")&&(a==="is-before"||a==="is-after")&&i&&typeof i=="string"?this.getTaskPathsForDateRange(r,a,i):this.cacheManager.getAllTaskPaths())}getTaskPathsForDateRange(e,r,a){return this.cacheManager.getAllTaskPaths()}intersectPathSets(e,r){let a=new Set;for(let i of e)r.has(i)&&a.add(i);return a}async pathsToTaskInfos(e){let r=[];for(let i=0;i<e.length;i+=50){let s=e.slice(i,i+50),o=await Promise.all(s.map(l=>this.cacheManager.getCachedTaskInfo(l)));for(let l of o)l&&r.push(l)}return r}evaluateFilterNode(e,r,a){return e.type==="condition"?this.evaluateCondition(e,r,a):e.type==="group"?this.evaluateGroup(e,r,a):!0}evaluateGroup(e,r,a){if(e.children.length===0)return!0;let i=e.children.filter(s=>s.type==="condition"?kt.isFilterNodeComplete(s):!0);return i.length===0?!0:e.conjunction==="and"?i.every(s=>this.evaluateFilterNode(s,r,a)):e.conjunction==="or"?i.some(s=>this.evaluateFilterNode(s,r,a)):!0}normalizeUserListValue(e){let r=[],a=o=>{if(!o)return;let l=String(o).trim();if(!l)return;let c=l.match(/^\[\[([^|\]]+)(?:\|([^\]]+))?\]\]$/);if(c){let d=c[1]||"",p=c[2]||d.split("#")[0].split("/").pop()||d;p&&r.push(p),r.push(l);return}r.push(l)};if(Array.isArray(e))for(let o of e)a(String(o));else if(typeof e=="string"){let o=ha(e);for(let l of o)a(l)}else e!=null&&a(String(e));let i=new Set,s=[];for(let o of r)i.has(o)||(i.add(o),s.push(o));return s}evaluateCondition(e,r,a){var c,d,u;let{property:i,operator:s,value:o}=e;if(typeof i=="string"&&i.startsWith("user:")){let p=i.slice(5),h=(((d=(c=this.plugin)==null?void 0:c.settings)==null?void 0:d.userFields)||[]).find(v=>(v.id||v.key)===p),f;if(h)try{let v=this.cacheManager.getApp(),T=v.vault.getAbstractFileByPath(r.path);if(T){let k=(u=v.metadataCache.getFileCache(T))==null?void 0:u.frontmatter,w=k?k[h.key]:void 0;switch(h.type){case"boolean":f=typeof w=="boolean"?w:String(w).toLowerCase()==="true";break;case"number":f=typeof w=="number"?w:w!=null?parseFloat(String(w)):void 0;break;case"list":f=this.normalizeUserListValue(w);break;default:f=w!=null?String(w):void 0}}}catch(v){}if((h==null?void 0:h.type)==="list"&&(s==="contains"||s==="does-not-contain")){let v=Array.isArray(f)?f:f!=null?[String(f)]:[],k=(Array.isArray(o)?o:[String(o!=null?o:"")]).some(w=>typeof w=="string"&&v.some(S=>typeof S=="string"&&S.toLowerCase().includes(w.toLowerCase())));return s==="contains"?k:!k}let g=(h==null?void 0:h.type)==="date"?"due":i;return kt.applyOperator(f,s,o,e.id,g)}let l=kt.getTaskPropertyValue(r,i);if(i==="status.isCompleted"){let p=co(r,a||new Date);l=this.statusManager.isCompletedStatus(p)}return i==="projects"&&(s==="contains"||s==="does-not-contain")?this.evaluateProjectsCondition(l,s,o):kt.applyOperator(l,s,o,e.id,i)}evaluateProjectsCondition(e,r,a){if(!Array.isArray(e)||typeof a!="string")return!1;let i=this.extractProjectName(a);if(!i)return!1;let s=e.some(o=>{if(!o||typeof o!="string")return!1;let l=this.extractProjectName(o);return l?l===i?!0:this.compareProjectWikilinks(o,a):!1});return r==="contains"?s:!s}extractProjectName(e){if(!e||typeof e!="string")return null;if(e.startsWith("[[")&&e.endsWith("]]")){let a=e.slice(2,-2).split("/");return a[a.length-1]||null}return e.trim()||null}compareProjectWikilinks(e,r){var l;if(!((l=this.plugin)!=null&&l.app))return!1;let a=this.extractWikilinkPath(e),i=this.extractWikilinkPath(r);if(!a||!i)return!1;let s=this.plugin.app.metadataCache.getFirstLinkpathDest(a,""),o=this.plugin.app.metadataCache.getFirstLinkpathDest(i,"");return s&&o?s.path===o.path:!1}extractWikilinkPath(e){return!e||typeof e!="string"?null:e.startsWith("[[")&&e.endsWith("]]")?e.slice(2,-2):e}resolveProjectToAbsolutePath(e){var i;if(!e||typeof e!="string")return e||"";if(!((i=this.plugin)!=null&&i.app))return e;let r=this.parseLinkToPath(e),a=this.plugin.app.metadataCache.getFirstLinkpathDest(r,"");return a?a.path.replace(/\.md$/,""):r.replace(/\.md$/,"")}parseLinkToPath(e){if(!e)return e;let r=e.trim();if(r.startsWith("[[")&&r.endsWith("]]")){let i=r.slice(2,-2),s=i.indexOf("|");return s!==-1?i.substring(0,s).trim():i.trim()}let a=r.match(/^\[([^\]]*)\]\(([^)]+)\)$/);if(a){let i=a[2].trim();try{i=decodeURIComponent(i)}catch(s){console.debug("Failed to decode URI component:",i,s)}return i}return r.includes("|")?r.split("|")[0].trim():r}getPreferredProjectFormat(e){let r=this.getNoProjectLabel();return!e||e===r?e:e.includes("/")||e.endsWith(".md")?`[[${e}]]`:`[[${e}]]`}async getTaskPathsInDateRange(e,r){let a=new Set,i=je(e),s=je(r);for(let d=new Date(i);d<=s;d.setDate(d.getDate()+1)){let u=M(d,"yyyy-MM-dd");this.cacheManager.getTaskPathsByDate(u).forEach(m=>a.add(m))}let o=this.cacheManager.getAllTaskPaths(),l=50,c=Array.from(o);for(let d=0;d<c.length;d+=l){let u=c.slice(d,d+l),p=await Promise.all(u.map(m=>this.cacheManager.getCachedTaskInfo(m)));for(let m of p)if(m&&m.recurrence&&!m.due){for(let h=new Date(i);h<=s;h.setDate(h.getDate()+1))if(Il(m,h)){a.add(m.path);break}}}return a}getOverdueTaskPaths(){return this.cacheManager.getOverdueTaskPaths()}combineTaskPathSets(e){let r=new Set;return e.forEach(a=>{a.forEach(i=>r.add(i))}),r}isDateInRange(e,r,a){try{let i=_e(e),s=_e(r),o=_e(a),l=vp(i),c=vp(s),d=vp(o);return l>=c&&l<=d}catch(i){return console.error("Error checking date range:",{dateString:e,startDateString:r,endDateString:a,error:i}),!1}}isSameDayAs(e,r){try{let a=M(e,"yyyy-MM-dd");return mr(a,r)}catch(a){return console.error("Error comparing date object with date string:",{dateObj:e,dateString:r,error:a}),!1}}sortTasks(e,r,a){return e.sort((i,s)=>{let o=0;if(typeof r=="string"&&r.startsWith("user:"))o=this.compareByUserField(i,s,r);else switch(r){case"due":o=this.compareDates(i.due,s.due);break;case"scheduled":o=this.compareDates(i.scheduled,s.scheduled);break;case"priority":o=this.comparePriorities(i.priority,s.priority);break;case"status":o=this.compareStatuses(i.status,s.status);break;case"title":o=i.title.localeCompare(s.title);break;case"dateCreated":o=this.compareDates(i.dateCreated,s.dateCreated);break;case"completedDate":o=this.compareDates(i.completedDate,s.completedDate);break;case"tags":o=this.compareTags(i.tags,s.tags);break}return o===0&&(o=this.applyFallbackSorting(i,s,r)),a==="desc"?-o:o})}compareDates(e,r){if(!e&&!r)return 0;if(!e)return 1;if(!r)return-1;try{return is(e,r)?-1:is(r,e)?1:0}catch(a){return console.error("Error comparing dates time-aware:",{dateA:e,dateB:r,error:a}),e.localeCompare(r)}}comparePriorities(e,r){let a=this.priorityManager.getPriorityWeight(e);return this.priorityManager.getPriorityWeight(r)-a}compareStatuses(e,r){let a=this.statusManager.getStatusOrder(e),i=this.statusManager.getStatusOrder(r);return a-i}compareTags(e,r){let a=e&&e.length>0?e:[],i=r&&r.length>0?r:[];if(a.length===0&&i.length===0)return 0;if(a.length===0)return 1;if(i.length===0)return-1;let s=a[0].toLowerCase(),o=i[0].toLowerCase();return s.localeCompare(o)}applyFallbackSorting(e,r,a){let s=["scheduled","due","priority","title"].filter(o=>o!==a);for(let o of s){let l=0;switch(o){case"scheduled":l=this.compareDates(e.scheduled,r.scheduled);break;case"due":l=this.compareDates(e.due,r.due);break;case"priority":l=this.comparePriorities(e.priority,r.priority);break;case"title":l=e.title.localeCompare(r.title);break}if(l!==0)return l}return 0}compareByUserField(e,r,a){var u,p;let i=a.slice(5),o=(((p=(u=this.plugin)==null?void 0:u.settings)==null?void 0:p.userFields)||[]).find(m=>(m.id||m.key)===i);if(!o)return 0;let l=m=>{var h;try{let f=this.cacheManager.getApp(),g=f.vault.getAbstractFileByPath(m.path),v=g?(h=f.metadataCache.getFileCache(g))==null?void 0:h.frontmatter:void 0;return v?v[o.key]:void 0}catch(f){return}},c=l(e),d=l(r);switch(o.type){case"number":{let m=typeof c=="number"?c:c!=null?parseFloat(String(c)):NaN,h=typeof d=="number"?d:d!=null?parseFloat(String(d)):NaN,f=!isNaN(m),g=!isNaN(h);return f&&g?m-h:f&&!g?-1:!f&&g?1:0}case"boolean":{let m=g=>{if(typeof g=="boolean")return g;if(g==null)return;let v=String(g).trim().toLowerCase();if(v==="true")return!0;if(v==="false")return!1},h=m(c),f=m(d);return h===f?0:h===!0?-1:f===!0?1:h===!1?-1:f===!1?1:0}case"date":{let m=c?Date.parse(String(c)):NaN,h=d?Date.parse(String(d)):NaN,f=!isNaN(m),g=!isNaN(h);return f&&g?m-h:f&&!g?-1:!f&&g?1:0}case"list":{let m=g=>{if(Array.isArray(g))return this.normalizeUserListValue(g)[0];if(typeof g=="string")return g.trim().length===0?"":this.normalizeUserListValue(g)[0]},h=m(c),f=m(d);return(h==null||h==="")&&(f==null||f==="")?0:h==null||h===""?1:f==null||f===""?-1:h.localeCompare(f)}case"text":default:{let m=c!=null?String(c):"",h=d!=null?String(d):"";return m.localeCompare(h)}}}groupTasks(e,r,a){var s,o,l,c,d;if(r==="none")return new Map([["all",e]]);let i=new Map;for(let u of e)if(r==="project"){let p=ms(u.projects||[]);if(p.length>0)for(let m of p){let h=this.resolveProjectToAbsolutePath(m);i.has(h)||i.set(h,[]),(s=i.get(h))==null||s.push(u)}else{let m=this.getNoProjectLabel();i.has(m)||i.set(m,[]),(o=i.get(m))==null||o.push(u)}}else if(r==="tags"){let p=u.tags||[];if(p.length>0)for(let m of p)i.has(m)||i.set(m,[]),(l=i.get(m))==null||l.push(u);else{let m=this.getNoTagsLabel();i.has(m)||i.set(m,[]),(c=i.get(m))==null||c.push(u)}}else{let p;if(typeof r=="string"&&r.startsWith("user:"))p=this.getUserFieldGroupValue(u,r);else switch(r){case"status":p=u.status||"no-status";break;case"priority":p=u.priority||"unknown";break;case"context":p=u.contexts&&u.contexts.length>0?u.contexts[0]:"none";break;case"due":p=this.getDueDateGroup(u,a);break;case"scheduled":p=this.getScheduledDateGroup(u,a);break;case"completedDate":p=this.getCompletedDateGroup(u);break;default:p="unknown"}i.has(p)||i.set(p,[]),(d=i.get(p))==null||d.push(u)}return this.sortGroups(i,r)}getUserFieldGroupValue(e,r){var o,l,c;let a=r.slice(5),s=(((l=(o=this.plugin)==null?void 0:o.settings)==null?void 0:l.userFields)||[]).find(d=>(d.id||d.key)===a);if(!s)return"unknown-field";try{let d=this.cacheManager.getApp(),u=d.vault.getAbstractFileByPath(e.path);if(!u)return"no-value";let p=(c=d.metadataCache.getFileCache(u))==null?void 0:c.frontmatter,m=p?p[s.key]:void 0;switch(s.type){case"boolean":{if(typeof m=="boolean")return m?"true":"false";if(m==null)return"no-value";let h=String(m).trim().toLowerCase();return h==="true"?"true":h==="false"?"false":"no-value"}case"number":{if(typeof m=="number")return String(m);if(typeof m=="string"){let h=m.match(/^(\d+(?:\.\d+)?)/);return h?h[1]:"non-numeric"}return"no-value"}case"date":return m?String(m):"no-date";case"list":{if(Array.isArray(m)){let h=this.normalizeUserListValue(m);return h.length>0?h[0]:"empty"}if(typeof m=="string"){if(m.trim().length===0)return"empty";let h=this.normalizeUserListValue(m);return h.length>0?h[0]:"empty"}return"no-value"}case"text":default:return m?String(m).trim()||"empty":"no-value"}}catch(d){return console.error("Error extracting user field value for grouping",d),"error"}}getDueDateGroup(e,r){var o,l,c;let a=r||new Date;a.setHours(0,0,0,0);let i=this.statusManager.isCompletedStatus(e.status),s=(c=(l=(o=this.plugin)==null?void 0:o.settings)==null?void 0:l.hideCompletedFromOverdue)!=null?c:!0;if(e.recurrence)if(Il(e,a)){let d=M(a,"yyyy-MM-dd");return this.getDateGroupFromDateStringWithTask(d,i,s)}else return e.due?this.getDateGroupFromDateStringWithTask(e.due,i,s):this.getDueGroupLabel("none");return e.due?this.getDateGroupFromDateStringWithTask(e.due,i,s):this.getDueGroupLabel("none")}getDateGroupFromDateString(e){let r=Vt();if(on(e))return this.getDueGroupLabel("overdue");let a=_e(e);if(mr(a,r))return this.getDueGroupLabel("today");try{let i=new Date;i.setDate(i.getDate()+1);let s=M(i,"yyyy-MM-dd");if(mr(a,s))return this.getDueGroupLabel("tomorrow");let o=new Date;o.setDate(o.getDate()+7);let l=M(o,"yyyy-MM-dd");return ns(a,l)||mr(a,l)?this.getDueGroupLabel("nextSevenDays"):this.getDueGroupLabel("later")}catch(i){return console.error(`Error categorizing date ${e}:`,i),this.getInvalidDateLabel()}}getDueDateGroupFromDate(e){return this.getDateGroupFromDateString(e)}getDueDateGroupForTask(e){var i,s,o;if(!e.due)return"No due date";let r=this.statusManager.isCompletedStatus(e.status),a=(o=(s=(i=this.plugin)==null?void 0:i.settings)==null?void 0:s.hideCompletedFromOverdue)!=null?o:!0;return this.getDateGroupFromDateStringWithTask(e.due,r,a)}getDateGroupFromDateStringWithTask(e,r,a){let i=Vt();if(on(e,r,a))return this.getDueGroupLabel("overdue");let s=_e(e);if(mr(s,i))return this.getDueGroupLabel("today");try{let o=new Date;o.setDate(o.getDate()+1);let l=M(o,"yyyy-MM-dd");if(mr(s,l))return this.getDueGroupLabel("tomorrow");let c=new Date;c.setDate(c.getDate()+7);let d=M(c,"yyyy-MM-dd");return ns(s,d)||mr(s,d)?this.getDueGroupLabel("nextSevenDays"):this.getDueGroupLabel("later")}catch(o){return console.error(`Error categorizing date ${e}:`,o),this.getInvalidDateLabel()}}getScheduledDateGroup(e,r){var s,o,l;if(!e.scheduled)return this.getScheduledGroupLabel("none");let a=this.statusManager.isCompletedStatus(e.status),i=(l=(o=(s=this.plugin)==null?void 0:s.settings)==null?void 0:o.hideCompletedFromOverdue)!=null?l:!0;return this.getScheduledDateGroupForTask(e.scheduled,a,i)}getScheduledDateGroupForTask(e,r,a){let i=Vt();if(on(e,r,a))return this.getScheduledGroupLabel("past");let s=_e(e);if(mr(s,i))return this.getScheduledGroupLabel("today");try{let o=new Date;o.setDate(o.getDate()+1);let l=M(o,"yyyy-MM-dd");if(mr(s,l))return this.getScheduledGroupLabel("tomorrow");let c=new Date;c.setDate(c.getDate()+7);let d=M(c,"yyyy-MM-dd");return ns(s,d)||mr(s,d)?this.getScheduledGroupLabel("nextSevenDays"):this.getScheduledGroupLabel("later")}catch(o){return console.error(`Error categorizing scheduled date ${e}:`,o),this.getInvalidDateLabel()}}getScheduledDateGroupFromDate(e){let r=Vt();if(on(e))return this.getScheduledGroupLabel("past");let a=_e(e);if(mr(a,r))return this.getScheduledGroupLabel("today");try{let i=new Date;i.setDate(i.getDate()+1);let s=M(i,"yyyy-MM-dd");if(mr(a,s))return this.getScheduledGroupLabel("tomorrow");let o=new Date;o.setDate(o.getDate()+7);let l=M(o,"yyyy-MM-dd");return ns(a,l)||mr(a,l)?this.getScheduledGroupLabel("nextSevenDays"):this.getScheduledGroupLabel("later")}catch(i){return console.error(`Error categorizing scheduled date ${e}:`,i),this.getInvalidDateLabel()}}getCompletedDateGroup(e){if(!e.completedDate)return"Not completed";try{let r=qa(e.completedDate);return M(r,"yyyy-MM-dd")}catch(r){return console.error(`Error formatting completed date ${e.completedDate}:`,r),"Invalid date"}}sortGroups(e,r){let a=new Map,i;if(typeof r=="string"&&r.startsWith("user:"))i=this.sortUserFieldGroups(Array.from(e.keys()),r),this.currentSortKey===r&&this.currentSortDirection==="desc"&&i.reverse();else switch(r){case"priority":i=Array.from(e.keys()).sort((s,o)=>{let l=this.priorityManager.getPriorityWeight(s);return this.priorityManager.getPriorityWeight(o)-l});break;case"status":i=Array.from(e.keys()).sort((s,o)=>{let l=this.statusManager.getStatusOrder(s),c=this.statusManager.getStatusOrder(o);return l-c});break;case"due":{let s=["overdue","today","tomorrow","nextSevenDays","later","none"],o=new Map(s.map((l,c)=>[this.getDueGroupLabel(l),c]));i=Array.from(e.keys()).sort((l,c)=>{var p,m;let d=(p=o.get(l))!=null?p:s.length,u=(m=o.get(c))!=null?m:s.length;return d-u});break}case"scheduled":{let s=["past","today","tomorrow","nextSevenDays","later","none"],o=new Map(s.map((l,c)=>[this.getScheduledGroupLabel(l),c]));i=Array.from(e.keys()).sort((l,c)=>{var p,m;let d=(p=o.get(l))!=null?p:s.length,u=(m=o.get(c))!=null?m:s.length;return d-u});break}case"project":i=Array.from(e.keys()).sort((s,o)=>{let l=this.getNoProjectLabel();return s===l?1:o===l?-1:s==null?1:o==null?-1:s.localeCompare(o,this.getLocale())});break;case"tags":i=Array.from(e.keys()).sort((s,o)=>{let l=this.getNoTagsLabel();return s===l?1:o===l?-1:s==null?1:o==null?-1:s.localeCompare(o,this.getLocale())});break;case"completedDate":i=Array.from(e.keys()).sort((s,o)=>{let l="Not completed";if(s===l)return 1;if(o===l)return-1;if(s==="Invalid date")return 1;if(o==="Invalid date")return-1;if(s==null||o==null){if(s==null)return 1;if(o==null)return-1}return o.localeCompare(s)});break;default:i=Array.from(e.keys()).sort((s,o)=>s==null?1:o==null?-1:s.localeCompare(o,this.getLocale()))}for(let s of i){let o=e.get(s);o&&a.set(s,o)}return a}sortUserFieldGroups(e,r){var o,l;let a=r.slice(5),s=(((l=(o=this.plugin)==null?void 0:o.settings)==null?void 0:l.userFields)||[]).find(c=>(c.id||c.key)===a);if(!s)return e.sort();switch(s.type){case"number":return e.sort((c,d)=>{let u=parseFloat(c),p=parseFloat(d),m=!isNaN(u),h=!isNaN(p);return m&&h?p-u:m&&!h?-1:!m&&h||c==null?1:d==null?-1:c.localeCompare(d)});case"boolean":return e.sort((c,d)=>c==="true"&&d==="false"?-1:c==="false"&&d==="true"||c==null?1:d==null?-1:c.localeCompare(d));case"date":return e.sort((c,d)=>{let u=Date.parse(c),p=Date.parse(d),m=!isNaN(u),h=!isNaN(p);return m&&h?u-p:m&&!h?-1:!m&&h||c==null?1:d==null?-1:c.localeCompare(d)});case"text":case"list":default:return e.sort((c,d)=>c==null?1:d==null?-1:c.localeCompare(d))}}async getFilterOptions(){let e=Date.now();if(this.filterOptionsCache&&e-this.filterOptionsCacheTimestamp<this.filterOptionsCacheTTL)return this.filterOptionsCacheHits++,this.filterOptionsCache;let r={statuses:this.statusManager.getAllStatuses(),priorities:this.priorityManager.getAllPriorities(),contexts:this.cacheManager.getAllContexts(),projects:this.cacheManager.getAllProjects(),tags:this.cacheManager.getAllTags(),folders:this.extractUniqueFolders(),userProperties:this.buildUserPropertyDefinitions()};return this.filterOptionsComputeCount++,this.filterOptionsCache=r,this.filterOptionsCacheTimestamp=e,r}buildUserPropertyDefinitions(){var a,i;let e=((i=(a=this.plugin)==null?void 0:a.settings)==null?void 0:i.userFields)||[],r=[];for(let s of e){if(!s||!s.key||!s.displayName)continue;let o=`user:${s.id||s.key}`,l,c;switch(s.type){case"number":l=["is","is-not","is-greater-than","is-less-than","is-greater-than-or-equal","is-less-than-or-equal","is-empty","is-not-empty"],c="number";break;case"date":l=["is","is-not","is-before","is-after","is-on-or-before","is-on-or-after","is-empty","is-not-empty"],c="date";break;case"boolean":l=["is-checked","is-not-checked"],c="none";break;case"list":l=["contains","does-not-contain","is-empty","is-not-empty"],c="text";break;case"text":default:l=["is","is-not","contains","does-not-contain","is-empty","is-not-empty"],c="text";break}r.push({id:o,label:s.displayName,category:s.type==="boolean"?"boolean":s.type==="number"?"numeric":s.type==="date"?"date":"text",supportedOperators:l,valueInputType:c})}return r}checkAndInvalidateFilterOptionsCache(){if(!this.filterOptionsCache)return;Date.now()-this.filterOptionsCacheTimestamp>3e4&&this.invalidateFilterOptionsCache()}invalidateFilterOptionsCache(){this.filterOptionsCache&&(this.filterOptionsCache=null)}refreshFilterOptions(){this.invalidateFilterOptionsCache()}getFilterOptionsCacheStats(){let e=Date.now(),r=this.filterOptionsCache?e-this.filterOptionsCacheTimestamp:0,a=this.filterOptionsCache?Math.max(0,this.filterOptionsCacheTTL-r):0,i=this.filterOptionsCacheHits+this.filterOptionsComputeCount,s=i>0?(this.filterOptionsCacheHits/i*100).toFixed(1)+"%":"0%";return{cacheHits:this.filterOptionsCacheHits,computeCount:this.filterOptionsComputeCount,hitRate:s,isCurrentlyCached:!!this.filterOptionsCache,cacheAge:r,ttlRemaining:a}}createDefaultQuery(){return{type:"group",id:kt.generateId(),conjunction:"and",children:[],sortKey:"due",sortDirection:"asc",groupKey:"none"}}addQuickToggleCondition(e,r,a){let i=JSON.parse(JSON.stringify(e));if(this.removeQuickToggleCondition(i,r),!a){let s;switch(r){case"showCompleted":s={type:"condition",id:kt.generateId(),property:"status.isCompleted",operator:"is-not-checked",value:null};break;case"showArchived":s={type:"condition",id:kt.generateId(),property:"archived",operator:"is-not-checked",value:null};break;case"showRecurrent":s={type:"condition",id:kt.generateId(),property:"recurrence",operator:"is-empty",value:null};break}i.children.push(s)}return i}removeQuickToggleCondition(e,r){let a;switch(r){case"showCompleted":a="status.isCompleted";break;case"showArchived":a="archived";break;case"showRecurrent":a="recurrence";break}e.children=e.children.filter(i=>i.type==="condition"?i.property!==a:!0)}normalizeQuery(e){let r=this.createDefaultQuery();return{...r,...e,type:"group",id:e.id||r.id,conjunction:e.conjunction||r.conjunction,children:e.children||r.children,sortKey:e.sortKey||r.sortKey,sortDirection:e.sortDirection||r.sortDirection,groupKey:e.groupKey||r.groupKey}}initialize(){this.cacheManager.on("file-updated",()=>{this.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("file-added",()=>{this.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("file-deleted",()=>{this.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("file-renamed",()=>{this.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")}),this.cacheManager.on("indexes-built",()=>{this.clearIndexQueryCache(),this.checkAndInvalidateFilterOptionsCache(),this.emit("data-changed")})}cleanup(){this.clearIndexQueryCache(),this.invalidateFilterOptionsCache(),this.removeAllListeners()}static createDateRangeFromDates(e){if(e.length===0)throw new Error(lu.translateStatic("services.filter.errors.noDatesProvided","No dates provided"));let r=e[0],a=e[e.length-1];return{start:M(r,"yyyy-MM-dd"),end:M(a,"yyyy-MM-dd")}}static shouldIncludeOverdueForRange(e,r){if(!r)return!1;let i=M(new Date,"yyyy-MM-dd");return e.some(s=>M(s,"yyyy-MM-dd")===i)}async getTasksForDate(e,r,a=!1){let i=le(e),s=bp(i),o=this.cacheManager.getAllTaskPaths(),d=(await this.pathsToTaskInfos(Array.from(o))).filter(u=>this.evaluateFilterNode(r,u)).filter(u=>{var p,m,h;if(u.recurrence){let f=je(i);return Il(u,f)}if(u.due&&_e(u.due)===i||u.scheduled&&_e(u.scheduled)===i)return!0;if(a&&s){let f=this.statusManager.isCompletedStatus(u.status),g=(h=(m=(p=this.plugin)==null?void 0:p.settings)==null?void 0:m.hideCompletedFromOverdue)!=null?h:!0;if(u.due&&_e(u.due)!==i&&on(u.due,f,g)||u.scheduled&&_e(u.scheduled)!==i&&on(u.scheduled,f,g))return!0}return!1});return this.sortTasks(d,r.sortKey||"due",r.sortDirection||"asc")}async getOverdueTasks(e){let r=this.cacheManager.getAllTaskPaths(),s=(await this.pathsToTaskInfos(Array.from(r))).filter(o=>this.evaluateFilterNode(e,o)).filter(o=>{var d,u,p;let l=this.statusManager.isCompletedStatus(o.status),c=(p=(u=(d=this.plugin)==null?void 0:d.settings)==null?void 0:u.hideCompletedFromOverdue)!=null?p:!0;return o.recurrence?!!(o.due&&on(o.due,l,c)||o.scheduled&&on(o.scheduled,l,c)):!!(o.due&&on(o.due,l,c)||o.scheduled&&on(o.scheduled,l,c))});return this.sortTasks(s,e.sortKey||"due",e.sortDirection||"asc")}async getAgendaDataWithOverdue(e,r,a=!1){let i=[];for(let o of e){let l=await this.getTasksForDate(o,r,!1);i.push({date:new Date(o),tasks:l})}let s=a?await this.getOverdueTasks(r):[];return{dailyData:i,overdueTasks:s}}async getAgendaData(e,r,a=!1){let i=[];for(let s of e){let o=await this.getTasksForDate(s,r,a&&Jw(s));i.push({date:new Date(s),tasks:o})}return i}async getFlatAgendaData(e,r,a=!1){let i=await this.getAgendaData(e,r,a),s=[];for(let o of i)for(let l of o.tasks)s.push({...l,agendaDate:o.date});return s}extractUniqueFolders(){let e=this.cacheManager.getAllTaskPaths(),r=new Set;for(let s of e){let o=s.lastIndexOf("/");if(o>0){let l=s.substring(0,o);r.add(l)}else o===-1&&r.add("")}let a=Array.from(r).sort(),i=this.translate("services.filter.folders.root","(Root)");return a.map(s=>s===""?i:s)}extractProjectNamesFromTaskValue(e,r){if(!e||e.trim()===""||e==='""')return[];let a=e.replace(/^"(.*)"$/,"$1");if(a.startsWith("[[")&&a.endsWith("]]")){let i=a.slice(2,-2),s=(0,Q$.parseLinktext)(i),o=this.cacheManager.getApp().metadataCache.getFirstLinkpathDest(s.path,r);if(o)return[o.basename];{let l=s.subpath||(s.path.includes("/")?s.path.split("/").pop():s.path);return l?[l]:[]}}else return[a]}};lu.lastInstance=null;var yb=lu;var vb=class{constructor(t){this.cache=t}async getAggregatedTimeEstimate(t){let e=this.cache.getAllTimeEstimates();if(e.size===0)return 0;let{start:r,end:a}=this.getDateRange(t),i=0;for(let[s,o]of e.entries()){let l=await this.cache.getTaskInfo(s);l&&this.isTaskInRange(l,r,a)&&(i+=o)}return i}isTaskInRange(t,e,r){let a=t.due||t.scheduled;if(!a)return!1;let i=new Date(a);return i>=e&&i<=r}getDateRange(t){if(typeof t!="string")return t;let e=new Date,r=new Date(e),a=new Date(e);switch(t){case"daily":r.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"weekly":{let i=e.getDay(),s=e.getDate()-i+(i===0?-6:1);r.setDate(s),r.setHours(0,0,0,0),a.setDate(r.getDate()+6),a.setHours(23,59,59,999);break}case"monthly":r.setDate(1),r.setHours(0,0,0,0),a.setMonth(r.getMonth()+1),a.setDate(0),a.setHours(23,59,59,999);break;case"yearly":r.setMonth(0,1),r.setHours(0,0,0,0),a.setFullYear(r.getFullYear()+1),a.setDate(0),a.setHours(23,59,59,999);break}return{start:r,end:a}}};Wn();var bb=class{constructor(t){this.globalTaskVersionCache=new Map;this.lastGlobalRefreshTime=0;this.globalTaskCount=0;this.viewHandlers=new Map;this.viewDebounceTimers=new Map;this.viewPendingUpdates=new Map;this.viewConfigs=new Map;this.updateInProgress=new Set;this.eventListener=null;this.plugin=t,this.setupGlobalEventListener()}registerView(t,e){this.viewConfigs.set(t.viewId,{debounceDelay:100,maxBatchSize:5,changeDetectionEnabled:!0,...t}),this.viewHandlers.set(t.viewId,e),this.viewPendingUpdates.set(t.viewId,new Set)}unregisterView(t){let e=this.viewDebounceTimers.get(t);e&&(clearTimeout(e),this.viewDebounceTimers.delete(t)),this.viewConfigs.delete(t),this.viewHandlers.delete(t),this.viewPendingUpdates.delete(t),this.updateInProgress.delete(t)}setupGlobalEventListener(){this.eventListener=this.plugin.emitter.on(gt,async({path:t,originalTask:e,updatedTask:r})=>{if(!t||!r){await this.triggerFullRefreshForAllViews();return}r.path||(r.path=t),this.hasTaskChanged(r)&&await this.handleTaskUpdateForAllViews(r,e)})}async handleTaskUpdateForAllViews(t,e){let r=[];for(let[a,i]of this.viewHandlers)i.shouldRefreshForTask&&!i.shouldRefreshForTask(e,t)||r.push(this.scheduleViewUpdate(a,t.path));await Promise.all(r),Math.random()<.1&&await this.cleanupTaskVersionCache()}async scheduleViewUpdate(t,e){let r=this.viewConfigs.get(t);if(!r)return;let a=this.viewPendingUpdates.get(t);a&&a.add(e);let i=this.viewDebounceTimers.get(t);i&&clearTimeout(i);let s=window.setTimeout(async()=>{await this.processPendingUpdatesForView(t)},r.debounceDelay);this.viewDebounceTimers.set(t,s)}async processPendingUpdatesForView(t){if(this.updateInProgress.has(t))return;let e=this.viewConfigs.get(t),r=this.viewHandlers.get(t),a=this.viewPendingUpdates.get(t);if(!(!e||!r||!a||a.size===0)){this.updateInProgress.add(t);try{let i=Array.from(a);if(a.clear(),i.length>e.maxBatchSize)await r.refresh();else{let s=i.map(o=>r.updateForTask(o,"update").catch(l=>{console.error(`[ViewPerformanceService] Error updating task ${o} in ${t}:`,l)}));await Promise.all(s)}}catch(i){console.error(`[ViewPerformanceService] Error processing updates for ${t}:`,i),await r.refresh()}finally{this.updateInProgress.delete(t),this.viewDebounceTimers.delete(t)}}}async triggerFullRefreshForAllViews(){let t=[];for(let[e,r]of this.viewHandlers)this.updateInProgress.has(e)||t.push(r.refresh(!0));await Promise.all(t),this.lastGlobalRefreshTime=Date.now()}hasTaskChanged(t){let e=this.globalTaskVersionCache.get(t.path),r=t.dateModified||Date.now().toString();return e!==r?(this.globalTaskVersionCache.set(t.path,r),!0):!1}shouldDoFullRefresh(){let t=Date.now()-this.lastGlobalRefreshTime,e=this.globalTaskVersionCache.size;return t>600*1e3||Math.abs(e-this.globalTaskCount)>20||e===0}async cleanupTaskVersionCache(){try{let t=this.plugin.cacheManager.getAllTaskPaths(),e=new Set(t);for(let r of this.globalTaskVersionCache.keys())e.has(r)||this.globalTaskVersionCache.delete(r);this.globalTaskCount=e.size,this.globalTaskVersionCache.size>2e3&&(this.globalTaskVersionCache.clear(),this.lastGlobalRefreshTime=0)}catch(t){console.error("[ViewPerformanceService] Error during cache cleanup:",t)}}async forceRefreshAll(){this.globalTaskVersionCache.clear(),await this.triggerFullRefreshForAllViews()}getStats(){return{registeredViews:Array.from(this.viewConfigs.keys()),cacheSize:this.globalTaskVersionCache.size,activeUpdates:Array.from(this.updateInProgress),totalPendingUpdates:Array.from(this.viewPendingUpdates.values()).reduce((t,e)=>t+e.size,0),lastGlobalRefresh:new Date(this.lastGlobalRefreshTime).toISOString()}}destroy(){this.eventListener&&(this.plugin.emitter.offref(this.eventListener),this.eventListener=null);for(let t of this.viewDebounceTimers.values())clearTimeout(t);this.viewHandlers.clear(),this.viewDebounceTimers.clear(),this.viewPendingUpdates.clear(),this.viewConfigs.clear(),this.updateInProgress.clear(),this.globalTaskVersionCache.clear()}};var Tb=class{constructor(t){this.processorInterval=null;this.PROCESSOR_INTERVAL_MS=6e4;this.plugin=t}async start(){await this.processQueue(),this.processorInterval=setInterval(()=>{this.processQueue().catch(t=>{console.error("Error processing auto-archive queue:",t)})},this.PROCESSOR_INTERVAL_MS)}stop(){this.processorInterval&&(clearInterval(this.processorInterval),this.processorInterval=null)}async scheduleAutoArchive(t,e){if(!e.autoArchive)return;let r=Date.now(),a=r+e.autoArchiveDelay*60*1e3,i={taskPath:t.path,statusChangeTimestamp:r,archiveAfterTimestamp:a,statusValue:e.value};await this.cancelAutoArchive(t.path);let s=await this.getQueue();s.push(i),await this.saveQueue(s)}async cancelAutoArchive(t){let e=await this.getQueue(),r=e.filter(a=>a.taskPath!==t);r.length!==e.length&&await this.saveQueue(r)}async processQueue(){let t=await this.getQueue();if(t.length===0)return;let e=Date.now(),r=[],a=[];for(let o of t)e>=o.archiveAfterTimestamp?r.push(o):a.push(o);if(r.length===0)return;let i=[];for(let o of r)try{await this.processItem(o)||i.push(o)}catch(l){console.error(`Error processing auto-archive for ${o.taskPath}:`,l),i.push(o)}let s=[...i,...a];await this.saveQueue(s)}async processItem(t){let e=await this.plugin.cacheManager.getTaskByPath(t.taskPath);if(!e||e.status!==t.statusValue||e.archived)return!0;try{return await this.plugin.taskService.toggleArchive(e),!0}catch(r){return console.error(`Failed to archive task ${t.taskPath}:`,r),!1}}async getQueue(){let t=await this.plugin.loadData();return(t==null?void 0:t.autoArchiveQueue)||[]}async saveQueue(t){let e=await this.plugin.loadData()||{};e.autoArchiveQueue=t,await this.plugin.saveData(e)}async clearQueue(){await this.saveQueue([])}async getQueueStatus(){let t=await this.getQueue();return{count:t.length,items:t}}};gl();var kb=class extends xi{constructor(e,r){super();this.filterState={};this.viewPreferences={};this.savedViews=[];this.storageKey="tasknotes-view-filter-state";this.preferencesStorageKey="tasknotes-view-preferences";this.savedViewsStorageKey="tasknotes-saved-views";this.app=e,this.plugin=r,this.loadFromStorage(),this.loadPreferencesFromStorage(),this.savedViews=[...this.plugin.settings.savedViews]}async initializeSavedViews(){await this.migrateAndLoadSavedViews()}getFilterState(e){let r=this.filterState[e];if(r){if(typeof r!="object"||r.type!=="group"||!Array.isArray(r.children)||typeof r.conjunction!="string"){console.warn(`ViewStateManager: Ignoring old format filter state for ${e}, will use default`),delete this.filterState[e],this.saveToStorage();return}return kt.deepCloneFilterQuery(r)}}setFilterState(e,r){this.filterState[e]=kt.deepCloneFilterQuery(r),this.saveToStorage(),this.emit("filter-state-changed",{viewType:e,query:kt.deepCloneFilterQuery(r)})}clearFilterState(e){delete this.filterState[e],this.saveToStorage(),this.emit("filter-state-cleared",{viewType:e})}clearAllFilterStates(){this.filterState={},this.saveToStorage(),this.emit("all-filter-states-cleared")}getViewPreferences(e){return this.viewPreferences[e]}setViewPreferences(e,r){this.viewPreferences[e]={...r},this.savePreferencesToStorage(),this.emit("view-preferences-changed",{viewType:e,preferences:r})}clearViewPreferences(e){delete this.viewPreferences[e],this.savePreferencesToStorage(),this.emit("view-preferences-cleared",{viewType:e})}clearAllViewPreferences(){this.viewPreferences={},this.savePreferencesToStorage(),this.emit("all-view-preferences-cleared")}loadFromStorage(){try{let e=this.app.loadLocalStorage(this.storageKey);e&&typeof e=="string"&&(this.filterState=JSON.parse(e))}catch(e){console.warn("Failed to load view filter state from storage:",e),this.filterState={}}}saveToStorage(){try{this.app.saveLocalStorage(this.storageKey,JSON.stringify(this.filterState))}catch(e){console.warn("Failed to save view filter state to storage:",e)}}loadPreferencesFromStorage(){try{let e=this.app.loadLocalStorage(this.preferencesStorageKey);e&&typeof e=="string"&&(this.viewPreferences=JSON.parse(e))}catch(e){console.warn("Failed to load view preferences from storage:",e),this.viewPreferences={}}}savePreferencesToStorage(){try{this.app.saveLocalStorage(this.preferencesStorageKey,JSON.stringify(this.viewPreferences))}catch(e){console.warn("Failed to save view preferences to storage:",e)}}getAllFilterStates(){return{...this.filterState}}getSavedViews(){return this.savedViews.map(e=>({...e,query:kt.deepCloneFilterQuery(e.query),viewOptions:e.viewOptions?{...e.viewOptions}:void 0}))}saveView(e,r,a,i){let s={id:this.generateId(),name:e,query:kt.deepCloneFilterQuery(r),viewOptions:a?{...a}:void 0,visibleProperties:i?[...i]:void 0};return this.savedViews.push(s),this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews()),s}updateView(e,r){let a=this.savedViews.findIndex(s=>s.id===e);if(a===-1)throw new Error(`Saved view with ID ${e} not found`);let i={...r};i.query&&(i.query=kt.deepCloneFilterQuery(i.query)),i.viewOptions&&(i.viewOptions={...i.viewOptions}),this.savedViews[a]={...this.savedViews[a],...i},this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}deleteView(e){let r=this.savedViews.findIndex(a=>a.id===e);if(r===-1)throw new Error(`Saved view with ID ${e} not found`);this.savedViews.splice(r,1),this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}getSavedView(e){let r=this.savedViews.find(a=>a.id===e);if(r)return{...r,query:kt.deepCloneFilterQuery(r.query),viewOptions:r.viewOptions?{...r.viewOptions}:void 0,visibleProperties:r.visibleProperties?[...r.visibleProperties]:void 0}}clearAllSavedViews(){this.savedViews=[],this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}updateSavedViewProperties(e,r){let a=this.savedViews.find(i=>i.id===e);a&&(a.visibleProperties=r,this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews()))}getSavedViewProperties(e){let r=this.savedViews.find(a=>a.id===e);return r==null?void 0:r.visibleProperties}reorderSavedViews(e,r){if(e<0||e>=this.savedViews.length||r<0||r>this.savedViews.length||e===r)return;r=Math.min(r,this.savedViews.length-1);let[a]=this.savedViews.splice(e,1);this.savedViews.splice(r,0,a),this.saveSavedViewsToPluginData(),this.emit("saved-views-changed",this.getSavedViews())}generateId(){return Date.now().toString(36)+Math.random().toString(36).substr(2,9)}async migrateAndLoadSavedViews(){try{this.savedViews=[...this.plugin.settings.savedViews];let e=this.app.loadLocalStorage(this.savedViewsStorageKey);if(e&&typeof e=="string"&&this.savedViews.length===0){console.log("TaskNotes: Migrating saved views from localStorage to plugin data...");let r=JSON.parse(e);this.savedViews=[...r],await this.saveSavedViewsToPluginData(),this.app.saveLocalStorage(this.savedViewsStorageKey,null),console.log(`TaskNotes: Successfully migrated ${r.length} saved views to plugin data.`)}}catch(e){console.warn("Failed to load/migrate saved views:",e),this.savedViews=[]}}async saveSavedViewsToPluginData(){try{this.plugin.settings.savedViews=[...this.savedViews],await this.plugin.saveSettings()}catch(e){console.warn("Failed to save saved views to plugin data:",e)}}needsMigration(){let r=!!this.app.loadLocalStorage(this.savedViewsStorageKey),a=this.plugin.settings.savedViews&&this.plugin.settings.savedViews.length>0;return r&&!a}async performMigration(){try{this.clearAllFilterStates(),await this.migrateAndLoadSavedViews(),this.emit("migration-complete")}catch(e){console.error("Error during ViewStateManager migration:",e),this.savedViews=[],await this.saveSavedViewsToPluginData()}}cleanup(){this.removeAllListeners()}};wb();gx();var yx=class{constructor(t){this.plugin=t}createPostProcessor(){return(t,e)=>{if(!this.plugin.settings.enableTaskLinkOverlay)return;let r=t.querySelectorAll("a");for(let a of Array.from(r)){let i=a,s=i.getAttribute("href");i.classList.contains("internal-link")?this.processLink(i,e.sourcePath,"internal"):s&&!s.startsWith("http://")&&!s.startsWith("https://")&&!s.includes("://")&&this.processLink(i,e.sourcePath,"external")}}}async processLink(t,e,r){try{let a=t.getAttribute("href");if(!a)return;let i=a;if(r==="internal"){if(a.startsWith("app://")){let l=new URL(a);i=decodeURIComponent(l.pathname),i.startsWith("/")&&(i=i.substring(1))}}else{if(a.startsWith("http://")||a.startsWith("https://")||a.includes("://"))return;i=a}let s=this.resolveLinkPath(i,e);if(!s)return;let o=this.getTaskInfo(s);if(!o)return;await this.replaceWithTaskWidget(t,o,i)}catch(a){console.debug("Error processing link in reading mode:",a)}}resolveLinkPath(t,e){try{let r=this.plugin.app.metadataCache.getFirstLinkpathDest(t,e);return(r==null?void 0:r.path)||null}catch(r){return console.debug("Error resolving link path:",t,r),null}}getTaskInfo(t){try{if(!t||typeof t!="string"||t.trim().length===0)return null;let e=this.plugin.cacheManager;if(!e||!e.getCachedTaskInfoSync)return null;let r=e.getCachedTaskInfoSync(t);return r&&typeof r=="object"&&r.title?r:null}catch(e){return console.debug("Error getting task info for:",t,e),null}}async replaceWithTaskWidget(t,e,r){var a;try{let i=t.textContent||`[[${r}]]`,s,o=t.textContent||"";o!==r&&o!==e.title&&(s=o);let l=new cu(e,this.plugin,i,s),c=this.createReadingModeWidget(l,e,i,s);(a=t.parentNode)==null||a.replaceChild(c,t)}catch(i){console.error("Error replacing wikilink with task widget:",i)}}createReadingModeWidget(t,e,r,a){let i={},s=t.toDOM(i);return s.classList.add("task-inline-preview--reading-mode"),s}};function eY(n){return new yx(n).createPostProcessor()}var tY=require("@codemirror/view"),Pi=require("obsidian"),xb="tasknotes-relationships-widget",Qle="task-card-injected";async function rY(n,t){let e=document.createElement("div");e.className=`tasknotes-plugin ${xb}`,e.setAttribute("contenteditable","false"),e.setAttribute("spellcheck","false"),e.setAttribute("data-widget-type","relationships");let r=document.createElement("div");r.className="relationships__bases-container",e.appendChild(r);let a=new Pi.Component;a.load(),e.component=a;try{let i=n.settings.commandFileMapping.relationships;if(!i){let o=document.createElement("div");return o.className="relationships__error",o.textContent="Relationships view not configured",r.appendChild(o),e}let s=`![[${i}]]`;await Pi.MarkdownRenderer.render(n.app,s,r,t,a)}catch(i){console.error("[TaskNotes] Error rendering Bases view in relationships widget:",i);let s=document.createElement("div");s.className="relationships__error",s.textContent="Failed to load relationships view",r.appendChild(s)}return e}var vx=class{constructor(t,e){this.plugin=e;this.currentFile=null;this.currentWidget=null;this.widgetContainer=null;this.debounceTimer=null;this.eventListeners=[];this.view=t,this.currentFile=this.getFileFromView(t),this.setupEventListeners(),this.injectWidget(t)}update(t){this.view=t.view;let e=this.getFileFromView(t.view);e!==this.currentFile&&(this.currentFile=e,this.debouncedInjectWidget(t.view))}destroy(){this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null),this.removeWidget(),this.eventListeners.forEach(t=>{this.plugin.emitter.offref(t)}),this.eventListeners=[]}setupEventListeners(){let t=this.plugin.emitter.on(Qle,()=>{this.debouncedInjectWidget(this.view)});this.eventListeners.push(t);let e=this.plugin.emitter.on("settings-changed",()=>{this.debouncedInjectWidget(this.view)});this.eventListeners.push(e)}debouncedInjectWidget(t){this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(()=>{this.injectWidget(t)},100)}getFileFromView(t){try{let e=t.state.field(Pi.editorInfoField,!1);return(e==null?void 0:e.file)||null}catch(e){return console.debug("[TaskNotes] Error getting file from editor view:",e),null}}isTableCellEditor(t){try{let e=t.dom;if(!e)return!1;if(e.closest("td, th")||e.closest(".cm-table-widget")||e.closest(".popover.hover-popover")||e.closest(".markdown-embed[data-type='footnote']"))return!0;let o=t.state.field(Pi.editorInfoField,!1);if(!(o!=null&&o.file)){let l=e.parentElement,c=0,d=20;for(;l&&l!==document.body&&c<d;){if(l.tagName==="TABLE"||l.tagName==="TD"||l.tagName==="TH"||l.classList.contains("markdown-rendered")||l.classList.contains("popover")||l.classList.contains("hover-popover")||l.classList.contains("markdown-embed")&&l.getAttribute("data-type")==="footnote")return!0;l=l.parentElement,c++}}return!1}catch(e){return console.debug("[TaskNotes] Error detecting table cell editor:",e),!1}}removeWidget(){var t;this.currentWidget&&((t=this.currentWidget.component)==null||t.unload(),this.currentWidget.remove(),this.currentWidget=null),this.widgetContainer=null}cleanupOrphanedWidgets(t){try{let e=t.dom.closest(".workspace-leaf-content");if(!e){console.debug("[TaskNotes] Could not find workspace-leaf-content for orphan cleanup");return}e.querySelectorAll(`.${xb}`).forEach(r=>{var a;r!==this.currentWidget&&((a=r.component)==null||a.unload(),r.remove())})}catch(e){console.error("[TaskNotes] Error cleaning up orphaned relationships widgets:",e)}}async injectWidget(t){var e,r,a,i,s,o,l;this.removeWidget(),this.cleanupOrphanedWidgets(t);try{if(this.isTableCellEditor(t)||!this.plugin.settings.showRelationships)return;let c=this.currentFile||this.getFileFromView(t);if(!c)return;let d=!1,u=!1,p=this.plugin.app.metadataCache.getFileCache(c);if(p!=null&&p.frontmatter?(d=this.plugin.cacheManager.isTaskFile(p.frontmatter),u=((r=this.plugin.dependencyCache)==null?void 0:r.isFileUsedAsProject(c.path))||!1):u=((e=this.plugin.dependencyCache)==null?void 0:e.isFileUsedAsProject(c.path))||!1,!d&&!u)return;let m=c.path,h=this.plugin.settings.relationshipsPosition||"bottom",f=(a=t.dom.closest(".markdown-source-view"))==null?void 0:a.querySelector(".cm-sizer");if(!f){console.warn("[TaskNotes] Could not find .cm-sizer container for relationships widget");return}let g=await rY(this.plugin,m);if(this.currentWidget=g,this.widgetContainer=f,h==="top"){let v=f.querySelector(".tasknotes-task-card-note-widget");if(v&&v.nextSibling)(i=v.parentElement)==null||i.insertBefore(g,v.nextSibling);else{let T=f.querySelector(".metadata-container");T&&T.nextSibling?(s=T.parentElement)==null||s.insertBefore(g,T.nextSibling):f.insertBefore(g,f.firstChild)}}else{let v=(o=f.parentElement)==null?void 0:o.querySelector(".embedded-backlinks");v?(l=v.parentElement)==null||l.insertBefore(g,v):f.appendChild(g)}}catch(c){console.error("[TaskNotes] Error injecting relationships widget:",c),this.removeWidget()}}};function nY(n){return tY.ViewPlugin.fromClass(class extends vx{constructor(t){super(t,n)}destroy(){super.destroy()}})}async function Eb(n,t){var o,l;let e=n.view;if(!(e instanceof Pi.MarkdownView)||e.getMode()!=="preview")return;let r=e.file;if(!r||!t.settings.showRelationships)return;let a=!1,i=!1,s=this.plugin.app.metadataCache.getFileCache(r);if(s!=null&&s.frontmatter?(a=this.plugin.cacheManager.isTaskFile(s.frontmatter),i=((l=this.plugin.dependencyCache)==null?void 0:l.isFileUsedAsProject(r.path))||!1):i=((o=this.plugin.dependencyCache)==null?void 0:o.isFileUsedAsProject(r.path))||!1,!a&&!i){try{e.previewMode.containerEl.querySelectorAll(`.${xb}`).forEach(u=>{var m;(m=u.component)==null||m.unload(),u.remove()})}catch(c){console.debug("[TaskNotes] Error cleaning up relationships widget in reading mode:",c)}return}try{let d=e.previewMode.containerEl;d.querySelectorAll(`.${xb}`).forEach(f=>{var v;(v=f.component)==null||v.unload(),f.remove()});let u=t.settings.relationshipsPosition||"bottom",p=r.path,m=await rY(t,p),h=d.querySelector(".markdown-preview-sizer");if(!h){console.warn("[TaskNotes] Could not find .markdown-preview-sizer for relationships in reading mode");return}if(u==="top"){let f=h.querySelector(".tasknotes-task-card-note-widget");if(f!=null&&f.nextSibling)h.insertBefore(m,f.nextSibling);else{let g=h.querySelector(".metadata-container");g!=null&&g.nextSibling?h.insertBefore(m,g.nextSibling):h.insertBefore(m,h.firstChild)}}else{let f=d.querySelector(".embedded-backlinks");f!=null&&f.parentElement?f.parentElement.insertBefore(m,f):h.appendChild(m)}}catch(c){console.error("[TaskNotes] Error injecting relationships widget in reading mode:",c)}}function aY(n){let t=[],e=[],r=null,a=()=>{r&&clearTimeout(r),r=window.setTimeout(()=>{n.app.workspace.getLeavesOfType("markdown").forEach(u=>{Eb(u,n)})},100)},i=n.app.workspace.on("layout-change",a);t.push(i);let s=n.app.workspace.on("active-leaf-change",d=>{d&&Eb(d,n)});t.push(s);let o=new Map,l=n.app.metadataCache.on("changed",d=>{let u=o.get(d.path);u&&clearTimeout(u);let p=window.setTimeout(()=>{o.delete(d.path),n.app.workspace.getLeavesOfType("markdown").forEach(h=>{let f=h.view;f instanceof Pi.MarkdownView&&f.file===d&&Eb(h,n)})},500);o.set(d.path,p)});return e.push(l),n.app.workspace.getLeavesOfType("markdown").forEach(d=>{Eb(d,n)}),()=>{r&&clearTimeout(r),t.forEach(d=>n.app.workspace.offref(d)),e.forEach(d=>n.app.metadataCache.offref(d))}}var iY=require("@codemirror/view");Wn();var Mi=require("obsidian");Or();ko();var Pb="tasknotes-task-card-note-widget",Zle="task-card-injected";function sY(n,t){let e=document.createElement("div");e.className=`tasknotes-plugin task-card-note-widget ${Pb}`,e.setAttribute("contenteditable","false"),e.setAttribute("spellcheck","false"),e.setAttribute("data-widget-type","task-card");let r=new Mi.Component;r.load(),e.component=r;let a=n.settings.defaultVisibleProperties?pn(n.settings.defaultVisibleProperties,n):void 0,i=Ct(t,n,a);return i.classList.add("task-card-note-widget__card"),e.appendChild(i),e}var bx=class{constructor(t,e){this.plugin=e;this.cachedTask=null;this.currentFile=null;this.eventListeners=[];this.currentWidget=null;this.widgetContainer=null;this.debounceTimer=null;this.view=t,this.currentFile=this.getFileFromView(t),this.setupEventListeners(),this.loadTaskForCurrentFile(t)}update(t){this.view=t.view;let e=this.getFileFromView(t.view);e!==this.currentFile&&(this.currentFile=e,this.loadTaskForCurrentFile(t.view))}destroy(){this.debounceTimer&&(clearTimeout(this.debounceTimer),this.debounceTimer=null),this.removeWidget(),this.eventListeners.forEach(t=>{this.plugin.emitter.offref(t)}),this.eventListeners=[]}setupEventListeners(){let t=()=>{this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=window.setTimeout(()=>{this.loadTaskForCurrentFile(this.view)},100)},e=this.plugin.emitter.on(Ga,t),r=this.plugin.emitter.on(gt,t),a=this.plugin.emitter.on(pd,t),i=this.plugin.emitter.on(kl,t),s=this.plugin.emitter.on("settings-changed",t);this.eventListeners.push(e,r,a,i,s)}removeWidget(){var t;this.currentWidget&&((t=this.currentWidget.component)==null||t.unload(),this.currentWidget.remove(),this.currentWidget=null),this.widgetContainer=null}cleanupOrphanedWidgets(t){try{let e=t.dom.closest(".workspace-leaf-content");if(!e){console.debug("[TaskNotes] Could not find workspace-leaf-content for orphan cleanup");return}e.querySelectorAll(`.${Pb}`).forEach(r=>{var a;r!==this.currentWidget&&((a=r.component)==null||a.unload(),r.remove())})}catch(e){console.error("[TaskNotes] Error cleaning up orphaned task card widgets:",e)}}loadTaskForCurrentFile(t){var r,a,i,s,o,l,c,d,u,p,m,h,f;let e=this.getFileFromView(t);if(e instanceof Mi.TFile)try{let g=this.plugin.cacheManager.getCachedTaskInfoSync(e.path),v=k=>!(k!=null&&k.timeEntries)||k.timeEntries.length===0?!1:!k.timeEntries[k.timeEntries.length-1].endTime;(((r=this.cachedTask)==null?void 0:r.title)!==(g==null?void 0:g.title)||((a=this.cachedTask)==null?void 0:a.status)!==(g==null?void 0:g.status)||((i=this.cachedTask)==null?void 0:i.priority)!==(g==null?void 0:g.priority)||((s=this.cachedTask)==null?void 0:s.due)!==(g==null?void 0:g.due)||((o=this.cachedTask)==null?void 0:o.scheduled)!==(g==null?void 0:g.scheduled)||((l=this.cachedTask)==null?void 0:l.path)!==(g==null?void 0:g.path)||((c=this.cachedTask)==null?void 0:c.archived)!==(g==null?void 0:g.archived)||((d=this.cachedTask)==null?void 0:d.timeEstimate)!==(g==null?void 0:g.timeEstimate)||((u=this.cachedTask)==null?void 0:u.recurrence)!==(g==null?void 0:g.recurrence)||v(this.cachedTask)!==v(g)||JSON.stringify(((p=this.cachedTask)==null?void 0:p.tags)||[])!==JSON.stringify((g==null?void 0:g.tags)||[])||JSON.stringify(((m=this.cachedTask)==null?void 0:m.contexts)||[])!==JSON.stringify((g==null?void 0:g.contexts)||[])||JSON.stringify(((h=this.cachedTask)==null?void 0:h.projects)||[])!==JSON.stringify((g==null?void 0:g.projects)||[])||JSON.stringify(((f=this.cachedTask)==null?void 0:f.complete_instances)||[])!==JSON.stringify((g==null?void 0:g.complete_instances)||[]))&&(this.cachedTask=g,this.injectWidget(t))}catch(g){console.error("[TaskNotes] Error loading task for task note:",g)}else this.cachedTask!==null&&(this.cachedTask=null,this.injectWidget(t))}getFileFromView(t){try{let e=t.state.field(Mi.editorInfoField,!1);return(e==null?void 0:e.file)||null}catch(e){return console.debug("[TaskNotes] Error getting file from editor view:",e),null}}isTableCellEditor(t){try{let e=t.dom;if(!e)return!1;if(e.closest("td, th")||e.closest(".cm-table-widget")||e.closest(".popover.hover-popover")||e.closest(".markdown-embed[data-type='footnote']"))return!0;let o=t.state.field(Mi.editorInfoField,!1);if(!(o!=null&&o.file)){let l=e.parentElement,c=0,d=20;for(;l&&l!==document.body&&c<d;){if(l.tagName==="TABLE"||l.tagName==="TD"||l.tagName==="TH"||l.classList.contains("markdown-rendered")||l.classList.contains("popover")||l.classList.contains("hover-popover")||l.classList.contains("markdown-embed")&&l.getAttribute("data-type")==="footnote")return!0;l=l.parentElement,c++}}return!1}catch(e){return console.debug("[TaskNotes] Error detecting table cell editor:",e),!1}}injectWidget(t){var e,r;this.removeWidget(),this.cleanupOrphanedWidgets(t);try{if(this.isTableCellEditor(t)||!this.plugin.settings.showTaskCardInNote||!this.cachedTask)return;let a=(e=t.dom.closest(".markdown-source-view"))==null?void 0:e.querySelector(".cm-sizer");if(!a){console.warn("[TaskNotes] Could not find .cm-sizer container for task card widget");return}let i=sY(this.plugin,this.cachedTask);this.currentWidget=i,this.widgetContainer=a;let s=a.querySelector(".metadata-container");s!=null&&s.nextSibling?(r=s.parentElement)==null||r.insertBefore(i,s.nextSibling):a.insertBefore(i,a.firstChild),this.plugin.emitter.trigger(Zle,{container:a})}catch(a){console.error("[TaskNotes] Error injecting task card widget:",a),this.removeWidget()}}};function oY(n){return iY.ViewPlugin.fromClass(class extends bx{constructor(t){super(t,n)}destroy(){super.destroy()}})}async function Cb(n,t){let e=n.view;if(!(e instanceof Mi.MarkdownView)||e.getMode()!=="preview")return;let r=e.file;if(!r||!t.settings.showTaskCardInNote)return;let a=t.cacheManager.getCachedTaskInfoSync(r.path);if(!a){try{e.previewMode.containerEl.querySelectorAll(`.${Pb}`).forEach(o=>{var c;(c=o.component)==null||c.unload(),o.remove()})}catch(i){console.debug("[TaskNotes] Error cleaning up task card in reading mode:",i)}return}try{let s=e.previewMode.containerEl;s.querySelectorAll(`.${Pb}`).forEach(d=>{var p;(p=d.component)==null||p.unload(),d.remove()});let o=sY(t,a),l=s.querySelector(".markdown-preview-sizer");if(!l){console.warn("[TaskNotes] Could not find .markdown-preview-sizer for task card in reading mode");return}let c=l.querySelector(".metadata-container");c!=null&&c.nextSibling?l.insertBefore(o,c.nextSibling):l.insertBefore(o,l.firstChild)}catch(i){console.error("[TaskNotes] Error injecting task card widget in reading mode:",i)}}function lY(n){let t=[],e=[],r=[],a=null,i=()=>{a&&clearTimeout(a),a=window.setTimeout(()=>{n.app.workspace.getLeavesOfType("markdown").forEach(h=>{Cb(h,n)})},100)},s=n.app.workspace.on("layout-change",i);t.push(s);let o=n.app.workspace.on("active-leaf-change",m=>{m&&Cb(m,n)});t.push(o);let l=new Map,c=n.app.metadataCache.on("changed",m=>{let h=l.get(m.path);h&&clearTimeout(h);let f=window.setTimeout(()=>{l.delete(m.path),n.app.workspace.getLeavesOfType("markdown").forEach(v=>{let T=v.view;T instanceof Mi.MarkdownView&&T.file===m&&Cb(v,n)})},500);l.set(m.path,f)});e.push(c);let d=n.emitter.on(gt,i);r.push(d);let u=n.emitter.on(Ga,i);return r.push(u),n.app.workspace.getLeavesOfType("markdown").forEach(m=>{Cb(m,n)}),()=>{a&&clearTimeout(a),t.forEach(m=>n.app.workspace.offref(m)),e.forEach(m=>n.app.metadataCache.offref(m)),r.forEach(m=>n.emitter.offref(m))}}oP();var ST=class{constructor(t){this.draggableInstances=new Map;this.plugin=t}makeTaskCardDraggable(t,e){if(this.draggableInstances.has(t))return;t.dataset.taskPath=e;let r=new kT(t);this.draggableInstances.set(t,r),t.style.cursor="grab",t.addEventListener("dragstart",a=>{t.classList.add("task-card--dragging"),a.dataTransfer&&(a.dataTransfer.setData("text/plain",e),a.dataTransfer.setData("application/x-task-path",e),a.dataTransfer.effectAllowed="copy")}),t.addEventListener("dragend",()=>{t.classList.remove("task-card--dragging")})}removeDraggable(t){let e=this.draggableInstances.get(t);e&&(e.destroy(),this.draggableInstances.delete(t))}destroy(){this.draggableInstances.forEach(t=>{t.destroy()}),this.draggableInstances.clear()}};Ke();var zs=require("obsidian");var AT=class n{constructor(t){C(this,"icaltype","binary");this.value=t}static fromString(t){return new n(t)}decodeValue(){return this._b64_decode(this.value)}setEncodedValue(t){this.value=this._b64_encode(t)}_b64_encode(t){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,a,i,s,o,l,c,d,u=0,p=0,m="",h=[];if(!t)return t;do r=t.charCodeAt(u++),a=t.charCodeAt(u++),i=t.charCodeAt(u++),d=r<<16|a<<8|i,s=d>>18&63,o=d>>12&63,l=d>>6&63,c=d&63,h[p++]=e.charAt(s)+e.charAt(o)+e.charAt(l)+e.charAt(c);while(u<t.length);m=h.join("");let f=t.length%3;return(f?m.slice(0,f-3):m)+"===".slice(f||3)}_b64_decode(t){let e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r,a,i,s,o,l,c,d,u=0,p=0,m="",h=[];if(!t)return t;t+="";do s=e.indexOf(t.charAt(u++)),o=e.indexOf(t.charAt(u++)),l=e.indexOf(t.charAt(u++)),c=e.indexOf(t.charAt(u++)),d=s<<18|o<<12|l<<6|c,r=d>>16&255,a=d>>8&255,i=d&255,l==64?h[p++]=String.fromCharCode(r):c==64?h[p++]=String.fromCharCode(r,a):h[p++]=String.fromCharCode(r,a,i);while(u<t.length);return m=h.join(""),m}toString(){return this.value}},qpe=/([PDWHMTS]{1,1})/,Vpe=["weeks","days","hours","minutes","seconds","isNegative"],da=class n{constructor(t){C(this,"weeks",0);C(this,"days",0);C(this,"hours",0);C(this,"minutes",0);C(this,"seconds",0);C(this,"isNegative",!1);C(this,"icalclass","icalduration");C(this,"icaltype","duration");this.wrappedJSObject=this,this.fromData(t)}static fromSeconds(t){return new n().fromSeconds(t)}static isValueString(t){return t[0]==="P"||t[1]==="P"}static fromString(t){let e=0,r=Object.create(null),a=0;for(;(e=t.search(qpe))!==-1;){let i=t[e],s=t.slice(0,Math.max(0,e));t=t.slice(e+1),a+=$pe(i,s,r)}if(a<2)throw new Error('invalid duration value: Not enough duration components in "'+t+'"');return new n(r)}static fromData(t){return new n(t)}clone(){return n.fromData(this)}toSeconds(){let t=this.seconds+60*this.minutes+3600*this.hours+86400*this.days+604800*this.weeks;return this.isNegative?-t:t}fromSeconds(t){let e=Math.abs(t);return this.isNegative=t<0,this.days=Ir(e/86400),this.days%7==0?(this.weeks=this.days/7,this.days=0):this.weeks=0,e-=(this.days+7*this.weeks)*86400,this.hours=Ir(e/3600),e-=this.hours*3600,this.minutes=Ir(e/60),e-=this.minutes*60,this.seconds=e,this}fromData(t){for(let e of Vpe)t&&e in t?this[e]=t[e]:this[e]=0}reset(){this.isNegative=!1,this.weeks=0,this.days=0,this.hours=0,this.minutes=0,this.seconds=0}compare(t){let e=this.toSeconds(),r=t.toSeconds();return(e>r)-(e<r)}normalize(){this.fromSeconds(this.toSeconds())}toString(){if(this.toSeconds()==0)return"PT0S";{let t="";this.isNegative&&(t+="-"),t+="P";let e=!1;return this.weeks?this.days||this.hours||this.minutes||this.seconds?t+=this.weeks*7+this.days+"D":(t+=this.weeks+"W",e=!0):this.days&&(t+=this.days+"D"),e||(this.hours||this.minutes||this.seconds)&&(t+="T",this.hours&&(t+=this.hours+"H"),this.minutes&&(t+=this.minutes+"M"),this.seconds&&(t+=this.seconds+"S")),t}}toICALString(){return this.toString()}};function $pe(n,t,e){let r;switch(n){case"P":t&&t==="-"?e.isNegative=!0:e.isNegative=!1;break;case"D":r="days";break;case"W":r="weeks";break;case"H":r="hours";break;case"M":r="minutes";break;case"S":r="seconds";break;default:return 0}if(r){if(!t&&t!==0)throw new Error('invalid duration value: Missing number before "'+n+'"');let a=parseInt(t,10);if(rg(a))throw new Error('invalid duration value: Invalid number "'+t+'" before "'+n+'"');e[r]=a}return 1}var tg=class n{constructor(t){C(this,"start",null);C(this,"end",null);C(this,"duration",null);C(this,"icalclass","icalperiod");C(this,"icaltype","period");if(this.wrappedJSObject=this,t&&"start"in t){if(t.start&&!(t.start instanceof me))throw new TypeError(".start must be an instance of ICAL.Time");this.start=t.start}if(t&&t.end&&t.duration)throw new Error("cannot accept both end and duration");if(t&&"end"in t){if(t.end&&!(t.end instanceof me))throw new TypeError(".end must be an instance of ICAL.Time");this.end=t.end}if(t&&"duration"in t){if(t.duration&&!(t.duration instanceof da))throw new TypeError(".duration must be an instance of ICAL.Duration");this.duration=t.duration}}static fromString(t,e){let r=t.split("/");if(r.length!==2)throw new Error('Invalid string value: "'+t+'" must contain a "/" char.');let a={start:me.fromDateTimeString(r[0],e)},i=r[1];return da.isValueString(i)?a.duration=da.fromString(i):a.end=me.fromDateTimeString(i,e),new n(a)}static fromData(t){return new n(t)}static fromJSON(t,e,r){function a(i,s){return r?me.fromString(i,s):me.fromDateTimeString(i,s)}return da.isValueString(t[1])?n.fromData({start:a(t[0],e),duration:da.fromString(t[1])}):n.fromData({start:a(t[0],e),end:a(t[1],e)})}clone(){return n.fromData({start:this.start?this.start.clone():null,end:this.end?this.end.clone():null,duration:this.duration?this.duration.clone():null})}getDuration(){return this.duration?this.duration:this.end.subtractDate(this.start)}getEnd(){if(this.end)return this.end;{let t=this.start.clone();return t.addDuration(this.duration),t}}compare(t){return t.compare(this.start)<0?1:t.compare(this.getEnd())>0?-1:0}toString(){return this.start+"/"+(this.end||this.duration)}toJSON(){return[this.start.toString(),(this.end||this.duration).toString()]}toICALString(){return this.start.toICALString()+"/"+(this.end||this.duration).toICALString()}},Au,ie=class ie{constructor(t,e){C(this,"icalclass","icaltime");C(this,"_cachedUnixTime",null);C(this,"zone",null);C(this,"_pendingNormalization",!1);this.wrappedJSObject=this,this._time=Object.create(null),this._time.year=0,this._time.month=1,this._time.day=1,this._time.hour=0,this._time.minute=0,this._time.second=0,this._time.isDate=!1,this.fromData(t,e)}static daysInMonth(t,e){let r=[0,31,28,31,30,31,30,31,31,30,31,30,31],a=30;return t<1||t>12||(a=r[t],t==2&&(a+=ie.isLeapYear(e))),a}static isLeapYear(t){return t<=1752?t%4==0:t%4==0&&t%100!=0||t%400==0}static fromDayOfYear(t,e){let r=e,a=t,i=new ie;i.auto_normalize=!1;let s=ie.isLeapYear(r)?1:0;if(a<1)return r--,s=ie.isLeapYear(r)?1:0,a+=ie.daysInYearPassedMonth[s][12],ie.fromDayOfYear(a,r);if(a>ie.daysInYearPassedMonth[s][12])return s=ie.isLeapYear(r)?1:0,a-=ie.daysInYearPassedMonth[s][12],r++,ie.fromDayOfYear(a,r);i.year=r,i.isDate=!0;for(let o=11;o>=0;o--)if(a>ie.daysInYearPassedMonth[s][o]){i.month=o+1,i.day=a-ie.daysInYearPassedMonth[s][o];break}return i.auto_normalize=!0,i}static fromStringv2(t){return new ie({year:parseInt(t.slice(0,4),10),month:parseInt(t.slice(5,7),10),day:parseInt(t.slice(8,10),10),isDate:!0})}static fromDateString(t){return new ie({year:en(t.slice(0,4)),month:en(t.slice(5,7)),day:en(t.slice(8,10)),isDate:!0})}static fromDateTimeString(t,e){if(t.length<19)throw new Error('invalid date-time value: "'+t+'"');let r,a;t.slice(-1)==="Z"?r=yt.utcTimezone:e&&(a=e.getParameter("tzid"),e.parent&&(e.parent.name==="standard"||e.parent.name==="daylight"?r=yt.localTimezone:a&&(r=e.parent.getTimeZoneByID(a))));let i={year:en(t.slice(0,4)),month:en(t.slice(5,7)),day:en(t.slice(8,10)),hour:en(t.slice(11,13)),minute:en(t.slice(14,16)),second:en(t.slice(17,19))};return a&&!r&&(i.timezone=a),new ie(i,r)}static fromString(t,e){return t.length>10?ie.fromDateTimeString(t,e):ie.fromDateString(t)}static fromJSDate(t,e){return new ie().fromJSDate(t,e)}static now(){return ie.fromJSDate(new Date,!1)}static weekOneStarts(t,e){let r=ie.fromData({year:t,month:1,day:1,isDate:!0}),a=r.dayOfWeek(),i=e||ie.DEFAULT_WEEK_START;return a>ie.THURSDAY&&(r.day+=7),i>ie.THURSDAY&&(r.day-=7),r.day-=a-i,r}static getDominicalLetter(t){let e="GFEDCBA",r=(t+(t/4|0)+(t/400|0)-(t/100|0)-1)%7;return ie.isLeapYear(t)?e[(r+6)%7]+e[r]:e[r]}static get epochTime(){return sl(this,Au)||Zg(this,Au,ie.fromData({year:1970,month:1,day:1,hour:0,minute:0,second:0,isDate:!1,timezone:"Z"})),sl(this,Au)}static _cmp_attr(t,e,r){return t[r]>e[r]?1:t[r]<e[r]?-1:0}get icaltype(){return this.isDate?"date":"date-time"}get year(){return this._getTimeAttr("year")}set year(t){this._setTimeAttr("year",t)}get month(){return this._getTimeAttr("month")}set month(t){this._setTimeAttr("month",t)}get day(){return this._getTimeAttr("day")}set day(t){this._setTimeAttr("day",t)}get hour(){return this._getTimeAttr("hour")}set hour(t){this._setTimeAttr("hour",t)}get minute(){return this._getTimeAttr("minute")}set minute(t){this._setTimeAttr("minute",t)}get second(){return this._getTimeAttr("second")}set second(t){this._setTimeAttr("second",t)}get isDate(){return this._getTimeAttr("isDate")}set isDate(t){this._setTimeAttr("isDate",t)}_getTimeAttr(t){return this._pendingNormalization&&(this._normalize(),this._pendingNormalization=!1),this._time[t]}_setTimeAttr(t,e){t==="isDate"&&e&&!this._time.isDate&&this.adjust(0,0,0,0),this._cachedUnixTime=null,this._pendingNormalization=!0,this._time[t]=e}clone(){return new ie(this._time,this.zone)}reset(){this.fromData(ie.epochTime),this.zone=yt.utcTimezone}resetTo(t,e,r,a,i,s,o){this.fromData({year:t,month:e,day:r,hour:a,minute:i,second:s,zone:o})}fromJSDate(t,e){return t?e?(this.zone=yt.utcTimezone,this.year=t.getUTCFullYear(),this.month=t.getUTCMonth()+1,this.day=t.getUTCDate(),this.hour=t.getUTCHours(),this.minute=t.getUTCMinutes(),this.second=t.getUTCSeconds()):(this.zone=yt.localTimezone,this.year=t.getFullYear(),this.month=t.getMonth()+1,this.day=t.getDate(),this.hour=t.getHours(),this.minute=t.getMinutes(),this.second=t.getSeconds()):this.reset(),this._cachedUnixTime=null,this}fromData(t,e){if(t)for(let[r,a]of Object.entries(t))r!=="icaltype"&&(this[r]=a);if(e&&(this.zone=e),t&&!("isDate"in t)?this.isDate=!("hour"in t):t&&"isDate"in t&&(this.isDate=t.isDate),t&&"timezone"in t){let r=_T.get(t.timezone);this.zone=r||yt.localTimezone}return t&&"zone"in t&&(this.zone=t.zone),this.zone||(this.zone=yt.localTimezone),this._cachedUnixTime=null,this}dayOfWeek(t){let e=t||ie.SUNDAY,r=(this.year<<12)+(this.month<<8)+(this.day<<3)+e;if(r in ie._dowCache)return ie._dowCache[r];let a=this.day,i=this.month+(this.month<3?12:0),s=this.year-(this.month<3?1:0),o=a+s+Ir((i+1)*26/10)+Ir(s/4);return o+=Ir(s/100)*6+Ir(s/400),o=(o+7-e)%7+1,ie._dowCache[r]=o,o}dayOfYear(){let t=ie.isLeapYear(this.year)?1:0;return ie.daysInYearPassedMonth[t][this.month-1]+this.day}startOfWeek(t){let e=t||ie.SUNDAY,r=this.clone();return r.day-=(this.dayOfWeek()+7-e)%7,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r}endOfWeek(t){let e=t||ie.SUNDAY,r=this.clone();return r.day+=(7-this.dayOfWeek()+e-ie.SUNDAY)%7,r.isDate=!0,r.hour=0,r.minute=0,r.second=0,r}startOfMonth(){let t=this.clone();return t.day=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}endOfMonth(){let t=this.clone();return t.day=ie.daysInMonth(t.month,t.year),t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}startOfYear(){let t=this.clone();return t.day=1,t.month=1,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}endOfYear(){let t=this.clone();return t.day=31,t.month=12,t.isDate=!0,t.hour=0,t.minute=0,t.second=0,t}startDoyWeek(t){let e=t||ie.SUNDAY,r=this.dayOfWeek()-e;return r<0&&(r+=7),this.dayOfYear()-r}getDominicalLetter(){return ie.getDominicalLetter(this.year)}nthWeekDay(t,e){let r=ie.daysInMonth(this.month,this.year),a,i=e,s=0,o=this.clone();if(i>=0){o.day=1,i!=0&&i--,s=o.day;let l=o.dayOfWeek(),c=t-l;c<0&&(c+=7),s+=c,s-=t,a=t}else{o.day=r;let l=o.dayOfWeek();i++,a=l-t,a<0&&(a+=7),a=r-a}return a+=i*7,s+a}isNthWeekDay(t,e){let r=this.dayOfWeek();return e===0&&r===t||this.nthWeekDay(t,e)===this.day}weekNumber(t){let e=(this.year<<12)+(this.month<<8)+(this.day<<3)+t;if(e in ie._wnCache)return ie._wnCache[e];let r,a=this.clone();a.isDate=!0;let i=this.year;a.month==12&&a.day>25?(r=ie.weekOneStarts(i+1,t),a.compare(r)<0?r=ie.weekOneStarts(i,t):i++):(r=ie.weekOneStarts(i,t),a.compare(r)<0&&(r=ie.weekOneStarts(--i,t)));let s=a.subtractDate(r).toSeconds()/86400,o=Ir(s/7)+1;return ie._wnCache[e]=o,o}addDuration(t){let e=t.isNegative?-1:1,r=this.second,a=this.minute,i=this.hour,s=this.day;r+=e*t.seconds,a+=e*t.minutes,i+=e*t.hours,s+=e*t.days,s+=e*7*t.weeks,this.second=r,this.minute=a,this.hour=i,this.day=s,this._cachedUnixTime=null}subtractDate(t){let e=this.toUnixTime()+this.utcOffset(),r=t.toUnixTime()+t.utcOffset();return da.fromSeconds(e-r)}subtractDateTz(t){let e=this.toUnixTime(),r=t.toUnixTime();return da.fromSeconds(e-r)}compare(t){if(t instanceof tg)return-1*t.compare(this);{let e=this.toUnixTime(),r=t.toUnixTime();return e>r?1:r>e?-1:0}}compareDateOnlyTz(t,e){let r=this.convertToZone(e),a=t.convertToZone(e),i=0;return(i=ie._cmp_attr(r,a,"year"))!=0||(i=ie._cmp_attr(r,a,"month"))!=0||(i=ie._cmp_attr(r,a,"day"))!=0,i}convertToZone(t){let e=this.clone(),r=this.zone.tzid==t.tzid;return!this.isDate&&!r&&yt.convert_time(e,this.zone,t),e.zone=t,e}utcOffset(){return this.zone==yt.localTimezone||this.zone==yt.utcTimezone?0:this.zone.utcOffset(this)}toICALString(){let t=this.toString();return t.length>10?vt.icalendar.value["date-time"].toICAL(t):vt.icalendar.value.date.toICAL(t)}toString(){let t=this.year+"-"+Fn(this.month)+"-"+Fn(this.day);return this.isDate||(t+="T"+Fn(this.hour)+":"+Fn(this.minute)+":"+Fn(this.second),this.zone===yt.utcTimezone&&(t+="Z")),t}toJSDate(){return this.zone==yt.localTimezone?this.isDate?new Date(this.year,this.month-1,this.day):new Date(this.year,this.month-1,this.day,this.hour,this.minute,this.second,0):new Date(this.toUnixTime()*1e3)}_normalize(){return this._time.isDate&&(this._time.hour=0,this._time.minute=0,this._time.second=0),this.adjust(0,0,0,0),this}adjust(t,e,r,a,i){let s,o,l=0,c=0,d,u,p,m,h,f=i||this._time;if(f.isDate||(d=f.second+a,f.second=d%60,s=Ir(d/60),f.second<0&&(f.second+=60,s--),u=f.minute+r+s,f.minute=u%60,o=Ir(u/60),f.minute<0&&(f.minute+=60,o--),p=f.hour+e+o,f.hour=p%24,l=Ir(p/24),f.hour<0&&(f.hour+=24,l--)),f.month>12?c=Ir((f.month-1)/12):f.month<1&&(c=Ir(f.month/12)-1),f.year+=c,f.month-=12*c,m=f.day+t+l,m>0)for(;h=ie.daysInMonth(f.month,f.year),!(m<=h);)f.month++,f.month>12&&(f.year++,f.month=1),m-=h;else for(;m<=0;)f.month==1?(f.year--,f.month=12):f.month--,m+=ie.daysInMonth(f.month,f.year);return f.day=m,this._cachedUnixTime=null,this}fromUnixTime(t){this.zone=yt.utcTimezone;let e=new Date(t*1e3);this.year=e.getUTCFullYear(),this.month=e.getUTCMonth()+1,this.day=e.getUTCDate(),this._time.isDate?(this.hour=0,this.minute=0,this.second=0):(this.hour=e.getUTCHours(),this.minute=e.getUTCMinutes(),this.second=e.getUTCSeconds()),this._cachedUnixTime=null}toUnixTime(){if(this._cachedUnixTime!==null)return this._cachedUnixTime;let t=this.utcOffset(),e=Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second-t);return this._cachedUnixTime=e/1e3,this._cachedUnixTime}toJSON(){let t=["year","month","day","hour","minute","second","isDate"],e=Object.create(null),r=0,a=t.length,i;for(;r<a;r++)i=t[r],e[i]=this[i];return this.zone&&(e.timezone=this.zone.tzid),e}};Au=new WeakMap,C(ie,"_dowCache",{}),C(ie,"_wnCache",{}),C(ie,"fromData",function(e,r){return new ie().fromData(e,r)}),Qg(ie,Au,null),C(ie,"daysInYearPassedMonth",[[0,31,59,90,120,151,181,212,243,273,304,334,365],[0,31,60,91,121,152,182,213,244,274,305,335,366]]),C(ie,"SUNDAY",1),C(ie,"MONDAY",2),C(ie,"TUESDAY",3),C(ie,"WEDNESDAY",4),C(ie,"THURSDAY",5),C(ie,"FRIDAY",6),C(ie,"SATURDAY",7),C(ie,"DEFAULT_WEEK_START",2);var me=ie,Ype=/[^ \t]/,IT=":",dP=";",Gpe="=",Kpe="unknown",Qpe="text",Zpe={"^'":'"',"^n":`
|
||
`,"^^":"^"};function ht(n){let t={},e=t.component=[];if(t.stack=[e],ht._eachLine(n,function(r,a){ht._handleContentLine(a,t)}),t.stack.length>1)throw new Hs("invalid ical body. component began but did not end");return t=null,e.length==1?e[0]:e}ht.property=function(n,t){let e={component:[[],[]],designSet:t||vt.defaultSet};return ht._handleContentLine(n,e),e.component[1][0]};ht.component=function(n){return ht(n)};var Hs=class extends Error{constructor(){super(...arguments);C(this,"name",this.constructor.name)}};ht.ParserError=Hs;ht._handleContentLine=function(n,t){let e=n.indexOf(IT),r=n.indexOf(dP),a,i,s,o,l={};r!==-1&&e!==-1&&r>e&&(r=-1);let c;if(r!==-1){if(s=n.slice(0,Math.max(0,r)).toLowerCase(),c=ht._parseParameters(n.slice(Math.max(0,r)),0,t.designSet),c[2]==-1)throw new Hs("Invalid parameters in '"+n+"'");l=c[0];let v;if(typeof c[1]=="string"?v=c[1].length:v=c[1].reduce((T,k)=>T+k.length,0),a=v+c[2]+r,(i=n.slice(Math.max(0,a)).indexOf(IT))!==-1)o=n.slice(Math.max(0,a+i+1));else throw new Hs("Missing parameter value in '"+n+"'")}else if(e!==-1){if(s=n.slice(0,Math.max(0,e)).toLowerCase(),o=n.slice(Math.max(0,e+1)),s==="begin"){let v=[o.toLowerCase(),[],[]];t.stack.length===1?t.component.push(v):t.component[2].push(v),t.stack.push(t.component),t.component=v,t.designSet||(t.designSet=vt.getDesignSet(t.component[0]));return}else if(s==="end"){t.component=t.stack.pop();return}}else throw new Hs('invalid line (no token ";" or ":") "'+n+'"');let d,u=!1,p=!1,m,h,f;t.designSet.propertyGroups&&s.indexOf(".")!==-1?(h=s.split("."),l.group=h[0],f=h[1]):f=s,f in t.designSet.property&&(m=t.designSet.property[f],"multiValue"in m&&(u=m.multiValue),"structuredValue"in m&&(p=m.structuredValue),o&&"detectType"in m&&(d=m.detectType(o))),d||("value"in l?d=l.value.toLowerCase():m?d=m.defaultType:d=Kpe),delete l.value;let g;u&&p?(o=ht._parseMultiValue(o,p,d,[],u,t.designSet,p),g=[f,l,d,o]):u?(g=[f,l,d],ht._parseMultiValue(o,u,d,g,null,t.designSet,!1)):p?(o=ht._parseMultiValue(o,p,d,[],null,t.designSet,p),g=[f,l,d,o]):(o=ht._parseValue(o,d,t.designSet,!1),g=[f,l,d,o]),t.component[0]==="vcard"&&t.component[1].length===0&&!(s==="version"&&o==="4.0")&&(t.designSet=vt.getDesignSet("vcard3")),t.component[1].push(g)};ht._parseValue=function(n,t,e,r){return t in e.value&&"fromICAL"in e.value[t]?e.value[t].fromICAL(n,r):n};ht._parseParameters=function(n,t,e){let r=t,a=0,i=Gpe,s={},o,l,c,d=-1,u,p,m;for(;a!==!1&&(a=n.indexOf(i,a+1))!==-1;){if(o=n.slice(r+1,a),o.length==0)throw new Hs("Empty parameter name in '"+n+"'");if(l=o.toLowerCase(),m=!1,p=!1,l in e.param&&e.param[l].valueType?u=e.param[l].valueType:u=Qpe,l in e.param&&(p=e.param[l].multiValue,e.param[l].multiValueSeparateDQuote&&(m=ht._rfc6868Escape('"'+p+'"'))),n[a+1]==='"'){if(d=a+2,a=n.indexOf('"',d),p&&a!=-1){let v=!0;for(;v;)n[a+1]==p&&n[a+2]=='"'?a=n.indexOf('"',a+3):v=!1}if(a===-1)throw new Hs('invalid line (no matching double quote) "'+n+'"');c=n.slice(d,a),r=n.indexOf(dP,a);let g=n.indexOf(IT,a);(r===-1||g!==-1&&r>g)&&(a=!1)}else{d=a+1;let g=n.indexOf(dP,d),v=n.indexOf(IT,d);v!==-1&&g>v?(g=v,a=!1):g===-1?(v===-1?g=n.length:g=v,a=!1):(r=g,a=g),c=n.slice(d,g)}let f=c.length;if(c=ht._rfc6868Escape(c),d+=f-c.length,p){let g=m||p;c=ht._parseMultiValue(c,g,u,[],null,e)}else c=ht._parseValue(c,u,e);p&&l in s?Array.isArray(s[l])?s[l].push(c):s[l]=[s[l],c]:s[l]=c}return[s,c,d]};ht._rfc6868Escape=function(n){return n.replace(/\^['n^]/g,function(t){return Zpe[t]})};ht._parseMultiValue=function(n,t,e,r,a,i,s){let o=0,l=0,c;if(t.length===0)return n;for(;(o=AG(n,t,l))!==-1;)c=n.slice(l,o),a?c=ht._parseMultiValue(c,a,e,[],null,i,s):c=ht._parseValue(c,e,i,s),r.push(c),l=o+t.length;return c=n.slice(l),a?c=ht._parseMultiValue(c,a,e,[],null,i,s):c=ht._parseValue(c,e,i,s),r.push(c),r.length==1?r[0]:r};ht._eachLine=function(n,t){let e=n.length,r=n.search(Ype),a=r,i,s,o;do a=n.indexOf(`
|
||
`,r)+1,a>1&&n[a-2]==="\r"?o=2:o=1,a===0&&(a=e,o=0),s=n[r],s===" "||s===" "?i+=n.slice(r+1,a-o):(i&&t(null,i),i=n.slice(r,a-o)),r=a;while(a!==e);i=i.trim(),i.length&&t(null,i)};var Jpe=["tzid","location","tznames","latitude","longitude"],Iu,_u,st=class st{constructor(t){C(this,"tzid","");C(this,"location","");C(this,"tznames","");C(this,"latitude",0);C(this,"longitude",0);C(this,"component",null);C(this,"expandedUntilYear",0);C(this,"icalclass","icaltimezone");this.wrappedJSObject=this,this.fromData(t)}static _compare_change_fn(t,e){return t.year<e.year?-1:t.year>e.year?1:t.month<e.month?-1:t.month>e.month?1:t.day<e.day?-1:t.day>e.day?1:t.hour<e.hour?-1:t.hour>e.hour?1:t.minute<e.minute?-1:t.minute>e.minute?1:t.second<e.second?-1:t.second>e.second?1:0}static convert_time(t,e,r){if(t.isDate||e.tzid==r.tzid||e==st.localTimezone||r==st.localTimezone)return t.zone=r,t;let a=e.utcOffset(t);return t.adjust(0,0,0,-a),a=r.utcOffset(t),t.adjust(0,0,0,a),null}static fromData(t){return new st().fromData(t)}static get utcTimezone(){return sl(this,Iu)||Zg(this,Iu,st.fromData({tzid:"UTC"})),sl(this,Iu)}static get localTimezone(){return sl(this,_u)||Zg(this,_u,st.fromData({tzid:"floating"})),sl(this,_u)}static adjust_change(t,e,r,a,i){return me.prototype.adjust.call(t,e,r,a,i,t)}fromData(t){if(this.expandedUntilYear=0,this.changes=[],t instanceof Fa)this.component=t;else{if(t&&"component"in t)if(typeof t.component=="string"){let e=ht(t.component);this.component=new Fa(e)}else t.component instanceof Fa?this.component=t.component:this.component=null;for(let e of Jpe)t&&e in t&&(this[e]=t[e])}return this.component instanceof Fa&&!this.tzid&&(this.tzid=this.component.getFirstPropertyValue("tzid")),this}utcOffset(t){if(this==st.utcTimezone||this==st.localTimezone||(this._ensureCoverage(t.year),!this.changes.length))return 0;let e={year:t.year,month:t.month,day:t.day,hour:t.hour,minute:t.minute,second:t.second},r=this._findNearbyChange(e),a=-1,i=1;for(;;){let l=Nc(this.changes[r],!0);if(l.utcOffset<l.prevUtcOffset?st.adjust_change(l,0,0,0,l.utcOffset):st.adjust_change(l,0,0,0,l.prevUtcOffset),st._compare_change_fn(e,l)>=0?a=r:i=-1,i==-1&&a!=-1)break;if(r+=i,r<0)return 0;if(r>=this.changes.length)break}let s=this.changes[a];if(s.utcOffset-s.prevUtcOffset<0&&a>0){let l=Nc(s,!0);if(st.adjust_change(l,0,0,0,l.prevUtcOffset),st._compare_change_fn(e,l)<0){let c=this.changes[a-1],d=!1;s.is_daylight!=d&&c.is_daylight==d&&(s=c)}}return s.utcOffset}_findNearbyChange(t){let e=Ic(this.changes,t,st._compare_change_fn);return e>=this.changes.length?this.changes.length-1:e}_ensureCoverage(t){if(st._minimumExpansionYear==-1){let r=me.now();st._minimumExpansionYear=r.year}let e=t;if(e<st._minimumExpansionYear&&(e=st._minimumExpansionYear),e+=st.EXTRA_COVERAGE,!this.changes.length||this.expandedUntilYear<t){let r=this.component.getAllSubcomponents(),a=r.length,i=0;for(;i<a;i++)this._expandComponent(r[i],e,this.changes);this.changes.sort(st._compare_change_fn),this.expandedUntilYear=e}}_expandComponent(t,e,r){if(!t.hasProperty("dtstart")||!t.hasProperty("tzoffsetto")||!t.hasProperty("tzoffsetfrom"))return null;let a=t.getFirstProperty("dtstart").getFirstValue(),i;function s(l){return l.factor*(l.hours*3600+l.minutes*60)}function o(){let l={};return l.is_daylight=t.name=="daylight",l.utcOffset=s(t.getFirstProperty("tzoffsetto").getFirstValue()),l.prevUtcOffset=s(t.getFirstProperty("tzoffsetfrom").getFirstValue()),l}if(!t.hasProperty("rrule")&&!t.hasProperty("rdate"))i=o(),i.year=a.year,i.month=a.month,i.day=a.day,i.hour=a.hour,i.minute=a.minute,i.second=a.second,st.adjust_change(i,0,0,0,-i.prevUtcOffset),r.push(i);else{let l=t.getAllProperties("rdate");for(let d of l){let u=d.getFirstValue();i=o(),i.year=u.year,i.month=u.month,i.day=u.day,u.isDate?(i.hour=a.hour,i.minute=a.minute,i.second=a.second,a.zone!=st.utcTimezone&&st.adjust_change(i,0,0,0,-i.prevUtcOffset)):(i.hour=u.hour,i.minute=u.minute,i.second=u.second,u.zone!=st.utcTimezone&&st.adjust_change(i,0,0,0,-i.prevUtcOffset)),r.push(i)}let c=t.getFirstProperty("rrule");if(c){c=c.getFirstValue(),i=o(),c.until&&c.until.zone==st.utcTimezone&&(c.until.adjust(0,0,0,i.prevUtcOffset),c.until.zone=st.localTimezone);let d=c.iterator(a),u;for(;(u=d.next())&&(i=o(),!(u.year>e||!u));)i.year=u.year,i.month=u.month,i.day=u.day,i.hour=u.hour,i.minute=u.minute,i.second=u.second,i.isDate=u.isDate,st.adjust_change(i,0,0,0,-i.prevUtcOffset),r.push(i)}}return r}toString(){return this.tznames?this.tznames:this.tzid}};Iu=new WeakMap,_u=new WeakMap,Qg(st,Iu,null),Qg(st,_u,null),C(st,"_minimumExpansionYear",-1),C(st,"EXTRA_COVERAGE",5);var yt=st,hn=null,_T={get count(){return hn===null?0:Object.keys(hn).length},reset:function(){hn=Object.create(null);let n=yt.utcTimezone;hn.Z=n,hn.UTC=n,hn.GMT=n},_hard_reset:function(){hn=null},has:function(n){return hn===null?!1:!!hn[n]},get:function(n){return hn===null&&this.reset(),hn[n]},register:function(n,t){if(hn===null&&this.reset(),typeof n=="string"&&t instanceof yt&&([n,t]=[t,n]),t||(n instanceof yt?t=n.tzid:n.name==="vtimezone"&&(n=new yt(n),t=n.tzid)),!t)throw new TypeError("Neither a timezone nor a name was passed");if(n instanceof yt)hn[t]=n;else throw new TypeError("timezone must be ICAL.Timezone or ICAL.Component")},remove:function(n){return hn===null?null:delete hn[n]}};function Xpe(n){let t,e,r,a,i;if(!n||n.name!=="vcalendar")return n;for(t=n.getAllSubcomponents(),e=[],r={},i=0;i<t.length;i++)if(t[i].name==="vtimezone"){let s=t[i].getFirstProperty("tzid").getFirstValue();r[s]=t[i]}else e=e.concat(t[i].getAllProperties());for(a={},i=0;i<e.length;i++){let s=e[i].getParameter("tzid");s&&(a[s]=!0)}for(let[s,o]of Object.entries(r))a[s]||n.removeSubcomponent(o);for(let s of Object.keys(a))!r[s]&&_T.has(s)&&n.addSubcomponent(_T.get(s).component);return n}function rg(n){return typeof n=="number"&&isNaN(n)}function en(n){let t=parseInt(n,10);if(rg(t))throw new Error('Could not extract integer from "'+n+'"');return t}function Bs(n,t){if(typeof n!="undefined")return n instanceof t?n:new t(n)}function AG(n,t,e){for(;(e=n.indexOf(t,e))!==-1;)if(e>0&&n[e-1]==="\\")e+=1;else return e;return-1}function Ic(n,t,e){if(!n.length)return 0;let r=0,a=n.length-1,i,s;for(;r<=a;)if(i=r+Math.floor((a-r)/2),s=e(t,n[i]),s<0)a=i-1;else if(s>0)r=i+1;else break;return s<0?i:s>0?i+1:i}function Nc(n,t){if(!n||typeof n!="object")return n;if(n instanceof Date)return new Date(n.getTime());if("clone"in n)return n.clone();if(Array.isArray(n)){let e=[];for(let r=0;r<n.length;r++)e.push(t?Nc(n[r],!0):n[r]);return e}else{let e={};for(let[r,a]of Object.entries(n))t?e[r]=Nc(a,!0):e[r]=a;return e}}function IG(n){let t="",e=n||"",r=0,a=0;for(;e.length;){let i=e.codePointAt(r);i<128?++a:i<2048?a+=2:i<65536?a+=3:a+=4,a<Ui.foldLength+1?r+=i>65535?2:1:(t+=Ui.newLineChar+" "+e.slice(0,Math.max(0,r)),e=e.slice(Math.max(0,r)),r=a=0)}return t.slice(Ui.newLineChar.length+1)}function Fn(n){switch(typeof n!="string"&&(typeof n=="number"&&(n=parseInt(n)),n=String(n)),n.length){case 0:return"00";case 1:return"0"+n;default:return n}}function Ir(n){return n<0?Math.ceil(n):Math.floor(n)}function Rc(n,t){for(let e in n){let r=Object.getOwnPropertyDescriptor(n,e);r&&!Object.getOwnPropertyDescriptor(t,e)&&Object.defineProperty(t,e,r)}return t}var eme=Object.freeze({__proto__:null,binsearchInsert:Ic,clone:Nc,extend:Rc,foldline:IG,formatClassType:Bs,isStrictlyNaN:rg,pad2:Fn,strictParseInt:en,trunc:Ir,unescapedIndexOf:AG,updateTimezones:Xpe}),js=class n{constructor(t){C(this,"hours",0);C(this,"minutes",0);C(this,"factor",1);C(this,"icaltype","utc-offset");this.fromData(t)}static fromString(t){let e={};return e.factor=t[0]==="+"?1:-1,e.hours=en(t.slice(1,3)),e.minutes=en(t.slice(4,6)),new n(e)}static fromSeconds(t){let e=new n;return e.fromSeconds(t),e}clone(){return n.fromSeconds(this.toSeconds())}fromData(t){if(t)for(let[e,r]of Object.entries(t))this[e]=r;this._normalize()}fromSeconds(t){let e=Math.abs(t);return this.factor=t<0?-1:1,this.hours=Ir(e/3600),e-=this.hours*3600,this.minutes=Ir(e/60),this}toSeconds(){return this.factor*(60*this.minutes+3600*this.hours)}compare(t){let e=this.toSeconds(),r=t.toSeconds();return(e>r)-(r>e)}_normalize(){let t=this.toSeconds(),e=this.factor;for(;t<-43200;)t+=97200;for(;t>50400;)t-=97200;this.fromSeconds(t),t==0&&(this.factor=e)}toICALString(){return vt.icalendar.value["utc-offset"].toICAL(this.toString())}toString(){return(this.factor==1?"+":"-")+Fn(this.hours)+":"+Fn(this.minutes)}},Ac=class n extends me{constructor(e,r,a){super(e,r);C(this,"icalclass","vcardtime");C(this,"icaltype","date-and-or-time");this.icaltype=a||"date-and-or-time"}static fromDateAndOrTimeString(e,r){function a(g,v,T){return g?en(g.slice(v,v+T)):null}let i=e.split("T"),s=i[0],o=i[1],l=o?vt.vcard.value.time._splitZone(o):[],c=l[0],d=l[1],u=s?s.length:0,p=d?d.length:0,m=s&&s[0]=="-"&&s[1]=="-",h=d&&d[0]=="-",f={year:m?null:a(s,0,4),month:m&&(u==4||u==7)?a(s,2,2):u==7||u==10?a(s,5,2):null,day:u==5?a(s,3,2):u==7&&m?a(s,5,2):u==10?a(s,8,2):null,hour:h?null:a(d,0,2),minute:h&&p==3?a(d,1,2):p>4?h?a(d,1,2):a(d,3,2):null,second:p==4?a(d,2,2):p==6?a(d,4,2):p==8?a(d,6,2):null};return c=="Z"?c=yt.utcTimezone:c&&c[3]==":"?c=js.fromString(c):c=null,new n(f,c,r)}clone(){return new n(this._time,this.zone,this.icaltype)}_normalize(){return this}utcOffset(){return this.zone instanceof js?this.zone.toSeconds():me.prototype.utcOffset.apply(this,arguments)}toICALString(){return vt.vcard.value[this.icaltype].toICAL(this.toString())}toString(){let e=this.year,r=this.month,a=this.day,i=this.hour,s=this.minute,o=this.second,l=e!==null,c=r!==null,d=a!==null,u=i!==null,p=s!==null,m=o!==null,h=(l?Fn(e)+(c||d?"-":""):c||d?"--":"")+(c?Fn(r):"")+(d?"-"+Fn(a):""),f=(u?Fn(i):"-")+(u&&p?":":"")+(p?Fn(s):"")+(!u&&!p?"-":"")+(p&&m?":":"")+(m?Fn(o):""),g;switch(this.zone===yt.utcTimezone?g="Z":this.zone instanceof js?g=this.zone.toString():this.zone===yt.localTimezone?g="":this.zone instanceof yt?g=js.fromSeconds(this.zone.utcOffset(this)).toString():g="",this.icaltype){case"time":return f+g;case"date-and-or-time":case"date-time":return h+(f=="--"?"":"T"+f+g);case"date":return h}return null}},Rn=class Rn{constructor(t){C(this,"completed",!1);C(this,"rule",null);C(this,"dtstart",null);C(this,"last",null);C(this,"occurrence_number",0);C(this,"by_indices",null);C(this,"initialized",!1);C(this,"by_data",null);C(this,"days",null);C(this,"days_index",0);this.fromData(t)}fromData(t){if(this.rule=Bs(t.rule,oi),!this.rule)throw new Error("iterator requires a (ICAL.Recur) rule");if(this.dtstart=Bs(t.dtstart,me),!this.dtstart)throw new Error("iterator requires a (ICAL.Time) dtstart");if(t.by_data?this.by_data=t.by_data:this.by_data=Nc(this.rule.parts,!0),t.occurrence_number&&(this.occurrence_number=t.occurrence_number),this.days=t.days||[],t.last&&(this.last=Bs(t.last,me)),this.by_indices=t.by_indices,this.by_indices||(this.by_indices={BYSECOND:0,BYMINUTE:0,BYHOUR:0,BYDAY:0,BYMONTH:0,BYWEEKNO:0,BYMONTHDAY:0}),this.initialized=t.initialized||!1,!this.initialized)try{this.init()}catch(e){if(e instanceof Mu)this.completed=!0;else throw e}}init(){this.initialized=!0,this.last=this.dtstart.clone();let t=this.by_data;if("BYDAY"in t&&this.sort_byday_rules(t.BYDAY),"BYYEARDAY"in t&&("BYMONTH"in t||"BYWEEKNO"in t||"BYMONTHDAY"in t))throw new Error("Invalid BYYEARDAY rule");if("BYWEEKNO"in t&&"BYMONTHDAY"in t)throw new Error("BYWEEKNO does not fit to BYMONTHDAY");if(this.rule.freq=="MONTHLY"&&("BYYEARDAY"in t||"BYWEEKNO"in t))throw new Error("For MONTHLY recurrences neither BYYEARDAY nor BYWEEKNO may appear");if(this.rule.freq=="WEEKLY"&&("BYYEARDAY"in t||"BYMONTHDAY"in t))throw new Error("For WEEKLY recurrences neither BYMONTHDAY nor BYYEARDAY may appear");if(this.rule.freq!="YEARLY"&&"BYYEARDAY"in t)throw new Error("BYYEARDAY may only appear in YEARLY rules");if(this.last.second=this.setup_defaults("BYSECOND","SECONDLY",this.dtstart.second),this.last.minute=this.setup_defaults("BYMINUTE","MINUTELY",this.dtstart.minute),this.last.hour=this.setup_defaults("BYHOUR","HOURLY",this.dtstart.hour),this.last.day=this.setup_defaults("BYMONTHDAY","DAILY",this.dtstart.day),this.last.month=this.setup_defaults("BYMONTH","MONTHLY",this.dtstart.month),this.rule.freq=="WEEKLY")if("BYDAY"in t){let[,e]=this.ruleDayOfWeek(t.BYDAY[0],this.rule.wkst),r=e-this.last.dayOfWeek(this.rule.wkst);(this.last.dayOfWeek(this.rule.wkst)<e&&r>=0||r<0)&&(this.last.day+=r)}else{let e=oi.numericDayToIcalDay(this.dtstart.dayOfWeek());t.BYDAY=[e]}if(this.rule.freq=="YEARLY"){let e=this.rule.until?this.rule.until.year:2e4;for(;this.last.year<=e&&(this.expand_year_days(this.last.year),!(this.days.length>0));)this.increment_year(this.rule.interval);if(this.days.length==0)throw new Mu;if(!this._nextByYearDay()&&!this.next_year()&&!this.next_year()&&!this.next_year())throw new Mu}if(this.rule.freq=="MONTHLY"){if(this.has_by_data("BYDAY")){let e=null,r=this.last.clone(),a=me.daysInMonth(this.last.month,this.last.year);for(let i of this.by_data.BYDAY){this.last=r.clone();let[s,o]=this.ruleDayOfWeek(i),l=this.last.nthWeekDay(o,s);if(s>=6||s<=-6)throw new Error("Malformed values in BYDAY part");if(l>a||l<=0){if(e&&e.month==r.month)continue;for(;l>a||l<=0;)this.increment_month(),a=me.daysInMonth(this.last.month,this.last.year),l=this.last.nthWeekDay(o,s)}this.last.day=l,(!e||this.last.compare(e)<0)&&(e=this.last.clone())}if(this.last=e.clone(),this.has_by_data("BYMONTHDAY")&&this._byDayAndMonthDay(!0),this.last.day>a||this.last.day==0)throw new Error("Malformed values in BYDAY part")}else if(this.has_by_data("BYMONTHDAY")){this.last.day=1;let e=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY).filter(r=>r>=this.last.day);if(e.length)this.last.day=e[0],this.by_data.BYMONTHDAY=e;else if(!this.next_month()&&!this.next_month()&&!this.next_month())throw new Mu}}}next(t=!1){let e=this.last?this.last.clone():null;if((this.rule.count&&this.occurrence_number>=this.rule.count||this.rule.until&&this.last.compare(this.rule.until)>0)&&(this.completed=!0),this.completed)return null;if(this.occurrence_number==0&&this.last.compare(this.dtstart)>=0)return this.occurrence_number++,this.last;let r,a=0;do switch(r=1,this.rule.freq){case"SECONDLY":this.next_second();break;case"MINUTELY":this.next_minute();break;case"HOURLY":this.next_hour();break;case"DAILY":this.next_day();break;case"WEEKLY":this.next_week();break;case"MONTHLY":if(r=this.next_month(),r)a=0;else if(++a==336)return this.completed=!0,null;break;case"YEARLY":if(r=this.next_year(),r)a=0;else if(++a==28)return this.completed=!0,null;break;default:return null}while(!this.check_contracting_rules()||this.last.compare(this.dtstart)<0||!r);if(this.last.compare(e)==0){if(t)throw new Error("Same occurrence found twice, protecting you from death by recursion");this.next(!0)}return this.rule.until&&this.last.compare(this.rule.until)>0?(this.completed=!0,null):(this.occurrence_number++,this.last)}next_second(){return this.next_generic("BYSECOND","SECONDLY","second","minute")}increment_second(t){return this.increment_generic(t,"second",60,"minute")}next_minute(){return this.next_generic("BYMINUTE","MINUTELY","minute","hour","next_second")}increment_minute(t){return this.increment_generic(t,"minute",60,"hour")}next_hour(){return this.next_generic("BYHOUR","HOURLY","hour","monthday","next_minute")}increment_hour(t){this.increment_generic(t,"hour",24,"monthday")}next_day(){let t=this.rule.freq=="DAILY";return this.next_hour()==0||(t?this.increment_monthday(this.rule.interval):this.increment_monthday(1)),0}next_week(){let t=0;if(this.next_weekday_by_week()==0)return t;if(this.has_by_data("BYWEEKNO")){this.by_indices.BYWEEKNO++,this.by_indices.BYWEEKNO==this.by_data.BYWEEKNO.length&&(this.by_indices.BYWEEKNO=0,t=1),this.last.month=1,this.last.day=1;let e=this.by_data.BYWEEKNO[this.by_indices.BYWEEKNO];this.last.day+=7*e,t&&this.increment_year(1)}else this.increment_monthday(7*this.rule.interval);return t}normalizeByMonthDayRules(t,e,r){let a=me.daysInMonth(e,t),i=[],s=0,o=r.length,l;for(;s<o;s++){if(l=parseInt(r[s],10),isNaN(l))throw new Error("Invalid BYMONTHDAY value");if(!(Math.abs(l)>a)){if(l<0)l=a+(l+1);else if(l===0)continue;i.indexOf(l)===-1&&i.push(l)}}return i.sort(function(c,d){return c-d})}_byDayAndMonthDay(t){let e,r=this.by_data.BYDAY,a,i=0,s,o=r.length,l=0,c,d=this,u=this.last.day;function p(){for(c=me.daysInMonth(d.last.month,d.last.year),e=d.normalizeByMonthDayRules(d.last.year,d.last.month,d.by_data.BYMONTHDAY),s=e.length;e[i]<=u&&!(t&&e[i]==u)&&i<s-1;)i++}function m(){u=0,d.increment_month(),i=0,p()}p(),t&&(u-=1);let h=48;for(;!l&&h;){if(h--,a=u+1,a>c){m();continue}let f=e[i++];if(f>=a)u=f;else{m();continue}for(let g=0;g<o;g++){let v=this.ruleDayOfWeek(r[g]),T=v[0],k=v[1];if(this.last.day=u,this.last.isNthWeekDay(k,T)){l=1;break}}if(!l&&i===s){m();continue}}if(h<=0)throw new Error("Malformed values in BYDAY combined with BYMONTHDAY parts");return l}next_month(){let t=1;if(this.next_hour()==0)return t;if(this.has_by_data("BYDAY")&&this.has_by_data("BYMONTHDAY"))t=this._byDayAndMonthDay();else if(this.has_by_data("BYDAY")){let e=me.daysInMonth(this.last.month,this.last.year),r=0,a=0;if(this.has_by_data("BYSETPOS")){let s=this.last.day;for(let o=1;o<=e;o++)this.last.day=o,this.is_day_in_byday(this.last)&&(a++,o<=s&&r++);this.last.day=s}t=0;let i;for(i=this.last.day+1;i<=e;i++)if(this.last.day=i,this.is_day_in_byday(this.last)&&(!this.has_by_data("BYSETPOS")||this.check_set_position(++r)||this.check_set_position(r-a-1))){t=1;break}i>e&&(this.last.day=1,this.increment_month(),this.is_day_in_byday(this.last)?(!this.has_by_data("BYSETPOS")||this.check_set_position(1))&&(t=1):t=0)}else if(this.has_by_data("BYMONTHDAY")){if(this.by_indices.BYMONTHDAY++,this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length&&(this.by_indices.BYMONTHDAY=0,this.increment_month(),this.by_indices.BYMONTHDAY>=this.by_data.BYMONTHDAY.length))return 0;let e=me.daysInMonth(this.last.month,this.last.year),r=this.by_data.BYMONTHDAY[this.by_indices.BYMONTHDAY];r<0&&(r=e+r+1),r>e?(this.last.day=1,t=this.is_day_in_byday(this.last)):this.last.day=r}else{this.increment_month();let e=me.daysInMonth(this.last.month,this.last.year);this.by_data.BYMONTHDAY[0]>e?t=0:this.last.day=this.by_data.BYMONTHDAY[0]}return t}next_weekday_by_week(){let t=0;if(this.next_hour()==0)return t;if(!this.has_by_data("BYDAY"))return 1;for(;;){let e=new me;this.by_indices.BYDAY++,this.by_indices.BYDAY==Object.keys(this.by_data.BYDAY).length&&(this.by_indices.BYDAY=0,t=1);let r=this.by_data.BYDAY[this.by_indices.BYDAY],i=this.ruleDayOfWeek(r)[1];i-=this.rule.wkst,i<0&&(i+=7),e.year=this.last.year,e.month=this.last.month,e.day=this.last.day;let s=e.startDoyWeek(this.rule.wkst);if(i+s<1&&!t)continue;let o=me.fromDayOfYear(s+i,this.last.year);return this.last.year=o.year,this.last.month=o.month,this.last.day=o.day,t}}next_year(){return this.next_hour()==0||(this.days.length==0||++this.days_index==this.days.length)&&(this.days_index=0,this.increment_year(this.rule.interval),this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY)),this.expand_year_days(this.last.year),this.days.length==0)?0:this._nextByYearDay()}_nextByYearDay(){let t=this.days[this.days_index],e=this.last.year;if(Math.abs(t)==366&&!me.isLeapYear(this.last.year))return 0;t<1&&(t+=1,e+=1);let r=me.fromDayOfYear(t,e);return this.last.day=r.day,this.last.month=r.month,1}ruleDayOfWeek(t,e){let r=t.match(/([+-]?[0-9])?(MO|TU|WE|TH|FR|SA|SU)/);if(r){let a=parseInt(r[1]||0,10);return t=oi.icalDayToNumericDay(r[2],e),[a,t]}else return[0,0]}next_generic(t,e,r,a,i){let s=t in this.by_data,o=this.rule.freq==e,l=0;if(i&&this[i]()==0)return l;if(s){this.by_indices[t]++;let c=this.by_data[t];this.by_indices[t]==c.length&&(this.by_indices[t]=0,l=1),this.last[r]=c[this.by_indices[t]]}else o&&this["increment_"+r](this.rule.interval);return s&&l&&o&&this["increment_"+a](1),l}increment_monthday(t){for(let e=0;e<t;e++){let r=me.daysInMonth(this.last.month,this.last.year);this.last.day++,this.last.day>r&&(this.last.day-=r,this.increment_month())}}increment_month(){if(this.last.day=1,this.has_by_data("BYMONTH"))this.by_indices.BYMONTH++,this.by_indices.BYMONTH==this.by_data.BYMONTH.length&&(this.by_indices.BYMONTH=0,this.increment_year(1)),this.last.month=this.by_data.BYMONTH[this.by_indices.BYMONTH];else{this.rule.freq=="MONTHLY"?this.last.month+=this.rule.interval:this.last.month++,this.last.month--;let t=Ir(this.last.month/12);this.last.month%=12,this.last.month++,t!=0&&this.increment_year(t)}this.has_by_data("BYMONTHDAY")&&(this.by_data.BYMONTHDAY=this.normalizeByMonthDayRules(this.last.year,this.last.month,this.rule.parts.BYMONTHDAY))}increment_year(t){this.last.day=1,this.last.year+=t}increment_generic(t,e,r,a){this.last[e]+=t;let i=Ir(this.last[e]/r);this.last[e]%=r,i!=0&&this["increment_"+a](i)}has_by_data(t){return t in this.rule.parts}expand_year_days(t){let e=new me;this.days=[];let r={},a=["BYDAY","BYWEEKNO","BYMONTHDAY","BYMONTH","BYYEARDAY"];for(let o of a)o in this.rule.parts&&(r[o]=this.rule.parts[o]);if("BYMONTH"in r&&"BYWEEKNO"in r){let o=1,l={};e.year=t,e.isDate=!0;for(let c=0;c<this.by_data.BYMONTH.length;c++){let d=this.by_data.BYMONTH[c];e.month=d,e.day=1;let u=e.weekNumber(this.rule.wkst);e.day=me.daysInMonth(d,t);let p=e.weekNumber(this.rule.wkst);for(c=u;c<p;c++)l[c]=1}for(let c=0;c<this.by_data.BYWEEKNO.length&&o;c++)this.by_data.BYWEEKNO[c]<52?o&=l[c]:o=0;o?delete r.BYMONTH:delete r.BYWEEKNO}let i=Object.keys(r).length;if(i==0){let o=this.dtstart.clone();o.year=this.last.year,this.days.push(o.dayOfYear())}else if(i==1&&"BYMONTH"in r)for(let o of this.by_data.BYMONTH){let l=this.dtstart.clone();l.year=t,l.month=o,l.isDate=!0,this.days.push(l.dayOfYear())}else if(i==1&&"BYMONTHDAY"in r)for(let o of this.by_data.BYMONTHDAY){let l=this.dtstart.clone();if(o<0){let c=me.daysInMonth(l.month,t);o=o+c+1}l.day=o,l.year=t,l.isDate=!0,this.days.push(l.dayOfYear())}else if(i==2&&"BYMONTHDAY"in r&&"BYMONTH"in r)for(let o of this.by_data.BYMONTH){let l=me.daysInMonth(o,t);for(let c of this.by_data.BYMONTHDAY)c<0&&(c=c+l+1),e.day=c,e.month=o,e.year=t,e.isDate=!0,this.days.push(e.dayOfYear())}else if(!(i==1&&"BYWEEKNO"in r)){if(!(i==2&&"BYWEEKNO"in r&&"BYMONTHDAY"in r)){if(i==1&&"BYDAY"in r)this.days=this.days.concat(this.expand_by_day(t));else if(i==2&&"BYDAY"in r&&"BYMONTH"in r){for(let o of this.by_data.BYMONTH){let l=me.daysInMonth(o,t);e.year=t,e.month=o,e.day=1,e.isDate=!0;let c=e.dayOfWeek(),d=e.dayOfYear()-1;e.day=l;let u=e.dayOfWeek();if(this.has_by_data("BYSETPOS")){let p=[];for(let m=1;m<=l;m++)e.day=m,this.is_day_in_byday(e)&&p.push(m);for(let m=0;m<p.length;m++)(this.check_set_position(m+1)||this.check_set_position(m-p.length))&&this.days.push(d+p[m])}else for(let p of this.by_data.BYDAY){let m=this.ruleDayOfWeek(p),h=m[0],f=m[1],g,v=(f+7-c)%7+1,T=l-(u+7-f)%7;if(h==0)for(let k=v;k<=l;k+=7)this.days.push(d+k);else h>0?(g=v+(h-1)*7,g<=l&&this.days.push(d+g)):(g=T+(h+1)*7,g>0&&this.days.push(d+g))}}this.days.sort(function(o,l){return o-l})}else if(i==2&&"BYDAY"in r&&"BYMONTHDAY"in r){let o=this.expand_by_day(t);for(let l of o){let c=me.fromDayOfYear(l,t);this.by_data.BYMONTHDAY.indexOf(c.day)>=0&&this.days.push(l)}}else if(i==3&&"BYDAY"in r&&"BYMONTHDAY"in r&&"BYMONTH"in r){let o=this.expand_by_day(t);for(let l of o){let c=me.fromDayOfYear(l,t);this.by_data.BYMONTH.indexOf(c.month)>=0&&this.by_data.BYMONTHDAY.indexOf(c.day)>=0&&this.days.push(l)}}else if(i==2&&"BYDAY"in r&&"BYWEEKNO"in r){let o=this.expand_by_day(t);for(let l of o){let d=me.fromDayOfYear(l,t).weekNumber(this.rule.wkst);this.by_data.BYWEEKNO.indexOf(d)&&this.days.push(l)}}else if(!(i==3&&"BYDAY"in r&&"BYWEEKNO"in r&&"BYMONTHDAY"in r))if(i==1&&"BYYEARDAY"in r)this.days=this.days.concat(this.by_data.BYYEARDAY);else if(i==2&&"BYYEARDAY"in r&&"BYDAY"in r){let o=me.isLeapYear(t)?366:365,l=new Set(this.expand_by_day(t));for(let c of this.by_data.BYYEARDAY)c<0&&(c+=o+1),l.has(c)&&this.days.push(c)}else this.days=[]}}let s=me.isLeapYear(t)?366:365;return this.days.sort((o,l)=>(o<0&&(o+=s+1),l<0&&(l+=s+1),o-l)),0}expand_by_day(t){let e=[],r=this.last.clone();r.year=t,r.month=1,r.day=1,r.isDate=!0;let a=r.dayOfWeek();r.month=12,r.day=31,r.isDate=!0;let i=r.dayOfWeek(),s=r.dayOfYear();for(let o of this.by_data.BYDAY){let l=this.ruleDayOfWeek(o),c=l[0],d=l[1];if(c==0){let u=(d+7-a)%7+1;for(let p=u;p<=s;p+=7)e.push(p)}else if(c>0){let u;d>=a?u=d-a+1:u=d-a+8,e.push(u+(c-1)*7)}else{let u;c=-c,d<=i?u=s-i+d:u=s-i+d-7,e.push(u-(c-1)*7)}}return e}is_day_in_byday(t){if(this.by_data.BYDAY)for(let e of this.by_data.BYDAY){let r=this.ruleDayOfWeek(e),a=r[0],i=r[1],s=t.dayOfWeek();if(a==0&&i==s||t.nthWeekDay(i,a)==t.day)return 1}return 0}check_set_position(t){return this.has_by_data("BYSETPOS")?this.by_data.BYSETPOS.indexOf(t)!==-1:!1}sort_byday_rules(t){for(let e=0;e<t.length;e++)for(let r=0;r<e;r++){let a=this.ruleDayOfWeek(t[r],this.rule.wkst)[1],i=this.ruleDayOfWeek(t[e],this.rule.wkst)[1];if(a>i){let s=t[e];t[e]=t[r],t[r]=s}}}check_contract_restriction(t,e){let r=Rn._indexMap[t],a=Rn._expandMap[this.rule.freq][r],i=!1;if(t in this.by_data&&a==Rn.CONTRACT){let s=this.by_data[t];for(let o of s)if(o==e){i=!0;break}}else i=!0;return i}check_contracting_rules(){let t=this.last.dayOfWeek(),e=this.last.weekNumber(this.rule.wkst),r=this.last.dayOfYear();return this.check_contract_restriction("BYSECOND",this.last.second)&&this.check_contract_restriction("BYMINUTE",this.last.minute)&&this.check_contract_restriction("BYHOUR",this.last.hour)&&this.check_contract_restriction("BYDAY",oi.numericDayToIcalDay(t))&&this.check_contract_restriction("BYWEEKNO",e)&&this.check_contract_restriction("BYMONTHDAY",this.last.day)&&this.check_contract_restriction("BYMONTH",this.last.month)&&this.check_contract_restriction("BYYEARDAY",r)}setup_defaults(t,e,r){let a=Rn._indexMap[t];return Rn._expandMap[this.rule.freq][a]!=Rn.CONTRACT&&(t in this.by_data||(this.by_data[t]=[r]),this.rule.freq!=e)?this.by_data[t][0]:r}toJSON(){let t=Object.create(null);return t.initialized=this.initialized,t.rule=this.rule.toJSON(),t.dtstart=this.dtstart.toJSON(),t.by_data=this.by_data,t.days=this.days,t.last=this.last.toJSON(),t.by_indices=this.by_indices,t.occurrence_number=this.occurrence_number,t}};C(Rn,"_indexMap",{BYSECOND:0,BYMINUTE:1,BYHOUR:2,BYDAY:3,BYMONTHDAY:4,BYYEARDAY:5,BYWEEKNO:6,BYMONTH:7,BYSETPOS:8}),C(Rn,"_expandMap",{SECONDLY:[1,1,1,1,1,1,1,1],MINUTELY:[2,1,1,1,1,1,1,1],HOURLY:[2,2,1,1,1,1,1,1],DAILY:[2,2,2,1,1,1,1,1],WEEKLY:[2,2,2,2,3,3,1,1],MONTHLY:[2,2,2,2,2,3,3,1],YEARLY:[2,2,2,2,2,2,2,2]}),C(Rn,"UNKNOWN",0),C(Rn,"CONTRACT",1),C(Rn,"EXPAND",2),C(Rn,"ILLEGAL",3);var ng=Rn,Mu=class extends Error{constructor(){super("Recurrence rule has no valid occurrences")}},tme=/^(SU|MO|TU|WE|TH|FR|SA)$/,rme=/^([+-])?(5[0-3]|[1-4][0-9]|[1-9])?(SU|MO|TU|WE|TH|FR|SA)$/,_G={SU:me.SUNDAY,MO:me.MONDAY,TU:me.TUESDAY,WE:me.WEDNESDAY,TH:me.THURSDAY,FR:me.FRIDAY,SA:me.SATURDAY},nme=Object.fromEntries(Object.entries(_G).map(n=>n.reverse())),bG=["SECONDLY","MINUTELY","HOURLY","DAILY","WEEKLY","MONTHLY","YEARLY"],oi=class n{constructor(t){C(this,"parts",null);C(this,"interval",1);C(this,"wkst",me.MONDAY);C(this,"until",null);C(this,"count",null);C(this,"freq",null);C(this,"icalclass","icalrecur");C(this,"icaltype","recur");this.wrappedJSObject=this,this.parts={},t&&typeof t=="object"&&this.fromData(t)}static fromString(t){let e=this._stringToData(t,!1);return new n(e)}static fromData(t){return new n(t)}static _stringToData(t,e){let r=Object.create(null),a=t.split(";"),i=a.length;for(let s=0;s<i;s++){let o=a[s].split("="),l=o[0].toUpperCase(),c=o[0].toLowerCase(),d=e?c:l,u=o[1];if(l in cP){let p=u.split(","),m=new Set;for(let h of p)m.add(cP[l](h));p=[...m],r[d]=p.length==1?p[0]:p}else l in lP?lP[l](u,r,e):r[c]=u}return r}static icalDayToNumericDay(t,e){let r=e||me.SUNDAY;return(_G[t]-r+7)%7+1}static numericDayToIcalDay(t,e){let r=e||me.SUNDAY,a=t+r-me.SUNDAY;return a>7&&(a-=7),nme[a]}iterator(t){return new ng({rule:this,dtstart:t})}clone(){return new n(this.toJSON())}isFinite(){return!!(this.count||this.until)}isByCount(){return!!(this.count&&!this.until)}addComponent(t,e){let r=t.toUpperCase();r in this.parts?this.parts[r].push(e):this.parts[r]=[e]}setComponent(t,e){this.parts[t.toUpperCase()]=e.slice()}getComponent(t){let e=t.toUpperCase();return e in this.parts?this.parts[e].slice():[]}getNextOccurrence(t,e){let r=this.iterator(t),a;do a=r.next();while(a&&a.compare(e)<=0);return a&&e.zone&&(a.zone=e.zone),a}fromData(t){for(let e in t){let r=e.toUpperCase();r in cP?Array.isArray(t[e])?this.parts[r]=t[e]:this.parts[r]=[t[e]]:this[e]=t[e]}this.interval&&typeof this.interval!="number"&&lP.INTERVAL(this.interval,this),this.wkst&&typeof this.wkst!="number"&&(this.wkst=n.icalDayToNumericDay(this.wkst)),this.until&&!(this.until instanceof me)&&(this.until=me.fromString(this.until))}toJSON(){let t=Object.create(null);t.freq=this.freq,this.count&&(t.count=this.count),this.interval>1&&(t.interval=this.interval);for(let[e,r]of Object.entries(this.parts))Array.isArray(r)&&r.length==1?t[e.toLowerCase()]=r[0]:t[e.toLowerCase()]=Nc(r);return this.until&&(t.until=this.until.toString()),"wkst"in this&&this.wkst!==me.DEFAULT_WEEK_START&&(t.wkst=n.numericDayToIcalDay(this.wkst)),t}toString(){let t="FREQ="+this.freq;this.count&&(t+=";COUNT="+this.count),this.interval>1&&(t+=";INTERVAL="+this.interval);for(let[e,r]of Object.entries(this.parts))t+=";"+e+"="+r;return this.until&&(t+=";UNTIL="+this.until.toICALString()),"wkst"in this&&this.wkst!==me.DEFAULT_WEEK_START&&(t+=";WKST="+n.numericDayToIcalDay(this.wkst)),t}};function Ho(n,t,e,r){let a=r;if(r[0]==="+"&&(a=r.slice(1)),a=en(a),t!==void 0&&r<t)throw new Error(n+': invalid value "'+r+'" must be > '+t);if(e!==void 0&&r>e)throw new Error(n+': invalid value "'+r+'" must be < '+t);return a}var lP={FREQ:function(n,t,e){if(bG.indexOf(n)!==-1)t.freq=n;else throw new Error('invalid frequency "'+n+'" expected: "'+bG.join(", ")+'"')},COUNT:function(n,t,e){t.count=en(n)},INTERVAL:function(n,t,e){t.interval=en(n),t.interval<1&&(t.interval=1)},UNTIL:function(n,t,e){n.length>10?t.until=vt.icalendar.value["date-time"].fromICAL(n):t.until=vt.icalendar.value.date.fromICAL(n),e||(t.until=me.fromString(t.until))},WKST:function(n,t,e){if(tme.test(n))t.wkst=oi.icalDayToNumericDay(n);else throw new Error('invalid WKST value "'+n+'"')}},cP={BYSECOND:Ho.bind(void 0,"BYSECOND",0,60),BYMINUTE:Ho.bind(void 0,"BYMINUTE",0,59),BYHOUR:Ho.bind(void 0,"BYHOUR",0,23),BYDAY:function(n){if(rme.test(n))return n;throw new Error('invalid BYDAY value "'+n+'"')},BYMONTHDAY:Ho.bind(void 0,"BYMONTHDAY",-31,31),BYYEARDAY:Ho.bind(void 0,"BYYEARDAY",-366,366),BYWEEKNO:Ho.bind(void 0,"BYWEEKNO",-53,53),BYMONTH:Ho.bind(void 0,"BYMONTH",1,12),BYSETPOS:Ho.bind(void 0,"BYSETPOS",-366,366)},ame=/\\\\|\\;|\\,|\\[Nn]/g,ime=/\\|;|,|\n/g,TG=/\\\\|\\,|\\[Nn]/g,kG=/\\|,|\n/g;function uP(n,t){return{matches:/.*/,fromICAL:function(r,a){return ome(r,n,a)},toICAL:function(r,a){let i=t;return a&&(i=new RegExp(i.source+"|"+a,i.flags)),r.replace(i,function(s){switch(s){case"\\":return"\\\\";case";":return"\\;";case",":return"\\,";case`
|
||
`:return"\\n";default:return s}})}}}var ot={defaultType:"text"},ag={defaultType:"text",multiValue:","},NT={defaultType:"text",structuredValue:";"},DT={defaultType:"integer"},ET={defaultType:"date-time",allowedTypes:["date-time","date"]},xT={defaultType:"date-time"},Nn={defaultType:"uri"},wG={defaultType:"utc-offset"},SG={defaultType:"recur"},DG={defaultType:"date-and-or-time",allowedTypes:["date-time","date","text"]};function sme(n){switch(n){case"\\\\":return"\\";case"\\;":return";";case"\\,":return",";case"\\n":case"\\N":return`
|
||
`;default:return n}}function ome(n,t,e){return n.indexOf("\\")===-1?n:(e&&(t=new RegExp(t.source+"|\\\\"+e,t.flags)),n.replace(t,sme))}var mP={categories:ag,url:Nn,version:ot,uid:ot},hP={boolean:{values:["TRUE","FALSE"],fromICAL:function(n){switch(n){case"TRUE":return!0;case"FALSE":return!1;default:return!1}},toICAL:function(n){return n?"TRUE":"FALSE"}},float:{matches:/^[+-]?\d+\.\d+$/,fromICAL:function(n){let t=parseFloat(n);return rg(t)?0:t},toICAL:function(n){return String(n)}},integer:{fromICAL:function(n){let t=parseInt(n);return rg(t)?0:t},toICAL:function(n){return String(n)}},"utc-offset":{toICAL:function(n){return n.length<7?n.slice(0,3)+n.slice(4,6):n.slice(0,3)+n.slice(4,6)+n.slice(7,9)},fromICAL:function(n){return n.length<6?n.slice(0,3)+":"+n.slice(3,5):n.slice(0,3)+":"+n.slice(3,5)+":"+n.slice(5,7)},decorate:function(n){return js.fromString(n)},undecorate:function(n){return n.toString()}}},lme={cutype:{values:["INDIVIDUAL","GROUP","RESOURCE","ROOM","UNKNOWN"],allowXName:!0,allowIanaToken:!0},"delegated-from":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},"delegated-to":{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},encoding:{values:["8BIT","BASE64"]},fbtype:{values:["FREE","BUSY","BUSY-UNAVAILABLE","BUSY-TENTATIVE"],allowXName:!0,allowIanaToken:!0},member:{valueType:"cal-address",multiValue:",",multiValueSeparateDQuote:!0},partstat:{values:["NEEDS-ACTION","ACCEPTED","DECLINED","TENTATIVE","DELEGATED","COMPLETED","IN-PROCESS"],allowXName:!0,allowIanaToken:!0},range:{values:["THISANDFUTURE"]},related:{values:["START","END"]},reltype:{values:["PARENT","CHILD","SIBLING"],allowXName:!0,allowIanaToken:!0},role:{values:["REQ-PARTICIPANT","CHAIR","OPT-PARTICIPANT","NON-PARTICIPANT"],allowXName:!0,allowIanaToken:!0},rsvp:{values:["TRUE","FALSE"]},"sent-by":{valueType:"cal-address"},tzid:{matches:/^\//},value:{values:["binary","boolean","cal-address","date","date-time","duration","float","integer","period","recur","text","time","uri","utc-offset"],allowXName:!0,allowIanaToken:!0}},lr=Rc(hP,{text:uP(ame,ime),uri:{},binary:{decorate:function(n){return AT.fromString(n)},undecorate:function(n){return n.toString()}},"cal-address":{},date:{decorate:function(n,t){return vt.strict?me.fromDateString(n,t):me.fromString(n,t)},undecorate:function(n){return n.toString()},fromICAL:function(n){return!vt.strict&&n.length>=15?lr["date-time"].fromICAL(n):n.slice(0,4)+"-"+n.slice(4,6)+"-"+n.slice(6,8)},toICAL:function(n){let t=n.length;return t==10?n.slice(0,4)+n.slice(5,7)+n.slice(8,10):t>=19?lr["date-time"].toICAL(n):n}},"date-time":{fromICAL:function(n){if(!vt.strict&&n.length==8)return lr.date.fromICAL(n);{let t=n.slice(0,4)+"-"+n.slice(4,6)+"-"+n.slice(6,8)+"T"+n.slice(9,11)+":"+n.slice(11,13)+":"+n.slice(13,15);return n[15]&&n[15]==="Z"&&(t+="Z"),t}},toICAL:function(n){let t=n.length;if(t==10&&!vt.strict)return lr.date.toICAL(n);if(t>=19){let e=n.slice(0,4)+n.slice(5,7)+n.slice(8,13)+n.slice(14,16)+n.slice(17,19);return n[19]&&n[19]==="Z"&&(e+="Z"),e}else return n},decorate:function(n,t){return vt.strict?me.fromDateTimeString(n,t):me.fromString(n,t)},undecorate:function(n){return n.toString()}},duration:{decorate:function(n){return da.fromString(n)},undecorate:function(n){return n.toString()}},period:{fromICAL:function(n){let t=n.split("/");return t[0]=lr["date-time"].fromICAL(t[0]),da.isValueString(t[1])||(t[1]=lr["date-time"].fromICAL(t[1])),t},toICAL:function(n){return n=n.slice(),!vt.strict&&n[0].length==10?n[0]=lr.date.toICAL(n[0]):n[0]=lr["date-time"].toICAL(n[0]),da.isValueString(n[1])||(!vt.strict&&n[1].length==10?n[1]=lr.date.toICAL(n[1]):n[1]=lr["date-time"].toICAL(n[1])),n.join("/")},decorate:function(n,t){return tg.fromJSON(n,t,!vt.strict)},undecorate:function(n){return n.toJSON()}},recur:{fromICAL:function(n){return oi._stringToData(n,!0)},toICAL:function(n){let t="";for(let[e,r]of Object.entries(n))e=="until"?r.length>10?r=lr["date-time"].toICAL(r):r=lr.date.toICAL(r):e=="wkst"?typeof r=="number"&&(r=oi.numericDayToIcalDay(r)):Array.isArray(r)&&(r=r.join(",")),t+=e.toUpperCase()+"="+r+";";return t.slice(0,Math.max(0,t.length-1))},decorate:function(t){return oi.fromData(t)},undecorate:function(n){return n.toJSON()}},time:{fromICAL:function(n){if(n.length<6)return n;let t=n.slice(0,2)+":"+n.slice(2,4)+":"+n.slice(4,6);return n[6]==="Z"&&(t+="Z"),t},toICAL:function(n){if(n.length<8)return n;let t=n.slice(0,2)+n.slice(3,5)+n.slice(6,8);return n[8]==="Z"&&(t+="Z"),t}}}),cme=Rc(mP,{action:ot,attach:{defaultType:"uri"},attendee:{defaultType:"cal-address"},calscale:ot,class:ot,comment:ot,completed:xT,contact:ot,created:xT,description:ot,dtend:ET,dtstamp:xT,dtstart:ET,due:ET,duration:{defaultType:"duration"},exdate:{defaultType:"date-time",allowedTypes:["date-time","date"],multiValue:","},exrule:SG,freebusy:{defaultType:"period",multiValue:","},geo:{defaultType:"float",structuredValue:";"},"last-modified":xT,location:ot,method:ot,organizer:{defaultType:"cal-address"},"percent-complete":DT,priority:DT,prodid:ot,"related-to":ot,repeat:DT,rdate:{defaultType:"date-time",allowedTypes:["date-time","date","period"],multiValue:",",detectType:function(n){return n.indexOf("/")!==-1?"period":n.indexOf("T")===-1?"date":"date-time"}},"recurrence-id":ET,resources:ag,"request-status":NT,rrule:SG,sequence:DT,status:ot,summary:ot,transp:ot,trigger:{defaultType:"duration",allowedTypes:["duration","date-time"]},tzoffsetfrom:wG,tzoffsetto:wG,tzurl:Nn,tzid:ot,tzname:ot}),ca=Rc(hP,{text:uP(TG,kG),uri:uP(TG,kG),date:{decorate:function(n){return Ac.fromDateAndOrTimeString(n,"date")},undecorate:function(n){return n.toString()},fromICAL:function(n){return n.length==8?lr.date.fromICAL(n):n[0]=="-"&&n.length==6?n.slice(0,4)+"-"+n.slice(4):n},toICAL:function(n){return n.length==10?lr.date.toICAL(n):n[0]=="-"&&n.length==7?n.slice(0,4)+n.slice(5):n}},time:{decorate:function(n){return Ac.fromDateAndOrTimeString("T"+n,"time")},undecorate:function(n){return n.toString()},fromICAL:function(n){let t=ca.time._splitZone(n,!0),e=t[0],r=t[1];return r.length==6?r=r.slice(0,2)+":"+r.slice(2,4)+":"+r.slice(4,6):r.length==4&&r[0]!="-"?r=r.slice(0,2)+":"+r.slice(2,4):r.length==5&&(r=r.slice(0,3)+":"+r.slice(3,5)),e.length==5&&(e[0]=="-"||e[0]=="+")&&(e=e.slice(0,3)+":"+e.slice(3)),r+e},toICAL:function(n){let t=ca.time._splitZone(n),e=t[0],r=t[1];return r.length==8?r=r.slice(0,2)+r.slice(3,5)+r.slice(6,8):r.length==5&&r[0]!="-"?r=r.slice(0,2)+r.slice(3,5):r.length==6&&(r=r.slice(0,3)+r.slice(4,6)),e.length==6&&(e[0]=="-"||e[0]=="+")&&(e=e.slice(0,3)+e.slice(4)),r+e},_splitZone:function(n,t){let e=n.length-1,r=n.length-(t?5:6),a=n[r],i,s;return n[e]=="Z"?(i=n[e],s=n.slice(0,Math.max(0,e))):n.length>6&&(a=="-"||a=="+")?(i=n.slice(r),s=n.slice(0,Math.max(0,r))):(i="",s=n),[i,s]}},"date-time":{decorate:function(n){return Ac.fromDateAndOrTimeString(n,"date-time")},undecorate:function(n){return n.toString()},fromICAL:function(n){return ca["date-and-or-time"].fromICAL(n)},toICAL:function(n){return ca["date-and-or-time"].toICAL(n)}},"date-and-or-time":{decorate:function(n){return Ac.fromDateAndOrTimeString(n,"date-and-or-time")},undecorate:function(n){return n.toString()},fromICAL:function(n){let t=n.split("T");return(t[0]?ca.date.fromICAL(t[0]):"")+(t[1]?"T"+ca.time.fromICAL(t[1]):"")},toICAL:function(n){let t=n.split("T");return ca.date.toICAL(t[0])+(t[1]?"T"+ca.time.toICAL(t[1]):"")}},timestamp:lr["date-time"],"language-tag":{matches:/^[a-zA-Z0-9-]+$/},"phone-number":{fromICAL:function(n){return Array.from(n).filter(function(t){return t==="\\"?void 0:t}).join("")},toICAL:function(n){return Array.from(n).map(function(t){return t===","||t===";"?"\\"+t:t}).join("")}}}),dme={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","time","date-time","date-and-or-time","timestamp","boolean","integer","float","utc-offset","language-tag"],allowXName:!0,allowIanaToken:!0}},ume=Rc(mP,{adr:{defaultType:"text",structuredValue:";",multiValue:","},anniversary:DG,bday:DG,caladruri:Nn,caluri:Nn,clientpidmap:NT,email:ot,fburl:Nn,fn:ot,gender:NT,geo:Nn,impp:Nn,key:Nn,kind:ot,lang:{defaultType:"language-tag"},logo:Nn,member:Nn,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:ag,note:ot,org:{defaultType:"text",structuredValue:";"},photo:Nn,related:Nn,rev:{defaultType:"timestamp"},role:ot,sound:Nn,source:Nn,tel:{defaultType:"uri",allowedTypes:["uri","text"]},title:ot,tz:{defaultType:"text",allowedTypes:["text","utc-offset","uri"]},xml:ot}),pme=Rc(hP,{binary:lr.binary,date:ca.date,"date-time":ca["date-time"],"phone-number":ca["phone-number"],uri:lr.uri,text:ca.text,time:lr.time,vcard:lr.text,"utc-offset":{toICAL:function(n){return n.slice(0,7)},fromICAL:function(n){return n.slice(0,7)},decorate:function(n){return js.fromString(n)},undecorate:function(n){return n.toString()}}}),mme={type:{valueType:"text",multiValue:","},value:{values:["text","uri","date","date-time","phone-number","time","boolean","integer","float","utc-offset","vcard","binary"],allowXName:!0,allowIanaToken:!0}},hme=Rc(mP,{fn:ot,n:{defaultType:"text",structuredValue:";",multiValue:","},nickname:ag,photo:{defaultType:"binary",allowedTypes:["binary","uri"]},bday:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(n){return n.indexOf("T")===-1?"date":"date-time"}},adr:{defaultType:"text",structuredValue:";",multiValue:","},label:ot,tel:{defaultType:"phone-number"},email:ot,mailer:ot,tz:{defaultType:"utc-offset",allowedTypes:["utc-offset","text"]},geo:{defaultType:"float",structuredValue:";"},title:ot,role:ot,logo:{defaultType:"binary",allowedTypes:["binary","uri"]},agent:{defaultType:"vcard",allowedTypes:["vcard","text","uri"]},org:NT,note:ag,prodid:ot,rev:{defaultType:"date-time",allowedTypes:["date-time","date"],detectType:function(n){return n.indexOf("T")===-1?"date":"date-time"}},"sort-string":ot,sound:{defaultType:"binary",allowedTypes:["binary","uri"]},class:ot,key:{defaultType:"binary",allowedTypes:["binary","text"]}}),Ls={name:"ical",value:lr,param:lme,property:cme,propertyGroups:!1},EG={name:"vcard4",value:ca,param:dme,property:ume,propertyGroups:!0},xG={name:"vcard3",value:pme,param:mme,property:hme,propertyGroups:!0},vt={strict:!0,defaultSet:Ls,defaultType:"unknown",components:{vcard:EG,vcard3:xG,vevent:Ls,vtodo:Ls,vjournal:Ls,valarm:Ls,vtimezone:Ls,daylight:Ls,standard:Ls},icalendar:Ls,vcard:EG,vcard3:xG,getDesignSet:function(n){return n&&n in vt.components?vt.components[n]:vt.defaultSet}},MT=`\r
|
||
`,CG="unknown",fme={'"':"^'","\n":"^n","^":"^^"};function Ut(n){typeof n[0]=="string"&&(n=[n]);let t=0,e=n.length,r="";for(;t<e;t++)r+=Ut.component(n[t])+MT;return r}Ut.component=function(n,t){let e=n[0].toUpperCase(),r="BEGIN:"+e+MT,a=n[1],i=0,s=a.length,o=n[0];for(o==="vcard"&&n[1].length>0&&!(n[1][0][0]==="version"&&n[1][0][3]==="4.0")&&(o="vcard3"),t=t||vt.getDesignSet(o);i<s;i++)r+=Ut.property(a[i],t)+MT;let l=n[2]||[],c=0,d=l.length;for(;c<d;c++)r+=Ut.component(l[c],t)+MT;return r+="END:"+e,r};Ut.property=function(n,t,e){let r=n[0].toUpperCase(),a=n[0],i=n[1];t||(t=vt.defaultSet);let s=i.group,o;t.propertyGroups&&s?o=s.toUpperCase()+"."+r:o=r;for(let[m,h]of Object.entries(i)){if(t.propertyGroups&&m=="group")continue;let f=t.param[m],g=f&&f.multiValue;g&&Array.isArray(h)?(h=h.map(function(v){return v=Ut._rfc6868Unescape(v),v=Ut.paramPropertyValue(v,f.multiValueSeparateDQuote),v}),h=Ut.multiValue(h,g,"unknown",null,t)):(h=Ut._rfc6868Unescape(h),h=Ut.paramPropertyValue(h)),o+=";"+m.toUpperCase()+"="+h}if(n.length===3)return o+":";let l=n[2],c,d=!1,u=!1,p=!1;return a in t.property?(c=t.property[a],"multiValue"in c&&(d=c.multiValue),"structuredValue"in c&&Array.isArray(n[3])&&(u=c.structuredValue),"defaultType"in c?l===c.defaultType&&(p=!0):l===CG&&(p=!0)):l===CG&&(p=!0),p||(o+=";VALUE="+l.toUpperCase()),o+=":",d&&u?o+=Ut.multiValue(n[3],u,l,d,t,u):d?o+=Ut.multiValue(n.slice(3),d,l,null,t,!1):u?o+=Ut.multiValue(n[3],u,l,null,t,u):o+=Ut.value(n[3],l,t,!1),e?o:IG(o)};Ut.paramPropertyValue=function(n,t){return!t&&n.indexOf(",")===-1&&n.indexOf(":")===-1&&n.indexOf(";")===-1?n:'"'+n+'"'};Ut.multiValue=function(n,t,e,r,a,i){let s="",o=n.length,l=0;for(;l<o;l++)r&&Array.isArray(n[l])?s+=Ut.multiValue(n[l],r,e,null,a,i):s+=Ut.value(n[l],e,a,i),l!==o-1&&(s+=t);return s};Ut.value=function(n,t,e,r){return t in e.value&&"toICAL"in e.value[t]?e.value[t].toICAL(n,r):n};Ut._rfc6868Unescape=function(n){return n.replace(/[\n^"]/g,function(t){return fme[t]})};var PG=0,CT=1,PT=2,zo=3,_c=class n{static fromString(t,e){return new n(ht.property(t,e))}constructor(t,e){this._parent=e||null,typeof t=="string"?(this.jCal=[t,{},vt.defaultType],this.jCal[PT]=this.getDefaultType()):this.jCal=t,this._updateType()}get type(){return this.jCal[PT]}get name(){return this.jCal[PG]}get parent(){return this._parent}set parent(t){let e=!this._parent||t&&t._designSet!=this._parent._designSet;this._parent=t,this.type==vt.defaultType&&e&&(this.jCal[PT]=this.getDefaultType(),this._updateType())}get _designSet(){return this.parent?this.parent._designSet:vt.defaultSet}_updateType(){let t=this._designSet;this.type in t.value&&("decorate"in t.value[this.type]?this.isDecorated=!0:this.isDecorated=!1,this.name in t.property&&(this.isMultiValue="multiValue"in t.property[this.name],this.isStructuredValue="structuredValue"in t.property[this.name]))}_hydrateValue(t){return this._values&&this._values[t]?this._values[t]:this.jCal.length<=zo+t?null:this.isDecorated?(this._values||(this._values=[]),this._values[t]=this._decorate(this.jCal[zo+t])):this.jCal[zo+t]}_decorate(t){return this._designSet.value[this.type].decorate(t,this)}_undecorate(t){return this._designSet.value[this.type].undecorate(t,this)}_setDecoratedValue(t,e){this._values||(this._values=[]),typeof t=="object"&&"icaltype"in t?(this.jCal[zo+e]=this._undecorate(t),this._values[e]=t):(this.jCal[zo+e]=t,this._values[e]=this._decorate(t))}getParameter(t){if(t in this.jCal[CT])return this.jCal[CT][t]}getFirstParameter(t){let e=this.getParameter(t);return Array.isArray(e)?e[0]:e}setParameter(t,e){let r=t.toLowerCase();typeof e=="string"&&r in this._designSet.param&&"multiValue"in this._designSet.param[r]&&(e=[e]),this.jCal[CT][t]=e}removeParameter(t){delete this.jCal[CT][t]}getDefaultType(){let t=this.jCal[PG],e=this._designSet;if(t in e.property){let r=e.property[t];if("defaultType"in r)return r.defaultType}return vt.defaultType}resetType(t){this.removeAllValues(),this.jCal[PT]=t,this._updateType()}getFirstValue(){return this._hydrateValue(0)}getValues(){let t=this.jCal.length-zo;if(t<1)return[];let e=0,r=[];for(;e<t;e++)r[e]=this._hydrateValue(e);return r}removeAllValues(){this._values&&(this._values.length=0),this.jCal.length=3}setValues(t){if(!this.isMultiValue)throw new Error(this.name+`: does not not support mulitValue.
|
||
override isMultiValue`);let e=t.length,r=0;if(this.removeAllValues(),e>0&&typeof t[0]=="object"&&"icaltype"in t[0]&&this.resetType(t[0].icaltype),this.isDecorated)for(;r<e;r++)this._setDecoratedValue(t[r],r);else for(;r<e;r++)this.jCal[zo+r]=t[r]}setValue(t){this.removeAllValues(),typeof t=="object"&&"icaltype"in t&&this.resetType(t.icaltype),this.isDecorated?this._setDecoratedValue(t,0):this.jCal[zo]=t}toJSON(){return this.jCal}toICALString(){return Ut.property(this.jCal,this._designSet,!0)}},Uo=0,zi=1,Wo=2,gme=0,yme=3,Fa=class n{constructor(t,e){C(this,"_hydratedPropertyCount",0);C(this,"_hydratedComponentCount",0);C(this,"_timezoneCache",null);C(this,"_components",null);C(this,"_properties",null);typeof t=="string"&&(t=[t,[],[]]),this.jCal=t,this.parent=e||null,!this.parent&&this.name==="vcalendar"&&(this._timezoneCache=new Map)}static fromString(t){return new n(ht.component(t))}get name(){return this.jCal[Uo]}get _designSet(){var e;let t=this.parent&&this.parent._designSet;if(!t&&this.name=="vcard"){let r=(e=this.jCal[zi])==null?void 0:e[0];if(r&&r[gme]=="version"&&r[yme]=="3.0")return vt.getDesignSet("vcard3")}return t||vt.getDesignSet(this.name)}_hydrateComponent(t){if(this._components||(this._components=[],this._hydratedComponentCount=0),this._components[t])return this._components[t];let e=new n(this.jCal[Wo][t],this);return this._hydratedComponentCount++,this._components[t]=e}_hydrateProperty(t){if(this._properties||(this._properties=[],this._hydratedPropertyCount=0),this._properties[t])return this._properties[t];let e=new _c(this.jCal[zi][t],this);return this._hydratedPropertyCount++,this._properties[t]=e}getFirstSubcomponent(t){if(t){let e=0,r=this.jCal[Wo],a=r.length;for(;e<a;e++)if(r[e][Uo]===t)return this._hydrateComponent(e)}else if(this.jCal[Wo].length)return this._hydrateComponent(0);return null}getAllSubcomponents(t){let e=this.jCal[Wo].length,r=0;if(t){let a=this.jCal[Wo],i=[];for(;r<e;r++)t===a[r][Uo]&&i.push(this._hydrateComponent(r));return i}else{if(!this._components||this._hydratedComponentCount!==e)for(;r<e;r++)this._hydrateComponent(r);return this._components||[]}}hasProperty(t){let e=this.jCal[zi],r=e.length,a=0;for(;a<r;a++)if(e[a][Uo]===t)return!0;return!1}getFirstProperty(t){if(t){let e=0,r=this.jCal[zi],a=r.length;for(;e<a;e++)if(r[e][Uo]===t)return this._hydrateProperty(e)}else if(this.jCal[zi].length)return this._hydrateProperty(0);return null}getFirstPropertyValue(t){let e=this.getFirstProperty(t);return e?e.getFirstValue():null}getAllProperties(t){let e=this.jCal[zi].length,r=0;if(t){let a=this.jCal[zi],i=[];for(;r<e;r++)t===a[r][Uo]&&i.push(this._hydrateProperty(r));return i}else{if(!this._properties||this._hydratedPropertyCount!==e)for(;r<e;r++)this._hydrateProperty(r);return this._properties||[]}}_removeObjectByIndex(t,e,r){if(e=e||[],e[r]){let a=e[r];"parent"in a&&(a.parent=null)}e.splice(r,1),this.jCal[t].splice(r,1)}_removeObject(t,e,r){let a=0,i=this.jCal[t],s=i.length,o=this[e];if(typeof r=="string"){for(;a<s;a++)if(i[a][Uo]===r)return this._removeObjectByIndex(t,o,a),!0}else if(o){for(;a<s;a++)if(o[a]&&o[a]===r)return this._removeObjectByIndex(t,o,a),!0}return!1}_removeAllObjects(t,e,r){let a=this[e],i=this.jCal[t],s=i.length-1;for(;s>=0;s--)(!r||i[s][Uo]===r)&&this._removeObjectByIndex(t,a,s)}addSubcomponent(t){this._components||(this._components=[],this._hydratedComponentCount=0),t.parent&&t.parent.removeSubcomponent(t);let e=this.jCal[Wo].push(t.jCal);return this._components[e-1]=t,this._hydratedComponentCount++,t.parent=this,t}removeSubcomponent(t){let e=this._removeObject(Wo,"_components",t);return e&&this._hydratedComponentCount--,e}removeAllSubcomponents(t){let e=this._removeAllObjects(Wo,"_components",t);return this._hydratedComponentCount=0,e}addProperty(t){if(!(t instanceof _c))throw new TypeError("must be instance of ICAL.Property");this._properties||(this._properties=[],this._hydratedPropertyCount=0),t.parent&&t.parent.removeProperty(t);let e=this.jCal[zi].push(t.jCal);return this._properties[e-1]=t,this._hydratedPropertyCount++,t.parent=this,t}addPropertyWithValue(t,e){let r=new _c(t);return r.setValue(e),this.addProperty(r),r}updatePropertyWithValue(t,e){let r=this.getFirstProperty(t);return r?r.setValue(e):r=this.addPropertyWithValue(t,e),r}removeProperty(t){let e=this._removeObject(zi,"_properties",t);return e&&this._hydratedPropertyCount--,e}removeAllProperties(t){let e=this._removeAllObjects(zi,"_properties",t);return this._hydratedPropertyCount=0,e}toJSON(){return this.jCal}toString(){return Ut.component(this.jCal,this._designSet)}getTimeZoneByID(t){if(this.parent)return this.parent.getTimeZoneByID(t);if(!this._timezoneCache)return null;if(this._timezoneCache.has(t))return this._timezoneCache.get(t);let e=this.getAllSubcomponents("vtimezone");for(let r of e)if(r.getFirstProperty("tzid").getFirstValue()===t){let a=new yt({component:r,tzid:t});return this._timezoneCache.set(t,a),a}return null}},RT=class{constructor(t){C(this,"complete",!1);C(this,"ruleIterators",null);C(this,"ruleDates",null);C(this,"exDates",null);C(this,"ruleDateInc",0);C(this,"exDateInc",0);C(this,"exDate",null);C(this,"ruleDate",null);C(this,"dtstart",null);C(this,"last",null);this.ruleDates=[],this.exDates=[],this.fromData(t)}fromData(t){let e=Bs(t.dtstart,me);if(e)this.dtstart=e;else throw new Error(".dtstart (ICAL.Time) must be given");if(t.component)this._init(t.component);else{if(this.last=Bs(t.last,me)||e.clone(),!t.ruleIterators)throw new Error(".ruleIterators or .component must be given");this.ruleIterators=t.ruleIterators.map(function(r){return Bs(r,ng)}),this.ruleDateInc=t.ruleDateInc,this.exDateInc=t.exDateInc,t.ruleDates&&(this.ruleDates=t.ruleDates.map(r=>Bs(r,me)),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.exDates&&(this.exDates=t.exDates.map(r=>Bs(r,me)),this.exDate=this.exDates[this.exDateInc]),typeof t.complete!="undefined"&&(this.complete=t.complete)}}_compare_special(t,e){return!t.isDate&&e.isDate?new me({year:t.year,month:t.month,day:t.day}).compare(e):t.compare(e)}next(){let t,e,r,a=500,i=0;for(;;){if(i++>a)throw new Error("max tries have occurred, rule may be impossible to fulfill.");if(e=this.ruleDate,t=this._nextRecurrenceIter(this.last),!e&&!t){this.complete=!0;break}if((!e||t&&e.compare(t.last)>0)&&(e=t.last.clone(),t.next()),this.ruleDate===e&&this._nextRuleDay(),this.last=e,this.exDate&&(r=this._compare_special(this.last,this.exDate),r>0&&this._nextExDay(),r===0)){this._nextExDay();continue}return this.last}}toJSON(){function t(r){return r.toJSON()}let e=Object.create(null);return e.ruleIterators=this.ruleIterators.map(t),this.ruleDates&&(e.ruleDates=this.ruleDates.map(t)),this.exDates&&(e.exDates=this.exDates.map(t)),e.ruleDateInc=this.ruleDateInc,e.exDateInc=this.exDateInc,e.last=this.last.toJSON(),e.dtstart=this.dtstart.toJSON(),e.complete=this.complete,e}_extractDates(t,e){let r=[],a=t.getAllProperties(e);for(let i=0,s=a.length;i<s;i++)for(let o of a[i].getValues()){let l=Ic(r,o,(c,d)=>c.compare(d));r.splice(l,0,o)}return r}_init(t){if(this.ruleIterators=[],this.last=this.dtstart.clone(),!t.hasProperty("rdate")&&!t.hasProperty("rrule")&&!t.hasProperty("recurrence-id")){this.ruleDate=this.last.clone(),this.complete=!0;return}if(t.hasProperty("rdate")&&(this.ruleDates=this._extractDates(t,"rdate"),this.ruleDates[0]&&this.ruleDates[0].compare(this.dtstart)<0?(this.ruleDateInc=0,this.last=this.ruleDates[0].clone()):this.ruleDateInc=Ic(this.ruleDates,this.last,(e,r)=>e.compare(r)),this.ruleDate=this.ruleDates[this.ruleDateInc]),t.hasProperty("rrule")){let e=t.getAllProperties("rrule"),r=0,a=e.length,i,s;for(;r<a;r++)i=e[r].getFirstValue(),s=i.iterator(this.dtstart),this.ruleIterators.push(s),s.next()}t.hasProperty("exdate")&&(this.exDates=this._extractDates(t,"exdate"),this.exDateInc=Ic(this.exDates,this.last,this._compare_special),this.exDate=this.exDates[this.exDateInc])}_nextExDay(){this.exDate=this.exDates[++this.exDateInc]}_nextRuleDay(){this.ruleDate=this.ruleDates[++this.ruleDateInc]}_nextRecurrenceIter(){let t=this.ruleIterators;if(t.length===0)return null;let e=t.length,r,a,i=0,s;for(;i<e;i++){if(r=t[i],a=r.last,r.completed){e--,i!==0&&i--,t.splice(i,1);continue}(!s||s.last.compare(a)>0)&&(s=r)}return s}},eg=class eg{constructor(t,e){C(this,"exceptions",null);C(this,"strictExceptions",!1);t instanceof Fa||(e=t,t=null),t?this.component=t:this.component=new Fa("vevent"),this._rangeExceptionCache=Object.create(null),this.exceptions=Object.create(null),this.rangeExceptions=[],e&&e.strictExceptions&&(this.strictExceptions=e.strictExceptions),e&&e.exceptions?e.exceptions.forEach(this.relateException,this):this.component.parent&&!this.isRecurrenceException()&&this.component.parent.getAllSubcomponents("vevent").forEach(function(r){r.hasProperty("recurrence-id")&&this.relateException(r)},this)}relateException(t){if(this.isRecurrenceException())throw new Error("cannot relate exception to exceptions");if(t instanceof Fa&&(t=new eg(t)),this.strictExceptions&&t.uid!==this.uid)throw new Error("attempted to relate unrelated exception");let e=t.recurrenceId.toString();if(this.exceptions[e]=t,t.modifiesFuture()){let r=[t.recurrenceId.toUnixTime(),e],a=Ic(this.rangeExceptions,r,MG);this.rangeExceptions.splice(a,0,r)}}modifiesFuture(){return this.component.hasProperty("recurrence-id")?this.component.getFirstProperty("recurrence-id").getParameter("range")===eg.THISANDFUTURE:!1}findRangeException(t){if(!this.rangeExceptions.length)return null;let e=t.toUnixTime(),r=Ic(this.rangeExceptions,[e],MG);if(r-=1,r<0)return null;let a=this.rangeExceptions[r];return e<a[0]?null:a[1]}getOccurrenceDetails(t){let e=t.toString(),r=t.convertToZone(yt.utcTimezone).toString(),a,i={recurrenceId:t};if(e in this.exceptions)a=i.item=this.exceptions[e],i.startDate=a.startDate,i.endDate=a.endDate,i.item=a;else if(r in this.exceptions)a=this.exceptions[r],i.startDate=a.startDate,i.endDate=a.endDate,i.item=a;else{let s=this.findRangeException(t),o;if(s){let l=this.exceptions[s];i.item=l;let c=this._rangeExceptionCache[s];if(!c){let u=l.recurrenceId.clone(),p=l.startDate.clone();u.zone=p.zone,c=p.subtractDate(u),this._rangeExceptionCache[s]=c}let d=t.clone();d.zone=l.startDate.zone,d.addDuration(c),o=d.clone(),o.addDuration(l.duration),i.startDate=d,i.endDate=o}else o=t.clone(),o.addDuration(this.duration),i.endDate=o,i.startDate=t,i.item=this}return i}iterator(t){return new RT({component:this.component,dtstart:t||this.startDate})}isRecurring(){let t=this.component;return t.hasProperty("rrule")||t.hasProperty("rdate")}isRecurrenceException(){return this.component.hasProperty("recurrence-id")}getRecurrenceTypes(){let t=this.component.getAllProperties("rrule"),e=0,r=t.length,a=Object.create(null);for(;e<r;e++){let i=t[e].getFirstValue();a[i.freq]=!0}return a}get uid(){return this._firstProp("uid")}set uid(t){this._setProp("uid",t)}get startDate(){return this._firstProp("dtstart")}set startDate(t){this._setTime("dtstart",t)}get endDate(){let t=this._firstProp("dtend");if(!t){let e=this._firstProp("duration");t=this.startDate.clone(),e?t.addDuration(e):t.isDate&&(t.day+=1)}return t}set endDate(t){this.component.hasProperty("duration")&&this.component.removeProperty("duration"),this._setTime("dtend",t)}get duration(){let t=this._firstProp("duration");return t||this.endDate.subtractDateTz(this.startDate)}set duration(t){this.component.hasProperty("dtend")&&this.component.removeProperty("dtend"),this._setProp("duration",t)}get location(){return this._firstProp("location")}set location(t){this._setProp("location",t)}get attendees(){return this.component.getAllProperties("attendee")}get summary(){return this._firstProp("summary")}set summary(t){this._setProp("summary",t)}get description(){return this._firstProp("description")}set description(t){this._setProp("description",t)}get color(){return this._firstProp("color")}set color(t){this._setProp("color",t)}get organizer(){return this._firstProp("organizer")}set organizer(t){this._setProp("organizer",t)}get sequence(){return this._firstProp("sequence")}set sequence(t){this._setProp("sequence",t)}get recurrenceId(){return this._firstProp("recurrence-id")}set recurrenceId(t){this._setTime("recurrence-id",t)}_setTime(t,e){let r=this.component.getFirstProperty(t);r||(r=new _c(t),this.component.addProperty(r)),e.zone===yt.localTimezone||e.zone===yt.utcTimezone?r.removeParameter("tzid"):r.setParameter("tzid",e.zone.tzid),r.setValue(e)}_setProp(t,e){this.component.updatePropertyWithValue(t,e)}_firstProp(t){return this.component.getFirstPropertyValue(t)}toString(){return this.component.toString()}};C(eg,"THISANDFUTURE","THISANDFUTURE");var FT=eg;function MG(n,t){return n[0]>t[0]?1:t[0]>n[0]?-1:0}var pP=class{constructor(t){C(this,"parseEvent",!0);C(this,"parseTimezone",!0);C(this,"oncomplete",function(){});C(this,"onerror",function(t){});C(this,"ontimezone",function(t){});C(this,"onevent",function(t){});typeof t=="undefined"&&(t={});for(let[e,r]of Object.entries(t))this[e]=r}process(t){typeof t=="string"&&(t=ht(t)),t instanceof Fa||(t=new Fa(t));let e=t.getAllSubcomponents(),r=0,a=e.length,i;for(;r<a;r++)switch(i=e[r],i.name){case"vtimezone":if(this.parseTimezone){let s=i.getFirstPropertyValue("tzid");s&&this.ontimezone(new yt({tzid:s,component:i}))}break;case"vevent":this.parseEvent&&this.onevent(new FT(i));break;default:continue}this.oncomplete()}},Ui={foldLength:75,debug:!1,newLineChar:`\r
|
||
`,Binary:AT,Component:Fa,ComponentParser:pP,Duration:da,Event:FT,Period:tg,Property:_c,Recur:oi,RecurExpansion:RT,RecurIterator:ng,Time:me,Timezone:yt,TimezoneService:_T,UtcOffset:js,VCardTime:Ac,parse:ht,stringify:Ut,design:vt,helpers:eme};var OT=class extends xi{constructor(e){super();this.subscriptions=[];this.cache=new Map;this.refreshTimers=new Map;this.fileWatchers=new Map;this.pendingRefreshes=new Set;this.lastFetched=new Map;this.lastError=new Map;this.CACHE_GRACE_PERIOD=300*1e3;this.plugin=e}translate(e,r){return this.plugin.i18n.translate(e,r)}icalTimeToISOString(e){if(e.isDate){let a=e.year.toString().padStart(4,"0"),i=e.month.toString().padStart(2,"0"),s=e.day.toString().padStart(2,"0");return`${a}-${i}-${s}`}let r=e.toUnixTime();return new Date(r*1e3).toISOString()}async initialize(){await this.loadSubscriptions();let e=[];this.subscriptions.forEach(r=>{if(r.enabled){r.type==="remote"?this.startRefreshTimer(r):r.type==="local"&&this.startFileWatcher(r);let a=this.cache.get(r.id);(!a||new Date(a.expires)<=new Date)&&e.push(this.fetchSubscription(r.id))}}),await Promise.allSettled(e),this.emit("data-changed")}async loadSubscriptions(){try{let e=await this.plugin.loadData();this.subscriptions=(e==null?void 0:e.icsSubscriptions)||[]}catch(e){console.error("Failed to load ICS subscriptions:",e),this.subscriptions=[]}}async saveSubscriptions(){try{let e=await this.plugin.loadData()||{};e.icsSubscriptions=this.subscriptions,await this.plugin.saveData(e)}catch(e){throw console.error("Failed to save ICS subscriptions:",e),e}}getSubscriptions(){return[...this.subscriptions]}getLastFetched(e){return this.lastFetched.get(e)}getLastError(e){return this.lastError.get(e)}async addSubscription(e){let r={...e,id:this.generateId()};return this.subscriptions.push(r),await this.saveSubscriptions(),r.enabled&&(r.type==="remote"?(this.startRefreshTimer(r),await this.fetchSubscription(r.id)):r.type==="local"&&(this.startFileWatcher(r),await this.fetchSubscription(r.id))),this.emit("data-changed"),r}async updateSubscription(e,r){let a=this.subscriptions.findIndex(o=>o.id===e);if(a===-1)throw new Error("Subscription not found");let i=this.subscriptions[a],s={...i,...r};this.subscriptions[a]=s,await this.saveSubscriptions(),this.stopRefreshTimer(e),this.stopFileWatcher(e),s.enabled&&(s.type==="remote"?this.startRefreshTimer(s):s.type==="local"&&this.startFileWatcher(s)),(r.url&&r.url!==i.url||r.filePath&&r.filePath!==i.filePath)&&this.cache.delete(e),this.emit("data-changed")}async removeSubscription(e){let r=this.subscriptions.findIndex(a=>a.id===e);if(r===-1)throw new Error("Subscription not found");this.subscriptions.splice(r,1),await this.saveSubscriptions(),this.stopRefreshTimer(e),this.stopFileWatcher(e),this.cache.delete(e),this.lastFetched.delete(e),this.lastError.delete(e),this.emit("data-changed")}async fetchSubscription(e){let r=this.subscriptions.find(a=>a.id===e);if(!(!r||!r.enabled))try{let a;if(r.type==="remote"){if(!r.url)throw new Error("Remote subscription missing URL");a=(await(0,zs.requestUrl)({url:r.url,method:"GET",headers:{Accept:"text/calendar,*/*;q=0.1","Accept-Language":"en-US,en;q=0.9","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"}})).text}else if(r.type==="local"){if(!r.filePath)throw new Error("Local subscription missing file path");a=await this.readLocalICSFile(r.filePath)}else throw new Error("Unknown subscription type");let i=this.parseICS(a,r.id),s={subscriptionId:e,events:i,lastUpdated:new Date().toISOString(),expires:new Date(Date.now()+r.refreshInterval*60*1e3).toISOString()};this.cache.set(e,s),this.lastFetched.set(e,new Date().toISOString()),this.lastError.delete(e),this.emit("data-changed")}catch(a){let i=a instanceof Error?a.message:String(a);this.lastError.set(e,i),r.type==="remote"?i.includes("404")?new zs.Notice(this.translate("services.icsSubscription.notices.calendarNotFound",{name:r.name})):i.includes("500")||i.includes("OwaBasicUnsupportedException")?new zs.Notice(this.translate("services.icsSubscription.notices.calendarAccessDenied",{name:r.name})):new zs.Notice(this.translate("services.icsSubscription.notices.fetchRemoteFailed",{name:r.name,error:i})):new zs.Notice(this.translate("services.icsSubscription.notices.readLocalFailed",{name:r.name,error:i}))}}parseICS(e,r){try{let a=Ui.parse(e),i=new Ui.Component(a);i.getAllSubcomponents("vtimezone").forEach(d=>{Ui.TimezoneService.register(d)});let o=i.getAllSubcomponents("vevent"),l=[],c=new Map;return o.forEach(d=>{let u=new Ui.Event(d),p=u.uid;if(!p)return;let m=d.getFirstPropertyValue("recurrence-id");if(m){c.has(p)||c.set(p,new Map);let h=m.toString();c.get(p).set(h,u)}}),o.forEach(d=>{try{let u=new Ui.Event(d);if(d.getFirstPropertyValue("recurrence-id"))return;let m=u.summary||"Untitled Event",h=u.description||void 0,f=u.location||void 0,g=u.startDate,v=u.endDate;if(!g)return;let T=g.isDate,k=this.icalTimeToISOString(g),w=v?this.icalTimeToISOString(v):void 0,S=u.uid||`${r}-${l.length}`,x=`${r}-${S}`,I={id:x,subscriptionId:r,title:m,description:h,start:k,end:w,allDay:T,location:f,url:u.url||void 0};if(u.isRecurring()){let A=new Set;d.getAllProperties("exdate").forEach(Q=>{let W=Q.getFirstValue();W&&(Array.isArray(W)?W:[W]).forEach(K=>{K&&typeof K.toString=="function"&&A.add(K.toString())})});let z=c.get(S)||new Map,U=u.iterator(g),N=new Ui.Time;N.fromJSDate(new Date(Date.now()+365*24*60*60*1e3));let P,_=0,Y=100;for(;(P=U.next())&&_<Y&&!(P.compare(N)>0);){let Q=P.toString();if(A.has(Q)){_++;continue}let W=z.get(Q);if(W){let H=W.startDate,K=W.endDate;H&&l.push({id:`${x}-${_}`,subscriptionId:r,title:W.summary||m,description:W.description||h,start:this.icalTimeToISOString(H),end:K?this.icalTimeToISOString(K):void 0,allDay:H.isDate,location:W.location||f,url:W.url||I.url})}else{let H=this.icalTimeToISOString(P),K=w;if(v&&g){let ae=v.toUnixTime()-g.toUnixTime(),ye=P.toUnixTime()+ae;K=new Date(ye*1e3).toISOString()}l.push({...I,id:`${x}-${_}`,start:H,end:K})}_++}}else l.push(I)}catch(u){console.warn("Failed to parse individual event:",u)}}),l}catch(a){throw console.error("Failed to parse ICS data:",a),new Error("Invalid ICS format")}}getAllEvents(){let e=[],r=new Date;return this.subscriptions.forEach(a=>{if(!a.enabled)return;let i=this.cache.get(a.id);if(!i){this.pendingRefreshes.has(a.id)||(this.pendingRefreshes.add(a.id),this.fetchSubscription(a.id).finally(()=>this.pendingRefreshes.delete(a.id)));return}let s=new Date(i.expires),o=new Date(s.getTime()+this.CACHE_GRACE_PERIOD);r<o?(e.push(...i.events),r>s&&!this.pendingRefreshes.has(a.id)&&(this.pendingRefreshes.add(a.id),this.fetchSubscription(a.id).finally(()=>this.pendingRefreshes.delete(a.id)))):this.pendingRefreshes.has(a.id)||(this.pendingRefreshes.add(a.id),this.fetchSubscription(a.id).finally(()=>this.pendingRefreshes.delete(a.id)))}),e}getEventsForSubscription(e){let r=this.cache.get(e);if(!r){let l=this.subscriptions.find(c=>c.id===e);return l&&l.enabled&&!this.pendingRefreshes.has(e)&&(this.pendingRefreshes.add(e),this.fetchSubscription(e).finally(()=>this.pendingRefreshes.delete(e))),[]}let a=new Date,i=new Date(r.expires),s=new Date(i.getTime()+this.CACHE_GRACE_PERIOD);return a>=s?(this.pendingRefreshes.has(e)||(this.pendingRefreshes.add(e),this.fetchSubscription(e).finally(()=>this.pendingRefreshes.delete(e))),[]):(a>i&&!this.pendingRefreshes.has(e)&&(this.pendingRefreshes.add(e),this.fetchSubscription(e).finally(()=>this.pendingRefreshes.delete(e))),[...r.events])}async refreshAllSubscriptions(){let e=this.subscriptions.filter(r=>r.enabled);for(let r of e)await this.fetchSubscription(r.id)}async readLocalICSFile(e){try{let r=this.plugin.app.vault.getAbstractFileByPath(e);if(!r||!(r instanceof zs.TFile))throw new Error(`File not found: ${e}`);if(r.extension!=="ics")throw new Error(`File is not an ICS file: ${e}`);return await this.plugin.app.vault.cachedRead(r)}catch(r){throw new Error(`Failed to read local ICS file "${e}": ${r instanceof Error?r.message:String(r)}`)}}startFileWatcher(e){if(!e.filePath)return;this.stopFileWatcher(e.id);let r=(c,d)=>{(c.path===e.filePath||d===e.filePath)&&setTimeout(()=>{this.fetchSubscription(e.id)},1e3)},a=this.plugin.app.vault.on("modify",r),i=this.plugin.app.vault.on("rename",r),s=this.plugin.app.vault.on("delete",c=>{c.path===e.filePath&&this.lastError.set(e.id,"Local ICS file was deleted")});this.fileWatchers.set(e.id,()=>{this.plugin.app.vault.offref(a),this.plugin.app.vault.offref(i),this.plugin.app.vault.offref(s)});let o=e.refreshInterval*60*1e3,l=setInterval(()=>{this.fetchSubscription(e.id)},o);this.refreshTimers.set(e.id,l)}stopFileWatcher(e){let r=this.fileWatchers.get(e);r&&(r(),this.fileWatchers.delete(e))}async refreshSubscription(e){await this.fetchSubscription(e)}startRefreshTimer(e){this.stopRefreshTimer(e.id);let r=e.refreshInterval*60*1e3,a=setInterval(()=>{this.fetchSubscription(e.id)},r);this.refreshTimers.set(e.id,a)}stopRefreshTimer(e){let r=this.refreshTimers.get(e);r&&(clearInterval(r),this.refreshTimers.delete(e))}generateId(){return"ics_"+Math.random().toString(36).substring(2,11)+Date.now().toString(36)}destroy(){this.refreshTimers.forEach(e=>clearInterval(e)),this.refreshTimers.clear(),this.fileWatchers.forEach(e=>e()),this.fileWatchers.clear(),this.cache.clear(),this.pendingRefreshes.clear(),this.removeAllListeners()}getLocalICSFiles(){return this.plugin.app.vault.getFiles().filter(e=>e.extension==="ics").sort((e,r)=>e.path.localeCompare(r.path))}};var Us=require("obsidian");rr();Ke();nb();Dr();var LT=class{constructor(t){this.plugin=t}translate(t,e){return this.plugin.i18n.translate(t,e)}async createTaskFromICS(t,e){try{let r=this.plugin.icsSubscriptionService.getSubscriptions().find(o=>o.id===t.subscriptionId),a=(r==null?void 0:r.name)||"Unknown Calendar",i=(e==null?void 0:e.scheduled)!==void 0?e.scheduled:this.computeScheduledFromICSEvent(t),s={title:(e==null?void 0:e.title)||t.title,status:(e==null?void 0:e.status)||this.plugin.settings.defaultTaskStatus,priority:(e==null?void 0:e.priority)||this.plugin.settings.defaultTaskPriority,due:(e==null?void 0:e.due)||void 0,scheduled:i,contexts:(e==null?void 0:e.contexts)||(t.location?[t.location]:void 0),projects:e==null?void 0:e.projects,tags:(e==null?void 0:e.tags)||[this.plugin.fieldMapper.toUserField("icsEventTag")],timeEstimate:(e==null?void 0:e.timeEstimate)||this.calculateEventDuration(t),details:(e==null?void 0:e.details)||this.buildICSEventDetails(t,a),icsEventId:[t.id],creationContext:"ics-event",dateCreated:Oe(),dateModified:Oe(),...e};return await this.plugin.taskService.createTask(s,{applyDefaults:!1})}catch(r){let a=r instanceof Error?r.message:String(r);throw console.error("Error creating task from ICS event:",{error:a,icsEventId:t.id,icsEventTitle:t.title}),new Error(`Failed to create task from ICS event: ${a}`)}}computeScheduledFromICSEvent(t){try{if(!t.start)return;let e=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.start)?t.start+"T00:00:00":t.start,r=new Date(e);return t.allDay?le(r):M(r,"yyyy-MM-dd'T'HH:mm")}catch(e){return console.warn("Failed to compute scheduled from ICS event start:",{start:t.start,error:e}),t.start}}async createNoteFromICS(t,e){var r;try{let a=this.plugin.icsSubscriptionService.getSubscriptions().find(A=>A.id===t.subscriptionId),i=(a==null?void 0:a.name)||"Unknown Calendar",s=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.start)?t.start+"T00:00:00":t.start,o=new Date(s),l=(e==null?void 0:e.title)||`${t.title} - ${M(o,"PPP")}`,c=(e==null?void 0:e.folder)||((r=this.plugin.settings.icsIntegration)==null?void 0:r.defaultNoteFolder)||"",d=fb(c,{date:o,icsData:{title:t.title,location:t.location,description:t.description}}),u={title:t.title,priority:"",status:"",date:o,dueDate:t.end,scheduledDate:t.start,icsEventTitle:t.title,icsEventLocation:t.location,icsEventDescription:t.description},p=L$(u,this.plugin.settings),m=await uf(p,d,this.plugin.app.vault),h=d?`${d}/${m}.md`:`${m}.md`;d&&await Al(this.plugin.app.vault,d);let f={title:l,priority:"",status:"",contexts:t.location?[t.location]:[],tags:[this.plugin.fieldMapper.toUserField("icsEventTag")],timeEstimate:0,dueDate:t.end||"",scheduledDate:t.start||"",details:t.description||"",parentNote:"",icsEventTitle:t.title,icsEventStart:t.start,icsEventEnd:t.end||"",icsEventLocation:t.location||"",icsEventDescription:t.description||"",icsEventUrl:t.url||"",icsEventSubscription:i,icsEventId:t.id},g=this.plugin.fieldMapper.toUserField("dateCreated"),v=this.plugin.fieldMapper.toUserField("dateModified"),T={title:l,[g]:Oe(),[v]:Oe(),tags:[this.plugin.fieldMapper.toUserField("icsEventTag")],[this.plugin.fieldMapper.toUserField("icsEventId")]:[t.id]},k=this.buildICSEventDetails(t,i);if(e!=null&&e.template)try{let A=(0,Us.normalizePath)(e.template.trim()),B=this.plugin.app.vault.getAbstractFileByPath(A.endsWith(".md")?A:`${A}.md`);if(B instanceof Us.TFile){let z=await this.plugin.app.vault.read(B),U=hb(z,f);T={...T,...U.frontmatter},k=U.body||k}else console.warn(`ICS note template not found: ${A}`),new Us.Notice(this.translate("services.icsNote.notices.templateNotFound",{path:A}))}catch(A){console.error("Error processing ICS note template:",A),new Us.Notice(this.translate("services.icsNote.notices.templateProcessError",{template:e.template}))}let S=`${Object.keys(T).length>0?`---
|
||
${Object.entries(T).map(([A,B])=>`${A}: ${this.formatYamlValue(B)}`).join(`
|
||
`)}
|
||
---
|
||
|
||
`:""}${k}`,x=await this.plugin.app.vault.create(h,S),I={title:l,path:x.path,tags:T.tags||[],createdDate:T.dateCreated,lastModified:Date.now()};return{file:x,noteInfo:I}}catch(a){let i=a instanceof Error?a.message:String(a);throw console.error("Error creating note from ICS event:",{error:i,icsEventId:t.id,icsEventTitle:t.title}),new Error(`Failed to create note from ICS event: ${i}`)}}async findRelatedNotes(t){try{let e=[],r=this.plugin.fieldMapper.toUserField("icsEventId"),a=await this.plugin.cacheManager.getAllTasks();for(let s of a)s.icsEventId&&s.icsEventId.includes(t.id)&&e.push(s);let i=this.plugin.app.vault.getMarkdownFiles();for(let s of i)try{let o=this.plugin.app.metadataCache.getFileCache(s),l=o==null?void 0:o.frontmatter,c=l==null?void 0:l[r],d=Array.isArray(c)?c.includes(t.id):c===t.id;if(l&&d){let u={title:l.title||s.basename,path:s.path,tags:l.tags||[],createdDate:l.dateCreated,lastModified:s.stat.mtime};e.push(u)}}catch(o){continue}return e}catch(e){return console.error("Error finding related notes for ICS event:",e),[]}}async linkNoteToICS(t,e){try{let r=this.plugin.app.vault.getAbstractFileByPath(t);if(!(r instanceof Us.TFile))throw new Error(`Cannot find note file: ${t}`);await this.plugin.app.fileManager.processFrontMatter(r,a=>{let i=this.plugin.fieldMapper.toUserField("icsEventId"),s=a[i];s?Array.isArray(s)||(s=[s]):s=[],s.includes(e.id)||s.push(e.id),a[i]=s;let o=this.plugin.fieldMapper.toUserField("dateModified");a[o]=Oe()}),new Us.Notice(this.translate("services.icsNote.notices.linkedToEvent",{title:e.title}))}catch(r){let a=r instanceof Error?r.message:String(r);throw console.error("Error linking note to ICS event:",{error:a,notePath:t,icsEventId:e.id}),new Error(`Failed to link note to ICS event: ${a}`)}}buildICSEventDetails(t,e){let r=[];if(r.push(`# ${t.title}`),r.push(""),t.start){let a=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.start)?t.start+"T00:00:00":t.start,i=new Date(a);r.push(`**Start:** ${M(i,"PPPp")}`)}if(t.end&&!t.allDay){let a=/^\d{4}-\d{2}-\d{2}$/.test(t.end)?t.end+"T00:00:00":t.end,i=new Date(a);r.push(`**End:** ${M(i,"PPPp")}`)}return t.location&&r.push(`**Location:** ${t.location}`),r.push(`**Calendar:** ${e}`),t.description&&(r.push(""),r.push("## Description"),r.push(t.description)),t.url&&(r.push(""),r.push(`**Event URL:** ${t.url}`)),r.join(`
|
||
`)}formatYamlValue(t){return typeof t=="string"?t.includes(":")||t.includes("#")||t.includes("[")||t.includes("{")?`"${t.replace(/"/g,'\\"')}"`:t:Array.isArray(t)?`[${t.map(e=>typeof e=="string"?`"${e}"`:e).join(", ")}]`:String(t)}calculateEventDuration(t){if(!(!t.start||!t.end))try{let e=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.start)?t.start+"T00:00:00":t.start,r=t.allDay&&/^\d{4}-\d{2}-\d{2}$/.test(t.end)?t.end+"T00:00:00":t.end,a=new Date(e).getTime(),i=new Date(r).getTime();if(isNaN(a)||isNaN(i))return;let s=i-a,o=Math.round(s/(1e3*60));return o>0&&o<1440?o:void 0}catch(e){console.warn("Error calculating event duration:",e);return}}};var Nu=require("obsidian");To();var BT=class{constructor(t){this.statusBarElement=null;this.updateTimeout=null;this.plugin=t,this.requestDeduplicator=new au}initialize(){this.plugin.settings.showTrackedTasksInStatusBar&&(this.statusBarElement=this.plugin.addStatusBarItem(),this.statusBarElement.addClass("tasknotes-status-bar"),this.statusBarElement.style.cursor="pointer",this.statusBarElement.addEventListener("click",()=>{this.handleStatusBarClick()}),this.updateStatusBar())}async updateStatusBar(){if(!(!this.statusBarElement||!this.plugin.settings.showTrackedTasksInStatusBar))try{let t=await this.requestDeduplicator.execute("update-status-bar",()=>this.getTrackedTasks());this.renderStatusBar(t)}catch(t){console.error("Error updating status bar:",t)}}async getTrackedTasks(){return(await this.plugin.cacheManager.getAllTasks()).filter(e=>e.archived?!1:this.plugin.getActiveTimeSession(e)!==null)}renderStatusBar(t){if(!this.statusBarElement)return;let e=t.length;if(e===0){this.statusBarElement.style.display="none";return}this.statusBarElement.style.display="",this.statusBarElement.empty(),this.statusBarElement.createEl("span",{cls:"tasknotes-status-icon",text:"\u23F1\uFE0F"});let r=this.statusBarElement.createEl("span",{cls:"tasknotes-status-text"});if(e===1){let a=t[0],i=a.title.length>30?a.title.substring(0,30)+"...":a.title;r.setText(`Tracking: ${i}`),(0,Nu.setTooltip)(this.statusBarElement,`Currently tracking: ${a.title}`,{placement:"top"})}else{r.setText(`Tracking ${e} tasks`);let a=t.slice(0,5).map(s=>s.title).join(`
|
||
`),i=e>5?`${a}
|
||
... and ${e-5} more`:a;(0,Nu.setTooltip)(this.statusBarElement,`Currently tracking:
|
||
${i}`,{placement:"top"})}}async handleStatusBarClick(){try{let t=await this.getTrackedTasks();if(t.length===0)return;if(t.length===1){let e=t[0],r=this.plugin.app.vault.getAbstractFileByPath(e.path);r instanceof Nu.TFile&&await this.plugin.app.workspace.getLeaf(!1).openFile(r)}else Fr(this.plugin,t,async e=>{if(e){let r=this.plugin.app.vault.getAbstractFileByPath(e.path);r instanceof Nu.TFile&&await this.plugin.app.workspace.getLeaf(!1).openFile(r)}})}catch(t){console.error("Error handling status bar click:",t)}}requestUpdate(){this.updateTimeout&&window.clearTimeout(this.updateTimeout),this.updateTimeout=window.setTimeout(()=>{this.updateStatusBar()},100)}updateVisibility(){this.plugin.settings.showTrackedTasksInStatusBar?this.statusBarElement?this.updateStatusBar():this.initialize():this.hide()}hide(){this.statusBarElement&&(this.statusBarElement.style.display="none")}destroy(){this.updateTimeout&&(window.clearTimeout(this.updateTimeout),this.updateTimeout=null),this.requestDeduplicator&&this.requestDeduplicator.cancelAll(),this.statusBarElement=null}};var NG=require("obsidian");Hp();var jT=class{constructor(t){this.projectIndex=new Map;this.indexLastBuilt=0;this.INDEX_TTL=3e4;this.stats={indexBuilds:0,indexHits:0,indexMisses:0};this.plugin=t}getFilesLinkingToProject(t){let e=this.plugin.app.metadataCache.resolvedLinks,r=[];for(let[a,i]of Object.entries(e))i&&i[t]>0&&r.push(a);return r}getUnresolvedProjectReferences(t){let r=this.plugin.app.metadataCache.unresolvedLinks[t];return r?Object.keys(r).filter(a=>!a.includes("#")&&!a.includes("|")):[]}async getTasksLinkedToProject(t){try{let e=this.getFilesLinkingToProject(t.path),r=[];for(let a of e){let i=await this.plugin.cacheManager.getTaskInfo(a);i&&await this.isLinkFromProjectsField(a,t.path)&&r.push(i)}return r}catch(e){return console.error("Error getting tasks linked to project:",e),[]}}async isTaskUsedAsProject(t){return this.isTaskUsedAsProjectSync(t)}async isLinkFromProjectsField(t,e){var r;try{let a=this.plugin.app.vault.getAbstractFileByPath(t);if(!(a instanceof NG.TFile))return!1;let i=this.plugin.app.metadataCache.getFileCache(a),s=this.plugin.fieldMapper.toUserField("projects");if(!((r=i==null?void 0:i.frontmatter)!=null&&r[s]))return!1;let o=i.frontmatter[s];if(!Array.isArray(o))return!1;for(let l of o){if(!l||typeof l!="string")continue;let c=Cl(l);if(c===l&&!l.startsWith("[["))continue;let d=this.plugin.app.metadataCache.getFirstLinkpathDest(c,t);if(d&&d.path===e)return!0}return!1}catch(a){return console.error("Error checking if link is from projects field:",a),!1}}isTaskUsedAsProjectSync(t){return this.ensureIndexBuilt(),this.projectIndex.has(t)?(this.stats.indexHits++,this.projectIndex.get(t)):(this.stats.indexMisses++,!1)}buildProjectIndex(){let t=Date.now();this.projectIndex.clear(),this.stats.indexBuilds++;try{let e=this.plugin.app.metadataCache.resolvedLinks,r=new Set;for(let[i,s]of Object.entries(e)){if(!s)continue;let o=this.plugin.app.metadataCache.getCache(i);if(!(o!=null&&o.frontmatter)||!this.plugin.cacheManager.isTaskFile(o.frontmatter))continue;let l=this.plugin.fieldMapper.toUserField("projects"),c=o.frontmatter[l];if(Array.isArray(c))for(let d of c){if(!d||typeof d!="string")continue;let u=Cl(d);if(u===d&&!d.startsWith("[["))continue;let p=this.plugin.app.metadataCache.getFirstLinkpathDest(u,i);p&&r.add(p.path)}}for(let i of r)this.projectIndex.set(i,!0);this.indexLastBuilt=Date.now();let a=Date.now()-t;console.log(`[ProjectSubtasksService] Built project index: ${this.projectIndex.size} projects from ${Object.keys(e).length} files in ${a}ms`)}catch(e){console.error("Error building project index:",e)}}ensureIndexBuilt(){Date.now()-this.indexLastBuilt>this.INDEX_TTL&&this.buildProjectIndex()}destroy(){this.projectIndex.clear(),this.stats={indexBuilds:0,indexHits:0,indexMisses:0}}sortTasks(t){return t.sort((e,r)=>{let a=this.plugin.statusManager.isCompletedStatus(e.status),i=this.plugin.statusManager.isCompletedStatus(r.status);if(a!==i)return a?1:-1;let s=this.plugin.priorityManager.getPriorityWeight(e.priority),o=this.plugin.priorityManager.getPriorityWeight(r.priority);return s!==o?o-s:e.due&&r.due?new Date(e.due).getTime()-new Date(r.due).getTime():e.due?-1:r.due?1:e.title.localeCompare(r.title)})}};var HT=class{constructor(t){this.expandedProjects=new Set;this.plugin=t}isExpanded(t){return this.expandedProjects.has(t)}toggle(t){return this.expandedProjects.has(t)?(this.expandedProjects.delete(t),!1):(this.expandedProjects.add(t),!0)}setExpanded(t,e){e?this.expandedProjects.add(t):this.expandedProjects.delete(t)}getExpandedProjects(){return Array.from(this.expandedProjects)}clearAll(){this.expandedProjects.clear()}collapseAll(){this.clearAll()}};var RG=require("obsidian");Wn();Ke();var zT=class{constructor(t){this.notificationQueue=[];this.processedReminders=new Set;this.lastBroadScanTime=Date.now();this.lastQuickCheckTime=Date.now();this.BROAD_SCAN_INTERVAL=300*1e3;this.QUICK_CHECK_INTERVAL=30*1e3;this.QUEUE_WINDOW=300*1e3;this.plugin=t}async initialize(){this.plugin.settings.enableNotifications&&(this.plugin.settings.notificationType==="system"&&"Notification"in window&&Notification.permission==="default"&&await Notification.requestPermission(),this.setupTaskUpdateListener(),this.startBroadScan(),this.startQuickCheck(),await this.scanTasksAndBuildQueue())}destroy(){this.broadScanInterval&&clearInterval(this.broadScanInterval),this.quickCheckInterval&&clearInterval(this.quickCheckInterval),this.taskUpdateListener&&this.plugin.emitter.offref(this.taskUpdateListener),this.notificationQueue=[],this.processedReminders.clear()}startBroadScan(){this.broadScanInterval=setInterval(async()=>{let t=Date.now();t-this.lastBroadScanTime>this.BROAD_SCAN_INTERVAL+6e4&&(console.log("NotificationService: Detected potential system sleep, performing catch-up scan"),await this.handleSystemWakeUp()),await this.scanTasksAndBuildQueue(),this.lastBroadScanTime=t},this.BROAD_SCAN_INTERVAL)}startQuickCheck(){this.quickCheckInterval=setInterval(()=>{let t=Date.now();t-this.lastQuickCheckTime>this.QUICK_CHECK_INTERVAL+6e4&&console.log("NotificationService: Detected potential system sleep during quick check"),this.checkNotificationQueue(),this.lastQuickCheckTime=t},this.QUICK_CHECK_INTERVAL)}async scanTasksAndBuildQueue(){this.notificationQueue=[];let t=await this.plugin.cacheManager.getAllTasks(),e=Date.now(),r=e+this.QUEUE_WINDOW;for(let a of t)if(!(!a.reminders||a.reminders.length===0))for(let i of a.reminders){let s=`${a.path}-${i.id}`;if(this.processedReminders.has(s))continue;let o=this.calculateNotificationTime(a,i);o!==null&&o>e&&o<=r&&this.notificationQueue.push({taskPath:a.path,reminder:i,notifyAt:o})}this.notificationQueue.sort((a,i)=>a.notifyAt-i.notifyAt)}calculateNotificationTime(t,e){try{if(e.type==="absolute")return e.absoluteTime?$t(e.absoluteTime).getTime():null;if(e.type==="relative"){if(!e.relatedTo||!e.offset)return null;let r=e.relatedTo==="due"?t.due:t.scheduled;if(!r)return null;let a=$t(r),i=this.parseISO8601Duration(e.offset);return i===null?null:a.getTime()+i}}catch(r){return console.error("Error calculating notification time:",r),null}return null}parseISO8601Duration(t){let e=t.match(/^(-?)P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/);if(!e)return null;let[,r,a,i,s,o,l,c,d]=e,u=0;return a&&(u+=parseInt(a)*365*24*60*60*1e3),i&&(u+=parseInt(i)*30*24*60*60*1e3),s&&(u+=parseInt(s)*7*24*60*60*1e3),o&&(u+=parseInt(o)*24*60*60*1e3),l&&(u+=parseInt(l)*60*60*1e3),c&&(u+=parseInt(c)*60*1e3),d&&(u+=parseInt(d)*1e3),r==="-"?-u:u}checkNotificationQueue(){let t=Date.now(),e=[];for(let r=0;r<this.notificationQueue.length;r++){let a=this.notificationQueue[r];if(a.notifyAt<=t){this.triggerNotification(a),e.push(r);let i=`${a.taskPath}-${a.reminder.id}`;this.processedReminders.add(i)}else break}for(let r=e.length-1;r>=0;r--)this.notificationQueue.splice(e[r],1)}async triggerNotification(t){let e=this.plugin.app.vault.getAbstractFileByPath(t.taskPath);if(!e)return;let r=this.plugin.app.metadataCache.getFileCache(e);if(!r||!r.frontmatter)return;let a=this.plugin.fieldMapper.mapFromFrontmatter(r.frontmatter,t.taskPath,this.plugin.settings.storeTitleInFilename),i=t.reminder.description||this.generateDefaultMessage(a,t.reminder);if(this.plugin.settings.notificationType==="system")if("Notification"in window&&Notification.permission==="granted"){let s=new Notification("TaskNotes Reminder",{body:i,tag:`tasknotes-${t.taskPath}-${t.reminder.id}`});s.onclick=()=>{this.plugin.app.workspace.openLinkText(t.taskPath,"",!1),s.close()}}else this.showInAppNotice(i,t.taskPath);else this.showInAppNotice(i,t.taskPath);this.plugin.apiService&&await this.plugin.apiService.triggerWebhook("reminder.triggered",{task:a,reminder:t.reminder,notificationTime:new Date(t.notifyAt).toISOString(),message:i,notificationType:this.plugin.settings.notificationType})}showInAppNotice(t,e){let r=new RG.Notice(t,0);r.noticeEl.addEventListener("click",()=>{this.plugin.app.workspace.openLinkText(e,"",!1),r.hide()}),r.noticeEl.style.cursor="pointer"}generateDefaultMessage(t,e){if(e.type==="absolute")return`Reminder: ${t.title}`;{let r=e.relatedTo==="due"?"due":"scheduled",a=this.formatDurationForDisplay(e.offset||"");return a.startsWith("-")?`${t.title} is ${r} in ${a.substring(1)}`:a==="PT0S"||a==="PT0M"?`${t.title} is ${r} now`:`${t.title} was ${r} ${a} ago`}}formatDurationForDisplay(t){let e=this.parseISO8601Duration(t);if(e===null)return t;let r=Math.abs(e),a=Math.floor(r/(60*1e3)),i=Math.floor(r/(3600*1e3)),s=Math.floor(r/(1440*60*1e3)),o="";return s>0?o=`${s} day${s>1?"s":""}`:i>0?o=`${i} hour${i>1?"s":""}`:a>0?o=`${a} minute${a>1?"s":""}`:o="now",e<0?`-${o}`:o}async refreshReminders(){await this.scanTasksAndBuildQueue()}clearProcessedRemindersForTask(t){let e=[];for(let r of this.processedReminders)r.startsWith(`${t}-`)&&e.push(r);e.forEach(r=>this.processedReminders.delete(r))}setupTaskUpdateListener(){this.taskUpdateListener=this.plugin.emitter.on(gt,async({path:t,originalTask:e,updatedTask:r})=>{if(!t||!r)return;this.removeNotificationsForTask(t),this.clearProcessedRemindersForTask(t);let a=Date.now(),i=a+this.QUEUE_WINDOW;if(r.reminders&&r.reminders.length>0){for(let s of r.reminders){let o=`${t}-${s.id}`;if(this.processedReminders.has(o))continue;let l=this.calculateNotificationTime(r,s);l!==null&&l>a&&l<=i&&this.notificationQueue.push({taskPath:t,reminder:s,notifyAt:l})}this.notificationQueue.sort((s,o)=>s.notifyAt-o.notifyAt)}})}removeNotificationsForTask(t){this.notificationQueue=this.notificationQueue.filter(e=>e.taskPath!==t)}async handleSystemWakeUp(){let t=Date.now(),e=[];for(let r of this.processedReminders){let[a,i]=r.split("-",2);if(!(!a||!i))try{let s=await this.plugin.cacheManager.getTaskInfo(a);if(s&&s.reminders){let o=s.reminders.find(l=>l.id===i);if(o){let l=this.calculateNotificationTime(s,o);l&&l<=t&&e.push(r)}}}catch(s){e.push(r)}}e.forEach(r=>this.processedReminders.delete(r)),await this.scanTasksAndBuildQueue()}};var FG=require("obsidian");Uv();var UT=class{constructor(t){this.intervalId=null;this.lastExportTime=null;this.nextExportTime=null;this.plugin=t}translate(t,e){return this.plugin.i18n.translate(t,e)}start(){if(!this.plugin.settings.icsIntegration.enableAutoExport)return;this.stop();let t=this.plugin.settings.icsIntegration.autoExportInterval,e=t*60*1e3;this.nextExportTime=new Date(Date.now()+e),this.intervalId=setInterval(async()=>{await this.performExport(),this.nextExportTime=new Date(Date.now()+e)},e),console.log(`TaskNotes: Auto export started (interval: ${t} minutes)`)}stop(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null,this.nextExportTime=null)}updateInterval(t){this.plugin.settings.icsIntegration.enableAutoExport&&this.start()}async exportNow(){await this.performExport()}getLastExportTime(){return this.lastExportTime}getNextExportTime(){return this.nextExportTime}async performExport(){try{let t=this.plugin.settings.icsIntegration.autoExportPath||"tasknotes-calendar.ics",e=await this.plugin.cacheManager.getAllTasks();if(e.length===0){console.log("TaskNotes: Auto export skipped - no tasks found");return}let r=Si.generateMultipleTasksICSContent(e),a=t;await this.plugin.app.vault.adapter.exists(a)?await this.plugin.app.vault.adapter.write(a,r):await this.plugin.app.vault.create(a,r),this.lastExportTime=new Date,console.log(`TaskNotes: Auto export completed - ${e.length} tasks exported to ${t}`)}catch(t){console.error("TaskNotes: Auto export failed:",t),(!this.lastExportTime||Date.now()-this.lastExportTime.getTime()>360*60*1e3)&&new FG.Notice(this.translate("services.autoExport.notices.exportFailed",{error:t instanceof Error?t.message:String(t)}))}}destroy(){this.stop()}};var OG=require("obsidian"),vme="en";function LG(n,t=""){let e={};return Object.entries(n).forEach(([r,a])=>{let i=t?`${t}.${r}`:r;typeof a=="string"?e[i]=a:a&&typeof a=="object"&&Object.assign(e,LG(a,i))}),e}function bme(n,t){return t?n.replace(/\{(\w+)\}/g,(e,r)=>Object.prototype.hasOwnProperty.call(t,r)?String(t[r]):`{${r}}`):n}function WT(n){return n.toLowerCase().split("-")[0]}var qT=class extends OG.Events{constructor(e){var a,i;super();this.cache={};this.resources=e.resources,this.defaultLocale=e.defaultLocale,this.fallbackLocale=(a=e.fallbackLocale)!=null?a:vme,this.getSystemLocaleFn=e.getSystemLocale;let r=(i=e.initialLocale)!=null?i:this.defaultLocale;this.currentLocale=this.resolveLocale(r)}getAvailableLocales(){return Object.keys(this.resources)}getNativeLanguageName(e){return{en:"English",fr:"Fran\xE7ais",de:"Deutsch",es:"Espa\xF1ol",pt:"Portugu\xEAs",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",zh:"\u4E2D\u6587",ja:"\u65E5\u672C\u8A9E"}[e]||e}getCurrentLocale(){return this.currentLocale}setLocale(e){let r=this.resolveLocale(e);if(r===this.currentLocale)return;let a=this.currentLocale;this.currentLocale=r;let i={previous:a,current:r};this.trigger("locale-changed",i)}translate(e,r){var i;let a=(i=this.resolveKey(e))!=null?i:e;return bme(a,r)}translatePlural(e,r,a){let i=this.getPluralKey(e,r),s={...a,count:r};return this.translate(i,s)}resolveKey(e){let r=[this.currentLocale,this.fallbackLocale,this.defaultLocale];for(let a of r){let i=this.getLocaleMap(a);if(i&&Object.prototype.hasOwnProperty.call(i,e))return i[e]}}getSystemLocale(){if(this.getSystemLocaleFn){let e=this.getSystemLocaleFn();if(e)return WT(e)}return typeof navigator!="undefined"&&navigator.language?WT(navigator.language):this.defaultLocale}getLocaleMap(e){let r=WT(e);if(!this.cache[r]){let a=this.resources[r];if(!a)return{};this.cache[r]=LG(a)}return this.cache[r]}resolveLocale(e){let r=WT(e);if(this.resources[r])return r;if(e==="system"){let i=this.getSystemLocale();if(this.resources[i])return i}if(this.resources[this.defaultLocale])return this.defaultLocale;let a=this.getAvailableLocales()[0];return a!=null?a:this.fallbackLocale}getPluralKey(e,r){let a;switch(r){case 0:a="zero";break;case 1:a="one";break;default:a="other";break}let i=`${e}.${a}`,s=[this.currentLocale,this.fallbackLocale,this.defaultLocale];for(let o of s)if(this.getLocaleMap(o)[i])return i;return e}};var BG={common:{appName:"TaskNotes",new:"New",cancel:"Cancel",confirm:"Confirm",close:"Close",save:"Save",language:"Language",systemDefault:"System default",loading:"Loading...",languages:{en:"English",fr:"French",ru:"Russian",zh:"Chinese",de:"German",es:"Spanish",ja:"Japanese",pt:"Portuguese (Brazil)"},weekdays:{sunday:"Sunday",monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday"},months:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"}},views:{agenda:{title:"Agenda",today:"Today",overdue:"Overdue",refreshCalendars:"Refresh calendars",actions:{previousPeriod:"Previous period",nextPeriod:"Next period",goToToday:"Go to today",refreshCalendars:"Refresh calendar subscriptions"},loading:"Loading agenda...",dayToggle:"Toggle day",overdueToggle:"Toggle overdue section",expandAllDays:"Expand All Days",collapseAllDays:"Collapse All Days",notices:{calendarNotReady:"Calendar service not ready yet",calendarRefreshed:"Calendar subscriptions refreshed",refreshFailed:"Failed to refresh"},empty:{noItemsScheduled:"No items scheduled",noItemsFound:"No items found",helpText:"Create tasks with due or scheduled dates, or add notes to see them here."},contextMenu:{showOverdueSection:"Show overdue section",showNotes:"Show notes",calendarSubscriptions:"Calendar subscriptions"},periods:{thisWeek:"This week"},tipPrefix:"Tip: "},taskList:{title:"Tasks",expandAllGroups:"Expand All Groups",collapseAllGroups:"Collapse All Groups",noTasksFound:"No tasks found for the selected filters."},notes:{title:"Notes",refreshButton:"Refresh",refreshingButton:"Refreshing...",notices:{indexingDisabled:"Note indexing disabled"},empty:{noNotesFound:"No notes found",helpText:"No notes found for the selected date. Try selecting a different date in the Mini Calendar view or create some notes."},loading:"Loading notes...",refreshButtonAriaLabel:"Refresh notes list"},miniCalendar:{title:"Mini Calendar"},advancedCalendar:{title:"Calendar",filters:{showFilters:"Show filters",hideFilters:"Hide filters"},viewOptions:{calendarSubscriptions:"Calendar subscriptions",timeEntries:"Time entries",timeblocks:"Timeblocks",scheduledDates:"Scheduled dates",dueDates:"Due dates",allDaySlot:"All-day slot",scheduledTasks:"Scheduled tasks",recurringTasks:"Recurring tasks"},buttons:{refresh:"Refresh",refreshHint:"Refresh Calendar Subscriptions"},notices:{icsServiceNotAvailable:"ICS subscription service not available",calendarRefreshedAll:"All calendar subscriptions refreshed successfully",refreshFailed:"Failed to refresh some calendar subscriptions",timeblockSpecificTime:"Timeblocks must have specific times. Please select a time range in week or day view.",timeblockMoved:'Moved timeblock "{title}" to {date}',timeblockUpdated:'Updated timeblock "{title}" time',timeblockMoveFailed:"Failed to move timeblock: {message}",timeblockResized:'Updated timeblock "{title}" duration',timeblockResizeFailed:"Failed to resize timeblock: {message}",taskScheduled:'Task "{title}" scheduled for {date}',scheduleTaskFailed:"Failed to schedule task",endTimeAfterStart:"End time must be after start time",timeEntryNotFound:"Time entry not found",timeEntryDeleted:"Time entry deleted",deleteTimeEntryFailed:"Failed to delete time entry"},timeEntry:{estimatedSuffix:"estimated",trackedSuffix:"tracked",recurringPrefix:"Recurring: ",completedPrefix:"Completed: ",createdPrefix:"Created: ",modifiedPrefix:"Modified: ",duePrefix:"Due: ",scheduledPrefix:"Scheduled: "},contextMenus:{openTask:"Open task",deleteTimeEntry:"Delete time entry",deleteTimeEntryTitle:"Delete Time Entry",deleteTimeEntryConfirm:"Are you sure you want to delete this time entry{duration}? This action cannot be undone.",deleteButton:"Delete",cancelButton:"Cancel"}},basesCalendar:{title:"Bases Calendar",today:"Today",buttonText:{month:"M",week:"W",day:"D",year:"Y",list:"L",customDays:"{count}D",listDays:"{count}d List",refresh:"Refresh"},hints:{refresh:"Refresh calendar subscriptions"},settings:{groups:{dateNavigation:"Date Navigation",events:"Events",layout:"Layout",propertyBasedEvents:"Property-based events",calendarSubscriptions:"Calendar subscriptions",googleCalendars:"Google Calendars",microsoftCalendars:"Microsoft Calendars"},dateNavigation:{navigateToDate:"Navigate to date",navigateToDatePlaceholder:"YYYY-MM-DD (e.g., 2025-01-15) - leave empty to use property",navigateToDateFromProperty:"Navigate to date from property",navigateToDateFromPropertyPlaceholder:"Select a date property (optional)",propertyNavigationStrategy:"Property navigation strategy",strategies:{first:"First result",earliest:"Earliest date",latest:"Latest date"}},events:{showScheduledTasks:"Show scheduled tasks",showDueTasks:"Show due tasks",showRecurringTasks:"Show recurring tasks",showTimeEntries:"Show time entries",showTimeblocks:"Show timeblocks",showPropertyBasedEvents:"Show property-based events"},layout:{calendarView:"Calendar view",customDayCount:"Custom day count",listDayCount:"List day count",dayStartTime:"Day start time",dayStartTimePlaceholder:"HH:mm:ss (e.g., 08:00:00)",dayEndTime:"Day end time",dayEndTimePlaceholder:"HH:mm:ss (e.g., 20:00:00)",timeSlotDuration:"Time slot duration",timeSlotDurationPlaceholder:"HH:mm:ss (e.g., 00:30:00)",weekStartsOn:"Week starts on",showWeekNumbers:"Show week numbers",showNowIndicator:"Show now indicator",showWeekends:"Show weekends",showAllDaySlot:"Show all-day slot",showTodayHighlight:"Show today highlight",showSelectionPreview:"Show selection preview",timeFormat:"Time format",timeFormat12:"12-hour (AM/PM)",timeFormat24:"24-hour",initialScrollTime:"Initial scroll time",initialScrollTimePlaceholder:"HH:mm:ss (e.g., 08:00:00)",minimumEventHeight:"Minimum event height (px)",slotEventOverlap:"Allow events to overlap",enableSearch:"Enable search box",eventMaxStack:"Max stacked events (week/day view, 0 = unlimited)",dayMaxEvents:"Max events per day (month view, 0 = auto)",dayMaxEventRows:"Max event rows per day (month view, 0 = unlimited)"},propertyBasedEvents:{startDateProperty:"Start date property",startDatePropertyPlaceholder:"Select property for start date/time",endDateProperty:"End date property (optional)",endDatePropertyPlaceholder:"Select property for end date/time",titleProperty:"Title property (optional)",titlePropertyPlaceholder:"Select property for event title"}},errors:{failedToInitialize:"Failed to initialize calendar"}},kanban:{title:"Kanban",newTask:"New task",addCard:"+ Add a card",noTasks:"No tasks",uncategorized:"Uncategorized",noProject:"No Project",notices:{loadFailed:"Failed to load Kanban board",movedTask:'Task moved to "{0}"'},errors:{loadingBoard:"Error loading board.",noGroupBy:"Kanban view requires a 'Group by' property to be configured. Click the 'Sort' button and select a property under 'Group by'."},columnTitle:"Untitled"},pomodoro:{title:"Pomodoro",status:{focus:"Focus",ready:"Ready to start",paused:"Paused",working:"Working",shortBreak:"Short break",longBreak:"Long break",breakPrompt:"Great work! Time for a {length} break",breakLength:{short:"short",long:"long"},breakComplete:"Break complete! Ready for the next pomodoro?"},buttons:{start:"Start",pause:"Pause",stop:"Stop",resume:"Resume",startShortBreak:"Start Short Break",startLongBreak:"Start Long Break",skipBreak:"Skip break",chooseTask:"Choose task...",changeTask:"Change task...",clearTask:"Clear task",selectDifferentTask:"Select a different task"},notices:{noTasks:"No unarchived tasks found. Create some tasks first.",loadFailed:"Failed to load tasks"},statsLabel:"completed today"},pomodoroStats:{title:"Pomodoro stats",heading:"Pomodoro statistics",refresh:"Refresh",sections:{overview:"Overview",today:"Today",week:"This week",allTime:"All time",recent:"Recent sessions"},overviewCards:{todayPomos:{label:"Today's Pomos",change:{more:"{count} more than yesterday",less:"{count} fewer than yesterday"}},totalPomos:{label:"Total Pomos"},todayFocus:{label:"Today's Focus",change:{more:"{duration} more than yesterday",less:"{duration} less than yesterday"}},totalFocus:{label:"Total Focus Duration"}},stats:{pomodoros:"Pomodoros",streak:"Streak",minutes:"Minutes",average:"Avg length",completion:"Completion"},recents:{empty:"No sessions recorded yet",duration:"{minutes} min",status:{completed:"Completed",interrupted:"Interrupted"}}},stats:{title:"Statistics",taskProjectStats:"Task & Project Statistics",sections:{filters:"Filters",overview:"Overview",today:"Today",thisWeek:"This Week",thisMonth:"This Month",projectBreakdown:"Project Breakdown",dateRange:"Date Range"},filters:{minTime:"Min Time (minutes)",allTasks:"All Tasks",activeOnly:"Active Only",completedOnly:"Completed Only"},refreshButton:"Refresh",timeRanges:{allTime:"All Time",last7Days:"Last 7 Days",last30Days:"Last 30 Days",last90Days:"Last 90 Days",customRange:"Custom Range"},resetFiltersButton:"Reset Filters",dateRangeFrom:"From",dateRangeTo:"To",noProject:"No Project",cards:{timeTrackedEstimated:"Time Tracked / Estimated",totalTasks:"Total Tasks",completionRate:"Completion Rate",activeProjects:"Active Projects",avgTimePerTask:"Avg Time per Task"},labels:{tasks:"Tasks",completed:"Completed",projects:"Projects"},noProjectData:"No project data available",notAvailable:"N/A",noTasks:"No tasks found",loading:"Loading..."},releaseNotes:{title:"What's new in TaskNotes {version}",header:"What's new in TaskNotes {version}",viewAllLink:"View all release notes on GitHub \u2192",starMessage:"If you find TaskNotes useful, please consider giving it a star on GitHub"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"General",taskProperties:"Task Properties",modalFields:"Modal Fields",defaults:"Defaults & Templates",appearance:"Appearance & UI",features:"Features",integrations:"Integrations"},features:{inlineTasks:{header:"Inline Tasks",description:"Settings for task links and checkbox-to-task conversion in notes."},overlays:{taskLinkToggle:{name:"Task link overlay",description:"Show interactive overlays when hovering over task links"}},instantConvert:{toggle:{name:"Show convert button next to checkboxes",description:"Display an inline button next to Markdown checkboxes that converts them to TaskNotes"},folder:{name:"Folder for converted tasks",description:"Folder where tasks converted from checkboxes will be created. Leave empty to use the default tasks folder. Use {{currentNotePath}} for the current note's folder, or {{currentNoteTitle}} for a subfolder named after the current note."}},nlp:{header:"Natural Language Processing",description:"Parse dates, priorities, and other properties from text input.",enable:{name:"Enable natural language task input",description:"Parse due dates, priorities, and contexts from natural language when creating tasks"},defaultToScheduled:{name:"Default to scheduled",description:"When NLP detects a date without context, treat it as scheduled rather than due"},language:{name:"NLP language",description:"Language for natural language processing patterns and date parsing"},statusTrigger:{name:"Status suggestion trigger",description:"Text to trigger status suggestions (leave empty to disable)"}},pomodoro:{header:"Pomodoro Timer",description:"Configure work/break intervals for the Pomodoro timer.",workDuration:{name:"Work duration",description:"Duration of work intervals in minutes"},shortBreak:{name:"Short break duration",description:"Duration of short breaks in minutes"},longBreak:{name:"Long break duration",description:"Duration of long breaks in minutes"},longBreakInterval:{name:"Long break interval",description:"Number of work sessions before a long break"},autoStartBreaks:{name:"Auto-start breaks",description:"Automatically start break timers after work sessions"},autoStartWork:{name:"Auto-start work",description:"Automatically start work sessions after breaks"},notifications:{name:"Pomodoro notifications",description:"Show notifications when Pomodoro sessions end"}},uiLanguage:{header:"Interface Language",description:"Change the language of TaskNotes menus, notices, and views.",dropdown:{name:"UI language",description:"Select the language used for TaskNotes interface text"}},pomodoroSound:{enabledName:"Sound enabled",enabledDesc:"Play sound when Pomodoro sessions end",volumeName:"Sound volume",volumeDesc:"Volume for Pomodoro sounds (0-100)"},dataStorage:{name:"Pomodoro data storage",description:"Configure where pomodoro session data is stored and how it's managed.",dailyNotes:"Daily notes",pluginData:"Plugin data",notices:{locationChanged:"Pomodoro storage location changed to {location}"}},notifications:{header:"Notifications",description:"Configure task reminder notifications and alerts.",enableName:"Enable notifications",enableDesc:"Enable task reminder notifications",typeName:"Notification type",typeDesc:"Type of notifications to show",systemLabel:"System notifications",inAppLabel:"In-app notifications"},overdue:{hideCompletedName:"Hide completed tasks from overdue",hideCompletedDesc:"Exclude completed tasks from overdue task calculations"},indexing:{disableName:"Disable note indexing",disableDesc:"Disable automatic indexing of note content for better performance"},suggestions:{debounceName:"Suggestion debounce",debounceDesc:"Delay in milliseconds before showing suggestions"},timeTracking:{autoStopName:"Auto-stop time tracking",autoStopDesc:"Automatically stop time tracking when a task is marked complete",stopNotificationName:"Time tracking stop notification",stopNotificationDesc:"Show notification when time tracking is automatically stopped"},recurring:{maintainOffsetName:"Maintain due date offset in recurring tasks",maintainOffsetDesc:"Keep the offset between due date and scheduled date when recurring tasks are completed"},timeblocking:{header:"Timeblocking",description:"Configure timeblock functionality for lightweight scheduling in daily notes. Drag on calendar views to create events - select 'Timeblock' from the context menu.",enableName:"Enable timeblocking",enableDesc:"Enable timeblocking feature for lightweight scheduling in daily notes. When enabled, 'Timeblock' option appears in the calendar drag context menu.",showBlocksName:"Show timeblocks",showBlocksDesc:"Display timeblocks from daily notes by default",usage:"Usage: Drag on the calendar to create events. Select 'Timeblock' from the context menu (only visible when timeblocking is enabled). Drag to move existing timeblocks. Resize edges to adjust duration."},performance:{header:"Performance & Behavior",description:"Configure plugin performance and behavioral options."},timeTrackingSection:{header:"Time Tracking",description:"Configure automatic time tracking behaviors."},recurringSection:{header:"Recurring Tasks",description:"Configure behavior for recurring task management."}},defaults:{header:{basicDefaults:"Basic Defaults",dateDefaults:"Date Defaults",defaultReminders:"Default reminders",bodyTemplate:"Body Template",instantTaskConversion:"Instant Task Conversion"},description:{basicDefaults:"Set default values for new tasks to speed up task creation.",dateDefaults:"Set default due and scheduled dates for new tasks.",defaultReminders:"Configure default reminders that will be added to new tasks.",bodyTemplate:"Configure a template file to use for new task content.",instantTaskConversion:"Configure behavior when converting text to tasks instantly."},basicDefaults:{defaultStatus:{name:"Default status",description:"Default status for new tasks"},defaultPriority:{name:"Default priority",description:"Default priority for new tasks"},defaultContexts:{name:"Default contexts",description:"Comma-separated list of default contexts (e.g., @home, @work)",placeholder:"@home, @work"},defaultTags:{name:"Default tags",description:"Comma-separated list of default tags (without #)",placeholder:"important, urgent"},defaultProjects:{name:"Default projects",description:"Default project links for new tasks",selectButton:"Select Projects",selectTooltip:"Choose project notes to link by default",removeTooltip:"Remove {name} from default projects"},useParentNoteAsProject:{name:"Use parent note as project during instant conversion",description:"Automatically link the parent note as a project when using instant task conversion"},defaultTimeEstimate:{name:"Default time estimate",description:"Default time estimate in minutes (0 = no default)",placeholder:"60"},defaultRecurrence:{name:"Default recurrence",description:"Default recurrence pattern for new tasks"}},dateDefaults:{defaultDueDate:{name:"Default due date",description:"Default due date for new tasks"},defaultScheduledDate:{name:"Default scheduled date",description:"Default scheduled date for new tasks"}},reminders:{addReminder:{name:"Add default reminder",description:"Create a new default reminder that will be added to all new tasks",buttonText:"Add reminder"},emptyState:"No default reminders configured. Add a reminder to automatically notify you about new tasks.",emptyStateButton:"Add Reminder",reminderDescription:"Reminder description",unnamedReminder:"Unnamed Reminder",deleteTooltip:"Delete reminder",fields:{description:"Description:",type:"Type:",offset:"Offset:",unit:"Unit:",direction:"Direction:",relatedTo:"Related to:",date:"Date:",time:"Time:"},types:{relative:"Relative (before/after task dates)",absolute:"Absolute (specific date/time)"},units:{minutes:"minutes",hours:"hours",days:"days"},directions:{before:"before",after:"after"},relatedTo:{due:"due date",scheduled:"scheduled date"}},bodyTemplate:{useBodyTemplate:{name:"Use body template",description:"Use a template file for task body content"},bodyTemplateFile:{name:"Body template file",description:"Path to template file for task body content. Supports template variables like {{title}}, {{date}}, {{time}}, {{priority}}, {{status}}, etc.",placeholder:"Templates/Task Template.md",ariaLabel:"Path to body template file"},variablesHeader:"Template variables:",variables:{title:"{{title}} - Task title",details:"{{details}} - User-provided details from modal",date:"{{date}} - Current date (YYYY-MM-DD)",time:"{{time}} - Current time (HH:MM)",priority:"{{priority}} - Task priority",status:"{{status}} - Task status",contexts:"{{contexts}} - Task contexts",tags:"{{tags}} - Task tags",projects:"{{projects}} - Task projects"}},instantConversion:{useDefaultsOnInstantConvert:{name:"Use task defaults on instant convert",description:"Apply default task settings when converting text to tasks instantly"}},options:{noDefault:"No default",none:"None",today:"Today",tomorrow:"Tomorrow",nextWeek:"Next week",daily:"Daily",weekly:"Weekly",monthly:"Monthly",yearly:"Yearly"}},general:{taskStorage:{header:"Task Storage",description:"Configure where tasks are stored and how they are identified.",defaultFolder:{name:"Default tasks folder",description:"Default location for new tasks"},moveArchived:{name:"Move archived tasks to folder",description:"Automatically move archived tasks to an archive folder"},archiveFolder:{name:"Archive folder",description:"Folder to move tasks to when archived. Supports template variables like {{year}}, {{month}}, {{priority}}, etc."}},taskIdentification:{header:"Task Identification",description:"Choose how TaskNotes identifies notes as tasks.",identifyBy:{name:"Identify tasks by",description:"Choose whether to identify tasks by tag or by a frontmatter property",options:{tag:"Tag",property:"Property"}},taskTag:{name:"Task tag",description:"Tag that identifies notes as tasks (without #)"},hideIdentifyingTags:{name:"Hide identification tags in task cards",description:"When enabled, tags matching the task identification tag (including hierarchical matches like 'task/project') will be hidden from task card displays"},taskProperty:{name:"Task property name",description:'The frontmatter property name (e.g., "category")'},taskPropertyValue:{name:"Task property value",description:'The value that identifies a note as a task (e.g., "task")'}},folderManagement:{header:"Folder Management",excludedFolders:{name:"Excluded folders",description:"Comma-separated list of folders to exclude from task indexing and project suggestions"}},frontmatter:{header:"Frontmatter",description:"Configure how links are formatted in frontmatter properties.",useMarkdownLinks:{name:"Use markdown links in frontmatter",description:`Generate markdown links ([text](path)) instead of wikilinks ([[link]]) in frontmatter properties.
|
||
|
||
\u26A0\uFE0F Requires the 'obsidian-frontmatter-markdown-links' plugin to work correctly.`}},taskInteraction:{header:"Task Interaction",description:"Configure how clicking on tasks behaves.",singleClick:{name:"Single-click action",description:"Action performed when single-clicking a task card"},doubleClick:{name:"Double-click action",description:"Action performed when double-clicking a task card"},actions:{edit:"Edit task",openNote:"Open note",none:"No action"}},releaseNotes:{header:"Release Notes",description:"Current version: {version}",showOnUpdate:{name:"Show release notes after update",description:"Automatically open release notes when TaskNotes is updated to a new version"},viewButton:{name:"View release notes",description:"See what's new in the latest version of TaskNotes",buttonText:"View release notes"}}},taskProperties:{sections:{coreProperties:"Core Properties",corePropertiesDesc:"Status and priority are the core properties that define a task's state and importance.",dateProperties:"Date Properties",datePropertiesDesc:"Configure when tasks are due and scheduled.",organizationProperties:"Organization Properties",organizationPropertiesDesc:"Organize tasks with contexts, projects, and tags.",taskDetails:"Task Details",taskDetailsDesc:"Additional details like time estimates, recurrence, and reminders.",metadataProperties:"Metadata Properties",metadataPropertiesDesc:"System-managed properties for tracking task history.",featureProperties:"Feature Properties",featurePropertiesDesc:"Properties used by specific TaskNotes features like Pomodoro timer and calendar sync."},propertyCard:{propertyKey:"Property key:",default:"Default:",nlpTrigger:"NLP trigger:",triggerChar:"Trigger character:",triggerEmpty:"Trigger cannot be empty",triggerTooLong:"Trigger is too long (max 10 characters)"},properties:{status:{name:"Status",description:"Tracks the current state of a task (e.g., todo, in-progress, done). Status determines whether a task appears as completed and can trigger auto-archiving."},priority:{name:"Priority",description:"Indicates task importance. Used for sorting and filtering. Values are sorted alphabetically in Bases views, so use prefixes like 1-, 2- to control order."},due:{name:"Due Date",description:"The deadline by which a task must be completed. Tasks past their due date appear as overdue. Stored as a date in frontmatter."},scheduled:{name:"Scheduled Date",description:"When you plan to work on a task. Unlike due date, this represents your intended start time. Tasks appear on the calendar at their scheduled date/time."},contexts:{name:"Contexts",description:"Locations or conditions where a task can be done (e.g., @home, @office, @phone). Useful for filtering tasks by your current situation. Stored as a list."},projects:{name:"Projects",description:"Links to project notes this task belongs to. Stored as wikilinks (e.g., [[Project Name]]). Tasks can belong to multiple projects."},tags:{name:"Tags",description:"Native Obsidian tags for categorizing tasks. These are stored in the tags frontmatter property and work with Obsidian's tag features."},timeEstimate:{name:"Time Estimate",description:"Estimated minutes to complete the task. Used for time-blocking and workload planning. Displayed on task cards and calendar events."},recurrence:{name:"Recurrence",description:"Pattern for repeating tasks (daily, weekly, monthly, yearly, or custom RRULE). When a recurring task is completed, its scheduled date is automatically updated to the next occurrence."},recurrenceAnchor:{name:"Recurrence Anchor",description:"Controls how the next occurrence is calculated: 'scheduled' uses the scheduled date, 'completion' uses the actual completion date."},reminders:{name:"Reminders",description:"Notifications triggered before due or scheduled dates. Stored as a list of reminder objects with timing and optional description."},title:{name:"Title",description:"The task name. Can be stored in frontmatter or in the filename (when 'Store title in filename' is enabled)."},dateCreated:{name:"Date Created",description:"Timestamp when the task was first created. Automatically set and used for sorting by creation order."},dateModified:{name:"Date Modified",description:"Timestamp of the last change to the task. Automatically updated when any task property changes."},completedDate:{name:"Completed Date",description:"Timestamp when the task was marked complete. Set automatically when status changes to a completed state."},archiveTag:{name:"Archive Tag",description:"Tag added to tasks when archived. Used to identify archived tasks and can trigger file movement to archive folder."},timeEntries:{name:"Time Entries",description:"Records of time tracking sessions for this task. Each entry stores start and end timestamps. Used to calculate total time spent."},completeInstances:{name:"Complete Instances",description:"Completion history for recurring tasks. Stores dates when each instance was completed to prevent duplicate completions."},skippedInstances:{name:"Skipped Instances",description:"Skipped occurrences for recurring tasks. Stores dates of instances that were skipped rather than completed."},blockedBy:{name:"Blocked By",description:"Links to tasks that must be completed before this one. Stored as wikilinks. Blocked tasks display a visual indicator."},pomodoros:{name:"Pomodoros",description:"Count of completed Pomodoro sessions. When data storage is set to 'Daily notes', this is written to daily notes instead of task files."},icsEventId:{name:"ICS Event ID",description:"Unique identifier linking a note to an ICS calendar event. Added automatically when creating notes from calendar events."},icsEventTag:{name:"ICS Event Tag",description:"Tag identifying notes created from ICS calendar events. Used to distinguish calendar-generated notes from regular tasks."}},statusCard:{valuesHeader:"Status Values"},priorityCard:{valuesHeader:"Priority Values"},projectsCard:{defaultProjects:"Default projects:",useParentNote:"Use parent note as project:",noDefaultProjects:"No default projects selected",autosuggestFilters:"Autosuggest Filters",customizeDisplay:"Customize Display",filtersOn:"Filters On"},titleCard:{storeTitleInFilename:"Store title in filename:",storedInFilename:"Stored in filename",filenameUpdatesWithTitle:"Filename will automatically update when the task title changes.",filenameFormat:"Filename format:",customTemplate:"Custom template:"},tagsCard:{nativeObsidianTags:"Uses native Obsidian tags"},remindersCard:{defaultReminders:"Default Reminders"},taskStatuses:{header:"Task Statuses",description:"Customize the status options available for your tasks. These statuses control the task lifecycle and determine when tasks are considered complete.",howTheyWork:{title:"How statuses work:",value:'Value: The internal identifier stored in your task files (e.g., "in-progress")',label:'Label: The display name shown in the interface (e.g., "In Progress")',color:"Color: Visual indicator color for the status dot and badges",icon:'Icon: Optional Lucide icon name to display instead of colored dot (e.g., "check", "circle", "clock"). Browse icons at lucide.dev',completed:"Completed: When checked, tasks with this status are considered finished and may be filtered differently",autoArchive:"Auto-archive: When enabled, tasks will be automatically archived after the specified delay (1-1440 minutes)",orderNote:"The order below determines the sequence when cycling through statuses by clicking on task status badges."},addNew:{name:"Add new status",description:"Create a new status option for your tasks",buttonText:"Add status"},validationNote:'Note: You must have at least 2 statuses, and at least one status must be marked as "Completed".',emptyState:"No custom statuses configured. Add a status to get started.",emptyStateButton:"Add Status",fields:{value:"Value:",label:"Label:",color:"Color:",icon:"Icon:",completed:"Completed:",autoArchive:"Auto-archive:",delayMinutes:"Delay (minutes):"},placeholders:{value:"in-progress",label:"In Progress",icon:"check, circle, clock"},badges:{completed:"Completed"},deleteConfirm:'Are you sure you want to delete the status "{label}"?'},taskPriorities:{header:"Task Priorities",description:"Customize the priority levels available for your tasks. In v4.0+, priorities are sorted alphabetically by their value in Bases views.",howTheyWork:{title:"How priorities work:",value:'Value: The internal identifier stored in your task files. Use prefixes like "1-urgent", "2-high" to control sort order in Bases views.',label:'Display Label: The display name shown in the interface (e.g., "High Priority")',color:"Color: Visual indicator color for the priority dot and badges"},addNew:{name:"Add new priority",description:"Create a new priority level for your tasks",buttonText:"Add priority"},validationNote:"Note: You must have at least 1 priority. Priorities are sorted alphabetically by value in Bases views.",emptyState:"No custom priorities configured. Add a priority to get started.",emptyStateButton:"Add Priority",fields:{value:"Value:",label:"Label:",color:"Color:"},placeholders:{value:"high",label:"High Priority"},deleteConfirm:"You must have at least one priority",deleteTooltip:"Delete priority"},fieldMapping:{header:"Field Mapping",warning:"\u26A0\uFE0F Warning: TaskNotes will read AND write using these property names. Changing these after creating tasks may cause inconsistencies.",description:"Configure which frontmatter properties TaskNotes should use for each field.",resetButton:{name:"Reset field mappings",description:"Reset all field mappings to default values",buttonText:"Reset to Defaults"},notices:{resetSuccess:"Field mappings reset to defaults",resetFailure:"Failed to reset field mappings",updateFailure:"Failed to update field mapping for {label}. Please try again."},table:{fieldHeader:"TaskNotes field",propertyHeader:"Your property name"},fields:{title:"Title",status:"Status",priority:"Priority",due:"Due date",scheduled:"Scheduled date",contexts:"Contexts",projects:"Projects",timeEstimate:"Time estimate",recurrence:"Recurrence",dateCreated:"Created date",completedDate:"Completed date",dateModified:"Modified date",archiveTag:"Archive tag",timeEntries:"Time entries",completeInstances:"Complete instances",blockedBy:"Blocked by",pomodoros:"Pomodoros",icsEventId:"ICS Event ID",icsEventTag:"ICS Event Tag",reminders:"Reminders"}},customUserFields:{header:"Custom User Fields",description:"Define custom frontmatter properties to appear as type-aware filter options across views. Each row: Display Name, Property Name, Type.",addNew:{name:"Add new user field",description:"Create a new custom field that will appear in filters and views",buttonText:"Add user field"},emptyState:"No custom user fields configured. Add a field to create custom properties for your tasks.",emptyStateButton:"Add User Field",fields:{displayName:"Display Name:",propertyKey:"Property Key:",type:"Type:",defaultValue:"Default Value:"},placeholders:{displayName:"Display Name",propertyKey:"property-name",defaultValue:"Default value",defaultValueList:"Default values (comma-separated)"},types:{text:"Text",number:"Number",boolean:"Boolean",date:"Date",list:"List"},defaultNames:{unnamedField:"Unnamed Field",noKey:"no-key"},deleteTooltip:"Delete field",autosuggestFilters:{header:"Autosuggestion filters (Advanced)",description:"Filter which files appear in autocomplete suggestions for this field"}}},appearance:{taskCards:{header:"Task Cards",description:"Configure how task cards are displayed across all views.",defaultVisibleProperties:{name:"Default visible properties",description:"Choose which properties appear on task cards by default."},propertyGroups:{coreProperties:"CORE PROPERTIES",organization:"ORGANIZATION",customProperties:"CUSTOM PROPERTIES"},properties:{status:"Status Dot",priority:"Priority Dot",due:"Due Date",scheduled:"Scheduled Date",timeEstimate:"Time Estimate",totalTrackedTime:"Total Tracked Time",recurrence:"Recurrence",completedDate:"Completed Date",createdDate:"Created Date",modifiedDate:"Modified Date",projects:"Projects",contexts:"Contexts",tags:"Tags",blocked:"Blocked",blocking:"Blocking"}},taskFilenames:{header:"Task Filenames",description:"Configure how task files are named when created.",storeTitleInFilename:{name:"Store title in filename",description:"Use the task title as the filename. Filename will update when the task title is changed (Recommended)."},filenameFormat:{name:"Filename format",description:"How task filenames should be generated",options:{title:"Task title (Non-updating)",zettel:"Zettelkasten format (YYMMDD + base36 seconds since midnight)",timestamp:"Full timestamp (YYYY-MM-DD-HHMMSS)",custom:"Custom template"}},customTemplate:{name:"Custom filename template",description:"Template for custom filenames. Available variables: {title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"Note: {dueDate} and {scheduledDate} are in YYYY-MM-DD format and will be empty if not set."}},displayFormatting:{header:"Display Formatting",description:"Configure how dates, times, and other data are displayed across the plugin.",timeFormat:{name:"Time format",description:"Display time in 12-hour or 24-hour format throughout the plugin",options:{twelveHour:"12-hour (AM/PM)",twentyFourHour:"24-hour"}}},calendarView:{header:"Calendar View",description:"Customize the appearance and behavior of the calendar view.",defaultView:{name:"Default view",description:"The calendar view shown when opening the calendar tab",options:{monthGrid:"Month Grid",weekTimeline:"Week Timeline",dayTimeline:"Day Timeline",yearView:"Year View",customMultiDay:"Custom Multi-Day"}},customDayCount:{name:"Custom view day count",description:"Number of days to show in custom multi-day view",placeholder:"3"},firstDayOfWeek:{name:"First day of week",description:"Which day should be the first column in week views"},showWeekends:{name:"Show weekends",description:"Display weekends in calendar views"},showWeekNumbers:{name:"Show week numbers",description:"Display week numbers in calendar views"},showTodayHighlight:{name:"Show today highlight",description:"Highlight the current day in calendar views"},showCurrentTimeIndicator:{name:"Show current time indicator",description:"Display a line showing the current time in timeline views"},selectionMirror:{name:"Selection mirror",description:"Show a visual preview while dragging to select time ranges"},calendarLocale:{name:"Calendar locale",description:'Calendar locale for date formatting and calendar system (e.g., "en", "fa" for Farsi/Persian, "de" for German). Leave empty to auto-detect from browser.',placeholder:"Auto-detect",invalidLocale:"Invalid locale. Please enter a valid language tag (e.g., 'en', 'de', 'fr-FR')."}},defaultEventVisibility:{header:"Default Event Visibility",description:"Configure which event types are visible by default when opening the Calendar. Users can still toggle these on/off in the calendar view.",showScheduledTasks:{name:"Show scheduled tasks",description:"Display tasks with scheduled dates by default"},showDueDates:{name:"Show due dates",description:"Display task due dates by default"},showDueWhenScheduled:{name:"Show due dates when scheduled",description:"Display due dates even for tasks that already have scheduled dates"},showTimeEntries:{name:"Show time entries",description:"Display completed time tracking entries by default"},showRecurringTasks:{name:"Show recurring tasks",description:"Display recurring task instances by default"},showICSEvents:{name:"Show ICS events",description:"Display events from ICS subscriptions by default"}},timeSettings:{header:"Time Settings",description:"Configure time-related display settings for timeline views.",timeSlotDuration:{name:"Time slot duration",description:"Duration of each time slot in timeline views",options:{fifteenMinutes:"15 minutes",thirtyMinutes:"30 minutes",sixtyMinutes:"60 minutes"}},startTime:{name:"Start time",description:"Earliest time shown in timeline views (HH:MM format)",placeholder:"06:00"},endTime:{name:"End time",description:"Latest time shown in timeline views (HH:MM format)",placeholder:"22:00"},initialScrollTime:{name:"Initial scroll time",description:"Time to scroll to when opening timeline views (HH:MM format)",placeholder:"09:00"},eventMinHeight:{name:"Event minimum height",description:"Minimum height for events in timeline views (pixels)",placeholder:"15"}},uiElements:{header:"UI Elements",description:"Configure the display of various UI elements.",showTrackedTasksInStatusBar:{name:"Show tracked tasks in status bar",description:"Display currently tracked tasks in Obsidian's status bar"},showRelationshipsWidget:{name:"Show relationships widget",description:"Display a widget showing all relationships for the current note (subtasks, projects, dependencies)"},relationshipsPosition:{name:"Relationships position",description:"Where to position the relationships widget",options:{top:"Top of note",bottom:"Bottom of note"}},showTaskCardInNote:{name:"Show task card in note",description:"Display a task card widget at the top of task notes showing the task details and actions"},showExpandableSubtasks:{name:"Show expandable subtasks",description:"Allow expanding/collapsing subtask sections in task cards"},subtaskChevronPosition:{name:"Subtask chevron position",description:"Position of expand/collapse chevrons in task cards",options:{left:"Left side",right:"Right side"}},viewsButtonAlignment:{name:"Views button alignment",description:"Alignment of the views/filters button in the task interface",options:{left:"Left side",right:"Right side"}}},projectAutosuggest:{header:"Project Autosuggest",description:"Customize how project suggestions display during task creation.",requiredTags:{name:"Required tags",description:"Show only notes with any of these tags (comma-separated). Leave empty to show all notes.",placeholder:"project, active, important"},includeFolders:{name:"Include folders",description:"Show only notes in these folders (comma-separated paths). Leave empty to show all folders.",placeholder:"Projects/, Work/Active, Personal"},requiredPropertyKey:{name:"Required property key",description:"Show only notes where this frontmatter property matches the value below. Leave empty to ignore.",placeholder:"type"},requiredPropertyValue:{name:"Required property value",description:"Only notes where the property equals this value are suggested. Leave empty to require the property to exist.",placeholder:"project"},customizeDisplay:{name:"Customize suggestion display",description:"Show advanced options to configure how project suggestions appear and what information they display."},enableFuzzyMatching:{name:"Enable fuzzy matching",description:"Allow typos and partial matches in project search. May be slower in large vaults."},displayRowsHelp:"Configure up to 3 lines of information to show for each project suggestion.",displayRows:{row1:{name:"Row 1",description:"Format: {property|flags}. Properties: title, aliases, file.path, file.parent. Flags: n(Label) shows label, s makes searchable. Example: {title|n(Title)|s}",placeholder:"{title|n(Title)}"},row2:{name:"Row 2 (optional)",description:"Common patterns: {aliases|n(Aliases)}, {file.parent|n(Folder)}, literal:Custom Text",placeholder:"{aliases|n(Aliases)}"},row3:{name:"Row 3 (optional)",description:"Additional info like {file.path|n(Path)} or custom frontmatter fields",placeholder:"{file.path|n(Path)}"}},quickReference:{header:"Quick Reference",properties:"Available properties: title, aliases, file.path, file.parent, or any frontmatter field",labels:'Add labels: {title|n(Title)} \u2192 "Title: My Project"',searchable:"Make searchable: {description|s} includes description in + search",staticText:"Static text: literal:My Custom Label",alwaysSearchable:"Filename, title, and aliases are always searchable by default."}},dataStorage:{name:"Storage Location",description:"Where to store Pomodoro session history",pluginData:"Plugin data (recommended)",dailyNotes:"Daily Notes",notices:{locationChanged:"Pomodoro storage location changed to {location}"}},notifications:{description:"Configure task reminder notifications and alerts."},performance:{description:"Configure plugin performance and behavioral options."},timeTrackingSection:{description:"Configure automatic time tracking behaviors."},recurringSection:{description:"Configure behavior for recurring task management."}},integrations:{basesIntegration:{header:"Bases integration",description:"Configure integration with the Obsidian Bases plugin. This is an experimental feature, and currently relies on undocumented Obsidian APIs. Behaviour may change or break.",enable:{name:"Enable Bases integration",description:"Enable TaskNotes views to be used within Obsidian Bases plugin. Bases plugin must be enabled for this to work."},viewCommands:{header:"Views & base files",description:"TaskNotes uses Obsidian Bases files (.base) to power its views. These files are generated automatically on startup if they don't exist, configured with your current settings (task identification, field mappings, statuses, etc.).",descriptionRegen:'Base files are not automatically updated when you change settings. To apply new settings, delete the existing .base files and restart Obsidian, or use "Create files" below, or edit them manually.',docsLink:"View documentation for available formulas and customization options",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"Open mini calendar view",kanban:"Open kanban view",tasks:"Open tasks view",advancedCalendar:"Open advanced calendar view",agenda:"Open agenda view",relationships:"Relationships widget"},fileLabel:"File: {path}",resetButton:"Reset",resetTooltip:"Reset to default path"},createDefaultFiles:{name:"Create default files",description:"Create the default .base files in TaskNotes/Views/ directory. Existing files will not be overwritten.",buttonText:"Create files"},exportV3Views:{name:"Export V3 saved views to Bases",description:"Convert all your saved views from TaskNotes v3 into a single .base file with multiple views. This helps migrate your v3 filter configurations to the new Bases system.",buttonText:"Export V3 views",noViews:"No saved views to export",fileExists:"File already exists",confirmOverwrite:'A file named "{fileName}" already exists. Overwrite it?',success:"Exported {count} saved views to {filePath}",error:"Failed to export views: {message}"},notices:{enabled:"Bases integration enabled. Please restart Obsidian to complete the setup.",disabled:"Bases integration disabled. Please restart Obsidian to complete the removal."}},calendarSubscriptions:{header:"Calendar subscriptions",description:"Subscribe to external calendars via ICS/iCal URLs to view events alongside your tasks.",defaultNoteTemplate:{name:"Default note template",description:"Path to template file for notes created from ICS events",placeholder:"Templates/Event Template.md"},defaultNoteFolder:{name:"Default note folder",description:"Folder for notes created from ICS events",placeholder:"Calendar/Events"},filenameFormat:{name:"ICS note filename format",description:"How filenames are generated for notes created from ICS events",options:{title:"Event title",zettel:"Zettelkasten format",timestamp:"Timestamp",custom:"Custom template"}},customTemplate:{name:"Custom ICS filename template",description:"Template for custom ICS event filenames",placeholder:"{date}-{title}"}},subscriptionsList:{header:"Calendar subscriptions list",addSubscription:{name:"Add Calendar Subscription",description:"Add a new calendar subscription from ICS/iCal URL or local file",buttonText:"Add Subscription"},refreshAll:{name:"Refresh all subscriptions",description:"Manually refresh all enabled calendar subscriptions",buttonText:"Refresh All"},newCalendarName:"New Calendar",emptyState:"No calendar subscriptions configured. Add a subscription to sync external calendars.",notices:{addSuccess:"New calendar subscription added - please configure the details",addFailure:"Failed to add subscription",serviceUnavailable:"ICS subscription service not available",refreshSuccess:"All calendar subscriptions refreshed successfully",refreshFailure:"Failed to refresh some calendar subscriptions",updateFailure:"Failed to update subscription",deleteSuccess:'Deleted subscription "{name}"',deleteFailure:"Failed to delete subscription",enableFirst:"Enable the subscription first",refreshSubscriptionSuccess:'Refreshed "{name}"',refreshSubscriptionFailure:"Failed to refresh subscription"},labels:{enabled:"Enabled:",name:"Name:",type:"Type:",url:"URL:",filePath:"File Path:",color:"Color:",refreshMinutes:"Refresh (min):"},typeOptions:{remote:"Remote URL",local:"Local File"},placeholders:{calendarName:"Calendar name",url:"ICS/iCal URL",filePath:"Local file path (e.g., Calendar.ics)",localFile:"Calendar.ics"},statusLabels:{enabled:"Enabled",disabled:"Disabled",remote:"Remote",localFile:"Local File",remoteCalendar:"Remote Calendar",localFileCalendar:"Local File",synced:"Synced {timeAgo}",error:"Error"},actions:{refreshNow:"Refresh Now",deleteSubscription:"Delete subscription"},refreshNow:"Refresh Now",confirmDelete:{title:"Delete Subscription",message:'Are you sure you want to delete the subscription "{name}"? This action cannot be undone.',confirmText:"Delete"}},autoExport:{header:"Automatic ICS export",description:"Automatically export all your tasks to an ICS file.",enable:{name:"Enable automatic export",description:"Automatically keep an ICS file updated with all your tasks"},filePath:{name:"Export file path",description:"Path where the ICS file will be saved (relative to vault root)",placeholder:"tasknotes-calendar.ics"},interval:{name:"Update interval (between 5 and 1440 minutes)",description:"How often to update the export file",placeholder:"60"},exportNow:{name:"Export now",description:"Manually trigger an immediate export",buttonText:"Export Now"},status:{title:"Export Status:",lastExport:"Last export: {time}",nextExport:"Next export: {time}",noExports:"No exports yet",notScheduled:"Not scheduled",notInitialized:"Auto export service not initialized - please restart Obsidian",serviceNotInitialized:"Service not initialized - please restart Obsidian"},notices:{reloadRequired:"Please reload Obsidian for the automatic export changes to take effect.",exportSuccess:"Tasks exported successfully",exportFailure:"Export failed - check console for details",serviceUnavailable:"Auto export service not available"}},httpApi:{header:"HTTP API",description:"Enable HTTP API for external integrations and automations.",enable:{name:"Enable HTTP API",description:"Start local HTTP server for API access"},port:{name:"API port",description:"Port number for the HTTP API server",placeholder:"3000"},authToken:{name:"API authentication token",description:"Token required for API authentication (leave empty for no auth)",placeholder:"your-secret-token"},endpoints:{header:"Available API Endpoints",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhooks",description:{overview:"Webhooks send real-time notifications to external services when TaskNotes events occur.",usage:"Configure webhooks to integrate with automation tools, sync services, or custom applications."},addWebhook:{name:"Add Webhook",description:"Register a new webhook endpoint",buttonText:"Add Webhook"},emptyState:{message:"No webhooks configured. Add a webhook to receive real-time notifications.",buttonText:"Add Webhook"},labels:{active:"Active:",url:"URL:",events:"Events:",transform:"Transform:"},placeholders:{url:"Webhook URL",noEventsSelected:"No events selected",rawPayload:"Raw payload (no transform)"},statusLabels:{active:"Active",inactive:"Inactive",created:"Created {timeAgo}"},actions:{editEvents:"Edit Events",delete:"Delete"},editEvents:"Edit Events",notices:{urlUpdated:"Webhook URL updated",enabled:"Webhook enabled",disabled:"Webhook disabled",created:"Webhook created successfully",deleted:"Webhook deleted",updated:"Webhook updated"},confirmDelete:{title:"Delete Webhook",message:`Are you sure you want to delete this webhook?
|
||
|
||
URL: {url}
|
||
|
||
This action cannot be undone.`,confirmText:"Delete"},cardHeader:"Webhook",cardFields:{active:"Active:",url:"URL:",events:"Events:",transform:"Transform:"},eventsDisplay:{noEvents:"No events selected"},transformDisplay:{noTransform:"Raw payload (no transform)"},secretModal:{title:"Webhook Secret Generated",description:"Your webhook secret has been generated. Save this secret as you won't be able to view it again:",usage:"Use this secret to verify webhook payloads in your receiving application.",gotIt:"Got it"},editModal:{title:"Edit Webhook",eventsHeader:"Events to subscribe to"},events:{taskCreated:{label:"Task Created",description:"When new tasks are created"},taskUpdated:{label:"Task Updated",description:"When tasks are modified"},taskCompleted:{label:"Task Completed",description:"When tasks are marked complete"},taskDeleted:{label:"Task Deleted",description:"When tasks are deleted"},taskArchived:{label:"Task Archived",description:"When tasks are archived"},taskUnarchived:{label:"Task Unarchived",description:"When tasks are unarchived"},timeStarted:{label:"Time Started",description:"When time tracking starts"},timeStopped:{label:"Time Stopped",description:"When time tracking stops"},pomodoroStarted:{label:"Pomodoro Started",description:"When pomodoro sessions begin"},pomodoroCompleted:{label:"Pomodoro Completed",description:"When pomodoro sessions finish"},pomodoroInterrupted:{label:"Pomodoro Interrupted",description:"When pomodoro sessions are stopped"},recurringCompleted:{label:"Recurring Instance Completed",description:"When recurring task instances complete"},reminderTriggered:{label:"Reminder Triggered",description:"When task reminders activate"}},modals:{secretGenerated:{title:"Webhook Secret Generated",description:"Your webhook secret has been generated. Save this secret as you won't be able to view it again:",usage:"Use this secret to verify webhook payloads in your receiving application.",buttonText:"Got it"},edit:{title:"Edit Webhook",eventsSection:"Events to subscribe to",transformSection:"Transform Configuration (Optional)",headersSection:"Headers Configuration",transformFile:{name:"Transform File",description:"Path to a .js or .json file in your vault that transforms webhook payloads",placeholder:"discord-transform.js"},customHeaders:{name:"Include custom headers",description:"Include TaskNotes headers (event type, signature, delivery ID). Turn off for Discord, Slack, and other services with strict CORS policies."},buttons:{cancel:"Cancel",save:"Save Changes"},notices:{selectAtLeastOneEvent:"Please select at least one event"}},add:{title:"Add Webhook",eventsSection:"Events to subscribe to",transformSection:"Transform Configuration (Optional)",headersSection:"Headers Configuration",url:{name:"Webhook URL",description:"The endpoint where webhook payloads will be sent",placeholder:"https://your-service.com/webhook"},transformFile:{name:"Transform File",description:"Path to a .js or .json file in your vault that transforms webhook payloads",placeholder:"discord-transform.js"},customHeaders:{name:"Include custom headers",description:"Include TaskNotes headers (event type, signature, delivery ID). Turn off for Discord, Slack, and other services with strict CORS policies."},transformHelp:{title:"Transform files allow you to customize webhook payloads:",jsFiles:".js files:",jsDescription:" Custom JavaScript transforms",jsonFiles:".json files:",jsonDescription:" Templates with ",jsonVariable:"${data.task.title}",leaveEmpty:"Leave empty:",leaveEmptyDescription:" Send raw data",example:"Example:",exampleFile:"discord-transform.js"},buttons:{cancel:"Cancel",add:"Add Webhook"},notices:{urlRequired:"Webhook URL is required",selectAtLeastOneEvent:"Please select at least one event"}}}},otherIntegrations:{header:"Other plugin integrations",description:"Configure integrations with other Obsidian plugins."},timeFormats:{justNow:"Just now",minutesAgo:"{minutes} minute{plural} ago",hoursAgo:"{hours} hour{plural} ago",daysAgo:"{days} day{plural} ago"}}},notices:{languageChanged:"Language changed to {language}.",exportTasksFailed:"Failed to export tasks as ICS file",icsNoteCreatedSuccess:"Note created successfully",icsCreationModalOpenFailed:"Failed to open creation modal",icsNoteLinkSuccess:'Linked note "{fileName}" to ICS event',icsTaskCreatedSuccess:"Task created: {title}",icsRelatedItemsRefreshed:"Related notes refreshed",icsFileNotFound:"File not found or invalid",icsFileOpenFailed:"Failed to open file",timeblockAttachmentExists:'"{fileName}" is already attached',timeblockAttachmentAdded:'Added "{fileName}" as attachment',timeblockAttachmentRemoved:'Removed "{fileName}" from attachments',timeblockFileTypeNotSupported:'Cannot open "{fileName}" - file type not supported',timeblockTitleRequired:"Please enter a title for the timeblock",timeblockUpdatedSuccess:'Timeblock "{title}" updated successfully',timeblockUpdateFailed:"Failed to update timeblock. Check console for details.",timeblockDeletedSuccess:'Timeblock "{title}" deleted successfully',timeblockDeleteFailed:"Failed to delete timeblock. Check console for details.",timeblockRequiredFieldsMissing:"Please fill in all required fields",agendaLoadingFailed:"Error loading agenda. Please try refreshing.",statsLoadingFailed:"Error loading project details."},commands:{openCalendarView:"Open mini calendar view",openAdvancedCalendarView:"Open calendar view",openTasksView:"Open tasks view",openNotesView:"Open notes view",openAgendaView:"Open agenda view",openPomodoroView:"Open pomodoro timer",openKanbanView:"Open kanban board",openPomodoroStats:"Open pomodoro statistics",openStatisticsView:"Open task & project statistics",createNewTask:"Create new task",convertCurrentNoteToTask:{name:"Convert current note to task",noActiveFile:"No active file to convert",alreadyTask:"This note is already a task",success:"Converted '{title}' to a task"},convertToTaskNote:"Convert checkbox task to TaskNote",convertAllTasksInNote:"Convert all tasks in note",insertTaskNoteLink:"Insert tasknote link",createInlineTask:"Create new inline task",quickActionsCurrentTask:"Quick actions for current task",goToTodayNote:"Go to today's note",startPomodoro:"Start pomodoro timer",stopPomodoro:"Stop pomodoro timer",pauseResumePomodoro:"Pause/resume pomodoro timer",refreshCache:"Refresh cache",exportAllTasksIcs:"Export all tasks as ICS file",viewReleaseNotes:"View release notes",startTimeTrackingWithSelector:"Start time tracking (select task)",editTimeEntries:"Edit time entries (select task)",createOrOpenTask:"Create or open task"},modals:{deviceCode:{title:"Google Calendar Authorization",instructions:{intro:"To connect your Google Calendar, please follow these steps:"},steps:{open:"Open",inBrowser:"in your browser",enterCode:"Enter this code when prompted:",signIn:"Sign in with your Google account and grant access",returnToObsidian:"Return to Obsidian (this window will close automatically)"},codeLabel:"Your Code:",copyCodeAriaLabel:"Copy code",waitingForAuthorization:"Waiting for authorization...",openBrowserButton:"Open Browser",cancelButton:"Cancel",expiresMinutesSeconds:"Code expires in {minutes}m {seconds}s",expiresSeconds:"Code expires in {seconds}s"},icsEventInfo:{calendarEventHeading:"Calendar Event",titleLabel:"Title",calendarLabel:"Calendar",dateTimeLabel:"Date & Time",locationLabel:"Location",descriptionLabel:"Description",urlLabel:"URL",relatedNotesHeading:"Related Notes & Tasks",noRelatedItems:"No related notes or tasks found for this event.",typeTask:"Task",typeNote:"Note",actionsHeading:"Actions",createFromEventLabel:"Create from Event",createFromEventDesc:"Create a new note or task from this calendar event",linkExistingLabel:"Link Existing",linkExistingDesc:"Link an existing note to this calendar event"},timeblockInfo:{editHeading:"Edit Timeblock",dateTimeLabel:"Date & Time: ",titleLabel:"Title",titleDesc:"Title for your timeblock",titlePlaceholder:"e.g., Deep work session",descriptionLabel:"Description",descriptionDesc:"Optional description for the timeblock",descriptionPlaceholder:"Focus on new features, no interruptions",colorLabel:"Color",colorDesc:"Optional color for the timeblock",colorPlaceholder:"#3b82f6",attachmentsLabel:"Attachments",attachmentsDesc:"Files or notes linked to this timeblock",addAttachmentButton:"Add Attachment",addAttachmentTooltip:"Select a file or note using fuzzy search",deleteButton:"Delete Timeblock",saveButton:"Save Changes",deleteConfirmationTitle:"Delete Timeblock"},timeblockCreation:{heading:"Create timeblock",dateLabel:"Date: ",titleLabel:"Title",titleDesc:"Title for your timeblock",titlePlaceholder:"e.g., Deep work session",startTimeLabel:"Start time",startTimeDesc:"When the timeblock starts",startTimePlaceholder:"09:00",endTimeLabel:"End time",endTimeDesc:"When the timeblock ends",endTimePlaceholder:"11:00",descriptionLabel:"Description",descriptionDesc:"Optional description for the timeblock",descriptionPlaceholder:"Focus on new features, no interruptions",colorLabel:"Color",colorDesc:"Optional color for the timeblock",colorPlaceholder:"#3b82f6",attachmentsLabel:"Attachments",attachmentsDesc:"Files or notes to link to this timeblock",addAttachmentButton:"Add Attachment",addAttachmentTooltip:"Select a file or note using fuzzy search",createButton:"Create timeblock"},icsNoteCreation:{heading:"Create from ICS Event",titleLabel:"Title",titleDesc:"Title for the new content",folderLabel:"Folder",folderDesc:"Destination folder (leave empty for vault root)",folderPlaceholder:"folder/subfolder",createButton:"Create",startLabel:"Start: ",endLabel:"End: ",locationLabel:"Location: ",calendarLabel:"Calendar: ",useTemplateLabel:"Use Template",useTemplateDesc:"Apply a template when creating the content",templatePathLabel:"Template Path",templatePathDesc:"Path to the template file",templatePathPlaceholder:"templates/ics-note-template.md"},unscheduledTasksSelector:{title:"Unscheduled Tasks",placeholder:"Type to search for unscheduled tasks...",instructions:{navigate:"to navigate",schedule:"to schedule",dismiss:"to dismiss"}},migration:{title:"Migrate to New Recurrence System",description:"TaskNotes now uses industry-standard RRULE patterns for recurrence, which enables more complex schedules and better compatibility with other apps.",tasksFound:"{count} task(s) with old recurrence patterns detected",noMigrationNeeded:"No tasks require migration",warnings:{title:"Before you proceed:",backup:"Back up your vault before migrating",conversion:"Old recurrence patterns will be converted to new format",normalUsage:"You can continue using TaskNotes normally during migration",permanent:"This change is permanent and cannot be automatically undone"},benefits:{title:"Benefits of the new system:",powerfulPatterns:"Complex recurrence patterns (e.g., 'every 2nd Tuesday')",performance:"Better performance with recurring tasks",compatibility:"Standard recurrence format compatible with other apps",nlp:"Enhanced natural language processing support"},progress:{title:"Migration Progress",preparing:"Preparing migration...",completed:"Migration completed successfully",failed:"Migration failed"},buttons:{migrate:"Start Migration",completed:"Close"},errors:{title:"Errors during migration:"},notices:{completedWithErrors:"Migration completed with some errors. Check the error list above.",success:"All tasks migrated successfully!",failed:"Migration failed. Please check the console for details."},prompt:{message:"TaskNotes detected tasks using the old recurrence format. Would you like to migrate them to the new system now?",migrateNow:"Migrate Now",remindLater:"Remind Me Later"}},task:{titlePlaceholder:"What needs to be done?",titleLabel:"Title",titleDetailedPlaceholder:"Task title...",detailsLabel:"Details",detailsPlaceholder:"Add more details...",projectsLabel:"Projects",projectsAdd:"Add Project",projectsTooltip:"Select a project note using fuzzy search",projectsRemoveTooltip:"Remove project",contextsLabel:"Contexts",contextsPlaceholder:"context1, context2",tagsLabel:"Tags",tagsPlaceholder:"tag1, tag2",timeEstimateLabel:"Time estimate (minutes)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"Unsaved Changes",message:"You have unsaved changes. Do you want to save them?",save:"Save Changes",discard:"Discard Changes",cancel:"Keep Editing"},dependencies:{blockedBy:"Blocked by",blocking:"Blocking",placeholder:"[[Task Note]]",addTaskButton:"Add task",selectTaskTooltip:"Select a task note using fuzzy search",removeTaskTooltip:"Remove task"},organization:{projects:"Projects",subtasks:"Subtasks",addToProject:"Add to project",addToProjectButton:"Add to project",addSubtasks:"Add subtasks",addSubtasksButton:"Add subtask",addSubtasksTooltip:"Select tasks to make them subtasks of this task",removeSubtaskTooltip:"Remove subtask",notices:{noEligibleSubtasks:"No eligible tasks available to assign as subtasks",subtaskSelectFailed:"Failed to open subtask selector"}},customFieldsLabel:"Custom Fields",actions:{due:"Set due date",scheduled:"Set scheduled date",status:"Set status",priority:"Set priority",recurrence:"Set recurrence",reminders:"Set reminders"},buttons:{openNote:"Open note",save:"Save"},tooltips:{dueValue:"Due: {value}",scheduledValue:"Scheduled: {value}",statusValue:"Status: {value}",priorityValue:"Priority: {value}",recurrenceValue:"Recurrence: {value}",remindersSingle:"1 reminder set",remindersPlural:"{count} reminders set"},dateMenu:{dueTitle:"Set Due Date",scheduledTitle:"Set Scheduled Date"},userFields:{textPlaceholder:"Enter {field}...",numberPlaceholder:"0",datePlaceholder:"YYYY-MM-DD",listPlaceholder:"item1, item2, item3",pickDate:"Pick {field} date"},recurrence:{daily:"Daily",weekly:"Weekly",everyTwoWeeks:"Every 2 weeks",weekdays:"Weekdays",weeklyOn:"Weekly on {days}",monthly:"Monthly",everyThreeMonths:"Every 3 months",monthlyOnOrdinal:"Monthly on the {ordinal}",monthlyByWeekday:"Monthly (by weekday)",yearly:"Yearly",yearlyOn:"Yearly on {month} {day}",custom:"Custom",countSuffix:"{count} times",untilSuffix:"until {date}",ordinal:"{number}{suffix}"}},taskSelector:{title:"Select task",placeholder:"Type to search for tasks...",instructions:{navigate:"to navigate",select:"to select",dismiss:"to cancel"},notices:{noteNotFound:'Could not find note "{name}"'},dueDate:{overdue:"Due: {date} (overdue)",today:"Due: Today"}},taskSelectorWithCreate:{title:"Create or open task",placeholder:"Search tasks or type to create new...",instructions:{create:"to create new task"},footer:{createLabel:" to create: "},notices:{emptyQuery:"Please enter a task description",invalidTitle:"Could not parse a valid task title"}},taskCreation:{title:"Create task",actions:{fillFromNaturalLanguage:"Fill form from natural language",hideDetailedOptions:"Hide detailed options",showDetailedOptions:"Show detailed options"},nlPlaceholder:"Buy groceries tomorrow at 3pm @home #errands",notices:{titleRequired:"Please enter a task title",success:'Task "{title}" created successfully',successShortened:'Task "{title}" created successfully (filename shortened due to length)',failure:"Failed to create task: {message}",blockingUnresolved:"Could not resolve: {entries}"}},taskEdit:{title:"Edit task",sections:{completions:"Completions",taskInfo:"Task Information"},metadata:{totalTrackedTime:"Total tracked time:",created:"Created:",modified:"Modified:",file:"File:"},buttons:{archive:"Archive",unarchive:"Unarchive"},notices:{titleRequired:"Please enter a task title",noChanges:"No changes to save",updateSuccess:'Task "{title}" updated successfully',updateFailure:"Failed to update task: {message}",dependenciesUpdateSuccess:"Dependencies updated",blockingUnresolved:"Could not resolve: {entries}",fileMissing:"Could not find task file: {path}",openNoteFailure:"Failed to open task note",archiveSuccess:"Task {action} successfully",archiveFailure:"Failed to archive task"},archiveAction:{archived:"archived",unarchived:"unarchived"}},storageLocation:{title:{migrate:"Migrate pomodoro data?",switch:"Switch to daily notes storage?"},message:{migrate:"This will migrate your existing pomodoro session data to daily notes frontmatter. The data will be grouped by date and stored in each daily note.",switch:"Pomodoro session data will be stored in daily notes frontmatter instead of the plugin data file."},whatThisMeans:"What this means:",bullets:{dailyNotesRequired:"Daily Notes core plugin must remain enabled",storedInNotes:"Data will be stored in your daily notes frontmatter",migrateData:"Existing plugin data will be migrated and then cleared",futureSessions:"Future sessions will be saved to daily notes",dataLongevity:"This provides better data longevity with your notes"},finalNote:{migrate:"\u26A0\uFE0F Make sure you have backups if needed. This change cannot be automatically undone.",switch:"You can switch back to plugin storage at any time in the future."},buttons:{migrate:"Migrate data",switch:"Switch storage"}},dueDate:{title:"Set Due Date",taskLabel:"Task: {title}",sections:{dateTime:"Due Date & Time",quickOptions:"Quick Options"},descriptions:{dateTime:"Set when this task should be completed"},inputs:{date:{ariaLabel:"Due date for task",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"Due time for task (optional)",placeholder:"HH:MM"}},quickOptions:{today:"Today",todayAriaLabel:"Set due date to today",tomorrow:"Tomorrow",tomorrowAriaLabel:"Set due date to tomorrow",nextWeek:"Next week",nextWeekAriaLabel:"Set due date to next week",now:"Now",nowAriaLabel:"Set due date and time to now",clear:"Clear",clearAriaLabel:"Clear due date"},errors:{invalidDateTime:"Please enter a valid date and time format",updateFailed:"Failed to update due date. Please try again."}},scheduledDate:{title:"Set Scheduled Date",taskLabel:"Task: {title}",sections:{dateTime:"Scheduled Date & Time",quickOptions:"Quick Options"},descriptions:{dateTime:"Set when you plan to work on this task"},inputs:{date:{ariaLabel:"Scheduled date for task",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"Scheduled time for task (optional)",placeholder:"HH:MM"}},quickOptions:{today:"Today",todayAriaLabel:"Set scheduled date to today",tomorrow:"Tomorrow",tomorrowAriaLabel:"Set scheduled date to tomorrow",nextWeek:"Next week",nextWeekAriaLabel:"Set scheduled date to next week",now:"Now",nowAriaLabel:"Set scheduled date and time to now",clear:"Clear",clearAriaLabel:"Clear scheduled date"},errors:{invalidDateTime:"Please enter a valid date and time format",updateFailed:"Failed to update scheduled date. Please try again."}},timeEntryEditor:{title:"Time Entries - {taskTitle}",addEntry:"Add time entry",noEntries:"No time entries yet",deleteEntry:"Delete entry",startTime:"Start time",endTime:"End time (leave empty if still running)",duration:"Duration (minutes)",durationDesc:"Override calculated duration",durationPlaceholder:"Enter duration in minutes",description:"Description",descriptionPlaceholder:"What did you work on?",calculatedDuration:"Calculated: {minutes} minutes",totalTime:"{hours}h {minutes}m total",totalMinutes:"{minutes}m total",saved:"Time entries saved",saveFailed:"Failed to save time entries",openFailed:"Failed to open time entry editor",noTasksWithEntries:"No tasks have time entries to edit",validation:{missingStartTime:"Start time is required",endBeforeStart:"End time must be after start time"}},timeTracking:{noTasksAvailable:"No tasks available to track time for",started:"Started tracking time for: {taskTitle}",startFailed:"Failed to start time tracking"},timeEntry:{mustHaveSpecificTime:"Time entries must have specific times. Please select a time range in week or day view.",noTasksAvailable:"No tasks available to create time entries for",created:"Time entry created for {taskTitle} ({duration} minutes)",createFailed:"Failed to create time entry"}},contextMenus:{task:{status:"Status",statusSelected:"\u2713 {label}",priority:"Priority",prioritySelected:"\u2713 {label}",dueDate:"Due date",scheduledDate:"Scheduled date",reminders:"Reminders",remindBeforeDue:"Remind before due\u2026",remindBeforeScheduled:"Remind before scheduled\u2026",manageReminders:"Manage all reminders\u2026",clearReminders:"Clear all reminders",startTimeTracking:"Start time tracking",stopTimeTracking:"Stop time tracking",editTimeEntries:"Edit time entries",archive:"Archive",unarchive:"Unarchive",openNote:"Open note",copyTitle:"Copy task title",noteActions:"Note actions",rename:"Rename",renameTitle:"Rename File",renamePlaceholder:"Enter new name",delete:"Delete",deleteTitle:"Delete File",deleteMessage:'Are you sure you want to delete "{name}"?',deleteConfirm:"Delete",copyPath:"Copy path",copyUrl:"Copy Obsidian URL",showInExplorer:"Show in file explorer",addToCalendar:"Add to calendar",calendar:{google:"Google Calendar",outlook:"Outlook Calendar",yahoo:"Yahoo Calendar",downloadIcs:"Download .ics file"},recurrence:"Recurrence",clearRecurrence:"Clear recurrence",customRecurrence:"Custom recurrence...",createSubtask:"Create subtask",dependencies:{title:"Dependencies",addBlockedBy:"Add \u201Cblocked by\u201D\u2026",addBlockedByTitle:"Add tasks this depends on",addBlocking:"Add \u201Cblocking\u201D\u2026",addBlockingTitle:"Add tasks this blocks",removeBlockedBy:"Remove blocked-by\u2026",removeBlocking:"Remove blocking\u2026",inputPlaceholder:"[[Task Note]]",notices:{noEntries:"Please enter at least one task",blockedByAdded:"{count} dependency added",blockedByRemoved:"Dependency removed",blockingAdded:"{count} dependent task added",blockingRemoved:"Dependent task removed",unresolved:"Could not resolve: {entries}",noEligibleTasks:"No matching tasks available",updateFailed:"Failed to update dependencies"}},organization:{title:"Organization",projects:"Projects",addToProject:"Add to project\u2026",subtasks:"Subtasks",addSubtasks:"Add subtasks\u2026",notices:{alreadyInProject:"Task is already in this project",alreadySubtask:"Task is already a subtask of this task",addedToProject:"Added to project: {project}",addedAsSubtask:"Added {subtask} as subtask of {parent}",addToProjectFailed:"Failed to add task to project",addAsSubtaskFailed:"Failed to add task as subtask",projectSelectFailed:"Failed to open project selector",subtaskSelectFailed:"Failed to open subtask selector",noEligibleSubtasks:"No eligible tasks available to assign as subtasks",currentTaskNotFound:"Current task file not found"}},subtasks:{loading:"Loading subtasks...",noSubtasks:"No subtasks found",loadFailed:"Failed to load subtasks"},markComplete:"Mark complete for this date",markIncomplete:"Mark incomplete for this date",skipInstance:"Skip instance",unskipInstance:"Unskip instance",quickReminders:{atTime:"At time of event",fiveMinutes:"5 minutes before",fifteenMinutes:"15 minutes before",oneHour:"1 hour before",oneDay:"1 day before"},notices:{toggleCompletionFailure:"Failed to toggle recurring task completion: {message}",toggleSkipFailure:"Failed to toggle recurring task skip: {message}",updateDueDateFailure:"Failed to update task due date: {message}",updateScheduledFailure:"Failed to update task scheduled date: {message}",updateRemindersFailure:"Failed to update reminders",clearRemindersFailure:"Failed to clear reminders",addReminderFailure:"Failed to add reminder",archiveFailure:"Failed to toggle task archive: {message}",copyTitleSuccess:"Task title copied to clipboard",copyFailure:"Failed to copy to clipboard",renameSuccess:'Renamed to "{name}"',renameFailure:"Failed to rename file",copyPathSuccess:"File path copied to clipboard",copyUrlSuccess:"Obsidian URL copied to clipboard",updateRecurrenceFailure:"Failed to update task recurrence: {message}"}},ics:{showDetails:"Show details",createTask:"Create task from event",createNote:"Create note from event",linkNote:"Link existing note",copyTitle:"Copy title",copyLocation:"Copy location",copyUrl:"Copy URL",copyMarkdown:"Copy as markdown",subscriptionUnknown:"Unknown calendar",notices:{copyTitleSuccess:"Event title copied to clipboard",copyLocationSuccess:"Location copied to clipboard",copyUrlSuccess:"Event URL copied to clipboard",copyMarkdownSuccess:"Event details copied as markdown",copyFailure:"Failed to copy to clipboard",taskCreated:"Task created: {title}",taskCreateFailure:"Failed to create task from event",noteCreated:"Note created successfully",creationFailure:"Failed to open creation modal",linkSuccess:'Linked note "{name}" to event',linkFailure:"Failed to link note",linkSelectionFailure:"Failed to open note selection"},markdown:{titleFallback:"Untitled Event",calendar:"**Calendar:** {value}",date:"**Date & Time:** {value}",location:"**Location:** {value}",descriptionHeading:"### Description",url:"**URL:** {value}",at:" at {time}"}},date:{increment:{plusOneDay:"+1 day",minusOneDay:"-1 day",plusOneWeek:"+1 week",minusOneWeek:"-1 week"},basic:{today:"Today",tomorrow:"Tomorrow",thisWeekend:"This weekend",nextWeek:"Next week",nextMonth:"Next month"},weekdaysLabel:"Weekdays",selected:"\u2713 {label}",pickDateTime:"Pick date & time\u2026",clearDate:"Clear date",modal:{title:"Set date & time",dateLabel:"Date",timeLabel:"Time (optional)",select:"Select"}}},services:{pomodoro:{notices:{alreadyRunning:"A pomodoro is already running",resumeCurrentSession:"Resume the current session instead of starting a new one",timerAlreadyRunning:"A timer is already running",resumeSessionInstead:"Resume the current session instead of starting a new one",shortBreakStarted:"Short break started",longBreakStarted:"Long break started",paused:"Pomodoro paused",resumed:"Pomodoro resumed",stoppedAndReset:"Pomodoro stopped and reset",migrationSuccess:"Successfully migrated {count} pomodoro sessions to daily notes.",migrationFailure:"Failed to migrate pomodoro data. Please try again or check the console for details."}},icsSubscription:{notices:{calendarNotFound:'Calendar "{name}" not found (404). Please check the ICS URL is correct and the calendar is publicly accessible.',calendarAccessDenied:'Calendar "{name}" access denied (500). This may be due to Microsoft Outlook server restrictions. Try regenerating the ICS URL from your calendar settings.',fetchRemoteFailed:'Failed to fetch remote calendar "{name}": {error}',readLocalFailed:'Failed to read local calendar "{name}": {error}'}},calendarExport:{notices:{generateLinkFailed:"Failed to generate calendar link",noTasksToExport:"No tasks found to export",downloadSuccess:"Downloaded {filename} with {count} task{plural}",downloadFailed:"Failed to download calendar file",singleDownloadSuccess:"Downloaded {filename}"}},filter:{groupLabels:{noProject:"No project",noTags:"No tags",invalidDate:"Invalid date",due:{overdue:"Overdue",today:"Today",tomorrow:"Tomorrow",nextSevenDays:"Next seven days",later:"Later",none:"No due date"},scheduled:{past:"Past scheduled",today:"Today",tomorrow:"Tomorrow",nextSevenDays:"Next seven days",later:"Later",none:"No scheduled date"}},errors:{noDatesProvided:"No dates provided"},folders:{root:"(Root)"}},instantTaskConvert:{notices:{noCheckboxTasks:"No checkbox tasks found in the current note.",convertingTasks:"Converting {count} task{plural}...",conversionSuccess:"\u2705 Successfully converted {count} task{plural} to TaskNotes!",partialConversion:"Converted {successCount} task{successPlural}. {failureCount} failed.",batchConversionFailed:"Failed to perform batch conversion. Please try again.",invalidParameters:"Invalid input parameters.",emptyLine:"Current line is empty or contains no valid content.",parseError:"Error parsing task: {error}",invalidTaskData:"Invalid task data.",replaceLineFailed:"Failed to replace task line.",conversionComplete:"Task converted: {title}",conversionCompleteShortened:'Task converted: "{title}" (filename shortened due to length)',fileExists:"A file with this name already exists. Please try again or rename the task.",conversionFailed:"Failed to convert task. Please try again."}},icsNote:{notices:{templateNotFound:"Template not found: {path}",templateProcessError:"Error processing template: {template}",linkedToEvent:"Linked note to ICS event: {title}"}},task:{notices:{templateNotFound:"Task body template not found: {path}",templateReadError:"Error reading task body template: {template}",moveTaskFailed:"Failed to move {operation} task: {error}"}},autoExport:{notices:{exportFailed:"TaskNotes auto export failed: {error}"}},notification:{notices:{}}},ui:{icsCard:{untitledEvent:"Untitled event",allDay:"All day",calendarEvent:"Calendar event",calendarFallback:"Calendar"},noteCard:{createdLabel:"Created:",dailyBadge:"Daily",dailyTooltip:"Daily note"},taskCard:{blockedBadge:"Blocked",blockedBadgeTooltip:"This task is waiting on another task",blockingBadge:"Blocking",blockingBadgeTooltip:"This task is blocking another task",blockingToggle:"Blocking {count} tasks",loadingDependencies:"Loading dependencies...",blockingEmpty:"No dependent tasks",blockingLoadError:"Failed to load dependencies"},propertyEventCard:{unknownFile:"Unknown file"},filterHeading:{allViewName:"All"},filterBar:{saveView:"Save view",saveViewNamePlaceholder:"Enter view name...",saveButton:"Save",views:"Views",savedFilterViews:"Saved filter views",filters:"Filters",properties:"Properties",sort:"Sort",newTask:"New",expandAllGroups:"Expand All Groups",collapseAllGroups:"Collapse All Groups",searchTasksPlaceholder:"Search tasks...",searchTasksTooltip:"Search task titles",filterUnavailable:"Filter bar temporarily unavailable",toggleFilter:"Toggle filter",activeFiltersTooltip:"Active filters \u2013 Click to modify, right-click to clear",configureVisibleProperties:"Configure visible properties",sortAndGroupOptions:"Sort and group options",sortMenuHeader:"Sort",orderMenuHeader:"Order",groupMenuHeader:"Group",createNewTask:"Create new task",filter:"Filter",displayOrganization:"Display & Organization",viewOptions:"View Options",addFilter:"Add filter",addFilterGroup:"Add filter group",addFilterTooltip:"Add a new filter condition",addFilterGroupTooltip:"Add a nested filter group",clearAllFilters:"Clear all filters and groups",saveCurrentFilter:"Save current filter as view",closeFilterModal:"Close filter modal",deleteFilterGroup:"Delete filter group",deleteCondition:"Delete condition",all:"All",any:"Any",followingAreTrue:"of the following are true:",where:"where",selectProperty:"Select...",chooseProperty:"Choose which task property to filter by",chooseOperator:"Choose how to compare the property value",enterValue:"Enter the value to filter by",selectValue:"Select a {property} to filter by",sortBy:"Sort by:",toggleSortDirection:"Toggle sort direction",chooseSortMethod:"Choose how to sort tasks",groupBy:"Group by:",chooseGroupMethod:"Group tasks by a common property",toggleViewOption:"Toggle {option}",expandCollapseFilters:"Click to expand/collapse filter conditions",expandCollapseSort:"Click to expand/collapse sorting and grouping options",expandCollapseViewOptions:"Click to expand/collapse view-specific options",naturalLanguageDates:"Natural Language Dates",naturalLanguageExamples:"Show natural language date examples",enterNumericValue:"Enter a numeric value to filter by",enterDateValue:"Enter a date using natural language or ISO format",pickDateTime:"Pick date & time",noSavedViews:"No saved views",savedViews:"Saved views",yourSavedFilters:"Your saved filter configurations",dragToReorder:"Drag to reorder views",loadSavedView:"Load saved view: {name}",deleteView:"Delete view",deleteViewTitle:"Delete View",deleteViewMessage:'Are you sure you want to delete the view "{name}"?',manageAllReminders:"Manage All Reminders...",clearAllReminders:"Clear All Reminders",customRecurrence:"Custom recurrence...",clearRecurrence:"Clear recurrence",sortOptions:{dueDate:"Due Date",scheduledDate:"Scheduled Date",priority:"Priority",status:"Status",title:"Title",createdDate:"Created Date",tags:"Tags",ascending:"Ascending",descending:"Descending"},group:{none:"None",status:"Status",priority:"Priority",context:"Context",project:"Project",dueDate:"Due Date",scheduledDate:"Scheduled Date",tags:"Tags",completedDate:"Completed Date"},subgroupLabel:"SUBGROUP",notices:{propertiesMenuFailed:"Failed to show properties menu"}}},components:{dateContextMenu:{weekdays:"Weekdays",clearDate:"Clear date",today:"Today",tomorrow:"Tomorrow",thisWeekend:"This weekend",nextWeek:"Next week",nextMonth:"Next month",setDateTime:"Set date & time",dateLabel:"Date",timeLabel:"Time (optional)"},subgroupMenuBuilder:{none:"None",status:"Status",priority:"Priority",context:"Context",project:"Project",dueDate:"Due Date",scheduledDate:"Scheduled Date",tags:"Tags",completedDate:"Completed Date",subgroup:"SUBGROUP"},propertyVisibilityDropdown:{coreProperties:"CORE PROPERTIES",organization:"ORGANIZATION",customProperties:"CUSTOM PROPERTIES",failed:"Failed to show properties menu",properties:{statusDot:"Status Dot",priorityDot:"Priority Dot",dueDate:"Due Date",scheduledDate:"Scheduled Date",timeEstimate:"Time Estimate",totalTrackedTime:"Total Tracked Time",recurrence:"Recurrence",completedDate:"Completed Date",createdDate:"Created Date",modifiedDate:"Modified Date",projects:"Projects",contexts:"Contexts",tags:"Tags",blocked:"Blocked",blocking:"Blocking"}},reminderContextMenu:{remindBeforeDue:"Remind before due...",remindBeforeScheduled:"Remind before scheduled...",manageAllReminders:"Manage All Reminders...",clearAllReminders:"Clear All Reminders",quickReminders:{atTime:"At time of event",fiveMinutesBefore:"5 minutes before",fifteenMinutesBefore:"15 minutes before",oneHourBefore:"1 hour before",oneDayBefore:"1 day before"}},recurrenceContextMenu:{daily:"Daily",weeklyOn:"Weekly on {day}",everyTwoWeeksOn:"Every 2 weeks on {day}",monthlyOnThe:"Monthly on the {ordinal}",everyThreeMonthsOnThe:"Every 3 months on the {ordinal}",yearlyOn:"Yearly on {month} {ordinal}",weekdaysOnly:"Weekdays only",dailyAfterCompletion:"Daily (after completion)",every3DaysAfterCompletion:"Every 3 days (after completion)",weeklyAfterCompletion:"Weekly (after completion)",monthlyAfterCompletion:"Monthly (after completion)",customRecurrence:"Custom recurrence...",clearRecurrence:"Clear recurrence",customRecurrenceModal:{title:"Custom Recurrence",startDate:"Start date",startDateDesc:"The date when the recurrence pattern begins",startTime:"Start time",startTimeDesc:"The time when recurring instances should appear (optional)",recurFrom:"Recur from",recurFromDesc:"When should the next occurrence be calculated?",scheduledDate:"Scheduled date",completionDate:"Completion date",frequency:"Frequency",interval:"Interval",intervalDesc:"Every X days/weeks/months/years",daysOfWeek:"Days of week",daysOfWeekDesc:"Select specific days (for weekly recurrence)",monthlyRecurrence:"Monthly recurrence",monthlyRecurrenceDesc:"Choose how to repeat monthly",yearlyRecurrence:"Yearly recurrence",yearlyRecurrenceDesc:"Choose how to repeat yearly",endCondition:"End condition",endConditionDesc:"Choose when the recurrence should end",neverEnds:"Never ends",endAfterOccurrences:"End after {count} occurrences",endOnDate:"End on {date}",onDayOfMonth:"On day {day} of each month",onTheWeekOfMonth:"On the {week} {day} of each month",onDateOfYear:"On {month} {day} each year",onTheWeekOfYear:"On the {week} {day} of {month} each year",frequencies:{daily:"Daily",weekly:"Weekly",monthly:"Monthly",yearly:"Yearly"},weekPositions:{first:"first",second:"second",third:"third",fourth:"fourth",last:"last"},weekdays:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},weekdaysShort:{mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat",sun:"Sun"},cancel:"Cancel",save:"Save"}}}};var jG={common:{appName:"Notes de t\xE2ches",new:"Nouveau",cancel:"Annuler",confirm:"Confirmer",close:"Fermer",save:"Enregistrer",language:"Langue",systemDefault:"Langue du syst\xE8me",loading:"Chargement...",languages:{en:"Anglais",fr:"Fran\xE7ais",ru:"Russe",zh:"Chinois",de:"Allemand",es:"Espagnol",ja:"Japonais",pt:"Portugais (Br\xE9sil)"},weekdays:{sunday:"Dimanche",monday:"Lundi",tuesday:"Mardi",wednesday:"Mercredi",thursday:"Jeudi",friday:"Vendredi",saturday:"Samedi"},months:{january:"Janvier",february:"F\xE9vrier",march:"Mars",april:"Avril",may:"Mai",june:"Juin",july:"Juillet",august:"Ao\xFBt",september:"Septembre",october:"Octobre",november:"Novembre",december:"D\xE9cembre"}},views:{agenda:{title:"Agenda quotidien",today:"Aujourd'hui",overdue:"En retard",refreshCalendars:"Actualiser les calendriers",actions:{previousPeriod:"P\xE9riode pr\xE9c\xE9dente",nextPeriod:"P\xE9riode suivante",goToToday:"Aller \xE0 aujourd'hui",refreshCalendars:"Actualiser les abonnements calendrier"},loading:"Chargement de l'agenda...",dayToggle:"Basculer l'affichage du jour",overdueToggle:"Basculer la section en retard",expandAllDays:"D\xE9plier tous les jours",collapseAllDays:"Replier tous les jours",notices:{calendarNotReady:"Service de calendrier pas encore pr\xEAt",calendarRefreshed:"Abonnements calendrier actualis\xE9s",refreshFailed:"\xC9chec de l'actualisation"},empty:{noItemsScheduled:"Aucun \xE9l\xE9ment planifi\xE9",noItemsFound:"Aucun \xE9l\xE9ment trouv\xE9",helpText:"Cr\xE9ez des t\xE2ches avec des dates d'\xE9ch\xE9ance ou planifi\xE9es, ou ajoutez des notes pour les voir ici."},contextMenu:{showOverdueSection:"Afficher la section en retard",showNotes:"Afficher les notes",calendarSubscriptions:"Abonnements au calendrier"},periods:{thisWeek:"Cette semaine"},tipPrefix:"Astuce : "},taskList:{title:"T\xE2ches",expandAllGroups:"D\xE9plier tous les groupes",collapseAllGroups:"Replier tous les groupes",noTasksFound:"Aucune t\xE2che trouv\xE9e pour les filtres s\xE9lectionn\xE9s."},notes:{title:"Bloc-notes",refreshButton:"Actualiser",refreshingButton:"Actualisation...",notices:{indexingDisabled:"Indexation des notes d\xE9sactiv\xE9e"},empty:{noNotesFound:"Aucune note trouv\xE9e",helpText:"Aucune note trouv\xE9e pour la date s\xE9lectionn\xE9e. Essayez de s\xE9lectionner une date diff\xE9rente dans la vue Mini Calendrier ou cr\xE9ez quelques notes."},loading:"Chargement des notes...",refreshButtonAriaLabel:"Actualiser la liste des notes"},miniCalendar:{title:"Mini calendrier"},advancedCalendar:{title:"Calendrier",filters:{showFilters:"Afficher les filtres",hideFilters:"Masquer les filtres"},viewOptions:{calendarSubscriptions:"Abonnements aux calendriers",timeEntries:"Entr\xE9es de temps",timeblocks:"Blocs de temps",scheduledDates:"Dates planifi\xE9es",dueDates:"Dates d'\xE9ch\xE9ance",allDaySlot:"Cr\xE9neau toute la journ\xE9e",scheduledTasks:"T\xE2ches planifi\xE9es",recurringTasks:"T\xE2ches r\xE9currentes"},buttons:{refresh:"Actualiser",refreshHint:"Actualiser les abonnements aux calendriers"},notices:{icsServiceNotAvailable:"Service d'abonnement ICS non disponible",calendarRefreshedAll:"Tous les abonnements aux calendriers ont \xE9t\xE9 actualis\xE9s avec succ\xE8s",refreshFailed:"\xC9chec de l'actualisation de certains abonnements aux calendriers",timeblockSpecificTime:"Les blocs de temps doivent avoir des heures sp\xE9cifiques. Veuillez s\xE9lectionner une plage horaire dans la vue semaine ou jour.",timeblockMoved:'Bloc de temps "{title}" d\xE9plac\xE9 vers {date}',timeblockUpdated:'Horaire du bloc de temps "{title}" mis \xE0 jour',timeblockMoveFailed:"\xC9chec du d\xE9placement du bloc de temps : {message}",timeblockResized:'Dur\xE9e du bloc de temps "{title}" mise \xE0 jour',timeblockResizeFailed:"\xC9chec du redimensionnement du bloc de temps : {message}",taskScheduled:'T\xE2che "{title}" planifi\xE9e pour {date}',scheduleTaskFailed:"\xC9chec de la planification de la t\xE2che",endTimeAfterStart:"L'heure de fin doit \xEAtre apr\xE8s l'heure de d\xE9but",timeEntryNotFound:"Entr\xE9e de temps introuvable",timeEntryDeleted:"Entr\xE9e de temps supprim\xE9e",deleteTimeEntryFailed:"\xC9chec de la suppression de l'entr\xE9e de temps"},timeEntry:{estimatedSuffix:"estim\xE9",trackedSuffix:"suivi",recurringPrefix:"R\xE9current : ",completedPrefix:"Termin\xE9 : ",createdPrefix:"Cr\xE9\xE9 : ",modifiedPrefix:"Modifi\xE9 : ",duePrefix:"\xC9ch\xE9ance : ",scheduledPrefix:"Planifi\xE9 : "},contextMenus:{openTask:"Ouvrir la t\xE2che",deleteTimeEntry:"Supprimer l'entr\xE9e de temps",deleteTimeEntryTitle:"Supprimer l'entr\xE9e de temps",deleteTimeEntryConfirm:"\xCAtes-vous s\xFBr de vouloir supprimer cette entr\xE9e de temps{duration} ? Cette action ne peut pas \xEAtre annul\xE9e.",deleteButton:"Supprimer",cancelButton:"Annuler"}},basesCalendar:{title:"Calendrier Bases",today:"Aujourd'hui",buttonText:{month:"M",week:"S",day:"J",year:"A",list:"L",customDays:"{count}J",listDays:"{count}j Liste",refresh:"Actualiser"},hints:{refresh:"Actualiser les abonnements calendrier"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"Navigation par date",events:"\xC9v\xE9nements",layout:"Mise en page",propertyBasedEvents:"\xC9v\xE9nements bas\xE9s sur les propri\xE9t\xE9s",calendarSubscriptions:"Abonnements au calendrier",googleCalendars:"Google Calendars",microsoftCalendars:"Microsoft Calendars"},dateNavigation:{navigateToDate:"Naviguer vers la date",navigateToDatePlaceholder:"AAAA-MM-JJ (ex. 2025-01-15) - laisser vide pour utiliser la propri\xE9t\xE9",navigateToDateFromProperty:"Naviguer vers la date depuis la propri\xE9t\xE9",navigateToDateFromPropertyPlaceholder:"S\xE9lectionner une propri\xE9t\xE9 de date (facultatif)",propertyNavigationStrategy:"Strat\xE9gie de navigation par propri\xE9t\xE9",strategies:{first:"Premier r\xE9sultat",earliest:"Date la plus ancienne",latest:"Date la plus r\xE9cente"}},events:{showScheduledTasks:"Afficher les t\xE2ches planifi\xE9es",showDueTasks:"Afficher les t\xE2ches \xE9chues",showRecurringTasks:"Afficher les t\xE2ches r\xE9currentes",showTimeEntries:"Afficher les entr\xE9es de temps",showTimeblocks:"Afficher les blocs de temps",showPropertyBasedEvents:"Afficher les \xE9v\xE9nements bas\xE9s sur les propri\xE9t\xE9s"},layout:{calendarView:"Vue du calendrier",customDayCount:"Nombre de jours personnalis\xE9",listDayCount:"Nombre de jours de liste",dayStartTime:"Heure de d\xE9but de journ\xE9e",dayStartTimePlaceholder:"HH:mm:ss (ex. 08:00:00)",dayEndTime:"Heure de fin de journ\xE9e",dayEndTimePlaceholder:"HH:mm:ss (ex. 20:00:00)",timeSlotDuration:"Dur\xE9e de la plage horaire",timeSlotDurationPlaceholder:"HH:mm:ss (ex. 00:30:00)",weekStartsOn:"La semaine commence le",showWeekNumbers:"Afficher les num\xE9ros de semaine",showNowIndicator:"Afficher l'indicateur actuel",showWeekends:"Afficher les week-ends",showAllDaySlot:"Afficher la plage toute la journ\xE9e",showTodayHighlight:"Mettre en surbrillance aujourd'hui",showSelectionPreview:"Afficher l'aper\xE7u de s\xE9lection",timeFormat:"Format de l'heure",timeFormat12:"12 heures (AM/PM)",timeFormat24:"24 heures",initialScrollTime:"Heure de d\xE9filement initial",initialScrollTimePlaceholder:"HH:mm:ss (ex. 08:00:00)",minimumEventHeight:"Hauteur minimale de l'\xE9v\xE9nement (px)",slotEventOverlap:"Autoriser le chevauchement des \xE9v\xE9nements",enableSearch:"Activer la zone de recherche",eventMaxStack:"Max. \xE9v\xE9nements empil\xE9s (vue semaine/jour, 0 = illimit\xE9)",dayMaxEvents:"Max. \xE9v\xE9nements par jour (vue mois, 0 = automatique)",dayMaxEventRows:"Max. lignes d'\xE9v\xE9nements par jour (vue mois, 0 = illimit\xE9)"},propertyBasedEvents:{startDateProperty:"Propri\xE9t\xE9 de date de d\xE9but",startDatePropertyPlaceholder:"S\xE9lectionner une propri\xE9t\xE9 pour la date/heure de d\xE9but",endDateProperty:"Propri\xE9t\xE9 de date de fin (facultatif)",endDatePropertyPlaceholder:"S\xE9lectionner une propri\xE9t\xE9 pour la date/heure de fin",titleProperty:"Propri\xE9t\xE9 de titre (facultatif)",titlePropertyPlaceholder:"S\xE9lectionner une propri\xE9t\xE9 pour le titre de l'\xE9v\xE9nement"}},errors:{failedToInitialize:"\xC9chec de l'initialisation du calendrier"}},kanban:{title:"Tableau Kanban",newTask:"Nouvelle t\xE2che",addCard:"+ Ajouter une carte",noTasks:"Aucune t\xE2che",uncategorized:"Non cat\xE9goris\xE9",noProject:"Aucun projet",notices:{loadFailed:"\xC9chec du chargement du tableau Kanban",movedTask:'T\xE2che d\xE9plac\xE9e vers "{0}"'},errors:{loadingBoard:"Erreur lors du chargement du tableau.",noGroupBy:"La vue Kanban n\xE9cessite qu'une propri\xE9t\xE9 'Grouper par' soit configur\xE9e. Cliquez sur le bouton 'Trier' et s\xE9lectionnez une propri\xE9t\xE9 sous 'Grouper par'."},columnTitle:"Sans titre"},pomodoro:{title:"Sessions Pomodoro",status:{focus:"Concentration",ready:"Pr\xEAt \xE0 d\xE9marrer",paused:"En pause",working:"En travail",shortBreak:"Pause courte",longBreak:"Pause longue",breakPrompt:"Bravo ! C'est l'heure d'une pause {length}",breakLength:{short:"courte",long:"longue"},breakComplete:"Pause termin\xE9e ! Pr\xEAt pour le prochain pomodoro ?"},buttons:{start:"D\xE9marrer",pause:"Mettre en pause",stop:"Arr\xEAter",resume:"Reprendre",startShortBreak:"Commencer la pause courte",startLongBreak:"Commencer la pause longue",skipBreak:"Passer la pause",chooseTask:"Choisir une t\xE2che...",changeTask:"Changer de t\xE2che...",clearTask:"Effacer la t\xE2che",selectDifferentTask:"S\xE9lectionner une autre t\xE2che"},notices:{noTasks:"Aucune t\xE2che non archiv\xE9e retrouv\xE9e. Cr\xE9ez d'abord quelques t\xE2ches.",loadFailed:"Impossible de charger les t\xE2ches"},statsLabel:"termin\xE9es aujourd'hui"},pomodoroStats:{title:"Statistiques Pomodoro",heading:"Statistiques Pomodoro",refresh:"Actualiser",sections:{overview:"Aper\xE7u",today:"Aujourd'hui",week:"Cette semaine",allTime:"Historique",recent:"Sessions r\xE9centes"},overviewCards:{todayPomos:{label:"Pomodoros du jour",change:{more:"{count} de plus qu'hier",less:"{count} de moins qu'hier"}},totalPomos:{label:"Total des pomodoros"},todayFocus:{label:"Temps de focus du jour",change:{more:"{duration} de plus qu'hier",less:"{duration} de moins qu'hier"}},totalFocus:{label:"Dur\xE9e de focus cumul\xE9e"}},stats:{pomodoros:"Sessions",streak:"S\xE9rie",minutes:"Minutes totales",average:"Dur\xE9e moy.",completion:"Taux d'ach\xE8vement"},recents:{empty:"Aucune session enregistr\xE9e pour le moment",duration:"Dur\xE9e : {minutes} min",status:{completed:"Termin\xE9e",interrupted:"Interrompue"}}},stats:{title:"Statistiques",taskProjectStats:"Statistiques des t\xE2ches et projets",sections:{filters:"Filtres",overview:"Aper\xE7u",today:"Aujourd'hui",thisWeek:"Cette semaine",thisMonth:"Ce mois",projectBreakdown:"R\xE9partition par projet",dateRange:"Plage de dates"},filters:{minTime:"Temps min (minutes)",allTasks:"Toutes les t\xE2ches",activeOnly:"Actives uniquement",completedOnly:"Termin\xE9es uniquement"},refreshButton:"Actualiser",timeRanges:{allTime:"Tout le temps",last7Days:"7 derniers jours",last30Days:"30 derniers jours",last90Days:"90 derniers jours",customRange:"Plage personnalis\xE9e"},resetFiltersButton:"R\xE9initialiser les filtres",dateRangeFrom:"De",dateRangeTo:"\xC0",noProject:"Aucun projet",cards:{timeTrackedEstimated:"Temps suivi / estim\xE9",totalTasks:"Total des t\xE2ches",completionRate:"Taux de compl\xE9tion",activeProjects:"Projets actifs",avgTimePerTask:"Temps moyen par t\xE2che"},labels:{tasks:"T\xE2ches",completed:"Termin\xE9es",projects:"Projets"},noProjectData:"Aucune donn\xE9e de projet disponible",notAvailable:"N/D",noTasks:"Aucune t\xE2che trouv\xE9e",loading:"Chargement..."},releaseNotes:{title:"Nouveaut\xE9s de TaskNotes {version}",header:"Nouveaut\xE9s de TaskNotes {version}",viewAllLink:"Voir toutes les notes de version sur GitHub \u2192",starMessage:"Si vous trouvez TaskNotes utile, pensez \xE0 lui donner une \xE9toile sur GitHub"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"G\xE9n\xE9ral",taskProperties:"Propri\xE9t\xE9s des t\xE2ches",modalFields:"Champs du modal",defaults:"D\xE9fauts et mod\xE8les",appearance:"Apparence et interface",features:"Fonctionnalit\xE9s",integrations:"Int\xE9grations"},features:{inlineTasks:{header:"T\xE2ches dans les notes",description:"Param\xE8tres des liens de t\xE2ches et conversion des cases \xE0 cocher en t\xE2ches dans les notes."},overlays:{taskLinkToggle:{name:"Survol des liens de t\xE2ches",description:"Afficher des superpositions interactives lorsque la souris passe sur les liens de t\xE2ches"}},instantConvert:{toggle:{name:"Afficher le bouton de conversion \xE0 c\xF4t\xE9 des cases \xE0 cocher",description:"Afficher un bouton en ligne \xE0 c\xF4t\xE9 des cases \xE0 cocher Markdown qui les convertit en TaskNotes"},folder:{name:"Dossier pour les t\xE2ches converties",description:"Dossier o\xF9 les t\xE2ches converties depuis les cases \xE0 cocher seront cr\xE9\xE9es. Laisser vide pour utiliser le dossier de t\xE2ches par d\xE9faut. Utilisez {{currentNotePath}} pour le dossier de la note actuelle, ou {{currentNoteTitle}} pour un sous-dossier nomm\xE9 d'apr\xE8s la note."}},nlp:{header:"Traitement du langage naturel",description:"Analyse les dates, priorit\xE9s et autres propri\xE9t\xE9s depuis le texte saisi.",enable:{name:"Activer la saisie en langage naturel",description:"Analyser les dates, priorit\xE9s et contextes lors de la cr\xE9ation de t\xE2ches"},defaultToScheduled:{name:"Planifi\xE9 par d\xE9faut",description:"Si une date est d\xE9tect\xE9e sans contexte, la consid\xE9rer comme planifi\xE9e plut\xF4t qu'\xE9ch\xE9ance"},language:{name:"Langue du NLP",description:"Langue utilis\xE9e pour les mod\xE8les de traitement du langage naturel et l'analyse des dates"},statusTrigger:{name:"D\xE9clencheur des statuts sugg\xE9r\xE9s",description:"Texte qui d\xE9clenche les suggestions de statut (laisser vide pour d\xE9sactiver)"}},pomodoro:{header:"Minuteur Pomodoro",description:"Configure les intervalles travail/pause du minuteur Pomodoro.",workDuration:{name:"Dur\xE9e de travail",description:"Dur\xE9e des sessions de travail en minutes"},shortBreak:{name:"Dur\xE9e de la pause courte",description:"Dur\xE9e des pauses courtes en minutes"},longBreak:{name:"Dur\xE9e de la pause longue",description:"Dur\xE9e des pauses longues en minutes"},longBreakInterval:{name:"Intervalle des pauses longues",description:"Nombre de sessions de travail avant une pause longue"},autoStartBreaks:{name:"Lancer automatiquement les pauses",description:"D\xE9marrer automatiquement les pauses apr\xE8s chaque session de travail"},autoStartWork:{name:"Reprise automatique du travail",description:"D\xE9marrer automatiquement une session de travail apr\xE8s les pauses"},notifications:{name:"Notifications Pomodoro",description:"Afficher une notification lorsque les sessions Pomodoro se terminent"}},uiLanguage:{header:"Langue de l'interface",description:"Modifiez la langue des menus, notifications et vues de TaskNotes.",dropdown:{name:"Langue de l'interface",description:"S\xE9lectionnez la langue utilis\xE9e pour le texte de l'interface TaskNotes"}},pomodoroSound:{enabledName:"Son activ\xE9",enabledDesc:"Jouer un son \xE0 la fin des sessions Pomodoro",volumeName:"Volume du son",volumeDesc:"Volume des sons Pomodoro (0-100)"},dataStorage:{name:"Stockage des donn\xE9es Pomodoro",description:"Configurez o\xF9 les donn\xE9es de session pomodoro sont stock\xE9es et comment elles sont g\xE9r\xE9es.",dailyNotes:"Notes quotidiennes",pluginData:"Donn\xE9es du plugin",notices:{locationChanged:"Emplacement de stockage Pomodoro chang\xE9 vers {location}"}},notifications:{header:"Notifications",description:"Configurez les notifications de rappel de t\xE2ches et les alertes.",enableName:"Activer les notifications",enableDesc:"Activer les notifications de rappel de t\xE2ches",typeName:"Type de notification",typeDesc:"Type de notifications \xE0 afficher",systemLabel:"Notifications syst\xE8me",inAppLabel:"Notifications dans l'application"},overdue:{hideCompletedName:"Masquer les t\xE2ches termin\xE9es des retards",hideCompletedDesc:"Exclure les t\xE2ches termin\xE9es du calcul des t\xE2ches en retard"},indexing:{disableName:"D\xE9sactiver l'indexation des notes",disableDesc:"D\xE9sactiver l'indexation automatique du contenu des notes pour de meilleures performances"},suggestions:{debounceName:"D\xE9lai des suggestions",debounceDesc:"D\xE9lai en millisecondes avant d'afficher les suggestions"},timeTracking:{autoStopName:"Arr\xEAt automatique du suivi du temps",autoStopDesc:"Arr\xEAter automatiquement le suivi du temps lorsqu'une t\xE2che est marqu\xE9e comme termin\xE9e",stopNotificationName:"Notification d'arr\xEAt du suivi du temps",stopNotificationDesc:"Afficher une notification lorsque le suivi du temps est automatiquement arr\xEAt\xE9"},recurring:{maintainOffsetName:"Maintenir le d\xE9calage de date d'\xE9ch\xE9ance dans les t\xE2ches r\xE9currentes",maintainOffsetDesc:"Conserver le d\xE9calage entre la date d'\xE9ch\xE9ance et la date planifi\xE9e lors de l'ach\xE8vement des t\xE2ches r\xE9currentes"},timeblocking:{header:"Planification par blocs",description:"Configurez la fonctionnalit\xE9 de planification par blocs pour une programmation l\xE9g\xE8re dans les notes quotidiennes. Glissez sur les vues calendrier pour cr\xE9er des \xE9v\xE9nements - s\xE9lectionnez 'Timeblock' dans le menu contextuel.",enableName:"Activer la planification par blocs",enableDesc:"Activer la fonctionnalit\xE9 de planification par blocs pour une programmation l\xE9g\xE8re dans les notes quotidiennes. Lorsqu'activ\xE9, l'option 'Timeblock' appara\xEEt dans le menu contextuel de glissement du calendrier.",showBlocksName:"Afficher les blocs de temps",showBlocksDesc:"Afficher les blocs de temps des notes quotidiennes par d\xE9faut",usage:"Utilisation : Glissez sur le calendrier pour cr\xE9er des \xE9v\xE9nements. S\xE9lectionnez 'Timeblock' dans le menu contextuel (uniquement visible lorsque la planification par blocs est activ\xE9e). Glissez pour d\xE9placer les blocs de temps existants. Ajustez les bords pour modifier la dur\xE9e."},performance:{header:"Performance et comportement",description:"Configurez les options de performance et de comportement du plugin."},timeTrackingSection:{header:"Suivi du temps",description:"Configurez les comportements de suivi automatique du temps."},recurringSection:{header:"T\xE2ches r\xE9currentes",description:"Configurez le comportement pour la gestion des t\xE2ches r\xE9currentes."}},defaults:{header:{basicDefaults:"Param\xE8tres par d\xE9faut",dateDefaults:"Dates par d\xE9faut",defaultReminders:"Rappels par d\xE9faut",bodyTemplate:"Mod\xE8le de contenu",instantTaskConversion:"Conversion instantan\xE9e en t\xE2che"},description:{basicDefaults:"D\xE9finir les valeurs par d\xE9faut pour les nouvelles t\xE2ches afin d'acc\xE9l\xE9rer la cr\xE9ation.",dateDefaults:"D\xE9finir les dates d'\xE9ch\xE9ance et de planification par d\xE9faut pour les nouvelles t\xE2ches.",defaultReminders:"Configurer les rappels par d\xE9faut qui seront ajout\xE9s aux nouvelles t\xE2ches.",bodyTemplate:"Configurer un fichier mod\xE8le \xE0 utiliser pour le contenu des nouvelles t\xE2ches.",instantTaskConversion:"Configurer le comportement lors de la conversion instantan\xE9e de texte en t\xE2ches."},basicDefaults:{defaultStatus:{name:"Statut par d\xE9faut",description:"Statut par d\xE9faut pour les nouvelles t\xE2ches"},defaultPriority:{name:"Priorit\xE9 par d\xE9faut",description:"Priorit\xE9 par d\xE9faut pour les nouvelles t\xE2ches"},defaultContexts:{name:"Contextes par d\xE9faut",description:"Liste de contextes par d\xE9faut s\xE9par\xE9s par des virgules (ex. @maison, @travail)",placeholder:"@maison, @travail"},defaultTags:{name:"Tags par d\xE9faut",description:"Liste de tags par d\xE9faut s\xE9par\xE9s par des virgules (sans #)",placeholder:"important, urgent"},defaultProjects:{name:"Projets par d\xE9faut",description:"Liens de projets par d\xE9faut pour les nouvelles t\xE2ches",selectButton:"S\xE9lectionner des projets",selectTooltip:"Choisir les notes de projet \xE0 lier par d\xE9faut",removeTooltip:"Retirer {name} des projets par d\xE9faut"},useParentNoteAsProject:{name:"Utiliser la note parent comme projet lors de la conversion instantan\xE9e",description:"Lier automatiquement la note parent comme projet lors de la conversion instantan\xE9e de t\xE2che"},defaultTimeEstimate:{name:"Estimation de temps par d\xE9faut",description:"Estimation de temps par d\xE9faut en minutes (0 = aucune par d\xE9faut)",placeholder:"60"},defaultRecurrence:{name:"R\xE9currence par d\xE9faut",description:"Mod\xE8le de r\xE9currence par d\xE9faut pour les nouvelles t\xE2ches"}},dateDefaults:{defaultDueDate:{name:"Date d'\xE9ch\xE9ance par d\xE9faut",description:"Date d'\xE9ch\xE9ance par d\xE9faut pour les nouvelles t\xE2ches"},defaultScheduledDate:{name:"Date planifi\xE9e par d\xE9faut",description:"Date planifi\xE9e par d\xE9faut pour les nouvelles t\xE2ches"}},reminders:{addReminder:{name:"Ajouter un rappel par d\xE9faut",description:"Cr\xE9er un nouveau rappel par d\xE9faut qui sera ajout\xE9 \xE0 toutes les nouvelles t\xE2ches",buttonText:"Ajouter un rappel"},emptyState:"Aucun rappel par d\xE9faut configur\xE9. Ajoutez un rappel pour \xEAtre automatiquement notifi\xE9 des nouvelles t\xE2ches.",emptyStateButton:"Ajouter un rappel",reminderDescription:"Description du rappel",unnamedReminder:"Rappel sans nom",deleteTooltip:"Supprimer le rappel",fields:{description:"Description :",type:"Type :",offset:"D\xE9calage :",unit:"Unit\xE9 :",direction:"Direction :",relatedTo:"Relatif \xE0 :",date:"Date :",time:"Heure :"},types:{relative:"Relatif (avant/apr\xE8s les dates de la t\xE2che)",absolute:"Absolu (date/heure sp\xE9cifique)"},units:{minutes:"minutes",hours:"heures",days:"jours"},directions:{before:"avant",after:"apr\xE8s"},relatedTo:{due:"date d'\xE9ch\xE9ance",scheduled:"date planifi\xE9e"}},bodyTemplate:{useBodyTemplate:{name:"Utiliser un mod\xE8le de contenu",description:"Utiliser un fichier mod\xE8le pour le contenu du corps de la t\xE2che"},bodyTemplateFile:{name:"Fichier mod\xE8le de contenu",description:"Chemin vers le fichier mod\xE8le pour le contenu du corps de la t\xE2che. Prend en charge les variables comme {{title}}, {{date}}, {{time}}, {{priority}}, {{status}}, etc.",placeholder:"Templates/Mod\xE8le de t\xE2che.md",ariaLabel:"Chemin vers le fichier mod\xE8le de contenu"},variablesHeader:"Variables du mod\xE8le :",variables:{title:"{{title}} - Titre de la t\xE2che",details:"{{details}} - D\xE9tails fournis par l'utilisateur depuis la fen\xEAtre",date:"{{date}} - Date actuelle (AAAA-MM-JJ)",time:"{{time}} - Heure actuelle (HH:MM)",priority:"{{priority}} - Priorit\xE9 de la t\xE2che",status:"{{status}} - Statut de la t\xE2che",contexts:"{{contexts}} - Contextes de la t\xE2che",tags:"{{tags}} - Tags de la t\xE2che",projects:"{{projects}} - Projets de la t\xE2che"}},instantConversion:{useDefaultsOnInstantConvert:{name:"Utiliser les param\xE8tres par d\xE9faut lors de la conversion instantan\xE9e",description:"Appliquer les param\xE8tres de t\xE2che par d\xE9faut lors de la conversion instantan\xE9e de texte en t\xE2ches"}},options:{noDefault:"Aucune par d\xE9faut",none:"Aucune",today:"Aujourd'hui",tomorrow:"Demain",nextWeek:"La semaine prochaine",daily:"Quotidien",weekly:"Hebdomadaire",monthly:"Mensuel",yearly:"Annuel"}},general:{taskStorage:{header:"Stockage des t\xE2ches",description:"Configurez o\xF9 les t\xE2ches sont stock\xE9es et comment elles sont identifi\xE9es.",defaultFolder:{name:"Dossier par d\xE9faut des t\xE2ches",description:"Emplacement par d\xE9faut pour les nouvelles t\xE2ches"},moveArchived:{name:"D\xE9placer les t\xE2ches archiv\xE9es vers un dossier",description:"D\xE9placer automatiquement les t\xE2ches archiv\xE9es vers un dossier d'archive"},archiveFolder:{name:"Dossier d'archive",description:"Dossier vers lequel d\xE9placer les t\xE2ches lorsqu'elles sont archiv\xE9es. Supporte les variables de mod\xE8le comme {{year}}, {{month}}, {{priority}}, etc."}},taskIdentification:{header:"Identification des t\xE2ches",description:"Choisissez comment TaskNotes identifie les notes comme des t\xE2ches.",identifyBy:{name:"Identifier les t\xE2ches par",description:"Choisissez d'identifier les t\xE2ches par tag ou par une propri\xE9t\xE9 frontmatter",options:{tag:"\xC9tiquette",property:"Propri\xE9t\xE9"}},taskTag:{name:"Tag de t\xE2che",description:"Tag qui identifie les notes comme des t\xE2ches (sans #)"},hideIdentifyingTags:{name:"Masquer les tags d'identification dans les cartes de t\xE2ches",description:"Lorsque activ\xE9, les tags correspondant au tag d'identification de t\xE2che (y compris les correspondances hi\xE9rarchiques comme 'task/project') seront masqu\xE9s dans l'affichage des cartes de t\xE2ches"},taskProperty:{name:"Nom de la propri\xE9t\xE9 de t\xE2che",description:'Le nom de la propri\xE9t\xE9 frontmatter (ex. "category")'},taskPropertyValue:{name:"Valeur de la propri\xE9t\xE9 de t\xE2che",description:'La valeur qui identifie une note comme une t\xE2che (ex. "task")'}},folderManagement:{header:"Gestion des dossiers",excludedFolders:{name:"Dossiers exclus",description:"Liste s\xE9par\xE9e par des virgules des dossiers \xE0 exclure de l'indexation des t\xE2ches et des suggestions de projets"}},frontmatter:{header:"Frontmatter",description:"Configurez la fa\xE7on dont les liens sont format\xE9s dans les propri\xE9t\xE9s frontmatter.",useMarkdownLinks:{name:"Utiliser des liens markdown dans le frontmatter",description:`G\xE9n\xE9rer des liens markdown ([text](path)) au lieu de wikilinks ([[link]]) dans les propri\xE9t\xE9s frontmatter.
|
||
|
||
\u26A0\uFE0F N\xE9cessite le plugin 'obsidian-frontmatter-markdown-links' pour fonctionner correctement.`}},taskInteraction:{header:"Interaction avec les t\xE2ches",description:"Configurez le comportement des clics sur les t\xE2ches.",singleClick:{name:"Action du clic simple",description:"Action effectu\xE9e lors d'un clic simple sur une carte de t\xE2che"},doubleClick:{name:"Action du double-clic",description:"Action effectu\xE9e lors d'un double-clic sur une carte de t\xE2che"},actions:{edit:"Modifier la t\xE2che",openNote:"Ouvrir la note",none:"Aucune action"}},releaseNotes:{header:"Notes de version",description:"Version actuelle : {version}",showOnUpdate:{name:"Afficher les notes de version apr\xE8s la mise \xE0 jour",description:"Ouvrir automatiquement les notes de version lorsque TaskNotes est mis \xE0 jour vers une nouvelle version"},viewButton:{name:"Voir les notes de version",description:"D\xE9couvrez les nouveaut\xE9s de la derni\xE8re version de TaskNotes",buttonText:"Voir les notes de version"}}},taskProperties:{sections:{coreProperties:"Propri\xE9t\xE9s principales",corePropertiesDesc:"Le statut et la priorit\xE9 sont les propri\xE9t\xE9s principales qui d\xE9finissent l'\xE9tat et l'importance d'une t\xE2che.",dateProperties:"Propri\xE9t\xE9s de date",datePropertiesDesc:"Configurez les dates d'\xE9ch\xE9ance et de planification des t\xE2ches.",organizationProperties:"Propri\xE9t\xE9s d'organisation",organizationPropertiesDesc:"Organisez les t\xE2ches avec des contextes, projets et \xE9tiquettes.",taskDetails:"D\xE9tails de la t\xE2che",taskDetailsDesc:"D\xE9tails suppl\xE9mentaires comme les estimations de temps, la r\xE9currence et les rappels.",metadataProperties:"Propri\xE9t\xE9s de m\xE9tadonn\xE9es",metadataPropertiesDesc:"Propri\xE9t\xE9s g\xE9r\xE9es par le syst\xE8me pour suivre l'historique des t\xE2ches.",featureProperties:"Propri\xE9t\xE9s de fonctionnalit\xE9s",featurePropertiesDesc:"Propri\xE9t\xE9s utilis\xE9es par des fonctionnalit\xE9s TaskNotes sp\xE9cifiques comme le minuteur Pomodoro et la synchronisation du calendrier."},propertyCard:{propertyKey:"Cl\xE9 de propri\xE9t\xE9 :",default:"Par d\xE9faut :",nlpTrigger:"D\xE9clencheur NLP :",triggerChar:"Caract\xE8re d\xE9clencheur :",triggerEmpty:"Le d\xE9clencheur ne peut pas \xEAtre vide",triggerTooLong:"Le d\xE9clencheur est trop long (max 10 caract\xE8res)"},properties:{status:{name:"Statut",description:"Suit l'\xE9tat actuel d'une t\xE2che (ex. \xE0 faire, en cours, termin\xE9). Le statut d\xE9termine si une t\xE2che appara\xEEt comme termin\xE9e et peut d\xE9clencher l'archivage automatique."},priority:{name:"Priorit\xE9",description:"Indique l'importance de la t\xE2che. Utilis\xE9 pour le tri et le filtrage. Les valeurs sont tri\xE9es alphab\xE9tiquement dans les vues Bases, utilisez donc des pr\xE9fixes comme 1-, 2- pour contr\xF4ler l'ordre."},due:{name:"Date d'\xE9ch\xE9ance",description:"La date limite \xE0 laquelle une t\xE2che doit \xEAtre termin\xE9e. Les t\xE2ches d\xE9passant leur date d'\xE9ch\xE9ance apparaissent en retard. Stock\xE9 comme date dans le frontmatter."},scheduled:{name:"Date planifi\xE9e",description:"Quand vous pr\xE9voyez de travailler sur une t\xE2che. Contrairement \xE0 la date d'\xE9ch\xE9ance, cela repr\xE9sente votre heure de d\xE9but pr\xE9vue. Les t\xE2ches apparaissent dans le calendrier \xE0 leur date/heure planifi\xE9e."},contexts:{name:"Contextes",description:"Lieux ou conditions o\xF9 une t\xE2che peut \xEAtre effectu\xE9e (ex. @maison, @bureau, @t\xE9l\xE9phone). Utile pour filtrer les t\xE2ches selon votre situation actuelle. Stock\xE9 comme liste."},projects:{name:"Projets",description:"Liens vers les notes de projet auxquelles cette t\xE2che appartient. Stock\xE9 comme wikilinks (ex. [[Nom du projet]]). Les t\xE2ches peuvent appartenir \xE0 plusieurs projets."},tags:{name:"\xC9tiquettes",description:"\xC9tiquettes Obsidian natives pour cat\xE9goriser les t\xE2ches. Stock\xE9es dans la propri\xE9t\xE9 tags du frontmatter et fonctionnent avec les fonctionnalit\xE9s d'\xE9tiquettes d'Obsidian."},timeEstimate:{name:"Estimation de temps",description:"Minutes estim\xE9es pour terminer la t\xE2che. Utilis\xE9 pour la planification du temps et la gestion de la charge de travail. Affich\xE9 sur les cartes de t\xE2ches et les \xE9v\xE9nements du calendrier."},recurrence:{name:"R\xE9currence",description:"Mod\xE8le pour les t\xE2ches r\xE9p\xE9titives (quotidien, hebdomadaire, mensuel, annuel ou RRULE personnalis\xE9e). Quand une t\xE2che r\xE9currente est termin\xE9e, sa date planifi\xE9e est automatiquement mise \xE0 jour \xE0 la prochaine occurrence."},recurrenceAnchor:{name:"Ancre de r\xE9currence",description:"Contr\xF4le le calcul de la prochaine occurrence : 'scheduled' utilise la date planifi\xE9e, 'completion' utilise la date de compl\xE9tion r\xE9elle."},reminders:{name:"Rappels",description:"Notifications d\xE9clench\xE9es avant les dates d'\xE9ch\xE9ance ou planifi\xE9es. Stock\xE9 comme liste d'objets de rappel avec le timing et une description optionnelle."},title:{name:"Titre",description:"Le nom de la t\xE2che. Peut \xEAtre stock\xE9 dans le frontmatter ou dans le nom du fichier (quand 'Stocker le titre dans le nom du fichier' est activ\xE9)."},dateCreated:{name:"Date de cr\xE9ation",description:"Horodatage de la cr\xE9ation de la t\xE2che. D\xE9fini automatiquement et utilis\xE9 pour le tri par ordre de cr\xE9ation."},dateModified:{name:"Date de modification",description:"Horodatage de la derni\xE8re modification de la t\xE2che. Mis \xE0 jour automatiquement quand une propri\xE9t\xE9 de t\xE2che change."},completedDate:{name:"Date de compl\xE9tion",description:"Horodatage quand la t\xE2che a \xE9t\xE9 marqu\xE9e comme termin\xE9e. D\xE9fini automatiquement quand le statut passe \xE0 un \xE9tat termin\xE9."},archiveTag:{name:"\xC9tiquette d'archive",description:"\xC9tiquette ajout\xE9e aux t\xE2ches lors de l'archivage. Utilis\xE9e pour identifier les t\xE2ches archiv\xE9es et peut d\xE9clencher le d\xE9placement des fichiers vers le dossier d'archive."},timeEntries:{name:"Entr\xE9es de temps",description:"Enregistrements des sessions de suivi du temps pour cette t\xE2che. Chaque entr\xE9e stocke les horodatages de d\xE9but et de fin. Utilis\xE9 pour calculer le temps total pass\xE9."},completeInstances:{name:"Instances termin\xE9es",description:"Historique de compl\xE9tion pour les t\xE2ches r\xE9currentes. Stocke les dates auxquelles chaque instance a \xE9t\xE9 termin\xE9e pour \xE9viter les doublons."},skippedInstances:{name:"Instances ignor\xE9es",description:"Occurrences ignor\xE9es pour les t\xE2ches r\xE9currentes. Stocke les dates des instances qui ont \xE9t\xE9 ignor\xE9es plut\xF4t que termin\xE9es."},blockedBy:{name:"Bloqu\xE9e par",description:"Liens vers les t\xE2ches qui doivent \xEAtre termin\xE9es avant celle-ci. Stock\xE9 comme wikilinks. Les t\xE2ches bloqu\xE9es affichent un indicateur visuel."},pomodoros:{name:"Pomodoros",description:"Nombre de sessions Pomodoro termin\xE9es. Quand le stockage de donn\xE9es est configur\xE9 sur 'Notes quotidiennes', ceci est \xE9crit dans les notes quotidiennes au lieu des fichiers de t\xE2ches."},icsEventId:{name:"ID d'\xE9v\xE9nement ICS",description:"Identifiant unique liant une note \xE0 un \xE9v\xE9nement de calendrier ICS. Ajout\xE9 automatiquement lors de la cr\xE9ation de notes \xE0 partir d'\xE9v\xE9nements de calendrier."},icsEventTag:{name:"\xC9tiquette d'\xE9v\xE9nement ICS",description:"\xC9tiquette identifiant les notes cr\xE9\xE9es \xE0 partir d'\xE9v\xE9nements de calendrier ICS. Utilis\xE9e pour distinguer les notes g\xE9n\xE9r\xE9es par le calendrier des t\xE2ches normales."}},statusCard:{valuesHeader:"Valeurs de statut"},priorityCard:{valuesHeader:"Valeurs de priorit\xE9"},projectsCard:{defaultProjects:"Projets par d\xE9faut :",useParentNote:"Utiliser la note parente comme projet :",noDefaultProjects:"Aucun projet par d\xE9faut s\xE9lectionn\xE9",autosuggestFilters:"Filtres d'auto-suggestion",customizeDisplay:"Personnaliser l'affichage",filtersOn:"Filtres actifs"},titleCard:{storeTitleInFilename:"Stocker le titre dans le nom du fichier :",storedInFilename:"Stock\xE9 dans le nom du fichier",filenameUpdatesWithTitle:"Le nom du fichier sera automatiquement mis \xE0 jour quand le titre de la t\xE2che change.",filenameFormat:"Format du nom de fichier :",customTemplate:"Mod\xE8le personnalis\xE9 :"},tagsCard:{nativeObsidianTags:"Utilise les \xE9tiquettes Obsidian natives"},remindersCard:{defaultReminders:"Rappels par d\xE9faut"},taskStatuses:{header:"Statuts des t\xE2ches",description:"Personnalisez les options de statut disponibles pour vos t\xE2ches. Ces statuts contr\xF4lent le cycle de vie des t\xE2ches et d\xE9terminent quand les t\xE2ches sont consid\xE9r\xE9es comme termin\xE9es.",howTheyWork:{title:"Comment fonctionnent les statuts :",value:`Valeur : L'identifiant interne stock\xE9 dans vos fichiers de t\xE2ches (ex. "in-progress")`,label:`Label : Le nom affich\xE9 dans l'interface (ex. "En cours")`,color:"Couleur : Couleur d'indicateur visuel pour les points et badges de statut",icon:`Ic\xF4ne : Nom d'ic\xF4ne Lucide optionnel \xE0 afficher \xE0 la place du point color\xE9 (ex. "check", "circle", "clock"). Parcourir les ic\xF4nes sur lucide.dev`,completed:"Termin\xE9 : Quand coch\xE9, les t\xE2ches avec ce statut sont consid\xE9r\xE9es comme finies et peuvent \xEAtre filtr\xE9es diff\xE9remment",autoArchive:"Archivage auto : Quand activ\xE9, les t\xE2ches seront automatiquement archiv\xE9es apr\xE8s le d\xE9lai sp\xE9cifi\xE9 (1-1440 minutes)",orderNote:"L'ordre ci-dessous d\xE9termine la s\xE9quence lors du passage d'un statut \xE0 l'autre en cliquant sur les badges de statut des t\xE2ches."},addNew:{name:"Ajouter un nouveau statut",description:"Cr\xE9er une nouvelle option de statut pour vos t\xE2ches",buttonText:"Ajouter un statut"},validationNote:'Note : Vous devez avoir au moins 2 statuts, et au moins un statut doit \xEAtre marqu\xE9 comme "Termin\xE9".',emptyState:"Aucun statut personnalis\xE9 configur\xE9. Ajoutez un statut pour commencer.",emptyStateButton:"Ajouter un statut",fields:{value:"Valeur :",label:"Label :",color:"Couleur :",icon:"Ic\xF4ne :",completed:"Termin\xE9 :",autoArchive:"Archivage auto :",delayMinutes:"D\xE9lai (minutes) :"},placeholders:{value:"en-cours",label:"En cours",icon:"check, circle, clock"},badges:{completed:"Termin\xE9"},deleteConfirm:'Voulez-vous vraiment supprimer le statut "{label}" ?'},taskPriorities:{header:"Priorit\xE9s des t\xE2ches",description:"Personnalisez les niveaux de priorit\xE9 disponibles pour vos t\xE2ches. Dans v4.0+, les priorit\xE9s sont tri\xE9es alphab\xE9tiquement par leur valeur dans les vues Bases.",howTheyWork:{title:"Comment fonctionnent les priorit\xE9s :",value:`Valeur : L'identifiant interne stock\xE9 dans vos fichiers de t\xE2ches. Utilisez des pr\xE9fixes comme "1-urgent", "2-high" pour contr\xF4ler l'ordre de tri dans les vues Bases.`,label:`Label d'affichage : Le nom affich\xE9 dans l'interface (ex. "Priorit\xE9 \xE9lev\xE9e")`,color:"Couleur : Couleur d'indicateur visuel pour les points et badges de priorit\xE9",weight:"Poids : Valeur num\xE9rique pour le tri (les poids plus \xE9lev\xE9s apparaissent en premier dans les listes)",weightNote:"Les t\xE2ches sont automatiquement tri\xE9es par poids de priorit\xE9 en ordre d\xE9croissant (le poids le plus \xE9lev\xE9 en premier). Les poids peuvent \xEAtre n'importe quel nombre positif."},addNew:{name:"Ajouter une nouvelle priorit\xE9",description:"Cr\xE9er un nouveau niveau de priorit\xE9 pour vos t\xE2ches",buttonText:"Ajouter une priorit\xE9"},validationNote:"Note : Vous devez avoir au moins 1 priorit\xE9. Les priorit\xE9s sont tri\xE9es alphab\xE9tiquement par valeur dans les vues Bases.",emptyState:"Aucune priorit\xE9 personnalis\xE9e configur\xE9e. Ajoutez une priorit\xE9 pour commencer.",emptyStateButton:"Ajouter une priorit\xE9",fields:{value:"Valeur :",label:"Label :",color:"Couleur :",weight:"Poids :"},placeholders:{value:"elevee",label:"Priorit\xE9 \xE9lev\xE9e"},weightLabel:"Poids : {weight}",deleteConfirm:"Vous devez avoir au moins une priorit\xE9",deleteTooltip:"Supprimer la priorit\xE9"},fieldMapping:{header:"Mappage des champs",warning:"\u26A0\uFE0F Attention : TaskNotes lira ET \xE9crira en utilisant ces noms de propri\xE9t\xE9s. Les changer apr\xE8s avoir cr\xE9\xE9 des t\xE2ches peut causer des incoh\xE9rences.",description:"Configurez quelles propri\xE9t\xE9s frontmatter TaskNotes doit utiliser pour chaque champ.",resetButton:{name:"R\xE9initialiser les mappages de champs",description:"R\xE9initialiser tous les mappages de champs aux valeurs par d\xE9faut",buttonText:"R\xE9initialiser aux d\xE9fauts"},notices:{resetSuccess:"Mappages de champs r\xE9initialis\xE9s aux d\xE9fauts",resetFailure:"\xC9chec de la r\xE9initialisation des mappages de champs",updateFailure:"\xC9chec de la mise \xE0 jour du mappage de champ pour {label}. Veuillez r\xE9essayer."},table:{fieldHeader:"Champ TaskNotes",propertyHeader:"Nom de votre propri\xE9t\xE9"},fields:{title:"Titre",status:"Statut",priority:"Priorit\xE9",due:"Date d'\xE9ch\xE9ance",scheduled:"Date planifi\xE9e",contexts:"Contextes",projects:"Projets",timeEstimate:"Estimation de temps",recurrence:"R\xE9currence",dateCreated:"Date de cr\xE9ation",completedDate:"Date d'ach\xE8vement",dateModified:"Date de modification",archiveTag:"Tag d'archive",timeEntries:"Entr\xE9es de temps",completeInstances:"Instances compl\xE8tes",blockedBy:"Bloqu\xE9 par",pomodoros:"Sessions Pomodoro",icsEventId:"ID d'\xE9v\xE9nement ICS",icsEventTag:"Tag d'\xE9v\xE9nement ICS",reminders:"Rappels"}},customUserFields:{header:"Champs utilisateur personnalis\xE9s",description:"D\xE9finissez des propri\xE9t\xE9s frontmatter personnalis\xE9es pour qu'elles apparaissent comme options de filtrage conscientes du type dans toutes les vues. Chaque ligne : Nom d'affichage, Nom de propri\xE9t\xE9, Type.",addNew:{name:"Ajouter un nouveau champ utilisateur",description:"Cr\xE9er un nouveau champ personnalis\xE9 qui appara\xEEtra dans les filtres et vues",buttonText:"Ajouter un champ utilisateur"},emptyState:"Aucun champ utilisateur personnalis\xE9 configur\xE9. Ajoutez un champ pour cr\xE9er des propri\xE9t\xE9s personnalis\xE9es pour vos t\xE2ches.",emptyStateButton:"Ajouter un champ utilisateur",fields:{displayName:"Nom d'affichage :",propertyKey:"Cl\xE9 de propri\xE9t\xE9 :",type:"Type :",defaultValue:"Valeur par d\xE9faut :"},placeholders:{displayName:"Nom d'affichage",propertyKey:"nom-propriete",defaultValue:"Valeur par d\xE9faut",defaultValueList:"Valeurs par d\xE9faut (s\xE9par\xE9es par des virgules)"},types:{text:"Texte",number:"Nombre",boolean:"Bool\xE9en",date:"Date (AAAA-MM-JJ)",list:"Liste"},defaultNames:{unnamedField:"Champ sans nom",noKey:"aucune-cle"},deleteTooltip:"Supprimer le champ",autosuggestFilters:{header:"Filtres d'auto-suggestion (Avanc\xE9)",description:"Filtrer quels fichiers apparaissent dans les suggestions d'auto-compl\xE9tion pour ce champ"}}},appearance:{taskCards:{header:"Cartes de t\xE2ches",description:"Configurez l'affichage des cartes de t\xE2ches dans toutes les vues.",defaultVisibleProperties:{name:"Propri\xE9t\xE9s visibles par d\xE9faut",description:"Choisissez quelles propri\xE9t\xE9s apparaissent sur les cartes de t\xE2ches par d\xE9faut."},propertyGroups:{coreProperties:"PROPRI\xC9T\xC9S PRINCIPALES",organization:"ORGANISATION",customProperties:"PROPRI\xC9T\xC9S PERSONNALIS\xC9ES"},properties:{status:"Point de statut",priority:"Point de priorit\xE9",due:"Date d'\xE9ch\xE9ance",scheduled:"Date planifi\xE9e",timeEstimate:"Estimation de temps",totalTrackedTime:"Temps suivi total",recurrence:"R\xE9currence",completedDate:"Date d'ach\xE8vement",createdDate:"Date de cr\xE9ation",modifiedDate:"Date de modification",projects:"Projets",contexts:"Contextes",tags:"\xC9tiquettes",blocked:"Bloqu\xE9",blocking:"Bloquant"}},taskFilenames:{header:"Noms de fichiers des t\xE2ches",description:"Configurez comment les fichiers de t\xE2ches sont nomm\xE9s lors de leur cr\xE9ation.",storeTitleInFilename:{name:"Stocker le titre dans le nom de fichier",description:"Utiliser le titre de la t\xE2che comme nom de fichier. Le nom de fichier sera mis \xE0 jour quand le titre de la t\xE2che changera (Recommand\xE9)."},filenameFormat:{name:"Format du nom de fichier",description:"Comment les noms de fichiers de t\xE2ches doivent \xEAtre g\xE9n\xE9r\xE9s",options:{title:"Titre de la t\xE2che (Non-mis \xE0 jour)",zettel:"Format Zettelkasten (AAMMJJ + secondes base36 depuis minuit)",timestamp:"Horodatage complet (AAAA-MM-JJ-HHMMSS)",custom:"Mod\xE8le personnalis\xE9"}},customTemplate:{name:"Mod\xE8le de nom de fichier personnalis\xE9",description:"Mod\xE8le pour les noms de fichiers personnalis\xE9s. Variables disponibles : {title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"Note : {dueDate} et {scheduledDate} sont au format AAAA-MM-JJ et seront vides s'ils ne sont pas d\xE9finis."}},displayFormatting:{header:"Formatage d'affichage",description:"Configurez comment les dates, heures et autres donn\xE9es sont affich\xE9es dans le plugin.",timeFormat:{name:"Format d'heure",description:"Afficher l'heure au format 12 heures ou 24 heures dans tout le plugin",options:{twelveHour:"12 heures (AM/PM)",twentyFourHour:"24 heures"}}},calendarView:{header:"Vue calendrier",description:"Personnalisez l'apparence et le comportement de la vue calendrier.",defaultView:{name:"Vue par d\xE9faut",description:"La vue calendrier affich\xE9e \xE0 l'ouverture de l'onglet calendrier",options:{monthGrid:"Grille mensuelle",weekTimeline:"Chronologie hebdomadaire",dayTimeline:"Chronologie quotidienne",yearView:"Vue annuelle",customMultiDay:"Multi-jours personnalis\xE9"}},customDayCount:{name:"Nombre de jours de la vue personnalis\xE9e",description:"Nombre de jours \xE0 afficher dans la vue multi-jours personnalis\xE9e",placeholder:"3"},firstDayOfWeek:{name:"Premier jour de la semaine",description:"Quel jour doit \xEAtre la premi\xE8re colonne dans les vues hebdomadaires"},showWeekends:{name:"Afficher les week-ends",description:"Afficher les week-ends dans les vues calendrier"},showWeekNumbers:{name:"Afficher les num\xE9ros de semaine",description:"Afficher les num\xE9ros de semaine dans les vues calendrier"},showTodayHighlight:{name:"Surligner aujourd'hui",description:"Surligner le jour actuel dans les vues calendrier"},showCurrentTimeIndicator:{name:"Afficher l'indicateur de l'heure actuelle",description:"Afficher une ligne montrant l'heure actuelle dans les vues chronologiques"},selectionMirror:{name:"Miroir de s\xE9lection",description:"Afficher un aper\xE7u visuel lors du glissement pour s\xE9lectionner des plages horaires"},calendarLocale:{name:"Locale du calendrier",description:`Locale du calendrier pour le formatage des dates et le syst\xE8me calendaire (ex. "en", "fa" pour le Farsi/Persan, "de" pour l'Allemand). Laisser vide pour d\xE9tecter automatiquement depuis le navigateur.`,placeholder:"D\xE9tection automatique",invalidLocale:"Locale invalide. Veuillez entrer un code de langue valide (ex. 'fr', 'en', 'de-DE')."}},defaultEventVisibility:{header:"Visibilit\xE9 des \xE9v\xE9nements par d\xE9faut",description:"Configurez quels types d'\xE9v\xE9nements sont visibles par d\xE9faut \xE0 l'ouverture du Calendrier. Les utilisateurs peuvent toujours activer/d\xE9sactiver ces options dans la vue calendrier.",showScheduledTasks:{name:"Afficher les t\xE2ches planifi\xE9es",description:"Afficher les t\xE2ches avec dates planifi\xE9es par d\xE9faut"},showDueDates:{name:"Afficher les dates d'\xE9ch\xE9ance",description:"Afficher les dates d'\xE9ch\xE9ance des t\xE2ches par d\xE9faut"},showDueWhenScheduled:{name:"Afficher les \xE9ch\xE9ances quand planifi\xE9es",description:"Afficher les dates d'\xE9ch\xE9ance m\xEAme pour les t\xE2ches qui ont d\xE9j\xE0 des dates planifi\xE9es"},showTimeEntries:{name:"Afficher les entr\xE9es de temps",description:"Afficher les entr\xE9es de suivi du temps termin\xE9es par d\xE9faut"},showRecurringTasks:{name:"Afficher les t\xE2ches r\xE9currentes",description:"Afficher les instances de t\xE2ches r\xE9currentes par d\xE9faut"},showICSEvents:{name:"Afficher les \xE9v\xE9nements ICS",description:"Afficher les \xE9v\xE9nements des abonnements ICS par d\xE9faut"}},timeSettings:{header:"Param\xE8tres de temps",description:"Configurez les param\xE8tres d'affichage li\xE9s au temps pour les vues chronologiques.",timeSlotDuration:{name:"Dur\xE9e des cr\xE9neaux horaires",description:"Dur\xE9e de chaque cr\xE9neau horaire dans les vues chronologiques",options:{fifteenMinutes:"15 minutes",thirtyMinutes:"30 minutes",sixtyMinutes:"60 minutes"}},startTime:{name:"Heure de d\xE9but",description:"Heure la plus t\xF4t affich\xE9e dans les vues chronologiques (format HH:MM)",placeholder:"06:00"},endTime:{name:"Heure de fin",description:"Heure la plus tardive affich\xE9e dans les vues chronologiques (format HH:MM)",placeholder:"22:00"},initialScrollTime:{name:"Heure de d\xE9filement initial",description:"Heure vers laquelle d\xE9filer \xE0 l'ouverture des vues chronologiques (format HH:MM)",placeholder:"09:00"},eventMinHeight:{name:"Hauteur minimale d'\xE9v\xE9nement",description:"Hauteur minimale pour les \xE9v\xE9nements dans les vues chronologiques (pixels)",placeholder:"15"}},uiElements:{header:"\xC9l\xE9ments d'interface",description:"Configurez l'affichage de divers \xE9l\xE9ments d'interface.",showTrackedTasksInStatusBar:{name:"Afficher les t\xE2ches suivies dans la barre de statut",description:"Afficher les t\xE2ches actuellement suivies dans la barre de statut d'Obsidian"},showProjectSubtasksWidget:{name:"Afficher le widget des sous-t\xE2ches de projet",description:"Afficher un widget montrant les sous-t\xE2ches pour la note de projet actuelle"},projectSubtasksPosition:{name:"Position des sous-t\xE2ches de projet",description:"O\xF9 positionner le widget des sous-t\xE2ches de projet",options:{top:"Haut de la note",bottom:"Bas de la note"}},showRelationshipsWidget:{name:"Afficher le widget de relations",description:"Afficher un widget montrant toutes les relations de la note actuelle (sous-t\xE2ches, projets, d\xE9pendances)"},relationshipsPosition:{name:"Position des relations",description:"O\xF9 positionner le widget de relations",options:{top:"Haut de la note",bottom:"Bas de la note"}},showTaskCardInNote:{name:"Afficher la carte de t\xE2che dans la note",description:"Afficher un widget de carte de t\xE2che en haut des notes de t\xE2che montrant les d\xE9tails et actions de la t\xE2che"},showExpandableSubtasks:{name:"Afficher les sous-t\xE2ches extensibles",description:"Permettre d'\xE9tendre/r\xE9duire les sections de sous-t\xE2ches dans les cartes de t\xE2ches"},subtaskChevronPosition:{name:"Position du chevron des sous-t\xE2ches",description:"Position des chevrons d'extension/r\xE9duction dans les cartes de t\xE2ches",options:{left:"C\xF4t\xE9 gauche",right:"C\xF4t\xE9 droit"}},viewsButtonAlignment:{name:"Alignement du bouton des vues",description:"Alignement du bouton vues/filtres dans l'interface des t\xE2ches",options:{left:"C\xF4t\xE9 gauche",right:"C\xF4t\xE9 droit"}}},projectAutosuggest:{header:"Autosuggestion de projets",description:"Personnalisez l'affichage des suggestions de projets lors de la cr\xE9ation de t\xE2ches.",requiredTags:{name:"Tags requis",description:"Afficher seulement les notes avec l'un de ces tags (s\xE9par\xE9s par des virgules). Laisser vide pour afficher toutes les notes.",placeholder:"projet, actif, important"},includeFolders:{name:"Inclure les dossiers",description:"Afficher seulement les notes dans ces dossiers (chemins s\xE9par\xE9s par des virgules). Laisser vide pour afficher tous les dossiers.",placeholder:"Projets/, Travail/Actif, Personnel"},requiredPropertyKey:{name:"Cl\xE9 de propri\xE9t\xE9 requise",description:"Afficher seulement les notes o\xF9 cette propri\xE9t\xE9 frontmatter correspond \xE0 la valeur ci-dessous. Laisser vide pour ignorer.",placeholder:"type-projet"},requiredPropertyValue:{name:"Valeur de propri\xE9t\xE9 requise",description:"Seules les notes o\xF9 la propri\xE9t\xE9 \xE9gale cette valeur sont sugg\xE9r\xE9es. Laisser vide pour exiger que la propri\xE9t\xE9 existe.",placeholder:"projet"},customizeDisplay:{name:"Personnaliser l'affichage des suggestions",description:"Afficher les options avanc\xE9es pour configurer comment les suggestions de projets apparaissent et quelles informations elles affichent."},enableFuzzyMatching:{name:"Activer la correspondance floue",description:"Permettre les fautes de frappe et correspondances partielles dans la recherche de projet. Peut \xEAtre plus lent dans les gros coffres."},displayRowsHelp:"Configurez jusqu'\xE0 3 lignes d'informations \xE0 afficher pour chaque suggestion de projet.",displayRows:{row1:{name:"Ligne 1",description:"Format : {propri\xE9t\xE9|drapeaux}. Propri\xE9t\xE9s : title, aliases, file.path, file.parent. Drapeaux : n(Label) affiche le label, s rend cherchable. Exemple : {title|n(Titre)|s}",placeholder:"{title|n(Titre)}"},row2:{name:"Ligne 2 (optionnel)",description:"Mod\xE8les courants : {aliases|n(Alias)}, {file.parent|n(Dossier)}, literal:Texte personnalis\xE9",placeholder:"{aliases|n(Alias)}"},row3:{name:"Ligne 3 (optionnel)",description:"Infos suppl\xE9mentaires comme {file.path|n(Chemin)} ou champs frontmatter personnalis\xE9s",placeholder:"{file.path|n(Chemin)}"}},quickReference:{header:"R\xE9f\xE9rence rapide",properties:"Propri\xE9t\xE9s disponibles : title, aliases, file.path, file.parent, ou tout champ frontmatter",labels:'Ajouter des labels : {title|n(Titre)} \u2192 "Titre : Mon Projet"',searchable:"Rendre cherchable : {description|s} inclut la description dans la recherche +",staticText:"Texte statique : literal:Mon Label Personnalis\xE9",alwaysSearchable:"Le nom de fichier, titre et alias sont toujours cherchables par d\xE9faut."}},dataStorage:{name:"Emplacement de stockage",description:"O\xF9 stocker l'historique des sessions Pomodoro",pluginData:"Donn\xE9es du plugin (recommand\xE9)",dailyNotes:"Notes quotidiennes",notices:{locationChanged:"Emplacement de stockage Pomodoro chang\xE9 vers {location}"}},notifications:{description:"Configurez les notifications de rappel de t\xE2ches et les alertes."},performance:{description:"Configurez les options de performance et de comportement du plugin."},timeTrackingSection:{description:"Configurez les comportements de suivi automatique du temps."},recurringSection:{description:"Configurez le comportement pour la gestion des t\xE2ches r\xE9currentes."}},integrations:{basesIntegration:{header:"Int\xE9gration Bases",description:"Configurez l'int\xE9gration avec le plugin Obsidian Bases. Il s'agit d'une fonctionnalit\xE9 exp\xE9rimentale qui repose actuellement sur des API Obsidian non document\xE9es. Le comportement peut changer ou se briser.",enable:{name:"Activer l'int\xE9gration Bases",description:"Permettre l'utilisation des vues TaskNotes dans le plugin Obsidian Bases. Le plugin Bases doit \xEAtre activ\xE9 pour que cela fonctionne."},viewCommands:{header:"Vues et fichiers base",description:"TaskNotes utilise les fichiers Obsidian Bases (.base) pour ses vues. Ces fichiers sont g\xE9n\xE9r\xE9s automatiquement au d\xE9marrage s'ils n'existent pas, configur\xE9s avec vos param\xE8tres actuels (identification des t\xE2ches, correspondance des champs, statuts, etc.).",descriptionRegen:"Les fichiers base ne sont pas mis \xE0 jour automatiquement lorsque vous modifiez les param\xE8tres. Pour appliquer les nouveaux param\xE8tres, supprimez les fichiers .base existants et red\xE9marrez Obsidian, utilisez \xAB Cr\xE9er les fichiers \xBB ci-dessous, ou modifiez-les manuellement.",docsLink:"Voir la documentation pour les formules disponibles et les options de personnalisation",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"Ouvrir la vue mini calendrier",kanban:"Ouvrir la vue kanban",tasks:"Ouvrir la vue t\xE2ches",advancedCalendar:"Ouvrir la vue calendrier avanc\xE9",agenda:"Ouvrir la vue agenda",relationships:"Widget de relations"},fileLabel:"Fichier : {path}",resetButton:"R\xE9initialiser",resetTooltip:"R\xE9initialiser au chemin par d\xE9faut"},createDefaultFiles:{name:"Cr\xE9er les fichiers par d\xE9faut",description:"Cr\xE9ez les fichiers .base par d\xE9faut dans le r\xE9pertoire TaskNotes/Views/. Les fichiers existants ne seront pas \xE9cras\xE9s.",buttonText:"Cr\xE9er les fichiers"},exportV3Views:{name:"Exporter les vues enregistr\xE9es V3 vers Bases",description:"Convertissez toutes vos vues enregistr\xE9es de TaskNotes v3 en un seul fichier .base avec plusieurs vues. Cela aide \xE0 migrer vos configurations de filtres v3 vers le nouveau syst\xE8me Bases.",buttonText:"Exporter les vues V3",noViews:"Aucune vue enregistr\xE9e \xE0 exporter",fileExists:"Le fichier existe d\xE9j\xE0",confirmOverwrite:`Un fichier nomm\xE9 "{fileName}" existe d\xE9j\xE0. L'\xE9craser ?`,success:"{count} vues enregistr\xE9es export\xE9es vers {filePath}",error:"\xC9chec de l'exportation des vues : {message}"},notices:{enabled:"Int\xE9gration Bases activ\xE9e. Veuillez red\xE9marrer Obsidian pour terminer la configuration.",disabled:"Int\xE9gration Bases d\xE9sactiv\xE9e. Veuillez red\xE9marrer Obsidian pour terminer la suppression."}},calendarSubscriptions:{header:"Abonnements calendrier",description:"Abonnez-vous \xE0 des calendriers externes via des URL ICS/iCal pour voir les \xE9v\xE9nements \xE0 c\xF4t\xE9 de vos t\xE2ches.",defaultNoteTemplate:{name:"Mod\xE8le de note par d\xE9faut",description:"Chemin vers le fichier mod\xE8le pour les notes cr\xE9\xE9es \xE0 partir d'\xE9v\xE9nements ICS",placeholder:"Templates/Mod\xE8le \xC9v\xE9nement.md"},defaultNoteFolder:{name:"Dossier de note par d\xE9faut",description:"Dossier pour les notes cr\xE9\xE9es \xE0 partir d'\xE9v\xE9nements ICS",placeholder:"Calendrier/\xC9v\xE9nements"},filenameFormat:{name:"Format du nom de fichier des notes ICS",description:"Comment les noms de fichiers sont g\xE9n\xE9r\xE9s pour les notes cr\xE9\xE9es \xE0 partir d'\xE9v\xE9nements ICS",options:{title:"Titre de l'\xE9v\xE9nement",zettel:"Format Zettelkasten",timestamp:"Horodatage",custom:"Mod\xE8le personnalis\xE9"}},customTemplate:{name:"Mod\xE8le de nom de fichier ICS personnalis\xE9",description:"Mod\xE8le pour les noms de fichiers d'\xE9v\xE9nements ICS personnalis\xE9s",placeholder:"{date}-{title}"}},subscriptionsList:{header:"Liste des abonnements calendrier",addSubscription:{name:"Ajouter un abonnement calendrier",description:"Ajouter un nouvel abonnement calendrier depuis une URL ICS/iCal ou un fichier local",buttonText:"Ajouter un abonnement"},refreshAll:{name:"Actualiser tous les abonnements",description:"Actualiser manuellement tous les abonnements calendrier activ\xE9s",buttonText:"Tout actualiser"},newCalendarName:"Nouveau calendrier",emptyState:"Aucun abonnement calendrier configur\xE9. Ajoutez un abonnement pour synchroniser des calendriers externes.",notices:{addSuccess:"Nouvel abonnement calendrier ajout\xE9 - veuillez configurer les d\xE9tails",addFailure:"\xC9chec de l'ajout de l'abonnement",serviceUnavailable:"Service d'abonnement ICS non disponible",refreshSuccess:"Tous les abonnements calendrier actualis\xE9s avec succ\xE8s",refreshFailure:"\xC9chec de l'actualisation de certains abonnements calendrier",updateFailure:"\xC9chec de la mise \xE0 jour de l'abonnement",deleteSuccess:'Abonnement "{name}" supprim\xE9',deleteFailure:"\xC9chec de la suppression de l'abonnement",enableFirst:"Activez d'abord l'abonnement",refreshSubscriptionSuccess:'"{name}" actualis\xE9',refreshSubscriptionFailure:"\xC9chec de l'actualisation de l'abonnement"},labels:{enabled:"Activ\xE9 :",name:"Nom :",type:"Type :",url:"URL :",filePath:"Chemin du fichier :",color:"Couleur :",refreshMinutes:"Actualisation (min) :"},typeOptions:{remote:"URL distante",local:"Fichier local"},placeholders:{calendarName:"Nom du calendrier",url:"URL ICS/iCal",filePath:"Chemin du fichier local (ex. Calendrier.ics)",localFile:"Calendrier.ics"},statusLabels:{enabled:"Activ\xE9",disabled:"D\xE9sactiv\xE9",remote:"Distant",localFile:"Fichier local",remoteCalendar:"Calendrier distant",localFileCalendar:"Fichier local",synced:"Synchronis\xE9 {timeAgo}",error:"Erreur"},actions:{refreshNow:"Actualiser maintenant",deleteSubscription:"Supprimer l'abonnement"},refreshNow:"Actualiser maintenant",confirmDelete:{title:"Supprimer l'abonnement",message:`Voulez-vous vraiment supprimer l'abonnement "{name}" ? Cette action ne peut pas \xEAtre annul\xE9e.`,confirmText:"Supprimer"}},autoExport:{header:"Export ICS automatique",description:"Exportez automatiquement toutes vos t\xE2ches vers un fichier ICS.",enable:{name:"Activer l'export automatique",description:"Maintenir automatiquement un fichier ICS \xE0 jour avec toutes vos t\xE2ches"},filePath:{name:"Chemin du fichier d'export",description:"Chemin o\xF9 le fichier ICS sera sauvegard\xE9 (relatif \xE0 la racine du coffre)",placeholder:"tasknotes-calendrier.ics"},interval:{name:"Intervalle de mise \xE0 jour (entre 5 et 1440 minutes)",description:"Fr\xE9quence de mise \xE0 jour du fichier d'export",placeholder:"60"},exportNow:{name:"Exporter maintenant",description:"D\xE9clencher manuellement un export imm\xE9diat",buttonText:"Exporter maintenant"},status:{title:"Statut de l'export :",lastExport:"Dernier export : {time}",nextExport:"Prochain export : {time}",noExports:"Aucun export encore",notScheduled:"Non programm\xE9",notInitialized:"Service d'export automatique non initialis\xE9 - veuillez red\xE9marrer Obsidian",serviceNotInitialized:"Service non initialis\xE9 - veuillez red\xE9marrer Obsidian"},notices:{reloadRequired:"Veuillez recharger Obsidian pour que les changements d'export automatique prennent effet.",exportSuccess:"T\xE2ches export\xE9es avec succ\xE8s",exportFailure:"\xC9chec de l'export - v\xE9rifiez la console pour les d\xE9tails",serviceUnavailable:"Service d'export automatique non disponible"}},httpApi:{header:"API HTTP",description:"Activez l'API HTTP pour les int\xE9grations externes et les automations.",enable:{name:"Activer l'API HTTP",description:"D\xE9marrer le serveur HTTP local pour l'acc\xE8s API"},port:{name:"Port API",description:"Num\xE9ro de port pour le serveur API HTTP",placeholder:"3000"},authToken:{name:"Jeton d'authentification API",description:"Jeton requis pour l'authentification API (laisser vide pour pas d'authentification)",placeholder:"votre-jeton-secret"},endpoints:{header:"Points de terminaison API disponibles",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhooks",description:{overview:"Les webhooks envoient des notifications en temps r\xE9el aux services externes lorsque des \xE9v\xE9nements TaskNotes se produisent.",usage:"Configurez des webhooks pour int\xE9grer avec des outils d'automatisation, des services de synchronisation ou des applications personnalis\xE9es."},addWebhook:{name:"Ajouter un webhook",description:"Enregistrer un nouveau point de terminaison webhook",buttonText:"Ajouter un webhook"},emptyState:{message:"Aucun webhook configur\xE9. Ajoutez un webhook pour recevoir des notifications en temps r\xE9el.",buttonText:"Ajouter un webhook"},labels:{active:"Actif :",url:"URL :",events:"\xC9v\xE9nements :",transform:"Transformation :"},placeholders:{url:"URL du webhook",noEventsSelected:"Aucun \xE9v\xE9nement s\xE9lectionn\xE9",rawPayload:"Donn\xE9es brutes (aucune transformation)"},statusLabels:{active:"Actif",inactive:"Inactif",created:"Cr\xE9\xE9 {timeAgo}"},actions:{editEvents:"Modifier les \xE9v\xE9nements",delete:"Supprimer"},editEvents:"Modifier les \xE9v\xE9nements",notices:{urlUpdated:"URL du webhook mise \xE0 jour",enabled:"Webhook activ\xE9",disabled:"Webhook d\xE9sactiv\xE9",created:"Webhook cr\xE9\xE9 avec succ\xE8s",deleted:"Webhook supprim\xE9",updated:"Webhook mis \xE0 jour"},confirmDelete:{title:"Supprimer le webhook",message:`Voulez-vous vraiment supprimer ce webhook ?
|
||
|
||
URL : {url}
|
||
|
||
Cette action ne peut pas \xEAtre annul\xE9e.`,confirmText:"Supprimer"},cardHeader:"Webhook",cardFields:{active:"Actif :",url:"URL :",events:"\xC9v\xE9nements :",transform:"Transformation :"},eventsDisplay:{noEvents:"Aucun \xE9v\xE9nement s\xE9lectionn\xE9"},transformDisplay:{noTransform:"Donn\xE9es brutes (aucune transformation)"},secretModal:{title:"Secret webhook g\xE9n\xE9r\xE9",description:"Votre secret webhook a \xE9t\xE9 g\xE9n\xE9r\xE9. Sauvegardez ce secret car vous ne pourrez plus le voir :",usage:"Utilisez ce secret pour v\xE9rifier les donn\xE9es webhook dans votre application r\xE9ceptrice.",gotIt:"Compris"},editModal:{title:"Modifier le webhook",eventsHeader:"\xC9v\xE9nements auxquels s'abonner"},events:{taskCreated:{label:"T\xE2che cr\xE9\xE9e",description:"Quand de nouvelles t\xE2ches sont cr\xE9\xE9es"},taskUpdated:{label:"T\xE2che modifi\xE9e",description:"Quand les t\xE2ches sont modifi\xE9es"},taskCompleted:{label:"T\xE2che termin\xE9e",description:"Quand les t\xE2ches sont marqu\xE9es comme termin\xE9es"},taskDeleted:{label:"T\xE2che supprim\xE9e",description:"Quand les t\xE2ches sont supprim\xE9es"},taskArchived:{label:"T\xE2che archiv\xE9e",description:"Quand les t\xE2ches sont archiv\xE9es"},taskUnarchived:{label:"T\xE2che d\xE9sarchiv\xE9e",description:"Quand les t\xE2ches sont d\xE9sarchiv\xE9es"},timeStarted:{label:"Temps d\xE9marr\xE9",description:"Quand le suivi du temps d\xE9marre"},timeStopped:{label:"Temps arr\xEAt\xE9",description:"Quand le suivi du temps s'arr\xEAte"},pomodoroStarted:{label:"Pomodoro d\xE9marr\xE9",description:"Quand les sessions pomodoro commencent"},pomodoroCompleted:{label:"Pomodoro termin\xE9",description:"Quand les sessions pomodoro se terminent"},pomodoroInterrupted:{label:"Pomodoro interrompu",description:"Quand les sessions pomodoro sont arr\xEAt\xE9es"},recurringCompleted:{label:"Instance r\xE9currente termin\xE9e",description:"Quand les instances de t\xE2ches r\xE9currentes se terminent"},reminderTriggered:{label:"Rappel d\xE9clench\xE9",description:"Quand les rappels de t\xE2ches s'activent"}},modals:{secretGenerated:{title:"Secret du webhook g\xE9n\xE9r\xE9",description:"Le secret de votre webhook a \xE9t\xE9 g\xE9n\xE9r\xE9. Sauvegardez ce secret car vous ne pourrez plus le voir :",usage:"Utilisez ce secret pour v\xE9rifier les donn\xE9es du webhook dans votre application r\xE9ceptrice.",buttonText:"Compris"},edit:{title:"Modifier le webhook",eventsSection:"\xC9v\xE9nements auxquels s'abonner",transformSection:"Configuration de transformation (optionnel)",headersSection:"Configuration des en-t\xEAtes",transformFile:{name:"Fichier de transformation",description:"Chemin vers un fichier .js ou .json dans votre coffre qui transforme les donn\xE9es du webhook",placeholder:"discord-transform.js"},customHeaders:{name:"Inclure les en-t\xEAtes personnalis\xE9s",description:"Inclure les en-t\xEAtes TaskNotes (type d'\xE9v\xE9nement, signature, ID de livraison). D\xE9sactivez pour Discord, Slack et autres services avec des politiques CORS strictes."},buttons:{cancel:"Annuler",save:"Sauvegarder les modifications"},notices:{selectAtLeastOneEvent:"Veuillez s\xE9lectionner au moins un \xE9v\xE9nement"}},add:{title:"Ajouter un webhook",eventsSection:"\xC9v\xE9nements auxquels s'abonner",transformSection:"Configuration de transformation (optionnel)",headersSection:"Configuration des en-t\xEAtes",url:{name:"URL du webhook",description:"Le point de terminaison o\xF9 les donn\xE9es du webhook seront envoy\xE9es",placeholder:"https://votre-service.com/webhook"},transformFile:{name:"Fichier de transformation",description:"Chemin vers un fichier .js ou .json dans votre coffre qui transforme les donn\xE9es du webhook",placeholder:"discord-transform.js"},customHeaders:{name:"Inclure les en-t\xEAtes personnalis\xE9s",description:"Inclure les en-t\xEAtes TaskNotes (type d'\xE9v\xE9nement, signature, ID de livraison). D\xE9sactivez pour Discord, Slack et autres services avec des politiques CORS strictes."},transformHelp:{title:"Les fichiers de transformation permettent de personnaliser les donn\xE9es du webhook :",jsFiles:"Fichiers .js :",jsDescription:" Transformations JavaScript personnalis\xE9es",jsonFiles:"Fichiers .json :",jsonDescription:" Mod\xE8les avec ",jsonVariable:"${data.task.title}",leaveEmpty:"Laisser vide :",leaveEmptyDescription:" Envoyer les donn\xE9es brutes",example:"Exemple :",exampleFile:"discord-transform.js"},buttons:{cancel:"Annuler",add:"Ajouter le webhook"},notices:{urlRequired:"L'URL du webhook est requise",selectAtLeastOneEvent:"Veuillez s\xE9lectionner au moins un \xE9v\xE9nement"}}}},otherIntegrations:{header:"Autres int\xE9grations de plugins",description:"Configurez les int\xE9grations avec d'autres plugins Obsidian."},timeFormats:{justNow:"\xC0 l'instant",minutesAgo:"il y a {minutes} minute{plural}",hoursAgo:"il y a {hours} heure{plural}",daysAgo:"il y a {days} jour{plural}"}}},notices:{languageChanged:"Langue chang\xE9e pour {language}.",exportTasksFailed:"\xC9chec de l'export des t\xE2ches au format ICS",icsNoteCreatedSuccess:"Note cr\xE9\xE9e avec succ\xE8s",icsCreationModalOpenFailed:"\xC9chec de l'ouverture de la modale de cr\xE9ation",icsNoteLinkSuccess:`Note "{fileName}" li\xE9e \xE0 l'\xE9v\xE9nement ICS`,icsTaskCreatedSuccess:"T\xE2che cr\xE9\xE9e : {title}",icsRelatedItemsRefreshed:"Notes associ\xE9es actualis\xE9es",icsFileNotFound:"Fichier introuvable ou invalide",icsFileOpenFailed:"\xC9chec de l'ouverture du fichier",timeblockAttachmentExists:'"{fileName}" est d\xE9j\xE0 attach\xE9',timeblockAttachmentAdded:'"{fileName}" ajout\xE9 comme pi\xE8ce jointe',timeblockAttachmentRemoved:'"{fileName}" retir\xE9 des pi\xE8ces jointes',timeblockFileTypeNotSupported:`Impossible d'ouvrir "{fileName}" - type de fichier non pris en charge`,timeblockTitleRequired:"Veuillez saisir un titre pour le bloc de temps",timeblockUpdatedSuccess:'Bloc de temps "{title}" mis \xE0 jour avec succ\xE8s',timeblockUpdateFailed:"\xC9chec de la mise \xE0 jour du bloc de temps. Consultez la console pour plus de d\xE9tails.",timeblockDeletedSuccess:'Bloc de temps "{title}" supprim\xE9 avec succ\xE8s',timeblockDeleteFailed:"\xC9chec de la suppression du bloc de temps. Consultez la console pour plus de d\xE9tails.",timeblockRequiredFieldsMissing:"Veuillez remplir tous les champs requis",agendaLoadingFailed:"Erreur lors du chargement de l'agenda. Veuillez essayer d'actualiser.",statsLoadingFailed:"Erreur lors du chargement des d\xE9tails du projet."},commands:{openCalendarView:"Ouvrir la vue mini calendrier",openAdvancedCalendarView:"Ouvrir la vue calendrier",openTasksView:"Ouvrir la vue t\xE2ches",openNotesView:"Ouvrir la vue notes",openAgendaView:"Ouvrir la vue agenda",openPomodoroView:"Ouvrir le minuteur Pomodoro",openKanbanView:"Ouvrir le tableau Kanban",openPomodoroStats:"Ouvrir les statistiques Pomodoro",openStatisticsView:"Ouvrir les statistiques t\xE2ches & projets",createNewTask:"Cr\xE9er une nouvelle t\xE2che",convertCurrentNoteToTask:{name:"Convertir la note actuelle en t\xE2che",noActiveFile:"Aucun fichier actif \xE0 convertir",alreadyTask:"Cette note est d\xE9j\xE0 une t\xE2che",success:"'{title}' converti en t\xE2che"},convertToTaskNote:"Convertir la case \xE0 cocher en TaskNote",convertAllTasksInNote:"Convertir toutes les t\xE2ches de la note",insertTaskNoteLink:"Ins\xE9rer un lien TaskNote",createInlineTask:"Cr\xE9er une nouvelle t\xE2che int\xE9gr\xE9e",quickActionsCurrentTask:"Actions rapides pour la t\xE2che courante",goToTodayNote:"Aller \xE0 la note du jour",startPomodoro:"D\xE9marrer le minuteur Pomodoro",stopPomodoro:"Arr\xEAter le minuteur Pomodoro",pauseResumePomodoro:"Mettre en pause/reprendre le minuteur Pomodoro",refreshCache:"Actualiser le cache",exportAllTasksIcs:"Exporter toutes les t\xE2ches en fichier ICS",viewReleaseNotes:"Voir les notes de version",startTimeTrackingWithSelector:"D\xE9marrer le suivi du temps (s\xE9lectionner une t\xE2che)",editTimeEntries:"Modifier les entr\xE9es de temps (s\xE9lectionner une t\xE2che)",createOrOpenTask:"Cr\xE9er ou ouvrir une t\xE2che"},modals:{deviceCode:{title:"Autorisation Google Calendar",instructions:{intro:"Pour connecter votre Google Calendar, veuillez suivre ces \xE9tapes :"},steps:{open:"Ouvrir",inBrowser:"dans votre navigateur",enterCode:"Entrez ce code lorsque demand\xE9 :",signIn:"Connectez-vous avec votre compte Google et accordez l'acc\xE8s",returnToObsidian:"Retournez \xE0 Obsidian (cette fen\xEAtre se fermera automatiquement)"},codeLabel:"Votre code :",copyCodeAriaLabel:"Copier le code",waitingForAuthorization:"En attente d'autorisation...",openBrowserButton:"Ouvrir le navigateur",cancelButton:"Annuler",expiresMinutesSeconds:"Le code expire dans {minutes}m {seconds}s",expiresSeconds:"Le code expire dans {seconds}s"},icsEventInfo:{calendarEventHeading:"\xC9v\xE9nement de calendrier",titleLabel:"Titre",calendarLabel:"Calendrier",dateTimeLabel:"Date et heure",locationLabel:"Lieu",descriptionLabel:"Description",urlLabel:"URL",relatedNotesHeading:"Notes et t\xE2ches associ\xE9es",noRelatedItems:"Aucune note ou t\xE2che associ\xE9e trouv\xE9e pour cet \xE9v\xE9nement.",typeTask:"T\xE2che",typeNote:"Note",actionsHeading:"Actions",createFromEventLabel:"Cr\xE9er \xE0 partir de l'\xE9v\xE9nement",createFromEventDesc:"Cr\xE9er une nouvelle note ou t\xE2che \xE0 partir de cet \xE9v\xE9nement de calendrier",linkExistingLabel:"Lier existant",linkExistingDesc:"Lier une note existante \xE0 cet \xE9v\xE9nement de calendrier"},timeblockInfo:{editHeading:"Modifier le bloc de temps",dateTimeLabel:"Date et heure : ",titleLabel:"Titre",titleDesc:"Titre de votre bloc de temps",titlePlaceholder:"ex., Session de travail approfondi",descriptionLabel:"Description",descriptionDesc:"Description optionnelle du bloc de temps",descriptionPlaceholder:"Concentrez-vous sur les nouvelles fonctionnalit\xE9s, sans interruptions",colorLabel:"Couleur",colorDesc:"Couleur optionnelle pour le bloc de temps",colorPlaceholder:"#3b82f6",attachmentsLabel:"Pi\xE8ces jointes",attachmentsDesc:"Fichiers ou notes li\xE9s \xE0 ce bloc de temps",addAttachmentButton:"Ajouter une pi\xE8ce jointe",addAttachmentTooltip:"S\xE9lectionnez un fichier ou une note en utilisant la recherche floue",deleteButton:"Supprimer le bloc de temps",saveButton:"Enregistrer les modifications",deleteConfirmationTitle:"Supprimer le bloc de temps"},timeblockCreation:{heading:"Cr\xE9er un bloc de temps",dateLabel:"Date : ",titleLabel:"Titre",titleDesc:"Titre de votre bloc de temps",titlePlaceholder:"ex., Session de travail approfondi",startTimeLabel:"Heure de d\xE9but",startTimeDesc:"Quand le bloc de temps commence",startTimePlaceholder:"09:00",endTimeLabel:"Heure de fin",endTimeDesc:"Quand le bloc de temps se termine",endTimePlaceholder:"11:00",descriptionLabel:"Description",descriptionDesc:"Description optionnelle du bloc de temps",descriptionPlaceholder:"Concentrez-vous sur les nouvelles fonctionnalit\xE9s, sans interruptions",colorLabel:"Couleur",colorDesc:"Couleur optionnelle pour le bloc de temps",colorPlaceholder:"#3b82f6",attachmentsLabel:"Pi\xE8ces jointes",attachmentsDesc:"Fichiers ou notes \xE0 lier \xE0 ce bloc de temps",addAttachmentButton:"Ajouter une pi\xE8ce jointe",addAttachmentTooltip:"S\xE9lectionnez un fichier ou une note en utilisant la recherche floue",createButton:"Cr\xE9er un bloc de temps"},icsNoteCreation:{heading:"Cr\xE9er \xE0 partir d'un \xE9v\xE9nement ICS",titleLabel:"Titre",titleDesc:"Titre du nouveau contenu",folderLabel:"Dossier",folderDesc:"Dossier de destination (laisser vide pour la racine du coffre)",folderPlaceholder:"dossier/sous-dossier",createButton:"Cr\xE9er",startLabel:"D\xE9but : ",endLabel:"Fin : ",locationLabel:"Lieu : ",calendarLabel:"Calendrier : ",useTemplateLabel:"Utiliser un mod\xE8le",useTemplateDesc:"Appliquer un mod\xE8le lors de la cr\xE9ation du contenu",templatePathLabel:"Chemin du mod\xE8le",templatePathDesc:"Chemin vers le fichier de mod\xE8le",templatePathPlaceholder:"templates/ics-note-template.md"},unscheduledTasksSelector:{title:"T\xE2ches non planifi\xE9es",placeholder:"Tapez pour rechercher des t\xE2ches non planifi\xE9es...",instructions:{navigate:"pour naviguer",schedule:"pour planifier",dismiss:"pour ignorer"}},migration:{title:"Migrer vers le nouveau syst\xE8me de r\xE9currence",description:"TaskNotes utilise maintenant les mod\xE8les RRULE standard pour la r\xE9currence, permettant des planifications plus complexes et une meilleure compatibilit\xE9 avec d'autres applications.",tasksFound:"{count} t\xE2che(s) avec d'anciens mod\xE8les de r\xE9currence d\xE9tect\xE9e(s)",noMigrationNeeded:"Aucune t\xE2che ne n\xE9cessite de migration",warnings:{title:"Avant de continuer :",backup:"Sauvegardez votre coffre avant la migration",conversion:"Les anciens mod\xE8les de r\xE9currence seront convertis au nouveau format",normalUsage:"Vous pouvez continuer \xE0 utiliser TaskNotes normalement pendant la migration",permanent:"Ce changement est permanent et ne peut pas \xEAtre annul\xE9 automatiquement"},benefits:{title:"Avantages du nouveau syst\xE8me :",powerfulPatterns:"Mod\xE8les de r\xE9currence complexes (ex. 'tous les 2e mardi')",performance:"Meilleures performances avec les t\xE2ches r\xE9currentes",compatibility:"Format de r\xE9currence standard compatible avec d'autres applications",nlp:"Support am\xE9lior\xE9 du traitement du langage naturel"},progress:{title:"Progression de la migration",preparing:"Pr\xE9paration de la migration...",completed:"Migration termin\xE9e avec succ\xE8s",failed:"\xC9chec de la migration"},buttons:{migrate:"D\xE9marrer la migration",completed:"Fermer"},errors:{title:"Erreurs pendant la migration :"},notices:{completedWithErrors:"Migration termin\xE9e avec quelques erreurs. Consultez la liste des erreurs ci-dessus.",success:"Toutes les t\xE2ches ont \xE9t\xE9 migr\xE9es avec succ\xE8s !",failed:"\xC9chec de la migration. Veuillez consulter la console pour plus de d\xE9tails."},prompt:{message:"TaskNotes a d\xE9tect\xE9 des t\xE2ches utilisant l'ancien format de r\xE9currence. Souhaitez-vous les migrer vers le nouveau syst\xE8me maintenant ?",migrateNow:"Migrer maintenant",remindLater:"Me rappeler plus tard"}},task:{titlePlaceholder:"Quel est votre prochain objectif ?",titleLabel:"Titre",titleDetailedPlaceholder:"Titre de la t\xE2che...",detailsLabel:"D\xE9tails",detailsPlaceholder:"Ajoutez davantage de d\xE9tails...",projectsLabel:"Projets",projectsAdd:"Ajouter un projet",projectsTooltip:"S\xE9lectionnez une note de projet via la recherche floue",projectsRemoveTooltip:"Retirer le projet",contextsLabel:"Contextes",contextsPlaceholder:"contexte1, contexte2",tagsLabel:"\xC9tiquettes",tagsPlaceholder:"etiquette1, etiquette2",timeEstimateLabel:"Estimation (minutes)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"Modifications non enregistr\xE9es",message:"Vous avez des modifications non enregistr\xE9es. Voulez-vous les enregistrer ?",save:"Enregistrer les modifications",discard:"Ignorer les modifications",cancel:"Continuer l'\xE9dition"},dependencies:{blockedBy:"Bloqu\xE9 par",blocking:"Bloquant",placeholder:"[[Note de t\xE2che]]",addTaskButton:"Ajouter une t\xE2che",selectTaskTooltip:"S\xE9lectionnez une note de t\xE2che via la recherche floue",removeTaskTooltip:"Retirer la t\xE2che"},organization:{projects:"Projets",subtasks:"Sous-t\xE2ches",addToProject:"Ajouter au projet",addToProjectButton:"Ajouter au projet",addSubtasks:"Ajouter des sous-t\xE2ches",addSubtasksButton:"Ajouter une sous-t\xE2che",addSubtasksTooltip:"S\xE9lectionner des t\xE2ches pour en faire des sous-t\xE2ches de cette t\xE2che",removeSubtaskTooltip:"Retirer la sous-t\xE2che",notices:{noEligibleSubtasks:"Aucune t\xE2che \xE9ligible disponible pour \xEAtre assign\xE9e comme sous-t\xE2che",subtaskSelectFailed:"\xC9chec de l'ouverture du s\xE9lecteur de sous-t\xE2ches"}},customFieldsLabel:"Champs personnalis\xE9s",actions:{due:"D\xE9finir l'\xE9ch\xE9ance",scheduled:"D\xE9finir la date planifi\xE9e",status:"D\xE9finir le statut",priority:"D\xE9finir la priorit\xE9",recurrence:"D\xE9finir la r\xE9currence",reminders:"D\xE9finir les rappels"},buttons:{openNote:"Ouvrir la note",save:"Enregistrer"},tooltips:{dueValue:"\xC9ch\xE9ance\xA0: {value}",scheduledValue:"Planifi\xE9e\xA0: {value}",statusValue:"Statut\xA0: {value}",priorityValue:"Priorit\xE9\xA0: {value}",recurrenceValue:"R\xE9currence\xA0: {value}",remindersSingle:"1 rappel d\xE9fini",remindersPlural:"{count} rappels d\xE9finis"},dateMenu:{dueTitle:"D\xE9finir l'\xE9ch\xE9ance",scheduledTitle:"D\xE9finir la date planifi\xE9e"},userFields:{textPlaceholder:"Saisir {field}...",numberPlaceholder:"0",datePlaceholder:"AAAA-MM-JJ",listPlaceholder:"\xE9l\xE9ment1, \xE9l\xE9ment2, \xE9l\xE9ment3",pickDate:"Choisir la date {field}"},recurrence:{daily:"Quotidien",weekly:"Hebdomadaire",everyTwoWeeks:"Toutes les 2 semaines",weekdays:"Jours ouvr\xE9s",weeklyOn:"Chaque semaine le {days}",monthly:"Mensuel",everyThreeMonths:"Tous les 3 mois",monthlyOnOrdinal:"Chaque mois le {ordinal}",monthlyByWeekday:"Mensuel (par jour de semaine)",yearly:"Annuel",yearlyOn:"Chaque ann\xE9e le {month} {day}",custom:"Personnalis\xE9",countSuffix:"{count} occurrences",untilSuffix:"jusqu'au {date}",ordinal:"{number}e"}},taskSelector:{title:"S\xE9lectionner une t\xE2che",placeholder:"Tapez pour rechercher des t\xE2ches...",instructions:{navigate:"pour naviguer",select:"pour s\xE9lectionner",dismiss:"pour annuler"},notices:{noteNotFound:'Impossible de trouver la note "{name}"'},dueDate:{overdue:"\xC9ch\xE9ance : {date} (en retard)",today:"\xC9ch\xE9ance : Aujourd'hui"}},taskSelectorWithCreate:{title:"Cr\xE9er ou ouvrir une t\xE2che",placeholder:"Rechercher des t\xE2ches ou taper pour cr\xE9er...",instructions:{create:"pour cr\xE9er une nouvelle t\xE2che"},footer:{createLabel:" pour cr\xE9er : "},notices:{emptyQuery:"Veuillez entrer une description de t\xE2che",invalidTitle:"Impossible de reconna\xEEtre un titre de t\xE2che valide"}},taskCreation:{title:"Cr\xE9er une t\xE2che",actions:{fillFromNaturalLanguage:"Remplir le formulaire avec le langage naturel",hideDetailedOptions:"Masquer les options d\xE9taill\xE9es",showDetailedOptions:"Afficher les options d\xE9taill\xE9es"},nlPlaceholder:"Acheter des courses demain \xE0 15h @maison #courses",notices:{titleRequired:"Veuillez saisir un titre de t\xE2che",success:'T\xE2che "{title}" cr\xE9\xE9e avec succ\xE8s',successShortened:'T\xE2che "{title}" cr\xE9\xE9e avec succ\xE8s (nom de fichier raccourci)',failure:"\xC9chec de la cr\xE9ation de la t\xE2che\xA0: {message}",blockingUnresolved:"Impossible de r\xE9soudre\xA0: {entries}"}},taskEdit:{title:"Modifier la t\xE2che",sections:{completions:"Ach\xE8vements",taskInfo:"Informations sur la t\xE2che"},metadata:{totalTrackedTime:"Temps suivi total\xA0:",created:"Cr\xE9\xE9e\xA0:",modified:"Modifi\xE9e\xA0:",file:"Fichier\xA0:"},buttons:{archive:"Archiver",unarchive:"D\xE9sarchiver"},notices:{titleRequired:"Veuillez saisir un titre de t\xE2che",noChanges:"Aucune modification \xE0 enregistrer",updateSuccess:'T\xE2che "{title}" mise \xE0 jour avec succ\xE8s',updateFailure:"\xC9chec de la mise \xE0 jour de la t\xE2che\xA0: {message}",dependenciesUpdateSuccess:"D\xE9pendances mises \xE0 jour",blockingUnresolved:"Impossible de r\xE9soudre\xA0: {entries}",fileMissing:"Impossible de trouver le fichier de la t\xE2che\xA0: {path}",openNoteFailure:"Impossible d'ouvrir la note de la t\xE2che",archiveSuccess:"T\xE2che {action} avec succ\xE8s",archiveFailure:"\xC9chec de l'archivage de la t\xE2che"},archiveAction:{archived:"archiv\xE9e",unarchived:"d\xE9sarchiv\xE9e"}},storageLocation:{title:{migrate:"Migrer les donn\xE9es Pomodoro\xA0?",switch:"Basculer vers le stockage dans les notes quotidiennes\xA0?"},message:{migrate:"Cette action migre vos sessions Pomodoro existantes vers le frontmatter des notes quotidiennes. Les donn\xE9es seront regroup\xE9es par date et stock\xE9es dans chaque note.",switch:"Les sessions Pomodoro seront d\xE9sormais enregistr\xE9es dans le frontmatter de vos notes quotidiennes au lieu du fichier de donn\xE9es du plugin."},whatThisMeans:"Ce que cela implique\xA0:",bullets:{dailyNotesRequired:"Le plugin noyau Daily Notes doit rester activ\xE9",storedInNotes:"Les donn\xE9es seront stock\xE9es dans le frontmatter de vos notes quotidiennes",migrateData:"Les donn\xE9es du plugin seront migr\xE9es puis vid\xE9es",futureSessions:"Les futures sessions seront enregistr\xE9es dans les notes quotidiennes",dataLongevity:"Cela garantit une meilleure p\xE9rennit\xE9 des donn\xE9es avec vos notes"},finalNote:{migrate:"\u26A0\uFE0F Assurez-vous d\u2019avoir des sauvegardes si n\xE9cessaire. Ce changement ne peut pas \xEAtre annul\xE9 automatiquement.",switch:"Vous pourrez revenir au stockage du plugin \xE0 tout moment par la suite."},buttons:{migrate:"Migrer les donn\xE9es",switch:"Changer de stockage"}},dueDate:{title:"D\xE9finir la date d'\xE9ch\xE9ance",taskLabel:"T\xE2che : {title}",sections:{dateTime:"Date et heure d'\xE9ch\xE9ance",quickOptions:"Options rapides"},descriptions:{dateTime:"D\xE9finir quand cette t\xE2che doit \xEAtre termin\xE9e"},inputs:{date:{ariaLabel:"Date d'\xE9ch\xE9ance de la t\xE2che",placeholder:"AAAA-MM-JJ"},time:{ariaLabel:"Heure d'\xE9ch\xE9ance de la t\xE2che (optionnel)",placeholder:"HH:MM"}},quickOptions:{today:"Aujourd'hui",todayAriaLabel:"D\xE9finir la date d'\xE9ch\xE9ance \xE0 aujourd'hui",tomorrow:"Demain",tomorrowAriaLabel:"D\xE9finir la date d'\xE9ch\xE9ance \xE0 demain",nextWeek:"La semaine prochaine",nextWeekAriaLabel:"D\xE9finir la date d'\xE9ch\xE9ance \xE0 la semaine prochaine",now:"Maintenant",nowAriaLabel:"D\xE9finir la date et l'heure d'\xE9ch\xE9ance \xE0 maintenant",clear:"Effacer",clearAriaLabel:"Effacer la date d'\xE9ch\xE9ance"},errors:{invalidDateTime:"Veuillez saisir un format de date et d'heure valide",updateFailed:"\xC9chec de la mise \xE0 jour de la date d'\xE9ch\xE9ance. Veuillez r\xE9essayer."}},scheduledDate:{title:"D\xE9finir la date planifi\xE9e",taskLabel:"T\xE2che : {title}",sections:{dateTime:"Date et heure planifi\xE9es",quickOptions:"Options rapides"},descriptions:{dateTime:"D\xE9finir quand vous pr\xE9voyez de travailler sur cette t\xE2che"},inputs:{date:{ariaLabel:"Date planifi\xE9e de la t\xE2che",placeholder:"AAAA-MM-JJ"},time:{ariaLabel:"Heure planifi\xE9e de la t\xE2che (optionnel)",placeholder:"HH:MM"}},quickOptions:{today:"Aujourd'hui",todayAriaLabel:"D\xE9finir la date planifi\xE9e \xE0 aujourd'hui",tomorrow:"Demain",tomorrowAriaLabel:"D\xE9finir la date planifi\xE9e \xE0 demain",nextWeek:"La semaine prochaine",nextWeekAriaLabel:"D\xE9finir la date planifi\xE9e \xE0 la semaine prochaine",now:"Maintenant",nowAriaLabel:"D\xE9finir la date et l'heure planifi\xE9es \xE0 maintenant",clear:"Effacer",clearAriaLabel:"Effacer la date planifi\xE9e"},errors:{invalidDateTime:"Veuillez saisir un format de date et d'heure valide",updateFailed:"\xC9chec de la mise \xE0 jour de la date planifi\xE9e. Veuillez r\xE9essayer."}},timeEntryEditor:{title:"Entr\xE9es de temps - {taskTitle}",addEntry:"Ajouter une entr\xE9e de temps",noEntries:"Aucune entr\xE9e de temps pour le moment",deleteEntry:"Supprimer l'entr\xE9e",startTime:"Heure de d\xE9but",endTime:"Heure de fin (laisser vide si toujours en cours)",duration:"Dur\xE9e (minutes)",durationDesc:"Remplacer la dur\xE9e calcul\xE9e",durationPlaceholder:"Entrer la dur\xE9e en minutes",description:"Description",descriptionPlaceholder:"Sur quoi avez-vous travaill\xE9 ?",calculatedDuration:"Calcul\xE9 : {minutes} minutes",totalTime:"{hours}h {minutes}m au total",totalMinutes:"{minutes}m au total",saved:"Entr\xE9es de temps enregistr\xE9es",saveFailed:"\xC9chec de l'enregistrement des entr\xE9es de temps",openFailed:"\xC9chec de l'ouverture de l'\xE9diteur d'entr\xE9es de temps",noTasksWithEntries:"Aucune t\xE2che n'a d'entr\xE9es de temps \xE0 modifier",validation:{missingStartTime:"L'heure de d\xE9but est requise",endBeforeStart:"L'heure de fin doit \xEAtre apr\xE8s l'heure de d\xE9but"}},timeTracking:{noTasksAvailable:"Aucune t\xE2che disponible pour le suivi du temps",started:"Suivi du temps d\xE9marr\xE9 pour : {taskTitle}",startFailed:"\xC9chec du d\xE9marrage du suivi du temps"},timeEntry:{mustHaveSpecificTime:"Les entr\xE9es de temps doivent avoir des heures sp\xE9cifiques. Veuillez s\xE9lectionner une plage horaire dans la vue semaine ou jour.",noTasksAvailable:"Aucune t\xE2che disponible pour cr\xE9er des entr\xE9es de temps",created:"Entr\xE9e de temps cr\xE9\xE9e pour {taskTitle} ({duration} minutes)",createFailed:"\xC9chec de la cr\xE9ation de l'entr\xE9e de temps"}},contextMenus:{task:{status:"Statut",statusSelected:"Statut s\xE9lectionn\xE9 : {label}",priority:"Priorit\xE9",prioritySelected:"Priorit\xE9 s\xE9lectionn\xE9e : {label}",dueDate:"\xC9ch\xE9ance",scheduledDate:"Date planifi\xE9e",reminders:"Rappels",remindBeforeDue:"Rappeler avant l'\xE9ch\xE9ance\u2026",remindBeforeScheduled:"Rappeler avant la date planifi\xE9e\u2026",manageReminders:"G\xE9rer tous les rappels\u2026",clearReminders:"Supprimer tous les rappels",startTimeTracking:"Commencer le suivi du temps",stopTimeTracking:"Arr\xEAter le suivi du temps",editTimeEntries:"Modifier les entr\xE9es de temps",archive:"Archiver",unarchive:"D\xE9sarchiver",openNote:"Ouvrir la note",copyTitle:"Copier le titre de la t\xE2che",noteActions:"Actions sur la note",rename:"Renommer",renameTitle:"Renommer le fichier",renamePlaceholder:"Saisir un nouveau nom",delete:"Supprimer",deleteTitle:"Supprimer le fichier",deleteMessage:'Voulez-vous vraiment supprimer "{name}"\xA0?',deleteConfirm:"Supprimer",copyPath:"Copier le chemin",copyUrl:"Copier l'URL Obsidian",showInExplorer:"Afficher dans l'explorateur de fichiers",addToCalendar:"Ajouter au calendrier",calendar:{google:"Google Agenda",outlook:"Outlook Agenda",yahoo:"Yahoo Agenda",downloadIcs:"T\xE9l\xE9charger le fichier .ics"},recurrence:"R\xE9currence",clearRecurrence:"Effacer la r\xE9currence",customRecurrence:"R\xE9currence personnalis\xE9e...",createSubtask:"Cr\xE9er une sous-t\xE2che",dependencies:{title:"D\xE9pendances",addBlockedBy:"Ajouter \xAB\xA0bloqu\xE9 par\xA0\xBB\u2026",addBlockedByTitle:"Ajouter des t\xE2ches dont d\xE9pend celle-ci",addBlocking:"Ajouter \xAB\xA0bloquant\xA0\xBB\u2026",addBlockingTitle:"Ajouter des t\xE2ches bloqu\xE9es par celle-ci",removeBlockedBy:"Retirer \xAB\xA0bloqu\xE9 par\xA0\xBB\u2026",removeBlocking:"Retirer \xAB\xA0bloquant\xA0\xBB\u2026",inputPlaceholder:"[[Note de t\xE2che]]",notices:{noEntries:"Veuillez saisir au moins une t\xE2che",blockedByAdded:"{count} d\xE9pendance ajout\xE9e",blockedByRemoved:"D\xE9pendance retir\xE9e",blockingAdded:"{count} t\xE2che d\xE9pendante ajout\xE9e",blockingRemoved:"T\xE2che d\xE9pendante retir\xE9e",unresolved:"Impossible de r\xE9soudre\xA0: {entries}",noEligibleTasks:"Aucune t\xE2che correspondante disponible",updateFailed:"Impossible de mettre \xE0 jour les d\xE9pendances"}},organization:{title:"Organisation",projects:"Projets",addToProject:"Ajouter au projet\u2026",subtasks:"Sous-t\xE2ches",addSubtasks:"Ajouter des sous-t\xE2ches\u2026",notices:{alreadyInProject:"La t\xE2che est d\xE9j\xE0 dans ce projet",alreadySubtask:"La t\xE2che est d\xE9j\xE0 une sous-t\xE2che de cette t\xE2che",addedToProject:"Ajout\xE9e au projet : {project}",addedAsSubtask:"{subtask} ajout\xE9e comme sous-t\xE2che de {parent}",addToProjectFailed:"\xC9chec de l'ajout de la t\xE2che au projet",addAsSubtaskFailed:"\xC9chec de l'ajout de la t\xE2che comme sous-t\xE2che",projectSelectFailed:"\xC9chec de l'ouverture du s\xE9lecteur de projet",subtaskSelectFailed:"\xC9chec de l'ouverture du s\xE9lecteur de sous-t\xE2ches",noEligibleSubtasks:"Aucune t\xE2che \xE9ligible disponible pour \xEAtre assign\xE9e comme sous-t\xE2che",currentTaskNotFound:"Fichier de t\xE2che actuel introuvable"}},subtasks:{loading:"Chargement des sous-t\xE2ches...",noSubtasks:"Aucune sous-t\xE2che trouv\xE9e",loadFailed:"\xC9chec du chargement des sous-t\xE2ches"},markComplete:"Marquer comme termin\xE9e pour cette date",markIncomplete:"Marquer comme incompl\xE8te pour cette date",skipInstance:"Ignorer l'instance",unskipInstance:"Ne plus ignorer l'instance",quickReminders:{atTime:"\xC0 l'heure de l'\xE9v\xE9nement",fiveMinutes:"5 minutes avant",fifteenMinutes:"15 minutes avant",oneHour:"1 heure avant",oneDay:"1 jour avant"},notices:{toggleCompletionFailure:"Impossible de modifier l'ach\xE8vement r\xE9current\xA0: {message}",toggleSkipFailure:"Impossible de modifier l'omission de t\xE2che r\xE9currente : {message}",updateDueDateFailure:"Impossible de mettre \xE0 jour l'\xE9ch\xE9ance\xA0: {message}",updateScheduledFailure:"Impossible de mettre \xE0 jour la date planifi\xE9e\xA0: {message}",updateRemindersFailure:"Impossible de mettre \xE0 jour les rappels",clearRemindersFailure:"Impossible de supprimer les rappels",addReminderFailure:"Impossible d'ajouter un rappel",archiveFailure:"Impossible de modifier l'archivage de la t\xE2che\xA0: {message}",copyTitleSuccess:"Titre de la t\xE2che copi\xE9 dans le presse-papiers",copyFailure:"Impossible de copier dans le presse-papiers",renameSuccess:'Renomm\xE9 en "{name}"',renameFailure:"Impossible de renommer le fichier",copyPathSuccess:"Chemin du fichier copi\xE9 dans le presse-papiers",copyUrlSuccess:"URL Obsidian copi\xE9e dans le presse-papiers",updateRecurrenceFailure:"Impossible de mettre \xE0 jour la r\xE9currence\xA0: {message}"}},ics:{showDetails:"Afficher les d\xE9tails",createTask:"Cr\xE9er une t\xE2che depuis l'\xE9v\xE9nement",createNote:"Cr\xE9er une note depuis l'\xE9v\xE9nement",linkNote:"Lier une note existante",copyTitle:"Copier le titre",copyLocation:"Copier le lieu",copyUrl:"Copier l'URL",copyMarkdown:"Copier en markdown",subscriptionUnknown:"Calendrier inconnu",notices:{copyTitleSuccess:"Titre de l'\xE9v\xE9nement copi\xE9 dans le presse-papiers",copyLocationSuccess:"Lieu copi\xE9 dans le presse-papiers",copyUrlSuccess:"URL de l'\xE9v\xE9nement copi\xE9e dans le presse-papiers",copyMarkdownSuccess:"D\xE9tails de l'\xE9v\xE9nement copi\xE9s en markdown",copyFailure:"Impossible de copier dans le presse-papiers",taskCreated:"T\xE2che cr\xE9\xE9e\xA0: {title}",taskCreateFailure:"Impossible de cr\xE9er une t\xE2che depuis l'\xE9v\xE9nement",noteCreated:"Note cr\xE9\xE9e avec succ\xE8s",creationFailure:"Impossible d'ouvrir la fen\xEAtre de cr\xE9ation",linkSuccess:`Note "{name}" li\xE9e \xE0 l'\xE9v\xE9nement`,linkFailure:"Impossible de lier la note",linkSelectionFailure:"Impossible d'ouvrir la s\xE9lection de note"},markdown:{titleFallback:"\xC9v\xE9nement sans titre",calendar:"**Calendrier\xA0:** {value}",date:"**Date et heure\xA0:** {value}",location:"**Lieu\xA0:** {value}",descriptionHeading:"### D\xE9tails",url:"**URL\xA0:** {value}",at:" \xE0 {time}"}},date:{increment:{plusOneDay:"+1 jour",minusOneDay:"-1 jour",plusOneWeek:"+1 semaine",minusOneWeek:"-1 semaine"},basic:{today:"Aujourd'hui",tomorrow:"Demain",thisWeekend:"Ce week-end",nextWeek:"La semaine prochaine",nextMonth:"Le mois prochain"},weekdaysLabel:"Jours de la semaine",selected:"Date s\xE9lectionn\xE9e : {label}",pickDateTime:"Choisir date et heure\u2026",clearDate:"Effacer la date",modal:{title:"D\xE9finir date et heure",dateLabel:"Date (AAAA-MM-JJ)",timeLabel:"Heure (optionnel)",select:"S\xE9lectionner"}}},services:{pomodoro:{notices:{alreadyRunning:"Un pomodoro est d\xE9j\xE0 en cours",resumeCurrentSession:"Reprendre la session actuelle au lieu d'en d\xE9marrer une nouvelle",timerAlreadyRunning:"Un minuteur est d\xE9j\xE0 en cours",resumeSessionInstead:"Reprendre la session actuelle au lieu d'en d\xE9marrer une nouvelle",shortBreakStarted:"Pause courte d\xE9marr\xE9e",longBreakStarted:"Pause longue d\xE9marr\xE9e",paused:"Pomodoro mis en pause",resumed:"Pomodoro repris",stoppedAndReset:"Pomodoro arr\xEAt\xE9 et remis \xE0 z\xE9ro",migrationSuccess:"{count} sessions pomodoro migr\xE9es avec succ\xE8s vers les notes quotidiennes.",migrationFailure:"\xC9chec de la migration des donn\xE9es pomodoro. Veuillez r\xE9essayer ou v\xE9rifier la console pour plus de d\xE9tails."}},icsSubscription:{notices:{calendarNotFound:`Calendrier "{name}" introuvable (404). Veuillez v\xE9rifier que l'URL ICS est correcte et que le calendrier est accessible publiquement.`,calendarAccessDenied:`Acc\xE8s refus\xE9 au calendrier "{name}" (500). Cela peut \xEAtre d\xFB aux restrictions du serveur Microsoft Outlook. Essayez de r\xE9g\xE9n\xE9rer l'URL ICS depuis les param\xE8tres de votre calendrier.`,fetchRemoteFailed:'\xC9chec de la r\xE9cup\xE9ration du calendrier distant "{name}" : {error}',readLocalFailed:'\xC9chec de la lecture du calendrier local "{name}" : {error}'}},calendarExport:{notices:{generateLinkFailed:"\xC9chec de la g\xE9n\xE9ration du lien calendrier",noTasksToExport:"Aucune t\xE2che trouv\xE9e \xE0 exporter",downloadSuccess:"T\xE9l\xE9charg\xE9 {filename} avec {count} t\xE2che{plural}",downloadFailed:"\xC9chec du t\xE9l\xE9chargement du fichier calendrier",singleDownloadSuccess:"T\xE9l\xE9charg\xE9 {filename}"}},filter:{groupLabels:{noProject:"Aucun projet",noTags:"Aucune \xE9tiquette",invalidDate:"Date invalide",due:{overdue:"En retard",today:"Aujourd'hui",tomorrow:"Demain",nextSevenDays:"Prochains sept jours",later:"Plus tard",none:"Aucune date d'\xE9ch\xE9ance"},scheduled:{past:"Planification pass\xE9e",today:"Aujourd'hui",tomorrow:"Demain",nextSevenDays:"Prochains sept jours",later:"Plus tard",none:"Aucune date planifi\xE9e"}},errors:{noDatesProvided:"Aucune date fournie"},folders:{root:"(Racine)"}},instantTaskConvert:{notices:{noCheckboxTasks:"Aucune t\xE2che \xE0 cocher trouv\xE9e dans la note actuelle.",convertingTasks:"Conversion de {count} t\xE2che{plural}...",conversionSuccess:"\u2705 {count} t\xE2che{plural} converties avec succ\xE8s en TaskNotes !",partialConversion:"{successCount} t\xE2che{successPlural} convertie{successPlural}. {failureCount} ont \xE9chou\xE9.",batchConversionFailed:"\xC9chec de la conversion par lot. Veuillez r\xE9essayer.",invalidParameters:"Param\xE8tres d'entr\xE9e invalides.",emptyLine:"La ligne actuelle est vide ou ne contient aucun contenu valide.",parseError:"Erreur d'analyse de la t\xE2che : {error}",invalidTaskData:"Donn\xE9es de t\xE2che invalides.",replaceLineFailed:"\xC9chec du remplacement de la ligne de t\xE2che.",conversionComplete:"T\xE2che convertie : {title}",conversionCompleteShortened:'T\xE2che convertie : "{title}" (nom de fichier raccourci en raison de la longueur)',fileExists:"Un fichier avec ce nom existe d\xE9j\xE0. Veuillez r\xE9essayer ou renommer la t\xE2che.",conversionFailed:"\xC9chec de la conversion de la t\xE2che. Veuillez r\xE9essayer."}},icsNote:{notices:{templateNotFound:"Mod\xE8le introuvable : {path}",templateProcessError:"Erreur de traitement du mod\xE8le : {template}",linkedToEvent:"Note li\xE9e \xE0 l'\xE9v\xE9nement ICS : {title}"}},task:{notices:{templateNotFound:"Mod\xE8le de corps de t\xE2che introuvable : {path}",templateReadError:"Erreur de lecture du mod\xE8le de corps de t\xE2che : {template}",moveTaskFailed:"\xC9chec du d\xE9placement de la t\xE2che {operation} : {error}"}},autoExport:{notices:{exportFailed:"\xC9chec de l'export automatique TaskNotes : {error}"}}},ui:{icsCard:{untitledEvent:"\xC9v\xE9nement sans titre",allDay:"Toute la journ\xE9e",calendarEvent:"\xC9v\xE9nement de calendrier",calendarFallback:"Calendrier"},noteCard:{createdLabel:"Cr\xE9\xE9e :",dailyBadge:"Quotidien",dailyTooltip:"Note quotidienne"},taskCard:{blockedBadge:"Bloqu\xE9",blockedBadgeTooltip:"Cette t\xE2che attend une autre t\xE2che",blockingBadge:"Bloquant",blockingBadgeTooltip:"Cette t\xE2che bloque une autre t\xE2che",blockingToggle:"Bloque {count} t\xE2ches",loadingDependencies:"Chargement des d\xE9pendances\u2026",blockingEmpty:"Aucune t\xE2che d\xE9pendante",blockingLoadError:"\xC9chec du chargement des d\xE9pendances"},propertyEventCard:{unknownFile:"Fichier inconnu"},filterHeading:{allViewName:"Toutes"},filterBar:{saveView:"Enregistrer la vue",saveViewNamePlaceholder:"Entrez le nom de la vue...",saveButton:"Enregistrer",views:"Vues",savedFilterViews:"Vues de filtre enregistr\xE9es",filters:"Filtres",properties:"Propri\xE9t\xE9s",sort:"Trier",newTask:"Nouveau",expandAllGroups:"D\xE9plier tous les groupes",collapseAllGroups:"Replier tous les groupes",searchTasksPlaceholder:"Rechercher des t\xE2ches...",searchTasksTooltip:"Rechercher dans les titres de t\xE2ches",filterUnavailable:"Barre de filtrage temporairement indisponible",toggleFilter:"Activer/d\xE9sactiver le filtre",activeFiltersTooltip:"Filtres actifs \u2013 Cliquez pour modifier, clic droit pour effacer",configureVisibleProperties:"Configurer les propri\xE9t\xE9s visibles",sortAndGroupOptions:"Options de tri et de regroupement",sortMenuHeader:"Trier",orderMenuHeader:"Ordre",groupMenuHeader:"Grouper",createNewTask:"Cr\xE9er une nouvelle t\xE2che",filter:"Filtrer",displayOrganization:"Affichage et organisation",viewOptions:"Options de vue",addFilter:"Ajouter un filtre",addFilterGroup:"Ajouter un groupe de filtres",addFilterTooltip:"Ajouter une nouvelle condition de filtre",addFilterGroupTooltip:"Ajouter un groupe de filtres imbriqu\xE9",clearAllFilters:"Effacer tous les filtres et groupes",saveCurrentFilter:"Enregistrer le filtre actuel comme vue",closeFilterModal:"Fermer la fen\xEAtre de filtre",deleteFilterGroup:"Supprimer le groupe de filtres",deleteCondition:"Supprimer la condition",all:"Tous",any:"N'importe lequel",followingAreTrue:"des suivants sont vrais :",where:"o\xF9",selectProperty:"S\xE9lectionner...",chooseProperty:"Choisissez quelle propri\xE9t\xE9 de t\xE2che filtrer",chooseOperator:"Choisissez comment comparer la valeur de propri\xE9t\xE9",enterValue:"Entrez la valeur \xE0 filtrer",selectValue:"S\xE9lectionnez un {property} \xE0 filtrer",sortBy:"Trier par :",toggleSortDirection:"Inverser le sens de tri",chooseSortMethod:"Choisissez comment trier les t\xE2ches",groupBy:"Grouper par :",chooseGroupMethod:"Grouper les t\xE2ches par une propri\xE9t\xE9 commune",toggleViewOption:"Activer/d\xE9sactiver {option}",expandCollapseFilters:"Cliquez pour d\xE9plier/replier les conditions de filtre",expandCollapseSort:"Cliquez pour d\xE9plier/replier les options de tri et de regroupement",expandCollapseViewOptions:"Cliquez pour d\xE9plier/replier les options sp\xE9cifiques \xE0 la vue",naturalLanguageDates:"Dates en langage naturel",naturalLanguageExamples:"Afficher des exemples de dates en langage naturel",enterNumericValue:"Entrez une valeur num\xE9rique \xE0 filtrer",enterDateValue:"Entrez une date en langage naturel ou au format ISO",pickDateTime:"Choisir date et heure",noSavedViews:"Aucune vue enregistr\xE9e",savedViews:"Vues enregistr\xE9es",yourSavedFilters:"Vos configurations de filtre enregistr\xE9es",dragToReorder:"Glissez pour r\xE9organiser les vues",loadSavedView:"Charger la vue enregistr\xE9e : {name}",deleteView:"Supprimer la vue",deleteViewTitle:"Supprimer la vue",deleteViewMessage:'\xCAtes-vous s\xFBr de vouloir supprimer la vue "{name}" ?',manageAllReminders:"G\xE9rer tous les rappels...",clearAllReminders:"Effacer tous les rappels",customRecurrence:"R\xE9currence personnalis\xE9e...",clearRecurrence:"Effacer la r\xE9currence",sortOptions:{dueDate:"Date d'\xE9ch\xE9ance",scheduledDate:"Date planifi\xE9e",priority:"Priorit\xE9",status:"Statut",title:"Titre",createdDate:"Date de cr\xE9ation",tags:"\xC9tiquettes",ascending:"Croissant",descending:"D\xE9croissant"},group:{none:"Aucun",status:"Statut",priority:"Priorit\xE9",context:"Contexte",project:"Projet",dueDate:"Date d'\xE9ch\xE9ance",scheduledDate:"Date planifi\xE9e",tags:"\xC9tiquettes",completedDate:"Date d'ach\xE8vement"},subgroupLabel:"SOUS-GROUPE",notices:{propertiesMenuFailed:"\xC9chec de l'affichage du menu des propri\xE9t\xE9s"}}},components:{dateContextMenu:{weekdays:"Jours de semaine",clearDate:"Effacer la date",today:"Aujourd'hui",tomorrow:"Demain",thisWeekend:"Ce week-end",nextWeek:"La semaine prochaine",nextMonth:"Le mois prochain",setDateTime:"D\xE9finir la date et l'heure",dateLabel:"Date",timeLabel:"Heure (optionnelle)"},subgroupMenuBuilder:{none:"Aucun",status:"Statut",priority:"Priorit\xE9",context:"Contexte",project:"Projet",dueDate:"Date d'\xE9ch\xE9ance",scheduledDate:"Date programm\xE9e",tags:"\xC9tiquettes",completedDate:"Date de finalisation",subgroup:"SOUS-GROUPE"},propertyVisibilityDropdown:{coreProperties:"PROPRI\xC9T\xC9S PRINCIPALES",organization:"ORGANISATION",customProperties:"PROPRI\xC9T\xC9S PERSONNALIS\xC9ES",failed:"Impossible d'afficher le menu des propri\xE9t\xE9s",properties:{statusDot:"Point de statut",priorityDot:"Point de priorit\xE9",dueDate:"Date d'\xE9ch\xE9ance",scheduledDate:"Date planifi\xE9e",timeEstimate:"Estimation de temps",totalTrackedTime:"Temps suivi total",recurrence:"R\xE9currence",completedDate:"Date d'ach\xE8vement",createdDate:"Date de cr\xE9ation",modifiedDate:"Date de modification",projects:"Projets",contexts:"Contextes",tags:"\xC9tiquettes",blocked:"Bloqu\xE9",blocking:"Bloquant"}},reminderContextMenu:{remindBeforeDue:"Rappeler avant l'\xE9ch\xE9ance...",remindBeforeScheduled:"Rappeler avant la date planifi\xE9e...",manageAllReminders:"G\xE9rer tous les rappels...",clearAllReminders:"Effacer tous les rappels",quickReminders:{atTime:"\xC0 l'heure de l'\xE9v\xE9nement",fiveMinutesBefore:"5 minutes avant",fifteenMinutesBefore:"15 minutes avant",oneHourBefore:"1 heure avant",oneDayBefore:"1 jour avant"}},recurrenceContextMenu:{daily:"Quotidien",weeklyOn:"Hebdomadaire le {day}",everyTwoWeeksOn:"Toutes les 2 semaines le {day}",monthlyOnThe:"Mensuel le {ordinal}",everyThreeMonthsOnThe:"Tous les 3 mois le {ordinal}",yearlyOn:"Annuel le {month} {ordinal}",weekdaysOnly:"Jours ouvr\xE9s seulement",dailyAfterCompletion:"Quotidien (apr\xE8s ach\xE8vement)",every3DaysAfterCompletion:"Tous les 3 jours (apr\xE8s ach\xE8vement)",weeklyAfterCompletion:"Hebdomadaire (apr\xE8s ach\xE8vement)",monthlyAfterCompletion:"Mensuel (apr\xE8s ach\xE8vement)",customRecurrence:"R\xE9currence personnalis\xE9e...",clearRecurrence:"Effacer la r\xE9currence",customRecurrenceModal:{title:"R\xE9currence personnalis\xE9e",startDate:"Date de d\xE9but",startDateDesc:"La date \xE0 laquelle le mod\xE8le de r\xE9currence commence",startTime:"Heure de d\xE9but",startTimeDesc:"L'heure \xE0 laquelle les instances r\xE9currentes doivent appara\xEEtre (optionnel)",recurFrom:"R\xE9currence \xE0 partir de",recurFromDesc:"Quand la prochaine occurrence doit-elle \xEAtre calcul\xE9e?",scheduledDate:"Date pr\xE9vue",completionDate:"Date d'ach\xE8vement",frequency:"Fr\xE9quence",interval:"Intervalle",intervalDesc:"Tous les X jours/semaines/mois/ann\xE9es",daysOfWeek:"Jours de la semaine",daysOfWeekDesc:"S\xE9lectionnez des jours sp\xE9cifiques (pour la r\xE9currence hebdomadaire)",monthlyRecurrence:"R\xE9currence mensuelle",monthlyRecurrenceDesc:"Choisissez comment r\xE9p\xE9ter mensuellement",yearlyRecurrence:"R\xE9currence annuelle",yearlyRecurrenceDesc:"Choisissez comment r\xE9p\xE9ter annuellement",endCondition:"Condition de fin",endConditionDesc:"Choisissez quand la r\xE9currence doit se terminer",neverEnds:"Ne se termine jamais",endAfterOccurrences:"Se termine apr\xE8s {count} occurrences",endOnDate:"Se termine le {date}",onDayOfMonth:"Le jour {day} de chaque mois",onTheWeekOfMonth:"Le {week} {day} de chaque mois",onDateOfYear:"Le {month} {day} de chaque ann\xE9e",onTheWeekOfYear:"Le {week} {day} de {month} chaque ann\xE9e",frequencies:{daily:"Quotidien",weekly:"Hebdomadaire",monthly:"Mensuel",yearly:"Annuel"},weekPositions:{first:"premier",second:"deuxi\xE8me",third:"troisi\xE8me",fourth:"quatri\xE8me",last:"dernier"},weekdays:{monday:"Lundi",tuesday:"Mardi",wednesday:"Mercredi",thursday:"Jeudi",friday:"Vendredi",saturday:"Samedi",sunday:"Dimanche"},weekdaysShort:{mon:"Lun",tue:"Mar",wed:"Mer",thu:"Jeu",fri:"Ven",sat:"Sam",sun:"Dim"},cancel:"Annuler",save:"Enregistrer"}}}};var HG={common:{appName:"TaskNotes",new:"\u041D\u043E\u0432\u044B\u0439",cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",close:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C",save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",language:"\u042F\u0437\u044B\u043A",systemDefault:"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0439 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430...",languages:{en:"\u0410\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u0438\u0439",fr:"\u0424\u0440\u0430\u043D\u0446\u0443\u0437\u0441\u043A\u0438\u0439",ru:"\u0420\u0443\u0441\u0441\u043A\u0438\u0439",zh:"\u041A\u0438\u0442\u0430\u0439\u0441\u043A\u0438\u0439",de:"\u041D\u0435\u043C\u0435\u0446\u043A\u0438\u0439",es:"\u0418\u0441\u043F\u0430\u043D\u0441\u043A\u0438\u0439",ja:"\u042F\u043F\u043E\u043D\u0441\u043A\u0438\u0439",pt:"\u041F\u043E\u0440\u0442\u0443\u0433\u0430\u043B\u044C\u0441\u043A\u0438\u0439 (\u0411\u0440\u0430\u0437\u0438\u043B\u0438\u044F)"},weekdays:{sunday:"\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435",monday:"\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A",tuesday:"\u0412\u0442\u043E\u0440\u043D\u0438\u043A",wednesday:"\u0421\u0440\u0435\u0434\u0430",thursday:"\u0427\u0435\u0442\u0432\u0435\u0440\u0433",friday:"\u041F\u044F\u0442\u043D\u0438\u0446\u0430",saturday:"\u0421\u0443\u0431\u0431\u043E\u0442\u0430"},months:{january:"\u042F\u043D\u0432\u0430\u0440\u044C",february:"\u0424\u0435\u0432\u0440\u0430\u043B\u044C",march:"\u041C\u0430\u0440\u0442",april:"\u0410\u043F\u0440\u0435\u043B\u044C",may:"\u041C\u0430\u0439",june:"\u0418\u044E\u043D\u044C",july:"\u0418\u044E\u043B\u044C",august:"\u0410\u0432\u0433\u0443\u0441\u0442",september:"\u0421\u0435\u043D\u0442\u044F\u0431\u0440\u044C",october:"\u041E\u043A\u0442\u044F\u0431\u0440\u044C",november:"\u041D\u043E\u044F\u0431\u0440\u044C",december:"\u0414\u0435\u043A\u0430\u0431\u0440\u044C"}},views:{agenda:{title:"\u041F\u043B\u0430\u043D\u044B",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",overdue:"\u041F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043E",refreshCalendars:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",actions:{previousPeriod:"\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0438\u0439 \u043F\u0435\u0440\u0438\u043E\u0434",nextPeriod:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u043F\u0435\u0440\u0438\u043E\u0434",goToToday:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0441\u0435\u0433\u043E\u0434\u043D\u044F",refreshCalendars:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438"},loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u043D\u043E\u0432...",dayToggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u0435\u043D\u044C",overdueToggle:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0445",expandAllDays:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0434\u043D\u0438",collapseAllDays:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0434\u043D\u0438",notices:{calendarNotReady:"\u0421\u0435\u0440\u0432\u0438\u0441 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u0435\u0449\u0435 \u043D\u0435 \u0433\u043E\u0442\u043E\u0432",calendarRefreshed:"\u041F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u044B",refreshFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"},empty:{noItemsScheduled:"\u041D\u0435\u0442 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432",noItemsFound:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B",helpText:"\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0434\u0430\u0442\u0430\u043C\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438, \u0438\u043B\u0438 \u0434\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0438\u0445 \u0437\u0434\u0435\u0441\u044C."},contextMenu:{showOverdueSection:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0440\u0430\u0437\u0434\u0435\u043B \u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0445",showNotes:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0438",calendarSubscriptions:"\u041F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438"},periods:{thisWeek:"\u041D\u0430 \u044D\u0442\u043E\u0439 \u043D\u0435\u0434\u0435\u043B\u0435"},tipPrefix:"\u0421\u043E\u0432\u0435\u0442: "},taskList:{title:"\u0417\u0430\u0434\u0430\u0447\u0438",expandAllGroups:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0433\u0440\u0443\u043F\u043F\u044B",collapseAllGroups:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0433\u0440\u0443\u043F\u043F\u044B",noTasksFound:"\u0417\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u0445 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432."},notes:{title:"\u0417\u0430\u043C\u0435\u0442\u043A\u0438",refreshButton:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435...",refreshingButton:"\u041E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u0442\u0441\u044F...",notices:{indexingDisabled:"\u0418\u043D\u0434\u0435\u043A\u0441\u0430\u0446\u0438\u044F \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430"},empty:{noNotesFound:"\u0417\u0430\u043C\u0435\u0442\u043A\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B",helpText:"\u0417\u0430\u043C\u0435\u0442\u043A\u0438 \u0434\u043B\u044F \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0440\u0443\u0433\u0443\u044E \u0434\u0430\u0442\u0443 \u0432 \u043C\u0438\u043D\u0438-\u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435 \u0438\u043B\u0438 \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438."},loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0437\u0430\u043C\u0435\u0442\u043E\u043A...",refreshButtonAriaLabel:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u0437\u0430\u043C\u0435\u0442\u043E\u043A"},miniCalendar:{title:"\u041C\u0438\u043D\u0438-\u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C"},advancedCalendar:{title:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",filters:{showFilters:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B",hideFilters:"\u0421\u043A\u0440\u044B\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B"},viewOptions:{calendarSubscriptions:"\u041F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",timeEntries:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438",timeblocks:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438",scheduledDates:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0434\u0430\u0442\u044B",dueDates:"\u0421\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",allDaySlot:"\u0421\u043B\u043E\u0442 \u043D\u0430 \u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C",scheduledTasks:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",recurringTasks:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438"},buttons:{refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",refreshHint:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438"},notices:{icsServiceNotAvailable:"\u0421\u0435\u0440\u0432\u0438\u0441 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 ICS \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D",calendarRefreshedAll:"\u0412\u0441\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u044B",refreshFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",timeblockSpecificTime:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0432 \u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E\u043C \u0438\u043B\u0438 \u0434\u043D\u0435\u0432\u043D\u043E\u043C \u0432\u0438\u0434\u0435.",timeblockMoved:'\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A "{title}" \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D \u043D\u0430 {date}',timeblockUpdated:'\u0412\u0440\u0435\u043C\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430 "{title}" \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E',timeblockMoveFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A: {message}",timeblockResized:'\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430 "{title}" \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0430',timeblockResizeFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0440 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430: {message}",taskScheduled:'\u0417\u0430\u0434\u0430\u0447\u0430 "{title}" \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0430 \u043D\u0430 {date}',scheduleTaskFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",endTimeAfterStart:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043F\u043E\u0441\u043B\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043D\u0430\u0447\u0430\u043B\u0430",timeEntryNotFound:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u0430",timeEntryDeleted:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u0430",deleteTimeEntryFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C"},timeEntry:{estimatedSuffix:"\u043E\u0446\u0435\u043D\u043A\u0430",trackedSuffix:"\u043E\u0442\u0441\u043B\u0435\u0436\u0435\u043D\u043E",recurringPrefix:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0430\u044F\u0441\u044F: ",completedPrefix:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E: ",createdPrefix:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E: ",modifiedPrefix:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E: ",duePrefix:"\u0421\u0440\u043E\u043A: ",scheduledPrefix:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E: "},contextMenus:{openTask:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",deleteTimeEntry:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",deleteTimeEntryTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",deleteTimeEntryConfirm:"\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C{duration}? \u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C.",deleteButton:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",cancelButton:"\u041E\u0442\u043C\u0435\u043D\u0430"}},basesCalendar:{title:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C Bases",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",buttonText:{month:"\u041C",week:"\u041D",day:"\u0414",year:"\u0413",list:"\u0421",customDays:"{count}\u0414",listDays:"{count}\u0434 \u0421\u043F\u0438\u0441\u043E\u043A",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C"},hints:{refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C calendar subscriptions"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"\u041D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044F \u043F\u043E \u0434\u0430\u0442\u0430\u043C",events:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F",layout:"\u041C\u0430\u043A\u0435\u0442",propertyBasedEvents:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432",calendarSubscriptions:"\u041F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",googleCalendars:"Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",microsoftCalendars:"Microsoft \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438"},dateNavigation:{navigateToDate:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0434\u0430\u0442\u0435",navigateToDatePlaceholder:"\u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 2025-01-15) - \u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",navigateToDateFromProperty:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0434\u0430\u0442\u0435 \u0438\u0437 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",navigateToDateFromPropertyPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u0430\u0442\u044B (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E)",propertyNavigationStrategy:"\u0421\u0442\u0440\u0430\u0442\u0435\u0433\u0438\u044F \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043F\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0443",strategies:{first:"\u041F\u0435\u0440\u0432\u044B\u0439 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442",earliest:"\u0421\u0430\u043C\u0430\u044F \u0440\u0430\u043D\u043D\u044F\u044F \u0434\u0430\u0442\u0430",latest:"\u0421\u0430\u043C\u0430\u044F \u043F\u043E\u0437\u0434\u043D\u044F\u044F \u0434\u0430\u0442\u0430"}},events:{showScheduledTasks:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",showDueTasks:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u043A\u0440\u0430\u0439\u043D\u0438\u043C \u0441\u0440\u043E\u043A\u043E\u043C",showRecurringTasks:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438",showTimeEntries:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",showTimeblocks:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438",showPropertyBasedEvents:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432"},layout:{calendarView:"\u0412\u0438\u0434 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",customDayCount:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u043D\u0435\u0439",listDayCount:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u043D\u0435\u0439 \u0441\u043F\u0438\u0441\u043A\u0430",dayStartTime:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0434\u043D\u044F",dayStartTimePlaceholder:"\u0427\u0427:\u043C\u043C:\u0441\u0441 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 08:00:00)",dayEndTime:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0434\u043D\u044F",dayEndTimePlaceholder:"\u0427\u0427:\u043C\u043C:\u0441\u0441 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 20:00:00)",timeSlotDuration:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u0442\u0430",timeSlotDurationPlaceholder:"\u0427\u0427:\u043C\u043C:\u0441\u0441 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 00:30:00)",weekStartsOn:"\u041D\u0435\u0434\u0435\u043B\u044F \u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F \u0441",showWeekNumbers:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u043E\u043C\u0435\u0440\u0430 \u043D\u0435\u0434\u0435\u043B\u044C",showNowIndicator:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438",showWeekends:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u044B\u0445\u043E\u0434\u043D\u044B\u0435",showAllDaySlot:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043B\u043E\u0442 \u043D\u0430 \u0432\u0435\u0441\u044C \u0434\u0435\u043D\u044C",showTodayHighlight:"\u0412\u044B\u0434\u0435\u043B\u0438\u0442\u044C \u0441\u0435\u0433\u043E\u0434\u043D\u044F",showSelectionPreview:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u0432\u044B\u0431\u043E\u0440\u0430",timeFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",timeFormat12:"12-\u0447\u0430\u0441\u043E\u0432\u043E\u0439 (AM/PM)",timeFormat24:"24-\u0447\u0430\u0441\u043E\u0432\u043E\u0439",initialScrollTime:"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438",initialScrollTimePlaceholder:"\u0427\u0427:\u043C\u043C:\u0441\u0441 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 08:00:00)",minimumEventHeight:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u044B\u0441\u043E\u0442\u0430 \u0441\u043E\u0431\u044B\u0442\u0438\u044F (px)",slotEventOverlap:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u0439",enableSearch:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u0435 \u043F\u043E\u0438\u0441\u043A\u0430",eventMaxStack:"\u041C\u0430\u043A\u0441. \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u043D\u044B\u0445 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 (\u043D\u0435\u0434\u0435\u043B\u044F/\u0434\u0435\u043D\u044C, 0 = \u0431\u0435\u0437 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439)",dayMaxEvents:"\u041C\u0430\u043A\u0441. \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0432 \u0434\u0435\u043D\u044C (\u043C\u0435\u0441\u044F\u0446, 0 = \u0430\u0432\u0442\u043E)",dayMaxEventRows:"\u041C\u0430\u043A\u0441. \u0441\u0442\u0440\u043E\u043A \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0432 \u0434\u0435\u043D\u044C (\u043C\u0435\u0441\u044F\u0446, 0 = \u0431\u0435\u0437 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439)"},propertyBasedEvents:{startDateProperty:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u0430\u0442\u044B \u043D\u0430\u0447\u0430\u043B\u0430",startDatePropertyPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0434\u0430\u0442\u044B/\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043D\u0430\u0447\u0430\u043B\u0430",endDateProperty:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u0430\u0442\u044B \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E)",endDatePropertyPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0434\u0430\u0442\u044B/\u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",titleProperty:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E)",titlePropertyPlaceholder:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0434\u043B\u044F \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0441\u043E\u0431\u044B\u0442\u0438\u044F"}},errors:{failedToInitialize:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C"}},kanban:{title:"\u041A\u0430\u043D\u0431\u0430\u043D",newTask:"\u041D\u043E\u0432\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430",addCard:"+ \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0443",noTasks:"\u041D\u0435\u0442 \u0437\u0430\u0434\u0430\u0447",uncategorized:"\u0411\u0435\u0437 \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0438",noProject:"\u0411\u0435\u0437 \u043F\u0440\u043E\u0435\u043A\u0442\u0430",notices:{loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043E\u0441\u043A\u0443 \u041A\u0430\u043D\u0431\u0430\u043D",movedTask:'\u0417\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0430 \u0432 "{0}"'},errors:{loadingBoard:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u0434\u043E\u0441\u043A\u0438.",noGroupBy:"\u0414\u043B\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u041A\u0430\u043D\u0431\u0430\u043D \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u043E\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E '\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E'. \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043A\u043D\u043E\u043F\u043A\u0443 '\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430' \u0438 \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 '\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E'."},columnTitle:"\u0411\u0435\u0437 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F"},pomodoro:{title:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",status:{focus:"\u0424\u043E\u043A\u0443\u0441",ready:"\u0413\u043E\u0442\u043E\u0432\u043E \u043A \u043D\u0430\u0447\u0430\u043B\u0443",paused:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E",working:"\u0420\u0430\u0431\u043E\u0442\u0430",shortBreak:"\u041A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u043F\u0435\u0440\u0435\u0440\u044B\u0432",longBreak:"\u0414\u043B\u0438\u043D\u043D\u044B\u0439 \u043F\u0435\u0440\u0435\u0440\u044B\u0432",breakPrompt:"\u041E\u0442\u043B\u0438\u0447\u043D\u0430\u044F \u0440\u0430\u0431\u043E\u0442\u0430! \u0412\u0440\u0435\u043C\u044F \u0434\u043B\u044F {length} \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u0430",breakLength:{short:"\u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0433\u043E",long:"\u0434\u043B\u0438\u043D\u043D\u043E\u0433\u043E"},breakComplete:"\u041F\u0435\u0440\u0435\u0440\u044B\u0432 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D! \u0413\u043E\u0442\u043E\u0432\u044B \u043A \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C\u0443 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E?"},buttons:{start:"\u0421\u0442\u0430\u0440\u0442",pause:"\u041F\u0430\u0443\u0437\u0430",stop:"\u0421\u0442\u043E\u043F",resume:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C",startShortBreak:"\u041D\u0430\u0447\u0430\u0442\u044C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u043F\u0435\u0440\u0435\u0440\u044B\u0432",startLongBreak:"\u041D\u0430\u0447\u0430\u0442\u044C \u0434\u043B\u0438\u043D\u043D\u044B\u0439 \u043F\u0435\u0440\u0435\u0440\u044B\u0432",skipBreak:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043F\u0435\u0440\u0435\u0440\u044B\u0432",chooseTask:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443...",changeTask:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443...",clearTask:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",selectDifferentTask:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0440\u0443\u0433\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443"},notices:{noTasks:"\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u043D\u0435\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447. \u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u0434\u0430\u0447.",loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438"},statsLabel:"\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E \u0441\u0435\u0433\u043E\u0434\u043D\u044F"},pomodoroStats:{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",heading:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",refresh:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",sections:{overview:"\u041E\u0431\u0437\u043E\u0440",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",week:"\u042D\u0442\u0430 \u043D\u0435\u0434\u0435\u043B\u044F",allTime:"\u0417\u0430 \u0432\u0441\u0435 \u0432\u0440\u0435\u043C\u044F",recent:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 \u0441\u0435\u0441\u0441\u0438\u0438"},overviewCards:{todayPomos:{label:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0441\u0435\u0433\u043E\u0434\u043D\u044F",change:{more:"\u043D\u0430 {count} \u0431\u043E\u043B\u044C\u0448\u0435 \u0447\u0435\u043C \u0432\u0447\u0435\u0440\u0430",less:"\u043D\u0430 {count} \u043C\u0435\u043D\u044C\u0448\u0435 \u0447\u0435\u043C \u0432\u0447\u0435\u0440\u0430"}},totalPomos:{label:"\u0412\u0441\u0435\u0433\u043E \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E"},todayFocus:{label:"\u0424\u043E\u043A\u0443\u0441 \u0441\u0435\u0433\u043E\u0434\u043D\u044F",change:{more:"\u043D\u0430 {duration} \u0431\u043E\u043B\u044C\u0448\u0435 \u0447\u0435\u043C \u0432\u0447\u0435\u0440\u0430",less:"\u043D\u0430 {duration} \u043C\u0435\u043D\u044C\u0448\u0435 \u0447\u0435\u043C \u0432\u0447\u0435\u0440\u0430"}},totalFocus:{label:"\u041E\u0431\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u0444\u043E\u043A\u0443\u0441\u0430"}},stats:{pomodoros:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",streak:"\u0421\u0435\u0440\u0438\u044F",minutes:"\u041C\u0438\u043D\u0443\u0442\u044B",average:"\u0421\u0440\u0435\u0434\u043D\u044F\u044F \u0434\u043B\u0438\u043D\u0430",completion:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435"},recents:{empty:"\u0421\u0435\u0441\u0441\u0438\u0438 \u0435\u0449\u0435 \u043D\u0435 \u0437\u0430\u043F\u0438\u0441\u0430\u043D\u044B",duration:"{minutes} \u043C\u0438\u043D",status:{completed:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",interrupted:"\u041F\u0440\u0435\u0440\u0432\u0430\u043D\u043E"}}},stats:{title:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430",taskProjectStats:"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0430 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432",sections:{filters:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",overview:"\u041E\u0431\u0437\u043E\u0440",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",thisWeek:"\u042D\u0442\u0430 \u043D\u0435\u0434\u0435\u043B\u044F",thisMonth:"\u042D\u0442\u043E\u0442 \u043C\u0435\u0441\u044F\u0446",projectBreakdown:"\u0420\u0430\u0437\u0431\u0438\u0432\u043A\u0430 \u043F\u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430\u043C",dateRange:"\u0414\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0434\u0430\u0442"},filters:{minTime:"\u041C\u0438\u043D. \u0432\u0440\u0435\u043C\u044F (\u043C\u0438\u043D\u0443\u0442\u044B)",allTasks:"\u0412\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",activeOnly:"\u0422\u043E\u043B\u044C\u043A\u043E \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0435",completedOnly:"\u0422\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0435"},refreshButton:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C",timeRanges:{allTime:"\u0412\u0441\u0435 \u0432\u0440\u0435\u043C\u044F",last7Days:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 7 \u0434\u043D\u0435\u0439",last30Days:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 30 \u0434\u043D\u0435\u0439",last90Days:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 90 \u0434\u043D\u0435\u0439",customRange:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D"},resetFiltersButton:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u044B",dateRangeFrom:"\u0421",dateRangeTo:"\u0414\u043E",noProject:"\u0411\u0435\u0437 \u043F\u0440\u043E\u0435\u043A\u0442\u0430",cards:{timeTrackedEstimated:"\u041E\u0442\u0441\u043B\u0435\u0436\u0435\u043D\u043E / \u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438",totalTasks:"\u0414\u043Etal Tasks",completionRate:"\u041F\u0440\u043E\u0446\u0435\u043D\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",activeProjects:"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u044B",avgTimePerTask:"\u0421\u0440\u0435\u0434\u043D\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0443"},labels:{tasks:"\u0417\u0430\u0434\u0430\u0447\u0438",completed:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B"},noProjectData:"\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445 \u043E \u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445",notAvailable:"\u041D/\u0414",noTasks:"\u0417\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B",loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430..."},releaseNotes:{title:"\u0427\u0442\u043E \u043D\u043E\u0432\u043E\u0433\u043E \u0432 TaskNotes {version}",header:"\u0427\u0442\u043E \u043D\u043E\u0432\u043E\u0433\u043E \u0432 TaskNotes {version}",viewAllLink:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432\u0441\u0435 \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443 \u043D\u0430 GitHub \u2192",starMessage:"\u0415\u0441\u043B\u0438 TaskNotes \u043F\u043E\u043B\u0435\u0437\u0435\u043D \u0434\u043B\u044F \u0432\u0430\u0441, \u043F\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0437\u0432\u0435\u0437\u0434\u0443 \u043D\u0430 GitHub"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"\u041E\u0431\u0449\u0438\u0435",taskProperties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u0447",modalFields:"\u041F\u043E\u043B\u044F \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043E\u043A\u043D\u0430",defaults:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u044B",appearance:"\u0412\u043D\u0435\u0448\u043D\u0438\u0439 \u0432\u0438\u0434 \u0438 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441",features:"\u0424\u0443\u043D\u043A\u0446\u0438\u0438",integrations:"\u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438"},features:{inlineTasks:{header:"\u0412\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0441\u044B\u043B\u043E\u043A \u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0444\u043B\u0430\u0436\u043A\u043E\u0432 \u0432 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0437\u0430\u043C\u0435\u0442\u043A\u0430\u0445."},overlays:{taskLinkToggle:{name:"\u041D\u0430\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u0441\u044B\u043B\u043E\u043A \u0437\u0430\u0434\u0430\u0447",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0438\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0435 \u043D\u0430\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u043D\u0430\u0432\u0435\u0434\u0435\u043D\u0438\u0438 \u043D\u0430 \u0441\u0441\u044B\u043B\u043A\u0438 \u0437\u0430\u0434\u0430\u0447"}},instantConvert:{toggle:{name:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043A\u043D\u043E\u043F\u043A\u0443 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0440\u044F\u0434\u043E\u043C \u0441 \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u0443\u044E \u043A\u043D\u043E\u043F\u043A\u0443 \u0440\u044F\u0434\u043E\u043C \u0441 \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438 Markdown, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0438\u0445 \u0432 TaskNotes"},folder:{name:"\u041F\u0430\u043F\u043A\u0430 \u0434\u043B\u044F \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447",description:"\u041F\u0430\u043F\u043A\u0430, \u0432 \u043A\u043E\u0442\u043E\u0440\u043E\u0439 \u0431\u0443\u0434\u0443\u0442 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438, \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0444\u043B\u0430\u0436\u043A\u043E\u0432. \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u0430\u043F\u043A\u0438 \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 {{currentNotePath}} \u0434\u043B\u044F \u043F\u0430\u043F\u043A\u0438 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0438\u043B\u0438 {{currentNoteTitle}} \u0434\u043B\u044F \u043F\u043E\u0434\u043F\u0430\u043F\u043A\u0438 \u0441 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435\u043C \u0437\u0430\u043C\u0435\u0442\u043A\u0438."}},nlp:{header:"\u041E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0430 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u044F\u0437\u044B\u043A\u0430",description:"\u0410\u043D\u0430\u043B\u0438\u0437 \u0434\u0430\u0442, \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u043E\u0432 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0438\u0437 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0433\u043E \u0432\u0432\u043E\u0434\u0430.",enable:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0432\u0432\u043E\u0434 \u0437\u0430\u0434\u0430\u0447 \u043D\u0430 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u043C \u044F\u0437\u044B\u043A\u0435",description:"\u0410\u043D\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F, \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B \u0438 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B \u0438\u0437 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u044F\u0437\u044B\u043A\u0430 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447"},defaultToScheduled:{name:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435",description:"\u041A\u043E\u0433\u0434\u0430 NLP \u043E\u0431\u043D\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u0435\u0442 \u0434\u0430\u0442\u0443 \u0431\u0435\u0437 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u0430, \u0442\u0440\u0430\u043A\u0442\u043E\u0432\u0430\u0442\u044C \u0435\u0435 \u043A\u0430\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E, \u0430 \u043D\u0435 \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F"},language:{name:"\u042F\u0437\u044B\u043A NLP",description:"\u042F\u0437\u044B\u043A \u0434\u043B\u044F \u0448\u0430\u0431\u043B\u043E\u043D\u043E\u0432 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u044F\u0437\u044B\u043A\u0430 \u0438 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0434\u0430\u0442"},statusTrigger:{name:"\u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430",description:"\u0422\u0435\u043A\u0441\u0442 \u0434\u043B\u044F \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 (\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F)"}},pomodoro:{header:"\u0422\u0430\u0439\u043C\u0435\u0440 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043E\u0432 \u0440\u0430\u0431\u043E\u0442\u044B/\u043E\u0442\u0434\u044B\u0445\u0430 \u0434\u043B\u044F \u0442\u0430\u0439\u043C\u0435\u0440\u0430 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E.",workDuration:{name:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u044B",description:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0440\u0430\u0431\u043E\u0447\u0438\u0445 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B\u043E\u0432 \u0432 \u043C\u0438\u043D\u0443\u0442\u0430\u0445"},shortBreak:{name:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043A\u043E\u0440\u043E\u0442\u043A\u043E\u0433\u043E \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u0430",description:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043A\u043E\u0440\u043E\u0442\u043A\u0438\u0445 \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u043E\u0432 \u0432 \u043C\u0438\u043D\u0443\u0442\u0430\u0445"},longBreak:{name:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u043B\u0438\u043D\u043D\u043E\u0433\u043E \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u0430",description:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0434\u043B\u0438\u043D\u043D\u044B\u0445 \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u043E\u0432 \u0432 \u043C\u0438\u043D\u0443\u0442\u0430\u0445"},longBreakInterval:{name:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u0434\u043B\u0438\u043D\u043D\u043E\u0433\u043E \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u0430",description:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0440\u0430\u0431\u043E\u0447\u0438\u0445 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u0435\u0440\u0435\u0434 \u0434\u043B\u0438\u043D\u043D\u044B\u043C \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u043E\u043C"},autoStartBreaks:{name:"\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u0443\u0441\u043A \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u043E\u0432",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440\u044B \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u043E\u0432 \u043F\u043E\u0441\u043B\u0435 \u0440\u0430\u0431\u043E\u0447\u0438\u0445 \u0441\u0435\u0441\u0441\u0438\u0439"},autoStartWork:{name:"\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u0443\u0441\u043A \u0440\u0430\u0431\u043E\u0442\u044B",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u0440\u0430\u0431\u043E\u0447\u0438\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0435\u0440\u044B\u0432\u043E\u0432"},notifications:{name:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E"}},uiLanguage:{header:"\u042F\u0437\u044B\u043A \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430",description:"\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u044F\u0437\u044B\u043A \u043C\u0435\u043D\u044E, \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 TaskNotes.",dropdown:{name:"\u042F\u0437\u044B\u043A \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u044F\u0437\u044B\u043A, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0439 \u0434\u043B\u044F \u0442\u0435\u043A\u0441\u0442\u0430 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 TaskNotes"}},pomodoroSound:{enabledName:"\u0417\u0432\u0443\u043A \u0432\u043A\u043B\u044E\u0447\u0435\u043D",enabledDesc:"\u0412\u043E\u0441\u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u044C \u0437\u0432\u0443\u043A \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",volumeName:"\u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0437\u0432\u0443\u043A\u0430",volumeDesc:"\u0413\u0440\u043E\u043C\u043A\u043E\u0441\u0442\u044C \u0437\u0432\u0443\u043A\u043E\u0432 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E (0-100)"},dataStorage:{name:"\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043C\u0435\u0441\u0442\u0430 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u0434\u0430\u043D\u043D\u044B\u0445 \u0441\u0435\u0430\u043D\u0441\u043E\u0432 Pomodoro \u0438 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0438\u043C\u0438.",dailyNotes:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438",pluginData:"\u0414\u0430\u043D\u043D\u044B\u0435 \u043F\u043B\u0430\u0433\u0438\u043D\u0430",notices:{locationChanged:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 Pomodoro \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043E \u043D\u0430 {location}"}},notifications:{header:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u043E \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0439.",enableName:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F",enableDesc:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F\u0445 \u0437\u0430\u0434\u0430\u0447",typeName:"\u0422\u0438\u043F \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439",typeDesc:"\u0422\u0438\u043F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439",systemLabel:"\u0421\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F",inAppLabel:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0432 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438"},overdue:{hideCompletedName:"\u0421\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0437 \u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0445",hideCompletedDesc:"\u0418\u0441\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0438\u0437 \u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432 \u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"},indexing:{disableName:"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043D\u0434\u0435\u043A\u0441\u0430\u0446\u0438\u044E \u0437\u0430\u043C\u0435\u0442\u043E\u043A",disableDesc:"\u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0438\u043D\u0434\u0435\u043A\u0441\u0430\u0446\u0438\u044E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0434\u043B\u044F \u043B\u0443\u0447\u0448\u0435\u0439 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438"},suggestions:{debounceName:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439",debounceDesc:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430 \u0432 \u043C\u0438\u043B\u043B\u0438\u0441\u0435\u043A\u0443\u043D\u0434\u0430\u0445 \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u043A\u0430\u0437\u043E\u043C \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439"},timeTracking:{autoStopName:"\u0410\u0432\u0442\u043E\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0430 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438",autoStopDesc:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u0440\u0438 \u043E\u0442\u043C\u0435\u0442\u043A\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043A\u0430\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0439",stopNotificationName:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E\u0431 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438",stopNotificationDesc:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},recurring:{maintainOffsetName:"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0432 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0430\u0445",maintainOffsetDesc:"\u0421\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C \u0441\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u043C\u0435\u0436\u0434\u0443 \u0441\u0440\u043E\u043A\u043E\u043C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u043E\u0439 \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447"},timeblocking:{header:"\u0411\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432 \u0434\u043B\u044F \u043B\u0435\u0433\u043A\u043E\u0433\u043E \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043A\u0430\u0445. \u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u0439 - \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 'Timeblock' \u0438\u0437 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0433\u043E \u043C\u0435\u043D\u044E.",enableName:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",enableDesc:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432 \u0434\u043B\u044F \u043B\u0435\u0433\u043A\u043E\u0433\u043E \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043A\u0430\u0445. \u041A\u043E\u0433\u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u043E\u043F\u0446\u0438\u044F 'Timeblock' \u043F\u043E\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0432 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u043C \u043C\u0435\u043D\u044E \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F.",showBlocksName:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438",showBlocksDesc:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0431\u043B\u043E\u043A\u0438 \u0438\u0437 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",usage:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435: \u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u0439. \u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 'Timeblock' \u0438\u0437 \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043D\u043E\u0433\u043E \u043C\u0435\u043D\u044E (\u0432\u0438\u0434\u043D\u043E \u0442\u043E\u043B\u044C\u043A\u043E \u043A\u043E\u0433\u0434\u0430 \u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430). \u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0431\u043B\u043E\u043A\u043E\u0432. \u0418\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440 \u043A\u0440\u0430\u0435\u0432 \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438."},performance:{header:"\u041F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0438 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u043F\u043B\u0430\u0433\u0438\u043D\u0430 \u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F."},timeTrackingSection:{header:"\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438."},recurringSection:{header:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u043C\u0438\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438."}},defaults:{header:{basicDefaults:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",dateDefaults:"\u0414\u0430\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",defaultReminders:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",bodyTemplate:"\u0428\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043B\u0430",instantTaskConversion:"\u041C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447"},description:{basicDefaults:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447, \u0447\u0442\u043E\u0431\u044B \u0443\u0441\u043A\u043E\u0440\u0438\u0442\u044C \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447.",dateDefaults:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0434\u0430\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447.",defaultReminders:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u043A \u043D\u043E\u0432\u044B\u043C \u0437\u0430\u0434\u0430\u0447\u0430\u043C.",bodyTemplate:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0444\u0430\u0439\u043B \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0434\u043B\u044F \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0432 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u043C \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447.",instantTaskConversion:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E\u043C \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0437\u0430\u0434\u0430\u0447\u0438."},basicDefaults:{defaultStatus:{name:"\u0421\u0442\u0430\u0442\u0443\u0441 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u0442\u0430\u0442\u0443\u0441 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"},defaultPriority:{name:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"},defaultContexts:{name:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u043F\u0438\u0441\u043E\u043A \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, @\u0434\u043E\u043C, @\u0440\u0430\u0431\u043E\u0442\u0430)",placeholder:"@\u0434\u043E\u043C, @\u0440\u0430\u0431\u043E\u0442\u0430"},defaultTags:{name:"\u0422\u0435\u0433\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u043F\u0438\u0441\u043E\u043A \u0442\u0435\u0433\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E (\u0431\u0435\u0437 #)",placeholder:"\u0432\u0430\u0436\u043D\u044B\u0439, \u0441\u0440\u043E\u0447\u043D\u044B\u0439"},defaultProjects:{name:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u0441\u044B\u043B\u043A\u0438 \u043D\u0430 \u043F\u0440\u043E\u0435\u043A\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447",selectButton:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442\u044B",selectTooltip:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432 \u0434\u043B\u044F \u0441\u0432\u044F\u0437\u044B\u0432\u0430\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",removeTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {name} \u0438\u0437 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},useParentNoteAsProject:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u043A\u0430\u043A \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0440\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E\u043C \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0438",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u0432\u044F\u0437\u044B\u0432\u0430\u0442\u044C \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u043A\u0430\u043A \u043F\u0440\u043E\u0435\u043A\u0442 \u043F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447"},defaultTimeEstimate:{name:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0432 \u043C\u0438\u043D\u0443\u0442\u0430\u0445 (0 = \u0431\u0435\u0437 \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044F)",placeholder:"60"},defaultRecurrence:{name:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0428\u0430\u0431\u043B\u043E\u043D \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"}},dateDefaults:{defaultDueDate:{name:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"},defaultScheduledDate:{name:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"}},reminders:{addReminder:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u043E\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0431\u0443\u0434\u0435\u0442 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u043A\u043E \u0432\u0441\u0435\u043C \u043D\u043E\u0432\u044B\u043C \u0437\u0430\u0434\u0430\u0447\u0430\u043C",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435"},emptyState:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445.",emptyStateButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435",reminderDescription:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",unnamedReminder:"\u0411\u0435\u0437\u044B\u043C\u044F\u043D\u043D\u043E\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435",deleteTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435",fields:{description:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435:",type:"\u0422\u0438\u043F:",offset:"\u0421\u043C\u0435\u0449\u0435\u043D\u0438\u0435:",unit:"\u0415\u0434\u0438\u043D\u0438\u0446\u0430:",direction:"\u041D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435:",relatedTo:"\u041E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E:",date:"\u0414\u0430\u0442\u0430:",time:"\u0412\u0440\u0435\u043C\u044F:"},types:{relative:"\u041E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0435 (\u0434\u043E/\u043F\u043E\u0441\u043B\u0435 \u0434\u0430\u0442 \u0437\u0430\u0434\u0430\u0447)",absolute:"\u0410\u0431\u0441\u043E\u043B\u044E\u0442\u043D\u043E\u0435 (\u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u0430\u044F \u0434\u0430\u0442\u0430/\u0432\u0440\u0435\u043C\u044F)"},units:{minutes:"\u043C\u0438\u043D\u0443\u0442\u044B",hours:"\u0447\u0430\u0441\u044B",days:"\u0434\u043D\u0438"},directions:{before:"\u0434\u043E",after:"\u043F\u043E\u0441\u043B\u0435"},relatedTo:{due:"\u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduled:"\u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430"}},bodyTemplate:{useBodyTemplate:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043B\u0430",description:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0434\u043B\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},bodyTemplateFile:{name:"\u0424\u0430\u0439\u043B \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0442\u0435\u043B\u0430",description:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0434\u043B\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E \u0442\u0435\u043B\u0430 \u0437\u0430\u0434\u0430\u0447\u0438. \u041F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u0430, \u0442\u0430\u043A\u0438\u0435 \u043A\u0430\u043A {{title}}, {{date}}, {{time}}, {{priority}}, {{status}} \u0438 \u0442.\u0434.",placeholder:"\u0428\u0430\u0431\u043B\u043E\u043D\u044B/\u0428\u0430\u0431\u043B\u043E\u043D \u0437\u0430\u0434\u0430\u0447\u0438.md",ariaLabel:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0442\u0435\u043B\u0430"},variablesHeader:"\u041F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u0430:",variables:{title:"{{title}} - \u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",details:"{{details}} - \u0414\u0435\u0442\u0430\u043B\u0438, \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u043C \u0438\u0437 \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u043E\u043A\u043D\u0430",date:"{{date}} - \u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0434\u0430\u0442\u0430 (\u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414)",time:"{{time}} - \u0422\u0435\u043A\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F (\u0427\u0427:\u041C\u041C)",priority:"{{priority}} - \u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0437\u0430\u0434\u0430\u0447\u0438",status:"{{status}} - \u0421\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438",contexts:"{{contexts}} - \u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B \u0437\u0430\u0434\u0430\u0447\u0438",tags:"{{tags}} - \u0422\u0435\u0433\u0438 \u0437\u0430\u0434\u0430\u0447\u0438",projects:"{{projects}} - \u041F\u0440\u043E\u0435\u043A\u0442\u044B \u0437\u0430\u0434\u0430\u0447\u0438"}},instantConversion:{useDefaultsOnInstantConvert:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u0440\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E\u043C \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0438",description:"\u041F\u0440\u0438\u043C\u0435\u043D\u044F\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u0440\u0438 \u043C\u0433\u043D\u043E\u0432\u0435\u043D\u043D\u043E\u043C \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432 \u0437\u0430\u0434\u0430\u0447\u0438"}},options:{noDefault:"\u0411\u0435\u0437 \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044F",none:"\u041D\u0435\u0442",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0417\u0430\u0432\u0442\u0440\u0430",nextWeek:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043D\u0435\u0434\u0435\u043B\u044F",daily:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E",weekly:"\u0415\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E",monthly:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E",yearly:"\u0415\u0436\u0435\u0433\u043E\u0434\u043D\u043E"}},general:{taskStorage:{header:"\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u0437\u0430\u0434\u0430\u0447",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435, \u0433\u0434\u0435 \u0445\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438 \u0438 \u043A\u0430\u043A \u043E\u043D\u0438 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044E\u0442\u0441\u044F.",defaultFolder:{name:"\u041F\u0430\u043F\u043A\u0430 \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0434\u043B\u044F \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"},moveArchived:{name:"\u041F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u043F\u0430\u043F\u043A\u0443",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0430\u0442\u044C \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u043F\u0430\u043F\u043A\u0443 \u0430\u0440\u0445\u0438\u0432\u0430"},archiveFolder:{name:"\u041F\u0430\u043F\u043A\u0430 \u0430\u0440\u0445\u0438\u0432\u0430",description:"\u041F\u0430\u043F\u043A\u0430 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447 \u043F\u0440\u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438"}},taskIdentification:{header:"\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0437\u0430\u0434\u0430\u0447",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A TaskNotes \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043A\u0430\u043A \u0437\u0430\u0434\u0430\u0447\u0438.",identifyBy:{name:"\u0418\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E \u0442\u0435\u0433\u0443 \u0438\u043B\u0438 \u043F\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0443 frontmatter",options:{tag:"\u0422\u0435\u0433",property:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E"}},taskTag:{name:"\u0422\u0435\u0433 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0422\u0435\u0433, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043A\u0430\u043A \u0437\u0430\u0434\u0430\u0447\u0438 (\u0431\u0435\u0437 #)"},hideIdentifyingTags:{name:"\u0421\u043A\u0440\u044B\u0442\u044C \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0435 \u0442\u0435\u0433\u0438 \u0432 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u0437\u0430\u0434\u0430\u0447",description:"\u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0442\u0435\u0433\u0438, \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0442\u0435\u0433\u0443 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 (\u0432\u043A\u043B\u044E\u0447\u0430\u044F \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F, \u0442\u0430\u043A\u0438\u0435 \u043A\u0430\u043A 'task/project'), \u0431\u0443\u0434\u0443\u0442 \u0441\u043A\u0440\u044B\u0442\u044B \u0432 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u0437\u0430\u0434\u0430\u0447"},taskProperty:{name:"\u0418\u043C\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u0447\u0438",description:'\u0418\u043C\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 frontmatter (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u044F")'},taskPropertyValue:{name:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u0447\u0438",description:'\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u043A\u0430\u043A \u0437\u0430\u0434\u0430\u0447\u0443 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u0437\u0430\u0434\u0430\u0447\u0430")'}},folderManagement:{header:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0430\u043F\u043A\u0430\u043C\u0438",excludedFolders:{name:"\u0418\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0435 \u043F\u0430\u043F\u043A\u0438",description:"\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u0430\u043F\u043E\u043A \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E \u0434\u043B\u044F \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0438\u0437 \u0438\u043D\u0434\u0435\u043A\u0441\u0430\u0446\u0438\u0438 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432"}},frontmatter:{header:"Frontmatter",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430 \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0441\u044B\u043B\u043E\u043A \u0432 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430\u0445 frontmatter.",useMarkdownLinks:{name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0438 markdown \u0432\u043E frontmatter",description:"\u0413\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0438 markdown ([\u0442\u0435\u043A\u0441\u0442](\u043F\u0443\u0442\u044C)) \u0432\u043C\u0435\u0441\u0442\u043E \u0432\u0438\u043A\u0438\u0441\u0441\u044B\u043B\u043E\u043A ([[\u0441\u0441\u044B\u043B\u043A\u0430]]) \u0432 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430\u0445 frontmatter.\\n\\n\u26A0\uFE0F \u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043F\u043B\u0430\u0433\u0438\u043D 'obsidian-frontmatter-markdown-links' \u0434\u043B\u044F \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u043E\u0439 \u0440\u0430\u0431\u043E\u0442\u044B."}},taskInteraction:{header:"\u0412\u0437\u0430\u0438\u043C\u043E\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0438.",singleClick:{name:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043E\u0434\u0438\u043D\u043E\u0447\u043D\u043E\u0433\u043E \u043D\u0430\u0436\u0430\u0442\u0438\u044F",description:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u043E\u0435 \u043F\u0440\u0438 \u043E\u0434\u0438\u043D\u043E\u0447\u043D\u043E\u043C \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438"},doubleClick:{name:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0434\u0432\u043E\u0439\u043D\u043E\u0433\u043E \u043D\u0430\u0436\u0430\u0442\u0438\u044F",description:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u043E\u0435 \u043F\u0440\u0438 \u0434\u0432\u043E\u0439\u043D\u043E\u043C \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u043D\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438"},actions:{edit:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",openNote:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443",none:"\u041D\u0435\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F"}},releaseNotes:{header:"\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443",description:"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0432\u0435\u0440\u0441\u0438\u044F: {version}",showOnUpdate:{name:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443 \u043F\u043E\u0441\u043B\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0442\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443 \u043F\u0440\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0438 TaskNotes \u0434\u043E \u043D\u043E\u0432\u043E\u0439 \u0432\u0435\u0440\u0441\u0438\u0438"},viewButton:{name:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443",description:"\u0423\u0437\u043D\u0430\u0439\u0442\u0435, \u0447\u0442\u043E \u043D\u043E\u0432\u043E\u0433\u043E \u0432 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 TaskNotes",buttonText:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443"}}},taskProperties:{sections:{coreProperties:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",corePropertiesDesc:"\u0421\u0442\u0430\u0442\u0443\u0441 \u0438 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u2014 \u044D\u0442\u043E \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430, \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u044E\u0449\u0438\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0438 \u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438.",dateProperties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u0430\u0442",datePropertiesDesc:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0434\u0430\u0442\u044B \u0437\u0430\u0434\u0430\u0447.",organizationProperties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438",organizationPropertiesDesc:"\u041E\u0440\u0433\u0430\u043D\u0438\u0437\u0443\u0439\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u043E\u0432, \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432 \u0438 \u0442\u0435\u0433\u043E\u0432.",taskDetails:"\u0414\u0435\u0442\u0430\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0438",taskDetailsDesc:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0434\u0435\u0442\u0430\u043B\u0438: \u043E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F \u0438 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F.",metadataProperties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445",metadataPropertiesDesc:"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0435 \u0441\u0438\u0441\u0442\u0435\u043C\u043E\u0439 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0434\u043B\u044F \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0438\u0441\u0442\u043E\u0440\u0438\u0438 \u0437\u0430\u0434\u0430\u0447.",featureProperties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0444\u0443\u043D\u043A\u0446\u0438\u0439",featurePropertiesDesc:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u044B\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u044C\u043D\u044B\u043C\u0438 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u043C\u0438 TaskNotes, \u0442\u0430\u043A\u0438\u043C\u0438 \u043A\u0430\u043A \u0442\u0430\u0439\u043C\u0435\u0440 \u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F."},propertyCard:{propertyKey:"\u041A\u043B\u044E\u0447 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430:",default:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E:",nlpTrigger:"NLP-\u0442\u0440\u0438\u0433\u0433\u0435\u0440:",triggerChar:"\u0421\u0438\u043C\u0432\u043E\u043B-\u0442\u0440\u0438\u0433\u0433\u0435\u0440:",triggerEmpty:"\u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043F\u0443\u0441\u0442\u044B\u043C",triggerTooLong:"\u0422\u0440\u0438\u0433\u0433\u0435\u0440 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u044B\u0439 (\u043C\u0430\u043A\u0441. 10 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432)"},properties:{status:{name:"\u0421\u0442\u0430\u0442\u0443\u0441",description:"\u041E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, todo, \u0432 \u0440\u0430\u0431\u043E\u0442\u0435, \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E). \u0421\u0442\u0430\u0442\u0443\u0441 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043A\u0430\u043A \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u0430\u044F, \u0438 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u0430\u0432\u0442\u043E\u0430\u0440\u0445\u0438\u0432\u0430\u0446\u0438\u044E."},priority:{name:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",description:"\u0423\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0430\u0436\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u0438 \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438. \u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u043E\u0440\u0442\u0438\u0440\u0443\u044E\u0442\u0441\u044F \u043F\u043E \u0430\u043B\u0444\u0430\u0432\u0438\u0442\u0443 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 Bases, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u044B 1-, 2- \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u0440\u044F\u0434\u043A\u043E\u043C."},due:{name:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",description:"\u041A\u0440\u0430\u0439\u043D\u0438\u0439 \u0441\u0440\u043E\u043A, \u043A \u043A\u043E\u0442\u043E\u0440\u043E\u043C\u0443 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430. \u0417\u0430\u0434\u0430\u0447\u0438 \u043F\u043E\u0441\u043B\u0435 \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u043A\u0430\u043A \u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0435. \u0425\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u043A\u0430\u043A \u0434\u0430\u0442\u0430 \u0432 frontmatter."},scheduled:{name:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",description:"\u041A\u043E\u0433\u0434\u0430 \u0432\u044B \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u043D\u0430\u0434 \u0437\u0430\u0434\u0430\u0447\u0435\u0439. \u0412 \u043E\u0442\u043B\u0438\u0447\u0438\u0435 \u043E\u0442 \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F, \u044D\u0442\u043E \u0432\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0431\u043E\u0442\u044B. \u0417\u0430\u0434\u0430\u0447\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442\u0441\u044F \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435 \u0432 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443/\u0432\u0440\u0435\u043C\u044F."},contexts:{name:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B",description:"\u041C\u0435\u0441\u0442\u0430 \u0438\u043B\u0438 \u0443\u0441\u043B\u043E\u0432\u0438\u044F, \u0433\u0434\u0435 \u0437\u0430\u0434\u0430\u0447\u0430 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, @\u0434\u043E\u043C, @\u043E\u0444\u0438\u0441, @\u0442\u0435\u043B\u0435\u0444\u043E\u043D). \u041F\u043E\u043B\u0435\u0437\u043D\u043E \u0434\u043B\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438 \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438. \u0425\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u043A\u0430\u043A \u0441\u043F\u0438\u0441\u043E\u043A."},projects:{name:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",description:"\u0421\u0441\u044B\u043B\u043A\u0438 \u043D\u0430 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432, \u043A \u043A\u043E\u0442\u043E\u0440\u044B\u043C \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u0438\u0442 \u0437\u0430\u0434\u0430\u0447\u0430. \u0425\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u043A\u0430\u043A \u0432\u0438\u043A\u0438\u0441\u0441\u044B\u043B\u043A\u0438 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, [[\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u0430]]). \u0417\u0430\u0434\u0430\u0447\u0438 \u043C\u043E\u0433\u0443\u0442 \u043F\u0440\u0438\u043D\u0430\u0434\u043B\u0435\u0436\u0430\u0442\u044C \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0430\u043C."},tags:{name:"\u0422\u0435\u0433\u0438",description:"\u041D\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0442\u0435\u0433\u0438 Obsidian \u0434\u043B\u044F \u043A\u0430\u0442\u0435\u0433\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0437\u0430\u0434\u0430\u0447. \u0425\u0440\u0430\u043D\u044F\u0442\u0441\u044F \u0432 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0435 tags frontmatter \u0438 \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442 \u0441 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u043C\u0438 \u0442\u0435\u0433\u043E\u0432 Obsidian."},timeEstimate:{name:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041F\u0440\u0435\u0434\u043F\u043E\u043B\u0430\u0433\u0430\u0435\u043C\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043C\u0438\u043D\u0443\u0442 \u0434\u043B\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0438 \u043D\u0430\u0433\u0440\u0443\u0437\u043A\u0438. \u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u043D\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u044F\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F."},recurrence:{name:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",description:"\u0428\u0430\u0431\u043B\u043E\u043D \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447 (\u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E, \u0435\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E, \u0435\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E, \u0435\u0436\u0435\u0433\u043E\u0434\u043D\u043E \u0438\u043B\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 RRULE). \u041F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435."},recurrenceAnchor:{name:"\u042F\u043A\u043E\u0440\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F",description:"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u0441\u043F\u043E\u0441\u043E\u0431 \u0432\u044B\u0447\u0438\u0441\u043B\u0435\u043D\u0438\u044F \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F: 'scheduled' \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443, 'completion' \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0434\u0430\u0442\u0443 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F."},reminders:{name:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",description:"\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F, \u0441\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u044E\u0449\u0438\u0435 \u043F\u0435\u0440\u0435\u0434 \u0441\u0440\u043E\u043A\u0430\u043C\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0438\u043B\u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u043C\u0438 \u0434\u0430\u0442\u0430\u043C\u0438. \u0425\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u043A\u0430\u043A \u0441\u043F\u0438\u0441\u043E\u043A \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0439 \u0441 \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C \u0438 \u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u044B\u043C \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435\u043C."},title:{name:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A",description:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438. \u041C\u043E\u0436\u0435\u0442 \u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0441\u044F \u0432 frontmatter \u0438\u043B\u0438 \u0432 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 (\u043A\u043E\u0433\u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E \xAB\u0425\u0440\u0430\u043D\u0438\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0432 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430\xBB)."},dateCreated:{name:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",description:"\u041C\u0435\u0442\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438. \u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u043F\u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0443 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F."},dateModified:{name:"\u0414\u0430\u0442\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",description:"\u041C\u0435\u0442\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0435\u0433\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438. \u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043B\u044E\u0431\u043E\u0433\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u0437\u0430\u0434\u0430\u0447\u0438."},completedDate:{name:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",description:"\u041C\u0435\u0442\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044B\u043B\u0430 \u043E\u0442\u043C\u0435\u0447\u0435\u043D\u0430 \u043A\u0430\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u0430\u044F. \u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043D\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u043E\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u0435."},archiveTag:{name:"\u0422\u0435\u0433 \u0430\u0440\u0445\u0438\u0432\u0430",description:"\u0422\u0435\u0433, \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u0439 \u043A \u0437\u0430\u0434\u0430\u0447\u0430\u043C \u043F\u0440\u0438 \u0430\u0440\u0445\u0438\u0432\u0430\u0446\u0438\u0438. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 \u0432 \u043F\u0430\u043F\u043A\u0443 \u0430\u0440\u0445\u0438\u0432\u0430."},timeEntries:{name:"\u0417\u0430\u043F\u0438\u0441\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u0417\u0430\u043F\u0438\u0441\u0438 \u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u0443\u0447\u0451\u0442\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u041A\u0430\u0436\u0434\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0445\u0440\u0430\u043D\u0438\u0442 \u043C\u0435\u0442\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043D\u0430\u0447\u0430\u043B\u0430 \u0438 \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0440\u0430\u0441\u0447\u0451\u0442\u0430 \u043E\u0431\u0449\u0435\u0433\u043E \u0437\u0430\u0442\u0440\u0430\u0447\u0435\u043D\u043D\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438."},completeInstances:{name:"\u0417\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u044B\u0435 \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B",description:"\u0418\u0441\u0442\u043E\u0440\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447. \u0425\u0440\u0430\u043D\u0438\u0442 \u0434\u0430\u0442\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u0430 \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u043E\u0442\u0432\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0434\u0443\u0431\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F."},skippedInstances:{name:"\u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B",description:"\u041F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0435 \u0432\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447. \u0425\u0440\u0430\u043D\u0438\u0442 \u0434\u0430\u0442\u044B \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u043E\u0432, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u044B\u043B\u0438 \u043F\u0440\u043E\u043F\u0443\u0449\u0435\u043D\u044B, \u0430 \u043D\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u044B."},blockedBy:{name:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430",description:"\u0421\u0441\u044B\u043B\u043A\u0438 \u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0434\u043E\u043B\u0436\u043D\u044B \u0431\u044B\u0442\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u044B \u0434\u043E \u044D\u0442\u043E\u0439. \u0425\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u043A\u0430\u043A \u0432\u0438\u043A\u0438\u0441\u0441\u044B\u043B\u043A\u0438. \u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440."},pomodoros:{name:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",description:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0451\u043D\u043D\u044B\u0445 \u0441\u0435\u0430\u043D\u0441\u043E\u0432 \u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E. \u041A\u043E\u0433\u0434\u0430 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0445 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u043D\u0430 \xAB\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438\xBB, \u044D\u0442\u043E \u0437\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F \u0432 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0432\u043C\u0435\u0441\u0442\u043E \u0444\u0430\u0439\u043B\u043E\u0432 \u0437\u0430\u0434\u0430\u0447."},icsEventId:{name:"ID \u0441\u043E\u0431\u044B\u0442\u0438\u044F ICS",description:"\u0423\u043D\u0438\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0441\u0432\u044F\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0441 \u0441\u043E\u0431\u044B\u0442\u0438\u0435\u043C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F ICS. \u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F."},icsEventTag:{name:"\u0422\u0435\u0433 \u0441\u043E\u0431\u044B\u0442\u0438\u044F ICS",description:"\u0422\u0435\u0433, \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u044E\u0449\u0438\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0438, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0435 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F ICS. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u043E\u0442\u043B\u0438\u0447\u0438\u044F \u0437\u0430\u043C\u0435\u0442\u043E\u043A, \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0451\u043C, \u043E\u0442 \u043E\u0431\u044B\u0447\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447."}},statusCard:{valuesHeader:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430"},priorityCard:{valuesHeader:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430"},projectsCard:{defaultProjects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E:",useParentNote:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0440\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u043A\u0430\u043A \u043F\u0440\u043E\u0435\u043A\u0442:",noDefaultProjects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u044B",autosuggestFilters:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A",customizeDisplay:"\u041D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435",filtersOn:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u044B"},titleCard:{storeTitleInFilename:"\u0425\u0440\u0430\u043D\u0438\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0432 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430:",storedInFilename:"\u0425\u0440\u0430\u043D\u0438\u0442\u0441\u044F \u0432 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430",filenameUpdatesWithTitle:"\u0418\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u0431\u0443\u0434\u0435\u0442 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430 \u0437\u0430\u0434\u0430\u0447\u0438.",filenameFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430:",customTemplate:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0448\u0430\u0431\u043B\u043E\u043D:"},tagsCard:{nativeObsidianTags:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0435 \u0442\u0435\u0433\u0438 Obsidian"},remindersCard:{defaultReminders:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},taskStatuses:{header:"\u0421\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u042D\u0442\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u0443\u044E\u0442 \u0436\u0438\u0437\u043D\u0435\u043D\u043D\u044B\u0439 \u0446\u0438\u043A\u043B \u0437\u0430\u0434\u0430\u0447 \u0438 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u044E\u0442, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u0447\u0438\u0442\u0430\u044E\u0442\u0441\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u043C\u0438.",howTheyWork:{title:"\u041A\u0430\u043A \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u044B:",value:'\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0445\u0440\u0430\u043D\u044F\u0449\u0438\u0439\u0441\u044F \u0432 \u0444\u0430\u0439\u043B\u0430\u0445 \u0437\u0430\u0434\u0430\u0447 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u0432-\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435")',label:'\u041C\u0435\u0442\u043A\u0430: \u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u0412 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435")',color:"\u0426\u0432\u0435\u0442: \u0426\u0432\u0435\u0442 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0434\u043B\u044F \u0442\u043E\u0447\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0438 \u0437\u043D\u0430\u0447\u043A\u043E\u0432",icon:'\u0418\u043A\u043E\u043D\u043A\u0430: \u041E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E\u0435 \u0438\u043C\u044F Lucide-\u0438\u043A\u043E\u043D\u043A\u0438 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0432\u043C\u0435\u0441\u0442\u043E \u0446\u0432\u0435\u0442\u043D\u043E\u0439 \u0442\u043E\u0447\u043A\u0438 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "check", "circle", "clock"). \u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0438\u043A\u043E\u043D\u043A\u0438 \u043D\u0430 lucide.dev',completed:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E: \u041F\u0440\u0438 \u043E\u0442\u043C\u0435\u0442\u043A\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u044D\u0442\u0438\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C \u0441\u0447\u0438\u0442\u0430\u044E\u0442\u0441\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u043C\u0438 \u0438 \u043C\u043E\u0433\u0443\u0442 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u043E-\u0440\u0430\u0437\u043D\u043E\u043C\u0443",autoArchive:"\u0410\u0432\u0442\u043E\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435: \u041F\u0440\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0431\u0443\u0434\u0443\u0442 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043F\u043E\u0441\u043B\u0435 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043A\u0438 (1-1440 \u043C\u0438\u043D\u0443\u0442)",orderNote:"\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u043D\u0438\u0436\u0435 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u0435\u0442 \u043F\u043E\u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438 \u043C\u0435\u0436\u0434\u0443 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u043C\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0435\u043C \u043D\u0430 \u0437\u043D\u0430\u0447\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447."},addNew:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0441\u0442\u0430\u0442\u0443\u0441",description:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441"},validationNote:'\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435: \u0423 \u0432\u0430\u0441 \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043C\u0438\u043D\u0438\u043C\u0443\u043C 2 \u0441\u0442\u0430\u0442\u0443\u0441\u0430, \u0438 \u043C\u0438\u043D\u0438\u043C\u0443\u043C \u043E\u0434\u0438\u043D \u0441\u0442\u0430\u0442\u0443\u0441 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043E\u0442\u043C\u0435\u0447\u0435\u043D \u043A\u0430\u043A "\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0439".',emptyState:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430.",emptyStateButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441",fields:{value:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435:",label:"\u041C\u0435\u0442\u043A\u0430:",color:"\u0426\u0432\u0435\u0442:",icon:"\u0418\u043A\u043E\u043D\u043A\u0430:",completed:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E:",autoArchive:"\u0410\u0432\u0442\u043E\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435:",delayMinutes:"\u0417\u0430\u0434\u0435\u0440\u0436\u043A\u0430 (\u043C\u0438\u043D\u0443\u0442\u044B):"},placeholders:{value:"\u0432-\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435",label:"\u0412 \u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0435",icon:"check, circle, clock"},badges:{completed:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E"},deleteConfirm:'\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 "{label}"?'},taskPriorities:{header:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B \u0437\u0430\u0434\u0430\u0447",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0443\u0440\u043E\u0432\u043D\u0438 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430, \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u0412 v4.0+ \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B \u0441\u043E\u0440\u0442\u0438\u0440\u0443\u044E\u0442\u0441\u044F \u0432 \u0430\u043B\u0444\u0430\u0432\u0438\u0442\u043D\u043E\u043C \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u043F\u043E \u0438\u0445 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044E \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 Bases.",howTheyWork:{title:"\u041A\u0430\u043A \u0440\u0430\u0431\u043E\u0442\u0430\u044E\u0442 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B:",value:'\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u0412\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0445\u0440\u0430\u043D\u044F\u0449\u0438\u0439\u0441\u044F \u0432 \u0444\u0430\u0439\u043B\u0430\u0445 \u0437\u0430\u0434\u0430\u0447. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043F\u0440\u0435\u0444\u0438\u043A\u0441\u044B \u0432\u0440\u043E\u0434\u0435 "1-\u0441\u0440\u043E\u0447\u043D\u044B\u0439", "2-\u0432\u044B\u0441\u043E\u043A\u0438\u0439" \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u0440\u044F\u0434\u043A\u043E\u043C \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 Bases.',label:'\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u0430\u044F \u043C\u0435\u0442\u043A\u0430: \u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "\u0412\u044B\u0441\u043E\u043A\u0438\u0439 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442")',color:"\u0426\u0432\u0435\u0442: \u0426\u0432\u0435\u0442 \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440\u0430 \u0434\u043B\u044F \u0442\u043E\u0447\u043A\u0438 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430 \u0438 \u0437\u043D\u0430\u0447\u043A\u043E\u0432",weight:"\u0412\u0435\u0441: \u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043B\u044F \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 (\u0431\u043E\u043B\u0435\u0435 \u0432\u044B\u0441\u043E\u043A\u0438\u0435 \u0432\u0435\u0441\u0430 \u043F\u043E\u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043F\u0435\u0440\u0432\u044B\u043C\u0438 \u0432 \u0441\u043F\u0438\u0441\u043A\u0430\u0445)",weightNote:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u043E\u0440\u0442\u0438\u0440\u0443\u044E\u0442\u0441\u044F \u043F\u043E \u0432\u0435\u0441\u0443 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430 \u0432 \u0443\u0431\u044B\u0432\u0430\u044E\u0449\u0435\u043C \u043F\u043E\u0440\u044F\u0434\u043A\u0435 (\u043D\u0430\u0438\u0432\u044B\u0441\u0448\u0438\u0439 \u0432\u0435\u0441 \u043F\u0435\u0440\u0432\u044B\u043C). \u0412\u0435\u0441\u0430 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043B\u044E\u0431\u044B\u043C\u0438 \u043F\u043E\u043B\u043E\u0436\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u043C\u0438 \u0447\u0438\u0441\u043B\u0430\u043C\u0438."},addNew:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",description:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430 \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442"},validationNote:"\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435: \u0423 \u0432\u0430\u0441 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043C\u0438\u043D\u0438\u043C\u0443\u043C 1 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442. \u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B \u0441\u043E\u0440\u0442\u0438\u0440\u0443\u044E\u0442\u0441\u044F \u0432 \u0430\u043B\u0444\u0430\u0432\u0438\u0442\u043D\u043E\u043C \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u043F\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044E \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 Bases.",emptyState:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u044B \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442 \u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430.",emptyStateButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",fields:{value:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435:",label:"\u041C\u0435\u0442\u043A\u0430:",color:"\u0426\u0432\u0435\u0442:",weight:"\u0412\u0435\u0441:"},placeholders:{value:"\u0432\u044B\u0441\u043E\u043A\u0438\u0439",label:"\u0412\u044B\u0441\u043E\u043A\u0438\u0439 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442"},weightLabel:"\u0412\u0435\u0441: {weight}",deleteConfirm:"\u0423 \u0432\u0430\u0441 \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043C\u0438\u043D\u0438\u043C\u0443\u043C \u043E\u0434\u0438\u043D \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",deleteTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442"},fieldMapping:{header:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0435\u0439",warning:"\u26A0\uFE0F \u041F\u0440\u0435\u0434\u0443\u043F\u0440\u0435\u0436\u0434\u0435\u043D\u0438\u0435: TaskNotes \u0431\u0443\u0434\u0435\u0442 \u0427\u0418\u0422\u0410\u0422\u042C \u0418 \u0417\u0410\u041F\u0418\u0421\u042B\u0412\u0410\u0422\u042C, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u044D\u0442\u0438 \u0438\u043C\u0435\u043D\u0430 \u0441\u0432\u043E\u0439\u0441\u0442\u0432. \u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0438\u0445 \u043F\u043E\u0441\u043B\u0435 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447 \u043C\u043E\u0436\u0435\u0442 \u0432\u044B\u0437\u0432\u0430\u0442\u044C \u043D\u0435\u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F.",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435, \u043A\u0430\u043A\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 frontmatter TaskNotes \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043F\u043E\u043B\u044F.",resetButton:{name:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0435\u0439",description:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0432\u0441\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0435\u0439 \u043A \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",buttonText:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043A \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044F\u043C"},notices:{resetSuccess:"\u0421\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0435\u0439 \u0441\u0431\u0440\u043E\u0448\u0435\u043D\u044B \u043A \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044F\u043C",resetFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u043B\u0435\u0439",updateFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u044F \u0434\u043B\u044F {label}. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430."},table:{fieldHeader:"\u041F\u043E\u043B\u0435 TaskNotes",propertyHeader:"\u0412\u0430\u0448\u0435 \u0438\u043C\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430"},fields:{title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",status:"\u0421\u0442\u0430\u0442\u0443\u0441",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",due:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduled:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",contexts:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B",projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",timeEstimate:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",recurrence:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",dateCreated:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",completedDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",dateModified:"\u0414\u0430\u0442\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",archiveTag:"\u0422\u0435\u0433 \u0430\u0440\u0445\u0438\u0432\u0430",timeEntries:"\u0417\u0430\u043F\u0438\u0441\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",completeInstances:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0435 \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B",blockedBy:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043E",pomodoros:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",icsEventId:"ID \u0441\u043E\u0431\u044B\u0442\u0438\u044F ICS",icsEventTag:"\u0422\u0435\u0433 \u0441\u043E\u0431\u044B\u0442\u0438\u044F ICS",reminders:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F"}},customUserFields:{header:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u043E\u043B\u044F",description:"\u041E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 frontmatter \u0434\u043B\u044F \u043F\u043E\u044F\u0432\u043B\u0435\u043D\u0438\u044F \u043A\u0430\u043A \u0442\u0438\u043F\u043E-\u043E\u0441\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044B\u0435 \u0432\u0430\u0440\u0438\u0430\u043D\u0442\u044B \u0444\u0438\u043B\u044C\u0442\u0440\u0430 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445. \u041A\u0430\u0436\u0434\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F, \u0418\u043C\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430, \u0422\u0438\u043F.",addNew:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435",description:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u043E\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435, \u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0431\u0443\u0434\u0435\u0442 \u043F\u043E\u044F\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u0432 \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0445 \u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435"},emptyState:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u043E\u043B\u044F \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E\u043B\u0435 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0441\u0432\u043E\u0439\u0441\u0442\u0432 \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0437\u0430\u0434\u0430\u0447.",emptyStateButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u043B\u0435",fields:{displayName:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F:",propertyKey:"\u041A\u043B\u044E\u0447 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430:",type:"\u0422\u0438\u043F:",defaultValue:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E:"},placeholders:{displayName:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u043E\u0435 \u0438\u043C\u044F",propertyKey:"\u0438\u043C\u044F-\u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",defaultValue:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",defaultValueList:"\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E (\u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E)"},types:{text:"\u0422\u0435\u043A\u0441\u0442",number:"\u0427\u0438\u0441\u043B\u043E",boolean:"\u041B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u0438\u0439",date:"\u0414\u0430\u0442\u0430",list:"\u0421\u043F\u0438\u0441\u043E\u043A"},defaultNames:{unnamedField:"\u0411\u0435\u0437\u044B\u043C\u044F\u043D\u043D\u043E\u0435 \u043F\u043E\u043B\u0435",noKey:"\u0431\u0435\u0437-\u043A\u043B\u044E\u0447\u0430"},deleteTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u043B\u0435",autosuggestFilters:{header:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A (\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0435)",description:"\u0424\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u044F \u0444\u0430\u0439\u043B\u043E\u0432, \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0432 \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430\u0445 \u0434\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u043F\u043E\u043B\u044F"}}},appearance:{taskCards:{header:"\u041A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u0437\u0430\u0434\u0430\u0447",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043A\u0430\u0440\u0442\u043E\u0447\u0435\u043A \u0437\u0430\u0434\u0430\u0447 \u0432\u043E \u0432\u0441\u0435\u0445 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445.",defaultVisibleProperties:{name:"\u0412\u0438\u0434\u0438\u043C\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430 \u043F\u043E\u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043D\u0430 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E."},propertyGroups:{coreProperties:"\u041E\u0421\u041D\u041E\u0412\u041D\u042B\u0415 \u0421\u0412\u041E\u0419\u0421\u0422\u0412\u0410",organization:"\u041E\u0420\u0413\u0410\u041D\u0418\u0417\u0410\u0426\u0418\u042F",customProperties:"\u041F\u041E\u041B\u042C\u0417\u041E\u0412\u0410\u0422\u0415\u041B\u042C\u0421\u041A\u0418\u0415 \u0421\u0412\u041E\u0419\u0421\u0422\u0412\u0410"},properties:{status:"\u0422\u043E\u0447\u043A\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430",priority:"\u0422\u043E\u0447\u043A\u0430 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430",due:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduled:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",timeEstimate:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",totalTrackedTime:"\u041E\u0431\u0449\u0435\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0435\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",recurrence:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",completedDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",createdDate:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",modifiedDate:"\u0414\u0430\u0442\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",contexts:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B",tags:"\u0422\u0435\u0433\u0438",blocked:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430",blocking:"\u0411\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442"}},taskFilenames:{header:"\u0418\u043C\u0435\u043D\u0430 \u0444\u0430\u0439\u043B\u043E\u0432 \u0437\u0430\u0434\u0430\u0447",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u0438\u0435 \u0444\u0430\u0439\u043B\u043E\u0432 \u0437\u0430\u0434\u0430\u0447 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438.",storeTitleInFilename:{name:"\u0425\u0440\u0430\u043D\u0438\u0442\u044C \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0432 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430",description:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043A\u0430\u043A \u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430. \u0418\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u0431\u0443\u0434\u0435\u0442 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438 (\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F)."},filenameFormat:{name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430",description:"\u041A\u0430\u043A \u0434\u043E\u043B\u0436\u043D\u044B \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0438\u043C\u0435\u043D\u0430 \u0444\u0430\u0439\u043B\u043E\u0432 \u0437\u0430\u0434\u0430\u0447",options:{title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 (\u041D\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0435\u043C\u043E\u0435)",zettel:"\u0424\u043E\u0440\u043C\u0430\u0442 Zettelkasten (\u0413\u0413\u041C\u041C\u0414\u0414 + base36 \u0441\u0435\u043A\u0443\u043D\u0434\u044B \u0441 \u043F\u043E\u043B\u0443\u043D\u043E\u0447\u0438)",timestamp:"\u041F\u043E\u043B\u043D\u0430\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043C\u0435\u0442\u043A\u0430 (\u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414-\u0427\u0427\u041C\u041C\u0421\u0421)",custom:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0448\u0430\u0431\u043B\u043E\u043D"}},customTemplate:{name:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0448\u0430\u0431\u043B\u043E\u043D \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430",description:"\u0428\u0430\u0431\u043B\u043E\u043D \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0438\u043C\u0435\u043D \u0444\u0430\u0439\u043B\u043E\u0432. \u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u043F\u0435\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435: {title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435: {dueDate} \u0438 {scheduledDate} \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 \u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414 \u0438 \u0431\u0443\u0434\u0443\u0442 \u043F\u0443\u0441\u0442\u044B\u043C\u0438, \u0435\u0441\u043B\u0438 \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u044B."}},displayFormatting:{header:"\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0434\u0430\u0442, \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0434\u0430\u043D\u043D\u044B\u0445 \u0432 \u043F\u043B\u0430\u0433\u0438\u043D\u0435.",timeFormat:{name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u044F \u0432 12-\u0447\u0430\u0441\u043E\u0432\u043E\u043C \u0438\u043B\u0438 24-\u0447\u0430\u0441\u043E\u0432\u043E\u043C \u0444\u043E\u0440\u043C\u0430\u0442\u0435 \u0432 \u043F\u043B\u0430\u0433\u0438\u043D\u0435",options:{twelveHour:"12-\u0447\u0430\u0441\u043E\u0432\u043E\u0439 (AM/PM)",twentyFourHour:"24-\u0447\u0430\u0441\u043E\u0432\u043E\u0439"}}},calendarView:{header:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0432\u043D\u0435\u0448\u043D\u0438\u0439 \u0432\u0438\u0434 \u0438 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F.",defaultView:{name:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F, \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u043C\u043E\u0435 \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u0432\u043A\u043B\u0430\u0434\u043A\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",options:{monthGrid:"\u0421\u0435\u0442\u043A\u0430 \u043C\u0435\u0441\u044F\u0446\u0430",weekTimeline:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043B\u0438\u043D\u0438\u044F \u043D\u0435\u0434\u0435\u043B\u0438",dayTimeline:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043B\u0438\u043D\u0438\u044F \u0434\u043D\u044F",yearView:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0433\u043E\u0434\u0430",customMultiDay:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u043C\u043D\u043E\u0433\u043E\u0434\u043D\u0435\u0432\u043D\u044B\u0439"}},customDayCount:{name:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u043D\u0435\u0439 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F",description:"\u041A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u0434\u043D\u0435\u0439 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0432 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u043C \u043C\u043D\u043E\u0433\u043E\u0434\u043D\u0435\u0432\u043D\u043E\u043C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438",placeholder:"3"},firstDayOfWeek:{name:"\u041F\u0435\u0440\u0432\u044B\u0439 \u0434\u0435\u043D\u044C \u043D\u0435\u0434\u0435\u043B\u0438",description:"\u041A\u0430\u043A\u043E\u0439 \u0434\u0435\u043D\u044C \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0439 \u043A\u043E\u043B\u043E\u043D\u043A\u043E\u0439 \u0432 \u043D\u0435\u0434\u0435\u043B\u044C\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445"},showWeekends:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u044B\u0445\u043E\u0434\u043D\u044B\u0435",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u044B\u0445\u043E\u0434\u043D\u044B\u0435 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F"},showWeekNumbers:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043D\u043E\u043C\u0435\u0440\u0430 \u043D\u0435\u0434\u0435\u043B\u044C",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043D\u043E\u043C\u0435\u0440\u0430 \u043D\u0435\u0434\u0435\u043B\u044C \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F"},showTodayHighlight:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u044B\u0434\u0435\u043B\u0435\u043D\u0438\u0435 \u0441\u0435\u0433\u043E\u0434\u043D\u044F",description:"\u0412\u044B\u0434\u0435\u043B\u044F\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0434\u0435\u043D\u044C \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F"},showCurrentTimeIndicator:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0438\u043D\u0434\u0438\u043A\u0430\u0442\u043E\u0440 \u0442\u0435\u043A\u0443\u0449\u0435\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u043B\u0438\u043D\u0438\u044E, \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0443\u044E \u0442\u0435\u043A\u0443\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043B\u0438\u043D\u0438\u0438"},selectionMirror:{name:"\u0417\u0435\u0440\u043A\u0430\u043B\u043E \u0432\u044B\u0431\u043E\u0440\u0430",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0432\u0438\u0437\u0443\u0430\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043F\u0440\u0438 \u043F\u0435\u0440\u0435\u0442\u0430\u0441\u043A\u0438\u0432\u0430\u043D\u0438\u0438 \u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u043E\u0432"},calendarLocale:{name:"\u041B\u043E\u043A\u0430\u043B\u044C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",description:'\u041B\u043E\u043A\u0430\u043B\u044C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F \u0434\u043B\u044F \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u0430\u0442 \u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u043D\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u044B (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, "en", "fa" \u0434\u043B\u044F \u0444\u0430\u0440\u0441\u0438/\u043F\u0435\u0440\u0441\u0438\u0434\u0441\u043A\u043E\u0433\u043E, "de" \u0434\u043B\u044F \u043D\u0435\u043C\u0435\u0446\u043A\u043E\u0433\u043E). \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u044F \u0438\u0437 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.',placeholder:"\u0410\u0432\u0442\u043E\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0435\u043D\u0438\u0435",invalidLocale:"\u041D\u0435\u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u0430\u044F \u043B\u043E\u043A\u0430\u043B\u044C. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u044F\u0437\u044B\u043A\u043E\u0432\u043E\u0439 \u0442\u0435\u0433 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, 'ru', 'en', 'fr-FR')."}},defaultEventVisibility:{header:"\u0412\u0438\u0434\u0438\u043C\u043E\u0441\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435, \u043A\u0430\u043A\u0438\u0435 \u0442\u0438\u043F\u044B \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0432\u0438\u0434\u0438\u043C\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F. \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0438 \u0432\u0441\u0435 \u0435\u0449\u0435 \u043C\u043E\u0433\u0443\u0442 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0438\u0445 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F.",showScheduledTasks:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u043C\u0438 \u0434\u0430\u0442\u0430\u043C\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},showDueDates:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},showDueWhenScheduled:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u0440\u043E\u043A\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0434\u0430\u0436\u0435 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0443\u0436\u0435 \u0438\u043C\u0435\u044E\u0442 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0434\u0430\u0442\u044B"},showTimeEntries:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},showRecurringTasks:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},showICSEvents:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F ICS",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0438\u0437 \u043F\u043E\u0434\u043F\u0438\u0441\u043E\u043A ICS \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"}},timeSettings:{header:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0441\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043B\u0438\u043D\u0438\u0438.",timeSlotDuration:{name:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u0442\u0430",description:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0441\u043B\u043E\u0442\u0430 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043B\u0438\u043D\u0438\u0438",options:{fifteenMinutes:"15 \u043C\u0438\u043D\u0443\u0442",thirtyMinutes:"30 \u043C\u0438\u043D\u0443\u0442",sixtyMinutes:"60 \u043C\u0438\u043D\u0443\u0442"}},startTime:{name:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",description:"\u0421\u0430\u043C\u043E\u0435 \u0440\u0430\u043D\u043D\u0435\u0435 \u0432\u0440\u0435\u043C\u044F, \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u043C\u043E\u0435 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 (\u0444\u043E\u0440\u043C\u0430\u0442 \u0427\u0427:\u041C\u041C)",placeholder:"06:00"},endTime:{name:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F",description:"\u0421\u0430\u043C\u043E\u0435 \u043F\u043E\u0437\u0434\u043D\u0435\u0435 \u0432\u0440\u0435\u043C\u044F, \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u043C\u043E\u0435 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 (\u0444\u043E\u0440\u043C\u0430\u0442 \u0427\u0427:\u041C\u041C)",placeholder:"22:00"},initialScrollTime:{name:"\u041D\u0430\u0447\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438",description:"\u0412\u0440\u0435\u043C\u044F \u0434\u043B\u044F \u043F\u0440\u043E\u043A\u0440\u0443\u0442\u043A\u0438 \u043F\u0440\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u043B\u0438\u043D\u0438\u0438 (\u0444\u043E\u0440\u043C\u0430\u0442 \u0427\u0427:\u041C\u041C)",placeholder:"09:00"},eventMinHeight:{name:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u044B\u0441\u043E\u0442\u0430 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",description:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0432\u044B\u0441\u043E\u0442\u0430 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0432 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u0445 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0448\u043A\u0430\u043B\u044B (\u0432 \u043F\u0438\u043A\u0441\u0435\u043B\u044F\u0445)",placeholder:"15"}},uiElements:{header:"\u042D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.",showTrackedTasksInStatusBar:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0441\u0442\u0440\u043E\u043A\u0435 \u0441\u043E\u0441\u0442\u043E\u044F\u043D\u0438\u044F Obsidian"},showProjectSubtasksWidget:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447 \u043F\u0440\u043E\u0435\u043A\u0442\u0430",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442, \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043B\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u0430"},projectSubtasksPosition:{name:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447 \u043F\u0440\u043E\u0435\u043A\u0442\u0430",description:"\u0413\u0434\u0435 \u0440\u0430\u0437\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447 \u043F\u0440\u043E\u0435\u043A\u0442\u0430",options:{top:"\u0412\u0435\u0440\u0445 \u0437\u0430\u043C\u0435\u0442\u043A\u0438",bottom:"\u041D\u0438\u0437 \u0437\u0430\u043C\u0435\u0442\u043A\u0438"}},showRelationshipsWidget:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442 \u0441\u0432\u044F\u0437\u0435\u0439",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442, \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u044E\u0449\u0438\u0439 \u0432\u0441\u0435 \u0441\u0432\u044F\u0437\u0438 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 (\u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438, \u043F\u0440\u043E\u0435\u043A\u0442\u044B, \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438)"},relationshipsPosition:{name:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u0441\u0432\u044F\u0437\u0435\u0439",description:"\u0413\u0434\u0435 \u0440\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0438\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442 \u0441\u0432\u044F\u0437\u0435\u0439",options:{top:"\u0412\u0432\u0435\u0440\u0445\u0443 \u0437\u0430\u043C\u0435\u0442\u043A\u0438",bottom:"\u0412\u043D\u0438\u0437\u0443 \u0437\u0430\u043C\u0435\u0442\u043A\u0438"}},showTaskCardInNote:{name:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0437\u0430\u043C\u0435\u0442\u043A\u0435",description:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C \u0432\u0438\u0434\u0436\u0435\u0442 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0432\u0435\u0440\u0445\u043D\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0437\u0430\u0434\u0430\u0447 \u0441 \u0434\u0435\u0442\u0430\u043B\u044F\u043C\u0438 \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F\u043C\u0438 \u0437\u0430\u0434\u0430\u0447\u0438"},showExpandableSubtasks:{name:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u0435\u043C\u044B\u0435 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438",description:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u0435/\u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u0435 \u0440\u0430\u0437\u0434\u0435\u043B\u043E\u0432 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447 \u0432 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u0437\u0430\u0434\u0430\u0447"},subtaskChevronPosition:{name:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u0448\u0435\u0432\u0440\u043E\u043D\u0430 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447",description:"\u041F\u043E\u0437\u0438\u0446\u0438\u044F \u0448\u0435\u0432\u0440\u043E\u043D\u043E\u0432 \u0440\u0430\u0441\u043A\u0440\u044B\u0442\u0438\u044F/\u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u0432 \u043A\u0430\u0440\u0442\u043E\u0447\u043A\u0430\u0445 \u0437\u0430\u0434\u0430\u0447",options:{left:"\u041B\u0435\u0432\u0430\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430",right:"\u041F\u0440\u0430\u0432\u0430\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430"}},viewsButtonAlignment:{name:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439",description:"\u0412\u044B\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u043D\u0438\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439/\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432 \u0432 \u0438\u043D\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0437\u0430\u0434\u0430\u0447",options:{left:"\u041B\u0435\u0432\u0430\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430",right:"\u041F\u0440\u0430\u0432\u0430\u044F \u0441\u0442\u043E\u0440\u043E\u043D\u0430"}}},projectAutosuggest:{header:"\u0410\u0432\u0442\u043E\u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432 \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447.",requiredTags:{name:"\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0442\u0435\u0433\u0438",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0441 \u043B\u044E\u0431\u044B\u043C \u0438\u0437 \u044D\u0442\u0438\u0445 \u0442\u0435\u0433\u043E\u0432 (\u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E). \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u043F\u043E\u043A\u0430\u0437\u0430 \u0432\u0441\u0435\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A.",placeholder:"\u043F\u0440\u043E\u0435\u043A\u0442, \u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439, \u0432\u0430\u0436\u043D\u044B\u0439"},includeFolders:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0430\u043F\u043A\u0438",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0432 \u044D\u0442\u0438\u0445 \u043F\u0430\u043F\u043A\u0430\u0445 (\u043F\u0443\u0442\u0438 \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E). \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u043F\u043E\u043A\u0430\u0437\u0430 \u0432\u0441\u0435\u0445 \u043F\u0430\u043F\u043E\u043A.",placeholder:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B/, \u0420\u0430\u0431\u043E\u0442\u0430/\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0435, \u041B\u0438\u0447\u043D\u043E\u0435"},requiredPropertyKey:{name:"\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",description:"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u043C\u0435\u0442\u043A\u0438, \u0433\u0434\u0435 \u044D\u0442\u043E \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E frontmatter \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044E \u043D\u0438\u0436\u0435. \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F.",placeholder:"\u0442\u0438\u043F"},requiredPropertyValue:{name:"\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",description:"\u0422\u043E\u043B\u044C\u043A\u043E \u0437\u0430\u043C\u0435\u0442\u043A\u0438, \u0433\u0434\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0440\u0430\u0432\u043D\u043E \u044D\u0442\u043E\u043C\u0443 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044E, \u043F\u0440\u0435\u0434\u043B\u0430\u0433\u0430\u044E\u0442\u0441\u044F. \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u044F \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430.",placeholder:"\u043F\u0440\u043E\u0435\u043A\u0442"},customizeDisplay:{name:"\u041D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439",description:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043E\u043F\u0446\u0438\u0438 \u0434\u043B\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432 \u0438 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u043E\u043D\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u044E\u0442."},enableFuzzyMatching:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0435\u0447\u0435\u0442\u043A\u043E\u0435 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435",description:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u043E\u043F\u0435\u0447\u0430\u0442\u043A\u0438 \u0438 \u0447\u0430\u0441\u0442\u0438\u0447\u043D\u044B\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F \u0432 \u043F\u043E\u0438\u0441\u043A\u0435 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432. \u041C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u043C\u0435\u0434\u043B\u0435\u043D\u043D\u0435\u0435 \u0432 \u0431\u043E\u043B\u044C\u0448\u0438\u0445 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430\u0445."},displayRowsHelp:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0434\u043E 3 \u0441\u0442\u0440\u043E\u043A \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u0434\u043B\u044F \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u044F \u043F\u0440\u043E\u0435\u043A\u0442\u0430.",displayRows:{row1:{name:"\u0421\u0442\u0440\u043E\u043A\u0430 1",description:"\u0424\u043E\u0440\u043C\u0430\u0442: {\u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E|\u0444\u043B\u0430\u0433\u0438}. \u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430: title, aliases, file.path, file.parent. \u0424\u043B\u0430\u0433\u0438: n(\u041C\u0435\u0442\u043A\u0430) \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u043C\u0435\u0442\u043A\u0443, s \u0434\u0435\u043B\u0430\u0435\u0442 \u043F\u043E\u0438\u0441\u043A\u043E\u0432\u044B\u043C. \u041F\u0440\u0438\u043C\u0435\u0440: {title|n(\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435)|s}",placeholder:"{title|n(\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435)}"},row2:{name:"\u0421\u0442\u0440\u043E\u043A\u0430 2 (\u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E)",description:"\u041E\u0431\u0449\u0438\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u044B: {aliases|n(\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C\u044B)}, {file.parent|n(\u041F\u0430\u043F\u043A\u0430)}, literal:\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0442\u0435\u043A\u0441\u0442",placeholder:"{aliases|n(\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C\u044B)}"},row3:{name:"\u0421\u0442\u0440\u043E\u043A\u0430 3 (\u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E)",description:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u0430\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F, \u0442\u0430\u043A\u0430\u044F \u043A\u0430\u043A {file.path|n(\u041F\u0443\u0442\u044C)} \u0438\u043B\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u043E\u043B\u044F frontmatter",placeholder:"{file.path|n(\u041F\u0443\u0442\u044C)}"}},quickReference:{header:"\u0411\u044B\u0441\u0442\u0440\u0430\u044F \u0441\u043F\u0440\u0430\u0432\u043A\u0430",properties:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430: title, aliases, file.path, file.parent \u0438\u043B\u0438 \u043B\u044E\u0431\u043E\u0435 \u043F\u043E\u043B\u0435 frontmatter",labels:'\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043C\u0435\u0442\u043A\u0438: {title|n(\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435)} \u2192 "\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435: \u041C\u043E\u0439 \u043F\u0440\u043E\u0435\u043A\u0442"',searchable:"\u0421\u0434\u0435\u043B\u0430\u0442\u044C \u043F\u043E\u0438\u0441\u043A\u043E\u0432\u044B\u043C: {description|s} \u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432 + \u043F\u043E\u0438\u0441\u043A",staticText:"\u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0442\u0435\u043A\u0441\u0442: literal:\u041C\u043E\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0430\u044F \u043C\u0435\u0442\u043A\u0430",alwaysSearchable:"\u0418\u043C\u044F \u0444\u0430\u0439\u043B\u0430, \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0438 \u043F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C\u044B \u0432\u0441\u0435\u0433\u0434\u0430 \u043F\u043E\u0438\u0441\u043A\u043E\u0432\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E."}},dataStorage:{name:"\u041C\u0435\u0441\u0442\u043E \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F",description:"\u0413\u0434\u0435 \u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0441\u0442\u043E\u0440\u0438\u044E \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",pluginData:"\u0414\u0430\u043D\u043D\u044B\u0435 \u043F\u043B\u0430\u0433\u0438\u043D\u0430 (\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F)",dailyNotes:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438",notices:{locationChanged:"\u041C\u0435\u0441\u0442\u043E \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043E \u043D\u0430 {location}"}},notifications:{description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u043E \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F\u0445 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u044F."},performance:{description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u043F\u043B\u0430\u0433\u0438\u043D\u0430 \u0438 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0447\u0435\u0441\u043A\u0438\u0435 \u043E\u043F\u0446\u0438\u0438."},timeTrackingSection:{description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438."},recurringSection:{description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u0434\u043B\u044F \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u043C\u0438\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438."}},integrations:{basesIntegration:{header:"\u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044F \u0441 Bases",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044E \u0441 \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C Obsidian Bases. \u042D\u0442\u043E \u044D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0430\u044F \u0444\u0443\u043D\u043A\u0446\u0438\u044F, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043E\u043F\u0438\u0440\u0430\u0435\u0442\u0441\u044F \u043D\u0430 \u043D\u0435\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 API Obsidian. \u041F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435 \u043C\u043E\u0436\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C\u0441\u044F \u0438\u043B\u0438 \u0441\u043B\u043E\u043C\u0430\u0442\u044C\u0441\u044F.",enable:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044E \u0441 Bases",description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 TaskNotes \u0432 \u043F\u043B\u0430\u0433\u0438\u043D\u0435 Obsidian Bases. \u041F\u043B\u0430\u0433\u0438\u043D Bases \u0434\u043E\u043B\u0436\u0435\u043D \u0431\u044B\u0442\u044C \u0432\u043A\u043B\u044E\u0447\u0435\u043D \u0434\u043B\u044F \u0440\u0430\u0431\u043E\u0442\u044B."},viewCommands:{header:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0438 \u0444\u0430\u0439\u043B\u044B Base",description:"TaskNotes \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0444\u0430\u0439\u043B\u044B Obsidian Bases (.base) \u0434\u043B\u044F \u0441\u0432\u043E\u0438\u0445 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439. \u042D\u0442\u0438 \u0444\u0430\u0439\u043B\u044B \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0441\u043E\u0437\u0434\u0430\u044E\u0442\u0441\u044F \u043F\u0440\u0438 \u0437\u0430\u043F\u0443\u0441\u043A\u0435, \u0435\u0441\u043B\u0438 \u043E\u043D\u0438 \u043D\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0442, \u0438 \u043D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u044E\u0442\u0441\u044F \u0441 \u0443\u0447\u0451\u0442\u043E\u043C \u0432\u0430\u0448\u0438\u0445 \u0442\u0435\u043A\u0443\u0449\u0438\u0445 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 (\u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0437\u0430\u0434\u0430\u0447, \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u043B\u0435\u0439, \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0438 \u0442.\u0434.).",descriptionRegen:"\u0424\u0430\u0439\u043B\u044B Base \u043D\u0435 \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A. \u0427\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438, \u0443\u0434\u0430\u043B\u0438\u0442\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0444\u0430\u0439\u043B\u044B .base \u0438 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 Obsidian, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \xAB\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B\xBB \u043D\u0438\u0436\u0435 \u0438\u043B\u0438 \u043E\u0442\u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0438\u0445 \u0432\u0440\u0443\u0447\u043D\u0443\u044E.",docsLink:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E \u043F\u043E \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u043C \u0444\u043E\u0440\u043C\u0443\u043B\u0430\u043C \u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u043C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0438\u043D\u0438-\u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",kanban:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 kanban",tasks:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447",advancedCalendar:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",agenda:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u0432\u0435\u0441\u0442\u043A\u0443 \u0434\u043D\u044F",relationships:"\u0412\u0438\u0434\u0436\u0435\u0442 \u0441\u0432\u044F\u0437\u0435\u0439"},fileLabel:"\u0424\u0430\u0439\u043B: {path}",resetButton:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",resetTooltip:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043A \u043F\u0443\u0442\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},createDefaultFiles:{name:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0435 .base \u0444\u0430\u0439\u043B\u044B \u0432 \u0434\u0438\u0440\u0435\u043A\u0442\u043E\u0440\u0438\u0438 TaskNotes/Views/. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0444\u0430\u0439\u043B\u044B \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0430\u043D\u044B.",buttonText:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0444\u0430\u0439\u043B\u044B"},exportV3Views:{name:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F V3 \u0432 Bases",description:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0439\u0442\u0435 \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0438\u0437 TaskNotes v3 \u0432 \u043E\u0434\u0438\u043D .base \u0444\u0430\u0439\u043B \u0441 \u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F\u043C\u0438. \u042D\u0442\u043E \u043F\u043E\u043C\u043E\u0433\u0430\u0435\u0442 \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u0432\u0430\u0448\u0438 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432 v3 \u0432 \u043D\u043E\u0432\u0443\u044E \u0441\u0438\u0441\u0442\u0435\u043C\u0443 Bases.",buttonText:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F V3",noViews:"\u041D\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430",fileExists:"\u0424\u0430\u0439\u043B \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442",confirmOverwrite:'\u0424\u0430\u0439\u043B \u0441 \u0438\u043C\u0435\u043D\u0435\u043C "{fileName}" \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u041F\u0435\u0440\u0435\u0437\u0430\u043F\u0438\u0441\u0430\u0442\u044C?',success:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u043E {count} \u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439 \u0432 {filePath}",error:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F: {message}"},notices:{enabled:"\u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044F \u0441 Bases \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 Obsidian \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438.",disabled:"\u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044F \u0441 Bases \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u0430. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 Obsidian \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F."}},calendarSubscriptions:{header:"\u041F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",description:"\u041F\u043E\u0434\u043F\u0438\u0448\u0438\u0442\u0435\u0441\u044C \u043D\u0430 \u0432\u043D\u0435\u0448\u043D\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u0447\u0435\u0440\u0435\u0437 URL ICS/iCal \u0434\u043B\u044F \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 \u0432\u043C\u0435\u0441\u0442\u0435 \u0441 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438.",defaultNoteTemplate:{name:"\u0428\u0430\u0431\u043B\u043E\u043D \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0434\u043B\u044F \u0437\u0430\u043C\u0435\u0442\u043E\u043A, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 ICS",placeholder:"\u0428\u0430\u0431\u043B\u043E\u043D\u044B/\u0428\u0430\u0431\u043B\u043E\u043D \u0441\u043E\u0431\u044B\u0442\u0438\u044F.md"},defaultNoteFolder:{name:"\u041F\u0430\u043F\u043A\u0430 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E",description:"\u041F\u0430\u043F\u043A\u0430 \u0434\u043B\u044F \u0437\u0430\u043C\u0435\u0442\u043E\u043A, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 ICS",placeholder:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C/\u0421\u043E\u0431\u044B\u0442\u0438\u044F"},filenameFormat:{name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 ICS",description:"\u041A\u0430\u043A \u0433\u0435\u043D\u0435\u0440\u0438\u0440\u0443\u044E\u0442\u0441\u044F \u0438\u043C\u0435\u043D\u0430 \u0444\u0430\u0439\u043B\u043E\u0432 \u0434\u043B\u044F \u0437\u0430\u043C\u0435\u0442\u043E\u043A, \u0441\u043E\u0437\u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 ICS",options:{title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",zettel:"\u0424\u043E\u0440\u043C\u0430\u0442 Zettelkasten",timestamp:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u043C\u0435\u0442\u043A\u0430",custom:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0448\u0430\u0431\u043B\u043E\u043D"}},customTemplate:{name:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0439 \u0448\u0430\u0431\u043B\u043E\u043D \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 ICS",description:"\u0428\u0430\u0431\u043B\u043E\u043D \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0438\u043C\u0435\u043D \u0444\u0430\u0439\u043B\u043E\u0432 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 ICS",placeholder:"{date}-{title}"}},subscriptionsList:{header:"\u0421\u043F\u0438\u0441\u043E\u043A \u043F\u043E\u0434\u043F\u0438\u0441\u043E\u043A \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",addSubscription:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",description:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0438\u0437 URL ICS/iCal \u0438\u043B\u0438 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443"},refreshAll:{name:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",description:"\u0412\u0440\u0443\u0447\u043D\u0443\u044E \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",buttonText:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0441\u0435"},newCalendarName:"\u041D\u043E\u0432\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",emptyState:"\u041F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443 \u0434\u043B\u044F \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u0445 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0435\u0439.",notices:{addSuccess:"\u041D\u043E\u0432\u0430\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0430 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0430 - \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0434\u0435\u0442\u0430\u043B\u0438",addFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443",serviceUnavailable:"\u0421\u0435\u0440\u0432\u0438\u0441 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 ICS \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D",refreshSuccess:"\u0412\u0441\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u044B",refreshFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438 \u043D\u0430 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u0438",updateFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443",deleteSuccess:'\u0423\u0434\u0430\u043B\u0435\u043D\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0430 "{name}"',deleteFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443",enableFirst:"\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0432\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443",refreshSubscriptionSuccess:'\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E "{name}"',refreshSubscriptionFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443"},labels:{enabled:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E:",name:"\u0418\u043C\u044F:",type:"\u0422\u0438\u043F:",url:"URL:",filePath:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443:",color:"\u0426\u0432\u0435\u0442:",refreshMinutes:"\u041E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 (\u043C\u0438\u043D):"},typeOptions:{remote:"\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0439 URL",local:"\u041B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0430\u0439\u043B"},placeholders:{calendarName:"\u0418\u043C\u044F \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",url:"URL ICS/iCal",filePath:"\u041F\u0443\u0442\u044C \u043A \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0444\u0430\u0439\u043B\u0443 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C.ics)",localFile:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C.ics"},statusLabels:{enabled:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u043E",disabled:"\u041E\u0442\u043A\u043B\u044E\u0447\u0435\u043D\u043E",remote:"\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0439",localFile:"\u041B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0430\u0439\u043B",remoteCalendar:"\u0423\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",localFileCalendar:"\u041B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0430\u0439\u043B",synced:"\u0421\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043E {timeAgo}",error:"\u041E\u0448\u0438\u0431\u043A\u0430"},actions:{refreshNow:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0435\u0439\u0447\u0430\u0441",deleteSubscription:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443"},refreshNow:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C Now",confirmDelete:{title:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443",message:'\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0443 "{name}"? \u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C.',confirmText:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C"}},autoExport:{header:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u044D\u043A\u0441\u043F\u043E\u0440\u0442 ICS",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0444\u0430\u0439\u043B ICS.",enable:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u044D\u043A\u0441\u043F\u043E\u0440\u0442",description:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B ICS \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u043C \u0441\u043E \u0432\u0441\u0435\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438"},filePath:{name:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430",description:"\u041F\u0443\u0442\u044C, \u0433\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D \u0444\u0430\u0439\u043B ICS (\u043E\u0442\u043D\u043E\u0441\u0438\u0442\u0435\u043B\u044C\u043D\u043E \u043A\u043E\u0440\u043D\u044F \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430)",placeholder:"tasknotes-calendar.ics"},interval:{name:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u044F (\u043C\u0435\u0436\u0434\u0443 5 \u0438 1440 \u043C\u0438\u043D\u0443\u0442)",description:"\u041A\u0430\u043A \u0447\u0430\u0441\u0442\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u044F\u0442\u044C \u0444\u0430\u0439\u043B \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430",placeholder:"60"},exportNow:{name:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0435\u0439\u0447\u0430\u0441",description:"\u0412\u0440\u0443\u0447\u043D\u0443\u044E \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043D\u0435\u043C\u0435\u0434\u043B\u0435\u043D\u043D\u044B\u0439 \u044D\u043A\u0441\u043F\u043E\u0440\u0442",buttonText:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0435\u0439\u0447\u0430\u0441"},status:{title:"\u0421\u0442\u0430\u0442\u0443\u0441 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430:",lastExport:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439 \u044D\u043A\u0441\u043F\u043E\u0440\u0442: {time}",nextExport:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u044D\u043A\u0441\u043F\u043E\u0440\u0442: {time}",noExports:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u043E\u0432 \u0435\u0449\u0435 \u043D\u0435\u0442",notScheduled:"\u041D\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E",notInitialized:"\u0421\u0435\u0440\u0432\u0438\u0441 \u0430\u0432\u0442\u043E\u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430 \u043D\u0435 \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D - \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 Obsidian",serviceNotInitialized:"\u0421\u043B\u0443\u0436\u0431\u0430 \u043D\u0435 \u0438\u043D\u0438\u0446\u0438\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u0430 - \u043F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u0435 Obsidian"},notices:{reloadRequired:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 Obsidian \u0434\u043B\u044F \u043F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430.",exportSuccess:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u044B",exportFailure:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u043D\u0435 \u0443\u0434\u0430\u043B\u0441\u044F - \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043A\u043E\u043D\u0441\u043E\u043B\u044C \u0434\u043B\u044F \u0434\u0435\u0442\u0430\u043B\u0435\u0439",serviceUnavailable:"\u0421\u0435\u0440\u0432\u0438\u0441 \u0430\u0432\u0442\u043E\u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D"}},httpApi:{header:"HTTP API",description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C HTTP API \u0434\u043B\u044F \u0432\u043D\u0435\u0448\u043D\u0438\u0445 \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0439 \u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438.",enable:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C HTTP API",description:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 HTTP \u0441\u0435\u0440\u0432\u0435\u0440 \u0434\u043B\u044F \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u043A API"},port:{name:"\u041F\u043E\u0440\u0442 API",description:"\u041D\u043E\u043C\u0435\u0440 \u043F\u043E\u0440\u0442\u0430 \u0434\u043B\u044F \u0441\u0435\u0440\u0432\u0435\u0440\u0430 HTTP API",placeholder:"3000"},authToken:{name:"\u0422\u043E\u043A\u0435\u043D \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 API",description:"\u0422\u043E\u043A\u0435\u043D, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0439 \u0434\u043B\u044F \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438 API (\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u043E\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044F \u0430\u0443\u0442\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u0438)",placeholder:"\u0432\u0430\u0448-\u0441\u0435\u043A\u0440\u0435\u0442\u043D\u044B\u0439-\u0442\u043E\u043A\u0435\u043D"},endpoints:{header:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u043A\u043E\u043D\u0435\u0447\u043D\u044B\u0435 \u0442\u043E\u0447\u043A\u0438 API",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"\u0412\u0435\u0431-\u0445\u0443\u043A\u0438",description:{overview:"\u0412\u0435\u0431-\u0445\u0443\u043A\u0438 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u044E\u0442 \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F \u0432 \u0440\u0435\u0430\u043B\u044C\u043D\u043E\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0432\u043D\u0435\u0448\u043D\u0438\u043C \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043C \u043F\u0440\u0438 \u0432\u043E\u0437\u043D\u0438\u043A\u043D\u043E\u0432\u0435\u043D\u0438\u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u0439 TaskNotes.",usage:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0432\u0435\u0431-\u0445\u0443\u043A\u0438 \u0434\u043B\u044F \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438, \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043C\u0438 \u0441\u0438\u043D\u0445\u0440\u043E\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0438\u043B\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u043C\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438."},addWebhook:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A",description:"\u0417\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u043A\u043E\u043D\u0435\u0447\u043D\u0443\u044E \u0442\u043E\u0447\u043A\u0443 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A"},emptyState:{message:"\u0412\u0435\u0431-\u0445\u0443\u043A\u0438 \u043D\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u044B. \u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0432\u0435\u0431-\u0445\u0443\u043A \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0439 \u0432 \u0440\u0435\u0430\u043B\u044C\u043D\u043E\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0438.",buttonText:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A"},labels:{active:"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439:",url:"URL:",events:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F:",transform:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435:"},placeholders:{url:"URL \u0432\u0435\u0431-\u0445\u0443\u043A\u0430",noEventsSelected:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u044B",rawPayload:"\u0421\u044B\u0440\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 (\u0431\u0435\u0437 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F)"},statusLabels:{active:"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439",inactive:"\u041D\u0435\u0430\u043A\u0442\u0438\u0432\u043D\u044B\u0439",created:"\u0421\u043E\u0437\u0434\u0430\u043D {timeAgo}"},actions:{editEvents:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C"},editEvents:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u043E\u0431\u044B\u0442\u0438\u044F",notices:{urlUpdated:"URL \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D",enabled:"\u0412\u0435\u0431-\u0445\u0443\u043A \u0432\u043A\u043B\u044E\u0447\u0435\u043D",disabled:"\u0412\u0435\u0431-\u0445\u0443\u043A \u043E\u0442\u043A\u043B\u044E\u0447\u0435\u043D",created:"\u0412\u0435\u0431-\u0445\u0443\u043A \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D",deleted:"\u0412\u0435\u0431-\u0445\u0443\u043A \u0443\u0434\u0430\u043B\u0435\u043D",updated:"\u0412\u0435\u0431-\u0445\u0443\u043A \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D"},confirmDelete:{title:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A",message:`\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0432\u0435\u0431-\u0445\u0443\u043A?
|
||
|
||
URL: {url}
|
||
|
||
\u042D\u0442\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C.`,confirmText:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C"},cardHeader:"\u0412\u0435\u0431-\u0445\u0443\u043A",cardFields:{active:"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0439:",url:"URL:",events:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F:",transform:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435:"},eventsDisplay:{noEvents:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0435 \u0432\u044B\u0431\u0440\u0430\u043D\u044B"},transformDisplay:{noTransform:"\u0421\u044B\u0440\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 (\u0431\u0435\u0437 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F)"},secretModal:{title:"\u0421\u0435\u043A\u0440\u0435\u0442 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D",description:"\u0412\u0430\u0448 \u0441\u0435\u043A\u0440\u0435\u0442 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u0431\u044B\u043B \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D. \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u0441\u0435\u043A\u0440\u0435\u0442, \u0442\u0430\u043A \u043A\u0430\u043A \u0432\u044B \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0435\u0433\u043E \u0443\u0432\u0438\u0434\u0435\u0442\u044C:",usage:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u044D\u0442\u043E\u0442 \u0441\u0435\u043A\u0440\u0435\u0442 \u0434\u043B\u044F \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u0432 \u0432\u0430\u0448\u0435\u043C \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u044E\u0449\u0435\u043C \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438.",gotIt:"\u041F\u043E\u043D\u044F\u0442\u043D\u043E"},editModal:{title:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A",eventsHeader:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u0434\u043B\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438"},events:{taskCreated:{label:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430",description:"\u041F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u043D\u043E\u0432\u044B\u0445 \u0437\u0430\u0434\u0430\u0447"},taskUpdated:{label:"\u0417\u0430\u0434\u0430\u0447\u0430 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0430",description:"\u041F\u0440\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447"},taskCompleted:{label:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430",description:"\u041F\u0440\u0438 \u043E\u0442\u043C\u0435\u0442\u043A\u0435 \u0437\u0430\u0434\u0430\u0447 \u043A\u0430\u043A \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044B\u0445"},taskDeleted:{label:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0443\u0434\u0430\u043B\u0435\u043D\u0430",description:"\u041F\u0440\u0438 \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447"},taskArchived:{label:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430",description:"\u041F\u0440\u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447"},taskUnarchived:{label:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0440\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430",description:"\u041F\u0440\u0438 \u0440\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447"},timeStarted:{label:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u0442\u043E",description:"\u041F\u0440\u0438 \u043D\u0430\u0447\u0430\u043B\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},timeStopped:{label:"\u0412\u0440\u0435\u043C\u044F \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E",description:"\u041F\u0440\u0438 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},pomodoroStarted:{label:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u043D\u0430\u0447\u0430\u0442\u043E",description:"\u041F\u0440\u0438 \u043D\u0430\u0447\u0430\u043B\u0435 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E"},pomodoroCompleted:{label:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E",description:"\u041F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E"},pomodoroInterrupted:{label:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u043F\u0440\u0435\u0440\u0432\u0430\u043D\u043E",description:"\u041F\u0440\u0438 \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043A\u0435 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E"},recurringCompleted:{label:"\u042D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D",description:"\u041F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u043E\u0432 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0445\u0441\u044F \u0437\u0430\u0434\u0430\u0447"},reminderTriggered:{label:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u0441\u0440\u0430\u0431\u043E\u0442\u0430\u043B\u043E",description:"\u041F\u0440\u0438 \u0430\u043A\u0442\u0438\u0432\u0430\u0446\u0438\u0438 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0439 \u0437\u0430\u0434\u0430\u0447"}},modals:{secretGenerated:{title:"\u0421\u0435\u043A\u0440\u0435\u0442 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D",description:"\u0412\u0430\u0448 \u0441\u0435\u043A\u0440\u0435\u0442 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u0431\u044B\u043B \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u043D. \u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u0441\u0435\u043A\u0440\u0435\u0442, \u0442\u0430\u043A \u043A\u0430\u043A \u0432\u044B \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u0441\u043C\u043E\u0436\u0435\u0442\u0435 \u0435\u0433\u043E \u0443\u0432\u0438\u0434\u0435\u0442\u044C:",usage:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u044D\u0442\u043E\u0442 \u0441\u0435\u043A\u0440\u0435\u0442 \u0434\u043B\u044F \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u0434\u0430\u043D\u043D\u044B\u0445 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u0432 \u0432\u0430\u0448\u0435\u043C \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u044E\u0449\u0435\u043C \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0438.",buttonText:"\u041F\u043E\u043D\u044F\u0442\u043D\u043E"},edit:{title:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A",eventsSection:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u0434\u043B\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",transformSection:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F (\u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E)",headersSection:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432",transformFile:{name:"\u0424\u0430\u0439\u043B \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F",description:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 .js \u0438\u043B\u0438 .json \u0432 \u0432\u0430\u0448\u0435\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0435 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430",placeholder:"discord-transform.js"},customHeaders:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438",description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438 TaskNotes (\u0442\u0438\u043F \u0441\u043E\u0431\u044B\u0442\u0438\u044F, \u043F\u043E\u0434\u043F\u0438\u0441\u044C, ID \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438). \u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u043B\u044F Discord, Slack \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0441\u043E \u0441\u0442\u0440\u043E\u0433\u0438\u043C\u0438 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430\u043C\u0438 CORS."},buttons:{cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F"},notices:{selectAtLeastOneEvent:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043E\u0442\u044F \u0431\u044B \u043E\u0434\u043D\u043E \u0441\u043E\u0431\u044B\u0442\u0438\u0435"}},add:{title:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A",eventsSection:"\u0421\u043E\u0431\u044B\u0442\u0438\u044F \u0434\u043B\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u043A\u0438",transformSection:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F (\u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E)",headersSection:"\u041A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044F \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u0432",url:{name:"URL \u0432\u0435\u0431-\u0445\u0443\u043A\u0430",description:"\u041A\u043E\u043D\u0435\u0447\u043D\u0430\u044F \u0442\u043E\u0447\u043A\u0430, \u043A\u0443\u0434\u0430 \u0431\u0443\u0434\u0443\u0442 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u0434\u0430\u043D\u043D\u044B\u0435 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430",placeholder:"https://your-service.com/webhook"},transformFile:{name:"\u0424\u0430\u0439\u043B \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F",description:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 .js \u0438\u043B\u0438 .json \u0432 \u0432\u0430\u0448\u0435\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0435 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430",placeholder:"discord-transform.js"},customHeaders:{name:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438",description:"\u0412\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0438 TaskNotes (\u0442\u0438\u043F \u0441\u043E\u0431\u044B\u0442\u0438\u044F, \u043F\u043E\u0434\u043F\u0438\u0441\u044C, ID \u0434\u043E\u0441\u0442\u0430\u0432\u043A\u0438). \u041E\u0442\u043A\u043B\u044E\u0447\u0438\u0442\u0435 \u0434\u043B\u044F Discord, Slack \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u0432 \u0441\u043E \u0441\u0442\u0440\u043E\u0433\u0438\u043C\u0438 \u043F\u043E\u043B\u0438\u0442\u0438\u043A\u0430\u043C\u0438 CORS."},transformHelp:{title:"\u0424\u0430\u0439\u043B\u044B \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u044E\u0442 \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u0432\u0435\u0431-\u0445\u0443\u043A\u0430:",jsFiles:"\u0424\u0430\u0439\u043B\u044B .js:",jsDescription:" \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F JavaScript",jsonFiles:"\u0424\u0430\u0439\u043B\u044B .json:",jsonDescription:" \u0428\u0430\u0431\u043B\u043E\u043D\u044B \u0441 ",jsonVariable:"${data.task.title}",leaveEmpty:"\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C:",leaveEmptyDescription:" \u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0441\u044B\u0440\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435",example:"\u041F\u0440\u0438\u043C\u0435\u0440:",exampleFile:"discord-transform.js"},buttons:{cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",add:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0435\u0431-\u0445\u0443\u043A"},notices:{urlRequired:"URL \u0432\u0435\u0431-\u0445\u0443\u043A\u0430 \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u0435\u043D",selectAtLeastOneEvent:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0445\u043E\u0442\u044F \u0431\u044B \u043E\u0434\u043D\u043E \u0441\u043E\u0431\u044B\u0442\u0438\u0435"}}}},otherIntegrations:{header:"\u0418\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u043B\u0430\u0433\u0438\u043D\u0430\u043C\u0438",description:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u0442\u0435 \u0438\u043D\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u0438 \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u043B\u0430\u0433\u0438\u043D\u0430\u043C\u0438 Obsidian."},timeFormats:{justNow:"\u0422\u043E\u043B\u044C\u043A\u043E \u0447\u0442\u043E",minutesAgo:"{minutes} \u043C\u0438\u043D\u0443\u0442{plural} \u043D\u0430\u0437\u0430\u0434",hoursAgo:"{hours} \u0447\u0430\u0441{plural} \u043D\u0430\u0437\u0430\u0434",daysAgo:"{days} \u0434\u043D{plural} \u043D\u0430\u0437\u0430\u0434"}}},notices:{languageChanged:"\u042F\u0437\u044B\u043A \u0438\u0437\u043C\u0435\u043D\u0435\u043D \u043D\u0430 {language}.",exportTasksFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u043A\u0430\u043A \u0444\u0430\u0439\u043B ICS",icsNoteCreatedSuccess:"\u0417\u0430\u043C\u0435\u0442\u043A\u0430 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0430",icsCreationModalOpenFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",icsNoteLinkSuccess:'\u0417\u0430\u043C\u0435\u0442\u043A\u0430 "{fileName}" \u0441\u0432\u044F\u0437\u0430\u043D\u0430 \u0441 \u0441\u043E\u0431\u044B\u0442\u0438\u0435\u043C ICS',icsTaskCreatedSuccess:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430: {title}",icsRelatedItemsRefreshed:"\u0421\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u044B",icsFileNotFound:"\u0424\u0430\u0439\u043B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D \u0438\u043B\u0438 \u043D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D",icsFileOpenFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0444\u0430\u0439\u043B",timeblockAttachmentExists:'"{fileName}" \u0443\u0436\u0435 \u043F\u0440\u0438\u043A\u0440\u0435\u043F\u043B\u0435\u043D',timeblockAttachmentAdded:'"{fileName}" \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D \u043A\u0430\u043A \u0432\u043B\u043E\u0436\u0435\u043D\u0438\u0435',timeblockAttachmentRemoved:'\u0423\u0434\u0430\u043B\u0438\u0442\u044Cd "{fileName}" from attachments',timeblockFileTypeNotSupported:'\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u043E\u0442\u043A\u0440\u044B\u0442\u044C "{fileName}" - \u0442\u0438\u043F \u0444\u0430\u0439\u043B\u0430 \u043D\u0435 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044F',timeblockTitleRequired:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430",timeblockUpdatedSuccess:'\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A "{title}" \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D',timeblockUpdateFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043A\u043E\u043D\u0441\u043E\u043B\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0435\u0439.",timeblockDeletedSuccess:'\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A "{title}" \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0443\u0434\u0430\u043B\u0435\u043D',timeblockDeleteFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043A\u043E\u043D\u0441\u043E\u043B\u044C \u0434\u043B\u044F \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u0438\u044F \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0435\u0439.",timeblockRequiredFieldsMissing:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0432\u0441\u0435 \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u043F\u043E\u043B\u044F",agendaLoadingFailed:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u043F\u043E\u0432\u0435\u0441\u0442\u043A\u0438 \u0434\u043D\u044F. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C.",statsLoadingFailed:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043A\u0438 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u0440\u043E\u0435\u043A\u0442\u0430."},commands:{openCalendarView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043C\u0438\u043D\u0438-\u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",openAdvancedCalendarView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",openTasksView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447",openNotesView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u043C\u0435\u0442\u043E\u043A",openAgendaView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043B\u0430\u043D\u043E\u0432",openPomodoroView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",openKanbanView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0434\u043E\u0441\u043A\u0443 \u043A\u0430\u043D\u0431\u0430\u043D",openPomodoroStats:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0443 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",openStatisticsView:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043A\u0443 \u0437\u0430\u0434\u0430\u0447 \u0438 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432",createNewTask:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443",convertCurrentNoteToTask:{name:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0432 \u0437\u0430\u0434\u0430\u0447\u0443",noActiveFile:"\u041D\u0435\u0442 \u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430 \u0434\u043B\u044F \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u044F",alreadyTask:"\u042D\u0442\u0430 \u0437\u0430\u043C\u0435\u0442\u043A\u0430 \u0443\u0436\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0435\u0439",success:"'{title}' \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u043E \u0432 \u0437\u0430\u0434\u0430\u0447\u0443"},convertToTaskNote:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0447\u0435\u043A\u0431\u043E\u043A\u0441-\u0437\u0430\u0434\u0430\u0447\u0443 \u0432 TaskNote",convertAllTasksInNote:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u0437\u0430\u043C\u0435\u0442\u043A\u0435",insertTaskNoteLink:"\u0412\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0443",createInlineTask:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0432\u0441\u0442\u0440\u043E\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443",quickActionsCurrentTask:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0434\u043B\u044F \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438",goToTodayNote:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u0437\u0430\u043C\u0435\u0442\u043A\u0435 \u0441\u0435\u0433\u043E\u0434\u043D\u044F",startPomodoro:"\u0417\u0430\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",stopPomodoro:"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",pauseResumePomodoro:"\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C/\u0432\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0442\u0430\u0439\u043C\u0435\u0440 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E",refreshCache:"\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u044D\u0448",exportAllTasksIcs:"\u042D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043A\u0430\u043A \u0444\u0430\u0439\u043B ICS",viewReleaseNotes:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u044F \u043A \u0432\u044B\u043F\u0443\u0441\u043A\u0443",startTimeTrackingWithSelector:"\u041D\u0430\u0447\u0430\u0442\u044C \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 (\u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443)",editTimeEntries:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438 (\u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443)",createOrOpenTask:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"},modals:{deviceCode:{title:"\u0410\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u044F Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",instructions:{intro:"\u0414\u043E connect your Google Calendar, please follow these steps:"},steps:{open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C",inBrowser:"\u0432 \u0432\u0430\u0448\u0435\u043C \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435",enterCode:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u044D\u0442\u043E\u0442 \u043A\u043E\u0434 \u043F\u0440\u0438 \u0437\u0430\u043F\u0440\u043E\u0441\u0435:",signIn:"\u0412\u043E\u0439\u0434\u0438\u0442\u0435 \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442 Google \u0438 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u0434\u043E\u0441\u0442\u0443\u043F",returnToObsidian:"\u0412\u0435\u0440\u043D\u0438\u0442\u0435\u0441\u044C \u0432 Obsidian (\u044D\u0442\u043E \u043E\u043A\u043D\u043E \u0437\u0430\u043A\u0440\u043E\u0435\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438)"},codeLabel:"\u0412\u0430\u0448 \u043A\u043E\u0434:",copyCodeAriaLabel:"\u0421\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u043E\u0434",waitingForAuthorization:"\u041E\u0436\u0438\u0434\u0430\u043D\u0438\u0435 \u0430\u0432\u0442\u043E\u0440\u0438\u0437\u0430\u0446\u0438\u0438...",openBrowserButton:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C Browser",cancelButton:"\u041E\u0442\u043C\u0435\u043D\u0430",expiresMinutesSeconds:"\u041A\u043E\u0434 \u0438\u0441\u0442\u0435\u043A\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 {minutes}\u043C {seconds}\u0441",expiresSeconds:"\u041A\u043E\u0434 \u0438\u0441\u0442\u0435\u043A\u0430\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 {seconds}\u0441"},icsEventInfo:{calendarEventHeading:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C Event",titleLabel:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",calendarLabel:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",dateTimeLabel:"\u0414\u0430\u0442\u0430 & Time",locationLabel:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435",descriptionLabel:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",urlLabel:"URL",relatedNotesHeading:"\u0421\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0438 \u0437\u0430\u0434\u0430\u0447\u0438",noRelatedItems:"\u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0438\u043B\u0438 \u0437\u0430\u0434\u0430\u0447.",typeTask:"\u0417\u0430\u0434\u0430\u0447\u0430",typeNote:"\u0417\u0430\u043C\u0435\u0442\u043A\u0430",actionsHeading:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F",createFromEventLabel:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C from Event",createFromEventDesc:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C a new note or task from this calendar event",linkExistingLabel:"\u0421\u0432\u044F\u0437\u0430\u0442\u044C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0443\u044E",linkExistingDesc:"\u0421\u0432\u044F\u0437\u0430\u0442\u044C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0441 \u044D\u0442\u0438\u043C \u0441\u043E\u0431\u044B\u0442\u0438\u0435\u043C \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F"},timeblockInfo:{editHeading:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A",dateTimeLabel:"\u0414\u0430\u0442\u0430 & Time: ",titleLabel:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",titleDesc:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 for your timeblock",titlePlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0421\u0435\u0441\u0441\u0438\u044F \u0433\u043B\u0443\u0431\u043E\u043A\u043E\u0439 \u0440\u0430\u0431\u043E\u0442\u044B",descriptionLabel:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",descriptionDesc:"\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430",descriptionPlaceholder:"\u0421\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 \u043D\u043E\u0432\u044B\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u0445, \u0431\u0435\u0437 \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u043D\u0438\u0439",colorLabel:"\u0426\u0432\u0435\u0442",colorDesc:"\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0446\u0432\u0435\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430",colorPlaceholder:"#3b82f6",attachmentsLabel:"\u0412\u043B\u043E\u0436\u0435\u043D\u0438\u044F",attachmentsDesc:"\u0424\u0430\u0439\u043B\u044B \u0438\u043B\u0438 \u0437\u0430\u043C\u0435\u0442\u043A\u0438, \u0441\u0432\u044F\u0437\u0430\u043D\u043D\u044B\u0435 \u0441 \u044D\u0442\u0438\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u043C \u0431\u043B\u043E\u043A\u043E\u043C",addAttachmentButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u043B\u043E\u0436\u0435\u043D\u0438\u0435",addAttachmentTooltip:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0438\u043B\u0438 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043D\u0435\u0447\u0435\u0442\u043A\u043E\u0433\u043E \u043F\u043E\u0438\u0441\u043A\u0430",deleteButton:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A",saveButton:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",deleteConfirmationTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A"},timeblockCreation:{heading:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C timeblock",dateLabel:"\u0414\u0430\u0442\u0430: ",titleLabel:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",titleDesc:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 for your timeblock",titlePlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0421\u0435\u0441\u0441\u0438\u044F \u0433\u043B\u0443\u0431\u043E\u043A\u043E\u0439 \u0440\u0430\u0431\u043E\u0442\u044B",startTimeLabel:"\u041D\u0430\u0447\u0430\u043B\u043E time",startTimeDesc:"\u041A\u043E\u0433\u0434\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A",startTimePlaceholder:"09:00",endTimeLabel:"\u041A\u043E\u043D\u0435\u0446 time",endTimeDesc:"\u041A\u043E\u0433\u0434\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0431\u043B\u043E\u043A",endTimePlaceholder:"11:00",descriptionLabel:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",descriptionDesc:"\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430",descriptionPlaceholder:"\u0421\u043E\u0441\u0440\u0435\u0434\u043E\u0442\u043E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 \u043D\u043E\u0432\u044B\u0445 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u0445, \u0431\u0435\u0437 \u043F\u0440\u0435\u0440\u044B\u0432\u0430\u043D\u0438\u0439",colorLabel:"\u0426\u0432\u0435\u0442",colorDesc:"\u041D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0446\u0432\u0435\u0442 \u0434\u043B\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430",colorPlaceholder:"#3b82f6",attachmentsLabel:"\u0412\u043B\u043E\u0436\u0435\u043D\u0438\u044F",attachmentsDesc:"\u0424\u0430\u0439\u043B\u044B \u0438\u043B\u0438 \u0437\u0430\u043C\u0435\u0442\u043A\u0438 \u0434\u043B\u044F \u0441\u0432\u044F\u0437\u0438 \u0441 \u044D\u0442\u0438\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u043C \u0431\u043B\u043E\u043A\u043E\u043C",addAttachmentButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u043B\u043E\u0436\u0435\u043D\u0438\u0435",addAttachmentTooltip:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0444\u0430\u0439\u043B \u0438\u043B\u0438 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043D\u0435\u0447\u0435\u0442\u043A\u043E\u0433\u043E \u043F\u043E\u0438\u0441\u043A\u0430",createButton:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C timeblock"},icsNoteCreation:{heading:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C from ICS Event",titleLabel:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",titleDesc:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 for the new content",folderLabel:"\u041F\u0430\u043F\u043A\u0430",folderDesc:"\u041F\u0430\u043F\u043A\u0430 \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F (\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C \u0434\u043B\u044F \u043A\u043E\u0440\u043D\u044F \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430)",folderPlaceholder:"\u043F\u0430\u043F\u043A\u0430/\u043F\u043E\u0434\u043F\u0430\u043F\u043A\u0430",createButton:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C",startLabel:"\u041D\u0430\u0447\u0430\u043B\u043E: ",endLabel:"\u041A\u043E\u043D\u0435\u0446: ",locationLabel:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435: ",calendarLabel:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C: ",useTemplateLabel:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D",useTemplateDesc:"\u041F\u0440\u0438\u043C\u0435\u043D\u0438\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D \u043F\u0440\u0438 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0438 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E",templatePathLabel:"\u041F\u0443\u0442\u044C \u043A \u0448\u0430\u0431\u043B\u043E\u043D\u0443",templatePathDesc:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 \u0448\u0430\u0431\u043B\u043E\u043D\u0430",templatePathPlaceholder:"\u0448\u0430\u0431\u043B\u043E\u043D\u044B/\u0448\u0430\u0431\u043B\u043E\u043D-\u0437\u0430\u043C\u0435\u0442\u043A\u0438-ics.md"},unscheduledTasksSelector:{title:"\u041D\u0435\u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",placeholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u043D\u0435\u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447...",instructions:{navigate:"\u0434\u043B\u044F \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438",schedule:"\u0434\u043B\u044F \u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",dismiss:"\u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B"}},migration:{title:"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u043D\u043E\u0432\u0443\u044E \u0441\u0438\u0441\u0442\u0435\u043C\u0443 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439",description:"TaskNotes \u0442\u0435\u043F\u0435\u0440\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u044B RRULE \u0434\u043B\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439, \u0447\u0442\u043E \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0441\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u0431\u043E\u043B\u0435\u0435 \u0441\u043B\u043E\u0436\u043D\u044B\u0435 \u0440\u0430\u0441\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u0438 \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043B\u0443\u0447\u0448\u0443\u044E \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u043E\u0441\u0442\u044C \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438.",tasksFound:"\u041E\u0431\u043D\u0430\u0440\u0443\u0436\u0435\u043D\u043E {count} \u0437\u0430\u0434\u0430\u0447(\u0438) \u0441\u043E \u0441\u0442\u0430\u0440\u044B\u043C\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0430\u043C\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439",noMigrationNeeded:"\u0417\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u0442\u0440\u0435\u0431\u0443\u044E\u0442 \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u0438",warnings:{title:"\u041F\u0435\u0440\u0435\u0434 \u043D\u0430\u0447\u0430\u043B\u043E\u043C:",backup:"\u0421\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0440\u0435\u0437\u0435\u0440\u0432\u043D\u0443\u044E \u043A\u043E\u043F\u0438\u044E \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430 \u043F\u0435\u0440\u0435\u0434 \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u0435\u0439",conversion:"\u0421\u0442\u0430\u0440\u044B\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u044B \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439 \u0431\u0443\u0434\u0443\u0442 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u044B \u0432 \u043D\u043E\u0432\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442",normalUsage:"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u0442\u044C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C TaskNotes \u043E\u0431\u044B\u0447\u043D\u044B\u043C \u043E\u0431\u0440\u0430\u0437\u043E\u043C \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u0438",permanent:"\u042D\u0442\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043F\u043E\u0441\u0442\u043E\u044F\u043D\u043D\u044B\u043C \u0438 \u043D\u0435 \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043E"},benefits:{title:"\u041F\u0440\u0435\u0438\u043C\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u043D\u043E\u0432\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u044B:",powerfulPatterns:"\u0421\u043B\u043E\u0436\u043D\u044B\u0435 \u0448\u0430\u0431\u043B\u043E\u043D\u044B \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439 (\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, '\u043A\u0430\u0436\u0434\u044B\u0439 2-\u0439 \u0432\u0442\u043E\u0440\u043D\u0438\u043A')",performance:"\u041B\u0443\u0447\u0448\u0430\u044F \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0441 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u043C\u0438\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438",compatibility:"\u0421\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439, \u0441\u043E\u0432\u043C\u0435\u0441\u0442\u0438\u043C\u044B\u0439 \u0441 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u044F\u043C\u0438",nlp:"\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u0430\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u043A\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u044F\u0437\u044B\u043A\u0430"},progress:{title:"\u041F\u0440\u043E\u0433\u0440\u0435\u0441\u0441 \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u0438",preparing:"\u041F\u043E\u0434\u0433\u043E\u0442\u043E\u0432\u043A\u0430 \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u0438...",completed:"\u041C\u0438\u0433\u0440\u0430\u0446\u0438\u044F \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430",failed:"\u041C\u0438\u0433\u0440\u0430\u0446\u0438\u044F \u043D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C"},buttons:{migrate:"\u041D\u0430\u0447\u0430\u0442\u044C \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u044E",completed:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C"},errors:{title:"\u041E\u0448\u0438\u0431\u043A\u0438 \u0432\u043E \u0432\u0440\u0435\u043C\u044F \u043C\u0438\u0433\u0440\u0430\u0446\u0438\u0438:"},notices:{completedWithErrors:"\u041C\u0438\u0433\u0440\u0430\u0446\u0438\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0430 \u0441 \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u044B\u043C\u0438 \u043E\u0448\u0438\u0431\u043A\u0430\u043C\u0438. \u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0441\u043F\u0438\u0441\u043E\u043A \u043E\u0448\u0438\u0431\u043E\u043A \u0432\u044B\u0448\u0435.",success:"\u0412\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043C\u0438\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u044B!",failed:"\u041C\u0438\u0433\u0440\u0430\u0446\u0438\u044F \u043D\u0435 \u0443\u0434\u0430\u043B\u0430\u0441\u044C. Please check the console for details."},prompt:{message:"\u0417\u0430\u0434\u0430\u0447\u0430Notes detected tasks using the old recurrence format. Would you like to migrate them to the new system now?",migrateNow:"\u041C\u0438\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0435\u0439\u0447\u0430\u0441",remindLater:"\u041D\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C \u043F\u043E\u0437\u0436\u0435"}},task:{titlePlaceholder:"\u0427\u0442\u043E \u043D\u0443\u0436\u043D\u043E \u0441\u0434\u0435\u043B\u0430\u0442\u044C?",titleLabel:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",titleDetailedPlaceholder:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438...",detailsLabel:"\u0414\u0435\u0442\u0430\u043B\u0438",detailsPlaceholder:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0431\u043E\u043B\u044C\u0448\u0435 \u0434\u0435\u0442\u0430\u043B\u0435\u0439...",projectsLabel:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",projectsAdd:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442",projectsTooltip:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u043F\u0440\u043E\u0435\u043A\u0442\u0430, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u043D\u0435\u0447\u0435\u0442\u043A\u0438\u0439 \u043F\u043E\u0438\u0441\u043A",projectsRemoveTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u0440\u043E\u0435\u043A\u0442",contextsLabel:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B",contextsPlaceholder:"\u043A\u043E\u043D\u0442\u0435\u043A\u0441\u04421, \u043A\u043E\u043D\u0442\u0435\u043A\u0441\u04422",tagsLabel:"\u0422\u0435\u0433\u0438",tagsPlaceholder:"\u0442\u0435\u04331, \u0442\u0435\u04332",timeEstimateLabel:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 (\u043C\u0438\u043D\u0443\u0442\u044B)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"\u041D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",message:"\u0423 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u043D\u0435\u0441\u043E\u0445\u0440\u0430\u043D\u0451\u043D\u043D\u044B\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F. \u0425\u043E\u0442\u0438\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0445?",save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",discard:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",cancel:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435"},dependencies:{blockedBy:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430",blocking:"\u0411\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442",placeholder:"[[\u0417\u0430\u0434\u0430\u0447\u0430]]",addTaskButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",selectTaskTooltip:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u043D\u0435\u0447\u0435\u0442\u043A\u043E\u0433\u043E \u043F\u043E\u0438\u0441\u043A\u0430",removeTaskTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"},organization:{projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",subtasks:"\u041F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438",addToProject:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043F\u0440\u043E\u0435\u043A\u0442",addToProjectButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043F\u0440\u043E\u0435\u043A\u0442",addSubtasks:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438",addSubtasksButton:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0443",addSubtasksTooltip:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0438, \u0447\u0442\u043E\u0431\u044B \u0441\u0434\u0435\u043B\u0430\u0442\u044C \u0438\u0445 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438 \u044D\u0442\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438",removeSubtaskTooltip:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0443",notices:{noEligibleSubtasks:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447 \u0434\u043B\u044F \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447",subtaskSelectFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0435\u043B\u0435\u043A\u0442\u043E\u0440 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447"}},customFieldsLabel:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u043F\u043E\u043B\u044F",actions:{due:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduled:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443",status:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441",priority:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",recurrence:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",reminders:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F"},buttons:{openNote:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443",save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C"},tooltips:{dueValue:"\u0421\u0440\u043E\u043A: {value}",scheduledValue:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043E: {value}",statusValue:"\u0421\u0442\u0430\u0442\u0443\u0441: {value}",priorityValue:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442: {value}",recurrenceValue:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435: {value}",remindersSingle:"1 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E",remindersPlural:"{count} \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0439 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E"},dateMenu:{dueTitle:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduledTitle:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443"},userFields:{textPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 {field}...",numberPlaceholder:"0",datePlaceholder:"\u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414",listPlaceholder:"\u044D\u043B\u0435\u043C\u0435\u043D\u04421, \u044D\u043B\u0435\u043C\u0435\u043D\u04422, \u044D\u043B\u0435\u043C\u0435\u043D\u04423",pickDate:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443 {field}"},recurrence:{daily:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E",weekly:"\u0415\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E",everyTwoWeeks:"\u041A\u0430\u0436\u0434\u044B\u0435 2 \u043D\u0435\u0434\u0435\u043B\u0438",weekdays:"\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u0434\u043D\u0438",weeklyOn:"\u0415\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E \u0432 {days}",monthly:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E",everyThreeMonths:"\u041A\u0430\u0436\u0434\u044B\u0435 3 \u043C\u0435\u0441\u044F\u0446\u0430",monthlyOnOrdinal:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E \u0432 {ordinal}",monthlyByWeekday:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E (\u043F\u043E \u0434\u043D\u044E \u043D\u0435\u0434\u0435\u043B\u0438)",yearly:"\u0415\u0436\u0435\u0433\u043E\u0434\u043D\u043E",yearlyOn:"\u0415\u0436\u0435\u0433\u043E\u0434\u043D\u043E {month} {day}",custom:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435",countSuffix:"{count} \u0440\u0430\u0437",untilSuffix:"\u0434\u043E {date}",ordinal:"{number}{suffix}"}},taskSelector:{title:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",placeholder:"\u041D\u0430\u0447\u043D\u0438\u0442\u0435 \u0432\u0432\u043E\u0434\u0438\u0442\u044C \u0434\u043B\u044F \u043F\u043E\u0438\u0441\u043A\u0430 \u0437\u0430\u0434\u0430\u0447...",instructions:{navigate:"\u0434\u043B\u044F \u043D\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438",select:"\u0434\u043B\u044F \u0432\u044B\u0431\u043E\u0440\u0430",dismiss:"\u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B"},notices:{noteNotFound:'\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0439\u0442\u0438 \u0437\u0430\u043C\u0435\u0442\u043A\u0443 "{name}"'},dueDate:{overdue:"\u0421\u0440\u043E\u043A: {date} (\u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043E)",today:"\u0421\u0440\u043E\u043A: \u0421\u0435\u0433\u043E\u0434\u043D\u044F"}},taskSelectorWithCreate:{title:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438\u043B\u0438 \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",placeholder:"\u041F\u043E\u0438\u0441\u043A \u0437\u0430\u0434\u0430\u0447 \u0438\u043B\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u043D\u043E\u0432\u043E\u0439...",instructions:{create:"\u0447\u0442\u043E\u0431\u044B \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443"},footer:{createLabel:" \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F: "},notices:{emptyQuery:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",invalidTitle:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0442\u044C \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u043E\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438"}},taskCreation:{title:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",actions:{fillFromNaturalLanguage:"\u0417\u0430\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u0444\u043E\u0440\u043C\u0443 \u0438\u0437 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u044F\u0437\u044B\u043A\u0430",hideDetailedOptions:"\u0421\u043A\u0440\u044B\u0442\u044C \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0435 \u043E\u043F\u0446\u0438\u0438",showDetailedOptions:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u0434\u0440\u043E\u0431\u043D\u044B\u0435 \u043E\u043F\u0446\u0438\u0438"},nlPlaceholder:"\u041A\u0443\u043F\u0438\u0442\u044C \u043F\u0440\u043E\u0434\u0443\u043A\u0442\u044B \u0437\u0430\u0432\u0442\u0440\u0430 \u0432 15:00 @\u0434\u043E\u043C #\u043F\u043E\u0440\u0443\u0447\u0435\u043D\u0438\u044F",notices:{titleRequired:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",success:'\u0417\u0430\u0434\u0430\u0447\u0430 "{title}" \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0430',successShortened:'\u0417\u0430\u0434\u0430\u0447\u0430 "{title}" \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0430 (\u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u0441\u043E\u043A\u0440\u0430\u0449\u0435\u043D\u043E \u0438\u0437-\u0437\u0430 \u0434\u043B\u0438\u043D\u044B)',failure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443: {message}",blockingUnresolved:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C: {entries}"}},taskEdit:{title:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443",sections:{completions:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",taskInfo:"\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F \u043E \u0437\u0430\u0434\u0430\u0447\u0435"},metadata:{totalTrackedTime:"\u041E\u0431\u0449\u0435\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0435\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F:",created:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E:",modified:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E:",file:"\u0424\u0430\u0439\u043B:"},buttons:{archive:"\u0410\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C",unarchive:"\u0420\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C"},notices:{titleRequired:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",noChanges:"\u041D\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0434\u043B\u044F \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u044F",updateSuccess:'\u0417\u0430\u0434\u0430\u0447\u0430 "{title}" \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0430',updateFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443: {message}",dependenciesUpdateSuccess:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438 \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u044B",blockingUnresolved:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C: {entries}",fileMissing:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0439\u0442\u0438 \u0444\u0430\u0439\u043B \u0437\u0430\u0434\u0430\u0447\u0438: {path}",openNoteFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438",archiveSuccess:"\u0417\u0430\u0434\u0430\u0447\u0430 {action} \u0443\u0441\u043F\u0435\u0448\u043D\u043E",archiveFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443"},archiveAction:{archived:"\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430",unarchived:"\u0440\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u043D\u0430"}},storageLocation:{title:{migrate:"\u041C\u0438\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E?",switch:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043D\u0430 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0432 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043A\u0430\u0445?"},message:{migrate:"\u042D\u0442\u043E \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u0442 \u0432\u0430\u0448\u0438 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0432 frontmatter \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A. \u0414\u0430\u043D\u043D\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u0441\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043F\u043E \u0434\u0430\u0442\u0435 \u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B \u0432 \u043A\u0430\u0436\u0434\u043E\u0439 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0435.",switch:"\u0414\u0430\u043D\u043D\u044B\u0435 \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0441\u044F \u0432 frontmatter \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0432\u043C\u0435\u0441\u0442\u043E \u0444\u0430\u0439\u043B\u0430 \u0434\u0430\u043D\u043D\u044B\u0445 \u043F\u043B\u0430\u0433\u0438\u043D\u0430."},whatThisMeans:"\u0427\u0442\u043E \u044D\u0442\u043E \u043E\u0437\u043D\u0430\u0447\u0430\u0435\u0442:",bullets:{dailyNotesRequired:"\u041E\u0441\u043D\u043E\u0432\u043D\u043E\u0439 \u043F\u043B\u0430\u0433\u0438\u043D \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A \u0434\u043E\u043B\u0436\u0435\u043D \u043E\u0441\u0442\u0430\u0432\u0430\u0442\u044C\u0441\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u043C",storedInNotes:"\u0414\u0430\u043D\u043D\u044B\u0435 \u0431\u0443\u0434\u0443\u0442 \u0445\u0440\u0430\u043D\u0438\u0442\u044C\u0441\u044F \u0432 frontmatter \u0432\u0430\u0448\u0438\u0445 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0445 \u0437\u0430\u043C\u0435\u0442\u043E\u043A",migrateData:"\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u043B\u0430\u0433\u0438\u043D\u0430 \u0431\u0443\u0434\u0443\u0442 \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u044B \u0438 \u0437\u0430\u0442\u0435\u043C \u043E\u0447\u0438\u0449\u0435\u043D\u044B",futureSessions:"\u0411\u0443\u0434\u0443\u0449\u0438\u0435 \u0441\u0435\u0441\u0441\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0442\u044C\u0441\u044F \u0432 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438",dataLongevity:"\u042D\u0442\u043E \u043E\u0431\u0435\u0441\u043F\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043B\u0443\u0447\u0448\u0443\u044E \u0434\u043E\u043B\u0433\u043E\u0432\u0435\u0447\u043D\u043E\u0441\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0445 \u0441 \u0432\u0430\u0448\u0438\u043C\u0438 \u0437\u0430\u043C\u0435\u0442\u043A\u0430\u043C\u0438"},finalNote:{migrate:"\u26A0\uFE0F \u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044C, \u0447\u0442\u043E \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044C \u0440\u0435\u0437\u0435\u0440\u0432\u043D\u044B\u0435 \u043A\u043E\u043F\u0438\u0438 \u043F\u0440\u0438 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438. \u042D\u0442\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u043D\u0435\u043B\u044C\u0437\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C.",switch:"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043E\u0431\u0440\u0430\u0442\u043D\u043E \u043D\u0430 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435 \u0432 \u043F\u043B\u0430\u0433\u0438\u043D\u0435 \u0432 \u043B\u044E\u0431\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043C."},buttons:{migrate:"\u041C\u0438\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043D\u043D\u044B\u0435",switch:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435"}},dueDate:{title:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",taskLabel:"\u0417\u0430\u0434\u0430\u0447\u0430: {title}",sections:{dateTime:"\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",quickOptions:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043E\u043F\u0446\u0438\u0438"},descriptions:{dateTime:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u043E\u0433\u0434\u0430 \u044D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0434\u043E\u043B\u0436\u043D\u0430 \u0431\u044B\u0442\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0430"},inputs:{date:{ariaLabel:"\u0414\u0430\u0442\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438",placeholder:"\u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414"},time:{ariaLabel:"\u0412\u0440\u0435\u043C\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438 (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E)",placeholder:"\u0427\u0427:\u041C\u041C"}},quickOptions:{today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",todayAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043D\u0430 \u0441\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0417\u0430\u0432\u0442\u0440\u0430",tomorrowAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043D\u0430 \u0437\u0430\u0432\u0442\u0440\u0430",nextWeek:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043D\u0435\u0434\u0435\u043B\u044F",nextWeekAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u043D\u0435\u0434\u0435\u043B\u044E",now:"\u0421\u0435\u0439\u0447\u0430\u0441",nowAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u043D\u0430 \u0441\u0435\u0439\u0447\u0430\u0441",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",clearAriaLabel:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F"},errors:{invalidDateTime:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B \u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",updateFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430."}},scheduledDate:{title:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443",taskLabel:"\u0417\u0430\u0434\u0430\u0447\u0430: {title}",sections:{dateTime:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",quickOptions:"\u0411\u044B\u0441\u0442\u0440\u044B\u0435 \u043E\u043F\u0446\u0438\u0438"},descriptions:{dateTime:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043A\u043E\u0433\u0434\u0430 \u0432\u044B \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u0440\u0430\u0431\u043E\u0442\u0430\u0442\u044C \u043D\u0430\u0434 \u044D\u0442\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439"},inputs:{date:{ariaLabel:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0438",placeholder:"\u0413\u0413\u0413\u0413-\u041C\u041C-\u0414\u0414"},time:{ariaLabel:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F \u0437\u0430\u0434\u0430\u0447\u0438 (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E)",placeholder:"\u0427\u0427:\u041C\u041C"}},quickOptions:{today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",todayAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u043D\u0430 \u0441\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0417\u0430\u0432\u0442\u0440\u0430",tomorrowAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u043D\u0430 \u0437\u0430\u0432\u0442\u0440\u0430",nextWeek:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043D\u0435\u0434\u0435\u043B\u044F",nextWeekAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E \u043D\u0435\u0434\u0435\u043B\u044E",now:"\u0421\u0435\u0439\u0447\u0430\u0441",nowAriaLabel:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F \u043D\u0430 \u0441\u0435\u0439\u0447\u0430\u0441",clear:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",clearAriaLabel:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443"},errors:{invalidDateTime:"\u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B \u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",updateFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430."}},timeEntryEditor:{title:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438 - {taskTitle}",addEntry:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C",noEntries:"\u041F\u043E\u043A\u0430 \u043D\u0435\u0442 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439",deleteEntry:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u044C",startTime:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",endTime:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F (\u043E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u0435\u0441\u043B\u0438 \u0435\u0449\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442\u0441\u044F)",duration:"\u0414\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C (\u043C\u0438\u043D\u0443\u0442\u044B)",durationDesc:"\u041F\u0435\u0440\u0435\u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D\u043D\u0443\u044E \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",durationPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0432 \u043C\u0438\u043D\u0443\u0442\u0430\u0445",description:"\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",descriptionPlaceholder:"\u041D\u0430\u0434 \u0447\u0435\u043C \u0432\u044B \u0440\u0430\u0431\u043E\u0442\u0430\u043B\u0438?",calculatedDuration:"\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043D\u043E: {minutes} \u043C\u0438\u043D\u0443\u0442",totalTime:"{hours}\u0447 {minutes}\u043C \u0432\u0441\u0435\u0433\u043E",totalMinutes:"{minutes}\u043C \u0432\u0441\u0435\u0433\u043E",saved:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u044B",saveFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438",openFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0440\u0435\u0434\u0430\u043A\u0442\u043E\u0440 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439",noTasksWithEntries:"\u041D\u0435\u0442 \u0437\u0430\u0434\u0430\u0447 \u0441 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u043C\u0438 \u0437\u0430\u043F\u0438\u0441\u044F\u043C\u0438 \u0434\u043B\u044F \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F",validation:{missingStartTime:"\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u0432\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",endBeforeStart:"\u0412\u0440\u0435\u043C\u044F \u043E\u043A\u043E\u043D\u0447\u0430\u043D\u0438\u044F \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043F\u043E\u0441\u043B\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u043D\u0430\u0447\u0430\u043B\u0430"}},timeTracking:{noTasksAvailable:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447 \u0434\u043B\u044F \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u0438",started:"\u041D\u0430\u0447\u0430\u0442\u043E \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u0434\u043B\u044F: {taskTitle}",startFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043D\u0430\u0447\u0430\u0442\u044C \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438"},timeEntry:{mustHaveSpecificTime:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u043F\u0438\u0441\u0438 \u0434\u043E\u043B\u0436\u043D\u044B \u0438\u043C\u0435\u0442\u044C \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u0432\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0439 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0432 \u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E\u043C \u0438\u043B\u0438 \u0434\u043D\u0435\u0432\u043D\u043E\u043C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0438.",noTasksAvailable:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447 \u0434\u043B\u044F \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u044B\u0445 \u0437\u0430\u043F\u0438\u0441\u0435\u0439",created:"\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u043D\u0430 \u0434\u043B\u044F {taskTitle} ({duration} \u043C\u0438\u043D\u0443\u0442)",createFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C"}},contextMenus:{task:{status:"\u0421\u0442\u0430\u0442\u0443\u0441",statusSelected:"\u2713 {label}",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",prioritySelected:"\u2713 {label}",dueDate:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduledDate:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",reminders:"\u041D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",remindBeforeDue:"\u041D\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C \u0434\u043E \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F\u2026",remindBeforeScheduled:"\u041D\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C \u0434\u043E \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B\u2026",manageReminders:"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432\u0441\u0435\u043C\u0438 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F\u043C\u0438\u2026",clearReminders:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",startTimeTracking:"\u041D\u0430\u0447\u0430\u0442\u044C \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",stopTimeTracking:"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",editTimeEntries:"\u0420\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u0438 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",archive:"\u0410\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C",unarchive:"\u0420\u0430\u0437\u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C",openNote:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443",copyTitle:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438",noteActions:"\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441 \u0437\u0430\u043C\u0435\u0442\u043A\u043E\u0439",rename:"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C",renameTitle:"\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B",renamePlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u0432\u043E\u0435 \u0438\u043C\u044F",delete:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",deleteTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0444\u0430\u0439\u043B",deleteMessage:'\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C "{name}"?',deleteConfirm:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",copyPath:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0443\u0442\u044C",copyUrl:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C URL Obsidian",showInExplorer:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0432 \u043F\u0440\u043E\u0432\u043E\u0434\u043D\u0438\u043A\u0435 \u0444\u0430\u0439\u043B\u043E\u0432",addToCalendar:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",calendar:{google:"Google \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",outlook:"Outlook \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",yahoo:"Yahoo \u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",downloadIcs:"\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0444\u0430\u0439\u043B .ics"},recurrence:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",clearRecurrence:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",customRecurrence:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435...",createSubtask:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0443",dependencies:{title:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438",addBlockedBy:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \xAB\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430\xBB\u2026",addBlockedByTitle:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438, \u043E\u0442 \u043A\u043E\u0442\u043E\u0440\u044B\u0445 \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0442\u0435\u043A\u0443\u0449\u0430\u044F",addBlocking:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \xAB\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442\xBB\u2026",addBlockingTitle:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u0442\u0435\u043A\u0443\u0449\u0430\u044F",removeBlockedBy:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \xAB\u0437\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430\xBB\u2026",removeBlocking:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \xAB\u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442\xBB\u2026",inputPlaceholder:"[[\u0417\u0430\u0434\u0430\u0447\u0430]]",notices:{noEntries:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0445\u043E\u0442\u044F \u0431\u044B \u043E\u0434\u043D\u0443 \u0437\u0430\u0434\u0430\u0447\u0443",blockedByAdded:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0430 {count} \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u044C",blockedByRemoved:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u0430",blockingAdded:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E {count} \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u044B\u0445 \u0437\u0430\u0434\u0430\u0447",blockingRemoved:"\u0417\u0430\u0432\u0438\u0441\u0438\u043C\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0434\u0430\u043B\u0435\u043D\u0430",unresolved:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u0438\u0442\u044C: {entries}",noEligibleTasks:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0449\u0438\u0445 \u0437\u0430\u0434\u0430\u0447",updateFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438"}},organization:{title:"\u041E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F",projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",addToProject:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432 \u043F\u0440\u043E\u0435\u043A\u0442\u2026",subtasks:"\u041F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438",addSubtasks:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438\u2026",notices:{alreadyInProject:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0443\u0436\u0435 \u0432 \u044D\u0442\u043E\u043C \u043F\u0440\u043E\u0435\u043A\u0442\u0435",alreadySubtask:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0443\u0436\u0435 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u044D\u0442\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438",addedToProject:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043E \u0432 \u043F\u0440\u043E\u0435\u043A\u0442: {project}",addedAsSubtask:"\u0414\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0430 {subtask} \u043A\u0430\u043A \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0430 {parent}",addToProjectFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u0432 \u043F\u0440\u043E\u0435\u043A\u0442",addAsSubtaskFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u043A\u0430\u043A \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0443",projectSelectFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0435\u043B\u0435\u043A\u0442\u043E\u0440 \u043F\u0440\u043E\u0435\u043A\u0442\u043E\u0432",subtaskSelectFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0441\u0435\u043B\u0435\u043A\u0442\u043E\u0440 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447",noEligibleSubtasks:"\u041D\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u0437\u0430\u0434\u0430\u0447 \u0434\u043B\u044F \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447",currentTaskNotFound:"\u0424\u0430\u0439\u043B \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D"}},subtasks:{loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447...",noSubtasks:"\u041F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B",loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u043F\u043E\u0434\u0437\u0430\u0434\u0430\u0447\u0438"},markComplete:"\u041E\u0442\u043C\u0435\u0442\u0438\u0442\u044C \u043A\u0430\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u0443\u044E \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u0434\u0430\u0442\u044B",markIncomplete:"\u041E\u0442\u043C\u0435\u0442\u0438\u0442\u044C \u043A\u0430\u043A \u043D\u0435\u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u0443\u044E \u0434\u043B\u044F \u044D\u0442\u043E\u0439 \u0434\u0430\u0442\u044B",skipInstance:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u044C \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440",unskipInstance:"\u041E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043F\u0440\u043E\u043F\u0443\u0441\u043A \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u0430",quickReminders:{atTime:"\u0412\u043E \u0432\u0440\u0435\u043C\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u044F",fiveMinutes:"\u0417\u0430 5 \u043C\u0438\u043D\u0443\u0442",fifteenMinutes:"\u0417\u0430 15 \u043C\u0438\u043D\u0443\u0442",oneHour:"\u0417\u0430 1 \u0447\u0430\u0441",oneDay:"\u0417\u0430 1 \u0434\u0435\u043D\u044C"},notices:{toggleCompletionFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438: {message}",toggleSkipFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043F\u0440\u043E\u043F\u0443\u0441\u043A \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438: {message}",updateDueDateFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438: {message}",updateScheduledFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0438: {message}",updateRemindersFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",clearRemindersFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",addReminderFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0434\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u0435",archiveFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0430\u0440\u0445\u0438\u0432 \u0437\u0430\u0434\u0430\u0447\u0438: {message}",copyTitleSuccess:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",copyFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",renameSuccess:'\u041F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u043D\u043E \u0432 "{name}"',renameFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u043E\u0432\u0430\u0442\u044C \u0444\u0430\u0439\u043B",copyPathSuccess:"\u041F\u0443\u0442\u044C \u043A \u0444\u0430\u0439\u043B\u0443 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",copyUrlSuccess:"URL Obsidian \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",updateRecurrenceFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0431\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438: {message}"}},ics:{showDetails:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0434\u0435\u0442\u0430\u043B\u0438",createTask:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",createNote:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",linkNote:"\u0421\u0432\u044F\u0437\u0430\u0442\u044C \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0443\u044E \u0437\u0430\u043C\u0435\u0442\u043A\u0443",copyTitle:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",copyLocation:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435",copyUrl:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C URL",copyMarkdown:"\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043A\u0430\u043A markdown",subscriptionUnknown:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C",notices:{copyTitleSuccess:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",copyLocationSuccess:"\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435 \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043E \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",copyUrlSuccess:"URL \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",copyMarkdownSuccess:"\u0414\u0435\u0442\u0430\u043B\u0438 \u0441\u043E\u0431\u044B\u0442\u0438\u044F \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u044B \u043A\u0430\u043A markdown",copyFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0432 \u0431\u0443\u0444\u0435\u0440 \u043E\u0431\u043C\u0435\u043D\u0430",taskCreated:"\u0417\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430: {title}",taskCreateFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043E\u0437\u0434\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443 \u0438\u0437 \u0441\u043E\u0431\u044B\u0442\u0438\u044F",noteCreated:"\u0417\u0430\u043C\u0435\u0442\u043A\u0430 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0430",creationFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",linkSuccess:'\u0421\u0432\u044F\u0437\u0430\u043D\u0430 \u0437\u0430\u043C\u0435\u0442\u043A\u0430 "{name}" \u0441 \u0441\u043E\u0431\u044B\u0442\u0438\u0435\u043C',linkFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0432\u044F\u0437\u0430\u0442\u044C \u0437\u0430\u043C\u0435\u0442\u043A\u0443",linkSelectionFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043A\u0440\u044B\u0442\u044C \u0432\u044B\u0431\u043E\u0440 \u0437\u0430\u043C\u0435\u0442\u043A\u0438"},markdown:{titleFallback:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435 \u0431\u0435\u0437 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F",calendar:"**\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C:** {value}",date:"**\u0414\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F:** {value}",location:"**\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435:** {value}",descriptionHeading:"### \u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435",url:"**URL:** {value}",at:" \u0432 {time}"}},date:{increment:{plusOneDay:"+1 \u0434\u0435\u043D\u044C",minusOneDay:"-1 \u0434\u0435\u043D\u044C",plusOneWeek:"+1 \u043D\u0435\u0434\u0435\u043B\u044F",minusOneWeek:"-1 \u043D\u0435\u0434\u0435\u043B\u044F"},basic:{today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0417\u0430\u0432\u0442\u0440\u0430",thisWeekend:"\u042D\u0442\u0438 \u0432\u044B\u0445\u043E\u0434\u043D\u044B\u0435",nextWeek:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u043D\u0435\u0434\u0435\u043B\u044F",nextMonth:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u043C\u0435\u0441\u044F\u0446"},weekdaysLabel:"\u0420\u0430\u0431\u043E\u0447\u0438\u0435 \u0434\u043D\u0438",selected:"\u2713 {label}",pickDateTime:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F\u2026",clearDate:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0434\u0430\u0442\u0443",modal:{title:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F",dateLabel:"\u0414\u0430\u0442\u0430",timeLabel:"\u0412\u0440\u0435\u043C\u044F (\u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E)",select:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C"}}},services:{pomodoro:{notices:{alreadyRunning:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0443\u0436\u0435 \u0437\u0430\u043F\u0443\u0449\u0435\u043D\u043E",resumeCurrentSession:"\u0412\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043D\u043E\u0432\u043E\u0439",timerAlreadyRunning:"\u0422\u0430\u0439\u043C\u0435\u0440 \u0443\u0436\u0435 \u0437\u0430\u043F\u0443\u0449\u0435\u043D",resumeSessionInstead:"\u0412\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u0438\u0442\u0435 \u0442\u0435\u043A\u0443\u0449\u0443\u044E \u0441\u0435\u0441\u0441\u0438\u044E \u0432\u043C\u0435\u0441\u0442\u043E \u0437\u0430\u043F\u0443\u0441\u043A\u0430 \u043D\u043E\u0432\u043E\u0439",shortBreakStarted:"\u041A\u043E\u0440\u043E\u0442\u043A\u0438\u0439 \u043F\u0435\u0440\u0435\u0440\u044B\u0432 \u043D\u0430\u0447\u0430\u0442",longBreakStarted:"\u0414\u043B\u0438\u043D\u043D\u044B\u0439 \u043F\u0435\u0440\u0435\u0440\u044B\u0432 \u043D\u0430\u0447\u0430\u0442",paused:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u043F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E",resumed:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0432\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E",stoppedAndReset:"\u041F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u043E\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043E \u0438 \u0441\u0431\u0440\u043E\u0448\u0435\u043D\u043E",migrationSuccess:"\u0423\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0435\u043D\u043E {count} \u0441\u0435\u0441\u0441\u0438\u0439 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E \u0432 \u0435\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u044B\u0435 \u0437\u0430\u043C\u0435\u0442\u043A\u0438.",migrationFailure:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u043D\u0435\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u044B\u0435 \u043F\u043E\u043C\u043E\u0434\u043E\u0440\u043E. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430 \u0438\u043B\u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043A\u043E\u043D\u0441\u043E\u043B\u044C \u0434\u043B\u044F \u0434\u0435\u0442\u0430\u043B\u0435\u0439."}},icsSubscription:{notices:{calendarNotFound:'\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C "{name}" \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D (404). \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435, \u0447\u0442\u043E URL ICS \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u044B\u0439 \u0438 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u043E\u0431\u0449\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.',calendarAccessDenied:'\u0414\u043E\u0441\u0442\u0443\u043F \u043A \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044E "{name}" \u0437\u0430\u043F\u0440\u0435\u0449\u0435\u043D (500). \u042D\u0442\u043E \u043C\u043E\u0436\u0435\u0442 \u0431\u044B\u0442\u044C \u0438\u0437-\u0437\u0430 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0439 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 Microsoft Outlook. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0435\u0440\u0435\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C URL ICS \u0438\u0437 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F.',fetchRemoteFailed:'\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0443\u0434\u0430\u043B\u0435\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C "{name}": {error}',readLocalFailed:'\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0447\u0438\u0442\u0430\u0442\u044C \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C "{name}": {error}'}},calendarExport:{notices:{generateLinkFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u0433\u0435\u043D\u0435\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",noTasksToExport:"\u041D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0437\u0430\u0434\u0430\u0447 \u0434\u043B\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430",downloadSuccess:"\u0421\u043A\u0430\u0447\u0430\u043D {filename} \u0441 {count} \u0437\u0430\u0434\u0430\u0447{plural}",downloadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0444\u0430\u0439\u043B \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",singleDownloadSuccess:"\u0421\u043A\u0430\u0447\u0430\u043D {filename}"}},filter:{groupLabels:{noProject:"\u0411\u0435\u0437 \u043F\u0440\u043E\u0435\u043A\u0442\u0430",noTags:"\u0411\u0435\u0437 \u0442\u0435\u0433\u043E\u0432",invalidDate:"\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0434\u0430\u0442\u0430",due:{overdue:"\u041F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043E",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0417\u0430\u0432\u0442\u0440\u0430",nextSevenDays:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0441\u0435\u043C\u044C \u0434\u043D\u0435\u0439",later:"\u041F\u043E\u0437\u0436\u0435",none:"\u0411\u0435\u0437 \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F"},scheduled:{past:"\u041F\u0440\u043E\u0448\u043B\u044B\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",tomorrow:"\u0417\u0430\u0432\u0442\u0440\u0430",nextSevenDays:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0441\u0435\u043C\u044C \u0434\u043D\u0435\u0439",later:"\u041F\u043E\u0437\u0436\u0435",none:"\u0411\u0435\u0437 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B"}},errors:{noDatesProvided:"\u0414\u0430\u0442\u044B \u043D\u0435 \u043F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u044B"},folders:{root:"(\u041A\u043E\u0440\u0435\u043D\u044C)"}},instantTaskConvert:{notices:{noCheckboxTasks:"\u0412 \u0442\u0435\u043A\u0443\u0449\u0435\u0439 \u0437\u0430\u043C\u0435\u0442\u043A\u0435 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0437\u0430\u0434\u0430\u0447 \u0441 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u0430\u043C\u0438.",convertingTasks:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435 {count} \u0437\u0430\u0434\u0430\u0447{plural}...",conversionSuccess:"\u2705 \u0423\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u043E {count} \u0437\u0430\u0434\u0430\u0447{plural} \u0432 TaskNotes!",partialConversion:"\u041F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u043E {successCount} \u0437\u0430\u0434\u0430\u0447{successPlural}. {failureCount} \u043D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C.",batchConversionFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442\u043D\u043E\u0435 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0438\u0435. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430.",invalidParameters:"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B.",emptyLine:"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430 \u043F\u0443\u0441\u0442\u0430 \u0438\u043B\u0438 \u043D\u0435 \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u0442 \u0434\u043E\u043F\u0443\u0441\u0442\u0438\u043C\u043E\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0433\u043E.",parseError:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0437\u0430\u0434\u0430\u0447\u0438: {error}",invalidTaskData:"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438.",replaceLineFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u043C\u0435\u043D\u0438\u0442\u044C \u0441\u0442\u0440\u043E\u043A\u0443 \u0437\u0430\u0434\u0430\u0447\u0438.",conversionComplete:"\u0417\u0430\u0434\u0430\u0447\u0430 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0430: {title}",conversionCompleteShortened:'\u0417\u0430\u0434\u0430\u0447\u0430 \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u043D\u0430: "{title}" (\u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u0441\u043E\u043A\u0440\u0430\u0449\u0435\u043D\u043E \u0438\u0437-\u0437\u0430 \u0434\u043B\u0438\u043D\u044B)',fileExists:"\u0424\u0430\u0439\u043B \u0441 \u0442\u0430\u043A\u0438\u043C \u0438\u043C\u0435\u043D\u0435\u043C \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430 \u0438\u043B\u0438 \u043F\u0435\u0440\u0435\u0438\u043C\u0435\u043D\u0443\u0439\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0443.",conversionFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u0435\u043E\u0431\u0440\u0430\u0437\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u043D\u043E\u0432\u0430."}},icsNote:{notices:{templateNotFound:"\u0428\u0430\u0431\u043B\u043E\u043D \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D: {path}",templateProcessError:"\u041E\u0448\u0438\u0431\u043A\u0430 \u043E\u0431\u0440\u0430\u0431\u043E\u0442\u043A\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0430: {template}",linkedToEvent:"\u0417\u0430\u043C\u0435\u0442\u043A\u0430 \u0441\u0432\u044F\u0437\u0430\u043D\u0430 \u0441 \u0441\u043E\u0431\u044B\u0442\u0438\u0435\u043C ICS: {title}"}},task:{notices:{templateNotFound:"\u0428\u0430\u0431\u043B\u043E\u043D \u0442\u0435\u043B\u0430 \u0437\u0430\u0434\u0430\u0447\u0438 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D: {path}",templateReadError:"\u041E\u0448\u0438\u0431\u043A\u0430 \u0447\u0442\u0435\u043D\u0438\u044F \u0448\u0430\u0431\u043B\u043E\u043D\u0430 \u0442\u0435\u043B\u0430 \u0437\u0430\u0434\u0430\u0447\u0438: {template}",moveTaskFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C {operation} \u0437\u0430\u0434\u0430\u0447\u0443: {error}"}},autoExport:{notices:{exportFailed:"\u0410\u0432\u0442\u043E\u044D\u043A\u0441\u043F\u043E\u0440\u0442 TaskNotes \u043D\u0435 \u0443\u0434\u0430\u043B\u0441\u044F: {error}"}}},ui:{icsCard:{untitledEvent:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435 \u0431\u0435\u0437 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F",allDay:"\u0412\u0435\u0441\u044C \u0434\u0435\u043D\u044C",calendarEvent:"\u0421\u043E\u0431\u044B\u0442\u0438\u0435 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044F",calendarFallback:"\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C"},noteCard:{createdLabel:"\u0421\u043E\u0437\u0434\u0430\u043D\u043E:",dailyBadge:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E",dailyTooltip:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u0430\u044F \u0437\u0430\u043C\u0435\u0442\u043A\u0430"},taskCard:{blockedBadge:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430",blockedBadgeTooltip:"\u042D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043E\u0436\u0438\u0434\u0430\u0435\u0442 \u0434\u0440\u0443\u0433\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443",blockingBadge:"\u0411\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442",blockingBadgeTooltip:"\u042D\u0442\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 \u0434\u0440\u0443\u0433\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443",blockingToggle:"\u0411\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442 {count} \u0437\u0430\u0434\u0430\u0447",loadingDependencies:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0435\u0439\u2026",blockingEmpty:"\u041D\u0435\u0442 \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u044B\u0445 \u0437\u0430\u0434\u0430\u0447",blockingLoadError:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0437\u0430\u0432\u0438\u0441\u0438\u043C\u043E\u0441\u0442\u0438"},propertyEventCard:{unknownFile:"\u041D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0439 \u0444\u0430\u0439\u043B"},filterHeading:{allViewName:"\u0412\u0441\u0435"},filterBar:{saveView:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435",saveViewNamePlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0438\u043C\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F...",saveButton:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C",views:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F",savedFilterViews:"\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432",filters:"\u0424\u0438\u043B\u044C\u0442\u0440\u044B",properties:"\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u0430",sort:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430",newTask:"\u041D\u043E\u0432\u0430\u044F",expandAllGroups:"\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0433\u0440\u0443\u043F\u043F\u044B",collapseAllGroups:"\u0421\u0432\u0435\u0440\u043D\u0443\u0442\u044C \u0432\u0441\u0435 \u0433\u0440\u0443\u043F\u043F\u044B",searchTasksPlaceholder:"\u041F\u043E\u0438\u0441\u043A \u0437\u0430\u0434\u0430\u0447...",searchTasksTooltip:"\u041F\u043E\u0438\u0441\u043A \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u0439 \u0437\u0430\u0434\u0430\u0447",filterUnavailable:"\u041F\u0430\u043D\u0435\u043B\u044C \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0430",toggleFilter:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440",activeFiltersTooltip:"\u0410\u043A\u0442\u0438\u0432\u043D\u044B\u0435 \u0444\u0438\u043B\u044C\u0442\u0440\u044B \u2013 \u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F, \u043F\u0440\u0430\u0432\u044B\u0439 \u043A\u043B\u0438\u043A \u0434\u043B\u044F \u043E\u0447\u0438\u0441\u0442\u043A\u0438",configureVisibleProperties:"\u041D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0432\u0438\u0434\u0438\u043C\u044B\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",sortAndGroupOptions:"\u041E\u043F\u0446\u0438\u0438 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u0438 \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438",sortMenuHeader:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0430",orderMenuHeader:"\u041F\u043E\u0440\u044F\u0434\u043E\u043A",groupMenuHeader:"\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0430",createNewTask:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443",filter:"\u0424\u0438\u043B\u044C\u0442\u0440",displayOrganization:"\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F",viewOptions:"\u041E\u043F\u0446\u0438\u0438 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F",addFilter:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0444\u0438\u043B\u044C\u0442\u0440",addFilterGroup:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0433\u0440\u0443\u043F\u043F\u0443 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432",addFilterTooltip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u043E\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u0435 \u0444\u0438\u043B\u044C\u0442\u0440\u0430",addFilterGroupTooltip:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u043B\u043E\u0436\u0435\u043D\u043D\u0443\u044E \u0433\u0440\u0443\u043F\u043F\u0443 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432",clearAllFilters:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435 \u0444\u0438\u043B\u044C\u0442\u0440\u044B \u0438 \u0433\u0440\u0443\u043F\u043F\u044B",saveCurrentFilter:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u043A\u0430\u043A \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435",closeFilterModal:"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043C\u043E\u0434\u0430\u043B\u044C\u043D\u043E\u0435 \u043E\u043A\u043D\u043E \u0444\u0438\u043B\u044C\u0442\u0440\u0430",deleteFilterGroup:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0433\u0440\u0443\u043F\u043F\u0443 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432",deleteCondition:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0443\u0441\u043B\u043E\u0432\u0438\u0435",all:"\u0412\u0441\u0435",any:"\u041B\u044E\u0431\u043E\u0435",followingAreTrue:"\u0438\u0437 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u0438\u0441\u0442\u0438\u043D\u043D\u043E:",where:"\u0433\u0434\u0435",selectProperty:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C...",chooseProperty:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A\u043E\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E \u0437\u0430\u0434\u0430\u0447\u0438 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C",chooseOperator:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A \u0441\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u0442\u044C \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430",enterValue:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043B\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438",selectValue:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 {property} \u0434\u043B\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438",sortBy:"\u0421\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E:",toggleSortDirection:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u043D\u0430\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438",chooseSortMethod:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438",groupBy:"\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u043E:",chooseGroupMethod:"\u0413\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E \u043E\u0431\u0449\u0435\u043C\u0443 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0443",toggleViewOption:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u044C {option}",expandCollapseFilters:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F/\u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u0443\u0441\u043B\u043E\u0432\u0438\u0439 \u0444\u0438\u043B\u044C\u0442\u0440\u0430",expandCollapseSort:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F/\u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u043E\u043F\u0446\u0438\u0439 \u0441\u043E\u0440\u0442\u0438\u0440\u043E\u0432\u043A\u0438 \u0438 \u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u043A\u0438",expandCollapseViewOptions:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u0440\u0430\u0437\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F/\u0441\u0432\u0435\u0440\u0442\u044B\u0432\u0430\u043D\u0438\u044F \u043E\u043F\u0446\u0438\u0439 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F",naturalLanguageDates:"\u0414\u0430\u0442\u044B \u043D\u0430 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u043C \u044F\u0437\u044B\u043A\u0435",naturalLanguageExamples:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u0440\u0438\u043C\u0435\u0440\u044B \u0434\u0430\u0442 \u043D\u0430 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u043C \u044F\u0437\u044B\u043A\u0435",enterNumericValue:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0447\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0434\u043B\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u0430\u0446\u0438\u0438",enterDateValue:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0430\u0442\u0443, \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044F \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0439 \u044F\u0437\u044B\u043A \u0438\u043B\u0438 \u0444\u043E\u0440\u043C\u0430\u0442 ISO",pickDateTime:"\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F",noSavedViews:"\u041D\u0435\u0442 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0445 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439",savedViews:"\u0421\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F",yourSavedFilters:"\u0412\u0430\u0448\u0438 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u044B\u0435 \u043A\u043E\u043D\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432",dragToReorder:"\u041F\u0435\u0440\u0435\u0442\u0430\u0449\u0438\u0442\u0435 \u0434\u043B\u044F \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043F\u043E\u0440\u044F\u0434\u043A\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0439",loadSavedView:"\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u043D\u043E\u0435 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435: {name}",deleteView:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435",deleteViewTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435",deleteViewMessage:'\u0412\u044B \u0443\u0432\u0435\u0440\u0435\u043D\u044B, \u0447\u0442\u043E \u0445\u043E\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u0435 "{name}"?',manageAllReminders:"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432\u0441\u0435\u043C\u0438 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F\u043C\u0438...",clearAllReminders:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",customRecurrence:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435...",clearRecurrence:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",sortOptions:{dueDate:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduledDate:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",status:"\u0421\u0442\u0430\u0442\u0443\u0441",title:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435",createdDate:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",tags:"\u0422\u0435\u0433\u0438",ascending:"\u041F\u043E \u0432\u043E\u0437\u0440\u0430\u0441\u0442\u0430\u043D\u0438\u044E",descending:"\u041F\u043E \u0443\u0431\u044B\u0432\u0430\u043D\u0438\u044E"},group:{none:"\u041D\u0435\u0442",status:"\u0421\u0442\u0430\u0442\u0443\u0441",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",context:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442",project:"\u041F\u0440\u043E\u0435\u043A\u0442",dueDate:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduledDate:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",tags:"\u0422\u0435\u0433\u0438",completedDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F"},subgroupLabel:"\u041F\u041E\u0414\u0413\u0420\u0423\u041F\u041F\u0410",notices:{propertiesMenuFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043C\u0435\u043D\u044E \u0441\u0432\u043E\u0439\u0441\u0442\u0432"}}},components:{dateContextMenu:{weekdays:"\u0411\u0443\u0434\u043D\u0438",clearDate:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0434\u0430\u0442\u0443",today:"\u0414\u043Eday",tomorrow:"\u0414\u043Emorrow",thisWeekend:"\u041D\u0430 \u044D\u0442\u043E\u0439 \u043D\u0435\u0434\u0435\u043B\u0435end",nextWeek:"\u041D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u043D\u0435\u0434\u0435\u043B\u0435",nextMonth:"\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C \u043C\u0435\u0441\u044F\u0446\u0435",setDateTime:"\u0423\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0434\u0430\u0442\u0443 \u0438 \u0432\u0440\u0435\u043C\u044F",dateLabel:"\u0414\u0430\u0442\u0430",timeLabel:"\u0412\u0440\u0435\u043C\u044F (\u043D\u0435\u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E)"},subgroupMenuBuilder:{none:"\u041D\u0435\u0442",status:"\u0421\u0442\u0430\u0442\u0443\u0441",priority:"\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442",context:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442",project:"\u041F\u0440\u043E\u0435\u043A\u0442",dueDate:"\u0414\u0430\u0442\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduledDate:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",tags:"\u0422\u0435\u0433\u0438",completedDate:"\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E Date",subgroup:"\u041F\u041E\u0414\u0413\u0420\u0423\u041F\u041F\u0410"},propertyVisibilityDropdown:{coreProperties:"\u041E\u0421\u041D\u041E\u0412\u041D\u042B\u0415 \u0421\u0412\u041E\u0419\u0421\u0422\u0412\u0410",organization:"\u041E\u0420\u0413\u0410\u041D\u0418\u0417\u0410\u0426\u0418\u042F",customProperties:"\u041F\u041E\u041B\u042C\u0417\u041E\u0412\u0410\u0422\u0415\u041B\u042C\u0421\u041A\u0418\u0415 \u0421\u0412\u041E\u0419\u0421\u0422\u0412\u0410",failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043C\u0435\u043D\u044E \u0441\u0432\u043E\u0439\u0441\u0442\u0432",properties:{statusDot:"\u0422\u043E\u0447\u043A\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430",priorityDot:"\u0422\u043E\u0447\u043A\u0430 \u043F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442\u0430",dueDate:"\u0421\u0440\u043E\u043A \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F",scheduledDate:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",timeEstimate:"\u041E\u0446\u0435\u043D\u043A\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u0438",totalTrackedTime:"\u041E\u0431\u0449\u0435\u0435 \u043E\u0442\u0441\u043B\u0435\u0436\u0435\u043D\u043D\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",recurrence:"\u041F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",completedDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",createdDate:"\u0414\u0430\u0442\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F",modifiedDate:"\u0414\u0430\u0442\u0430 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F",projects:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",contexts:"\u041A\u043E\u043D\u0442\u0435\u043A\u0441\u0442\u044B",tags:"\u0422\u0435\u0433\u0438",blocked:"\u0417\u0430\u0431\u043B\u043E\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u0430",blocking:"\u0411\u043B\u043E\u043A\u0438\u0440\u0443\u0435\u0442"}},reminderContextMenu:{remindBeforeDue:"\u041D\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C \u0434\u043E \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F...",remindBeforeScheduled:"\u041D\u0430\u043F\u043E\u043C\u043D\u0438\u0442\u044C \u0434\u043E \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B...",manageAllReminders:"\u0423\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u0432\u0441\u0435\u043C\u0438 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F\u043C\u0438...",clearAllReminders:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u0441\u0435 \u043D\u0430\u043F\u043E\u043C\u0438\u043D\u0430\u043D\u0438\u044F",quickReminders:{atTime:"\u0412\u043E \u0432\u0440\u0435\u043C\u044F \u0441\u043E\u0431\u044B\u0442\u0438\u044F",fiveMinutesBefore:"\u0417\u0430 5 \u043C\u0438\u043D\u0443\u0442",fifteenMinutesBefore:"\u0417\u0430 15 \u043C\u0438\u043D\u0443\u0442",oneHourBefore:"\u0417\u0430 1 \u0447\u0430\u0441",oneDayBefore:"\u0417\u0430 1 \u0434\u0435\u043D\u044C"}},recurrenceContextMenu:{daily:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E",weeklyOn:"\u0415\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E \u0432 {day}",everyTwoWeeksOn:"\u041A\u0430\u0436\u0434\u044B\u0435 2 \u043D\u0435\u0434\u0435\u043B\u0438 \u0432 {day}",monthlyOnThe:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E \u0432 {ordinal}",everyThreeMonthsOnThe:"\u041A\u0430\u0436\u0434\u044B\u0435 3 \u043C\u0435\u0441\u044F\u0446\u0430 \u0432 {ordinal}",yearlyOn:"\u0415\u0436\u0435\u0433\u043E\u0434\u043D\u043E {month} {ordinal}",weekdaysOnly:"\u0422\u043E\u043B\u044C\u043A\u043E \u0440\u0430\u0431\u043E\u0447\u0438\u0435 \u0434\u043D\u0438",dailyAfterCompletion:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E (\u043F\u043E\u0441\u043B\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F)",every3DaysAfterCompletion:"\u041A\u0430\u0436\u0434\u044B\u0435 3 \u0434\u043D\u044F (\u043F\u043E\u0441\u043B\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F)",weeklyAfterCompletion:"\u0415\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E (\u043F\u043E\u0441\u043B\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F)",monthlyAfterCompletion:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E (\u043F\u043E\u0441\u043B\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F)",customRecurrence:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435...",clearRecurrence:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",customRecurrenceModal:{title:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",startDate:"\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430",startDateDesc:"\u0414\u0430\u0442\u0430, \u043A\u043E\u0433\u0434\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0435\u0442\u0441\u044F \u0448\u0430\u0431\u043B\u043E\u043D \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F",startTime:"\u0412\u0440\u0435\u043C\u044F \u043D\u0430\u0447\u0430\u043B\u0430",startTimeDesc:"\u0412\u0440\u0435\u043C\u044F, \u043A\u043E\u0433\u0434\u0430 \u0434\u043E\u043B\u0436\u043D\u044B \u043F\u043E\u044F\u0432\u043B\u044F\u0442\u044C\u0441\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u044D\u043A\u0437\u0435\u043C\u043F\u043B\u044F\u0440\u044B (\u043E\u043F\u0446\u0438\u043E\u043D\u0430\u043B\u044C\u043D\u043E)",recurFrom:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u0442\u044C \u043E\u0442",recurFromDesc:"\u041A\u043E\u0433\u0434\u0430 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435?",scheduledDate:"\u0417\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430",completionDate:"\u0414\u0430\u0442\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",frequency:"\u0427\u0430\u0441\u0442\u043E\u0442\u0430",interval:"\u0418\u043D\u0442\u0435\u0440\u0432\u0430\u043B",intervalDesc:"\u041A\u0430\u0436\u0434\u044B\u0435 X \u0434\u043D\u0435\u0439/\u043D\u0435\u0434\u0435\u043B\u044C/\u043C\u0435\u0441\u044F\u0446\u0435\u0432/\u043B\u0435\u0442",daysOfWeek:"\u0414\u043D\u0438 \u043D\u0435\u0434\u0435\u043B\u0438",daysOfWeekDesc:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043A\u043E\u043D\u043A\u0440\u0435\u0442\u043D\u044B\u0435 \u0434\u043D\u0438 (\u0434\u043B\u044F \u0435\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u044F)",monthlyRecurrence:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",monthlyRecurrenceDesc:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0442\u044C \u0435\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E",yearlyRecurrence:"\u0415\u0436\u0435\u0433\u043E\u0434\u043D\u043E\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435",yearlyRecurrenceDesc:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u0430\u043A \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u0442\u044C \u0435\u0436\u0435\u0433\u043E\u0434\u043D\u043E",endCondition:"\u0423\u0441\u043B\u043E\u0432\u0438\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F",endConditionDesc:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435, \u043A\u043E\u0433\u0434\u0430 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u0434\u043E\u043B\u0436\u043D\u043E \u0437\u0430\u043A\u043E\u043D\u0447\u0438\u0442\u044C\u0441\u044F",neverEnds:"\u041D\u0438\u043A\u043E\u0433\u0434\u0430 \u043D\u0435 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044F",endAfterOccurrences:"\u0417\u0430\u043A\u043E\u043D\u0447\u0438\u0442\u044C \u043F\u043E\u0441\u043B\u0435 {count} \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0439",endOnDate:"\u0417\u0430\u043A\u043E\u043D\u0447\u0438\u0442\u044C {date}",onDayOfMonth:"\u0412 \u0434\u0435\u043D\u044C {day} \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043C\u0435\u0441\u044F\u0446\u0430",onTheWeekOfMonth:"\u0412 {week} {day} \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u043C\u0435\u0441\u044F\u0446\u0430",onDateOfYear:"{month} {day} \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0433\u043E\u0434\u0430",onTheWeekOfYear:"\u0412 {week} {day} {month} \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0433\u043E\u0434\u0430",frequencies:{daily:"\u0415\u0436\u0435\u0434\u043D\u0435\u0432\u043D\u043E",weekly:"\u0415\u0436\u0435\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u043E",monthly:"\u0415\u0436\u0435\u043C\u0435\u0441\u044F\u0447\u043D\u043E",yearly:"\u0415\u0436\u0435\u0433\u043E\u0434\u043D\u043E"},weekPositions:{first:"\u043F\u0435\u0440\u0432\u044B\u0439",second:"\u0432\u0442\u043E\u0440\u043E\u0439",third:"\u0442\u0440\u0435\u0442\u0438\u0439",fourth:"\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044B\u0439",last:"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0439"},weekdays:{monday:"\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A",tuesday:"\u0412\u0442\u043E\u0440\u043D\u0438\u043A",wednesday:"\u0421\u0440\u0435\u0434\u0430",thursday:"\u0427\u0435\u0442\u0432\u0435\u0440\u0433",friday:"\u041F\u044F\u0442\u043D\u0438\u0446\u0430",saturday:"\u0421\u0443\u0431\u0431\u043E\u0442\u0430",sunday:"\u0412\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435"},weekdaysShort:{mon:"\u041F\u043D",tue:"\u0412\u0442",wed:"\u0421\u0440",thu:"\u0427\u0442",fri:"\u041F\u0442",sat:"\u0421\u0431",sun:"\u0412\u0441"},cancel:"\u041E\u0442\u043C\u0435\u043D\u0430",save:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C"}}}};var zG={common:{appName:"TaskNotes",new:"\u65B0\u5EFA",cancel:"\u53D6\u6D88",confirm:"\u786E\u8BA4",close:"\u5173\u95ED",save:"\u4FDD\u5B58",language:"\u8BED\u8A00",systemDefault:"\u7CFB\u7EDF\u9ED8\u8BA4",loading:"\u52A0\u8F7D\u4E2D...",languages:{en:"\u82F1\u8BED",fr:"\u6CD5\u8BED",ru:"\u4FC4\u8BED",zh:"\u4E2D\u6587",de:"\u5FB7\u8BED",es:"\u897F\u73ED\u7259\u8BED",ja:"\u65E5\u8BED",pt:"\u8461\u8404\u7259\u8BED\uFF08\u5DF4\u897F\uFF09"},weekdays:{sunday:"\u661F\u671F\u65E5",monday:"\u661F\u671F\u4E00",tuesday:"\u661F\u671F\u4E8C",wednesday:"\u661F\u671F\u4E09",thursday:"\u661F\u671F\u56DB",friday:"\u661F\u671F\u4E94",saturday:"\u661F\u671F\u516D"},months:{january:"\u4E00\u6708",february:"\u4E8C\u6708",march:"\u4E09\u6708",april:"\u56DB\u6708",may:"\u4E94\u6708",june:"\u516D\u6708",july:"\u4E03\u6708",august:"\u516B\u6708",september:"\u4E5D\u6708",october:"\u5341\u6708",november:"\u5341\u4E00\u6708",december:"\u5341\u4E8C\u6708"}},views:{agenda:{title:"\u8BAE\u7A0B",today:"\u4ECA\u5929",overdue:"\u903E\u671F",refreshCalendars:"\u5237\u65B0\u65E5\u5386",actions:{previousPeriod:"\u4E0A\u4E00\u65F6\u6BB5",nextPeriod:"\u4E0B\u4E00\u65F6\u6BB5",goToToday:"\u8F6C\u5230\u4ECA\u5929",refreshCalendars:"\u5237\u65B0\u65E5\u5386\u8BA2\u9605"},loading:"\u6B63\u5728\u52A0\u8F7D\u8BAE\u7A0B...",dayToggle:"\u5207\u6362\u65E5\u671F",overdueToggle:"\u5207\u6362\u903E\u671F\u90E8\u5206",expandAllDays:"\u5C55\u5F00\u6240\u6709\u5929",collapseAllDays:"\u6298\u53E0\u6240\u6709\u5929",notices:{calendarNotReady:"\u65E5\u5386\u670D\u52A1\u5C1A\u672A\u51C6\u5907\u5C31\u7EEA",calendarRefreshed:"\u65E5\u5386\u8BA2\u9605\u5DF2\u5237\u65B0",refreshFailed:"\u5237\u65B0\u5931\u8D25"},empty:{noItemsScheduled:"\u6CA1\u6709\u5B89\u6392\u7684\u9879\u76EE",noItemsFound:"\u672A\u627E\u5230\u9879\u76EE",helpText:"\u521B\u5EFA\u5177\u6709\u622A\u6B62\u65E5\u671F\u6216\u8BA1\u5212\u65E5\u671F\u7684\u4EFB\u52A1\uFF0C\u6216\u6DFB\u52A0\u7B14\u8BB0\u4EE5\u5728\u6B64\u5904\u663E\u793A\u5B83\u4EEC\u3002"},contextMenu:{showOverdueSection:"\u663E\u793A\u903E\u671F\u90E8\u5206",showNotes:"\u663E\u793A\u7B14\u8BB0",calendarSubscriptions:"\u65E5\u5386\u8BA2\u9605"},periods:{thisWeek:"\u672C\u5468"},tipPrefix:"\u63D0\u793A\uFF1A"},taskList:{title:"\u4EFB\u52A1",expandAllGroups:"\u5C55\u5F00\u6240\u6709\u5206\u7EC4",collapseAllGroups:"\u6298\u53E0\u6240\u6709\u5206\u7EC4",noTasksFound:"\u672A\u627E\u5230\u7B26\u5408\u6240\u9009\u7B5B\u9009\u6761\u4EF6\u7684\u4EFB\u52A1\u3002"},notes:{title:"\u7B14\u8BB0",refreshButton:"\u6B63\u5728\u5237\u65B0...",refreshingButton:"\u5237\u65B0\u4E2D...",notices:{indexingDisabled:"\u7B14\u8BB0\u7D22\u5F15\u5DF2\u7981\u7528"},empty:{noNotesFound:"\u672A\u627E\u5230\u7B14\u8BB0",helpText:"\u672A\u627E\u5230\u6240\u9009\u65E5\u671F\u7684\u7B14\u8BB0\u3002\u5C1D\u8BD5\u5728\u8FF7\u4F60\u65E5\u5386\u89C6\u56FE\u4E2D\u9009\u62E9\u4E0D\u540C\u7684\u65E5\u671F\u6216\u521B\u5EFA\u4E00\u4E9B\u7B14\u8BB0\u3002"},loading:"\u52A0\u8F7D\u7B14\u8BB0\u4E2D...",refreshButtonAriaLabel:"\u5237\u65B0\u7B14\u8BB0\u5217\u8868"},miniCalendar:{title:"\u8FF7\u4F60\u65E5\u5386"},advancedCalendar:{title:"\u65E5\u5386",filters:{showFilters:"\u663E\u793A\u7B5B\u9009\u5668",hideFilters:"\u9690\u85CF\u7B5B\u9009\u5668"},viewOptions:{calendarSubscriptions:"\u65E5\u5386\u8BA2\u9605",timeEntries:"\u65F6\u95F4\u6761\u76EE",timeblocks:"\u65F6\u95F4\u5757",scheduledDates:"\u8BA1\u5212\u65E5\u671F",dueDates:"\u622A\u6B62\u65E5\u671F",allDaySlot:"\u5168\u5929\u65F6\u6BB5",scheduledTasks:"\u8BA1\u5212\u4EFB\u52A1",recurringTasks:"\u91CD\u590D\u4EFB\u52A1"},buttons:{refresh:"\u5237\u65B0",refreshHint:"\u5237\u65B0\u65E5\u5386\u8BA2\u9605"},notices:{icsServiceNotAvailable:"ICS\u8BA2\u9605\u670D\u52A1\u4E0D\u53EF\u7528",calendarRefreshedAll:"\u6240\u6709\u65E5\u5386\u8BA2\u9605\u5DF2\u6210\u529F\u5237\u65B0",refreshFailed:"\u5237\u65B0\u90E8\u5206\u65E5\u5386\u8BA2\u9605\u5931\u8D25",timeblockSpecificTime:"\u65F6\u95F4\u5757\u5FC5\u987B\u6709\u5177\u4F53\u65F6\u95F4\u3002\u8BF7\u5728\u5468\u89C6\u56FE\u6216\u65E5\u89C6\u56FE\u4E2D\u9009\u62E9\u65F6\u95F4\u8303\u56F4\u3002",timeblockMoved:'\u65F6\u95F4\u5757"{title}"\u5DF2\u79FB\u52A8\u5230{date}',timeblockUpdated:'\u65F6\u95F4\u5757"{title}"\u7684\u65F6\u95F4\u5DF2\u66F4\u65B0',timeblockMoveFailed:"\u79FB\u52A8\u65F6\u95F4\u5757\u5931\u8D25\uFF1A{message}",timeblockResized:'\u65F6\u95F4\u5757"{title}"\u7684\u6301\u7EED\u65F6\u95F4\u5DF2\u66F4\u65B0',timeblockResizeFailed:"\u8C03\u6574\u65F6\u95F4\u5757\u5927\u5C0F\u5931\u8D25\uFF1A{message}",taskScheduled:'\u4EFB\u52A1"{title}"\u5DF2\u5B89\u6392\u5230{date}',scheduleTaskFailed:"\u5B89\u6392\u4EFB\u52A1\u5931\u8D25",endTimeAfterStart:"\u7ED3\u675F\u65F6\u95F4\u5FC5\u987B\u665A\u4E8E\u5F00\u59CB\u65F6\u95F4",timeEntryNotFound:"\u672A\u627E\u5230\u65F6\u95F4\u6761\u76EE",timeEntryDeleted:"\u65F6\u95F4\u6761\u76EE\u5DF2\u5220\u9664",deleteTimeEntryFailed:"\u5220\u9664\u65F6\u95F4\u6761\u76EE\u5931\u8D25"},timeEntry:{estimatedSuffix:"\u9884\u4F30",trackedSuffix:"\u5DF2\u8BB0\u5F55",recurringPrefix:"\u91CD\u590D\uFF1A",completedPrefix:"\u5DF2\u5B8C\u6210\uFF1A",createdPrefix:"\u521B\u5EFA\uFF1A",modifiedPrefix:"\u4FEE\u6539\uFF1A",duePrefix:"\u622A\u6B62\uFF1A",scheduledPrefix:"\u8BA1\u5212\uFF1A"},contextMenus:{openTask:"\u6253\u5F00\u4EFB\u52A1",deleteTimeEntry:"\u5220\u9664\u65F6\u95F4\u6761\u76EE",deleteTimeEntryTitle:"\u5220\u9664\u65F6\u95F4\u6761\u76EE",deleteTimeEntryConfirm:"\u786E\u5B9A\u8981\u5220\u9664\u6B64\u65F6\u95F4\u6761\u76EE{duration}\u5417\uFF1F\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002",deleteButton:"\u5220\u9664",cancelButton:"\u53D6\u6D88"}},basesCalendar:{title:"Bases\u65E5\u5386",today:"\u4ECA\u5929",buttonText:{month:"\u6708",week:"\u5468",day:"\u65E5",year:"\u5E74",list:"\u5217\u8868",customDays:"{count}\u5929",listDays:"{count}\u5929 \u5217\u8868",refresh:"\u5237\u65B0"},hints:{refresh:"\u5237\u65B0\u65E5\u5386\u8BA2\u9605"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"\u65E5\u671F\u5BFC\u822A",events:"\u4E8B\u4EF6",layout:"\u5E03\u5C40",propertyBasedEvents:"\u57FA\u4E8E\u5C5E\u6027\u7684\u4E8B\u4EF6",calendarSubscriptions:"\u65E5\u5386\u8BA2\u9605",googleCalendars:"Google \u65E5\u5386",microsoftCalendars:"Microsoft \u65E5\u5386"},dateNavigation:{navigateToDate:"\u5BFC\u822A\u5230\u65E5\u671F",navigateToDatePlaceholder:"YYYY-MM-DD\uFF08\u4F8B\u5982\uFF1A2025-01-15\uFF09- \u7559\u7A7A\u4EE5\u4F7F\u7528\u5C5E\u6027",navigateToDateFromProperty:"\u4ECE\u5C5E\u6027\u5BFC\u822A\u5230\u65E5\u671F",navigateToDateFromPropertyPlaceholder:"\u9009\u62E9\u65E5\u671F\u5C5E\u6027\uFF08\u53EF\u9009\uFF09",propertyNavigationStrategy:"\u5C5E\u6027\u5BFC\u822A\u7B56\u7565",strategies:{first:"\u7B2C\u4E00\u4E2A\u7ED3\u679C",earliest:"\u6700\u65E9\u65E5\u671F",latest:"\u6700\u665A\u65E5\u671F"}},events:{showScheduledTasks:"\u663E\u793A\u8BA1\u5212\u4EFB\u52A1",showDueTasks:"\u663E\u793A\u5230\u671F\u4EFB\u52A1",showRecurringTasks:"\u663E\u793A\u91CD\u590D\u4EFB\u52A1",showTimeEntries:"\u663E\u793A\u65F6\u95F4\u6761\u76EE",showTimeblocks:"\u663E\u793A\u65F6\u95F4\u5757",showPropertyBasedEvents:"\u663E\u793A\u57FA\u4E8E\u5C5E\u6027\u7684\u4E8B\u4EF6"},layout:{calendarView:"\u65E5\u5386\u89C6\u56FE",customDayCount:"\u81EA\u5B9A\u4E49\u5929\u6570",listDayCount:"\u5217\u8868\u5929\u6570",dayStartTime:"\u4E00\u5929\u5F00\u59CB\u65F6\u95F4",dayStartTimePlaceholder:"HH:mm:ss\uFF08\u4F8B\u5982\uFF1A08:00:00\uFF09",dayEndTime:"\u4E00\u5929\u7ED3\u675F\u65F6\u95F4",dayEndTimePlaceholder:"HH:mm:ss\uFF08\u4F8B\u5982\uFF1A20:00:00\uFF09",timeSlotDuration:"\u65F6\u95F4\u6BB5\u6301\u7EED\u65F6\u95F4",timeSlotDurationPlaceholder:"HH:mm:ss\uFF08\u4F8B\u5982\uFF1A00:30:00\uFF09",weekStartsOn:"\u4E00\u5468\u5F00\u59CB\u4E8E",showWeekNumbers:"\u663E\u793A\u5468\u6570",showNowIndicator:"\u663E\u793A\u5F53\u524D\u65F6\u95F4\u6307\u793A\u5668",showWeekends:"\u663E\u793A\u5468\u672B",showAllDaySlot:"\u663E\u793A\u5168\u5929\u65F6\u6BB5",showTodayHighlight:"\u7A81\u51FA\u663E\u793A\u4ECA\u5929",showSelectionPreview:"\u663E\u793A\u9009\u62E9\u9884\u89C8",slotEventOverlap:"\u5141\u8BB8\u4E8B\u4EF6\u91CD\u53E0",enableSearch:"\u542F\u7528\u641C\u7D22\u6846",eventMaxStack:"\u6700\u5927\u5806\u53E0\u4E8B\u4EF6\u6570\uFF08\u5468/\u65E5\u89C6\u56FE\uFF0C0 = \u65E0\u9650\u5236\uFF09",dayMaxEvents:"\u6BCF\u5929\u6700\u5927\u4E8B\u4EF6\u6570\uFF08\u6708\u89C6\u56FE\uFF0C0 = \u81EA\u52A8\uFF09",dayMaxEventRows:"\u6BCF\u5929\u6700\u5927\u4E8B\u4EF6\u884C\u6570\uFF08\u6708\u89C6\u56FE\uFF0C0 = \u65E0\u9650\u5236\uFF09",timeFormat:"\u65F6\u95F4\u683C\u5F0F",timeFormat12:"12\u5C0F\u65F6\u5236\uFF08AM/PM\uFF09",timeFormat24:"24\u5C0F\u65F6\u5236",initialScrollTime:"\u521D\u59CB\u6EDA\u52A8\u65F6\u95F4",initialScrollTimePlaceholder:"HH:mm:ss\uFF08\u4F8B\u5982\uFF1A08:00:00\uFF09",minimumEventHeight:"\u6700\u5C0F\u4E8B\u4EF6\u9AD8\u5EA6\uFF08px\uFF09"},propertyBasedEvents:{startDateProperty:"\u5F00\u59CB\u65E5\u671F\u5C5E\u6027",startDatePropertyPlaceholder:"\u9009\u62E9\u5F00\u59CB\u65E5\u671F/\u65F6\u95F4\u7684\u5C5E\u6027",endDateProperty:"\u7ED3\u675F\u65E5\u671F\u5C5E\u6027\uFF08\u53EF\u9009\uFF09",endDatePropertyPlaceholder:"\u9009\u62E9\u7ED3\u675F\u65E5\u671F/\u65F6\u95F4\u7684\u5C5E\u6027",titleProperty:"\u6807\u9898\u5C5E\u6027\uFF08\u53EF\u9009\uFF09",titlePropertyPlaceholder:"\u9009\u62E9\u4E8B\u4EF6\u6807\u9898\u7684\u5C5E\u6027"}},errors:{failedToInitialize:"\u521D\u59CB\u5316\u65E5\u5386\u5931\u8D25"}},kanban:{title:"\u770B\u677F",newTask:"\u65B0\u4EFB\u52A1",addCard:"+ \u6DFB\u52A0\u5361\u7247",noTasks:"\u6CA1\u6709\u4EFB\u52A1",uncategorized:"\u672A\u5206\u7C7B",noProject:"\u65E0\u9879\u76EE",notices:{loadFailed:"\u770B\u677F\u52A0\u8F7D\u5931\u8D25",movedTask:'\u4EFB\u52A1\u5DF2\u79FB\u52A8\u5230"{0}"'},errors:{loadingBoard:"\u52A0\u8F7D\u770B\u677F\u65F6\u51FA\u9519\u3002",noGroupBy:"\u770B\u677F\u89C6\u56FE\u9700\u8981\u914D\u7F6E\u300C\u5206\u7EC4\u4F9D\u636E\u300D\u5C5E\u6027\u3002\u70B9\u51FB\u300C\u6392\u5E8F\u300D\u6309\u94AE\uFF0C\u7136\u540E\u5728\u300C\u5206\u7EC4\u4F9D\u636E\u300D\u4E0B\u9009\u62E9\u4E00\u4E2A\u5C5E\u6027\u3002"},columnTitle:"\u65E0\u6807\u9898"},pomodoro:{title:"\u756A\u8304\u949F",status:{focus:"\u4E13\u6CE8",ready:"\u51C6\u5907\u5F00\u59CB",paused:"\u5DF2\u6682\u505C",working:"\u5DE5\u4F5C\u4E2D",shortBreak:"\u77ED\u4F11\u606F",longBreak:"\u957F\u4F11\u606F",breakPrompt:"\u505A\u5F97\u5F88\u597D\uFF01\u662F\u65F6\u5019{length}\u4F11\u606F\u4E86",breakLength:{short:"\u77ED",long:"\u957F"},breakComplete:"\u4F11\u606F\u5B8C\u6210\uFF01\u51C6\u5907\u597D\u8FDB\u884C\u4E0B\u4E00\u4E2A\u756A\u8304\u949F\u4E86\u5417\uFF1F"},buttons:{start:"\u5F00\u59CB",pause:"\u6682\u505C",stop:"\u505C\u6B62",resume:"\u7EE7\u7EED",startShortBreak:"\u5F00\u59CB\u77ED\u4F11\u606F",startLongBreak:"\u5F00\u59CB\u957F\u4F11\u606F",skipBreak:"\u8DF3\u8FC7\u4F11\u606F",chooseTask:"\u9009\u62E9\u4EFB\u52A1...",changeTask:"\u66F4\u6362\u4EFB\u52A1...",clearTask:"\u6E05\u9664\u4EFB\u52A1",selectDifferentTask:"\u9009\u62E9\u5176\u4ED6\u4EFB\u52A1"},notices:{noTasks:"\u672A\u627E\u5230\u672A\u5F52\u6863\u7684\u4EFB\u52A1\u3002\u8BF7\u5148\u521B\u5EFA\u4E00\u4E9B\u4EFB\u52A1\u3002",loadFailed:"\u52A0\u8F7D\u4EFB\u52A1\u5931\u8D25"},statsLabel:"\u4ECA\u65E5\u5B8C\u6210"},pomodoroStats:{title:"\u756A\u8304\u949F\u7EDF\u8BA1",heading:"\u756A\u8304\u949F\u7EDF\u8BA1\u6570\u636E",refresh:"\u5237\u65B0",sections:{overview:"\u6982\u89C8",today:"\u4ECA\u5929",week:"\u672C\u5468",allTime:"\u5168\u90E8\u65F6\u95F4",recent:"\u6700\u8FD1\u7684\u4F1A\u8BDD"},overviewCards:{todayPomos:{label:"\u4ECA\u65E5\u756A\u8304\u949F",change:{more:"\u6BD4\u6628\u5929\u591A{count}\u4E2A",less:"\u6BD4\u6628\u5929\u5C11{count}\u4E2A"}},totalPomos:{label:"\u603B\u756A\u8304\u949F\u6570"},todayFocus:{label:"\u4ECA\u65E5\u4E13\u6CE8\u65F6\u95F4",change:{more:"\u6BD4\u6628\u5929\u591A{duration}",less:"\u6BD4\u6628\u5929\u5C11{duration}"}},totalFocus:{label:"\u603B\u4E13\u6CE8\u65F6\u957F"}},stats:{pomodoros:"\u756A\u8304\u949F",streak:"\u8FDE\u51FB",minutes:"\u5206\u949F",average:"\u5E73\u5747\u65F6\u957F",completion:"\u5B8C\u6210\u7387"},recents:{empty:"\u5C1A\u672A\u8BB0\u5F55\u4F1A\u8BDD",duration:"{minutes}\u5206\u949F",status:{completed:"\u5DF2\u5B8C\u6210",interrupted:"\u5DF2\u4E2D\u65AD"}}},stats:{title:"\u7EDF\u8BA1",taskProjectStats:"\u4EFB\u52A1\u548C\u9879\u76EE\u7EDF\u8BA1",sections:{filters:"\u7B5B\u9009\u5668",overview:"\u6982\u89C8",today:"\u4ECA\u5929",thisWeek:"\u672C\u5468",thisMonth:"\u672C\u6708",projectBreakdown:"\u9879\u76EE\u5206\u89E3",dateRange:"\u65E5\u671F\u8303\u56F4"},filters:{minTime:"\u6700\u5C11\u65F6\u95F4\uFF08\u5206\u949F\uFF09",allTasks:"\u6240\u6709\u4EFB\u52A1",activeOnly:"\u4EC5\u6D3B\u8DC3\u7684",completedOnly:"\u4EC5\u5DF2\u5B8C\u6210\u7684"},refreshButton:"\u5237\u65B0",timeRanges:{allTime:"\u4E00\u76F4",last7Days:"\u6700\u8FD1 7 \u5929",last30Days:"\u6700\u8FD1 30 \u5929",last90Days:"\u6700\u8FD1 90 \u5929",customRange:"\u81EA\u5B9A\u4E49\u8303\u56F4"},resetFiltersButton:"\u91CD\u7F6E\u7B5B\u9009",dateRangeFrom:"\u4ECE",dateRangeTo:"\u5230",noProject:"\u65E0\u9879\u76EE",cards:{timeTrackedEstimated:"\u8DDF\u8E2A\u65F6\u95F4/\u9884\u4F30\u65F6\u95F4",totalTasks:"\u603B\u4EFB\u52A1\u6570",completionRate:"\u5B8C\u6210\u7387",activeProjects:"\u6D3B\u8DC3\u9879\u76EE",avgTimePerTask:"\u6BCF\u4E2A\u4EFB\u52A1\u7684\u5E73\u5747\u65F6\u95F4"},labels:{tasks:"\u4EFB\u52A1",completed:"\u5DF2\u5B8C\u6210",projects:"\u9879\u76EE"},noProjectData:"\u65E0\u53EF\u7528\u7684\u9879\u76EE\u6570\u636E",notAvailable:"\u4E0D\u9002\u7528",noTasks:"\u672A\u627E\u5230\u4EFB\u52A1",loading:"\u52A0\u8F7D\u4E2D..."},releaseNotes:{title:"TaskNotes {version} \u7684\u65B0\u529F\u80FD",header:"TaskNotes {version} \u7684\u65B0\u529F\u80FD",viewAllLink:"\u5728 GitHub \u4E0A\u67E5\u770B\u6240\u6709\u7248\u672C\u8BF4\u660E \u2192",starMessage:"\u5982\u679C\u60A8\u89C9\u5F97 TaskNotes \u6709\u7528\uFF0C\u8BF7\u5728 GitHub \u4E0A\u7ED9\u5B83\u52A0\u661F"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"\u5E38\u89C4",taskProperties:"\u4EFB\u52A1\u5C5E\u6027",modalFields:"\u6A21\u6001\u6846\u5B57\u6BB5",defaults:"\u9ED8\u8BA4\u503C\u548C\u6A21\u677F",appearance:"\u5916\u89C2\u548C\u754C\u9762",features:"\u529F\u80FD",integrations:"\u96C6\u6210"},features:{inlineTasks:{header:"\u5185\u8054\u4EFB\u52A1",description:"\u4EFB\u52A1\u94FE\u63A5\u548C\u590D\u9009\u6846\u8F6C\u4EFB\u52A1\u529F\u80FD\u7684\u8BBE\u7F6E\u3002"},overlays:{taskLinkToggle:{name:"\u4EFB\u52A1\u94FE\u63A5\u8986\u76D6",description:"\u60AC\u505C\u5728\u4EFB\u52A1\u94FE\u63A5\u4E0A\u65F6\u663E\u793A\u4EA4\u4E92\u5F0F\u8986\u76D6"}},instantConvert:{toggle:{name:"\u5728\u590D\u9009\u6846\u65C1\u8FB9\u663E\u793A\u8F6C\u6362\u6309\u94AE",description:"\u5728Markdown\u590D\u9009\u6846\u65C1\u8FB9\u663E\u793A\u5185\u8054\u6309\u94AE\uFF0C\u5C06\u5176\u8F6C\u6362\u4E3ATaskNotes"},folder:{name:"\u5DF2\u8F6C\u6362\u4EFB\u52A1\u7684\u6587\u4EF6\u5939",description:"\u4ECE\u590D\u9009\u6846\u8F6C\u6362\u7684\u4EFB\u52A1\u5C06\u5728\u5176\u4E2D\u521B\u5EFA\u7684\u6587\u4EF6\u5939\u3002\u7559\u7A7A\u5219\u4F7F\u7528\u9ED8\u8BA4\u4EFB\u52A1\u6587\u4EF6\u5939\u3002\u4F7F\u7528{{currentNotePath}}\u8868\u793A\u5F53\u524D\u7B14\u8BB0\u7684\u6587\u4EF6\u5939\uFF0C\u6216\u4F7F\u7528{{currentNoteTitle}}\u8868\u793A\u4EE5\u7B14\u8BB0\u6807\u9898\u547D\u540D\u7684\u5B50\u6587\u4EF6\u5939\u3002"}},nlp:{header:"\u81EA\u7136\u8BED\u8A00\u5904\u7406",description:"\u4ECE\u6587\u672C\u8F93\u5165\u89E3\u6790\u65E5\u671F\u3001\u4F18\u5148\u7EA7\u548C\u5176\u4ED6\u5C5E\u6027\u3002",enable:{name:"\u542F\u7528\u81EA\u7136\u8BED\u8A00\u4EFB\u52A1\u8F93\u5165",description:"\u521B\u5EFA\u4EFB\u52A1\u65F6\u4ECE\u81EA\u7136\u8BED\u8A00\u89E3\u6790\u5230\u671F\u65E5\u671F\u3001\u4F18\u5148\u7EA7\u548C\u4E0A\u4E0B\u6587"},defaultToScheduled:{name:"\u9ED8\u8BA4\u4E3A\u5DF2\u5B89\u6392",description:"\u5F53NLP\u68C0\u6D4B\u5230\u65E0\u4E0A\u4E0B\u6587\u7684\u65E5\u671F\u65F6\uFF0C\u5C06\u5176\u89C6\u4E3A\u5DF2\u5B89\u6392\u800C\u4E0D\u662F\u5230\u671F"},language:{name:"NLP\u8BED\u8A00",description:"\u81EA\u7136\u8BED\u8A00\u5904\u7406\u6A21\u5F0F\u548C\u65E5\u671F\u89E3\u6790\u7684\u8BED\u8A00"},statusTrigger:{name:"\u72B6\u6001\u5EFA\u8BAE\u89E6\u53D1\u5668",description:"\u89E6\u53D1\u72B6\u6001\u5EFA\u8BAE\u7684\u6587\u672C\uFF08\u7559\u7A7A\u4EE5\u7981\u7528\uFF09"}},pomodoro:{header:"\u756A\u8304\u949F\u8BA1\u65F6\u5668",description:"\u914D\u7F6E\u756A\u8304\u949F\u8BA1\u65F6\u5668\u7684\u5DE5\u4F5C/\u4F11\u606F\u95F4\u9694\u3002",workDuration:{name:"\u5DE5\u4F5C\u65F6\u957F",description:"\u5DE5\u4F5C\u95F4\u9694\u7684\u6301\u7EED\u65F6\u95F4\uFF08\u5206\u949F\uFF09"},shortBreak:{name:"\u77ED\u4F11\u606F\u65F6\u957F",description:"\u77ED\u4F11\u606F\u7684\u6301\u7EED\u65F6\u95F4\uFF08\u5206\u949F\uFF09"},longBreak:{name:"\u957F\u4F11\u606F\u65F6\u957F",description:"\u957F\u4F11\u606F\u7684\u6301\u7EED\u65F6\u95F4\uFF08\u5206\u949F\uFF09"},longBreakInterval:{name:"\u957F\u4F11\u606F\u95F4\u9694",description:"\u957F\u4F11\u606F\u524D\u7684\u5DE5\u4F5C\u4F1A\u8BDD\u6570"},autoStartBreaks:{name:"\u81EA\u52A8\u5F00\u59CB\u4F11\u606F",description:"\u5DE5\u4F5C\u4F1A\u8BDD\u540E\u81EA\u52A8\u5F00\u59CB\u4F11\u606F\u8BA1\u65F6\u5668"},autoStartWork:{name:"\u81EA\u52A8\u5F00\u59CB\u5DE5\u4F5C",description:"\u4F11\u606F\u540E\u81EA\u52A8\u5F00\u59CB\u5DE5\u4F5C\u4F1A\u8BDD"},notifications:{name:"\u756A\u8304\u949F\u901A\u77E5",description:"\u756A\u8304\u949F\u4F1A\u8BDD\u7ED3\u675F\u65F6\u663E\u793A\u901A\u77E5"}},uiLanguage:{header:"\u754C\u9762\u8BED\u8A00",description:"\u66F4\u6539TaskNotes\u83DC\u5355\u3001\u901A\u77E5\u548C\u89C6\u56FE\u7684\u8BED\u8A00\u3002",dropdown:{name:"\u754C\u9762\u8BED\u8A00",description:"\u9009\u62E9TaskNotes\u754C\u9762\u6587\u672C\u4F7F\u7528\u7684\u8BED\u8A00"}},pomodoroSound:{enabledName:"\u542F\u7528\u58F0\u97F3",enabledDesc:"\u756A\u8304\u949F\u4F1A\u8BDD\u7ED3\u675F\u65F6\u64AD\u653E\u58F0\u97F3",volumeName:"\u58F0\u97F3\u97F3\u91CF",volumeDesc:"\u756A\u8304\u949F\u58F0\u97F3\u7684\u97F3\u91CF\uFF080-100\uFF09"},dataStorage:{name:"\u756A\u8304\u949F\u6570\u636E\u5B58\u50A8",description:"\u914D\u7F6E\u756A\u8304\u949F\u4F1A\u8BDD\u6570\u636E\u7684\u5B58\u50A8\u4F4D\u7F6E\u548C\u7BA1\u7406\u65B9\u5F0F\u3002",dailyNotes:"\u65E5\u8BB0",pluginData:"\u63D2\u4EF6\u6570\u636E",notices:{locationChanged:"\u756A\u8304\u949F\u5B58\u50A8\u4F4D\u7F6E\u5DF2\u66F4\u6539\u4E3A {location}"}},notifications:{header:"\u901A\u77E5",description:"\u914D\u7F6E\u4EFB\u52A1\u63D0\u9192\u901A\u77E5\u548C\u8B66\u62A5\u3002",enableName:"\u542F\u7528\u901A\u77E5",enableDesc:"\u542F\u7528\u4EFB\u52A1\u63D0\u9192\u901A\u77E5",typeName:"\u901A\u77E5\u7C7B\u578B",typeDesc:"\u8981\u663E\u793A\u7684\u901A\u77E5\u7C7B\u578B",systemLabel:"\u7CFB\u7EDF\u901A\u77E5",inAppLabel:"\u5E94\u7528\u5185\u901A\u77E5"},overdue:{hideCompletedName:"\u5728\u903E\u671F\u4E2D\u9690\u85CF\u5DF2\u5B8C\u6210\u7684\u4EFB\u52A1",hideCompletedDesc:"\u4ECE\u903E\u671F\u4EFB\u52A1\u8BA1\u7B97\u4E2D\u6392\u9664\u5DF2\u5B8C\u6210\u7684\u4EFB\u52A1"},indexing:{disableName:"\u7981\u7528\u7B14\u8BB0\u7D22\u5F15",disableDesc:"\u7981\u7528\u7B14\u8BB0\u5185\u5BB9\u7684\u81EA\u52A8\u7D22\u5F15\u4EE5\u63D0\u9AD8\u6027\u80FD"},suggestions:{debounceName:"\u5EFA\u8BAE\u9632\u6296",debounceDesc:"\u663E\u793A\u5EFA\u8BAE\u524D\u7684\u5EF6\u8FDF\u6BEB\u79D2\u6570"},timeTracking:{autoStopName:"\u81EA\u52A8\u505C\u6B62\u65F6\u95F4\u8DDF\u8E2A",autoStopDesc:"\u4EFB\u52A1\u6807\u8BB0\u4E3A\u5B8C\u6210\u65F6\u81EA\u52A8\u505C\u6B62\u65F6\u95F4\u8DDF\u8E2A",stopNotificationName:"\u65F6\u95F4\u8DDF\u8E2A\u505C\u6B62\u901A\u77E5",stopNotificationDesc:"\u81EA\u52A8\u505C\u6B62\u65F6\u95F4\u8DDF\u8E2A\u65F6\u663E\u793A\u901A\u77E5"},recurring:{maintainOffsetName:"\u5728\u91CD\u590D\u4EFB\u52A1\u4E2D\u4FDD\u6301\u5230\u671F\u65E5\u671F\u504F\u79FB",maintainOffsetDesc:"\u91CD\u590D\u4EFB\u52A1\u5B8C\u6210\u65F6\u4FDD\u6301\u5230\u671F\u65E5\u671F\u548C\u5B89\u6392\u65E5\u671F\u4E4B\u95F4\u7684\u504F\u79FB"},timeblocking:{header:"\u65F6\u95F4\u5757",description:"\u914D\u7F6E\u65F6\u95F4\u5757\u529F\u80FD\uFF0C\u5728\u65E5\u8BB0\u4E2D\u8FDB\u884C\u8F7B\u91CF\u7EA7\u8C03\u5EA6\u3002\u5728\u65E5\u5386\u89C6\u56FE\u4E0A\u62D6\u52A8\u4EE5\u521B\u5EFA\u4E8B\u4EF6 - \u4ECE\u4E0A\u4E0B\u6587\u83DC\u5355\u4E2D\u9009\u62E9'\u65F6\u95F4\u5757'\u3002",enableName:"\u542F\u7528\u65F6\u95F4\u5757",enableDesc:"\u542F\u7528\u65F6\u95F4\u5757\u529F\u80FD\uFF0C\u5728\u65E5\u8BB0\u4E2D\u8FDB\u884C\u8F7B\u91CF\u7EA7\u8C03\u5EA6\u3002\u542F\u7528\u540E\uFF0C'\u65F6\u95F4\u5757'\u9009\u9879\u4F1A\u51FA\u73B0\u5728\u65E5\u5386\u62D6\u52A8\u4E0A\u4E0B\u6587\u83DC\u5355\u4E2D\u3002",showBlocksName:"\u663E\u793A\u65F6\u95F4\u5757",showBlocksDesc:"\u9ED8\u8BA4\u663E\u793A\u65E5\u8BB0\u4E2D\u7684\u65F6\u95F4\u5757",usage:"\u7528\u6CD5\uFF1A\u5728\u65E5\u5386\u4E0A\u62D6\u52A8\u4EE5\u521B\u5EFA\u4E8B\u4EF6\u3002\u4ECE\u4E0A\u4E0B\u6587\u83DC\u5355\u4E2D\u9009\u62E9'\u65F6\u95F4\u5757'\uFF08\u4EC5\u5728\u542F\u7528\u65F6\u95F4\u5757\u65F6\u53EF\u89C1\uFF09\u3002\u62D6\u52A8\u4EE5\u79FB\u52A8\u73B0\u6709\u65F6\u95F4\u5757\u3002\u8C03\u6574\u8FB9\u7F18\u4EE5\u4FEE\u6539\u6301\u7EED\u65F6\u95F4\u3002"},performance:{header:"\u6027\u80FD\u548C\u884C\u4E3A",description:"\u914D\u7F6E\u63D2\u4EF6\u6027\u80FD\u548C\u884C\u4E3A\u9009\u9879\u3002"},timeTrackingSection:{header:"\u65F6\u95F4\u8DDF\u8E2A",description:"\u914D\u7F6E\u81EA\u52A8\u65F6\u95F4\u8DDF\u8E2A\u884C\u4E3A\u3002"},recurringSection:{header:"\u91CD\u590D\u4EFB\u52A1",description:"\u914D\u7F6E\u91CD\u590D\u4EFB\u52A1\u7BA1\u7406\u7684\u884C\u4E3A\u3002"}},defaults:{header:{basicDefaults:"\u57FA\u672C\u9ED8\u8BA4\u503C",dateDefaults:"\u65E5\u671F\u9ED8\u8BA4\u503C",defaultReminders:"\u9ED8\u8BA4\u63D0\u9192",bodyTemplate:"\u6B63\u6587\u6A21\u677F",instantTaskConversion:"\u5373\u65F6\u4EFB\u52A1\u8F6C\u6362"},description:{basicDefaults:"\u4E3A\u65B0\u4EFB\u52A1\u8BBE\u7F6E\u9ED8\u8BA4\u503C\u4EE5\u52A0\u5FEB\u4EFB\u52A1\u521B\u5EFA\u3002",dateDefaults:"\u4E3A\u65B0\u4EFB\u52A1\u8BBE\u7F6E\u9ED8\u8BA4\u5230\u671F\u548C\u5B89\u6392\u65E5\u671F\u3002",defaultReminders:"\u914D\u7F6E\u5C06\u6DFB\u52A0\u5230\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u63D0\u9192\u3002",bodyTemplate:"\u914D\u7F6E\u7528\u4E8E\u65B0\u4EFB\u52A1\u5185\u5BB9\u7684\u6A21\u677F\u6587\u4EF6\u3002",instantTaskConversion:"\u914D\u7F6E\u5373\u65F6\u8F6C\u6362\u6587\u672C\u4E3A\u4EFB\u52A1\u65F6\u7684\u884C\u4E3A\u3002"},basicDefaults:{defaultStatus:{name:"\u9ED8\u8BA4\u72B6\u6001",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u72B6\u6001"},defaultPriority:{name:"\u9ED8\u8BA4\u4F18\u5148\u7EA7",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u4F18\u5148\u7EA7"},defaultContexts:{name:"\u9ED8\u8BA4\u4E0A\u4E0B\u6587",description:"\u9ED8\u8BA4\u4E0A\u4E0B\u6587\u7684\u9017\u53F7\u5206\u9694\u5217\u8868\uFF08\u4F8B\u5982\uFF0C@\u5BB6\uFF0C@\u5DE5\u4F5C\uFF09",placeholder:"@\u5BB6\uFF0C@\u5DE5\u4F5C"},defaultTags:{name:"\u9ED8\u8BA4\u6807\u7B7E",description:"\u9ED8\u8BA4\u6807\u7B7E\u7684\u9017\u53F7\u5206\u9694\u5217\u8868\uFF08\u4E0D\u542B#\uFF09",placeholder:"\u91CD\u8981\uFF0C\u7D27\u6025"},defaultProjects:{name:"\u9ED8\u8BA4\u9879\u76EE",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u9879\u76EE\u94FE\u63A5",selectButton:"\u9009\u62E9\u9879\u76EE",selectTooltip:"\u9009\u62E9\u9ED8\u8BA4\u94FE\u63A5\u7684\u9879\u76EE\u7B14\u8BB0",removeTooltip:"\u4ECE\u9ED8\u8BA4\u9879\u76EE\u4E2D\u79FB\u9664{name}"},useParentNoteAsProject:{name:"\u5373\u65F6\u8F6C\u6362\u65F6\u4F7F\u7528\u7236\u7B14\u8BB0\u4F5C\u4E3A\u9879\u76EE",description:"\u4F7F\u7528\u5373\u65F6\u4EFB\u52A1\u8F6C\u6362\u65F6\u81EA\u52A8\u5C06\u7236\u7B14\u8BB0\u94FE\u63A5\u4E3A\u9879\u76EE"},defaultTimeEstimate:{name:"\u9ED8\u8BA4\u65F6\u95F4\u4F30\u8BA1",description:"\u9ED8\u8BA4\u65F6\u95F4\u4F30\u8BA1\uFF08\u5206\u949F\uFF09\uFF080 = \u65E0\u9ED8\u8BA4\u503C\uFF09",placeholder:"60"},defaultRecurrence:{name:"\u9ED8\u8BA4\u91CD\u590D",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u91CD\u590D\u6A21\u5F0F"}},dateDefaults:{defaultDueDate:{name:"\u9ED8\u8BA4\u5230\u671F\u65E5\u671F",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u5230\u671F\u65E5\u671F"},defaultScheduledDate:{name:"\u9ED8\u8BA4\u5B89\u6392\u65E5\u671F",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u5B89\u6392\u65E5\u671F"}},reminders:{addReminder:{name:"\u6DFB\u52A0\u9ED8\u8BA4\u63D0\u9192",description:"\u521B\u5EFA\u4E00\u4E2A\u65B0\u7684\u9ED8\u8BA4\u63D0\u9192\uFF0C\u5C06\u6DFB\u52A0\u5230\u6240\u6709\u65B0\u4EFB\u52A1",buttonText:"\u6DFB\u52A0\u63D0\u9192"},emptyState:"\u672A\u914D\u7F6E\u9ED8\u8BA4\u63D0\u9192\u3002\u6DFB\u52A0\u63D0\u9192\u4EE5\u81EA\u52A8\u901A\u77E5\u60A8\u6709\u5173\u65B0\u4EFB\u52A1\u7684\u4FE1\u606F\u3002",emptyStateButton:"\u6DFB\u52A0\u63D0\u9192",reminderDescription:"\u63D0\u9192\u63CF\u8FF0",unnamedReminder:"\u672A\u547D\u540D\u63D0\u9192",deleteTooltip:"\u5220\u9664\u63D0\u9192",fields:{description:"\u63CF\u8FF0\uFF1A",type:"\u7C7B\u578B\uFF1A",offset:"\u504F\u79FB\uFF1A",unit:"\u5355\u4F4D\uFF1A",direction:"\u65B9\u5411\uFF1A",relatedTo:"\u76F8\u5173\u4E8E\uFF1A",date:"\u65E5\u671F\uFF1A",time:"\u65F6\u95F4\uFF1A"},types:{relative:"\u76F8\u5BF9\uFF08\u4EFB\u52A1\u65E5\u671F\u524D/\u540E\uFF09",absolute:"\u7EDD\u5BF9\uFF08\u7279\u5B9A\u65E5\u671F/\u65F6\u95F4\uFF09"},units:{minutes:"\u5206\u949F",hours:"\u5C0F\u65F6",days:"\u5929"},directions:{before:"\u4E4B\u524D",after:"\u4E4B\u540E"},relatedTo:{due:"\u5230\u671F\u65E5\u671F",scheduled:"\u5B89\u6392\u65E5\u671F"}},bodyTemplate:{useBodyTemplate:{name:"\u4F7F\u7528\u6B63\u6587\u6A21\u677F",description:"\u4E3A\u4EFB\u52A1\u6B63\u6587\u5185\u5BB9\u4F7F\u7528\u6A21\u677F\u6587\u4EF6"},bodyTemplateFile:{name:"\u6B63\u6587\u6A21\u677F\u6587\u4EF6",description:"\u4EFB\u52A1\u6B63\u6587\u5185\u5BB9\u7684\u6A21\u677F\u6587\u4EF6\u8DEF\u5F84\u3002\u652F\u6301\u6A21\u677F\u53D8\u91CF\u5982{{title}}\u3001{{date}}\u3001{{time}}\u3001{{priority}}\u3001{{status}}\u7B49\u3002",placeholder:"Templates/Task Template.md",ariaLabel:"\u6B63\u6587\u6A21\u677F\u6587\u4EF6\u8DEF\u5F84"},variablesHeader:"\u6A21\u677F\u53D8\u91CF\uFF1A",variables:{title:"{{title}} - \u4EFB\u52A1\u6807\u9898",details:"{{details}} - \u7528\u6237\u4ECE\u6A21\u6001\u6846\u63D0\u4F9B\u7684\u8BE6\u60C5",date:"{{date}} - \u5F53\u524D\u65E5\u671F\uFF08YYYY-MM-DD\uFF09",time:"{{time}} - \u5F53\u524D\u65F6\u95F4\uFF08HH:MM\uFF09",priority:"{{priority}} - \u4EFB\u52A1\u4F18\u5148\u7EA7",status:"{{status}} - \u4EFB\u52A1\u72B6\u6001",contexts:"{{contexts}} - \u4EFB\u52A1\u4E0A\u4E0B\u6587",tags:"{{tags}} - \u4EFB\u52A1\u6807\u7B7E",projects:"{{projects}} - \u4EFB\u52A1\u9879\u76EE"}},instantConversion:{useDefaultsOnInstantConvert:{name:"\u5373\u65F6\u8F6C\u6362\u65F6\u4F7F\u7528\u4EFB\u52A1\u9ED8\u8BA4\u503C",description:"\u5373\u65F6\u8F6C\u6362\u6587\u672C\u4E3A\u4EFB\u52A1\u65F6\u5E94\u7528\u9ED8\u8BA4\u4EFB\u52A1\u8BBE\u7F6E"}},options:{noDefault:"\u65E0\u9ED8\u8BA4\u503C",none:"\u65E0",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",nextWeek:"\u4E0B\u5468",daily:"\u6BCF\u65E5",weekly:"\u6BCF\u5468",monthly:"\u6BCF\u6708",yearly:"\u6BCF\u5E74"}},general:{taskStorage:{header:"\u4EFB\u52A1\u5B58\u50A8",description:"\u914D\u7F6E\u4EFB\u52A1\u5B58\u50A8\u4F4D\u7F6E\u548C\u8BC6\u522B\u65B9\u5F0F\u3002",defaultFolder:{name:"\u9ED8\u8BA4\u4EFB\u52A1\u6587\u4EF6\u5939",description:"\u65B0\u4EFB\u52A1\u7684\u9ED8\u8BA4\u4F4D\u7F6E"},moveArchived:{name:"\u5C06\u5F52\u6863\u4EFB\u52A1\u79FB\u52A8\u5230\u6587\u4EF6\u5939",description:"\u81EA\u52A8\u5C06\u5F52\u6863\u4EFB\u52A1\u79FB\u52A8\u5230\u5F52\u6863\u6587\u4EF6\u5939"},archiveFolder:{name:"\u5F52\u6863\u6587\u4EF6\u5939",description:"\u5F52\u6863\u65F6\u5C06\u4EFB\u52A1\u79FB\u52A8\u5230\u7684\u6587\u4EF6\u5939\u3002\u652F\u6301\u6A21\u677F\u53D8\u91CF\uFF0C\u5982 {{year}}\u3001{{month}}\u3001{{priority}} \u7B49\u3002"}},taskIdentification:{header:"\u4EFB\u52A1\u8BC6\u522B",description:"\u9009\u62E9TaskNotes\u5982\u4F55\u8BC6\u522B\u7B14\u8BB0\u4E3A\u4EFB\u52A1\u3002",identifyBy:{name:"\u8BC6\u522B\u4EFB\u52A1\u901A\u8FC7",description:"\u9009\u62E9\u662F\u901A\u8FC7\u6807\u7B7E\u8FD8\u662F\u901A\u8FC7\u524D\u7F6E\u5C5E\u6027\u8BC6\u522B\u4EFB\u52A1",options:{tag:"\u6807\u7B7E",property:"\u5C5E\u6027"}},taskTag:{name:"\u4EFB\u52A1\u6807\u7B7E",description:"\u8BC6\u522B\u7B14\u8BB0\u4E3A\u4EFB\u52A1\u7684\u6807\u7B7E\uFF08\u4E0D\u542B#\uFF09"},hideIdentifyingTags:{name:"\u5728\u4EFB\u52A1\u5361\u7247\u4E2D\u9690\u85CF\u8BC6\u522B\u6807\u7B7E",description:"\u542F\u7528\u540E\uFF0C\u4E0E\u4EFB\u52A1\u8BC6\u522B\u6807\u7B7E\u5339\u914D\u7684\u6807\u7B7E\uFF08\u5305\u62EC\u5C42\u6B21\u5339\u914D\uFF0C\u5982 'task/project'\uFF09\u5C06\u5728\u4EFB\u52A1\u5361\u7247\u663E\u793A\u4E2D\u9690\u85CF"},taskProperty:{name:"\u4EFB\u52A1\u5C5E\u6027\u540D\u79F0",description:'\u524D\u7F6E\u5C5E\u6027\u540D\u79F0\uFF08\u4F8B\u5982\uFF0C"category"\uFF09'},taskPropertyValue:{name:"\u4EFB\u52A1\u5C5E\u6027\u503C",description:'\u8BC6\u522B\u7B14\u8BB0\u4E3A\u4EFB\u52A1\u7684\u503C\uFF08\u4F8B\u5982\uFF0C"task"\uFF09'}},folderManagement:{header:"\u6587\u4EF6\u5939\u7BA1\u7406",excludedFolders:{name:"\u6392\u9664\u6587\u4EF6\u5939",description:"\u4ECE\u4EFB\u52A1\u7D22\u5F15\u548C\u9879\u76EE\u5EFA\u8BAE\u4E2D\u6392\u9664\u7684\u6587\u4EF6\u5939\u7684\u9017\u53F7\u5206\u9694\u5217\u8868"}},frontmatter:{header:"Frontmatter",description:"\u914D\u7F6E frontmatter \u5C5E\u6027\u4E2D\u94FE\u63A5\u7684\u683C\u5F0F\u3002",useMarkdownLinks:{name:"\u5728 frontmatter \u4E2D\u4F7F\u7528 markdown \u94FE\u63A5",description:"\u5728 frontmatter \u5C5E\u6027\u4E2D\u751F\u6210 markdown \u94FE\u63A5 ([\u6587\u672C](\u8DEF\u5F84)) \u800C\u4E0D\u662F wikilinks ([[\u94FE\u63A5]])\u3002\\n\\n\u26A0\uFE0F \u9700\u8981 'obsidian-frontmatter-markdown-links' \u63D2\u4EF6\u624D\u80FD\u6B63\u5E38\u5DE5\u4F5C\u3002"}},taskInteraction:{header:"\u4EFB\u52A1\u4EA4\u4E92",description:"\u914D\u7F6E\u70B9\u51FB\u4EFB\u52A1\u7684\u884C\u4E3A\u3002",singleClick:{name:"\u5355\u51FB\u64CD\u4F5C",description:"\u5355\u51FB\u4EFB\u52A1\u5361\u7247\u65F6\u6267\u884C\u7684\u64CD\u4F5C"},doubleClick:{name:"\u53CC\u51FB\u64CD\u4F5C",description:"\u53CC\u51FB\u4EFB\u52A1\u5361\u7247\u65F6\u6267\u884C\u7684\u64CD\u4F5C"},actions:{edit:"\u7F16\u8F91\u4EFB\u52A1",openNote:"\u6253\u5F00\u7B14\u8BB0",none:"\u65E0\u64CD\u4F5C"}},releaseNotes:{header:"\u7248\u672C\u8BF4\u660E",description:"\u5F53\u524D\u7248\u672C\uFF1A{version}",showOnUpdate:{name:"\u66F4\u65B0\u540E\u663E\u793A\u7248\u672C\u8BF4\u660E",description:"\u5F53TaskNotes\u66F4\u65B0\u5230\u65B0\u7248\u672C\u65F6\u81EA\u52A8\u6253\u5F00\u7248\u672C\u8BF4\u660E"},viewButton:{name:"\u67E5\u770B\u7248\u672C\u8BF4\u660E",description:"\u67E5\u770BTaskNotes\u6700\u65B0\u7248\u672C\u7684\u65B0\u529F\u80FD",buttonText:"\u67E5\u770B\u7248\u672C\u8BF4\u660E"}}},taskProperties:{sections:{coreProperties:"\u6838\u5FC3\u5C5E\u6027",corePropertiesDesc:"\u72B6\u6001\u548C\u4F18\u5148\u7EA7\u662F\u5B9A\u4E49\u4EFB\u52A1\u72B6\u6001\u548C\u91CD\u8981\u6027\u7684\u6838\u5FC3\u5C5E\u6027\u3002",dateProperties:"\u65E5\u671F\u5C5E\u6027",datePropertiesDesc:"\u914D\u7F6E\u4EFB\u52A1\u7684\u5230\u671F\u65E5\u671F\u548C\u5B89\u6392\u65E5\u671F\u3002",organizationProperties:"\u7EC4\u7EC7\u5C5E\u6027",organizationPropertiesDesc:"\u4F7F\u7528\u4E0A\u4E0B\u6587\u3001\u9879\u76EE\u548C\u6807\u7B7E\u7EC4\u7EC7\u4EFB\u52A1\u3002",taskDetails:"\u4EFB\u52A1\u8BE6\u60C5",taskDetailsDesc:"\u5176\u4ED6\u8BE6\u60C5\uFF0C\u5982\u65F6\u95F4\u4F30\u8BA1\u3001\u91CD\u590D\u548C\u63D0\u9192\u3002",metadataProperties:"\u5143\u6570\u636E\u5C5E\u6027",metadataPropertiesDesc:"\u7528\u4E8E\u8DDF\u8E2A\u4EFB\u52A1\u5386\u53F2\u7684\u7CFB\u7EDF\u7BA1\u7406\u5C5E\u6027\u3002",featureProperties:"\u529F\u80FD\u5C5E\u6027",featurePropertiesDesc:"\u7279\u5B9ATaskNotes\u529F\u80FD\u4F7F\u7528\u7684\u5C5E\u6027\uFF0C\u5982\u756A\u8304\u949F\u8BA1\u65F6\u5668\u548C\u65E5\u5386\u540C\u6B65\u3002"},propertyCard:{propertyKey:"\u5C5E\u6027\u952E\uFF1A",default:"\u9ED8\u8BA4\u503C\uFF1A",nlpTrigger:"NLP\u89E6\u53D1\u5668\uFF1A",triggerChar:"\u89E6\u53D1\u5B57\u7B26\uFF1A",triggerEmpty:"\u89E6\u53D1\u5668\u4E0D\u80FD\u4E3A\u7A7A",triggerTooLong:"\u89E6\u53D1\u5668\u8FC7\u957F\uFF08\u6700\u591A10\u4E2A\u5B57\u7B26\uFF09"},properties:{status:{name:"\u72B6\u6001",description:"\u8DDF\u8E2A\u4EFB\u52A1\u7684\u5F53\u524D\u72B6\u6001\uFF08\u4F8B\u5982\uFF0C\u5F85\u529E\u3001\u8FDB\u884C\u4E2D\u3001\u5B8C\u6210\uFF09\u3002\u72B6\u6001\u51B3\u5B9A\u4EFB\u52A1\u662F\u5426\u663E\u793A\u4E3A\u5DF2\u5B8C\u6210\uFF0C\u5E76\u53EF\u89E6\u53D1\u81EA\u52A8\u5F52\u6863\u3002"},priority:{name:"\u4F18\u5148\u7EA7",description:"\u8868\u793A\u4EFB\u52A1\u7684\u91CD\u8981\u6027\u3002\u7528\u4E8E\u6392\u5E8F\u548C\u8FC7\u6EE4\u3002\u5728Bases\u89C6\u56FE\u4E2D\u503C\u6309\u5B57\u6BCD\u987A\u5E8F\u6392\u5E8F\uFF0C\u56E0\u6B64\u4F7F\u75281-\u30012-\u7B49\u524D\u7F00\u6765\u63A7\u5236\u987A\u5E8F\u3002"},due:{name:"\u5230\u671F\u65E5\u671F",description:"\u4EFB\u52A1\u5FC5\u987B\u5B8C\u6210\u7684\u622A\u6B62\u65E5\u671F\u3002\u8D85\u8FC7\u5230\u671F\u65E5\u671F\u7684\u4EFB\u52A1\u663E\u793A\u4E3A\u903E\u671F\u3002\u4F5C\u4E3A\u65E5\u671F\u5B58\u50A8\u5728frontmatter\u4E2D\u3002"},scheduled:{name:"\u5B89\u6392\u65E5\u671F",description:"\u60A8\u8BA1\u5212\u5904\u7406\u4EFB\u52A1\u7684\u65F6\u95F4\u3002\u4E0E\u5230\u671F\u65E5\u671F\u4E0D\u540C\uFF0C\u8FD9\u8868\u793A\u60A8\u9884\u5B9A\u7684\u5F00\u59CB\u65F6\u95F4\u3002\u4EFB\u52A1\u5728\u5176\u5B89\u6392\u7684\u65E5\u671F/\u65F6\u95F4\u51FA\u73B0\u5728\u65E5\u5386\u4E0A\u3002"},contexts:{name:"\u4E0A\u4E0B\u6587",description:"\u53EF\u4EE5\u5B8C\u6210\u4EFB\u52A1\u7684\u5730\u70B9\u6216\u6761\u4EF6\uFF08\u4F8B\u5982\uFF0C@\u5BB6\u3001@\u529E\u516C\u5BA4\u3001@\u7535\u8BDD\uFF09\u3002\u7528\u4E8E\u6839\u636E\u5F53\u524D\u60C5\u51B5\u8FC7\u6EE4\u4EFB\u52A1\u3002\u4F5C\u4E3A\u5217\u8868\u5B58\u50A8\u3002"},projects:{name:"\u9879\u76EE",description:"\u6B64\u4EFB\u52A1\u6240\u5C5E\u7684\u9879\u76EE\u7B14\u8BB0\u94FE\u63A5\u3002\u5B58\u50A8\u4E3Awikilinks\uFF08\u4F8B\u5982\uFF0C[[\u9879\u76EE\u540D\u79F0]]\uFF09\u3002\u4EFB\u52A1\u53EF\u4EE5\u5C5E\u4E8E\u591A\u4E2A\u9879\u76EE\u3002"},tags:{name:"\u6807\u7B7E",description:"\u7528\u4E8E\u5206\u7C7B\u4EFB\u52A1\u7684\u539F\u751FObsidian\u6807\u7B7E\u3002\u8FD9\u4E9B\u5B58\u50A8\u5728tags frontmatter\u5C5E\u6027\u4E2D\uFF0C\u4E0EObsidian\u7684\u6807\u7B7E\u529F\u80FD\u914D\u5408\u4F7F\u7528\u3002"},timeEstimate:{name:"\u65F6\u95F4\u4F30\u8BA1",description:"\u5B8C\u6210\u4EFB\u52A1\u7684\u9884\u8BA1\u5206\u949F\u6570\u3002\u7528\u4E8E\u65F6\u95F4\u5757\u548C\u5DE5\u4F5C\u91CF\u89C4\u5212\u3002\u663E\u793A\u5728\u4EFB\u52A1\u5361\u7247\u548C\u65E5\u5386\u4E8B\u4EF6\u4E0A\u3002"},recurrence:{name:"\u91CD\u590D",description:"\u91CD\u590D\u4EFB\u52A1\u7684\u6A21\u5F0F\uFF08\u6BCF\u65E5\u3001\u6BCF\u5468\u3001\u6BCF\u6708\u3001\u6BCF\u5E74\u6216\u81EA\u5B9A\u4E49RRULE\uFF09\u3002\u5F53\u91CD\u590D\u4EFB\u52A1\u5B8C\u6210\u65F6\uFF0C\u5176\u5B89\u6392\u65E5\u671F\u4F1A\u81EA\u52A8\u66F4\u65B0\u5230\u4E0B\u4E00\u6B21\u51FA\u73B0\u3002"},recurrenceAnchor:{name:"\u91CD\u590D\u951A\u70B9",description:"\u63A7\u5236\u4E0B\u4E00\u6B21\u51FA\u73B0\u7684\u8BA1\u7B97\u65B9\u5F0F\uFF1A'scheduled'\u4F7F\u7528\u5B89\u6392\u65E5\u671F\uFF0C'completion'\u4F7F\u7528\u5B9E\u9645\u5B8C\u6210\u65E5\u671F\u3002"},reminders:{name:"\u63D0\u9192",description:"\u5728\u5230\u671F\u6216\u5B89\u6392\u65E5\u671F\u524D\u89E6\u53D1\u7684\u901A\u77E5\u3002\u5B58\u50A8\u4E3A\u5E26\u6709\u65F6\u95F4\u548C\u53EF\u9009\u63CF\u8FF0\u7684\u63D0\u9192\u5BF9\u8C61\u5217\u8868\u3002"},title:{name:"\u6807\u9898",description:"\u4EFB\u52A1\u540D\u79F0\u3002\u53EF\u4EE5\u5B58\u50A8\u5728frontmatter\u4E2D\u6216\u6587\u4EF6\u540D\u4E2D\uFF08\u542F\u7528'\u5728\u6587\u4EF6\u540D\u4E2D\u5B58\u50A8\u6807\u9898'\u65F6\uFF09\u3002"},dateCreated:{name:"\u521B\u5EFA\u65E5\u671F",description:"\u4EFB\u52A1\u9996\u6B21\u521B\u5EFA\u7684\u65F6\u95F4\u6233\u3002\u81EA\u52A8\u8BBE\u7F6E\uFF0C\u7528\u4E8E\u6309\u521B\u5EFA\u987A\u5E8F\u6392\u5E8F\u3002"},dateModified:{name:"\u4FEE\u6539\u65E5\u671F",description:"\u4EFB\u52A1\u6700\u540E\u66F4\u6539\u7684\u65F6\u95F4\u6233\u3002\u5F53\u4EFB\u4F55\u4EFB\u52A1\u5C5E\u6027\u66F4\u6539\u65F6\u81EA\u52A8\u66F4\u65B0\u3002"},completedDate:{name:"\u5B8C\u6210\u65E5\u671F",description:"\u4EFB\u52A1\u6807\u8BB0\u4E3A\u5B8C\u6210\u7684\u65F6\u95F4\u6233\u3002\u5F53\u72B6\u6001\u66F4\u6539\u4E3A\u5DF2\u5B8C\u6210\u72B6\u6001\u65F6\u81EA\u52A8\u8BBE\u7F6E\u3002"},archiveTag:{name:"\u5F52\u6863\u6807\u7B7E",description:"\u5F52\u6863\u65F6\u6DFB\u52A0\u5230\u4EFB\u52A1\u7684\u6807\u7B7E\u3002\u7528\u4E8E\u8BC6\u522B\u5DF2\u5F52\u6863\u7684\u4EFB\u52A1\uFF0C\u53EF\u89E6\u53D1\u6587\u4EF6\u79FB\u52A8\u5230\u5F52\u6863\u6587\u4EF6\u5939\u3002"},timeEntries:{name:"\u65F6\u95F4\u6761\u76EE",description:"\u6B64\u4EFB\u52A1\u7684\u65F6\u95F4\u8DDF\u8E2A\u4F1A\u8BDD\u8BB0\u5F55\u3002\u6BCF\u4E2A\u6761\u76EE\u5B58\u50A8\u5F00\u59CB\u548C\u7ED3\u675F\u65F6\u95F4\u6233\u3002\u7528\u4E8E\u8BA1\u7B97\u603B\u82B1\u8D39\u65F6\u95F4\u3002"},completeInstances:{name:"\u5B8C\u6210\u5B9E\u4F8B",description:"\u91CD\u590D\u4EFB\u52A1\u7684\u5B8C\u6210\u5386\u53F2\u3002\u5B58\u50A8\u6BCF\u4E2A\u5B9E\u4F8B\u5B8C\u6210\u7684\u65E5\u671F\uFF0C\u4EE5\u9632\u6B62\u91CD\u590D\u5B8C\u6210\u3002"},skippedInstances:{name:"\u8DF3\u8FC7\u5B9E\u4F8B",description:"\u91CD\u590D\u4EFB\u52A1\u7684\u8DF3\u8FC7\u8BB0\u5F55\u3002\u5B58\u50A8\u88AB\u8DF3\u8FC7\u800C\u975E\u5B8C\u6210\u7684\u5B9E\u4F8B\u65E5\u671F\u3002"},blockedBy:{name:"\u88AB\u963B\u6B62",description:"\u5FC5\u987B\u5728\u6B64\u4EFB\u52A1\u4E4B\u524D\u5B8C\u6210\u7684\u4EFB\u52A1\u94FE\u63A5\u3002\u5B58\u50A8\u4E3Awikilinks\u3002\u88AB\u963B\u6B62\u7684\u4EFB\u52A1\u663E\u793A\u89C6\u89C9\u6307\u793A\u5668\u3002"},pomodoros:{name:"\u756A\u8304\u949F",description:"\u5DF2\u5B8C\u6210\u7684\u756A\u8304\u949F\u4F1A\u8BDD\u8BA1\u6570\u3002\u5F53\u6570\u636E\u5B58\u50A8\u8BBE\u7F6E\u4E3A'\u65E5\u8BB0'\u65F6\uFF0C\u8FD9\u5C06\u5199\u5165\u65E5\u8BB0\u800C\u4E0D\u662F\u4EFB\u52A1\u6587\u4EF6\u3002"},icsEventId:{name:"ICS\u4E8B\u4EF6ID",description:"\u5C06\u7B14\u8BB0\u94FE\u63A5\u5230ICS\u65E5\u5386\u4E8B\u4EF6\u7684\u552F\u4E00\u6807\u8BC6\u7B26\u3002\u4ECE\u65E5\u5386\u4E8B\u4EF6\u521B\u5EFA\u7B14\u8BB0\u65F6\u81EA\u52A8\u6DFB\u52A0\u3002"},icsEventTag:{name:"ICS\u4E8B\u4EF6\u6807\u7B7E",description:"\u6807\u8BC6\u4ECEICS\u65E5\u5386\u4E8B\u4EF6\u521B\u5EFA\u7684\u7B14\u8BB0\u7684\u6807\u7B7E\u3002\u7528\u4E8E\u533A\u5206\u65E5\u5386\u751F\u6210\u7684\u7B14\u8BB0\u548C\u5E38\u89C4\u4EFB\u52A1\u3002"}},statusCard:{valuesHeader:"\u72B6\u6001\u503C"},priorityCard:{valuesHeader:"\u4F18\u5148\u7EA7\u503C"},projectsCard:{defaultProjects:"\u9ED8\u8BA4\u9879\u76EE\uFF1A",useParentNote:"\u4F7F\u7528\u7236\u7B14\u8BB0\u4F5C\u4E3A\u9879\u76EE\uFF1A",noDefaultProjects:"\u672A\u9009\u62E9\u9ED8\u8BA4\u9879\u76EE",autosuggestFilters:"\u81EA\u52A8\u5EFA\u8BAE\u8FC7\u6EE4\u5668",customizeDisplay:"\u81EA\u5B9A\u4E49\u663E\u793A",filtersOn:"\u8FC7\u6EE4\u5668\u5F00\u542F"},titleCard:{storeTitleInFilename:"\u5728\u6587\u4EF6\u540D\u4E2D\u5B58\u50A8\u6807\u9898\uFF1A",storedInFilename:"\u5B58\u50A8\u5728\u6587\u4EF6\u540D\u4E2D",filenameUpdatesWithTitle:"\u6587\u4EF6\u540D\u5C06\u5728\u4EFB\u52A1\u6807\u9898\u66F4\u6539\u65F6\u81EA\u52A8\u66F4\u65B0\u3002",filenameFormat:"\u6587\u4EF6\u540D\u683C\u5F0F\uFF1A",customTemplate:"\u81EA\u5B9A\u4E49\u6A21\u677F\uFF1A"},tagsCard:{nativeObsidianTags:"\u4F7F\u7528\u539F\u751FObsidian\u6807\u7B7E"},remindersCard:{defaultReminders:"\u9ED8\u8BA4\u63D0\u9192"},taskStatuses:{header:"\u4EFB\u52A1\u72B6\u6001",description:"\u81EA\u5B9A\u4E49\u4EFB\u52A1\u53EF\u7528\u7684\u72B6\u6001\u9009\u9879\u3002\u8FD9\u4E9B\u72B6\u6001\u63A7\u5236\u4EFB\u52A1\u751F\u547D\u5468\u671F\u5E76\u786E\u5B9A\u4F55\u65F6\u4EFB\u52A1\u88AB\u89C6\u4E3A\u5B8C\u6210\u3002",howTheyWork:{title:"\u72B6\u6001\u5982\u4F55\u5DE5\u4F5C\uFF1A",value:'\u503C\uFF1A\u5B58\u50A8\u5728\u4EFB\u52A1\u6587\u4EF6\u4E2D\u7684\u5185\u90E8\u6807\u8BC6\u7B26\uFF08\u4F8B\u5982\uFF0C"\u8FDB\u884C\u4E2D"\uFF09',label:'\u6807\u7B7E\uFF1A\u5728\u754C\u9762\u4E2D\u663E\u793A\u7684\u663E\u793A\u540D\u79F0\uFF08\u4F8B\u5982\uFF0C"\u8FDB\u884C\u4E2D"\uFF09',color:"\u989C\u8272\uFF1A\u72B6\u6001\u70B9\u548C\u5FBD\u7AE0\u7684\u89C6\u89C9\u6307\u793A\u5668\u989C\u8272",icon:'\u56FE\u6807\uFF1A\u53EF\u9009\u7684 Lucide \u56FE\u6807\u540D\u79F0\uFF0C\u7528\u4E8E\u66FF\u4EE3\u5F69\u8272\u5706\u70B9\u663E\u793A\uFF08\u4F8B\u5982\uFF0C"check"\u3001"circle"\u3001"clock"\uFF09\u3002\u5728 lucide.dev \u6D4F\u89C8\u56FE\u6807',completed:"\u5DF2\u5B8C\u6210\uFF1A\u9009\u4E2D\u65F6\uFF0C\u5177\u6709\u6B64\u72B6\u6001\u7684\u4EFB\u52A1\u88AB\u89C6\u4E3A\u5DF2\u5B8C\u6210\uFF0C\u53EF\u80FD\u4EE5\u4E0D\u540C\u65B9\u5F0F\u8FC7\u6EE4",autoArchive:"\u81EA\u52A8\u5F52\u6863\uFF1A\u542F\u7528\u65F6\uFF0C\u4EFB\u52A1\u5C06\u5728\u6307\u5B9A\u5EF6\u8FDF\u540E\u81EA\u52A8\u5F52\u6863\uFF081-1440\u5206\u949F\uFF09",orderNote:"\u4E0B\u9762\u7684\u987A\u5E8F\u786E\u5B9A\u70B9\u51FB\u4EFB\u52A1\u72B6\u6001\u5FBD\u7AE0\u65F6\u5FAA\u73AF\u72B6\u6001\u7684\u987A\u5E8F\u3002"},addNew:{name:"\u6DFB\u52A0\u65B0\u72B6\u6001",description:"\u4E3A\u60A8\u7684\u4EFB\u52A1\u521B\u5EFA\u65B0\u7684\u72B6\u6001\u9009\u9879",buttonText:"\u6DFB\u52A0\u72B6\u6001"},validationNote:'\u6CE8\u610F\uFF1A\u60A8\u5FC5\u987B\u81F3\u5C11\u67092\u4E2A\u72B6\u6001\uFF0C\u5E76\u4E14\u81F3\u5C11\u4E00\u4E2A\u72B6\u6001\u5FC5\u987B\u6807\u8BB0\u4E3A"\u5DF2\u5B8C\u6210"\u3002',emptyState:"\u672A\u914D\u7F6E\u81EA\u5B9A\u4E49\u72B6\u6001\u3002\u6DFB\u52A0\u72B6\u6001\u4EE5\u5F00\u59CB\u3002",emptyStateButton:"\u6DFB\u52A0\u72B6\u6001",fields:{value:"\u503C\uFF1A",label:"\u6807\u7B7E\uFF1A",color:"\u989C\u8272\uFF1A",icon:"\u56FE\u6807\uFF1A",completed:"\u5DF2\u5B8C\u6210\uFF1A",autoArchive:"\u81EA\u52A8\u5F52\u6863\uFF1A",delayMinutes:"\u5EF6\u8FDF\uFF08\u5206\u949F\uFF09\uFF1A"},placeholders:{value:"\u8FDB\u884C\u4E2D",label:"\u8FDB\u884C\u4E2D",icon:"check, circle, clock"},badges:{completed:"\u5DF2\u5B8C\u6210"},deleteConfirm:'\u60A8\u786E\u5B9A\u8981\u5220\u9664\u72B6\u6001"{label}"\u5417\uFF1F'},taskPriorities:{header:"\u4EFB\u52A1\u4F18\u5148\u7EA7",description:"\u81EA\u5B9A\u4E49\u4EFB\u52A1\u53EF\u7528\u7684\u4F18\u5148\u7EA7\u7EA7\u522B\u3002\u5728 v4.0+ \u4E2D\uFF0C\u4F18\u5148\u7EA7\u5728 Bases \u89C6\u56FE\u4E2D\u6309\u5176\u503C\u7684\u5B57\u6BCD\u987A\u5E8F\u6392\u5E8F\u3002",howTheyWork:{title:"\u4F18\u5148\u7EA7\u5982\u4F55\u5DE5\u4F5C\uFF1A",value:'\u503C\uFF1A\u5B58\u50A8\u5728\u4EFB\u52A1\u6587\u4EF6\u4E2D\u7684\u5185\u90E8\u6807\u8BC6\u7B26\u3002\u4F7F\u7528\u524D\u7F00\u5982 "1-urgent"\u3001"2-high" \u6765\u63A7\u5236 Bases \u89C6\u56FE\u4E2D\u7684\u6392\u5E8F\u987A\u5E8F\u3002',label:'\u663E\u793A\u6807\u7B7E\uFF1A\u5728\u754C\u9762\u4E2D\u663E\u793A\u7684\u663E\u793A\u540D\u79F0\uFF08\u4F8B\u5982\uFF0C"\u9AD8\u4F18\u5148\u7EA7"\uFF09',color:"\u989C\u8272\uFF1A\u4F18\u5148\u7EA7\u70B9\u548C\u5FBD\u7AE0\u7684\u89C6\u89C9\u6307\u793A\u5668\u989C\u8272",weight:"\u6743\u91CD\uFF1A\u7528\u4E8E\u6392\u5E8F\u7684\u6570\u503C\uFF08\u6743\u91CD\u9AD8\u7684\u4F18\u5148\u51FA\u73B0\u5728\u5217\u8868\u4E2D\uFF09",weightNote:"\u4EFB\u52A1\u6309\u4F18\u5148\u7EA7\u6743\u91CD\u964D\u5E8F\u81EA\u52A8\u6392\u5E8F\uFF08\u6700\u9AD8\u6743\u91CD\u4F18\u5148\uFF09\u3002\u6743\u91CD\u53EF\u4EE5\u662F\u4EFB\u4F55\u6B63\u6570\u3002"},addNew:{name:"\u6DFB\u52A0\u65B0\u4F18\u5148\u7EA7",description:"\u4E3A\u60A8\u7684\u4EFB\u52A1\u521B\u5EFA\u65B0\u7684\u4F18\u5148\u7EA7\u7EA7\u522B",buttonText:"\u6DFB\u52A0\u4F18\u5148\u7EA7"},validationNote:"\u6CE8\u610F\uFF1A\u60A8\u5FC5\u987B\u81F3\u5C11\u67091\u4E2A\u4F18\u5148\u7EA7\u3002\u4F18\u5148\u7EA7\u5728 Bases \u89C6\u56FE\u4E2D\u6309\u503C\u7684\u5B57\u6BCD\u987A\u5E8F\u6392\u5E8F\u3002",emptyState:"\u672A\u914D\u7F6E\u81EA\u5B9A\u4E49\u4F18\u5148\u7EA7\u3002\u6DFB\u52A0\u4F18\u5148\u7EA7\u4EE5\u5F00\u59CB\u3002",emptyStateButton:"\u6DFB\u52A0\u4F18\u5148\u7EA7",fields:{value:"\u503C\uFF1A",label:"\u6807\u7B7E\uFF1A",color:"\u989C\u8272\uFF1A",weight:"\u6743\u91CD\uFF1A"},placeholders:{value:"\u9AD8",label:"\u9AD8\u4F18\u5148\u7EA7"},weightLabel:"\u6743\u91CD\uFF1A{weight}",deleteConfirm:"\u60A8\u5FC5\u987B\u81F3\u5C11\u6709\u4E00\u4E2A\u4F18\u5148\u7EA7",deleteTooltip:"\u5220\u9664\u4F18\u5148\u7EA7"},fieldMapping:{header:"\u5B57\u6BB5\u6620\u5C04",warning:"\u26A0\uFE0F \u8B66\u544A\uFF1ATaskNotes\u5C06\u4F7F\u7528\u8FD9\u4E9B\u5C5E\u6027\u540D\u79F0\u8FDB\u884C\u8BFB\u53D6\u548C\u5199\u5165\u3002\u5728\u521B\u5EFA\u4EFB\u52A1\u540E\u66F4\u6539\u8FD9\u4E9B\u53EF\u80FD\u5BFC\u81F4\u4E0D\u4E00\u81F4\u3002",description:"\u914D\u7F6ETaskNotes\u5E94\u4E3A\u6BCF\u4E2A\u5B57\u6BB5\u4F7F\u7528\u7684\u524D\u7F6E\u5C5E\u6027\u3002",resetButton:{name:"\u91CD\u7F6E\u5B57\u6BB5\u6620\u5C04",description:"\u5C06\u6240\u6709\u5B57\u6BB5\u6620\u5C04\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u503C",buttonText:"\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u503C"},notices:{resetSuccess:"\u5B57\u6BB5\u6620\u5C04\u5DF2\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u503C",resetFailure:"\u91CD\u7F6E\u5B57\u6BB5\u6620\u5C04\u5931\u8D25",updateFailure:"\u66F4\u65B0{label}\u7684\u5B57\u6BB5\u6620\u5C04\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002"},table:{fieldHeader:"TaskNotes\u5B57\u6BB5",propertyHeader:"\u60A8\u7684\u5C5E\u6027\u540D\u79F0"},fields:{title:"\u6807\u9898",status:"\u72B6\u6001",priority:"\u4F18\u5148\u7EA7",due:"\u5230\u671F\u65E5\u671F",scheduled:"\u5B89\u6392\u65E5\u671F",contexts:"\u4E0A\u4E0B\u6587",projects:"\u9879\u76EE",timeEstimate:"\u65F6\u95F4\u4F30\u8BA1",recurrence:"\u91CD\u590D",dateCreated:"\u521B\u5EFA\u65E5\u671F",completedDate:"\u5B8C\u6210\u65E5\u671F",dateModified:"\u4FEE\u6539\u65E5\u671F",archiveTag:"\u5F52\u6863\u6807\u7B7E",timeEntries:"\u65F6\u95F4\u6761\u76EE",completeInstances:"\u5B8C\u6210\u5B9E\u4F8B",blockedBy:"\u88AB\u963B\u6B62",pomodoros:"\u756A\u8304\u949F",icsEventId:"ICS\u4E8B\u4EF6ID",icsEventTag:"ICS\u4E8B\u4EF6\u6807\u7B7E",reminders:"\u63D0\u9192"}},customUserFields:{header:"\u81EA\u5B9A\u4E49\u7528\u6237\u5B57\u6BB5",description:"\u5B9A\u4E49\u81EA\u5B9A\u4E49\u524D\u7F6E\u5C5E\u6027\uFF0C\u4F5C\u4E3A\u7C7B\u578B\u611F\u77E5\u8FC7\u6EE4\u9009\u9879\u51FA\u73B0\u5728\u5404\u4E2A\u89C6\u56FE\u4E2D\u3002\u6BCF\u884C\uFF1A\u663E\u793A\u540D\u79F0\u3001\u5C5E\u6027\u540D\u79F0\u3001\u7C7B\u578B\u3002",addNew:{name:"\u6DFB\u52A0\u65B0\u7528\u6237\u5B57\u6BB5",description:"\u521B\u5EFA\u5C06\u51FA\u73B0\u5728\u8FC7\u6EE4\u5668\u548C\u89C6\u56FE\u4E2D\u7684\u65B0\u81EA\u5B9A\u4E49\u5B57\u6BB5",buttonText:"\u6DFB\u52A0\u7528\u6237\u5B57\u6BB5"},emptyState:"\u672A\u914D\u7F6E\u81EA\u5B9A\u4E49\u7528\u6237\u5B57\u6BB5\u3002\u6DFB\u52A0\u5B57\u6BB5\u4E3A\u60A8\u7684\u4EFB\u52A1\u521B\u5EFA\u81EA\u5B9A\u4E49\u5C5E\u6027\u3002",emptyStateButton:"\u6DFB\u52A0\u7528\u6237\u5B57\u6BB5",fields:{displayName:"\u663E\u793A\u540D\u79F0\uFF1A",propertyKey:"\u5C5E\u6027\u952E\uFF1A",type:"\u7C7B\u578B\uFF1A",defaultValue:"\u9ED8\u8BA4\u503C\uFF1A"},placeholders:{displayName:"\u663E\u793A\u540D\u79F0",propertyKey:"\u5C5E\u6027\u540D\u79F0",defaultValue:"\u9ED8\u8BA4\u503C",defaultValueList:"\u9ED8\u8BA4\u503C\uFF08\u9017\u53F7\u5206\u9694\uFF09"},types:{text:"\u6587\u672C",number:"\u6570\u5B57",boolean:"\u5E03\u5C14\u503C",date:"\u65E5\u671F",list:"\u5217\u8868"},defaultNames:{unnamedField:"\u672A\u547D\u540D\u5B57\u6BB5",noKey:"\u65E0\u952E"},deleteTooltip:"\u5220\u9664\u5B57\u6BB5",autosuggestFilters:{header:"\u81EA\u52A8\u5EFA\u8BAE\u8FC7\u6EE4\u5668\uFF08\u9AD8\u7EA7\uFF09",description:"\u8FC7\u6EE4\u5728\u6B64\u5B57\u6BB5\u7684\u81EA\u52A8\u5B8C\u6210\u5EFA\u8BAE\u4E2D\u663E\u793A\u7684\u6587\u4EF6"}}},appearance:{taskCards:{header:"\u4EFB\u52A1\u5361\u7247",description:"\u914D\u7F6E\u4EFB\u52A1\u5361\u7247\u5728\u6240\u6709\u89C6\u56FE\u4E2D\u7684\u663E\u793A\u65B9\u5F0F\u3002",defaultVisibleProperties:{name:"\u9ED8\u8BA4\u53EF\u89C1\u5C5E\u6027",description:"\u9009\u62E9\u9ED8\u8BA4\u5728\u4EFB\u52A1\u5361\u7247\u4E0A\u663E\u793A\u7684\u5C5E\u6027\u3002"},propertyGroups:{coreProperties:"\u6838\u5FC3\u5C5E\u6027",organization:"\u7EC4\u7EC7",customProperties:"\u81EA\u5B9A\u4E49\u5C5E\u6027"},properties:{status:"\u72B6\u6001\u70B9",priority:"\u4F18\u5148\u7EA7\u70B9",due:"\u5230\u671F\u65E5\u671F",scheduled:"\u5B89\u6392\u65E5\u671F",timeEstimate:"\u65F6\u95F4\u4F30\u8BA1",totalTrackedTime:"\u603B\u8DDF\u8E2A\u65F6\u95F4",recurrence:"\u91CD\u590D",completedDate:"\u5B8C\u6210\u65E5\u671F",createdDate:"\u521B\u5EFA\u65E5\u671F",modifiedDate:"\u4FEE\u6539\u65E5\u671F",projects:"\u9879\u76EE",contexts:"\u4E0A\u4E0B\u6587",tags:"\u6807\u7B7E",blocked:"\u5DF2\u963B\u585E",blocking:"\u963B\u585E\u4E2D"}},taskFilenames:{header:"\u4EFB\u52A1\u6587\u4EF6\u540D",description:"\u914D\u7F6E\u521B\u5EFA\u4EFB\u52A1\u6587\u4EF6\u65F6\u7684\u547D\u540D\u65B9\u5F0F\u3002",storeTitleInFilename:{name:"\u5728\u6587\u4EF6\u540D\u4E2D\u5B58\u50A8\u6807\u9898",description:"\u4F7F\u7528\u4EFB\u52A1\u6807\u9898\u4F5C\u4E3A\u6587\u4EF6\u540D\u3002\u4EFB\u52A1\u6807\u9898\u66F4\u6539\u65F6\u6587\u4EF6\u540D\u4F1A\u66F4\u65B0\uFF08\u63A8\u8350\uFF09\u3002"},filenameFormat:{name:"\u6587\u4EF6\u540D\u683C\u5F0F",description:"\u4EFB\u52A1\u6587\u4EF6\u540D\u7684\u751F\u6210\u65B9\u5F0F",options:{title:"\u4EFB\u52A1\u6807\u9898\uFF08\u4E0D\u66F4\u65B0\uFF09",zettel:"Zettelkasten\u683C\u5F0F\uFF08YYMMDD + base36\u81EA\u5348\u591C\u4EE5\u6765\u7684\u79D2\u6570\uFF09",timestamp:"\u5B8C\u6574\u65F6\u95F4\u6233\uFF08YYYY-MM-DD-HHMMSS\uFF09",custom:"\u81EA\u5B9A\u4E49\u6A21\u677F"}},customTemplate:{name:"\u81EA\u5B9A\u4E49\u6587\u4EF6\u540D\u6A21\u677F",description:"\u81EA\u5B9A\u4E49\u6587\u4EF6\u540D\u7684\u6A21\u677F\u3002\u53EF\u7528\u53D8\u91CF\uFF1A{title}\u3001{titleLower}\u3001{titleUpper}\u3001{titleSnake}\u3001{titleKebab}\u3001{titleCamel}\u3001{titlePascal}\u3001{date}\u3001{shortDate}\u3001{time}\u3001{time12}\u3001{time24}\u3001{timestamp}\u3001{dateTime}\u3001{year}\u3001{month}\u3001{monthName}\u3001{monthNameShort}\u3001{day}\u3001{dayName}\u3001{dayNameShort}\u3001{hour}\u3001{hour12}\u3001{minute}\u3001{second}\u3001{milliseconds}\u3001{ms}\u3001{ampm}\u3001{week}\u3001{quarter}\u3001{unix}\u3001{unixMs}\u3001{timezone}\u3001{timezoneShort}\u3001{utcOffset}\u3001{utcOffsetShort}\u3001{utcZ}\u3001{zettel}\u3001{nano}\u3001{priority}\u3001{priorityShort}\u3001{status}\u3001{statusShort}\u3001{dueDate}\u3001{scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"\u6CE8\u610F\uFF1A{dueDate}\u548C{scheduledDate}\u683C\u5F0F\u4E3AYYYY-MM-DD\uFF0C\u5982\u679C\u672A\u8BBE\u7F6E\u5219\u4E3A\u7A7A\u3002"}},displayFormatting:{header:"\u663E\u793A\u683C\u5F0F",description:"\u914D\u7F6E\u6574\u4E2A\u63D2\u4EF6\u4E2D\u65E5\u671F\u3001\u65F6\u95F4\u548C\u5176\u4ED6\u6570\u636E\u7684\u663E\u793A\u65B9\u5F0F\u3002",timeFormat:{name:"\u65F6\u95F4\u683C\u5F0F",description:"\u5728\u6574\u4E2A\u63D2\u4EF6\u4E2D\u4EE512\u5C0F\u65F6\u621624\u5C0F\u65F6\u683C\u5F0F\u663E\u793A\u65F6\u95F4",options:{twelveHour:"12\u5C0F\u65F6\uFF08AM/PM\uFF09",twentyFourHour:"24\u5C0F\u65F6"}}},calendarView:{header:"\u65E5\u5386\u89C6\u56FE",description:"\u81EA\u5B9A\u4E49\u65E5\u5386\u89C6\u56FE\u7684\u5916\u89C2\u548C\u884C\u4E3A\u3002",defaultView:{name:"\u9ED8\u8BA4\u89C6\u56FE",description:"\u6253\u5F00\u65E5\u5386\u9009\u9879\u5361\u65F6\u663E\u793A\u7684\u65E5\u5386\u89C6\u56FE",options:{monthGrid:"\u6708\u7F51\u683C",weekTimeline:"\u5468\u65F6\u95F4\u7EBF",dayTimeline:"\u65E5\u65F6\u95F4\u7EBF",yearView:"\u5E74\u89C6\u56FE",customMultiDay:"\u81EA\u5B9A\u4E49\u591A\u65E5"}},customDayCount:{name:"\u81EA\u5B9A\u4E49\u89C6\u56FE\u5929\u6570",description:"\u81EA\u5B9A\u4E49\u591A\u65E5\u89C6\u56FE\u4E2D\u663E\u793A\u7684\u5929\u6570",placeholder:"3"},firstDayOfWeek:{name:"\u4E00\u5468\u7684\u7B2C\u4E00\u5929",description:"\u5468\u89C6\u56FE\u4E2D\u5E94\u4F5C\u4E3A\u7B2C\u4E00\u5217\u7684\u65E5\u671F"},showWeekends:{name:"\u663E\u793A\u5468\u672B",description:"\u5728\u65E5\u5386\u89C6\u56FE\u4E2D\u663E\u793A\u5468\u672B"},showWeekNumbers:{name:"\u663E\u793A\u5468\u6570",description:"\u5728\u65E5\u5386\u89C6\u56FE\u4E2D\u663E\u793A\u5468\u6570"},showTodayHighlight:{name:"\u663E\u793A\u4ECA\u65E5\u9AD8\u4EAE",description:"\u5728\u65E5\u5386\u89C6\u56FE\u4E2D\u9AD8\u4EAE\u5F53\u524D\u65E5\u671F"},showCurrentTimeIndicator:{name:"\u663E\u793A\u5F53\u524D\u65F6\u95F4\u6307\u793A\u5668",description:"\u5728\u65F6\u95F4\u7EBF\u89C6\u56FE\u4E2D\u663E\u793A\u663E\u793A\u5F53\u524D\u65F6\u95F4\u7684\u7EBF"},selectionMirror:{name:"\u9009\u62E9\u955C\u50CF",description:"\u62D6\u62FD\u9009\u62E9\u65F6\u95F4\u8303\u56F4\u65F6\u663E\u793A\u89C6\u89C9\u9884\u89C8"},calendarLocale:{name:"\u65E5\u5386\u533A\u57DF\u8BBE\u7F6E",description:'\u65E5\u671F\u683C\u5F0F\u548C\u65E5\u5386\u7CFB\u7EDF\u7684\u65E5\u5386\u533A\u57DF\u8BBE\u7F6E\uFF08\u4F8B\u5982\uFF0C"en"\u3001"fa"\u8868\u793A\u6CE2\u65AF\u8BED/\u6CE2\u65AF\u6587\u3001"de"\u8868\u793A\u5FB7\u8BED\uFF09\u3002\u7559\u7A7A\u4EE5\u4ECE\u6D4F\u89C8\u5668\u81EA\u52A8\u68C0\u6D4B\u3002',placeholder:"\u81EA\u52A8\u68C0\u6D4B",invalidLocale:"\u65E0\u6548\u7684\u533A\u57DF\u8BBE\u7F6E\u3002\u8BF7\u8F93\u5165\u6709\u6548\u7684\u8BED\u8A00\u6807\u7B7E\uFF08\u4F8B\u5982\uFF1A'zh'\u3001'en'\u3001'fr-FR'\uFF09\u3002"}},defaultEventVisibility:{header:"\u9ED8\u8BA4\u4E8B\u4EF6\u53EF\u89C1\u6027",description:"\u914D\u7F6E\u6253\u5F00\u65E5\u5386\u65F6\u9ED8\u8BA4\u53EF\u89C1\u7684\u4E8B\u4EF6\u7C7B\u578B\u3002\u7528\u6237\u4ECD\u53EF\u5728\u65E5\u5386\u89C6\u56FE\u4E2D\u5207\u6362\u8FD9\u4E9B\u5F00/\u5173\u3002",showScheduledTasks:{name:"\u663E\u793A\u5B89\u6392\u7684\u4EFB\u52A1",description:"\u9ED8\u8BA4\u663E\u793A\u6709\u5B89\u6392\u65E5\u671F\u7684\u4EFB\u52A1"},showDueDates:{name:"\u663E\u793A\u5230\u671F\u65E5\u671F",description:"\u9ED8\u8BA4\u663E\u793A\u4EFB\u52A1\u5230\u671F\u65E5\u671F"},showDueWhenScheduled:{name:"\u5B89\u6392\u65F6\u663E\u793A\u5230\u671F\u65E5\u671F",description:"\u5373\u4F7F\u5BF9\u4E8E\u5DF2\u6709\u5B89\u6392\u65E5\u671F\u7684\u4EFB\u52A1\u4E5F\u663E\u793A\u5230\u671F\u65E5\u671F"},showTimeEntries:{name:"\u663E\u793A\u65F6\u95F4\u6761\u76EE",description:"\u9ED8\u8BA4\u663E\u793A\u5DF2\u5B8C\u6210\u7684\u65F6\u95F4\u8DDF\u8E2A\u6761\u76EE"},showRecurringTasks:{name:"\u663E\u793A\u91CD\u590D\u4EFB\u52A1",description:"\u9ED8\u8BA4\u663E\u793A\u91CD\u590D\u4EFB\u52A1\u5B9E\u4F8B"},showICSEvents:{name:"\u663E\u793AICS\u4E8B\u4EF6",description:"\u9ED8\u8BA4\u663E\u793A\u6765\u81EAICS\u8BA2\u9605\u7684\u4E8B\u4EF6"}},timeSettings:{header:"\u65F6\u95F4\u8BBE\u7F6E",description:"\u914D\u7F6E\u65F6\u95F4\u7EBF\u89C6\u56FE\u7684\u65F6\u95F4\u76F8\u5173\u663E\u793A\u8BBE\u7F6E\u3002",timeSlotDuration:{name:"\u65F6\u95F4\u6BB5\u6301\u7EED\u65F6\u95F4",description:"\u65F6\u95F4\u7EBF\u89C6\u56FE\u4E2D\u6BCF\u4E2A\u65F6\u95F4\u6BB5\u7684\u6301\u7EED\u65F6\u95F4",options:{fifteenMinutes:"15\u5206\u949F",thirtyMinutes:"30\u5206\u949F",sixtyMinutes:"60\u5206\u949F"}},startTime:{name:"\u5F00\u59CB\u65F6\u95F4",description:"\u65F6\u95F4\u7EBF\u89C6\u56FE\u4E2D\u663E\u793A\u7684\u6700\u65E9\u65F6\u95F4\uFF08HH:MM\u683C\u5F0F\uFF09",placeholder:"06:00"},endTime:{name:"\u7ED3\u675F\u65F6\u95F4",description:"\u65F6\u95F4\u7EBF\u89C6\u56FE\u4E2D\u663E\u793A\u7684\u6700\u665A\u65F6\u95F4\uFF08HH:MM\u683C\u5F0F\uFF09",placeholder:"22:00"},initialScrollTime:{name:"\u521D\u59CB\u6EDA\u52A8\u65F6\u95F4",description:"\u6253\u5F00\u65F6\u95F4\u7EBF\u89C6\u56FE\u65F6\u6EDA\u52A8\u5230\u7684\u65F6\u95F4\uFF08HH:MM\u683C\u5F0F\uFF09",placeholder:"09:00"},eventMinHeight:{name:"\u4E8B\u4EF6\u6700\u5C0F\u9AD8\u5EA6",description:"\u65F6\u95F4\u8F74\u89C6\u56FE\u4E2D\u4E8B\u4EF6\u7684\u6700\u5C0F\u9AD8\u5EA6\uFF08\u50CF\u7D20\uFF09",placeholder:"15"}},uiElements:{header:"\u754C\u9762\u5143\u7D20",description:"\u914D\u7F6E\u5404\u79CD\u754C\u9762\u5143\u7D20\u7684\u663E\u793A\u3002",showTrackedTasksInStatusBar:{name:"\u5728\u72B6\u6001\u680F\u4E2D\u663E\u793A\u8DDF\u8E2A\u7684\u4EFB\u52A1",description:"\u5728Obsidian\u72B6\u6001\u680F\u4E2D\u663E\u793A\u5F53\u524D\u8DDF\u8E2A\u7684\u4EFB\u52A1"},showProjectSubtasksWidget:{name:"\u663E\u793A\u9879\u76EE\u5B50\u4EFB\u52A1\u5C0F\u90E8\u4EF6",description:"\u663E\u793A\u663E\u793A\u5F53\u524D\u9879\u76EE\u7B14\u8BB0\u5B50\u4EFB\u52A1\u7684\u5C0F\u90E8\u4EF6"},projectSubtasksPosition:{name:"\u9879\u76EE\u5B50\u4EFB\u52A1\u4F4D\u7F6E",description:"\u9879\u76EE\u5B50\u4EFB\u52A1\u5C0F\u90E8\u4EF6\u7684\u5B9A\u4F4D\u4F4D\u7F6E",options:{top:"\u7B14\u8BB0\u9876\u90E8",bottom:"\u7B14\u8BB0\u5E95\u90E8"}},showRelationshipsWidget:{name:"\u663E\u793A\u5173\u7CFB\u5C0F\u90E8\u4EF6",description:"\u663E\u793A\u4E00\u4E2A\u5C0F\u90E8\u4EF6\uFF0C\u5C55\u793A\u5F53\u524D\u7B14\u8BB0\u7684\u6240\u6709\u5173\u7CFB\uFF08\u5B50\u4EFB\u52A1\u3001\u9879\u76EE\u3001\u4F9D\u8D56\u9879\uFF09"},relationshipsPosition:{name:"\u5173\u7CFB\u4F4D\u7F6E",description:"\u5173\u7CFB\u5C0F\u90E8\u4EF6\u7684\u4F4D\u7F6E",options:{top:"\u7B14\u8BB0\u9876\u90E8",bottom:"\u7B14\u8BB0\u5E95\u90E8"}},showTaskCardInNote:{name:"\u5728\u7B14\u8BB0\u4E2D\u663E\u793A\u4EFB\u52A1\u5361\u7247",description:"\u5728\u4EFB\u52A1\u7B14\u8BB0\u9876\u90E8\u663E\u793A\u4EFB\u52A1\u5361\u7247\u5C0F\u90E8\u4EF6\uFF0C\u663E\u793A\u4EFB\u52A1\u8BE6\u60C5\u548C\u64CD\u4F5C"},showExpandableSubtasks:{name:"\u663E\u793A\u53EF\u5C55\u5F00\u5B50\u4EFB\u52A1",description:"\u5141\u8BB8\u5728\u4EFB\u52A1\u5361\u7247\u4E2D\u5C55\u5F00/\u6298\u53E0\u5B50\u4EFB\u52A1\u90E8\u5206"},subtaskChevronPosition:{name:"\u5B50\u4EFB\u52A1chevron\u4F4D\u7F6E",description:"\u4EFB\u52A1\u5361\u7247\u4E2D\u5C55\u5F00/\u6298\u53E0chevron\u7684\u4F4D\u7F6E",options:{left:"\u5DE6\u4FA7",right:"\u53F3\u4FA7"}},viewsButtonAlignment:{name:"\u89C6\u56FE\u6309\u94AE\u5BF9\u9F50",description:"\u4EFB\u52A1\u754C\u9762\u4E2D\u89C6\u56FE/\u8FC7\u6EE4\u5668\u6309\u94AE\u7684\u5BF9\u9F50\u65B9\u5F0F",options:{left:"\u5DE6\u4FA7",right:"\u53F3\u4FA7"}}},projectAutosuggest:{header:"\u9879\u76EE\u81EA\u52A8\u5EFA\u8BAE",description:"\u81EA\u5B9A\u4E49\u4EFB\u52A1\u521B\u5EFA\u671F\u95F4\u9879\u76EE\u5EFA\u8BAE\u7684\u663E\u793A\u65B9\u5F0F\u3002",requiredTags:{name:"\u5FC5\u9700\u6807\u7B7E",description:"\u4EC5\u663E\u793A\u5177\u6709\u8FD9\u4E9B\u6807\u7B7E\u4E4B\u4E00\u7684\u7B14\u8BB0\uFF08\u9017\u53F7\u5206\u9694\uFF09\u3002\u7559\u7A7A\u4EE5\u663E\u793A\u6240\u6709\u7B14\u8BB0\u3002",placeholder:"\u9879\u76EE\uFF0C\u6D3B\u52A8\uFF0C\u91CD\u8981"},includeFolders:{name:"\u5305\u542B\u6587\u4EF6\u5939",description:"\u4EC5\u663E\u793A\u8FD9\u4E9B\u6587\u4EF6\u5939\u4E2D\u7684\u7B14\u8BB0\uFF08\u9017\u53F7\u5206\u9694\u8DEF\u5F84\uFF09\u3002\u7559\u7A7A\u4EE5\u663E\u793A\u6240\u6709\u6587\u4EF6\u5939\u3002",placeholder:"\u9879\u76EE/\uFF0C\u5DE5\u4F5C/\u6D3B\u52A8\uFF0C\u4E2A\u4EBA"},requiredPropertyKey:{name:"\u5FC5\u9700\u5C5E\u6027\u952E",description:"\u4EC5\u663E\u793A\u6B64\u524D\u7F6E\u5C5E\u6027\u4E0E\u4E0B\u9762\u503C\u5339\u914D\u7684\u7B14\u8BB0\u3002\u7559\u7A7A\u4EE5\u5FFD\u7565\u3002",placeholder:"type"},requiredPropertyValue:{name:"\u5FC5\u9700\u5C5E\u6027\u503C",description:"\u4EC5\u5EFA\u8BAE\u5C5E\u6027\u7B49\u4E8E\u6B64\u503C\u7684\u7B14\u8BB0\u3002\u7559\u7A7A\u4EE5\u8981\u6C42\u5C5E\u6027\u5B58\u5728\u3002",placeholder:"project"},customizeDisplay:{name:"\u81EA\u5B9A\u4E49\u5EFA\u8BAE\u663E\u793A",description:"\u663E\u793A\u9AD8\u7EA7\u9009\u9879\u4EE5\u914D\u7F6E\u9879\u76EE\u5EFA\u8BAE\u7684\u663E\u793A\u65B9\u5F0F\u53CA\u5176\u663E\u793A\u7684\u4FE1\u606F\u3002"},enableFuzzyMatching:{name:"\u542F\u7528\u6A21\u7CCA\u5339\u914D",description:"\u5728\u9879\u76EE\u641C\u7D22\u4E2D\u5141\u8BB8\u62FC\u5199\u9519\u8BEF\u548C\u90E8\u5206\u5339\u914D\u3002\u5728\u5927\u578B\u5E93\u4E2D\u53EF\u80FD\u8F83\u6162\u3002"},displayRowsHelp:"\u914D\u7F6E\u4E3A\u6BCF\u4E2A\u9879\u76EE\u5EFA\u8BAE\u663E\u793A\u6700\u591A3\u884C\u4FE1\u606F\u3002",displayRows:{row1:{name:"\u7B2C1\u884C",description:"\u683C\u5F0F\uFF1A{property|flags}\u3002\u5C5E\u6027\uFF1Atitle\u3001aliases\u3001file.path\u3001file.parent\u3002\u6807\u5FD7\uFF1An(Label)\u663E\u793A\u6807\u7B7E\uFF0Cs\u4F7F\u5176\u53EF\u641C\u7D22\u3002\u793A\u4F8B\uFF1A{title|n(Title)|s}",placeholder:"{title|n(Title)}"},row2:{name:"\u7B2C2\u884C\uFF08\u53EF\u9009\uFF09",description:"\u5E38\u89C1\u6A21\u5F0F\uFF1A{aliases|n(Aliases)}\u3001{file.parent|n(Folder)}\u3001literal:\u81EA\u5B9A\u4E49\u6587\u672C",placeholder:"{aliases|n(Aliases)}"},row3:{name:"\u7B2C3\u884C\uFF08\u53EF\u9009\uFF09",description:"\u5176\u4ED6\u4FE1\u606F\u5982{file.path|n(Path)}\u6216\u81EA\u5B9A\u4E49\u524D\u7F6E\u5B57\u6BB5",placeholder:"{file.path|n(Path)}"}},quickReference:{header:"\u5FEB\u901F\u53C2\u8003",properties:"\u53EF\u7528\u5C5E\u6027\uFF1Atitle\u3001aliases\u3001file.path\u3001file.parent\u6216\u4EFB\u4F55\u524D\u7F6E\u5B57\u6BB5",labels:'\u6DFB\u52A0\u6807\u7B7E\uFF1A{title|n(Title)} \u2192 "Title: My Project"',searchable:"\u4F7F\u5176\u53EF\u641C\u7D22\uFF1A{description|s}\u5728+\u641C\u7D22\u4E2D\u5305\u542B\u63CF\u8FF0",staticText:"\u9759\u6001\u6587\u672C\uFF1Aliteral:My Custom Label",alwaysSearchable:"\u6587\u4EF6\u540D\u3001\u6807\u9898\u548C\u522B\u540D\u9ED8\u8BA4\u59CB\u7EC8\u53EF\u641C\u7D22\u3002"}},dataStorage:{name:"\u5B58\u50A8\u4F4D\u7F6E",description:"\u756A\u8304\u949F\u4F1A\u8BDD\u5386\u53F2\u7684\u5B58\u50A8\u4F4D\u7F6E",pluginData:"\u63D2\u4EF6\u6570\u636E\uFF08\u63A8\u8350\uFF09",dailyNotes:"\u65E5\u8BB0",notices:{locationChanged:"\u756A\u8304\u949F\u5B58\u50A8\u4F4D\u7F6E\u5DF2\u66F4\u6539\u4E3A{location}"}},notifications:{description:"\u914D\u7F6E\u4EFB\u52A1\u63D0\u9192\u901A\u77E5\u548C\u8B66\u62A5\u3002"},performance:{description:"\u914D\u7F6E\u63D2\u4EF6\u6027\u80FD\u548C\u884C\u4E3A\u9009\u9879\u3002"},timeTrackingSection:{description:"\u914D\u7F6E\u81EA\u52A8\u65F6\u95F4\u8DDF\u8E2A\u884C\u4E3A\u3002"},recurringSection:{description:"\u914D\u7F6E\u91CD\u590D\u4EFB\u52A1\u7BA1\u7406\u7684\u884C\u4E3A\u3002"}},integrations:{basesIntegration:{header:"Bases\u96C6\u6210",description:"\u914D\u7F6E\u4E0EObsidian Bases\u63D2\u4EF6\u7684\u96C6\u6210\u3002\u8FD9\u662F\u4E00\u4E2A\u5B9E\u9A8C\u6027\u529F\u80FD\uFF0C\u76EE\u524D\u4F9D\u8D56\u4E8E\u672A\u8BB0\u5F55\u7684Obsidian API\u3002\u884C\u4E3A\u53EF\u80FD\u4F1A\u6539\u53D8\u6216\u4E2D\u65AD\u3002",enable:{name:"\u542F\u7528Bases\u96C6\u6210",description:"\u542F\u7528TaskNotes\u89C6\u56FE\u5728Obsidian Bases\u63D2\u4EF6\u4E2D\u4F7F\u7528\u3002\u5FC5\u987B\u542F\u7528Bases\u63D2\u4EF6\u624D\u80FD\u5DE5\u4F5C\u3002"},viewCommands:{header:"\u89C6\u56FE\u4E0E Base \u6587\u4EF6",description:"TaskNotes \u4F7F\u7528 Obsidian Bases \u6587\u4EF6\uFF08.base\uFF09\u6765\u5448\u73B0\u89C6\u56FE\u3002\u8FD9\u4E9B\u6587\u4EF6\u5728\u542F\u52A8\u65F6\u81EA\u52A8\u751F\u6210\uFF08\u5982\u679C\u4E0D\u5B58\u5728\uFF09\uFF0C\u5E76\u4F7F\u7528\u60A8\u5F53\u524D\u7684\u8BBE\u7F6E\u8FDB\u884C\u914D\u7F6E\uFF08\u4EFB\u52A1\u8BC6\u522B\u3001\u5B57\u6BB5\u6620\u5C04\u3001\u72B6\u6001\u7B49\uFF09\u3002",descriptionRegen:"\u66F4\u6539\u8BBE\u7F6E\u65F6\uFF0CBase \u6587\u4EF6\u4E0D\u4F1A\u81EA\u52A8\u66F4\u65B0\u3002\u8981\u5E94\u7528\u65B0\u8BBE\u7F6E\uFF0C\u8BF7\u5220\u9664\u73B0\u6709\u7684 .base \u6587\u4EF6\u5E76\u91CD\u65B0\u542F\u52A8 Obsidian\uFF0C\u6216\u4F7F\u7528\u4E0B\u65B9\u7684\u300C\u521B\u5EFA\u6587\u4EF6\u300D\uFF0C\u6216\u624B\u52A8\u7F16\u8F91\u5B83\u4EEC\u3002",docsLink:"\u67E5\u770B\u53EF\u7528\u516C\u5F0F\u548C\u81EA\u5B9A\u4E49\u9009\u9879\u7684\u6587\u6863",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"\u6253\u5F00\u8FF7\u4F60\u65E5\u5386\u89C6\u56FE",kanban:"\u6253\u5F00\u770B\u677F\u89C6\u56FE",tasks:"\u6253\u5F00\u4EFB\u52A1\u89C6\u56FE",advancedCalendar:"\u6253\u5F00\u9AD8\u7EA7\u65E5\u5386\u89C6\u56FE",agenda:"\u6253\u5F00\u8BAE\u7A0B\u89C6\u56FE",relationships:"\u5173\u7CFB\u5C0F\u90E8\u4EF6"},fileLabel:"\u6587\u4EF6\uFF1A{path}",resetButton:"\u91CD\u7F6E",resetTooltip:"\u91CD\u7F6E\u4E3A\u9ED8\u8BA4\u8DEF\u5F84"},createDefaultFiles:{name:"\u521B\u5EFA\u9ED8\u8BA4\u6587\u4EF6",description:"\u5728 TaskNotes/Views/ \u76EE\u5F55\u4E2D\u521B\u5EFA\u9ED8\u8BA4\u7684 .base \u6587\u4EF6\u3002\u73B0\u6709\u6587\u4EF6\u4E0D\u4F1A\u88AB\u8986\u76D6\u3002",buttonText:"\u521B\u5EFA\u6587\u4EF6"},exportV3Views:{name:"\u5C06V3\u4FDD\u5B58\u7684\u89C6\u56FE\u5BFC\u51FA\u5230Bases",description:"\u5C06\u60A8\u6240\u6709\u6765\u81EA TaskNotes v3 \u7684\u4FDD\u5B58\u89C6\u56FE\u8F6C\u6362\u4E3A\u5305\u542B\u591A\u4E2A\u89C6\u56FE\u7684\u5355\u4E2A .base \u6587\u4EF6\u3002\u8FD9\u6709\u52A9\u4E8E\u5C06\u60A8\u7684 v3 \u8FC7\u6EE4\u5668\u914D\u7F6E\u8FC1\u79FB\u5230\u65B0\u7684 Bases \u7CFB\u7EDF\u3002",buttonText:"\u5BFC\u51FAV3\u89C6\u56FE",noViews:"\u6CA1\u6709\u4FDD\u5B58\u7684\u89C6\u56FE\u53EF\u5BFC\u51FA",fileExists:"\u6587\u4EF6\u5DF2\u5B58\u5728",confirmOverwrite:'\u540D\u4E3A"{fileName}"\u7684\u6587\u4EF6\u5DF2\u5B58\u5728\u3002\u662F\u5426\u8986\u76D6\uFF1F',success:"\u5DF2\u5C06 {count} \u4E2A\u4FDD\u5B58\u7684\u89C6\u56FE\u5BFC\u51FA\u5230 {filePath}",error:"\u5BFC\u51FA\u89C6\u56FE\u5931\u8D25\uFF1A{message}"},notices:{enabled:"Bases\u96C6\u6210\u5DF2\u542F\u7528\u3002\u8BF7\u91CD\u542FObsidian\u4EE5\u5B8C\u6210\u8BBE\u7F6E\u3002",disabled:"Bases\u96C6\u6210\u5DF2\u7981\u7528\u3002\u8BF7\u91CD\u542FObsidian\u4EE5\u5B8C\u6210\u79FB\u9664\u3002"}},calendarSubscriptions:{header:"\u65E5\u5386\u8BA2\u9605",description:"\u901A\u8FC7ICS/iCal URL\u8BA2\u9605\u5916\u90E8\u65E5\u5386\uFF0C\u4EE5\u67E5\u770B\u4E8B\u4EF6\u548C\u4EFB\u52A1\u3002",defaultNoteTemplate:{name:"\u9ED8\u8BA4\u7B14\u8BB0\u6A21\u677F",description:"\u4ECEICS\u4E8B\u4EF6\u521B\u5EFA\u7B14\u8BB0\u7684\u6A21\u677F\u6587\u4EF6\u8DEF\u5F84",placeholder:"Templates/Event Template.md"},defaultNoteFolder:{name:"\u9ED8\u8BA4\u7B14\u8BB0\u6587\u4EF6\u5939",description:"\u4ECEICS\u4E8B\u4EF6\u521B\u5EFA\u7B14\u8BB0\u7684\u6587\u4EF6\u5939",placeholder:"Calendar/Events"},filenameFormat:{name:"ICS\u7B14\u8BB0\u6587\u4EF6\u540D\u683C\u5F0F",description:"\u4ECEICS\u4E8B\u4EF6\u521B\u5EFA\u7B14\u8BB0\u7684\u6587\u4EF6\u540D\u751F\u6210\u65B9\u5F0F",options:{title:"\u4E8B\u4EF6\u6807\u9898",zettel:"Zettelkasten\u683C\u5F0F",timestamp:"\u65F6\u95F4\u6233",custom:"\u81EA\u5B9A\u4E49\u6A21\u677F"}},customTemplate:{name:"\u81EA\u5B9A\u4E49ICS\u6587\u4EF6\u540D\u6A21\u677F",description:"\u81EA\u5B9A\u4E49ICS\u4E8B\u4EF6\u6587\u4EF6\u540D\u7684\u6A21\u677F",placeholder:"{date}-{title}"}},subscriptionsList:{header:"\u65E5\u5386\u8BA2\u9605\u5217\u8868",addSubscription:{name:"\u6DFB\u52A0\u65E5\u5386\u8BA2\u9605",description:"\u4ECEICS/iCal URL\u6216\u672C\u5730\u6587\u4EF6\u6DFB\u52A0\u65B0\u7684\u65E5\u5386\u8BA2\u9605",buttonText:"\u6DFB\u52A0\u8BA2\u9605"},refreshAll:{name:"\u5237\u65B0\u6240\u6709\u8BA2\u9605",description:"\u624B\u52A8\u5237\u65B0\u6240\u6709\u542F\u7528\u7684\u65E5\u5386\u8BA2\u9605",buttonText:"\u5237\u65B0\u5168\u90E8"},newCalendarName:"\u65B0\u65E5\u5386",emptyState:"\u672A\u914D\u7F6E\u65E5\u5386\u8BA2\u9605\u3002\u6DFB\u52A0\u8BA2\u9605\u4EE5\u540C\u6B65\u5916\u90E8\u65E5\u5386\u3002",notices:{addSuccess:"\u65B0\u65E5\u5386\u8BA2\u9605\u5DF2\u6DFB\u52A0 - \u8BF7\u914D\u7F6E\u8BE6\u7EC6\u4FE1\u606F",addFailure:"\u6DFB\u52A0\u8BA2\u9605\u5931\u8D25",serviceUnavailable:"ICS\u8BA2\u9605\u670D\u52A1\u4E0D\u53EF\u7528",refreshSuccess:"\u6240\u6709\u65E5\u5386\u8BA2\u9605\u5237\u65B0\u6210\u529F",refreshFailure:"\u5237\u65B0\u67D0\u4E9B\u65E5\u5386\u8BA2\u9605\u5931\u8D25",updateFailure:"\u66F4\u65B0\u8BA2\u9605\u5931\u8D25",deleteSuccess:'\u5220\u9664\u8BA2\u9605"{name}"',deleteFailure:"\u5220\u9664\u8BA2\u9605\u5931\u8D25",enableFirst:"\u8BF7\u5148\u542F\u7528\u8BA2\u9605",refreshSubscriptionSuccess:'\u5237\u65B0"{name}"',refreshSubscriptionFailure:"\u5237\u65B0\u8BA2\u9605\u5931\u8D25"},labels:{enabled:"\u5DF2\u542F\u7528\uFF1A",name:"\u540D\u79F0\uFF1A",type:"\u7C7B\u578B\uFF1A",url:"URL\uFF1A",filePath:"\u6587\u4EF6\u8DEF\u5F84\uFF1A",color:"\u989C\u8272\uFF1A",refreshMinutes:"\u5237\u65B0\uFF08\u5206\u949F\uFF09\uFF1A"},typeOptions:{remote:"\u8FDC\u7A0BURL",local:"\u672C\u5730\u6587\u4EF6"},placeholders:{calendarName:"\u65E5\u5386\u540D\u79F0",url:"ICS/iCal URL",filePath:"\u672C\u5730\u6587\u4EF6\u8DEF\u5F84\uFF08\u4F8B\u5982\uFF0CCalendar.ics\uFF09",localFile:"Calendar.ics"},statusLabels:{enabled:"\u5DF2\u542F\u7528",disabled:"\u5DF2\u7981\u7528",remote:"\u8FDC\u7A0B",localFile:"\u672C\u5730\u6587\u4EF6",remoteCalendar:"\u8FDC\u7A0B\u65E5\u5386",localFileCalendar:"\u672C\u5730\u6587\u4EF6",synced:"{timeAgo}\u5DF2\u540C\u6B65",error:"\u9519\u8BEF"},actions:{refreshNow:"\u7ACB\u5373\u5237\u65B0",deleteSubscription:"\u5220\u9664\u8BA2\u9605"},refreshNow:"\u7ACB\u5373\u5237\u65B0",confirmDelete:{title:"\u5220\u9664\u8BA2\u9605",message:'\u60A8\u786E\u5B9A\u8981\u5220\u9664\u8BA2\u9605"{name}"\u5417\uFF1F\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002',confirmText:"\u5220\u9664"}},autoExport:{header:"\u81EA\u52A8ICS\u5BFC\u51FA",description:"\u81EA\u52A8\u5C06\u6240\u6709\u4EFB\u52A1\u5BFC\u51FA\u5230ICS\u6587\u4EF6\u3002",enable:{name:"\u542F\u7528\u81EA\u52A8\u5BFC\u51FA",description:"\u81EA\u52A8\u4FDD\u6301ICS\u6587\u4EF6\u4E0E\u6240\u6709\u4EFB\u52A1\u66F4\u65B0"},filePath:{name:"\u5BFC\u51FA\u6587\u4EF6\u8DEF\u5F84",description:"ICS\u6587\u4EF6\u4FDD\u5B58\u7684\u8DEF\u5F84\uFF08\u76F8\u5BF9\u4E8E\u5E93\u6839\u76EE\u5F55\uFF09",placeholder:"tasknotes-calendar.ics"},interval:{name:"\u66F4\u65B0\u95F4\u9694\uFF085\u52301440\u5206\u949F\u4E4B\u95F4\uFF09",description:"\u66F4\u65B0\u5BFC\u51FA\u6587\u4EF6\u7684\u9891\u7387",placeholder:"60"},exportNow:{name:"\u7ACB\u5373\u5BFC\u51FA",description:"\u624B\u52A8\u89E6\u53D1\u7ACB\u5373\u5BFC\u51FA",buttonText:"\u7ACB\u5373\u5BFC\u51FA"},status:{title:"\u5BFC\u51FA\u72B6\u6001\uFF1A",lastExport:"\u4E0A\u6B21\u5BFC\u51FA\uFF1A{time}",nextExport:"\u4E0B\u6B21\u5BFC\u51FA\uFF1A{time}",noExports:"\u5C1A\u672A\u5BFC\u51FA",notScheduled:"\u672A\u8BA1\u5212",notInitialized:"\u81EA\u52A8\u5BFC\u51FA\u670D\u52A1\u672A\u521D\u59CB\u5316 - \u8BF7\u91CD\u542FObsidian",serviceNotInitialized:"\u670D\u52A1\u672A\u521D\u59CB\u5316 - \u8BF7\u91CD\u542F Obsidian"},notices:{reloadRequired:"\u8BF7\u91CD\u65B0\u52A0\u8F7DObsidian\u4EE5\u4F7F\u81EA\u52A8\u5BFC\u51FA\u66F4\u6539\u751F\u6548\u3002",exportSuccess:"\u4EFB\u52A1\u5BFC\u51FA\u6210\u529F",exportFailure:"\u5BFC\u51FA\u5931\u8D25 - \u68C0\u67E5\u63A7\u5236\u53F0\u83B7\u53D6\u8BE6\u7EC6\u4FE1\u606F",serviceUnavailable:"\u81EA\u52A8\u5BFC\u51FA\u670D\u52A1\u4E0D\u53EF\u7528"}},httpApi:{header:"HTTP API",description:"\u542F\u7528HTTP API\u8FDB\u884C\u5916\u90E8\u96C6\u6210\u548C\u81EA\u52A8\u5316\u3002",enable:{name:"\u542F\u7528HTTP API",description:"\u542F\u52A8\u672C\u5730HTTP\u670D\u52A1\u5668\u8FDB\u884CAPI\u8BBF\u95EE"},port:{name:"API\u7AEF\u53E3",description:"HTTP API\u670D\u52A1\u5668\u7684\u7AEF\u53E3\u53F7",placeholder:"3000"},authToken:{name:"API\u8BA4\u8BC1\u4EE4\u724C",description:"API\u8BA4\u8BC1\u6240\u9700\u7684\u4EE4\u724C\uFF08\u7559\u7A7A\u8868\u793A\u65E0\u8BA4\u8BC1\uFF09",placeholder:"your-secret-token"},endpoints:{header:"\u53EF\u7528API\u7AEF\u70B9",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhooks",description:{overview:"Webhooks\u5728TaskNotes\u4E8B\u4EF6\u53D1\u751F\u65F6\u5411\u5916\u90E8\u670D\u52A1\u53D1\u9001\u5B9E\u65F6\u901A\u77E5\u3002",usage:"\u914D\u7F6Ewebhooks\u4EE5\u4E0E\u81EA\u52A8\u5316\u5DE5\u5177\u3001\u540C\u6B65\u670D\u52A1\u6216\u81EA\u5B9A\u4E49\u5E94\u7528\u7A0B\u5E8F\u96C6\u6210\u3002"},addWebhook:{name:"\u6DFB\u52A0Webhook",description:"\u6CE8\u518C\u65B0\u7684webhook\u7AEF\u70B9",buttonText:"\u6DFB\u52A0Webhook"},emptyState:{message:"\u672A\u914D\u7F6Ewebhooks\u3002\u6DFB\u52A0webhook\u4EE5\u63A5\u6536\u5B9E\u65F6\u901A\u77E5\u3002",buttonText:"\u6DFB\u52A0Webhook"},labels:{active:"\u6D3B\u52A8\uFF1A",url:"URL\uFF1A",events:"\u4E8B\u4EF6\uFF1A",transform:"\u8F6C\u6362\uFF1A"},placeholders:{url:"Webhook URL",noEventsSelected:"\u672A\u9009\u62E9\u4E8B\u4EF6",rawPayload:"\u539F\u59CB\u8F7D\u8377\uFF08\u65E0\u8F6C\u6362\uFF09"},statusLabels:{active:"\u6D3B\u52A8",inactive:"\u975E\u6D3B\u52A8",created:"\u521B\u5EFA\u4E8E{timeAgo}"},actions:{editEvents:"\u7F16\u8F91\u4E8B\u4EF6",delete:"\u5220\u9664"},editEvents:"\u7F16\u8F91\u4E8B\u4EF6",notices:{urlUpdated:"Webhook URL\u5DF2\u66F4\u65B0",enabled:"Webhook\u5DF2\u542F\u7528",disabled:"Webhook\u5DF2\u7981\u7528",created:"Webhook\u521B\u5EFA\u6210\u529F",deleted:"Webhook\u5DF2\u5220\u9664",updated:"Webhook\u5DF2\u66F4\u65B0"},confirmDelete:{title:"\u5220\u9664Webhook",message:`\u60A8\u786E\u5B9A\u8981\u5220\u9664\u6B64webhook\u5417\uFF1F
|
||
|
||
URL\uFF1A{url}
|
||
|
||
\u6B64\u64CD\u4F5C\u65E0\u6CD5\u64A4\u9500\u3002`,confirmText:"\u5220\u9664"},cardHeader:"Webhook",cardFields:{active:"\u6D3B\u52A8\uFF1A",url:"URL\uFF1A",events:"\u4E8B\u4EF6\uFF1A",transform:"\u8F6C\u6362\uFF1A"},eventsDisplay:{noEvents:"\u672A\u9009\u62E9\u4E8B\u4EF6"},transformDisplay:{noTransform:"\u539F\u59CB\u8F7D\u8377\uFF08\u65E0\u8F6C\u6362\uFF09"},secretModal:{title:"Webhook\u5BC6\u94A5\u5DF2\u751F\u6210",description:"\u60A8\u7684webhook\u5BC6\u94A5\u5DF2\u751F\u6210\u3002\u4FDD\u5B58\u6B64\u5BC6\u94A5\uFF0C\u56E0\u4E3A\u60A8\u65E0\u6CD5\u518D\u6B21\u67E5\u770B\u5B83\uFF1A",usage:"\u4F7F\u7528\u6B64\u5BC6\u94A5\u5728\u60A8\u7684\u63A5\u6536\u5E94\u7528\u7A0B\u5E8F\u4E2D\u9A8C\u8BC1webhook\u8F7D\u8377\u3002",gotIt:"\u77E5\u9053\u4E86"},editModal:{title:"\u7F16\u8F91Webhook",eventsHeader:"\u8981\u8BA2\u9605\u7684\u4E8B\u4EF6"},events:{taskCreated:{label:"\u4EFB\u52A1\u5DF2\u521B\u5EFA",description:"\u521B\u5EFA\u65B0\u4EFB\u52A1\u65F6"},taskUpdated:{label:"\u4EFB\u52A1\u5DF2\u66F4\u65B0",description:"\u4FEE\u6539\u4EFB\u52A1\u65F6"},taskCompleted:{label:"\u4EFB\u52A1\u5DF2\u5B8C\u6210",description:"\u6807\u8BB0\u4EFB\u52A1\u4E3A\u5B8C\u6210\u65F6"},taskDeleted:{label:"\u4EFB\u52A1\u5DF2\u5220\u9664",description:"\u5220\u9664\u4EFB\u52A1\u65F6"},taskArchived:{label:"\u4EFB\u52A1\u5DF2\u5F52\u6863",description:"\u5F52\u6863\u4EFB\u52A1\u65F6"},taskUnarchived:{label:"\u4EFB\u52A1\u5DF2\u53D6\u6D88\u5F52\u6863",description:"\u53D6\u6D88\u5F52\u6863\u4EFB\u52A1\u65F6"},timeStarted:{label:"\u65F6\u95F4\u5DF2\u5F00\u59CB",description:"\u5F00\u59CB\u65F6\u95F4\u8DDF\u8E2A\u65F6"},timeStopped:{label:"\u65F6\u95F4\u5DF2\u505C\u6B62",description:"\u505C\u6B62\u65F6\u95F4\u8DDF\u8E2A\u65F6"},pomodoroStarted:{label:"\u756A\u8304\u949F\u5DF2\u5F00\u59CB",description:"\u756A\u8304\u949F\u4F1A\u8BDD\u5F00\u59CB\u65F6"},pomodoroCompleted:{label:"\u756A\u8304\u949F\u5DF2\u5B8C\u6210",description:"\u756A\u8304\u949F\u4F1A\u8BDD\u5B8C\u6210\u65F6"},pomodoroInterrupted:{label:"\u756A\u8304\u949F\u5DF2\u4E2D\u65AD",description:"\u756A\u8304\u949F\u4F1A\u8BDD\u505C\u6B62\u65F6"},recurringCompleted:{label:"\u91CD\u590D\u5B9E\u4F8B\u5DF2\u5B8C\u6210",description:"\u91CD\u590D\u4EFB\u52A1\u5B9E\u4F8B\u5B8C\u6210\u65F6"},reminderTriggered:{label:"\u63D0\u9192\u5DF2\u89E6\u53D1",description:"\u4EFB\u52A1\u63D0\u9192\u6FC0\u6D3B\u65F6"}},modals:{secretGenerated:{title:"Webhook\u5BC6\u94A5\u5DF2\u751F\u6210",description:"\u60A8\u7684webhook\u5BC6\u94A5\u5DF2\u751F\u6210\u3002\u4FDD\u5B58\u6B64\u5BC6\u94A5\uFF0C\u56E0\u4E3A\u60A8\u65E0\u6CD5\u518D\u6B21\u67E5\u770B\u5B83\uFF1A",usage:"\u4F7F\u7528\u6B64\u5BC6\u94A5\u5728\u60A8\u7684\u63A5\u6536\u5E94\u7528\u7A0B\u5E8F\u4E2D\u9A8C\u8BC1webhook\u8F7D\u8377\u3002",buttonText:"\u77E5\u9053\u4E86"},edit:{title:"\u7F16\u8F91Webhook",eventsSection:"\u8981\u8BA2\u9605\u7684\u4E8B\u4EF6",transformSection:"\u8F6C\u6362\u914D\u7F6E\uFF08\u53EF\u9009\uFF09",headersSection:"\u6807\u5934\u914D\u7F6E",transformFile:{name:"\u8F6C\u6362\u6587\u4EF6",description:"\u5E93\u4E2D\u8F6C\u6362webhook\u8F7D\u8377\u7684.js\u6216.json\u6587\u4EF6\u8DEF\u5F84",placeholder:"discord-transform.js"},customHeaders:{name:"\u5305\u542B\u81EA\u5B9A\u4E49\u6807\u5934",description:"\u5305\u542BTaskNotes\u6807\u5934\uFF08\u4E8B\u4EF6\u7C7B\u578B\u3001\u7B7E\u540D\u3001\u4EA4\u4ED8ID\uFF09\u3002\u5BF9\u4E8EDiscord\u3001Slack\u548C\u5176\u4ED6\u5177\u6709\u4E25\u683CCORS\u7B56\u7565\u7684\u670D\u52A1\uFF0C\u8BF7\u5173\u95ED\u3002"},buttons:{cancel:"\u53D6\u6D88",save:"\u4FDD\u5B58\u66F4\u6539"},notices:{selectAtLeastOneEvent:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u4E8B\u4EF6"}},add:{title:"\u6DFB\u52A0Webhook",eventsSection:"\u8981\u8BA2\u9605\u7684\u4E8B\u4EF6",transformSection:"\u8F6C\u6362\u914D\u7F6E\uFF08\u53EF\u9009\uFF09",headersSection:"\u6807\u5934\u914D\u7F6E",url:{name:"Webhook URL",description:"\u5C06\u53D1\u9001webhook\u8F7D\u8377\u7684\u7AEF\u70B9",placeholder:"https://your-service.com/webhook"},transformFile:{name:"\u8F6C\u6362\u6587\u4EF6",description:"\u5E93\u4E2D\u8F6C\u6362webhook\u8F7D\u8377\u7684.js\u6216.json\u6587\u4EF6\u8DEF\u5F84",placeholder:"discord-transform.js"},customHeaders:{name:"\u5305\u542B\u81EA\u5B9A\u4E49\u6807\u5934",description:"\u5305\u542BTaskNotes\u6807\u5934\uFF08\u4E8B\u4EF6\u7C7B\u578B\u3001\u7B7E\u540D\u3001\u4EA4\u4ED8ID\uFF09\u3002\u5BF9\u4E8EDiscord\u3001Slack\u548C\u5176\u4ED6\u5177\u6709\u4E25\u683CCORS\u7B56\u7565\u7684\u670D\u52A1\uFF0C\u8BF7\u5173\u95ED\u3002"},transformHelp:{title:"\u8F6C\u6362\u6587\u4EF6\u5141\u8BB8\u60A8\u81EA\u5B9A\u4E49webhook\u8F7D\u8377\uFF1A",jsFiles:".js\u6587\u4EF6\uFF1A",jsDescription:" \u81EA\u5B9A\u4E49JavaScript\u8F6C\u6362",jsonFiles:".json\u6587\u4EF6\uFF1A",jsonDescription:" \u4F7F\u7528\u6A21\u677F",jsonVariable:"${data.task.title}",leaveEmpty:"\u7559\u7A7A\uFF1A",leaveEmptyDescription:" \u53D1\u9001\u539F\u59CB\u6570\u636E",example:"\u793A\u4F8B\uFF1A",exampleFile:"discord-transform.js"},buttons:{cancel:"\u53D6\u6D88",add:"\u6DFB\u52A0Webhook"},notices:{urlRequired:"\u9700\u8981Webhook URL",selectAtLeastOneEvent:"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u4E8B\u4EF6"}}}},otherIntegrations:{header:"\u5176\u4ED6\u63D2\u4EF6\u96C6\u6210",description:"\u914D\u7F6E\u4E0E\u5176\u4ED6Obsidian\u63D2\u4EF6\u7684\u96C6\u6210\u3002"},timeFormats:{justNow:"\u521A\u521A",minutesAgo:"{minutes}\u5206\u949F{plural}\u524D",hoursAgo:"{hours}\u5C0F\u65F6{plural}\u524D",daysAgo:"{days}\u5929{plural}\u524D"}}},notices:{languageChanged:"\u8BED\u8A00\u5DF2\u66F4\u6539\u4E3A{language}\u3002",exportTasksFailed:"\u5BFC\u51FA\u4EFB\u52A1\u4E3AICS\u6587\u4EF6\u5931\u8D25",icsNoteCreatedSuccess:"\u7B14\u8BB0\u6210\u529F\u521B\u5EFA",icsCreationModalOpenFailed:"\u6253\u5F00\u521B\u5EFA\u6A21\u5F0F\u5931\u8D25",icsNoteLinkSuccess:'\u5173\u8054\u7684\u7B14\u8BB0 "{fileName}" to ICS event',icsTaskCreatedSuccess:"\u4EFB\u52A1\u5DF2\u521B\u5EFA\uFF1A{title}",icsRelatedItemsRefreshed:"\u76F8\u5173\u7B14\u8BB0\u5DF2\u5237\u65B0",icsFileNotFound:"\u6587\u4EF6\u672A\u627E\u5230\u6216\u65E0\u6548",icsFileOpenFailed:"\u6253\u5F00\u6587\u4EF6\u5931\u8D25",timeblockAttachmentExists:'"{fileName}" is already attached',timeblockAttachmentAdded:'\u5DF2\u6DFB\u52A0 "{fileName}" as attachment',timeblockAttachmentRemoved:'\u5DF2\u5220\u9664 "{fileName}" from attachments',timeblockFileTypeNotSupported:'\u65E0\u6CD5\u6253\u5F00 "{fileName}" - file type not supported',timeblockTitleRequired:"\u8BF7\u4E3A\u65F6\u95F4\u5757\u8F93\u5165\u6807\u9898",timeblockUpdatedSuccess:'\u65F6\u95F4\u5757 "{title}" updated successfully',timeblockUpdateFailed:"\u66F4\u65B0\u65F6\u95F4\u5757\u5931\u8D25\u3002\u68C0\u67E5\u63A7\u5236\u53F0\u4E86\u89E3\u8BE6\u60C5\u3002",timeblockDeletedSuccess:'\u65F6\u95F4\u5757 "{title}" deleted successfully',timeblockDeleteFailed:"\u5220\u9664\u65F6\u95F4\u5757\u5931\u8D25\u3002\u68C0\u67E5\u63A7\u5236\u53F0\u4E86\u89E3\u8BE6\u60C5\u3002",timeblockRequiredFieldsMissing:"\u8BF7\u586B\u5199\u6240\u6709\u5FC5\u586B\u5B57\u6BB5",agendaLoadingFailed:"\u52A0\u8F7D\u8BAE\u7A0B\u65F6\u51FA\u9519\u3002\u8BF7\u5C1D\u8BD5\u5237\u65B0\u3002",statsLoadingFailed:"\u52A0\u8F7D\u9879\u76EE\u8BE6\u60C5\u65F6\u51FA\u9519\u3002"},commands:{openCalendarView:"\u6253\u5F00\u8FF7\u4F60\u65E5\u5386\u89C6\u56FE",openAdvancedCalendarView:"\u6253\u5F00\u65E5\u5386\u89C6\u56FE",openTasksView:"\u6253\u5F00\u4EFB\u52A1\u89C6\u56FE",openNotesView:"\u6253\u5F00\u7B14\u8BB0\u89C6\u56FE",openAgendaView:"\u6253\u5F00\u8BAE\u7A0B\u89C6\u56FE",openPomodoroView:"\u6253\u5F00\u756A\u8304\u949F\u8BA1\u65F6\u5668",openKanbanView:"\u6253\u5F00\u770B\u677F",openPomodoroStats:"\u6253\u5F00\u756A\u8304\u949F\u7EDF\u8BA1",openStatisticsView:"\u6253\u5F00\u4EFB\u52A1\u548C\u9879\u76EE\u7EDF\u8BA1",createNewTask:"\u521B\u5EFA\u65B0\u4EFB\u52A1",convertCurrentNoteToTask:{name:"\u5C06\u5F53\u524D\u7B14\u8BB0\u8F6C\u6362\u4E3A\u4EFB\u52A1",noActiveFile:"\u6CA1\u6709\u53EF\u8F6C\u6362\u7684\u6D3B\u52A8\u6587\u4EF6",alreadyTask:"\u6B64\u7B14\u8BB0\u5DF2\u662F\u4EFB\u52A1",success:"\u5DF2\u5C06'{title}'\u8F6C\u6362\u4E3A\u4EFB\u52A1"},convertToTaskNote:"\u5C06\u590D\u9009\u6846\u4EFB\u52A1\u8F6C\u6362\u4E3ATaskNote",convertAllTasksInNote:"\u8F6C\u6362\u7B14\u8BB0\u4E2D\u7684\u6240\u6709\u4EFB\u52A1",insertTaskNoteLink:"\u63D2\u5165\u4EFB\u52A1\u7B14\u8BB0\u94FE\u63A5",createInlineTask:"\u521B\u5EFA\u65B0\u5185\u8054\u4EFB\u52A1",quickActionsCurrentTask:"\u5F53\u524D\u4EFB\u52A1\u7684\u5FEB\u901F\u64CD\u4F5C",goToTodayNote:"\u8F6C\u5230\u4ECA\u65E5\u7B14\u8BB0",startPomodoro:"\u5F00\u59CB\u756A\u8304\u949F\u8BA1\u65F6\u5668",stopPomodoro:"\u505C\u6B62\u756A\u8304\u949F\u8BA1\u65F6\u5668",pauseResumePomodoro:"\u6682\u505C/\u6062\u590D\u756A\u8304\u949F\u8BA1\u65F6\u5668",refreshCache:"\u5237\u65B0\u7F13\u5B58",exportAllTasksIcs:"\u5BFC\u51FA\u6240\u6709\u4EFB\u52A1\u4E3AICS\u6587\u4EF6",viewReleaseNotes:"\u67E5\u770B\u7248\u672C\u8BF4\u660E",startTimeTrackingWithSelector:"\u5F00\u59CB\u65F6\u95F4\u8DDF\u8E2A\uFF08\u9009\u62E9\u4EFB\u52A1\uFF09",editTimeEntries:"\u7F16\u8F91\u65F6\u95F4\u6761\u76EE\uFF08\u9009\u62E9\u4EFB\u52A1\uFF09",createOrOpenTask:"\u521B\u5EFA\u6216\u6253\u5F00\u4EFB\u52A1"},modals:{deviceCode:{title:"\u8C37\u6B4C\u65E5\u5386\u6388\u6743",instructions:{intro:"\u8981\u8FDE\u63A5\u60A8\u7684 Google \u65E5\u5386\uFF0C\u8BF7\u6309\u7167\u4EE5\u4E0B\u6B65\u9AA4\u64CD\u4F5C\uFF1A"},steps:{open:"\u6253\u5F00",inBrowser:"\u5728\u60A8\u7684\u6D4F\u89C8\u5668\u4E2D",enterCode:"\u5728\u63D0\u793A\u65F6\u8F93\u5165\u6B64\u4EE3\u7801\uFF1A",signIn:"\u4F7F\u7528\u60A8\u7684 Google \u5E10\u6237\u767B\u5F55\u5E76\u6388\u4E88\u8BBF\u95EE\u6743\u9650",returnToObsidian:"\u8FD4\u56DE Obsidian\uFF08\u6B64\u7A97\u53E3\u5C06\u81EA\u52A8\u5173\u95ED\uFF09"},codeLabel:"\u60A8\u7684\u4EE3\u7801\uFF1A",copyCodeAriaLabel:"\u590D\u5236\u4EE3\u7801",waitingForAuthorization:"\u7B49\u5F85\u6388\u6743\u4E2D...",openBrowserButton:"\u6253\u5F00\u6D4F\u89C8\u5668",cancelButton:"\u53D6\u6D88",expiresMinutesSeconds:"\u4EE3\u7801\u5728 {minutes}m {seconds}s \u540E\u8FC7\u671F",expiresSeconds:"\u4EE3\u7801\u5728 {seconds}s \u540E\u8FC7\u671F"},icsEventInfo:{calendarEventHeading:"\u65E5\u5386\u4E8B\u4EF6",titleLabel:"\u6807\u9898",calendarLabel:"\u65E5\u5386",dateTimeLabel:"\u65E5\u671F\u548C\u65F6\u95F4",locationLabel:"\u4F4D\u7F6E",descriptionLabel:"\u63CF\u8FF0",urlLabel:"\u7F51\u5740",relatedNotesHeading:"\u76F8\u5173\u7B14\u8BB0\u548C\u4EFB\u52A1",noRelatedItems:"\u672A\u627E\u5230\u4E0E\u6B64\u4E8B\u4EF6\u76F8\u5173\u7684\u7B14\u8BB0\u6216\u4EFB\u52A1\u3002",typeTask:"\u4EFB\u52A1",typeNote:"\u7B14\u8BB0",actionsHeading:"\u64CD\u4F5C",createFromEventLabel:"\u4ECE\u4E8B\u4EF6\u521B\u5EFA",createFromEventDesc:"\u4ECE\u6B64\u65E5\u5386\u4E8B\u4EF6\u521B\u5EFA\u65B0\u7684\u7B14\u8BB0\u6216\u4EFB\u52A1",linkExistingLabel:"\u94FE\u63A5\u73B0\u6709",linkExistingDesc:"\u5C06\u73B0\u6709\u7B14\u8BB0\u94FE\u63A5\u5230\u6B64\u65E5\u5386\u4E8B\u4EF6"},timeblockInfo:{editHeading:"\u7F16\u8F91\u65F6\u95F4\u5757",dateTimeLabel:"\u65E5\u671F\u548C\u65F6\u95F4\uFF1A",titleLabel:"\u6807\u9898",titleDesc:"\u65F6\u95F4\u5757\u7684\u6807\u9898",titlePlaceholder:"\u4F8B\u5982\uFF0C\u6DF1\u5EA6\u5DE5\u4F5C\u4F1A\u8BDD",descriptionLabel:"\u63CF\u8FF0",descriptionDesc:"\u65F6\u95F4\u5757\u7684\u53EF\u9009\u63CF\u8FF0",descriptionPlaceholder:"\u4E13\u6CE8\u4E8E\u65B0\u529F\u80FD\uFF0C\u65E0\u5E72\u6270",colorLabel:"\u989C\u8272",colorDesc:"\u65F6\u95F4\u5757\u7684\u53EF\u9009\u989C\u8272",colorPlaceholder:"#3b82f6",attachmentsLabel:"\u9644\u4EF6",attachmentsDesc:"\u4E0E\u6B64\u65F6\u95F4\u5757\u5173\u8054\u7684\u6587\u4EF6\u6216\u7B14\u8BB0",addAttachmentButton:"\u6DFB\u52A0\u9644\u4EF6",addAttachmentTooltip:"\u4F7F\u7528\u6A21\u7CCA\u641C\u7D22\u9009\u62E9\u6587\u4EF6\u6216\u7B14\u8BB0",deleteButton:"\u5220\u9664\u65F6\u95F4\u5757",saveButton:"\u4FDD\u5B58\u66F4\u6539",deleteConfirmationTitle:"\u5220\u9664\u65F6\u95F4\u5757"},timeblockCreation:{heading:"\u521B\u5EFA\u65F6\u95F4\u5757",dateLabel:"\u65E5\u671F\uFF1A",titleLabel:"\u6807\u9898",titleDesc:"\u65F6\u95F4\u5757\u7684\u6807\u9898",titlePlaceholder:"\u4F8B\u5982\uFF0C\u6DF1\u5EA6\u5DE5\u4F5C\u4F1A\u8BDD",startTimeLabel:"\u5F00\u59CB\u65F6\u95F4",startTimeDesc:"\u65F6\u95F4\u5757\u4F55\u65F6\u5F00\u59CB",startTimePlaceholder:"09:00",endTimeLabel:"\u7ED3\u675F\u65F6\u95F4",endTimeDesc:"\u65F6\u95F4\u5757\u4F55\u65F6\u7ED3\u675F",endTimePlaceholder:"11:00",descriptionLabel:"\u63CF\u8FF0",descriptionDesc:"\u65F6\u95F4\u5757\u7684\u53EF\u9009\u63CF\u8FF0",descriptionPlaceholder:"\u4E13\u6CE8\u4E8E\u65B0\u529F\u80FD\uFF0C\u65E0\u5E72\u6270",colorLabel:"\u989C\u8272",colorDesc:"\u65F6\u95F4\u5757\u7684\u53EF\u9009\u989C\u8272",colorPlaceholder:"#3b82f6",attachmentsLabel:"\u9644\u4EF6",attachmentsDesc:"\u8981\u4E0E\u6B64\u65F6\u95F4\u5757\u5173\u8054\u7684\u6587\u4EF6\u6216\u7B14\u8BB0",addAttachmentButton:"\u6DFB\u52A0\u9644\u4EF6",addAttachmentTooltip:"\u4F7F\u7528\u6A21\u7CCA\u641C\u7D22\u9009\u62E9\u6587\u4EF6\u6216\u7B14\u8BB0",createButton:"\u521B\u5EFA\u65F6\u95F4\u5757"},icsNoteCreation:{heading:"\u4ECE ICS \u4E8B\u4EF6\u521B\u5EFA",titleLabel:"\u6807\u9898",titleDesc:"\u65B0\u5185\u5BB9\u7684\u6807\u9898",folderLabel:"\u6587\u4EF6\u5939",folderDesc:"\u76EE\u6807\u6587\u4EF6\u5939\uFF08\u7559\u7A7A\u4EE5\u4F7F\u7528\u5E93\u6839\u76EE\u5F55\uFF09",folderPlaceholder:"\u6587\u4EF6\u5939/\u5B50\u6587\u4EF6\u5939",createButton:"\u521B\u5EFA",startLabel:"\u5F00\u59CB\uFF1A",endLabel:"\u7ED3\u675F\uFF1A",locationLabel:"\u4F4D\u7F6E\uFF1A",calendarLabel:"\u65E5\u5386\uFF1A",useTemplateLabel:"\u4F7F\u7528\u6A21\u677F",useTemplateDesc:"\u521B\u5EFA\u5185\u5BB9\u65F6\u5E94\u7528\u6A21\u677F",templatePathLabel:"\u6A21\u677F\u8DEF\u5F84",templatePathDesc:"\u6A21\u677F\u6587\u4EF6\u7684\u8DEF\u5F84",templatePathPlaceholder:"templates/ics-note-template.md"},unscheduledTasksSelector:{title:"\u672A\u8BA1\u5212\u7684\u4EFB\u52A1",placeholder:"\u8F93\u5165\u4EE5\u641C\u7D22\u672A\u8BA1\u5212\u7684\u4EFB\u52A1...",instructions:{navigate:"\u5BFC\u822A",schedule:"\u5B89\u6392",dismiss:"\u5173\u95ED"}},migration:{title:"\u8FC1\u79FB\u5230\u65B0\u7684\u5FAA\u73AF\u7CFB\u7EDF",description:"TaskNotes \u73B0\u5728\u4F7F\u7528\u884C\u4E1A\u6807\u51C6\u7684 RRULE \u6A21\u5F0F\u8FDB\u884C\u5FAA\u73AF\uFF0C\u53EF\u4EE5\u521B\u5EFA\u66F4\u590D\u6742\u7684\u8BA1\u5212\u5E76\u4E0E\u5176\u4ED6\u5E94\u7528\u66F4\u597D\u5730\u517C\u5BB9\u3002",tasksFound:"\u68C0\u6D4B\u5230 {count} \u4E2A\u5177\u6709\u65E7\u5FAA\u73AF\u6A21\u5F0F\u7684\u4EFB\u52A1",noMigrationNeeded:"\u65E0\u4EFB\u52A1\u9700\u8981\u8FC1\u79FB",warnings:{title:"\u5728\u7EE7\u7EED\u4E4B\u524D\uFF1A",backup:"\u5728\u8FC1\u79FB\u524D\u5907\u4EFD\u60A8\u7684\u5E93",conversion:"\u65E7\u7684\u5FAA\u73AF\u6A21\u5F0F\u5C06\u88AB\u8F6C\u6362\u4E3A\u65B0\u683C\u5F0F",normalUsage:"\u60A8\u53EF\u4EE5\u5728\u8FC1\u79FB\u671F\u95F4\u7EE7\u7EED\u6B63\u5E38\u4F7F\u7528 TaskNotes",permanent:"\u6B64\u66F4\u6539\u662F\u6C38\u4E45\u7684\uFF0C\u65E0\u6CD5\u81EA\u52A8\u64A4\u9500"},benefits:{title:"\u65B0\u7CFB\u7EDF\u7684\u597D\u5904\uFF1A",powerfulPatterns:"\u590D\u6742\u7684\u5FAA\u73AF\u6A21\u5F0F\uFF08\u4F8B\u5982\uFF0C'\u6BCF\u7B2C\u4E8C\u4E2A\u661F\u671F\u4E8C'\uFF09",performance:"\u66F4\u597D\u7684\u5FAA\u73AF\u4EFB\u52A1\u6027\u80FD",compatibility:"\u4E0E\u5176\u4ED6\u5E94\u7528\u517C\u5BB9\u7684\u6807\u51C6\u5FAA\u73AF\u683C\u5F0F",nlp:"\u589E\u5F3A\u7684\u81EA\u7136\u8BED\u8A00\u5904\u7406\u652F\u6301"},progress:{title:"\u8FC1\u79FB\u8FDB\u5EA6",preparing:"\u51C6\u5907\u8FC1\u79FB\u4E2D...",completed:"\u8FC1\u79FB\u6210\u529F\u5B8C\u6210",failed:"\u8FC1\u79FB\u5931\u8D25"},buttons:{migrate:"\u5F00\u59CB\u8FC1\u79FB",completed:"\u5173\u95ED"},errors:{title:"\u8FC1\u79FB\u8FC7\u7A0B\u4E2D\u51FA\u73B0\u9519\u8BEF\uFF1A"},notices:{completedWithErrors:"\u8FC1\u79FB\u5B8C\u6210\u4F46\u6709\u4E00\u4E9B\u9519\u8BEF\u3002\u68C0\u67E5\u4E0A\u9762\u7684\u9519\u8BEF\u5217\u8868\u3002",success:"\u6240\u6709\u4EFB\u52A1\u5DF2\u6210\u529F\u8FC1\u79FB\uFF01",failed:"\u8FC1\u79FB\u5931\u8D25\u3002\u8BF7\u68C0\u67E5\u63A7\u5236\u53F0\u4E86\u89E3\u8BE6\u60C5\u3002"},prompt:{message:"TaskNotes \u68C0\u6D4B\u5230\u4F7F\u7528\u65E7\u5FAA\u73AF\u683C\u5F0F\u7684\u4EFB\u52A1\u3002\u60A8\u73B0\u5728\u60F3\u5C06\u5B83\u4EEC\u8FC1\u79FB\u5230\u65B0\u7CFB\u7EDF\u5417\uFF1F",migrateNow:"\u7ACB\u5373\u8FC1\u79FB",remindLater:"\u7A0D\u540E\u63D0\u9192\u6211"}},task:{titlePlaceholder:"\u9700\u8981\u505A\u4EC0\u4E48\uFF1F",titleLabel:"\u6807\u9898",titleDetailedPlaceholder:"\u4EFB\u52A1\u6807\u9898...",detailsLabel:"\u8BE6\u60C5",detailsPlaceholder:"\u6DFB\u52A0\u66F4\u591A\u8BE6\u60C5...",projectsLabel:"\u9879\u76EE",projectsAdd:"\u6DFB\u52A0\u9879\u76EE",projectsTooltip:"\u4F7F\u7528\u6A21\u7CCA\u641C\u7D22\u9009\u62E9\u9879\u76EE\u7B14\u8BB0",projectsRemoveTooltip:"\u79FB\u9664\u9879\u76EE",contextsLabel:"\u4E0A\u4E0B\u6587",contextsPlaceholder:"\u4E0A\u4E0B\u65871\uFF0C\u4E0A\u4E0B\u65872",tagsLabel:"\u6807\u7B7E",tagsPlaceholder:"\u6807\u7B7E1\uFF0C\u6807\u7B7E2",timeEstimateLabel:"\u65F6\u95F4\u4F30\u8BA1\uFF08\u5206\u949F\uFF09",timeEstimatePlaceholder:"30",unsavedChanges:{title:"\u672A\u4FDD\u5B58\u7684\u66F4\u6539",message:"\u60A8\u6709\u672A\u4FDD\u5B58\u7684\u66F4\u6539\u3002\u662F\u5426\u8981\u4FDD\u5B58\uFF1F",save:"\u4FDD\u5B58\u66F4\u6539",discard:"\u653E\u5F03\u66F4\u6539",cancel:"\u7EE7\u7EED\u7F16\u8F91"},dependencies:{blockedBy:"\u88AB\u963B\u585E",blocking:"\u963B\u585E\u4E2D",placeholder:"[[\u4EFB\u52A1\u7B14\u8BB0]]",addTaskButton:"\u6DFB\u52A0\u4EFB\u52A1",selectTaskTooltip:"\u4F7F\u7528\u6A21\u7CCA\u641C\u7D22\u9009\u62E9\u4EFB\u52A1\u7B14\u8BB0",removeTaskTooltip:"\u5220\u9664\u4EFB\u52A1"},organization:{projects:"\u9879\u76EE",subtasks:"\u5B50\u4EFB\u52A1",addToProject:"\u6DFB\u52A0\u5230\u9879\u76EE",addToProjectButton:"\u6DFB\u52A0\u5230\u9879\u76EE",addSubtasks:"\u6DFB\u52A0\u5B50\u4EFB\u52A1",addSubtasksButton:"\u6DFB\u52A0\u5B50\u4EFB\u52A1",addSubtasksTooltip:"\u9009\u62E9\u4EFB\u52A1\u5C06\u5176\u8BBE\u4E3A\u6B64\u4EFB\u52A1\u7684\u5B50\u4EFB\u52A1",removeSubtaskTooltip:"\u5220\u9664\u5B50\u4EFB\u52A1",notices:{noEligibleSubtasks:"\u6CA1\u6709\u53EF\u7528\u7684\u4EFB\u52A1\u53EF\u6307\u5B9A\u4E3A\u5B50\u4EFB\u52A1",subtaskSelectFailed:"\u65E0\u6CD5\u6253\u5F00\u5B50\u4EFB\u52A1\u9009\u62E9\u5668"}},customFieldsLabel:"\u81EA\u5B9A\u4E49\u5B57\u6BB5",actions:{due:"\u8BBE\u7F6E\u5230\u671F\u65E5\u671F",scheduled:"\u8BBE\u7F6E\u5B89\u6392\u65E5\u671F",status:"\u8BBE\u7F6E\u72B6\u6001",priority:"\u8BBE\u7F6E\u4F18\u5148\u7EA7",recurrence:"\u8BBE\u7F6E\u91CD\u590D",reminders:"\u8BBE\u7F6E\u63D0\u9192"},buttons:{openNote:"\u6253\u5F00\u7B14\u8BB0",save:"\u4FDD\u5B58"},tooltips:{dueValue:"\u5230\u671F\uFF1A{value}",scheduledValue:"\u5B89\u6392\uFF1A{value}",statusValue:"\u72B6\u6001\uFF1A{value}",priorityValue:"\u4F18\u5148\u7EA7\uFF1A{value}",recurrenceValue:"\u91CD\u590D\uFF1A{value}",remindersSingle:"\u8BBE\u7F6E\u4E861\u4E2A\u63D0\u9192",remindersPlural:"\u8BBE\u7F6E\u4E86{count}\u4E2A\u63D0\u9192"},dateMenu:{dueTitle:"\u8BBE\u7F6E\u5230\u671F\u65E5\u671F",scheduledTitle:"\u8BBE\u7F6E\u5B89\u6392\u65E5\u671F"},userFields:{textPlaceholder:"\u8F93\u5165{field}...",numberPlaceholder:"0",datePlaceholder:"YYYY-MM-DD",listPlaceholder:"\u9879\u76EE1\uFF0C\u9879\u76EE2\uFF0C\u9879\u76EE3",pickDate:"\u9009\u62E9{field}\u65E5\u671F"},recurrence:{daily:"\u6BCF\u65E5",weekly:"\u6BCF\u5468",everyTwoWeeks:"\u6BCF2\u5468",weekdays:"\u5DE5\u4F5C\u65E5",weeklyOn:"\u6BCF\u5468{days}",monthly:"\u6BCF\u6708",everyThreeMonths:"\u6BCF3\u4E2A\u6708",monthlyOnOrdinal:"\u6BCF\u6708{ordinal}",monthlyByWeekday:"\u6BCF\u6708\uFF08\u6309\u5DE5\u4F5C\u65E5\uFF09",yearly:"\u6BCF\u5E74",yearlyOn:"\u6BCF\u5E74{month}{day}",custom:"\u81EA\u5B9A\u4E49",countSuffix:"{count}\u6B21",untilSuffix:"\u76F4\u5230{date}",ordinal:"{number}{suffix}"}},taskSelector:{title:"\u9009\u62E9\u4EFB\u52A1",placeholder:"\u8F93\u5165\u4EE5\u641C\u7D22\u4EFB\u52A1...",instructions:{navigate:"\u5BFC\u822A",select:"\u9009\u62E9",dismiss:"\u53D6\u6D88"},notices:{noteNotFound:'\u627E\u4E0D\u5230\u7B14\u8BB0 "{name}"'},dueDate:{overdue:"\u622A\u6B62\u65E5\u671F\uFF1A{date}\uFF08\u903E\u671F\uFF09",today:"\u622A\u6B62\u65E5\u671F\uFF1A\u4ECA\u5929"}},taskSelectorWithCreate:{title:"\u521B\u5EFA\u6216\u6253\u5F00\u4EFB\u52A1",placeholder:"\u641C\u7D22\u4EFB\u52A1\u6216\u8F93\u5165\u4EE5\u521B\u5EFA\u65B0\u4EFB\u52A1...",instructions:{create:"\u521B\u5EFA\u65B0\u4EFB\u52A1"},footer:{createLabel:" \u521B\u5EFA\uFF1A"},notices:{emptyQuery:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u63CF\u8FF0",invalidTitle:"\u65E0\u6CD5\u8BC6\u522B\u6709\u6548\u7684\u4EFB\u52A1\u6807\u9898"}},taskCreation:{title:"\u521B\u5EFA\u4EFB\u52A1",actions:{fillFromNaturalLanguage:"\u4ECE\u81EA\u7136\u8BED\u8A00\u586B\u5199\u8868\u5355",hideDetailedOptions:"\u9690\u85CF\u8BE6\u7EC6\u9009\u9879",showDetailedOptions:"\u663E\u793A\u8BE6\u7EC6\u9009\u9879"},nlPlaceholder:`\u660E\u5929\u4E0B\u53483\u70B9@\u5BB6\u4E70\u6742\u8D27 #\u5DEE\u4E8B
|
||
|
||
\u5728\u8FD9\u91CC\u6DFB\u52A0\u8BE6\u60C5...`,notices:{titleRequired:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u6807\u9898",success:'\u4EFB\u52A1"{title}"\u521B\u5EFA\u6210\u529F',successShortened:'\u4EFB\u52A1"{title}"\u521B\u5EFA\u6210\u529F\uFF08\u56E0\u957F\u5EA6\u800C\u7F29\u77ED\u6587\u4EF6\u540D\uFF09',failure:"\u521B\u5EFA\u4EFB\u52A1\u5931\u8D25\uFF1A{message}",blockingUnresolved:"\u65E0\u6CD5\u89E3\u6790\uFF1A{entries}"}},taskEdit:{title:"\u7F16\u8F91\u4EFB\u52A1",sections:{completions:"\u5B8C\u6210",taskInfo:"\u4EFB\u52A1\u4FE1\u606F"},metadata:{totalTrackedTime:"\u603B\u8DDF\u8E2A\u65F6\u95F4\uFF1A",created:"\u521B\u5EFA\uFF1A",modified:"\u4FEE\u6539\uFF1A",file:"\u6587\u4EF6\uFF1A"},buttons:{archive:"\u5F52\u6863",unarchive:"\u53D6\u6D88\u5F52\u6863"},notices:{titleRequired:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u6807\u9898",noChanges:"\u6CA1\u6709\u8981\u4FDD\u5B58\u7684\u66F4\u6539",updateSuccess:'\u4EFB\u52A1"{title}"\u66F4\u65B0\u6210\u529F',updateFailure:"\u66F4\u65B0\u4EFB\u52A1\u5931\u8D25\uFF1A{message}",dependenciesUpdateSuccess:"\u4F9D\u8D56\u5173\u7CFB\u5DF2\u66F4\u65B0",blockingUnresolved:"\u65E0\u6CD5\u89E3\u6790\uFF1A{entries}",fileMissing:"\u627E\u4E0D\u5230\u4EFB\u52A1\u6587\u4EF6\uFF1A{path}",openNoteFailure:"\u6253\u5F00\u4EFB\u52A1\u7B14\u8BB0\u5931\u8D25",archiveSuccess:"\u4EFB\u52A1{action}\u6210\u529F",archiveFailure:"\u5F52\u6863\u4EFB\u52A1\u5931\u8D25"},archiveAction:{archived:"\u5DF2\u5F52\u6863",unarchived:"\u5DF2\u53D6\u6D88\u5F52\u6863"}},storageLocation:{title:{migrate:"\u8FC1\u79FB\u756A\u8304\u949F\u6570\u636E\uFF1F",switch:"\u5207\u6362\u5230\u65E5\u8BB0\u5B58\u50A8\uFF1F"},message:{migrate:"\u8FD9\u5C06\u628A\u73B0\u6709\u7684\u756A\u8304\u949F\u4F1A\u8BDD\u6570\u636E\u8FC1\u79FB\u5230\u65E5\u8BB0\u524D\u7F6E\u6570\u636E\u3002\u6570\u636E\u5C06\u6309\u65E5\u671F\u5206\u7EC4\u5E76\u5B58\u50A8\u5728\u6BCF\u4E2A\u65E5\u8BB0\u4E2D\u3002",switch:"\u756A\u8304\u949F\u4F1A\u8BDD\u6570\u636E\u5C06\u5B58\u50A8\u5728\u65E5\u8BB0\u524D\u7F6E\u6570\u636E\u4E2D\uFF0C\u800C\u4E0D\u662F\u63D2\u4EF6\u6570\u636E\u6587\u4EF6\u4E2D\u3002"},whatThisMeans:"\u8FD9\u610F\u5473\u7740\uFF1A",bullets:{dailyNotesRequired:"\u65E5\u8BB0\u6838\u5FC3\u63D2\u4EF6\u5FC5\u987B\u4FDD\u6301\u542F\u7528",storedInNotes:"\u6570\u636E\u5C06\u5B58\u50A8\u5728\u60A8\u7684\u65E5\u8BB0\u524D\u7F6E\u6570\u636E\u4E2D",migrateData:"\u73B0\u6709\u63D2\u4EF6\u6570\u636E\u5C06\u8FC1\u79FB\u7136\u540E\u6E05\u9664",futureSessions:"\u672A\u6765\u7684\u4F1A\u8BDD\u5C06\u4FDD\u5B58\u5230\u65E5\u8BB0",dataLongevity:"\u8FD9\u63D0\u4F9B\u4E86\u4E0E\u60A8\u7684\u7B14\u8BB0\u66F4\u597D\u7684\u6570\u636E\u6301\u4E45\u6027"},finalNote:{migrate:"\u26A0\uFE0F \u5982\u679C\u9700\u8981\uFF0C\u8BF7\u786E\u4FDD\u60A8\u6709\u5907\u4EFD\u3002\u6B64\u66F4\u6539\u65E0\u6CD5\u81EA\u52A8\u64A4\u9500\u3002",switch:"\u60A8\u53EF\u4EE5\u968F\u65F6\u5728\u5C06\u6765\u5207\u6362\u56DE\u63D2\u4EF6\u5B58\u50A8\u3002"},buttons:{migrate:"\u8FC1\u79FB\u6570\u636E",switch:"\u5207\u6362\u5B58\u50A8"}},dueDate:{title:"\u8BBE\u7F6E\u5230\u671F\u65E5\u671F",taskLabel:"\u4EFB\u52A1\uFF1A{title}",sections:{dateTime:"\u5230\u671F\u65E5\u671F\u548C\u65F6\u95F4",quickOptions:"\u5FEB\u901F\u9009\u9879"},descriptions:{dateTime:"\u8BBE\u7F6E\u6B64\u4EFB\u52A1\u5E94\u4F55\u65F6\u5B8C\u6210"},inputs:{date:{ariaLabel:"\u4EFB\u52A1\u5230\u671F\u65E5\u671F",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"\u4EFB\u52A1\u5230\u671F\u65F6\u95F4\uFF08\u53EF\u9009\uFF09",placeholder:"HH:MM"}},quickOptions:{today:"\u4ECA\u5929",todayAriaLabel:"\u5C06\u5230\u671F\u65E5\u671F\u8BBE\u4E3A\u4ECA\u5929",tomorrow:"\u660E\u5929",tomorrowAriaLabel:"\u5C06\u5230\u671F\u65E5\u671F\u8BBE\u4E3A\u660E\u5929",nextWeek:"\u4E0B\u5468",nextWeekAriaLabel:"\u5C06\u5230\u671F\u65E5\u671F\u8BBE\u4E3A\u4E0B\u5468",now:"\u73B0\u5728",nowAriaLabel:"\u5C06\u5230\u671F\u65E5\u671F\u548C\u65F6\u95F4\u8BBE\u4E3A\u73B0\u5728",clear:"\u6E05\u9664",clearAriaLabel:"\u6E05\u9664\u5230\u671F\u65E5\u671F"},errors:{invalidDateTime:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u65F6\u95F4\u683C\u5F0F",updateFailed:"\u66F4\u65B0\u5230\u671F\u65E5\u671F\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002"}},scheduledDate:{title:"\u8BBE\u7F6E\u5B89\u6392\u65E5\u671F",taskLabel:"\u4EFB\u52A1\uFF1A{title}",sections:{dateTime:"\u5B89\u6392\u65E5\u671F\u548C\u65F6\u95F4",quickOptions:"\u5FEB\u901F\u9009\u9879"},descriptions:{dateTime:"\u8BBE\u7F6E\u60A8\u8BA1\u5212\u4F55\u65F6\u5904\u7406\u6B64\u4EFB\u52A1"},inputs:{date:{ariaLabel:"\u4EFB\u52A1\u5B89\u6392\u65E5\u671F",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"\u4EFB\u52A1\u5B89\u6392\u65F6\u95F4\uFF08\u53EF\u9009\uFF09",placeholder:"HH:MM"}},quickOptions:{today:"\u4ECA\u5929",todayAriaLabel:"\u5C06\u5B89\u6392\u65E5\u671F\u8BBE\u4E3A\u4ECA\u5929",tomorrow:"\u660E\u5929",tomorrowAriaLabel:"\u5C06\u5B89\u6392\u65E5\u671F\u8BBE\u4E3A\u660E\u5929",nextWeek:"\u4E0B\u5468",nextWeekAriaLabel:"\u5C06\u5B89\u6392\u65E5\u671F\u8BBE\u4E3A\u4E0B\u5468",now:"\u73B0\u5728",nowAriaLabel:"\u5C06\u5B89\u6392\u65E5\u671F\u548C\u65F6\u95F4\u8BBE\u4E3A\u73B0\u5728",clear:"\u6E05\u9664",clearAriaLabel:"\u6E05\u9664\u5B89\u6392\u65E5\u671F"},errors:{invalidDateTime:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u65E5\u671F\u548C\u65F6\u95F4\u683C\u5F0F",updateFailed:"\u66F4\u65B0\u5B89\u6392\u65E5\u671F\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002"}},timeEntryEditor:{title:"\u65F6\u95F4\u6761\u76EE - {taskTitle}",addEntry:"\u6DFB\u52A0\u65F6\u95F4\u6761\u76EE",noEntries:"\u6682\u65E0\u65F6\u95F4\u6761\u76EE",deleteEntry:"\u5220\u9664\u6761\u76EE",startTime:"\u5F00\u59CB\u65F6\u95F4",endTime:"\u7ED3\u675F\u65F6\u95F4\uFF08\u5982\u4ECD\u5728\u8FDB\u884C\u5219\u7559\u7A7A\uFF09",duration:"\u6301\u7EED\u65F6\u95F4\uFF08\u5206\u949F\uFF09",durationDesc:"\u8986\u76D6\u8BA1\u7B97\u7684\u6301\u7EED\u65F6\u95F4",durationPlaceholder:"\u8F93\u5165\u6301\u7EED\u65F6\u95F4\uFF08\u5206\u949F\uFF09",description:"\u63CF\u8FF0",descriptionPlaceholder:"\u4F60\u5728\u505A\u4EC0\u4E48\uFF1F",calculatedDuration:"\u8BA1\u7B97\u7ED3\u679C\uFF1A{minutes} \u5206\u949F",totalTime:"\u603B\u8BA1 {hours}\u5C0F\u65F6 {minutes}\u5206\u949F",totalMinutes:"\u603B\u8BA1 {minutes}\u5206\u949F",saved:"\u65F6\u95F4\u6761\u76EE\u5DF2\u4FDD\u5B58",saveFailed:"\u65E0\u6CD5\u4FDD\u5B58\u65F6\u95F4\u6761\u76EE",openFailed:"\u65E0\u6CD5\u6253\u5F00\u65F6\u95F4\u6761\u76EE\u7F16\u8F91\u5668",noTasksWithEntries:"\u6CA1\u6709\u4EFB\u52A1\u6709\u65F6\u95F4\u6761\u76EE\u53EF\u4F9B\u7F16\u8F91",validation:{missingStartTime:"\u9700\u8981\u5F00\u59CB\u65F6\u95F4",endBeforeStart:"\u7ED3\u675F\u65F6\u95F4\u5FC5\u987B\u5728\u5F00\u59CB\u65F6\u95F4\u4E4B\u540E"}},timeTracking:{noTasksAvailable:"\u6CA1\u6709\u53EF\u7528\u7684\u4EFB\u52A1\u8FDB\u884C\u65F6\u95F4\u8DDF\u8E2A",started:"\u5F00\u59CB\u8DDF\u8E2A\u65F6\u95F4\uFF1A{taskTitle}",startFailed:"\u65E0\u6CD5\u5F00\u59CB\u65F6\u95F4\u8DDF\u8E2A"},timeEntry:{mustHaveSpecificTime:"\u65F6\u95F4\u6761\u76EE\u5FC5\u987B\u6709\u5177\u4F53\u65F6\u95F4\u3002\u8BF7\u5728\u5468\u89C6\u56FE\u6216\u65E5\u89C6\u56FE\u4E2D\u9009\u62E9\u65F6\u95F4\u8303\u56F4\u3002",noTasksAvailable:"\u6CA1\u6709\u53EF\u7528\u7684\u4EFB\u52A1\u521B\u5EFA\u65F6\u95F4\u6761\u76EE",created:"\u5DF2\u4E3A {taskTitle} \u521B\u5EFA\u65F6\u95F4\u6761\u76EE\uFF08{duration} \u5206\u949F\uFF09",createFailed:"\u65E0\u6CD5\u521B\u5EFA\u65F6\u95F4\u6761\u76EE"}},contextMenus:{task:{status:"\u72B6\u6001",statusSelected:"\u2713 {label}",priority:"\u4F18\u5148\u7EA7",prioritySelected:"\u2713 {label}",dueDate:"\u5230\u671F\u65E5\u671F",scheduledDate:"\u5B89\u6392\u65E5\u671F",reminders:"\u63D0\u9192",remindBeforeDue:"\u5230\u671F\u524D\u63D0\u9192...",remindBeforeScheduled:"\u5B89\u6392\u524D\u63D0\u9192...",manageReminders:"\u7BA1\u7406\u6240\u6709\u63D0\u9192...",clearReminders:"\u6E05\u9664\u6240\u6709\u63D0\u9192",startTimeTracking:"\u5F00\u59CB\u65F6\u95F4\u8DDF\u8E2A",stopTimeTracking:"\u505C\u6B62\u65F6\u95F4\u8DDF\u8E2A",editTimeEntries:"\u7F16\u8F91\u65F6\u95F4\u6761\u76EE",archive:"\u5F52\u6863",unarchive:"\u53D6\u6D88\u5F52\u6863",openNote:"\u6253\u5F00\u7B14\u8BB0",copyTitle:"\u590D\u5236\u4EFB\u52A1\u6807\u9898",noteActions:"\u7B14\u8BB0\u64CD\u4F5C",rename:"\u91CD\u547D\u540D",renameTitle:"\u91CD\u547D\u540D\u6587\u4EF6",renamePlaceholder:"\u8F93\u5165\u65B0\u540D\u79F0",delete:"\u5220\u9664",deleteTitle:"\u5220\u9664\u6587\u4EF6",deleteMessage:'\u60A8\u786E\u5B9A\u8981\u5220\u9664"{name}"\u5417\uFF1F',deleteConfirm:"\u5220\u9664",copyPath:"\u590D\u5236\u8DEF\u5F84",copyUrl:"\u590D\u5236Obsidian URL",showInExplorer:"\u5728\u6587\u4EF6\u6D4F\u89C8\u5668\u4E2D\u663E\u793A",addToCalendar:"\u6DFB\u52A0\u5230\u65E5\u5386",calendar:{google:"Google\u65E5\u5386",outlook:"Outlook\u65E5\u5386",yahoo:"Yahoo\u65E5\u5386",downloadIcs:"\u4E0B\u8F7D.ics\u6587\u4EF6"},recurrence:"\u91CD\u590D",clearRecurrence:"\u6E05\u9664\u91CD\u590D",customRecurrence:"\u81EA\u5B9A\u4E49\u91CD\u590D...",createSubtask:"\u521B\u5EFA\u5B50\u4EFB\u52A1",dependencies:{title:"\u4F9D\u8D56\u5173\u7CFB",addBlockedBy:'\u6DFB\u52A0"\u88AB\u963B\u585E"\u2026',addBlockedByTitle:"\u6DFB\u52A0\u6B64\u4EFB\u52A1\u4F9D\u8D56\u7684\u4EFB\u52A1",addBlocking:'\u6DFB\u52A0"\u963B\u585E\u4E2D"\u2026',addBlockingTitle:"\u6DFB\u52A0\u6B64\u4EFB\u52A1\u963B\u585E\u7684\u4EFB\u52A1",removeBlockedBy:'\u5220\u9664"\u88AB\u963B\u585E"\u2026',removeBlocking:'\u5220\u9664"\u963B\u585E\u4E2D"\u2026',inputPlaceholder:"[[\u4EFB\u52A1\u7B14\u8BB0]]",notices:{noEntries:"\u8BF7\u81F3\u5C11\u8F93\u5165\u4E00\u4E2A\u4EFB\u52A1",blockedByAdded:"\u5DF2\u6DFB\u52A0 {count} \u4E2A\u4F9D\u8D56\u5173\u7CFB",blockedByRemoved:"\u5DF2\u5220\u9664\u4F9D\u8D56\u5173\u7CFB",blockingAdded:"\u5DF2\u6DFB\u52A0 {count} \u4E2A\u88AB\u4F9D\u8D56\u7684\u4EFB\u52A1",blockingRemoved:"\u5DF2\u5220\u9664\u88AB\u4F9D\u8D56\u7684\u4EFB\u52A1",unresolved:"\u65E0\u6CD5\u89E3\u6790\uFF1A{entries}",noEligibleTasks:"\u6CA1\u6709\u5339\u914D\u7684\u53EF\u7528\u4EFB\u52A1",updateFailed:"\u65E0\u6CD5\u66F4\u65B0\u4F9D\u8D56\u5173\u7CFB"}},organization:{title:"\u7EC4\u7EC7",projects:"\u9879\u76EE",addToProject:"\u6DFB\u52A0\u5230\u9879\u76EE\u2026",subtasks:"\u5B50\u4EFB\u52A1",addSubtasks:"\u6DFB\u52A0\u5B50\u4EFB\u52A1\u2026",notices:{alreadyInProject:"\u4EFB\u52A1\u5DF2\u5728\u6B64\u9879\u76EE\u4E2D",alreadySubtask:"\u4EFB\u52A1\u5DF2\u662F\u6B64\u4EFB\u52A1\u7684\u5B50\u4EFB\u52A1",addedToProject:"\u5DF2\u6DFB\u52A0\u5230\u9879\u76EE\uFF1A{project}",addedAsSubtask:"\u5DF2\u5C06 {subtask} \u6DFB\u52A0\u4E3A {parent} \u7684\u5B50\u4EFB\u52A1",addToProjectFailed:"\u65E0\u6CD5\u5C06\u4EFB\u52A1\u6DFB\u52A0\u5230\u9879\u76EE",addAsSubtaskFailed:"\u65E0\u6CD5\u5C06\u4EFB\u52A1\u6DFB\u52A0\u4E3A\u5B50\u4EFB\u52A1",projectSelectFailed:"\u65E0\u6CD5\u6253\u5F00\u9879\u76EE\u9009\u62E9\u5668",subtaskSelectFailed:"\u65E0\u6CD5\u6253\u5F00\u5B50\u4EFB\u52A1\u9009\u62E9\u5668",noEligibleSubtasks:"\u6CA1\u6709\u53EF\u7528\u7684\u4EFB\u52A1\u53EF\u6307\u5B9A\u4E3A\u5B50\u4EFB\u52A1",currentTaskNotFound:"\u627E\u4E0D\u5230\u5F53\u524D\u4EFB\u52A1\u6587\u4EF6"}},subtasks:{loading:"\u6B63\u5728\u52A0\u8F7D\u5B50\u4EFB\u52A1...",noSubtasks:"\u672A\u627E\u5230\u5B50\u4EFB\u52A1",loadFailed:"\u52A0\u8F7D\u5B50\u4EFB\u52A1\u5931\u8D25"},markComplete:"\u6807\u8BB0\u6B64\u65E5\u671F\u5B8C\u6210",markIncomplete:"\u6807\u8BB0\u6B64\u65E5\u671F\u672A\u5B8C\u6210",skipInstance:"\u8DF3\u8FC7\u5B9E\u4F8B",unskipInstance:"\u53D6\u6D88\u8DF3\u8FC7\u5B9E\u4F8B",quickReminders:{atTime:"\u5728\u4E8B\u4EF6\u65F6\u95F4",fiveMinutes:"\u63D0\u524D5\u5206\u949F",fifteenMinutes:"\u63D0\u524D15\u5206\u949F",oneHour:"\u63D0\u524D1\u5C0F\u65F6",oneDay:"\u63D0\u524D1\u5929"},notices:{toggleCompletionFailure:"\u5207\u6362\u91CD\u590D\u4EFB\u52A1\u5B8C\u6210\u5931\u8D25\uFF1A{message}",toggleSkipFailure:"\u5207\u6362\u91CD\u590D\u4EFB\u52A1\u8DF3\u8FC7\u5931\u8D25\uFF1A{message}",updateDueDateFailure:"\u66F4\u65B0\u4EFB\u52A1\u5230\u671F\u65E5\u671F\u5931\u8D25\uFF1A{message}",updateScheduledFailure:"\u66F4\u65B0\u4EFB\u52A1\u5B89\u6392\u65E5\u671F\u5931\u8D25\uFF1A{message}",updateRemindersFailure:"\u66F4\u65B0\u63D0\u9192\u5931\u8D25",clearRemindersFailure:"\u6E05\u9664\u63D0\u9192\u5931\u8D25",addReminderFailure:"\u6DFB\u52A0\u63D0\u9192\u5931\u8D25",archiveFailure:"\u5207\u6362\u4EFB\u52A1\u5F52\u6863\u5931\u8D25\uFF1A{message}",copyTitleSuccess:"\u4EFB\u52A1\u6807\u9898\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyFailure:"\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",renameSuccess:'\u91CD\u547D\u540D\u4E3A"{name}"',renameFailure:"\u91CD\u547D\u540D\u6587\u4EF6\u5931\u8D25",copyPathSuccess:"\u6587\u4EF6\u8DEF\u5F84\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyUrlSuccess:"Obsidian URL\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",updateRecurrenceFailure:"\u66F4\u65B0\u4EFB\u52A1\u91CD\u590D\u5931\u8D25\uFF1A{message}"}},ics:{showDetails:"\u663E\u793A\u8BE6\u60C5",createTask:"\u4ECE\u4E8B\u4EF6\u521B\u5EFA\u4EFB\u52A1",createNote:"\u4ECE\u4E8B\u4EF6\u521B\u5EFA\u7B14\u8BB0",linkNote:"\u94FE\u63A5\u73B0\u6709\u7B14\u8BB0",copyTitle:"\u590D\u5236\u6807\u9898",copyLocation:"\u590D\u5236\u4F4D\u7F6E",copyUrl:"\u590D\u5236URL",copyMarkdown:"\u590D\u5236\u4E3Amarkdown",subscriptionUnknown:"\u672A\u77E5\u65E5\u5386",notices:{copyTitleSuccess:"\u4E8B\u4EF6\u6807\u9898\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyLocationSuccess:"\u4F4D\u7F6E\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyUrlSuccess:"\u4E8B\u4EF6URL\u5DF2\u590D\u5236\u5230\u526A\u8D34\u677F",copyMarkdownSuccess:"\u4E8B\u4EF6\u8BE6\u60C5\u5DF2\u590D\u5236\u4E3Amarkdown",copyFailure:"\u590D\u5236\u5230\u526A\u8D34\u677F\u5931\u8D25",taskCreated:"\u4EFB\u52A1\u5DF2\u521B\u5EFA\uFF1A{title}",taskCreateFailure:"\u4ECE\u4E8B\u4EF6\u521B\u5EFA\u4EFB\u52A1\u5931\u8D25",noteCreated:"\u7B14\u8BB0\u521B\u5EFA\u6210\u529F",creationFailure:"\u6253\u5F00\u521B\u5EFA\u6A21\u6001\u6846\u5931\u8D25",linkSuccess:'\u5DF2\u5C06\u7B14\u8BB0"{name}"\u94FE\u63A5\u5230\u4E8B\u4EF6',linkFailure:"\u94FE\u63A5\u7B14\u8BB0\u5931\u8D25",linkSelectionFailure:"\u6253\u5F00\u7B14\u8BB0\u9009\u62E9\u5931\u8D25"},markdown:{titleFallback:"\u65E0\u6807\u9898\u4E8B\u4EF6",calendar:"**\u65E5\u5386\uFF1A** {value}",date:"**\u65E5\u671F\u548C\u65F6\u95F4\uFF1A** {value}",location:"**\u4F4D\u7F6E\uFF1A** {value}",descriptionHeading:"### \u63CF\u8FF0",url:"**URL\uFF1A** {value}",at:" \u5728{time}"}},date:{increment:{plusOneDay:"+1\u5929",minusOneDay:"-1\u5929",plusOneWeek:"+1\u5468",minusOneWeek:"-1\u5468"},basic:{today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",thisWeekend:"\u672C\u5468\u672B",nextWeek:"\u4E0B\u5468",nextMonth:"\u4E0B\u4E2A\u6708"},weekdaysLabel:"\u5DE5\u4F5C\u65E5",selected:"\u2713 {label}",pickDateTime:"\u9009\u62E9\u65E5\u671F\u548C\u65F6\u95F4...",clearDate:"\u6E05\u9664\u65E5\u671F",modal:{title:"\u8BBE\u7F6E\u65E5\u671F\u548C\u65F6\u95F4",dateLabel:"\u65E5\u671F",timeLabel:"\u65F6\u95F4\uFF08\u53EF\u9009\uFF09",select:"\u9009\u62E9"}}},services:{pomodoro:{notices:{alreadyRunning:"\u756A\u8304\u949F\u5DF2\u7ECF\u5728\u8FD0\u884C",resumeCurrentSession:"\u6062\u590D\u5F53\u524D\u4F1A\u8BDD\u800C\u4E0D\u662F\u5F00\u59CB\u65B0\u7684",timerAlreadyRunning:"\u8BA1\u65F6\u5668\u5DF2\u7ECF\u5728\u8FD0\u884C",resumeSessionInstead:"\u6062\u590D\u5F53\u524D\u4F1A\u8BDD\u800C\u4E0D\u662F\u5F00\u59CB\u65B0\u7684",shortBreakStarted:"\u77ED\u4F11\u606F\u5DF2\u5F00\u59CB",longBreakStarted:"\u957F\u4F11\u606F\u5DF2\u5F00\u59CB",paused:"\u756A\u8304\u949F\u5DF2\u6682\u505C",resumed:"\u756A\u8304\u949F\u5DF2\u6062\u590D",stoppedAndReset:"\u756A\u8304\u949F\u5DF2\u505C\u6B62\u5E76\u91CD\u7F6E",migrationSuccess:"\u6210\u529F\u5C06{count}\u4E2A\u756A\u8304\u949F\u4F1A\u8BDD\u8FC1\u79FB\u5230\u65E5\u8BB0\u3002",migrationFailure:"\u8FC1\u79FB\u756A\u8304\u949F\u6570\u636E\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u6216\u68C0\u67E5\u63A7\u5236\u53F0\u83B7\u53D6\u8BE6\u7EC6\u4FE1\u606F\u3002"}},icsSubscription:{notices:{calendarNotFound:'\u627E\u4E0D\u5230\u65E5\u5386"{name}"\uFF08404\uFF09\u3002\u8BF7\u68C0\u67E5ICS URL\u662F\u5426\u6B63\u786E\u4E14\u65E5\u5386\u53EF\u516C\u5F00\u8BBF\u95EE\u3002',calendarAccessDenied:'\u65E5\u5386"{name}"\u8BBF\u95EE\u88AB\u62D2\u7EDD\uFF08500\uFF09\u3002\u8FD9\u53EF\u80FD\u662F\u7531\u4E8EMicrosoft Outlook\u670D\u52A1\u5668\u9650\u5236\u3002\u5C1D\u8BD5\u4ECE\u65E5\u5386\u8BBE\u7F6E\u91CD\u65B0\u751F\u6210ICS URL\u3002',fetchRemoteFailed:'\u83B7\u53D6\u8FDC\u7A0B\u65E5\u5386"{name}"\u5931\u8D25\uFF1A{error}',readLocalFailed:'\u8BFB\u53D6\u672C\u5730\u65E5\u5386"{name}"\u5931\u8D25\uFF1A{error}'}},calendarExport:{notices:{generateLinkFailed:"\u751F\u6210\u65E5\u5386\u94FE\u63A5\u5931\u8D25",noTasksToExport:"\u6CA1\u6709\u627E\u5230\u8981\u5BFC\u51FA\u7684\u4EFB\u52A1",downloadSuccess:"\u4E0B\u8F7D\u4E86{filename}\uFF0C\u5305\u542B{count}\u4E2A\u4EFB\u52A1{plural}",downloadFailed:"\u4E0B\u8F7D\u65E5\u5386\u6587\u4EF6\u5931\u8D25",singleDownloadSuccess:"\u4E0B\u8F7D\u4E86{filename}"}},filter:{groupLabels:{noProject:"\u65E0\u9879\u76EE",noTags:"\u65E0\u6807\u7B7E",invalidDate:"\u65E0\u6548\u65E5\u671F",due:{overdue:"\u903E\u671F",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",nextSevenDays:"\u63A5\u4E0B\u6765\u4E03\u5929",later:"\u4EE5\u540E",none:"\u65E0\u5230\u671F\u65E5\u671F"},scheduled:{past:"\u8FC7\u53BB\u5B89\u6392",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",nextSevenDays:"\u63A5\u4E0B\u6765\u4E03\u5929",later:"\u4EE5\u540E",none:"\u65E0\u5B89\u6392\u65E5\u671F"}},errors:{noDatesProvided:"\u672A\u63D0\u4F9B\u65E5\u671F"},folders:{root:"\uFF08\u6839\u76EE\u5F55\uFF09"}},instantTaskConvert:{notices:{noCheckboxTasks:"\u5728\u5F53\u524D\u7B14\u8BB0\u4E2D\u672A\u627E\u5230\u590D\u9009\u6846\u4EFB\u52A1\u3002",convertingTasks:"\u6B63\u5728\u8F6C\u6362{count}\u4E2A\u4EFB\u52A1{plural}...",conversionSuccess:"\u2705 \u6210\u529F\u5C06{count}\u4E2A\u4EFB\u52A1{plural}\u8F6C\u6362\u4E3ATaskNotes\uFF01",partialConversion:"\u8F6C\u6362\u4E86{successCount}\u4E2A\u4EFB\u52A1{successPlural}\u3002{failureCount}\u4E2A\u5931\u8D25\u3002",batchConversionFailed:"\u6279\u91CF\u8F6C\u6362\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002",invalidParameters:"\u65E0\u6548\u7684\u8F93\u5165\u53C2\u6570\u3002",emptyLine:"\u5F53\u524D\u884C\u4E3A\u7A7A\u6216\u4E0D\u5305\u542B\u6709\u6548\u5185\u5BB9\u3002",parseError:"\u89E3\u6790\u4EFB\u52A1\u9519\u8BEF\uFF1A{error}",invalidTaskData:"\u65E0\u6548\u7684\u4EFB\u52A1\u6570\u636E\u3002",replaceLineFailed:"\u66FF\u6362\u4EFB\u52A1\u884C\u5931\u8D25\u3002",conversionComplete:"\u4EFB\u52A1\u5DF2\u8F6C\u6362\uFF1A{title}",conversionCompleteShortened:'\u4EFB\u52A1\u5DF2\u8F6C\u6362\uFF1A"{title}"\uFF08\u56E0\u957F\u5EA6\u800C\u7F29\u77ED\u6587\u4EF6\u540D\uFF09',fileExists:"\u6B64\u540D\u79F0\u7684\u6587\u4EF6\u5DF2\u5B58\u5728\u3002\u8BF7\u91CD\u8BD5\u6216\u91CD\u547D\u540D\u4EFB\u52A1\u3002",conversionFailed:"\u8F6C\u6362\u4EFB\u52A1\u5931\u8D25\u3002\u8BF7\u91CD\u8BD5\u3002"}},icsNote:{notices:{templateNotFound:"\u627E\u4E0D\u5230\u6A21\u677F\uFF1A{path}",templateProcessError:"\u5904\u7406\u6A21\u677F\u9519\u8BEF\uFF1A{template}",linkedToEvent:"\u5DF2\u5C06\u7B14\u8BB0\u94FE\u63A5\u5230ICS\u4E8B\u4EF6\uFF1A{title}"}},task:{notices:{templateNotFound:"\u627E\u4E0D\u5230\u4EFB\u52A1\u6B63\u6587\u6A21\u677F\uFF1A{path}",templateReadError:"\u8BFB\u53D6\u4EFB\u52A1\u6B63\u6587\u6A21\u677F\u9519\u8BEF\uFF1A{template}",moveTaskFailed:"\u79FB\u52A8{operation}\u4EFB\u52A1\u5931\u8D25\uFF1A{error}"}},autoExport:{notices:{exportFailed:"TaskNotes\u81EA\u52A8\u5BFC\u51FA\u5931\u8D25\uFF1A{error}"}}},ui:{icsCard:{untitledEvent:"\u65E0\u6807\u9898\u4E8B\u4EF6",allDay:"\u5168\u5929",calendarEvent:"\u65E5\u5386\u4E8B\u4EF6",calendarFallback:"\u65E5\u5386"},noteCard:{createdLabel:"\u521B\u5EFA\uFF1A",dailyBadge:"\u65E5\u8BB0",dailyTooltip:"\u65E5\u8BB0"},taskCard:{blockedBadge:"\u5DF2\u963B\u585E",blockedBadgeTooltip:"\u6B64\u4EFB\u52A1\u6B63\u5728\u7B49\u5F85\u5176\u4ED6\u4EFB\u52A1",blockingBadge:"\u963B\u585E\u4E2D",blockingBadgeTooltip:"\u6B64\u4EFB\u52A1\u6B63\u5728\u963B\u585E\u5176\u4ED6\u4EFB\u52A1",blockingToggle:"\u963B\u585E {count} \u4E2A\u4EFB\u52A1",loadingDependencies:"\u6B63\u5728\u52A0\u8F7D\u4F9D\u8D56\u2026",blockingEmpty:"\u6CA1\u6709\u4F9D\u8D56\u7684\u4EFB\u52A1",blockingLoadError:"\u65E0\u6CD5\u52A0\u8F7D\u4F9D\u8D56"},propertyEventCard:{unknownFile:"\u672A\u77E5\u6587\u4EF6"},filterHeading:{allViewName:"\u5168\u90E8"},filterBar:{saveView:"\u4FDD\u5B58\u89C6\u56FE",saveViewNamePlaceholder:"\u8F93\u5165\u89C6\u56FE\u540D\u79F0...",saveButton:"\u4FDD\u5B58",views:"\u89C6\u56FE",savedFilterViews:"\u5DF2\u4FDD\u5B58\u7684\u8FC7\u6EE4\u89C6\u56FE",filters:"\u8FC7\u6EE4\u5668",properties:"\u5C5E\u6027",sort:"\u6392\u5E8F",newTask:"\u65B0\u5EFA",expandAllGroups:"\u5C55\u5F00\u6240\u6709\u5206\u7EC4",collapseAllGroups:"\u6298\u53E0\u6240\u6709\u5206\u7EC4",searchTasksPlaceholder:"\u641C\u7D22\u4EFB\u52A1...",searchTasksTooltip:"\u641C\u7D22\u4EFB\u52A1\u6807\u9898",filterUnavailable:"\u8FC7\u6EE4\u680F\u6682\u65F6\u4E0D\u53EF\u7528",toggleFilter:"\u5207\u6362\u8FC7\u6EE4\u5668",activeFiltersTooltip:"\u6D3B\u52A8\u8FC7\u6EE4\u5668 \u2013 \u70B9\u51FB\u4FEE\u6539\uFF0C\u53F3\u952E\u6E05\u9664",configureVisibleProperties:"\u914D\u7F6E\u53EF\u89C1\u5C5E\u6027",sortAndGroupOptions:"\u6392\u5E8F\u548C\u5206\u7EC4\u9009\u9879",sortMenuHeader:"\u6392\u5E8F",orderMenuHeader:"\u987A\u5E8F",groupMenuHeader:"\u5206\u7EC4",createNewTask:"\u521B\u5EFA\u65B0\u4EFB\u52A1",filter:"\u8FC7\u6EE4\u5668",displayOrganization:"\u663E\u793A\u548C\u7EC4\u7EC7",viewOptions:"\u89C6\u56FE\u9009\u9879",addFilter:"\u6DFB\u52A0\u8FC7\u6EE4\u5668",addFilterGroup:"\u6DFB\u52A0\u8FC7\u6EE4\u7EC4",addFilterTooltip:"\u6DFB\u52A0\u65B0\u7684\u8FC7\u6EE4\u6761\u4EF6",addFilterGroupTooltip:"\u6DFB\u52A0\u5D4C\u5957\u8FC7\u6EE4\u7EC4",clearAllFilters:"\u6E05\u9664\u6240\u6709\u8FC7\u6EE4\u5668\u548C\u7EC4",saveCurrentFilter:"\u5C06\u5F53\u524D\u8FC7\u6EE4\u5668\u4FDD\u5B58\u4E3A\u89C6\u56FE",closeFilterModal:"\u5173\u95ED\u8FC7\u6EE4\u6A21\u6001\u6846",deleteFilterGroup:"\u5220\u9664\u8FC7\u6EE4\u7EC4",deleteCondition:"\u5220\u9664\u6761\u4EF6",all:"\u5168\u90E8",any:"\u4EFB\u4F55",followingAreTrue:"\u4EE5\u4E0B\u4E3A\u771F\uFF1A",where:"\u5176\u4E2D",selectProperty:"\u9009\u62E9...",chooseProperty:"\u9009\u62E9\u8981\u8FC7\u6EE4\u7684\u4EFB\u52A1\u5C5E\u6027",chooseOperator:"\u9009\u62E9\u5982\u4F55\u6BD4\u8F83\u5C5E\u6027\u503C",enterValue:"\u8F93\u5165\u8981\u8FC7\u6EE4\u7684\u503C",selectValue:"\u9009\u62E9\u8981\u8FC7\u6EE4\u7684{property}",sortBy:"\u6392\u5E8F\u4F9D\u636E\uFF1A",toggleSortDirection:"\u5207\u6362\u6392\u5E8F\u65B9\u5411",chooseSortMethod:"\u9009\u62E9\u5982\u4F55\u6392\u5E8F\u4EFB\u52A1",groupBy:"\u5206\u7EC4\u4F9D\u636E\uFF1A",chooseGroupMethod:"\u6309\u5171\u540C\u5C5E\u6027\u5206\u7EC4\u4EFB\u52A1",toggleViewOption:"\u5207\u6362{option}",expandCollapseFilters:"\u70B9\u51FB\u5C55\u5F00/\u6298\u53E0\u8FC7\u6EE4\u6761\u4EF6",expandCollapseSort:"\u70B9\u51FB\u5C55\u5F00/\u6298\u53E0\u6392\u5E8F\u548C\u5206\u7EC4\u9009\u9879",expandCollapseViewOptions:"\u70B9\u51FB\u5C55\u5F00/\u6298\u53E0\u89C6\u56FE\u7279\u5B9A\u9009\u9879",naturalLanguageDates:"\u81EA\u7136\u8BED\u8A00\u65E5\u671F",naturalLanguageExamples:"\u663E\u793A\u81EA\u7136\u8BED\u8A00\u65E5\u671F\u793A\u4F8B",enterNumericValue:"\u8F93\u5165\u8981\u8FC7\u6EE4\u7684\u6570\u503C",enterDateValue:"\u4F7F\u7528\u81EA\u7136\u8BED\u8A00\u6216ISO\u683C\u5F0F\u8F93\u5165\u65E5\u671F",pickDateTime:"\u9009\u62E9\u65E5\u671F\u548C\u65F6\u95F4",noSavedViews:"\u6CA1\u6709\u4FDD\u5B58\u7684\u89C6\u56FE",savedViews:"\u4FDD\u5B58\u7684\u89C6\u56FE",yourSavedFilters:"\u60A8\u4FDD\u5B58\u7684\u8FC7\u6EE4\u914D\u7F6E",dragToReorder:"\u62D6\u62FD\u91CD\u65B0\u6392\u5E8F\u89C6\u56FE",loadSavedView:"\u52A0\u8F7D\u4FDD\u5B58\u7684\u89C6\u56FE\uFF1A{name}",deleteView:"\u5220\u9664\u89C6\u56FE",deleteViewTitle:"\u5220\u9664\u89C6\u56FE",deleteViewMessage:'\u60A8\u786E\u5B9A\u8981\u5220\u9664\u89C6\u56FE"{name}"\u5417\uFF1F',manageAllReminders:"\u7BA1\u7406\u6240\u6709\u63D0\u9192...",clearAllReminders:"\u6E05\u9664\u6240\u6709\u63D0\u9192",customRecurrence:"\u81EA\u5B9A\u4E49\u91CD\u590D...",clearRecurrence:"\u6E05\u9664\u91CD\u590D",sortOptions:{dueDate:"\u5230\u671F\u65E5\u671F",scheduledDate:"\u5B89\u6392\u65E5\u671F",priority:"\u4F18\u5148\u7EA7",status:"\u72B6\u6001",title:"\u6807\u9898",createdDate:"\u521B\u5EFA\u65E5\u671F",tags:"\u6807\u7B7E",ascending:"\u5347\u5E8F",descending:"\u964D\u5E8F"},group:{none:"\u65E0",status:"\u72B6\u6001",priority:"\u4F18\u5148\u7EA7",context:"\u4E0A\u4E0B\u6587",project:"\u9879\u76EE",dueDate:"\u5230\u671F\u65E5\u671F",scheduledDate:"\u5B89\u6392\u65E5\u671F",tags:"\u6807\u7B7E",completedDate:"\u5B8C\u6210\u65E5\u671F"},subgroupLabel:"\u5B50\u7EC4",notices:{propertiesMenuFailed:"\u663E\u793A\u5C5E\u6027\u83DC\u5355\u5931\u8D25"}}},components:{dateContextMenu:{weekdays:"\u5DE5\u4F5C\u65E5",clearDate:"\u6E05\u9664\u65E5\u671F",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",thisWeekend:"\u8FD9\u4E2A\u5468\u672B",nextWeek:"\u4E0B\u5468",nextMonth:"\u4E0B\u4E2A\u6708",setDateTime:"\u8BBE\u7F6E\u65E5\u671F\u548C\u65F6\u95F4",dateLabel:"\u65E5\u671F",timeLabel:"\u65F6\u95F4\uFF08\u53EF\u9009\uFF09"},subgroupMenuBuilder:{none:"\u65E0",status:"\u72B6\u6001",priority:"\u4F18\u5148\u7EA7",context:"\u4E0A\u4E0B\u6587",project:"\u9879\u76EE",dueDate:"\u622A\u6B62\u65E5\u671F",scheduledDate:"\u8BA1\u5212\u65E5\u671F",tags:"\u6807\u7B7E",completedDate:"\u5B8C\u6210\u65E5\u671F",subgroup:"\u5B50\u7EC4"},propertyVisibilityDropdown:{coreProperties:"\u6838\u5FC3\u5C5E\u6027",organization:"\u7EC4\u7EC7",customProperties:"\u81EA\u5B9A\u4E49\u5C5E\u6027",failed:"\u663E\u793A\u5C5E\u6027\u83DC\u5355\u5931\u8D25",properties:{statusDot:"\u72B6\u6001\u70B9",priorityDot:"\u4F18\u5148\u7EA7\u70B9",dueDate:"\u5230\u671F\u65E5\u671F",scheduledDate:"\u5B89\u6392\u65E5\u671F",timeEstimate:"\u65F6\u95F4\u4F30\u8BA1",totalTrackedTime:"\u603B\u8DDF\u8E2A\u65F6\u95F4",recurrence:"\u91CD\u590D",completedDate:"\u5B8C\u6210\u65E5\u671F",createdDate:"\u521B\u5EFA\u65E5\u671F",modifiedDate:"\u4FEE\u6539\u65E5\u671F",projects:"\u9879\u76EE",contexts:"\u4E0A\u4E0B\u6587",tags:"\u6807\u7B7E",blocked:"\u5DF2\u963B\u585E",blocking:"\u963B\u585E\u4E2D"}},reminderContextMenu:{remindBeforeDue:"\u5230\u671F\u524D\u63D0\u9192...",remindBeforeScheduled:"\u5B89\u6392\u524D\u63D0\u9192...",manageAllReminders:"\u7BA1\u7406\u6240\u6709\u63D0\u9192...",clearAllReminders:"\u6E05\u9664\u6240\u6709\u63D0\u9192",quickReminders:{atTime:"\u5728\u4E8B\u4EF6\u65F6\u95F4",fiveMinutesBefore:"\u63D0\u524D5\u5206\u949F",fifteenMinutesBefore:"\u63D0\u524D15\u5206\u949F",oneHourBefore:"\u63D0\u524D1\u5C0F\u65F6",oneDayBefore:"\u63D0\u524D1\u5929"}},recurrenceContextMenu:{daily:"\u6BCF\u65E5",weeklyOn:"\u6BCF\u5468{day}",everyTwoWeeksOn:"\u6BCF2\u5468{day}",monthlyOnThe:"\u6BCF\u6708{ordinal}",everyThreeMonthsOnThe:"\u6BCF3\u4E2A\u6708{ordinal}",yearlyOn:"\u6BCF\u5E74{month}{ordinal}",weekdaysOnly:"\u4EC5\u5DE5\u4F5C\u65E5",dailyAfterCompletion:"\u6BCF\u65E5\uFF08\u5B8C\u6210\u540E\uFF09",every3DaysAfterCompletion:"\u6BCF3\u5929\uFF08\u5B8C\u6210\u540E\uFF09",weeklyAfterCompletion:"\u6BCF\u5468\uFF08\u5B8C\u6210\u540E\uFF09",monthlyAfterCompletion:"\u6BCF\u6708\uFF08\u5B8C\u6210\u540E\uFF09",customRecurrence:"\u81EA\u5B9A\u4E49\u91CD\u590D...",clearRecurrence:"\u6E05\u9664\u91CD\u590D",customRecurrenceModal:{title:"\u81EA\u5B9A\u4E49\u91CD\u590D",startDate:"\u5F00\u59CB\u65E5\u671F",startDateDesc:"\u91CD\u590D\u6A21\u5F0F\u5F00\u59CB\u7684\u65E5\u671F",startTime:"\u5F00\u59CB\u65F6\u95F4",startTimeDesc:"\u91CD\u590D\u5B9E\u4F8B\u5E94\u51FA\u73B0\u7684\u65F6\u95F4\uFF08\u53EF\u9009\uFF09",recurFrom:"\u91CD\u590D\u8D77\u70B9",recurFromDesc:"\u4E0B\u6B21\u91CD\u590D\u5E94\u4F55\u65F6\u8BA1\u7B97\uFF1F",scheduledDate:"\u8BA1\u5212\u65E5\u671F",completionDate:"\u5B8C\u6210\u65E5\u671F",frequency:"\u9891\u7387",interval:"\u95F4\u9694",intervalDesc:"\u6BCFX\u5929/\u5468/\u6708/\u5E74",daysOfWeek:"\u4E00\u5468\u4E2D\u7684\u5929",daysOfWeekDesc:"\u9009\u62E9\u7279\u5B9A\u5929\uFF08\u7528\u4E8E\u6BCF\u5468\u91CD\u590D\uFF09",monthlyRecurrence:"\u6BCF\u6708\u91CD\u590D",monthlyRecurrenceDesc:"\u9009\u62E9\u5982\u4F55\u6BCF\u6708\u91CD\u590D",yearlyRecurrence:"\u6BCF\u5E74\u91CD\u590D",yearlyRecurrenceDesc:"\u9009\u62E9\u5982\u4F55\u6BCF\u5E74\u91CD\u590D",endCondition:"\u7ED3\u675F\u6761\u4EF6",endConditionDesc:"\u9009\u62E9\u91CD\u590D\u4F55\u65F6\u7ED3\u675F",neverEnds:"\u6C38\u4E0D\u7ED3\u675F",endAfterOccurrences:"{count}\u6B21\u540E\u7ED3\u675F",endOnDate:"\u5728{date}\u7ED3\u675F",onDayOfMonth:"\u6BCF\u6708{day}\u65E5",onTheWeekOfMonth:"\u6BCF\u6708\u7B2C{week}\u4E2A{day}",onDateOfYear:"\u6BCF\u5E74{month}{day}",onTheWeekOfYear:"\u6BCF\u5E74{month}\u7B2C{week}\u4E2A{day}",frequencies:{daily:"\u6BCF\u65E5",weekly:"\u6BCF\u5468",monthly:"\u6BCF\u6708",yearly:"\u6BCF\u5E74"},weekPositions:{first:"\u7B2C\u4E00",second:"\u7B2C\u4E8C",third:"\u7B2C\u4E09",fourth:"\u7B2C\u56DB",last:"\u6700\u540E"},weekdays:{monday:"\u661F\u671F\u4E00",tuesday:"\u661F\u671F\u4E8C",wednesday:"\u661F\u671F\u4E09",thursday:"\u661F\u671F\u56DB",friday:"\u661F\u671F\u4E94",saturday:"\u661F\u671F\u516D",sunday:"\u661F\u671F\u65E5"},weekdaysShort:{mon:"\u5468\u4E00",tue:"\u5468\u4E8C",wed:"\u5468\u4E09",thu:"\u5468\u56DB",fri:"\u5468\u4E94",sat:"\u5468\u516D",sun:"\u5468\u65E5"},cancel:"\u53D6\u6D88",save:"\u4FDD\u5B58"}}}};var UG={common:{appName:"TaskNotes",new:"Neu",cancel:"Abbrechen",confirm:"Best\xE4tigen",close:"Schlie\xDFen",save:"Speichern",language:"Sprache",systemDefault:"Systemstandard",loading:"L\xE4dt...",languages:{en:"Englisch",fr:"Franz\xF6sisch",ru:"Russisch",zh:"Chinesisch",de:"Deutsch",es:"Spanisch",ja:"Japanisch",pt:"Portugiesisch (Brasilien)"},weekdays:{sunday:"Sonntag",monday:"Montag",tuesday:"Dienstag",wednesday:"Mittwoch",thursday:"Donnerstag",friday:"Freitag",saturday:"Samstag"},months:{january:"Januar",february:"Februar",march:"M\xE4rz",april:"April",may:"Mai",june:"Juni",july:"Juli",august:"August",september:"September",october:"Oktober",november:"November",december:"Dezember"}},views:{agenda:{title:"Agenda",today:"Heute",overdue:"\xDCberf\xE4llig",refreshCalendars:"Kalender aktualisieren",actions:{previousPeriod:"Vorherige Periode",nextPeriod:"N\xE4chste Periode",goToToday:"Zu heute gehen",refreshCalendars:"Kalenderabonnements aktualisieren"},loading:"Agenda wird geladen...",dayToggle:"Tag umschalten",overdueToggle:"\xDCberf\xE4lligkeitsbereich umschalten",expandAllDays:"Alle Tage ausklappen",collapseAllDays:"Alle Tage einklappen",notices:{calendarNotReady:"Kalenderdienst noch nicht bereit",calendarRefreshed:"Kalenderabonnements aktualisiert",refreshFailed:"Aktualisierung fehlgeschlagen"},empty:{noItemsScheduled:"Keine Elemente geplant",noItemsFound:"Keine Elemente gefunden",helpText:"Erstellen Sie Aufgaben mit F\xE4lligkeits- oder Planungsdaten oder f\xFCgen Sie Notizen hinzu, um sie hier zu sehen."},contextMenu:{showOverdueSection:"\xDCberf\xE4lligkeitsbereich anzeigen",showNotes:"Notizen anzeigen",calendarSubscriptions:"Kalenderabonnements"},periods:{thisWeek:"Diese Woche"},tipPrefix:"Tipp: "},taskList:{title:"Aufgaben",expandAllGroups:"Alle Gruppen ausklappen",collapseAllGroups:"Alle Gruppen einklappen",noTasksFound:"Keine Aufgaben f\xFCr die gew\xE4hlten Filter gefunden."},notes:{title:"Notizen",refreshButton:"Aktualisieren",refreshingButton:"Wird aktualisiert...",notices:{indexingDisabled:"Notizindexierung deaktiviert"},empty:{noNotesFound:"Keine Notizen gefunden",helpText:"Keine Notizen f\xFCr das gew\xE4hlte Datum gefunden. Versuchen Sie, ein anderes Datum in der Mini-Kalenderansicht auszuw\xE4hlen oder erstellen Sie einige Notizen."},loading:"Notizen werden geladen...",refreshButtonAriaLabel:"Notizenliste aktualisieren"},miniCalendar:{title:"Mini-Kalender"},advancedCalendar:{title:"Kalender",filters:{showFilters:"Filter anzeigen",hideFilters:"Filter ausblenden"},viewOptions:{calendarSubscriptions:"Kalenderabonnements",timeEntries:"Zeiteintr\xE4ge",timeblocks:"Zeitbl\xF6cke",scheduledDates:"Geplante Termine",dueDates:"F\xE4lligkeitstermine",allDaySlot:"Ganzt\xE4giger Slot",scheduledTasks:"Geplante Aufgaben",recurringTasks:"Wiederkehrende Aufgaben"},buttons:{refresh:"Aktualisieren",refreshHint:"Kalenderabonnements aktualisieren"},notices:{icsServiceNotAvailable:"ICS-Abonnementdienst nicht verf\xFCgbar",calendarRefreshedAll:"Alle Kalenderabonnements wurden erfolgreich aktualisiert",refreshFailed:"Einige Kalenderabonnements konnten nicht aktualisiert werden",timeblockSpecificTime:"Zeitbl\xF6cke m\xFCssen spezifische Zeiten haben. Bitte w\xE4hlen Sie einen Zeitbereich in der Wochen- oder Tagesansicht.",timeblockMoved:'Zeitblock "{title}" wurde nach {date} verschoben',timeblockUpdated:'Zeit des Zeitblocks "{title}" aktualisiert',timeblockMoveFailed:"Fehler beim Verschieben des Zeitblocks: {message}",timeblockResized:'Dauer des Zeitblocks "{title}" aktualisiert',timeblockResizeFailed:"Fehler beim \xC4ndern der Zeitblockgr\xF6\xDFe: {message}",taskScheduled:'Aufgabe "{title}" f\xFCr {date} geplant',scheduleTaskFailed:"Fehler beim Planen der Aufgabe",endTimeAfterStart:"Endzeit muss nach der Startzeit liegen",timeEntryNotFound:"Zeiteintrag nicht gefunden",timeEntryDeleted:"Zeiteintrag gel\xF6scht",deleteTimeEntryFailed:"Fehler beim L\xF6schen des Zeiteintrags"},timeEntry:{estimatedSuffix:"gesch\xE4tzt",trackedSuffix:"erfasst",recurringPrefix:"Wiederkehrend: ",completedPrefix:"Abgeschlossen: ",createdPrefix:"Erstellt: ",modifiedPrefix:"Ge\xE4ndert: ",duePrefix:"F\xE4llig: ",scheduledPrefix:"Geplant: "},contextMenus:{openTask:"Aufgabe \xF6ffnen",deleteTimeEntry:"Zeiteintrag l\xF6schen",deleteTimeEntryTitle:"Zeiteintrag l\xF6schen",deleteTimeEntryConfirm:"M\xF6chten Sie diesen Zeiteintrag{duration} wirklich l\xF6schen? Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden.",deleteButton:"L\xF6schen",cancelButton:"Abbrechen"}},basesCalendar:{title:"Bases-Kalender",today:"Heute",buttonText:{month:"M",week:"W",day:"T",year:"J",list:"L",customDays:"{count}T",listDays:"{count}d Liste",refresh:"Aktualisieren"},hints:{refresh:"Kalenderabonnements aktualisieren"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"Datumsnavigation",events:"Ereignisse",layout:"Layout",propertyBasedEvents:"Eigenschaftsbasierte Ereignisse",calendarSubscriptions:"Kalenderabonnements",googleCalendars:"Google Kalender",microsoftCalendars:"Microsoft Kalender"},dateNavigation:{navigateToDate:"Zum Datum navigieren",navigateToDatePlaceholder:"JJJJ-MM-TT (z.B. 2025-01-15) - leer lassen, um Eigenschaft zu verwenden",navigateToDateFromProperty:"Zum Datum aus Eigenschaft navigieren",navigateToDateFromPropertyPlaceholder:"Datumseigenschaft ausw\xE4hlen (optional)",propertyNavigationStrategy:"Eigenschaftsnavigationsstrategie",strategies:{first:"Erstes Ergebnis",earliest:"Fr\xFChestes Datum",latest:"Sp\xE4testes Datum"}},events:{showScheduledTasks:"Geplante Aufgaben anzeigen",showDueTasks:"F\xE4llige Aufgaben anzeigen",showRecurringTasks:"Wiederkehrende Aufgaben anzeigen",showTimeEntries:"Zeiteintr\xE4ge anzeigen",showTimeblocks:"Zeitbl\xF6cke anzeigen",showPropertyBasedEvents:"Eigenschaftsbasierte Ereignisse anzeigen"},layout:{calendarView:"Kalenderansicht",customDayCount:"Benutzerdefinierte Tagesanzahl",listDayCount:"Anzahl der Listentage",dayStartTime:"Tagesbeginn",dayStartTimePlaceholder:"HH:mm:ss (z.B. 08:00:00)",dayEndTime:"Tagesende",dayEndTimePlaceholder:"HH:mm:ss (z.B. 20:00:00)",timeSlotDuration:"Zeitschlitzdauer",timeSlotDurationPlaceholder:"HH:mm:ss (z.B. 00:30:00)",weekStartsOn:"Woche beginnt am",showWeekNumbers:"Wochennummern anzeigen",showNowIndicator:"Jetzt-Indikator anzeigen",showWeekends:"Wochenenden anzeigen",showAllDaySlot:"Ganzt\xE4gigen Slot anzeigen",showTodayHighlight:"Heute hervorheben",showSelectionPreview:"Auswahlvorschau anzeigen",timeFormat:"Zeitformat",timeFormat12:"12-Stunden (AM/PM)",timeFormat24:"24-Stunden",initialScrollTime:"Anfangsscrollzeit",initialScrollTimePlaceholder:"HH:mm:ss (z.B. 08:00:00)",minimumEventHeight:"Minimale Ereignish\xF6he (px)",slotEventOverlap:"Ereignis\xFCberlappung zulassen",enableSearch:"Suchfeld aktivieren",eventMaxStack:"Max. gestapelte Ereignisse (Wochen-/Tagesansicht, 0 = unbegrenzt)",dayMaxEvents:"Max. Ereignisse pro Tag (Monatsansicht, 0 = automatisch)",dayMaxEventRows:"Max. Ereigniszeilen pro Tag (Monatsansicht, 0 = unbegrenzt)"},propertyBasedEvents:{startDateProperty:"Startdatumseigenschaft",startDatePropertyPlaceholder:"Eigenschaft f\xFCr Startdatum/-zeit ausw\xE4hlen",endDateProperty:"Enddatumseigenschaft (optional)",endDatePropertyPlaceholder:"Eigenschaft f\xFCr Enddatum/-zeit ausw\xE4hlen",titleProperty:"Titeleigenschaft (optional)",titlePropertyPlaceholder:"Eigenschaft f\xFCr Ereignistitel ausw\xE4hlen"}},errors:{failedToInitialize:"Fehler beim Initialisieren des Kalenders"}},kanban:{title:"Kanban",newTask:"Neue Aufgabe",addCard:"+ Karte hinzuf\xFCgen",noTasks:"Keine Aufgaben",uncategorized:"Nicht kategorisiert",noProject:"Kein Projekt",notices:{loadFailed:"Kanban-Board konnte nicht geladen werden",movedTask:'Aufgabe verschoben zu "{0}"'},errors:{loadingBoard:"Fehler beim Laden des Boards.",noGroupBy:"Die Kanban-Ansicht erfordert eine konfigurierte 'Gruppieren nach'-Eigenschaft. Klicken Sie auf die Schaltfl\xE4che 'Sortieren' und w\xE4hlen Sie eine Eigenschaft unter 'Gruppieren nach' aus."},columnTitle:"Ohne Titel"},pomodoro:{title:"Pomodoro",status:{focus:"Fokus",ready:"Bereit zum Starten",paused:"Pausiert",working:"Arbeitet",shortBreak:"Kurze Pause",longBreak:"Lange Pause",breakPrompt:"Gro\xDFartige Arbeit! Zeit f\xFCr eine {length} Pause",breakLength:{short:"kurze",long:"lange"},breakComplete:"Pause beendet! Bereit f\xFCr den n\xE4chsten Pomodoro?"},buttons:{start:"Starten",pause:"Pausieren",stop:"Stoppen",resume:"Fortsetzen",startShortBreak:"Kurze Pause starten",startLongBreak:"Lange Pause starten",skipBreak:"Pause \xFCberspringen",chooseTask:"Aufgabe w\xE4hlen...",changeTask:"Aufgabe wechseln...",clearTask:"Aufgabe entfernen",selectDifferentTask:"Andere Aufgabe w\xE4hlen"},notices:{noTasks:"Keine unarchivierte Aufgaben gefunden. Erstelle zuerst einige Aufgaben.",loadFailed:"Aufgaben konnten nicht geladen werden"},statsLabel:"heute abgeschlossen"},pomodoroStats:{title:"Pomodoro-Statistiken",heading:"Pomodoro-Statistiken",refresh:"Aktualisieren",sections:{overview:"\xDCberblick",today:"Heute",week:"Diese Woche",allTime:"Gesamt",recent:"Aktuelle Sitzungen"},overviewCards:{todayPomos:{label:"Heutige Pomos",change:{more:"{count} mehr als gestern",less:"{count} weniger als gestern"}},totalPomos:{label:"Pomos insgesamt"},todayFocus:{label:"Heutiger Fokus",change:{more:"{duration} mehr als gestern",less:"{duration} weniger als gestern"}},totalFocus:{label:"Fokuszeit insgesamt"}},stats:{pomodoros:"Pomodoros",streak:"Serie",minutes:"Minuten",average:"Durchschn. L\xE4nge",completion:"Abschluss"},recents:{empty:"Noch keine Sitzungen aufgezeichnet",duration:"{minutes} Min",status:{completed:"Abgeschlossen",interrupted:"Unterbrochen"}}},stats:{title:"Statistiken",taskProjectStats:"Aufgaben- & Projektstatistiken",sections:{filters:"Filter",overview:"\xDCberblick",today:"Heute",thisWeek:"Diese Woche",thisMonth:"Dieser Monat",projectBreakdown:"Projektaufschl\xFCsselung",dateRange:"Datumsbereich"},filters:{minTime:"Min. Zeit (Minuten)",allTasks:"Alle Aufgaben",activeOnly:"Nur Aktive",completedOnly:"Nur Abgeschlossene"},refreshButton:"Aktualisieren",timeRanges:{allTime:"Gesamt",last7Days:"Letzte 7 Tage",last30Days:"Letzte 30 Tage",last90Days:"Letzte 90 Tage",customRange:"Benutzerdefinierter Bereich"},resetFiltersButton:"Filter zur\xFCcksetzen",dateRangeFrom:"Von",dateRangeTo:"Bis",noProject:"Kein Projekt",cards:{timeTrackedEstimated:"Zeit erfasst / gesch\xE4tzt",totalTasks:"Aufgaben gesamt",completionRate:"Abschlussrate",activeProjects:"Aktive Projekte",avgTimePerTask:"\xD8 Zeit pro Aufgabe"},labels:{tasks:"Aufgaben",completed:"Abgeschlossen",projects:"Projekte"},noProjectData:"Keine Projektdaten verf\xFCgbar",notAvailable:"N/V",noTasks:"Keine Aufgaben gefunden",loading:"L\xE4dt..."},releaseNotes:{title:"Was ist neu in TaskNotes {version}",header:"Was ist neu in TaskNotes {version}",viewAllLink:"Alle Versionshinweise auf GitHub anzeigen \u2192",starMessage:"Wenn Sie TaskNotes n\xFCtzlich finden, geben Sie ihm bitte einen Stern auf GitHub"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"Allgemein",taskProperties:"Aufgabeneigenschaften",modalFields:"Modalfelder",defaults:"Voreinstellungen & Vorlagen",appearance:"Erscheinungsbild & UI",features:"Funktionen",integrations:"Integrationen"},features:{inlineTasks:{header:"Inline-Aufgaben",description:"Einstellungen f\xFCr Aufgabenlinks und Checkbox-zu-Aufgabe-Konvertierung in Notizen."},overlays:{taskLinkToggle:{name:"Aufgabenlink-Overlay",description:"Zeige interaktive Overlays beim Hovern \xFCber Aufgabenlinks"}},instantConvert:{toggle:{name:"Konvertierungs-Button neben Checkboxen anzeigen",description:"Zeige einen Inline-Button neben Markdown-Checkboxen an, der diese in TaskNotes konvertiert"},folder:{name:"Ordner f\xFCr konvertierte Aufgaben",description:"Ordner, in dem aus Checkboxen konvertierte Aufgaben erstellt werden. Leer lassen, um den Standard-Aufgabenordner zu verwenden. Verwende {{currentNotePath}} f\xFCr den Ordner der aktuellen Notiz oder {{currentNoteTitle}} f\xFCr einen Unterordner mit dem Notiztitel."}},nlp:{header:"Nat\xFCrliche Sprachverarbeitung",description:"Analysiere Daten, Priorit\xE4ten und andere Eigenschaften aus Texteingaben.",enable:{name:"Nat\xFCrliche Spracheingabe f\xFCr Aufgaben aktivieren",description:"Parse F\xE4lligkeitsdaten, Priorit\xE4ten und Kontexte aus nat\xFCrlicher Sprache beim Erstellen von Aufgaben"},defaultToScheduled:{name:"Standardm\xE4\xDFig geplant",description:"Wenn NLP ein Datum ohne Kontext erkennt, behandle es als geplant statt f\xE4llig"},language:{name:"NLP-Sprache",description:"Sprache f\xFCr nat\xFCrliche Sprachverarbeitungsmuster und Datumsanalyse"},statusTrigger:{name:"Status-Vorschlag Trigger",description:"Text zum Ausl\xF6sen von Status-Vorschl\xE4gen (leer lassen zum Deaktivieren)"}},pomodoro:{header:"Pomodoro-Timer",description:"Konfiguriere Arbeits-/Pausenintervalle f\xFCr den Pomodoro-Timer.",workDuration:{name:"Arbeitsdauer",description:"Dauer der Arbeitsintervalle in Minuten"},shortBreak:{name:"Kurze Pause",description:"Dauer der kurzen Pausen in Minuten"},longBreak:{name:"Lange Pause",description:"Dauer der langen Pausen in Minuten"},longBreakInterval:{name:"Lange Pause Intervall",description:"Anzahl der Arbeitssitzungen vor einer langen Pause"},autoStartBreaks:{name:"Pausen automatisch starten",description:"Pausentimer nach Arbeitssitzungen automatisch starten"},autoStartWork:{name:"Arbeit automatisch starten",description:"Arbeitssitzungen nach Pausen automatisch starten"},notifications:{name:"Pomodoro-Benachrichtigungen",description:"Benachrichtigungen anzeigen, wenn Pomodoro-Sitzungen enden"}},uiLanguage:{header:"Oberfl\xE4chensprache",description:"\xC4ndere die Sprache der TaskNotes-Men\xFCs, Hinweise und Ansichten.",dropdown:{name:"UI-Sprache",description:"W\xE4hle die Sprache f\xFCr TaskNotes-Oberfl\xE4chentexte"}},pomodoroSound:{enabledName:"Ton aktiviert",enabledDesc:"Ton abspielen, wenn Pomodoro-Sitzungen enden",volumeName:"Tonlautst\xE4rke",volumeDesc:"Lautst\xE4rke f\xFCr Pomodoro-T\xF6ne (0-100)"},dataStorage:{name:"Pomodoro-Datenspeicherung",description:"Konfiguriere, wo Pomodoro-Sitzungsdaten gespeichert und verwaltet werden.",dailyNotes:"T\xE4gliche Notizen",pluginData:"Plugin-Daten",notices:{locationChanged:"Pomodoro-Speicherort ge\xE4ndert zu {location}"}},notifications:{header:"Benachrichtigungen",description:"Konfiguriere Aufgabenerinnerungsbenachrichtigungen und Warnungen.",enableName:"Benachrichtigungen aktivieren",enableDesc:"Aufgabenerinnerungs-Benachrichtigungen aktivieren",typeName:"Benachrichtigungstyp",typeDesc:"Art der anzuzeigenden Benachrichtigungen",systemLabel:"System-Benachrichtigungen",inAppLabel:"In-App-Benachrichtigungen"},overdue:{hideCompletedName:"Abgeschlossene Aufgaben aus \xFCberf\xE4lligen ausblenden",hideCompletedDesc:"Abgeschlossene Aufgaben aus \xFCberf\xE4lligen Aufgabenberechnungen ausschlie\xDFen"},indexing:{disableName:"Notizindexierung deaktivieren",disableDesc:"Automatische Indexierung von Notizinhalten f\xFCr bessere Leistung deaktivieren"},suggestions:{debounceName:"Vorschlag-Verz\xF6gerung",debounceDesc:"Verz\xF6gerung in Millisekunden vor dem Anzeigen von Vorschl\xE4gen"},timeTracking:{autoStopName:"Zeiterfassung automatisch stoppen",autoStopDesc:"Zeiterfassung automatisch stoppen, wenn eine Aufgabe als abgeschlossen markiert wird",stopNotificationName:"Zeiterfassung-Stopp-Benachrichtigung",stopNotificationDesc:"Benachrichtigung anzeigen, wenn Zeiterfassung automatisch gestoppt wird"},recurring:{maintainOffsetName:"F\xE4lligkeitsdatum-Offset in wiederkehrenden Aufgaben beibehalten",maintainOffsetDesc:"Den Offset zwischen F\xE4lligkeitsdatum und geplantem Datum beibehalten, wenn wiederkehrende Aufgaben abgeschlossen werden"},timeblocking:{header:"Zeitblockierung",description:"Konfiguriere Zeitblockfunktionalit\xE4t f\xFCr leichte Planung in t\xE4glichen Notizen. Ziehe in Kalenderansichten, um Ereignisse zu erstellen - w\xE4hle 'Zeitblock' aus dem Kontextmen\xFC.",enableName:"Zeitblockierung aktivieren",enableDesc:"Zeitblockfunktionalit\xE4t f\xFCr leichte Planung in t\xE4glichen Notizen aktivieren. Wenn aktiviert, erscheint die Option 'Zeitblock' im Kalender-Ziehen-Kontextmen\xFC.",showBlocksName:"Zeitbl\xF6cke anzeigen",showBlocksDesc:"Zeitbl\xF6cke aus t\xE4glichen Notizen standardm\xE4\xDFig anzeigen",usage:"Verwendung: Ziehe im Kalender, um Ereignisse zu erstellen. W\xE4hle 'Zeitblock' aus dem Kontextmen\xFC (nur sichtbar, wenn Zeitblockierung aktiviert ist). Ziehe, um bestehende Zeitbl\xF6cke zu verschieben. R\xE4nder anpassen, um Dauer zu \xE4ndern."},performance:{header:"Leistung & Verhalten",description:"Konfiguriere Plugin-Leistung und Verhaltensoptionen."},timeTrackingSection:{header:"Zeiterfassung",description:"Konfiguriere automatische Zeiterfassungsverhalten."},recurringSection:{header:"Wiederkehrende Aufgaben",description:"Konfiguriere Verhalten f\xFCr wiederkehrende Aufgabenverwaltung."}},defaults:{header:{basicDefaults:"Grundeinstellungen",dateDefaults:"Datumsvoreinstellungen",defaultReminders:"Standard-Erinnerungen",bodyTemplate:"K\xF6rpervorlage",instantTaskConversion:"Sofortige Aufgabenkonvertierung"},description:{basicDefaults:"Setze Standardwerte f\xFCr neue Aufgaben, um die Aufgabenerstellung zu beschleunigen.",dateDefaults:"Setze Standard-F\xE4lligkeits- und Planungsdaten f\xFCr neue Aufgaben.",defaultReminders:"Konfiguriere Standard-Erinnerungen, die neuen Aufgaben hinzugef\xFCgt werden.",bodyTemplate:"Konfiguriere eine Vorlagendatei f\xFCr neue Aufgabeninhalte.",instantTaskConversion:"Konfiguriere Verhalten bei sofortiger Textkonvertierung zu Aufgaben."},basicDefaults:{defaultStatus:{name:"Standardstatus",description:"Standardstatus f\xFCr neue Aufgaben"},defaultPriority:{name:"Standardpriorit\xE4t",description:"Standardpriorit\xE4t f\xFCr neue Aufgaben"},defaultContexts:{name:"Standardkontexte",description:"Kommagetrennte Liste von Standardkontexten (z.B. @zuhause, @arbeit)",placeholder:"@zuhause, @arbeit"},defaultTags:{name:"Standard-Tags",description:"Kommagetrennte Liste von Standard-Tags (ohne #)",placeholder:"wichtig, dringend"},defaultProjects:{name:"Standardprojekte",description:"Standard-Projektlinks f\xFCr neue Aufgaben",selectButton:"Projekte ausw\xE4hlen",selectTooltip:"W\xE4hle Projektnotizen zum standardm\xE4\xDFigen Verlinken",removeTooltip:"{name} aus Standardprojekten entfernen"},useParentNoteAsProject:{name:"\xDCbergeordnete Notiz als Projekt bei sofortiger Konvertierung verwenden",description:"\xDCbergeordnete Notiz automatisch als Projekt verlinken bei sofortiger Aufgabenkonvertierung"},defaultTimeEstimate:{name:"Standard-Zeitsch\xE4tzung",description:"Standard-Zeitsch\xE4tzung in Minuten (0 = kein Standard)",placeholder:"60"},defaultRecurrence:{name:"Standard-Wiederholung",description:"Standard-Wiederholungsmuster f\xFCr neue Aufgaben"}},dateDefaults:{defaultDueDate:{name:"Standard-F\xE4lligkeitsdatum",description:"Standard-F\xE4lligkeitsdatum f\xFCr neue Aufgaben"},defaultScheduledDate:{name:"Standard-Planungsdatum",description:"Standard-Planungsdatum f\xFCr neue Aufgaben"}},reminders:{addReminder:{name:"Standard-Erinnerung hinzuf\xFCgen",description:"Erstelle eine neue Standard-Erinnerung, die allen neuen Aufgaben hinzugef\xFCgt wird",buttonText:"Erinnerung hinzuf\xFCgen"},emptyState:"Keine Standard-Erinnerungen konfiguriert. F\xFCge eine Erinnerung hinzu, um automatisch \xFCber neue Aufgaben benachrichtigt zu werden.",emptyStateButton:"Erinnerung hinzuf\xFCgen",reminderDescription:"Erinnerungsbeschreibung",unnamedReminder:"Unbenannte Erinnerung",deleteTooltip:"Erinnerung l\xF6schen",fields:{description:"Beschreibung:",type:"Typ:",offset:"Offset:",unit:"Einheit:",direction:"Richtung:",relatedTo:"Bezogen auf:",date:"Datum:",time:"Zeit:"},types:{relative:"Relativ (vor/nach Aufgabendaten)",absolute:"Absolut (spezifisches Datum/Zeit)"},units:{minutes:"Minuten",hours:"Stunden",days:"Tage"},directions:{before:"vor",after:"nach"},relatedTo:{due:"F\xE4lligkeitsdatum",scheduled:"Planungsdatum"}},bodyTemplate:{useBodyTemplate:{name:"K\xF6rpervorlage verwenden",description:"Verwende eine Vorlagendatei f\xFCr Aufgabenk\xF6rperinhalte"},bodyTemplateFile:{name:"K\xF6rpervorlagendatei",description:"Pfad zur Vorlagendatei f\xFCr Aufgabenk\xF6rperinhalte. Unterst\xFCtzt Vorlagenvariablen wie {{title}}, {{date}}, {{time}}, {{priority}}, {{status}}, etc.",placeholder:"Templates/Aufgaben Vorlage.md",ariaLabel:"Pfad zur K\xF6rpervorlagendatei"},variablesHeader:"Vorlagenvariablen:",variables:{title:"{{title}} - Aufgabentitel",details:"{{details}} - Benutzergegebene Details aus Modal",date:"{{date}} - Aktuelles Datum (YYYY-MM-DD)",time:"{{time}} - Aktuelle Zeit (HH:MM)",priority:"{{priority}} - Aufgabenpriorit\xE4t",status:"{{status}} - Aufgabenstatus",contexts:"{{contexts}} - Aufgabenkontexte",tags:"{{tags}} - Aufgaben-Tags",projects:"{{projects}} - Aufgabenprojekte"}},instantConversion:{useDefaultsOnInstantConvert:{name:"Aufgabenstandards bei sofortiger Konvertierung verwenden",description:"Standard-Aufgabeneinstellungen anwenden bei sofortiger Textkonvertierung zu Aufgaben"}},options:{noDefault:"Kein Standard",none:"Keine",today:"Heute",tomorrow:"Morgen",nextWeek:"N\xE4chste Woche",daily:"T\xE4glich",weekly:"W\xF6chentlich",monthly:"Monatlich",yearly:"J\xE4hrlich"}},general:{taskStorage:{header:"Aufgabenspeicherung",description:"Konfiguriere, wo Aufgaben gespeichert und wie sie identifiziert werden.",defaultFolder:{name:"Standard-Aufgabenordner",description:"Standardort f\xFCr neue Aufgaben"},moveArchived:{name:"Archivierte Aufgaben in Ordner verschieben",description:"Archivierte Aufgaben automatisch in einen Archivordner verschieben"},archiveFolder:{name:"Archivordner",description:"Ordner zum Verschieben von Aufgaben beim Archivieren. Unterst\xFCtzt Template-Variablen wie {{year}}, {{month}}, {{priority}}, etc."}},taskIdentification:{header:"Aufgabenidentifikation",description:"W\xE4hle, wie TaskNotes Notizen als Aufgaben identifiziert.",identifyBy:{name:"Aufgaben identifizieren durch",description:"W\xE4hle, ob Aufgaben durch Tag oder durch eine Frontmatter-Eigenschaft identifiziert werden",options:{tag:"Tag",property:"Eigenschaft"}},taskTag:{name:"Aufgaben-Tag",description:"Tag, das Notizen als Aufgaben identifiziert (ohne #)"},hideIdentifyingTags:{name:"Identifikations-Tags in Aufgabenkarten ausblenden",description:"Wenn aktiviert, werden Tags, die mit dem Aufgabenidentifikations-Tag \xFCbereinstimmen (einschlie\xDFlich hierarchischer \xDCbereinstimmungen wie 'task/project'), in Aufgabenkartenanzeigen ausgeblendet"},taskProperty:{name:"Aufgabeneigenschaftsname",description:'Der Frontmatter-Eigenschaftsname (z.B. "category")'},taskPropertyValue:{name:"Aufgabeneigenschaftswert",description:'Der Wert, der eine Notiz als Aufgabe identifiziert (z.B. "task")'}},folderManagement:{header:"Ordnerverwaltung",excludedFolders:{name:"Ausgeschlossene Ordner",description:"Kommagetrennte Liste von Ordnern, die von der Aufgabenindizierung und Projektvorschl\xE4gen ausgeschlossen werden"}},frontmatter:{header:"Frontmatter",description:"Konfigurieren Sie, wie Links in Frontmatter-Eigenschaften formatiert werden.",useMarkdownLinks:{name:"Markdown-Links in Frontmatter verwenden",description:"Markdown-Links ([text](path)) anstelle von Wikilinks ([[link]]) in Frontmatter-Eigenschaften generieren.\\n\\n\u26A0\uFE0F Erfordert das Plugin 'obsidian-frontmatter-markdown-links', um korrekt zu funktionieren."}},taskInteraction:{header:"Aufgabeninteraktion",description:"Konfiguriere, wie das Klicken auf Aufgaben funktioniert.",singleClick:{name:"Einfachklick-Aktion",description:"Aktion beim Einfachklick auf eine Aufgabenkarte"},doubleClick:{name:"Doppelklick-Aktion",description:"Aktion beim Doppelklick auf eine Aufgabenkarte"},actions:{edit:"Aufgabe bearbeiten",openNote:"Notiz \xF6ffnen",none:"Keine Aktion"}},releaseNotes:{header:"Versionshinweise",description:"Aktuelle Version: {version}",showOnUpdate:{name:"Versionshinweise nach Update anzeigen",description:"Versionshinweise automatisch \xF6ffnen, wenn TaskNotes auf eine neue Version aktualisiert wird"},viewButton:{name:"Versionshinweise anzeigen",description:"Sehen Sie, was in der neuesten Version von TaskNotes neu ist",buttonText:"Versionshinweise anzeigen"}}},taskProperties:{sections:{coreProperties:"Kerneigenschaften",corePropertiesDesc:"Status und Priorit\xE4t sind die Kerneigenschaften, die den Zustand und die Wichtigkeit einer Aufgabe definieren.",dateProperties:"Datumseigenschaften",datePropertiesDesc:"Konfiguriere, wann Aufgaben f\xE4llig und geplant sind.",organizationProperties:"Organisationseigenschaften",organizationPropertiesDesc:"Organisiere Aufgaben mit Kontexten, Projekten und Tags.",taskDetails:"Aufgabendetails",taskDetailsDesc:"Zus\xE4tzliche Details wie Zeitsch\xE4tzungen, Wiederholungen und Erinnerungen.",metadataProperties:"Metadaten-Eigenschaften",metadataPropertiesDesc:"Vom System verwaltete Eigenschaften zur Verfolgung der Aufgabenhistorie.",featureProperties:"Feature-Eigenschaften",featurePropertiesDesc:"Eigenschaften, die von bestimmten TaskNotes-Funktionen wie Pomodoro-Timer und Kalender-Synchronisation verwendet werden."},propertyCard:{propertyKey:"Eigenschaftsschl\xFCssel:",default:"Standard:",nlpTrigger:"NLP-Ausl\xF6ser:",triggerChar:"Ausl\xF6serzeichen:",triggerEmpty:"Ausl\xF6ser darf nicht leer sein",triggerTooLong:"Ausl\xF6ser ist zu lang (max. 10 Zeichen)"},properties:{status:{name:"Status",description:"Verfolgt den aktuellen Zustand einer Aufgabe (z.B. todo, in-bearbeitung, erledigt). Der Status bestimmt, ob eine Aufgabe als abgeschlossen erscheint und kann die automatische Archivierung ausl\xF6sen."},priority:{name:"Priorit\xE4t",description:"Zeigt die Wichtigkeit der Aufgabe an. Wird zum Sortieren und Filtern verwendet. Werte werden in Bases-Ansichten alphabetisch sortiert, verwende daher Pr\xE4fixe wie 1-, 2- zur Steuerung der Reihenfolge."},due:{name:"F\xE4lligkeitsdatum",description:"Der Termin, bis zu dem eine Aufgabe abgeschlossen sein muss. Aufgaben nach ihrem F\xE4lligkeitsdatum erscheinen als \xFCberf\xE4llig. Wird als Datum im Frontmatter gespeichert."},scheduled:{name:"Geplantes Datum",description:"Wann du planst, an einer Aufgabe zu arbeiten. Im Gegensatz zum F\xE4lligkeitsdatum repr\xE4sentiert dies deine beabsichtigte Startzeit. Aufgaben erscheinen im Kalender zu ihrem geplanten Datum/Uhrzeit."},contexts:{name:"Kontexte",description:"Orte oder Bedingungen, unter denen eine Aufgabe erledigt werden kann (z.B. @zuhause, @b\xFCro, @telefon). N\xFCtzlich zum Filtern von Aufgaben nach deiner aktuellen Situation. Wird als Liste gespeichert."},projects:{name:"Projekte",description:"Links zu Projektnotizen, zu denen diese Aufgabe geh\xF6rt. Wird als Wikilinks gespeichert (z.B. [[Projektname]]). Aufgaben k\xF6nnen zu mehreren Projekten geh\xF6ren."},tags:{name:"Tags",description:"Native Obsidian-Tags zur Kategorisierung von Aufgaben. Diese werden in der Tags-Frontmatter-Eigenschaft gespeichert und funktionieren mit Obsidians Tag-Funktionen."},timeEstimate:{name:"Zeitsch\xE4tzung",description:"Gesch\xE4tzte Minuten zur Fertigstellung der Aufgabe. Wird f\xFCr Zeitplanung und Arbeitsbelastungsplanung verwendet. Wird auf Aufgabenkarten und Kalenderereignissen angezeigt."},recurrence:{name:"Wiederholung",description:"Muster f\xFCr wiederholende Aufgaben (t\xE4glich, w\xF6chentlich, monatlich, j\xE4hrlich oder benutzerdefinierte RRULE). Wenn eine wiederkehrende Aufgabe abgeschlossen wird, wird ihr geplantes Datum automatisch auf das n\xE4chste Vorkommen aktualisiert."},recurrenceAnchor:{name:"Wiederholungsanker",description:"Bestimmt, wie das n\xE4chste Vorkommen berechnet wird: 'scheduled' verwendet das geplante Datum, 'completion' verwendet das tats\xE4chliche Abschlussdatum."},reminders:{name:"Erinnerungen",description:"Benachrichtigungen, die vor F\xE4lligkeits- oder geplanten Terminen ausgel\xF6st werden. Wird als Liste von Erinnerungsobjekten mit Timing und optionaler Beschreibung gespeichert."},title:{name:"Titel",description:"Der Aufgabenname. Kann im Frontmatter oder im Dateinamen gespeichert werden (wenn 'Titel im Dateinamen speichern' aktiviert ist)."},dateCreated:{name:"Erstellungsdatum",description:"Zeitstempel, wann die Aufgabe erstellt wurde. Wird automatisch gesetzt und zum Sortieren nach Erstellungsreihenfolge verwendet."},dateModified:{name:"\xC4nderungsdatum",description:"Zeitstempel der letzten \xC4nderung an der Aufgabe. Wird automatisch aktualisiert, wenn sich eine Aufgabeneigenschaft \xE4ndert."},completedDate:{name:"Abschlussdatum",description:"Zeitstempel, wann die Aufgabe als erledigt markiert wurde. Wird automatisch gesetzt, wenn der Status auf einen abgeschlossenen Zustand wechselt."},archiveTag:{name:"Archiv-Tag",description:"Tag, das zu Aufgaben hinzugef\xFCgt wird, wenn sie archiviert werden. Wird verwendet, um archivierte Aufgaben zu identifizieren und kann das Verschieben von Dateien in den Archivordner ausl\xF6sen."},timeEntries:{name:"Zeiteintr\xE4ge",description:"Aufzeichnungen von Zeiterfassungssitzungen f\xFCr diese Aufgabe. Jeder Eintrag speichert Start- und Endzeitstempel. Wird zur Berechnung der Gesamtzeit verwendet."},completeInstances:{name:"Abgeschlossene Instanzen",description:"Abschlusshistorie f\xFCr wiederkehrende Aufgaben. Speichert Daten, an denen jede Instanz abgeschlossen wurde, um doppelte Abschl\xFCsse zu verhindern."},skippedInstances:{name:"\xDCbersprungene Instanzen",description:"\xDCbersprungene Vorkommen f\xFCr wiederkehrende Aufgaben. Speichert Daten von Instanzen, die \xFCbersprungen statt abgeschlossen wurden."},blockedBy:{name:"Blockiert durch",description:"Links zu Aufgaben, die vor dieser abgeschlossen werden m\xFCssen. Wird als Wikilinks gespeichert. Blockierte Aufgaben zeigen einen visuellen Indikator an."},pomodoros:{name:"Pomodoros",description:"Anzahl abgeschlossener Pomodoro-Sitzungen. Wenn die Datenspeicherung auf 'Tagesnotizen' eingestellt ist, wird dies in Tagesnotizen statt in Aufgabendateien geschrieben."},icsEventId:{name:"ICS-Ereignis-ID",description:"Eindeutige Kennung, die eine Notiz mit einem ICS-Kalenderereignis verkn\xFCpft. Wird automatisch hinzugef\xFCgt, wenn Notizen aus Kalenderereignissen erstellt werden."},icsEventTag:{name:"ICS-Ereignis-Tag",description:"Tag zur Identifizierung von Notizen, die aus ICS-Kalenderereignissen erstellt wurden. Wird verwendet, um kalendergenerierte Notizen von regul\xE4ren Aufgaben zu unterscheiden."}},statusCard:{valuesHeader:"Statuswerte"},priorityCard:{valuesHeader:"Priorit\xE4tswerte"},projectsCard:{defaultProjects:"Standardprojekte:",useParentNote:"\xDCbergeordnete Notiz als Projekt verwenden:",noDefaultProjects:"Keine Standardprojekte ausgew\xE4hlt",autosuggestFilters:"Autovorschlag-Filter",customizeDisplay:"Anzeige anpassen",filtersOn:"Filter aktiv"},titleCard:{storeTitleInFilename:"Titel im Dateinamen speichern:",storedInFilename:"Im Dateinamen gespeichert",filenameUpdatesWithTitle:"Der Dateiname wird automatisch aktualisiert, wenn sich der Aufgabentitel \xE4ndert.",filenameFormat:"Dateinamenformat:",customTemplate:"Benutzerdefinierte Vorlage:"},tagsCard:{nativeObsidianTags:"Verwendet native Obsidian-Tags"},remindersCard:{defaultReminders:"Standarderinnerungen"},taskStatuses:{header:"Aufgabenstatus",description:"Passe die verf\xFCgbaren Statusoptionen f\xFCr deine Aufgaben an. Diese Status steuern den Aufgabenlebenszyklus und bestimmen, wann Aufgaben als abgeschlossen gelten.",howTheyWork:{title:"Wie Status funktionieren:",value:'Wert: Der interne Bezeichner, der in deinen Aufgabendateien gespeichert wird (z.B. "in-progress")',label:'Label: Der Anzeigename in der Benutzeroberfl\xE4che (z.B. "In Bearbeitung")',color:"Farbe: Visuelle Indikatorfarbe f\xFCr Statuspunkt und Abzeichen",icon:'Symbol: Optionaler Lucide-Symbolname zur Anzeige anstelle des farbigen Punktes (z.B. "check", "circle", "clock"). Symbole unter lucide.dev durchsuchen',completed:"Abgeschlossen: Wenn angehakt, werden Aufgaben mit diesem Status als fertig betrachtet und k\xF6nnen anders gefiltert werden",autoArchive:"Auto-Archivierung: Wenn aktiviert, werden Aufgaben nach der angegebenen Verz\xF6gerung automatisch archiviert (1-1440 Minuten)",orderNote:"Die Reihenfolge unten bestimmt die Sequenz beim Durchschalten der Status durch Klicken auf Aufgabenstatus-Abzeichen."},addNew:{name:"Neuen Status hinzuf\xFCgen",description:"Erstelle eine neue Statusoption f\xFCr deine Aufgaben",buttonText:"Status hinzuf\xFCgen"},validationNote:'Hinweis: Du musst mindestens 2 Status haben, und mindestens ein Status muss als "Abgeschlossen" markiert sein.',emptyState:"Keine benutzerdefinierten Status konfiguriert. F\xFCge einen Status hinzu, um zu beginnen.",emptyStateButton:"Status hinzuf\xFCgen",fields:{value:"Wert:",label:"Label:",color:"Farbe:",icon:"Symbol:",completed:"Abgeschlossen:",autoArchive:"Auto-Archivierung:",delayMinutes:"Verz\xF6gerung (Minuten):"},placeholders:{value:"in-bearbeitung",label:"In Bearbeitung",icon:"check, circle, clock"},badges:{completed:"Abgeschlossen"},deleteConfirm:'Bist du sicher, dass du den Status "{label}" l\xF6schen m\xF6chtest?'},taskPriorities:{header:"Aufgabenpriorit\xE4ten",description:"Passe die verf\xFCgbaren Priorit\xE4tsstufen f\xFCr deine Aufgaben an. Ab v4.0+ werden Priorit\xE4ten in Bases-Ansichten alphabetisch nach ihrem Wert sortiert.",howTheyWork:{title:"Wie Priorit\xE4ten funktionieren:",value:'Wert: Der interne Bezeichner, der in deinen Aufgabendateien gespeichert wird. Verwende Pr\xE4fixe wie "1-dringend", "2-hoch", um die Sortierreihenfolge in Bases-Ansichten zu steuern.',label:'Anzeigelabel: Der Anzeigename in der Benutzeroberfl\xE4che (z.B. "Hohe Priorit\xE4t")',color:"Farbe: Visuelle Indikatorfarbe f\xFCr Priorit\xE4tspunkt und Abzeichen",weight:"Gewicht: Numerischer Wert f\xFCr Sortierung (h\xF6here Gewichte erscheinen zuerst in Listen)",weightNote:"Aufgaben werden automatisch nach Priorit\xE4tsgewicht in absteigender Reihenfolge sortiert (h\xF6chstes Gewicht zuerst). Gewichte k\xF6nnen beliebige positive Zahlen sein."},addNew:{name:"Neue Priorit\xE4t hinzuf\xFCgen",description:"Erstelle eine neue Priorit\xE4tsstufe f\xFCr deine Aufgaben",buttonText:"Priorit\xE4t hinzuf\xFCgen"},validationNote:"Hinweis: Du musst mindestens 1 Priorit\xE4t haben. Priorit\xE4ten werden alphabetisch nach Wert in Bases-Ansichten sortiert.",emptyState:"Keine benutzerdefinierten Priorit\xE4ten konfiguriert. F\xFCge eine Priorit\xE4t hinzu, um zu beginnen.",emptyStateButton:"Priorit\xE4t hinzuf\xFCgen",fields:{value:"Wert:",label:"Label:",color:"Farbe:",weight:"Gewicht:"},placeholders:{value:"hoch",label:"Hohe Priorit\xE4t"},weightLabel:"Gewicht: {weight}",deleteConfirm:"Du musst mindestens eine Priorit\xE4t haben",deleteTooltip:"Priorit\xE4t l\xF6schen"},fieldMapping:{header:"Feldzuordnung",warning:"\u26A0\uFE0F Warnung: TaskNotes wird diese Eigenschaftsnamen LESEN UND SCHREIBEN. Das \xC4ndern nach dem Erstellen von Aufgaben kann Inkonsistenzen verursachen.",description:"Konfiguriere, welche Frontmatter-Eigenschaften TaskNotes f\xFCr jedes Feld verwenden soll.",resetButton:{name:"Feldzuordnungen zur\xFCcksetzen",description:"Alle Feldzuordnungen auf Standardwerte zur\xFCcksetzen",buttonText:"Auf Standard zur\xFCcksetzen"},notices:{resetSuccess:"Feldzuordnungen auf Standard zur\xFCckgesetzt",resetFailure:"Feldzuordnungen konnten nicht zur\xFCckgesetzt werden",updateFailure:"Feldzuordnung f\xFCr {label} konnte nicht aktualisiert werden. Bitte versuche es erneut."},table:{fieldHeader:"TaskNotes-Feld",propertyHeader:"Dein Eigenschaftsname"},fields:{title:"Titel",status:"Status",priority:"Priorit\xE4t",due:"F\xE4lligkeitsdatum",scheduled:"Planungsdatum",contexts:"Kontexte",projects:"Projekte",timeEstimate:"Zeitsch\xE4tzung",recurrence:"Wiederholung",dateCreated:"Erstellungsdatum",completedDate:"Abschlussdatum",dateModified:"\xC4nderungsdatum",archiveTag:"Archiv-Tag",timeEntries:"Zeiteintr\xE4ge",completeInstances:"Abgeschlossene Instanzen",blockedBy:"Blockiert von",pomodoros:"Pomodoros",icsEventId:"ICS-Event-ID",icsEventTag:"ICS-Event-Tag",reminders:"Erinnerungen"}},customUserFields:{header:"Benutzerdefinierte Felder",description:"Definiere benutzerdefinierte Frontmatter-Eigenschaften, die als typisierte Filteroptionen in allen Ansichten erscheinen. Jede Zeile: Anzeigename, Eigenschaftsname, Typ.",addNew:{name:"Neues Benutzerfeld hinzuf\xFCgen",description:"Erstelle ein neues benutzerdefiniertes Feld, das in Filtern und Ansichten erscheint",buttonText:"Benutzerfeld hinzuf\xFCgen"},emptyState:"Keine benutzerdefinierten Felder konfiguriert. F\xFCge ein Feld hinzu, um benutzerdefinierte Eigenschaften f\xFCr deine Aufgaben zu erstellen.",emptyStateButton:"Benutzerfeld hinzuf\xFCgen",fields:{displayName:"Anzeigename:",propertyKey:"Eigenschaftsschl\xFCssel:",type:"Typ:",defaultValue:"Standardwert:"},placeholders:{displayName:"Anzeigename",propertyKey:"eigenschafts-name",defaultValue:"Standardwert",defaultValueList:"Standardwerte (kommagetrennt)"},types:{text:"Text",number:"Zahl",boolean:"Boolean",date:"Datum",list:"Liste"},defaultNames:{unnamedField:"Unbenanntes Feld",noKey:"kein-schl\xFCssel"},deleteTooltip:"Feld l\xF6schen",autosuggestFilters:{header:"Autovervollst\xE4ndigungsfilter (Erweitert)",description:"Filtern Sie, welche Dateien in Autovervollst\xE4ndigungsvorschl\xE4gen f\xFCr dieses Feld angezeigt werden"}}},appearance:{taskCards:{header:"Aufgabenkarten",description:"Konfiguriere, wie Aufgabenkarten in allen Ansichten angezeigt werden.",defaultVisibleProperties:{name:"Standard sichtbare Eigenschaften",description:"W\xE4hle, welche Eigenschaften standardm\xE4\xDFig auf Aufgabenkarten erscheinen."},propertyGroups:{coreProperties:"KERNEIGENSCHAFTEN",organization:"ORGANISATION",customProperties:"BENUTZERDEFINIERTE EIGENSCHAFTEN"},properties:{status:"Statuspunkt",priority:"Priorit\xE4tspunkt",due:"F\xE4lligkeitsdatum",scheduled:"Planungsdatum",timeEstimate:"Zeitsch\xE4tzung",totalTrackedTime:"Gesamte erfasste Zeit",recurrence:"Wiederholung",completedDate:"Abschlussdatum",createdDate:"Erstellungsdatum",modifiedDate:"\xC4nderungsdatum",projects:"Projekte",contexts:"Kontexte",tags:"Tags",blocked:"Blockiert",blocking:"Blockierend"}},taskFilenames:{header:"Aufgabendateinamen",description:"Konfiguriere, wie Aufgabendateien beim Erstellen benannt werden.",storeTitleInFilename:{name:"Titel im Dateinamen speichern",description:"Verwende den Aufgabentitel als Dateinamen. Dateiname wird aktualisiert, wenn der Aufgabentitel ge\xE4ndert wird (Empfohlen)."},filenameFormat:{name:"Dateinamenformat",description:"Wie Aufgabendateinamen generiert werden sollen",options:{title:"Aufgabentitel (Nicht-aktualisierend)",zettel:"Zettelkasten-Format (JJMMTT + base36 Sekunden seit Mitternacht)",timestamp:"Vollst\xE4ndiger Zeitstempel (YYYY-MM-DD-HHMMSS)",custom:"Benutzerdefinierte Vorlage"}},customTemplate:{name:"Benutzerdefinierte Dateinamenvorlage",description:"Vorlage f\xFCr benutzerdefinierte Dateinamen. Verf\xFCgbare Variablen: {title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"Hinweis: {dueDate} und {scheduledDate} sind im Format YYYY-MM-DD und werden leer sein, wenn nicht gesetzt."}},displayFormatting:{header:"Anzeigeformatierung",description:"Konfiguriere, wie Daten, Zeiten und andere Daten im Plugin angezeigt werden.",timeFormat:{name:"Zeitformat",description:"Zeit im 12-Stunden- oder 24-Stunden-Format im gesamten Plugin anzeigen",options:{twelveHour:"12-Stunden (AM/PM)",twentyFourHour:"24-Stunden"}}},calendarView:{header:"Kalenderansicht",description:"Passe das Erscheinungsbild und Verhalten der Kalenderansicht an.",defaultView:{name:"Standardansicht",description:"Die Kalenderansicht, die beim \xD6ffnen des Kalendertabs angezeigt wird",options:{monthGrid:"Monatsraster",weekTimeline:"Wochen-Timeline",dayTimeline:"Tages-Timeline",yearView:"Jahresansicht",customMultiDay:"Benutzerdefinierte mehrt\xE4gige"}},customDayCount:{name:"Benutzerdefinierte Ansicht Tageanzahl",description:"Anzahl der Tage in der benutzerdefinierten mehrt\xE4gigen Ansicht",placeholder:"3"},firstDayOfWeek:{name:"Erster Tag der Woche",description:"Welcher Tag soll die erste Spalte in Wochenansichten sein"},showWeekends:{name:"Wochenenden anzeigen",description:"Wochenenden in Kalenderansichten anzeigen"},showWeekNumbers:{name:"Wochennummern anzeigen",description:"Wochennummern in Kalenderansichten anzeigen"},showTodayHighlight:{name:"Heute-Hervorhebung anzeigen",description:"Den aktuellen Tag in Kalenderansichten hervorheben"},showCurrentTimeIndicator:{name:"Aktuelle Zeit-Indikator anzeigen",description:"Eine Linie anzeigen, die die aktuelle Zeit in Timeline-Ansichten zeigt"},selectionMirror:{name:"Auswahlspiegel",description:"Visuelle Vorschau beim Ziehen zur Auswahl von Zeitbereichen anzeigen"},calendarLocale:{name:"Kalendersprache",description:'Kalendersprache f\xFCr Datumsformatierung und Kalendersystem (z.B. "en", "fa" f\xFCr Farsi/Persisch, "de" f\xFCr Deutsch). Leer lassen f\xFCr automatische Erkennung vom Browser.',placeholder:"Automatische Erkennung",invalidLocale:"Ung\xFCltige Gebietsschema-Einstellung. Bitte geben Sie ein g\xFCltiges Sprachk\xFCrzel ein (z.B. 'de', 'en', 'fr-FR')."}},defaultEventVisibility:{header:"Standard-Event-Sichtbarkeit",description:"Konfiguriere, welche Event-Typen standardm\xE4\xDFig beim \xD6ffnen des Kalenders sichtbar sind. Benutzer k\xF6nnen diese trotzdem in der Kalenderansicht ein-/ausschalten.",showScheduledTasks:{name:"Geplante Aufgaben anzeigen",description:"Aufgaben mit geplanten Daten standardm\xE4\xDFig anzeigen"},showDueDates:{name:"F\xE4lligkeitsdaten anzeigen",description:"Aufgaben-F\xE4lligkeitsdaten standardm\xE4\xDFig anzeigen"},showDueWhenScheduled:{name:"F\xE4lligkeitsdaten bei geplanten anzeigen",description:"F\xE4lligkeitsdaten auch f\xFCr Aufgaben anzeigen, die bereits geplante Daten haben"},showTimeEntries:{name:"Zeiteintr\xE4ge anzeigen",description:"Abgeschlossene Zeiterfassungseintr\xE4ge standardm\xE4\xDFig anzeigen"},showRecurringTasks:{name:"Wiederkehrende Aufgaben anzeigen",description:"Wiederkehrende Aufgabeninstanzen standardm\xE4\xDFig anzeigen"},showICSEvents:{name:"ICS-Events anzeigen",description:"Events aus ICS-Abonnements standardm\xE4\xDFig anzeigen"}},timeSettings:{header:"Zeiteinstellungen",description:"Konfiguriere zeitbezogene Anzeigeeinstellungen f\xFCr Timeline-Ansichten.",timeSlotDuration:{name:"Zeitslot-Dauer",description:"Dauer jedes Zeitslots in Timeline-Ansichten",options:{fifteenMinutes:"15 Minuten",thirtyMinutes:"30 Minuten",sixtyMinutes:"60 Minuten"}},startTime:{name:"Startzeit",description:"Fr\xFCheste Zeit in Timeline-Ansichten (HH:MM Format)",placeholder:"06:00"},endTime:{name:"Endzeit",description:"Sp\xE4teste Zeit in Timeline-Ansichten (HH:MM Format)",placeholder:"22:00"},initialScrollTime:{name:"Anfangs-Scrollzeit",description:"Zeit, zu der beim \xD6ffnen von Timeline-Ansichten gescrollt wird (HH:MM Format)",placeholder:"09:00"},eventMinHeight:{name:"Event-Mindesth\xF6he",description:"Mindesth\xF6he f\xFCr Events in Timeline-Ansichten (Pixel)",placeholder:"15"}},uiElements:{header:"UI-Elemente",description:"Konfiguriere die Anzeige verschiedener UI-Elemente.",showTrackedTasksInStatusBar:{name:"Verfolgte Aufgaben in Statusleiste anzeigen",description:"Aktuell verfolgte Aufgaben in Obsidians Statusleiste anzeigen"},showProjectSubtasksWidget:{name:"Projekt-Unteraufgaben-Widget anzeigen",description:"Ein Widget anzeigen, das Unteraufgaben f\xFCr die aktuelle Projektnotiz zeigt"},projectSubtasksPosition:{name:"Projekt-Unteraufgaben-Position",description:"Wo das Projekt-Unteraufgaben-Widget positioniert werden soll",options:{top:"Oben in der Notiz",bottom:"Unten in der Notiz"}},showRelationshipsWidget:{name:"Beziehungen-Widget anzeigen",description:"Ein Widget anzeigen, das alle Beziehungen f\xFCr die aktuelle Notiz zeigt (Unteraufgaben, Projekte, Abh\xE4ngigkeiten)"},relationshipsPosition:{name:"Beziehungen-Position",description:"Wo das Beziehungen-Widget positioniert werden soll",options:{top:"Oben in der Notiz",bottom:"Unten in der Notiz"}},showTaskCardInNote:{name:"Aufgabenkarte in Notiz anzeigen",description:"Eine Aufgabenkarten-Widget oben in Aufgabennotizen anzeigen, das die Aufgabendetails und Aktionen zeigt"},showExpandableSubtasks:{name:"Ausklappbare Unteraufgaben anzeigen",description:"Aus-/Einklappen von Unteraufgaben-Abschnitten in Aufgabenkarten erlauben"},subtaskChevronPosition:{name:"Unteraufgaben-Chevron-Position",description:"Position der Aus-/Einklappen-Chevrons in Aufgabenkarten",options:{left:"Linke Seite",right:"Rechte Seite"}},viewsButtonAlignment:{name:"Ansichten-Button-Ausrichtung",description:"Ausrichtung des Ansichten/Filter-Buttons in der Aufgabenoberfl\xE4che",options:{left:"Linke Seite",right:"Rechte Seite"}}},projectAutosuggest:{header:"Projekt-Autovorschlag",description:"Passe an, wie Projektvorschl\xE4ge w\xE4hrend der Aufgabenerstellung angezeigt werden.",requiredTags:{name:"Erforderliche Tags",description:"Nur Notizen mit beliebigen dieser Tags anzeigen (kommagetrennt). Leer lassen f\xFCr alle Notizen.",placeholder:"projekt, aktiv, wichtig"},includeFolders:{name:"Ordner einschlie\xDFen",description:"Nur Notizen in diesen Ordnern anzeigen (kommagetrennte Pfade). Leer lassen f\xFCr alle Ordner.",placeholder:"Projekte/, Arbeit/Aktiv, Pers\xF6nlich"},requiredPropertyKey:{name:"Erforderlicher Eigenschaftsschl\xFCssel",description:"Nur Notizen anzeigen, wo diese Frontmatter-Eigenschaft dem unten stehenden Wert entspricht. Leer lassen zum Ignorieren.",placeholder:"typ"},requiredPropertyValue:{name:"Erforderlicher Eigenschaftswert",description:"Nur Notizen, wo die Eigenschaft diesem Wert entspricht, werden vorgeschlagen. Leer lassen, um zu verlangen, dass die Eigenschaft existiert.",placeholder:"projekt"},customizeDisplay:{name:"Vorschlagsanzeige anpassen",description:"Erweiterte Optionen anzeigen, um zu konfigurieren, wie Projektvorschl\xE4ge erscheinen und welche Informationen sie anzeigen."},enableFuzzyMatching:{name:"Unscharfe Suche aktivieren",description:"Tippfehler und Teil\xFCbereinstimmungen in Projektsuche erlauben. Kann in gro\xDFen Vaults langsamer sein."},displayRowsHelp:"Konfiguriere bis zu 3 Informationszeilen f\xFCr jeden Projektvorschlag.",displayRows:{row1:{name:"Zeile 1",description:"Format: {eigenschaft|flags}. Eigenschaften: title, aliases, file.path, file.parent. Flags: n(Label) zeigt Label, s macht suchbar. Beispiel: {title|n(Titel)|s}",placeholder:"{title|n(Titel)}"},row2:{name:"Zeile 2 (optional)",description:"H\xE4ufige Muster: {aliases|n(Aliase)}, {file.parent|n(Ordner)}, literal:Benutzerdefinierter Text",placeholder:"{aliases|n(Aliase)}"},row3:{name:"Zeile 3 (optional)",description:"Zus\xE4tzliche Infos wie {file.path|n(Pfad)} oder benutzerdefinierte Frontmatter-Felder",placeholder:"{file.path|n(Pfad)}"}},quickReference:{header:"Schnellreferenz",properties:"Verf\xFCgbare Eigenschaften: title, aliases, file.path, file.parent, oder beliebige Frontmatter-Felder",labels:'Labels hinzuf\xFCgen: {title|n(Titel)} \u2192 "Titel: Mein Projekt"',searchable:"Suchbar machen: {description|s} schlie\xDFt Beschreibung in + Suche ein",staticText:"Statischer Text: literal:Mein benutzerdefiniertes Label",alwaysSearchable:"Dateiname, Titel und Aliase sind standardm\xE4\xDFig immer suchbar."}},dataStorage:{name:"Speicherort",description:"Wo Pomodoro-Sitzungshistorie gespeichert werden soll",pluginData:"Plugin-Daten (empfohlen)",dailyNotes:"T\xE4gliche Notizen",notices:{locationChanged:"Pomodoro-Speicherort ge\xE4ndert zu {location}"}},notifications:{description:"Konfiguriere Aufgabenerinnerungs-Benachrichtigungen und Alarme."},performance:{description:"Konfiguriere Plugin-Leistung und Verhaltensoptionen."},timeTrackingSection:{description:"Konfiguriere automatische Zeiterfassungsverhalten."},recurringSection:{description:"Konfiguriere Verhalten f\xFCr wiederkehrende Aufgabenverwaltung."}},integrations:{basesIntegration:{header:"Bases-Integration",description:"Konfiguriere Integration mit dem Obsidian Bases Plugin. Dies ist eine experimentelle Funktion und basiert derzeit auf undokumentierten Obsidian APIs. Das Verhalten kann sich \xE4ndern oder brechen.",enable:{name:"Bases-Integration aktivieren",description:"TaskNotes-Ansichten zur Verwendung im Obsidian Bases Plugin aktivieren. Bases Plugin muss aktiviert sein, damit dies funktioniert."},viewCommands:{header:"Ansichten & Base-Dateien",description:"TaskNotes verwendet Obsidian Bases-Dateien (.base) zur Darstellung seiner Ansichten. Diese Dateien werden beim Start automatisch erstellt, falls sie nicht existieren, und mit deinen aktuellen Einstellungen konfiguriert (Aufgabenidentifikation, Feldzuordnungen, Status usw.).",descriptionRegen:'Base-Dateien werden nicht automatisch aktualisiert, wenn du Einstellungen \xE4nderst. Um neue Einstellungen anzuwenden, l\xF6sche die vorhandenen .base-Dateien und starte Obsidian neu, verwende "Dateien erstellen" unten, oder bearbeite sie manuell.',docsLink:"Dokumentation f\xFCr verf\xFCgbare Formeln und Anpassungsoptionen anzeigen",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"Mini-Kalenderansicht \xF6ffnen",kanban:"Kanban-Ansicht \xF6ffnen",tasks:"Aufgabenansicht \xF6ffnen",advancedCalendar:"Erweiterte Kalenderansicht \xF6ffnen",agenda:"Agenda-Ansicht \xF6ffnen",relationships:"Beziehungs-Widget"},fileLabel:"Datei: {path}",resetButton:"Zur\xFCcksetzen",resetTooltip:"Auf Standardpfad zur\xFCcksetzen"},createDefaultFiles:{name:"Standarddateien erstellen",description:"Erstelle die Standard-.base-Dateien im TaskNotes/Views/-Verzeichnis. Vorhandene Dateien werden nicht \xFCberschrieben.",buttonText:"Dateien erstellen"},exportV3Views:{name:"V3-gespeicherte Ansichten nach Bases exportieren",description:"Konvertiere alle deine gespeicherten Ansichten aus TaskNotes v3 in eine einzige .base-Datei mit mehreren Ansichten. Dies hilft bei der Migration deiner v3-Filterkonfigurationen zum neuen Bases-System.",buttonText:"V3-Ansichten exportieren",noViews:"Keine gespeicherten Ansichten zum Exportieren",fileExists:"Datei existiert bereits",confirmOverwrite:'Eine Datei namens "{fileName}" existiert bereits. \xDCberschreiben?',success:"{count} gespeicherte Ansichten nach {filePath} exportiert",error:"Fehler beim Exportieren von Ansichten: {message}"},notices:{enabled:"Bases-Integration aktiviert. Bitte starte Obsidian neu, um die Einrichtung abzuschlie\xDFen.",disabled:"Bases-Integration deaktiviert. Bitte starte Obsidian neu, um die Entfernung abzuschlie\xDFen."}},calendarSubscriptions:{header:"Kalenderabonnements",description:"Abonniere externe Kalender \xFCber ICS/iCal URLs, um Events neben deinen Aufgaben anzuzeigen.",defaultNoteTemplate:{name:"Standard-Notizvorlage",description:"Pfad zur Vorlagendatei f\xFCr Notizen, die aus ICS-Events erstellt werden",placeholder:"Templates/Event Vorlage.md"},defaultNoteFolder:{name:"Standard-Notizordner",description:"Ordner f\xFCr Notizen, die aus ICS-Events erstellt werden",placeholder:"Kalender/Events"},filenameFormat:{name:"ICS-Notiz-Dateinamenformat",description:"Wie Dateinamen f\xFCr Notizen generiert werden, die aus ICS-Events erstellt werden",options:{title:"Event-Titel",zettel:"Zettelkasten-Format",timestamp:"Zeitstempel",custom:"Benutzerdefinierte Vorlage"}},customTemplate:{name:"Benutzerdefinierte ICS-Dateinamenvorlage",description:"Vorlage f\xFCr benutzerdefinierte ICS-Event-Dateinamen",placeholder:"{date}-{title}"}},subscriptionsList:{header:"Kalenderabonnements-Liste",addSubscription:{name:"Kalenderabonnement hinzuf\xFCgen",description:"Neues Kalenderabonnement von ICS/iCal URL oder lokaler Datei hinzuf\xFCgen",buttonText:"Abonnement hinzuf\xFCgen"},refreshAll:{name:"Alle Abonnements aktualisieren",description:"Alle aktivierten Kalenderabonnements manuell aktualisieren",buttonText:"Alle aktualisieren"},newCalendarName:"Neuer Kalender",emptyState:"Keine Kalenderabonnements konfiguriert. F\xFCge ein Abonnement hinzu, um externe Kalender zu synchronisieren.",notices:{addSuccess:"Neues Kalenderabonnement hinzugef\xFCgt - bitte konfiguriere die Details",addFailure:"Abonnement konnte nicht hinzugef\xFCgt werden",serviceUnavailable:"ICS-Abonnementdienst nicht verf\xFCgbar",refreshSuccess:"Alle Kalenderabonnements erfolgreich aktualisiert",refreshFailure:"Einige Kalenderabonnements konnten nicht aktualisiert werden",updateFailure:"Abonnement konnte nicht aktualisiert werden",deleteSuccess:'Abonnement "{name}" gel\xF6scht',deleteFailure:"Abonnement konnte nicht gel\xF6scht werden",enableFirst:"Aktiviere zuerst das Abonnement",refreshSubscriptionSuccess:'"{name}" aktualisiert',refreshSubscriptionFailure:"Abonnement konnte nicht aktualisiert werden"},labels:{enabled:"Aktiviert:",name:"Name:",type:"Typ:",url:"URL:",filePath:"Dateipfad:",color:"Farbe:",refreshMinutes:"Aktualisierung (Min):"},typeOptions:{remote:"Remote URL",local:"Lokale Datei"},placeholders:{calendarName:"Kalendername",url:"ICS/iCal URL",filePath:"Lokaler Dateipfad (z.B. Kalender.ics)",localFile:"Kalender.ics"},statusLabels:{enabled:"Aktiviert",disabled:"Deaktiviert",remote:"Remote",localFile:"Lokale Datei",remoteCalendar:"Remote-Kalender",localFileCalendar:"Lokale Datei",synced:"Synchronisiert {timeAgo}",error:"Fehler"},actions:{refreshNow:"Jetzt aktualisieren",deleteSubscription:"Abonnement l\xF6schen"},refreshNow:"Jetzt aktualisieren",confirmDelete:{title:"Abonnement l\xF6schen",message:'Bist du sicher, dass du das Abonnement "{name}" l\xF6schen m\xF6chtest? Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden.',confirmText:"L\xF6schen"}},autoExport:{header:"Automatischer ICS-Export",description:"Automatisch alle deine Aufgaben in eine ICS-Datei exportieren.",enable:{name:"Automatischen Export aktivieren",description:"Eine ICS-Datei automatisch mit allen deinen Aufgaben aktuell halten"},filePath:{name:"Export-Dateipfad",description:"Pfad, wo die ICS-Datei gespeichert wird (relativ zur Vault-Wurzel)",placeholder:"tasknotes-kalender.ics"},interval:{name:"Aktualisierungsintervall (zwischen 5 und 1440 Minuten)",description:"Wie oft die Export-Datei aktualisiert werden soll",placeholder:"60"},exportNow:{name:"Jetzt exportieren",description:"Sofortigen Export manuell ausl\xF6sen",buttonText:"Jetzt exportieren"},status:{title:"Export-Status:",lastExport:"Letzter Export: {time}",nextExport:"N\xE4chster Export: {time}",noExports:"Noch keine Exporte",notScheduled:"Nicht geplant",notInitialized:"Auto-Export-Dienst nicht initialisiert - bitte starte Obsidian neu",serviceNotInitialized:"Dienst nicht initialisiert - bitte starten Sie Obsidian neu"},notices:{reloadRequired:"Bitte lade Obsidian neu, damit die automatischen Export-\xC4nderungen wirksam werden.",exportSuccess:"Aufgaben erfolgreich exportiert",exportFailure:"Export fehlgeschlagen - pr\xFCfe Konsole f\xFCr Details",serviceUnavailable:"Auto-Export-Dienst nicht verf\xFCgbar"}},httpApi:{header:"HTTP API",description:"HTTP API f\xFCr externe Integrationen und Automatisierungen aktivieren.",enable:{name:"HTTP API aktivieren",description:"Lokalen HTTP-Server f\xFCr API-Zugriff starten"},port:{name:"API-Port",description:"Port-Nummer f\xFCr den HTTP API-Server",placeholder:"3000"},authToken:{name:"API-Authentifizierungstoken",description:"Token f\xFCr API-Authentifizierung erforderlich (leer lassen f\xFCr keine Authentifizierung)",placeholder:"dein-geheimes-token"},endpoints:{header:"Verf\xFCgbare API-Endpunkte",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhooks",description:{overview:"Webhooks senden Echtzeit-Benachrichtigungen an externe Dienste, wenn TaskNotes-Events auftreten.",usage:"Konfiguriere Webhooks zur Integration mit Automatisierungstools, Sync-Diensten oder benutzerdefinierten Anwendungen."},addWebhook:{name:"Webhook hinzuf\xFCgen",description:"Neuen Webhook-Endpunkt registrieren",buttonText:"Webhook hinzuf\xFCgen"},emptyState:{message:"Keine Webhooks konfiguriert. F\xFCge einen Webhook hinzu, um Echtzeit-Benachrichtigungen zu erhalten.",buttonText:"Webhook hinzuf\xFCgen"},labels:{active:"Aktiv:",url:"URL:",events:"Events:",transform:"Transformation:"},placeholders:{url:"Webhook URL",noEventsSelected:"Keine Events ausgew\xE4hlt",rawPayload:"Raw-Payload (keine Transformation)"},statusLabels:{active:"Aktiv",inactive:"Inaktiv",created:"Erstellt {timeAgo}"},actions:{editEvents:"Events bearbeiten",delete:"L\xF6schen"},editEvents:"Ereignisse bearbeiten",notices:{urlUpdated:"Webhook URL aktualisiert",enabled:"Webhook aktiviert",disabled:"Webhook deaktiviert",created:"Webhook erfolgreich erstellt",deleted:"Webhook gel\xF6scht",updated:"Webhook aktualisiert"},confirmDelete:{title:"Webhook l\xF6schen",message:`Bist du sicher, dass du diesen Webhook l\xF6schen m\xF6chtest?
|
||
|
||
URL: {url}
|
||
|
||
Diese Aktion kann nicht r\xFCckg\xE4ngig gemacht werden.`,confirmText:"L\xF6schen"},cardHeader:"Webhook",cardFields:{active:"Aktiv:",url:"URL:",events:"Events:",transform:"Transformation:"},eventsDisplay:{noEvents:"Keine Events ausgew\xE4hlt"},transformDisplay:{noTransform:"Raw-Payload (keine Transformation)"},secretModal:{title:"Webhook-Secret generiert",description:"Dein Webhook-Secret wurde generiert. Speichere dieses Secret, da du es nicht erneut einsehen kannst:",usage:"Verwende dieses Secret, um Webhook-Payloads in deiner empfangenden Anwendung zu verifizieren.",gotIt:"Verstanden"},editModal:{title:"Webhook bearbeiten",eventsHeader:"Events zum Abonnieren"},events:{taskCreated:{label:"Aufgabe erstellt",description:"Wenn neue Aufgaben erstellt werden"},taskUpdated:{label:"Aufgabe aktualisiert",description:"Wenn Aufgaben ge\xE4ndert werden"},taskCompleted:{label:"Aufgabe abgeschlossen",description:"Wenn Aufgaben als abgeschlossen markiert werden"},taskDeleted:{label:"Aufgabe gel\xF6scht",description:"Wenn Aufgaben gel\xF6scht werden"},taskArchived:{label:"Aufgabe archiviert",description:"Wenn Aufgaben archiviert werden"},taskUnarchived:{label:"Aufgabe entarchiviert",description:"Wenn Aufgaben entarchiviert werden"},timeStarted:{label:"Zeit gestartet",description:"Wenn Zeiterfassung beginnt"},timeStopped:{label:"Zeit gestoppt",description:"Wenn Zeiterfassung stoppt"},pomodoroStarted:{label:"Pomodoro gestartet",description:"Wenn Pomodoro-Sitzungen beginnen"},pomodoroCompleted:{label:"Pomodoro abgeschlossen",description:"Wenn Pomodoro-Sitzungen beendet werden"},pomodoroInterrupted:{label:"Pomodoro unterbrochen",description:"Wenn Pomodoro-Sitzungen gestoppt werden"},recurringCompleted:{label:"Wiederkehrende Instanz abgeschlossen",description:"Wenn wiederkehrende Aufgabeninstanzen abgeschlossen werden"},reminderTriggered:{label:"Erinnerung ausgel\xF6st",description:"Wenn Aufgabenerinnerungen aktiviert werden"}},modals:{secretGenerated:{title:"Webhook-Secret generiert",description:"Dein Webhook-Secret wurde generiert. Speichere dieses Secret, da du es nicht erneut einsehen kannst:",usage:"Verwende dieses Secret, um Webhook-Payloads in deiner empfangenden Anwendung zu verifizieren.",buttonText:"Verstanden"},edit:{title:"Webhook bearbeiten",eventsSection:"Events zum Abonnieren",transformSection:"Transformationskonfiguration (Optional)",headersSection:"Header-Konfiguration",transformFile:{name:"Transformationsdatei",description:"Pfad zu einer .js oder .json Datei in deinem Vault, die Webhook-Payloads transformiert",placeholder:"discord-transform.js"},customHeaders:{name:"Benutzerdefinierte Header einschlie\xDFen",description:"TaskNotes-Header einschlie\xDFen (Event-Typ, Signatur, Lieferungs-ID). F\xFCr Discord, Slack und andere Dienste mit strengen CORS-Richtlinien ausschalten."},buttons:{cancel:"Abbrechen",save:"\xC4nderungen speichern"},notices:{selectAtLeastOneEvent:"Bitte w\xE4hle mindestens ein Event aus"}},add:{title:"Webhook hinzuf\xFCgen",eventsSection:"Events zum Abonnieren",transformSection:"Transformationskonfiguration (Optional)",headersSection:"Header-Konfiguration",url:{name:"Webhook URL",description:"Der Endpunkt, an den Webhook-Payloads gesendet werden",placeholder:"https://dein-service.com/webhook"},transformFile:{name:"Transformationsdatei",description:"Pfad zu einer .js oder .json Datei in deinem Vault, die Webhook-Payloads transformiert",placeholder:"discord-transform.js"},customHeaders:{name:"Benutzerdefinierte Header einschlie\xDFen",description:"TaskNotes-Header einschlie\xDFen (Event-Typ, Signatur, Lieferungs-ID). F\xFCr Discord, Slack und andere Dienste mit strengen CORS-Richtlinien ausschalten."},transformHelp:{title:"Transformationsdateien erm\xF6glichen es dir, Webhook-Payloads anzupassen:",jsFiles:".js Dateien:",jsDescription:" Benutzerdefinierte JavaScript-Transformationen",jsonFiles:".json Dateien:",jsonDescription:" Vorlagen mit ",jsonVariable:"${data.task.title}",leaveEmpty:"Leer lassen:",leaveEmptyDescription:" Raw-Daten senden",example:"Beispiel:",exampleFile:"discord-transform.js"},buttons:{cancel:"Abbrechen",add:"Webhook hinzuf\xFCgen"},notices:{urlRequired:"Webhook URL ist erforderlich",selectAtLeastOneEvent:"Bitte w\xE4hle mindestens ein Event aus"}}}},otherIntegrations:{header:"Andere Plugin-Integrationen",description:"Konfiguriere Integrationen mit anderen Obsidian-Plugins."},timeFormats:{justNow:"Gerade eben",minutesAgo:"vor {minutes} Minute{plural}",hoursAgo:"vor {hours} Stunde{plural}",daysAgo:"vor {days} Tag{plural}"}}},notices:{languageChanged:"Sprache ge\xE4ndert zu {language}.",exportTasksFailed:"Export der Aufgaben als ICS-Datei fehlgeschlagen",icsNoteCreatedSuccess:"Notiz erfolgreich erstellt",icsCreationModalOpenFailed:"Erstellungsmodal konnte nicht ge\xF6ffnet werden",icsNoteLinkSuccess:'Notiz "{fileName}" mit ICS Event verkn\xFCpft',icsTaskCreatedSuccess:"Aufgabe erstellt: {title}",icsRelatedItemsRefreshed:"Verkn\xFCpfte Notizen aktualisiert",icsFileNotFound:"Datei nicht gefunden oder ung\xFCltig",icsFileOpenFailed:"Datei konnte nicht ge\xF6ffnet werden",timeblockAttachmentExists:'"{fileName}" ist bereits angeh\xE4ngt',timeblockAttachmentAdded:'"{fileName}" als Anhang hinzugef\xFCgt',timeblockAttachmentRemoved:'"{fileName}" aus Anh\xE4ngen entfernt',timeblockFileTypeNotSupported:'"{fileName}" kann nicht ge\xF6ffnet werden - Dateityp nicht unterst\xFCtzt',timeblockTitleRequired:"Bitte geben Sie einen Titel f\xFCr den Timeblock ein",timeblockUpdatedSuccess:'Timeblock "{title}" erfolgreich aktualisiert',timeblockUpdateFailed:"Timeblock konnte nicht aktualisiert werden. Pr\xFCfen Sie die Konsole f\xFCr Details.",timeblockDeletedSuccess:'Timeblock "{title}" erfolgreich gel\xF6scht',timeblockDeleteFailed:"Timeblock konnte nicht gel\xF6scht werden. Pr\xFCfen Sie die Konsole f\xFCr Details.",timeblockRequiredFieldsMissing:"Bitte f\xFCllen Sie alle erforderlichen Felder aus",agendaLoadingFailed:"Fehler beim Laden der Agenda. Bitte versuchen Sie, zu aktualisieren.",statsLoadingFailed:"Fehler beim Laden der Projektdetails."},commands:{openCalendarView:"Mini-Kalenderansicht \xF6ffnen",openAdvancedCalendarView:"Kalenderansicht \xF6ffnen",openTasksView:"Aufgabenansicht \xF6ffnen",openNotesView:"Notizenansicht \xF6ffnen",openAgendaView:"Agenda-Ansicht \xF6ffnen",openPomodoroView:"Pomodoro-Timer \xF6ffnen",openKanbanView:"Kanban-Board \xF6ffnen",openPomodoroStats:"Pomodoro-Statistiken \xF6ffnen",openStatisticsView:"Aufgaben- & Projektstatistiken \xF6ffnen",createNewTask:"Neue Aufgabe erstellen",convertCurrentNoteToTask:{name:"Aktuelle Notiz in Aufgabe umwandeln",noActiveFile:"Keine aktive Datei zum Umwandeln",alreadyTask:"Diese Notiz ist bereits eine Aufgabe",success:"'{title}' in eine Aufgabe umgewandelt"},convertToTaskNote:"Checkbox-Aufgabe zu TaskNote konvertieren",convertAllTasksInNote:"Alle Aufgaben in Notiz konvertieren",insertTaskNoteLink:"Tasknote-Link einf\xFCgen",createInlineTask:"Neue Inline-Aufgabe erstellen",quickActionsCurrentTask:"Schnellaktionen f\xFCr aktuelle Aufgabe",goToTodayNote:"Zu heutiger Notiz gehen",startPomodoro:"Pomodoro-Timer starten",stopPomodoro:"Pomodoro-Timer stoppen",pauseResumePomodoro:"Pomodoro-Timer pausieren/fortsetzen",refreshCache:"Cache aktualisieren",exportAllTasksIcs:"Alle Aufgaben als ICS-Datei exportieren",viewReleaseNotes:"Versionshinweise anzeigen",startTimeTrackingWithSelector:"Zeiterfassung starten (Aufgabe ausw\xE4hlen)",editTimeEntries:"Zeiteintr\xE4ge bearbeiten (Aufgabe ausw\xE4hlen)",createOrOpenTask:"Aufgabe erstellen oder \xF6ffnen"},modals:{deviceCode:{title:"Google Calendar Autorisierung",instructions:{intro:"Um Ihren Google Calendar zu verbinden, folgen Sie bitte diesen Schritten:"},steps:{open:"\xD6ffnen Sie",inBrowser:"in Ihrem Browser",enterCode:"Geben Sie diesen Code ein, wenn Sie dazu aufgefordert werden:",signIn:"Melden Sie sich mit Ihrem Google-Konto an und gew\xE4hren Sie Zugriff",returnToObsidian:"Kehren Sie zu Obsidian zur\xFCck (dieses Fenster schlie\xDFt sich automatisch)"},codeLabel:"Ihr Code:",copyCodeAriaLabel:"Code kopieren",waitingForAuthorization:"Warte auf Autorisierung...",openBrowserButton:"Browser \xF6ffnen",cancelButton:"Abbrechen",expiresMinutesSeconds:"Code l\xE4uft ab in {minutes}m {seconds}s",expiresSeconds:"Code l\xE4uft ab in {seconds}s"},icsEventInfo:{calendarEventHeading:"Kalenderereignis",titleLabel:"Titel",calendarLabel:"Kalender",dateTimeLabel:"Datum & Uhrzeit",locationLabel:"Ort",descriptionLabel:"Beschreibung",urlLabel:"URL",relatedNotesHeading:"Verkn\xFCpfte Notizen & Aufgaben",noRelatedItems:"Keine verkn\xFCpften Notizen oder Aufgaben f\xFCr dieses Ereignis gefunden.",typeTask:"Aufgabe",typeNote:"Notiz",actionsHeading:"Aktionen",createFromEventLabel:"Aus Ereignis erstellen",createFromEventDesc:"Eine neue Notiz oder Aufgabe aus diesem Kalenderereignis erstellen",linkExistingLabel:"Vorhandene verkn\xFCpfen",linkExistingDesc:"Eine vorhandene Notiz mit diesem Kalenderereignis verkn\xFCpfen"},timeblockInfo:{editHeading:"Timeblock bearbeiten",dateTimeLabel:"Datum & Uhrzeit: ",titleLabel:"Titel",titleDesc:"Titel f\xFCr Ihren Timeblock",titlePlaceholder:"z.B. Deep Work Session",descriptionLabel:"Beschreibung",descriptionDesc:"Optionale Beschreibung f\xFCr den Timeblock",descriptionPlaceholder:"Fokus auf neue Features, keine Unterbrechungen",colorLabel:"Farbe",colorDesc:"Optionale Farbe f\xFCr den Timeblock",colorPlaceholder:"#3b82f6",attachmentsLabel:"Anh\xE4nge",attachmentsDesc:"Dateien oder Notizen, die mit diesem Timeblock verkn\xFCpft sind",addAttachmentButton:"Anhang hinzuf\xFCgen",addAttachmentTooltip:"Datei oder Notiz mit unscharfer Suche ausw\xE4hlen",deleteButton:"Timeblock l\xF6schen",saveButton:"\xC4nderungen speichern",deleteConfirmationTitle:"Timeblock l\xF6schen"},timeblockCreation:{heading:"Timeblock erstellen",dateLabel:"Datum: ",titleLabel:"Titel",titleDesc:"Titel f\xFCr Ihren Timeblock",titlePlaceholder:"z.B. Deep Work Session",startTimeLabel:"Startzeit",startTimeDesc:"Wann der Timeblock beginnt",startTimePlaceholder:"09:00",endTimeLabel:"Endzeit",endTimeDesc:"Wann der Timeblock endet",endTimePlaceholder:"11:00",descriptionLabel:"Beschreibung",descriptionDesc:"Optionale Beschreibung f\xFCr den Timeblock",descriptionPlaceholder:"Fokus auf neue Features, keine Unterbrechungen",colorLabel:"Farbe",colorDesc:"Optionale Farbe f\xFCr den Timeblock",colorPlaceholder:"#3b82f6",attachmentsLabel:"Anh\xE4nge",attachmentsDesc:"Dateien oder Notizen, die mit diesem Timeblock verkn\xFCpft werden sollen",addAttachmentButton:"Anhang hinzuf\xFCgen",addAttachmentTooltip:"Datei oder Notiz mit unscharfer Suche ausw\xE4hlen",createButton:"Timeblock erstellen"},icsNoteCreation:{heading:"Aus ICS Event erstellen",titleLabel:"Titel",titleDesc:"Titel f\xFCr den neuen Inhalt",folderLabel:"Ordner",folderDesc:"Zielordner (leer lassen f\xFCr Vault-Wurzel)",folderPlaceholder:"ordner/unterordner",createButton:"Erstellen",startLabel:"Start: ",endLabel:"Ende: ",locationLabel:"Ort: ",calendarLabel:"Kalender: ",useTemplateLabel:"Vorlage verwenden",useTemplateDesc:"Eine Vorlage beim Erstellen des Inhalts anwenden",templatePathLabel:"Vorlagenpfad",templatePathDesc:"Pfad zur Vorlagendatei",templatePathPlaceholder:"templates/ics-note-template.md"},unscheduledTasksSelector:{title:"Ungeplante Aufgaben",placeholder:"Tippen, um nach ungeplanten Aufgaben zu suchen...",instructions:{navigate:"zum Navigieren",schedule:"zum Planen",dismiss:"zum Verwerfen"}},migration:{title:"Zum neuen Wiederholungssystem migrieren",description:"TaskNotes verwendet jetzt branchen\xFCbliche RRULE-Muster f\xFCr Wiederholungen, die komplexere Zeitpl\xE4ne und bessere Kompatibilit\xE4t mit anderen Apps erm\xF6glichen.",tasksFound:"{count} Aufgabe(n) mit alten Wiederholungsmustern erkannt",noMigrationNeeded:"Keine Aufgaben erfordern Migration",warnings:{title:"Bevor Sie fortfahren:",backup:"Sichern Sie Ihren Vault vor der Migration",conversion:"Alte Wiederholungsmuster werden in das neue Format konvertiert",normalUsage:"Sie k\xF6nnen TaskNotes w\xE4hrend der Migration normal weiterverwenden",permanent:"Diese \xC4nderung ist dauerhaft und kann nicht automatisch r\xFCckg\xE4ngig gemacht werden"},benefits:{title:"Vorteile des neuen Systems:",powerfulPatterns:"Komplexe Wiederholungsmuster (z.B. 'jeden 2. Dienstag')",performance:"Bessere Leistung bei wiederkehrenden Aufgaben",compatibility:"Standard-Wiederholungsformat kompatibel mit anderen Apps",nlp:"Verbesserte Unterst\xFCtzung f\xFCr nat\xFCrliche Sprachverarbeitung"},progress:{title:"Migrationsfortschritt",preparing:"Migration wird vorbereitet...",completed:"Migration erfolgreich abgeschlossen",failed:"Migration fehlgeschlagen"},buttons:{migrate:"Migration starten",completed:"Schlie\xDFen"},errors:{title:"Fehler w\xE4hrend der Migration:"},notices:{completedWithErrors:"Migration mit einigen Fehlern abgeschlossen. \xDCberpr\xFCfen Sie die Fehlerliste oben.",success:"Alle Aufgaben erfolgreich migriert!",failed:"Migration fehlgeschlagen. Bitte \xFCberpr\xFCfen Sie die Konsole f\xFCr Details."},prompt:{message:"TaskNotes hat Aufgaben mit dem alten Wiederholungsformat erkannt. M\xF6chten Sie diese jetzt zum neuen System migrieren?",migrateNow:"Jetzt migrieren",remindLater:"Sp\xE4ter erinnern"}},task:{titlePlaceholder:"Was muss getan werden?",titleLabel:"Titel",titleDetailedPlaceholder:"Aufgabentitel...",detailsLabel:"Details",detailsPlaceholder:"Weitere Details hinzuf\xFCgen...",projectsLabel:"Projekte",projectsAdd:"Projekt hinzuf\xFCgen",projectsTooltip:"Projektnotiz mit unscharfer Suche ausw\xE4hlen",projectsRemoveTooltip:"Projekt entfernen",contextsLabel:"Kontexte",contextsPlaceholder:"kontext1, kontext2",tagsLabel:"Tags",tagsPlaceholder:"tag1, tag2",timeEstimateLabel:"Zeitsch\xE4tzung (Minuten)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"Ungespeicherte \xC4nderungen",message:"Sie haben ungespeicherte \xC4nderungen. M\xF6chten Sie diese speichern?",save:"\xC4nderungen speichern",discard:"\xC4nderungen verwerfen",cancel:"Weiter bearbeiten"},dependencies:{blockedBy:"Blockiert von",blocking:"Blockierend",placeholder:"[[Aufgabennotiz]]",addTaskButton:"Aufgabe hinzuf\xFCgen",selectTaskTooltip:"Aufgabennotiz mit unscharfer Suche ausw\xE4hlen",removeTaskTooltip:"Aufgabe entfernen"},organization:{projects:"Projekte",subtasks:"Unteraufgaben",addToProject:"Zu Projekt hinzuf\xFCgen",addToProjectButton:"Zu Projekt hinzuf\xFCgen",addSubtasks:"Unteraufgaben hinzuf\xFCgen",addSubtasksButton:"Unteraufgabe hinzuf\xFCgen",addSubtasksTooltip:"Aufgaben ausw\xE4hlen, um sie zu Unteraufgaben dieser Aufgabe zu machen",removeSubtaskTooltip:"Unteraufgabe entfernen",notices:{noEligibleSubtasks:"Keine geeigneten Aufgaben verf\xFCgbar, um als Unteraufgaben zugewiesen zu werden",subtaskSelectFailed:"Unteraufgaben-Auswahl konnte nicht ge\xF6ffnet werden"}},customFieldsLabel:"Benutzerdefinierte Felder",actions:{due:"F\xE4lligkeitsdatum setzen",scheduled:"Planungsdatum setzen",status:"Status setzen",priority:"Priorit\xE4t setzen",recurrence:"Wiederholung setzen",reminders:"Erinnerungen setzen"},buttons:{openNote:"Notiz \xF6ffnen",save:"Speichern"},tooltips:{dueValue:"F\xE4llig: {value}",scheduledValue:"Geplant: {value}",statusValue:"Status: {value}",priorityValue:"Priorit\xE4t: {value}",recurrenceValue:"Wiederholung: {value}",remindersSingle:"1 Erinnerung gesetzt",remindersPlural:"{count} Erinnerungen gesetzt"},dateMenu:{dueTitle:"F\xE4lligkeitsdatum setzen",scheduledTitle:"Planungsdatum setzen"},userFields:{textPlaceholder:"{field} eingeben...",numberPlaceholder:"0",datePlaceholder:"YYYY-MM-DD",listPlaceholder:"element1, element2, element3",pickDate:"{field}-Datum w\xE4hlen"},recurrence:{daily:"T\xE4glich",weekly:"W\xF6chentlich",everyTwoWeeks:"Alle 2 Wochen",weekdays:"Wochentage",weeklyOn:"W\xF6chentlich am {days}",monthly:"Monatlich",everyThreeMonths:"Alle 3 Monate",monthlyOnOrdinal:"Monatlich am {ordinal}",monthlyByWeekday:"Monatlich (nach Wochentag)",yearly:"J\xE4hrlich",yearlyOn:"J\xE4hrlich am {month} {day}",custom:"Benutzerdefiniert",countSuffix:"{count} mal",untilSuffix:"bis {date}",ordinal:"{number}{suffix}"}},taskSelector:{title:"Aufgabe ausw\xE4hlen",placeholder:"Tippen Sie, um nach Aufgaben zu suchen...",instructions:{navigate:"zum Navigieren",select:"zum Ausw\xE4hlen",dismiss:"zum Abbrechen"},notices:{noteNotFound:'Notiz "{name}" konnte nicht gefunden werden'},dueDate:{overdue:"F\xE4llig: {date} (\xFCberf\xE4llig)",today:"F\xE4llig: Heute"}},taskSelectorWithCreate:{title:"Aufgabe erstellen oder \xF6ffnen",placeholder:"Aufgaben suchen oder eingeben zum Erstellen...",instructions:{create:"um neue Aufgabe zu erstellen"},footer:{createLabel:" zum Erstellen: "},notices:{emptyQuery:"Bitte geben Sie eine Aufgabenbeschreibung ein",invalidTitle:"Kein g\xFCltiger Aufgabentitel erkannt"}},taskCreation:{title:"Aufgabe erstellen",actions:{fillFromNaturalLanguage:"Formular aus nat\xFCrlicher Sprache ausf\xFCllen",hideDetailedOptions:"Detailoptionen ausblenden",showDetailedOptions:"Detailoptionen anzeigen"},nlPlaceholder:"Lebensmittel morgen um 15 Uhr kaufen @zuhause #besorgungen",notices:{titleRequired:"Bitte gib einen Aufgabentitel ein",success:'Aufgabe "{title}" erfolgreich erstellt',successShortened:'Aufgabe "{title}" erfolgreich erstellt (Dateiname wegen L\xE4nge gek\xFCrzt)',failure:"Aufgabe konnte nicht erstellt werden: {message}",blockingUnresolved:"Konnte nicht aufl\xF6sen: {entries}"}},taskEdit:{title:"Aufgabe bearbeiten",sections:{completions:"Abschl\xFCsse",taskInfo:"Aufgabeninformationen"},metadata:{totalTrackedTime:"Gesamte erfasste Zeit:",created:"Erstellt:",modified:"Ge\xE4ndert:",file:"Datei:"},buttons:{archive:"Archivieren",unarchive:"Entarchivieren"},notices:{titleRequired:"Bitte gib einen Aufgabentitel ein",noChanges:"Keine \xC4nderungen zu speichern",updateSuccess:'Aufgabe "{title}" erfolgreich aktualisiert',updateFailure:"Aufgabe konnte nicht aktualisiert werden: {message}",dependenciesUpdateSuccess:"Abh\xE4ngigkeiten aktualisiert",blockingUnresolved:"Konnte nicht aufl\xF6sen: {entries}",fileMissing:"Aufgabendatei konnte nicht gefunden werden: {path}",openNoteFailure:"Aufgabennotiz konnte nicht ge\xF6ffnet werden",archiveSuccess:"Aufgabe erfolgreich {action}",archiveFailure:"Aufgabe konnte nicht archiviert werden"},archiveAction:{archived:"archiviert",unarchived:"entarchiviert"}},storageLocation:{title:{migrate:"Pomodoro-Daten migrieren?",switch:"Zu t\xE4glichen Notizen wechseln?"},message:{migrate:"Dies wird deine bestehenden Pomodoro-Sitzungsdaten zu Frontmatter in t\xE4glichen Notizen migrieren. Die Daten werden nach Datum gruppiert und in jeder t\xE4glichen Notiz gespeichert.",switch:"Pomodoro-Sitzungsdaten werden im Frontmatter der t\xE4glichen Notizen statt in der Plugin-Datendatei gespeichert."},whatThisMeans:"Was das bedeutet:",bullets:{dailyNotesRequired:"Daily Notes Core Plugin muss aktiviert bleiben",storedInNotes:"Daten werden im Frontmatter deiner t\xE4glichen Notizen gespeichert",migrateData:"Bestehende Plugin-Daten werden migriert und dann gel\xF6scht",futureSessions:"Zuk\xFCnftige Sitzungen werden in t\xE4glichen Notizen gespeichert",dataLongevity:"Dies bietet bessere Datenbest\xE4ndigkeit mit deinen Notizen"},finalNote:{migrate:"\u26A0\uFE0F Stelle sicher, dass du Backups hast, falls n\xF6tig. Diese \xC4nderung kann nicht automatisch r\xFCckg\xE4ngig gemacht werden.",switch:"Du kannst jederzeit in Zukunft zur\xFCck zur Plugin-Speicherung wechseln."},buttons:{migrate:"Daten migrieren",switch:"Speicherung wechseln"}},dueDate:{title:"F\xE4lligkeitsdatum setzen",taskLabel:"Aufgabe: {title}",sections:{dateTime:"F\xE4lligkeitsdatum & Zeit",quickOptions:"Schnelloptionen"},descriptions:{dateTime:"Setze, wann diese Aufgabe abgeschlossen werden soll"},inputs:{date:{ariaLabel:"F\xE4lligkeitsdatum f\xFCr Aufgabe",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"F\xE4lligkeitszeit f\xFCr Aufgabe (optional)",placeholder:"HH:MM"}},quickOptions:{today:"Heute",todayAriaLabel:"F\xE4lligkeitsdatum auf heute setzen",tomorrow:"Morgen",tomorrowAriaLabel:"F\xE4lligkeitsdatum auf morgen setzen",nextWeek:"N\xE4chste Woche",nextWeekAriaLabel:"F\xE4lligkeitsdatum auf n\xE4chste Woche setzen",now:"Jetzt",nowAriaLabel:"F\xE4lligkeitsdatum und -zeit auf jetzt setzen",clear:"L\xF6schen",clearAriaLabel:"F\xE4lligkeitsdatum l\xF6schen"},errors:{invalidDateTime:"Bitte gib ein g\xFCltiges Datums- und Zeitformat ein",updateFailed:"F\xE4lligkeitsdatum konnte nicht aktualisiert werden. Bitte versuche es erneut."}},scheduledDate:{title:"Planungsdatum setzen",taskLabel:"Aufgabe: {title}",sections:{dateTime:"Planungsdatum & Zeit",quickOptions:"Schnelloptionen"},descriptions:{dateTime:"Setze, wann du an dieser Aufgabe arbeiten m\xF6chtest"},inputs:{date:{ariaLabel:"Planungsdatum f\xFCr Aufgabe",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"Planungszeit f\xFCr Aufgabe (optional)",placeholder:"HH:MM"}},quickOptions:{today:"Heute",todayAriaLabel:"Planungsdatum auf heute setzen",tomorrow:"Morgen",tomorrowAriaLabel:"Planungsdatum auf morgen setzen",nextWeek:"N\xE4chste Woche",nextWeekAriaLabel:"Planungsdatum auf n\xE4chste Woche setzen",now:"Jetzt",nowAriaLabel:"Planungsdatum und -zeit auf jetzt setzen",clear:"L\xF6schen",clearAriaLabel:"Planungsdatum l\xF6schen"},errors:{invalidDateTime:"Bitte gib ein g\xFCltiges Datums- und Zeitformat ein",updateFailed:"Planungsdatum konnte nicht aktualisiert werden. Bitte versuche es erneut."}},timeEntryEditor:{title:"Zeiteintr\xE4ge - {taskTitle}",addEntry:"Zeiteintrag hinzuf\xFCgen",noEntries:"Noch keine Zeiteintr\xE4ge",deleteEntry:"Eintrag l\xF6schen",startTime:"Startzeit",endTime:"Endzeit (leer lassen, falls noch laufend)",duration:"Dauer (Minuten)",durationDesc:"Berechnete Dauer \xFCberschreiben",durationPlaceholder:"Dauer in Minuten eingeben",description:"Beschreibung",descriptionPlaceholder:"Woran haben Sie gearbeitet?",calculatedDuration:"Berechnet: {minutes} Minuten",totalTime:"{hours}h {minutes}m gesamt",totalMinutes:"{minutes}m gesamt",saved:"Zeiteintr\xE4ge gespeichert",saveFailed:"Speichern der Zeiteintr\xE4ge fehlgeschlagen",openFailed:"\xD6ffnen des Zeiteintrag-Editors fehlgeschlagen",noTasksWithEntries:"Keine Aufgaben mit Zeiteintr\xE4gen zum Bearbeiten",validation:{missingStartTime:"Startzeit ist erforderlich",endBeforeStart:"Endzeit muss nach der Startzeit liegen"}},timeTracking:{noTasksAvailable:"Keine Aufgaben zur Zeiterfassung verf\xFCgbar",started:"Zeiterfassung gestartet f\xFCr: {taskTitle}",startFailed:"Starten der Zeiterfassung fehlgeschlagen"},timeEntry:{mustHaveSpecificTime:"Zeiteintr\xE4ge m\xFCssen spezifische Zeiten haben. Bitte w\xE4hlen Sie einen Zeitbereich in der Wochen- oder Tagesansicht.",noTasksAvailable:"Keine Aufgaben zum Erstellen von Zeiteintr\xE4gen verf\xFCgbar",created:"Zeiteintrag erstellt f\xFCr {taskTitle} ({duration} Minuten)",createFailed:"Erstellen des Zeiteintrags fehlgeschlagen"}},contextMenus:{task:{status:"Status",statusSelected:"\u2713 {label}",priority:"Priorit\xE4t",prioritySelected:"\u2713 {label}",dueDate:"F\xE4lligkeitsdatum",scheduledDate:"Planungsdatum",reminders:"Erinnerungen",remindBeforeDue:"Vor F\xE4lligkeit erinnern\u2026",remindBeforeScheduled:"Vor Planung erinnern\u2026",manageReminders:"Alle Erinnerungen verwalten\u2026",clearReminders:"Alle Erinnerungen l\xF6schen",startTimeTracking:"Zeiterfassung starten",stopTimeTracking:"Zeiterfassung stoppen",editTimeEntries:"Zeiteintr\xE4ge bearbeiten",archive:"Archivieren",unarchive:"Entarchivieren",openNote:"Notiz \xF6ffnen",copyTitle:"Aufgabentitel kopieren",noteActions:"Notizaktionen",rename:"Umbenennen",renameTitle:"Datei umbenennen",renamePlaceholder:"Neuen Namen eingeben",delete:"L\xF6schen",deleteTitle:"Datei l\xF6schen",deleteMessage:'Bist du sicher, dass du "{name}" l\xF6schen m\xF6chtest?',deleteConfirm:"L\xF6schen",copyPath:"Pfad kopieren",copyUrl:"Obsidian URL kopieren",showInExplorer:"Im Datei-Explorer anzeigen",addToCalendar:"Zum Kalender hinzuf\xFCgen",calendar:{google:"Google Kalender",outlook:"Outlook Kalender",yahoo:"Yahoo Kalender",downloadIcs:".ics Datei herunterladen"},recurrence:"Wiederholung",clearRecurrence:"Wiederholung l\xF6schen",customRecurrence:"Benutzerdefinierte Wiederholung...",createSubtask:"Unteraufgabe erstellen",dependencies:{title:"Abh\xE4ngigkeiten",addBlockedBy:"Blockiert von hinzuf\xFCgen\u2026",addBlockedByTitle:"Aufgaben hinzuf\xFCgen, von denen dies abh\xE4ngt",addBlocking:"Blockierend hinzuf\xFCgen\u2026",addBlockingTitle:"Aufgaben hinzuf\xFCgen, die dies blockiert",removeBlockedBy:"Blockiert-von entfernen\u2026",removeBlocking:"Blockierend entfernen\u2026",inputPlaceholder:"[[Aufgabennotiz]]",notices:{noEntries:"Bitte geben Sie mindestens eine Aufgabe ein",blockedByAdded:"{count} Abh\xE4ngigkeit hinzugef\xFCgt",blockedByRemoved:"Abh\xE4ngigkeit entfernt",blockingAdded:"{count} abh\xE4ngige Aufgabe hinzugef\xFCgt",blockingRemoved:"Abh\xE4ngige Aufgabe entfernt",unresolved:"Konnte nicht aufl\xF6sen: {entries}",noEligibleTasks:"Keine passenden Aufgaben verf\xFCgbar",updateFailed:"Abh\xE4ngigkeiten konnten nicht aktualisiert werden"}},organization:{title:"Organisation",projects:"Projekte",addToProject:"Zu Projekt hinzuf\xFCgen\u2026",subtasks:"Unteraufgaben",addSubtasks:"Unteraufgaben hinzuf\xFCgen\u2026",notices:{alreadyInProject:"Aufgabe ist bereits in diesem Projekt",alreadySubtask:"Aufgabe ist bereits eine Unteraufgabe dieser Aufgabe",addedToProject:"Zu Projekt hinzugef\xFCgt: {project}",addedAsSubtask:"{subtask} als Unteraufgabe von {parent} hinzugef\xFCgt",addToProjectFailed:"Hinzuf\xFCgen der Aufgabe zum Projekt fehlgeschlagen",addAsSubtaskFailed:"Hinzuf\xFCgen der Aufgabe als Unteraufgabe fehlgeschlagen",projectSelectFailed:"Projektauswahl konnte nicht ge\xF6ffnet werden",subtaskSelectFailed:"Unteraufgaben-Auswahl konnte nicht ge\xF6ffnet werden",noEligibleSubtasks:"Keine geeigneten Aufgaben verf\xFCgbar, um als Unteraufgaben zugewiesen zu werden",currentTaskNotFound:"Aktuelle Aufgabendatei nicht gefunden"}},subtasks:{loading:"Unteraufgaben werden geladen...",noSubtasks:"Keine Unteraufgaben gefunden",loadFailed:"Unteraufgaben konnten nicht geladen werden"},markComplete:"Als abgeschlossen f\xFCr dieses Datum markieren",markIncomplete:"Als unvollst\xE4ndig f\xFCr dieses Datum markieren",skipInstance:"Instanz \xFCberspringen",unskipInstance:"Instanz nicht \xFCberspringen",quickReminders:{atTime:"Zur Zeit des Events",fiveMinutes:"5 Minuten vorher",fifteenMinutes:"15 Minuten vorher",oneHour:"1 Stunde vorher",oneDay:"1 Tag vorher"},notices:{toggleCompletionFailure:"Abschluss der wiederkehrenden Aufgabe konnte nicht umgeschaltet werden: {message}",toggleSkipFailure:"\xDCberspringen der wiederkehrenden Aufgabe konnte nicht umgeschaltet werden: {message}",updateDueDateFailure:"Aufgaben-F\xE4lligkeitsdatum konnte nicht aktualisiert werden: {message}",updateScheduledFailure:"Aufgaben-Planungsdatum konnte nicht aktualisiert werden: {message}",updateRemindersFailure:"Erinnerungen konnten nicht aktualisiert werden",clearRemindersFailure:"Erinnerungen konnten nicht gel\xF6scht werden",addReminderFailure:"Erinnerung konnte nicht hinzugef\xFCgt werden",archiveFailure:"Aufgabenarchiv konnte nicht umgeschaltet werden: {message}",copyTitleSuccess:"Aufgabentitel in Zwischenablage kopiert",copyFailure:"Kopieren in Zwischenablage fehlgeschlagen",renameSuccess:'Umbenannt zu "{name}"',renameFailure:"Datei konnte nicht umbenannt werden",copyPathSuccess:"Dateipfad in Zwischenablage kopiert",copyUrlSuccess:"Obsidian URL in Zwischenablage kopiert",updateRecurrenceFailure:"Aufgabenwiederholung konnte nicht aktualisiert werden: {message}"}},ics:{showDetails:"Details anzeigen",createTask:"Aufgabe aus Event erstellen",createNote:"Notiz aus Event erstellen",linkNote:"Bestehende Notiz verlinken",copyTitle:"Titel kopieren",copyLocation:"Ort kopieren",copyUrl:"URL kopieren",copyMarkdown:"Als Markdown kopieren",subscriptionUnknown:"Unbekannter Kalender",notices:{copyTitleSuccess:"Event-Titel in Zwischenablage kopiert",copyLocationSuccess:"Ort in Zwischenablage kopiert",copyUrlSuccess:"Event-URL in Zwischenablage kopiert",copyMarkdownSuccess:"Event-Details als Markdown kopiert",copyFailure:"Kopieren in Zwischenablage fehlgeschlagen",taskCreated:"Aufgabe erstellt: {title}",taskCreateFailure:"Aufgabe aus Event konnte nicht erstellt werden",noteCreated:"Notiz erfolgreich erstellt",creationFailure:"Erstellungsmodal konnte nicht ge\xF6ffnet werden",linkSuccess:'Notiz "{name}" mit Event verlinkt',linkFailure:"Notiz konnte nicht verlinkt werden",linkSelectionFailure:"Notizauswahl konnte nicht ge\xF6ffnet werden"},markdown:{titleFallback:"Unbenanntes Event",calendar:"**Kalender:** {value}",date:"**Datum & Zeit:** {value}",location:"**Ort:** {value}",descriptionHeading:"### Beschreibung",url:"**URL:** {value}",at:" um {time}"}},date:{increment:{plusOneDay:"+1 Tag",minusOneDay:"-1 Tag",plusOneWeek:"+1 Woche",minusOneWeek:"-1 Woche"},basic:{today:"Heute",tomorrow:"Morgen",thisWeekend:"Dieses Wochenende",nextWeek:"N\xE4chste Woche",nextMonth:"N\xE4chster Monat"},weekdaysLabel:"Wochentage",selected:"\u2713 {label}",pickDateTime:"Datum & Zeit w\xE4hlen\u2026",clearDate:"Datum l\xF6schen",modal:{title:"Datum & Zeit setzen",dateLabel:"Datum",timeLabel:"Zeit (optional)",select:"Ausw\xE4hlen"}}},services:{pomodoro:{notices:{alreadyRunning:"Ein Pomodoro l\xE4uft bereits",resumeCurrentSession:"Setze die aktuelle Sitzung fort, anstatt eine neue zu starten",timerAlreadyRunning:"Ein Timer l\xE4uft bereits",resumeSessionInstead:"Setze die aktuelle Sitzung fort, anstatt eine neue zu starten",shortBreakStarted:"Kurze Pause gestartet",longBreakStarted:"Lange Pause gestartet",paused:"Pomodoro pausiert",resumed:"Pomodoro fortgesetzt",stoppedAndReset:"Pomodoro gestoppt und zur\xFCckgesetzt",migrationSuccess:"{count} Pomodoro-Sitzungen erfolgreich zu t\xE4glichen Notizen migriert.",migrationFailure:"Migration der Pomodoro-Daten fehlgeschlagen. Bitte versuche es erneut oder pr\xFCfe die Konsole f\xFCr Details."}},icsSubscription:{notices:{calendarNotFound:'Kalender "{name}" nicht gefunden (404). Bitte pr\xFCfe, ob die ICS-URL korrekt ist und der Kalender \xF6ffentlich zug\xE4nglich ist.',calendarAccessDenied:'Kalender "{name}" Zugriff verweigert (500). Dies k\xF6nnte auf Microsoft Outlook Server-Beschr\xE4nkungen zur\xFCckzuf\xFChren sein. Versuche, die ICS-URL aus deinen Kalendereinstellungen neu zu generieren.',fetchRemoteFailed:'Remote-Kalender "{name}" konnte nicht abgerufen werden: {error}',readLocalFailed:'Lokaler Kalender "{name}" konnte nicht gelesen werden: {error}'}},calendarExport:{notices:{generateLinkFailed:"Kalenderlink konnte nicht generiert werden",noTasksToExport:"Keine Aufgaben zum Exportieren gefunden",downloadSuccess:"{filename} mit {count} Aufgabe{plural} heruntergeladen",downloadFailed:"Kalenderdatei konnte nicht heruntergeladen werden",singleDownloadSuccess:"{filename} heruntergeladen"}},filter:{groupLabels:{noProject:"Kein Projekt",noTags:"Keine Tags",invalidDate:"Ung\xFCltiges Datum",due:{overdue:"\xDCberf\xE4llig",today:"Heute",tomorrow:"Morgen",nextSevenDays:"N\xE4chste sieben Tage",later:"Sp\xE4ter",none:"Kein F\xE4lligkeitsdatum"},scheduled:{past:"Vergangene Planung",today:"Heute",tomorrow:"Morgen",nextSevenDays:"N\xE4chste sieben Tage",later:"Sp\xE4ter",none:"Kein Planungsdatum"}},errors:{noDatesProvided:"Keine Daten bereitgestellt"},folders:{root:"(Root)"}},instantTaskConvert:{notices:{noCheckboxTasks:"Keine Checkbox-Aufgaben in der aktuellen Notiz gefunden.",convertingTasks:"{count} Aufgabe{plural} wird konvertiert...",conversionSuccess:"\u2705 {count} Aufgabe{plural} erfolgreich zu TaskNotes konvertiert!",partialConversion:"{successCount} Aufgabe{successPlural} konvertiert. {failureCount} fehlgeschlagen.",batchConversionFailed:"Batch-Konvertierung fehlgeschlagen. Bitte versuche es erneut.",invalidParameters:"Ung\xFCltige Eingabeparameter.",emptyLine:"Aktuelle Zeile ist leer oder enth\xE4lt keinen g\xFCltigen Inhalt.",parseError:"Fehler beim Parsen der Aufgabe: {error}",invalidTaskData:"Ung\xFCltige Aufgabendaten.",replaceLineFailed:"Aufgabenzeile konnte nicht ersetzt werden.",conversionComplete:"Aufgabe konvertiert: {title}",conversionCompleteShortened:'Aufgabe konvertiert: "{title}" (Dateiname wegen L\xE4nge gek\xFCrzt)',fileExists:"Eine Datei mit diesem Namen existiert bereits. Bitte versuche es erneut oder benenne die Aufgabe um.",conversionFailed:"Aufgabe konnte nicht konvertiert werden. Bitte versuche es erneut."}},icsNote:{notices:{templateNotFound:"Vorlage nicht gefunden: {path}",templateProcessError:"Fehler beim Verarbeiten der Vorlage: {template}",linkedToEvent:"Notiz mit ICS-Event verlinkt: {title}"}},task:{notices:{templateNotFound:"Aufgabenk\xF6rper-Vorlage nicht gefunden: {path}",templateReadError:"Fehler beim Lesen der Aufgabenk\xF6rper-Vorlage: {template}",moveTaskFailed:"{operation} Aufgabe konnte nicht verschoben werden: {error}"}},autoExport:{notices:{exportFailed:"TaskNotes Auto-Export fehlgeschlagen: {error}"}}},ui:{icsCard:{untitledEvent:"Unbenanntes Event",allDay:"Ganzt\xE4gig",calendarEvent:"Kalenderevent",calendarFallback:"Kalender"},noteCard:{createdLabel:"Erstellt:",dailyBadge:"T\xE4glich",dailyTooltip:"T\xE4gliche Notiz"},taskCard:{blockedBadge:"Blockiert",blockedBadgeTooltip:"Diese Aufgabe wartet auf eine andere Aufgabe",blockingBadge:"Blockierend",blockingBadgeTooltip:"Diese Aufgabe blockiert eine andere Aufgabe",blockingToggle:"Blockiert {count} Aufgaben",loadingDependencies:"Abh\xE4ngigkeiten werden geladen\u2026",blockingEmpty:"Keine abh\xE4ngigen Aufgaben",blockingLoadError:"Abh\xE4ngigkeiten konnten nicht geladen werden"},propertyEventCard:{unknownFile:"Unbekannte Datei"},filterHeading:{allViewName:"Alle"},filterBar:{saveView:"Ansicht speichern",saveViewNamePlaceholder:"Ansichtsname eingeben...",saveButton:"Speichern",views:"Ansichten",savedFilterViews:"Gespeicherte Filteransichten",filters:"Filter",properties:"Eigenschaften",sort:"Sortieren",newTask:"Neu",expandAllGroups:"Alle Gruppen ausklappen",collapseAllGroups:"Alle Gruppen einklappen",searchTasksPlaceholder:"Aufgaben suchen...",searchTasksTooltip:"Aufgabentitel suchen",filterUnavailable:"Filterleiste vor\xFCbergehend nicht verf\xFCgbar",toggleFilter:"Filter umschalten",activeFiltersTooltip:"Aktive Filter \u2013 Klicken zum \xC4ndern, Rechtsklick zum L\xF6schen",configureVisibleProperties:"Sichtbare Eigenschaften konfigurieren",sortAndGroupOptions:"Sortier- und Gruppenoptionen",sortMenuHeader:"Sortieren",orderMenuHeader:"Reihenfolge",groupMenuHeader:"Gruppieren",createNewTask:"Neue Aufgabe erstellen",filter:"Filter",displayOrganization:"Anzeige & Organisation",viewOptions:"Ansichtsoptionen",addFilter:"Filter hinzuf\xFCgen",addFilterGroup:"Filtergruppe hinzuf\xFCgen",addFilterTooltip:"Neue Filterbedingung hinzuf\xFCgen",addFilterGroupTooltip:"Verschachtelte Filtergruppe hinzuf\xFCgen",clearAllFilters:"Alle Filter und Gruppen l\xF6schen",saveCurrentFilter:"Aktuellen Filter als Ansicht speichern",closeFilterModal:"Filtermodal schlie\xDFen",deleteFilterGroup:"Filtergruppe l\xF6schen",deleteCondition:"Bedingung l\xF6schen",all:"Alle",any:"Beliebige",followingAreTrue:"der folgenden sind wahr:",where:"wo",selectProperty:"Ausw\xE4hlen...",chooseProperty:"W\xE4hle, nach welcher Aufgabeneigenschaft gefiltert werden soll",chooseOperator:"W\xE4hle, wie der Eigenschaftswert verglichen werden soll",enterValue:"Gib den Wert zum Filtern ein",selectValue:"W\xE4hle eine {property} zum Filtern",sortBy:"Sortieren nach:",toggleSortDirection:"Sortierrichtung umschalten",chooseSortMethod:"W\xE4hle, wie Aufgaben sortiert werden sollen",groupBy:"Gruppieren nach:",chooseGroupMethod:"Aufgaben nach gemeinsamer Eigenschaft gruppieren",toggleViewOption:"{option} umschalten",expandCollapseFilters:"Klicken zum Aus-/Einklappen der Filterbedingungen",expandCollapseSort:"Klicken zum Aus-/Einklappen der Sortier- und Gruppenoptionen",expandCollapseViewOptions:"Klicken zum Aus-/Einklappen der ansichtsspezifischen Optionen",naturalLanguageDates:"Nat\xFCrliche Sprache Daten",naturalLanguageExamples:"Beispiele f\xFCr nat\xFCrliche Sprache Daten anzeigen",enterNumericValue:"Gib einen numerischen Wert zum Filtern ein",enterDateValue:"Gib ein Datum in nat\xFCrlicher Sprache oder ISO-Format ein",pickDateTime:"Datum & Zeit w\xE4hlen",noSavedViews:"Keine gespeicherten Ansichten",savedViews:"Gespeicherte Ansichten",yourSavedFilters:"Deine gespeicherten Filterkonfigurationen",dragToReorder:"Ziehen zum Neuordnen der Ansichten",loadSavedView:"Gespeicherte Ansicht laden: {name}",deleteView:"Ansicht l\xF6schen",deleteViewTitle:"Ansicht l\xF6schen",deleteViewMessage:'Bist du sicher, dass du die Ansicht "{name}" l\xF6schen m\xF6chtest?',manageAllReminders:"Alle Erinnerungen verwalten...",clearAllReminders:"Alle Erinnerungen l\xF6schen",customRecurrence:"Benutzerdefinierte Wiederholung...",clearRecurrence:"Wiederholung l\xF6schen",sortOptions:{dueDate:"F\xE4lligkeitsdatum",scheduledDate:"Planungsdatum",priority:"Priorit\xE4t",status:"Status",title:"Titel",createdDate:"Erstellungsdatum",tags:"Tags",ascending:"Aufsteigend",descending:"Absteigend"},group:{none:"Keine",status:"Status",priority:"Priorit\xE4t",context:"Kontext",project:"Projekt",dueDate:"F\xE4lligkeitsdatum",scheduledDate:"Planungsdatum",tags:"Tags",completedDate:"Abschlussdatum"},subgroupLabel:"UNTERGRUPPE",notices:{propertiesMenuFailed:"Eigenschaftenmen\xFC konnte nicht angezeigt werden"}}},components:{dateContextMenu:{weekdays:"Wochentage",clearDate:"Datum l\xF6schen",today:"Heute",tomorrow:"Morgen",thisWeekend:"Dieses Wochenende",nextWeek:"N\xE4chste Woche",nextMonth:"N\xE4chsten Monat",setDateTime:"Datum & Zeit setzen",dateLabel:"Datum",timeLabel:"Zeit (optional)"},subgroupMenuBuilder:{none:"Keine",status:"Status",priority:"Priorit\xE4t",context:"Kontext",project:"Projekt",dueDate:"F\xE4lligkeitsdatum",scheduledDate:"Planungsdatum",tags:"Tags",completedDate:"Abschlussdatum",subgroup:"UNTERGRUPPE"},propertyVisibilityDropdown:{coreProperties:"KERNEIGENSCHAFTEN",organization:"ORGANISATION",customProperties:"BENUTZERDEFINIERTE EIGENSCHAFTEN",failed:"Eigenschaftenmen\xFC konnte nicht angezeigt werden",properties:{statusDot:"Statuspunkt",priorityDot:"Priorit\xE4tspunkt",dueDate:"F\xE4lligkeitsdatum",scheduledDate:"Planungsdatum",timeEstimate:"Zeitsch\xE4tzung",totalTrackedTime:"Gesamte erfasste Zeit",recurrence:"Wiederholung",completedDate:"Abschlussdatum",createdDate:"Erstellungsdatum",modifiedDate:"\xC4nderungsdatum",projects:"Projekte",contexts:"Kontexte",tags:"Tags",blocked:"Blockiert",blocking:"Blockierend"}},reminderContextMenu:{remindBeforeDue:"Vor F\xE4lligkeit erinnern...",remindBeforeScheduled:"Vor Planung erinnern...",manageAllReminders:"Alle Erinnerungen verwalten...",clearAllReminders:"Alle Erinnerungen l\xF6schen",quickReminders:{atTime:"Zur Zeit des Events",fiveMinutesBefore:"5 Minuten vorher",fifteenMinutesBefore:"15 Minuten vorher",oneHourBefore:"1 Stunde vorher",oneDayBefore:"1 Tag vorher"}},recurrenceContextMenu:{daily:"T\xE4glich",weeklyOn:"W\xF6chentlich am {day}",everyTwoWeeksOn:"Alle 2 Wochen am {day}",monthlyOnThe:"Monatlich am {ordinal}",everyThreeMonthsOnThe:"Alle 3 Monate am {ordinal}",yearlyOn:"J\xE4hrlich am {month} {ordinal}",weekdaysOnly:"Nur Wochentage",dailyAfterCompletion:"T\xE4glich (nach Abschluss)",every3DaysAfterCompletion:"Alle 3 Tage (nach Abschluss)",weeklyAfterCompletion:"W\xF6chentlich (nach Abschluss)",monthlyAfterCompletion:"Monatlich (nach Abschluss)",customRecurrence:"Benutzerdefinierte Wiederholung...",clearRecurrence:"Wiederholung l\xF6schen",customRecurrenceModal:{title:"Benutzerdefinierte Wiederholung",startDate:"Startdatum",startDateDesc:"Das Datum, an dem das Wiederholungsmuster beginnt",startTime:"Startzeit",startTimeDesc:"Die Zeit, zu der wiederkehrende Instanzen erscheinen sollen (optional)",recurFrom:"Wiederholen ab",recurFromDesc:"Wann soll das n\xE4chste Vorkommen berechnet werden?",scheduledDate:"Geplantes Datum",completionDate:"Abschlussdatum",frequency:"H\xE4ufigkeit",interval:"Intervall",intervalDesc:"Alle X Tage/Wochen/Monate/Jahre",daysOfWeek:"Wochentage",daysOfWeekDesc:"Bestimmte Tage ausw\xE4hlen (f\xFCr w\xF6chentliche Wiederholung)",monthlyRecurrence:"Monatliche Wiederholung",monthlyRecurrenceDesc:"W\xE4hle, wie monatlich wiederholt werden soll",yearlyRecurrence:"J\xE4hrliche Wiederholung",yearlyRecurrenceDesc:"W\xE4hle, wie j\xE4hrlich wiederholt werden soll",endCondition:"Endbedingung",endConditionDesc:"W\xE4hle, wann die Wiederholung enden soll",neverEnds:"Endet nie",endAfterOccurrences:"Nach {count} Vorkommen beenden",endOnDate:"Am {date} beenden",onDayOfMonth:"Am Tag {day} jeden Monat",onTheWeekOfMonth:"Am {week} {day} jeden Monat",onDateOfYear:"Am {month} {day} jedes Jahr",onTheWeekOfYear:"Am {week} {day} von {month} jedes Jahr",frequencies:{daily:"T\xE4glich",weekly:"W\xF6chentlich",monthly:"Monatlich",yearly:"J\xE4hrlich"},weekPositions:{first:"ersten",second:"zweiten",third:"dritten",fourth:"vierten",last:"letzten"},weekdays:{monday:"Montag",tuesday:"Dienstag",wednesday:"Mittwoch",thursday:"Donnerstag",friday:"Freitag",saturday:"Samstag",sunday:"Sonntag"},weekdaysShort:{mon:"Mo",tue:"Di",wed:"Mi",thu:"Do",fri:"Fr",sat:"Sa",sun:"So"},cancel:"Abbrechen",save:"Speichern"}}}};var WG={common:{appName:"TaskNotes",new:"Nuevo",cancel:"Cancelar",confirm:"Confirmar",close:"Cerrar",save:"Guardar",language:"Idioma",systemDefault:"Predeterminado del sistema",loading:"Cargando...",languages:{en:"Ingl\xE9s",fr:"Franc\xE9s",ru:"Ruso",zh:"Chino",de:"Alem\xE1n",es:"Espa\xF1ol",ja:"Japon\xE9s",pt:"Portugu\xE9s (Brasil)"},weekdays:{sunday:"Domingo",monday:"Lunes",tuesday:"Martes",wednesday:"Mi\xE9rcoles",thursday:"Jueves",friday:"Viernes",saturday:"S\xE1bado"},months:{january:"Enero",february:"Febrero",march:"Marzo",april:"Abril",may:"Mayo",june:"Junio",july:"Julio",august:"Agosto",september:"Septiembre",october:"Octubre",november:"Noviembre",december:"Diciembre"}},views:{agenda:{title:"Agenda",today:"Hoy",overdue:"Vencido",refreshCalendars:"Actualizar calendarios",actions:{previousPeriod:"Per\xEDodo anterior",nextPeriod:"Pr\xF3ximo per\xEDodo",goToToday:"Ir a hoy",refreshCalendars:"Actualizar suscripciones de calendario"},loading:"Cargando agenda...",dayToggle:"Cambiar d\xEDa",overdueToggle:"Alternar secci\xF3n de vencidos",expandAllDays:"Expandir todos los d\xEDas",collapseAllDays:"Contraer todos los d\xEDas",notices:{calendarNotReady:"Servicio de calendario a\xFAn no listo",calendarRefreshed:"Suscripciones de calendario actualizadas",refreshFailed:"Error al actualizar"},empty:{noItemsScheduled:"No hay elementos programados",noItemsFound:"No se encontraron elementos",helpText:"Cree tareas con fechas de vencimiento o programadas, o agregue notas para verlas aqu\xED."},contextMenu:{showOverdueSection:"Mostrar secci\xF3n de vencidos",showNotes:"Mostrar notas",calendarSubscriptions:"Suscripciones de calendario"},periods:{thisWeek:"Esta semana"},tipPrefix:"Consejo: "},taskList:{title:"Tareas",expandAllGroups:"Expandir todos los grupos",collapseAllGroups:"Contraer todos los grupos",noTasksFound:"No se encontraron tareas para los filtros seleccionados."},notes:{title:"Notas",refreshButton:"Actualizar",refreshingButton:"Actualizando...",notices:{indexingDisabled:"Indexaci\xF3n de notas deshabilitada"},empty:{noNotesFound:"No se encontraron notas",helpText:"No se encontraron notas para la fecha seleccionada. Intente seleccionar una fecha diferente en la vista de Mini Calendario o cree algunas notas."},loading:"Cargando notas...",refreshButtonAriaLabel:"Actualizar lista de notas"},miniCalendar:{title:"Mini Calendario"},advancedCalendar:{title:"Calendario",filters:{showFilters:"Mostrar filtros",hideFilters:"Ocultar filtros"},viewOptions:{calendarSubscriptions:"Suscripciones de calendario",timeEntries:"Entradas de tiempo",timeblocks:"Bloques de tiempo",scheduledDates:"Fechas programadas",dueDates:"Fechas de vencimiento",allDaySlot:"Espacio de d\xEDa completo",scheduledTasks:"Tareas programadas",recurringTasks:"Tareas recurrentes"},buttons:{refresh:"Actualizar",refreshHint:"Actualizar suscripciones de calendario"},notices:{icsServiceNotAvailable:"Servicio de suscripci\xF3n ICS no disponible",calendarRefreshedAll:"Todas las suscripciones de calendario se actualizaron correctamente",refreshFailed:"Error al actualizar algunas suscripciones de calendario",timeblockSpecificTime:"Los bloques de tiempo deben tener horas espec\xEDficas. Seleccione un rango de tiempo en la vista de semana o d\xEDa.",timeblockMoved:'Bloque de tiempo "{title}" movido a {date}',timeblockUpdated:'Hora del bloque de tiempo "{title}" actualizada',timeblockMoveFailed:"Error al mover el bloque de tiempo: {message}",timeblockResized:'Duraci\xF3n del bloque de tiempo "{title}" actualizada',timeblockResizeFailed:"Error al redimensionar el bloque de tiempo: {message}",taskScheduled:'Tarea "{title}" programada para {date}',scheduleTaskFailed:"Error al programar la tarea",endTimeAfterStart:"La hora de fin debe ser posterior a la hora de inicio",timeEntryNotFound:"Entrada de tiempo no encontrada",timeEntryDeleted:"Entrada de tiempo eliminada",deleteTimeEntryFailed:"Error al eliminar la entrada de tiempo"},timeEntry:{estimatedSuffix:"estimado",trackedSuffix:"registrado",recurringPrefix:"Recurrente: ",completedPrefix:"Completado: ",createdPrefix:"Creado: ",modifiedPrefix:"Modificado: ",duePrefix:"Vence: ",scheduledPrefix:"Programado: "},contextMenus:{openTask:"Abrir tarea",deleteTimeEntry:"Eliminar entrada de tiempo",deleteTimeEntryTitle:"Eliminar Entrada de Tiempo",deleteTimeEntryConfirm:"\xBFEst\xE1s seguro de que deseas eliminar esta entrada de tiempo{duration}? Esta acci\xF3n no se puede deshacer.",deleteButton:"Eliminar",cancelButton:"Cancelar"}},basesCalendar:{title:"Calendario Bases",today:"Hoy",buttonText:{month:"M",week:"S",day:"D",year:"A",list:"L",customDays:"{count}D",listDays:"{count}d Lista",refresh:"Actualizar"},hints:{refresh:"Actualizar suscripciones de calendario"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"Navegaci\xF3n por fecha",events:"Eventos",layout:"Dise\xF1o",propertyBasedEvents:"Eventos basados en propiedades",calendarSubscriptions:"Suscripciones de calendario",googleCalendars:"Google Calendars",microsoftCalendars:"Microsoft Calendars"},dateNavigation:{navigateToDate:"Navegar a la fecha",navigateToDatePlaceholder:"AAAA-MM-DD (ej. 2025-01-15) - dejar vac\xEDo para usar la propiedad",navigateToDateFromProperty:"Navegar a la fecha desde la propiedad",navigateToDateFromPropertyPlaceholder:"Seleccionar una propiedad de fecha (opcional)",propertyNavigationStrategy:"Estrategia de navegaci\xF3n por propiedad",strategies:{first:"Primer resultado",earliest:"Fecha m\xE1s antigua",latest:"Fecha m\xE1s reciente"}},events:{showScheduledTasks:"Mostrar tareas programadas",showDueTasks:"Mostrar tareas vencidas",showRecurringTasks:"Mostrar tareas recurrentes",showTimeEntries:"Mostrar entradas de tiempo",showTimeblocks:"Mostrar bloques de tiempo",showPropertyBasedEvents:"Mostrar eventos basados en propiedades"},layout:{calendarView:"Vista del calendario",customDayCount:"N\xFAmero de d\xEDas personalizado",listDayCount:"Recuento de d\xEDas de lista",dayStartTime:"Hora de inicio del d\xEDa",dayStartTimePlaceholder:"HH:mm:ss (ej. 08:00:00)",dayEndTime:"Hora de fin del d\xEDa",dayEndTimePlaceholder:"HH:mm:ss (ej. 20:00:00)",timeSlotDuration:"Duraci\xF3n del intervalo de tiempo",timeSlotDurationPlaceholder:"HH:mm:ss (ej. 00:30:00)",weekStartsOn:"La semana comienza el",showWeekNumbers:"Mostrar n\xFAmeros de semana",showNowIndicator:"Mostrar indicador actual",showWeekends:"Mostrar fines de semana",showAllDaySlot:"Mostrar franja de todo el d\xEDa",showTodayHighlight:"Resaltar hoy",showSelectionPreview:"Mostrar vista previa de selecci\xF3n",timeFormat:"Formato de hora",timeFormat12:"12 horas (AM/PM)",timeFormat24:"24 horas",initialScrollTime:"Hora de desplazamiento inicial",initialScrollTimePlaceholder:"HH:mm:ss (ej. 08:00:00)",minimumEventHeight:"Altura m\xEDnima del evento (px)",slotEventOverlap:"Permitir superposici\xF3n de eventos",enableSearch:"Habilitar cuadro de b\xFAsqueda",eventMaxStack:"M\xE1x. eventos apilados (vista semana/d\xEDa, 0 = ilimitado)",dayMaxEvents:"M\xE1x. eventos por d\xEDa (vista mes, 0 = autom\xE1tico)",dayMaxEventRows:"M\xE1x. filas de eventos por d\xEDa (vista mes, 0 = ilimitado)"},propertyBasedEvents:{startDateProperty:"Propiedad de fecha de inicio",startDatePropertyPlaceholder:"Seleccionar propiedad para fecha/hora de inicio",endDateProperty:"Propiedad de fecha de fin (opcional)",endDatePropertyPlaceholder:"Seleccionar propiedad para fecha/hora de fin",titleProperty:"Propiedad de t\xEDtulo (opcional)",titlePropertyPlaceholder:"Seleccionar propiedad para t\xEDtulo del evento"}},errors:{failedToInitialize:"Error al inicializar el calendario"}},kanban:{title:"Kanban",newTask:"Nueva tarea",addCard:"+ Agregar tarjeta",noTasks:"Sin tareas",uncategorized:"Sin categorizar",noProject:"Sin proyecto",notices:{loadFailed:"Error al cargar el tablero Kanban",movedTask:'Tarea movida a "{0}"'},errors:{loadingBoard:"Error al cargar el tablero.",noGroupBy:"La vista Kanban requiere que se configure una propiedad 'Agrupar por'. Haga clic en el bot\xF3n 'Ordenar' y seleccione una propiedad en 'Agrupar por'."},columnTitle:"Sin t\xEDtulo"},pomodoro:{title:"Pomodoro",status:{focus:"Enfoque",ready:"Listo para comenzar",paused:"Pausado",working:"Trabajando",shortBreak:"Descanso corto",longBreak:"Descanso largo",breakPrompt:"\xA1Excelente trabajo! Tiempo para un descanso {length}",breakLength:{short:"corto",long:"largo"},breakComplete:"\xA1Descanso completo! \xBFListo para el pr\xF3ximo pomodoro?"},buttons:{start:"Iniciar",pause:"Pausar",stop:"Detener",resume:"Reanudar",startShortBreak:"Iniciar descanso corto",startLongBreak:"Iniciar descanso largo",skipBreak:"Saltar descanso",chooseTask:"Elegir tarea...",changeTask:"Cambiar tarea...",clearTask:"Quitar tarea",selectDifferentTask:"Seleccionar una tarea diferente"},notices:{noTasks:"No se encontraron tareas no archivadas. Crea algunas tareas primero.",loadFailed:"Error al cargar las tareas"},statsLabel:"completadas hoy"},pomodoroStats:{title:"Estad\xEDsticas de Pomodoro",heading:"Estad\xEDsticas de Pomodoro",refresh:"Actualizar",sections:{overview:"Resumen",today:"Hoy",week:"Esta semana",allTime:"Todo el tiempo",recent:"Sesiones recientes"},overviewCards:{todayPomos:{label:"Pomos de hoy",change:{more:"{count} m\xE1s que ayer",less:"{count} menos que ayer"}},totalPomos:{label:"Pomos totales"},todayFocus:{label:"Enfoque de hoy",change:{more:"{duration} m\xE1s que ayer",less:"{duration} menos que ayer"}},totalFocus:{label:"Duraci\xF3n total de enfoque"}},stats:{pomodoros:"Pomodoros",streak:"Racha",minutes:"Minutos",average:"Duraci\xF3n promedio",completion:"Finalizaci\xF3n"},recents:{empty:"A\xFAn no se han registrado sesiones",duration:"{minutes} min",status:{completed:"Completado",interrupted:"Interrumpido"}}},stats:{title:"Estad\xEDsticas",taskProjectStats:"Estad\xEDsticas de tareas y proyectos",sections:{filters:"Filtros",overview:"Resumen",today:"Hoy",thisWeek:"Esta semana",thisMonth:"Este mes",projectBreakdown:"Desglose de proyectos",dateRange:"Rango de fechas"},filters:{minTime:"Tiempo m\xEDnimo (minutos)",allTasks:"Todas las tareas",activeOnly:"Solo activas",completedOnly:"Solo completadas"},refreshButton:"Actualizar",timeRanges:{allTime:"Todo el tiempo",last7Days:"\xDAltimos 7 d\xEDas",last30Days:"\xDAltimos 30 d\xEDas",last90Days:"\xDAltimos 90 d\xEDas",customRange:"Rango personalizado"},resetFiltersButton:"Restablecer filtros",dateRangeFrom:"Desde",dateRangeTo:"Hasta",noProject:"Sin proyecto",cards:{timeTrackedEstimated:"Tiempo registrado / estimado",totalTasks:"Total de tareas",completionRate:"Tasa de completado",activeProjects:"Proyectos activos",avgTimePerTask:"Tiempo promedio por tarea"},labels:{tasks:"Tareas",completed:"Completadas",projects:"Proyectos"},noProjectData:"No hay datos de proyectos disponibles",notAvailable:"N/D",noTasks:"No se encontraron tareas",loading:"Cargando..."},releaseNotes:{title:"Novedades en TaskNotes {version}",header:"Novedades en TaskNotes {version}",viewAllLink:"Ver todas las notas de versi\xF3n en GitHub \u2192",starMessage:"Si TaskNotes te resulta \xFAtil, considera darle una estrella en GitHub"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"General",taskProperties:"Propiedades de tareas",modalFields:"Campos del modal",defaults:"Predeterminados y plantillas",appearance:"Apariencia e interfaz",features:"Caracter\xEDsticas",integrations:"Integraciones"},features:{inlineTasks:{header:"Tareas en l\xEDnea",description:"Configuraci\xF3n para enlaces de tareas y conversi\xF3n de casillas a tareas en notas."},overlays:{taskLinkToggle:{name:"Superposici\xF3n de enlace de tarea",description:"Mostrar superposiciones interactivas al pasar el cursor sobre enlaces de tareas"}},instantConvert:{toggle:{name:"Mostrar bot\xF3n de conversi\xF3n junto a casillas de verificaci\xF3n",description:"Mostrar un bot\xF3n en l\xEDnea junto a las casillas de verificaci\xF3n Markdown que las convierte en TaskNotes"},folder:{name:"Carpeta para tareas convertidas",description:"Carpeta donde se crear\xE1n las tareas convertidas desde casillas de verificaci\xF3n. Dejar vac\xEDo para usar la carpeta de tareas predeterminada. Usa {{currentNotePath}} para la carpeta de la nota actual, o {{currentNoteTitle}} para una subcarpeta con el t\xEDtulo de la nota."}},nlp:{header:"Procesamiento de lenguaje natural",description:"Analiza fechas, prioridades y otras propiedades desde texto de entrada.",enable:{name:"Habilitar entrada de tareas en lenguaje natural",description:"Analizar fechas de vencimiento, prioridades y contextos desde lenguaje natural al crear tareas"},defaultToScheduled:{name:"Predeterminado a programado",description:"Cuando NLP detecta una fecha sin contexto, tratarla como programada en lugar de vencimiento"},language:{name:"Idioma NLP",description:"Idioma para patrones de procesamiento de lenguaje natural y an\xE1lisis de fechas"},statusTrigger:{name:"Activador de sugerencia de estado",description:"Texto para activar sugerencias de estado (dejar vac\xEDo para deshabilitar)"}},pomodoro:{header:"Temporizador Pomodoro",description:"Configura intervalos de trabajo/descanso para el temporizador Pomodoro.",workDuration:{name:"Duraci\xF3n del trabajo",description:"Duraci\xF3n de intervalos de trabajo en minutos"},shortBreak:{name:"Duraci\xF3n del descanso corto",description:"Duraci\xF3n de descansos cortos en minutos"},longBreak:{name:"Duraci\xF3n del descanso largo",description:"Duraci\xF3n de descansos largos en minutos"},longBreakInterval:{name:"Intervalo de descanso largo",description:"N\xFAmero de sesiones de trabajo antes de un descanso largo"},autoStartBreaks:{name:"Auto-iniciar descansos",description:"Iniciar autom\xE1ticamente temporizadores de descanso despu\xE9s de sesiones de trabajo"},autoStartWork:{name:"Auto-iniciar trabajo",description:"Iniciar autom\xE1ticamente sesiones de trabajo despu\xE9s de descansos"},notifications:{name:"Notificaciones de Pomodoro",description:"Mostrar notificaciones cuando terminen las sesiones de Pomodoro"}},uiLanguage:{header:"Idioma de la interfaz",description:"Cambiar el idioma de los men\xFAs, avisos y vistas de TaskNotes.",dropdown:{name:"Idioma de interfaz",description:"Seleccionar el idioma usado para el texto de la interfaz de TaskNotes"}},pomodoroSound:{enabledName:"Sonido habilitado",enabledDesc:"Reproducir sonido cuando terminen las sesiones de Pomodoro",volumeName:"Volumen del sonido",volumeDesc:"Volumen para sonidos de Pomodoro (0-100)"},dataStorage:{name:"Almacenamiento de datos de Pomodoro",description:"Configura d\xF3nde se almacenan y gestionan los datos de sesi\xF3n de Pomodoro.",dailyNotes:"Notas diarias",pluginData:"Datos del plugin",notices:{locationChanged:"Ubicaci\xF3n de almacenamiento de Pomodoro cambiada a {location}"}},notifications:{header:"Notificaciones",description:"Configura notificaciones de recordatorio de tareas y alertas.",enableName:"Habilitar notificaciones",enableDesc:"Habilitar notificaciones de recordatorio de tareas",typeName:"Tipo de notificaci\xF3n",typeDesc:"Tipo de notificaciones a mostrar",systemLabel:"Notificaciones del sistema",inAppLabel:"Notificaciones en la aplicaci\xF3n"},overdue:{hideCompletedName:"Ocultar tareas completadas de vencidas",hideCompletedDesc:"Excluir tareas completadas de c\xE1lculos de tareas vencidas"},indexing:{disableName:"Deshabilitar indexaci\xF3n de notas",disableDesc:"Deshabilitar indexaci\xF3n autom\xE1tica de contenido de notas para mejor rendimiento"},suggestions:{debounceName:"Rebote de sugerencias",debounceDesc:"Retraso en milisegundos antes de mostrar sugerencias"},timeTracking:{autoStopName:"Auto-detener seguimiento de tiempo",autoStopDesc:"Detener autom\xE1ticamente el seguimiento de tiempo cuando una tarea se marca como completa",stopNotificationName:"Notificaci\xF3n de detenci\xF3n de seguimiento de tiempo",stopNotificationDesc:"Mostrar notificaci\xF3n cuando el seguimiento de tiempo se detiene autom\xE1ticamente"},recurring:{maintainOffsetName:"Mantener desplazamiento de fecha de vencimiento en tareas recurrentes",maintainOffsetDesc:"Mantener el desplazamiento entre fecha de vencimiento y fecha programada cuando se completan tareas recurrentes"},timeblocking:{header:"Bloqueo de tiempo",description:"Configura la funcionalidad de bloqueo de tiempo para programaci\xF3n ligera en notas diarias. Arrastra en las vistas de calendario para crear eventos - selecciona 'Timeblock' del men\xFA contextual.",enableName:"Habilitar bloqueo de tiempo",enableDesc:"Habilitar funcionalidad de bloque de tiempo para programaci\xF3n ligera en notas diarias. Cuando est\xE1 habilitado, la opci\xF3n 'Timeblock' aparece en el men\xFA contextual de arrastrar del calendario.",showBlocksName:"Mostrar bloques de tiempo",showBlocksDesc:"Mostrar bloques de tiempo de notas diarias por defecto",usage:"Uso: Arrastra en el calendario para crear eventos. Selecciona 'Timeblock' del men\xFA contextual (solo visible cuando el bloqueo de tiempo est\xE1 habilitado). Arrastra para mover bloques de tiempo existentes. Ajusta los bordes para ajustar la duraci\xF3n."},performance:{header:"Rendimiento y comportamiento",description:"Configura opciones de rendimiento y comportamiento del plugin."},timeTrackingSection:{header:"Seguimiento de tiempo",description:"Configura comportamientos autom\xE1ticos de seguimiento de tiempo."},recurringSection:{header:"Tareas recurrentes",description:"Configura comportamiento para gesti\xF3n de tareas recurrentes."}},defaults:{header:{basicDefaults:"Predeterminados b\xE1sicos",dateDefaults:"Predeterminados de fecha",defaultReminders:"Recordatorios predeterminados",bodyTemplate:"Plantilla del cuerpo",instantTaskConversion:"Conversi\xF3n instant\xE1nea de tareas"},description:{basicDefaults:"Establecer valores predeterminados para nuevas tareas para acelerar la creaci\xF3n de tareas.",dateDefaults:"Establecer fechas de vencimiento y programaci\xF3n predeterminadas para nuevas tareas.",defaultReminders:"Configurar recordatorios predeterminados que se a\xF1adir\xE1n a nuevas tareas.",bodyTemplate:"Configurar un archivo de plantilla para usar en el contenido de nuevas tareas.",instantTaskConversion:"Configurar comportamiento al convertir texto a tareas instant\xE1neamente."},basicDefaults:{defaultStatus:{name:"Estado predeterminado",description:"Estado predeterminado para nuevas tareas"},defaultPriority:{name:"Prioridad predeterminada",description:"Prioridad predeterminada para nuevas tareas"},defaultContexts:{name:"Contextos predeterminados",description:"Lista separada por comas de contextos predeterminados (ej. @casa, @trabajo)",placeholder:"@casa, @trabajo"},defaultTags:{name:"Etiquetas predeterminadas",description:"Lista separada por comas de etiquetas predeterminadas (sin #)",placeholder:"importante, urgente"},defaultProjects:{name:"Proyectos predeterminados",description:"Enlaces de proyecto predeterminados para nuevas tareas",selectButton:"Seleccionar proyectos",selectTooltip:"Elegir notas de proyecto para vincular por defecto",removeTooltip:"Eliminar {name} de proyectos predeterminados"},useParentNoteAsProject:{name:"Usar nota padre como proyecto durante conversi\xF3n instant\xE1nea",description:"Vincular autom\xE1ticamente la nota padre como proyecto al usar conversi\xF3n instant\xE1nea de tareas"},defaultTimeEstimate:{name:"Estimaci\xF3n de tiempo predeterminada",description:"Estimaci\xF3n de tiempo predeterminada en minutos (0 = sin predeterminado)",placeholder:"60"},defaultRecurrence:{name:"Recurrencia predeterminada",description:"Patr\xF3n de recurrencia predeterminado para nuevas tareas"}},dateDefaults:{defaultDueDate:{name:"Fecha de vencimiento predeterminada",description:"Fecha de vencimiento predeterminada para nuevas tareas"},defaultScheduledDate:{name:"Fecha programada predeterminada",description:"Fecha programada predeterminada para nuevas tareas"}},reminders:{addReminder:{name:"Agregar recordatorio predeterminado",description:"Crear un nuevo recordatorio predeterminado que se a\xF1adir\xE1 a todas las nuevas tareas",buttonText:"Agregar recordatorio"},emptyState:"No hay recordatorios predeterminados configurados. Agrega un recordatorio para ser notificado autom\xE1ticamente sobre nuevas tareas.",emptyStateButton:"Agregar recordatorio",reminderDescription:"Descripci\xF3n del recordatorio",unnamedReminder:"Recordatorio sin nombre",deleteTooltip:"Eliminar recordatorio",fields:{description:"Descripci\xF3n:",type:"Tipo:",offset:"Desplazamiento:",unit:"Unidad:",direction:"Direcci\xF3n:",relatedTo:"Relacionado con:",date:"Fecha:",time:"Hora:"},types:{relative:"Relativo (antes/despu\xE9s de fechas de tarea)",absolute:"Absoluto (fecha/hora espec\xEDfica)"},units:{minutes:"minutos",hours:"horas",days:"d\xEDas"},directions:{before:"antes",after:"despu\xE9s"},relatedTo:{due:"fecha de vencimiento",scheduled:"fecha programada"}},bodyTemplate:{useBodyTemplate:{name:"Usar plantilla del cuerpo",description:"Usar un archivo de plantilla para el contenido del cuerpo de la tarea"},bodyTemplateFile:{name:"Archivo de plantilla del cuerpo",description:"Ruta al archivo de plantilla para contenido del cuerpo de la tarea. Soporta variables de plantilla como {{title}}, {{date}}, {{time}}, {{priority}}, {{status}}, etc.",placeholder:"Plantillas/Plantilla de tarea.md",ariaLabel:"Ruta al archivo de plantilla del cuerpo"},variablesHeader:"Variables de plantilla:",variables:{title:"{{title}} - T\xEDtulo de la tarea",details:"{{details}} - Detalles proporcionados por el usuario desde el modal",date:"{{date}} - Fecha actual (YYYY-MM-DD)",time:"{{time}} - Hora actual (HH:MM)",priority:"{{priority}} - Prioridad de la tarea",status:"{{status}} - Estado de la tarea",contexts:"{{contexts}} - Contextos de la tarea",tags:"{{tags}} - Etiquetas de la tarea",projects:"{{projects}} - Proyectos de la tarea"}},instantConversion:{useDefaultsOnInstantConvert:{name:"Usar predeterminados de tarea en conversi\xF3n instant\xE1nea",description:"Aplicar configuraciones predeterminadas de tarea al convertir texto a tareas instant\xE1neamente"}},options:{noDefault:"Sin predeterminado",none:"Ninguno",today:"Hoy",tomorrow:"Ma\xF1ana",nextWeek:"Pr\xF3xima semana",daily:"Diario",weekly:"Semanal",monthly:"Mensual",yearly:"Anual"}},general:{taskStorage:{header:"Almacenamiento de tareas",description:"Configurar d\xF3nde se almacenan las tareas y c\xF3mo se identifican.",defaultFolder:{name:"Carpeta predeterminada de tareas",description:"Ubicaci\xF3n predeterminada para nuevas tareas"},moveArchived:{name:"Mover tareas archivadas a carpeta",description:"Mover autom\xE1ticamente tareas archivadas a una carpeta de archivo"},archiveFolder:{name:"Carpeta de archivo",description:"Carpeta para mover tareas cuando se archiven. Soporta variables de plantilla como {{year}}, {{month}}, {{priority}}, etc."}},taskIdentification:{header:"Identificaci\xF3n de tareas",description:"Elegir c\xF3mo TaskNotes identifica notas como tareas.",identifyBy:{name:"Identificar tareas por",description:"Elegir si identificar tareas por etiqueta o por una propiedad de frontmatter",options:{tag:"Etiqueta",property:"Propiedad"}},taskTag:{name:"Etiqueta de tarea",description:"Etiqueta que identifica notas como tareas (sin #)"},hideIdentifyingTags:{name:"Ocultar etiquetas de identificaci\xF3n en tarjetas de tarea",description:"Cuando est\xE1 habilitado, las etiquetas que coinciden con la etiqueta de identificaci\xF3n de tarea (incluidas las coincidencias jer\xE1rquicas como 'task/project') se ocultar\xE1n de las pantallas de tarjetas de tarea"},taskProperty:{name:"Nombre de propiedad de tarea",description:'El nombre de propiedad de frontmatter (ej. "categor\xEDa")'},taskPropertyValue:{name:"Valor de propiedad de tarea",description:'El valor que identifica una nota como tarea (ej. "tarea")'}},folderManagement:{header:"Gesti\xF3n de carpetas",excludedFolders:{name:"Carpetas excluidas",description:"Lista separada por comas de carpetas a excluir de la indexaci\xF3n de tareas y sugerencias de proyectos"}},frontmatter:{header:"Frontmatter",description:"Configure c\xF3mo se formatean los enlaces en las propiedades frontmatter.",useMarkdownLinks:{name:"Usar enlaces markdown en frontmatter",description:`Generar enlaces markdown ([texto](ruta)) en lugar de wikilinks ([[enlace]]) en las propiedades frontmatter.
|
||
|
||
\u26A0\uFE0F Requiere el plugin 'obsidian-frontmatter-markdown-links' para funcionar correctamente.`}},taskInteraction:{header:"Interacci\xF3n de tareas",description:"Configurar c\xF3mo se comporta hacer clic en las tareas.",singleClick:{name:"Acci\xF3n de clic simple",description:"Acci\xF3n realizada al hacer clic simple en una tarjeta de tarea"},doubleClick:{name:"Acci\xF3n de doble clic",description:"Acci\xF3n realizada al hacer doble clic en una tarjeta de tarea"},actions:{edit:"Editar tarea",openNote:"Abrir nota",none:"Sin acci\xF3n"}},releaseNotes:{header:"Notas de la versi\xF3n",description:"Versi\xF3n actual: {version}",showOnUpdate:{name:"Mostrar notas de la versi\xF3n despu\xE9s de actualizar",description:"Abrir autom\xE1ticamente las notas de la versi\xF3n cuando TaskNotes se actualiza a una nueva versi\xF3n"},viewButton:{name:"Ver notas de la versi\xF3n",description:"Vea las novedades en la \xFAltima versi\xF3n de TaskNotes",buttonText:"Ver notas de la versi\xF3n"}}},taskProperties:{sections:{coreProperties:"Propiedades principales",corePropertiesDesc:"Estado y prioridad son las propiedades principales que definen el estado e importancia de una tarea.",dateProperties:"Propiedades de fecha",datePropertiesDesc:"Configura cu\xE1ndo las tareas vencen y est\xE1n programadas.",organizationProperties:"Propiedades de organizaci\xF3n",organizationPropertiesDesc:"Organiza tareas con contextos, proyectos y etiquetas.",taskDetails:"Detalles de tarea",taskDetailsDesc:"Detalles adicionales como estimaciones de tiempo, recurrencia y recordatorios.",metadataProperties:"Propiedades de metadatos",metadataPropertiesDesc:"Propiedades gestionadas por el sistema para rastrear el historial de tareas.",featureProperties:"Propiedades de funciones",featurePropertiesDesc:"Propiedades utilizadas por funciones espec\xEDficas de TaskNotes como el temporizador Pomodoro y la sincronizaci\xF3n de calendario."},propertyCard:{propertyKey:"Clave de propiedad:",default:"Predeterminado:",nlpTrigger:"Activador NLP:",triggerChar:"Car\xE1cter activador:",triggerEmpty:"El activador no puede estar vac\xEDo",triggerTooLong:"El activador es demasiado largo (m\xE1x. 10 caracteres)"},properties:{status:{name:"Estado",description:"Rastrea el estado actual de una tarea (ej. pendiente, en-progreso, hecho). El estado determina si una tarea aparece como completada y puede activar el archivado autom\xE1tico."},priority:{name:"Prioridad",description:"Indica la importancia de la tarea. Se usa para ordenar y filtrar. Los valores se ordenan alfab\xE9ticamente en vistas Bases, as\xED que usa prefijos como 1-, 2- para controlar el orden."},due:{name:"Fecha de vencimiento",description:"La fecha l\xEDmite para completar una tarea. Las tareas pasadas de su fecha de vencimiento aparecen como atrasadas. Se almacena como fecha en frontmatter."},scheduled:{name:"Fecha programada",description:"Cu\xE1ndo planeas trabajar en una tarea. A diferencia de la fecha de vencimiento, esto representa tu hora de inicio prevista. Las tareas aparecen en el calendario en su fecha/hora programada."},contexts:{name:"Contextos",description:"Lugares o condiciones donde se puede hacer una tarea (ej. @casa, @oficina, @tel\xE9fono). \xDAtil para filtrar tareas seg\xFAn tu situaci\xF3n actual. Se almacena como lista."},projects:{name:"Proyectos",description:"Enlaces a notas de proyecto a las que pertenece esta tarea. Se almacena como wikilinks (ej. [[Nombre del proyecto]]). Las tareas pueden pertenecer a m\xFAltiples proyectos."},tags:{name:"Etiquetas",description:"Etiquetas nativas de Obsidian para categorizar tareas. Se almacenan en la propiedad tags del frontmatter y funcionan con las caracter\xEDsticas de etiquetas de Obsidian."},timeEstimate:{name:"Estimaci\xF3n de tiempo",description:"Minutos estimados para completar la tarea. Se usa para planificaci\xF3n de tiempo y carga de trabajo. Se muestra en tarjetas de tareas y eventos de calendario."},recurrence:{name:"Recurrencia",description:"Patr\xF3n para tareas repetitivas (diario, semanal, mensual, anual o RRULE personalizada). Cuando se completa una tarea recurrente, su fecha programada se actualiza autom\xE1ticamente a la siguiente ocurrencia."},recurrenceAnchor:{name:"Ancla de recurrencia",description:"Controla c\xF3mo se calcula la siguiente ocurrencia: 'scheduled' usa la fecha programada, 'completion' usa la fecha de finalizaci\xF3n real."},reminders:{name:"Recordatorios",description:"Notificaciones activadas antes de fechas de vencimiento o programadas. Se almacena como lista de objetos de recordatorio con tiempo y descripci\xF3n opcional."},title:{name:"T\xEDtulo",description:"El nombre de la tarea. Puede almacenarse en frontmatter o en el nombre del archivo (cuando 'Almacenar t\xEDtulo en nombre de archivo' est\xE1 habilitado)."},dateCreated:{name:"Fecha de creaci\xF3n",description:"Marca de tiempo de cuando se cre\xF3 la tarea. Se establece autom\xE1ticamente y se usa para ordenar por orden de creaci\xF3n."},dateModified:{name:"Fecha de modificaci\xF3n",description:"Marca de tiempo del \xFAltimo cambio en la tarea. Se actualiza autom\xE1ticamente cuando cambia cualquier propiedad de la tarea."},completedDate:{name:"Fecha de completado",description:"Marca de tiempo de cuando la tarea fue marcada como completa. Se establece autom\xE1ticamente cuando el estado cambia a un estado completado."},archiveTag:{name:"Etiqueta de archivo",description:"Etiqueta a\xF1adida a las tareas cuando se archivan. Se usa para identificar tareas archivadas y puede activar el movimiento de archivos a la carpeta de archivo."},timeEntries:{name:"Entradas de tiempo",description:"Registros de sesiones de seguimiento de tiempo para esta tarea. Cada entrada almacena marcas de tiempo de inicio y fin. Se usa para calcular el tiempo total invertido."},completeInstances:{name:"Instancias completadas",description:"Historial de completado para tareas recurrentes. Almacena fechas cuando cada instancia fue completada para prevenir completados duplicados."},skippedInstances:{name:"Instancias omitidas",description:"Ocurrencias omitidas para tareas recurrentes. Almacena fechas de instancias que fueron omitidas en lugar de completadas."},blockedBy:{name:"Bloqueada por",description:"Enlaces a tareas que deben completarse antes de esta. Se almacena como wikilinks. Las tareas bloqueadas muestran un indicador visual."},pomodoros:{name:"Pomodoros",description:"Conteo de sesiones Pomodoro completadas. Cuando el almacenamiento de datos est\xE1 configurado en 'Notas diarias', esto se escribe en notas diarias en lugar de archivos de tarea."},icsEventId:{name:"ID de evento ICS",description:"Identificador \xFAnico que enlaza una nota con un evento de calendario ICS. Se a\xF1ade autom\xE1ticamente al crear notas desde eventos de calendario."},icsEventTag:{name:"Etiqueta de evento ICS",description:"Etiqueta que identifica notas creadas desde eventos de calendario ICS. Se usa para distinguir notas generadas por calendario de tareas regulares."}},statusCard:{valuesHeader:"Valores de estado"},priorityCard:{valuesHeader:"Valores de prioridad"},projectsCard:{defaultProjects:"Proyectos predeterminados:",useParentNote:"Usar nota padre como proyecto:",noDefaultProjects:"No hay proyectos predeterminados seleccionados",autosuggestFilters:"Filtros de autosugerencia",customizeDisplay:"Personalizar visualizaci\xF3n",filtersOn:"Filtros activos"},titleCard:{storeTitleInFilename:"Almacenar t\xEDtulo en nombre de archivo:",storedInFilename:"Almacenado en nombre de archivo",filenameUpdatesWithTitle:"El nombre del archivo se actualizar\xE1 autom\xE1ticamente cuando cambie el t\xEDtulo de la tarea.",filenameFormat:"Formato de nombre de archivo:",customTemplate:"Plantilla personalizada:"},tagsCard:{nativeObsidianTags:"Usa etiquetas nativas de Obsidian"},remindersCard:{defaultReminders:"Recordatorios predeterminados"},taskStatuses:{header:"Estados de tareas",description:"Personalizar las opciones de estado disponibles para tus tareas. Estos estados controlan el ciclo de vida de la tarea y determinan cu\xE1ndo las tareas se consideran completas.",howTheyWork:{title:"C\xF3mo funcionan los estados:",value:'Valor: El identificador interno almacenado en tus archivos de tarea (ej. "en-progreso")',label:'Etiqueta: El nombre mostrado en la interfaz (ej. "En progreso")',color:"Color: Color indicador visual para el punto de estado y distintivos",icon:'Icono: Nombre de icono Lucide opcional para mostrar en lugar del punto de color (ej. "check", "circle", "clock"). Explora iconos en lucide.dev',completed:"Completado: Cuando se marca, las tareas con este estado se consideran terminadas y pueden filtrarse de manera diferente",autoArchive:"Auto-archivar: Cuando est\xE1 habilitado, las tareas se archivar\xE1n autom\xE1ticamente despu\xE9s del retraso especificado (1-1440 minutos)",orderNote:"El orden de abajo determina la secuencia al alternar entre estados haciendo clic en distintivos de estado de tarea."},addNew:{name:"Agregar nuevo estado",description:"Crear una nueva opci\xF3n de estado para tus tareas",buttonText:"Agregar estado"},validationNote:'Nota: Debes tener al menos 2 estados, y al menos un estado debe estar marcado como "Completado".',emptyState:"No hay estados personalizados configurados. Agrega un estado para comenzar.",emptyStateButton:"Agregar estado",fields:{value:"Valor:",label:"Etiqueta:",color:"Color:",icon:"Icono:",completed:"Completado:",autoArchive:"Auto-archivar:",delayMinutes:"Retraso (minutos):"},placeholders:{value:"en-progreso",label:"En progreso",icon:"check, circle, clock"},badges:{completed:"Completado"},deleteConfirm:'\xBFEst\xE1s seguro de que quieres eliminar el estado "{label}"?'},taskPriorities:{header:"Prioridades de tareas",description:"Personaliza los niveles de prioridad disponibles para tus tareas. En v4.0+, las prioridades se ordenan alfab\xE9ticamente por su valor en las vistas de Bases.",howTheyWork:{title:"C\xF3mo funcionan las prioridades:",value:'Valor: El identificador interno almacenado en tus archivos de tarea. Usa prefijos como "1-urgente", "2-alta" para controlar el orden de clasificaci\xF3n en las vistas de Bases.',label:'Etiqueta de visualizaci\xF3n: El nombre mostrado en la interfaz (ej. "Alta prioridad")',color:"Color: Color indicador visual para el punto de prioridad y distintivos",weight:"Peso: Valor num\xE9rico para clasificaci\xF3n (pesos m\xE1s altos aparecen primero en listas)",weightNote:"Las tareas se clasifican autom\xE1ticamente por peso de prioridad en orden descendente (peso m\xE1s alto primero). Los pesos pueden ser cualquier n\xFAmero positivo."},addNew:{name:"Agregar nueva prioridad",description:"Crear un nuevo nivel de prioridad para tus tareas",buttonText:"Agregar prioridad"},validationNote:"Nota: Debes tener al menos 1 prioridad. Las prioridades se ordenan alfab\xE9ticamente por valor en las vistas de Bases.",emptyState:"No hay prioridades personalizadas configuradas. Agrega una prioridad para comenzar.",emptyStateButton:"Agregar prioridad",fields:{value:"Valor:",label:"Etiqueta:",color:"Color:",weight:"Peso:"},placeholders:{value:"alta",label:"Alta prioridad"},weightLabel:"Peso: {weight}",deleteConfirm:"Debes tener al menos una prioridad",deleteTooltip:"Eliminar prioridad"},fieldMapping:{header:"Mapeo de campos",warning:"\u26A0\uFE0F Advertencia: TaskNotes LEER\xC1 Y ESCRIBIR\xC1 usando estos nombres de propiedad. Cambiar estos despu\xE9s de crear tareas puede causar inconsistencias.",description:"Configurar qu\xE9 propiedades de frontmatter debe usar TaskNotes para cada campo.",resetButton:{name:"Restablecer mapeos de campos",description:"Restablecer todos los mapeos de campos a valores predeterminados",buttonText:"Restablecer a predeterminados"},notices:{resetSuccess:"Mapeos de campos restablecidos a predeterminados",resetFailure:"Error al restablecer mapeos de campos",updateFailure:"Error al actualizar mapeo de campo para {label}. Por favor intenta de nuevo."},table:{fieldHeader:"Campo de TaskNotes",propertyHeader:"Tu nombre de propiedad"},fields:{title:"T\xEDtulo",status:"Estado",priority:"Prioridad",due:"Fecha de vencimiento",scheduled:"Fecha programada",contexts:"Contextos",projects:"Proyectos",timeEstimate:"Estimaci\xF3n de tiempo",recurrence:"Recurrencia",dateCreated:"Fecha de creaci\xF3n",completedDate:"Fecha de finalizaci\xF3n",dateModified:"Fecha de modificaci\xF3n",archiveTag:"Etiqueta de archivo",timeEntries:"Entradas de tiempo",completeInstances:"Instancias completas",blockedBy:"Bloqueado por",pomodoros:"Pomodoros",icsEventId:"ID de evento ICS",icsEventTag:"Etiqueta de evento ICS",reminders:"Recordatorios"}},customUserFields:{header:"Campos personalizados de usuario",description:"Definir propiedades de frontmatter personalizadas para aparecer como opciones de filtro con reconocimiento de tipo en todas las vistas. Cada fila: Nombre de visualizaci\xF3n, Nombre de propiedad, Tipo.",addNew:{name:"Agregar nuevo campo de usuario",description:"Crear un nuevo campo personalizado que aparecer\xE1 en filtros y vistas",buttonText:"Agregar campo de usuario"},emptyState:"No hay campos personalizados de usuario configurados. Agrega un campo para crear propiedades personalizadas para tus tareas.",emptyStateButton:"Agregar campo de usuario",fields:{displayName:"Nombre de visualizaci\xF3n:",propertyKey:"Clave de propiedad:",type:"Tipo:",defaultValue:"Valor predeterminado:"},placeholders:{displayName:"Nombre de visualizaci\xF3n",propertyKey:"nombre-propiedad",defaultValue:"Valor predeterminado",defaultValueList:"Valores predeterminados (separados por coma)"},types:{text:"Texto",number:"N\xFAmero",boolean:"Booleano",date:"Fecha",list:"Lista"},defaultNames:{unnamedField:"Campo sin nombre",noKey:"sin-clave"},deleteTooltip:"Eliminar campo",autosuggestFilters:{header:"Filtros de auto-sugerencia (Avanzado)",description:"Filtrar qu\xE9 archivos aparecen en las sugerencias de autocompletar para este campo"}}},appearance:{taskCards:{header:"Tarjetas de tareas",description:"Configurar c\xF3mo se muestran las tarjetas de tareas en todas las vistas.",defaultVisibleProperties:{name:"Propiedades visibles predeterminadas",description:"Elegir qu\xE9 propiedades aparecen en las tarjetas de tareas por defecto."},propertyGroups:{coreProperties:"PROPIEDADES PRINCIPALES",organization:"ORGANIZACI\xD3N",customProperties:"PROPIEDADES PERSONALIZADAS"},properties:{status:"Punto de estado",priority:"Punto de prioridad",due:"Fecha de vencimiento",scheduled:"Fecha programada",timeEstimate:"Estimaci\xF3n de tiempo",totalTrackedTime:"Tiempo total rastreado",recurrence:"Recurrencia",completedDate:"Fecha de finalizaci\xF3n",createdDate:"Fecha de creaci\xF3n",modifiedDate:"Fecha de modificaci\xF3n",projects:"Proyectos",contexts:"Contextos",tags:"Etiquetas",blocked:"Bloqueada",blocking:"Bloqueando"}},taskFilenames:{header:"Nombres de archivos de tareas",description:"Configurar c\xF3mo se nombran los archivos de tareas cuando se crean.",storeTitleInFilename:{name:"Almacenar t\xEDtulo en nombre de archivo",description:"Usar el t\xEDtulo de la tarea como nombre de archivo. El nombre de archivo se actualizar\xE1 cuando se cambie el t\xEDtulo de la tarea (Recomendado)."},filenameFormat:{name:"Formato de nombre de archivo",description:"C\xF3mo deben generarse los nombres de archivos de tareas",options:{title:"T\xEDtulo de tarea (Sin actualizaci\xF3n)",zettel:"Formato Zettelkasten (AAMMDD + segundos base36 desde medianoche)",timestamp:"Marca de tiempo completa (YYYY-MM-DD-HHMMSS)",custom:"Plantilla personalizada"}},customTemplate:{name:"Plantilla de nombre de archivo personalizada",description:"Plantilla para nombres de archivo personalizados. Variables disponibles: {title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"Nota: {dueDate} y {scheduledDate} est\xE1n en formato YYYY-MM-DD y estar\xE1n vac\xEDos si no est\xE1n configurados."}},displayFormatting:{header:"Formato de visualizaci\xF3n",description:"Configurar c\xF3mo se muestran fechas, horas y otros datos en todo el plugin.",timeFormat:{name:"Formato de hora",description:"Mostrar hora en formato de 12 horas o 24 horas en todo el plugin",options:{twelveHour:"12 horas (AM/PM)",twentyFourHour:"24 horas"}}},calendarView:{header:"Vista de calendario",description:"Personalizar la apariencia y comportamiento de la vista de calendario.",defaultView:{name:"Vista predeterminada",description:"La vista de calendario mostrada al abrir la pesta\xF1a de calendario",options:{monthGrid:"Cuadr\xEDcula mensual",weekTimeline:"L\xEDnea de tiempo semanal",dayTimeline:"L\xEDnea de tiempo diaria",yearView:"Vista anual",customMultiDay:"Multi-d\xEDa personalizado"}},customDayCount:{name:"Conteo de d\xEDas de vista personalizada",description:"N\xFAmero de d\xEDas a mostrar en vista multi-d\xEDa personalizada",placeholder:"3"},firstDayOfWeek:{name:"Primer d\xEDa de la semana",description:"Qu\xE9 d\xEDa debe ser la primera columna en vistas semanales"},showWeekends:{name:"Mostrar fines de semana",description:"Mostrar fines de semana en vistas de calendario"},showWeekNumbers:{name:"Mostrar n\xFAmeros de semana",description:"Mostrar n\xFAmeros de semana en vistas de calendario"},showTodayHighlight:{name:"Mostrar resaltado de hoy",description:"Resaltar el d\xEDa actual en vistas de calendario"},showCurrentTimeIndicator:{name:"Mostrar indicador de hora actual",description:"Mostrar una l\xEDnea que muestra la hora actual en vistas de l\xEDnea de tiempo"},selectionMirror:{name:"Espejo de selecci\xF3n",description:"Mostrar una vista previa visual mientras se arrastra para seleccionar rangos de tiempo"},calendarLocale:{name:"Configuraci\xF3n regional del calendario",description:'Configuraci\xF3n regional del calendario para formato de fecha y sistema de calendario (ej. "en", "fa" para Farsi/Persa, "de" para Alem\xE1n). Dejar vac\xEDo para auto-detectar desde el navegador.',placeholder:"Auto-detectar",invalidLocale:"Configuraci\xF3n regional inv\xE1lida. Por favor, introduzca un c\xF3digo de idioma v\xE1lido (ej. 'es', 'en', 'fr-FR')."}},defaultEventVisibility:{header:"Visibilidad predeterminada de eventos",description:"Configurar qu\xE9 tipos de eventos son visibles por defecto al abrir el calendario. Los usuarios a\xFAn pueden activar/desactivar estos en la vista de calendario.",showScheduledTasks:{name:"Mostrar tareas programadas",description:"Mostrar tareas con fechas programadas por defecto"},showDueDates:{name:"Mostrar fechas de vencimiento",description:"Mostrar fechas de vencimiento de tareas por defecto"},showDueWhenScheduled:{name:"Mostrar fechas de vencimiento cuando est\xE1n programadas",description:"Mostrar fechas de vencimiento incluso para tareas que ya tienen fechas programadas"},showTimeEntries:{name:"Mostrar entradas de tiempo",description:"Mostrar entradas de seguimiento de tiempo completadas por defecto"},showRecurringTasks:{name:"Mostrar tareas recurrentes",description:"Mostrar instancias de tareas recurrentes por defecto"},showICSEvents:{name:"Mostrar eventos ICS",description:"Mostrar eventos de suscripciones ICS por defecto"}},timeSettings:{header:"Configuraciones de tiempo",description:"Configurar ajustes de visualizaci\xF3n relacionados con el tiempo para vistas de l\xEDnea de tiempo.",timeSlotDuration:{name:"Duraci\xF3n de intervalo de tiempo",description:"Duraci\xF3n de cada intervalo de tiempo en vistas de l\xEDnea de tiempo",options:{fifteenMinutes:"15 minutos",thirtyMinutes:"30 minutos",sixtyMinutes:"60 minutos"}},startTime:{name:"Hora de inicio",description:"Hora m\xE1s temprana mostrada en vistas de l\xEDnea de tiempo (formato HH:MM)",placeholder:"06:00"},endTime:{name:"Hora de fin",description:"Hora m\xE1s tard\xEDa mostrada en vistas de l\xEDnea de tiempo (formato HH:MM)",placeholder:"22:00"},initialScrollTime:{name:"Hora de desplazamiento inicial",description:"Hora a la que desplazarse al abrir vistas de l\xEDnea de tiempo (formato HH:MM)",placeholder:"09:00"},eventMinHeight:{name:"Altura m\xEDnima del evento",description:"Altura m\xEDnima para eventos en vistas de l\xEDnea de tiempo (p\xEDxeles)",placeholder:"15"}},uiElements:{header:"Elementos de interfaz",description:"Configurar la visualizaci\xF3n de varios elementos de interfaz.",showTrackedTasksInStatusBar:{name:"Mostrar tareas rastreadas en barra de estado",description:"Mostrar tareas actualmente rastreadas en la barra de estado de Obsidian"},showProjectSubtasksWidget:{name:"Mostrar widget de subtareas de proyecto",description:"Mostrar un widget que muestra subtareas para la nota de proyecto actual"},projectSubtasksPosition:{name:"Posici\xF3n de subtareas de proyecto",description:"D\xF3nde posicionar el widget de subtareas de proyecto",options:{top:"Parte superior de la nota",bottom:"Parte inferior de la nota"}},showRelationshipsWidget:{name:"Mostrar widget de relaciones",description:"Mostrar un widget que muestra todas las relaciones de la nota actual (subtareas, proyectos, dependencias)"},relationshipsPosition:{name:"Posici\xF3n de relaciones",description:"D\xF3nde posicionar el widget de relaciones",options:{top:"Arriba de la nota",bottom:"Abajo de la nota"}},showTaskCardInNote:{name:"Mostrar tarjeta de tarea en nota",description:"Mostrar un widget de tarjeta de tarea en la parte superior de las notas de tareas que muestre los detalles y acciones de la tarea"},showExpandableSubtasks:{name:"Mostrar subtareas expandibles",description:"Permitir expandir/contraer secciones de subtareas en tarjetas de tareas"},subtaskChevronPosition:{name:"Posici\xF3n de chevron de subtarea",description:"Posici\xF3n de chevrons de expandir/contraer en tarjetas de tareas",options:{left:"Lado izquierdo",right:"Lado derecho"}},viewsButtonAlignment:{name:"Alineaci\xF3n del bot\xF3n de vistas",description:"Alineaci\xF3n del bot\xF3n de vistas/filtros en la interfaz de tareas",options:{left:"Lado izquierdo",right:"Lado derecho"}}},projectAutosuggest:{header:"Autosugerencia de proyectos",description:"Personalizar c\xF3mo se muestran las sugerencias de proyectos durante la creaci\xF3n de tareas.",requiredTags:{name:"Etiquetas requeridas",description:"Mostrar solo notas con cualquiera de estas etiquetas (separadas por comas). Dejar vac\xEDo para mostrar todas las notas.",placeholder:"proyecto, activo, importante"},includeFolders:{name:"Incluir carpetas",description:"Mostrar solo notas en estas carpetas (rutas separadas por comas). Dejar vac\xEDo para mostrar todas las carpetas.",placeholder:"Proyectos/, Trabajo/Activo, Personal"},requiredPropertyKey:{name:"Clave de propiedad requerida",description:"Mostrar solo notas donde esta propiedad de frontmatter coincida con el valor de abajo. Dejar vac\xEDo para ignorar.",placeholder:"tipo"},requiredPropertyValue:{name:"Valor de propiedad requerido",description:"Solo las notas donde la propiedad igual a este valor son sugeridas. Dejar vac\xEDo para requerir que la propiedad exista.",placeholder:"proyecto"},customizeDisplay:{name:"Personalizar visualizaci\xF3n de sugerencias",description:"Mostrar opciones avanzadas para configurar c\xF3mo aparecen las sugerencias de proyectos y qu\xE9 informaci\xF3n muestran."},enableFuzzyMatching:{name:"Habilitar coincidencia difusa",description:"Permitir errores tipogr\xE1ficos y coincidencias parciales en b\xFAsqueda de proyectos. Puede ser m\xE1s lento en b\xF3vedas grandes."},displayRowsHelp:"Configurar hasta 3 l\xEDneas de informaci\xF3n para mostrar para cada sugerencia de proyecto.",displayRows:{row1:{name:"Fila 1",description:"Formato: {propiedad|banderas}. Propiedades: title, aliases, file.path, file.parent. Banderas: n(Etiqueta) muestra etiqueta, s hace b\xFAsqueda. Ejemplo: {title|n(T\xEDtulo)|s}",placeholder:"{title|n(T\xEDtulo)}"},row2:{name:"Fila 2 (opcional)",description:"Patrones comunes: {aliases|n(Alias)}, {file.parent|n(Carpeta)}, literal:Texto personalizado",placeholder:"{aliases|n(Alias)}"},row3:{name:"Fila 3 (opcional)",description:"Informaci\xF3n adicional como {file.path|n(Ruta)} o campos de frontmatter personalizados",placeholder:"{file.path|n(Ruta)}"}},quickReference:{header:"Referencia r\xE1pida",properties:"Propiedades disponibles: title, aliases, file.path, file.parent, o cualquier campo de frontmatter",labels:'Agregar etiquetas: {title|n(T\xEDtulo)} \u2192 "T\xEDtulo: Mi proyecto"',searchable:"Hacer b\xFAsqueda: {description|s} incluye descripci\xF3n en b\xFAsqueda +",staticText:"Texto est\xE1tico: literal:Mi etiqueta personalizada",alwaysSearchable:"Nombre de archivo, t\xEDtulo y alias siempre son b\xFAsqueda por defecto."}},dataStorage:{name:"Ubicaci\xF3n de almacenamiento",description:"D\xF3nde almacenar el historial de sesiones de Pomodoro",pluginData:"Datos del plugin (recomendado)",dailyNotes:"Notas diarias",notices:{locationChanged:"Ubicaci\xF3n de almacenamiento de Pomodoro cambiada a {location}"}},notifications:{description:"Configurar notificaciones de recordatorio de tareas y alertas."},performance:{description:"Configurar opciones de rendimiento y comportamiento del plugin."},timeTrackingSection:{description:"Configurar comportamientos de seguimiento de tiempo autom\xE1tico."},recurringSection:{description:"Configurar comportamiento para gesti\xF3n de tareas recurrentes."}},integrations:{basesIntegration:{header:"Integraci\xF3n con Bases",description:"Configurar integraci\xF3n con el plugin Obsidian Bases. Esta es una caracter\xEDstica experimental, y actualmente depende de APIs no documentadas de Obsidian. El comportamiento puede cambiar o fallar.",enable:{name:"Habilitar integraci\xF3n con Bases",description:"Habilitar vistas de TaskNotes para usar dentro del plugin Obsidian Bases. El plugin Bases debe estar habilitado para que esto funcione."},viewCommands:{header:"Vistas y archivos base",description:"TaskNotes utiliza archivos de Obsidian Bases (.base) para sus vistas. Estos archivos se generan autom\xE1ticamente al inicio si no existen, configurados con tus ajustes actuales (identificaci\xF3n de tareas, mapeo de campos, estados, etc.).",descriptionRegen:'Los archivos base no se actualizan autom\xE1ticamente cuando cambias la configuraci\xF3n. Para aplicar nuevos ajustes, elimina los archivos .base existentes y reinicia Obsidian, usa "Crear archivos" abajo, o ed\xEDtalos manualmente.',docsLink:"Ver documentaci\xF3n para f\xF3rmulas disponibles y opciones de personalizaci\xF3n",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"Abrir vista de mini calendario",kanban:"Abrir vista kanban",tasks:"Abrir vista de tareas",advancedCalendar:"Abrir vista de calendario avanzado",agenda:"Abrir vista de agenda",relationships:"Widget de relaciones"},fileLabel:"Archivo: {path}",resetButton:"Restablecer",resetTooltip:"Restablecer a ruta predeterminada"},createDefaultFiles:{name:"Crear archivos predeterminados",description:"Crea los archivos .base predeterminados en el directorio TaskNotes/Views/. Los archivos existentes no se sobrescribir\xE1n.",buttonText:"Crear archivos"},exportV3Views:{name:"Exportar vistas guardadas V3 a Bases",description:"Convierte todas tus vistas guardadas de TaskNotes v3 en un solo archivo .base con m\xFAltiples vistas. Esto ayuda a migrar tus configuraciones de filtros v3 al nuevo sistema de Bases.",buttonText:"Exportar vistas V3",noViews:"No hay vistas guardadas para exportar",fileExists:"El archivo ya existe",confirmOverwrite:'Ya existe un archivo llamado "{fileName}". \xBFSobrescribirlo?',success:"Exportadas {count} vistas guardadas a {filePath}",error:"Error al exportar vistas: {message}"},notices:{enabled:"Integraci\xF3n con Bases habilitada. Por favor reinicia Obsidian para completar la configuraci\xF3n.",disabled:"Integraci\xF3n con Bases deshabilitada. Por favor reinicia Obsidian para completar la eliminaci\xF3n."}},calendarSubscriptions:{header:"Suscripciones de calendario",description:"Suscribirse a calendarios externos v\xEDa URLs ICS/iCal para ver eventos junto a tus tareas.",defaultNoteTemplate:{name:"Plantilla de nota predeterminada",description:"Ruta al archivo de plantilla para notas creadas desde eventos ICS",placeholder:"Plantillas/Plantilla de evento.md"},defaultNoteFolder:{name:"Carpeta de nota predeterminada",description:"Carpeta para notas creadas desde eventos ICS",placeholder:"Calendario/Eventos"},filenameFormat:{name:"Formato de nombre de archivo de nota ICS",description:"C\xF3mo se generan los nombres de archivo para notas creadas desde eventos ICS",options:{title:"T\xEDtulo del evento",zettel:"Formato Zettelkasten",timestamp:"Marca de tiempo",custom:"Plantilla personalizada"}},customTemplate:{name:"Plantilla de nombre de archivo ICS personalizada",description:"Plantilla para nombres de archivo de eventos ICS personalizados",placeholder:"{date}-{title}"}},subscriptionsList:{header:"Lista de suscripciones de calendario",addSubscription:{name:"Agregar suscripci\xF3n de calendario",description:"Agregar una nueva suscripci\xF3n de calendario desde URL ICS/iCal o archivo local",buttonText:"Agregar suscripci\xF3n"},refreshAll:{name:"Actualizar todas las suscripciones",description:"Actualizar manualmente todas las suscripciones de calendario habilitadas",buttonText:"Actualizar todas"},newCalendarName:"Nuevo calendario",emptyState:"No hay suscripciones de calendario configuradas. Agrega una suscripci\xF3n para sincronizar calendarios externos.",notices:{addSuccess:"Nueva suscripci\xF3n de calendario agregada - por favor configura los detalles",addFailure:"Error al agregar suscripci\xF3n",serviceUnavailable:"Servicio de suscripci\xF3n ICS no disponible",refreshSuccess:"Todas las suscripciones de calendario actualizadas exitosamente",refreshFailure:"Error al actualizar algunas suscripciones de calendario",updateFailure:"Error al actualizar suscripci\xF3n",deleteSuccess:'Suscripci\xF3n "{name}" eliminada',deleteFailure:"Error al eliminar suscripci\xF3n",enableFirst:"Habilita la suscripci\xF3n primero",refreshSubscriptionSuccess:'"{name}" actualizado',refreshSubscriptionFailure:"Error al actualizar suscripci\xF3n"},labels:{enabled:"Habilitado:",name:"Nombre:",type:"Tipo:",url:"URL:",filePath:"Ruta de archivo:",color:"Color:",refreshMinutes:"Actualizar (min):"},typeOptions:{remote:"URL remota",local:"Archivo local"},placeholders:{calendarName:"Nombre del calendario",url:"URL ICS/iCal",filePath:"Ruta de archivo local (ej. Calendario.ics)",localFile:"Calendario.ics"},statusLabels:{enabled:"Habilitado",disabled:"Deshabilitado",remote:"Remoto",localFile:"Archivo local",remoteCalendar:"Calendario remoto",localFileCalendar:"Archivo local",synced:"Sincronizado {timeAgo}",error:"Error"},actions:{refreshNow:"Actualizar ahora",deleteSubscription:"Eliminar suscripci\xF3n"},refreshNow:"Actualizar ahora",confirmDelete:{title:"Eliminar suscripci\xF3n",message:'\xBFEst\xE1s seguro de que quieres eliminar la suscripci\xF3n "{name}"? Esta acci\xF3n no se puede deshacer.',confirmText:"Eliminar"}},autoExport:{header:"Exportaci\xF3n autom\xE1tica ICS",description:"Exportar autom\xE1ticamente todas tus tareas a un archivo ICS.",enable:{name:"Habilitar exportaci\xF3n autom\xE1tica",description:"Mantener autom\xE1ticamente un archivo ICS actualizado con todas tus tareas"},filePath:{name:"Ruta del archivo de exportaci\xF3n",description:"Ruta donde se guardar\xE1 el archivo ICS (relativo a la ra\xEDz de la b\xF3veda)",placeholder:"tasknotes-calendario.ics"},interval:{name:"Intervalo de actualizaci\xF3n (entre 5 y 1440 minutos)",description:"Con qu\xE9 frecuencia actualizar el archivo de exportaci\xF3n",placeholder:"60"},exportNow:{name:"Exportar ahora",description:"Activar manualmente una exportaci\xF3n inmediata",buttonText:"Exportar ahora"},status:{title:"Estado de exportaci\xF3n:",lastExport:"\xDAltima exportaci\xF3n: {time}",nextExport:"Pr\xF3xima exportaci\xF3n: {time}",noExports:"A\xFAn no hay exportaciones",notScheduled:"No programado",notInitialized:"Servicio de auto exportaci\xF3n no inicializado - por favor reinicia Obsidian",serviceNotInitialized:"Servicio no inicializado - por favor reinicia Obsidian"},notices:{reloadRequired:"Por favor recarga Obsidian para que los cambios de exportaci\xF3n autom\xE1tica tengan efecto.",exportSuccess:"Tareas exportadas exitosamente",exportFailure:"Exportaci\xF3n fallida - revisa la consola para detalles",serviceUnavailable:"Servicio de auto exportaci\xF3n no disponible"}},httpApi:{header:"API HTTP",description:"Habilitar API HTTP para integraciones externas y automatizaciones.",enable:{name:"Habilitar API HTTP",description:"Iniciar servidor HTTP local para acceso API"},port:{name:"Puerto API",description:"N\xFAmero de puerto para el servidor API HTTP",placeholder:"3000"},authToken:{name:"Token de autenticaci\xF3n API",description:"Token requerido para autenticaci\xF3n API (dejar vac\xEDo para sin autenticaci\xF3n)",placeholder:"tu-token-secreto"},endpoints:{header:"Endpoints API disponibles",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhooks",description:{overview:"Los webhooks env\xEDan notificaciones en tiempo real a servicios externos cuando ocurren eventos de TaskNotes.",usage:"Configurar webhooks para integrar con herramientas de automatizaci\xF3n, servicios de sincronizaci\xF3n o aplicaciones personalizadas."},addWebhook:{name:"Agregar webhook",description:"Registrar un nuevo endpoint de webhook",buttonText:"Agregar webhook"},emptyState:{message:"No hay webhooks configurados. Agrega un webhook para recibir notificaciones en tiempo real.",buttonText:"Agregar webhook"},labels:{active:"Activo:",url:"URL:",events:"Eventos:",transform:"Transformar:"},placeholders:{url:"URL del webhook",noEventsSelected:"No hay eventos seleccionados",rawPayload:"Carga cruda (sin transformaci\xF3n)"},statusLabels:{active:"Activo",inactive:"Inactivo",created:"Creado {timeAgo}"},actions:{editEvents:"Editar eventos",delete:"Eliminar"},editEvents:"Editar eventos",notices:{urlUpdated:"URL del webhook actualizada",enabled:"Webhook habilitado",disabled:"Webhook deshabilitado",created:"Webhook creado exitosamente",deleted:"Webhook eliminado",updated:"Webhook actualizado"},confirmDelete:{title:"Eliminar webhook",message:`\xBFEst\xE1s seguro de que quieres eliminar este webhook?
|
||
|
||
URL: {url}
|
||
|
||
Esta acci\xF3n no se puede deshacer.`,confirmText:"Eliminar"},cardHeader:"Webhook",cardFields:{active:"Activo:",url:"URL:",events:"Eventos:",transform:"Transformar:"},eventsDisplay:{noEvents:"No hay eventos seleccionados"},transformDisplay:{noTransform:"Carga cruda (sin transformaci\xF3n)"},secretModal:{title:"Secreto de webhook generado",description:"Tu secreto de webhook ha sido generado. Guarda este secreto ya que no podr\xE1s verlo de nuevo:",usage:"Usa este secreto para verificar cargas de webhook en tu aplicaci\xF3n receptora.",gotIt:"Entendido"},editModal:{title:"Editar webhook",eventsHeader:"Eventos a suscribir"},events:{taskCreated:{label:"Tarea creada",description:"Cuando se crean nuevas tareas"},taskUpdated:{label:"Tarea actualizada",description:"Cuando se modifican las tareas"},taskCompleted:{label:"Tarea completada",description:"Cuando las tareas se marcan como completas"},taskDeleted:{label:"Tarea eliminada",description:"Cuando se eliminan las tareas"},taskArchived:{label:"Tarea archivada",description:"Cuando se archivan las tareas"},taskUnarchived:{label:"Tarea desarchivada",description:"Cuando se desarchivar las tareas"},timeStarted:{label:"Tiempo iniciado",description:"Cuando inicia el seguimiento de tiempo"},timeStopped:{label:"Tiempo detenido",description:"Cuando se detiene el seguimiento de tiempo"},pomodoroStarted:{label:"Pomodoro iniciado",description:"Cuando comienzan las sesiones de pomodoro"},pomodoroCompleted:{label:"Pomodoro completado",description:"Cuando terminan las sesiones de pomodoro"},pomodoroInterrupted:{label:"Pomodoro interrumpido",description:"Cuando se detienen las sesiones de pomodoro"},recurringCompleted:{label:"Instancia recurrente completada",description:"Cuando se completan instancias de tareas recurrentes"},reminderTriggered:{label:"Recordatorio activado",description:"Cuando se activan recordatorios de tareas"}},modals:{secretGenerated:{title:"Secreto de webhook generado",description:"Tu secreto de webhook ha sido generado. Guarda este secreto ya que no podr\xE1s verlo de nuevo:",usage:"Usa este secreto para verificar cargas de webhook en tu aplicaci\xF3n receptora.",buttonText:"Entendido"},edit:{title:"Editar webhook",eventsSection:"Eventos a suscribir",transformSection:"Configuraci\xF3n de transformaci\xF3n (Opcional)",headersSection:"Configuraci\xF3n de encabezados",transformFile:{name:"Archivo de transformaci\xF3n",description:"Ruta a un archivo .js o .json en tu b\xF3veda que transforma cargas de webhook",placeholder:"discord-transform.js"},customHeaders:{name:"Incluir encabezados personalizados",description:"Incluir encabezados de TaskNotes (tipo de evento, firma, ID de entrega). Desactivar para Discord, Slack y otros servicios con pol\xEDticas CORS estrictas."},buttons:{cancel:"Cancelar",save:"Guardar cambios"},notices:{selectAtLeastOneEvent:"Por favor selecciona al menos un evento"}},add:{title:"Agregar webhook",eventsSection:"Eventos a suscribir",transformSection:"Configuraci\xF3n de transformaci\xF3n (Opcional)",headersSection:"Configuraci\xF3n de encabezados",url:{name:"URL del webhook",description:"El endpoint donde se enviar\xE1n las cargas del webhook",placeholder:"https://tu-servicio.com/webhook"},transformFile:{name:"Archivo de transformaci\xF3n",description:"Ruta a un archivo .js o .json en tu b\xF3veda que transforma cargas de webhook",placeholder:"discord-transform.js"},customHeaders:{name:"Incluir encabezados personalizados",description:"Incluir encabezados de TaskNotes (tipo de evento, firma, ID de entrega). Desactivar para Discord, Slack y otros servicios con pol\xEDticas CORS estrictas."},transformHelp:{title:"Los archivos de transformaci\xF3n te permiten personalizar cargas de webhook:",jsFiles:"Archivos .js:",jsDescription:" Transformaciones JavaScript personalizadas",jsonFiles:"Archivos .json:",jsonDescription:" Plantillas con ",jsonVariable:"${data.task.title}",leaveEmpty:"Dejar vac\xEDo:",leaveEmptyDescription:" Enviar datos crudos",example:"Ejemplo:",exampleFile:"discord-transform.js"},buttons:{cancel:"Cancelar",add:"Agregar webhook"},notices:{urlRequired:"URL del webhook es requerida",selectAtLeastOneEvent:"Por favor selecciona al menos un evento"}}}},otherIntegrations:{header:"Otras integraciones de plugins",description:"Configurar integraciones con otros plugins de Obsidian."},timeFormats:{justNow:"Justo ahora",minutesAgo:"hace {minutes} minuto{plural}",hoursAgo:"hace {hours} hora{plural}",daysAgo:"hace {days} d\xEDa{plural}"}}},notices:{languageChanged:"Idioma cambiado a {language}.",exportTasksFailed:"Error al exportar tareas como archivo ICS",icsNoteCreatedSuccess:"Nota creada exitosamente",icsCreationModalOpenFailed:"Error al abrir modal de creaci\xF3n",icsNoteLinkSuccess:'Nota "{fileName}" vinculada al evento ICS',icsTaskCreatedSuccess:"Tarea creada: {title}",icsRelatedItemsRefreshed:"Elementos relacionados actualizados",icsFileNotFound:"Archivo no encontrado o inv\xE1lido",icsFileOpenFailed:"Error al abrir el archivo",timeblockAttachmentExists:'"{fileName}" ya est\xE1 adjunto',timeblockAttachmentAdded:'"{fileName}" agregado como adjunto',timeblockAttachmentRemoved:'"{fileName}" eliminado de los adjuntos',timeblockFileTypeNotSupported:'No se puede abrir "{fileName}" - tipo de archivo no compatible',timeblockTitleRequired:"Por favor ingrese un t\xEDtulo para el bloque de tiempo",timeblockUpdatedSuccess:'Bloque de tiempo "{title}" actualizado exitosamente',timeblockUpdateFailed:"Error al actualizar el bloque de tiempo. Consulte la consola para m\xE1s detalles.",timeblockDeletedSuccess:'Bloque de tiempo "{title}" eliminado exitosamente',timeblockDeleteFailed:"Error al eliminar el bloque de tiempo. Consulte la consola para m\xE1s detalles.",timeblockRequiredFieldsMissing:"Por favor complete todos los campos obligatorios",agendaLoadingFailed:"Error al cargar la agenda. Por favor intente actualizar.",statsLoadingFailed:"Error al cargar los detalles del proyecto."},commands:{openCalendarView:"Abrir vista de mini calendario",openAdvancedCalendarView:"Abrir vista de calendario",openTasksView:"Abrir vista de tareas",openNotesView:"Abrir vista de notas",openAgendaView:"Abrir vista de agenda",openPomodoroView:"Abrir temporizador pomodoro",openKanbanView:"Abrir tablero kanban",openPomodoroStats:"Abrir estad\xEDsticas de pomodoro",openStatisticsView:"Abrir estad\xEDsticas de tareas y proyectos",createNewTask:"Crear nueva tarea",convertCurrentNoteToTask:{name:"Convertir nota actual en tarea",noActiveFile:"No hay archivo activo para convertir",alreadyTask:"Esta nota ya es una tarea",success:"'{title}' convertido en tarea"},convertToTaskNote:"Convertir tarea de casilla a TaskNote",convertAllTasksInNote:"Convertir todas las tareas en nota",insertTaskNoteLink:"Insertar enlace de tasknote",createInlineTask:"Crear nueva tarea en l\xEDnea",quickActionsCurrentTask:"Acciones r\xE1pidas para tarea actual",goToTodayNote:"Ir a la nota de hoy",startPomodoro:"Iniciar temporizador pomodoro",stopPomodoro:"Detener temporizador pomodoro",pauseResumePomodoro:"Pausar/reanudar temporizador pomodoro",refreshCache:"Actualizar cach\xE9",exportAllTasksIcs:"Exportar todas las tareas como archivo ICS",viewReleaseNotes:"Ver notas de la versi\xF3n",startTimeTrackingWithSelector:"Iniciar seguimiento de tiempo (seleccionar tarea)",editTimeEntries:"Editar entradas de tiempo (seleccionar tarea)",createOrOpenTask:"Crear o abrir tarea"},modals:{deviceCode:{title:"Autorizaci\xF3n de Google Calendar",instructions:{intro:"Para conectar su Google Calendar, siga estos pasos:"},steps:{open:"Abrir",inBrowser:"en su navegador",enterCode:"Ingrese este c\xF3digo cuando se le solicite:",signIn:"Inicie sesi\xF3n con su cuenta de Google y otorgue acceso",returnToObsidian:"Vuelva a Obsidian (esta ventana se cerrar\xE1 autom\xE1ticamente)"},codeLabel:"Su c\xF3digo:",copyCodeAriaLabel:"Copiar c\xF3digo",waitingForAuthorization:"Esperando autorizaci\xF3n...",openBrowserButton:"Abrir navegador",cancelButton:"Cancelar",expiresMinutesSeconds:"El c\xF3digo expira en {minutes}m {seconds}s",expiresSeconds:"El c\xF3digo expira en {seconds}s"},icsEventInfo:{calendarEventHeading:"Evento de calendario",titleLabel:"T\xEDtulo",calendarLabel:"Calendario",dateTimeLabel:"Fecha y hora",locationLabel:"Ubicaci\xF3n",descriptionLabel:"Descripci\xF3n",urlLabel:"URL",relatedNotesHeading:"Notas y tareas relacionadas",noRelatedItems:"No se encontraron notas o tareas relacionadas para este evento.",typeTask:"Tarea",typeNote:"Nota",actionsHeading:"Acciones",createFromEventLabel:"Crear desde evento",createFromEventDesc:"Crear una nueva nota o tarea desde este evento de calendario",linkExistingLabel:"Vincular existente",linkExistingDesc:"Vincular una nota existente a este evento de calendario"},timeblockInfo:{editHeading:"Editar bloque de tiempo",dateTimeLabel:"Fecha y hora: ",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para su bloque de tiempo",titlePlaceholder:"ej. Sesi\xF3n de trabajo profundo",descriptionLabel:"Descripci\xF3n",descriptionDesc:"Descripci\xF3n opcional para el bloque de tiempo",descriptionPlaceholder:"Enfoque en nuevas funciones, sin interrupciones",colorLabel:"Color",colorDesc:"Color opcional para el bloque de tiempo",colorPlaceholder:"#3b82f6",attachmentsLabel:"Adjuntos",attachmentsDesc:"Archivos o notas vinculados a este bloque de tiempo",addAttachmentButton:"Agregar adjunto",addAttachmentTooltip:"Seleccionar un archivo o nota usando b\xFAsqueda difusa",deleteButton:"Eliminar bloque de tiempo",saveButton:"Guardar cambios",deleteConfirmationTitle:"Eliminar bloque de tiempo"},timeblockCreation:{heading:"Crear bloque de tiempo",dateLabel:"Fecha: ",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para su bloque de tiempo",titlePlaceholder:"ej. Sesi\xF3n de trabajo profundo",startTimeLabel:"Hora de inicio",startTimeDesc:"Cu\xE1ndo comienza el bloque de tiempo",startTimePlaceholder:"09:00",endTimeLabel:"Hora de fin",endTimeDesc:"Cu\xE1ndo termina el bloque de tiempo",endTimePlaceholder:"11:00",descriptionLabel:"Descripci\xF3n",descriptionDesc:"Descripci\xF3n opcional para el bloque de tiempo",descriptionPlaceholder:"Enfoque en nuevas funciones, sin interrupciones",colorLabel:"Color",colorDesc:"Color opcional para el bloque de tiempo",colorPlaceholder:"#3b82f6",attachmentsLabel:"Adjuntos",attachmentsDesc:"Archivos o notas para vincular a este bloque de tiempo",addAttachmentButton:"Agregar adjunto",addAttachmentTooltip:"Seleccionar un archivo o nota usando b\xFAsqueda difusa",createButton:"Crear bloque de tiempo"},icsNoteCreation:{heading:"Crear desde evento ICS",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para el nuevo contenido",folderLabel:"Carpeta",folderDesc:"Carpeta de destino (dejar vac\xEDo para la ra\xEDz del vault)",folderPlaceholder:"carpeta/subcarpeta",createButton:"Crear",startLabel:"Inicio: ",endLabel:"Fin: ",locationLabel:"Ubicaci\xF3n: ",calendarLabel:"Calendario: ",useTemplateLabel:"Usar plantilla",useTemplateDesc:"Aplicar una plantilla al crear el contenido",templatePathLabel:"Ruta de plantilla",templatePathDesc:"Ruta al archivo de plantilla",templatePathPlaceholder:"templates/ics-note-template.md"},unscheduledTasksSelector:{title:"Tareas no programadas",placeholder:"Escribe para buscar tareas no programadas...",instructions:{navigate:"para navegar",schedule:"para programar",dismiss:"para descartar"}},migration:{title:"Migrar al nuevo sistema de recurrencia",description:"TaskNotes ahora usa patrones RRULE est\xE1ndar de la industria para recurrencia, lo que permite horarios m\xE1s complejos y mejor compatibilidad con otras aplicaciones.",tasksFound:"{count} tarea(s) con patrones de recurrencia antiguos detectados",noMigrationNeeded:"No se requiere migraci\xF3n de tareas",warnings:{title:"Antes de proceder:",backup:"Respalda tu b\xF3veda antes de migrar",conversion:"Los patrones de recurrencia antiguos se convertir\xE1n al nuevo formato",normalUsage:"Puedes continuar usando TaskNotes normalmente durante la migraci\xF3n",permanent:"Este cambio es permanente y no se puede deshacer autom\xE1ticamente"},benefits:{title:"Beneficios del nuevo sistema:",powerfulPatterns:"Patrones de recurrencia complejos (ej. 'cada segundo martes')",performance:"Mejor rendimiento con tareas recurrentes",compatibility:"Formato de recurrencia est\xE1ndar compatible con otras aplicaciones",nlp:"Soporte mejorado de procesamiento de lenguaje natural"},progress:{title:"Progreso de migraci\xF3n",preparing:"Preparando migraci\xF3n...",completed:"Migraci\xF3n completada exitosamente",failed:"Migraci\xF3n fallida"},buttons:{migrate:"Iniciar migraci\xF3n",completed:"Cerrar"},errors:{title:"Errores durante la migraci\xF3n:"},notices:{completedWithErrors:"Migraci\xF3n completada con algunos errores. Revisa la lista de errores arriba.",success:"\xA1Todas las tareas migradas exitosamente!",failed:"Migraci\xF3n fallida. Por favor revisa la consola para m\xE1s detalles."},prompt:{message:"TaskNotes detect\xF3 tareas usando el formato de recurrencia antiguo. \xBFTe gustar\xEDa migrarlas al nuevo sistema ahora?",migrateNow:"Migrar ahora",remindLater:"Recordar m\xE1s tarde"}},task:{titlePlaceholder:"\xBFQu\xE9 necesita hacerse?",titleLabel:"T\xEDtulo",titleDetailedPlaceholder:"T\xEDtulo de la tarea...",detailsLabel:"Detalles",detailsPlaceholder:"Agregar m\xE1s detalles...",projectsLabel:"Proyectos",projectsAdd:"Agregar proyecto",projectsTooltip:"Seleccionar una nota de proyecto usando b\xFAsqueda difusa",projectsRemoveTooltip:"Eliminar proyecto",contextsLabel:"Contextos",contextsPlaceholder:"contexto1, contexto2",tagsLabel:"Etiquetas",tagsPlaceholder:"etiqueta1, etiqueta2",timeEstimateLabel:"Estimaci\xF3n de tiempo (minutos)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"Cambios sin guardar",message:"Tiene cambios sin guardar. \xBFDesea guardarlos?",save:"Guardar cambios",discard:"Descartar cambios",cancel:"Seguir editando"},dependencies:{blockedBy:"Bloqueado por",blocking:"Bloqueando",placeholder:"[[Nota de tarea]]",addTaskButton:"Agregar tarea",selectTaskTooltip:"Seleccionar una nota de tarea usando b\xFAsqueda difusa",removeTaskTooltip:"Eliminar tarea"},organization:{projects:"Proyectos",subtasks:"Subtareas",addToProject:"Agregar a proyecto",addToProjectButton:"Agregar a proyecto",addSubtasks:"Agregar subtareas",addSubtasksButton:"Agregar subtarea",addSubtasksTooltip:"Seleccionar tareas para convertirlas en subtareas de esta tarea",removeSubtaskTooltip:"Eliminar subtarea",notices:{noEligibleSubtasks:"No hay tareas elegibles disponibles para asignar como subtareas",subtaskSelectFailed:"Error al abrir selector de subtareas"}},customFieldsLabel:"Campos personalizados",actions:{due:"Establecer fecha de vencimiento",scheduled:"Establecer fecha programada",status:"Establecer estado",priority:"Establecer prioridad",recurrence:"Establecer recurrencia",reminders:"Establecer recordatorios"},buttons:{openNote:"Abrir nota",save:"Guardar"},tooltips:{dueValue:"Vence: {value}",scheduledValue:"Programado: {value}",statusValue:"Estado: {value}",priorityValue:"Prioridad: {value}",recurrenceValue:"Recurrencia: {value}",remindersSingle:"1 recordatorio establecido",remindersPlural:"{count} recordatorios establecidos"},dateMenu:{dueTitle:"Establecer fecha de vencimiento",scheduledTitle:"Establecer fecha programada"},userFields:{textPlaceholder:"Ingresar {field}...",numberPlaceholder:"0",datePlaceholder:"YYYY-MM-DD",listPlaceholder:"elemento1, elemento2, elemento3",pickDate:"Elegir fecha de {field}"},recurrence:{daily:"Diario",weekly:"Semanal",everyTwoWeeks:"Cada 2 semanas",weekdays:"D\xEDas de semana",weeklyOn:"Semanal en {days}",monthly:"Mensual",everyThreeMonths:"Cada 3 meses",monthlyOnOrdinal:"Mensual en el {ordinal}",monthlyByWeekday:"Mensual (por d\xEDa de semana)",yearly:"Anual",yearlyOn:"Anual en {month} {day}",custom:"Personalizado",countSuffix:"{count} veces",untilSuffix:"hasta {date}",ordinal:"{number}{suffix}"}},taskSelector:{title:"Seleccionar tarea",placeholder:"Escribe para buscar tareas...",instructions:{navigate:"para navegar",select:"para seleccionar",dismiss:"para cancelar"},notices:{noteNotFound:'No se pudo encontrar la nota "{name}"'},dueDate:{overdue:"Vencimiento: {date} (vencido)",today:"Vencimiento: Hoy"}},taskSelectorWithCreate:{title:"Crear o abrir tarea",placeholder:"Buscar tareas o escribir para crear nueva...",instructions:{create:"para crear nueva tarea"},footer:{createLabel:" para crear: "},notices:{emptyQuery:"Por favor ingrese una descripci\xF3n de tarea",invalidTitle:"No se pudo reconocer un t\xEDtulo de tarea v\xE1lido"}},taskCreation:{title:"Crear tarea",actions:{fillFromNaturalLanguage:"Llenar formulario desde lenguaje natural",hideDetailedOptions:"Ocultar opciones detalladas",showDetailedOptions:"Mostrar opciones detalladas"},nlPlaceholder:"Comprar v\xEDveres ma\xF1ana a las 3pm @casa #diligencias",notices:{titleRequired:"Por favor ingresa un t\xEDtulo de tarea",success:'Tarea "{title}" creada exitosamente',successShortened:'Tarea "{title}" creada exitosamente (nombre de archivo acortado por longitud)',failure:"Error al crear tarea: {message}",blockingUnresolved:"No se pudo resolver: {entries}"}},taskEdit:{title:"Editar tarea",sections:{completions:"Finalizaciones",taskInfo:"Informaci\xF3n de la tarea"},metadata:{totalTrackedTime:"Tiempo total rastreado:",created:"Creado:",modified:"Modificado:",file:"Archivo:"},buttons:{archive:"Archivar",unarchive:"Desarchivar"},notices:{titleRequired:"Por favor ingresa un t\xEDtulo de tarea",noChanges:"No hay cambios para guardar",updateSuccess:'Tarea "{title}" actualizada exitosamente',updateFailure:"Error al actualizar tarea: {message}",dependenciesUpdateSuccess:"Dependencias actualizadas",blockingUnresolved:"No se pudo resolver: {entries}",fileMissing:"No se pudo encontrar el archivo de tarea: {path}",openNoteFailure:"Error al abrir nota de tarea",archiveSuccess:"Tarea {action} exitosamente",archiveFailure:"Error al archivar tarea"},archiveAction:{archived:"archivada",unarchived:"desarchivada"}},storageLocation:{title:{migrate:"\xBFMigrar datos de pomodoro?",switch:"\xBFCambiar a almacenamiento de notas diarias?"},message:{migrate:"Esto migrar\xE1 tus datos de sesi\xF3n de pomodoro existentes al frontmatter de notas diarias. Los datos se agrupar\xE1n por fecha y se almacenar\xE1n en cada nota diaria.",switch:"Los datos de sesi\xF3n de pomodoro se almacenar\xE1n en el frontmatter de notas diarias en lugar del archivo de datos del plugin."},whatThisMeans:"Lo que esto significa:",bullets:{dailyNotesRequired:"El plugin principal Daily Notes debe permanecer habilitado",storedInNotes:"Los datos se almacenar\xE1n en el frontmatter de tus notas diarias",migrateData:"Los datos del plugin existentes se migrar\xE1n y luego se borrar\xE1n",futureSessions:"Las sesiones futuras se guardar\xE1n en notas diarias",dataLongevity:"Esto proporciona mejor longevidad de datos con tus notas"},finalNote:{migrate:"\u26A0\uFE0F Aseg\xFArate de tener respaldos si es necesario. Este cambio no se puede deshacer autom\xE1ticamente.",switch:"Puedes cambiar de vuelta al almacenamiento del plugin en cualquier momento en el futuro."},buttons:{migrate:"Migrar datos",switch:"Cambiar almacenamiento"}},dueDate:{title:"Establecer fecha de vencimiento",taskLabel:"Tarea: {title}",sections:{dateTime:"Fecha y hora de vencimiento",quickOptions:"Opciones r\xE1pidas"},descriptions:{dateTime:"Establecer cu\xE1ndo debe completarse esta tarea"},inputs:{date:{ariaLabel:"Fecha de vencimiento para la tarea",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"Hora de vencimiento para la tarea (opcional)",placeholder:"HH:MM"}},quickOptions:{today:"Hoy",todayAriaLabel:"Establecer fecha de vencimiento a hoy",tomorrow:"Ma\xF1ana",tomorrowAriaLabel:"Establecer fecha de vencimiento a ma\xF1ana",nextWeek:"Pr\xF3xima semana",nextWeekAriaLabel:"Establecer fecha de vencimiento a la pr\xF3xima semana",now:"Ahora",nowAriaLabel:"Establecer fecha y hora de vencimiento a ahora",clear:"Limpiar",clearAriaLabel:"Limpiar fecha de vencimiento"},errors:{invalidDateTime:"Por favor ingresa un formato de fecha y hora v\xE1lido",updateFailed:"Error al actualizar fecha de vencimiento. Por favor intenta de nuevo."}},scheduledDate:{title:"Establecer fecha programada",taskLabel:"Tarea: {title}",sections:{dateTime:"Fecha y hora programada",quickOptions:"Opciones r\xE1pidas"},descriptions:{dateTime:"Establecer cu\xE1ndo planeas trabajar en esta tarea"},inputs:{date:{ariaLabel:"Fecha programada para la tarea",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"Hora programada para la tarea (opcional)",placeholder:"HH:MM"}},quickOptions:{today:"Hoy",todayAriaLabel:"Establecer fecha programada a hoy",tomorrow:"Ma\xF1ana",tomorrowAriaLabel:"Establecer fecha programada a ma\xF1ana",nextWeek:"Pr\xF3xima semana",nextWeekAriaLabel:"Establecer fecha programada a la pr\xF3xima semana",now:"Ahora",nowAriaLabel:"Establecer fecha y hora programada a ahora",clear:"Limpiar",clearAriaLabel:"Limpiar fecha programada"},errors:{invalidDateTime:"Por favor ingresa un formato de fecha y hora v\xE1lido",updateFailed:"Error al actualizar fecha programada. Por favor intenta de nuevo."}},timeEntryEditor:{title:"Entradas de tiempo - {taskTitle}",addEntry:"Agregar entrada de tiempo",noEntries:"A\xFAn no hay entradas de tiempo",deleteEntry:"Eliminar entrada",startTime:"Hora de inicio",endTime:"Hora de finalizaci\xF3n (dejar vac\xEDo si a\xFAn est\xE1 en ejecuci\xF3n)",duration:"Duraci\xF3n (minutos)",durationDesc:"Anular duraci\xF3n calculada",durationPlaceholder:"Ingresar duraci\xF3n en minutos",description:"Descripci\xF3n",descriptionPlaceholder:"\xBFEn qu\xE9 trabajaste?",calculatedDuration:"Calculado: {minutes} minutos",totalTime:"{hours}h {minutes}m total",totalMinutes:"{minutes}m total",saved:"Entradas de tiempo guardadas",saveFailed:"Error al guardar entradas de tiempo",openFailed:"Error al abrir el editor de entradas de tiempo",noTasksWithEntries:"No hay tareas con entradas de tiempo para editar",validation:{missingStartTime:"Se requiere hora de inicio",endBeforeStart:"La hora de finalizaci\xF3n debe ser posterior a la hora de inicio"}},timeTracking:{noTasksAvailable:"No hay tareas disponibles para rastrear tiempo",started:"Seguimiento de tiempo iniciado para: {taskTitle}",startFailed:"Error al iniciar el seguimiento de tiempo"},timeEntry:{mustHaveSpecificTime:"Las entradas de tiempo deben tener horas espec\xEDficas. Seleccione un rango de tiempo en la vista semanal o diaria.",noTasksAvailable:"No hay tareas disponibles para crear entradas de tiempo",created:"Entrada de tiempo creada para {taskTitle} ({duration} minutos)",createFailed:"Error al crear entrada de tiempo"}},contextMenus:{task:{status:"Estado",statusSelected:"\u2713 {label}",priority:"Prioridad",prioritySelected:"\u2713 {label}",dueDate:"Fecha de vencimiento",scheduledDate:"Fecha programada",reminders:"Recordatorios",remindBeforeDue:"Recordar antes del vencimiento\u2026",remindBeforeScheduled:"Recordar antes de programado\u2026",manageReminders:"Gestionar todos los recordatorios\u2026",clearReminders:"Limpiar todos los recordatorios",startTimeTracking:"Iniciar seguimiento de tiempo",stopTimeTracking:"Detener seguimiento de tiempo",editTimeEntries:"Editar entradas de tiempo",archive:"Archivar",unarchive:"Desarchivar",openNote:"Abrir nota",copyTitle:"Copiar t\xEDtulo de tarea",noteActions:"Acciones de nota",rename:"Renombrar",renameTitle:"Renombrar archivo",renamePlaceholder:"Ingresar nuevo nombre",delete:"Eliminar",deleteTitle:"Eliminar archivo",deleteMessage:'\xBFEst\xE1s seguro de que quieres eliminar "{name}"?',deleteConfirm:"Eliminar",copyPath:"Copiar ruta",copyUrl:"Copiar URL de Obsidian",showInExplorer:"Mostrar en explorador de archivos",addToCalendar:"Agregar al calendario",calendar:{google:"Google Calendar",outlook:"Outlook Calendar",yahoo:"Yahoo Calendar",downloadIcs:"Descargar archivo .ics"},recurrence:"Recurrencia",clearRecurrence:"Limpiar recurrencia",customRecurrence:"Recurrencia personalizada...",createSubtask:"Crear subtarea",dependencies:{title:"Dependencias",addBlockedBy:"Agregar bloqueado por\u2026",addBlockedByTitle:"Agregar tareas de las que esto depende",addBlocking:"Agregar bloqueando\u2026",addBlockingTitle:"Agregar tareas que esto bloquea",removeBlockedBy:"Eliminar bloqueado-por\u2026",removeBlocking:"Eliminar bloqueando\u2026",inputPlaceholder:"[[Nota de tarea]]",notices:{noEntries:"Por favor ingrese al menos una tarea",blockedByAdded:"{count} dependencia agregada",blockedByRemoved:"Dependencia eliminada",blockingAdded:"{count} tarea dependiente agregada",blockingRemoved:"Tarea dependiente eliminada",unresolved:"No se pudo resolver: {entries}",noEligibleTasks:"No hay tareas coincidentes disponibles",updateFailed:"Error al actualizar dependencias"}},organization:{title:"Organizaci\xF3n",projects:"Proyectos",addToProject:"Agregar a proyecto\u2026",subtasks:"Subtareas",addSubtasks:"Agregar subtareas\u2026",notices:{alreadyInProject:"La tarea ya est\xE1 en este proyecto",alreadySubtask:"La tarea ya es una subtarea de esta tarea",addedToProject:"Agregado al proyecto: {project}",addedAsSubtask:"{subtask} agregado como subtarea de {parent}",addToProjectFailed:"Error al agregar tarea al proyecto",addAsSubtaskFailed:"Error al agregar tarea como subtarea",projectSelectFailed:"Error al abrir selector de proyecto",subtaskSelectFailed:"Error al abrir selector de subtareas",noEligibleSubtasks:"No hay tareas elegibles disponibles para asignar como subtareas",currentTaskNotFound:"Archivo de tarea actual no encontrado"}},subtasks:{loading:"Cargando subtareas...",noSubtasks:"No se encontraron subtareas",loadFailed:"Error al cargar subtareas"},markComplete:"Marcar como completo para esta fecha",markIncomplete:"Marcar como incompleto para esta fecha",skipInstance:"Omitir instancia",unskipInstance:"Deshacer omisi\xF3n de instancia",quickReminders:{atTime:"A la hora del evento",fiveMinutes:"5 minutos antes",fifteenMinutes:"15 minutos antes",oneHour:"1 hora antes",oneDay:"1 d\xEDa antes"},notices:{toggleCompletionFailure:"Error al alternar finalizaci\xF3n de tarea recurrente: {message}",toggleSkipFailure:"Error al alternar omisi\xF3n de tarea recurrente: {message}",updateDueDateFailure:"Error al actualizar fecha de vencimiento de tarea: {message}",updateScheduledFailure:"Error al actualizar fecha programada de tarea: {message}",updateRemindersFailure:"Error al actualizar recordatorios",clearRemindersFailure:"Error al limpiar recordatorios",addReminderFailure:"Error al agregar recordatorio",archiveFailure:"Error al alternar archivo de tarea: {message}",copyTitleSuccess:"T\xEDtulo de tarea copiado al portapapeles",copyFailure:"Error al copiar al portapapeles",renameSuccess:'Renombrado a "{name}"',renameFailure:"Error al renombrar archivo",copyPathSuccess:"Ruta de archivo copiada al portapapeles",copyUrlSuccess:"URL de Obsidian copiada al portapapeles",updateRecurrenceFailure:"Error al actualizar recurrencia de tarea: {message}"}},ics:{showDetails:"Mostrar detalles",createTask:"Crear tarea desde evento",createNote:"Crear nota desde evento",linkNote:"Vincular nota existente",copyTitle:"Copiar t\xEDtulo",copyLocation:"Copiar ubicaci\xF3n",copyUrl:"Copiar URL",copyMarkdown:"Copiar como markdown",subscriptionUnknown:"Calendario desconocido",notices:{copyTitleSuccess:"T\xEDtulo del evento copiado al portapapeles",copyLocationSuccess:"Ubicaci\xF3n copiada al portapapeles",copyUrlSuccess:"URL del evento copiada al portapapeles",copyMarkdownSuccess:"Detalles del evento copiados como markdown",copyFailure:"Error al copiar al portapapeles",taskCreated:"Tarea creada: {title}",taskCreateFailure:"Error al crear tarea desde evento",noteCreated:"Nota creada exitosamente",creationFailure:"Error al abrir modal de creaci\xF3n",linkSuccess:'Nota "{name}" vinculada al evento',linkFailure:"Error al vincular nota",linkSelectionFailure:"Error al abrir selecci\xF3n de nota"},markdown:{titleFallback:"Evento sin t\xEDtulo",calendar:"**Calendario:** {value}",date:"**Fecha y hora:** {value}",location:"**Ubicaci\xF3n:** {value}",descriptionHeading:"### Descripci\xF3n",url:"**URL:** {value}",at:" a las {time}"}},date:{increment:{plusOneDay:"+1 d\xEDa",minusOneDay:"-1 d\xEDa",plusOneWeek:"+1 semana",minusOneWeek:"-1 semana"},basic:{today:"Hoy",tomorrow:"Ma\xF1ana",thisWeekend:"Este fin de semana",nextWeek:"Pr\xF3xima semana",nextMonth:"Pr\xF3ximo mes"},weekdaysLabel:"D\xEDas de semana",selected:"\u2713 {label}",pickDateTime:"Elegir fecha y hora\u2026",clearDate:"Limpiar fecha",modal:{title:"Establecer fecha y hora",dateLabel:"Fecha",timeLabel:"Hora (opcional)",select:"Seleccionar"}}},services:{pomodoro:{notices:{alreadyRunning:"Un pomodoro ya est\xE1 ejecut\xE1ndose",resumeCurrentSession:"Reanudar la sesi\xF3n actual en lugar de iniciar una nueva",timerAlreadyRunning:"Un temporizador ya est\xE1 ejecut\xE1ndose",resumeSessionInstead:"Reanudar la sesi\xF3n actual en lugar de iniciar una nueva",shortBreakStarted:"Descanso corto iniciado",longBreakStarted:"Descanso largo iniciado",paused:"Pomodoro pausado",resumed:"Pomodoro reanudado",stoppedAndReset:"Pomodoro detenido y reiniciado",migrationSuccess:"{count} sesiones de pomodoro migradas exitosamente a notas diarias.",migrationFailure:"Error al migrar datos de pomodoro. Por favor intenta de nuevo o revisa la consola para detalles."}},icsSubscription:{notices:{calendarNotFound:'Calendario "{name}" no encontrado (404). Por favor verifica que la URL ICS sea correcta y el calendario sea p\xFAblicamente accesible.',calendarAccessDenied:'Acceso al calendario "{name}" denegado (500). Esto puede deberse a restricciones del servidor de Microsoft Outlook. Intenta regenerar la URL ICS desde la configuraci\xF3n de tu calendario.',fetchRemoteFailed:'Error al obtener calendario remoto "{name}": {error}',readLocalFailed:'Error al leer calendario local "{name}": {error}'}},calendarExport:{notices:{generateLinkFailed:"Error al generar enlace de calendario",noTasksToExport:"No se encontraron tareas para exportar",downloadSuccess:"Descargado {filename} con {count} tarea{plural}",downloadFailed:"Error al descargar archivo de calendario",singleDownloadSuccess:"Descargado {filename}"}},filter:{groupLabels:{noProject:"Sin proyecto",noTags:"Sin etiquetas",invalidDate:"Fecha inv\xE1lida",due:{overdue:"Vencido",today:"Hoy",tomorrow:"Ma\xF1ana",nextSevenDays:"Pr\xF3ximos siete d\xEDas",later:"M\xE1s tarde",none:"Sin fecha de vencimiento"},scheduled:{past:"Programaci\xF3n pasada",today:"Hoy",tomorrow:"Ma\xF1ana",nextSevenDays:"Pr\xF3ximos siete d\xEDas",later:"M\xE1s tarde",none:"Sin fecha programada"}},errors:{noDatesProvided:"No se proporcionaron fechas"},folders:{root:"(Ra\xEDz)"}},instantTaskConvert:{notices:{noCheckboxTasks:"No se encontraron tareas de casilla de verificaci\xF3n en la nota actual.",convertingTasks:"Convirtiendo {count} tarea{plural}...",conversionSuccess:"\u2705 \xA1{count} tarea{plural} convertida exitosamente a TaskNotes!",partialConversion:"{successCount} tarea{successPlural} convertida. {failureCount} fallaron.",batchConversionFailed:"Error al realizar conversi\xF3n por lotes. Por favor intenta de nuevo.",invalidParameters:"Par\xE1metros de entrada inv\xE1lidos.",emptyLine:"La l\xEDnea actual est\xE1 vac\xEDa o no contiene contenido v\xE1lido.",parseError:"Error al analizar tarea: {error}",invalidTaskData:"Datos de tarea inv\xE1lidos.",replaceLineFailed:"Error al reemplazar l\xEDnea de tarea.",conversionComplete:"Tarea convertida: {title}",conversionCompleteShortened:'Tarea convertida: "{title}" (nombre de archivo acortado por longitud)',fileExists:"Ya existe un archivo con este nombre. Por favor intenta de nuevo o renombra la tarea.",conversionFailed:"Error al convertir tarea. Por favor intenta de nuevo."}},icsNote:{notices:{templateNotFound:"Plantilla no encontrada: {path}",templateProcessError:"Error al procesar plantilla: {template}",linkedToEvent:"Nota vinculada al evento ICS: {title}"}},task:{notices:{templateNotFound:"Plantilla del cuerpo de tarea no encontrada: {path}",templateReadError:"Error al leer plantilla del cuerpo de tarea: {template}",moveTaskFailed:"Error al mover tarea {operation}: {error}"}},autoExport:{notices:{exportFailed:"Auto exportaci\xF3n de TaskNotes fall\xF3: {error}"}}},ui:{icsCard:{untitledEvent:"Evento sin t\xEDtulo",allDay:"Todo el d\xEDa",calendarEvent:"Evento de calendario",calendarFallback:"Calendario"},noteCard:{createdLabel:"Creado:",dailyBadge:"Diario",dailyTooltip:"Nota diaria"},taskCard:{blockedBadge:"Bloqueada",blockedBadgeTooltip:"Esta tarea est\xE1 esperando otra tarea",blockingBadge:"Bloqueando",blockingBadgeTooltip:"Esta tarea bloquea otra tarea",blockingToggle:"Bloqueando {count} tareas",loadingDependencies:"Cargando dependencias...",blockingEmpty:"Sin tareas dependientes",blockingLoadError:"No se pudieron cargar las dependencias"},propertyEventCard:{unknownFile:"Archivo desconocido"},filterHeading:{allViewName:"Todos"},filterBar:{saveView:"Guardar vista",saveViewNamePlaceholder:"Ingresar nombre de vista...",saveButton:"Guardar",views:"Vistas",savedFilterViews:"Vistas de filtro guardadas",filters:"Filtros",properties:"Propiedades",sort:"Ordenar",newTask:"Nuevo",expandAllGroups:"Expandir todos los grupos",collapseAllGroups:"Contraer todos los grupos",searchTasksPlaceholder:"Buscar tareas...",searchTasksTooltip:"Buscar t\xEDtulos de tareas",filterUnavailable:"Barra de filtros temporalmente no disponible",toggleFilter:"Alternar filtro",activeFiltersTooltip:"Filtros activos \u2013 Clic para modificar, clic derecho para limpiar",configureVisibleProperties:"Configurar propiedades visibles",sortAndGroupOptions:"Opciones de ordenamiento y agrupaci\xF3n",sortMenuHeader:"Ordenar",orderMenuHeader:"Orden",groupMenuHeader:"Agrupar",createNewTask:"Crear nueva tarea",filter:"Filtro",displayOrganization:"Visualizaci\xF3n y organizaci\xF3n",viewOptions:"Opciones de vista",addFilter:"Agregar filtro",addFilterGroup:"Agregar grupo de filtros",addFilterTooltip:"Agregar una nueva condici\xF3n de filtro",addFilterGroupTooltip:"Agregar un grupo de filtros anidado",clearAllFilters:"Limpiar todos los filtros y grupos",saveCurrentFilter:"Guardar filtro actual como vista",closeFilterModal:"Cerrar modal de filtro",deleteFilterGroup:"Eliminar grupo de filtros",deleteCondition:"Eliminar condici\xF3n",all:"Todos",any:"Cualquiera",followingAreTrue:"de los siguientes son verdaderos:",where:"donde",selectProperty:"Seleccionar...",chooseProperty:"Elegir por qu\xE9 propiedad de tarea filtrar",chooseOperator:"Elegir c\xF3mo comparar el valor de la propiedad",enterValue:"Ingresar el valor por el cual filtrar",selectValue:"Seleccionar un {property} por el cual filtrar",sortBy:"Ordenar por:",toggleSortDirection:"Alternar direcci\xF3n de ordenamiento",chooseSortMethod:"Elegir c\xF3mo ordenar tareas",groupBy:"Agrupar por:",chooseGroupMethod:"Agrupar tareas por una propiedad com\xFAn",toggleViewOption:"Alternar {option}",expandCollapseFilters:"Clic para expandir/contraer condiciones de filtro",expandCollapseSort:"Clic para expandir/contraer opciones de ordenamiento y agrupaci\xF3n",expandCollapseViewOptions:"Clic para expandir/contraer opciones espec\xEDficas de vista",naturalLanguageDates:"Fechas en lenguaje natural",naturalLanguageExamples:"Mostrar ejemplos de fechas en lenguaje natural",enterNumericValue:"Ingresar un valor num\xE9rico por el cual filtrar",enterDateValue:"Ingresar una fecha usando lenguaje natural o formato ISO",pickDateTime:"Elegir fecha y hora",noSavedViews:"No hay vistas guardadas",savedViews:"Vistas guardadas",yourSavedFilters:"Tus configuraciones de filtro guardadas",dragToReorder:"Arrastrar para reordenar vistas",loadSavedView:"Cargar vista guardada: {name}",deleteView:"Eliminar vista",deleteViewTitle:"Eliminar vista",deleteViewMessage:'\xBFEst\xE1s seguro de que quieres eliminar la vista "{name}"?',manageAllReminders:"Gestionar todos los recordatorios...",clearAllReminders:"Limpiar todos los recordatorios",customRecurrence:"Recurrencia personalizada...",clearRecurrence:"Limpiar recurrencia",sortOptions:{dueDate:"Fecha de vencimiento",scheduledDate:"Fecha programada",priority:"Prioridad",status:"Estado",title:"T\xEDtulo",createdDate:"Fecha de creaci\xF3n",tags:"Etiquetas",ascending:"Ascendente",descending:"Descendente"},group:{none:"Ninguno",status:"Estado",priority:"Prioridad",context:"Contexto",project:"Proyecto",dueDate:"Fecha de vencimiento",scheduledDate:"Fecha programada",tags:"Etiquetas",completedDate:"Fecha de finalizaci\xF3n"},subgroupLabel:"SUBGRUPO",notices:{propertiesMenuFailed:"Error al mostrar men\xFA de propiedades"}}},components:{dateContextMenu:{weekdays:"D\xEDas laborables",clearDate:"Borrar fecha",today:"Hoy",tomorrow:"Ma\xF1ana",thisWeekend:"Este fin de semana",nextWeek:"Pr\xF3xima semana",nextMonth:"Pr\xF3ximo mes",setDateTime:"Establecer fecha y hora",dateLabel:"Fecha",timeLabel:"Hora (opcional)"},subgroupMenuBuilder:{none:"Ninguno",status:"Estado",priority:"Prioridad",context:"Contexto",project:"Proyecto",dueDate:"Fecha de vencimiento",scheduledDate:"Fecha programada",tags:"Etiquetas",completedDate:"Fecha de finalizaci\xF3n",subgroup:"SUBGRUPO"},propertyVisibilityDropdown:{coreProperties:"PROPIEDADES PRINCIPALES",organization:"ORGANIZACI\xD3N",customProperties:"PROPIEDADES PERSONALIZADAS",failed:"Error al mostrar men\xFA de propiedades",properties:{statusDot:"Punto de estado",priorityDot:"Punto de prioridad",dueDate:"Fecha de vencimiento",scheduledDate:"Fecha programada",timeEstimate:"Estimaci\xF3n de tiempo",totalTrackedTime:"Tiempo total rastreado",recurrence:"Recurrencia",completedDate:"Fecha de finalizaci\xF3n",createdDate:"Fecha de creaci\xF3n",modifiedDate:"Fecha de modificaci\xF3n",projects:"Proyectos",contexts:"Contextos",tags:"Etiquetas",blocked:"Bloqueada",blocking:"Bloqueando"}},reminderContextMenu:{remindBeforeDue:"Recordar antes del vencimiento...",remindBeforeScheduled:"Recordar antes de programado...",manageAllReminders:"Gestionar todos los recordatorios...",clearAllReminders:"Limpiar todos los recordatorios",quickReminders:{atTime:"A la hora del evento",fiveMinutesBefore:"5 minutos antes",fifteenMinutesBefore:"15 minutos antes",oneHourBefore:"1 hora antes",oneDayBefore:"1 d\xEDa antes"}},recurrenceContextMenu:{daily:"Diario",weeklyOn:"Semanal en {day}",everyTwoWeeksOn:"Cada 2 semanas en {day}",monthlyOnThe:"Mensual en el {ordinal}",everyThreeMonthsOnThe:"Cada 3 meses en el {ordinal}",yearlyOn:"Anual en {month} {ordinal}",weekdaysOnly:"Solo d\xEDas de semana",dailyAfterCompletion:"Diario (despu\xE9s de completar)",every3DaysAfterCompletion:"Cada 3 d\xEDas (despu\xE9s de completar)",weeklyAfterCompletion:"Semanal (despu\xE9s de completar)",monthlyAfterCompletion:"Mensual (despu\xE9s de completar)",customRecurrence:"Recurrencia personalizada...",clearRecurrence:"Limpiar recurrencia",customRecurrenceModal:{title:"Recurrencia personalizada",startDate:"Fecha de inicio",startDateDesc:"La fecha cuando comienza el patr\xF3n de recurrencia",startTime:"Hora de inicio",startTimeDesc:"La hora cuando deben aparecer las instancias recurrentes (opcional)",recurFrom:"Recurrir desde",recurFromDesc:"\xBFCu\xE1ndo debe calcularse la siguiente ocurrencia?",scheduledDate:"Fecha programada",completionDate:"Fecha de finalizaci\xF3n",frequency:"Frecuencia",interval:"Intervalo",intervalDesc:"Cada X d\xEDas/semanas/meses/a\xF1os",daysOfWeek:"D\xEDas de la semana",daysOfWeekDesc:"Seleccionar d\xEDas espec\xEDficos (para recurrencia semanal)",monthlyRecurrence:"Recurrencia mensual",monthlyRecurrenceDesc:"Elegir c\xF3mo repetir mensualmente",yearlyRecurrence:"Recurrencia anual",yearlyRecurrenceDesc:"Elegir c\xF3mo repetir anualmente",endCondition:"Condici\xF3n de fin",endConditionDesc:"Elegir cu\xE1ndo debe terminar la recurrencia",neverEnds:"Nunca termina",endAfterOccurrences:"Terminar despu\xE9s de {count} ocurrencias",endOnDate:"Terminar en {date}",onDayOfMonth:"En el d\xEDa {day} de cada mes",onTheWeekOfMonth:"En el {week} {day} de cada mes",onDateOfYear:"En {month} {day} cada a\xF1o",onTheWeekOfYear:"En el {week} {day} de {month} cada a\xF1o",frequencies:{daily:"Diario",weekly:"Semanal",monthly:"Mensual",yearly:"Anual"},weekPositions:{first:"primer",second:"segundo",third:"tercer",fourth:"cuarto",last:"\xFAltimo"},weekdays:{monday:"Lunes",tuesday:"Martes",wednesday:"Mi\xE9rcoles",thursday:"Jueves",friday:"Viernes",saturday:"S\xE1bado",sunday:"Domingo"},weekdaysShort:{mon:"Lun",tue:"Mar",wed:"Mi\xE9",thu:"Jue",fri:"Vie",sat:"S\xE1b",sun:"Dom"},cancel:"Cancelar",save:"Guardar"}}}};var qG={common:{appName:"TaskNotes",new:"\u65B0\u898F",cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",confirm:"\u78BA\u8A8D",close:"\u9589\u3058\u308B",save:"\u4FDD\u5B58",language:"\u8A00\u8A9E",systemDefault:"\u30B7\u30B9\u30C6\u30E0\u306E\u65E2\u5B9A",loading:"\u8AAD\u307F\u8FBC\u307F\u4E2D...",languages:{en:"\u82F1\u8A9E",fr:"\u30D5\u30E9\u30F3\u30B9\u8A9E",ru:"\u30ED\u30B7\u30A2\u8A9E",zh:"\u4E2D\u56FD\u8A9E",de:"\u30C9\u30A4\u30C4\u8A9E",es:"\u30B9\u30DA\u30A4\u30F3\u8A9E",ja:"\u65E5\u672C\u8A9E",pt:"\u30DD\u30EB\u30C8\u30AC\u30EB\u8A9E\uFF08\u30D6\u30E9\u30B8\u30EB\uFF09"},weekdays:{sunday:"\u65E5\u66DC\u65E5",monday:"\u6708\u66DC\u65E5",tuesday:"\u706B\u66DC\u65E5",wednesday:"\u6C34\u66DC\u65E5",thursday:"\u6728\u66DC\u65E5",friday:"\u91D1\u66DC\u65E5",saturday:"\u571F\u66DC\u65E5"},months:{january:"1\u6708",february:"2\u6708",march:"3\u6708",april:"4\u6708",may:"5\u6708",june:"6\u6708",july:"7\u6708",august:"8\u6708",september:"9\u6708",october:"10\u6708",november:"11\u6708",december:"12\u6708"}},views:{agenda:{title:"\u30A2\u30B8\u30A7\u30F3\u30C0",today:"\u4ECA\u65E5",overdue:"\u671F\u9650\u5207\u308C",refreshCalendars:"\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u66F4\u65B0",actions:{previousPeriod:"\u524D\u306E\u671F\u9593",nextPeriod:"\u6B21\u306E\u671F\u9593",goToToday:"\u4ECA\u65E5\u306B\u79FB\u52D5",refreshCalendars:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u3092\u66F4\u65B0"},loading:"\u30A2\u30B8\u30A7\u30F3\u30C0\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D...",dayToggle:"\u65E5\u306E\u5207\u308A\u66FF\u3048",overdueToggle:"\u671F\u9650\u5207\u308C\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u5207\u308A\u66FF\u3048",expandAllDays:"\u3059\u3079\u3066\u306E\u65E5\u3092\u5C55\u958B",collapseAllDays:"\u3059\u3079\u3066\u306E\u65E5\u3092\u6298\u308A\u305F\u305F\u307F",notices:{calendarNotReady:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30B5\u30FC\u30D3\u30B9\u306F\u307E\u3060\u6E96\u5099\u3067\u304D\u3066\u3044\u307E\u305B\u3093",calendarRefreshed:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",refreshFailed:"\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},empty:{noItemsScheduled:"\u4E88\u5B9A\u3055\u308C\u305F\u30A2\u30A4\u30C6\u30E0\u304C\u3042\u308A\u307E\u305B\u3093",noItemsFound:"\u30A2\u30A4\u30C6\u30E0\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F",helpText:"\u671F\u9650\u65E5\u307E\u305F\u306F\u4E88\u5B9A\u65E5\u306E\u3042\u308B\u30BF\u30B9\u30AF\u3092\u4F5C\u6210\u3059\u308B\u304B\u3001\u30CE\u30FC\u30C8\u3092\u8FFD\u52A0\u3057\u3066\u3053\u3053\u306B\u8868\u793A\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},contextMenu:{showOverdueSection:"\u671F\u9650\u5207\u308C\u30BB\u30AF\u30B7\u30E7\u30F3\u3092\u8868\u793A",showNotes:"\u30CE\u30FC\u30C8\u3092\u8868\u793A",calendarSubscriptions:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD"},periods:{thisWeek:"\u4ECA\u9031"},tipPrefix:"\u30D2\u30F3\u30C8\uFF1A"},taskList:{title:"\u30BF\u30B9\u30AF",expandAllGroups:"\u3059\u3079\u3066\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u5C55\u958B",collapseAllGroups:"\u3059\u3079\u3066\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u6298\u308A\u305F\u305F\u307F",noTasksFound:"\u9078\u629E\u3055\u308C\u305F\u30D5\u30A3\u30EB\u30BF\u30FC\u306B\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\u3002"},notes:{title:"\u30CE\u30FC\u30C8",refreshButton:"\u66F4\u65B0",refreshingButton:"\u66F4\u65B0\u4E2D...",notices:{indexingDisabled:"\u30CE\u30FC\u30C8\u306E\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9\u4F5C\u6210\u304C\u7121\u52B9\u306B\u306A\u3063\u3066\u3044\u307E\u3059"},empty:{noNotesFound:"\u30CE\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F",helpText:"\u9078\u629E\u3055\u308C\u305F\u65E5\u4ED8\u306E\u30CE\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u30DF\u30CB\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3067\u5225\u306E\u65E5\u4ED8\u3092\u9078\u629E\u3059\u308B\u304B\u3001\u30CE\u30FC\u30C8\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},loading:"\u30CE\u30FC\u30C8\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D...",refreshButtonAriaLabel:"\u30CE\u30FC\u30C8\u30EA\u30B9\u30C8\u3092\u66F4\u65B0"},miniCalendar:{title:"\u30DF\u30CB\u30AB\u30EC\u30F3\u30C0\u30FC"},advancedCalendar:{title:"\u30AB\u30EC\u30F3\u30C0\u30FC",filters:{showFilters:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u8868\u793A",hideFilters:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u975E\u8868\u793A"},viewOptions:{calendarSubscriptions:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD",timeEntries:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA",timeblocks:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF",scheduledDates:"\u4E88\u5B9A\u65E5",dueDates:"\u671F\u9650\u65E5",allDaySlot:"\u7D42\u65E5\u30B9\u30ED\u30C3\u30C8",scheduledTasks:"\u4E88\u5B9A\u30BF\u30B9\u30AF",recurringTasks:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF"},buttons:{refresh:"\u66F4\u65B0",refreshHint:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u3092\u66F4\u65B0"},notices:{icsServiceNotAvailable:"ICS\u8CFC\u8AAD\u30B5\u30FC\u30D3\u30B9\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093",calendarRefreshedAll:"\u3059\u3079\u3066\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",refreshFailed:"\u4E00\u90E8\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",timeblockSpecificTime:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306B\u306F\u5177\u4F53\u7684\u306A\u6642\u9593\u304C\u5FC5\u8981\u3067\u3059\u3002\u9031\u8868\u793A\u307E\u305F\u306F\u65E5\u8868\u793A\u3067\u6642\u9593\u7BC4\u56F2\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",timeblockMoved:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u300C{title}\u300D\u3092{date}\u306B\u79FB\u52D5\u3057\u307E\u3057\u305F",timeblockUpdated:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u300C{title}\u300D\u306E\u6642\u9593\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F",timeblockMoveFailed:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u79FB\u52D5\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",timeblockResized:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u300C{title}\u300D\u306E\u671F\u9593\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F",timeblockResizeFailed:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30B5\u30A4\u30BA\u5909\u66F4\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",taskScheduled:"\u30BF\u30B9\u30AF\u300C{title}\u300D\u3092{date}\u306B\u4E88\u5B9A\u3057\u307E\u3057\u305F",scheduleTaskFailed:"\u30BF\u30B9\u30AF\u306E\u4E88\u5B9A\u306B\u5931\u6557\u3057\u307E\u3057\u305F",endTimeAfterStart:"\u7D42\u4E86\u6642\u523B\u306F\u958B\u59CB\u6642\u523B\u3088\u308A\u5F8C\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",timeEntryNotFound:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",timeEntryDeleted:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u524A\u9664\u3057\u307E\u3057\u305F",deleteTimeEntryFailed:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u306E\u524A\u9664\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},timeEntry:{estimatedSuffix:"\u898B\u7A4D",trackedSuffix:"\u8A18\u9332",recurringPrefix:"\u7E70\u308A\u8FD4\u3057\uFF1A",completedPrefix:"\u5B8C\u4E86\uFF1A",createdPrefix:"\u4F5C\u6210\uFF1A",modifiedPrefix:"\u5909\u66F4\uFF1A",duePrefix:"\u671F\u9650\uFF1A",scheduledPrefix:"\u4E88\u5B9A\uFF1A"},contextMenus:{openTask:"\u30BF\u30B9\u30AF\u3092\u958B\u304F",deleteTimeEntry:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u524A\u9664",deleteTimeEntryTitle:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u524A\u9664",deleteTimeEntryConfirm:"\u3053\u306E\u6642\u9593\u30A8\u30F3\u30C8\u30EA{duration}\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3002",deleteButton:"\u524A\u9664",cancelButton:"\u30AD\u30E3\u30F3\u30BB\u30EB"}},basesCalendar:{title:"\u30D9\u30FC\u30B9\u30AB\u30EC\u30F3\u30C0\u30FC",today:"\u4ECA\u65E5",buttonText:{month:"\u6708",week:"\u9031",day:"\u65E5",year:"\u5E74",list:"\u4E00\u89A7",customDays:"{count}\u65E5",listDays:"{count}\u65E5\u4E00\u89A7",refresh:"\u66F4\u65B0"},hints:{refresh:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u3092\u66F4\u65B0"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"\u65E5\u4ED8\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3",events:"\u30A4\u30D9\u30F3\u30C8",layout:"\u30EC\u30A4\u30A2\u30A6\u30C8",propertyBasedEvents:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30D9\u30FC\u30B9\u306E\u30A4\u30D9\u30F3\u30C8",calendarSubscriptions:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD",googleCalendars:"Google Calendars",microsoftCalendars:"Microsoft Calendars"},dateNavigation:{navigateToDate:"\u65E5\u4ED8\u306B\u79FB\u52D5",navigateToDatePlaceholder:"YYYY-MM-DD\uFF08\u4F8B\uFF1A2025-01-15\uFF09- \u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u4F7F\u7528\u3059\u308B\u5834\u5408\u306F\u7A7A\u306E\u307E\u307E\u306B\u3059\u308B",navigateToDateFromProperty:"\u30D7\u30ED\u30D1\u30C6\u30A3\u304B\u3089\u65E5\u4ED8\u306B\u79FB\u52D5",navigateToDateFromPropertyPlaceholder:"\u65E5\u4ED8\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",propertyNavigationStrategy:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30CA\u30D3\u30B2\u30FC\u30B7\u30E7\u30F3\u6226\u7565",strategies:{first:"\u6700\u521D\u306E\u7D50\u679C",earliest:"\u6700\u3082\u53E4\u3044\u65E5\u4ED8",latest:"\u6700\u65B0\u306E\u65E5\u4ED8"}},events:{showScheduledTasks:"\u4E88\u5B9A\u3055\u308C\u305F\u30BF\u30B9\u30AF\u3092\u8868\u793A",showDueTasks:"\u671F\u9650\u306E\u3042\u308B\u30BF\u30B9\u30AF\u3092\u8868\u793A",showRecurringTasks:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u3092\u8868\u793A",showTimeEntries:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u8868\u793A",showTimeblocks:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u8868\u793A",showPropertyBasedEvents:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30D9\u30FC\u30B9\u306E\u30A4\u30D9\u30F3\u30C8\u3092\u8868\u793A"},layout:{calendarView:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC",customDayCount:"\u30AB\u30B9\u30BF\u30E0\u65E5\u6570",listDayCount:"\u4E00\u89A7\u8868\u793A\u65E5\u6570",dayStartTime:"1\u65E5\u306E\u958B\u59CB\u6642\u523B",dayStartTimePlaceholder:"HH:mm:ss\uFF08\u4F8B\uFF1A08:00:00\uFF09",dayEndTime:"1\u65E5\u306E\u7D42\u4E86\u6642\u523B",dayEndTimePlaceholder:"HH:mm:ss\uFF08\u4F8B\uFF1A20:00:00\uFF09",timeSlotDuration:"\u30BF\u30A4\u30E0\u30B9\u30ED\u30C3\u30C8\u671F\u9593",timeSlotDurationPlaceholder:"HH:mm:ss\uFF08\u4F8B\uFF1A00:30:00\uFF09",weekStartsOn:"\u9031\u306E\u958B\u59CB\u66DC\u65E5",showWeekNumbers:"\u9031\u756A\u53F7\u3092\u8868\u793A",showNowIndicator:"\u73FE\u5728\u306E\u6642\u523B\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u3092\u8868\u793A",showWeekends:"\u9031\u672B\u3092\u8868\u793A",showAllDaySlot:"\u7D42\u65E5\u30B9\u30ED\u30C3\u30C8\u3092\u8868\u793A",showTodayHighlight:"\u4ECA\u65E5\u3092\u30CF\u30A4\u30E9\u30A4\u30C8",showSelectionPreview:"\u9078\u629E\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8868\u793A",timeFormat:"\u6642\u523B\u5F62\u5F0F",timeFormat12:"12\u6642\u9593\u5236\uFF08AM/PM\uFF09",timeFormat24:"24\u6642\u9593\u5236",initialScrollTime:"\u521D\u671F\u30B9\u30AF\u30ED\u30FC\u30EB\u6642\u523B",initialScrollTimePlaceholder:"HH:mm:ss\uFF08\u4F8B\uFF1A08:00:00\uFF09",minimumEventHeight:"\u6700\u5C0F\u30A4\u30D9\u30F3\u30C8\u9AD8\u3055\uFF08px\uFF09",slotEventOverlap:"\u30A4\u30D9\u30F3\u30C8\u306E\u91CD\u306A\u308A\u3092\u8A31\u53EF",enableSearch:"\u691C\u7D22\u30DC\u30C3\u30AF\u30B9\u3092\u6709\u52B9\u5316",eventMaxStack:"\u6700\u5927\u30B9\u30BF\u30C3\u30AF\u30A4\u30D9\u30F3\u30C8\u6570\uFF08\u9031/\u65E5\u8868\u793A\u30010 = \u7121\u5236\u9650\uFF09",dayMaxEvents:"1\u65E5\u3042\u305F\u308A\u306E\u6700\u5927\u30A4\u30D9\u30F3\u30C8\u6570\uFF08\u6708\u8868\u793A\u30010 = \u81EA\u52D5\uFF09",dayMaxEventRows:"1\u65E5\u3042\u305F\u308A\u306E\u6700\u5927\u30A4\u30D9\u30F3\u30C8\u884C\u6570\uFF08\u6708\u8868\u793A\u30010 = \u7121\u5236\u9650\uFF09"},propertyBasedEvents:{startDateProperty:"\u958B\u59CB\u65E5\u30D7\u30ED\u30D1\u30C6\u30A3",startDatePropertyPlaceholder:"\u958B\u59CB\u65E5\u6642\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E",endDateProperty:"\u7D42\u4E86\u65E5\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",endDatePropertyPlaceholder:"\u7D42\u4E86\u65E5\u6642\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E",titleProperty:"\u30BF\u30A4\u30C8\u30EB\u30D7\u30ED\u30D1\u30C6\u30A3\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",titlePropertyPlaceholder:"\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30C8\u30EB\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E"}},errors:{failedToInitialize:"\u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u521D\u671F\u5316\u306B\u5931\u6557\u3057\u307E\u3057\u305F"}},kanban:{title:"\u304B\u3093\u3070\u3093",newTask:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF",addCard:"+ \u30AB\u30FC\u30C9\u3092\u8FFD\u52A0",noTasks:"\u30BF\u30B9\u30AF\u306A\u3057",uncategorized:"\u672A\u5206\u985E",noProject:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306A\u3057",notices:{loadFailed:"\u304B\u3093\u3070\u3093\u30DC\u30FC\u30C9\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F",movedTask:'\u30BF\u30B9\u30AF\u3092"{0}"\u306B\u79FB\u52D5\u3057\u307E\u3057\u305F'},errors:{loadingBoard:"\u30DC\u30FC\u30C9\u306E\u8AAD\u307F\u8FBC\u307F\u30A8\u30E9\u30FC\u3002",noGroupBy:"\u304B\u3093\u3070\u3093\u30D3\u30E5\u30FC\u306B\u306F\u300C\u30B0\u30EB\u30FC\u30D7\u5316\u300D\u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u8A2D\u5B9A\u304C\u5FC5\u8981\u3067\u3059\u3002\u300C\u4E26\u3073\u66FF\u3048\u300D\u30DC\u30BF\u30F3\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3001\u300C\u30B0\u30EB\u30FC\u30D7\u5316\u300D\u3067\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},columnTitle:"\u7121\u984C"},pomodoro:{title:"\u30DD\u30E2\u30C9\u30FC\u30ED",status:{focus:"\u30D5\u30A9\u30FC\u30AB\u30B9",ready:"\u958B\u59CB\u6E96\u5099\u5B8C\u4E86",paused:"\u4E00\u6642\u505C\u6B62",working:"\u4F5C\u696D\u4E2D",shortBreak:"\u77ED\u3044\u4F11\u61A9",longBreak:"\u9577\u3044\u4F11\u61A9",breakPrompt:"\u7D20\u6674\u3089\u3057\u3044\u4ED5\u4E8B\u3067\u3059\uFF01{length}\u4F11\u61A9\u306E\u6642\u9593\u3067\u3059",breakLength:{short:"\u77ED\u3044",long:"\u9577\u3044"},breakComplete:"\u4F11\u61A9\u5B8C\u4E86\uFF01\u6B21\u306E\u30DD\u30E2\u30C9\u30FC\u30ED\u306E\u6E96\u5099\u306F\u3067\u304D\u307E\u3057\u305F\u304B\uFF1F"},buttons:{start:"\u958B\u59CB",pause:"\u4E00\u6642\u505C\u6B62",stop:"\u505C\u6B62",resume:"\u518D\u958B",startShortBreak:"\u77ED\u3044\u4F11\u61A9\u3092\u958B\u59CB",startLongBreak:"\u9577\u3044\u4F11\u61A9\u3092\u958B\u59CB",skipBreak:"\u4F11\u61A9\u3092\u30B9\u30AD\u30C3\u30D7",chooseTask:"\u30BF\u30B9\u30AF\u3092\u9078\u629E...",changeTask:"\u30BF\u30B9\u30AF\u3092\u5909\u66F4...",clearTask:"\u30BF\u30B9\u30AF\u3092\u30AF\u30EA\u30A2",selectDifferentTask:"\u5225\u306E\u30BF\u30B9\u30AF\u3092\u9078\u629E"},notices:{noTasks:"\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u3066\u3044\u306A\u3044\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002\u6700\u521D\u306B\u30BF\u30B9\u30AF\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",loadFailed:"\u30BF\u30B9\u30AF\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},statsLabel:"\u4ECA\u65E5\u5B8C\u4E86"},pomodoroStats:{title:"\u30DD\u30E2\u30C9\u30FC\u30ED\u7D71\u8A08",heading:"\u30DD\u30E2\u30C9\u30FC\u30ED\u7D71\u8A08",refresh:"\u66F4\u65B0",sections:{overview:"\u6982\u8981",today:"\u4ECA\u65E5",week:"\u4ECA\u9031",allTime:"\u5168\u671F\u9593",recent:"\u6700\u8FD1\u306E\u30BB\u30C3\u30B7\u30E7\u30F3"},overviewCards:{todayPomos:{label:"\u4ECA\u65E5\u306E\u30DD\u30E2",change:{more:"\u6628\u65E5\u3088\u308A{count}\u591A\u3044",less:"\u6628\u65E5\u3088\u308A{count}\u5C11\u306A\u3044"}},totalPomos:{label:"\u7DCF\u30DD\u30E2\u6570"},todayFocus:{label:"\u4ECA\u65E5\u306E\u30D5\u30A9\u30FC\u30AB\u30B9",change:{more:"\u6628\u65E5\u3088\u308A{duration}\u591A\u3044",less:"\u6628\u65E5\u3088\u308A{duration}\u5C11\u306A\u3044"}},totalFocus:{label:"\u7DCF\u30D5\u30A9\u30FC\u30AB\u30B9\u6642\u9593"}},stats:{pomodoros:"\u30DD\u30E2\u30C9\u30FC\u30ED",streak:"\u9023\u7D9A\u8A18\u9332",minutes:"\u5206",average:"\u5E73\u5747\u9577\u3055",completion:"\u5B8C\u4E86"},recents:{empty:"\u307E\u3060\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u8A18\u9332\u3055\u308C\u3066\u3044\u307E\u305B\u3093",duration:"{minutes}\u5206",status:{completed:"\u5B8C\u4E86",interrupted:"\u4E2D\u65AD"}}},stats:{title:"\u7D71\u8A08",taskProjectStats:"\u30BF\u30B9\u30AF\u3068\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306E\u7D71\u8A08",sections:{filters:"\u30D5\u30A3\u30EB\u30BF\u30FC",overview:"\u6982\u8981",today:"\u4ECA\u65E5",thisWeek:"\u4ECA\u9031",thisMonth:"\u4ECA\u6708",projectBreakdown:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5185\u8A33",dateRange:"\u65E5\u4ED8\u7BC4\u56F2"},filters:{minTime:"\u6700\u5C0F\u6642\u9593\uFF08\u5206\uFF09",allTasks:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF",activeOnly:"\u30A2\u30AF\u30C6\u30A3\u30D6\u306E\u307F",completedOnly:"\u5B8C\u4E86\u306E\u307F"},refreshButton:"\u66F4\u65B0",timeRanges:{allTime:"\u5168\u671F\u9593",last7Days:"\u904E\u53BB7\u65E5\u9593",last30Days:"\u904E\u53BB30\u65E5\u9593",last90Days:"\u904E\u53BB90\u65E5\u9593",customRange:"\u30AB\u30B9\u30BF\u30E0\u7BC4\u56F2"},resetFiltersButton:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u30EA\u30BB\u30C3\u30C8",dateRangeFrom:"\u958B\u59CB",dateRangeTo:"\u7D42\u4E86",noProject:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306A\u3057",cards:{timeTrackedEstimated:"\u8FFD\u8DE1\u6642\u9593 / \u898B\u7A4D\u6642\u9593",totalTasks:"\u7DCF\u30BF\u30B9\u30AF\u6570",completionRate:"\u5B8C\u4E86\u7387",activeProjects:"\u30A2\u30AF\u30C6\u30A3\u30D6\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",avgTimePerTask:"\u30BF\u30B9\u30AF\u3042\u305F\u308A\u306E\u5E73\u5747\u6642\u9593"},labels:{tasks:"\u30BF\u30B9\u30AF",completed:"\u5B8C\u4E86",projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8"},noProjectData:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30C7\u30FC\u30BF\u304C\u3042\u308A\u307E\u305B\u3093",notAvailable:"N/A",noTasks:"\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",loading:"\u8AAD\u307F\u8FBC\u307F\u4E2D..."},releaseNotes:{title:"TaskNotes {version} \u306E\u65B0\u6A5F\u80FD",header:"TaskNotes {version} \u306E\u65B0\u6A5F\u80FD",viewAllLink:"GitHub\u3067\u3059\u3079\u3066\u306E\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8\u3092\u8868\u793A \u2192",starMessage:"TaskNotes\u304C\u5F79\u306B\u7ACB\u3063\u305F\u3089\u3001GitHub\u3067\u30B9\u30BF\u30FC\u3092\u304A\u9858\u3044\u3057\u307E\u3059"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"\u4E00\u822C",taskProperties:"\u30BF\u30B9\u30AF\u30D7\u30ED\u30D1\u30C6\u30A3",modalFields:"\u30E2\u30FC\u30C0\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9",defaults:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3068\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",appearance:"\u5916\u89B3\u3068UI",features:"\u6A5F\u80FD",integrations:"\u7D71\u5408"},features:{inlineTasks:{header:"\u30A4\u30F3\u30E9\u30A4\u30F3\u30BF\u30B9\u30AF",description:"\u30CE\u30FC\u30C8\u5185\u306E\u30BF\u30B9\u30AF\u30EA\u30F3\u30AF\u3068\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u304B\u3089\u30BF\u30B9\u30AF\u3078\u306E\u5909\u63DB\u306E\u8A2D\u5B9A\u3002"},overlays:{taskLinkToggle:{name:"\u30BF\u30B9\u30AF\u30EA\u30F3\u30AF\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4",description:"\u30BF\u30B9\u30AF\u30EA\u30F3\u30AF\u306B\u30DB\u30D0\u30FC\u3057\u305F\u969B\u306E\u30A4\u30F3\u30BF\u30E9\u30AF\u30C6\u30A3\u30D6\u30AA\u30FC\u30D0\u30FC\u30EC\u30A4\u3092\u8868\u793A"}},instantConvert:{toggle:{name:"\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u306E\u6A2A\u306B\u5909\u63DB\u30DC\u30BF\u30F3\u3092\u8868\u793A",description:"Markdown\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u3092TaskNotes\u306B\u5909\u63DB\u3059\u308B\u30A4\u30F3\u30E9\u30A4\u30F3\u30DC\u30BF\u30F3\u3092\u8868\u793A\u3059\u308B"},folder:{name:"\u5909\u63DB\u3055\u308C\u305F\u30BF\u30B9\u30AF\u306E\u30D5\u30A9\u30EB\u30C0\u30FC",description:"\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u304B\u3089\u5909\u63DB\u3055\u308C\u305F\u30BF\u30B9\u30AF\u304C\u4F5C\u6210\u3055\u308C\u308B\u30D5\u30A9\u30EB\u30C0\u30FC\u3002\u7A7A\u767D\u306E\u307E\u307E\u306B\u3059\u308B\u3068\u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u30BF\u30B9\u30AF\u30D5\u30A9\u30EB\u30C0\u30FC\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002{{currentNotePath}}\u3067\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3001{{currentNoteTitle}}\u3067\u30CE\u30FC\u30C8\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u6301\u3064\u30B5\u30D6\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u6307\u5B9A\u3067\u304D\u307E\u3059\u3002"}},nlp:{header:"\u81EA\u7136\u8A00\u8A9E\u51E6\u7406",description:"\u30C6\u30AD\u30B9\u30C8\u5165\u529B\u304B\u3089\u65E5\u4ED8\u3001\u512A\u5148\u5EA6\u3001\u305D\u306E\u4ED6\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u89E3\u6790\u3057\u307E\u3059\u3002",enable:{name:"\u81EA\u7136\u8A00\u8A9E\u30BF\u30B9\u30AF\u5165\u529B\u3092\u6709\u52B9\u306B\u3059\u308B",description:"\u30BF\u30B9\u30AF\u4F5C\u6210\u6642\u306B\u81EA\u7136\u8A00\u8A9E\u304B\u3089\u671F\u9650\u65E5\u3001\u512A\u5148\u5EA6\u3001\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3092\u89E3\u6790"},defaultToScheduled:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u4E88\u5B9A\u306B\u8A2D\u5B9A",description:"NLP\u304C\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u306A\u3057\u3067\u65E5\u4ED8\u3092\u691C\u51FA\u3057\u305F\u5834\u5408\u3001\u671F\u9650\u3067\u306F\u306A\u304F\u4E88\u5B9A\u3068\u3057\u3066\u6271\u3046"},language:{name:"NLP\u8A00\u8A9E",description:"\u81EA\u7136\u8A00\u8A9E\u51E6\u7406\u30D1\u30BF\u30FC\u30F3\u3068\u65E5\u4ED8\u89E3\u6790\u306E\u8A00\u8A9E"},statusTrigger:{name:"\u30B9\u30C6\u30FC\u30BF\u30B9\u63D0\u6848\u30C8\u30EA\u30AC\u30FC",description:"\u30B9\u30C6\u30FC\u30BF\u30B9\u63D0\u6848\u3092\u30C8\u30EA\u30AC\u30FC\u3059\u308B\u30C6\u30AD\u30B9\u30C8\uFF08\u7121\u52B9\u306B\u3059\u308B\u306B\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3059\u308B\uFF09"}},pomodoro:{header:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u306E\u4F5C\u696D/\u4F11\u61A9\u9593\u9694\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",workDuration:{name:"\u4F5C\u696D\u6642\u9593",description:"\u4F5C\u696D\u9593\u9694\u306E\u6642\u9593\uFF08\u5206\uFF09"},shortBreak:{name:"\u77ED\u3044\u4F11\u61A9\u6642\u9593",description:"\u77ED\u3044\u4F11\u61A9\u306E\u6642\u9593\uFF08\u5206\uFF09"},longBreak:{name:"\u9577\u3044\u4F11\u61A9\u6642\u9593",description:"\u9577\u3044\u4F11\u61A9\u306E\u6642\u9593\uFF08\u5206\uFF09"},longBreakInterval:{name:"\u9577\u3044\u4F11\u61A9\u9593\u9694",description:"\u9577\u3044\u4F11\u61A9\u524D\u306E\u4F5C\u696D\u30BB\u30C3\u30B7\u30E7\u30F3\u6570"},autoStartBreaks:{name:"\u81EA\u52D5\u4F11\u61A9\u958B\u59CB",description:"\u4F5C\u696D\u30BB\u30C3\u30B7\u30E7\u30F3\u5F8C\u306B\u4F11\u61A9\u30BF\u30A4\u30DE\u30FC\u3092\u81EA\u52D5\u958B\u59CB"},autoStartWork:{name:"\u81EA\u52D5\u4F5C\u696D\u958B\u59CB",description:"\u4F11\u61A9\u5F8C\u306B\u4F5C\u696D\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u81EA\u52D5\u958B\u59CB"},notifications:{name:"\u30DD\u30E2\u30C9\u30FC\u30ED\u901A\u77E5",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u7D42\u4E86\u6642\u306B\u901A\u77E5\u3092\u8868\u793A"}},uiLanguage:{header:"\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u8A00\u8A9E",description:"TaskNotes\u306E\u30E1\u30CB\u30E5\u30FC\u3001\u901A\u77E5\u3001\u30D3\u30E5\u30FC\u306E\u8A00\u8A9E\u3092\u5909\u66F4\u3057\u307E\u3059\u3002",dropdown:{name:"UI\u8A00\u8A9E",description:"TaskNotes\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u30C6\u30AD\u30B9\u30C8\u306B\u4F7F\u7528\u3059\u308B\u8A00\u8A9E\u3092\u9078\u629E"}},pomodoroSound:{enabledName:"\u30B5\u30A6\u30F3\u30C9\u6709\u52B9",enabledDesc:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u7D42\u4E86\u6642\u306B\u30B5\u30A6\u30F3\u30C9\u3092\u518D\u751F",volumeName:"\u30B5\u30A6\u30F3\u30C9\u97F3\u91CF",volumeDesc:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30B5\u30A6\u30F3\u30C9\u306E\u97F3\u91CF\uFF080-100\uFF09"},dataStorage:{name:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30C7\u30FC\u30BF\u30B9\u30C8\u30EC\u30FC\u30B8",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u30C7\u30FC\u30BF\u306E\u4FDD\u5B58\u5834\u6240\u3068\u7BA1\u7406\u65B9\u6CD5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",dailyNotes:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8",pluginData:"\u30D7\u30E9\u30B0\u30A4\u30F3\u30C7\u30FC\u30BF",notices:{locationChanged:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30B9\u30C8\u30EC\u30FC\u30B8\u5834\u6240\u3092{location}\u306B\u5909\u66F4\u3057\u307E\u3057\u305F"}},notifications:{header:"\u901A\u77E5",description:"\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u901A\u77E5\u3068\u30A2\u30E9\u30FC\u30C8\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",enableName:"\u901A\u77E5\u3092\u6709\u52B9\u306B\u3059\u308B",enableDesc:"\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u901A\u77E5\u3092\u6709\u52B9\u306B\u3059\u308B",typeName:"\u901A\u77E5\u30BF\u30A4\u30D7",typeDesc:"\u8868\u793A\u3059\u308B\u901A\u77E5\u306E\u30BF\u30A4\u30D7",systemLabel:"\u30B7\u30B9\u30C6\u30E0\u901A\u77E5",inAppLabel:"\u30A2\u30D7\u30EA\u5185\u901A\u77E5"},overdue:{hideCompletedName:"\u671F\u9650\u5207\u308C\u304B\u3089\u5B8C\u4E86\u30BF\u30B9\u30AF\u3092\u975E\u8868\u793A",hideCompletedDesc:"\u671F\u9650\u5207\u308C\u30BF\u30B9\u30AF\u8A08\u7B97\u304B\u3089\u5B8C\u4E86\u30BF\u30B9\u30AF\u3092\u9664\u5916"},indexing:{disableName:"\u30CE\u30FC\u30C8\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9\u4F5C\u6210\u3092\u7121\u52B9\u306B\u3059\u308B",disableDesc:"\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u5411\u4E0A\u306E\u305F\u3081\u30CE\u30FC\u30C8\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u81EA\u52D5\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9\u4F5C\u6210\u3092\u7121\u52B9\u306B\u3059\u308B"},suggestions:{debounceName:"\u63D0\u6848\u30C7\u30D0\u30A6\u30F3\u30B9",debounceDesc:"\u63D0\u6848\u3092\u8868\u793A\u3059\u308B\u524D\u306E\u9045\u5EF6\uFF08\u30DF\u30EA\u79D2\uFF09"},timeTracking:{autoStopName:"\u6642\u9593\u8FFD\u8DE1\u306E\u81EA\u52D5\u505C\u6B62",autoStopDesc:"\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3068\u30DE\u30FC\u30AF\u3055\u308C\u305F\u3068\u304D\u306B\u6642\u9593\u8FFD\u8DE1\u3092\u81EA\u52D5\u505C\u6B62",stopNotificationName:"\u6642\u9593\u8FFD\u8DE1\u505C\u6B62\u901A\u77E5",stopNotificationDesc:"\u6642\u9593\u8FFD\u8DE1\u304C\u81EA\u52D5\u505C\u6B62\u3055\u308C\u305F\u3068\u304D\u306B\u901A\u77E5\u3092\u8868\u793A"},recurring:{maintainOffsetName:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u3067\u671F\u9650\u65E5\u30AA\u30D5\u30BB\u30C3\u30C8\u3092\u7DAD\u6301",maintainOffsetDesc:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3057\u305F\u3068\u304D\u306B\u671F\u9650\u65E5\u3068\u4E88\u5B9A\u65E5\u306E\u9593\u306E\u30AA\u30D5\u30BB\u30C3\u30C8\u3092\u4FDD\u6301"},timeblocking:{header:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AD\u30F3\u30B0",description:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u3067\u306E\u8EFD\u91CF\u30B9\u30B1\u30B8\u30E5\u30FC\u30EA\u30F3\u30B0\u306E\u305F\u3081\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u6A5F\u80FD\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3067\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210 - \u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30E1\u30CB\u30E5\u30FC\u304B\u3089'\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF'\u3092\u9078\u629E\u3057\u307E\u3059\u3002",enableName:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AD\u30F3\u30B0\u3092\u6709\u52B9\u306B\u3059\u308B",enableDesc:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u3067\u306E\u8EFD\u91CF\u30B9\u30B1\u30B8\u30E5\u30FC\u30EA\u30F3\u30B0\u306E\u305F\u3081\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u6A5F\u80FD\u3092\u6709\u52B9\u306B\u3059\u308B\u3002\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30AB\u30EC\u30F3\u30C0\u30FC\u306E\u30C9\u30E9\u30C3\u30B0\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30E1\u30CB\u30E5\u30FC\u306B'\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF'\u30AA\u30D7\u30B7\u30E7\u30F3\u304C\u8868\u793A\u3055\u308C\u307E\u3059\u3002",showBlocksName:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u8868\u793A",showBlocksDesc:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u304B\u3089\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A",usage:"\u4F7F\u7528\u65B9\u6CD5\uFF1A\u30AB\u30EC\u30F3\u30C0\u30FC\u3067\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u30A4\u30D9\u30F3\u30C8\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u30E1\u30CB\u30E5\u30FC\u304B\u3089'\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF'\u3092\u9078\u629E\u3057\u307E\u3059\uFF08\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AD\u30F3\u30B0\u304C\u6709\u52B9\u306A\u5834\u5408\u306E\u307F\u8868\u793A\u3055\u308C\u307E\u3059\uFF09\u3002\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u65E2\u5B58\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u79FB\u52D5\u3057\u307E\u3059\u3002\u7AEF\u3092\u8ABF\u6574\u3057\u3066\u6642\u9593\u3092\u5909\u66F4\u3057\u307E\u3059\u3002"},performance:{header:"\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u3068\u52D5\u4F5C",description:"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u3068\u52D5\u4F5C\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},timeTrackingSection:{header:"\u6642\u9593\u8FFD\u8DE1",description:"\u81EA\u52D5\u6642\u9593\u8FFD\u8DE1\u306E\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},recurringSection:{header:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF",description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u7BA1\u7406\u306E\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"}},defaults:{header:{basicDefaults:"\u57FA\u672C\u30C7\u30D5\u30A9\u30EB\u30C8",dateDefaults:"\u65E5\u4ED8\u30C7\u30D5\u30A9\u30EB\u30C8",defaultReminders:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC",bodyTemplate:"\u30DC\u30C7\u30A3\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",instantTaskConversion:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u30BF\u30B9\u30AF\u5909\u63DB"},description:{basicDefaults:"\u30BF\u30B9\u30AF\u4F5C\u6210\u3092\u9AD8\u901F\u5316\u3059\u308B\u305F\u3081\u306B\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",dateDefaults:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u671F\u9650\u65E5\u3068\u4E88\u5B9A\u65E5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",defaultReminders:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306B\u8FFD\u52A0\u3055\u308C\u308B\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",bodyTemplate:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u4F7F\u7528\u3059\u308B\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",instantTaskConversion:"\u30C6\u30AD\u30B9\u30C8\u3092\u30BF\u30B9\u30AF\u306B\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u5909\u63DB\u3059\u308B\u969B\u306E\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},basicDefaults:{defaultStatus:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30B9\u30C6\u30FC\u30BF\u30B9",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u30B9\u30C6\u30FC\u30BF\u30B9"},defaultPriority:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u512A\u5148\u5EA6",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u512A\u5148\u5EA6"},defaultContexts:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",description:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u306E\u30AB\u30F3\u30DE\u533A\u5207\u308A\u30EA\u30B9\u30C8\uFF08\u4F8B\uFF1A@home\u3001@work\uFF09",placeholder:"@home, @work"},defaultTags:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30BF\u30B0",description:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30BF\u30B0\u306E\u30AB\u30F3\u30DE\u533A\u5207\u308A\u30EA\u30B9\u30C8\uFF08#\u306A\u3057\uFF09",placeholder:"important, urgent"},defaultProjects:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30EA\u30F3\u30AF",selectButton:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u9078\u629E",selectTooltip:"\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u30EA\u30F3\u30AF\u3059\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30CE\u30FC\u30C8\u3092\u9078\u629E",removeTooltip:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u304B\u3089{name}\u3092\u524A\u9664"},useParentNoteAsProject:{name:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u5909\u63DB\u6642\u306B\u89AA\u30CE\u30FC\u30C8\u3092\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u4F7F\u7528",description:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u30BF\u30B9\u30AF\u5909\u63DB\u4F7F\u7528\u6642\u306B\u89AA\u30CE\u30FC\u30C8\u3092\u81EA\u52D5\u7684\u306B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u30EA\u30F3\u30AF"},defaultTimeEstimate:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u6642\u9593\u898B\u7A4D\u3082\u308A",description:"\u30C7\u30D5\u30A9\u30EB\u30C8\u6642\u9593\u898B\u7A4D\u3082\u308A\uFF08\u5206\uFF09\uFF080 = \u30C7\u30D5\u30A9\u30EB\u30C8\u306A\u3057\uFF09",placeholder:"60"},defaultRecurrence:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u7E70\u308A\u8FD4\u3057",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u7E70\u308A\u8FD4\u3057\u30D1\u30BF\u30FC\u30F3"}},dateDefaults:{defaultDueDate:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u671F\u9650\u65E5",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u671F\u9650\u65E5"},defaultScheduledDate:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u4E88\u5B9A\u65E5",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u4E88\u5B9A\u65E5"}},reminders:{addReminder:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8FFD\u52A0",description:"\u3059\u3079\u3066\u306E\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306B\u8FFD\u52A0\u3055\u308C\u308B\u65B0\u3057\u3044\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u4F5C\u6210",buttonText:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8FFD\u52A0"},emptyState:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8FFD\u52A0\u3057\u3066\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306B\u3064\u3044\u3066\u81EA\u52D5\u7684\u306B\u901A\u77E5\u3092\u53D7\u3051\u53D6\u308A\u307E\u3059\u3002",emptyStateButton:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8FFD\u52A0",reminderDescription:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u306E\u8AAC\u660E",unnamedReminder:"\u540D\u524D\u306A\u3057\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC",deleteTooltip:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u524A\u9664",fields:{description:"\u8AAC\u660E\uFF1A",type:"\u30BF\u30A4\u30D7\uFF1A",offset:"\u30AA\u30D5\u30BB\u30C3\u30C8\uFF1A",unit:"\u5358\u4F4D\uFF1A",direction:"\u65B9\u5411\uFF1A",relatedTo:"\u95A2\u9023\u5148\uFF1A",date:"\u65E5\u4ED8\uFF1A",time:"\u6642\u9593\uFF1A"},types:{relative:"\u76F8\u5BFE\uFF08\u30BF\u30B9\u30AF\u65E5\u4ED8\u306E\u524D/\u5F8C\uFF09",absolute:"\u7D76\u5BFE\uFF08\u7279\u5B9A\u306E\u65E5\u4ED8/\u6642\u9593\uFF09"},units:{minutes:"\u5206",hours:"\u6642\u9593",days:"\u65E5"},directions:{before:"\u524D",after:"\u5F8C"},relatedTo:{due:"\u671F\u9650\u65E5",scheduled:"\u4E88\u5B9A\u65E5"}},bodyTemplate:{useBodyTemplate:{name:"\u30DC\u30C7\u30A3\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u4F7F\u7528",description:"\u30BF\u30B9\u30AF\u30DC\u30C7\u30A3\u30B3\u30F3\u30C6\u30F3\u30C4\u306B\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u4F7F\u7528"},bodyTemplateFile:{name:"\u30DC\u30C7\u30A3\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB",description:"\u30BF\u30B9\u30AF\u30DC\u30C7\u30A3\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9\u3002{{title}}\u3001{{date}}\u3001{{time}}\u3001{{priority}}\u3001{{status}}\u306A\u3069\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u5909\u6570\u3092\u30B5\u30DD\u30FC\u30C8\u3002",placeholder:"Templates/Task Template.md",ariaLabel:"\u30DC\u30C7\u30A3\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9"},variablesHeader:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u5909\u6570\uFF1A",variables:{title:"{{title}} - \u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB",details:"{{details}} - \u30E2\u30FC\u30C0\u30EB\u304B\u3089\u30E6\u30FC\u30B6\u30FC\u63D0\u4F9B\u306E\u8A73\u7D30",date:"{{date}} - \u73FE\u5728\u306E\u65E5\u4ED8\uFF08YYYY-MM-DD\uFF09",time:"{{time}} - \u73FE\u5728\u306E\u6642\u9593\uFF08HH:MM\uFF09",priority:"{{priority}} - \u30BF\u30B9\u30AF\u512A\u5148\u5EA6",status:"{{status}} - \u30BF\u30B9\u30AF\u30B9\u30C6\u30FC\u30BF\u30B9",contexts:"{{contexts}} - \u30BF\u30B9\u30AF\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",tags:"{{tags}} - \u30BF\u30B9\u30AF\u30BF\u30B0",projects:"{{projects}} - \u30BF\u30B9\u30AF\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8"}},instantConversion:{useDefaultsOnInstantConvert:{name:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u5909\u63DB\u3067\u30BF\u30B9\u30AF\u30C7\u30D5\u30A9\u30EB\u30C8\u3092\u4F7F\u7528",description:"\u30C6\u30AD\u30B9\u30C8\u3092\u30BF\u30B9\u30AF\u306B\u30A4\u30F3\u30B9\u30BF\u30F3\u30C8\u5909\u63DB\u3059\u308B\u969B\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u30BF\u30B9\u30AF\u8A2D\u5B9A\u3092\u9069\u7528"}},options:{noDefault:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306A\u3057",none:"\u306A\u3057",today:"\u4ECA\u65E5",tomorrow:"\u660E\u65E5",nextWeek:"\u6765\u9031",daily:"\u6BCE\u65E5",weekly:"\u6BCE\u9031",monthly:"\u6BCE\u6708",yearly:"\u6BCE\u5E74"}},general:{taskStorage:{header:"\u30BF\u30B9\u30AF\u30B9\u30C8\u30EC\u30FC\u30B8",description:"\u30BF\u30B9\u30AF\u306E\u4FDD\u5B58\u5834\u6240\u3068\u8B58\u5225\u65B9\u6CD5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",defaultFolder:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30BF\u30B9\u30AF\u30D5\u30A9\u30EB\u30C0\u30FC",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u306E\u30C7\u30D5\u30A9\u30EB\u30C8\u5834\u6240"},moveArchived:{name:"\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u305F\u30BF\u30B9\u30AF\u3092\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u79FB\u52D5",description:"\u30A2\u30FC\u30AB\u30A4\u30D6\u3057\u305F\u30BF\u30B9\u30AF\u3092\u81EA\u52D5\u7684\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u30D5\u30A9\u30EB\u30C0\u30FC\u306B\u79FB\u52D5"},archiveFolder:{name:"\u30A2\u30FC\u30AB\u30A4\u30D6\u30D5\u30A9\u30EB\u30C0\u30FC",description:"\u30A2\u30FC\u30AB\u30A4\u30D6\u6642\u306B\u30BF\u30B9\u30AF\u3092\u79FB\u52D5\u3059\u308B\u30D5\u30A9\u30EB\u30C0\u30FC\u3002{{year}}\u3001{{month}}\u3001{{priority}}\u306A\u3069\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u5909\u6570\u3092\u30B5\u30DD\u30FC\u30C8\u3057\u307E\u3059\u3002"}},taskIdentification:{header:"\u30BF\u30B9\u30AF\u8B58\u5225",description:"TaskNotes\u304C\u30CE\u30FC\u30C8\u3092\u30BF\u30B9\u30AF\u3068\u3057\u3066\u8B58\u5225\u3059\u308B\u65B9\u6CD5\u3092\u9078\u629E\u3057\u307E\u3059\u3002",identifyBy:{name:"\u30BF\u30B9\u30AF\u306E\u8B58\u5225\u65B9\u6CD5",description:"\u30BF\u30B0\u307E\u305F\u306F\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u30BF\u30B9\u30AF\u3092\u8B58\u5225\u3059\u308B\u304B\u3092\u9078\u629E",options:{tag:"\u30BF\u30B0",property:"\u30D7\u30ED\u30D1\u30C6\u30A3"}},taskTag:{name:"\u30BF\u30B9\u30AF\u30BF\u30B0",description:"\u30CE\u30FC\u30C8\u3092\u30BF\u30B9\u30AF\u3068\u3057\u3066\u8B58\u5225\u3059\u308B\u30BF\u30B0\uFF08#\u306A\u3057\uFF09"},hideIdentifyingTags:{name:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3067\u8B58\u5225\u30BF\u30B0\u3092\u975E\u8868\u793A",description:"\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u30BF\u30B9\u30AF\u8B58\u5225\u30BF\u30B0\u306B\u4E00\u81F4\u3059\u308B\u30BF\u30B0\uFF08'task/project'\u306E\u3088\u3046\u306A\u968E\u5C64\u7684\u4E00\u81F4\u3092\u542B\u3080\uFF09\u304C\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u8868\u793A\u304B\u3089\u975E\u8868\u793A\u306B\u306A\u308A\u307E\u3059"},taskProperty:{name:"\u30BF\u30B9\u30AF\u30D7\u30ED\u30D1\u30C6\u30A3\u540D",description:'\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D7\u30ED\u30D1\u30C6\u30A3\u540D\uFF08\u4F8B\uFF1A"category"\uFF09'},taskPropertyValue:{name:"\u30BF\u30B9\u30AF\u30D7\u30ED\u30D1\u30C6\u30A3\u5024",description:'\u30CE\u30FC\u30C8\u3092\u30BF\u30B9\u30AF\u3068\u3057\u3066\u8B58\u5225\u3059\u308B\u5024\uFF08\u4F8B\uFF1A"task"\uFF09'}},folderManagement:{header:"\u30D5\u30A9\u30EB\u30C0\u30FC\u7BA1\u7406",excludedFolders:{name:"\u9664\u5916\u30D5\u30A9\u30EB\u30C0\u30FC",description:"\u30BF\u30B9\u30AF\u306E\u30A4\u30F3\u30C7\u30C3\u30AF\u30B9\u4F5C\u6210\u3068\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u5019\u88DC\u304B\u3089\u9664\u5916\u3059\u308B\u30D5\u30A9\u30EB\u30C0\u30FC\u306E\u30AB\u30F3\u30DE\u533A\u5207\u308A\u30EA\u30B9\u30C8"}},frontmatter:{header:"Frontmatter",description:"frontmatter\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u306E\u30EA\u30F3\u30AF\u306E\u30D5\u30A9\u30FC\u30DE\u30C3\u30C8\u65B9\u6CD5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",useMarkdownLinks:{name:"frontmatter\u3067markdown\u30EA\u30F3\u30AF\u3092\u4F7F\u7528",description:`frontmatter\u30D7\u30ED\u30D1\u30C6\u30A3\u3067wikilink\uFF08[[link]]\uFF09\u306E\u4EE3\u308F\u308A\u306Bmarkdown\u30EA\u30F3\u30AF\uFF08[text](path)\uFF09\u3092\u751F\u6210\u3057\u307E\u3059\u3002
|
||
|
||
\u26A0\uFE0F \u6B63\u3057\u304F\u6A5F\u80FD\u3059\u308B\u306B\u306F'obsidian-frontmatter-markdown-links'\u30D7\u30E9\u30B0\u30A4\u30F3\u304C\u5FC5\u8981\u3067\u3059\u3002`}},taskInteraction:{header:"\u30BF\u30B9\u30AF\u30A4\u30F3\u30BF\u30E9\u30AF\u30B7\u30E7\u30F3",description:"\u30BF\u30B9\u30AF\u3092\u30AF\u30EA\u30C3\u30AF\u3059\u308B\u969B\u306E\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",singleClick:{name:"\u30B7\u30F3\u30B0\u30EB\u30AF\u30EA\u30C3\u30AF\u30A2\u30AF\u30B7\u30E7\u30F3",description:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3092\u30B7\u30F3\u30B0\u30EB\u30AF\u30EA\u30C3\u30AF\u3057\u305F\u969B\u306B\u5B9F\u884C\u3059\u308B\u30A2\u30AF\u30B7\u30E7\u30F3"},doubleClick:{name:"\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u30A2\u30AF\u30B7\u30E7\u30F3",description:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3092\u30C0\u30D6\u30EB\u30AF\u30EA\u30C3\u30AF\u3057\u305F\u969B\u306B\u5B9F\u884C\u3059\u308B\u30A2\u30AF\u30B7\u30E7\u30F3"},actions:{edit:"\u30BF\u30B9\u30AF\u3092\u7DE8\u96C6",openNote:"\u30CE\u30FC\u30C8\u3092\u958B\u304F",none:"\u30A2\u30AF\u30B7\u30E7\u30F3\u306A\u3057"}},releaseNotes:{header:"\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8",description:"\u73FE\u5728\u306E\u30D0\u30FC\u30B8\u30E7\u30F3\uFF1A{version}",showOnUpdate:{name:"\u66F4\u65B0\u5F8C\u306B\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8\u3092\u8868\u793A",description:"TaskNotes\u304C\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3\u306B\u66F4\u65B0\u3055\u308C\u305F\u3068\u304D\u306B\u81EA\u52D5\u7684\u306B\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8\u3092\u958B\u304F"},viewButton:{name:"\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8\u3092\u8868\u793A",description:"TaskNotes\u306E\u6700\u65B0\u30D0\u30FC\u30B8\u30E7\u30F3\u306E\u65B0\u6A5F\u80FD\u3092\u78BA\u8A8D\u3059\u308B",buttonText:"\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8\u3092\u8868\u793A"}}},taskProperties:{sections:{coreProperties:"\u30B3\u30A2\u30D7\u30ED\u30D1\u30C6\u30A3",corePropertiesDesc:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3068\u512A\u5148\u5EA6\u306F\u3001\u30BF\u30B9\u30AF\u306E\u72B6\u614B\u3068\u91CD\u8981\u5EA6\u3092\u5B9A\u7FA9\u3059\u308B\u30B3\u30A2\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u3059\u3002",dateProperties:"\u65E5\u4ED8\u30D7\u30ED\u30D1\u30C6\u30A3",datePropertiesDesc:"\u30BF\u30B9\u30AF\u306E\u671F\u9650\u3068\u4E88\u5B9A\u65E5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",organizationProperties:"\u6574\u7406\u30D7\u30ED\u30D1\u30C6\u30A3",organizationPropertiesDesc:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8\u3001\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3001\u30BF\u30B0\u3067\u30BF\u30B9\u30AF\u3092\u6574\u7406\u3057\u307E\u3059\u3002",taskDetails:"\u30BF\u30B9\u30AF\u8A73\u7D30",taskDetailsDesc:"\u6642\u9593\u898B\u7A4D\u3082\u308A\u3001\u7E70\u308A\u8FD4\u3057\u3001\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u306A\u3069\u306E\u8FFD\u52A0\u8A73\u7D30\u3002",metadataProperties:"\u30E1\u30BF\u30C7\u30FC\u30BF\u30D7\u30ED\u30D1\u30C6\u30A3",metadataPropertiesDesc:"\u30BF\u30B9\u30AF\u5C65\u6B74\u3092\u8FFD\u8DE1\u3059\u308B\u305F\u3081\u306E\u30B7\u30B9\u30C6\u30E0\u7BA1\u7406\u30D7\u30ED\u30D1\u30C6\u30A3\u3002",featureProperties:"\u6A5F\u80FD\u30D7\u30ED\u30D1\u30C6\u30A3",featurePropertiesDesc:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u3084\u30AB\u30EC\u30F3\u30C0\u30FC\u540C\u671F\u306A\u3069\u3001\u7279\u5B9A\u306ETaskNotes\u6A5F\u80FD\u3067\u4F7F\u7528\u3055\u308C\u308B\u30D7\u30ED\u30D1\u30C6\u30A3\u3002"},propertyCard:{propertyKey:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30AD\u30FC:",default:"\u30C7\u30D5\u30A9\u30EB\u30C8:",nlpTrigger:"NLP\u30C8\u30EA\u30AC\u30FC:",triggerChar:"\u30C8\u30EA\u30AC\u30FC\u6587\u5B57:",triggerEmpty:"\u30C8\u30EA\u30AC\u30FC\u306F\u7A7A\u306B\u3067\u304D\u307E\u305B\u3093",triggerTooLong:"\u30C8\u30EA\u30AC\u30FC\u304C\u9577\u3059\u304E\u307E\u3059\uFF08\u6700\u592710\u6587\u5B57\uFF09"},properties:{status:{name:"\u30B9\u30C6\u30FC\u30BF\u30B9",description:"\u30BF\u30B9\u30AF\u306E\u73FE\u5728\u306E\u72B6\u614B\u3092\u8FFD\u8DE1\u3057\u307E\u3059\uFF08\u4F8B\uFF1Atodo\u3001\u9032\u884C\u4E2D\u3001\u5B8C\u4E86\uFF09\u3002\u30B9\u30C6\u30FC\u30BF\u30B9\u306F\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3068\u3057\u3066\u8868\u793A\u3055\u308C\u308B\u304B\u3069\u3046\u304B\u3092\u6C7A\u5B9A\u3057\u3001\u81EA\u52D5\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u30C8\u30EA\u30AC\u30FC\u3067\u304D\u307E\u3059\u3002"},priority:{name:"\u512A\u5148\u5EA6",description:"\u30BF\u30B9\u30AF\u306E\u91CD\u8981\u5EA6\u3092\u793A\u3057\u307E\u3059\u3002\u30BD\u30FC\u30C8\u3068\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002Bases\u30D3\u30E5\u30FC\u3067\u306F\u5024\u304C\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u306B\u30BD\u30FC\u30C8\u3055\u308C\u308B\u305F\u3081\u30011-\u30012-\u306E\u3088\u3046\u306A\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u4F7F\u7528\u3057\u3066\u9806\u5E8F\u3092\u5236\u5FA1\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},due:{name:"\u671F\u9650\u65E5",description:"\u30BF\u30B9\u30AF\u3092\u5B8C\u4E86\u3057\u306A\u3051\u308C\u3070\u306A\u3089\u306A\u3044\u7DE0\u3081\u5207\u308A\u3002\u671F\u9650\u3092\u904E\u304E\u305F\u30BF\u30B9\u30AF\u306F\u671F\u9650\u5207\u308C\u3068\u3057\u3066\u8868\u793A\u3055\u308C\u307E\u3059\u3002\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306B\u65E5\u4ED8\u3068\u3057\u3066\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002"},scheduled:{name:"\u4E88\u5B9A\u65E5",description:"\u30BF\u30B9\u30AF\u306B\u53D6\u308A\u7D44\u3080\u4E88\u5B9A\u306E\u65E5\u6642\u3002\u671F\u9650\u65E5\u3068\u306F\u7570\u306A\u308A\u3001\u3053\u308C\u306F\u958B\u59CB\u4E88\u5B9A\u6642\u523B\u3092\u8868\u3057\u307E\u3059\u3002\u30BF\u30B9\u30AF\u306F\u4E88\u5B9A\u65E5\u6642\u306B\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002"},contexts:{name:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",description:"\u30BF\u30B9\u30AF\u3092\u5B9F\u884C\u3067\u304D\u308B\u5834\u6240\u3084\u6761\u4EF6\uFF08\u4F8B\uFF1A@\u81EA\u5B85\u3001@\u30AA\u30D5\u30A3\u30B9\u3001@\u96FB\u8A71\uFF09\u3002\u73FE\u5728\u306E\u72B6\u6CC1\u306B\u5FDC\u3058\u3066\u30BF\u30B9\u30AF\u3092\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u3059\u308B\u306E\u306B\u4FBF\u5229\u3067\u3059\u3002\u30EA\u30B9\u30C8\u3068\u3057\u3066\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002"},projects:{name:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",description:"\u3053\u306E\u30BF\u30B9\u30AF\u304C\u5C5E\u3059\u308B\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30CE\u30FC\u30C8\u3078\u306E\u30EA\u30F3\u30AF\u3002\u30A6\u30A3\u30AD\u30EA\u30F3\u30AF\u3068\u3057\u3066\u4FDD\u5B58\u3055\u308C\u307E\u3059\uFF08\u4F8B\uFF1A[[\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u540D]]\uFF09\u3002\u30BF\u30B9\u30AF\u306F\u8907\u6570\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u6240\u5C5E\u3067\u304D\u307E\u3059\u3002"},tags:{name:"\u30BF\u30B0",description:"\u30BF\u30B9\u30AF\u3092\u5206\u985E\u3059\u308B\u305F\u3081\u306E\u30CD\u30A4\u30C6\u30A3\u30D6Obsidian\u30BF\u30B0\u3002\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306Etags\u30D7\u30ED\u30D1\u30C6\u30A3\u306B\u4FDD\u5B58\u3055\u308C\u3001Obsidian\u306E\u30BF\u30B0\u6A5F\u80FD\u3068\u9023\u643A\u3057\u307E\u3059\u3002"},timeEstimate:{name:"\u6642\u9593\u898B\u7A4D\u3082\u308A",description:"\u30BF\u30B9\u30AF\u5B8C\u4E86\u307E\u3067\u306E\u63A8\u5B9A\u5206\u6570\u3002\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AD\u30F3\u30B0\u3068\u30EF\u30FC\u30AF\u30ED\u30FC\u30C9\u8A08\u753B\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3068\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306B\u8868\u793A\u3055\u308C\u307E\u3059\u3002"},recurrence:{name:"\u7E70\u308A\u8FD4\u3057",description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u306E\u30D1\u30BF\u30FC\u30F3\uFF08\u6BCE\u65E5\u3001\u6BCE\u9031\u3001\u6BCE\u6708\u3001\u6BCE\u5E74\u3001\u307E\u305F\u306F\u30AB\u30B9\u30BF\u30E0RRULE\uFF09\u3002\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3059\u308B\u3068\u3001\u4E88\u5B9A\u65E5\u306F\u81EA\u52D5\u7684\u306B\u6B21\u306E\u767A\u751F\u65E5\u306B\u66F4\u65B0\u3055\u308C\u307E\u3059\u3002"},recurrenceAnchor:{name:"\u7E70\u308A\u8FD4\u3057\u30A2\u30F3\u30AB\u30FC",description:"\u6B21\u306E\u767A\u751F\u65E5\u306E\u8A08\u7B97\u65B9\u6CD5\u3092\u5236\u5FA1\u3057\u307E\u3059\uFF1A'scheduled'\u306F\u4E88\u5B9A\u65E5\u3092\u4F7F\u7528\u3001'completion'\u306F\u5B9F\u969B\u306E\u5B8C\u4E86\u65E5\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002"},reminders:{name:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC",description:"\u671F\u9650\u65E5\u307E\u305F\u306F\u4E88\u5B9A\u65E5\u306E\u524D\u306B\u30C8\u30EA\u30AC\u30FC\u3055\u308C\u308B\u901A\u77E5\u3002\u30BF\u30A4\u30DF\u30F3\u30B0\u3068\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u8AAC\u660E\u3092\u542B\u3080\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u30AA\u30D6\u30B8\u30A7\u30AF\u30C8\u306E\u30EA\u30B9\u30C8\u3068\u3057\u3066\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002"},title:{name:"\u30BF\u30A4\u30C8\u30EB",description:"\u30BF\u30B9\u30AF\u540D\u3002\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u307E\u305F\u306F\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u4FDD\u5B58\u3067\u304D\u307E\u3059\uFF08\u300C\u30BF\u30A4\u30C8\u30EB\u3092\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u4FDD\u5B58\u300D\u304C\u6709\u52B9\u306A\u5834\u5408\uFF09\u3002"},dateCreated:{name:"\u4F5C\u6210\u65E5",description:"\u30BF\u30B9\u30AF\u304C\u6700\u521D\u306B\u4F5C\u6210\u3055\u308C\u305F\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3002\u81EA\u52D5\u7684\u306B\u8A2D\u5B9A\u3055\u308C\u3001\u4F5C\u6210\u9806\u3067\u306E\u30BD\u30FC\u30C8\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002"},dateModified:{name:"\u66F4\u65B0\u65E5",description:"\u30BF\u30B9\u30AF\u3078\u306E\u6700\u5F8C\u306E\u5909\u66F4\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3002\u30BF\u30B9\u30AF\u30D7\u30ED\u30D1\u30C6\u30A3\u304C\u5909\u66F4\u3055\u308C\u308B\u3068\u81EA\u52D5\u7684\u306B\u66F4\u65B0\u3055\u308C\u307E\u3059\u3002"},completedDate:{name:"\u5B8C\u4E86\u65E5",description:"\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u305F\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u3002\u30B9\u30C6\u30FC\u30BF\u30B9\u304C\u5B8C\u4E86\u72B6\u614B\u306B\u5909\u308F\u308B\u3068\u81EA\u52D5\u7684\u306B\u8A2D\u5B9A\u3055\u308C\u307E\u3059\u3002"},archiveTag:{name:"\u30A2\u30FC\u30AB\u30A4\u30D6\u30BF\u30B0",description:"\u30A2\u30FC\u30AB\u30A4\u30D6\u6642\u306B\u30BF\u30B9\u30AF\u306B\u8FFD\u52A0\u3055\u308C\u308B\u30BF\u30B0\u3002\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u30BF\u30B9\u30AF\u3092\u8B58\u5225\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u3001\u30A2\u30FC\u30AB\u30A4\u30D6\u30D5\u30A9\u30EB\u30C0\u3078\u306E\u30D5\u30A1\u30A4\u30EB\u79FB\u52D5\u3092\u30C8\u30EA\u30AC\u30FC\u3067\u304D\u307E\u3059\u3002"},timeEntries:{name:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u30FC",description:"\u3053\u306E\u30BF\u30B9\u30AF\u306E\u6642\u9593\u8FFD\u8DE1\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u8A18\u9332\u3002\u5404\u30A8\u30F3\u30C8\u30EA\u306B\u306F\u958B\u59CB\u3068\u7D42\u4E86\u306E\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\u304C\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002\u5408\u8A08\u6642\u9593\u306E\u8A08\u7B97\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002"},completeInstances:{name:"\u5B8C\u4E86\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9",description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u306E\u5B8C\u4E86\u5C65\u6B74\u3002\u5404\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u304C\u5B8C\u4E86\u3057\u305F\u65E5\u4ED8\u3092\u4FDD\u5B58\u3057\u3066\u3001\u91CD\u8907\u5B8C\u4E86\u3092\u9632\u304E\u307E\u3059\u3002"},skippedInstances:{name:"\u30B9\u30AD\u30C3\u30D7\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9",description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u306E\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u305F\u767A\u751F\u3002\u5B8C\u4E86\u3067\u306F\u306A\u304F\u30B9\u30AD\u30C3\u30D7\u3055\u308C\u305F\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u65E5\u4ED8\u3092\u4FDD\u5B58\u3057\u307E\u3059\u3002"},blockedBy:{name:"\u30D6\u30ED\u30C3\u30AF\u5143",description:"\u3053\u306E\u30BF\u30B9\u30AF\u306E\u524D\u306B\u5B8C\u4E86\u3059\u308B\u5FC5\u8981\u304C\u3042\u308B\u30BF\u30B9\u30AF\u3078\u306E\u30EA\u30F3\u30AF\u3002\u30A6\u30A3\u30AD\u30EA\u30F3\u30AF\u3068\u3057\u3066\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002\u30D6\u30ED\u30C3\u30AF\u3055\u308C\u305F\u30BF\u30B9\u30AF\u306F\u8996\u899A\u7684\u306A\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC\u3092\u8868\u793A\u3057\u307E\u3059\u3002"},pomodoros:{name:"\u30DD\u30E2\u30C9\u30FC\u30ED",description:"\u5B8C\u4E86\u3057\u305F\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u306E\u30AB\u30A6\u30F3\u30C8\u3002\u30C7\u30FC\u30BF\u4FDD\u5B58\u304C\u300C\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u300D\u306B\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u3001\u3053\u308C\u306F\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u3067\u306F\u306A\u304F\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u66F8\u304D\u8FBC\u307E\u308C\u307E\u3059\u3002"},icsEventId:{name:"ICS\u30A4\u30D9\u30F3\u30C8ID",description:"\u30CE\u30FC\u30C8\u3092ICS\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306B\u30EA\u30F3\u30AF\u3059\u308B\u4E00\u610F\u306E\u8B58\u5225\u5B50\u3002\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u30CE\u30FC\u30C8\u3092\u4F5C\u6210\u3059\u308B\u969B\u306B\u81EA\u52D5\u7684\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3059\u3002"},icsEventTag:{name:"ICS\u30A4\u30D9\u30F3\u30C8\u30BF\u30B0",description:"ICS\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210\u3055\u308C\u305F\u30CE\u30FC\u30C8\u3092\u8B58\u5225\u3059\u308B\u30BF\u30B0\u3002\u30AB\u30EC\u30F3\u30C0\u30FC\u751F\u6210\u30CE\u30FC\u30C8\u3092\u901A\u5E38\u306E\u30BF\u30B9\u30AF\u3068\u533A\u5225\u3059\u308B\u305F\u3081\u306B\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002"}},statusCard:{valuesHeader:"\u30B9\u30C6\u30FC\u30BF\u30B9\u5024"},priorityCard:{valuesHeader:"\u512A\u5148\u5EA6\u5024"},projectsCard:{defaultProjects:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8:",useParentNote:"\u89AA\u30CE\u30FC\u30C8\u3092\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3068\u3057\u3066\u4F7F\u7528:",noDefaultProjects:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",autosuggestFilters:"\u30AA\u30FC\u30C8\u30B5\u30B8\u30A7\u30B9\u30C8\u30D5\u30A3\u30EB\u30BF\u30FC",customizeDisplay:"\u8868\u793A\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",filtersOn:"\u30D5\u30A3\u30EB\u30BF\u30FC\u6709\u52B9"},titleCard:{storeTitleInFilename:"\u30BF\u30A4\u30C8\u30EB\u3092\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u4FDD\u5B58:",storedInFilename:"\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u4FDD\u5B58",filenameUpdatesWithTitle:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u304C\u5909\u66F4\u3055\u308C\u308B\u3068\u3001\u30D5\u30A1\u30A4\u30EB\u540D\u306F\u81EA\u52D5\u7684\u306B\u66F4\u65B0\u3055\u308C\u307E\u3059\u3002",filenameFormat:"\u30D5\u30A1\u30A4\u30EB\u540D\u5F62\u5F0F:",customTemplate:"\u30AB\u30B9\u30BF\u30E0\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8:"},tagsCard:{nativeObsidianTags:"\u30CD\u30A4\u30C6\u30A3\u30D6Obsidian\u30BF\u30B0\u3092\u4F7F\u7528"},remindersCard:{defaultReminders:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC"},taskStatuses:{header:"\u30BF\u30B9\u30AF\u30B9\u30C6\u30FC\u30BF\u30B9",description:"\u30BF\u30B9\u30AF\u3067\u5229\u7528\u53EF\u80FD\u306A\u30B9\u30C6\u30FC\u30BF\u30B9\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u306F\u30BF\u30B9\u30AF\u30E9\u30A4\u30D5\u30B5\u30A4\u30AF\u30EB\u3092\u5236\u5FA1\u3057\u3001\u30BF\u30B9\u30AF\u304C\u3044\u3064\u5B8C\u4E86\u3068\u898B\u306A\u3055\u308C\u308B\u304B\u3092\u6C7A\u5B9A\u3057\u307E\u3059\u3002",howTheyWork:{title:"\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u52D5\u4F5C\uFF1A",value:'\u5024\uFF1A\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u306B\u4FDD\u5B58\u3055\u308C\u308B\u5185\u90E8\u8B58\u5225\u5B50\uFF08\u4F8B\uFF1A"in-progress"\uFF09',label:'\u30E9\u30D9\u30EB\uFF1A\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u306B\u8868\u793A\u3055\u308C\u308B\u8868\u793A\u540D\uFF08\u4F8B\uFF1A"\u9032\u884C\u4E2D"\uFF09',color:"\u8272\uFF1A\u30B9\u30C6\u30FC\u30BF\u30B9\u30C9\u30C3\u30C8\u3068\u30D0\u30C3\u30B8\u306E\u8996\u899A\u7684\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC\u8272",icon:'\u30A2\u30A4\u30B3\u30F3\uFF1A\u30AB\u30E9\u30FC\u30C9\u30C3\u30C8\u306E\u4EE3\u308F\u308A\u306B\u8868\u793A\u3059\u308B\u30AA\u30D7\u30B7\u30E7\u30F3\u306ELucide\u30A2\u30A4\u30B3\u30F3\u540D\uFF08\u4F8B\uFF1A"check"\u3001"circle"\u3001"clock"\uFF09\u3002lucide.dev\u3067\u30A2\u30A4\u30B3\u30F3\u3092\u95B2\u89A7',completed:"\u5B8C\u4E86\uFF1A\u30C1\u30A7\u30C3\u30AF\u3059\u308B\u3068\u3001\u3053\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u306E\u30BF\u30B9\u30AF\u306F\u5B8C\u4E86\u3068\u898B\u306A\u3055\u308C\u3001\u7570\u306A\u3063\u3066\u30D5\u30A3\u30EB\u30BF\u30EA\u30F3\u30B0\u3055\u308C\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059",autoArchive:"\u81EA\u52D5\u30A2\u30FC\u30AB\u30A4\u30D6\uFF1A\u6709\u52B9\u306B\u3059\u308B\u3068\u3001\u6307\u5B9A\u3055\u308C\u305F\u9045\u5EF6\u5F8C\u306B\u30BF\u30B9\u30AF\u304C\u81EA\u52D5\u7684\u306B\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u307E\u3059\uFF081-1440\u5206\uFF09",orderNote:"\u4EE5\u4E0B\u306E\u9806\u5E8F\u306F\u3001\u30BF\u30B9\u30AF\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30C3\u30B8\u3092\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u5207\u308A\u66FF\u3048\u308B\u969B\u306E\u30B7\u30FC\u30B1\u30F3\u30B9\u3092\u6C7A\u5B9A\u3057\u307E\u3059\u3002"},addNew:{name:"\u65B0\u3057\u3044\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8FFD\u52A0",description:"\u30BF\u30B9\u30AF\u306E\u65B0\u3057\u3044\u30B9\u30C6\u30FC\u30BF\u30B9\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u4F5C\u6210",buttonText:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8FFD\u52A0"},validationNote:'\u6CE8\u610F\uFF1A\u5C11\u306A\u304F\u3068\u30822\u3064\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u304C\u5FC5\u8981\u3067\u3001\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u304C"\u5B8C\u4E86"\u3068\u3057\u3066\u30DE\u30FC\u30AF\u3055\u308C\u3066\u3044\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002',emptyState:"\u30AB\u30B9\u30BF\u30E0\u30B9\u30C6\u30FC\u30BF\u30B9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8FFD\u52A0\u3057\u3066\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",emptyStateButton:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8FFD\u52A0",fields:{value:"\u5024\uFF1A",label:"\u30E9\u30D9\u30EB\uFF1A",color:"\u8272\uFF1A",icon:"\u30A2\u30A4\u30B3\u30F3\uFF1A",completed:"\u5B8C\u4E86\uFF1A",autoArchive:"\u81EA\u52D5\u30A2\u30FC\u30AB\u30A4\u30D6\uFF1A",delayMinutes:"\u9045\u5EF6\uFF08\u5206\uFF09\uFF1A"},placeholders:{value:"in-progress",label:"\u9032\u884C\u4E2D",icon:"check, circle, clock"},badges:{completed:"\u5B8C\u4E86"},deleteConfirm:'\u30B9\u30C6\u30FC\u30BF\u30B9"{label}"\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F'},taskPriorities:{header:"\u30BF\u30B9\u30AF\u512A\u5148\u5EA6",description:"\u30BF\u30B9\u30AF\u3067\u5229\u7528\u53EF\u80FD\u306A\u512A\u5148\u5EA6\u30EC\u30D9\u30EB\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u307E\u3059\u3002v4.0+\u3067\u306F\u3001\u512A\u5148\u5EA6\u306FBases\u30D3\u30E5\u30FC\u3067\u5024\u306E\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u306B\u30BD\u30FC\u30C8\u3055\u308C\u307E\u3059\u3002",howTheyWork:{title:"\u512A\u5148\u5EA6\u306E\u52D5\u4F5C\uFF1A",value:'\u5024\uFF1A\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u306B\u4FDD\u5B58\u3055\u308C\u308B\u5185\u90E8\u8B58\u5225\u5B50\u3002Bases\u30D3\u30E5\u30FC\u3067\u306E\u30BD\u30FC\u30C8\u9806\u3092\u5236\u5FA1\u3059\u308B\u306B\u306F\u3001"1-urgent"\u3001"2-high"\u306E\u3088\u3046\u306A\u30D7\u30EC\u30D5\u30A3\u30C3\u30AF\u30B9\u3092\u4F7F\u7528\u3057\u307E\u3059\u3002',label:'\u8868\u793A\u30E9\u30D9\u30EB\uFF1A\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u306B\u8868\u793A\u3055\u308C\u308B\u8868\u793A\u540D\uFF08\u4F8B\uFF1A"\u9AD8\u512A\u5148\u5EA6"\uFF09',color:"\u8272\uFF1A\u512A\u5148\u5EA6\u30C9\u30C3\u30C8\u3068\u30D0\u30C3\u30B8\u306E\u8996\u899A\u7684\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC\u8272",weight:"\u91CD\u307F\uFF1A\u4E26\u3073\u66FF\u3048\u7528\u306E\u6570\u5024\uFF08\u91CD\u307F\u304C\u9AD8\u3044\u307B\u3069\u30EA\u30B9\u30C8\u3067\u5148\u306B\u8868\u793A\uFF09",weightNote:"\u30BF\u30B9\u30AF\u306F\u512A\u5148\u5EA6\u306E\u91CD\u307F\u3067\u81EA\u52D5\u7684\u306B\u964D\u9806\u3067\u4E26\u3073\u66FF\u3048\u3089\u308C\u307E\u3059\uFF08\u6700\u9AD8\u91CD\u307F\u304C\u6700\u521D\uFF09\u3002\u91CD\u307F\u306F\u4EFB\u610F\u306E\u6B63\u306E\u6570\u5024\u3067\u3059\u3002"},addNew:{name:"\u65B0\u3057\u3044\u512A\u5148\u5EA6\u3092\u8FFD\u52A0",description:"\u30BF\u30B9\u30AF\u306E\u65B0\u3057\u3044\u512A\u5148\u5EA6\u30EC\u30D9\u30EB\u3092\u4F5C\u6210",buttonText:"\u512A\u5148\u5EA6\u3092\u8FFD\u52A0"},validationNote:"\u6CE8\u610F\uFF1A\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u512A\u5148\u5EA6\u304C\u5FC5\u8981\u3067\u3059\u3002\u512A\u5148\u5EA6\u306FBases\u30D3\u30E5\u30FC\u3067\u5024\u306E\u30A2\u30EB\u30D5\u30A1\u30D9\u30C3\u30C8\u9806\u306B\u30BD\u30FC\u30C8\u3055\u308C\u307E\u3059\u3002",emptyState:"\u30AB\u30B9\u30BF\u30E0\u512A\u5148\u5EA6\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u512A\u5148\u5EA6\u3092\u8FFD\u52A0\u3057\u3066\u958B\u59CB\u3057\u3066\u304F\u3060\u3055\u3044\u3002",emptyStateButton:"\u512A\u5148\u5EA6\u3092\u8FFD\u52A0",fields:{value:"\u5024\uFF1A",label:"\u30E9\u30D9\u30EB\uFF1A",color:"\u8272\uFF1A",weight:"\u91CD\u307F\uFF1A"},placeholders:{value:"high",label:"\u9AD8\u512A\u5148\u5EA6"},weightLabel:"\u91CD\u307F\uFF1A{weight}",deleteConfirm:"\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u512A\u5148\u5EA6\u304C\u5FC5\u8981\u3067\u3059",deleteTooltip:"\u512A\u5148\u5EA6\u3092\u524A\u9664"},fieldMapping:{header:"\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0",warning:"\u26A0\uFE0F \u8B66\u544A\uFF1ATaskNotes\u306F\u3053\u308C\u3089\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u540D\u3092\u8AAD\u307F\u66F8\u304D\u3057\u307E\u3059\u3002\u30BF\u30B9\u30AF\u4F5C\u6210\u5F8C\u306B\u3053\u308C\u3089\u3092\u5909\u66F4\u3059\u308B\u3068\u4E0D\u6574\u5408\u304C\u751F\u3058\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",description:"TaskNotes\u304C\u5404\u30D5\u30A3\u30FC\u30EB\u30C9\u306B\u4F7F\u7528\u3059\u308B\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",resetButton:{name:"\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u30EA\u30BB\u30C3\u30C8",description:"\u3059\u3079\u3066\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306B\u30EA\u30BB\u30C3\u30C8",buttonText:"\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u30EA\u30BB\u30C3\u30C8"},notices:{resetSuccess:"\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u306B\u30EA\u30BB\u30C3\u30C8\u3057\u307E\u3057\u305F",resetFailure:"\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0\u306E\u30EA\u30BB\u30C3\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",updateFailure:"{label}\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},table:{fieldHeader:"TaskNotes\u30D5\u30A3\u30FC\u30EB\u30C9",propertyHeader:"\u3042\u306A\u305F\u306E\u30D7\u30ED\u30D1\u30C6\u30A3\u540D"},fields:{title:"\u30BF\u30A4\u30C8\u30EB",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",priority:"\u512A\u5148\u5EA6",due:"\u671F\u9650\u65E5",scheduled:"\u4E88\u5B9A\u65E5",contexts:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",timeEstimate:"\u6642\u9593\u898B\u7A4D\u3082\u308A",recurrence:"\u7E70\u308A\u8FD4\u3057",dateCreated:"\u4F5C\u6210\u65E5",completedDate:"\u5B8C\u4E86\u65E5",dateModified:"\u5909\u66F4\u65E5",archiveTag:"\u30A2\u30FC\u30AB\u30A4\u30D6\u30BF\u30B0",timeEntries:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA",completeInstances:"\u5B8C\u4E86\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9",blockedBy:"\u30D6\u30ED\u30C3\u30AF\u5143",pomodoros:"\u30DD\u30E2\u30C9\u30FC\u30ED",icsEventId:"ICS\u30A4\u30D9\u30F3\u30C8ID",icsEventTag:"ICS\u30A4\u30D9\u30F3\u30C8\u30BF\u30B0",reminders:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC"}},customUserFields:{header:"\u30AB\u30B9\u30BF\u30E0\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9",description:"\u3059\u3079\u3066\u306E\u30D3\u30E5\u30FC\u3067\u578B\u8A8D\u8B58\u30D5\u30A3\u30EB\u30BF\u30FC\u30AA\u30D7\u30B7\u30E7\u30F3\u3068\u3057\u3066\u8868\u793A\u3055\u308C\u308B\u30AB\u30B9\u30BF\u30E0\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u5B9A\u7FA9\u3057\u307E\u3059\u3002\u5404\u884C\uFF1A\u8868\u793A\u540D\u3001\u30D7\u30ED\u30D1\u30C6\u30A3\u540D\u3001\u30BF\u30A4\u30D7\u3002",addNew:{name:"\u65B0\u3057\u3044\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8FFD\u52A0",description:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3068\u30D3\u30E5\u30FC\u306B\u8868\u793A\u3055\u308C\u308B\u65B0\u3057\u3044\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u4F5C\u6210",buttonText:"\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8FFD\u52A0"},emptyState:"\u30AB\u30B9\u30BF\u30E0\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8FFD\u52A0\u3057\u3066\u30BF\u30B9\u30AF\u306E\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u4F5C\u6210\u3057\u3066\u304F\u3060\u3055\u3044\u3002",emptyStateButton:"\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u8FFD\u52A0",fields:{displayName:"\u8868\u793A\u540D\uFF1A",propertyKey:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30AD\u30FC\uFF1A",type:"\u30BF\u30A4\u30D7\uFF1A",defaultValue:"\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\uFF1A"},placeholders:{displayName:"\u8868\u793A\u540D",propertyKey:"property-name",defaultValue:"\u30C7\u30D5\u30A9\u30EB\u30C8\u5024",defaultValueList:"\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\uFF08\u30AB\u30F3\u30DE\u533A\u5207\u308A\uFF09"},types:{text:"\u30C6\u30AD\u30B9\u30C8",number:"\u6570\u5024",boolean:"\u30D6\u30FC\u30EB",date:"\u65E5\u4ED8",list:"\u30EA\u30B9\u30C8"},defaultNames:{unnamedField:"\u540D\u524D\u306A\u3057\u30D5\u30A3\u30FC\u30EB\u30C9",noKey:"no-key"},deleteTooltip:"\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u524A\u9664",autosuggestFilters:{header:"\u81EA\u52D5\u63D0\u6848\u30D5\u30A3\u30EB\u30BF\u30FC",description:"\u30BF\u30B9\u30AF\u4F5C\u6210\u6642\u306B\u30AB\u30B9\u30BF\u30E0\u30E6\u30FC\u30B6\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u81EA\u52D5\u63D0\u6848\u3092\u30D5\u30A3\u30EB\u30BF\u30FC\u3057\u307E\u3059\u3002\u5404\u30D5\u30A3\u30FC\u30EB\u30C9\u306B\u5BFE\u3057\u3066\u3001\u63D0\u6848\u3055\u308C\u308B\u5024\u3092\u7279\u5B9A\u306E\u30BF\u30B0\u3001\u30D5\u30A9\u30EB\u30C0\u30FC\u3001\u307E\u305F\u306F\u30D7\u30ED\u30D1\u30C6\u30A3\u5024\u3092\u6301\u3064\u30CE\u30FC\u30C8\u306B\u5236\u9650\u3067\u304D\u307E\u3059\u3002"}}},appearance:{taskCards:{header:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9",description:"\u3059\u3079\u3066\u306E\u30D3\u30E5\u30FC\u3067\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u306E\u8868\u793A\u65B9\u6CD5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",defaultVisibleProperties:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u8868\u793A\u30D7\u30ED\u30D1\u30C6\u30A3",description:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A\u3059\u308B\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E\u3057\u307E\u3059\u3002"},propertyGroups:{coreProperties:"\u30B3\u30A2\u30D7\u30ED\u30D1\u30C6\u30A3",organization:"\u7D44\u7E54",customProperties:"\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30D1\u30C6\u30A3"},properties:{status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u30C9\u30C3\u30C8",priority:"\u512A\u5148\u5EA6\u30C9\u30C3\u30C8",due:"\u671F\u9650\u65E5",scheduled:"\u4E88\u5B9A\u65E5",timeEstimate:"\u6642\u9593\u898B\u7A4D\u3082\u308A",totalTrackedTime:"\u7DCF\u8FFD\u8DE1\u6642\u9593",recurrence:"\u7E70\u308A\u8FD4\u3057",completedDate:"\u5B8C\u4E86\u65E5",createdDate:"\u4F5C\u6210\u65E5",modifiedDate:"\u5909\u66F4\u65E5",projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",contexts:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",tags:"\u30BF\u30B0",blocked:"\u30D6\u30ED\u30C3\u30AF\u4E2D",blocking:"\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B"}},taskFilenames:{header:"\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u540D",description:"\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u4F5C\u6210\u6642\u306E\u547D\u540D\u65B9\u6CD5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",storeTitleInFilename:{name:"\u30D5\u30A1\u30A4\u30EB\u540D\u306B\u30BF\u30A4\u30C8\u30EB\u3092\u4FDD\u5B58",description:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u30D5\u30A1\u30A4\u30EB\u540D\u3068\u3057\u3066\u4F7F\u7528\u3002\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u304C\u5909\u66F4\u3055\u308C\u308B\u3068\u30D5\u30A1\u30A4\u30EB\u540D\u3082\u66F4\u65B0\u3055\u308C\u307E\u3059\uFF08\u63A8\u5968\uFF09\u3002"},filenameFormat:{name:"\u30D5\u30A1\u30A4\u30EB\u540D\u5F62\u5F0F",description:"\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u540D\u306E\u751F\u6210\u65B9\u6CD5",options:{title:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\uFF08\u975E\u66F4\u65B0\uFF09",zettel:"Zettelkasten\u5F62\u5F0F\uFF08YYMMDD + \u5348\u524D0\u6642\u304B\u3089\u306Ebase36\u79D2\uFF09",timestamp:"\u5B8C\u5168\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7\uFF08YYYY-MM-DD-HHMMSS\uFF09",custom:"\u30AB\u30B9\u30BF\u30E0\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8"}},customTemplate:{name:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A1\u30A4\u30EB\u540D\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",description:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A1\u30A4\u30EB\u540D\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3002\u5229\u7528\u53EF\u80FD\u306A\u5909\u6570\uFF1A{title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"\u6CE8\u610F\uFF1A{dueDate}\u3068{scheduledDate}\u306FYYYY-MM-DD\u5F62\u5F0F\u3067\u3001\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u5834\u5408\u306F\u7A7A\u306B\u306A\u308A\u307E\u3059\u3002"}},displayFormatting:{header:"\u8868\u793A\u5F62\u5F0F",description:"\u30D7\u30E9\u30B0\u30A4\u30F3\u5168\u4F53\u3067\u306E\u65E5\u4ED8\u3001\u6642\u9593\u3001\u305D\u306E\u4ED6\u306E\u30C7\u30FC\u30BF\u306E\u8868\u793A\u65B9\u6CD5\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",timeFormat:{name:"\u6642\u9593\u5F62\u5F0F",description:"\u30D7\u30E9\u30B0\u30A4\u30F3\u5168\u4F53\u306712\u6642\u9593\u307E\u305F\u306F24\u6642\u9593\u5F62\u5F0F\u3067\u6642\u9593\u3092\u8868\u793A",options:{twelveHour:"12\u6642\u9593\uFF08AM/PM\uFF09",twentyFourHour:"24\u6642\u9593"}}},calendarView:{header:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u306E\u5916\u89B3\u3068\u52D5\u4F5C\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u307E\u3059\u3002",defaultView:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D3\u30E5\u30FC",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30BF\u30D6\u3092\u958B\u304F\u969B\u306B\u8868\u793A\u3055\u308C\u308B\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC",options:{monthGrid:"\u6708\u30B0\u30EA\u30C3\u30C9",weekTimeline:"\u9031\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3",dayTimeline:"\u65E5\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3",yearView:"\u5E74\u30D3\u30E5\u30FC",customMultiDay:"\u30AB\u30B9\u30BF\u30E0\u8907\u6570\u65E5"}},customDayCount:{name:"\u30AB\u30B9\u30BF\u30E0\u30D3\u30E5\u30FC\u65E5\u6570",description:"\u30AB\u30B9\u30BF\u30E0\u8907\u6570\u65E5\u30D3\u30E5\u30FC\u3067\u8868\u793A\u3059\u308B\u65E5\u6570",placeholder:"3"},firstDayOfWeek:{name:"\u9031\u306E\u6700\u521D\u306E\u65E5",description:"\u9031\u30D3\u30E5\u30FC\u3067\u6700\u521D\u306E\u5217\u306B\u3059\u308B\u66DC\u65E5"},showWeekends:{name:"\u9031\u672B\u3092\u8868\u793A",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3067\u9031\u672B\u3092\u8868\u793A"},showWeekNumbers:{name:"\u9031\u756A\u53F7\u3092\u8868\u793A",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3067\u9031\u756A\u53F7\u3092\u8868\u793A"},showTodayHighlight:{name:"\u4ECA\u65E5\u306E\u30CF\u30A4\u30E9\u30A4\u30C8\u3092\u8868\u793A",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3067\u73FE\u5728\u306E\u65E5\u3092\u30CF\u30A4\u30E9\u30A4\u30C8"},showCurrentTimeIndicator:{name:"\u73FE\u5728\u6642\u523B\u30A4\u30F3\u30B8\u30B1\u30FC\u30BF\u30FC\u3092\u8868\u793A",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u3067\u73FE\u5728\u6642\u523B\u3092\u793A\u3059\u30E9\u30A4\u30F3\u3092\u8868\u793A"},selectionMirror:{name:"\u9078\u629E\u30DF\u30E9\u30FC",description:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u6642\u9593\u7BC4\u56F2\u3092\u9078\u629E\u3059\u308B\u969B\u306B\u8996\u899A\u7684\u30D7\u30EC\u30D3\u30E5\u30FC\u3092\u8868\u793A"},calendarLocale:{name:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30ED\u30B1\u30FC\u30EB",description:'\u65E5\u4ED8\u5F62\u5F0F\u3068\u30AB\u30EC\u30F3\u30C0\u30FC\u30B7\u30B9\u30C6\u30E0\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u30ED\u30B1\u30FC\u30EB\uFF08\u4F8B\uFF1A"en"\u3001"fa"\u306FFarsi/Persian\u3001"de"\u306FGerman\uFF09\u3002\u30D6\u30E9\u30A6\u30B6\u30FC\u304B\u3089\u81EA\u52D5\u691C\u51FA\u3059\u308B\u306B\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u307E\u3059\u3002',placeholder:"\u81EA\u52D5\u691C\u51FA",invalidLocale:"\u7121\u52B9\u306A\u30ED\u30B1\u30FC\u30EB\u3067\u3059\u3002\u6709\u52B9\u306A\u8A00\u8A9E\u30BF\u30B0\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\uFF08\u4F8B\uFF1A'ja'\u3001'en'\u3001'fr-FR'\uFF09\u3002"}},defaultEventVisibility:{header:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30A4\u30D9\u30F3\u30C8\u8868\u793A",description:"\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u958B\u304F\u969B\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A\u3055\u308C\u308B\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30D7\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u30E6\u30FC\u30B6\u30FC\u306F\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3067\u3053\u308C\u3089\u3092\u30AA\u30F3/\u30AA\u30D5\u3067\u304D\u307E\u3059\u3002",showScheduledTasks:{name:"\u4E88\u5B9A\u30BF\u30B9\u30AF\u3092\u8868\u793A",description:"\u4E88\u5B9A\u65E5\u306E\u3042\u308B\u30BF\u30B9\u30AF\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A"},showDueDates:{name:"\u671F\u9650\u65E5\u3092\u8868\u793A",description:"\u30BF\u30B9\u30AF\u306E\u671F\u9650\u65E5\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A"},showDueWhenScheduled:{name:"\u4E88\u5B9A\u304C\u3042\u308B\u5834\u5408\u3082\u671F\u9650\u65E5\u3092\u8868\u793A",description:"\u65E2\u306B\u4E88\u5B9A\u65E5\u304C\u3042\u308B\u30BF\u30B9\u30AF\u3067\u3082\u671F\u9650\u65E5\u3092\u8868\u793A"},showTimeEntries:{name:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u8868\u793A",description:"\u5B8C\u4E86\u3057\u305F\u6642\u9593\u8FFD\u8DE1\u30A8\u30F3\u30C8\u30EA\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A"},showRecurringTasks:{name:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u3092\u8868\u793A",description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A"},showICSEvents:{name:"ICS\u30A4\u30D9\u30F3\u30C8\u3092\u8868\u793A",description:"ICS\u8CFC\u8AAD\u304B\u3089\u306E\u30A4\u30D9\u30F3\u30C8\u3092\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u8868\u793A"}},timeSettings:{header:"\u6642\u9593\u8A2D\u5B9A",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u306E\u6642\u9593\u95A2\u9023\u8868\u793A\u8A2D\u5B9A\u3092\u69CB\u6210\u3057\u307E\u3059\u3002",timeSlotDuration:{name:"\u30BF\u30A4\u30E0\u30B9\u30ED\u30C3\u30C8\u9593\u9694",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u3067\u306E\u5404\u30BF\u30A4\u30E0\u30B9\u30ED\u30C3\u30C8\u306E\u9593\u9694",options:{fifteenMinutes:"15\u5206",thirtyMinutes:"30\u5206",sixtyMinutes:"60\u5206"}},startTime:{name:"\u958B\u59CB\u6642\u523B",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u3067\u8868\u793A\u3055\u308C\u308B\u6700\u65E9\u6642\u523B\uFF08HH:MM\u5F62\u5F0F\uFF09",placeholder:"06:00"},endTime:{name:"\u7D42\u4E86\u6642\u523B",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u3067\u8868\u793A\u3055\u308C\u308B\u6700\u9045\u6642\u523B\uFF08HH:MM\u5F62\u5F0F\uFF09",placeholder:"22:00"},initialScrollTime:{name:"\u521D\u671F\u30B9\u30AF\u30ED\u30FC\u30EB\u6642\u523B",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u3092\u958B\u304F\u969B\u306B\u30B9\u30AF\u30ED\u30FC\u30EB\u3059\u308B\u6642\u523B\uFF08HH:MM\u5F62\u5F0F\uFF09",placeholder:"09:00"},eventMinHeight:{name:"\u30A4\u30D9\u30F3\u30C8\u6700\u5C0F\u9AD8\u3055",description:"\u30BF\u30A4\u30E0\u30E9\u30A4\u30F3\u30D3\u30E5\u30FC\u3067\u306E\u30A4\u30D9\u30F3\u30C8\u306E\u6700\u5C0F\u9AD8\u3055\uFF08\u30D4\u30AF\u30BB\u30EB\uFF09",placeholder:"15"}},uiElements:{header:"UI\u8981\u7D20",description:"\u69D8\u3005\u306AUI\u8981\u7D20\u306E\u8868\u793A\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",showTrackedTasksInStatusBar:{name:"\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30FC\u306B\u8FFD\u8DE1\u30BF\u30B9\u30AF\u3092\u8868\u793A",description:"Obsidian\u306E\u30B9\u30C6\u30FC\u30BF\u30B9\u30D0\u30FC\u306B\u73FE\u5728\u8FFD\u8DE1\u4E2D\u306E\u30BF\u30B9\u30AF\u3092\u8868\u793A"},showProjectSubtasksWidget:{name:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30B5\u30D6\u30BF\u30B9\u30AF\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A",description:"\u73FE\u5728\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30CE\u30FC\u30C8\u306E\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8868\u793A\u3059\u308B\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A"},projectSubtasksPosition:{name:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30B5\u30D6\u30BF\u30B9\u30AF\u4F4D\u7F6E",description:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30B5\u30D6\u30BF\u30B9\u30AF\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u306E\u4F4D\u7F6E",options:{top:"\u30CE\u30FC\u30C8\u306E\u4E0A\u90E8",bottom:"\u30CE\u30FC\u30C8\u306E\u4E0B\u90E8"}},showRelationshipsWidget:{name:"\u95A2\u4FC2\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A",description:"\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u306E\u3059\u3079\u3066\u306E\u95A2\u4FC2\uFF08\u30B5\u30D6\u30BF\u30B9\u30AF\u3001\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3001\u4F9D\u5B58\u95A2\u4FC2\uFF09\u3092\u8868\u793A\u3059\u308B\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u8868\u793A"},relationshipsPosition:{name:"\u95A2\u4FC2\u306E\u4F4D\u7F6E",description:"\u95A2\u4FC2\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8\u3092\u914D\u7F6E\u3059\u308B\u5834\u6240",options:{top:"\u30CE\u30FC\u30C8\u306E\u4E0A\u90E8",bottom:"\u30CE\u30FC\u30C8\u306E\u4E0B\u90E8"}},showTaskCardInNote:{name:"\u30CE\u30FC\u30C8\u5185\u306B\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3092\u8868\u793A",description:"\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8\u3092\u958B\u3044\u305F\u3068\u304D\u306B\u30BF\u30B9\u30AF\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8868\u793A\u3059\u308B\u30A4\u30F3\u30BF\u30E9\u30AF\u30C6\u30A3\u30D6\u30AB\u30FC\u30C9\u3092\u8868\u793A"},showExpandableSubtasks:{name:"\u5C55\u958B\u53EF\u80FD\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8868\u793A",description:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u3067\u30B5\u30D6\u30BF\u30B9\u30AF\u30BB\u30AF\u30B7\u30E7\u30F3\u306E\u5C55\u958B/\u6298\u308A\u305F\u305F\u307F\u3092\u8A31\u53EF"},subtaskChevronPosition:{name:"\u30B5\u30D6\u30BF\u30B9\u30AF\u30B7\u30A7\u30D6\u30ED\u30F3\u4F4D\u7F6E",description:"\u30BF\u30B9\u30AF\u30AB\u30FC\u30C9\u306E\u5C55\u958B/\u6298\u308A\u305F\u305F\u307F\u30B7\u30A7\u30D6\u30ED\u30F3\u306E\u4F4D\u7F6E",options:{left:"\u5DE6\u5074",right:"\u53F3\u5074"}},viewsButtonAlignment:{name:"\u30D3\u30E5\u30FC\u30DC\u30BF\u30F3\u914D\u7F6E",description:"\u30BF\u30B9\u30AF\u30A4\u30F3\u30BF\u30FC\u30D5\u30A7\u30FC\u30B9\u306E\u30D3\u30E5\u30FC/\u30D5\u30A3\u30EB\u30BF\u30FC\u30DC\u30BF\u30F3\u306E\u914D\u7F6E",options:{left:"\u5DE6\u5074",right:"\u53F3\u5074"}}},projectAutosuggest:{header:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u81EA\u52D5\u63D0\u6848",description:"\u30BF\u30B9\u30AF\u4F5C\u6210\u6642\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u63D0\u6848\u306E\u8868\u793A\u65B9\u6CD5\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3057\u307E\u3059\u3002",requiredTags:{name:"\u5FC5\u9808\u30BF\u30B0",description:"\u3053\u308C\u3089\u306E\u30BF\u30B0\u306E\u3044\u305A\u308C\u304B\u3092\u6301\u3064\u30CE\u30FC\u30C8\u306E\u307F\u3092\u8868\u793A\uFF08\u30AB\u30F3\u30DE\u533A\u5207\u308A\uFF09\u3002\u3059\u3079\u3066\u306E\u30CE\u30FC\u30C8\u3092\u8868\u793A\u3059\u308B\u306B\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u307E\u3059\u3002",placeholder:"project, active, important"},includeFolders:{name:"\u542B\u3081\u308B\u30D5\u30A9\u30EB\u30C0\u30FC",description:"\u3053\u308C\u3089\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u5185\u306E\u30CE\u30FC\u30C8\u306E\u307F\u3092\u8868\u793A\uFF08\u30AB\u30F3\u30DE\u533A\u5207\u308A\u30D1\u30B9\uFF09\u3002\u3059\u3079\u3066\u306E\u30D5\u30A9\u30EB\u30C0\u30FC\u3092\u8868\u793A\u3059\u308B\u306B\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u307E\u3059\u3002",placeholder:"Projects/, Work/Active, Personal"},requiredPropertyKey:{name:"\u5FC5\u9808\u30D7\u30ED\u30D1\u30C6\u30A3\u30AD\u30FC",description:"\u3053\u306E\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D7\u30ED\u30D1\u30C6\u30A3\u304C\u4E0B\u8A18\u306E\u5024\u3068\u4E00\u81F4\u3059\u308B\u30CE\u30FC\u30C8\u306E\u307F\u3092\u8868\u793A\u3002\u7121\u8996\u3059\u308B\u306B\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u307E\u3059\u3002",placeholder:"type"},requiredPropertyValue:{name:"\u5FC5\u9808\u30D7\u30ED\u30D1\u30C6\u30A3\u5024",description:"\u30D7\u30ED\u30D1\u30C6\u30A3\u304C\u3053\u306E\u5024\u3068\u7B49\u3057\u3044\u30CE\u30FC\u30C8\u306E\u307F\u304C\u63D0\u6848\u3055\u308C\u307E\u3059\u3002\u30D7\u30ED\u30D1\u30C6\u30A3\u306E\u5B58\u5728\u3092\u8981\u6C42\u3059\u308B\u306B\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3057\u307E\u3059\u3002",placeholder:"project"},customizeDisplay:{name:"\u63D0\u6848\u8868\u793A\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA",description:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u63D0\u6848\u306E\u8868\u793A\u65B9\u6CD5\u3068\u8868\u793A\u60C5\u5831\u3092\u8A2D\u5B9A\u3059\u308B\u9AD8\u5EA6\u306A\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8868\u793A\u3002"},enableFuzzyMatching:{name:"\u30D5\u30A1\u30B8\u30FC\u30DE\u30C3\u30C1\u30F3\u30B0\u3092\u6709\u52B9\u306B\u3059\u308B",description:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u691C\u7D22\u3067\u30BF\u30A4\u30D7\u30DF\u30B9\u3068\u90E8\u5206\u4E00\u81F4\u3092\u8A31\u53EF\u3002\u5927\u304D\u306A\u30DC\u30EB\u30C8\u3067\u306F\u9045\u304F\u306A\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002"},displayRowsHelp:"\u5404\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u63D0\u6848\u306B\u8868\u793A\u3059\u308B\u6700\u59273\u884C\u306E\u60C5\u5831\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002",displayRows:{row1:{name:"\u884C1",description:"\u5F62\u5F0F\uFF1A{property|flags}\u3002\u30D7\u30ED\u30D1\u30C6\u30A3\uFF1Atitle\u3001aliases\u3001file.path\u3001file.parent\u3002\u30D5\u30E9\u30B0\uFF1An(Label)\u306F\u30E9\u30D9\u30EB\u3092\u8868\u793A\u3001s\u306F\u691C\u7D22\u53EF\u80FD\u306B\u3057\u307E\u3059\u3002\u4F8B\uFF1A{title|n(Title)|s}",placeholder:"{title|n(Title)}"},row2:{name:"\u884C2\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",description:"\u4E00\u822C\u7684\u306A\u30D1\u30BF\u30FC\u30F3\uFF1A{aliases|n(Aliases)}\u3001{file.parent|n(Folder)}\u3001literal:\u30AB\u30B9\u30BF\u30E0\u30C6\u30AD\u30B9\u30C8",placeholder:"{aliases|n(Aliases)}"},row3:{name:"\u884C3\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",description:"{file.path|n(Path)}\u3084\u30AB\u30B9\u30BF\u30E0\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9\u306A\u3069\u306E\u8FFD\u52A0\u60C5\u5831",placeholder:"{file.path|n(Path)}"}},quickReference:{header:"\u30AF\u30A4\u30C3\u30AF\u30EA\u30D5\u30A1\u30EC\u30F3\u30B9",properties:"\u5229\u7528\u53EF\u80FD\u30D7\u30ED\u30D1\u30C6\u30A3\uFF1Atitle\u3001aliases\u3001file.path\u3001file.parent\u3001\u307E\u305F\u306F\u4EFB\u610F\u306E\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u30D5\u30A3\u30FC\u30EB\u30C9",labels:'\u30E9\u30D9\u30EB\u8FFD\u52A0\uFF1A{title|n(Title)} \u2192 "Title: My Project"',searchable:"\u691C\u7D22\u53EF\u80FD\u306B\u3059\u308B\uFF1A{description|s}\u306F+\u691C\u7D22\u306B\u8AAC\u660E\u3092\u542B\u3081\u307E\u3059",staticText:"\u9759\u7684\u30C6\u30AD\u30B9\u30C8\uFF1Aliteral:My Custom Label",alwaysSearchable:"\u30D5\u30A1\u30A4\u30EB\u540D\u3001\u30BF\u30A4\u30C8\u30EB\u3001\u30A8\u30A4\u30EA\u30A2\u30B9\u306F\u30C7\u30D5\u30A9\u30EB\u30C8\u3067\u5E38\u306B\u691C\u7D22\u53EF\u80FD\u3067\u3059\u3002"}},dataStorage:{name:"\u30B9\u30C8\u30EC\u30FC\u30B8\u5834\u6240",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u5C65\u6B74\u3092\u4FDD\u5B58\u3059\u308B\u5834\u6240",pluginData:"\u30D7\u30E9\u30B0\u30A4\u30F3\u30C7\u30FC\u30BF\uFF08\u63A8\u5968\uFF09",dailyNotes:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8",notices:{locationChanged:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30B9\u30C8\u30EC\u30FC\u30B8\u5834\u6240\u3092{location}\u306B\u5909\u66F4\u3057\u307E\u3057\u305F"}},notifications:{description:"\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u901A\u77E5\u3068\u30A2\u30E9\u30FC\u30C8\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},performance:{description:"\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u3068\u52D5\u4F5C\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},timeTrackingSection:{description:"\u81EA\u52D5\u6642\u9593\u8FFD\u8DE1\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},recurringSection:{description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u7BA1\u7406\u306E\u52D5\u4F5C\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"}},integrations:{basesIntegration:{header:"Bases\u7D71\u5408",description:"Obsidian Bases\u30D7\u30E9\u30B0\u30A4\u30F3\u3068\u306E\u7D71\u5408\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u5B9F\u9A13\u7684\u6A5F\u80FD\u3067\u3001\u73FE\u5728\u975E\u516C\u958B\u306EObsidian API\u306B\u4F9D\u5B58\u3057\u3066\u3044\u307E\u3059\u3002\u52D5\u4F5C\u304C\u5909\u66F4\u307E\u305F\u306F\u7834\u640D\u3059\u308B\u53EF\u80FD\u6027\u304C\u3042\u308A\u307E\u3059\u3002",enable:{name:"Bases\u7D71\u5408\u3092\u6709\u52B9\u306B\u3059\u308B",description:"TaskNotes\u30D3\u30E5\u30FC\u3092Obsidian Bases\u30D7\u30E9\u30B0\u30A4\u30F3\u5185\u3067\u4F7F\u7528\u3067\u304D\u308B\u3088\u3046\u306B\u3057\u307E\u3059\u3002\u3053\u308C\u304C\u6A5F\u80FD\u3059\u308B\u306B\u306FBases\u30D7\u30E9\u30B0\u30A4\u30F3\u304C\u6709\u52B9\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002"},viewCommands:{header:"\u30D3\u30E5\u30FC\u3068Base\u30D5\u30A1\u30A4\u30EB",description:"TaskNotes\u306FObsidian Bases\u30D5\u30A1\u30A4\u30EB\uFF08.base\uFF09\u3092\u4F7F\u7528\u3057\u3066\u30D3\u30E5\u30FC\u3092\u8868\u793A\u3057\u307E\u3059\u3002\u3053\u308C\u3089\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u8D77\u52D5\u6642\u306B\u5B58\u5728\u3057\u306A\u3044\u5834\u5408\u306B\u81EA\u52D5\u7684\u306B\u751F\u6210\u3055\u308C\u3001\u73FE\u5728\u306E\u8A2D\u5B9A\uFF08\u30BF\u30B9\u30AF\u8B58\u5225\u3001\u30D5\u30A3\u30FC\u30EB\u30C9\u30DE\u30C3\u30D4\u30F3\u30B0\u3001\u30B9\u30C6\u30FC\u30BF\u30B9\u306A\u3069\uFF09\u3067\u69CB\u6210\u3055\u308C\u307E\u3059\u3002",descriptionRegen:"Base\u30D5\u30A1\u30A4\u30EB\u306F\u8A2D\u5B9A\u3092\u5909\u66F4\u3057\u3066\u3082\u81EA\u52D5\u7684\u306B\u306F\u66F4\u65B0\u3055\u308C\u307E\u305B\u3093\u3002\u65B0\u3057\u3044\u8A2D\u5B9A\u3092\u9069\u7528\u3059\u308B\u306B\u306F\u3001\u65E2\u5B58\u306E.base\u30D5\u30A1\u30A4\u30EB\u3092\u524A\u9664\u3057\u3066Obsidian\u3092\u518D\u8D77\u52D5\u3059\u308B\u304B\u3001\u4E0B\u306E\u300C\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u300D\u3092\u4F7F\u7528\u3059\u308B\u304B\u3001\u624B\u52D5\u3067\u7DE8\u96C6\u3057\u3066\u304F\u3060\u3055\u3044\u3002",docsLink:"\u5229\u7528\u53EF\u80FD\u306A\u6570\u5F0F\u3068\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u30AA\u30D7\u30B7\u30E7\u30F3\u306E\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u3092\u8868\u793A",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"\u30DF\u30CB\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3092\u958B\u304F",kanban:"\u30AB\u30F3\u30D0\u30F3\u30D3\u30E5\u30FC\u3092\u958B\u304F",tasks:"\u30BF\u30B9\u30AF\u30D3\u30E5\u30FC\u3092\u958B\u304F",advancedCalendar:"\u9AD8\u5EA6\u306A\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3092\u958B\u304F",agenda:"\u30A2\u30B8\u30A7\u30F3\u30C0\u30D3\u30E5\u30FC\u3092\u958B\u304F",relationships:"\u95A2\u4FC2\u30A6\u30A3\u30B8\u30A7\u30C3\u30C8"},fileLabel:"\u30D5\u30A1\u30A4\u30EB\uFF1A{path}",resetButton:"\u30EA\u30BB\u30C3\u30C8",resetTooltip:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D1\u30B9\u306B\u30EA\u30BB\u30C3\u30C8"},createDefaultFiles:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210",description:"TaskNotes/Views/\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306B\u30C7\u30D5\u30A9\u30EB\u30C8\u306E.base\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210\u3057\u307E\u3059\u3002\u65E2\u5B58\u306E\u30D5\u30A1\u30A4\u30EB\u306F\u4E0A\u66F8\u304D\u3055\u308C\u307E\u305B\u3093\u3002",buttonText:"\u30D5\u30A1\u30A4\u30EB\u3092\u4F5C\u6210"},exportV3Views:{name:"V3\u4FDD\u5B58\u30D3\u30E5\u30FC\u3092Bases\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",description:"TaskNotes v3\u306E\u3059\u3079\u3066\u306E\u4FDD\u5B58\u30D3\u30E5\u30FC\u3092\u3001\u8907\u6570\u306E\u30D3\u30E5\u30FC\u3092\u6301\u3064\u5358\u4E00\u306E.base\u30D5\u30A1\u30A4\u30EB\u306B\u5909\u63DB\u3057\u307E\u3059\u3002\u3053\u308C\u306F\u3001v3\u30D5\u30A3\u30EB\u30BF\u30FC\u8A2D\u5B9A\u3092\u65B0\u3057\u3044Bases\u30B7\u30B9\u30C6\u30E0\u306B\u79FB\u884C\u3059\u308B\u306E\u306B\u5F79\u7ACB\u3061\u307E\u3059\u3002",buttonText:"V3\u30D3\u30E5\u30FC\u3092\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",noViews:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3059\u308B\u4FDD\u5B58\u30D3\u30E5\u30FC\u304C\u3042\u308A\u307E\u305B\u3093",fileExists:"\u30D5\u30A1\u30A4\u30EB\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059",confirmOverwrite:'"{fileName}"\u3068\u3044\u3046\u540D\u524D\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059\u3002\u4E0A\u66F8\u304D\u3057\u307E\u3059\u304B\uFF1F',success:"{count}\u500B\u306E\u4FDD\u5B58\u30D3\u30E5\u30FC\u3092{filePath}\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3057\u307E\u3057\u305F",error:"\u30D3\u30E5\u30FC\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}"},notices:{enabled:"Bases\u7D71\u5408\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3057\u305F\u3002\u8A2D\u5B9A\u3092\u5B8C\u4E86\u3059\u308B\u305F\u3081\u306BObsidian\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002",disabled:"Bases\u7D71\u5408\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F\u3002\u524A\u9664\u3092\u5B8C\u4E86\u3059\u308B\u305F\u3081\u306BObsidian\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},calendarSubscriptions:{header:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD",description:"ICS/iCal URL\u3092\u4ECB\u3057\u3066\u5916\u90E8\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u8CFC\u8AAD\u3057\u3001\u30BF\u30B9\u30AF\u3068\u4E00\u7DD2\u306B\u30A4\u30D9\u30F3\u30C8\u3092\u8868\u793A\u3057\u307E\u3059\u3002",defaultNoteTemplate:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30CE\u30FC\u30C8\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",description:"ICS\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210\u3055\u308C\u308B\u30CE\u30FC\u30C8\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9",placeholder:"Templates/Event Template.md"},defaultNoteFolder:{name:"\u30C7\u30D5\u30A9\u30EB\u30C8\u30CE\u30FC\u30C8\u30D5\u30A9\u30EB\u30C0\u30FC",description:"ICS\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210\u3055\u308C\u308B\u30CE\u30FC\u30C8\u306E\u30D5\u30A9\u30EB\u30C0\u30FC",placeholder:"Calendar/Events"},filenameFormat:{name:"ICS\u30CE\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u540D\u5F62\u5F0F",description:"ICS\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210\u3055\u308C\u308B\u30CE\u30FC\u30C8\u306E\u30D5\u30A1\u30A4\u30EB\u540D\u751F\u6210\u65B9\u6CD5",options:{title:"\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30C8\u30EB",zettel:"Zettelkasten\u5F62\u5F0F",timestamp:"\u30BF\u30A4\u30E0\u30B9\u30BF\u30F3\u30D7",custom:"\u30AB\u30B9\u30BF\u30E0\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8"}},customTemplate:{name:"\u30AB\u30B9\u30BF\u30E0ICS\u30D5\u30A1\u30A4\u30EB\u540D\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",description:"\u30AB\u30B9\u30BF\u30E0ICS\u30A4\u30D9\u30F3\u30C8\u30D5\u30A1\u30A4\u30EB\u540D\u306E\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8",placeholder:"{date}-{title}"}},subscriptionsList:{header:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u30EA\u30B9\u30C8",addSubscription:{name:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u3092\u8FFD\u52A0",description:"ICS/iCal URL\u307E\u305F\u306F\u30ED\u30FC\u30AB\u30EB\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u65B0\u3057\u3044\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u3092\u8FFD\u52A0",buttonText:"\u8CFC\u8AAD\u3092\u8FFD\u52A0"},refreshAll:{name:"\u3059\u3079\u3066\u306E\u8CFC\u8AAD\u3092\u66F4\u65B0",description:"\u6709\u52B9\u306A\u3059\u3079\u3066\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u3092\u624B\u52D5\u3067\u66F4\u65B0",buttonText:"\u3059\u3079\u3066\u66F4\u65B0"},newCalendarName:"\u65B0\u3057\u3044\u30AB\u30EC\u30F3\u30C0\u30FC",emptyState:"\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002\u8CFC\u8AAD\u3092\u8FFD\u52A0\u3057\u3066\u5916\u90E8\u30AB\u30EC\u30F3\u30C0\u30FC\u3092\u540C\u671F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",notices:{addSuccess:"\u65B0\u3057\u3044\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F - \u8A73\u7D30\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",addFailure:"\u8CFC\u8AAD\u306E\u8FFD\u52A0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",serviceUnavailable:"ICS\u8CFC\u8AAD\u30B5\u30FC\u30D3\u30B9\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093",refreshSuccess:"\u3059\u3079\u3066\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",refreshFailure:"\u4E00\u90E8\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u8CFC\u8AAD\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",updateFailure:"\u8CFC\u8AAD\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",deleteSuccess:'\u8CFC\u8AAD"{name}"\u3092\u524A\u9664\u3057\u307E\u3057\u305F',deleteFailure:"\u8CFC\u8AAD\u306E\u524A\u9664\u306B\u5931\u6557\u3057\u307E\u3057\u305F",enableFirst:"\u6700\u521D\u306B\u8CFC\u8AAD\u3092\u6709\u52B9\u306B\u3057\u3066\u304F\u3060\u3055\u3044",refreshSubscriptionSuccess:'"{name}"\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F',refreshSubscriptionFailure:"\u8CFC\u8AAD\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},labels:{enabled:"\u6709\u52B9\uFF1A",name:"\u540D\u524D\uFF1A",type:"\u30BF\u30A4\u30D7\uFF1A",url:"URL\uFF1A",filePath:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\uFF1A",color:"\u8272\uFF1A",refreshMinutes:"\u66F4\u65B0\uFF08\u5206\uFF09\uFF1A"},typeOptions:{remote:"\u30EA\u30E2\u30FC\u30C8URL",local:"\u30ED\u30FC\u30AB\u30EB\u30D5\u30A1\u30A4\u30EB"},placeholders:{calendarName:"\u30AB\u30EC\u30F3\u30C0\u30FC\u540D",url:"ICS/iCal URL",filePath:"\u30ED\u30FC\u30AB\u30EB\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\uFF08\u4F8B\uFF1ACalendar.ics\uFF09",localFile:"Calendar.ics"},statusLabels:{enabled:"\u6709\u52B9",disabled:"\u7121\u52B9",remote:"\u30EA\u30E2\u30FC\u30C8",localFile:"\u30ED\u30FC\u30AB\u30EB\u30D5\u30A1\u30A4\u30EB",remoteCalendar:"\u30EA\u30E2\u30FC\u30C8\u30AB\u30EC\u30F3\u30C0\u30FC",localFileCalendar:"\u30ED\u30FC\u30AB\u30EB\u30D5\u30A1\u30A4\u30EB",synced:"{timeAgo}\u306B\u540C\u671F",error:"\u30A8\u30E9\u30FC"},actions:{refreshNow:"\u4ECA\u3059\u3050\u66F4\u65B0",deleteSubscription:"\u8CFC\u8AAD\u3092\u524A\u9664"},refreshNow:"\u4ECA\u3059\u3050\u66F4\u65B0",confirmDelete:{title:"\u8CFC\u8AAD\u3092\u524A\u9664",message:'\u8CFC\u8AAD"{name}"\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3002',confirmText:"\u524A\u9664"}},autoExport:{header:"\u81EA\u52D5ICS\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",description:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3092\u81EA\u52D5\u7684\u306BICS\u30D5\u30A1\u30A4\u30EB\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3057\u307E\u3059\u3002",enable:{name:"\u81EA\u52D5\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3092\u6709\u52B9\u306B\u3059\u308B",description:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3067ICS\u30D5\u30A1\u30A4\u30EB\u3092\u81EA\u52D5\u7684\u306B\u66F4\u65B0\u3057\u7D9A\u3051\u308B"},filePath:{name:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9",description:"ICS\u30D5\u30A1\u30A4\u30EB\u3092\u4FDD\u5B58\u3059\u308B\u30D1\u30B9\uFF08\u30DC\u30EB\u30C8\u30EB\u30FC\u30C8\u304B\u3089\u306E\u76F8\u5BFE\u30D1\u30B9\uFF09",placeholder:"tasknotes-calendar.ics"},interval:{name:"\u66F4\u65B0\u9593\u9694\uFF085\u304B\u30891440\u5206\u306E\u9593\uFF09",description:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3092\u66F4\u65B0\u3059\u308B\u983B\u5EA6",placeholder:"60"},exportNow:{name:"\u4ECA\u3059\u3050\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",description:"\u5373\u5EA7\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3092\u624B\u52D5\u3067\u30C8\u30EA\u30AC\u30FC",buttonText:"\u4ECA\u3059\u3050\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8"},status:{title:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30B9\u30C6\u30FC\u30BF\u30B9\uFF1A",lastExport:"\u6700\u5F8C\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\uFF1A{time}",nextExport:"\u6B21\u306E\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\uFF1A{time}",noExports:"\u307E\u3060\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093",notScheduled:"\u30B9\u30B1\u30B8\u30E5\u30FC\u30EB\u3055\u308C\u3066\u3044\u307E\u305B\u3093",notInitialized:"\u81EA\u52D5\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30B5\u30FC\u30D3\u30B9\u304C\u521D\u671F\u5316\u3055\u308C\u3066\u3044\u307E\u305B\u3093 - Obsidian\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044",serviceNotInitialized:"\u30B5\u30FC\u30D3\u30B9\u304C\u521D\u671F\u5316\u3055\u308C\u3066\u3044\u307E\u305B\u3093 - Obsidian\u3092\u518D\u8D77\u52D5\u3057\u3066\u304F\u3060\u3055\u3044"},notices:{reloadRequired:"\u81EA\u52D5\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306E\u5909\u66F4\u3092\u6709\u52B9\u306B\u3059\u308B\u305F\u3081\u306BObsidian\u3092\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",exportSuccess:"\u30BF\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3055\u308C\u307E\u3057\u305F",exportFailure:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F - \u8A73\u7D30\u306F\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",serviceUnavailable:"\u81EA\u52D5\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u30B5\u30FC\u30D3\u30B9\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093"}},httpApi:{header:"HTTP API",description:"\u5916\u90E8\u7D71\u5408\u3068\u81EA\u52D5\u5316\u306E\u305F\u3081\u306EHTTP API\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002",enable:{name:"HTTP API\u3092\u6709\u52B9\u306B\u3059\u308B",description:"API\u30A2\u30AF\u30BB\u30B9\u7528\u306E\u30ED\u30FC\u30AB\u30EBHTTP\u30B5\u30FC\u30D0\u30FC\u3092\u958B\u59CB"},port:{name:"API\u30DD\u30FC\u30C8",description:"HTTP API\u30B5\u30FC\u30D0\u30FC\u306E\u30DD\u30FC\u30C8\u756A\u53F7",placeholder:"3000"},authToken:{name:"API\u8A8D\u8A3C\u30C8\u30FC\u30AF\u30F3",description:"API\u8A8D\u8A3C\u306B\u5FC5\u8981\u306A\u30C8\u30FC\u30AF\u30F3\uFF08\u8A8D\u8A3C\u306A\u3057\u306E\u5834\u5408\u306F\u7A7A\u767D\u306E\u307E\u307E\u306B\u3059\u308B\uFF09",placeholder:"your-secret-token"},endpoints:{header:"\u5229\u7528\u53EF\u80FD\u306AAPI\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhook",description:{overview:"Webhook\u306FTaskNotes\u30A4\u30D9\u30F3\u30C8\u304C\u767A\u751F\u3057\u305F\u3068\u304D\u306B\u5916\u90E8\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30A2\u30EB\u30BF\u30A4\u30E0\u901A\u77E5\u3092\u9001\u4FE1\u3057\u307E\u3059\u3002",usage:"\u81EA\u52D5\u5316\u30C4\u30FC\u30EB\u3001\u540C\u671F\u30B5\u30FC\u30D3\u30B9\u3001\u307E\u305F\u306F\u30AB\u30B9\u30BF\u30E0\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3068\u7D71\u5408\u3059\u308B\u305F\u3081\u306BWebhook\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},addWebhook:{name:"Webhook\u3092\u8FFD\u52A0",description:"\u65B0\u3057\u3044Webhook\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8\u3092\u767B\u9332",buttonText:"Webhook\u3092\u8FFD\u52A0"},emptyState:{message:"Webhook\u304C\u8A2D\u5B9A\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002Webhook\u3092\u8FFD\u52A0\u3057\u3066\u30EA\u30A2\u30EB\u30BF\u30A4\u30E0\u901A\u77E5\u3092\u53D7\u4FE1\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buttonText:"Webhook\u3092\u8FFD\u52A0"},labels:{active:"\u30A2\u30AF\u30C6\u30A3\u30D6\uFF1A",url:"URL\uFF1A",events:"\u30A4\u30D9\u30F3\u30C8\uFF1A",transform:"\u5909\u63DB\uFF1A"},placeholders:{url:"Webhook URL",noEventsSelected:"\u30A4\u30D9\u30F3\u30C8\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093",rawPayload:"Raw\u30DA\u30A4\u30ED\u30FC\u30C9\uFF08\u5909\u63DB\u306A\u3057\uFF09"},statusLabels:{active:"\u30A2\u30AF\u30C6\u30A3\u30D6",inactive:"\u975E\u30A2\u30AF\u30C6\u30A3\u30D6",created:"{timeAgo}\u306B\u4F5C\u6210"},actions:{editEvents:"\u30A4\u30D9\u30F3\u30C8\u3092\u7DE8\u96C6",delete:"\u524A\u9664"},editEvents:"\u30A4\u30D9\u30F3\u30C8\u3092\u7DE8\u96C6",notices:{urlUpdated:"Webhook URL\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",enabled:"Webhook\u304C\u6709\u52B9\u306B\u306A\u308A\u307E\u3057\u305F",disabled:"Webhook\u304C\u7121\u52B9\u306B\u306A\u308A\u307E\u3057\u305F",created:"Webhook\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",deleted:"Webhook\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F",updated:"Webhook\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F"},confirmDelete:{title:"Webhook\u3092\u524A\u9664",message:`\u3053\u306EWebhook\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F
|
||
|
||
URL\uFF1A{url}
|
||
|
||
\u3053\u306E\u64CD\u4F5C\u306F\u5143\u306B\u623B\u305B\u307E\u305B\u3093\u3002`,confirmText:"\u524A\u9664"},cardHeader:"Webhook",cardFields:{active:"\u30A2\u30AF\u30C6\u30A3\u30D6\uFF1A",url:"URL\uFF1A",events:"\u30A4\u30D9\u30F3\u30C8\uFF1A",transform:"\u5909\u63DB\uFF1A"},eventsDisplay:{noEvents:"\u30A4\u30D9\u30F3\u30C8\u304C\u9078\u629E\u3055\u308C\u3066\u3044\u307E\u305B\u3093"},transformDisplay:{noTransform:"Raw\u30DA\u30A4\u30ED\u30FC\u30C9\uFF08\u5909\u63DB\u306A\u3057\uFF09"},secretModal:{title:"Webhook\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u304C\u751F\u6210\u3055\u308C\u307E\u3057\u305F",description:"Webhook\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u304C\u751F\u6210\u3055\u308C\u307E\u3057\u305F\u3002\u518D\u5EA6\u8868\u793A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u3053\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\uFF1A",usage:"\u53D7\u4FE1\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3067Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u691C\u8A3C\u3059\u308B\u305F\u3081\u306B\u3053\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002",gotIt:"\u4E86\u89E3"},editModal:{title:"Webhook\u3092\u7DE8\u96C6",eventsHeader:"\u8CFC\u8AAD\u3059\u308B\u30A4\u30D9\u30F3\u30C8"},events:{taskCreated:{label:"\u30BF\u30B9\u30AF\u4F5C\u6210",description:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u304C\u4F5C\u6210\u3055\u308C\u305F\u3068\u304D"},taskUpdated:{label:"\u30BF\u30B9\u30AF\u66F4\u65B0",description:"\u30BF\u30B9\u30AF\u304C\u5909\u66F4\u3055\u308C\u305F\u3068\u304D"},taskCompleted:{label:"\u30BF\u30B9\u30AF\u5B8C\u4E86",description:"\u30BF\u30B9\u30AF\u304C\u5B8C\u4E86\u3068\u30DE\u30FC\u30AF\u3055\u308C\u305F\u3068\u304D"},taskDeleted:{label:"\u30BF\u30B9\u30AF\u524A\u9664",description:"\u30BF\u30B9\u30AF\u304C\u524A\u9664\u3055\u308C\u305F\u3068\u304D"},taskArchived:{label:"\u30BF\u30B9\u30AF\u30A2\u30FC\u30AB\u30A4\u30D6",description:"\u30BF\u30B9\u30AF\u304C\u30A2\u30FC\u30AB\u30A4\u30D6\u3055\u308C\u305F\u3068\u304D"},taskUnarchived:{label:"\u30BF\u30B9\u30AF\u30A2\u30FC\u30AB\u30A4\u30D6\u89E3\u9664",description:"\u30BF\u30B9\u30AF\u306E\u30A2\u30FC\u30AB\u30A4\u30D6\u304C\u89E3\u9664\u3055\u308C\u305F\u3068\u304D"},timeStarted:{label:"\u6642\u9593\u958B\u59CB",description:"\u6642\u9593\u8FFD\u8DE1\u304C\u958B\u59CB\u3055\u308C\u305F\u3068\u304D"},timeStopped:{label:"\u6642\u9593\u505C\u6B62",description:"\u6642\u9593\u8FFD\u8DE1\u304C\u505C\u6B62\u3055\u308C\u305F\u3068\u304D"},pomodoroStarted:{label:"\u30DD\u30E2\u30C9\u30FC\u30ED\u958B\u59CB",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u958B\u59CB\u3055\u308C\u305F\u3068\u304D"},pomodoroCompleted:{label:"\u30DD\u30E2\u30C9\u30FC\u30ED\u5B8C\u4E86",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u7D42\u4E86\u3057\u305F\u3068\u304D"},pomodoroInterrupted:{label:"\u30DD\u30E2\u30C9\u30FC\u30ED\u4E2D\u65AD",description:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u505C\u6B62\u3055\u308C\u305F\u3068\u304D"},recurringCompleted:{label:"\u7E70\u308A\u8FD4\u3057\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u5B8C\u4E86",description:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u304C\u5B8C\u4E86\u3057\u305F\u3068\u304D"},reminderTriggered:{label:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u8D77\u52D5",description:"\u30BF\u30B9\u30AF\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u304C\u30A2\u30AF\u30C6\u30A3\u30D6\u306B\u306A\u3063\u305F\u3068\u304D"}},modals:{secretGenerated:{title:"Webhook\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u304C\u751F\u6210\u3055\u308C\u307E\u3057\u305F",description:"Webhook\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u304C\u751F\u6210\u3055\u308C\u307E\u3057\u305F\u3002\u518D\u5EA6\u8868\u793A\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u3053\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u4FDD\u5B58\u3057\u3066\u304F\u3060\u3055\u3044\uFF1A",usage:"\u53D7\u4FE1\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u3067Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u691C\u8A3C\u3059\u308B\u305F\u3081\u306B\u3053\u306E\u30B7\u30FC\u30AF\u30EC\u30C3\u30C8\u3092\u4F7F\u7528\u3057\u3066\u304F\u3060\u3055\u3044\u3002",buttonText:"\u4E86\u89E3"},edit:{title:"Webhook\u3092\u7DE8\u96C6",eventsSection:"\u8CFC\u8AAD\u3059\u308B\u30A4\u30D9\u30F3\u30C8",transformSection:"\u5909\u63DB\u8A2D\u5B9A\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",headersSection:"\u30D8\u30C3\u30C0\u30FC\u8A2D\u5B9A",transformFile:{name:"\u5909\u63DB\u30D5\u30A1\u30A4\u30EB",description:"Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u5909\u63DB\u3059\u308B\u30DC\u30EB\u30C8\u5185\u306E.js\u307E\u305F\u306F.json\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9",placeholder:"discord-transform.js"},customHeaders:{name:"\u30AB\u30B9\u30BF\u30E0\u30D8\u30C3\u30C0\u30FC\u3092\u542B\u3081\u308B",description:"TaskNotes\u30D8\u30C3\u30C0\u30FC\uFF08\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30D7\u3001\u7F72\u540D\u3001\u914D\u4FE1ID\uFF09\u3092\u542B\u3081\u308B\u3002Discord\u3001Slack\u3001\u304A\u3088\u3073\u53B3\u683C\u306ACORS\u30DD\u30EA\u30B7\u30FC\u3092\u6301\u3064\u305D\u306E\u4ED6\u306E\u30B5\u30FC\u30D3\u30B9\u3067\u306F\u30AA\u30D5\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},buttons:{cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",save:"\u5909\u66F4\u3092\u4FDD\u5B58"},notices:{selectAtLeastOneEvent:"\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30A4\u30D9\u30F3\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}},add:{title:"Webhook\u3092\u8FFD\u52A0",eventsSection:"\u8CFC\u8AAD\u3059\u308B\u30A4\u30D9\u30F3\u30C8",transformSection:"\u5909\u63DB\u8A2D\u5B9A\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",headersSection:"\u30D8\u30C3\u30C0\u30FC\u8A2D\u5B9A",url:{name:"Webhook URL",description:"Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u308B\u30A8\u30F3\u30C9\u30DD\u30A4\u30F3\u30C8",placeholder:"https://your-service.com/webhook"},transformFile:{name:"\u5909\u63DB\u30D5\u30A1\u30A4\u30EB",description:"Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u5909\u63DB\u3059\u308B\u30DC\u30EB\u30C8\u5185\u306E.js\u307E\u305F\u306F.json\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9",placeholder:"discord-transform.js"},customHeaders:{name:"\u30AB\u30B9\u30BF\u30E0\u30D8\u30C3\u30C0\u30FC\u3092\u542B\u3081\u308B",description:"TaskNotes\u30D8\u30C3\u30C0\u30FC\uFF08\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30D7\u3001\u7F72\u540D\u3001\u914D\u4FE1ID\uFF09\u3092\u542B\u3081\u308B\u3002Discord\u3001Slack\u3001\u304A\u3088\u3073\u53B3\u683C\u306ACORS\u30DD\u30EA\u30B7\u30FC\u3092\u6301\u3064\u305D\u306E\u4ED6\u306E\u30B5\u30FC\u30D3\u30B9\u3067\u306F\u30AA\u30D5\u306B\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},transformHelp:{title:"\u5909\u63DB\u30D5\u30A1\u30A4\u30EB\u3092\u4F7F\u7528\u3057\u3066Webhook\u30DA\u30A4\u30ED\u30FC\u30C9\u3092\u30AB\u30B9\u30BF\u30DE\u30A4\u30BA\u3067\u304D\u307E\u3059\uFF1A",jsFiles:".js\u30D5\u30A1\u30A4\u30EB\uFF1A",jsDescription:" \u30AB\u30B9\u30BF\u30E0JavaScript\u5909\u63DB",jsonFiles:".json\u30D5\u30A1\u30A4\u30EB\uFF1A",jsonDescription:" \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3068 ",jsonVariable:"${data.task.title}",leaveEmpty:"\u7A7A\u767D\u306E\u307E\u307E\uFF1A",leaveEmptyDescription:" Raw\u30C7\u30FC\u30BF\u3092\u9001\u4FE1",example:"\u4F8B\uFF1A",exampleFile:"discord-transform.js"},buttons:{cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",add:"Webhook\u3092\u8FFD\u52A0"},notices:{urlRequired:"Webhook URL\u304C\u5FC5\u8981\u3067\u3059",selectAtLeastOneEvent:"\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30A4\u30D9\u30F3\u30C8\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044"}}}},otherIntegrations:{header:"\u305D\u306E\u4ED6\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u7D71\u5408",description:"\u4ED6\u306EObsidian\u30D7\u30E9\u30B0\u30A4\u30F3\u3068\u306E\u7D71\u5408\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002"},timeFormats:{justNow:"\u305F\u3063\u305F\u4ECA",minutesAgo:"{minutes}\u5206\u524D",hoursAgo:"{hours}\u6642\u9593\u524D",daysAgo:"{days}\u65E5\u524D"}}},notices:{languageChanged:"\u8A00\u8A9E\u3092{language}\u306B\u5909\u66F4\u3057\u307E\u3057\u305F\u3002",exportTasksFailed:"\u30BF\u30B9\u30AF\u306EICS\u30D5\u30A1\u30A4\u30EB\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F",icsNoteCreatedSuccess:"\u30CE\u30FC\u30C8\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",icsCreationModalOpenFailed:"\u4F5C\u6210\u30E2\u30FC\u30C0\u30EB\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",icsNoteLinkSuccess:'\u30CE\u30FC\u30C8"{fileName}"\u3092ICS\u30A4\u30D9\u30F3\u30C8\u306B\u30EA\u30F3\u30AF\u3057\u307E\u3057\u305F',icsTaskCreatedSuccess:"\u30BF\u30B9\u30AF\u304C\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F\uFF1A{title}",icsRelatedItemsRefreshed:"\u95A2\u9023\u30CE\u30FC\u30C8\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",icsFileNotFound:"\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u3089\u306A\u3044\u304B\u7121\u52B9\u3067\u3059",icsFileOpenFailed:"\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",timeblockAttachmentExists:'"{fileName}"\u306F\u65E2\u306B\u6DFB\u4ED8\u3055\u308C\u3066\u3044\u307E\u3059',timeblockAttachmentAdded:'"{fileName}"\u3092\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u8FFD\u52A0\u3057\u307E\u3057\u305F',timeblockAttachmentRemoved:'"{fileName}"\u3092\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u304B\u3089\u524A\u9664\u3057\u307E\u3057\u305F',timeblockFileTypeNotSupported:'"{fileName}"\u3092\u958B\u3051\u307E\u305B\u3093 - \u30D5\u30A1\u30A4\u30EB\u30BF\u30A4\u30D7\u304C\u30B5\u30DD\u30FC\u30C8\u3055\u308C\u3066\u3044\u307E\u305B\u3093',timeblockTitleRequired:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",timeblockUpdatedSuccess:'\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF"{title}"\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F',timeblockUpdateFailed:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u8A73\u7D30\u306F\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",timeblockDeletedSuccess:'\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF"{title}"\u304C\u6B63\u5E38\u306B\u524A\u9664\u3055\u308C\u307E\u3057\u305F',timeblockDeleteFailed:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u524A\u9664\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u8A73\u7D30\u306F\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",timeblockRequiredFieldsMissing:"\u3059\u3079\u3066\u306E\u5FC5\u9808\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",agendaLoadingFailed:"\u30A2\u30B8\u30A7\u30F3\u30C0\u306E\u8AAD\u307F\u8FBC\u307F\u30A8\u30E9\u30FC\u3002\u66F4\u65B0\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002",statsLoadingFailed:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u8A73\u7D30\u306E\u8AAD\u307F\u8FBC\u307F\u30A8\u30E9\u30FC\u3002"},commands:{openCalendarView:"\u30DF\u30CB\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3092\u958B\u304F",openAdvancedCalendarView:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D3\u30E5\u30FC\u3092\u958B\u304F",openTasksView:"\u30BF\u30B9\u30AF\u30D3\u30E5\u30FC\u3092\u958B\u304F",openNotesView:"\u30CE\u30FC\u30C8\u30D3\u30E5\u30FC\u3092\u958B\u304F",openAgendaView:"\u30A2\u30B8\u30A7\u30F3\u30C0\u30D3\u30E5\u30FC\u3092\u958B\u304F",openPomodoroView:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u3092\u958B\u304F",openKanbanView:"\u304B\u3093\u3070\u3093\u30DC\u30FC\u30C9\u3092\u958B\u304F",openPomodoroStats:"\u30DD\u30E2\u30C9\u30FC\u30ED\u7D71\u8A08\u3092\u958B\u304F",openStatisticsView:"\u30BF\u30B9\u30AF\u3068\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u7D71\u8A08\u3092\u958B\u304F",createNewTask:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",convertCurrentNoteToTask:{name:"\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u3092\u30BF\u30B9\u30AF\u306B\u5909\u63DB",noActiveFile:"\u5909\u63DB\u3059\u308B\u30A2\u30AF\u30C6\u30A3\u30D6\u306A\u30D5\u30A1\u30A4\u30EB\u304C\u3042\u308A\u307E\u305B\u3093",alreadyTask:"\u3053\u306E\u30CE\u30FC\u30C8\u306F\u3059\u3067\u306B\u30BF\u30B9\u30AF\u3067\u3059",success:"'{title}'\u3092\u30BF\u30B9\u30AF\u306B\u5909\u63DB\u3057\u307E\u3057\u305F"},convertToTaskNote:"\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u30BF\u30B9\u30AF\u3092TaskNote\u306B\u5909\u63DB",convertAllTasksInNote:"\u30CE\u30FC\u30C8\u5185\u306E\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3092\u5909\u63DB",insertTaskNoteLink:"taskNote\u30EA\u30F3\u30AF\u3092\u633F\u5165",createInlineTask:"\u65B0\u3057\u3044\u30A4\u30F3\u30E9\u30A4\u30F3\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",quickActionsCurrentTask:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u306E\u30AF\u30A4\u30C3\u30AF\u30A2\u30AF\u30B7\u30E7\u30F3",goToTodayNote:"\u4ECA\u65E5\u306E\u30CE\u30FC\u30C8\u306B\u79FB\u52D5",startPomodoro:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u3092\u958B\u59CB",stopPomodoro:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u3092\u505C\u6B62",pauseResumePomodoro:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BF\u30A4\u30DE\u30FC\u3092\u4E00\u6642\u505C\u6B62/\u518D\u958B",refreshCache:"\u30AD\u30E3\u30C3\u30B7\u30E5\u3092\u66F4\u65B0",exportAllTasksIcs:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u3092ICS\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8",viewReleaseNotes:"\u30EA\u30EA\u30FC\u30B9\u30CE\u30FC\u30C8\u3092\u8868\u793A",startTimeTrackingWithSelector:"\u6642\u9593\u8FFD\u8DE1\u3092\u958B\u59CB\uFF08\u30BF\u30B9\u30AF\u3092\u9078\u629E\uFF09",editTimeEntries:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u7DE8\u96C6\uFF08\u30BF\u30B9\u30AF\u3092\u9078\u629E\uFF09",createOrOpenTask:"\u30BF\u30B9\u30AF\u3092\u4F5C\u6210\u307E\u305F\u306F\u958B\u304F"},modals:{deviceCode:{title:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u8A8D\u8A3C",instructions:{intro:"Google\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u63A5\u7D9A\u3059\u308B\u306B\u306F\u3001\u4EE5\u4E0B\u306E\u624B\u9806\u306B\u5F93\u3063\u3066\u304F\u3060\u3055\u3044\uFF1A"},steps:{open:"\u958B\u304F",inBrowser:"\u30D6\u30E9\u30A6\u30B6\u3067",enterCode:"\u30D7\u30ED\u30F3\u30D7\u30C8\u304C\u8868\u793A\u3055\u308C\u305F\u3089\u3001\u3053\u306E\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\uFF1A",signIn:"Google\u30A2\u30AB\u30A6\u30F3\u30C8\u3067\u30B5\u30A4\u30F3\u30A4\u30F3\u3057\u3066\u30A2\u30AF\u30BB\u30B9\u3092\u8A31\u53EF",returnToObsidian:"Obsidian\u306B\u623B\u308B\uFF08\u3053\u306E\u30A6\u30A3\u30F3\u30C9\u30A6\u306F\u81EA\u52D5\u7684\u306B\u9589\u3058\u307E\u3059\uFF09"},codeLabel:"\u3042\u306A\u305F\u306E\u30B3\u30FC\u30C9\uFF1A",copyCodeAriaLabel:"\u30B3\u30FC\u30C9\u3092\u30B3\u30D4\u30FC",waitingForAuthorization:"\u8A8D\u8A3C\u3092\u5F85\u6A5F\u4E2D...",openBrowserButton:"\u30D6\u30E9\u30A6\u30B6\u3092\u958B\u304F",cancelButton:"\u30AD\u30E3\u30F3\u30BB\u30EB",expiresMinutesSeconds:"\u30B3\u30FC\u30C9\u306F{minutes}\u5206{seconds}\u79D2\u3067\u671F\u9650\u5207\u308C",expiresSeconds:"\u30B3\u30FC\u30C9\u306F{seconds}\u79D2\u3067\u671F\u9650\u5207\u308C"},icsEventInfo:{calendarEventHeading:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8",titleLabel:"\u30BF\u30A4\u30C8\u30EB",calendarLabel:"\u30AB\u30EC\u30F3\u30C0\u30FC",dateTimeLabel:"\u65E5\u6642",locationLabel:"\u5834\u6240",descriptionLabel:"\u8AAC\u660E",urlLabel:"URL",relatedNotesHeading:"\u95A2\u9023\u30CE\u30FC\u30C8\u3068\u30BF\u30B9\u30AF",noRelatedItems:"\u3053\u306E\u30A4\u30D9\u30F3\u30C8\u306B\u95A2\u9023\u3059\u308B\u30CE\u30FC\u30C8\u307E\u305F\u306F\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",typeTask:"\u30BF\u30B9\u30AF",typeNote:"\u30CE\u30FC\u30C8",actionsHeading:"\u30A2\u30AF\u30B7\u30E7\u30F3",createFromEventLabel:"\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210",createFromEventDesc:"\u3053\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u65B0\u3057\u3044\u30CE\u30FC\u30C8\u307E\u305F\u306F\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",linkExistingLabel:"\u65E2\u5B58\u3092\u30EA\u30F3\u30AF",linkExistingDesc:"\u65E2\u5B58\u306E\u30CE\u30FC\u30C8\u3092\u3053\u306E\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8\u306B\u30EA\u30F3\u30AF"},timeblockInfo:{editHeading:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u7DE8\u96C6",dateTimeLabel:"\u65E5\u6642\uFF1A",titleLabel:"\u30BF\u30A4\u30C8\u30EB",titleDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30BF\u30A4\u30C8\u30EB",titlePlaceholder:"\u4F8B\uFF1A\u96C6\u4E2D\u4F5C\u696D\u30BB\u30C3\u30B7\u30E7\u30F3",descriptionLabel:"\u8AAC\u660E",descriptionDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u8AAC\u660E",descriptionPlaceholder:"\u65B0\u6A5F\u80FD\u306B\u96C6\u4E2D\u3001\u4E2D\u65AD\u306A\u3057",colorLabel:"\u8272",colorDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u8272",colorPlaceholder:"#3b82f6",attachmentsLabel:"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB",attachmentsDesc:"\u3053\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u30CE\u30FC\u30C8",addAttachmentButton:"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0",addAttachmentTooltip:"\u30D5\u30A1\u30B8\u30FC\u691C\u7D22\u3092\u4F7F\u7528\u3057\u3066\u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u30CE\u30FC\u30C8\u3092\u9078\u629E",deleteButton:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u524A\u9664",saveButton:"\u5909\u66F4\u3092\u4FDD\u5B58",deleteConfirmationTitle:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u524A\u9664"},timeblockCreation:{heading:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u4F5C\u6210",dateLabel:"\u65E5\u4ED8\uFF1A",titleLabel:"\u30BF\u30A4\u30C8\u30EB",titleDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30BF\u30A4\u30C8\u30EB",titlePlaceholder:"\u4F8B\uFF1A\u96C6\u4E2D\u4F5C\u696D\u30BB\u30C3\u30B7\u30E7\u30F3",startTimeLabel:"\u958B\u59CB\u6642\u523B",startTimeDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u304C\u958B\u59CB\u3055\u308C\u308B\u6642\u523B",startTimePlaceholder:"09:00",endTimeLabel:"\u7D42\u4E86\u6642\u523B",endTimeDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u304C\u7D42\u4E86\u3059\u308B\u6642\u523B",endTimePlaceholder:"11:00",descriptionLabel:"\u8AAC\u660E",descriptionDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u8AAC\u660E",descriptionPlaceholder:"\u65B0\u6A5F\u80FD\u306B\u96C6\u4E2D\u3001\u4E2D\u65AD\u306A\u3057",colorLabel:"\u8272",colorDesc:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u8272",colorPlaceholder:"#3b82f6",attachmentsLabel:"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB",attachmentsDesc:"\u3053\u306E\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u306B\u30EA\u30F3\u30AF\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u30CE\u30FC\u30C8",addAttachmentButton:"\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u3092\u8FFD\u52A0",addAttachmentTooltip:"\u30D5\u30A1\u30B8\u30FC\u691C\u7D22\u3092\u4F7F\u7528\u3057\u3066\u30D5\u30A1\u30A4\u30EB\u307E\u305F\u306F\u30CE\u30FC\u30C8\u3092\u9078\u629E",createButton:"\u30BF\u30A4\u30E0\u30D6\u30ED\u30C3\u30AF\u3092\u4F5C\u6210"},icsNoteCreation:{heading:"ICS\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u4F5C\u6210",titleLabel:"\u30BF\u30A4\u30C8\u30EB",titleDesc:"\u65B0\u3057\u3044\u30B3\u30F3\u30C6\u30F3\u30C4\u306E\u30BF\u30A4\u30C8\u30EB",folderLabel:"\u30D5\u30A9\u30EB\u30C0\u30FC",folderDesc:"\u4FDD\u5B58\u5148\u30D5\u30A9\u30EB\u30C0\u30FC\uFF08\u30DC\u30EB\u30C8\u30EB\u30FC\u30C8\u306E\u5834\u5408\u306F\u7A7A\u306E\u307E\u307E\u306B\u3059\u308B\uFF09",folderPlaceholder:"\u30D5\u30A9\u30EB\u30C0\u30FC/\u30B5\u30D6\u30D5\u30A9\u30EB\u30C0\u30FC",createButton:"\u4F5C\u6210",startLabel:"\u958B\u59CB\uFF1A",endLabel:"\u7D42\u4E86\uFF1A",locationLabel:"\u5834\u6240\uFF1A",calendarLabel:"\u30AB\u30EC\u30F3\u30C0\u30FC\uFF1A",useTemplateLabel:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u4F7F\u7528",useTemplateDesc:"\u30B3\u30F3\u30C6\u30F3\u30C4\u4F5C\u6210\u6642\u306B\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u9069\u7528",templatePathLabel:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D1\u30B9",templatePathDesc:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30D5\u30A1\u30A4\u30EB\u3078\u306E\u30D1\u30B9",templatePathPlaceholder:"templates/ics-note-template.md"},unscheduledTasksSelector:{title:"\u4E88\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u30BF\u30B9\u30AF",placeholder:"\u4E88\u5B9A\u3055\u308C\u3066\u3044\u306A\u3044\u30BF\u30B9\u30AF\u3092\u691C\u7D22...",instructions:{navigate:"\u79FB\u52D5",schedule:"\u4E88\u5B9A\u3092\u8A2D\u5B9A",dismiss:"\u9589\u3058\u308B"}},migration:{title:"\u65B0\u3057\u3044\u7E70\u308A\u8FD4\u3057\u30B7\u30B9\u30C6\u30E0\u306B\u79FB\u884C",description:"TaskNotes\u306F\u7E70\u308A\u8FD4\u3057\u306B\u696D\u754C\u6A19\u6E96\u306ERRULE\u30D1\u30BF\u30FC\u30F3\u3092\u4F7F\u7528\u3059\u308B\u3088\u3046\u306B\u306A\u308A\u3001\u3088\u308A\u8907\u96D1\u306A\u30B9\u30B1\u30B8\u30E5\u30FC\u30EB\u3068\u4ED6\u306E\u30A2\u30D7\u30EA\u3068\u306E\u4E92\u63DB\u6027\u304C\u5411\u4E0A\u3057\u307E\u3057\u305F\u3002",tasksFound:"{count}\u4EF6\u306E\u53E4\u3044\u7E70\u308A\u8FD4\u3057\u30D1\u30BF\u30FC\u30F3\u3092\u6301\u3064\u30BF\u30B9\u30AF\u304C\u691C\u51FA\u3055\u308C\u307E\u3057\u305F",noMigrationNeeded:"\u79FB\u884C\u304C\u5FC5\u8981\u306A\u30BF\u30B9\u30AF\u306F\u3042\u308A\u307E\u305B\u3093",warnings:{title:"\u7D9A\u884C\u3059\u308B\u524D\u306B\uFF1A",backup:"\u79FB\u884C\u524D\u306B\u30DC\u30EB\u30C8\u3092\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3057\u3066\u304F\u3060\u3055\u3044",conversion:"\u53E4\u3044\u7E70\u308A\u8FD4\u3057\u30D1\u30BF\u30FC\u30F3\u306F\u65B0\u3057\u3044\u5F62\u5F0F\u306B\u5909\u63DB\u3055\u308C\u307E\u3059",normalUsage:"\u79FB\u884C\u4E2D\u3082\u901A\u5E38\u901A\u308ATaskNotes\u3092\u4F7F\u7528\u3067\u304D\u307E\u3059",permanent:"\u3053\u306E\u5909\u66F4\u306F\u6C38\u7D9A\u7684\u3067\u3001\u81EA\u52D5\u7684\u306B\u5143\u306B\u623B\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093"},benefits:{title:"\u65B0\u30B7\u30B9\u30C6\u30E0\u306E\u5229\u70B9\uFF1A",powerfulPatterns:"\u8907\u96D1\u306A\u7E70\u308A\u8FD4\u3057\u30D1\u30BF\u30FC\u30F3\uFF08\u4F8B\uFF1A\u300C\u6BCE\u6708\u7B2C2\u706B\u66DC\u65E5\u300D\uFF09",performance:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u306E\u30D1\u30D5\u30A9\u30FC\u30DE\u30F3\u30B9\u304C\u5411\u4E0A",compatibility:"\u4ED6\u306E\u30A2\u30D7\u30EA\u3068\u4E92\u63DB\u6027\u306E\u3042\u308B\u6A19\u6E96\u7E70\u308A\u8FD4\u3057\u5F62\u5F0F",nlp:"\u81EA\u7136\u8A00\u8A9E\u51E6\u7406\u306E\u30B5\u30DD\u30FC\u30C8\u5F37\u5316"},progress:{title:"\u79FB\u884C\u9032\u6357",preparing:"\u79FB\u884C\u3092\u6E96\u5099\u4E2D...",completed:"\u79FB\u884C\u304C\u6B63\u5E38\u306B\u5B8C\u4E86\u3057\u307E\u3057\u305F",failed:"\u79FB\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},buttons:{migrate:"\u79FB\u884C\u3092\u958B\u59CB",completed:"\u9589\u3058\u308B"},errors:{title:"\u79FB\u884C\u4E2D\u306E\u30A8\u30E9\u30FC\uFF1A"},notices:{completedWithErrors:"\u79FB\u884C\u306F\u4E00\u90E8\u30A8\u30E9\u30FC\u3067\u5B8C\u4E86\u3057\u307E\u3057\u305F\u3002\u4E0A\u8A18\u306E\u30A8\u30E9\u30FC\u30EA\u30B9\u30C8\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",success:"\u3059\u3079\u3066\u306E\u30BF\u30B9\u30AF\u304C\u6B63\u5E38\u306B\u79FB\u884C\u3055\u308C\u307E\u3057\u305F\uFF01",failed:"\u79FB\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u8A73\u7D30\u306F\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},prompt:{message:"TaskNotes\u306F\u53E4\u3044\u7E70\u308A\u8FD4\u3057\u5F62\u5F0F\u3092\u4F7F\u7528\u3057\u3066\u3044\u308B\u30BF\u30B9\u30AF\u3092\u691C\u51FA\u3057\u307E\u3057\u305F\u3002\u4ECA\u3059\u3050\u65B0\u3057\u3044\u30B7\u30B9\u30C6\u30E0\u306B\u79FB\u884C\u3057\u307E\u3059\u304B\uFF1F",migrateNow:"\u4ECA\u3059\u3050\u79FB\u884C",remindLater:"\u5F8C\u3067\u901A\u77E5"}},task:{titlePlaceholder:"\u4F55\u3092\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u304B\uFF1F",titleLabel:"\u30BF\u30A4\u30C8\u30EB",titleDetailedPlaceholder:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB...",detailsLabel:"\u8A73\u7D30",detailsPlaceholder:"\u8A73\u7D30\u3092\u8FFD\u52A0...",projectsLabel:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",projectsAdd:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u8FFD\u52A0",projectsTooltip:"\u30D5\u30A1\u30B8\u30FC\u691C\u7D22\u3092\u4F7F\u7528\u3057\u3066\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30CE\u30FC\u30C8\u3092\u9078\u629E",projectsRemoveTooltip:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u3092\u524A\u9664",contextsLabel:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",contextsPlaceholder:"context1, context2",tagsLabel:"\u30BF\u30B0",tagsPlaceholder:"tag1, tag2",timeEstimateLabel:"\u6642\u9593\u898B\u7A4D\u3082\u308A\uFF08\u5206\uFF09",timeEstimatePlaceholder:"30",unsavedChanges:{title:"\u672A\u4FDD\u5B58\u306E\u5909\u66F4",message:"\u672A\u4FDD\u5B58\u306E\u5909\u66F4\u304C\u3042\u308A\u307E\u3059\u3002\u4FDD\u5B58\u3057\u307E\u3059\u304B\uFF1F",save:"\u5909\u66F4\u3092\u4FDD\u5B58",discard:"\u5909\u66F4\u3092\u7834\u68C4",cancel:"\u7DE8\u96C6\u3092\u7D9A\u3051\u308B"},dependencies:{blockedBy:"\u30D6\u30ED\u30C3\u30AF\u5143",blocking:"\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B",placeholder:"[[\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8]]",addTaskButton:"\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0",selectTaskTooltip:"\u30D5\u30A1\u30B8\u30FC\u691C\u7D22\u3092\u4F7F\u7528\u3057\u3066\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8\u3092\u9078\u629E",removeTaskTooltip:"\u30BF\u30B9\u30AF\u3092\u524A\u9664"},organization:{projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",subtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF",addToProject:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u8FFD\u52A0",addToProjectButton:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u8FFD\u52A0",addSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0",addSubtasksButton:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0",addSubtasksTooltip:"\u3053\u306E\u30BF\u30B9\u30AF\u306E\u30B5\u30D6\u30BF\u30B9\u30AF\u306B\u3059\u308B\u30BF\u30B9\u30AF\u3092\u9078\u629E",removeSubtaskTooltip:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u524A\u9664",notices:{noEligibleSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3068\u3057\u3066\u5272\u308A\u5F53\u3066\u53EF\u80FD\u306A\u30BF\u30B9\u30AF\u304C\u3042\u308A\u307E\u305B\u3093",subtaskSelectFailed:"\u30B5\u30D6\u30BF\u30B9\u30AF\u30BB\u30EC\u30AF\u30BF\u30FC\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F"}},customFieldsLabel:"\u30AB\u30B9\u30BF\u30E0\u30D5\u30A3\u30FC\u30EB\u30C9",actions:{due:"\u671F\u9650\u65E5\u3092\u8A2D\u5B9A",scheduled:"\u4E88\u5B9A\u65E5\u3092\u8A2D\u5B9A",status:"\u30B9\u30C6\u30FC\u30BF\u30B9\u3092\u8A2D\u5B9A",priority:"\u512A\u5148\u5EA6\u3092\u8A2D\u5B9A",recurrence:"\u7E70\u308A\u8FD4\u3057\u3092\u8A2D\u5B9A",reminders:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u8A2D\u5B9A"},buttons:{openNote:"\u30CE\u30FC\u30C8\u3092\u958B\u304F",save:"\u4FDD\u5B58"},tooltips:{dueValue:"\u671F\u9650\uFF1A{value}",scheduledValue:"\u4E88\u5B9A\uFF1A{value}",statusValue:"\u30B9\u30C6\u30FC\u30BF\u30B9\uFF1A{value}",priorityValue:"\u512A\u5148\u5EA6\uFF1A{value}",recurrenceValue:"\u7E70\u308A\u8FD4\u3057\uFF1A{value}",remindersSingle:"1\u4EF6\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u307E\u3057\u305F",remindersPlural:"{count}\u4EF6\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u304C\u8A2D\u5B9A\u3055\u308C\u307E\u3057\u305F"},dateMenu:{dueTitle:"\u671F\u9650\u65E5\u3092\u8A2D\u5B9A",scheduledTitle:"\u4E88\u5B9A\u65E5\u3092\u8A2D\u5B9A"},userFields:{textPlaceholder:"{field}\u3092\u5165\u529B...",numberPlaceholder:"0",datePlaceholder:"YYYY-MM-DD",listPlaceholder:"item1, item2, item3",pickDate:"{field}\u65E5\u4ED8\u3092\u9078\u629E"},recurrence:{daily:"\u6BCE\u65E5",weekly:"\u6BCE\u9031",everyTwoWeeks:"2\u9031\u9593\u3054\u3068",weekdays:"\u5E73\u65E5",weeklyOn:"\u6BCE\u9031{days}\u66DC\u65E5",monthly:"\u6BCE\u6708",everyThreeMonths:"3\u304B\u6708\u3054\u3068",monthlyOnOrdinal:"\u6BCE\u6708{ordinal}",monthlyByWeekday:"\u6BCE\u6708\uFF08\u66DC\u65E5\u306B\u3088\u308B\uFF09",yearly:"\u6BCE\u5E74",yearlyOn:"\u6BCE\u5E74{month}{day}",custom:"\u30AB\u30B9\u30BF\u30E0",countSuffix:"{count}\u56DE",untilSuffix:"{date}\u307E\u3067",ordinal:"{number}{suffix}"}},taskSelector:{title:"\u30BF\u30B9\u30AF\u3092\u9078\u629E",placeholder:"\u30BF\u30B9\u30AF\u3092\u691C\u7D22...",instructions:{navigate:"\u79FB\u52D5",select:"\u9078\u629E",dismiss:"\u30AD\u30E3\u30F3\u30BB\u30EB"},notices:{noteNotFound:'\u30CE\u30FC\u30C8"{name}"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F'},dueDate:{overdue:"\u671F\u9650\uFF1A{date}\uFF08\u671F\u9650\u5207\u308C\uFF09",today:"\u671F\u9650\uFF1A\u4ECA\u65E5"}},taskSelectorWithCreate:{title:"\u30BF\u30B9\u30AF\u3092\u4F5C\u6210\u307E\u305F\u306F\u958B\u304F",placeholder:"\u30BF\u30B9\u30AF\u3092\u691C\u7D22\u307E\u305F\u306F\u5165\u529B\u3057\u3066\u65B0\u898F\u4F5C\u6210...",instructions:{create:"\u3067\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u3092\u4F5C\u6210"},footer:{createLabel:" \u3067\u4F5C\u6210: "},notices:{emptyQuery:"\u30BF\u30B9\u30AF\u306E\u8AAC\u660E\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",invalidTitle:"\u6709\u52B9\u306A\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u8A8D\u8B58\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F"}},taskCreation:{title:"\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",actions:{fillFromNaturalLanguage:"\u81EA\u7136\u8A00\u8A9E\u304B\u3089\u30D5\u30A9\u30FC\u30E0\u3092\u57CB\u3081\u308B",hideDetailedOptions:"\u8A73\u7D30\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u975E\u8868\u793A",showDetailedOptions:"\u8A73\u7D30\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u8868\u793A"},nlPlaceholder:"\u660E\u65E5\u5348\u5F8C3\u6642\u306B\u98DF\u6599\u54C1\u3092\u8CB7\u3046 @\u5BB6 #\u7528\u4E8B",notices:{titleRequired:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",success:'\u30BF\u30B9\u30AF"{title}"\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F',successShortened:'\u30BF\u30B9\u30AF"{title}"\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F\uFF08\u9577\u3055\u306E\u305F\u3081\u30D5\u30A1\u30A4\u30EB\u540D\u304C\u77ED\u7E2E\u3055\u308C\u307E\u3057\u305F\uFF09',failure:"\u30BF\u30B9\u30AF\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",blockingUnresolved:"\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF1A{entries}"}},taskEdit:{title:"\u30BF\u30B9\u30AF\u3092\u7DE8\u96C6",sections:{completions:"\u5B8C\u4E86",taskInfo:"\u30BF\u30B9\u30AF\u60C5\u5831"},metadata:{totalTrackedTime:"\u7DCF\u8FFD\u8DE1\u6642\u9593\uFF1A",created:"\u4F5C\u6210\uFF1A",modified:"\u5909\u66F4\uFF1A",file:"\u30D5\u30A1\u30A4\u30EB\uFF1A"},buttons:{archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",unarchive:"\u30A2\u30FC\u30AB\u30A4\u30D6\u89E3\u9664"},notices:{titleRequired:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",noChanges:"\u4FDD\u5B58\u3059\u308B\u5909\u66F4\u304C\u3042\u308A\u307E\u305B\u3093",updateSuccess:'\u30BF\u30B9\u30AF"{title}"\u304C\u6B63\u5E38\u306B\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F',updateFailure:"\u30BF\u30B9\u30AF\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",dependenciesUpdateSuccess:"\u4F9D\u5B58\u95A2\u4FC2\u304C\u66F4\u65B0\u3055\u308C\u307E\u3057\u305F",blockingUnresolved:"\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF1A{entries}",fileMissing:"\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F\uFF1A{path}",openNoteFailure:"\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",archiveSuccess:"\u30BF\u30B9\u30AF\u304C\u6B63\u5E38\u306B{action}\u3055\u308C\u307E\u3057\u305F",archiveFailure:"\u30BF\u30B9\u30AF\u306E\u30A2\u30FC\u30AB\u30A4\u30D6\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},archiveAction:{archived:"\u30A2\u30FC\u30AB\u30A4\u30D6",unarchived:"\u30A2\u30FC\u30AB\u30A4\u30D6\u89E3\u9664"}},storageLocation:{title:{migrate:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30C7\u30FC\u30BF\u3092\u79FB\u884C\u3057\u307E\u3059\u304B\uFF1F",switch:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u30B9\u30C8\u30EC\u30FC\u30B8\u306B\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F"},message:{migrate:"\u3053\u308C\u306B\u3088\u308A\u3001\u65E2\u5B58\u306E\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u30C7\u30FC\u30BF\u304C\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306E\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306B\u79FB\u884C\u3055\u308C\u307E\u3059\u3002\u30C7\u30FC\u30BF\u306F\u65E5\u4ED8\u3067\u30B0\u30EB\u30FC\u30D7\u5316\u3055\u308C\u3001\u5404\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002",switch:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u30C7\u30FC\u30BF\u306F\u3001\u30D7\u30E9\u30B0\u30A4\u30F3\u30C7\u30FC\u30BF\u30D5\u30A1\u30A4\u30EB\u3067\u306F\u306A\u304F\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306E\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059\u3002"},whatThisMeans:"\u3053\u308C\u304C\u610F\u5473\u3059\u308B\u3053\u3068\uFF1A",bullets:{dailyNotesRequired:"Daily Notes\u30B3\u30A2\u30D7\u30E9\u30B0\u30A4\u30F3\u306F\u6709\u52B9\u306E\u307E\u307E\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059",storedInNotes:"\u30C7\u30FC\u30BF\u306F\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306E\u30D5\u30ED\u30F3\u30C8\u30DE\u30BF\u30FC\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059",migrateData:"\u65E2\u5B58\u306E\u30D7\u30E9\u30B0\u30A4\u30F3\u30C7\u30FC\u30BF\u306F\u79FB\u884C\u3055\u308C\u3001\u305D\u306E\u5F8C\u30AF\u30EA\u30A2\u3055\u308C\u307E\u3059",futureSessions:"\u4ECA\u5F8C\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u306F\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u4FDD\u5B58\u3055\u308C\u307E\u3059",dataLongevity:"\u3053\u308C\u306B\u3088\u308A\u30CE\u30FC\u30C8\u3068\u306E\u30C7\u30FC\u30BF\u306E\u6C38\u7D9A\u6027\u304C\u5411\u4E0A\u3057\u307E\u3059"},finalNote:{migrate:"\u26A0\uFE0F \u5FC5\u8981\u306B\u5FDC\u3058\u3066\u30D0\u30C3\u30AF\u30A2\u30C3\u30D7\u3092\u53D6\u3063\u3066\u304F\u3060\u3055\u3044\u3002\u3053\u306E\u5909\u66F4\u306F\u81EA\u52D5\u7684\u306B\u5143\u306B\u623B\u3059\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093\u3002",switch:"\u5C06\u6765\u3044\u3064\u3067\u3082\u30D7\u30E9\u30B0\u30A4\u30F3\u30B9\u30C8\u30EC\u30FC\u30B8\u306B\u623B\u3059\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002"},buttons:{migrate:"\u30C7\u30FC\u30BF\u3092\u79FB\u884C",switch:"\u30B9\u30C8\u30EC\u30FC\u30B8\u3092\u5207\u308A\u66FF\u3048"}},dueDate:{title:"\u671F\u9650\u65E5\u3092\u8A2D\u5B9A",taskLabel:"\u30BF\u30B9\u30AF\uFF1A{title}",sections:{dateTime:"\u671F\u9650\u65E5\u3068\u6642\u9593",quickOptions:"\u30AF\u30A4\u30C3\u30AF\u30AA\u30D7\u30B7\u30E7\u30F3"},descriptions:{dateTime:"\u3053\u306E\u30BF\u30B9\u30AF\u3092\u3044\u3064\u5B8C\u4E86\u3059\u3079\u304D\u304B\u3092\u8A2D\u5B9A"},inputs:{date:{ariaLabel:"\u30BF\u30B9\u30AF\u306E\u671F\u9650\u65E5",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"\u30BF\u30B9\u30AF\u306E\u671F\u9650\u6642\u9593\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",placeholder:"HH:MM"}},quickOptions:{today:"\u4ECA\u65E5",todayAriaLabel:"\u671F\u9650\u65E5\u3092\u4ECA\u65E5\u306B\u8A2D\u5B9A",tomorrow:"\u660E\u65E5",tomorrowAriaLabel:"\u671F\u9650\u65E5\u3092\u660E\u65E5\u306B\u8A2D\u5B9A",nextWeek:"\u6765\u9031",nextWeekAriaLabel:"\u671F\u9650\u65E5\u3092\u6765\u9031\u306B\u8A2D\u5B9A",now:"\u4ECA",nowAriaLabel:"\u671F\u9650\u65E5\u3068\u6642\u9593\u3092\u4ECA\u306B\u8A2D\u5B9A",clear:"\u30AF\u30EA\u30A2",clearAriaLabel:"\u671F\u9650\u65E5\u3092\u30AF\u30EA\u30A2"},errors:{invalidDateTime:"\u6709\u52B9\u306A\u65E5\u4ED8\u3068\u6642\u9593\u306E\u5F62\u5F0F\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",updateFailed:"\u671F\u9650\u65E5\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},scheduledDate:{title:"\u4E88\u5B9A\u65E5\u3092\u8A2D\u5B9A",taskLabel:"\u30BF\u30B9\u30AF\uFF1A{title}",sections:{dateTime:"\u4E88\u5B9A\u65E5\u3068\u6642\u9593",quickOptions:"\u30AF\u30A4\u30C3\u30AF\u30AA\u30D7\u30B7\u30E7\u30F3"},descriptions:{dateTime:"\u3053\u306E\u30BF\u30B9\u30AF\u306B\u53D6\u308A\u7D44\u3080\u4E88\u5B9A\u3092\u8A2D\u5B9A"},inputs:{date:{ariaLabel:"\u30BF\u30B9\u30AF\u306E\u4E88\u5B9A\u65E5",placeholder:"YYYY-MM-DD"},time:{ariaLabel:"\u30BF\u30B9\u30AF\u306E\u4E88\u5B9A\u6642\u9593\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",placeholder:"HH:MM"}},quickOptions:{today:"\u4ECA\u65E5",todayAriaLabel:"\u4E88\u5B9A\u65E5\u3092\u4ECA\u65E5\u306B\u8A2D\u5B9A",tomorrow:"\u660E\u65E5",tomorrowAriaLabel:"\u4E88\u5B9A\u65E5\u3092\u660E\u65E5\u306B\u8A2D\u5B9A",nextWeek:"\u6765\u9031",nextWeekAriaLabel:"\u4E88\u5B9A\u65E5\u3092\u6765\u9031\u306B\u8A2D\u5B9A",now:"\u4ECA",nowAriaLabel:"\u4E88\u5B9A\u65E5\u3068\u6642\u9593\u3092\u4ECA\u306B\u8A2D\u5B9A",clear:"\u30AF\u30EA\u30A2",clearAriaLabel:"\u4E88\u5B9A\u65E5\u3092\u30AF\u30EA\u30A2"},errors:{invalidDateTime:"\u6709\u52B9\u306A\u65E5\u4ED8\u3068\u6642\u9593\u306E\u5F62\u5F0F\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",updateFailed:"\u4E88\u5B9A\u65E5\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},timeEntryEditor:{title:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA - {taskTitle}",addEntry:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u8FFD\u52A0",noEntries:"\u307E\u3060\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u304C\u3042\u308A\u307E\u305B\u3093",deleteEntry:"\u30A8\u30F3\u30C8\u30EA\u3092\u524A\u9664",startTime:"\u958B\u59CB\u6642\u523B",endTime:"\u7D42\u4E86\u6642\u523B\uFF08\u5B9F\u884C\u4E2D\u306E\u5834\u5408\u306F\u7A7A\u767D\u306E\u307E\u307E\uFF09",duration:"\u6642\u9593\uFF08\u5206\uFF09",durationDesc:"\u8A08\u7B97\u3055\u308C\u305F\u6642\u9593\u3092\u4E0A\u66F8\u304D",durationPlaceholder:"\u6642\u9593\u3092\u5206\u5358\u4F4D\u3067\u5165\u529B",description:"\u8AAC\u660E",descriptionPlaceholder:"\u4F55\u306B\u53D6\u308A\u7D44\u307F\u307E\u3057\u305F\u304B\uFF1F",calculatedDuration:"\u8A08\u7B97\uFF1A{minutes}\u5206",totalTime:"\u5408\u8A08{hours}\u6642\u9593{minutes}\u5206",totalMinutes:"\u5408\u8A08{minutes}\u5206",saved:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u304C\u4FDD\u5B58\u3055\u308C\u307E\u3057\u305F",saveFailed:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u306E\u4FDD\u5B58\u306B\u5931\u6557\u3057\u307E\u3057\u305F",openFailed:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u30A8\u30C7\u30A3\u30BF\u30FC\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",noTasksWithEntries:"\u7DE8\u96C6\u3059\u308B\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u6301\u3064\u30BF\u30B9\u30AF\u304C\u3042\u308A\u307E\u305B\u3093",validation:{missingStartTime:"\u958B\u59CB\u6642\u523B\u306F\u5FC5\u9808\u3067\u3059",endBeforeStart:"\u7D42\u4E86\u6642\u523B\u306F\u958B\u59CB\u6642\u523B\u3088\u308A\u5F8C\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059"}},timeTracking:{noTasksAvailable:"\u6642\u9593\u3092\u8FFD\u8DE1\u3067\u304D\u308B\u30BF\u30B9\u30AF\u304C\u3042\u308A\u307E\u305B\u3093",started:"\u6642\u9593\u8FFD\u8DE1\u3092\u958B\u59CB\u3057\u307E\u3057\u305F\uFF1A{taskTitle}",startFailed:"\u6642\u9593\u8FFD\u8DE1\u306E\u958B\u59CB\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},timeEntry:{mustHaveSpecificTime:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u306B\u306F\u5177\u4F53\u7684\u306A\u6642\u9593\u304C\u5FC5\u8981\u3067\u3059\u3002\u9031\u8868\u793A\u307E\u305F\u306F\u65E5\u8868\u793A\u3067\u6642\u9593\u7BC4\u56F2\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044\u3002",noTasksAvailable:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u4F5C\u6210\u3067\u304D\u308B\u30BF\u30B9\u30AF\u304C\u3042\u308A\u307E\u305B\u3093",created:"{taskTitle}\u306E\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F\uFF08{duration}\u5206\uFF09",createFailed:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u306E\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F"}},contextMenus:{task:{status:"\u30B9\u30C6\u30FC\u30BF\u30B9",statusSelected:"\u2713 {label}",priority:"\u512A\u5148\u5EA6",prioritySelected:"\u2713 {label}",dueDate:"\u671F\u9650\u65E5",scheduledDate:"\u4E88\u5B9A\u65E5",reminders:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC",remindBeforeDue:"\u671F\u9650\u524D\u306B\u30EA\u30DE\u30A4\u30F3\u30C9\u2026",remindBeforeScheduled:"\u4E88\u5B9A\u524D\u306B\u30EA\u30DE\u30A4\u30F3\u30C9\u2026",manageReminders:"\u3059\u3079\u3066\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u7BA1\u7406\u2026",clearReminders:"\u3059\u3079\u3066\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u30AF\u30EA\u30A2",startTimeTracking:"\u6642\u9593\u8FFD\u8DE1\u3092\u958B\u59CB",stopTimeTracking:"\u6642\u9593\u8FFD\u8DE1\u3092\u505C\u6B62",editTimeEntries:"\u6642\u9593\u30A8\u30F3\u30C8\u30EA\u3092\u7DE8\u96C6",archive:"\u30A2\u30FC\u30AB\u30A4\u30D6",unarchive:"\u30A2\u30FC\u30AB\u30A4\u30D6\u89E3\u9664",openNote:"\u30CE\u30FC\u30C8\u3092\u958B\u304F",copyTitle:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u30B3\u30D4\u30FC",noteActions:"\u30CE\u30FC\u30C8\u30A2\u30AF\u30B7\u30E7\u30F3",rename:"\u540D\u524D\u5909\u66F4",renameTitle:"\u30D5\u30A1\u30A4\u30EB\u540D\u5909\u66F4",renamePlaceholder:"\u65B0\u3057\u3044\u540D\u524D\u3092\u5165\u529B",delete:"\u524A\u9664",deleteTitle:"\u30D5\u30A1\u30A4\u30EB\u524A\u9664",deleteMessage:'"{name}"\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F',deleteConfirm:"\u524A\u9664",copyPath:"\u30D1\u30B9\u3092\u30B3\u30D4\u30FC",copyUrl:"Obsidian URL\u3092\u30B3\u30D4\u30FC",showInExplorer:"\u30D5\u30A1\u30A4\u30EB\u30A8\u30AF\u30B9\u30D7\u30ED\u30FC\u30E9\u30FC\u3067\u8868\u793A",addToCalendar:"\u30AB\u30EC\u30F3\u30C0\u30FC\u306B\u8FFD\u52A0",calendar:{google:"Google\u30AB\u30EC\u30F3\u30C0\u30FC",outlook:"Outlook\u30AB\u30EC\u30F3\u30C0\u30FC",yahoo:"Yahoo\u30AB\u30EC\u30F3\u30C0\u30FC",downloadIcs:".ics\u30D5\u30A1\u30A4\u30EB\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9"},recurrence:"\u7E70\u308A\u8FD4\u3057",clearRecurrence:"\u7E70\u308A\u8FD4\u3057\u3092\u30AF\u30EA\u30A2",customRecurrence:"\u30AB\u30B9\u30BF\u30E0\u7E70\u308A\u8FD4\u3057...",createSubtask:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",dependencies:{title:"\u4F9D\u5B58\u95A2\u4FC2",addBlockedBy:"\u300C\u30D6\u30ED\u30C3\u30AF\u5143\u300D\u3092\u8FFD\u52A0\u2026",addBlockedByTitle:"\u3053\u306E\u30BF\u30B9\u30AF\u304C\u4F9D\u5B58\u3059\u308B\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0",addBlocking:"\u300C\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B\u300D\u3092\u8FFD\u52A0\u2026",addBlockingTitle:"\u3053\u306E\u30BF\u30B9\u30AF\u304C\u30D6\u30ED\u30C3\u30AF\u3059\u308B\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0",removeBlockedBy:"\u30D6\u30ED\u30C3\u30AF\u5143\u3092\u524A\u9664\u2026",removeBlocking:"\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B\u3092\u524A\u9664\u2026",inputPlaceholder:"[[\u30BF\u30B9\u30AF\u30CE\u30FC\u30C8]]",notices:{noEntries:"\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30BF\u30B9\u30AF\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",blockedByAdded:"{count}\u4EF6\u306E\u4F9D\u5B58\u95A2\u4FC2\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",blockedByRemoved:"\u4F9D\u5B58\u95A2\u4FC2\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F",blockingAdded:"{count}\u4EF6\u306E\u4F9D\u5B58\u30BF\u30B9\u30AF\u304C\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F",blockingRemoved:"\u4F9D\u5B58\u30BF\u30B9\u30AF\u304C\u524A\u9664\u3055\u308C\u307E\u3057\u305F",unresolved:"\u89E3\u6C7A\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\uFF1A{entries}",noEligibleTasks:"\u4E00\u81F4\u3059\u308B\u30BF\u30B9\u30AF\u304C\u5229\u7528\u3067\u304D\u307E\u305B\u3093",updateFailed:"\u4F9D\u5B58\u95A2\u4FC2\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F"}},organization:{title:"\u7D44\u7E54",projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",addToProject:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u8FFD\u52A0\u2026",subtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF",addSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8FFD\u52A0\u2026",notices:{alreadyInProject:"\u30BF\u30B9\u30AF\u306F\u65E2\u306B\u3053\u306E\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u542B\u307E\u308C\u3066\u3044\u307E\u3059",alreadySubtask:"\u30BF\u30B9\u30AF\u306F\u65E2\u306B\u3053\u306E\u30BF\u30B9\u30AF\u306E\u30B5\u30D6\u30BF\u30B9\u30AF\u3067\u3059",addedToProject:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u8FFD\u52A0\u3055\u308C\u307E\u3057\u305F\uFF1A{project}",addedAsSubtask:"{subtask}\u3092{parent}\u306E\u30B5\u30D6\u30BF\u30B9\u30AF\u3068\u3057\u3066\u8FFD\u52A0\u3057\u307E\u3057\u305F",addToProjectFailed:"\u30BF\u30B9\u30AF\u3092\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306B\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",addAsSubtaskFailed:"\u30BF\u30B9\u30AF\u3092\u30B5\u30D6\u30BF\u30B9\u30AF\u3068\u3057\u3066\u8FFD\u52A0\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F",projectSelectFailed:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u30BB\u30EC\u30AF\u30BF\u30FC\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",subtaskSelectFailed:"\u30B5\u30D6\u30BF\u30B9\u30AF\u30BB\u30EC\u30AF\u30BF\u30FC\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",noEligibleSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3068\u3057\u3066\u5272\u308A\u5F53\u3066\u53EF\u80FD\u306A\u30BF\u30B9\u30AF\u304C\u3042\u308A\u307E\u305B\u3093",currentTaskNotFound:"\u73FE\u5728\u306E\u30BF\u30B9\u30AF\u30D5\u30A1\u30A4\u30EB\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3067\u3057\u305F"}},subtasks:{loading:"\u30B5\u30D6\u30BF\u30B9\u30AF\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D...",noSubtasks:"\u30B5\u30D6\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",loadFailed:"\u30B5\u30D6\u30BF\u30B9\u30AF\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},markComplete:"\u3053\u306E\u65E5\u4ED8\u3067\u5B8C\u4E86\u3068\u3057\u3066\u30DE\u30FC\u30AF",markIncomplete:"\u3053\u306E\u65E5\u4ED8\u3067\u672A\u5B8C\u4E86\u3068\u3057\u3066\u30DE\u30FC\u30AF",skipInstance:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u3092\u30B9\u30AD\u30C3\u30D7",unskipInstance:"\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u306E\u30B9\u30AD\u30C3\u30D7\u3092\u89E3\u9664",quickReminders:{atTime:"\u30A4\u30D9\u30F3\u30C8\u6642\u523B\u306B",fiveMinutes:"5\u5206\u524D",fifteenMinutes:"15\u5206\u524D",oneHour:"1\u6642\u9593\u524D",oneDay:"1\u65E5\u524D"},notices:{toggleCompletionFailure:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u306E\u5B8C\u4E86\u5207\u308A\u66FF\u3048\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",toggleSkipFailure:"\u7E70\u308A\u8FD4\u3057\u30BF\u30B9\u30AF\u306E\u30B9\u30AD\u30C3\u30D7\u5207\u308A\u66FF\u3048\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",updateDueDateFailure:"\u30BF\u30B9\u30AF\u671F\u9650\u65E5\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",updateScheduledFailure:"\u30BF\u30B9\u30AF\u4E88\u5B9A\u65E5\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",updateRemindersFailure:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",clearRemindersFailure:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u306E\u30AF\u30EA\u30A2\u306B\u5931\u6557\u3057\u307E\u3057\u305F",addReminderFailure:"\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u306E\u8FFD\u52A0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",archiveFailure:"\u30BF\u30B9\u30AF\u30A2\u30FC\u30AB\u30A4\u30D6\u306E\u5207\u308A\u66FF\u3048\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}",copyTitleSuccess:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",copyFailure:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u306E\u30B3\u30D4\u30FC\u306B\u5931\u6557\u3057\u307E\u3057\u305F",renameSuccess:'"{name}"\u306B\u540D\u524D\u5909\u66F4\u3057\u307E\u3057\u305F',renameFailure:"\u30D5\u30A1\u30A4\u30EB\u306E\u540D\u524D\u5909\u66F4\u306B\u5931\u6557\u3057\u307E\u3057\u305F",copyPathSuccess:"\u30D5\u30A1\u30A4\u30EB\u30D1\u30B9\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",copyUrlSuccess:"Obsidian URL\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",updateRecurrenceFailure:"\u30BF\u30B9\u30AF\u7E70\u308A\u8FD4\u3057\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{message}"}},ics:{showDetails:"\u8A73\u7D30\u3092\u8868\u793A",createTask:"\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",createNote:"\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u30CE\u30FC\u30C8\u3092\u4F5C\u6210",linkNote:"\u65E2\u5B58\u306E\u30CE\u30FC\u30C8\u3092\u30EA\u30F3\u30AF",copyTitle:"\u30BF\u30A4\u30C8\u30EB\u3092\u30B3\u30D4\u30FC",copyLocation:"\u5834\u6240\u3092\u30B3\u30D4\u30FC",copyUrl:"URL\u3092\u30B3\u30D4\u30FC",copyMarkdown:"Markdown\u3068\u3057\u3066\u30B3\u30D4\u30FC",subscriptionUnknown:"\u4E0D\u660E\u306A\u30AB\u30EC\u30F3\u30C0\u30FC",notices:{copyTitleSuccess:"\u30A4\u30D9\u30F3\u30C8\u30BF\u30A4\u30C8\u30EB\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",copyLocationSuccess:"\u5834\u6240\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",copyUrlSuccess:"\u30A4\u30D9\u30F3\u30C8URL\u3092\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u306B\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",copyMarkdownSuccess:"\u30A4\u30D9\u30F3\u30C8\u8A73\u7D30\u3092Markdown\u3068\u3057\u3066\u30B3\u30D4\u30FC\u3057\u307E\u3057\u305F",copyFailure:"\u30AF\u30EA\u30C3\u30D7\u30DC\u30FC\u30C9\u3078\u306E\u30B3\u30D4\u30FC\u306B\u5931\u6557\u3057\u307E\u3057\u305F",taskCreated:"\u30BF\u30B9\u30AF\u3092\u4F5C\u6210\u3057\u307E\u3057\u305F\uFF1A{title}",taskCreateFailure:"\u30A4\u30D9\u30F3\u30C8\u304B\u3089\u306E\u30BF\u30B9\u30AF\u4F5C\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F",noteCreated:"\u30CE\u30FC\u30C8\u304C\u6B63\u5E38\u306B\u4F5C\u6210\u3055\u308C\u307E\u3057\u305F",creationFailure:"\u4F5C\u6210\u30E2\u30FC\u30C0\u30EB\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F",linkSuccess:'\u30CE\u30FC\u30C8"{name}"\u3092\u30A4\u30D9\u30F3\u30C8\u306B\u30EA\u30F3\u30AF\u3057\u307E\u3057\u305F',linkFailure:"\u30CE\u30FC\u30C8\u306E\u30EA\u30F3\u30AF\u306B\u5931\u6557\u3057\u307E\u3057\u305F",linkSelectionFailure:"\u30CE\u30FC\u30C8\u9078\u629E\u3092\u958B\u3051\u307E\u305B\u3093\u3067\u3057\u305F"},markdown:{titleFallback:"\u7121\u984C\u306E\u30A4\u30D9\u30F3\u30C8",calendar:"**\u30AB\u30EC\u30F3\u30C0\u30FC\uFF1A** {value}",date:"**\u65E5\u6642\uFF1A** {value}",location:"**\u5834\u6240\uFF1A** {value}",descriptionHeading:"### \u8AAC\u660E",url:"**URL\uFF1A** {value}",at:" {time}\u306B"}},date:{increment:{plusOneDay:"+1\u65E5",minusOneDay:"-1\u65E5",plusOneWeek:"+1\u9031",minusOneWeek:"-1\u9031"},basic:{today:"\u4ECA\u65E5",tomorrow:"\u660E\u65E5",thisWeekend:"\u4ECA\u9031\u672B",nextWeek:"\u6765\u9031",nextMonth:"\u6765\u6708"},weekdaysLabel:"\u5E73\u65E5",selected:"\u2713 {label}",pickDateTime:"\u65E5\u6642\u3092\u9078\u629E\u2026",clearDate:"\u65E5\u4ED8\u3092\u30AF\u30EA\u30A2",modal:{title:"\u65E5\u6642\u3092\u8A2D\u5B9A",dateLabel:"\u65E5\u4ED8",timeLabel:"\u6642\u9593\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",select:"\u9078\u629E"}}},services:{pomodoro:{notices:{alreadyRunning:"\u30DD\u30E2\u30C9\u30FC\u30ED\u304C\u65E2\u306B\u5B9F\u884C\u4E2D\u3067\u3059",resumeCurrentSession:"\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3059\u308B\u4EE3\u308F\u308A\u306B\u73FE\u5728\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u518D\u958B\u3057\u3066\u304F\u3060\u3055\u3044",timerAlreadyRunning:"\u30BF\u30A4\u30DE\u30FC\u304C\u65E2\u306B\u5B9F\u884C\u4E2D\u3067\u3059",resumeSessionInstead:"\u65B0\u3057\u3044\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u958B\u59CB\u3059\u308B\u4EE3\u308F\u308A\u306B\u73FE\u5728\u306E\u30BB\u30C3\u30B7\u30E7\u30F3\u3092\u518D\u958B\u3057\u3066\u304F\u3060\u3055\u3044",shortBreakStarted:"\u77ED\u3044\u4F11\u61A9\u3092\u958B\u59CB\u3057\u307E\u3057\u305F",longBreakStarted:"\u9577\u3044\u4F11\u61A9\u3092\u958B\u59CB\u3057\u307E\u3057\u305F",paused:"\u30DD\u30E2\u30C9\u30FC\u30ED\u304C\u4E00\u6642\u505C\u6B62\u3055\u308C\u307E\u3057\u305F",resumed:"\u30DD\u30E2\u30C9\u30FC\u30ED\u304C\u518D\u958B\u3055\u308C\u307E\u3057\u305F",stoppedAndReset:"\u30DD\u30E2\u30C9\u30FC\u30ED\u304C\u505C\u6B62\u304A\u3088\u3073\u30EA\u30BB\u30C3\u30C8\u3055\u308C\u307E\u3057\u305F",migrationSuccess:"{count}\u4EF6\u306E\u30DD\u30E2\u30C9\u30FC\u30ED\u30BB\u30C3\u30B7\u30E7\u30F3\u304C\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8\u306B\u6B63\u5E38\u306B\u79FB\u884C\u3055\u308C\u307E\u3057\u305F\u3002",migrationFailure:"\u30DD\u30E2\u30C9\u30FC\u30ED\u30C7\u30FC\u30BF\u306E\u79FB\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3059\u308B\u304B\u3001\u8A73\u7D30\u306B\u3064\u3044\u3066\u306F\u30B3\u30F3\u30BD\u30FC\u30EB\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},icsSubscription:{notices:{calendarNotFound:'\u30AB\u30EC\u30F3\u30C0\u30FC"{name}"\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF08404\uFF09\u3002ICS URL\u304C\u6B63\u3057\u304F\u3001\u30AB\u30EC\u30F3\u30C0\u30FC\u304C\u516C\u958B\u30A2\u30AF\u30BB\u30B9\u53EF\u80FD\u3067\u3042\u308B\u3053\u3068\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002',calendarAccessDenied:'\u30AB\u30EC\u30F3\u30C0\u30FC"{name}"\u306E\u30A2\u30AF\u30BB\u30B9\u304C\u62D2\u5426\u3055\u308C\u307E\u3057\u305F\uFF08500\uFF09\u3002\u3053\u308C\u306FMicrosoft Outlook\u30B5\u30FC\u30D0\u30FC\u306E\u5236\u9650\u306B\u3088\u308B\u3082\u306E\u304B\u3082\u3057\u308C\u307E\u305B\u3093\u3002\u30AB\u30EC\u30F3\u30C0\u30FC\u8A2D\u5B9A\u304B\u3089ICS URL\u3092\u518D\u751F\u6210\u3057\u3066\u307F\u3066\u304F\u3060\u3055\u3044\u3002',fetchRemoteFailed:'\u30EA\u30E2\u30FC\u30C8\u30AB\u30EC\u30F3\u30C0\u30FC"{name}"\u306E\u53D6\u5F97\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{error}',readLocalFailed:'\u30ED\u30FC\u30AB\u30EB\u30AB\u30EC\u30F3\u30C0\u30FC"{name}"\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{error}'}},calendarExport:{notices:{generateLinkFailed:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30EA\u30F3\u30AF\u306E\u751F\u6210\u306B\u5931\u6557\u3057\u307E\u3057\u305F",noTasksToExport:"\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u3059\u308B\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",downloadSuccess:"{count}\u4EF6\u306E\u30BF\u30B9\u30AF\u3092\u542B\u3080{filename}\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F",downloadFailed:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30D5\u30A1\u30A4\u30EB\u306E\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u306B\u5931\u6557\u3057\u307E\u3057\u305F",singleDownloadSuccess:"{filename}\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3057\u307E\u3057\u305F"}},filter:{groupLabels:{noProject:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8\u306A\u3057",noTags:"\u30BF\u30B0\u306A\u3057",invalidDate:"\u7121\u52B9\u306A\u65E5\u4ED8",due:{overdue:"\u671F\u9650\u5207\u308C",today:"\u4ECA\u65E5",tomorrow:"\u660E\u65E5",nextSevenDays:"\u6B21\u306E7\u65E5\u9593",later:"\u5F8C\u3067",none:"\u671F\u9650\u65E5\u306A\u3057"},scheduled:{past:"\u904E\u53BB\u306E\u4E88\u5B9A",today:"\u4ECA\u65E5",tomorrow:"\u660E\u65E5",nextSevenDays:"\u6B21\u306E7\u65E5\u9593",later:"\u5F8C\u3067",none:"\u4E88\u5B9A\u65E5\u306A\u3057"}},errors:{noDatesProvided:"\u65E5\u4ED8\u304C\u63D0\u4F9B\u3055\u308C\u3066\u3044\u307E\u305B\u3093"},folders:{root:"\uFF08\u30EB\u30FC\u30C8\uFF09"}},instantTaskConvert:{notices:{noCheckboxTasks:"\u73FE\u5728\u306E\u30CE\u30FC\u30C8\u306B\u30C1\u30A7\u30C3\u30AF\u30DC\u30C3\u30AF\u30B9\u30BF\u30B9\u30AF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\u3002",convertingTasks:"{count}\u4EF6\u306E\u30BF\u30B9\u30AF\u3092\u5909\u63DB\u4E2D...",conversionSuccess:"\u2705 {count}\u4EF6\u306E\u30BF\u30B9\u30AF\u3092TaskNotes\u306B\u6B63\u5E38\u306B\u5909\u63DB\u3057\u307E\u3057\u305F\uFF01",partialConversion:"{successCount}\u4EF6\u306E\u30BF\u30B9\u30AF\u304C\u5909\u63DB\u3055\u308C\u307E\u3057\u305F\u3002{failureCount}\u4EF6\u304C\u5931\u6557\u3057\u307E\u3057\u305F\u3002",batchConversionFailed:"\u30D0\u30C3\u30C1\u5909\u63DB\u306E\u5B9F\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",invalidParameters:"\u7121\u52B9\u306A\u5165\u529B\u30D1\u30E9\u30E1\u30FC\u30BF\u30FC\u3002",emptyLine:"\u73FE\u5728\u306E\u884C\u304C\u7A7A\u3067\u3042\u308B\u304B\u3001\u6709\u52B9\u306A\u30B3\u30F3\u30C6\u30F3\u30C4\u304C\u542B\u307E\u308C\u3066\u3044\u307E\u305B\u3093\u3002",parseError:"\u30BF\u30B9\u30AF\u306E\u89E3\u6790\u30A8\u30E9\u30FC\uFF1A{error}",invalidTaskData:"\u7121\u52B9\u306A\u30BF\u30B9\u30AF\u30C7\u30FC\u30BF\u3002",replaceLineFailed:"\u30BF\u30B9\u30AF\u884C\u306E\u7F6E\u63DB\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002",conversionComplete:"\u30BF\u30B9\u30AF\u304C\u5909\u63DB\u3055\u308C\u307E\u3057\u305F\uFF1A{title}",conversionCompleteShortened:'\u30BF\u30B9\u30AF\u304C\u5909\u63DB\u3055\u308C\u307E\u3057\u305F\uFF1A"{title}"\uFF08\u9577\u3055\u306E\u305F\u3081\u30D5\u30A1\u30A4\u30EB\u540D\u304C\u77ED\u7E2E\u3055\u308C\u307E\u3057\u305F\uFF09',fileExists:"\u3053\u306E\u540D\u524D\u306E\u30D5\u30A1\u30A4\u30EB\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059\u3002\u518D\u8A66\u884C\u3059\u308B\u304B\u30BF\u30B9\u30AF\u306E\u540D\u524D\u3092\u5909\u66F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",conversionFailed:"\u30BF\u30B9\u30AF\u306E\u5909\u63DB\u306B\u5931\u6557\u3057\u307E\u3057\u305F\u3002\u518D\u8A66\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"}},icsNote:{notices:{templateNotFound:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF1A{path}",templateProcessError:"\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u51E6\u7406\u30A8\u30E9\u30FC\uFF1A{template}",linkedToEvent:"\u30CE\u30FC\u30C8\u3092ICS\u30A4\u30D9\u30F3\u30C8\u306B\u30EA\u30F3\u30AF\u3057\u307E\u3057\u305F\uFF1A{title}"}},task:{notices:{templateNotFound:"\u30BF\u30B9\u30AF\u30DC\u30C7\u30A3\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093\uFF1A{path}",templateReadError:"\u30BF\u30B9\u30AF\u30DC\u30C7\u30A3\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u306E\u8AAD\u307F\u8FBC\u307F\u30A8\u30E9\u30FC\uFF1A{template}",moveTaskFailed:"{operation}\u30BF\u30B9\u30AF\u306E\u79FB\u52D5\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{error}"}},autoExport:{notices:{exportFailed:"TaskNotes\u81EA\u52D5\u30A8\u30AF\u30B9\u30DD\u30FC\u30C8\u306B\u5931\u6557\u3057\u307E\u3057\u305F\uFF1A{error}"}}},ui:{icsCard:{untitledEvent:"\u7121\u984C\u306E\u30A4\u30D9\u30F3\u30C8",allDay:"\u7D42\u65E5",calendarEvent:"\u30AB\u30EC\u30F3\u30C0\u30FC\u30A4\u30D9\u30F3\u30C8",calendarFallback:"\u30AB\u30EC\u30F3\u30C0\u30FC"},noteCard:{createdLabel:"\u4F5C\u6210\uFF1A",dailyBadge:"\u30C7\u30A4\u30EA\u30FC",dailyTooltip:"\u30C7\u30A4\u30EA\u30FC\u30CE\u30FC\u30C8"},taskCard:{blockedBadge:"\u30D6\u30ED\u30C3\u30AF\u4E2D",blockedBadgeTooltip:"\u3053\u306E\u30BF\u30B9\u30AF\u306F\u4ED6\u306E\u30BF\u30B9\u30AF\u3092\u5F85\u3063\u3066\u3044\u307E\u3059",blockingBadge:"\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B",blockingBadgeTooltip:"\u3053\u306E\u30BF\u30B9\u30AF\u306F\u4ED6\u306E\u30BF\u30B9\u30AF\u3092\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u307E\u3059",blockingToggle:"{count} \u4EF6\u306E\u30BF\u30B9\u30AF\u3092\u30D6\u30ED\u30C3\u30AF",loadingDependencies:"\u4F9D\u5B58\u95A2\u4FC2\u3092\u8AAD\u307F\u8FBC\u307F\u4E2D\u2026",blockingEmpty:"\u4F9D\u5B58\u30BF\u30B9\u30AF\u306F\u3042\u308A\u307E\u305B\u3093",blockingLoadError:"\u4F9D\u5B58\u95A2\u4FC2\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F"},propertyEventCard:{unknownFile:"\u4E0D\u660E\u306A\u30D5\u30A1\u30A4\u30EB"},filterHeading:{allViewName:"\u3059\u3079\u3066"},filterBar:{saveView:"\u30D3\u30E5\u30FC\u3092\u4FDD\u5B58",saveViewNamePlaceholder:"\u30D3\u30E5\u30FC\u540D\u3092\u5165\u529B...",saveButton:"\u4FDD\u5B58",views:"\u30D3\u30E5\u30FC",savedFilterViews:"\u4FDD\u5B58\u3055\u308C\u305F\u30D5\u30A3\u30EB\u30BF\u30FC\u30D3\u30E5\u30FC",filters:"\u30D5\u30A3\u30EB\u30BF\u30FC",properties:"\u30D7\u30ED\u30D1\u30C6\u30A3",sort:"\u30BD\u30FC\u30C8",newTask:"\u65B0\u898F",expandAllGroups:"\u3059\u3079\u3066\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u5C55\u958B",collapseAllGroups:"\u3059\u3079\u3066\u306E\u30B0\u30EB\u30FC\u30D7\u3092\u6298\u308A\u305F\u305F\u307F",searchTasksPlaceholder:"\u30BF\u30B9\u30AF\u3092\u691C\u7D22...",searchTasksTooltip:"\u30BF\u30B9\u30AF\u30BF\u30A4\u30C8\u30EB\u3092\u691C\u7D22",filterUnavailable:"\u30D5\u30A3\u30EB\u30BF\u30FC\u30D0\u30FC\u304C\u4E00\u6642\u7684\u306B\u5229\u7528\u3067\u304D\u307E\u305B\u3093",toggleFilter:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u5207\u308A\u66FF\u3048",activeFiltersTooltip:"\u30A2\u30AF\u30C6\u30A3\u30D6\u30D5\u30A3\u30EB\u30BF\u30FC \u2013 \u30AF\u30EA\u30C3\u30AF\u3067\u5909\u66F4\u3001\u53F3\u30AF\u30EA\u30C3\u30AF\u3067\u30AF\u30EA\u30A2",configureVisibleProperties:"\u8868\u793A\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u8A2D\u5B9A",sortAndGroupOptions:"\u30BD\u30FC\u30C8\u3068\u30B0\u30EB\u30FC\u30D7\u30AA\u30D7\u30B7\u30E7\u30F3",sortMenuHeader:"\u30BD\u30FC\u30C8",orderMenuHeader:"\u9806\u5E8F",groupMenuHeader:"\u30B0\u30EB\u30FC\u30D7",createNewTask:"\u65B0\u3057\u3044\u30BF\u30B9\u30AF\u3092\u4F5C\u6210",filter:"\u30D5\u30A3\u30EB\u30BF\u30FC",displayOrganization:"\u8868\u793A\u3068\u6574\u7406",viewOptions:"\u30D3\u30E5\u30FC\u30AA\u30D7\u30B7\u30E7\u30F3",addFilter:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u8FFD\u52A0",addFilterGroup:"\u30D5\u30A3\u30EB\u30BF\u30FC\u30B0\u30EB\u30FC\u30D7\u3092\u8FFD\u52A0",addFilterTooltip:"\u65B0\u3057\u3044\u30D5\u30A3\u30EB\u30BF\u30FC\u6761\u4EF6\u3092\u8FFD\u52A0",addFilterGroupTooltip:"\u30CD\u30B9\u30C8\u3057\u305F\u30D5\u30A3\u30EB\u30BF\u30FC\u30B0\u30EB\u30FC\u30D7\u3092\u8FFD\u52A0",clearAllFilters:"\u3059\u3079\u3066\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3068\u30B0\u30EB\u30FC\u30D7\u3092\u30AF\u30EA\u30A2",saveCurrentFilter:"\u73FE\u5728\u306E\u30D5\u30A3\u30EB\u30BF\u30FC\u3092\u30D3\u30E5\u30FC\u3068\u3057\u3066\u4FDD\u5B58",closeFilterModal:"\u30D5\u30A3\u30EB\u30BF\u30FC\u30E2\u30FC\u30C0\u30EB\u3092\u9589\u3058\u308B",deleteFilterGroup:"\u30D5\u30A3\u30EB\u30BF\u30FC\u30B0\u30EB\u30FC\u30D7\u3092\u524A\u9664",deleteCondition:"\u6761\u4EF6\u3092\u524A\u9664",all:"\u3059\u3079\u3066",any:"\u3044\u305A\u308C\u304B",followingAreTrue:"\u4EE5\u4E0B\u304C\u771F\uFF1A",where:"\u3053\u3053\u3067",selectProperty:"\u9078\u629E...",chooseProperty:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3059\u308B\u30BF\u30B9\u30AF\u30D7\u30ED\u30D1\u30C6\u30A3\u3092\u9078\u629E",chooseOperator:"\u30D7\u30ED\u30D1\u30C6\u30A3\u5024\u306E\u6BD4\u8F03\u65B9\u6CD5\u3092\u9078\u629E",enterValue:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3059\u308B\u5024\u3092\u5165\u529B",selectValue:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3059\u308B{property}\u3092\u9078\u629E",sortBy:"\u30BD\u30FC\u30C8\u9806\uFF1A",toggleSortDirection:"\u30BD\u30FC\u30C8\u65B9\u5411\u3092\u5207\u308A\u66FF\u3048",chooseSortMethod:"\u30BF\u30B9\u30AF\u306E\u30BD\u30FC\u30C8\u65B9\u6CD5\u3092\u9078\u629E",groupBy:"\u30B0\u30EB\u30FC\u30D7\u5316\uFF1A",chooseGroupMethod:"\u5171\u901A\u30D7\u30ED\u30D1\u30C6\u30A3\u3067\u30BF\u30B9\u30AF\u3092\u30B0\u30EB\u30FC\u30D7\u5316",toggleViewOption:"{option}\u3092\u5207\u308A\u66FF\u3048",expandCollapseFilters:"\u30AF\u30EA\u30C3\u30AF\u3067\u30D5\u30A3\u30EB\u30BF\u30FC\u6761\u4EF6\u3092\u5C55\u958B/\u6298\u308A\u305F\u305F\u307F",expandCollapseSort:"\u30AF\u30EA\u30C3\u30AF\u3067\u30BD\u30FC\u30C8\u3068\u30B0\u30EB\u30FC\u30D7\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u5C55\u958B/\u6298\u308A\u305F\u305F\u307F",expandCollapseViewOptions:"\u30AF\u30EA\u30C3\u30AF\u3067\u30D3\u30E5\u30FC\u56FA\u6709\u30AA\u30D7\u30B7\u30E7\u30F3\u3092\u5C55\u958B/\u6298\u308A\u305F\u305F\u307F",naturalLanguageDates:"\u81EA\u7136\u8A00\u8A9E\u65E5\u4ED8",naturalLanguageExamples:"\u81EA\u7136\u8A00\u8A9E\u65E5\u4ED8\u306E\u4F8B\u3092\u8868\u793A",enterNumericValue:"\u30D5\u30A3\u30EB\u30BF\u30FC\u3059\u308B\u6570\u5024\u3092\u5165\u529B",enterDateValue:"\u81EA\u7136\u8A00\u8A9E\u307E\u305F\u306FISO\u5F62\u5F0F\u3067\u65E5\u4ED8\u3092\u5165\u529B",pickDateTime:"\u65E5\u6642\u3092\u9078\u629E",noSavedViews:"\u4FDD\u5B58\u3055\u308C\u305F\u30D3\u30E5\u30FC\u304C\u3042\u308A\u307E\u305B\u3093",savedViews:"\u4FDD\u5B58\u3055\u308C\u305F\u30D3\u30E5\u30FC",yourSavedFilters:"\u4FDD\u5B58\u3055\u308C\u305F\u30D5\u30A3\u30EB\u30BF\u30FC\u8A2D\u5B9A",dragToReorder:"\u30C9\u30E9\u30C3\u30B0\u3057\u3066\u30D3\u30E5\u30FC\u3092\u4E26\u3073\u66FF\u3048",loadSavedView:"\u4FDD\u5B58\u3055\u308C\u305F\u30D3\u30E5\u30FC\u3092\u8AAD\u307F\u8FBC\u307F\uFF1A{name}",deleteView:"\u30D3\u30E5\u30FC\u3092\u524A\u9664",deleteViewTitle:"\u30D3\u30E5\u30FC\u3092\u524A\u9664",deleteViewMessage:'\u30D3\u30E5\u30FC"{name}"\u3092\u524A\u9664\u3057\u3066\u3082\u3088\u308D\u3057\u3044\u3067\u3059\u304B\uFF1F',manageAllReminders:"\u3059\u3079\u3066\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u7BA1\u7406...",clearAllReminders:"\u3059\u3079\u3066\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u30AF\u30EA\u30A2",customRecurrence:"\u30AB\u30B9\u30BF\u30E0\u7E70\u308A\u8FD4\u3057...",clearRecurrence:"\u7E70\u308A\u8FD4\u3057\u3092\u30AF\u30EA\u30A2",sortOptions:{dueDate:"\u671F\u9650\u65E5",scheduledDate:"\u4E88\u5B9A\u65E5",priority:"\u512A\u5148\u5EA6",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",title:"\u30BF\u30A4\u30C8\u30EB",createdDate:"\u4F5C\u6210\u65E5",tags:"\u30BF\u30B0",ascending:"\u6607\u9806",descending:"\u964D\u9806"},group:{none:"\u306A\u3057",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",priority:"\u512A\u5148\u5EA6",context:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",project:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",dueDate:"\u671F\u9650\u65E5",scheduledDate:"\u4E88\u5B9A\u65E5",tags:"\u30BF\u30B0",completedDate:"\u5B8C\u4E86\u65E5"},subgroupLabel:"\u30B5\u30D6\u30B0\u30EB\u30FC\u30D7",notices:{propertiesMenuFailed:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30E1\u30CB\u30E5\u30FC\u306E\u8868\u793A\u306B\u5931\u6557\u3057\u307E\u3057\u305F"}}},components:{dateContextMenu:{weekdays:"\u5E73\u65E5",clearDate:"\u65E5\u4ED8\u3092\u30AF\u30EA\u30A2",today:"\u4ECA\u65E5",tomorrow:"\u660E\u65E5",thisWeekend:"\u4ECA\u9031\u672B",nextWeek:"\u6765\u9031",nextMonth:"\u6765\u6708",setDateTime:"\u65E5\u6642\u3092\u8A2D\u5B9A",dateLabel:"\u65E5\u4ED8",timeLabel:"\u6642\u9593\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09"},subgroupMenuBuilder:{none:"\u306A\u3057",status:"\u30B9\u30C6\u30FC\u30BF\u30B9",priority:"\u512A\u5148\u5EA6",context:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",project:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",dueDate:"\u671F\u9650\u65E5",scheduledDate:"\u4E88\u5B9A\u65E5",tags:"\u30BF\u30B0",completedDate:"\u5B8C\u4E86\u65E5",subgroup:"\u30B5\u30D6\u30B0\u30EB\u30FC\u30D7"},propertyVisibilityDropdown:{coreProperties:"\u30B3\u30A2\u30D7\u30ED\u30D1\u30C6\u30A3",organization:"\u7D44\u7E54",customProperties:"\u30AB\u30B9\u30BF\u30E0\u30D7\u30ED\u30D1\u30C6\u30A3",failed:"\u30D7\u30ED\u30D1\u30C6\u30A3\u30E1\u30CB\u30E5\u30FC\u306E\u8868\u793A\u306B\u5931\u6557\u3057\u307E\u3057\u305F",properties:{statusDot:"\u30B9\u30C6\u30FC\u30BF\u30B9\u30C9\u30C3\u30C8",priorityDot:"\u512A\u5148\u5EA6\u30C9\u30C3\u30C8",dueDate:"\u671F\u9650\u65E5",scheduledDate:"\u4E88\u5B9A\u65E5",timeEstimate:"\u6642\u9593\u898B\u7A4D\u3082\u308A",totalTrackedTime:"\u7DCF\u8FFD\u8DE1\u6642\u9593",recurrence:"\u7E70\u308A\u8FD4\u3057",completedDate:"\u5B8C\u4E86\u65E5",createdDate:"\u4F5C\u6210\u65E5",modifiedDate:"\u5909\u66F4\u65E5",projects:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",contexts:"\u30B3\u30F3\u30C6\u30AD\u30B9\u30C8",tags:"\u30BF\u30B0",blocked:"\u30D6\u30ED\u30C3\u30AF\u4E2D",blocking:"\u30D6\u30ED\u30C3\u30AF\u3057\u3066\u3044\u308B"}},reminderContextMenu:{remindBeforeDue:"\u671F\u9650\u524D\u306B\u30EA\u30DE\u30A4\u30F3\u30C9...",remindBeforeScheduled:"\u4E88\u5B9A\u524D\u306B\u30EA\u30DE\u30A4\u30F3\u30C9...",manageAllReminders:"\u3059\u3079\u3066\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u7BA1\u7406...",clearAllReminders:"\u3059\u3079\u3066\u306E\u30EA\u30DE\u30A4\u30F3\u30C0\u30FC\u3092\u30AF\u30EA\u30A2",quickReminders:{atTime:"\u30A4\u30D9\u30F3\u30C8\u6642\u523B\u306B",fiveMinutesBefore:"5\u5206\u524D",fifteenMinutesBefore:"15\u5206\u524D",oneHourBefore:"1\u6642\u9593\u524D",oneDayBefore:"1\u65E5\u524D"}},recurrenceContextMenu:{daily:"\u6BCE\u65E5",weeklyOn:"\u6BCE\u9031{day}\u66DC\u65E5",everyTwoWeeksOn:"2\u9031\u9593\u3054\u3068\u306E{day}\u66DC\u65E5",monthlyOnThe:"\u6BCE\u6708{ordinal}",everyThreeMonthsOnThe:"3\u304B\u6708\u3054\u3068\u306E{ordinal}",yearlyOn:"\u6BCE\u5E74{month}{ordinal}",weekdaysOnly:"\u5E73\u65E5\u306E\u307F",dailyAfterCompletion:"\u6BCE\u65E5\uFF08\u5B8C\u4E86\u5F8C\uFF09",every3DaysAfterCompletion:"3\u65E5\u3054\u3068\uFF08\u5B8C\u4E86\u5F8C\uFF09",weeklyAfterCompletion:"\u6BCE\u9031\uFF08\u5B8C\u4E86\u5F8C\uFF09",monthlyAfterCompletion:"\u6BCE\u6708\uFF08\u5B8C\u4E86\u5F8C\uFF09",customRecurrence:"\u30AB\u30B9\u30BF\u30E0\u7E70\u308A\u8FD4\u3057...",clearRecurrence:"\u7E70\u308A\u8FD4\u3057\u3092\u30AF\u30EA\u30A2",customRecurrenceModal:{title:"\u30AB\u30B9\u30BF\u30E0\u7E70\u308A\u8FD4\u3057",startDate:"\u958B\u59CB\u65E5",startDateDesc:"\u7E70\u308A\u8FD4\u3057\u30D1\u30BF\u30FC\u30F3\u304C\u59CB\u307E\u308B\u65E5\u4ED8",startTime:"\u958B\u59CB\u6642\u523B",startTimeDesc:"\u7E70\u308A\u8FD4\u3057\u30A4\u30F3\u30B9\u30BF\u30F3\u30B9\u304C\u8868\u793A\u3055\u308C\u308B\u6642\u523B\uFF08\u30AA\u30D7\u30B7\u30E7\u30F3\uFF09",recurFrom:"\u7E70\u308A\u8FD4\u3057\u306E\u57FA\u6E96",recurFromDesc:"\u6B21\u306E\u767A\u751F\u3092\u3044\u3064\u304B\u3089\u8A08\u7B97\u3057\u307E\u3059\u304B\uFF1F",scheduledDate:"\u4E88\u5B9A\u65E5",completionDate:"\u5B8C\u4E86\u65E5",frequency:"\u983B\u5EA6",interval:"\u9593\u9694",intervalDesc:"X\u65E5/\u9031/\u6708/\u5E74\u3054\u3068",daysOfWeek:"\u66DC\u65E5",daysOfWeekDesc:"\u7279\u5B9A\u306E\u66DC\u65E5\u3092\u9078\u629E\uFF08\u9031\u6B21\u7E70\u308A\u8FD4\u3057\u7528\uFF09",monthlyRecurrence:"\u6708\u6B21\u7E70\u308A\u8FD4\u3057",monthlyRecurrenceDesc:"\u6708\u6B21\u7E70\u308A\u8FD4\u3057\u65B9\u6CD5\u3092\u9078\u629E",yearlyRecurrence:"\u5E74\u6B21\u7E70\u308A\u8FD4\u3057",yearlyRecurrenceDesc:"\u5E74\u6B21\u7E70\u308A\u8FD4\u3057\u65B9\u6CD5\u3092\u9078\u629E",endCondition:"\u7D42\u4E86\u6761\u4EF6",endConditionDesc:"\u7E70\u308A\u8FD4\u3057\u306E\u7D42\u4E86\u6642\u671F\u3092\u9078\u629E",neverEnds:"\u7D42\u4E86\u3057\u306A\u3044",endAfterOccurrences:"{count}\u56DE\u5F8C\u306B\u7D42\u4E86",endOnDate:"{date}\u306B\u7D42\u4E86",onDayOfMonth:"\u6BCE\u6708{day}\u65E5",onTheWeekOfMonth:"\u6BCE\u6708{week}{day}\u66DC\u65E5",onDateOfYear:"\u6BCE\u5E74{month}{day}",onTheWeekOfYear:"\u6BCE\u5E74{month}\u306E{week}{day}\u66DC\u65E5",frequencies:{daily:"\u6BCE\u65E5",weekly:"\u6BCE\u9031",monthly:"\u6BCE\u6708",yearly:"\u6BCE\u5E74"},weekPositions:{first:"\u7B2C1",second:"\u7B2C2",third:"\u7B2C3",fourth:"\u7B2C4",last:"\u6700\u7D42"},weekdays:{monday:"\u6708\u66DC\u65E5",tuesday:"\u706B\u66DC\u65E5",wednesday:"\u6C34\u66DC\u65E5",thursday:"\u6728\u66DC\u65E5",friday:"\u91D1\u66DC\u65E5",saturday:"\u571F\u66DC\u65E5",sunday:"\u65E5\u66DC\u65E5"},weekdaysShort:{mon:"\u6708",tue:"\u706B",wed:"\u6C34",thu:"\u6728",fri:"\u91D1",sat:"\u571F",sun:"\u65E5"},cancel:"\u30AD\u30E3\u30F3\u30BB\u30EB",save:"\u4FDD\u5B58"}}}};var VG={common:{appName:"TaskNotes",new:"Novo",cancel:"Cancelar",confirm:"Confirmar",close:"Fechar",save:"Salvar",language:"Idioma",systemDefault:"Padr\xE3o do sistema",loading:"Carregando...",languages:{en:"Ingl\xEAs",fr:"Franc\xEAs",ru:"Russo",zh:"Chin\xEAs",de:"Alem\xE3o",es:"Espanhol",ja:"Japon\xEAs",pt:"Portugu\xEAs (Brasil)"},weekdays:{sunday:"Domingo",monday:"Segunda-feira",tuesday:"Ter\xE7a-feira",wednesday:"Quarta-feira",thursday:"Quinta-feira",friday:"Sexta-feira",saturday:"S\xE1bado"},months:{january:"Janeiro",february:"Fevereiro",march:"Mar\xE7o",april:"Abril",may:"Maio",june:"Junho",july:"Julho",august:"Agosto",september:"Setembro",october:"Outubro",november:"Novembro",december:"Dezembro"}},views:{agenda:{title:"Agenda",today:"Hoje",overdue:"Atrasadas",refreshCalendars:"Atualizar calend\xE1rios",actions:{previousPeriod:"Per\xEDodo anterior",nextPeriod:"Pr\xF3ximo per\xEDodo",goToToday:"Ir para hoje",refreshCalendars:"Atualizar inscri\xE7\xF5es de calend\xE1rio"},loading:"Carregando agenda...",dayToggle:"Alternar dia",overdueToggle:"Alternar se\xE7\xE3o de atrasadas",expandAllDays:"Expandir Todos os Dias",collapseAllDays:"Recolher Todos os Dias",notices:{calendarNotReady:"Servi\xE7o de calend\xE1rio ainda n\xE3o est\xE1 pronto",calendarRefreshed:"Inscri\xE7\xF5es de calend\xE1rio atualizadas",refreshFailed:"Falha ao atualizar"},empty:{noItemsScheduled:"Nenhum item agendado",noItemsFound:"Nenhum item encontrado",helpText:"Crie tarefas com datas de vencimento ou agendadas, ou adicione notas para v\xEA-las aqui."},contextMenu:{showOverdueSection:"Mostrar se\xE7\xE3o de atrasadas",showNotes:"Mostrar notas",calendarSubscriptions:"Inscri\xE7\xF5es de calend\xE1rio"},periods:{thisWeek:"Esta semana"},tipPrefix:"Dica: "},taskList:{title:"Tarefas",expandAllGroups:"Expandir Todos os Grupos",collapseAllGroups:"Recolher Todos os Grupos",noTasksFound:"Nenhuma tarefa encontrada para os filtros selecionados."},notes:{title:"Notas",refreshButton:"Atualizar",refreshingButton:"Atualizando...",notices:{indexingDisabled:"Indexa\xE7\xE3o de notas desativada"},empty:{noNotesFound:"Nenhuma nota encontrada",helpText:"Nenhuma nota encontrada para a data selecionada. Tente selecionar uma data diferente no Mini Calend\xE1rio ou crie algumas notas."},loading:"Carregando notas...",refreshButtonAriaLabel:"Atualizar lista de notas"},miniCalendar:{title:"Mini Calend\xE1rio"},advancedCalendar:{title:"Calend\xE1rio",filters:{showFilters:"Mostrar filtros",hideFilters:"Ocultar filtros"},viewOptions:{calendarSubscriptions:"Inscri\xE7\xF5es de calend\xE1rio",timeEntries:"Registros de tempo",timeblocks:"Blocos de tempo",scheduledDates:"Datas agendadas",dueDates:"Datas de vencimento",allDaySlot:"Slot de dia inteiro",scheduledTasks:"Tarefas agendadas",recurringTasks:"Tarefas recorrentes"},buttons:{refresh:"Atualizar",refreshHint:"Atualizar Inscri\xE7\xF5es de Calend\xE1rio"},notices:{icsServiceNotAvailable:"Servi\xE7o de inscri\xE7\xE3o ICS n\xE3o dispon\xEDvel",calendarRefreshedAll:"Todas as inscri\xE7\xF5es de calend\xE1rio atualizadas com sucesso",refreshFailed:"Falha ao atualizar algumas inscri\xE7\xF5es de calend\xE1rio",timeblockSpecificTime:"Blocos de tempo devem ter hor\xE1rios espec\xEDficos. Por favor, selecione um intervalo de tempo na visualiza\xE7\xE3o de semana ou dia.",timeblockMoved:'Bloco de tempo "{title}" movido para {date}',timeblockUpdated:'Tempo do bloco de tempo "{title}" atualizado',timeblockMoveFailed:"Falha ao mover bloco de tempo: {message}",timeblockResized:'Dura\xE7\xE3o do bloco de tempo "{title}" atualizada',timeblockResizeFailed:"Falha ao redimensionar bloco de tempo: {message}",taskScheduled:'Tarefa "{title}" agendada para {date}',scheduleTaskFailed:"Falha ao agendar tarefa",endTimeAfterStart:"A hora de t\xE9rmino deve ser posterior \xE0 hora de in\xEDcio",timeEntryNotFound:"Registro de tempo n\xE3o encontrado",timeEntryDeleted:"Registro de tempo exclu\xEDdo",deleteTimeEntryFailed:"Falha ao excluir registro de tempo"},timeEntry:{estimatedSuffix:"estimado",trackedSuffix:"rastreado",recurringPrefix:"Recorrente: ",completedPrefix:"Conclu\xEDdo: ",createdPrefix:"Criado: ",modifiedPrefix:"Modificado: ",duePrefix:"Vencimento: ",scheduledPrefix:"Agendado: "},contextMenus:{openTask:"Abrir tarefa",deleteTimeEntry:"Excluir registro de tempo",deleteTimeEntryTitle:"Excluir Registro de Tempo",deleteTimeEntryConfirm:"Tem certeza de que deseja excluir este registro de tempo{duration}? Esta a\xE7\xE3o n\xE3o pode ser desfeita.",deleteButton:"Excluir",cancelButton:"Cancelar"}},basesCalendar:{title:"Calend\xE1rio de Bases",today:"Hoje",buttonText:{month:"M",week:"S",day:"D",year:"A",list:"L",customDays:"{count}D",listDays:"Lista {count}d",refresh:"Atualizar"},hints:{refresh:"Atualizar inscri\xE7\xF5es de calend\xE1rio"},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},groups:{dateNavigation:"Navega\xE7\xE3o de Data",events:"Eventos",layout:"Layout",propertyBasedEvents:"Eventos baseados em propriedade",calendarSubscriptions:"Inscri\xE7\xF5es de calend\xE1rio",googleCalendars:"Google Calendars",microsoftCalendars:"Microsoft Calendars"},dateNavigation:{navigateToDate:"Navegar para data",navigateToDatePlaceholder:"AAAA-MM-DD (ex: 2025-01-15) - deixe em branco para usar propriedade",navigateToDateFromProperty:"Navegar para data da propriedade",navigateToDateFromPropertyPlaceholder:"Selecione uma propriedade de data (opcional)",propertyNavigationStrategy:"Estrat\xE9gia de navega\xE7\xE3o da propriedade",strategies:{first:"Primeiro resultado",earliest:"Data mais antiga",latest:"Data mais recente"}},events:{showScheduledTasks:"Mostrar tarefas agendadas",showDueTasks:"Mostrar tarefas com vencimento",showRecurringTasks:"Mostrar tarefas recorrentes",showTimeEntries:"Mostrar registros de tempo",showTimeblocks:"Mostrar blocos de tempo",showPropertyBasedEvents:"Mostrar eventos baseados em propriedade"},layout:{calendarView:"Visualiza\xE7\xE3o do calend\xE1rio",customDayCount:"Contagem de dias personalizados",listDayCount:"Contagem de dias da lista",dayStartTime:"Hora de in\xEDcio do dia",dayStartTimePlaceholder:"HH:mm:ss (ex: 08:00:00)",dayEndTime:"Hora de t\xE9rmino do dia",dayEndTimePlaceholder:"HH:mm:ss (ex: 20:00:00)",timeSlotDuration:"Dura\xE7\xE3o do slot de tempo",timeSlotDurationPlaceholder:"HH:mm:ss (ex: 00:30:00)",weekStartsOn:"A semana come\xE7a em",showWeekNumbers:"Mostrar n\xFAmeros da semana",showNowIndicator:"Mostrar indicador 'agora'",showWeekends:"Mostrar fins de semana",showAllDaySlot:"Mostrar slot de dia inteiro",showTodayHighlight:"Mostrar destaque de hoje",showSelectionPreview:"Mostrar pr\xE9-visualiza\xE7\xE3o da sele\xE7\xE3o",timeFormat:"Formato da hora",timeFormat12:"12 horas (AM/PM)",timeFormat24:"24 horas",initialScrollTime:"Hora inicial de rolagem",initialScrollTimePlaceholder:"HH:mm:ss (ex: 08:00:00)",minimumEventHeight:"Altura m\xEDnima do evento (px)",slotEventOverlap:"Permitir sobreposi\xE7\xE3o de eventos",enableSearch:"Habilitar caixa de pesquisa",eventMaxStack:"M\xE1x. eventos empilhados (vista semana/dia, 0 = ilimitado)",dayMaxEvents:"M\xE1x. eventos por dia (vista m\xEAs, 0 = autom\xE1tico)",dayMaxEventRows:"M\xE1x. linhas de eventos por dia (vista m\xEAs, 0 = ilimitado)"},propertyBasedEvents:{startDateProperty:"Propriedade da data de in\xEDcio",startDatePropertyPlaceholder:"Selecione a propriedade para data/hora de in\xEDcio",endDateProperty:"Propriedade da data de t\xE9rmino (opcional)",endDatePropertyPlaceholder:"Selecione a propriedade para data/hora de t\xE9rmino",titleProperty:"Propriedade do t\xEDtulo (opcional)",titlePropertyPlaceholder:"Selecione a propriedade para o t\xEDtulo do evento"}},errors:{failedToInitialize:"Falha ao inicializar o calend\xE1rio"}},kanban:{title:"Kanban",newTask:"Nova tarefa",addCard:"+ Adicionar um cart\xE3o",noTasks:"Sem tarefas",uncategorized:"Sem categoria",noProject:"Sem Projeto",notices:{loadFailed:"Falha ao carregar o quadro Kanban",movedTask:'Tarefa movida para "{0}"'},errors:{loadingBoard:"Erro ao carregar o quadro.",noGroupBy:"A vista Kanban requer que uma propriedade 'Agrupar por' seja configurada. Clique no bot\xE3o 'Ordenar' e selecione uma propriedade em 'Agrupar por'."},columnTitle:"Sem t\xEDtulo"},pomodoro:{title:"Pomodoro",status:{focus:"Foco",ready:"Pronto para come\xE7ar",paused:"Pausado",working:"Trabalhando",shortBreak:"Pausa curta",longBreak:"Pausa longa",breakPrompt:"\xD3timo trabalho! Hora de uma pausa {length}",breakLength:{short:"curta",long:"longa"},breakComplete:"Pausa conclu\xEDda! Pronto para o pr\xF3ximo pomodoro?"},buttons:{start:"Iniciar",pause:"Pausar",stop:"Parar",resume:"Retomar",startShortBreak:"Iniciar Pausa Curta",startLongBreak:"Iniciar Pausa Longa",skipBreak:"Pular pausa",chooseTask:"Escolher tarefa...",changeTask:"Alterar tarefa...",clearTask:"Limpar tarefa",selectDifferentTask:"Selecionar uma tarefa diferente"},notices:{noTasks:"Nenhuma tarefa n\xE3o arquivada encontrada. Crie algumas tarefas primeiro.",loadFailed:"Falha ao carregar tarefas"},statsLabel:"conclu\xEDdos hoje"},pomodoroStats:{title:"Estat\xEDsticas Pomodoro",heading:"Estat\xEDsticas Pomodoro",refresh:"Atualizar",sections:{overview:"Vis\xE3o Geral",today:"Hoje",week:"Esta semana",allTime:"Todo o per\xEDodo",recent:"Sess\xF5es recentes"},overviewCards:{todayPomos:{label:"Pomos de Hoje",change:{more:"{count} a mais que ontem",less:"{count} a menos que ontem"}},totalPomos:{label:"Total de Pomos"},todayFocus:{label:"Foco de Hoje",change:{more:"{duration} a mais que ontem",less:"{duration} a menos que ontem"}},totalFocus:{label:"Dura\xE7\xE3o Total de Foco"}},stats:{pomodoros:"Pomodoros",streak:"Sequ\xEAncia",minutes:"Minutos",average:"Dura\xE7\xE3o m\xE9dia",completion:"Conclus\xE3o"},recents:{empty:"Nenhuma sess\xE3o registrada ainda",duration:"{minutes} min",status:{completed:"Conclu\xEDdo",interrupted:"Interrompido"}}},stats:{title:"Estat\xEDsticas",taskProjectStats:"Estat\xEDsticas de Tarefas e Projetos",sections:{filters:"Filtros",overview:"Vis\xE3o Geral",today:"Hoje",thisWeek:"Esta Semana",thisMonth:"Este M\xEAs",projectBreakdown:"Detalhamento por Projeto",dateRange:"Intervalo de Datas"},filters:{minTime:"Tempo m\xEDn. (minutos)",allTasks:"Todas as Tarefas",activeOnly:"Somente Ativas",completedOnly:"Somente Conclu\xEDdas"},refreshButton:"Atualizar",timeRanges:{allTime:"Todo o per\xEDodo",last7Days:"\xDAltimos 7 dias",last30Days:"\xDAltimos 30 dias",last90Days:"\xDAltimos 90 dias",customRange:"Intervalo Personalizado"},resetFiltersButton:"Redefinir Filtros",dateRangeFrom:"De",dateRangeTo:"At\xE9",noProject:"Sem Projeto",cards:{timeTrackedEstimated:"Tempo Rastreado / Estimado",totalTasks:"Total de Tarefas",completionRate:"Taxa de Conclus\xE3o",activeProjects:"Projetos Ativos",avgTimePerTask:"Tempo M\xE9dio por Tarefa"},labels:{tasks:"Tarefas",completed:"Conclu\xEDdas",projects:"Projetos"},noProjectData:"Nenhum dado de projeto dispon\xEDvel",notAvailable:"N/D",noTasks:"Nenhuma tarefa encontrada",loading:"Carregando..."},releaseNotes:{title:"O que h\xE1 de novo no TaskNotes {version}",header:"O que h\xE1 de novo no TaskNotes {version}",viewAllLink:"Ver todas as notas de lan\xE7amento no GitHub \u2192",starMessage:"Se voc\xEA acha o TaskNotes \xFAtil, por favor, considere dar uma estrela no GitHub"}},settings:{header:{documentation:"Documentation",documentationUrl:"https://tasknotes.dev"},tabs:{general:"Geral",taskProperties:"Propriedades da Tarefa",modalFields:"Campos do Modal",defaults:"Padr\xF5es e Modelos",appearance:"Apar\xEAncia e UI",features:"Recursos",integrations:"Integra\xE7\xF5es"},features:{inlineTasks:{header:"Tarefas Embutidas",description:"Configura\xE7\xF5es para links de tarefas e convers\xE3o de caixas de sele\xE7\xE3o em tarefas nas notas."},overlays:{taskLinkToggle:{name:"Sobreposi\xE7\xE3o de link de tarefa",description:"Mostrar sobreposi\xE7\xF5es interativas ao passar o mouse sobre links de tarefas"}},instantConvert:{toggle:{name:"Mostrar bot\xE3o de convers\xE3o ao lado de caixas de sele\xE7\xE3o",description:"Exibir um bot\xE3o embutido ao lado de caixas de sele\xE7\xE3o Markdown que as converte para TaskNotes"},folder:{name:"Pasta para tarefas convertidas",description:"Pasta onde tarefas convertidas de caixas de sele\xE7\xE3o ser\xE3o criadas. Deixe vazio para usar a pasta de tarefas padr\xE3o. Use {{currentNotePath}} para a pasta da nota atual, ou {{currentNoteTitle}} para uma subpasta com o t\xEDtulo da nota."}},nlp:{header:"Processamento de Linguagem Natural",description:"Analisa datas, prioridades e outras propriedades do texto inserido.",enable:{name:"Habilitar entrada de tarefa em linguagem natural",description:"Analisar datas de vencimento, prioridades e contextos da linguagem natural ao criar tarefas"},defaultToScheduled:{name:"Padr\xE3o para agendado",description:"Quando a NLP detectar uma data sem contexto, trat\xE1-la como agendada em vez de vencimento"},language:{name:"Idioma da NLP",description:"Idioma para padr\xF5es de processamento de linguagem natural e an\xE1lise de datas"},statusTrigger:{name:"Gatilho de sugest\xE3o de status",description:"Texto para acionar sugest\xF5es de status (deixe em branco para desativar)"}},pomodoro:{header:"Temporizador Pomodoro",description:"Configure intervalos de trabalho/pausa para o temporizador Pomodoro.",workDuration:{name:"Dura\xE7\xE3o do trabalho",description:"Dura\xE7\xE3o dos intervalos de trabalho em minutos"},shortBreak:{name:"Dura\xE7\xE3o da pausa curta",description:"Dura\xE7\xE3o das pausas curtas em minutos"},longBreak:{name:"Dura\xE7\xE3o da pausa longa",description:"Dura\xE7\xE3o das pausas longas em minutos"},longBreakInterval:{name:"Intervalo da pausa longa",description:"N\xFAmero de sess\xF5es de trabalho antes de uma pausa longa"},autoStartBreaks:{name:"Iniciar pausas automaticamente",description:"Iniciar automaticamente os temporizadores de pausa ap\xF3s as sess\xF5es de trabalho"},autoStartWork:{name:"Iniciar trabalho automaticamente",description:"Iniciar automaticamente as sess\xF5es de trabalho ap\xF3s as pausas"},notifications:{name:"Notifica\xE7\xF5es Pomodoro",description:"Mostrar notifica\xE7\xF5es quando as sess\xF5es Pomodoro terminarem"}},uiLanguage:{header:"Idioma da Interface",description:"Altere o idioma dos menus, avisos e visualiza\xE7\xF5es do TaskNotes.",dropdown:{name:"Idioma da UI",description:"Selecione o idioma usado para o texto da interface do TaskNotes"}},pomodoroSound:{enabledName:"Som ativado",enabledDesc:"Tocar som quando as sess\xF5es Pomodoro terminarem",volumeName:"Volume do som",volumeDesc:"Volume para sons Pomodoro (0-100)"},dataStorage:{name:"Armazenamento de dados Pomodoro",description:"Configure onde os dados da sess\xE3o pomodoro s\xE3o armazenados e como s\xE3o gerenciados.",dailyNotes:"Notas di\xE1rias",pluginData:"Dados do plugin",notices:{locationChanged:"Local de armazenamento Pomodoro alterado para {location}"}},notifications:{header:"Notifica\xE7\xF5es",description:"Configure notifica\xE7\xF5es de lembrete de tarefas e alertas.",enableName:"Ativar notifica\xE7\xF5es",enableDesc:"Ativar notifica\xE7\xF5es de lembrete de tarefas",typeName:"Tipo de notifica\xE7\xE3o",typeDesc:"Tipo de notifica\xE7\xF5es a serem mostradas",systemLabel:"Notifica\xE7\xF5es do sistema",inAppLabel:"Notifica\xE7\xF5es no aplicativo"},overdue:{hideCompletedName:"Ocultar tarefas conclu\xEDdas das atrasadas",hideCompletedDesc:"Excluir tarefas conclu\xEDdas dos c\xE1lculos de tarefas atrasadas"},indexing:{disableName:"Desativar indexa\xE7\xE3o de notas",disableDesc:"Desativar indexa\xE7\xE3o autom\xE1tica do conte\xFAdo das notas para melhor desempenho"},suggestions:{debounceName:"Debounce de sugest\xE3o",debounceDesc:"Atraso em milissegundos antes de mostrar sugest\xF5es"},timeTracking:{autoStopName:"Parar registro de tempo automaticamente",autoStopDesc:"Parar automaticamente o registro de tempo quando uma tarefa \xE9 marcada como conclu\xEDda",stopNotificationName:"Notifica\xE7\xE3o de parada de registro de tempo",stopNotificationDesc:"Mostrar notifica\xE7\xE3o quando o registro de tempo \xE9 parado automaticamente"},stopNotificationName:"Notifica\xE7\xE3o de parada de registro de tempo",stopNotificationDesc:"Mostrar notifica\xE7\xE3o quando o registro de tempo \xE9 parado automaticamente",recurring:{maintainOffsetName:"Manter deslocamento da data de vencimento em tarefas recorrentes",maintainOffsetDesc:"Manter o deslocamento entre a data de vencimento e a data agendada quando tarefas recorrentes s\xE3o conclu\xEDdas"},timeblocking:{header:"Bloco de Tempo",description:"Configure a funcionalidade de bloco de tempo para agendamento leve em notas di\xE1rias. Arraste nas visualiza\xE7\xF5es de calend\xE1rio para criar eventos - selecione 'Bloco de Tempo' no menu de contexto.",enableName:"Ativar bloco de tempo",enableDesc:"Ativar recurso de bloco de tempo para agendamento leve em notas di\xE1rias. Quando ativado, a op\xE7\xE3o 'Bloco de Tempo' aparece no menu de contexto de arrastar do calend\xE1rio.",showBlocksName:"Mostrar blocos de tempo",showBlocksDesc:"Exibir blocos de tempo de notas di\xE1rias por padr\xE3o",usage:"Uso: Arraste no calend\xE1rio para criar eventos. Selecione 'Bloco de Tempo' no menu de contexto (vis\xEDvel apenas quando o bloco de tempo est\xE1 ativado). Arraste para mover blocos de tempo existentes. Redimensione as bordas para ajustar a dura\xE7\xE3o."},performance:{header:"Desempenho e Comportamento",description:"Configure op\xE7\xF5es de desempenho e comportamento do plugin."},timeTrackingSection:{header:"Registro de Tempo",description:"Configure comportamentos autom\xE1ticos de registro de tempo."},recurringSection:{header:"Tarefas Recorrentes",description:"Configure o comportamento para gerenciamento de tarefas recorrentes."}},defaults:{header:{basicDefaults:"Padr\xF5es B\xE1sicos",dateDefaults:"Padr\xF5es de Data",defaultReminders:"Lembretes padr\xE3o",bodyTemplate:"Modelo de Corpo",instantTaskConversion:"Convers\xE3o Instant\xE2nea de Tarefa"},description:{basicDefaults:"Defina valores padr\xE3o para novas tarefas para acelerar a cria\xE7\xE3o de tarefas.",dateDefaults:"Defina datas de vencimento e agendadas padr\xE3o para novas tarefas.",defaultReminders:"Configure lembretes padr\xE3o que ser\xE3o adicionados a novas tarefas.",bodyTemplate:"Configure um arquivo de modelo para usar no conte\xFAdo de novas tarefas.",instantTaskConversion:"Configure o comportamento ao converter texto para tarefas instantaneamente."},basicDefaults:{defaultStatus:{name:"Status padr\xE3o",description:"Status padr\xE3o para novas tarefas"},defaultPriority:{name:"Prioridade padr\xE3o",description:"Prioridade padr\xE3o para novas tarefas"},defaultContexts:{name:"Contextos padr\xE3o",description:"Lista de contextos padr\xE3o separados por v\xEDrgula (ex: @casa, @trabalho)",placeholder:"@casa, @trabalho"},defaultTags:{name:"Tags padr\xE3o",description:"Lista de tags padr\xE3o separadas por v\xEDrgula (sem #)",placeholder:"importante, urgente"},defaultProjects:{name:"Projetos padr\xE3o",description:"Links de projetos padr\xE3o para novas tarefas",selectButton:"Selecionar Projetos",selectTooltip:"Escolher notas de projeto para vincular por padr\xE3o",removeTooltip:"Remover {name} dos projetos padr\xE3o"},useParentNoteAsProject:{name:"Usar nota pai como projeto durante a convers\xE3o instant\xE2nea",description:"Vincular automaticamente a nota pai como um projeto ao usar a convers\xE3o instant\xE2nea de tarefa"},defaultTimeEstimate:{name:"Estimativa de tempo padr\xE3o",description:"Estimativa de tempo padr\xE3o em minutos (0 = sem padr\xE3o)",placeholder:"60"},defaultRecurrence:{name:"Recorr\xEAncia padr\xE3o",description:"Padr\xE3o de recorr\xEAncia padr\xE3o para novas tarefas"}},dateDefaults:{defaultDueDate:{name:"Data de vencimento padr\xE3o",description:"Data de vencimento padr\xE3o para novas tarefas"},defaultScheduledDate:{name:"Data agendada padr\xE3o",description:"Data agendada padr\xE3o para novas tarefas"}},reminders:{addReminder:{name:"Adicionar lembrete padr\xE3o",description:"Criar um novo lembrete padr\xE3o que ser\xE1 adicionado a todas as novas tarefas",buttonText:"Adicionar lembrete"},emptyState:"Nenhum lembrete padr\xE3o configurado. Adicione um lembrete para notific\xE1-lo automaticamente sobre novas tarefas.",emptyStateButton:"Adicionar Lembrete",reminderDescription:"Descri\xE7\xE3o do lembrete",unnamedReminder:"Lembrete Sem Nome",deleteTooltip:"Excluir lembrete",fields:{description:"Descri\xE7\xE3o:",type:"Tipo:",offset:"Deslocamento:",unit:"Unidade:",direction:"Dire\xE7\xE3o:",relatedTo:"Relacionado a:",date:"Data:",time:"Hora:"},types:{relative:"Relativo (antes/depois das datas da tarefa)",absolute:"Absoluto (data/hora espec\xEDfica)"},units:{minutes:"minutos",hours:"horas",days:"dias"},directions:{before:"antes",after:"depois"},relatedTo:{due:"data de vencimento",scheduled:"data agendada"}},bodyTemplate:{useBodyTemplate:{name:"Usar modelo de corpo",description:"Usar um arquivo de modelo para o conte\xFAdo do corpo da tarefa"},bodyTemplateFile:{name:"Arquivo de modelo de corpo",description:"Caminho para o arquivo de modelo para o conte\xFAdo do corpo da tarefa. Suporta vari\xE1veis de modelo como {{title}}, {{date}}, {{time}}, {{priority}}, {{status}}, etc.",placeholder:"Modelos/Modelo de Tarefa.md",ariaLabel:"Caminho para o arquivo de modelo de corpo"},variablesHeader:"Vari\xE1veis de modelo:",variables:{title:"{{title}} - T\xEDtulo da tarefa",details:"{{details}} - Detalhes fornecidos pelo usu\xE1rio no modal",date:"{{date}} - Data atual (AAAA-MM-DD)",time:"{{time}} - Hora atual (HH:MM)",priority:"{{priority}} - Prioridade da tarefa",status:"{{status}} - Status da tarefa",contexts:"{{contexts}} - Contextos da tarefa",tags:"{{tags}} - Tags da tarefa",projects:"{{projects}} - Projetos da tarefa"}},instantConversion:{useDefaultsOnInstantConvert:{name:"Usar padr\xF5es de tarefa na convers\xE3o instant\xE2nea",description:"Aplicar configura\xE7\xF5es padr\xE3o de tarefa ao converter texto para tarefas instantaneamente"}},options:{noDefault:"Sem padr\xE3o",none:"Nenhum",today:"Hoje",tomorrow:"Amanh\xE3",nextWeek:"Pr\xF3xima semana",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",yearly:"Anualmente"}},general:{taskStorage:{header:"Armazenamento de Tarefas",description:"Configure onde as tarefas s\xE3o armazenadas e como s\xE3o identificadas.",defaultFolder:{name:"Pasta padr\xE3o de tarefas",description:"Local padr\xE3o para novas tarefas"},moveArchived:{name:"Mover tarefas arquivadas para pasta",description:"Mover automaticamente tarefas arquivadas para uma pasta de arquivo"},archiveFolder:{name:"Pasta de arquivo",description:"Pasta para onde mover tarefas quando arquivadas. Suporta vari\xE1veis de modelo como {{year}}, {{month}}, {{priority}}, etc."}},taskIdentification:{header:"Identifica\xE7\xE3o de Tarefa",description:"Escolha como o TaskNotes identifica notas como tarefas.",identifyBy:{name:"Identificar tarefas por",description:"Escolha se deseja identificar tarefas por tag ou por uma propriedade do frontmatter",options:{tag:"Tag",property:"Propriedade"}},taskTag:{name:"Tag da tarefa",description:"Tag que identifica notas como tarefas (sem #)"},hideIdentifyingTags:{name:"Ocultar tags de identifica\xE7\xE3o nos cart\xF5es de tarefa",description:"Quando ativado, tags correspondentes \xE0 tag de identifica\xE7\xE3o da tarefa (incluindo correspond\xEAncias hier\xE1rquicas como 'tarefa/projeto') ser\xE3o ocultadas das exibi\xE7\xF5es do cart\xE3o de tarefa"},taskProperty:{name:"Nome da propriedade da tarefa",description:'O nome da propriedade do frontmatter (ex: "categoria")'},taskPropertyValue:{name:"Valor da propriedade da tarefa",description:'O valor que identifica uma nota como uma tarefa (ex: "tarefa")'}},folderManagement:{header:"Gerenciamento de Pastas",excludedFolders:{name:"Pastas exclu\xEDdas",description:"Lista de pastas separadas por v\xEDrgula para excluir da indexa\xE7\xE3o de tarefas e sugest\xF5es de projetos"}},frontmatter:{header:"Frontmatter",description:"Configure como os links s\xE3o formatados nas propriedades do frontmatter.",useMarkdownLinks:{name:"Usar links markdown no frontmatter",description:`Gerar links markdown ([texto](caminho)) em vez de wikilinks ([[link]]) nas propriedades do frontmatter.
|
||
|
||
\u26A0\uFE0F Requer o plugin 'obsidian-frontmatter-markdown-links' para funcionar corretamente.`}},taskInteraction:{header:"Intera\xE7\xE3o com Tarefas",description:"Configure o comportamento ao clicar em tarefas.",singleClick:{name:"A\xE7\xE3o de clique \xFAnico",description:"A\xE7\xE3o realizada ao clicar uma vez em um cart\xE3o de tarefa"},doubleClick:{name:"A\xE7\xE3o de clique duplo",description:"A\xE7\xE3o realizada ao clicar duas vezes em um cart\xE3o de tarefa"},actions:{edit:"Editar tarefa",openNote:"Abrir nota",none:"Nenhuma a\xE7\xE3o"}},releaseNotes:{header:"Notas de Lan\xE7amento",description:"Vers\xE3o atual: {version}",showOnUpdate:{name:"Mostrar notas de lan\xE7amento ap\xF3s atualiza\xE7\xE3o",description:"Abrir automaticamente as notas de lan\xE7amento quando o TaskNotes for atualizado para uma nova vers\xE3o"},viewButton:{name:"Ver notas de lan\xE7amento",description:"Veja o que h\xE1 de novo na vers\xE3o mais recente do TaskNotes",buttonText:"Ver notas de lan\xE7amento"}}},taskProperties:{sections:{coreProperties:"Propriedades Principais",corePropertiesDesc:"Status e prioridade s\xE3o as propriedades principais que definem o estado e import\xE2ncia de uma tarefa.",dateProperties:"Propriedades de Data",datePropertiesDesc:"Configure quando as tarefas vencem e est\xE3o agendadas.",organizationProperties:"Propriedades de Organiza\xE7\xE3o",organizationPropertiesDesc:"Organize tarefas com contextos, projetos e tags.",taskDetails:"Detalhes da Tarefa",taskDetailsDesc:"Detalhes adicionais como estimativas de tempo, recorr\xEAncia e lembretes.",metadataProperties:"Propriedades de Metadados",metadataPropertiesDesc:"Propriedades gerenciadas pelo sistema para rastrear o hist\xF3rico de tarefas.",featureProperties:"Propriedades de Recursos",featurePropertiesDesc:"Propriedades usadas por recursos espec\xEDficos do TaskNotes como temporizador Pomodoro e sincroniza\xE7\xE3o de calend\xE1rio."},propertyCard:{propertyKey:"Chave da propriedade:",default:"Padr\xE3o:",nlpTrigger:"Gatilho NLP:",triggerChar:"Caractere gatilho:",triggerEmpty:"O gatilho n\xE3o pode estar vazio",triggerTooLong:"O gatilho \xE9 muito longo (m\xE1x. 10 caracteres)"},properties:{status:{name:"Status",description:"Rastreia o estado atual de uma tarefa (ex.: a fazer, em progresso, conclu\xEDdo). O status determina se uma tarefa aparece como conclu\xEDda e pode acionar o arquivamento autom\xE1tico."},priority:{name:"Prioridade",description:"Indica a import\xE2ncia da tarefa. Usado para ordena\xE7\xE3o e filtragem. Os valores s\xE3o ordenados alfabeticamente nas visualiza\xE7\xF5es Bases, ent\xE3o use prefixos como 1-, 2- para controlar a ordem."},due:{name:"Data de Vencimento",description:"O prazo at\xE9 o qual uma tarefa deve ser conclu\xEDda. Tarefas ap\xF3s a data de vencimento aparecem como atrasadas. Armazenado como data no frontmatter."},scheduled:{name:"Data Agendada",description:"Quando voc\xEA planeja trabalhar em uma tarefa. Diferente da data de vencimento, isso representa seu hor\xE1rio de in\xEDcio pretendido. As tarefas aparecem no calend\xE1rio na data/hora agendada."},contexts:{name:"Contextos",description:"Locais ou condi\xE7\xF5es onde uma tarefa pode ser feita (ex.: @casa, @escrit\xF3rio, @telefone). \xDAtil para filtrar tarefas pela sua situa\xE7\xE3o atual. Armazenado como lista."},projects:{name:"Projetos",description:"Links para notas de projeto \xE0s quais esta tarefa pertence. Armazenado como wikilinks (ex.: [[Nome do Projeto]]). As tarefas podem pertencer a m\xFAltiplos projetos."},tags:{name:"Tags",description:"Tags nativas do Obsidian para categorizar tarefas. S\xE3o armazenadas na propriedade tags do frontmatter e funcionam com os recursos de tags do Obsidian."},timeEstimate:{name:"Estimativa de Tempo",description:"Minutos estimados para concluir a tarefa. Usado para planejamento de tempo e carga de trabalho. Exibido em cart\xF5es de tarefas e eventos do calend\xE1rio."},recurrence:{name:"Recorr\xEAncia",description:"Padr\xE3o para tarefas repetitivas (di\xE1rio, semanal, mensal, anual ou RRULE personalizado). Quando uma tarefa recorrente \xE9 conclu\xEDda, sua data agendada \xE9 automaticamente atualizada para a pr\xF3xima ocorr\xEAncia."},recurrenceAnchor:{name:"\xC2ncora de recorr\xEAncia",description:"Controla como a pr\xF3xima ocorr\xEAncia \xE9 calculada: 'scheduled' usa a data agendada, 'completion' usa a data de conclus\xE3o real."},reminders:{name:"Lembretes",description:"Notifica\xE7\xF5es acionadas antes das datas de vencimento ou agendadas. Armazenado como lista de objetos de lembrete com hor\xE1rio e descri\xE7\xE3o opcional."},title:{name:"T\xEDtulo",description:"O nome da tarefa. Pode ser armazenado no frontmatter ou no nome do arquivo (quando 'Armazenar t\xEDtulo no nome do arquivo' est\xE1 habilitado)."},dateCreated:{name:"Data de Cria\xE7\xE3o",description:"Timestamp de quando a tarefa foi criada. Definido automaticamente e usado para ordena\xE7\xE3o por ordem de cria\xE7\xE3o."},dateModified:{name:"Data de Modifica\xE7\xE3o",description:"Timestamp da \xFAltima altera\xE7\xE3o na tarefa. Atualizado automaticamente quando qualquer propriedade da tarefa muda."},completedDate:{name:"Data de Conclus\xE3o",description:"Timestamp de quando a tarefa foi marcada como conclu\xEDda. Definido automaticamente quando o status muda para um estado conclu\xEDdo."},archiveTag:{name:"Tag de Arquivo",description:"Tag adicionada \xE0s tarefas quando arquivadas. Usada para identificar tarefas arquivadas e pode acionar a movimenta\xE7\xE3o de arquivos para a pasta de arquivo."},timeEntries:{name:"Entradas de Tempo",description:"Registros de sess\xF5es de rastreamento de tempo para esta tarefa. Cada entrada armazena timestamps de in\xEDcio e fim. Usado para calcular o tempo total gasto."},completeInstances:{name:"Inst\xE2ncias Conclu\xEDdas",description:"Hist\xF3rico de conclus\xE3o para tarefas recorrentes. Armazena as datas em que cada inst\xE2ncia foi conclu\xEDda para evitar conclus\xF5es duplicadas."},skippedInstances:{name:"Inst\xE2ncias Puladas",description:"Ocorr\xEAncias puladas para tarefas recorrentes. Armazena as datas de inst\xE2ncias que foram puladas em vez de conclu\xEDdas."},blockedBy:{name:"Bloqueada Por",description:"Links para tarefas que devem ser conclu\xEDdas antes desta. Armazenado como wikilinks. Tarefas bloqueadas exibem um indicador visual."},pomodoros:{name:"Pomodoros",description:"Contagem de sess\xF5es Pomodoro conclu\xEDdas. Quando o armazenamento de dados est\xE1 configurado para 'Notas di\xE1rias', isso \xE9 escrito nas notas di\xE1rias em vez dos arquivos de tarefa."},icsEventId:{name:"ID do Evento ICS",description:"Identificador \xFAnico vinculando uma nota a um evento de calend\xE1rio ICS. Adicionado automaticamente ao criar notas a partir de eventos de calend\xE1rio."},icsEventTag:{name:"Tag de Evento ICS",description:"Tag identificando notas criadas a partir de eventos de calend\xE1rio ICS. Usada para distinguir notas geradas pelo calend\xE1rio de tarefas regulares."}},statusCard:{valuesHeader:"Valores de Status"},priorityCard:{valuesHeader:"Valores de Prioridade"},projectsCard:{defaultProjects:"Projetos padr\xE3o:",useParentNote:"Usar nota pai como projeto:",noDefaultProjects:"Nenhum projeto padr\xE3o selecionado",autosuggestFilters:"Filtros de Autosugest\xE3o",customizeDisplay:"Personalizar Exibi\xE7\xE3o",filtersOn:"Filtros Ativos"},titleCard:{storeTitleInFilename:"Armazenar t\xEDtulo no nome do arquivo:",storedInFilename:"Armazenado no nome do arquivo",filenameUpdatesWithTitle:"O nome do arquivo ser\xE1 atualizado automaticamente quando o t\xEDtulo da tarefa mudar.",filenameFormat:"Formato do nome do arquivo:",customTemplate:"Modelo personalizado:"},tagsCard:{nativeObsidianTags:"Usa tags nativas do Obsidian"},remindersCard:{defaultReminders:"Lembretes Padr\xE3o"},taskStatuses:{header:"Status da Tarefa",description:"Personalize as op\xE7\xF5es de status dispon\xEDveis para suas tarefas. Esses status controlam o ciclo de vida da tarefa e determinam quando as tarefas s\xE3o consideradas conclu\xEDdas.",howTheyWork:{title:"Como os status funcionam:",value:'Valor: O identificador interno armazenado em seus arquivos de tarefa (ex: "em-progresso")',label:'R\xF3tulo: O nome de exibi\xE7\xE3o mostrado na interface (ex: "Em Progresso")',color:"Cor: Cor do indicador visual para o ponto de status e emblemas",icon:'\xCDcone: Nome de \xEDcone Lucide opcional para exibir em vez do ponto colorido (ex: "check", "circle", "clock"). Navegue pelos \xEDcones em lucide.dev',completed:"Conclu\xEDdo: Quando marcado, tarefas com este status s\xE3o consideradas finalizadas e podem ser filtradas de forma diferente",autoArchive:"Arquivar automaticamente: Quando ativado, as tarefas ser\xE3o automaticamente arquivadas ap\xF3s o atraso especificado (1-1440 minutos)",orderNote:"A ordem abaixo determina a sequ\xEAncia ao alternar entre os status clicando nos emblemas de status da tarefa."},addNew:{name:"Adicionar novo status",description:"Criar uma nova op\xE7\xE3o de status para suas tarefas",buttonText:"Adicionar status"},validationNote:'Nota: Voc\xEA deve ter pelo menos 2 status, e pelo menos um status deve ser marcado como "Conclu\xEDdo".',emptyState:"Nenhum status personalizado configurado. Adicione um status para come\xE7ar.",emptyStateButton:"Adicionar Status",fields:{value:"Valor:",label:"R\xF3tulo:",color:"Cor:",icon:"\xCDcone:",completed:"Conclu\xEDdo:",autoArchive:"Arquivar auto.:",delayMinutes:"Atraso (minutos):"},placeholders:{value:"em-progresso",label:"Em Progresso",icon:"check, circle, clock"},badges:{completed:"Conclu\xEDdo"},deleteConfirm:'Tem certeza de que deseja excluir o status "{label}"?'},taskPriorities:{header:"Prioridades da Tarefa",description:"Personalize os n\xEDveis de prioridade dispon\xEDveis para suas tarefas. Na v4.0+, as prioridades s\xE3o ordenadas alfabeticamente pelo seu valor nas visualiza\xE7\xF5es de Bases.",howTheyWork:{title:"Como as prioridades funcionam:",value:'Valor: O identificador interno armazenado em seus arquivos de tarefa. Use prefixos como "1-urgente", "2-alta" para controlar a ordem de classifica\xE7\xE3o nas visualiza\xE7\xF5es de Bases.',label:'R\xF3tulo de Exibi\xE7\xE3o: O nome de exibi\xE7\xE3o mostrado na interface (ex: "Prioridade Alta")',color:"Cor: Cor do indicador visual para o ponto de prioridade e emblemas",weight:"Peso: Valor num\xE9rico para classifica\xE7\xE3o (pesos maiores aparecem primeiro nas listas)",weightNote:"As tarefas s\xE3o automaticamente classificadas pelo peso da prioridade em ordem decrescente (maior peso primeiro). Os pesos podem ser qualquer n\xFAmero positivo."},addNew:{name:"Adicionar nova prioridade",description:"Criar um novo n\xEDvel de prioridade para suas tarefas",buttonText:"Adicionar prioridade"},validationNote:"Nota: Voc\xEA deve ter pelo menos 1 prioridade. As prioridades s\xE3o ordenadas alfabeticamente por valor nas visualiza\xE7\xF5es de Bases.",emptyState:"Nenhuma prioridade personalizada configurada. Adicione uma prioridade para come\xE7ar.",emptyStateButton:"Adicionar Prioridade",fields:{value:"Valor:",label:"R\xF3tulo:",color:"Cor:",weight:"Peso:"},placeholders:{value:"alta",label:"Prioridade Alta"},weightLabel:"Peso: {weight}",deleteConfirm:"Voc\xEA deve ter pelo menos uma prioridade",deleteTooltip:"Excluir prioridade"},fieldMapping:{header:"Mapeamento de Campos",warning:"\u26A0\uFE0F Aviso: O TaskNotes ler\xE1 E escrever\xE1 usando esses nomes de propriedade. Alter\xE1-los ap\xF3s criar tarefas pode causar inconsist\xEAncias.",description:"Configure quais propriedades do frontmatter o TaskNotes deve usar para cada campo.",resetButton:{name:"Redefinir mapeamentos de campos",description:"Redefinir todos os mapeamentos de campos para os valores padr\xE3o",buttonText:"Redefinir para Padr\xF5es"},notices:{resetSuccess:"Mapeamentos de campos redefinidos para os padr\xF5es",resetFailure:"Falha ao redefinir mapeamentos de campos",updateFailure:"Falha ao atualizar o mapeamento de campo para {label}. Por favor, tente novamente."},table:{fieldHeader:"Campo do TaskNotes",propertyHeader:"Seu nome de propriedade"},fields:{title:"T\xEDtulo",status:"Status",priority:"Prioridade",due:"Data de vencimento",scheduled:"Data agendada",contexts:"Contextos",projects:"Projetos",timeEstimate:"Estimativa de tempo",recurrence:"Recorr\xEAncia",dateCreated:"Data de cria\xE7\xE3o",completedDate:"Data de conclus\xE3o",dateModified:"Data de modifica\xE7\xE3o",archiveTag:"Tag de arquivamento",timeEntries:"Registros de tempo",completeInstances:"Inst\xE2ncias conclu\xEDdas",blockedBy:"Bloqueada por",pomodoros:"Pomodoros",icsEventId:"ID do Evento ICS",icsEventTag:"Tag do Evento ICS",reminders:"Lembretes"}},customUserFields:{header:"Campos de Usu\xE1rio Personalizados",description:"Defina propriedades de frontmatter personalizadas para aparecerem como op\xE7\xF5es de filtro com reconhecimento de tipo nas visualiza\xE7\xF5es. Cada linha: Nome de Exibi\xE7\xE3o, Nome da Propriedade, Tipo.",addNew:{name:"Adicionar novo campo de usu\xE1rio",description:"Criar um novo campo personalizado que aparecer\xE1 em filtros e visualiza\xE7\xF5es",buttonText:"Adicionar campo de usu\xE1rio"},emptyState:"Nenhum campo de usu\xE1rio personalizado configurado. Adicione um campo para criar propriedades personalizadas para suas tarefas.",emptyStateButton:"Adicionar Campo de Usu\xE1rio",fields:{displayName:"Nome de Exibi\xE7\xE3o:",propertyKey:"Chave da Propriedade:",type:"Tipo:",defaultValue:"Valor Padr\xE3o:"},placeholders:{displayName:"Nome de Exibi\xE7\xE3o",propertyKey:"nome-da-propriedade",defaultValue:"Valor padr\xE3o",defaultValueList:"Valores padr\xE3o (separados por v\xEDrgula)"},types:{text:"Texto",number:"N\xFAmero",boolean:"Booleano",date:"Data",list:"Lista"},defaultNames:{unnamedField:"Campo Sem Nome",noKey:"sem-chave"},deleteTooltip:"Excluir campo",autosuggestFilters:{header:"Filtros de autossugest\xE3o (Avan\xE7ado)",description:"Filtre quais arquivos aparecem nas sugest\xF5es de preenchimento autom\xE1tico para este campo"}}},appearance:{taskCards:{header:"Cart\xF5es de Tarefa",description:"Configure como os cart\xF5es de tarefa s\xE3o exibidos em todas as visualiza\xE7\xF5es.",defaultVisibleProperties:{name:"Propriedades vis\xEDveis padr\xE3o",description:"Escolha quais propriedades aparecem nos cart\xF5es de tarefa por padr\xE3o."},propertyGroups:{coreProperties:"PROPRIEDADES PRINCIPAIS",organization:"ORGANIZA\xC7\xC3O",customProperties:"PROPRIEDADES PERSONALIZADAS"},properties:{status:"Ponto de Status",priority:"Ponto de Prioridade",due:"Data de Vencimento",scheduled:"Data Agendada",timeEstimate:"Estimativa de Tempo",totalTrackedTime:"Tempo Total Registrado",recurrence:"Recorr\xEAncia",completedDate:"Data de Conclus\xE3o",createdDate:"Data de Cria\xE7\xE3o",modifiedDate:"Data de Modifica\xE7\xE3o",projects:"Projetos",contexts:"Contextos",tags:"Tags",blocked:"Bloqueada",blocking:"Bloqueando"}},taskFilenames:{header:"Nomes de Arquivo de Tarefa",description:"Configure como os arquivos de tarefa s\xE3o nomeados quando criados.",storeTitleInFilename:{name:"Armazenar t\xEDtulo no nome do arquivo",description:"Usar o t\xEDtulo da tarefa como nome do arquivo. O nome do arquivo ser\xE1 atualizado quando o t\xEDtulo da tarefa for alterado (Recomendado)."},filenameFormat:{name:"Formato do nome do arquivo",description:"Como os nomes dos arquivos de tarefa devem ser gerados",options:{title:"T\xEDtulo da tarefa (N\xE3o atualiza)",zettel:"Formato Zettelkasten (AAMMDD + segundos base36 desde a meia-noite)",timestamp:"Timestamp completo (AAAA-MM-DD-HHMMSS)",custom:"Modelo personalizado"}},customTemplate:{name:"Modelo de nome de arquivo personalizado",description:"Modelo para nomes de arquivo personalizados. Vari\xE1veis dispon\xEDveis: {title}, {titleLower}, {titleUpper}, {titleSnake}, {titleKebab}, {titleCamel}, {titlePascal}, {date}, {shortDate}, {time}, {time12}, {time24}, {timestamp}, {dateTime}, {year}, {month}, {monthName}, {monthNameShort}, {day}, {dayName}, {dayNameShort}, {hour}, {hour12}, {minute}, {second}, {milliseconds}, {ms}, {ampm}, {week}, {quarter}, {unix}, {unixMs}, {timezone}, {timezoneShort}, {utcOffset}, {utcOffsetShort}, {utcZ}, {zettel}, {nano}, {priority}, {priorityShort}, {status}, {statusShort}, {dueDate}, {scheduledDate}",placeholder:"{date}-{title}-{dueDate}",helpText:"Nota: {dueDate} e {scheduledDate} est\xE3o no formato AAAA-MM-DD e estar\xE3o vazios se n\xE3o forem definidos."}},displayFormatting:{header:"Formata\xE7\xE3o de Exibi\xE7\xE3o",description:"Configure como datas, horas e outros dados s\xE3o exibidos em todo o plugin.",timeFormat:{name:"Formato da hora",description:"Exibir hora no formato de 12 horas ou 24 horas em todo o plugin",options:{twelveHour:"12 horas (AM/PM)",twentyFourHour:"24 horas"}}},calendarView:{header:"Visualiza\xE7\xE3o de Calend\xE1rio",description:"Personalize a apar\xEAncia e o comportamento da visualiza\xE7\xE3o de calend\xE1rio.",defaultView:{name:"Visualiza\xE7\xE3o padr\xE3o",description:"A visualiza\xE7\xE3o de calend\xE1rio mostrada ao abrir a aba de calend\xE1rio",options:{monthGrid:"Grade Mensal",weekTimeline:"Linha do Tempo Semanal",dayTimeline:"Linha do Tempo Di\xE1ria",yearView:"Visualiza\xE7\xE3o Anual",customMultiDay:"V\xE1rios Dias Personalizado"}},customDayCount:{name:"Contagem de dias da visualiza\xE7\xE3o personalizada",description:"N\xFAmero de dias para mostrar na visualiza\xE7\xE3o personalizada de v\xE1rios dias",placeholder:"3"},firstDayOfWeek:{name:"Primeiro dia da semana",description:"Qual dia deve ser a primeira coluna nas visualiza\xE7\xF5es de semana"},showWeekends:{name:"Mostrar fins de semana",description:"Exibir fins de semana nas visualiza\xE7\xF5es de calend\xE1rio"},showWeekNumbers:{name:"Mostrar n\xFAmeros da semana",description:"Exibir n\xFAmeros da semana nas visualiza\xE7\xF5es de calend\xE1rio"},showTodayHighlight:{name:"Mostrar destaque de hoje",description:"Destacar o dia atual nas visualiza\xE7\xF5es de calend\xE1rio"},showCurrentTimeIndicator:{name:"Mostrar indicador de hora atual",description:"Exibir uma linha mostrando a hora atual nas visualiza\xE7\xF5es de linha do tempo"},selectionMirror:{name:"Espelho de sele\xE7\xE3o",description:"Mostrar uma pr\xE9-visualiza\xE7\xE3o visual ao arrastar para selecionar intervalos de tempo"},calendarLocale:{name:"Localidade do calend\xE1rio",description:'Localidade do calend\xE1rio para formata\xE7\xE3o de data e sistema de calend\xE1rio (ex: "pt-br", "en", "fa" para Farsi/Persa, "de" para Alem\xE3o). Deixe em branco para detectar automaticamente do navegador.',placeholder:"Autodetectar",invalidLocale:"Localidade inv\xE1lida. Por favor, insira um c\xF3digo de idioma v\xE1lido (ex: 'pt-BR', 'en', 'fr-FR')."}},defaultEventVisibility:{header:"Visibilidade Padr\xE3o de Eventos",description:"Configure quais tipos de eventos s\xE3o vis\xEDveis por padr\xE3o ao abrir o Calend\xE1rio. Os usu\xE1rios ainda podem ativ\xE1-los/desativ\xE1-los na visualiza\xE7\xE3o de calend\xE1rio.",showScheduledTasks:{name:"Mostrar tarefas agendadas",description:"Exibir tarefas com datas agendadas por padr\xE3o"},showDueDates:{name:"Mostrar datas de vencimento",description:"Exibir datas de vencimento de tarefas por padr\xE3o"},showDueWhenScheduled:{name:"Mostrar datas de vencimento quando agendadas",description:"Exibir datas de vencimento mesmo para tarefas que j\xE1 t\xEAm datas agendadas"},showTimeEntries:{name:"Mostrar registros de tempo",description:"Exibir entradas de registro de tempo conclu\xEDdas por padr\xE3o"},showRecurringTasks:{name:"Mostrar tarefas recorrentes",description:"Exibir inst\xE2ncias de tarefas recorrentes por padr\xE3o"},showICSEvents:{name:"Mostrar eventos ICS",description:"Exibir eventos de inscri\xE7\xF5es ICS por padr\xE3o"}},timeSettings:{header:"Configura\xE7\xF5es de Hora",description:"Configure as configura\xE7\xF5es de exibi\xE7\xE3o relacionadas ao tempo para visualiza\xE7\xF5es de linha do tempo.",timeSlotDuration:{name:"Dura\xE7\xE3o do slot de tempo",description:"Dura\xE7\xE3o de cada slot de tempo nas visualiza\xE7\xF5es de linha do tempo",options:{fifteenMinutes:"15 minutos",thirtyMinutes:"30 minutos",sixtyMinutes:"60 minutos"}},startTime:{name:"Hora de in\xEDcio",description:"Hora mais cedo mostrada nas visualiza\xE7\xF5es de linha do tempo (formato HH:MM)",placeholder:"06:00"},endTime:{name:"Hora de t\xE9rmino",description:"Hora mais tarde mostrada nas visualiza\xE7\xF5es de linha do tempo (formato HH:MM)",placeholder:"22:00"},initialScrollTime:{name:"Hora inicial de rolagem",description:"Hora para rolar ao abrir visualiza\xE7\xF5es de linha do tempo (formato HH:MM)",placeholder:"09:00"},eventMinHeight:{name:"Altura m\xEDnima do evento",description:"Altura m\xEDnima para eventos em visualiza\xE7\xF5es de linha do tempo (pixels)",placeholder:"15"}},uiElements:{header:"Elementos da UI",description:"Configure a exibi\xE7\xE3o de v\xE1rios elementos da UI.",showTrackedTasksInStatusBar:{name:"Mostrar tarefas rastreadas na barra de status",description:"Exibir tarefas atualmente rastreadas na barra de status do Obsidian"},showProjectSubtasksWidget:{name:"Mostrar widget de subtarefas do projeto",description:"Exibir um widget mostrando subtarefas para a nota do projeto atual"},projectSubtasksPosition:{name:"Posi\xE7\xE3o das subtarefas do projeto",description:"Onde posicionar o widget de subtarefas do projeto",options:{top:"Topo da nota",bottom:"Fundo da nota"}},showRelationshipsWidget:{name:"Mostrar widget de relacionamentos",description:"Exibir um widget mostrando todos os relacionamentos da nota atual (subtarefas, projetos, depend\xEAncias)"},relationshipsPosition:{name:"Posi\xE7\xE3o dos relacionamentos",description:"Onde posicionar o widget de relacionamentos",options:{top:"Topo da nota",bottom:"Final da nota"}},showTaskCardInNote:{name:"Mostrar cart\xE3o de tarefa na nota",description:"Exibir um widget de cart\xE3o de tarefa no topo das notas de tarefa mostrando os detalhes da tarefa e a\xE7\xF5es"},showExpandableSubtasks:{name:"Mostrar subtarefas expans\xEDveis",description:"Permitir expandir/recolher se\xE7\xF5es de subtarefas nos cart\xF5es de tarefa"},subtaskChevronPosition:{name:"Posi\xE7\xE3o do chevron de subtarefa",description:"Posi\xE7\xE3o dos chevrons de expandir/recolher nos cart\xF5es de tarefa",options:{left:"Lado esquerdo",right:"Lado direito"}},viewsButtonAlignment:{name:"Alinhamento do bot\xE3o de visualiza\xE7\xF5es",description:"Alinhamento do bot\xE3o de visualiza\xE7\xF5es/filtros na interface de tarefas",options:{left:"Lado esquerdo",right:"Lado direito"}}},projectAutosuggest:{header:"Autossugest\xE3o de Projeto",description:"Personalize como as sugest\xF5es de projeto s\xE3o exibidas durante a cria\xE7\xE3o da tarefa.",requiredTags:{name:"Tags obrigat\xF3rias",description:"Mostrar apenas notas com qualquer uma destas tags (separadas por v\xEDrgula). Deixe em branco para mostrar todas as notas.",placeholder:"projeto, ativo, importante"},includeFolders:{name:"Incluir pastas",description:"Mostrar apenas notas nestas pastas (caminhos separados por v\xEDrgula). Deixe em branco para mostrar todas as pastas.",placeholder:"Projetos/, Trabalho/Ativo, Pessoal"},requiredPropertyKey:{name:"Chave de propriedade obrigat\xF3ria",description:"Mostrar apenas notas onde esta propriedade do frontmatter corresponde ao valor abaixo. Deixe em branco para ignorar.",placeholder:"tipo"},requiredPropertyValue:{name:"Valor da propriedade obrigat\xF3ria",description:"Apenas notas onde a propriedade \xE9 igual a este valor s\xE3o sugeridas. Deixe em branco para exigir que a propriedade exista.",placeholder:"projeto"},customizeDisplay:{name:"Personalizar exibi\xE7\xE3o de sugest\xE3o",description:"Mostrar op\xE7\xF5es avan\xE7adas para configurar como as sugest\xF5es de projeto aparecem e quais informa\xE7\xF5es elas exibem."},enableFuzzyMatching:{name:"Ativar correspond\xEAncia difusa (fuzzy matching)",description:"Permitir erros de digita\xE7\xE3o e correspond\xEAncias parciais na busca de projetos. Pode ser mais lento em cofres grandes."},displayRowsHelp:"Configure at\xE9 3 linhas de informa\xE7\xE3o para mostrar para cada sugest\xE3o de projeto.",displayRows:{row1:{name:"Linha 1",description:"Formato: {propriedade|flags}. Propriedades: title, aliases, file.path, file.parent. Flags: n(R\xF3tulo) mostra r\xF3tulo, s torna pesquis\xE1vel. Exemplo: {title|n(T\xEDtulo)|s}",placeholder:"{title|n(T\xEDtulo)}"},row2:{name:"Linha 2 (opcional)",description:"Padr\xF5es comuns: {aliases|n(Apelidos)}, {file.parent|n(Pasta)}, literal:Texto Personalizado",placeholder:"{aliases|n(Apelidos)}"},row3:{name:"Linha 3 (opcional)",description:"Informa\xE7\xF5es adicionais como {file.path|n(Caminho)} ou campos de frontmatter personalizados",placeholder:"{file.path|n(Caminho)}"}},quickReference:{header:"Refer\xEAncia R\xE1pida",properties:"Propriedades dispon\xEDveis: title, aliases, file.path, file.parent, ou qualquer campo do frontmatter",labels:'Adicionar r\xF3tulos: {title|n(T\xEDtulo)} \u2192 "T\xEDtulo: Meu Projeto"',searchable:"Tornar pesquis\xE1vel: {description|s} inclui descri\xE7\xE3o na busca +",staticText:"Texto est\xE1tico: literal:Meu R\xF3tulo Personalizado",alwaysSearchable:"Nome do arquivo, t\xEDtulo e apelidos s\xE3o sempre pesquis\xE1veis por padr\xE3o."}},dataStorage:{name:"Local de Armazenamento",description:"Onde armazenar o hist\xF3rico de sess\xF5es Pomodoro",pluginData:"Dados do plugin (recomendado)",dailyNotes:"Notas Di\xE1rias",notices:{locationChanged:"Local de armazenamento Pomodoro alterado para {location}"}},notifications:{description:"Configure notifica\xE7\xF5es de lembrete de tarefas e alertas."},performance:{description:"Configure op\xE7\xF5es de desempenho e comportamento do plugin."},timeTrackingSection:{description:"Configure comportamentos autom\xE1ticos de registro de tempo."},recurringSection:{description:"Configure o comportamento para gerenciamento de tarefas recorrentes."}},integrations:{basesIntegration:{header:"Integra\xE7\xE3o com Bases",description:"Configure a integra\xE7\xE3o com o plugin Obsidian Bases. Este \xE9 um recurso experimental e atualmente depende de APIs n\xE3o documentadas do Obsidian. O comportamento pode mudar ou quebrar.",enable:{name:"Ativar integra\xE7\xE3o com Bases",description:"Permitir que as visualiza\xE7\xF5es do TaskNotes sejam usadas dentro do plugin Obsidian Bases. O plugin Bases deve estar ativado para que isso funcione."},viewCommands:{header:"Visualiza\xE7\xF5es e arquivos base",description:"O TaskNotes usa arquivos do Obsidian Bases (.base) para suas visualiza\xE7\xF5es. Esses arquivos s\xE3o gerados automaticamente na inicializa\xE7\xE3o se n\xE3o existirem, configurados com suas defini\xE7\xF5es atuais (identifica\xE7\xE3o de tarefas, mapeamento de campos, status, etc.).",descriptionRegen:'Os arquivos base n\xE3o s\xE3o atualizados automaticamente quando voc\xEA altera as configura\xE7\xF5es. Para aplicar novas configura\xE7\xF5es, exclua os arquivos .base existentes e reinicie o Obsidian, use "Criar arquivos" abaixo ou edite-os manualmente.',docsLink:"Ver documenta\xE7\xE3o para f\xF3rmulas dispon\xEDveis e op\xE7\xF5es de personaliza\xE7\xE3o",docsLinkUrl:"https://tasknotes.dev/views/default-base-templates",commands:{miniCalendar:"Abrir visualiza\xE7\xE3o de mini calend\xE1rio",kanban:"Abrir visualiza\xE7\xE3o kanban",tasks:"Abrir visualiza\xE7\xE3o de tarefas",advancedCalendar:"Abrir visualiza\xE7\xE3o de calend\xE1rio avan\xE7ado",agenda:"Abrir visualiza\xE7\xE3o de agenda",relationships:"Widget de relacionamentos"},fileLabel:"Arquivo: {path}",resetButton:"Redefinir",resetTooltip:"Redefinir para caminho padr\xE3o"},createDefaultFiles:{name:"Criar arquivos padr\xE3o",description:"Crie os arquivos .base padr\xE3o no diret\xF3rio TaskNotes/Views/. Os arquivos existentes n\xE3o ser\xE3o sobrescritos.",buttonText:"Criar arquivos"},exportV3Views:{name:"Exportar visualiza\xE7\xF5es salvas V3 para Bases",description:"Converta todas as suas visualiza\xE7\xF5es salvas do TaskNotes v3 em um \xFAnico arquivo .base com m\xFAltiplas visualiza\xE7\xF5es. Isso ajuda a migrar suas configura\xE7\xF5es de filtro v3 para o novo sistema de Bases.",buttonText:"Exportar visualiza\xE7\xF5es V3",noViews:"Nenhuma visualiza\xE7\xE3o salva para exportar",fileExists:"O arquivo j\xE1 existe",confirmOverwrite:'Um arquivo chamado "{fileName}" j\xE1 existe. Sobrescrever?',success:"Exportadas {count} visualiza\xE7\xF5es salvas para {filePath}",error:"Falha ao exportar visualiza\xE7\xF5es: {message}"},notices:{enabled:"Integra\xE7\xE3o com Bases ativada. Por favor, reinicie o Obsidian para completar a configura\xE7\xE3o.",disabled:"Integra\xE7\xE3o com Bases desativada. Por favor, reinicie o Obsidian para completar a remo\xE7\xE3o."}},calendarSubscriptions:{header:"Inscri\xE7\xF5es de calend\xE1rio",description:"Inscreva-se em calend\xE1rios externos via URLs ICS/iCal para ver eventos ao lado de suas tarefas.",defaultNoteTemplate:{name:"Modelo de nota padr\xE3o",description:"Caminho para o arquivo de modelo para notas criadas a partir de eventos ICS",placeholder:"Modelos/Modelo de Evento.md"},defaultNoteFolder:{name:"Pasta de notas padr\xE3o",description:"Pasta para notas criadas a partir de eventos ICS",placeholder:"Calend\xE1rio/Eventos"},filenameFormat:{name:"Formato de nome de arquivo da nota ICS",description:"Como os nomes dos arquivos s\xE3o gerados para notas criadas a partir de eventos ICS",options:{title:"T\xEDtulo do evento",zettel:"Formato Zettelkasten",timestamp:"Timestamp",custom:"Modelo personalizado"}},customTemplate:{name:"Modelo de nome de arquivo ICS personalizado",description:"Modelo para nomes de arquivo de eventos ICS personalizados",placeholder:"{date}-{title}"}},subscriptionsList:{header:"Lista de inscri\xE7\xF5es de calend\xE1rio",addSubscription:{name:"Adicionar Inscri\xE7\xE3o de Calend\xE1rio",description:"Adicionar uma nova inscri\xE7\xE3o de calend\xE1rio de URL ICS/iCal ou arquivo local",buttonText:"Adicionar Inscri\xE7\xE3o"},refreshAll:{name:"Atualizar todas as inscri\xE7\xF5es",description:"Atualizar manualmente todas as inscri\xE7\xF5es de calend\xE1rio ativadas",buttonText:"Atualizar Todas"},newCalendarName:"Novo Calend\xE1rio",emptyState:"Nenhuma inscri\xE7\xE3o de calend\xE1rio configurada. Adicione uma inscri\xE7\xE3o para sincronizar calend\xE1rios externos.",notices:{addSuccess:"Nova inscri\xE7\xE3o de calend\xE1rio adicionada - por favor, configure os detalhes",addFailure:"Falha ao adicionar inscri\xE7\xE3o",serviceUnavailable:"Servi\xE7o de inscri\xE7\xE3o ICS n\xE3o dispon\xEDvel",refreshSuccess:"Todas as inscri\xE7\xF5es de calend\xE1rio atualizadas com sucesso",refreshFailure:"Falha ao atualizar algumas inscri\xE7\xF5es de calend\xE1rio",updateFailure:"Falha ao atualizar inscri\xE7\xE3o",deleteSuccess:'Inscri\xE7\xE3o "{name}" exclu\xEDda',deleteFailure:"Falha ao excluir inscri\xE7\xE3o",enableFirst:"Ative a inscri\xE7\xE3o primeiro",refreshSubscriptionSuccess:'"{name}" atualizado',refreshSubscriptionFailure:"Falha ao atualizar inscri\xE7\xE3o"},labels:{enabled:"Ativado:",name:"Nome:",type:"Tipo:",url:"URL:",filePath:"Caminho do Arquivo:",color:"Cor:",refreshMinutes:"Atualizar (min):"},typeOptions:{remote:"URL Remota",local:"Arquivo Local"},placeholders:{calendarName:"Nome do calend\xE1rio",url:"URL ICS/iCal",filePath:"Caminho do arquivo local (ex: Calendario.ics)",localFile:"Calendario.ics"},statusLabels:{enabled:"Ativado",disabled:"Desativado",remote:"Remoto",localFile:"Arquivo Local",remoteCalendar:"Calend\xE1rio Remoto",localFileCalendar:"Arquivo Local",synced:"Sincronizado {timeAgo}",error:"Erro"},actions:{refreshNow:"Atualizar Agora",deleteSubscription:"Excluir inscri\xE7\xE3o"},refreshNow:"Atualizar Agora",confirmDelete:{title:"Excluir Inscri\xE7\xE3o",message:'Tem certeza de que deseja excluir a inscri\xE7\xE3o "{name}"? Esta a\xE7\xE3o n\xE3o pode ser desfeita.',confirmText:"Excluir"}},autoExport:{header:"Exporta\xE7\xE3o autom\xE1tica de ICS",description:"Exportar automaticamente todas as suas tarefas para um arquivo ICS.",enable:{name:"Ativar exporta\xE7\xE3o autom\xE1tica",description:"Manter automaticamente um arquivo ICS atualizado com todas as suas tarefas"},filePath:{name:"Caminho do arquivo de exporta\xE7\xE3o",description:"Caminho onde o arquivo ICS ser\xE1 salvo (relativo \xE0 raiz do cofre)",placeholder:"tasknotes-calendar.ics"},interval:{name:"Intervalo de atualiza\xE7\xE3o (entre 5 e 1440 minutos)",description:"Com que frequ\xEAncia atualizar o arquivo de exporta\xE7\xE3o",placeholder:"60"},exportNow:{name:"Exportar agora",description:"Acionar manualmente uma exporta\xE7\xE3o imediata",buttonText:"Exportar Agora"},status:{title:"Status da Exporta\xE7\xE3o:",lastExport:"\xDAltima exporta\xE7\xE3o: {time}",nextExport:"Pr\xF3xima exporta\xE7\xE3o: {time}",noExports:"Nenhuma exporta\xE7\xE3o ainda",notScheduled:"N\xE3o agendado",notInitialized:"Servi\xE7o de exporta\xE7\xE3o autom\xE1tica n\xE3o inicializado - por favor, reinicie o Obsidian",serviceNotInitialized:"Servi\xE7o n\xE3o inicializado - por favor, reinicie o Obsidian"},notices:{reloadRequired:"Por favor, recarregue o Obsidian para que as altera\xE7\xF5es da exporta\xE7\xE3o autom\xE1tica tenham efeito.",exportSuccess:"Tarefas exportadas com sucesso",exportFailure:"Exporta\xE7\xE3o falhou - verifique o console para detalhes",serviceUnavailable:"Servi\xE7o de exporta\xE7\xE3o autom\xE1tica n\xE3o dispon\xEDvel"}},httpApi:{header:"API HTTP",description:"Ative a API HTTP para integra\xE7\xF5es externas e automa\xE7\xF5es.",enable:{name:"Ativar API HTTP",description:"Iniciar servidor HTTP local para acesso \xE0 API"},port:{name:"Porta da API",description:"N\xFAmero da porta para o servidor da API HTTP",placeholder:"3000"},authToken:{name:"Token de autentica\xE7\xE3o da API",description:"Token necess\xE1rio para autentica\xE7\xE3o da API (deixe em branco para sem autentica\xE7\xE3o)",placeholder:"seu-token-secreto"},endpoints:{header:"Endpoints da API Dispon\xEDveis",expandIcon:"\u25B6",collapseIcon:"\u25BC"}},webhooks:{header:"Webhooks",description:{overview:"Webhooks enviam notifica\xE7\xF5es em tempo real para servi\xE7os externos quando eventos do TaskNotes ocorrem.",usage:"Configure webhooks para integrar com ferramentas de automa\xE7\xE3o, servi\xE7os de sincroniza\xE7\xE3o ou aplicativos personalizados."},addWebhook:{name:"Adicionar Webhook",description:"Registrar um novo endpoint de webhook",buttonText:"Adicionar Webhook"},emptyState:{message:"Nenhum webhook configurado. Adicione um webhook para receber notifica\xE7\xF5es em tempo real.",buttonText:"Adicionar Webhook"},labels:{active:"Ativo:",url:"URL:",events:"Eventos:",transform:"Transformar:"},placeholders:{url:"URL do Webhook",noEventsSelected:"Nenhum evento selecionado",rawPayload:"Payload sem transforma\xE7\xE3o"},statusLabels:{active:"Ativo",inactive:"Inativo",created:"Criado {timeAgo}"},actions:{editEvents:"Editar Eventos",delete:"Excluir"},editEvents:"Editar Eventos",notices:{urlUpdated:"URL do Webhook atualizada",enabled:"Webhook ativado",disabled:"Webhook desativado",created:"Webhook criado com sucesso",deleted:"Webhook exclu\xEDdo",updated:"Webhook atualizado"},confirmDelete:{title:"Excluir Webhook",message:`Tem certeza de que deseja excluir este webhook?
|
||
|
||
URL: {url}
|
||
|
||
Esta a\xE7\xE3o n\xE3o pode ser desfeita.`,confirmText:"Excluir"},cardHeader:"Webhook",cardFields:{active:"Ativo:",url:"URL:",events:"Eventos:",transform:"Transformar:"},eventsDisplay:{noEvents:"Nenhum evento selecionado"},transformDisplay:{noTransform:"Payload sem transforma\xE7\xE3o"},secretModal:{title:"Segredo do Webhook Gerado",description:"Seu segredo do webhook foi gerado. Salve este segredo, pois voc\xEA n\xE3o poder\xE1 visualiz\xE1-lo novamente:",usage:"Use este segredo para verificar os payloads do webhook em seu aplicativo receptor.",gotIt:"Entendi"},editModal:{title:"Editar Webhook",eventsHeader:"Eventos para se inscrever"},events:{taskCreated:{label:"Tarefa Criada",description:"Quando novas tarefas s\xE3o criadas"},taskUpdated:{label:"Tarefa Atualizada",description:"Quando tarefas s\xE3o modificadas"},taskCompleted:{label:"Tarefa Conclu\xEDda",description:"Quando tarefas s\xE3o marcadas como conclu\xEDdas"},taskDeleted:{label:"Tarefa Exclu\xEDda",description:"Quando tarefas s\xE3o exclu\xEDdas"},taskArchived:{label:"Tarefa Arquivada",description:"Quando tarefas s\xE3o arquivadas"},taskUnarchived:{label:"Tarefa Desarquivada",description:"Quando tarefas s\xE3o desarquivadas"},timeStarted:{label:"Tempo Iniciado",description:"Quando o registro de tempo inicia"},timeStopped:{label:"Tempo Parado",description:"Quando o registro de tempo para"},pomodoroStarted:{label:"Pomodoro Iniciado",description:"Quando sess\xF5es pomodoro come\xE7am"},pomodoroCompleted:{label:"Pomodoro Conclu\xEDdo",description:"Quando sess\xF5es pomodoro terminam"},pomodoroInterrupted:{label:"Pomodoro Interrompido",description:"Quando sess\xF5es pomodoro s\xE3o paradas"},recurringCompleted:{label:"Inst\xE2ncia Recorrente Conclu\xEDda",description:"Quando inst\xE2ncias de tarefas recorrentes s\xE3o conclu\xEDdas"},reminderTriggered:{label:"Lembrete Acionado",description:"Quando lembretes de tarefa s\xE3o ativados"}},modals:{secretGenerated:{title:"Segredo do Webhook Gerado",description:"Seu segredo do webhook foi gerado. Salve este segredo, pois voc\xEA n\xE3o poder\xE1 visualiz\xE1-lo novamente:",usage:"Use este segredo para verificar os payloads do webhook em seu aplicativo receptor.",buttonText:"Entendi"},edit:{title:"Editar Webhook",eventsSection:"Eventos para se inscrever",transformSection:"Configura\xE7\xE3o de Transforma\xE7\xE3o (Opcional)",headersSection:"Configura\xE7\xE3o de Cabe\xE7alhos",transformFile:{name:"Arquivo de Transforma\xE7\xE3o",description:"Caminho para um arquivo .js ou .json em seu cofre que transforma payloads de webhook",placeholder:"discord-transform.js"},customHeaders:{name:"Incluir cabe\xE7alhos personalizados",description:"Incluir cabe\xE7alhos do TaskNotes (tipo de evento, assinatura, ID de entrega). Desative para Discord, Slack e outros servi\xE7os com pol\xEDticas CORS r\xEDgidas."},buttons:{cancel:"Cancelar",save:"Salvar Altera\xE7\xF5es"},notices:{selectAtLeastOneEvent:"Por favor, selecione pelo menos um evento"}},add:{title:"Adicionar Webhook",eventsSection:"Eventos para se inscrever",transformSection:"Configura\xE7\xE3o de Transforma\xE7\xE3o (Opcional)",headersSection:"Configura\xE7\xE3o de Cabe\xE7alhos",url:{name:"URL do Webhook",description:"O endpoint para onde o payload do webhook ser\xE1 enviado",placeholder:"https://seu-servico.com/webhook"},transformFile:{name:"Arquivo de Transforma\xE7\xE3o",description:"Caminho para um arquivo .js ou .json em seu cofre que transforma payloads de webhook",placeholder:"discord-transform.js"},customHeaders:{name:"Incluir cabe\xE7alhos personalizados",description:"Incluir cabe\xE7alhos do TaskNotes (tipo de evento, assinatura, ID de entrega). Desative para Discord, Slack e outros servi\xE7os com pol\xEDticas CORS r\xEDgidas."},transformHelp:{title:"Arquivos de transforma\xE7\xE3o permitem personalizar payloads de webhook:",jsFiles:"Arquivos .js:",jsDescription:" Transforma\xE7\xF5es JavaScript personalizadas",jsonFiles:"Arquivos .json:",jsonDescription:" Modelos com ",jsonVariable:"${data.task.title}",leaveEmpty:"Deixe em branco:",leaveEmptyDescription:" Enviar dados brutos",example:"Exemplo:",exampleFile:"discord-transform.js"},buttons:{cancel:"Cancelar",add:"Adicionar Webhook"},notices:{urlRequired:"A URL do Webhook \xE9 obrigat\xF3ria",selectAtLeastOneEvent:"Por favor, selecione pelo menos um evento"}}}},otherIntegrations:{header:"Outras integra\xE7\xF5es de plugins",description:"Configure integra\xE7\xF5es com outros plugins do Obsidian."},timeFormats:{justNow:"Agora mesmo",minutesAgo:"{minutes} minuto{plural} atr\xE1s",hoursAgo:"{hours} hora{plural} atr\xE1s",daysAgo:"{days} dia{plural} atr\xE1s"}}},notices:{languageChanged:"Idioma alterado para {language}.",exportTasksFailed:"Falha ao exportar tarefas como arquivo ICS",icsNoteCreatedSuccess:"Nota criada com sucesso",icsCreationModalOpenFailed:"Falha ao abrir modal de cria\xE7\xE3o",icsNoteLinkSuccess:'Nota "{fileName}" vinculada ao evento ICS',icsTaskCreatedSuccess:"Tarefa criada: {title}",icsRelatedItemsRefreshed:"Notas relacionadas atualizadas",icsFileNotFound:"Arquivo n\xE3o encontrado ou inv\xE1lido",icsFileOpenFailed:"Falha ao abrir arquivo",timeblockAttachmentExists:'"{fileName}" j\xE1 est\xE1 anexado',timeblockAttachmentAdded:'"{fileName}" adicionado como anexo',timeblockAttachmentRemoved:'"{fileName}" removido dos anexos',timeblockFileTypeNotSupported:'N\xE3o \xE9 poss\xEDvel abrir "{fileName}" - tipo de arquivo n\xE3o suportado',timeblockTitleRequired:"Por favor, insira um t\xEDtulo para o bloco de tempo",timeblockUpdatedSuccess:'Bloco de tempo "{title}" atualizado com sucesso',timeblockUpdateFailed:"Falha ao atualizar bloco de tempo. Verifique o console para detalhes.",timeblockDeletedSuccess:'Bloco de tempo "{title}" exclu\xEDdo com sucesso',timeblockDeleteFailed:"Falha ao excluir bloco de tempo. Verifique o console para detalhes.",timeblockRequiredFieldsMissing:"Por favor, preencha todos os campos obrigat\xF3rios",agendaLoadingFailed:"Erro ao carregar agenda. Por favor, tente atualizar.",statsLoadingFailed:"Erro ao carregar detalhes do projeto."},commands:{openCalendarView:"Abrir visualiza\xE7\xE3o de mini calend\xE1rio",openAdvancedCalendarView:"Abrir visualiza\xE7\xE3o de calend\xE1rio",openTasksView:"Abrir visualiza\xE7\xE3o de tarefas",openNotesView:"Abrir visualiza\xE7\xE3o de notas",openAgendaView:"Abrir visualiza\xE7\xE3o de agenda",openPomodoroView:"Abrir temporizador pomodoro",openKanbanView:"Abrir quadro kanban",openPomodoroStats:"Abrir estat\xEDsticas pomodoro",openStatisticsView:"Abrir estat\xEDsticas de tarefas e projetos",createNewTask:"Criar nova tarefa",convertCurrentNoteToTask:{name:"Converter nota atual em tarefa",noActiveFile:"Nenhum arquivo ativo para converter",alreadyTask:"Esta nota j\xE1 \xE9 uma tarefa",success:"'{title}' convertido em tarefa"},convertToTaskNote:"Converter tarefa de caixa de sele\xE7\xE3o para TaskNote",convertAllTasksInNote:"Converter todas as tarefas na nota",insertTaskNoteLink:"Inserir link de tasknote",createInlineTask:"Criar nova tarefa embutida",quickActionsCurrentTask:"A\xE7\xF5es r\xE1pidas para a tarefa atual",goToTodayNote:"Ir para a nota de hoje",startPomodoro:"Iniciar temporizador pomodoro",stopPomodoro:"Parar temporizador pomodoro",pauseResumePomodoro:"Pausar/retomar temporizador pomodoro",refreshCache:"Atualizar cache",exportAllTasksIcs:"Exportar todas as tarefas como arquivo ICS",viewReleaseNotes:"Ver notas de lan\xE7amento",startTimeTrackingWithSelector:"Iniciar registro de tempo (selecionar tarefa)",editTimeEntries:"Editar registros de tempo (selecionar tarefa)",createOrOpenTask:"Criar ou abrir tarefa"},modals:{deviceCode:{title:"Autoriza\xE7\xE3o do Google Calendar",instructions:{intro:"Para conectar seu Google Calendar, por favor, siga estes passos:"},steps:{open:"Abra",inBrowser:"no seu navegador",enterCode:"Insira este c\xF3digo quando solicitado:",signIn:"Fa\xE7a login com sua conta Google e conceda acesso",returnToObsidian:"Retorne ao Obsidian (esta janela fechar\xE1 automaticamente)"},codeLabel:"Seu C\xF3digo:",copyCodeAriaLabel:"Copiar c\xF3digo",waitingForAuthorization:"Aguardando autoriza\xE7\xE3o...",openBrowserButton:"Abrir Navegador",cancelButton:"Cancelar",expiresMinutesSeconds:"C\xF3digo expira em {minutes}m {seconds}s",expiresSeconds:"C\xF3digo expira em {seconds}s"},icsEventInfo:{calendarEventHeading:"Evento de Calend\xE1rio",titleLabel:"T\xEDtulo",calendarLabel:"Calend\xE1rio",dateTimeLabel:"Data e Hora",locationLabel:"Localiza\xE7\xE3o",descriptionLabel:"Descri\xE7\xE3o",urlLabel:"URL",relatedNotesHeading:"Notas e Tarefas Relacionadas",noRelatedItems:"Nenhuma nota ou tarefa relacionada encontrada para este evento.",typeTask:"Tarefa",typeNote:"Nota",actionsHeading:"A\xE7\xF5es",createFromEventLabel:"Criar a partir do Evento",createFromEventDesc:"Criar uma nova nota ou tarefa a partir deste evento de calend\xE1rio",linkExistingLabel:"Vincular Existente",linkExistingDesc:"Vincular uma nota existente a este evento de calend\xE1rio"},timeblockInfo:{editHeading:"Editar Bloco de Tempo",dateTimeLabel:"Data e Hora: ",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para seu bloco de tempo",titlePlaceholder:"ex: Sess\xE3o de foco profundo",descriptionLabel:"Descri\xE7\xE3o",descriptionDesc:"Descri\xE7\xE3o opcional para o bloco de tempo",descriptionPlaceholder:"Focar em novos recursos, sem interrup\xE7\xF5es",colorLabel:"Cor",colorDesc:"Cor opcional para o bloco de tempo",colorPlaceholder:"#3b82f6",attachmentsLabel:"Anexos",attachmentsDesc:"Arquivos ou notas vinculados a este bloco de tempo",addAttachmentButton:"Adicionar Anexo",addAttachmentTooltip:"Selecionar um arquivo ou nota usando busca difusa",deleteButton:"Excluir Bloco de Tempo",saveButton:"Salvar Altera\xE7\xF5es",deleteConfirmationTitle:"Excluir Bloco de Tempo"},timeblockCreation:{heading:"Criar bloco de tempo",dateLabel:"Data: ",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para seu bloco de tempo",titlePlaceholder:"ex: Sess\xE3o de foco profundo",startTimeLabel:"Hora de in\xEDcio",startTimeDesc:"Quando o bloco de tempo come\xE7a",startTimePlaceholder:"09:00",endTimeLabel:"Hora de t\xE9rmino",endTimeDesc:"Quando o bloco de tempo termina",endTimePlaceholder:"11:00",descriptionLabel:"Descri\xE7\xE3o",descriptionDesc:"Descri\xE7\xE3o opcional para o bloco de tempo",descriptionPlaceholder:"Focar em novos recursos, sem interrup\xE7\xF5es",colorLabel:"Cor",colorDesc:"Cor opcional para o bloco de tempo",colorPlaceholder:"#3b82f6",attachmentsLabel:"Anexos",attachmentsDesc:"Arquivos ou notas para vincular a este bloco de tempo",addAttachmentButton:"Adicionar Anexo",addAttachmentTooltip:"Selecionar um arquivo ou nota usando busca difusa",createButton:"Criar bloco de tempo"},icsNoteCreation:{heading:"Criar a partir de Evento ICS",titleLabel:"T\xEDtulo",titleDesc:"T\xEDtulo para o novo conte\xFAdo",folderLabel:"Pasta",folderDesc:"Pasta de destino (deixe em branco para a raiz do cofre)",folderPlaceholder:"pasta/subpasta",createButton:"Criar",startLabel:"In\xEDcio: ",endLabel:"T\xE9rmino: ",locationLabel:"Localiza\xE7\xE3o: ",calendarLabel:"Calend\xE1rio: ",useTemplateLabel:"Usar Modelo",useTemplateDesc:"Aplicar um modelo ao criar o conte\xFAdo",templatePathLabel:"Caminho do Modelo",templatePathDesc:"Caminho para o arquivo de modelo",templatePathPlaceholder:"modelos/modelo-nota-ics.md"},unscheduledTasksSelector:{title:"Tarefas N\xE3o Agendadas",placeholder:"Digite para buscar tarefas n\xE3o agendadas...",instructions:{navigate:"para navegar",schedule:"para agendar",dismiss:"para dispensar"}},migration:{title:"Migrar para Novo Sistema de Recorr\xEAncia",description:"O TaskNotes agora usa padr\xF5es RRULE padr\xE3o da ind\xFAstria para recorr\xEAncia, permitindo agendamentos mais complexos e melhor compatibilidade com outros aplicativos.",tasksFound:"{count} tarefa(s) com padr\xF5es de recorr\xEAncia antigos detectada(s)",noMigrationNeeded:"Nenhuma tarefa requer migra\xE7\xE3o",warnings:{title:"Antes de prosseguir:",backup:"Fa\xE7a backup do seu cofre antes de migrar",conversion:"Padr\xF5es de recorr\xEAncia antigos ser\xE3o convertidos para o novo formato",normalUsage:"Voc\xEA pode continuar usando o TaskNotes normalmente durante a migra\xE7\xE3o",permanent:"Esta altera\xE7\xE3o \xE9 permanente e n\xE3o pode ser desfeita automaticamente"},benefits:{title:"Benef\xEDcios do novo sistema:",powerfulPatterns:"Padr\xF5es de recorr\xEAncia complexos (ex: 'toda 2\xAA ter\xE7a-feira')",performance:"Melhor desempenho com tarefas recorrentes",compatibility:"Formato de recorr\xEAncia padr\xE3o compat\xEDvel com outros aplicativos",nlp:"Suporte aprimorado ao processamento de linguagem natural"},progress:{title:"Progresso da Migra\xE7\xE3o",preparing:"Preparando migra\xE7\xE3o...",completed:"Migra\xE7\xE3o conclu\xEDda com sucesso",failed:"Migra\xE7\xE3o falhou"},buttons:{migrate:"Iniciar Migra\xE7\xE3o",completed:"Fechar"},errors:{title:"Erros durante a migra\xE7\xE3o:"},notices:{completedWithErrors:"Migra\xE7\xE3o conclu\xEDda com alguns erros. Verifique a lista de erros acima.",success:"Todas as tarefas migradas com sucesso!",failed:"Migra\xE7\xE3o falhou. Por favor, verifique o console para detalhes."},prompt:{message:"O TaskNotes detectou tarefas usando o formato de recorr\xEAncia antigo. Voc\xEA gostaria de migr\xE1-las para o novo sistema agora?",migrateNow:"Migrar Agora",remindLater:"Lembrar Mais Tarde"}},task:{titlePlaceholder:"O que precisa ser feito?",titleLabel:"T\xEDtulo",titleDetailedPlaceholder:"T\xEDtulo da tarefa...",detailsLabel:"Detalhes",detailsPlaceholder:"Adicionar mais detalhes...",projectsLabel:"Projetos",projectsAdd:"Adicionar Projeto",projectsTooltip:"Selecionar uma nota de projeto usando busca difusa",projectsRemoveTooltip:"Remover projeto",contextsLabel:"Contextos",contextsPlaceholder:"contexto1, contexto2",tagsLabel:"Tags",tagsPlaceholder:"tag1, tag2",timeEstimateLabel:"Estimativa de tempo (minutos)",timeEstimatePlaceholder:"30",unsavedChanges:{title:"Altera\xE7\xF5es n\xE3o salvas",message:"Voc\xEA tem altera\xE7\xF5es n\xE3o salvas. Deseja salv\xE1-las?",save:"Salvar altera\xE7\xF5es",discard:"Descartar altera\xE7\xF5es",cancel:"Continuar editando"},dependencies:{blockedBy:"Bloqueada por",blocking:"Bloqueando",placeholder:"[[Nota da Tarefa]]",addTaskButton:"Adicionar tarefa",selectTaskTooltip:"Selecionar uma nota de tarefa usando busca difusa",removeTaskTooltip:"Remover tarefa"},organization:{projects:"Projetos",subtasks:"Subtarefas",addToProject:"Adicionar ao projeto",addToProjectButton:"Adicionar ao projeto",addSubtasks:"Adicionar subtarefas",addSubtasksButton:"Adicionar subtarefa",addSubtasksTooltip:"Selecionar tarefas para torn\xE1-las subtarefas desta tarefa",removeSubtaskTooltip:"Remover subtarefa",notices:{noEligibleSubtasks:"Nenhuma tarefa eleg\xEDvel dispon\xEDvel para atribuir como subtarefa",subtaskSelectFailed:"Falha ao abrir seletor de subtarefas"}},customFieldsLabel:"Campos Personalizados",actions:{due:"Definir data de vencimento",scheduled:"Definir data agendada",status:"Definir status",priority:"Definir prioridade",recurrence:"Definir recorr\xEAncia",reminders:"Definir lembretes"},buttons:{openNote:"Abrir nota",save:"Salvar"},tooltips:{dueValue:"Vencimento: {value}",scheduledValue:"Agendada: {value}",statusValue:"Status: {value}",priorityValue:"Prioridade: {value}",recurrenceValue:"Recorr\xEAncia: {value}",remindersSingle:"1 lembrete definido",remindersPlural:"{count} lembretes definidos"},dateMenu:{dueTitle:"Definir Data de Vencimento",scheduledTitle:"Definir Data Agendada"},userFields:{textPlaceholder:"Digite {field}...",numberPlaceholder:"0",datePlaceholder:"AAAA-MM-DD",listPlaceholder:"item1, item2, item3",pickDate:"Escolher data {field}"},recurrence:{daily:"Diariamente",weekly:"Semanalmente",everyTwoWeeks:"A cada 2 semanas",weekdays:"Dias de semana",weeklyOn:"Semanalmente \xE0s {days}",monthly:"Mensalmente",everyThreeMonths:"A cada 3 meses",monthlyOnOrdinal:"Mensalmente no {ordinal}",monthlyByWeekday:"Mensalmente (por dia da semana)",yearly:"Anualmente",yearlyOn:"Anualmente em {day} de {month}",custom:"Personalizado",countSuffix:"{count} vezes",untilSuffix:"at\xE9 {date}",ordinal:"{number}{suffix}"}},taskSelector:{title:"Selecionar tarefa",placeholder:"Digite para buscar tarefas...",instructions:{navigate:"para navegar",select:"para selecionar",dismiss:"para cancelar"},notices:{noteNotFound:'N\xE3o foi poss\xEDvel encontrar a nota "{name}"'},dueDate:{overdue:"Vencimento: {date} (atrasada)",today:"Vencimento: Hoje"}},taskSelectorWithCreate:{title:"Criar ou abrir tarefa",placeholder:"Pesquisar tarefas ou digitar para criar nova...",instructions:{create:"para criar nova tarefa"},footer:{createLabel:" para criar: "},notices:{emptyQuery:"Por favor, insira uma descri\xE7\xE3o da tarefa",invalidTitle:"N\xE3o foi poss\xEDvel reconhecer um t\xEDtulo de tarefa v\xE1lido"}},taskCreation:{title:"Criar tarefa",actions:{fillFromNaturalLanguage:"Preencher formul\xE1rio a partir de linguagem natural",hideDetailedOptions:"Ocultar op\xE7\xF5es detalhadas",showDetailedOptions:"Mostrar op\xE7\xF5es detalhadas"},nlPlaceholder:"Comprar mantimentos amanh\xE3 \xE0s 15h @casa #tarefas",notices:{titleRequired:"Por favor, insira um t\xEDtulo para a tarefa",success:'Tarefa "{title}" criada com sucesso',successShortened:'Tarefa "{title}" criada com sucesso (nome do arquivo encurtado devido ao comprimento)',failure:"Falha ao criar tarefa: {message}",blockingUnresolved:"N\xE3o foi poss\xEDvel resolver: {entries}"}},taskEdit:{title:"Editar tarefa",sections:{completions:"Conclus\xF5es",taskInfo:"Informa\xE7\xF5es da Tarefa"},metadata:{totalTrackedTime:"Tempo total registrado:",created:"Criada:",modified:"Modificada:",file:"Arquivo:"},buttons:{archive:"Arquivar",unarchive:"Desarquivar"},notices:{titleRequired:"Por favor, insira um t\xEDtulo para a tarefa",noChanges:"Nenhuma altera\xE7\xE3o para salvar",updateSuccess:'Tarefa "{title}" atualizada com sucesso',updateFailure:"Falha ao atualizar tarefa: {message}",dependenciesUpdateSuccess:"Depend\xEAncias atualizadas",blockingUnresolved:"N\xE3o foi poss\xEDvel resolver: {entries}",fileMissing:"N\xE3o foi poss\xEDvel encontrar o arquivo da tarefa: {path}",openNoteFailure:"Falha ao abrir nota da tarefa",archiveSuccess:"Tarefa {action} com sucesso",archiveFailure:"Falha ao arquivar tarefa"},archiveAction:{archived:"arquivada",unarchived:"desarquivada"}},storageLocation:{title:{migrate:"Migrar dados pomodoro?",switch:"Mudar para armazenamento em notas di\xE1rias?"},message:{migrate:"Isso migrar\xE1 seus dados de sess\xE3o pomodoro existentes para o frontmatter das notas di\xE1rias. Os dados ser\xE3o agrupados por data e armazenados em cada nota di\xE1ria.",switch:"Os dados da sess\xE3o pomodoro ser\xE3o armazenados no frontmatter das notas di\xE1rias em vez do arquivo de dados do plugin."},whatThisMeans:"O que isso significa:",bullets:{dailyNotesRequired:"O plugin principal de Notas Di\xE1rias deve permanecer ativado",storedInNotes:"Os dados ser\xE3o armazenados no frontmatter das suas notas di\xE1rias",migrateData:"Os dados existentes do plugin ser\xE3o migrados e depois limpos",futureSessions:"Sess\xF5es futuras ser\xE3o salvas nas notas di\xE1rias",dataLongevity:"Isso proporciona melhor longevidade dos dados com suas notas"},finalNote:{migrate:"\u26A0\uFE0F Certifique-se de ter backups, se necess\xE1rio. Esta altera\xE7\xE3o n\xE3o pode ser desfeita automaticamente.",switch:"Voc\xEA pode voltar para o armazenamento do plugin a qualquer momento no futuro."},buttons:{migrate:"Migrar dados",switch:"Mudar armazenamento"}},dueDate:{title:"Definir Data de Vencimento",taskLabel:"Tarefa: {title}",sections:{dateTime:"Data e Hora de Vencimento",quickOptions:"Op\xE7\xF5es R\xE1pidas"},descriptions:{dateTime:"Defina quando esta tarefa deve ser conclu\xEDda"},inputs:{date:{ariaLabel:"Data de vencimento da tarefa",placeholder:"AAAA-MM-DD"},time:{ariaLabel:"Hora de vencimento da tarefa (opcional)",placeholder:"HH:MM"}},quickOptions:{today:"Hoje",todayAriaLabel:"Definir data de vencimento para hoje",tomorrow:"Amanh\xE3",tomorrowAriaLabel:"Definir data de vencimento para amanh\xE3",nextWeek:"Pr\xF3xima semana",nextWeekAriaLabel:"Definir data de vencimento para pr\xF3xima semana",now:"Agora",nowAriaLabel:"Definir data e hora de vencimento para agora",clear:"Limpar",clearAriaLabel:"Limpar data de vencimento"},errors:{invalidDateTime:"Por favor, insira um formato de data e hora v\xE1lido",updateFailed:"Falha ao atualizar data de vencimento. Por favor, tente novamente."}},scheduledDate:{title:"Definir Data Agendada",taskLabel:"Tarefa: {title}",sections:{dateTime:"Data e Hora Agendada",quickOptions:"Op\xE7\xF5es R\xE1pidas"},descriptions:{dateTime:"Defina quando voc\xEA planeja trabalhar nesta tarefa"},inputs:{date:{ariaLabel:"Data agendada da tarefa",placeholder:"AAAA-MM-DD"},time:{ariaLabel:"Hora agendada da tarefa (opcional)",placeholder:"HH:MM"}},quickOptions:{today:"Hoje",todayAriaLabel:"Definir data agendada para hoje",tomorrow:"Amanh\xE3",tomorrowAriaLabel:"Definir data agendada para amanh\xE3",nextWeek:"Pr\xF3xima semana",nextWeekAriaLabel:"Definir data agendada para pr\xF3xima semana",now:"Agora",nowAriaLabel:"Definir data e hora agendada para agora",clear:"Limpar",clearAriaLabel:"Limpar data agendada"},errors:{invalidDateTime:"Por favor, insira um formato de data e hora v\xE1lido",updateFailed:"Falha ao atualizar data agendada. Por favor, tente novamente."}},timeEntryEditor:{title:"Registros de Tempo - {taskTitle}",addEntry:"Adicionar registro de tempo",noEntries:"Nenhum registro de tempo ainda",deleteEntry:"Excluir registro",startTime:"Hora de in\xEDcio",endTime:"Hora de t\xE9rmino (deixe em branco se ainda estiver em execu\xE7\xE3o)",duration:"Dura\xE7\xE3o (minutos)",durationDesc:"Substituir dura\xE7\xE3o calculada",durationPlaceholder:"Digite a dura\xE7\xE3o em minutos",description:"Descri\xE7\xE3o",descriptionPlaceholder:"No que voc\xEA trabalhou?",calculatedDuration:"Calculado: {minutes} minutos",totalTime:"{hours}h {minutes}m total",totalMinutes:"{minutes}m total",saved:"Registros de tempo salvos",saveFailed:"Falha ao salvar registros de tempo",openFailed:"Falha ao abrir editor de registro de tempo",noTasksWithEntries:"Nenhuma tarefa possui registros de tempo para editar",validation:{missingStartTime:"Hora de in\xEDcio \xE9 obrigat\xF3ria",endBeforeStart:"Hora de t\xE9rmino deve ser ap\xF3s a hora de in\xEDcio"}},timeTracking:{noTasksAvailable:"Nenhuma tarefa dispon\xEDvel para registrar o tempo",started:"Iniciado registro de tempo para: {taskTitle}",startFailed:"Falha ao iniciar registro de tempo"},timeEntry:{mustHaveSpecificTime:"Registros de tempo devem ter hor\xE1rios espec\xEDficos. Por favor, selecione um intervalo de tempo na visualiza\xE7\xE3o de semana ou dia.",noTasksAvailable:"Nenhuma tarefa dispon\xEDvel para criar registros de tempo",created:"Registro de tempo criado para {taskTitle} ({duration} minutos)",createFailed:"Falha ao criar registro de tempo"}},contextMenus:{task:{status:"Status",statusSelected:"\u2713 {label}",priority:"Prioridade",prioritySelected:"\u2713 {label}",dueDate:"Data de vencimento",scheduledDate:"Data agendada",reminders:"Lembretes",remindBeforeDue:"Lembrar antes do vencimento\u2026",remindBeforeScheduled:"Lembrar antes da data agendada\u2026",manageReminders:"Gerenciar todos os lembretes\u2026",clearReminders:"Limpar todos os lembretes",startTimeTracking:"Iniciar registro de tempo",stopTimeTracking:"Parar registro de tempo",editTimeEntries:"Editar registros de tempo",archive:"Arquivar",unarchive:"Desarquivar",openNote:"Abrir nota",copyTitle:"Copiar t\xEDtulo da tarefa",noteActions:"A\xE7\xF5es da nota",rename:"Renomear",renameTitle:"Renomear Arquivo",renamePlaceholder:"Digite o novo nome",delete:"Excluir",deleteTitle:"Excluir Arquivo",deleteMessage:'Tem certeza de que deseja excluir "{name}"?',deleteConfirm:"Excluir",copyPath:"Copiar caminho",copyUrl:"Copiar URL do Obsidian",showInExplorer:"Mostrar no explorador de arquivos",addToCalendar:"Adicionar ao calend\xE1rio",calendar:{google:"Google Calendar",outlook:"Outlook Calendar",yahoo:"Yahoo Calendar",downloadIcs:"Baixar arquivo .ics"},recurrence:"Recorr\xEAncia",clearRecurrence:"Limpar recorr\xEAncia",customRecurrence:"Recorr\xEAncia personalizada...",createSubtask:"Criar subtarefa",dependencies:{title:"Depend\xEAncias",addBlockedBy:"Adicionar \u201Cbloqueada por\u201D...",addBlockedByTitle:"Adicionar tarefas das quais esta depende",addBlocking:"Adicionar \u201Cbloqueando\u201D...",addBlockingTitle:"Adicionar tarefas que esta bloqueia",removeBlockedBy:"Remover \u201Cbloqueada por\u201D...",removeBlocking:"Remover \u201Cbloqueando\u201D...",inputPlaceholder:"[[Nota da Tarefa]]",notices:{noEntries:"Por favor, insira pelo menos uma tarefa",blockedByAdded:"{count} depend\xEAncia adicionada",blockedByRemoved:"Depend\xEAncia removida",blockingAdded:"{count} tarefa dependente adicionada",blockingRemoved:"Tarefa dependente removida",unresolved:"N\xE3o foi poss\xEDvel resolver: {entries}",noEligibleTasks:"Nenhuma tarefa correspondente dispon\xEDvel",updateFailed:"Falha ao atualizar depend\xEAncias"}},organization:{title:"Organiza\xE7\xE3o",projects:"Projetos",addToProject:"Adicionar ao projeto\u2026",subtasks:"Subtarefas",addSubtasks:"Adicionar subtarefas\u2026",notices:{alreadyInProject:"Tarefa j\xE1 est\xE1 neste projeto",alreadySubtask:"Tarefa j\xE1 \xE9 uma subtarefa desta tarefa",addedToProject:"Adicionada ao projeto: {project}",addedAsSubtask:"{subtask} adicionada como subtarefa de {parent}",addToProjectFailed:"Falha ao adicionar tarefa ao projeto",addAsSubtaskFailed:"Falha ao adicionar tarefa como subtarefa",projectSelectFailed:"Falha ao abrir seletor de projeto",subtaskSelectFailed:"Falha ao abrir seletor de subtarefa",noEligibleSubtasks:"Nenhuma tarefa eleg\xEDvel dispon\xEDvel para atribuir como subtarefa",currentTaskNotFound:"Arquivo da tarefa atual n\xE3o encontrado"}},subtasks:{loading:"Carregando subtarefas...",noSubtasks:"Nenhuma subtarefa encontrada",loadFailed:"Falha ao carregar subtarefas"},markComplete:"Marcar como conclu\xEDda para esta data",markIncomplete:"Marcar como incompleta para esta data",skipInstance:"Pular inst\xE2ncia",unskipInstance:"Desfazer pulo de inst\xE2ncia",quickReminders:{atTime:"Na hora do evento",fiveMinutes:"5 minutos antes",fifteenMinutes:"15 minutos antes",oneHour:"1 hora antes",oneDay:"1 dia antes"},notices:{toggleCompletionFailure:"Falha ao alternar conclus\xE3o de tarefa recorrente: {message}",toggleSkipFailure:"Falha ao alternar pulo de tarefa recorrente: {message}",updateDueDateFailure:"Falha ao atualizar data de vencimento da tarefa: {message}",updateScheduledFailure:"Falha ao atualizar data agendada da tarefa: {message}",updateRemindersFailure:"Falha ao atualizar lembretes",clearRemindersFailure:"Falha ao limpar lembretes",addReminderFailure:"Falha ao adicionar lembrete",archiveFailure:"Falha ao alternar arquivamento da tarefa: {message}",copyTitleSuccess:"T\xEDtulo da tarefa copiado para a \xE1rea de transfer\xEAncia",copyFailure:"Falha ao copiar para a \xE1rea de transfer\xEAncia",renameSuccess:'Renomeado para "{name}"',renameFailure:"Falha ao renomear arquivo",copyPathSuccess:"Caminho do arquivo copiado para a \xE1rea de transfer\xEAncia",copyUrlSuccess:"URL do Obsidian copiado para a \xE1rea de transfer\xEAncia",updateRecurrenceFailure:"Falha ao atualizar recorr\xEAncia da tarefa: {message}"}},ics:{showDetails:"Mostrar detalhes",createTask:"Criar tarefa a partir do evento",createNote:"Criar nota a partir do evento",linkNote:"Vincular nota existente",copyTitle:"Copiar t\xEDtulo",copyLocation:"Copiar localiza\xE7\xE3o",copyUrl:"Copiar URL",copyMarkdown:"Copiar como markdown",subscriptionUnknown:"Calend\xE1rio desconhecido",notices:{copyTitleSuccess:"T\xEDtulo do evento copiado para a \xE1rea de transfer\xEAncia",copyLocationSuccess:"Localiza\xE7\xE3o copiada para a \xE1rea de transfer\xEAncia",copyUrlSuccess:"URL do evento copiada para a \xE1rea de transfer\xEAncia",copyMarkdownSuccess:"Detalhes do evento copiados como markdown",copyFailure:"Falha ao copiar para a \xE1rea de transfer\xEAncia",taskCreated:"Tarefa criada: {title}",taskCreateFailure:"Falha ao criar tarefa a partir do evento",noteCreated:"Nota criada com sucesso",creationFailure:"Falha ao abrir modal de cria\xE7\xE3o",linkSuccess:'Nota "{name}" vinculada ao evento',linkFailure:"Falha ao vincular nota",linkSelectionFailure:"Falha ao abrir sele\xE7\xE3o de nota"},markdown:{titleFallback:"Evento Sem T\xEDtulo",calendar:"**Calend\xE1rio:** {value}",date:"**Data e Hora:** {value}",location:"**Localiza\xE7\xE3o:** {value}",descriptionHeading:"### Descri\xE7\xE3o",url:"**URL:** {value}",at:" \xE0s {time}"}},date:{increment:{plusOneDay:"+1 dia",minusOneDay:"-1 dia",plusOneWeek:"+1 semana",minusOneWeek:"-1 semana"},basic:{today:"Hoje",tomorrow:"Amanh\xE3",thisWeekend:"Este fim de semana",nextWeek:"Pr\xF3xima semana",nextMonth:"Pr\xF3ximo m\xEAs"},weekdaysLabel:"Dias de semana",selected:"\u2713 {label}",pickDateTime:"Escolher data e hora\u2026",clearDate:"Limpar data",modal:{title:"Definir data e hora",dateLabel:"Data",timeLabel:"Hora (opcional)",select:"Selecionar"}}},services:{pomodoro:{notices:{alreadyRunning:"Um pomodoro j\xE1 est\xE1 em execu\xE7\xE3o",resumeCurrentSession:"Retome a sess\xE3o atual em vez de iniciar uma nova",timerAlreadyRunning:"Um temporizador j\xE1 est\xE1 em execu\xE7\xE3o",resumeSessionInstead:"Retome a sess\xE3o atual em vez de iniciar uma nova",shortBreakStarted:"Pausa curta iniciada",longBreakStarted:"Pausa longa iniciada",paused:"Pomodoro pausado",resumed:"Pomodoro retomado",stoppedAndReset:"Pomodoro parado e redefinido",migrationSuccess:"Migradas com sucesso {count} sess\xF5es pomodoro para notas di\xE1rias.",migrationFailure:"Falha ao migrar dados pomodoro. Por favor, tente novamente ou verifique o console para detalhes."}},icsSubscription:{notices:{calendarNotFound:'Calend\xE1rio "{name}" n\xE3o encontrado (404). Por favor, verifique se a URL ICS est\xE1 correta e se o calend\xE1rio \xE9 acess\xEDvel publicamente.',calendarAccessDenied:'Acesso ao calend\xE1rio "{name}" negado (500). Isso pode ser devido a restri\xE7\xF5es do servidor Microsoft Outlook. Tente regenerar a URL ICS das configura\xE7\xF5es do seu calend\xE1rio.',fetchRemoteFailed:'Falha ao buscar calend\xE1rio remoto "{name}": {error}',readLocalFailed:'Falha ao ler calend\xE1rio local "{name}": {error}'}},calendarExport:{notices:{generateLinkFailed:"Falha ao gerar link do calend\xE1rio",noTasksToExport:"Nenhuma tarefa encontrada para exportar",downloadSuccess:"Baixado {filename} com {count} tarefa{plural}",downloadFailed:"Falha ao baixar arquivo de calend\xE1rio",singleDownloadSuccess:"Baixado {filename}"}},filter:{groupLabels:{noProject:"Sem projeto",noTags:"Sem tags",invalidDate:"Data inv\xE1lida",due:{overdue:"Atrasadas",today:"Hoje",tomorrow:"Amanh\xE3",nextSevenDays:"Pr\xF3ximos sete dias",later:"Mais tarde",none:"Sem data de vencimento"},scheduled:{past:"Agendadas passadas",today:"Hoje",tomorrow:"Amanh\xE3",nextSevenDays:"Pr\xF3ximos sete dias",later:"Mais tarde",none:"Sem data agendada"}},errors:{noDatesProvided:"Nenhuma data fornecida"},folders:{root:"(Raiz)"}},instantTaskConvert:{notices:{noCheckboxTasks:"Nenhuma tarefa de caixa de sele\xE7\xE3o encontrada na nota atual.",convertingTasks:"Convertendo {count} tarefa{plural}...",conversionSuccess:"\u2705 Convertidas com sucesso {count} tarefa{plural} para TaskNotes!",partialConversion:"Convertidas {successCount} tarefa{successPlural}. {failureCount} falharam.",batchConversionFailed:"Falha ao realizar convers\xE3o em lote. Por favor, tente novamente.",invalidParameters:"Par\xE2metros de entrada inv\xE1lidos.",emptyLine:"Linha atual est\xE1 vazia ou n\xE3o cont\xE9m conte\xFAdo v\xE1lido.",parseError:"Erro ao analisar tarefa: {error}",invalidTaskData:"Dados da tarefa inv\xE1lidos.",replaceLineFailed:"Falha ao substituir linha da tarefa.",conversionComplete:"Tarefa convertida: {title}",conversionCompleteShortened:'Tarefa convertida: "{title}" (nome do arquivo encurtado devido ao comprimento)',fileExists:"Um arquivo com este nome j\xE1 existe. Por favor, tente novamente ou renomeie a tarefa.",conversionFailed:"Falha ao converter tarefa. Por favor, tente novamente."}},icsNote:{notices:{templateNotFound:"Modelo n\xE3o encontrado: {path}",templateProcessError:"Erro ao processar modelo: {template}",linkedToEvent:"Nota vinculada ao evento ICS: {title}"}},task:{notices:{templateNotFound:"Modelo de corpo da tarefa n\xE3o encontrado: {path}",templateReadError:"Erro ao ler modelo de corpo da tarefa: {template}",moveTaskFailed:"Falha ao mover tarefa {operation}: {error}"}},autoExport:{notices:{exportFailed:"Exporta\xE7\xE3o autom\xE1tica do TaskNotes falhou: {error}"}},notification:{notices:{}}},ui:{icsCard:{untitledEvent:"Evento sem t\xEDtulo",allDay:"Dia inteiro",calendarEvent:"Evento de calend\xE1rio",calendarFallback:"Calend\xE1rio"},noteCard:{createdLabel:"Criada:",dailyBadge:"Di\xE1ria",dailyTooltip:"Nota di\xE1ria"},taskCard:{blockedBadge:"Bloqueada",blockedBadgeTooltip:"Esta tarefa est\xE1 aguardando outra tarefa",blockingBadge:"Bloqueando",blockingBadgeTooltip:"Esta tarefa est\xE1 bloqueando outra tarefa",blockingToggle:"Bloqueando {count} tarefas",loadingDependencies:"Carregando depend\xEAncias...",blockingEmpty:"Nenhuma tarefa dependente",blockingLoadError:"Falha ao carregar depend\xEAncias"},propertyEventCard:{unknownFile:"Arquivo desconhecido"},filterHeading:{allViewName:"Todos"},filterBar:{saveView:"Salvar visualiza\xE7\xE3o",saveViewNamePlaceholder:"Digite o nome da visualiza\xE7\xE3o...",saveButton:"Salvar",views:"Visualiza\xE7\xF5es",savedFilterViews:"Visualiza\xE7\xF5es de filtro salvas",filters:"Filtros",properties:"Propriedades",sort:"Ordenar",newTask:"Nova",expandAllGroups:"Expandir Todos os Grupos",collapseAllGroups:"Recolher Todos os Grupos",searchTasksPlaceholder:"Buscar tarefas...",searchTasksTooltip:"Buscar t\xEDtulos de tarefas",filterUnavailable:"Barra de filtro temporariamente indispon\xEDvel",toggleFilter:"Alternar filtro",activeFiltersTooltip:"Filtros ativos \u2013 Clique para modificar, clique com o bot\xE3o direito para limpar",configureVisibleProperties:"Configurar propriedades vis\xEDveis",sortAndGroupOptions:"Op\xE7\xF5es de ordena\xE7\xE3o e agrupamento",sortMenuHeader:"Ordenar",orderMenuHeader:"Ordem",groupMenuHeader:"Agrupar",createNewTask:"Criar nova tarefa",filter:"Filtrar",displayOrganization:"Exibi\xE7\xE3o e Organiza\xE7\xE3o",viewOptions:"Op\xE7\xF5es de Visualiza\xE7\xE3o",addFilter:"Adicionar filtro",addFilterGroup:"Adicionar grupo de filtros",addFilterTooltip:"Adicionar uma nova condi\xE7\xE3o de filtro",addFilterGroupTooltip:"Adicionar um grupo de filtros aninhado",clearAllFilters:"Limpar todos os filtros e grupos",saveCurrentFilter:"Salvar filtro atual como visualiza\xE7\xE3o",closeFilterModal:"Fechar modal de filtro",deleteFilterGroup:"Excluir grupo de filtros",deleteCondition:"Excluir condi\xE7\xE3o",all:"Todos",any:"Qualquer um",followingAreTrue:"dos seguintes s\xE3o verdadeiros:",where:"onde",selectProperty:"Selecione...",chooseProperty:"Escolha qual propriedade da tarefa filtrar",chooseOperator:"Escolha como comparar o valor da propriedade",enterValue:"Digite o valor para filtrar",selectValue:"Selecione um(a) {property} para filtrar",sortBy:"Ordenar por:",toggleSortDirection:"Alternar dire\xE7\xE3o da ordena\xE7\xE3o",chooseSortMethod:"Escolha como ordenar tarefas",groupBy:"Agrupar por:",chooseGroupMethod:"Agrupar tarefas por uma propriedade comum",toggleViewOption:"Alternar {option}",expandCollapseFilters:"Clique para expandir/recolher condi\xE7\xF5es de filtro",expandCollapseSort:"Clique para expandir/recolher op\xE7\xF5es de ordena\xE7\xE3o e agrupamento",expandCollapseViewOptions:"Clique para expandir/recolher op\xE7\xF5es espec\xEDficas da visualiza\xE7\xE3o",naturalLanguageDates:"Datas em Linguagem Natural",naturalLanguageExamples:"Mostrar exemplos de datas em linguagem natural",enterNumericValue:"Digite um valor num\xE9rico para filtrar",enterDateValue:"Digite uma data usando linguagem natural ou formato ISO",pickDateTime:"Escolher data e hora",noSavedViews:"Nenhuma visualiza\xE7\xE3o salva",savedViews:"Visualiza\xE7\xF5es salvas",yourSavedFilters:"Suas configura\xE7\xF5es de filtro salvas",dragToReorder:"Arraste para reordenar visualiza\xE7\xF5es",loadSavedView:"Carregar visualiza\xE7\xE3o salva: {name}",deleteView:"Excluir visualiza\xE7\xE3o",deleteViewTitle:"Excluir Visualiza\xE7\xE3o",deleteViewMessage:'Tem certeza de que deseja excluir a visualiza\xE7\xE3o "{name}"?',manageAllReminders:"Gerenciar Todos os Lembretes...",clearAllReminders:"Limpar Todos os Lembretes",customRecurrence:"Recorr\xEAncia personalizada...",clearRecurrence:"Limpar recorr\xEAncia",sortOptions:{dueDate:"Data de Vencimento",scheduledDate:"Data Agendada",priority:"Prioridade",status:"Status",title:"T\xEDtulo",createdDate:"Data de Cria\xE7\xE3o",tags:"Tags",ascending:"Ascendente",descending:"Descendente"},group:{none:"Nenhum",status:"Status",priority:"Prioridade",context:"Contexto",project:"Projeto",dueDate:"Data de Vencimento",scheduledDate:"Data Agendada",tags:"Tags",completedDate:"Data de Conclus\xE3o"},subgroupLabel:"SUBGRUPO",notices:{propertiesMenuFailed:"Falha ao mostrar menu de propriedades"}}},components:{dateContextMenu:{weekdays:"Dias de semana",clearDate:"Limpar data",today:"Hoje",tomorrow:"Amanh\xE3",thisWeekend:"Este fim de semana",nextWeek:"Pr\xF3xima semana",nextMonth:"Pr\xF3ximo m\xEAs",setDateTime:"Definir data e hora",dateLabel:"Data",timeLabel:"Hora (opcional)"},subgroupMenuBuilder:{none:"Nenhum",status:"Status",priority:"Prioridade",context:"Contexto",project:"Projeto",dueDate:"Data de Vencimento",scheduledDate:"Data Agendada",tags:"Tags",completedDate:"Data de Conclus\xE3o",subgroup:"SUBGRUPO"},propertyVisibilityDropdown:{coreProperties:"PROPRIEDADES PRINCIPAIS",organization:"ORGANIZA\xC7\xC3O",customProperties:"PROPRIEDADES PERSONALIZADAS",failed:"Falha ao mostrar menu de propriedades",properties:{statusDot:"Ponto de Status",priorityDot:"Ponto de Prioridade",dueDate:"Data de Vencimento",scheduledDate:"Data Agendada",timeEstimate:"Estimativa de Tempo",totalTrackedTime:"Tempo Total Registrado",recurrence:"Recorr\xEAncia",completedDate:"Data de Conclus\xE3o",createdDate:"Data de Cria\xE7\xE3o",modifiedDate:"Data de Modifica\xE7\xE3o",projects:"Projetos",contexts:"Contextos",tags:"Tags",blocked:"Bloqueada",blocking:"Bloqueando"}},reminderContextMenu:{remindBeforeDue:"Lembrar antes do vencimento...",remindBeforeScheduled:"Lembrar antes da data agendada...",manageAllReminders:"Gerenciar Todos os Lembretes...",clearAllReminders:"Limpar Todos os Lembretes",quickReminders:{atTime:"Na hora do evento",fiveMinutesBefore:"5 minutos antes",fifteenMinutesBefore:"15 minutos antes",oneHourBefore:"1 hora antes",oneDayBefore:"1 dia antes"}},recurrenceContextMenu:{daily:"Diariamente",weeklyOn:"Semanalmente na(o) {day}",everyTwoWeeksOn:"A cada 2 semanas na(o) {day}",monthlyOnThe:"Mensalmente no {ordinal}",everyThreeMonthsOnThe:"A cada 3 meses no {ordinal}",yearlyOn:"Anualmente em {ordinal} de {month}",weekdaysOnly:"Apenas dias de semana",dailyAfterCompletion:"Diariamente (ap\xF3s conclus\xE3o)",every3DaysAfterCompletion:"A cada 3 dias (ap\xF3s conclus\xE3o)",weeklyAfterCompletion:"Semanalmente (ap\xF3s conclus\xE3o)",monthlyAfterCompletion:"Mensalmente (ap\xF3s conclus\xE3o)",customRecurrence:"Recorr\xEAncia personalizada...",clearRecurrence:"Limpar recorr\xEAncia",customRecurrenceModal:{title:"Recorr\xEAncia Personalizada",startDate:"Data de in\xEDcio",startDateDesc:"A data em que o padr\xE3o de recorr\xEAncia come\xE7a",startTime:"Hora de in\xEDcio",startTimeDesc:"A hora em que as inst\xE2ncias recorrentes devem aparecer (opcional)",recurFrom:"Recorrer a partir de",recurFromDesc:"Quando a pr\xF3xima ocorr\xEAncia deve ser calculada?",scheduledDate:"Data agendada",completionDate:"Data de conclus\xE3o",frequency:"Frequ\xEAncia",interval:"Intervalo",intervalDesc:"A cada X dias/semanas/meses/anos",daysOfWeek:"Dias da semana",daysOfWeekDesc:"Selecione dias espec\xEDficos (para recorr\xEAncia semanal)",monthlyRecurrence:"Recorr\xEAncia mensal",monthlyRecurrenceDesc:"Escolha como repetir mensalmente",yearlyRecurrence:"Recorr\xEAncia anual",yearlyRecurrenceDesc:"Escolha como repetir anualmente",endCondition:"Condi\xE7\xE3o de t\xE9rmino",endConditionDesc:"Escolha quando a recorr\xEAncia deve terminar",neverEnds:"Nunca termina",endAfterOccurrences:"Terminar ap\xF3s {count} ocorr\xEAncias",endOnDate:"Terminar em {date}",onDayOfMonth:"No dia {day} de cada m\xEAs",onTheWeekOfMonth:"Na {week} {day} de cada m\xEAs",onDateOfYear:"Em {day} de {month} de cada ano",onTheWeekOfYear:"Na {week} {day} de {month} de cada ano",frequencies:{daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",yearly:"Anualmente"},weekPositions:{first:"primeira",second:"segunda",third:"terceira",fourth:"quarta",last:"\xFAltima"},weekdays:{monday:"Segunda-feira",tuesday:"Ter\xE7a-feira",wednesday:"Quarta-feira",thursday:"Quinta-feira",friday:"Sexta-feira",saturday:"S\xE1bado",sunday:"Domingo"},weekdaysShort:{mon:"Seg",tue:"Ter",wed:"Qua",thu:"Qui",fri:"Sex",sat:"S\xE1b",sun:"Dom"},cancel:"Cancelar",save:"Salvar"}}}};var Tme={en:BG,fr:jG,ru:HG,zh:zG,de:UG,es:WG,ja:qG,pt:VG};function $G(n){return new qT({resources:Tme,defaultLocale:"en",fallbackLocale:"en",...n})}var $T=require("obsidian");rr();var YT="tasknotes-release-notes",YG="https://github.com/callumalpass/tasknotes/releases",GG="https://github.com/callumalpass/tasknotes",VT=class extends $T.ItemView{constructor(t,e,r,a){super(t),this.plugin=e,this.releaseNotesBundle=r,this.version=a}getViewType(){return YT}getDisplayText(){return this.plugin.i18n.translate("views.releaseNotes.title",{version:this.version})}getIcon(){return"book-open"}transformIssueLinks(t){return t.replace(/\(#(\d+)\)/g,"([#$1](https://github.com/callumalpass/tasknotes/issues/$1))")}formatDate(t){if(!t)return"";try{let e=qa(t);return M(e,"MMMM d, yyyy")}catch(e){return""}}async createVersionSection(t,e,r){let a=t.createDiv({cls:"release-notes-version-section"});a.style.marginBottom="20px",a.style.border="1px solid var(--background-modifier-border)",a.style.borderRadius="6px",a.style.overflow="hidden";let i=a.createDiv({cls:"release-notes-version-header"});i.style.padding="16px",i.style.cursor="pointer",i.style.display="flex",i.style.justifyContent="space-between",i.style.alignItems="center",i.style.backgroundColor=e.isCurrent?"var(--background-secondary)":"var(--background-primary)",i.style.transition="background-color 0.2s",i.addEventListener("mouseenter",()=>{i.style.backgroundColor="var(--background-secondary)"}),i.addEventListener("mouseleave",()=>{i.style.backgroundColor=e.isCurrent?"var(--background-secondary)":"var(--background-primary)"});let s=i.createDiv({cls:"release-notes-version-info"});s.style.display="flex",s.style.alignItems="baseline",s.style.gap="12px";let o=s.createEl("h2",{text:e.version});if(o.style.margin="0",o.style.fontSize="1.2em",o.style.fontWeight="600",e.isCurrent){let u=s.createEl("span",{text:"Current"});u.style.fontSize="0.75em",u.style.padding="2px 8px",u.style.borderRadius="4px",u.style.backgroundColor="var(--text-accent)",u.style.color="var(--text-on-accent)",u.style.fontWeight="500"}if(e.date){let u=s.createEl("span",{text:this.formatDate(e.date)});u.style.color="var(--text-muted)",u.style.fontSize="0.9em"}let l=i.createEl("span",{text:r?"\u25BC":"\u25B6"});l.style.fontSize="0.8em",l.style.color="var(--text-muted)";let c=a.createDiv({cls:"release-notes-version-content"});c.style.padding="0 16px 16px 16px",c.style.display=r?"block":"none";let d=this.transformIssueLinks(e.content);await $T.MarkdownRenderer.render(this.plugin.app,d,c,"",this),i.addEventListener("click",()=>{let u=c.style.display!=="none";c.style.display=u?"none":"block",l.textContent=u?"\u25B6":"\u25BC"})}async onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-release-notes-view");let e=t.createDiv({cls:"tasknotes-release-notes-container"});e.style.padding="20px",e.style.maxWidth="900px",e.style.margin="0 auto";let r=e.createEl("div",{cls:"release-notes-header"});r.style.marginBottom="20px",r.createEl("h1",{text:this.plugin.i18n.translate("views.releaseNotes.header",{version:this.version})});let a=e.createEl("p");a.style.marginBottom="20px",a.style.fontSize="0.9em",a.style.color="var(--text-muted)";let i=this.plugin.i18n.translate("views.releaseNotes.starMessage"),s=i.toLowerCase().lastIndexOf("github");if(s!==-1){a.appendText(i.substring(0,s));let d=a.createEl("a",{text:i.substring(s,s+6),href:GG});d.style.color="var(--text-accent)",d.addEventListener("click",u=>{u.preventDefault(),window.open(GG,"_blank")}),a.appendText(i.substring(s+6))}else a.appendText(i);let o=e.createEl("div",{cls:"release-notes-versions"});for(let d=0;d<this.releaseNotesBundle.length;d++){let u=this.releaseNotesBundle[d],p=u.isCurrent||d===0;await this.createVersionSection(o,u,p)}let l=e.createEl("div",{cls:"release-notes-footer"});l.style.borderTop="1px solid var(--background-modifier-border)",l.style.paddingTop="20px",l.style.marginTop="30px",l.style.textAlign="center";let c=l.createEl("a",{text:this.plugin.i18n.translate("views.releaseNotes.viewAllLink"),href:YG});c.style.color="var(--text-accent)",c.style.textDecoration="none",c.addEventListener("click",d=>{d.preventDefault(),window.open(YG,"_blank")})}async onClose(){let{contentEl:t}=this;t.empty()}};var KG=`# TaskNotes 4.1.3
|
||
|
||
This patch fixes a critical performance issue affecting the Calendar views. As a bonus, it adds a configurable "split" view to the task creation/edit modals.
|
||
|
||
## Added
|
||
|
||
- Split layout for task modals on wide screens (900px+)
|
||
- Details editor appears in a dedicated right column when the modal is expanded
|
||
- New setting "Split layout on wide screens" in Modal Fields settings tab to toggle this behavior
|
||
- Improves usability by showing form fields and details side-by-side
|
||
|
||
## Fixed
|
||
|
||
- (#1330) Fixed calendar view regression taking 5 seconds to load and respond to user interactions
|
||
- Initial calendar load is now immediate again
|
||
- User interactions (drag/drop, creating timeblocks, etc.) respond instantly
|
||
- Removed redundant date filtering (FullCalendar handles this more efficiently)
|
||
- Thanks to @ysafonov, @kmaustral, @sunjiawe, @\u041C\u0438\u0437\u0433\u0438\u0440\u044C, and @FiliusIcari for reporting
|
||
`;var QG=`# TaskNotes 4.1.2
|
||
|
||
## Fixed
|
||
|
||
- Significant performance improvements for Bases views (TaskList, Kanban, Calendar)
|
||
- Reduced \`extractDataItems\` time from ~4 seconds to ~5-10ms for large vaults (6000+ tasks)
|
||
- Computed file properties (\`file.backlinks\`, \`file.links\`, etc.) are now fetched lazily during render instead of upfront
|
||
- Only visible items (with virtualization) trigger expensive property computations
|
||
- Added debouncing to \`onDataUpdated\` to prevent UI freezes during typing
|
||
- Timeblock generation now uses Obsidian's metadataCache instead of file reads
|
||
- Added date range filtering for calendar events to skip events outside visible range
|
||
- (#1285) Calendar view uses 5-second debounce to prevent flickering while typing
|
||
- Thanks to @steven-murray for reporting
|
||
- Calendar view switching (month/week/day/list) is now much faster
|
||
- View type is now saved on unload instead of on every change
|
||
- Fixed task edit modal archive button being too narrow on mobile devices
|
||
- (#1319) Added missing properties to Field Mapping settings
|
||
- \`recurrence_anchor\` - now in Settings > Task Properties > Task Details
|
||
- \`skipped_instances\` - now in Settings > Task Properties > Metadata Properties
|
||
- Thanks to @kazerniel for reporting
|
||
- (#1310) Fixed inline task conversion deleting text when task title exceeds filename limits
|
||
- Text that cannot fit in the filename is now preserved in the task note's body
|
||
- Thanks to @prayidae for reporting
|
||
- (#1301) Fixed inline task wikilinks leaving blank space when no metadata properties are visible
|
||
- Thanks to @Richard-UMPV for reporting
|
||
- (#1317) Fixed project autosuggest filters not working correctly when only "Required Property Key" is configured
|
||
- NLP \`+\` trigger now properly filters by property existence when no property value is specified
|
||
- Modal "Add to project" button now shows consistent results with inline autosuggest
|
||
- Thanks to @JacksonMcDonaldDev for reporting
|
||
- (#1287), (#1307) The "New" button in Bases views now opens the TaskNotes creation modal
|
||
- Tasks created from Bases views now respect default properties (status, priority, etc.)
|
||
- Tasks are now created in the configured default folder instead of the views folder
|
||
- Thanks to @anareaty and @sylvainfct-dot for reporting
|
||
- (#1291) Fixed Microsoft Calendar OAuth documentation using wrong redirect URI
|
||
- Added instructions for configuring via Azure manifest editor
|
||
- Thanks to @PlecotusAustriacus for reporting
|
||
|
||
## Added
|
||
|
||
- (#803) New command "Convert current note to task" to add task properties to an existing note
|
||
- Thanks to @GardarikanetS and @diegomarzaa for suggesting
|
||
- (#1080) Custom user fields now support default values
|
||
- Each field type has an appropriate input: text field, number input, toggle, date preset dropdown, or comma-separated list
|
||
- Defaults are applied when creating tasks via modal, instant conversion, "Create or open task" command, or HTTP API
|
||
- Thanks to @bradyrx for suggesting
|
||
|
||
## Changed
|
||
|
||
- Added documentation link to settings panel (links to tasknotes.dev)
|
||
- Reorganized settings panel for improved discoverability
|
||
- Removed "Defaults" tab - default values are now configured alongside each property in the Task Properties tab
|
||
- Moved task filename format settings to the Title property section
|
||
- Moved project autosuggest settings to the Projects property section
|
||
- Body template setting moved to the Features tab
|
||
- Added descriptions to each property explaining its purpose
|
||
- Moved "Folder for converted tasks" setting to General tab under Task Storage for better discoverability
|
||
- Updated setting description to clarify that leaving empty uses the default tasks folder
|
||
|
||
`;var ZG='# TaskNotes 4.1.1\n\n## Added\n\n- (#1277) Icon autosuggestion for custom status settings\n - Type to search through all available Lucide icons\n - Thanks to @Arachnidai for the suggestion\n- New formula properties in default Base templates\n - **Date calculations**: `daysUntilDue`, `daysUntilScheduled`, `daysSinceCreated`, `daysSinceModified`\n - **Boolean helpers**: `isOverdue`, `isDueToday`, `isDueThisWeek`, `isScheduledToday`, `isRecurring`, `hasTimeEstimate`\n - **Time tracking**: `timeRemaining`, `efficiencyRatio`, `timeTrackedThisWeek`, `timeTrackedToday`, `timeTrackedFormatted`\n - **Grouping**: `dueMonth`, `dueWeek`, `scheduledMonth`, `scheduledWeek`, `dueDateCategory`, `timeEstimateCategory`, `ageCategory`, `createdMonth`, `modifiedMonth`, `priorityCategory`, `projectCount`, `contextCount`, `trackingStatus`\n - **Combined due/scheduled**: `nextDate`, `daysUntilNext`, `hasDate`, `isToday`, `isThisWeek`, `nextDateCategory`, `nextDateMonth`, `nextDateWeek` - work with whichever date comes first\n - **Sorting**: `priorityWeight`, `urgencyScore` (combines priority with date proximity)\n - **Display**: `dueDateDisplay` (relative dates like "Today", "Tomorrow", "3d ago")\n - Action-oriented views (Not Blocked, Today, Overdue, This Week) now sort by urgency score, showing most important tasks first\n - See [Default Base Templates documentation](https://tasknotes.dev/views/default-base-templates) for full details\n - **Note**: To get these new formulas, either copy them from the documentation, or delete your `.base` files in `TaskNotes/Views/` and restart Obsidian to regenerate them\n\n## Changed\n\n- (#1282) Added spacing between task title and metadata in inline task widgets for improved readability\n - Thanks to @3zra47 for the suggestion\n- Custom status icons now display in all context menus (task context menu, batch operations menu, and task creation/edit modals)\n- Added embedded video guide for Google Calendar OAuth setup in documentation\n - Thanks to [@antoneheyward](https://www.youtube.com/@antoneheyward) for the tutorial\n\n## Fixed\n\n- (#1279) Fixed Kanban column width setting not being respected on mobile devices\n - Thanks to @guncav for reporting\n- (#1026), (#1177) Fixed recurring task completion from Base views recording the wrong date for users in negative UTC offset timezones (e.g., PST/PDT) when completing tasks in the evening\n - The bug caused `complete_instances` to record the next day instead of the user\'s current calendar day\n - Thanks to @3zra47 and @nslee123 for reporting and providing detailed reproduction steps\n\n';var JG=`# TaskNotes 4.1.0
|
||
|
||
## Added
|
||
|
||
- (#1245), (#793) Added custom icon support for task statuses
|
||
- Configure a Lucide icon name (e.g., \`check\`, \`circle\`, \`clock\`) per status in Settings \u2192 Task Properties \u2192 Task Statuses
|
||
- Icons display instead of the colored dot, inheriting the status color
|
||
- Browse available icons at [lucide.dev](https://lucide.dev)
|
||
- Improves accessibility by allowing shape-based status differentiation
|
||
- Thanks to @3Fish for the feature request and @Raonmir2, @aubreyz, @prayidae, and @anareaty for the discussion on accessibility and icon-based indicators
|
||
|
||
- (#1259) Added [Property Types Reference](../settings/property-types-reference.md) documentation
|
||
- Documents expected data types (text, list, date, number) for all frontmatter properties
|
||
- Includes format specifications, examples, and a complete YAML reference
|
||
- Thanks to @Oblique82 for the suggestion
|
||
|
||
- (#1248) Added formula property support for sub-grouping in Bases Task List view
|
||
- Formula properties (e.g., \`formula.myFormula\`) now appear in the Sub-group by dropdown
|
||
- Supports all Bases Value types including strings, numbers, booleans, dates, and lists
|
||
- Thanks to @prayidae for the feature request
|
||
|
||
- (#1070) Added formula property support for swimlanes in Bases Kanban view
|
||
- Formula properties now appear in the Swim Lane dropdown
|
||
- Fixed swimlanes displaying empty when grouping by formula properties
|
||
- Note: Dragging tasks between formula-based columns/swimlanes is disabled (formulas are computed values)
|
||
- Thanks to @cathywu for reporting
|
||
|
||
- (#1010), (#1126) Added batch task selection and editing in Task List and Kanban views
|
||
- Shift+click to select multiple tasks
|
||
- Right-click selected tasks to open batch context menu
|
||
- Batch operations: change status, priority, due date, scheduled date, archive, delete
|
||
- Drag multiple selected cards in Kanban to move them together
|
||
- Click the selection count indicator to clear selection
|
||
- Thanks to @jalooc and @solidabstract for the feature requests
|
||
|
||
- (#1207) Added inline search box to Bases views (Task List, Kanban, Calendar)
|
||
- Enable via "Enable search box" toggle in view settings
|
||
- Searches across title, status, priority, tags, contexts, projects, and visible custom properties
|
||
- Press Escape or click \xD7 to clear search
|
||
- Thanks to @renatomen for the PR
|
||
|
||
- (#363) Added "Create or open task" command with NLP-based quick task creation
|
||
- Open via command palette or assign a hotkey
|
||
- Search existing tasks or type natural language to create new tasks (e.g., "Buy groceries tomorrow #shopping")
|
||
- Press Enter to select an existing task, Shift+Enter to create a new task
|
||
- Real-time preview shows parsed title, due date, priority, tags, and other metadata
|
||
- Can be used when adding sub-tasks to create sub-tasks on-the-fly
|
||
- Thanks to @luciolebrillante for the feature request
|
||
|
||
- (#1044), (#1222) Added unsaved changes confirmation when closing task edit modal
|
||
- Detects modifications to any field (title, dates, priority, tags, etc.)
|
||
- Shows confirmation dialog with Save/Discard/Keep Editing options
|
||
- Prevents accidental data loss from clicking outside the modal or pressing Escape
|
||
- Thanks to @renatomen for the PR and @0-BSCode for the feature request
|
||
|
||
- (#904) Added visual highlighting for overdue and past dates on task cards
|
||
- Overdue due dates now display in red text
|
||
- Past scheduled dates now display in blue text
|
||
- Thanks to @ras0q for the suggestion
|
||
|
||
- (#1164) Added \`priorityWeight\` formula to all default Bases templates for priority-based sorting
|
||
- Formula maps each priority value to a numeric weight based on your custom priority configuration
|
||
- Sort by \`formula.priorityWeight\` in ascending order to get highest priority tasks first
|
||
- Example: \`if(priority=="high",0,if(priority=="normal",1,if(priority=="low",2,999)))\`
|
||
- Thanks to @jhedlund for the suggestion
|
||
|
||
- (#1257), (#1064) Added configurable event stacking options for Bases Calendar view
|
||
- **Allow events to overlap**: Toggle whether timed events visually overlap or display side-by-side in week/day views
|
||
- **Max stacked events**: Limit horizontal event stacking in week/day views (0 = unlimited)
|
||
- **Max events per day**: Limit events shown per day cell in month view (0 = auto based on cell height)
|
||
- **Max event rows per day**: Limit event rows per day cell in month view (0 = unlimited)
|
||
- Configure per-view in the Bases Calendar view settings under Layout
|
||
- Thanks to @3zra47 and @hasanyilmaz for the feature requests
|
||
|
||
## Changed
|
||
|
||
- Improved inline task conversion to merge TasksPlugin and NLP parsing results
|
||
- Previously, if a task had hashtags (e.g., \`- [ ] Buy milk tomorrow #groceries\`), NLP parsing was skipped entirely
|
||
- Now NLP always parses the clean title to extract dates/times, then merges with TasksPlugin-extracted metadata
|
||
- TasksPlugin explicit values (emoji dates like \u{1F4C5}) take priority over NLP-inferred values
|
||
- Tags, contexts, and projects from both sources are combined and deduplicated
|
||
|
||
- Polished task card styling for a more native Obsidian look
|
||
- Simplified hover and focus states to use native Obsidian colors
|
||
- Removed blur filter and shadows from metadata pills
|
||
- Fixed subtask chevron vertical alignment with status dot
|
||
- Reduced swimlane label column width in Kanban view
|
||
|
||
- (#1151) Increased mini calendar heatmap color intensity for better visibility
|
||
- Days with notes now show more noticeable colors, especially with low note counts
|
||
- Intensity levels increased from 10/25/45/65% to 25/40/55/70%
|
||
- Thanks to @arreme for the suggestion
|
||
|
||
## Fixed
|
||
|
||
- (#1271) Fixed custom user fields not appearing in task modals after creation
|
||
- New custom fields are now automatically added to both creation and edit modals
|
||
- Deleting a custom field also removes it from modal configuration
|
||
- Updating a field's display name syncs to the modal configuration
|
||
- Thanks to @craziedde for reporting
|
||
|
||
- (#1256) Fixed links in custom properties not rendering as clickable in task cards
|
||
- Wikilinks (\`[[Note]]\`) now render correctly in Bases views
|
||
- Markdown links (\`[text](url)\`) now render correctly in all views
|
||
- Links in list-type properties are also properly rendered
|
||
- Thanks to @3zra47 for reporting
|
||
|
||
- (#1157) Fixed inline task embeds breaking layout when placed in indented bullet lists
|
||
- Task titles now wrap naturally within line boundaries instead of forcing the entire card to a new line
|
||
- Metadata (dates, tags, etc.) stays inline when space permits, with horizontal scrolling on hover when needed
|
||
- Thanks to @3zra47 for reporting
|
||
|
||
- (#1241) Fixed deleting custom priorities in settings removing the wrong priority when multiple priorities exist
|
||
- Thanks to @Anthonyhunter100 for reporting
|
||
|
||
- (#1165) Fixed Kanban view grouping by list properties (contexts, tags, projects) treating multiple values as a single combined column
|
||
- Tasks with multiple values now appear in each individual column (e.g., a task with \`contexts: [work, call]\` appears in both "work" and "call" columns)
|
||
- Added "Show items in multiple columns" option (enabled by default) to control this behavior
|
||
- Fixed drag-and-drop to properly add/remove individual values instead of replacing the entire list
|
||
- Fixed swimlane mode to also respect list property explosion
|
||
- Thanks to @dictionarymouse for reporting
|
||
|
||
- (#1217) Fixed inconsistent Ctrl+Click/Cmd+Click behavior for opening notes in new tabs
|
||
- Note cards and internal links now properly support Ctrl/Cmd+Click to open in new tab
|
||
- Added middle-click support for opening in new tab
|
||
- Thanks to @diegomarzaa for reporting
|
||
|
||
- (#1265) Fixed task edit modal corrupting markdown-style project links on save
|
||
- Links like \`[Project Name](path.md)\` were being wrapped in extra brackets: \`[[[Project Name](path.md)]]\`
|
||
- Plain text project names are now preserved as-is instead of being converted to wikilinks
|
||
- Markdown-style project links now resolve properly and display as linked (not orange/unresolved)
|
||
- Thanks to @minchinweb for reporting
|
||
|
||
- (#1266) Fixed Kanban view scroll position resetting to top of column after any change
|
||
- Clicking status dots, priority, or other task properties no longer jumps the column back to top
|
||
- Scroll position is now preserved for both regular columns and swimlane cells
|
||
- Thanks to @essouflenfer for reporting
|
||
|
||
- (#485), (#1221), (#1262) Fixed NLP parser not recognizing non-ASCII characters in tags, contexts, and projects
|
||
- Tags like \`#investigaci\xF3n\` were being truncated at accented characters (e.g., \`#investigaci\`)
|
||
- Non-Latin scripts (Chinese, Cyrillic, Japanese, etc.) were not recognized at all (e.g., \`@\u5BB6\`, \`#\u6742\u4E8B\`, \`@\u043E\u0437\u043D\u0430\u043A\u043E\u043C\u0438\u0442\u044C\u0441\u044F\`)
|
||
- Parser now uses Unicode-aware regex patterns to support all languages and scripts
|
||
- Thanks to @Arachnidai, @fidelaznar, and @qian1ing for reporting
|
||
|
||
- (#1249) Fixed project preview in task creation modal showing quadruple brackets (\`[[[[Project]]]]\`)
|
||
- Projects selected from autocomplete were being wrapped in extra wikilink brackets in the preview display
|
||
- Thanks to @2vzqwz8tvg-png for reporting
|
||
|
||
- (#1249) Fixed custom priority ordering in settings being unclear and non-intuitive
|
||
- Priority cards are now draggable to reorder (like statuses)
|
||
- Priorities are displayed in weight order (lowest to highest priority)
|
||
- New priorities are added at the end (highest priority) instead of with a fixed weight
|
||
- Thanks to @2vzqwz8tvg-png for reporting
|
||
|
||
- (#1272) Fixed recurrence anchor not being saved when set to "completion" during task creation
|
||
- Selecting "completion" as the recurrence anchor now correctly persists to the task frontmatter
|
||
- Thanks to @blaxcky for reporting
|
||
|
||
- (#1128) Fixed NLP parser not allowing slashes in context names
|
||
- Contexts like \`@shopping/groceries\` were being split into \`@shopping\` and \`/groceries\`
|
||
- Hierarchical context names now work the same as tags and projects
|
||
- Thanks to @wealthychef1 for reporting
|
||
|
||
- (#1170) Fixed \`dateCreated\` and \`dateModified\` not using custom property names when creating notes from calendar events
|
||
- Notes created from ICS events now respect the field mapping configured in settings
|
||
- Thanks to @maddie-m for reporting
|
||
|
||
- (#1171) Fixed calendar event toggles not responding to changes after initial load
|
||
- Toggling "Show scheduled tasks", "Show due tasks", and other event filters now correctly updates the calendar
|
||
- Previously, changing these toggles had no effect until the view was reloaded
|
||
- Thanks to @hangryscribe3 for reporting
|
||
|
||
- (#1198) Fixed project links being created relative to the wrong file when editing from Bases views
|
||
- Relative paths in project links are now correctly resolved relative to the task note file
|
||
- Previously, editing a task from a Bases view would create project links relative to the \`.base\` file
|
||
- Thanks to @minchinweb for reporting
|
||
|
||
`;var XG=`# TaskNotes 4.0.5
|
||
|
||
## Changed
|
||
|
||
- (#790) Task edit modal now shows unresolved project links with appropriate styling
|
||
- Similar to how dependencies are displayed, unresolved projects now appear with visual indication
|
||
- Hovering over an unresolved project shows a tooltip explaining it couldn't be resolved
|
||
- Thanks to @aubreyz for reporting
|
||
|
||
## Fixed
|
||
|
||
- (#1011) Fixed chevrons incorrectly showing on tasks with no subtasks
|
||
- Project index was incorrectly adding all linked files instead of only files referenced in the projects field
|
||
- Now properly parses the projects field and only indexes those specific files as projects
|
||
- Also fixed alias handling in project and dependency links - aliases are now correctly stripped before link resolution
|
||
- Thanks to @craziedde for reporting
|
||
- (#1200) Fixed kanban drag & drop not updating task properties correctly
|
||
- Dragging tasks to different columns now properly triggers business logic (completedDate, auto-archive, webhooks)
|
||
- Previously, kanban updates bypassed \`updateProperty\` and directly modified frontmatter
|
||
- Thanks very much to @tvoklov for the PR
|
||
- (#1203) Fixed autocomplete dropdown being clipped inside NLP field boundaries
|
||
- Configure CodeMirror tooltips to render in document.body instead of constrained editor container
|
||
- Prevents suggestion dropdown from being hidden when it extends beyond the NLP field height
|
||
- Thanks to @Andrei-Ioda for reporting
|
||
- (#1172) Fixed task lists and checkboxes rendering incorrectly in task details editor
|
||
- Remove padding-left override on \`.cm-line\` to allow CodeMirror decorations (checkboxes, indentation) to render properly
|
||
- Content padding is now handled by \`.cm-content\` while \`.cm-line\` uses natural spacing
|
||
- Thanks to @nightroman for reporting
|
||
- Fixed relationships widget not appearing on project notes without frontmatter
|
||
- Widget now correctly shows on any note referenced as a project by tasks, regardless of whether the note has frontmatter
|
||
- Fixed task card and relationships widgets not appearing when opening notes in source mode
|
||
- Removed live preview mode restriction to allow widgets to render in both source and live preview modes
|
||
- (#901) Fixed calendar view toolbar buttons overflowing on narrow screens
|
||
- Added \`flex-wrap: wrap\` to calendar header toolbar to allow buttons to wrap to multiple lines
|
||
- Thanks to @RumiaKitinari for reporting
|
||
- (#1193), (#1194), (#1185) Fixed new calendar views not respecting user's default calendar settings
|
||
- Previously, new Bases calendar views used hardcoded inline defaults instead of user-configured preferences
|
||
- Calendar view initialization now correctly uses \`plugin.settings.calendarViewSettings\` as the fallback
|
||
- Thanks @ki5ck, @minchinweb and @ThamirysOlv for reporting
|
||
- Fixed calendar to ensure that it respects user's locale
|
||
- Tries to use calendar locale, then tries UI language, then system language, then falls back to English
|
||
- (#1043) Fixed default reminders with "at time of event" (0 offset) not being applied to tasks
|
||
- UI was displaying "1" instead of "0" for zero-offset reminders in settings
|
||
- Thanks to @dblinnikov for reporting
|
||
- (#1206) Fixed NLP status parsing regressions with trigger prefixes and temporal keywords
|
||
- Manually typing status trigger + label now correctly parses (e.g., \`*Done\` when label is \`Done\`)
|
||
- Status values containing temporal keywords no longer misparsed as dates (e.g., \`Expedite = Now\`)
|
||
- Thanks very much to @renatomen for the PR
|
||
- (#1212) Fixed "Show release notes on update" toggle not saving correctly
|
||
- Thanks to @Jon-dog for reporting
|
||
- (#1197) Add Portuguese language to list of translations in general tab settings
|
||
- Allows users to select the Portuguese translation option
|
||
- Thanks to @andysteel for the PR
|
||
- Fixed file properties displaying incorrectly in Bases views
|
||
- File properties like \`file.name\`, \`file.basename\`, \`file.size\`, etc. were showing as "Title" or returning null
|
||
- Now correctly extracts and displays all file properties from Obsidian's file metadata
|
||
- Supports both direct TFile properties (name, basename, extension, path, size, ctime, mtime) and computed properties (links, embeds, tags, backlinks, aliases)
|
||
`;var e4=`# TaskNotes 4.0.4
|
||
|
||
## Added
|
||
|
||
- (#1134, #779) Added CMD+Enter (Mac) / Ctrl+Enter (Windows/Linux) keyboard shortcut support for saving in all modals
|
||
- Works from any input field in task creation, task edit, time entry, timeblock, and property selector modals
|
||
- Thanks to @luckb0x, @hamlim and @nightroman for the feature requests
|
||
|
||
## Fixed
|
||
|
||
- (#1181) Fixed vertical overflow in Kanban view columns with fewer than 15 tasks
|
||
- Prevents cards from extending beyond column boundaries before virtualization activates
|
||
- Thanks to @lomarcanys for reporting
|
||
- (#1177) Bases views now anchor recurring completion and calendar navigation to the right date
|
||
- Recurring completion from Bases Task List/Kanban uses the task's scheduled/due date instead of "today" (fixes complete_instances)
|
||
- Bases calendar navigation and property-based events use UTC anchors to avoid previous-day jumps
|
||
- Thanks to @nslee123 for flagging the issue
|
||
- Bases calendar navigation now respects UTC-anchored dates to avoid landing on the previous day
|
||
- Corrected all-day end date calculation to prevent off-by-one spans
|
||
- Added regression test for the UTC anchor behavior
|
||
- Thanks to KaCii for [flagging the issue](https://discord.com/channels/686053708261228577/1433165116702199880/1439757826380660767)
|
||
|
||
## Changed
|
||
|
||
- Refactored plugin styling to better align with Obsidian's native UI conventions
|
||
- Replaced all \`cursor: pointer\` with \`cursor: var(--cursor)\` (100+ instances) to follow Obsidian's cursor convention
|
||
- Removed forced \`border: none; box-shadow: none\` rules that were fighting against Obsidian's native button styling
|
||
- Scoped custom \`.tn-btn\` button system to settings modal only (\`.mod-settings\`), allowing Obsidian's native button styles to work elsewhere
|
||
- Thanks to @kepano for guidance
|
||
`;var t4=`# TaskNotes 4.0.3
|
||
|
||
## Fixed
|
||
|
||
- (#1157) Fixed task embeds appearing on new line instead of inline with bullets in lists
|
||
- Changed inline task cards to use span elements instead of divs for proper inline flow
|
||
- Added max-width constraint to prevent wrapping when tasks are wider than editor
|
||
- Task embeds now display correctly inline with bullet points during live preview
|
||
- Thanks to @3zra47 for reporting
|
||
- (#1168) Fixed mini calendar stealing focus every few seconds when pinned to sidebar
|
||
- Thanks to @DearHaruHaru for reporting
|
||
- (#1161, #1162) Fixed "unexpected scalar" YAML parsing error in generated tasks-default.base template
|
||
- Changed nested quotes in "Not Blocked" filter from double to single quotes
|
||
- Thanks to @benschifman and @InterstellarRaccoon for reporting, @GarrettKaupp for identifying the fix
|
||
|
||
## Changed
|
||
|
||
- Updated task modal UI to use native Obsidian patterns for better theme compatibility
|
||
- Thanks to @kepano for feedback
|
||
|
||
`;var r4=`# TaskNotes 4.0.2
|
||
|
||
This release fixes some of the more urgent (and easy-to-fix) bugs that were introduced in the v4 major release. Thanks to everyone for your patience, and to those who have reported issues, for taking the time to do so. There will be more releases over the coming weeks to iron out some of v4's kinks.
|
||
|
||
## Added
|
||
|
||
- Added "Not Blocked" view to default task list template
|
||
- Shows incomplete tasks that are ready to work on (not blocked by incomplete dependencies)
|
||
- Uses Bases \`list.filter()\` to check completion status of each blocking task
|
||
- This new view can be accessed by regenerating the Task List view, or by copying the filters from the [default base templates documentation](https://tasknotes.dev/views/default-base-templates)
|
||
|
||
## Fixed
|
||
|
||
- (#1145, #1156) Fixed default Kanban view requiring manual 'Group by' configuration
|
||
- Default Kanban template now automatically includes \`groupBy\` property set to status
|
||
- Resolves "Kanban requires a 'Group by' property to be configured" error on first use
|
||
- Users no longer need to manually configure grouping through the Sort menu
|
||
- Thanks to @randomness42 and @seepage87 for reporting
|
||
- Fixed user-defined custom fields appearing as \`user:field_xxx\` in generated base templates
|
||
- Custom fields now use their actual property names (e.g., \`effort\` instead of \`user:field_1761435303709\`)
|
||
- Ensures Bases can properly query user-defined properties
|
||
- Also fixed \`totalTrackedTime\` to correctly map to the configured \`timeEntries\` property name
|
||
- (#1145) Improved Kanban error message when no 'Group by' property is configured
|
||
- Now includes instructions: "Click the 'Sort' button and select a property under 'Group by'"
|
||
- Thanks to @randomness42 for the suggestion
|
||
- (#1139, #1141) Fixed relationships widget not appearing in project notes
|
||
- Project references are now resolved to full file paths when indexing
|
||
- Uses Obsidian's link resolution API to handle wikilinks, markdown links, and relative paths
|
||
- Restores v3.x behavior where subtasks appear in parent project notes
|
||
- Thanks to @jhedlund, @n1njaznutz, and @luckb0x for reporting and testing
|
||
- Fixed dependency blocking status to be status-aware
|
||
- "Blocked (x)" pill now only appears when tasks have **incomplete** blocking dependencies
|
||
- Tasks with all completed blocking dependencies no longer show as blocked
|
||
- Fixed cache invalidation bug causing blocking/blocked pills to disappear when editing tasks
|
||
- When a task is modified, only forward dependencies are cleared (stored in its frontmatter)
|
||
- Reverse dependencies are preserved (stored in other tasks' frontmatter)
|
||
|
||
## Changed
|
||
|
||
- Removed custom TaskNotes icon from task modals
|
||
- Task creation and edit modals now use Obsidian's standard title styling
|
||
- Thanks to @kepano for the suggestion
|
||
- Moved default base templates documentation to \`docs/views/\`
|
||
- Location: \`docs/views/default-base-templates.md\`
|
||
- Added cross-references to official Obsidian Bases documentation
|
||
- Updated code comments to reference new documentation path
|
||
- Fixed incorrect quote escaping in default base templates documentation
|
||
- YAML examples now use proper single quotes for strings containing double quotes
|
||
`;var n4=`# TaskNotes 4
|
||
|
||
TaskNotes 4.0.1 is a stability-focused major release that finishes the migration to Obsidian's Bases core plugin. Every task-facing view (Task List, Kanban, Calendar, Agenda, Mini Calendar, and the embedded Relationships widget) now runs on \`.base\` files. This refactor simplifies the plugin codebase, removes bespoke UI logic, and lets workflows feel native to Obsidian\u2014views are just files in your vault.
|
||
|
||
## Highlights
|
||
|
||
**New features and improvements:**
|
||
|
||
- Performance improvements
|
||
- Virtual scrolling in Task List and Kanban views handles **30,000+ tasks** without performance degradation
|
||
- **OAuth calendar integration**
|
||
- Google Calendar and Microsoft Outlook bi-directional sync
|
||
- Drag calendar events in the TaskNotes calendar to update them online
|
||
- **Configurable modals and NLP**
|
||
- New Modal Fields settings tab for moving, hiding, or requiring fields in create/edit modals
|
||
- Rich markdown editor and customizable NLP triggers, including autocomplete for user fields
|
||
- **Time management features**
|
||
- Time Entry Editor Modal
|
||
- Improved Timeblock creation and management
|
||
- Completion-based recurrence with \`recurrence_anchor\` field
|
||
- Skippable recurrence instances
|
||
|
||
**Bases architecture changes:**
|
||
|
||
- **Bases-first architecture**
|
||
- Task views ship as \`.base\` files inside \`TaskNotes/Views/\`
|
||
- Commands and ribbon buttons now open files you control
|
||
- Filtering/grouping/sorting uses Bases YAML instead of TaskNotes-specific UI
|
||
- Agenda is a dedicated list-mode calendar \`.base\` file for fast daily/weekly reviews
|
||
- **Inline workflows stay in sync**
|
||
- Unified Relationships widget embeds a Bases view so project subtasks, dependencies, and blocking tasks stay in one place
|
||
- Task cards inside notes honor the same Bases filtering/grouping rules as standalone views
|
||
|
||
## Why Bases?
|
||
|
||
Moving everything to Bases allowed us to delete thousands of lines of bespoke filtering logic, state management, and widget code. The plugin now leans on Obsidian's supported API, which:
|
||
|
||
- Reduces maintenance overhead and improves reliability
|
||
- Lets advanced users version-control and audit their view definitions
|
||
- Makes saved views portable between vaults
|
||
- Keeps TaskNotes behavior consistent with other Obsidian-native workflows
|
||
|
||
## Upgrade Notes
|
||
|
||
- Obsidian **1.10.1 or later** is required (Bases public API with group-by support)
|
||
- Enable the **Bases** core plugin before opening TaskNotes views
|
||
- Run **Settings \u2192 TaskNotes \u2192 General \u2192 Create Default Files** if you need fresh \`.base\` files
|
||
- Use **Export All Saved Views to Bases** to convert any legacy FilterBar saved views into \`.base\` files
|
||
- The Relationships widget uses \`TaskNotes/Views/relationships.base\`; adjust that file to change what appears inside notes
|
||
|
||
## Breaking Changes
|
||
|
||
- The old FilterBar UI has been removed\u2014all filtering and saved views live in \`.base\` files
|
||
- Legacy widget settings (\`showProjectSubtasks\`, \`showTaskDependencies\`, etc.) were replaced with \`showRelationships\` and \`relationshipsPosition\`
|
||
- Task view commands now fail if their mapped \`.base\` file is missing; configure paths under **Settings \u2192 TaskNotes \u2192 General \u2192 View Commands**
|
||
- **Priority sorting now uses alphabetical order instead of custom weights**
|
||
- In v3, TaskNotes used priority "weights" to determine sort order (higher weight = higher priority)
|
||
- In v4, Obsidian's Bases plugin sorts priorities alphabetically by their value
|
||
- The weight field has been removed from the settings UI
|
||
- **Workaround**: Name your priority values to sort alphabetically in your desired order
|
||
- Example: \`1-urgent\`, \`2-high\`, \`3-medium\`, \`4-normal\`, \`5-low\`
|
||
- Or: \`a-urgent\`, \`b-high\`, \`c-medium\`, \`d-normal\`, \`e-low\`
|
||
- Agenda view has been replaced by the list view in Calendar
|
||
- Grouping is not supported in this view, so the "Overdue" group is no longer provided
|
||
- A separate "Overdue" view is available in the "Task List" base file
|
||
|
||
## Known Issues
|
||
|
||
- Users upgrading from versions prior to 3.x should export saved views to Bases before deleting old plugin data
|
||
- Embedded Bases views still require the Bases plugin to remain enabled; disabling Bases will hide TaskNotes task views
|
||
|
||
## Details
|
||
|
||
### Added
|
||
|
||
- Virtual scrolling and lazy rendering to Bases views for handling thousands of notes without performance degradation - Thanks to @aubreyz and @turingexmachina for reporting performance issues and help with diagnosis
|
||
- Google Calendar and Microsoft Outlook integration via OAuth 2.0 with automatic syncing
|
||
- Time Entry Editor Modal for managing time entries (Alt-drag on calendar to create)
|
||
- Kanban Swimlane Layout with horizontal grouping and configurable column widths
|
||
- Saved View Converter button in settings to convert v3 saved filter views to \`.base\` files
|
||
- Context menus for time entries and ICS events in calendar views
|
||
- Calendar icon to ICS event titles for better visual distinction
|
||
- Hover tooltips for timeblocks in calendar views
|
||
- MiniCalendar view for Bases integration with monthly grid and dot indicators - Thanks to @aubreyz and @turingexmachina for reporting performance issues and help with diagnosis
|
||
- (#1090) Portuguese (Brazil) translation - Thanks to @andysteel for the contribution
|
||
- Configurable task modal fields with drag-and-drop reordering in new "Modal Fields" settings tab
|
||
- Rich markdown editor for NLP task creation with syntax highlighting and wikilink support
|
||
- Customizable NLP triggers with autocomplete and keyboard navigation
|
||
- Inline task link overlay enhancements with configurable visible properties
|
||
- Kanban column reordering via drag and drop with saved order per grouping property
|
||
- Mini calendar enhancements including week numbers, heat map visualization, note preview tooltips, and keyboard navigation
|
||
- Unified Relationships widget consolidating project subtasks, dependencies, and blocking relationships with automatic tabs
|
||
- Updated task card styling with improved hover effects, shadows, and gradient accents
|
||
- (#361) Completion-based recurrence support with \`recurrence_anchor\` field for tasks that recur based on completion date - Thanks to @luciolebrillante for the original feature request, and @jhedlund, @nschenone, @BryanWall, @realJohnDoe, and @kazerniel for additional input and interest
|
||
- (#416) Support for skipped recurrence instances with \`skipped_instances\` field and right-click skip/unskip in calendar - Thanks to @mdbraber for suggesting the array approach and @jerzy-dudzic for reporting the issue
|
||
- Sub-grouping support to Bases Task List view with nested grouping by any property and collapsible groups
|
||
- Documentation for default Bases templates showing all default \`.base\` file templates with examples
|
||
|
||
### Changed
|
||
|
||
- All views (Calendar, MiniCalendar, Kanban, Tasks, Agenda, Project Subtasks) now use Bases architecture with \`.base\` files
|
||
- Calendar sources (Google, Microsoft, ICS events) can be toggled independently with improved timezone handling
|
||
- Reorganized settings tabs with OAuth calendar settings in Integrations tab
|
||
- Refactored Bases integration to use public API and trust pre-sorted data
|
||
- Refactored calendar modules to use ES6 imports instead of lazy require() calls
|
||
- Time entry events now show task context menu on right-click
|
||
- Replaced MinimalNativeCache with just-in-time TaskManager for zero startup time and always-fresh task data
|
||
- Completed internationalization with 100% translation coverage across all 6 supported languages
|
||
- Migrated to i18n-state-manager CLI tool for improved translation management
|
||
- Bases view templates now generate dynamically based on user settings with adaptive task filters
|
||
- Updated Bases CalendarView to show TaskNotes in property-based events
|
||
- NLP system overhaul with consolidated trigger configuration and direct NaturalLanguageParser usage
|
||
- Simplified TaskCard interface and refactored TaskLinkWidget for consistency
|
||
- Settings UI enhancements with NLP triggers configurable through Features tab
|
||
- Refactored Bases views to use Component lifecycle properly with automatic cleanup
|
||
- Improved development experience by converting ESLint errors to warnings
|
||
- Renamed "Advanced Calendar" to "Calendar" throughout the UI
|
||
- Improved timeblock visual styling in calendar views with reduced border width and softer shadows
|
||
- Updated "Export All Views" button to "Export V3 Views" to clarify it migrates v3 saved views
|
||
- Improved internationalization (i18n) support in General settings tab with all Bases integration settings using translation keys
|
||
- Changed default Tasks List template view order with "All Tasks" first and added "Unscheduled" view
|
||
|
||
### Fixed
|
||
|
||
- (#843) Fixed task tag being added when "Identify tasks by" is set to "Property" - Thanks to @jack2game for reporting
|
||
- Fixed dark mode calendar borders
|
||
- Fixed Bases Kanban column ordering - Thanks to @mweichert for reporting
|
||
- Fixed state management bug in FilterSettingsComponent
|
||
- Fixed timezone handling for recurring events
|
||
- (#1022, #684) Fixed tasks randomly disappearing when Smart Connections plugin is enabled by eliminating race condition - Thanks to @alejandrospoz, @seepage87, @amarjt, @luckb0x, and camara-tech for reporting and help debugging
|
||
- (#992) Fixed "Failed to resolve module specifier 'obsidian'" error when moving recurring task instances in calendar - Thanks to @jalooc for reporting
|
||
- Fixed task dependencies not displaying on task cards with proper isBlocked and isBlocking flags
|
||
- Fixed Bases property mapping for user-configured field names
|
||
- Fixed Bases views not respecting user-configured visible properties
|
||
- Fixed MiniCalendar UTC anchoring for consistent timezone-independent date handling
|
||
- Fixed DateValue conversion in BasesDataAdapter for property-based events in CalendarView
|
||
- (#1084) Fixed word wrapping in NLP preview items - Thanks to @maybetm for the fix
|
||
- (#975) Fixed advanced calendar list headers not respecting theme colors - Thanks to @hugohil for the fix
|
||
- (#1089) Fixed embedded task list bases growing unbounded and leaving large empty space - Thanks to @same774 for reporting with screenshot
|
||
- Fixed "Highlight today" toggle and calendar view type persistence in Bases Calendar view options
|
||
- (#1050) Fixed task modal adding unwanted empty contexts and projects arrays - Thanks to @nightroman for reporting
|
||
- Fixed inline task link overlay layout prioritization and horizontal scrolling for metadata
|
||
- Fixed group collapse/expand functionality in TaskListView
|
||
- Fixed config loading race condition in KanbanView and CalendarView
|
||
- Fixed MiniCalendarView to use direct Bases API like other views
|
||
- (#893) Fixed yearly recurring tasks not always updating scheduled date to next occurrence when completed - Thanks to @VenturaNotes for reporting
|
||
- (#951) Fixed yearly recurring tasks not showing up in calendar's weekly, 3-day, or day views - Thanks to @bespokecomp for reporting
|
||
- (#889) Fixed git merge conflicts in calendar subscription metadata by storing in memory instead of disk - Thanks to @karlfrohlich for reporting
|
||
- Fixed recurrence modal not loading DTSTART date/time when editing existing recurrence rules
|
||
- (#1097) Fixed custom properties and formulas not displaying in Bases views using getValue() method - Thanks to @cathywu for reporting
|
||
- (#1099) Fixed issues with default Bases file creation including double-prefix bug and race condition - Thanks to @kmaustral for reporting
|
||
- (#1110) Fixed open recurring tasks appearing crossed out in Tasks view by using UTC-anchored dates - Thanks to @kmaustral for reporting
|
||
- (#1118) Fixed user-defined fields not working in inline task conversion to TaskNote - Thanks to @guncav for reporting
|
||
- Fixed kanban column width CSS constraints not matching settings slider range
|
||
- Fixed Kanban view showing empty columns for all user-defined statuses when grouping by status - Thanks to @williamcheuk03 for reporting
|
||
- (#1103) Fixed TaskNotes/Views folder being created unnecessarily on startup - Thanks to @Wayment9504 for reporting
|
||
- (#1133) Fixed empty priority columns not showing in Kanban view when "Hide empty columns" is disabled - Thanks to @luckb0x for reporting
|
||
- Fixed OAuth calendar cards showing "Unknown account" by removing non-functional Account field - Thanks to @Oblique for reporting
|
||
- Fixed incorrect Bases syntax in default template files with correct parameter naming
|
||
- Fixed incorrect Bases syntax in "Export V3 Views" feature with correct YAML structure
|
||
- (#1127) Fixed custom priority colors not being respected in Task List and Subtasks sections - Thanks to @HPmattsloper for reporting
|
||
- (#1043) Fixed inability to set "at time of event" (0 offset) as default reminder in settings - Thanks to @dblinnikov for reporting
|
||
- (#1055) Fixed break sessions being logged as \`type: work\` when started via command/hotkey - Thanks to @0-BSCode for reporting and debugging
|
||
- (#1024) Fixed date/time picker immediately closing when selecting time on iPhone by refactoring to native Modal components - Thanks to @3zra47 for reporting
|
||
- (#1122) Fixed inline task titles being truncated too aggressively with increased max-width - Thanks to @jacorvillo for reporting
|
||
- Fixed Obsidian crashes when invalid time values entered in Bases calendar view configuration
|
||
- (#1120) Fixed custom field mappings not being respected throughout the application - Thanks to @kmaustral for reporting
|
||
- (#1121) Fixed custom user fields being saved with auto-generated IDs instead of user-defined property keys - Thanks to @guncav for reporting
|
||
- (#1123) Fixed relationships widget only displaying on task notes, now appears on both task and project notes - Thanks to @dblinnikov for reporting
|
||
- Fixed time entries not showing in calendar view for tasks without scheduled or due dates
|
||
- (#1091) Fixed task card and relationships widgets appearing inside footnote editors - Thanks to @3zra47 for reporting
|
||
- (#1086) Fixed calendar "+more" popover showing white text on white background in dark mode - Thanks to @same774 for reporting
|
||
- (#1076) Fixed inability to create timeblocks ending at midnight (00:00) - Thanks to @skoove for reporting
|
||
- (#958) Fixed cursor jumping and layout shifts when typing near task card or relationships widgets in live preview - Thanks to @thesmithmode for detailed debugging information
|
||
- (#513) Fixed task card and relationships widgets not appearing in reading mode and fixed critical memory leak - Thanks to @berzernberg for reporting
|
||
|
||
### Removed
|
||
|
||
- Removed StatusSuggestionService (functionality consolidated into NaturalLanguageParser)
|
||
- Removed legacy FilterBar UI - all filtering now lives in \`.base\` files
|
||
- Removed legacy views
|
||
|
||
`;var a4=`# TaskNotes 4.0.0-beta.3
|
||
|
||
> **Beta Release**
|
||
>
|
||
> You may encounter issues. Report problems on [GitHub Issues](https://github.com/callumalpass/tasknotes/issues).
|
||
|
||
## Added
|
||
|
||
- Updated task card styling
|
||
- Increased status dot size from 16px to 18px
|
||
- Added subtle shadows and transitions to card hover states
|
||
- Updated hover effects on status and priority dots with scaling and removed glow
|
||
- Modified metadata pills with backdrop blur and adjusted spacing
|
||
- Added box shadows to interactive elements (dates, projects, tags) on hover
|
||
- Updated animations to use cubic-bezier easing
|
||
- Added gradient accents to subtask and blocking task borders
|
||
- Fixed subtasks appearing behind parent card hover backgrounds
|
||
- Fixed subtask click and context menu events bubbling to parent cards
|
||
- Fixed subtasks inheriting parent priority and status colors
|
||
|
||
- (#361) Added completion-based recurrence support with \`recurrence_anchor\` field
|
||
- Tasks can now recur based on completion date instead of scheduled date
|
||
- Set \`recurrence_anchor: completion\` in task frontmatter to enable this behavior
|
||
- When completing a recurring task, the next occurrence will be scheduled relative to the completion date
|
||
- The DTSTART in the RRULE automatically updates to the completion date, ensuring calendar views show future occurrences at the correct dates
|
||
- Defaults to \`scheduled\` (original behavior) if not specified
|
||
- Useful for tasks like "Exercise weekly" where you want the next occurrence 7 days after you actually complete it, not 7 days after it was scheduled
|
||
- Example: Complete a weekly task 2 days late, and the next occurrence will be 7 days from the completion date (not the original scheduled date)
|
||
- Thanks to @luciolebrillante for the original feature request, and @jhedlund, @nschenone, @BryanWall, @realJohnDoe, and @kazerniel for additional input and interest
|
||
|
||
- (#416) Added support for skipped recurrence instances with \`skipped_instances\` field
|
||
- Recurring tasks can now have individual instances marked as "skipped" without completing them
|
||
- Skipped instances are stored in the \`skipped_instances\` frontmatter array (e.g., \`["2025-11-15", "2025-11-22"]\`)
|
||
- Right-click on a recurring task instance in calendar views to skip/unskip it
|
||
- Visual styling differentiates skipped instances:
|
||
- Calendar views: Gray background with muted appearance
|
||
- Task cards: Strike-through text with gray styling
|
||
- Skipped instances don't affect the recurrence pattern - future instances continue as scheduled
|
||
- Useful for holidays, vacations, or other planned exceptions to recurring tasks
|
||
- Thanks to @mdbraber for the suggestion to use an array similar to \`complete_instances\`, and @jerzy-dudzic for reporting the issue
|
||
|
||
|
||
## Fixed
|
||
|
||
- (#893) Fixed yearly recurring tasks not always updating scheduled date to next occurrence when completed
|
||
- Increased look-ahead period for yearly recurrence from 365 days to 800 days (~2.2 years)
|
||
- Also optimized look-ahead periods for other frequencies: daily (30 days), weekly (90 days), monthly (400 days)
|
||
- Ensures the next occurrence is always found when completing recurring task instances
|
||
- Thanks to @VenturaNotes for reporting
|
||
|
||
- (#951) Fixed yearly recurring tasks not showing up in calendar's weekly, 3-day, or day views
|
||
- Extended the look-ahead period for yearly recurring tasks when generating calendar instances
|
||
- Calendar views now look ahead ~2.2 years for yearly tasks to ensure occurrences appear even in short date ranges
|
||
- Only displays instances that fall within the actual visible calendar range
|
||
- Weekly recurring tasks were unaffected and continued to work correctly
|
||
- Thanks to @bespokecomp for reporting
|
||
|
||
- (#889) Fixed git merge conflicts in calendar subscription metadata
|
||
- Calendar subscription \`lastFetched\` and \`lastError\` fields are now stored in memory instead of being saved to disk
|
||
- Prevents git conflicts when syncing vaults across multiple computers that independently fetch calendar subscriptions
|
||
- The "last synced" timestamp in settings will reset on plugin reload, but subscriptions will re-fetch automatically
|
||
- Thanks to @karlfrohlich for reporting
|
||
|
||
- Fixed recurrence modal not loading DTSTART date/time when editing existing recurrence rules
|
||
- The custom recurrence modal now correctly parses and displays the start date and time fields
|
||
- Fixed parser that was splitting on \`=\` instead of \`:\` for DTSTART values
|
||
|
||
- (#1097) Fixed custom properties and formulas not displaying in Bases views
|
||
- Updated TaskCard to use Bases API's getValue() method for formulas and custom note properties
|
||
- Formulas now work correctly using \`formula.NAME\` syntax
|
||
- Custom note properties now work correctly using \`note.PROPERTY\` syntax
|
||
- Thanks to @cathywu for reporting
|
||
|
||
- (#1099) Fixed issues with default Bases file creation
|
||
- Fixed double-prefix bug in relationships template that generated invalid filter expressions like \`note.note.projects\`
|
||
- Fixed race condition where files created during plugin load wouldn't appear in file explorer
|
||
- Default Bases files now generate with correct property paths and appear reliably in the file explorer
|
||
- Thanks to @kmaustral for reporting
|
||
|
||
- (#1110) Fixed open recurring tasks appearing crossed out in Tasks view
|
||
- Removed stale \`selectedDate\` property that was never updated in v4
|
||
- Tasks view now uses fresh UTC-anchored "today" for correct recurring task completion status
|
||
- Fixes issue where tasks completed yesterday would appear crossed out today for users in positive UTC offset timezones
|
||
- Also fixed KanbanView to use UTC-anchored dates for consistency
|
||
- Thanks to @kmaustral for reporting
|
||
|
||
- (#1118) Fixed user-defined fields not working in inline task conversion
|
||
- User-defined fields like \`>customfield value\` now properly convert to frontmatter when using the "TaskNote: Convert task to TaskNote" command
|
||
- Fixed fields appearing with internal IDs (e.g., \`field_1761435101864\`) instead of configured frontmatter key names
|
||
- Array values are now properly joined with commas
|
||
- Added \`userFields\` property to \`ParsedTaskData\` interface to support custom fields throughout the conversion flow
|
||
- Thanks to @guncav for reporting
|
||
|
||
- Fixed kanban column width CSS constraints not matching settings
|
||
- Updated CSS min-width from 280px to 200px and max-width from 350px to 500px to match slider range
|
||
- Column width slider now works correctly across the full 200-500px range
|
||
|
||
- Kanban view now shows empty columns for all user-defined statuses when grouping by status
|
||
- Empty columns appear for custom statuses defined in settings, even when no tasks have that status
|
||
- Allows users to drag tasks into empty status columns
|
||
- Works in both flat kanban view and swimlane mode
|
||
- Respects the existing "Hide empty columns" setting
|
||
- Thanks to @williamcheuk03 for reporting this issue
|
||
`;var i4=`# TaskNotes 4.0.0-beta.2
|
||
|
||
> **Beta Release**
|
||
>
|
||
> You may encounter issues. Report problems on [GitHub Issues](https://github.com/callumalpass/tasknotes/issues).
|
||
|
||
## Added
|
||
|
||
- (#1090) Portuguese (Brazil) translation
|
||
- Full Portuguese (pt-BR) localization support
|
||
- A big thanks to @andysteel for the contribution
|
||
- **Configurable task modal fields**
|
||
- New "Modal Fields" settings tab for complete control over task creation and edit modals
|
||
- Configure which fields appear in creation vs edit modals independently
|
||
- Drag-and-drop reordering of fields within groups (metadata, organization, dependencies, custom)
|
||
- Enable/disable individual fields (including core fields like contexts, tags, time estimate)
|
||
- Organize fields into groups
|
||
- Automatic migration of existing user-defined fields
|
||
- Title and details fields support visibility toggling (ordering fixed for consistency)
|
||
- **Rich markdown editor for NLP task creation**
|
||
- Replaced plain textarea with full CodeMirror markdown editor
|
||
- Live preview, syntax highlighting, and wikilink support
|
||
- Ctrl/Cmd+Enter keyboard shortcut to save task
|
||
- Esc/Tab keyboard shortcuts for modal control
|
||
- **Customizable NLP triggers with autocomplete**
|
||
- Configure custom trigger characters/strings for each property type (tags, contexts, projects, status, priority)
|
||
- Supports user-defined field triggers
|
||
- CodeMirror-based autocomplete with keyboard navigation (arrow keys, Enter, Tab)
|
||
- Quote support for multi-word values in user fields
|
||
- Native tag suggester integration when using # trigger
|
||
- **Inline task link overlay enhancements**
|
||
- Configurable visible properties for inline task cards
|
||
- PropertySelectorModal for selecting which properties to display
|
||
- Improved layout: title prioritized, horizontal scrolling for metadata
|
||
- Real-time updates when task data changes
|
||
- **New utility services**
|
||
- \`TriggerConfigService\` - manages NLP trigger configurations
|
||
- \`PropertySelectorModal\` - reusable multi-select property picker
|
||
- Property helpers for consistent property handling across views
|
||
- Kanban column reordering via drag and drop
|
||
- Drag column headers to reorder columns
|
||
- Column order is saved per grouping property
|
||
- Visual feedback during drag operations
|
||
- Mini calendar enhancements (in progress)
|
||
- Week numbers column
|
||
- Heat map intensity visualization
|
||
- Note preview tooltips on hover
|
||
- Keyboard navigation
|
||
- **Unified Relationships widget**
|
||
- Consolidated project subtasks, task dependencies, and blocking relationships into a single dynamic widget
|
||
- Four automatic tabs: Subtasks (Kanban), Projects (List), Blocked By (List), Blocking (Kanban)
|
||
- Tabs automatically show/hide based on available relationship data
|
||
- Bases views handle all data updates reactively - no manual refresh needed
|
||
- Single configuration setting: show/hide and position (top/bottom)
|
||
- Significantly reduced code complexity (430 fewer lines)
|
||
|
||
## Fixed
|
||
|
||
- (#1084) Fixed word wrapping in NLP preview items
|
||
- Thanks to @maybetm for the fix
|
||
- (#975) Fixed advanced calendar list headers not respecting theme colors
|
||
- Thanks to @hugohil for the fix
|
||
- (#1089) Fixed embedded task list bases growing unbounded and leaving large empty space
|
||
- Embedded bases now scroll internally instead of expanding to show all tasks
|
||
- Consistent behavior between task list and kanban embedded views
|
||
- Thanks to @same774 for reporting with screenshot
|
||
- **Bases Calendar view options now working correctly**
|
||
- Fixed "Highlight today" toggle not applying - now properly adds/removes CSS class when toggled
|
||
- Fixed calendar view type (month/week/day/etc) not being saved when changed via calendar buttons
|
||
- View type is now persisted when users click month/week/day buttons in the calendar UI
|
||
- (#1050) Task modal no longer adds unwanted empty contexts and projects arrays
|
||
- FieldMapper now checks if arrays are empty before writing to frontmatter
|
||
- Thanks to @nightroman for reporting this issue
|
||
- **Inline task link overlay fixes**
|
||
- Fixed layout prioritization: title now prioritized over metadata
|
||
- Added horizontal scrolling for metadata to prevent overflow
|
||
- Fixed real-time update listeners for task data changes
|
||
- Fixed group collapse/expand functionality in TaskListView
|
||
- Re-registered click event listener for group headers using Component API
|
||
- Groups can now be properly collapsed and expanded
|
||
- Fixed config loading race condition in KanbanView and CalendarView
|
||
- Config is now properly loaded in onload() lifecycle method
|
||
- Views wait for config before rendering options
|
||
- Fixed MiniCalendarView to use direct Bases API like other views
|
||
- Consistent use of Component lifecycle methods
|
||
- Proper cleanup in onunload()
|
||
|
||
## Changed
|
||
|
||
- **NLP system overhaul**
|
||
- Replaced \`StatusSuggestionService\` wrapper with direct \`NaturalLanguageParser\` usage
|
||
- Consolidated trigger configuration into unified \`TriggerConfigService\`
|
||
- Enhanced \`NaturalLanguageParser\` with full trigger and user field support
|
||
- Removed custom # tag autocomplete in favor of Obsidian's native tag suggester (when using # trigger)
|
||
- **Task card and editor improvements**
|
||
- Simplified \`TaskCard\` interface - removed unused options (showCheckbox, showArchiveButton, groupByDate)
|
||
- Refactored \`TaskLinkWidget\` to use unified \`TaskCard\` component for consistency
|
||
- Added support for inline vs. block layout modes in task cards
|
||
- Improved task card BEM CSS with better styling for inline mode
|
||
- **Settings UI enhancements**
|
||
- NLP triggers now configurable through Settings > Features tab
|
||
- Added settings for inline task card visible properties
|
||
- Improved appearance tab with property selector integration
|
||
- Better organization of NLP-related settings
|
||
- Refactored Bases views to use Component lifecycle properly
|
||
- Views now extend Component and use onload()/onunload()
|
||
- Automatic cleanup of event listeners via Component.registerDomEvent()
|
||
- Improved state management and ephemeral state handling
|
||
- Improved development experience
|
||
- Converted ESLint errors to warnings for non-blocking development
|
||
- Fixed various linting issues and unused imports
|
||
|
||
## Removed
|
||
|
||
- Removed \`StatusSuggestionService\` (functionality consolidated into \`NaturalLanguageParser\`)
|
||
|
||
## Breaking Changes
|
||
|
||
- **Relationships widget settings consolidated** (automatic migration)
|
||
- Old settings removed: \`showProjectSubtasks\`, \`projectSubtasksPosition\`, \`showTaskDependencies\`, \`taskDependenciesPosition\`
|
||
- New unified settings: \`showRelationships\`, \`relationshipsPosition\`
|
||
- Widget now appears on ALL notes (tasks, projects, regular notes) - Bases filtering controls which tabs are visible
|
||
- **Migration**: Existing users will see the new unified widget automatically. If you had project subtasks enabled, relationships widget will be enabled by default
|
||
- **Bases file change**: The command mapping changed from \`'project-subtasks': 'TaskNotes/Views/project-subtasks.base'\` to \`'relationships': 'TaskNotes/Views/relationships.base'\`
|
||
- Run "Create Default Files" in Settings > General to create the new \`relationships.base\` file
|
||
|
||
`;var s4=`# TaskNotes 4.0.0-beta.1
|
||
|
||
> **Beta Release**
|
||
>
|
||
> You may encounter issues. Report problems on [GitHub Issues](https://github.com/callumalpass/tasknotes/issues).
|
||
|
||
## Added
|
||
|
||
- Added context menus for time entries and ICS events in calendar
|
||
- Time entries: Right-click shows task context menu, left-click opens time entry editor modal
|
||
- ICS/Google/Microsoft Calendar events: Right-click shows ICS event context menu with options to show details, create task/note, link note, and copy info
|
||
- Added calendar icon to ICS event titles for better visual distinction
|
||
- Added hover tooltips for timeblocks in calendar views
|
||
- Added **MiniCalendar view** for Bases integration
|
||
- Monthly calendar grid with dot indicators on days with notes
|
||
- Configurable date property (file.ctime, note.dateCreated, etc.)
|
||
- Fuzzy selector modal for selecting notes on clicked days
|
||
- Ctrl+click (or Cmd+click on Mac) on any day opens/creates daily note
|
||
- Added virtual scrolling and lazy rendering to Bases views for high-performance handling of large datasets
|
||
- TaskListView: Virtual scrolling for 100+ tasks in flat and grouped views with collapsible groups
|
||
- KanbanView: Virtual scrolling for regular columns (30+ tasks) and swimlane cells (30+ tasks per cell)
|
||
- Tested with up to **30,000 notes** with no performance degradation
|
||
- Thanks to @aubreyz and @turingexmachina for their reports of performance issues and diagnosis help
|
||
|
||
|
||
## Changed
|
||
|
||
- Refactored Bases integration to use public API and trust pre-sorted data
|
||
- Migrated all three views (Task List, Kanban, Calendar) to clean class-based architecture
|
||
- Removed legacy view files and ~500 lines of redundant sorting/grouping logic
|
||
- Introduced BasesDataAdapter, PropertyMappingService, and BasesViewBase abstractions
|
||
- Trusts Bases plugin to provide pre-sorted and pre-grouped data via public API
|
||
- Reduced code duplication by 40% while maintaining full feature parity
|
||
- Refactored calendar modules to use ES6 imports instead of lazy require() calls
|
||
- Removed all dynamic require() calls from calendar-core.ts and calendar-view.ts
|
||
- Consolidated all imports at module top level
|
||
- Improves code maintainability, makes dependencies explicit, and follows modern TypeScript best practices
|
||
- Time entry events now show task context menu on right-click (previously had no context menu)
|
||
- Replaced MinimalNativeCache with just-in-time TaskManager for improved reliability
|
||
- Removed complex index synchronization in favor of direct MetadataCache queries
|
||
- Eliminated 7 internal indexes (tasksByDate, tasksByStatus, overdueTasks, etc.)
|
||
- Added minimal DependencyCache for task dependencies and project references only
|
||
- Zero startup time (no index building required)
|
||
- Always provides fresh, accurate task data from Obsidian's MetadataCache
|
||
- Completed internationalization with 100% translation coverage across all supported languages
|
||
- Added 90 missing translation keys to English base
|
||
- Completed 829 translations across 6 languages (German, Spanish, French, Japanese, Russian, Chinese)
|
||
- All locales now have complete coverage (1745/1745 keys)
|
||
- Improved translation quality for migration system, calendar settings, statistics, ICS events, and filter components
|
||
- Migrated to i18n-state-manager CLI tool for translation management
|
||
- Replaced custom scripts with more robust i18n-state-manager package
|
||
- Added i18n-state.config.json for project-specific patterns
|
||
- New features: find-unused, check-duplicates, improved stale detection
|
||
- Hash-based state tracking and ripgrep-based scanning for performance
|
||
- Bases view templates now generate dynamically based on user settings
|
||
- Task filters adapt to user's task identification method (tag or property)
|
||
- Property ordering reflects defaultVisibleProperties setting
|
||
- Uses correct YAML object notation for Bases filters
|
||
- Maintains backward compatibility with legacy static templates
|
||
- Updated Bases CalendarView to show TaskNotes in property-based events
|
||
- Tasks can now be visualized on calendar via any date property (dateCreated, scheduled, due, etc.)
|
||
- Previously all TaskNotes were filtered out from property-based events
|
||
|
||
## Fixed
|
||
|
||
- (#1022, #684) Fixed tasks randomly disappearing when Smart Connections plugin is enabled
|
||
- Eliminated race condition caused by index synchronization delays
|
||
- TaskManager now reads directly from Obsidian's MetadataCache instead of maintaining separate indexes
|
||
- No more timing-sensitive code that could conflict with other plugins' metadata processing
|
||
- Tasks will always be visible regardless of other plugins' processing times
|
||
- Thanks to @alejandrospoz, @seepage87, @amarjt, @luckb0x, camara-tech for reporting and help debugging.
|
||
- (#992) Fixed "Failed to resolve module specifier 'obsidian'" error when moving recurring task instances in calendar
|
||
- Removed unnecessary dynamic imports that were causing module resolution failures
|
||
- Consolidated imports at top of calendar-core.ts module
|
||
- Thanks to @jalooc for reporting this issue
|
||
- Fixed task dependencies not displaying on task cards
|
||
- TaskManager now properly calculates isBlocked and isBlocking flags from dependency data
|
||
- Added missing property extractors and renderers in TaskCard for all dependency-related fields
|
||
- Dependency information now shows correctly in Bases views, task note widgets, and other views
|
||
- Shows "Blocked (n)" and "Blocking (n)" pills, plus detailed task links
|
||
- Fixed Bases property mapping for user-configured field names
|
||
- PropertyMappingService now correctly strips prefixes and applies FieldMapper transformations
|
||
- Example: User configures "state" \u2192 "status", Bases provides "note.state", now correctly maps to "status"
|
||
- Ensures TaskCard properly recognizes and renders user-configured properties
|
||
- Fixed Bases views not respecting user-configured visible properties
|
||
- Now prioritizes Bases 1.10.0+ public API config.getOrder() method
|
||
- Removed reliance on internal API paths that no longer work
|
||
- Filters out blocked/blocking properties when using defaults (only shown when explicitly requested via blockedBy)
|
||
- Fixed MiniCalendar UTC anchoring for consistent timezone-independent date handling
|
||
- Fixed DateValue conversion in BasesDataAdapter
|
||
- DateValue objects have {date: Date, time: boolean} structure
|
||
- Now properly checks for value.date instanceof Date before legacy conversion methods
|
||
- Fixes property-based events in CalendarView
|
||
|
||
`;var o4=`# TaskNotes 4.0.0-beta.0
|
||
|
||
> **Beta Release**
|
||
>
|
||
> You may encounter issues. Report problems on [GitHub Issues](https://github.com/callumalpass/tasknotes/issues).
|
||
|
||
## What's New in v4
|
||
|
||
TaskNotes v4 migrates all views to the Bases system.
|
||
|
||
### Breaking Changes
|
||
|
||
- **Minimum Obsidian version: 1.10.1**
|
||
- **View commands now use Bases files** - Ribbon icons and command palette commands (Calendar, Kanban, Tasks, Agenda, Project Subtasks) now open \`.base\` files created automatically in your vault
|
||
- **Saved filter views** - Custom saved views can be converted to \`.base\` files using a conversion button in settings
|
||
|
||
## Added
|
||
|
||
### OAuth Calendar Integration
|
||
|
||
- Google Calendar and Microsoft Outlook integration via OAuth 2.0
|
||
- View and sync calendar events in Bases calendar
|
||
- Drag events in the TaskNotes bases calendar to change the event's time online
|
||
- Events sync every 15 minutes or upon local change
|
||
- Requires creating your own OAuth application (approximately 15 minutes)
|
||
- See [Calendar Setup Guide](https://callumalpass.github.io/tasknotes/calendar-setup)
|
||
|
||
### Time Entry Editor Modal
|
||
|
||
- Dedicated interface for managing time entries
|
||
- Alt-drag on Bases calendar to create time entries
|
||
- View total tracked time per task
|
||
- Edit and delete time entries
|
||
- Access via Task Action Palette (Alt/Opt + Enter)
|
||
|
||
### Kanban Swimlane Layout
|
||
|
||
- Horizontal swimlane grouping option for Bases Kanban
|
||
- Group tasks by status, priority, or other fields
|
||
- Hide empty columns
|
||
- Configurable column widths
|
||
- Improved drag-and-drop in swimlane mode
|
||
|
||
### Saved View Converter
|
||
|
||
- Conversion button in settings to convert saved filter views to \`.base\` files
|
||
- Original settings preserved
|
||
- Converted views created in \`TaskNotes/Views/\`
|
||
|
||
## Changed
|
||
|
||
### View System Architecture
|
||
|
||
- All views now use Bases architecture
|
||
- Calendar, Kanban, Tasks, Agenda, and Project Subtasks are \`.base\` files
|
||
- Views stored in \`TaskNotes/Views/\`
|
||
- Keyboard shortcuts and ribbon icons map to \`.base\` files
|
||
- Configure file paths in Settings \u2192 Integrations \u2192 Bases Integration
|
||
|
||
### Calendar
|
||
|
||
- Control which calendar sources display
|
||
- Toggle Google Calendar, Microsoft Calendar, and ICS events independently
|
||
- Configurable list view with custom day count (2-10 days)
|
||
- Improved timezone handling for recurring events
|
||
|
||
### Settings
|
||
|
||
- Reorganized settings tabs
|
||
- OAuth calendar settings in Integrations tab
|
||
- Updated help text
|
||
|
||
## Fixed
|
||
|
||
- (#843) Fixed task tag being added when "Identify tasks by" is set to "Property"
|
||
- TaskCreationModal, TaskEditModal, and InstantTaskConvertService now respect taskIdentificationMethod setting
|
||
- Thanks to @jack2game
|
||
- Fixed dark mode calendar borders
|
||
- Fixed Bases Kanban column ordering - Thanks to @mweichert
|
||
- Fixed state management bug in FilterSettingsComponent
|
||
- Fixed timezone handling for recurring events
|
||
|
||
## Migration Guide
|
||
|
||
### First Launch
|
||
|
||
1. Default view files are created automatically in \`TaskNotes/Views/\`
|
||
2. Ribbon and command palette commands now open \`.base\` files
|
||
3. Review Settings \u2192 General to customize view file paths
|
||
|
||
### Converting Saved Filter Views
|
||
|
||
1. Go to Settings \u2192 General
|
||
2. Click the conversion button to convert saved filter views to \`.base\` files
|
||
3. Converted views appear in a file in \`TaskNotes/Views/\`
|
||
|
||
### Calendar Integration (Optional)
|
||
|
||
1. Go to Settings \u2192 Integrations \u2192 OAuth Calendar Integration
|
||
2. Follow the [Calendar Setup Guide](https://callumalpass.github.io/tasknotes/calendar-setup)
|
||
3. Create OAuth applications with Google and/or Microsoft (approximately 15 minutes)
|
||
4. Enter Client ID and Secret in calendar cards
|
||
5. Click Connect
|
||
|
||
## Known Limitations
|
||
|
||
- Quick OAuth setup is disabled - only advanced setup (your own credentials) is available
|
||
- Saved filter views require manual conversion using the button in settings
|
||
- Migration is one-way - downgrading to v3 may require manual reconfiguration
|
||
- OAuth setup requires creating applications with Google/Microsoft
|
||
|
||
## Feedback
|
||
|
||
Report issues on [GitHub](https://github.com/callumalpass/tasknotes/issues). Include:
|
||
|
||
- Obsidian version
|
||
- Steps to reproduce
|
||
- Console errors (Ctrl/Cmd + Shift + I)
|
||
- Whether issue occurs after migration or fresh install
|
||
|
||
`;var l4="4.1.3",c4=[{version:"4.1.3",content:KG,date:"2025-12-08T21:28:48+11:00",isCurrent:!0},{version:"4.1.2",content:QG,date:"2025-12-07T16:22:44+11:00",isCurrent:!1},{version:"4.1.1",content:ZG,date:"2025-12-01T21:44:07+11:00",isCurrent:!1},{version:"4.1.0",content:JG,date:"2025-11-30T18:58:10+11:00",isCurrent:!1},{version:"4.0.5",content:XG,date:"2025-11-23T20:27:09+11:00",isCurrent:!1},{version:"4.0.4",content:e4,date:"2025-11-20T23:38:28+11:00",isCurrent:!1},{version:"4.0.3",content:t4,date:"2025-11-20T08:16:00+11:00",isCurrent:!1},{version:"4.0.2",content:r4,date:"2025-11-19T21:50:00+11:00",isCurrent:!1},{version:"4.0.1",content:n4,date:"2025-11-18T22:29:23+11:00",isCurrent:!1},{version:"4.0.0-beta.3",content:a4,date:"2025-11-17T07:51:37+11:00",isCurrent:!1},{version:"4.0.0-beta.2",content:i4,date:"2025-11-09T20:36:35+11:00",isCurrent:!1},{version:"4.0.0-beta.1",content:s4,date:"2025-11-04T20:05:28+11:00",isCurrent:!1},{version:"4.0.0-beta.0",content:o4,date:"2025-10-30T00:02:44+11:00",isCurrent:!1}];var jr=require("obsidian"),og=require("crypto");var li=require("obsidian"),GT=class extends li.Modal{constructor(t,e,r,a){super(t),this.plugin=e,this.deviceCode=r,this.onCancel=a,this.expiresAt=Date.now()+r.expiresIn*1e3,this.translate=e.i18n.translate.bind(e.i18n)}onOpen(){let{contentEl:t}=this;t.empty(),t.addClass("tasknotes-device-code-modal");let e=t.createDiv({cls:"tasknotes-device-code-header"}),r=e.createSpan({cls:"tasknotes-device-code-icon"});(0,li.setIcon)(r,"shield-check"),e.createEl("h2",{text:this.translate("modals.deviceCode.title"),cls:"tasknotes-device-code-title"});let a=t.createDiv({cls:"tasknotes-device-code-instructions"});a.createEl("p",{text:this.translate("modals.deviceCode.instructions.intro")});let i=a.createEl("ol",{cls:"tasknotes-device-code-steps"}),s=i.createEl("li");s.createSpan({text:this.translate("modals.deviceCode.steps.open")+" "}),s.createEl("a",{text:this.deviceCode.verificationUrl,href:this.deviceCode.verificationUrl,cls:"tasknotes-device-code-link"}).setAttribute("target","_blank"),s.createSpan({text:" "+this.translate("modals.deviceCode.steps.inBrowser")}),i.createEl("li").createSpan({text:this.translate("modals.deviceCode.steps.enterCode")}),i.createEl("li").createSpan({text:this.translate("modals.deviceCode.steps.signIn")}),i.createEl("li").createSpan({text:this.translate("modals.deviceCode.steps.returnToObsidian")});let u=t.createDiv({cls:"tasknotes-device-code-container"});u.createEl("div",{text:this.translate("modals.deviceCode.codeLabel"),cls:"tasknotes-device-code-label"});let p=u.createEl("div",{cls:"tasknotes-device-code-box"});p.createEl("code",{text:this.formatUserCode(this.deviceCode.userCode),cls:"tasknotes-device-code-text"});let m=p.createEl("button",{cls:"tasknotes-device-code-copy",attr:{"aria-label":this.translate("modals.deviceCode.copyCodeAriaLabel")}});(0,li.setIcon)(m,"copy"),m.addEventListener("click",()=>{navigator.clipboard.writeText(this.deviceCode.userCode),m.empty(),(0,li.setIcon)(m,"check"),setTimeout(()=>{m.empty(),(0,li.setIcon)(m,"copy")},2e3)});let h=t.createDiv({cls:"tasknotes-device-code-timer"}),f=h.createSpan({cls:"tasknotes-device-code-timer-icon"});(0,li.setIcon)(f,"clock");let g=h.createEl("span",{text:this.getTimeRemaining(),cls:"tasknotes-device-code-timer-text"});this.countdownInterval=setInterval(()=>{let A=this.getTimeRemaining();g.setText(A),this.expiresAt<=Date.now()&&this.close()},1e3);let v=t.createDiv({cls:"tasknotes-device-code-status"}),T=v.createSpan({cls:"tasknotes-device-code-status-icon"});(0,li.setIcon)(T,"loader"),T.addClass("tasknotes-device-code-spinner"),v.createEl("span",{text:this.translate("modals.deviceCode.waitingForAuthorization"),cls:"tasknotes-device-code-status-text"});let k=t.createDiv({cls:"tasknotes-device-code-buttons"}),w=k.createEl("button",{text:this.translate("modals.deviceCode.openBrowserButton"),cls:"mod-cta"}),S=w.createSpan({cls:"tasknotes-device-code-button-icon"});(0,li.setIcon)(S,"external-link"),w.addEventListener("click",()=>{let A=this.deviceCode.verificationUrlComplete||this.deviceCode.verificationUrl;window.open(A,"_blank")});let x=k.createEl("button",{text:this.translate("modals.deviceCode.cancelButton"),cls:"tasknotes-device-code-cancel"}),I=x.createSpan({cls:"tasknotes-device-code-button-icon"});if((0,li.setIcon)(I,"x"),x.addEventListener("click",()=>{this.onCancel(),this.close()}),!document.getElementById("tasknotes-device-code-styles")){let A=document.createElement("style");A.id="tasknotes-device-code-styles",A.textContent=`
|
||
.tasknotes-device-code-modal {
|
||
padding: 20px;
|
||
}
|
||
|
||
.tasknotes-device-code-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
margin-bottom: 20px;
|
||
padding-bottom: 16px;
|
||
border-bottom: 1px solid var(--background-modifier-border);
|
||
}
|
||
|
||
.tasknotes-device-code-icon {
|
||
width: 24px;
|
||
height: 24px;
|
||
color: var(--interactive-accent);
|
||
}
|
||
|
||
.tasknotes-device-code-title {
|
||
margin: 0;
|
||
font-size: 1.25em;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.tasknotes-device-code-instructions {
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.tasknotes-device-code-steps {
|
||
margin: 12px 0;
|
||
padding-left: 20px;
|
||
}
|
||
|
||
.tasknotes-device-code-steps li {
|
||
margin: 8px 0;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.tasknotes-device-code-link {
|
||
color: var(--interactive-accent);
|
||
text-decoration: none;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.tasknotes-device-code-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.tasknotes-device-code-container {
|
||
margin: 20px 0;
|
||
padding: 16px;
|
||
background: var(--background-secondary);
|
||
border-radius: 8px;
|
||
border: 1px solid var(--background-modifier-border);
|
||
}
|
||
|
||
.tasknotes-device-code-label {
|
||
font-size: 0.9em;
|
||
color: var(--text-muted);
|
||
margin-bottom: 8px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.tasknotes-device-code-box {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
padding: 12px;
|
||
background: var(--background-primary);
|
||
border-radius: 6px;
|
||
border: 1px solid var(--background-modifier-border);
|
||
}
|
||
|
||
.tasknotes-device-code-text {
|
||
flex: 1;
|
||
font-family: var(--font-monospace);
|
||
font-size: 1.5em;
|
||
font-weight: 600;
|
||
letter-spacing: 0.1em;
|
||
color: var(--text-normal);
|
||
text-align: center;
|
||
}
|
||
|
||
.tasknotes-device-code-copy {
|
||
padding: 8px;
|
||
background: var(--interactive-accent);
|
||
border: none;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
color: var(--text-on-accent);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
}
|
||
|
||
.tasknotes-device-code-copy:hover {
|
||
background: var(--interactive-accent-hover);
|
||
}
|
||
|
||
.tasknotes-device-code-timer {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin: 16px 0;
|
||
padding: 12px;
|
||
background: var(--background-secondary);
|
||
border-radius: 6px;
|
||
border: 1px solid var(--background-modifier-border);
|
||
}
|
||
|
||
.tasknotes-device-code-timer-icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.tasknotes-device-code-timer-text {
|
||
font-size: 0.9em;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.tasknotes-device-code-status {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
margin: 16px 0;
|
||
padding: 12px;
|
||
background: var(--background-primary-alt);
|
||
border-radius: 6px;
|
||
border: 1px solid var(--interactive-accent);
|
||
}
|
||
|
||
.tasknotes-device-code-status-icon {
|
||
width: 20px;
|
||
height: 20px;
|
||
color: var(--interactive-accent);
|
||
}
|
||
|
||
.tasknotes-device-code-spinner {
|
||
animation: spin 1s linear infinite;
|
||
}
|
||
|
||
@keyframes spin {
|
||
from { transform: rotate(0deg); }
|
||
to { transform: rotate(360deg); }
|
||
}
|
||
|
||
.tasknotes-device-code-status-text {
|
||
color: var(--text-muted);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.tasknotes-device-code-buttons {
|
||
display: flex;
|
||
gap: 12px;
|
||
margin-top: 20px;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.tasknotes-device-code-buttons button {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
padding: 8px 16px;
|
||
border-radius: 4px;
|
||
cursor: pointer;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.tasknotes-device-code-cancel {
|
||
background: var(--background-modifier-border);
|
||
border: 1px solid var(--background-modifier-border);
|
||
color: var(--text-normal);
|
||
}
|
||
|
||
.tasknotes-device-code-cancel:hover {
|
||
background: var(--background-modifier-border-hover);
|
||
}
|
||
|
||
.tasknotes-device-code-button-icon {
|
||
width: 16px;
|
||
height: 16px;
|
||
}
|
||
`,document.head.appendChild(A)}}onClose(){this.countdownInterval&&clearInterval(this.countdownInterval);let{contentEl:t}=this;t.empty()}formatUserCode(t){if(t.includes("-"))return t;let e=Math.floor(t.length/2);return t.slice(0,e)+"-"+t.slice(e)}getTimeRemaining(){let t=Math.max(0,this.expiresAt-Date.now()),e=Math.floor(t/6e4),r=Math.floor(t%6e4/1e3);return e>0?this.translate("modals.deviceCode.expiresMinutesSeconds",{minutes:e,seconds:r}):this.translate("modals.deviceCode.expiresSeconds",{seconds:r})}};var Ru={TOKEN_REFRESH_BUFFER_MS:3e5,CALLBACK_PORT_START:8080,CALLBACK_PORT_END:8090,DEVICE_FLOW:{MAX_ATTEMPTS:60,DEFAULT_INTERVAL_SECONDS:5,SLOW_DOWN_INCREMENT_SECONDS:5}},ig={REFRESH_INTERVAL_MS:900*1e3,MIN_MANUAL_REFRESH_INTERVAL_MS:30*1e3,MAX_RESULTS_PER_REQUEST:2500,VIEW_RANGE:{DAYS_BEFORE:30,DAYS_AFTER:90},DEFAULT_EVENT_DURATION_MS:3600*1e3,RATE_LIMIT:{MAX_RETRIES:3,INITIAL_BACKOFF_MS:1e3,MAX_BACKOFF_MS:16e3,BACKOFF_MULTIPLIER:2}},Fu={REFRESH_INTERVAL_MS:900*1e3,MIN_MANUAL_REFRESH_INTERVAL_MS:30*1e3,MAX_RESULTS_PER_REQUEST:50,VIEW_RANGE:{DAYS_BEFORE:30,DAYS_AFTER:90},DEFAULT_EVENT_DURATION_MS:3600*1e3,RATE_LIMIT:{MAX_RETRIES:3,INITIAL_BACKOFF_MS:1e3,MAX_BACKOFF_MS:16e3,BACKOFF_MULTIPLIER:2}},Bat={CACHE_DURATION_MS:1440*60*1e3,GRACE_PERIOD_MS:10080*60*1e3},jat={SECOND_MS:1e3,MINUTE_MS:60*1e3,HOUR_MS:3600*1e3,DAY_MS:1440*60*1e3};var sg=class extends Error{constructor(e,r){super(e);this.code=r;this.name="TaskNotesServiceError",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}},KT=class extends sg{constructor(e,r,a){super(e,a);this.provider=r;this.name="OAuthError"}},On=class extends KT{constructor(t){super(`${t} authentication expired. Please reconnect.`,t,"TOKEN_EXPIRED"),this.name="TokenExpiredError"}},Ou=class extends KT{constructor(t){super(`${t} OAuth is not configured. Please provide credentials or license key.`,t,"NOT_CONFIGURED"),this.name="OAuthNotConfiguredError"}},Br=class extends sg{constructor(e,r,a){super(e,a);this.statusCode=r;this.name="GoogleCalendarError"}},qo=class extends Br{constructor(t){super(`Calendar event not found: ${t}`,404,"EVENT_NOT_FOUND"),this.name="EventNotFoundError"}},Lu=class extends Br{constructor(t){super(`Calendar not found: ${t}`,404,"CALENDAR_NOT_FOUND"),this.name="CalendarNotFoundError"}},Oa=class extends Br{constructor(t){let e=t?`Rate limit exceeded. Retry after ${t} seconds.`:"Rate limit exceeded. Please try again later.";super(e,429,"RATE_LIMIT"),this.name="RateLimitError"}};var Fc=class extends sg{constructor(e,r){super(e,"VALIDATION_ERROR");this.field=r;this.name="ValidationError"}};var fP=null;function d4(){if(!jr.Platform.isDesktopApp)throw new Error("OAuth redirect handling is only available on desktop.");return fP||(fP=require("http")),fP}var QT=class{constructor(t){this.callbackServer=null;this.pendingOAuthState=new Map;this.tokenRefreshPromises=new Map;this.configs={google:{provider:"google",clientId:"",redirectUri:"http://127.0.0.1:8080",scope:["https://www.googleapis.com/auth/calendar.readonly","https://www.googleapis.com/auth/calendar.events"],authorizationEndpoint:"https://accounts.google.com/o/oauth2/v2/auth",tokenEndpoint:"https://oauth2.googleapis.com/token",deviceCodeEndpoint:"https://oauth2.googleapis.com/device/code",revocationEndpoint:"https://oauth2.googleapis.com/revoke"},microsoft:{provider:"microsoft",clientId:"",redirectUri:"http://localhost:8080",scope:["Calendars.Read","Calendars.ReadWrite","offline_access"],authorizationEndpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/authorize",tokenEndpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/token",deviceCodeEndpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/devicecode",revocationEndpoint:"https://login.microsoftonline.com/common/oauth2/v2.0/logout"}};this.plugin=t,this.loadClientIds()}async loadClientIds(){this.plugin.settings.googleOAuthClientId?(this.configs.google.clientId=this.plugin.settings.googleOAuthClientId,this.configs.google.clientSecret=this.plugin.settings.googleOAuthClientSecret||""):(this.configs.google.clientId="274345081716-pjvqqmqjc3fhmfpmv7201vjlo7s3o29o.apps.googleusercontent.com",this.configs.google.clientSecret="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"),this.plugin.settings.microsoftOAuthClientId?(this.configs.microsoft.clientId=this.plugin.settings.microsoftOAuthClientId,this.configs.microsoft.clientSecret=this.plugin.settings.microsoftOAuthClientSecret||""):(this.configs.microsoft.clientId="d4573227-d34e-4f79-80a1-13202ea34c5e",this.configs.microsoft.clientSecret=void 0)}async authenticate(t){var a;if(!this.configs[t].clientId)throw new Ou(t);if(this.plugin.settings.oauthSetupMode==="advanced"){if(!(t==="google"&&this.plugin.settings.googleOAuthClientId||t==="microsoft"&&this.plugin.settings.microsoftOAuthClientId))throw new Ou(t);return await this.authenticateStandard(t)}else{if(!await((a=this.plugin.licenseService)==null?void 0:a.canUseBuiltInCredentials()))throw new Ou(t);return t==="google"?await this.authenticateStandard(t):await this.authenticateDeviceFlow(t)}}async authenticateStandard(t){try{let e=this.configs[t];if(!jr.Platform.isDesktopApp)throw new jr.Notice("OAuth authentication requires the desktop app."),new Error("OAuth authentication requires the desktop app.");let r=this.generateCodeVerifier(),a=await this.generateCodeChallenge(r),i=this.generateState(),s=await this.findAvailablePort(Ru.CALLBACK_PORT_START,Ru.CALLBACK_PORT_END);await this.startCallbackServer(s);let o=e.redirectUri;e.redirectUri=`http://127.0.0.1:${s}`;try{let l=this.buildAuthorizationUrl(e,a,i);this.pendingOAuthState.set(i,{provider:t,codeVerifier:r,resolve:()=>{},reject:()=>{}}),new jr.Notice(`Opening browser for ${t} authorization...`),window.open(l,"_blank");let c=await this.waitForCallback(i,3e5),d=await this.exchangeCodeForTokens(e,c,r);await this.storeConnection(t,d),new jr.Notice(`Successfully connected to ${t} Calendar!`)}finally{e.redirectUri=o}}catch(e){throw console.error(`OAuth authentication failed for ${t}:`,e),new jr.Notice(`Failed to connect to ${t}: ${e.message}`),e}finally{await this.stopCallbackServer()}}async authenticateDeviceFlow(t){try{let e=this.configs[t];if(!e.deviceCodeEndpoint)throw new Error(`${t} does not support Device Flow`);let r=await(0,jr.requestUrl)({url:e.deviceCodeEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:e.clientId,scope:e.scope.join(" ")}).toString(),throw:!1});if(r.status!==200)throw console.error("Device code request failed:",r.status,r.text),new Error(`Failed to request device code: ${r.status}`);let a=r.json,{device_code:i,user_code:s,verification_uri:o,verification_uri_complete:l,expires_in:c,interval:d}=a,u=!1,p=new GT(this.plugin.app,this.plugin,{userCode:s,verificationUrl:o,verificationUrlComplete:l,expiresIn:c||900},()=>{u=!0});p.open();try{let m=await this.pollForDeviceToken(e,i,d||5,()=>u);p.close(),await this.storeConnection(t,m),new jr.Notice(`Successfully connected to ${t} Calendar!`)}catch(m){throw p.close(),m}}catch(e){throw console.error(`Device Flow authentication failed for ${t}:`,e),new jr.Notice(`Failed to connect to ${t}: ${e.message}`),e}}async pollForDeviceToken(t,e,r,a){let i=Ru.DEVICE_FLOW.MAX_ATTEMPTS,s=r;for(let o=0;o<i;o++){if(a())throw new Error("Authorization cancelled by user");o>0&&await this.sleep(s*1e3);try{let l=await(0,jr.requestUrl)({url:t.tokenEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:new URLSearchParams({client_id:t.clientId,device_code:e,grant_type:"urn:ietf:params:oauth:grant-type:device_code"}).toString(),throw:!1});if(l.status===200){let u=l.json,p=u.expires_in||3600,m=Date.now()+p*1e3;return{accessToken:u.access_token,refreshToken:u.refresh_token,expiresAt:m,scope:u.scope||t.scope.join(" "),tokenType:u.token_type||"Bearer"}}let d=l.json.error;if(d==="authorization_pending")continue;if(d==="slow_down"){s+=Ru.DEVICE_FLOW.SLOW_DOWN_INCREMENT_SECONDS;continue}else throw d==="expired_token"?new Error("Device code expired. Please try again."):d==="access_denied"?new Error("Authorization denied by user"):new Error(`Authorization failed: ${d||"unknown error"}`)}catch(l){if(l instanceof Error&&(l.message.includes("expired")||l.message.includes("denied")||l.message.includes("Authorization failed"))||o===i-1)throw l;console.error("[OAuth] Device Flow polling error:",l)}}throw new Error("Device authorization timed out. Please try again.")}sleep(t){return new Promise(e=>setTimeout(e,t))}async findAvailablePort(t,e){let r=d4();for(let a=t;a<=e;a++)try{return await new Promise((i,s)=>{let o=r.createServer();o.once("error",s),o.once("listening",()=>{o.close(),i()}),o.listen(a,"127.0.0.1")}),a}catch(i){continue}throw new Error(`No available ports found between ${t} and ${e}`)}generateCodeVerifier(){return(0,og.randomBytes)(32).toString("base64url").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}async generateCodeChallenge(t){let e=(0,og.createHash)("sha256").update(t).digest();return Buffer.from(e).toString("base64url").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}generateState(){return(0,og.randomBytes)(16).toString("hex")}buildAuthorizationUrl(t,e,r){let a=new URLSearchParams({client_id:t.clientId,redirect_uri:t.redirectUri,response_type:"code",scope:t.scope.join(" "),state:r,code_challenge:e,code_challenge_method:"S256",access_type:"offline",prompt:"consent"});return`${t.authorizationEndpoint}?${a.toString()}`}async startCallbackServer(t){return new Promise((e,r)=>{if(this.callbackServer){e();return}let a;try{a=d4()}catch(i){r(i);return}this.callbackServer=a.createServer((i,s)=>{this.handleCallback(i,s)}),this.callbackServer.once("error",i=>{console.error("OAuth callback server error:",i),r(i)}),this.callbackServer.listen(t,"127.0.0.1",()=>{e()})})}async stopCallbackServer(){return new Promise(t=>{if(!this.callbackServer){t();return}this.callbackServer.close(()=>{this.callbackServer=null,t()})})}handleCallback(t,e){let r=new URL(t.url||"",`http://${t.headers.host}`),a=r.searchParams.get("code"),i=r.searchParams.get("state"),s=r.searchParams.get("error");if(e.writeHead(200,{"Content-Type":"text/html"}),s){e.end(`
|
||
<!DOCTYPE html>
|
||
<html>
|
||
<head><title>OAuth Error</title></head>
|
||
<body>
|
||
<h1>Authorization Failed</h1>
|
||
<p>Error: ${s}</p>
|
||
<p>You can close this window.</p>
|
||
</body>
|
||
</html>
|
||
`);let l=i?this.pendingOAuthState.get(i):null;l&&i&&(l.reject(new Error(`OAuth error: ${s}`)),this.pendingOAuthState.delete(i));return}if(!a||!i){e.end(`
|
||
<!DOCTYPE html>
|
||
<html>
|
||
<head><title>OAuth Error</title></head>
|
||
<body>
|
||
<h1>Invalid Callback</h1>
|
||
<p>Missing required parameters.</p>
|
||
<p>You can close this window.</p>
|
||
</body>
|
||
</html>
|
||
`);return}e.end(`
|
||
<!DOCTYPE html>
|
||
<html>
|
||
<head><title>OAuth Success</title></head>
|
||
<body>
|
||
<h1>Authorization Successful!</h1>
|
||
<p>You can close this window and return to Obsidian.</p>
|
||
<script>window.close();<\/script>
|
||
</body>
|
||
</html>
|
||
`);let o=this.pendingOAuthState.get(i);o&&(o.resolve(a),this.pendingOAuthState.delete(i))}waitForCallback(t,e){return new Promise((r,a)=>{let i=this.pendingOAuthState.get(t);if(!i){a(new Error("Invalid OAuth state"));return}i.resolve=r,i.reject=a,setTimeout(()=>{this.pendingOAuthState.has(t)&&(this.pendingOAuthState.delete(t),a(new Error("OAuth timeout - authorization took too long")))},e)})}async exchangeCodeForTokens(t,e,r){let a={client_id:t.clientId,code:e,code_verifier:r,redirect_uri:t.redirectUri,grant_type:"authorization_code"};t.clientSecret&&(a.client_secret=t.clientSecret);let i=new URLSearchParams(a);try{let s=await(0,jr.requestUrl)({url:t.tokenEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:i.toString(),throw:!1});if(s.status!==200)throw console.error("Token exchange failed with status:",s.status),console.error("Response headers:",s.headers),console.error("Response body:",s.text),console.error("Response JSON:",s.json),new Error(`Token exchange failed with status ${s.status}: ${s.text||JSON.stringify(s.json)}`);let o=s.json;if(!o.access_token)throw new Error("No access token in response");let l=o.expires_in||3600,c=Date.now()+l*1e3;return{accessToken:o.access_token,refreshToken:o.refresh_token,expiresAt:c,scope:o.scope||t.scope.join(" "),tokenType:o.token_type||"Bearer"}}catch(s){throw console.error("Token exchange error:",s),new Error(`Failed to exchange code for tokens: ${s.message}`)}}async refreshToken(t){let e=await this.getConnection(t);if(!e)throw new Error(`No ${t} connection found`);if(!e.tokens.refreshToken)throw new Error(`No refresh token available for ${t}`);let r=this.configs[t],a={client_id:r.clientId,refresh_token:e.tokens.refreshToken,grant_type:"refresh_token"};r.clientSecret&&(a.client_secret=r.clientSecret);let i=new URLSearchParams(a);try{let o=(await(0,jr.requestUrl)({url:r.tokenEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},body:i.toString()})).json;if(!o.access_token)throw new Error("No access token in refresh response");let l=o.expires_in||3600,c=Date.now()+l*1e3,d={accessToken:o.access_token,refreshToken:o.refresh_token||e.tokens.refreshToken,expiresAt:c,scope:o.scope||e.tokens.scope,tokenType:o.token_type||"Bearer"};return await this.storeConnection(t,d,e.userEmail),d}catch(s){throw console.error("Token refresh failed:",s),new Error(`Failed to refresh ${t} token: ${s.message}`)}}async getValidToken(t){let e=await this.getConnection(t);if(!e)throw new On(t);let r=Date.now(),a=Ru.TOKEN_REFRESH_BUFFER_MS;if(e.tokens.expiresAt-a<r){let i=this.tokenRefreshPromises.get(t);if(i)return(await i).accessToken;let s=this.refreshToken(t).finally(()=>{this.tokenRefreshPromises.delete(t)});return this.tokenRefreshPromises.set(t,s),(await s).accessToken}return e.tokens.accessToken}async storeConnection(t,e,r){let a={provider:t,tokens:e,userEmail:r,connectedAt:new Date().toISOString(),lastRefreshed:new Date().toISOString()},i=await this.plugin.loadData()||{};i.oauthConnections||(i.oauthConnections={}),i.oauthConnections[t]=a,await this.plugin.saveData(i)}async getConnection(t){var r;let e=await this.plugin.loadData();return((r=e==null?void 0:e.oauthConnections)==null?void 0:r[t])||null}async isConnected(t){return await this.getConnection(t)!==null}async disconnect(t){let e=await this.getConnection(t);if(!e)return;await this.revokeToken(t,e.tokens.accessToken),e.tokens.refreshToken&&await this.revokeToken(t,e.tokens.refreshToken);let r=await this.plugin.loadData()||{};r.oauthConnections&&(delete r.oauthConnections[t],await this.plugin.saveData(r)),new jr.Notice(`Disconnected from ${t} Calendar`)}async revokeToken(t,e){let r=this.configs[t];if(!r.revocationEndpoint){console.warn(`No revocation endpoint configured for ${t}`);return}try{let a=await(0,jr.requestUrl)({url:r.revocationEndpoint,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({token:e,...r.clientId&&{client_id:r.clientId}}).toString(),throw:!1})}catch(a){console.error(`[OAuth] Failed to revoke token for ${t}:`,a)}}async destroy(){await this.stopCallbackServer(),this.pendingOAuthState.clear(),this.tokenRefreshPromises.clear()}};var Yi=require("obsidian");function u4(n,t){if(!n||n.trim()==="")throw new Fc(`${t} cannot be empty`,t)}function La(n,t){if(n==null)throw new Fc(`${t} is required`,t)}function Vo(n){if(u4(n,"Calendar ID"),!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$|^[a-zA-Z0-9_-]+$|^[a-zA-Z0-9+/]+=*$/.test(n))throw new Fc("Invalid calendar ID format. Expected email-like, alphanumeric, or Base64 format.","calendarId")}function Bu(n){if(u4(n,"Event ID"),!/^[a-zA-Z0-9_+/=-]+$/.test(n))throw new Fc("Invalid event ID format. Expected alphanumeric or Base64 format.","eventId")}var ju=class extends xi{ownsEvent(t){var e,r;return(r=(e=t.subscriptionId)==null?void 0:e.startsWith(`${this.providerId}-`))!=null?r:!1}extractEventIds(t){let e=t.subscriptionId.replace(`${this.providerId}-`,""),r=t.id.replace(`${this.providerId}-${e}-`,"");return{calendarId:e,eventId:r}}},ZT=class{constructor(){this.providers=new Map}register(t){this.providers.set(t.providerId,t)}unregister(t){this.providers.delete(t)}getProvider(t){return this.providers.get(t)}getAllProviders(){return Array.from(this.providers.values())}findProviderForEvent(t){for(let e of this.providers.values())if(e.ownsEvent(t))return e}getAllEvents(){let t=[];for(let e of this.providers.values())t.push(...e.getAllEvents());return t}async refreshAll(){let t=Array.from(this.providers.values()).map(e=>e.refresh().catch(r=>{console.error(`Failed to refresh ${e.providerName}:`,r)}));await Promise.all(t)}destroyAll(){for(let t of this.providers.values())t.destroy();this.providers.clear()}};var s0e={1:"#a4bdfc",2:"#7ae7bf",3:"#dbadff",4:"#ff887c",5:"#fbd75b",6:"#ffb878",7:"#46d6db",8:"#e1e1e1",9:"#5484ed",10:"#51b749",11:"#dc2127"},Ck=class extends ju{constructor(e,r){super();this.providerId="google";this.providerName="Google Calendar";this.baseUrl="https://www.googleapis.com/calendar/v3";this.cache=new Map;this.refreshTimer=null;this.availableCalendars=[];this.calendarColors=new Map;this.lastManualRefresh=0;this.plugin=e,this.oauthService=r}sleep(e){return new Promise(r=>setTimeout(r,e))}async withRetry(e,r){let{MAX_RETRIES:a,INITIAL_BACKOFF_MS:i,MAX_BACKOFF_MS:s,BACKOFF_MULTIPLIER:o}=ig.RATE_LIMIT,l=null,c=i;for(let d=0;d<=a;d++)try{return await e()}catch(u){l=u;let p=u.status===429,m=u.status>=500&&u.status<600,h=d===a;if(!p&&!m)throw u;if(h)throw console.error(`[GoogleCalendar] ${r} failed after ${a} retries`),u;let f=Math.random()*.3*c,g=Math.min(c+f,s);console.warn(`[GoogleCalendar] ${r} failed (${u.status}), retrying in ${Math.round(g)}ms (attempt ${d+1}/${a})`),await this.sleep(g),c=Math.min(c*o,s)}throw l}getAvailableCalendars(){return this.availableCalendars}getEnabledCalendarIds(){return this.plugin.settings.enabledGoogleCalendars.length===0?this.availableCalendars.map(e=>e.id):this.plugin.settings.enabledGoogleCalendars}getSyncToken(e){return this.plugin.settings.googleCalendarSyncTokens[e]}async saveSyncToken(e,r){this.plugin.settings.googleCalendarSyncTokens[e]=r,await this.plugin.saveSettings()}async clearSyncToken(e){delete this.plugin.settings.googleCalendarSyncTokens[e],await this.plugin.saveSettings()}async initialize(){await this.oauthService.isConnected("google")&&(await this.refreshAllCalendars(),this.startRefreshTimer())}startRefreshTimer(){this.refreshTimer&&clearInterval(this.refreshTimer),this.refreshTimer=setInterval(()=>{this.refreshAllCalendars().catch(e=>{console.error("Google Calendar refresh failed:",e)})},ig.REFRESH_INTERVAL_MS)}stopRefreshTimer(){this.refreshTimer&&(clearInterval(this.refreshTimer),this.refreshTimer=null)}async listCalendars(){try{return await this.withRetry(async()=>{let e=await this.oauthService.getValidToken("google"),i=(await(0,Yi.requestUrl)({url:`${this.baseUrl}/users/me/calendarList`,method:"GET",headers:{Authorization:`Bearer ${e}`,Accept:"application/json"}})).json.items||[],s=[];for(let o of i)o.backgroundColor&&this.calendarColors.set(o.id,o.backgroundColor),s.push({id:o.id,summary:o.summary,description:o.description,backgroundColor:o.backgroundColor,primary:o.primary||!1});return s},"List calendars")}catch(e){throw console.error("Failed to list calendars:",e),new Br(`Failed to fetch calendar list: ${e.message}`,e.status)}}async fetchCalendarEvents(e,r,a){try{let i=await this.oauthService.getValidToken("google"),s=this.getSyncToken(e),o=[],l,c,d=!s,u=!1;do try{let p=new URLSearchParams({singleEvents:"true",maxResults:ig.MAX_RESULTS_PER_REQUEST.toString()});if(s&&!l)p.set("syncToken",s);else if(l)p.set("pageToken",l);else{let g=new Date,v=r||new Date(g.getTime()-720*60*60*1e3),T=a||new Date(g.getTime()+2160*60*60*1e3);p.set("timeMin",v.toISOString()),p.set("timeMax",T.toISOString()),p.set("orderBy","startTime")}let h=(await this.withRetry(async()=>await(0,Yi.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(e)}/events?${p.toString()}`,method:"GET",headers:{Authorization:`Bearer ${i}`,Accept:"application/json"}}),`Fetch events for ${e}`)).json,f=h.items||[];!d&&f.some(g=>g.status==="cancelled")&&(u=!0),o.push(...f),l=h.nextPageToken,h.nextSyncToken&&(c=h.nextSyncToken)}catch(p){if(p.status===410)return await this.clearSyncToken(e),await this.fetchCalendarEvents(e,r,a);throw p}while(l);return c&&await this.saveSyncToken(e,c),{events:o,isFullSync:d,hasDeletes:u}}catch(i){throw console.error(`Failed to fetch events from calendar ${e}:`,i),new Error(`Failed to fetch calendar events: ${i.message}`)}}convertToICSEvent(e,r){var l,c;let a,i,s;if(e.start.date)a=e.start.date,i=(l=e.end)==null?void 0:l.date,s=!0;else{let d=new Date(e.start.dateTime),u=(c=e.end)!=null&&c.dateTime?new Date(e.end.dateTime):void 0,{format:p}=IR();a=p(d,"yyyy-MM-dd'T'HH:mm:ss"),i=u?p(u,"yyyy-MM-dd'T'HH:mm:ss"):void 0,s=!1}let o;return e.colorId&&(o=s0e[e.colorId]),o||(o=this.calendarColors.get(r)),o||(o="#4285F4"),{id:`google-${r}-${e.id}`,subscriptionId:`google-${r}`,title:e.summary||"Untitled Event",description:e.description,start:a,end:i,allDay:s,location:e.location,url:e.htmlLink,color:o}}async refreshAllCalendars(){try{if(!await this.oauthService.isConnected("google"))return;this.availableCalendars=await this.listCalendars();let r=this.getEnabledCalendarIds(),a=this.cache.get("all")||[];for(let i of r)try{let{events:s,isFullSync:o}=await this.fetchCalendarEvents(i);if(o){a=a.filter(c=>c.subscriptionId!==`google-${i}`);let l=s.filter(c=>c.status!=="cancelled").map(c=>this.convertToICSEvent(c,i));a.push(...l)}else for(let l of s){let c=`google-${i}-${l.id}`,d=a.findIndex(u=>u.id===c);if(l.status==="cancelled")d!==-1&&a.splice(d,1);else{let u=this.convertToICSEvent(l,i);d!==-1?a[d]=u:a.push(u)}}}catch(s){console.error(`Failed to fetch events from calendar ${i}:`,s)}this.cache.set("all",a),this.emit("data-changed")}catch(e){console.error("Failed to refresh Google calendars:",e),e.message&&e.message.includes("401")&&console.warn("[GoogleCalendar] Authentication expired - caller should handle re-authentication")}}getAllEvents(){return this.cache.get("all")||[]}getCachedEvents(){return this.getAllEvents()}async getEvents(e,r,a){let{events:i}=await this.fetchCalendarEvents(e,r,a);return i.filter(s=>s.status!=="cancelled").map(s=>this.convertToICSEvent(s,e))}async manualRefresh(){return this.refresh()}async refresh(){let e=Date.now(),r=e-this.lastManualRefresh,a=ig.MIN_MANUAL_REFRESH_INTERVAL_MS;if(r<a){let i=a-r;new Yi.Notice(`Please wait ${Math.ceil(i/1e3)}s before refreshing again`);return}this.lastManualRefresh=e,await this.refreshAllCalendars()}clearCache(){this.cache.clear()}async updateEvent(e,r,a){Vo(e),Bu(r),La(a,"updates");try{let i=await this.oauthService.getValidToken("google"),l={...(await this.withRetry(async()=>await(0,Yi.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(e)}/events/${encodeURIComponent(r)}`,method:"GET",headers:{Authorization:`Bearer ${i}`,Accept:"application/json"}}),`Get event ${r}`)).json};(a.title!==void 0||a.summary!==void 0)&&(l.summary=a.summary||a.title),a.description!==void 0&&(l.description=a.description),a.location!==void 0&&(l.location=a.location),a.start!==void 0&&(typeof a.start=="string"?a.isAllDay||!/T/.test(a.start)?l.start={date:a.start}:l.start={dateTime:a.start,timeZone:"UTC"}:l.start=a.start),a.end!==void 0&&(typeof a.end=="string"?a.isAllDay||!/T/.test(a.end)?l.end={date:a.end}:l.end={dateTime:a.end,timeZone:"UTC"}:l.end=a.end),l.start&&(l.start.date?(delete l.start.dateTime,delete l.start.timeZone):l.start.dateTime&&delete l.start.date),l.end&&(l.end.date?(delete l.end.dateTime,delete l.end.timeZone):l.end.dateTime&&delete l.end.date);let d=(await this.withRetry(async()=>await(0,Yi.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(e)}/events/${encodeURIComponent(r)}`,method:"PUT",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(l)}),`Update event ${r}`)).json,u=this.convertToICSEvent(d,e);return await this.refreshAllCalendars(),u}catch(i){throw console.error("Failed to update Google Calendar event:",i),i.status===404?new qo(r):i.status===401||i.status===403?new On("google"):i.status===429?new Oa:new Br(`Failed to update event: ${i.message}`,i.status)}}async createEvent(e,r){Vo(e),La(r,"event");let a=r.summary||r.title;La(a,"event.summary"),La(r.start,"event.start"),La(r.end,"event.end");try{let i=await this.oauthService.getValidToken("google"),s={summary:a,description:r.description,location:r.location};typeof r.start=="string"?r.isAllDay||!/T/.test(r.start)?(s.start={date:r.start},s.end={date:r.end}):(s.start={dateTime:r.start,timeZone:"UTC"},s.end={dateTime:r.end,timeZone:"UTC"}):(s.start=r.start,s.end=r.end);let l=(await this.withRetry(async()=>await(0,Yi.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(e)}/events`,method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),`Create event in ${e}`)).json,c=this.convertToICSEvent(l,e);return await this.refreshAllCalendars(),c}catch(i){throw console.error("Failed to create Google Calendar event:",i),i.status===404?new Lu(e):i.status===401||i.status===403?new On("google"):i.status===429?new Oa:new Br(`Failed to create event: ${i.message}`,i.status)}}async deleteEvent(e,r){Vo(e),Bu(r);try{let a=await this.oauthService.getValidToken("google");await this.withRetry(async()=>await(0,Yi.requestUrl)({url:`${this.baseUrl}/calendars/${encodeURIComponent(e)}/events/${encodeURIComponent(r)}`,method:"DELETE",headers:{Authorization:`Bearer ${a}`}}),`Delete event ${r}`),await this.refreshAllCalendars()}catch(a){if(a.status===410)return;throw console.error("Failed to delete Google Calendar event:",a),a.status===404?new qo(r):a.status===401||a.status===403?new On("google"):a.status===429?new Oa:new Br(`Failed to delete event: ${a.message}`,a.status)}}async createCalendar(e,r){try{let a=await this.oauthService.getValidToken("google"),s=(await this.withRetry(async()=>await(0,Yi.requestUrl)({url:`${this.baseUrl}/calendars`,method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({summary:e,description:r,timeZone:Intl.DateTimeFormat().resolvedOptions().timeZone})}),"Create calendar")).json;return this.availableCalendars=await this.listCalendars(),s.id}catch(a){throw console.error("Failed to create calendar:",a),a.status===401||a.status===403?new On("google"):a.status===429?new Oa:new Br(`Failed to create calendar: ${a.message}`,a.status)}}destroy(){this.stopRefreshTimer(),this.cache.clear(),this.removeAllListeners()}};var Qs=require("obsidian");var Pk=class extends ju{constructor(e,r){super();this.providerId="microsoft";this.providerName="Microsoft Calendar";this.baseUrl="https://graph.microsoft.com/v1.0";this.cache=new Map;this.refreshTimer=null;this.availableCalendars=[];this.lastManualRefresh=0;this.plugin=e,this.oauthService=r}sleep(e){return new Promise(r=>setTimeout(r,e))}async withRetry(e,r){let{MAX_RETRIES:a,INITIAL_BACKOFF_MS:i,MAX_BACKOFF_MS:s,BACKOFF_MULTIPLIER:o}=Fu.RATE_LIMIT,l=null,c=i;for(let d=0;d<=a;d++)try{return await e()}catch(u){l=u;let p=u.status===429,m=u.status>=500&&u.status<600,h=d===a;if(!p&&!m)throw u;if(h)throw console.error(`[MicrosoftCalendar] ${r} failed after ${a} retries`),u;let f=Math.random()*.3*c,g=Math.min(c+f,s);console.warn(`[MicrosoftCalendar] ${r} failed (${u.status}), retrying in ${Math.round(g)}ms (attempt ${d+1}/${a})`),await this.sleep(g),c=Math.min(c*o,s)}throw l}getAvailableCalendars(){return this.availableCalendars}getEnabledCalendarIds(){return this.plugin.settings.enabledMicrosoftCalendars.length===0?this.availableCalendars.map(e=>e.id):this.plugin.settings.enabledMicrosoftCalendars}getSyncToken(e){var r;return(r=this.plugin.settings.microsoftCalendarSyncTokens)==null?void 0:r[e]}async saveSyncToken(e,r){this.plugin.settings.microsoftCalendarSyncTokens||(this.plugin.settings.microsoftCalendarSyncTokens={}),this.plugin.settings.microsoftCalendarSyncTokens[e]=r,await this.plugin.saveSettings()}async clearSyncToken(e){this.plugin.settings.microsoftCalendarSyncTokens&&(delete this.plugin.settings.microsoftCalendarSyncTokens[e],await this.plugin.saveSettings())}async initialize(){await this.oauthService.isConnected("microsoft")&&(await this.refreshAllCalendars(),this.startRefreshTimer())}startRefreshTimer(){this.refreshTimer&&clearInterval(this.refreshTimer),this.refreshTimer=setInterval(()=>{this.refreshAllCalendars().catch(e=>{console.error("Microsoft Calendar refresh failed:",e)})},Fu.REFRESH_INTERVAL_MS)}stopRefreshTimer(){this.refreshTimer&&(clearInterval(this.refreshTimer),this.refreshTimer=null)}async listCalendars(){try{return await this.withRetry(async()=>{let e=await this.oauthService.getValidToken("microsoft"),r=[],a=`${this.baseUrl}/me/calendars`;for(;a;){let s=(await(0,Qs.requestUrl)({url:a,method:"GET",headers:{Authorization:`Bearer ${e}`,Accept:"application/json"}})).json,o=s.value||[];r.push(...o),a=s["@odata.nextLink"]}return r.map(i=>({id:i.id,summary:i.name,name:i.name,color:i.hexColor||void 0,backgroundColor:i.hexColor||void 0,primary:i.isDefaultCalendar||!1,isDefault:i.isDefaultCalendar||!1}))},"List calendars")}catch(e){throw console.error("Failed to list calendars:",e),new Br(`Failed to fetch calendar list: ${e.message}`,e.status)}}async fetchCalendarEvents(e,r,a){try{let i=await this.oauthService.getValidToken("microsoft"),s=this.getSyncToken(e),o=[],l,c,d=!s,u=!1,p;if(s)p=s;else{let m=new Date,h=r||new Date(m.getTime()-720*60*60*1e3),f=a||new Date(m.getTime()+2160*60*60*1e3),g=new URLSearchParams({startDateTime:h.toISOString(),endDateTime:f.toISOString(),$top:Fu.MAX_RESULTS_PER_REQUEST.toString()});p=`${this.baseUrl}/me/calendars/${encodeURIComponent(e)}/calendarView?${g.toString()}`}do try{let h=(await this.withRetry(async()=>{let g=[`odata.maxpagesize=${Fu.MAX_RESULTS_PER_REQUEST}`,'outlook.timezone="UTC"'];return await(0,Qs.requestUrl)({url:l||p,method:"GET",headers:{Authorization:`Bearer ${i}`,Accept:"application/json",Prefer:g.join(", ")}})},`Fetch events for ${e}`)).json,f=h.value||[];!d&&f.some(g=>g.isCancelled||g["@removed"])&&(u=!0),o.push(...f),l=h["@odata.nextLink"],h["@odata.deltaLink"]&&(c=h["@odata.deltaLink"])}catch(m){if(m.status===410)return await this.clearSyncToken(e),await this.fetchCalendarEvents(e,r,a);throw m}while(l);return c&&await this.saveSyncToken(e,c),{events:o,isFullSync:d,hasDeletes:u}}catch(i){throw console.error(`Failed to fetch events from calendar ${e}:`,i),new Error(`Failed to fetch calendar events: ${i.message}`)}}convertToICSEvent(e,r){var l,c;if(!e.start||!e.end)throw new Error("Event missing start/end");let a,i,s=e.isAllDay||!1;if(s)a=e.start.dateTime.split("T")[0],i=e.end.dateTime.split("T")[0];else{let{format:d,parseISO:u}=IR(),p=this.ensureUtcDateTime(e.start.dateTime,e.start.timeZone),m=this.ensureUtcDateTime(e.end.dateTime,e.end.timeZone),h=u(p),f=u(m);a=d(h,"yyyy-MM-dd'T'HH:mm:ss"),i=d(f,"yyyy-MM-dd'T'HH:mm:ss")}return{id:`microsoft-${r}-${e.id}`,subscriptionId:`microsoft-${r}`,title:e.subject||"Untitled Event",description:e.bodyPreview||((l=e.body)==null?void 0:l.content),start:a,end:i,allDay:s,location:(c=e.location)==null?void 0:c.displayName,url:e.webLink,color:"#0078D4"}}async refreshAllCalendars(){try{if(!await this.oauthService.isConnected("microsoft"))return;this.availableCalendars=await this.listCalendars();let r=this.getEnabledCalendarIds(),a=this.cache.get("all")||[];for(let i of r)try{let{events:s,isFullSync:o}=await this.fetchCalendarEvents(i);if(o){a=a.filter(c=>c.subscriptionId!==`microsoft-${i}`);let l=s.filter(c=>!c.isCancelled&&!c["@removed"]).map(c=>this.convertToICSEvent(c,i));a.push(...l)}else for(let l of s){let c=l["@removed"],d=`microsoft-${i}-${l.id}`,u=a.findIndex(p=>p.id===d);if(c){u!==-1&&a.splice(u,1);continue}if(l.isCancelled)u!==-1&&a.splice(u,1);else try{let p=this.convertToICSEvent(l,i);u!==-1?a[u]=p:a.push(p)}catch(p){console.warn("[MicrosoftCalendar] Failed to convert event during refresh",l.id,p)}}}catch(s){console.error(`Failed to fetch events from calendar ${i}:`,s)}this.cache.set("all",a),this.emit("data-changed")}catch(e){console.error("Failed to refresh Microsoft calendars:",e),e.message&&e.message.includes("401")&&console.warn("[MicrosoftCalendar] Authentication expired - caller should handle re-authentication")}}getAllEvents(){return this.cache.get("all")||[]}getCachedEvents(){return this.getAllEvents()}async getEvents(e,r,a){let{events:i}=await this.fetchCalendarEvents(e,r,a),s=[];for(let o of i)if(!(o["@removed"]||o.isCancelled))try{s.push(this.convertToICSEvent(o,e))}catch(l){console.warn("[MicrosoftCalendar] Skipping event due to conversion failure",o.id,l)}return s}async manualRefresh(){return this.refresh()}async disconnect(){this.clearCache(),this.stopRefreshTimer()}async refresh(){let e=Date.now(),r=e-this.lastManualRefresh,a=Fu.MIN_MANUAL_REFRESH_INTERVAL_MS;if(r<a){let i=a-r;new Qs.Notice(`Please wait ${Math.ceil(i/1e3)}s before refreshing again`);return}this.lastManualRefresh=e,await this.refreshAllCalendars()}clearCache(){this.cache.clear()}async updateEvent(e,r,a){Vo(e),Bu(r),La(a,"updates");try{let i=await this.oauthService.getValidToken("microsoft"),s={};(a.title!==void 0||a.summary!==void 0)&&(s.subject=a.summary||a.title),a.description!==void 0&&(s.body={contentType:"text",content:a.description});let o=!1,l=!1;a.start!==void 0&&(o=!0,typeof a.start=="string"?(l=a.isAllDay!==void 0?a.isAllDay:!/T/.test(a.start),s.start={dateTime:a.start,timeZone:"UTC"}):(s.start={dateTime:a.start.dateTime||a.start.date,timeZone:a.start.timeZone||"UTC"},a.start.date&&!a.start.dateTime&&(l=!0))),a.end!==void 0&&(o=!0,typeof a.end=="string"?s.end={dateTime:a.end,timeZone:"UTC"}:s.end={dateTime:a.end.dateTime||a.end.date,timeZone:a.end.timeZone||"UTC"}),a.isAllDay!==void 0?s.isAllDay=a.isAllDay:o&&(s.isAllDay=l),a.location!==void 0&&(s.location={displayName:a.location});let d=(await this.withRetry(async()=>await(0,Qs.requestUrl)({url:`${this.baseUrl}/me/calendars/${encodeURIComponent(e)}/events/${encodeURIComponent(r)}`,method:"PATCH",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),`Update event ${r}`)).json,u=this.convertToICSEvent(d,e);return await this.refreshAllCalendars(),u}catch(i){throw console.error("Failed to update Microsoft Calendar event:",i),i.status===404?new qo(r):i.status===401||i.status===403?new On("microsoft"):i.status===429?new Oa:new Br(`Failed to update event: ${i.message}`,i.status)}}async createEvent(e,r){Vo(e),La(r,"event");let a=r.summary||r.title;La(a,"event.summary"),La(r.start,"event.start"),La(r.end,"event.end");try{let i=await this.oauthService.getValidToken("microsoft"),s={subject:a};if(r.description&&(s.body={contentType:"text",content:r.description}),r.location&&(s.location={displayName:r.location}),typeof r.start=="string"){let d=r.isAllDay||!/T/.test(r.start);s.start={dateTime:r.start,timeZone:"UTC"},s.end={dateTime:r.end,timeZone:"UTC"},s.isAllDay=d}else s.start={dateTime:r.start.dateTime||r.start.date,timeZone:r.start.timeZone||"UTC"},s.end={dateTime:typeof r.end=="string"?r.end:r.end.dateTime||r.end.date,timeZone:r.end.timeZone||"UTC"},r.start.date&&!r.start.dateTime&&(s.isAllDay=!0);let l=(await this.withRetry(async()=>await(0,Qs.requestUrl)({url:`${this.baseUrl}/me/calendars/${encodeURIComponent(e)}/events`,method:"POST",headers:{Authorization:`Bearer ${i}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(s)}),`Create event in ${e}`)).json,c=this.convertToICSEvent(l,e);return await this.refreshAllCalendars(),c}catch(i){throw console.error("Failed to create Microsoft Calendar event:",i),i.status===404?new Lu(e):i.status===401||i.status===403?new On("microsoft"):i.status===429?new Oa:new Br(`Failed to create event: ${i.message}`,i.status)}}async deleteEvent(e,r){Vo(e),Bu(r);try{let a=await this.oauthService.getValidToken("microsoft");await this.withRetry(async()=>await(0,Qs.requestUrl)({url:`${this.baseUrl}/me/calendars/${encodeURIComponent(e)}/events/${encodeURIComponent(r)}`,method:"DELETE",headers:{Authorization:`Bearer ${a}`}}),`Delete event ${r}`),await this.refreshAllCalendars()}catch(a){throw a.status===404?new qo(r):(console.error("Failed to delete Microsoft Calendar event:",a),a.status===401||a.status===403?new On("microsoft"):a.status===429?new Oa:new Br(`Failed to delete event: ${a.message}`,a.status))}}async createCalendar(e,r){try{let a=await this.oauthService.getValidToken("microsoft"),s=(await this.withRetry(async()=>await(0,Qs.requestUrl)({url:`${this.baseUrl}/me/calendars`,method:"POST",headers:{Authorization:`Bearer ${a}`,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({name:e})}),"Create calendar")).json;return this.availableCalendars=await this.listCalendars(),s.id}catch(a){throw console.error("Failed to create calendar:",a),a.status===401||a.status===403?new On("microsoft"):a.status===429?new Oa:new Br(`Failed to create calendar: ${a.message}`,a.status)}}ensureUtcDateTime(e,r){if(!e)throw new Error("Missing dateTime value");return/[+-]\d{2}:\d{2}$/.test(e)||e.endsWith("Z")?e:(r&&r.toUpperCase()!=="UTC"&&console.warn(`[MicrosoftCalendar] Falling back to UTC conversion for timezone "${r}"`),`${e.replace(/\.\d+$/,"")}Z`)}destroy(){this.stopRefreshTimer(),this.cache.clear(),this.removeAllListeners()}};var QJ=require("obsidian"),Mk=class{constructor(t){this.cachedValidation=null;this.CACHE_DURATION=1440*60*1e3;this.GRACE_PERIOD=10080*60*1e3;this.plugin=t}async validateLicense(t){var e,r,a,i,s,o;if(console.log("=== LICENSE VALIDATION STARTED ==="),console.log("License key:",t),!t||!t.trim())return console.log("License key is empty"),!1;if(((e=this.cachedValidation)==null?void 0:e.key)===t&&Date.now()<this.cachedValidation.validUntil)return console.log("Using cached validation result:",this.cachedValidation.valid),this.cachedValidation.valid;console.log("Making API request to Lemon Squeezy...");try{let l=await(0,QJ.requestUrl)({url:"https://api.lemonsqueezy.com/v1/licenses/validate",method:"POST",headers:{Accept:"application/json","Content-Type":"application/x-www-form-urlencoded"},body:`license_key=${encodeURIComponent(t)}`,throw:!1});if(console.log("License validation response status:",l.status),console.log("License validation response body:",JSON.stringify(l.json,null,2)),l.status!==200)return console.error("License validation failed with status:",l.status),this.handleValidationFailure(t);let c=l.json,d=c.valid===!0&&(((r=c.license_key)==null?void 0:r.status)==="active"||((a=c.license_key)==null?void 0:a.status)==="inactive")&&!((i=c.license_key)!=null&&i.disabled);return this.cachedValidation={key:t,valid:d,validUntil:Date.now()+this.CACHE_DURATION,meta:{customerEmail:(s=c.meta)==null?void 0:s.customer_email,expiresAt:(o=c.license_key)!=null&&o.expires_at?new Date(c.license_key.expires_at).getTime():void 0}},await this.saveCacheToData(),d}catch(l){return console.error("License validation error:",l),this.handleValidationFailure(t)}}handleValidationFailure(t){var e;return((e=this.cachedValidation)==null?void 0:e.key)===t&&Date.now()<this.cachedValidation.validUntil+this.GRACE_PERIOD?(console.log("Using cached validation result (grace period)"),this.cachedValidation.valid):!1}async canUseBuiltInCredentials(){let t=this.plugin.settings.lemonSqueezyLicenseKey;return!t||!t.trim()?!1:await this.validateLicense(t)}getCachedLicenseInfo(){return this.cachedValidation}clearCache(){this.cachedValidation=null}async loadCacheFromData(){let t=await this.plugin.loadData();t!=null&&t.licenseValidationCache&&(this.cachedValidation=t.licenseValidationCache)}async saveCacheToData(){let t=await this.plugin.loadData()||{};t.licenseValidationCache=this.cachedValidation,await this.plugin.saveData(t)}};var Kg=class extends re.Plugin{constructor(){super(...arguments);this.previousCacheSettings=null;this.previousTimeTrackingSettings=null;this.lastKnownDate=new Date().toDateString();this.commandDefinitions=[];this.registeredCommands=new Map;this.taskUpdateListenerForEditor=null;this.relationshipsReadingModeCleanup=null;this.taskCardReadingModeCleanup=null;this.initializationComplete=!1;this.migrationComplete=!1;this.migrationPromise=null;this.basesRegistered=!1}getSystemUILocale(){try{let e=(0,re.getLanguage)();if(e)return e}catch(e){}return typeof navigator!="undefined"&&navigator.language?navigator.language:"en"}refreshLocalizedViews(){}async onload(){var a,i;this.readyPromise=new Promise(s=>{this.resolveReady=s}),await this.loadSettings(),this.i18n=$G({initialLocale:(a=this.settings.uiLanguage)!=null?a:"system",getSystemLocale:()=>this.getSystemUILocale()}),this.i18n.on("locale-changed",({current:s})=>{if(!this.initializationComplete)return;let o=this.i18n.getNativeLanguageName(s);new re.Notice(this.i18n.translate("notices.languageChanged",{language:o})),this.refreshLocalizedViews(),this.refreshCommandTranslations()}),(0,re.addIcon)("tasknotes-simple",`<g>
|
||
<defs>
|
||
<mask id="tasknotes-mask">
|
||
<rect width="100" height="100" fill="white"/>
|
||
<path fill="black" d="m 5.9,52.4 -0.09,4.51 c 4.71,0.09 7.61,1.48 9.95,3.57 2.35,2.09 4.11,5.01 5.90,8.14 1.80,3.13 3.62,6.46 6.45,9.12 2.23,2.09 5.14,3.67 8.83,4.21 0.46,-1.51 1.05,-2.95 1.77,-4.33 -3.44,-0.21 -5.62,-1.39 -7.53,-3.17 -2.14,-2.01 -3.82,-4.92 -5.63,-8.08 -1.81,-3.16 -3.77,-6.56 -6.82,-9.27 -3.05,-2.71 -7.07,-4.59 -11.83,-4.70 z"/>
|
||
<path fill="black" d="M 73.6,18.3 69.9,20.9 c 4.06,5.75 4.40,11.33 2.77,16.78 -1.63,5.45 -5.41,10.67 -9.65,14.78 -8.49,8.20 -16.59,14.11 -21.83,21.18 -5.24,7.07 -7.22,15.59 -3.13,27.21 l 4.25,-1.50 c -3.74,-10.62 -2.11,-16.80 2.50,-23.01 4.61,-6.21 12.63,-12.19 21.34,-20.64 4.65,-4.50 8.89,-10.23 10.84,-16.72 1.95,-6.49 1.42,-13.86 -3.40,-20.68 z"/>
|
||
</mask>
|
||
</defs>
|
||
<path fill="currentColor" mask="url(#tasknotes-mask)" d="m 98.5,0.6 c -0.38,0 -0.83,0.09 -1.33,0.23 -2,0.59 -4.66,2.18 -5.78,3.22 -1.25,1.16 -4.16,4.93 -6.08,7.19 -2.67,3.12 -5.65,6.58 -9.32,11.13 2.58,5.61 2.61,11.38 1.05,16.60 -1.95,6.49 -6.19,12.22 -10.84,16.72 -8.71,8.43 -16.73,14.41 -21.34,20.64 -4.47,6.03 -6.13,12.03 -2.81,22.08 0.19,-0.23 0.37,-0.49 0.54,-0.80 10.57,-19.70 17.89,-27.30 41.9,-47.08 v 0 c 2.40,-1.97 3.71,-4.33 4.52,-7.14 0.81,-2.82 1.11,-6.10 1.52,-9.92 0.81,-7.64 2.02,-17.43 8.43,-29.95 0.37,-0.73 0.57,-1.30 0.62,-1.72 0.05,-0.43 -0.04,-0.71 -0.22,-0.90 -0.19,-0.18 -0.48,-0.27 -0.86,-0.26 z M 72.7,26.3 c -0.75,0.92 -1.51,1.84 -2.27,2.78 -9.09,11.05 -19.45,22.93 -28.54,29.97 -1.48,1.14 -2.98,1.54 -4.46,1.38 -1.49,-0.16 -2.97,-0.89 -4.43,-1.96 -2.91,-2.16 -5.74,-5.74 -8.35,-9.19 -2.62,-3.45 -5.04,-6.77 -7.12,-8.39 -1.04,-0.81 -1.99,-1.19 -2.83,-0.97 -0.84,0.22 -1.60,1.05 -2.26,2.70 -1.03,2.61 -1.60,6.22 -3.42,10.05 4.08,0.62 7.27,2.27 9.73,4.45 3.05,2.71 5.01,6.11 6.82,9.27 1.81,3.16 3.49,6.07 5.63,8.08 1.90,1.78 4.08,2.96 7.53,3.17 0.71,-1.37 1.55,-2.69 2.49,-3.95 5.24,-7.07 13.34,-12.98 21.83,-21.18 4.24,-4.11 8.02,-9.33 9.65,-14.78 1.12,-3.73 1.31,-7.53 0.01,-11.42 z M 10.3,49.1 c -0.09,0.29 -0.18,0.56 -0.28,0.85 0.10,-0.29 0.19,-0.56 0.28,-0.85 z m -4.02,7.84 c -0.01,0.01 -0.02,0.02 -0.03,0.03 0.01,-0.01 0.02,-0.02 0.03,-0.03 0,0 0,0 0,0 z m 0.12,0 c -1.08,1.40 -2.40,2.79 -4.05,4.12 -1.20,1.0 -1.85,1.86 -2.03,2.71 -0.18,0.85 0.10,1.67 0.76,2.53 1.32,1.71 4.16,3.54 7.81,5.91 7.28,4.73 17.75,11.63 25.63,24.16 0.64,1.02 1.74,2.04 2.95,2.65 -0.91,-5.36 -0.91,-8.78 -0.54,-11.88 -3.33,-0.55 -6.07,-2.12 -8.39,-4.72 -2.83,-3.17 -4.69,-6.59 -6.54,-9.85 -1.85,-3.26 -3.69,-6.37 -6.08,-8.47 -2.06,-1.81 -4.61,-3.0 -8.49,-3.17 z"/>
|
||
</g>`),this.fieldMapper=new bd(this.settings.fieldMapping),this.statusManager=new ou(this.settings.customStatuses),this.priorityManager=new mb(this.settings.customPriorities),this.requestDeduplicator=new au,this.predictivePrefetcher=new ub(this.requestDeduplicator),this.domReconciler=new iu,this.uiStateManager=new pb,this.cacheManager=new cb(this.app,this.settings,this.fieldMapper),this.emitter=this.cacheManager,this.dependencyCache=new db(this.app,this.settings,this.fieldMapper,this.statusManager,s=>this.cacheManager.isTaskFile(s)),this.cacheManager.setDependencyCache(this.dependencyCache),this.taskService=new gb(this),this.filterService=new yb(this.cacheManager,this.statusManager,this.priorityManager,this),this.taskStatsService=new vb(this.cacheManager),this.viewStateManager=new kb(this.app,this),this.projectSubtasksService=new jT(this),this.expandedProjectsService=new HT(this),this.autoArchiveService=new Tb(this);let{TaskSelectionService:e}=(JJ(),Wa(ZJ));this.taskSelectionService=new e(this),this.dragDropManager=new ST(this),this.statusBarService=new BT(this),this.notificationService=new zT(this),this.viewPerformanceService=new bb(this);let{BasesFilterConverter:r}=await Promise.resolve().then(()=>(eX(),XJ));if(this.basesFilterConverter=new r(this),this.icsSubscriptionService=new OT(this),this.icsNoteService=new LT(this),this.taskService.setAutoArchiveService(this.autoArchiveService),this.addRibbonIcon("calendar-days","Open mini calendar",async()=>{await this.activateCalendarView()}),this.addRibbonIcon("calendar","Open advanced calendar",async()=>{await this.openBasesFileForCommand("open-advanced-calendar-view")}),this.addRibbonIcon("check-square","Open task list",async()=>{await this.openBasesFileForCommand("open-tasks-view")}),this.addRibbonIcon("list","Open agenda",async()=>{await this.openBasesFileForCommand("open-agenda-view")}),this.addRibbonIcon("columns-3","Open kanban board",async()=>{await this.openBasesFileForCommand("open-kanban-view")}),this.addRibbonIcon("timer","Open pomodoro",async()=>{await this.activatePomodoroView()}),this.addRibbonIcon("bar-chart-3","Open pomodoro stats",async()=>{await this.activatePomodoroStatsView()}),this.addRibbonIcon("tasknotes-simple","Create new task",()=>{this.openTaskCreationModal()}),this.addCommands(),this.addSettingTab(new Fy(this.app,this)),this.migrationPromise=this.performEarlyMigrationCheck(),this.licenseService=new Mk(this),await this.licenseService.loadCacheFromData(),this.oauthService=new QT(this),this.googleCalendarService=new Ck(this,this.oauthService),this.microsoftCalendarService=new Pk(this,this.oauthService),this.calendarProviderRegistry=new ZT,this.calendarProviderRegistry.register(this.googleCalendarService),this.calendarProviderRegistry.register(this.microsoftCalendarService),(i=this.settings)!=null&&i.enableBases&&!this.basesRegistered)try{let{registerBasesTaskList:s}=await Promise.resolve().then(()=>(iw(),aw));await s(this),this.basesRegistered=!0}catch(s){console.debug("[TaskNotes][Bases] Early registration failed:",s)}this.app.workspace.onLayoutReady(()=>{this.initializeAfterLayoutReady()}),this.resolveReady()}async initializeHTTPAPI(){if(!(re.Platform.isMobile||!this.settings.enableAPI))try{let{HTTPAPIService:e}=await Promise.resolve().then(()=>(xee(),Eee));this.apiService=new e(this,this.taskService,this.filterService,this.cacheManager),this.taskService.setWebhookNotifier(this.apiService),this.pomodoroService.setWebhookNotifier(this.apiService),await this.apiService.start(),new re.Notice(`TaskNotes API started on port ${this.apiService.getPort()}`)}catch(e){console.error("Failed to initialize HTTP API:",e),new re.Notice("Failed to start TaskNotes API server. Check console for details.")}}async initializeAfterLayoutReady(){var e;if(!this.initializationComplete){this.initializationComplete=!0;try{if(await this.ensureBasesViewFiles(),this.injectCustomStyles(),this.registerView(Pp,r=>new Qv(r,this)),this.registerView(Mp,r=>new Zv(r,this)),this.registerView(Ap,r=>new Jv(r,this)),this.registerView(YT,r=>new VT(r,this,c4,l4)),this.registerEditorExtension(X$(this)),this.registerEditorExtension(oY(this)),this.taskCardReadingModeCleanup=lY(this),this.registerEditorExtension(nY(this)),this.relationshipsReadingModeCleanup=aY(this),this.registerMarkdownPostProcessor(eY(this)),this.cacheManager.initialize(),this.dependencyCache.initialize(),this.filterService.initialize(),this.statusBarService.initialize(),await this.notificationService.initialize(),await this.warmupProjectIndexes(),await this.autoArchiveService.start(),this.setupDateChangeDetection(),this.initializeServicesLazily(),(e=this.settings)!=null&&e.enableBases&&!this.basesRegistered)try{let{registerBasesTaskList:r}=await Promise.resolve().then(()=>(iw(),aw));await r(this),this.basesRegistered=!0}catch(r){console.debug("[TaskNotes][Bases] Registration failed:",r)}}catch(r){console.error("Error during post-layout initialization:",r)}}}initializeServicesLazily(){setTimeout(async()=>{try{this.pomodoroService=new lb(this),await this.pomodoroService.initialize(),await this.icsSubscriptionService.initialize(),this.autoExportService=new UT(this),this.autoExportService.start(),this.googleCalendarService.on("data-changed",()=>{this.notifyDataChanged(void 0,!1,!0)}),await this.googleCalendarService.initialize(),this.microsoftCalendarService.on("data-changed",()=>{this.notifyDataChanged(void 0,!1,!0)}),await this.microsoftCalendarService.initialize(),await this.initializeHTTPAPI();let{TaskLinkDetectionService:e}=await Promise.resolve().then(()=>(fx(),Z$));this.taskLinkDetectionService=new e(this);let{InstantTaskConvertService:r}=await Promise.resolve().then(()=>(Pee(),Cee));this.instantTaskConvertService=new r(this,this.statusManager,this.priorityManager);let{createInstantConvertButtons:a}=await Promise.resolve().then(()=>(Iee(),Aee));this.registerEditorExtension(a(this)),this.taskUpdateListenerForEditor=this.emitter.on(gt,i=>{this.app.workspace.iterateRootLeaves(s=>{var o;if(s.view&&s.view.getViewType()==="markdown"){let l=s.view.editor;if(l&&l.cm){let c=(i==null?void 0:i.path)||((o=i==null?void 0:i.updatedTask)==null?void 0:o.path);xo(l.cm,c)}}})}),this.registerEvent(this.app.workspace.on("active-leaf-change",i=>{setTimeout(()=>{if(i&&i.view&&i.view.getViewType()==="markdown"){let s=i.view.editor;s&&s.cm&&xo(s.cm)}},50)})),this.registerEvent(this.app.workspace.on("layout-change",()=>{setTimeout(()=>{let i=this.app.workspace.getActiveViewOfType(re.MarkdownView);if(i){let s=i.editor;s&&s.cm&&xo(s.cm)}},100)})),this.setupStatusBarEventListeners(),this.setupTimeTrackingEventListeners(),await this.checkForVersionUpdate()}catch(e){console.error("Error during lazy service initialization:",e)}},10)}async warmupProjectIndexes(){try{let e=Date.now();this.cacheManager.getTasksForDate(new Date().toISOString().split("T")[0]);let r=Date.now()-e;r>2e3&&console.log(`[TaskNotes] Project indexes warmed up in ${r}ms`)}catch(e){console.error("[TaskNotes] Error during project index warmup:",e)}}async onReady(){if(!this.readyPromise)throw new Error("Plugin not yet initialized");await this.readyPromise}setupStatusBarEventListeners(){this.statusBarService&&(this.registerEvent(this.emitter.on(gt,()=>{setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.registerEvent(this.emitter.on(Ga,()=>{setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.pomodoroService&&(this.registerEvent(this.emitter.on("pomodoro-start",()=>{setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.registerEvent(this.emitter.on("pomodoro-stop",()=>{setTimeout(()=>{this.statusBarService.requestUpdate()},100)})),this.registerEvent(this.emitter.on("pomodoro-state-changed",()=>{setTimeout(()=>{this.statusBarService.requestUpdate()},100)}))))}setupTimeTrackingEventListeners(){if(this.settings.autoStopTimeTrackingOnComplete){let e=this.emitter.on(gt,async r=>{await this.handleAutoStopTimeTracking(r)});this.registerEvent(e)}this.updatePreviousTimeTrackingSettings()}async handleAutoStopTimeTracking(e){let{originalTask:r,updatedTask:a}=e;if(!r||!a)return;let i=this.statusManager.isCompletedStatus(r.status),s=this.statusManager.isCompletedStatus(a.status);if(!i&&s&&this.getActiveTimeSession(a))try{await this.stopTimeTracking(a),this.settings.autoStopTimeTrackingNotification&&new re.Notice(`Auto-stopped time tracking for: ${a.title}`),console.log(`Auto-stopped time tracking for completed task: ${a.title}`)}catch(l){console.error("Error auto-stopping time tracking:",l)}}haveTimeTrackingSettingsChanged(){return this.previousTimeTrackingSettings?this.settings.autoStopTimeTrackingOnComplete!==this.previousTimeTrackingSettings.autoStopTimeTrackingOnComplete:!0}updatePreviousTimeTrackingSettings(){this.previousTimeTrackingSettings={autoStopTimeTrackingOnComplete:this.settings.autoStopTimeTrackingOnComplete}}async performEarlyMigrationCheck(){try{console.log("TaskNotes: Starting early migration check..."),await this.viewStateManager.initializeSavedViews(),this.viewStateManager.needsMigration()&&(console.log("TaskNotes: Performing view state migration..."),await this.viewStateManager.performMigration()),this.migrationComplete=!0}catch(e){console.error("Error during early migration check:",e),this.migrationComplete=!0}}async checkForVersionUpdate(){var e;try{let r=this.manifest.version,a=this.settings.lastSeenVersion;a&&a!==r&&(((e=this.settings.showReleaseNotesOnUpdate)!=null?e:!0)?setTimeout(async()=>{await this.activateReleaseNotesView(),this.settings.lastSeenVersion=r,await this.saveSettings()},1500):(this.settings.lastSeenVersion=r,await this.saveSettings())),a||(this.settings.lastSeenVersion=r,await this.saveSettings())}catch(r){console.error("Error checking for version update:",r)}}async waitForMigration(){for(this.migrationPromise&&await this.migrationPromise;!this.migrationComplete;)await new Promise(e=>setTimeout(e,50))}notifyDataChanged(e,r=!1,a=!0){e?(this.cacheManager.clearCacheEntry(e),this.taskLinkDetectionService&&this.taskLinkDetectionService.clearCacheForFile(e)):r&&(this.cacheManager.clearAllCaches(),this.taskLinkDetectionService&&this.taskLinkDetectionService.clearCache()),a&&requestAnimationFrame(()=>{this.emitter.trigger(Ga)})}setupDateChangeDetection(){let e=()=>{let r=new Date().toDateString();r!==this.lastKnownDate&&(this.lastKnownDate=r,this.emitter.trigger(kl))};this.dateCheckInterval=window.setInterval(e,6e4),this.registerInterval(this.dateCheckInterval),this.scheduleNextMidnightCheck()}scheduleNextMidnightCheck(){let e=new Date,r=new Date(e);r.setHours(24,0,0,0);let a=r.getTime()-e.getTime();this.midnightTimeout&&window.clearTimeout(this.midnightTimeout),this.midnightTimeout=window.setTimeout(()=>{let i=new Date().toDateString();i!==this.lastKnownDate&&(this.lastKnownDate=i,this.emitter.trigger(kl)),this.scheduleNextMidnightCheck()},a),this.registerInterval(this.midnightTimeout)}onunload(){var r;(r=this.settings)!=null&&r.enableBases&&Promise.resolve().then(()=>(iw(),aw)).then(({unregisterBasesViews:a})=>{a(this),this.basesRegistered=!1}).catch(a=>{console.debug("[TaskNotes][Bases] Unregistration failed:",a)});let e=mf.getStats("cache-initialization");e&&e.count>0&&mf.logSummary(),this.pomodoroService&&this.pomodoroService.cleanup(),this.filterService&&this.filterService.cleanup(),this.viewPerformanceService&&this.viewPerformanceService.destroy(),this.taskCardReadingModeCleanup&&(this.taskCardReadingModeCleanup(),this.taskCardReadingModeCleanup=null),this.relationshipsReadingModeCleanup&&(this.relationshipsReadingModeCleanup(),this.relationshipsReadingModeCleanup=null),this.autoArchiveService&&this.autoArchiveService.stop(),this.icsSubscriptionService&&this.icsSubscriptionService.destroy(),this.autoExportService&&this.autoExportService.destroy(),this.taskLinkDetectionService&&this.taskLinkDetectionService.cleanup(),this.dragDropManager&&this.dragDropManager.destroy(),this.apiService&&this.apiService.stop(),this.oauthService&&this.oauthService.destroy(),this.googleCalendarService&&this.googleCalendarService.destroy(),this.microsoftCalendarService&&this.microsoftCalendarService.destroy(),this.calendarProviderRegistry&&this.calendarProviderRegistry.destroyAll(),this.viewStateManager&&this.viewStateManager.cleanup(),this.statusBarService&&this.statusBarService.destroy(),this.notificationService&&this.notificationService.destroy(),this.cacheManager&&this.cacheManager.destroy(),this.dependencyCache&&this.dependencyCache.destroy(),this.requestDeduplicator&&this.requestDeduplicator.cancelAll(),this.domReconciler&&this.domReconciler.destroy(),this.uiStateManager&&this.uiStateManager.destroy(),typeof mf!="undefined"&&mf.destroy(),this.taskUpdateListenerForEditor&&this.emitter.offref(this.taskUpdateListenerForEditor),this.emitter&&this.emitter.off,this.initializationComplete=!1}async loadSettings(){var s;let e=await this.loadData();if(e&&"useNativeMetadataCache"in e&&delete e.useNativeMetadataCache,e&&typeof e.enableAPI=="undefined"&&(e.enableAPI=!1),e&&typeof e.apiPort=="undefined"&&(e.apiPort=8080),e&&typeof e.apiAuthToken=="undefined"&&(e.apiAuthToken=""),e&&!e.nlpTriggers&&e.statusSuggestionTrigger!==void 0){let{DEFAULT_NLP_TRIGGERS:o}=(to(),Wa(jw));e.nlpTriggers={triggers:[...o.triggers]};let l=e.nlpTriggers.triggers.findIndex(c=>c.propertyId==="status");l!==-1&&e.statusSuggestionTrigger&&(e.nlpTriggers.triggers[l].trigger=e.statusSuggestionTrigger)}if(e&&!e.modalFieldsConfig){let{initializeFieldConfig:o}=(wp(),Wa(sS));e.modalFieldsConfig=o(void 0,e.userFields)}this.settings={...dr,...e,fieldMapping:{...dr.fieldMapping,...(e==null?void 0:e.fieldMapping)||{}},taskCreationDefaults:{...dr.taskCreationDefaults,...(e==null?void 0:e.taskCreationDefaults)||{}},calendarViewSettings:{...dr.calendarViewSettings,...(e==null?void 0:e.calendarViewSettings)||{}},commandFileMapping:{...dr.commandFileMapping,...(e==null?void 0:e.commandFileMapping)||{}},icsIntegration:{...dr.icsIntegration,...(e==null?void 0:e.icsIntegration)||{}},nlpTriggers:{...dr.nlpTriggers,...(e==null?void 0:e.nlpTriggers)||{},triggers:((s=e==null?void 0:e.nlpTriggers)==null?void 0:s.triggers)||dr.nlpTriggers.triggers},modalFieldsConfig:e==null?void 0:e.modalFieldsConfig,customStatuses:(e==null?void 0:e.customStatuses)||dr.customStatuses,customPriorities:(e==null?void 0:e.customPriorities)||dr.customPriorities,savedViews:(e==null?void 0:e.savedViews)||dr.savedViews};let r=Object.keys(dr.fieldMapping).some(o=>{var l;return!((l=e==null?void 0:e.fieldMapping)!=null&&l[o])}),a=Object.keys(dr.calendarViewSettings).some(o=>{var l;return!((l=e==null?void 0:e.calendarViewSettings)!=null&&l[o])}),i=Object.keys(dr.commandFileMapping).some(o=>{var l;return!((l=e==null?void 0:e.commandFileMapping)!=null&&l[o])});(r||a||i)&&setTimeout(async()=>{try{let o=await this.loadData()||{},l=Object.keys(dr);for(let c of l)o[c]=this.settings[c];await this.saveData(o)}catch(o){console.error("Failed to save migrated settings:",o)}},100),this.updatePreviousCacheSettings()}async saveSettings(){var s;let e=await this.loadData()||{},r=Object.keys(dr);for(let o of r)e[o]=this.settings[o];await this.saveData(e);let a=this.haveCacheSettingsChanged(),i=this.haveTimeTrackingSettingsChanged();this.fieldMapper&&this.fieldMapper.updateMapping(this.settings.fieldMapping),this.statusManager&&this.statusManager.updateStatuses(this.settings.customStatuses),this.priorityManager&&this.priorityManager.updatePriorities(this.settings.customPriorities),a&&(console.debug("Cache-related settings changed, updating cache configuration"),this.cacheManager.updateConfig(this.settings),this.updatePreviousCacheSettings()),this.injectCustomStyles(),i&&this.setupTimeTrackingEventListeners(),this.statusBarService&&this.statusBarService.updateVisibility(),(s=this.filterService)==null||s.refreshFilterOptions(),this.notifyDataChanged(),this.emitter.trigger("settings-changed",this.settings)}addCommands(){this.commandDefinitions=[{id:"open-calendar-view",nameKey:"commands.openCalendarView",callback:async()=>{await this.activateCalendarView()}},{id:"open-advanced-calendar-view",nameKey:"commands.openAdvancedCalendarView",callback:async()=>{await this.openBasesFileForCommand("open-advanced-calendar-view")}},{id:"open-tasks-view",nameKey:"commands.openTasksView",callback:async()=>{await this.openBasesFileForCommand("open-tasks-view")}},{id:"open-agenda-view",nameKey:"commands.openAgendaView",callback:async()=>{await this.openBasesFileForCommand("open-agenda-view")}},{id:"open-pomodoro-view",nameKey:"commands.openPomodoroView",callback:async()=>{await this.activatePomodoroView()}},{id:"open-kanban-view",nameKey:"commands.openKanbanView",callback:async()=>{await this.openBasesFileForCommand("open-kanban-view")}},{id:"open-pomodoro-stats",nameKey:"commands.openPomodoroStats",callback:async()=>{await this.activatePomodoroStatsView()}},{id:"open-statistics",nameKey:"commands.openStatisticsView",callback:async()=>{await this.activateStatsView()}},{id:"create-new-task",nameKey:"commands.createNewTask",callback:()=>{this.openTaskCreationModal()}},{id:"convert-current-note-to-task",nameKey:"commands.convertCurrentNoteToTask.name",callback:async()=>{await this.convertCurrentNoteToTask()}},{id:"convert-to-tasknote",nameKey:"commands.convertToTaskNote",editorCallback:async e=>{await this.convertTaskToTaskNote(e)}},{id:"batch-convert-all-tasks",nameKey:"commands.convertAllTasksInNote",editorCallback:async e=>{await this.batchConvertAllTasks(e)}},{id:"insert-tasknote-link",nameKey:"commands.insertTaskNoteLink",editorCallback:e=>{this.insertTaskNoteLink(e)}},{id:"create-inline-task",nameKey:"commands.createInlineTask",editorCallback:async e=>{await this.createInlineTask(e)}},{id:"quick-actions-current-task",nameKey:"commands.quickActionsCurrentTask",callback:async()=>{await this.openQuickActionsForCurrentTask()}},{id:"go-to-today",nameKey:"commands.goToTodayNote",callback:async()=>{await this.navigateToCurrentDailyNote()}},{id:"start-pomodoro",nameKey:"commands.startPomodoro",callback:async()=>{let e=this.pomodoroService.getState();e.currentSession&&!e.isRunning?await this.pomodoroService.resumePomodoro():e.nextSessionType==="short-break"?await this.pomodoroService.startBreak(!1):e.nextSessionType==="long-break"?await this.pomodoroService.startBreak(!0):await this.pomodoroService.startPomodoro()}},{id:"stop-pomodoro",nameKey:"commands.stopPomodoro",callback:async()=>{await this.pomodoroService.stopPomodoro()}},{id:"pause-pomodoro",nameKey:"commands.pauseResumePomodoro",callback:async()=>{let e=this.pomodoroService.getState();e.isRunning?await this.pomodoroService.pausePomodoro():e.currentSession&&await this.pomodoroService.resumePomodoro()}},{id:"refresh-cache",nameKey:"commands.refreshCache",callback:async()=>{await this.refreshCache()}},{id:"export-all-tasks-ics",nameKey:"commands.exportAllTasksIcs",callback:async()=>{try{let e=await this.cacheManager.getAllTasks(),{CalendarExportService:r}=await Promise.resolve().then(()=>(Uv(),e$));r.downloadAllTasksICSFile(e,this.i18n.translate.bind(this.i18n))}catch(e){console.error("Error exporting all tasks as ICS:",e),new re.Notice(this.i18n.translate("notices.exportTasksFailed"))}}},{id:"view-release-notes",nameKey:"commands.viewReleaseNotes",callback:async()=>{await this.activateReleaseNotesView()}},{id:"start-time-tracking-with-selector",nameKey:"commands.startTimeTrackingWithSelector",callback:async()=>{await this.openTaskSelectorForTimeTracking()}},{id:"edit-time-entries",nameKey:"commands.editTimeEntries",callback:async()=>{await this.openTaskSelectorForTimeEntryEditor()}},{id:"create-or-open-task",nameKey:"commands.createOrOpenTask",callback:async()=>{await this.openTaskSelectorWithCreate()}}],this.registerCommands()}registerCommands(){this.registeredCommands.clear();for(let e of this.commandDefinitions){let r={id:e.id,name:this.i18n.translate(e.nameKey)};e.callback&&(r.callback=()=>{var i;(i=e.callback)==null||i.call(e)}),e.editorCallback&&(r.editorCallback=(i,s)=>{var o;(o=e.editorCallback)==null||o.call(e,i,s)}),e.checkCallback&&(r.checkCallback=e.checkCallback),e.hotkeys&&(r.hotkeys=e.hotkeys);let a=this.addCommand(r);this.registeredCommands.set(e.id,a.id)}}refreshCommandTranslations(){var a,i;if(!this.commandDefinitions.length)return;let e=this.app.commands;if(!e)return;let r=e.removeCommand;if(typeof r=="function"){for(let s of this.registeredCommands.values())r.call(e,s);this.registerCommands();return}for(let s of this.commandDefinitions){let o=(a=this.registeredCommands.get(s.id))!=null?a:`${this.manifest.id}:${s.id}`,l=(i=e.commands)==null?void 0:i[o];l&&(l.name=this.i18n.translate(s.nameKey),typeof e.updateCommand=="function"&&e.updateCommand(o,l))}}async activateView(e){let{workspace:r}=this.app,a=this.getLeafOfType(e);return a||(a=r.getLeaf("tab"),await a.setViewState({type:e,active:!0})),r.setActiveLeaf(a,{focus:!0}),r.revealLeaf(a),a}async activateCalendarView(){return this.openBasesFileForCommand("open-calendar-view")}async activateAgendaView(){return this.activateView(XH)}async activatePomodoroView(){return this.activateView(Pp)}async activatePomodoroStatsView(){return this.activateView(Mp)}async activateStatsView(){return this.activateView(Ap)}async activateReleaseNotesView(){return this.activateView(YT)}async openBasesFileForCommand(e){let r=this.settings.commandFileMapping[e];if(!r){new re.Notice(`No file configured for command: ${e}`);return}let a=(0,re.normalizePath)(r);if(!await this.app.vault.adapter.exists(a)){new re.Notice(`File not found: ${a}
|
||
|
||
Please configure a valid file in Settings \u2192 TaskNotes \u2192 View Commands, or use the "Create Default Files" button.`,1e4);return}let s=this.app.vault.getAbstractFileByPath(a);if(!s){new re.Notice(`File not found in vault: ${a}
|
||
|
||
The file exists but Obsidian cannot find it. Try reloading the vault.`);return}if(!(s instanceof re.TFile)){new re.Notice(`Path is not a file: ${a}`);return}await this.app.workspace.getLeaf().openFile(s)}async createDefaultBasesFiles(){let{created:e,skipped:r}=await this.ensureBasesViewFiles();e.length>0&&new re.Notice(`Created ${e.length} default Bases file(s):
|
||
${e.join(`
|
||
`)}`,8e3),r.length>0&&e.length===0&&new re.Notice(`Default Bases files already exist:
|
||
${r.join(`
|
||
`)}`,8e3)}async ensureFolderHierarchy(e){if(!e)return;let r=(0,re.normalizePath)(e),a=this.app.vault.adapter,i=r.split("/").filter(o=>o.length>0);if(i.length===0)return;let s="";for(let o of i)if(s=s?`${s}/${o}`:o,!await a.exists(s))try{await this.app.vault.createFolder(s)}catch(l){if(!await a.exists(s))throw l}}async ensureBasesViewFiles(){var a;let e=[],r=[];try{let i=this.app.vault.adapter,s={...dr.commandFileMapping,...(a=this.settings.commandFileMapping)!=null?a:{}};this.settings.commandFileMapping=s;let o=Object.entries(s);for(let[l,c]of o){if(!c)continue;let d=(0,re.normalizePath)(c);if(await i.exists(d)){r.push(c);continue}let u=ZH(l,this);if(!u){r.push(c);continue}let p=d.lastIndexOf("/"),m=p>=0?d.substring(0,p):"";m&&await this.ensureFolderHierarchy(m),await this.app.vault.create(d,u),e.push(c)}}catch(i){console.warn("[TaskNotes][Bases] Failed to ensure Bases command files:",i)}return{created:e,skipped:r}}async openTagsPane(e){var a;let{workspace:r}=this.app;try{let i=r.getLeavesOfType("search").first();if(!i){let l=r.getLeftLeaf(!1);if(!l)return console.warn("Could not get left leaf for search pane"),!1;try{await l.setViewState({type:"search",active:!0}),i=l}catch(c){return console.warn("Failed to create search view:",c),!1}}if(!i||!i.view)return console.warn("No search leaf available"),!1;let s=`tag:${e}`,o=i.view;if(typeof o.setQuery=="function")o.setQuery(s);else if(typeof((a=o.searchComponent)==null?void 0:a.setValue)=="function")o.searchComponent.setValue(s);else if(o.searchInputEl)o.searchInputEl.value=s,typeof o.startSearch=="function"&&o.startSearch();else return console.warn("[TaskNotes] Could not find method to set search query"),new re.Notice("Search pane opened but could not set tag query"),!1;return r.revealLeaf(i),r.setActiveLeaf(i,{focus:!0}),!0}catch(i){return console.error("[TaskNotes] Error opening search pane with tag:",i),new re.Notice(`Failed to open search pane for tag: ${e}`),!1}}getLeafOfType(e){let{workspace:r}=this.app,a=r.getLeavesOfType(e);for(let i of a)if(i.view&&i.view.getViewType()===e)return i;return a.length>0?a[0]:null}getCalendarLeaf(){return this.getLeafOfType(JH)}async navigateToCurrentDailyNote(){let e=new Date;await this.navigateToDailyNote(e)}async navigateToDailyNote(e){try{if(!(0,il.appHasDailyNotesPluginLoaded)()){new re.Notice("Daily Notes core plugin is not enabled. Please enable it in Settings > Core plugins.");return}let r=ao(e),a=window.moment(r),i=(0,il.getAllDailyNotes)(),s=(0,il.getDailyNote)(a,i),o=!1;if(!s)try{s=await(0,il.createDailyNote)(a),o=!0}catch(l){let c=l instanceof Error?l.message:String(l);console.error("Failed to create daily note:",l),new re.Notice(`Failed to create daily note: ${c}`);return}s&&(await this.app.workspace.getLeaf(!1).openFile(s),o&&this.notifyDataChanged(s.path,!1,!0))}catch(r){let a=r instanceof Error?r.message:String(r);console.error("Failed to navigate to daily note:",r),new re.Notice(`Failed to navigate to daily note: ${a}`)}}injectCustomStyles(){let e=document.getElementById("tasknotes-custom-styles");e&&e.remove();let r=this.statusManager.getStatusStyles(),a=this.priorityManager.getPriorityStyles(),i=document.createElement("style");i.id="tasknotes-custom-styles",i.textContent=`
|
||
${r}
|
||
${a}
|
||
`,document.head.appendChild(i)}async updateTaskProperty(e,r,a,i={}){try{let s=await this.taskService.updateProperty(e,r,a,i);if(!i.silent)if(r==="status"){let o=typeof a=="string"?a:String(a),l=this.statusManager.getStatusConfig(o);new re.Notice(`Task marked as '${(l==null?void 0:l.label)||o}'`)}else new re.Notice(`Task ${r} updated`);return s}catch(s){throw console.error(`Failed to update task ${r}:`,s),new re.Notice(`Failed to update task ${r}`),s}}async toggleRecurringTaskComplete(e,r){var a;try{let i=await this.taskService.toggleRecurringTaskComplete(e,r),s=r||(()=>{let u=ft();return mt(u)})(),o=le(s),c=((a=i.complete_instances)==null?void 0:a.includes(o))?"completed":"marked incomplete",d=$t(o);return new re.Notice(`Recurring task ${c} for ${M(d,"MMM d")}`),i}catch(i){throw console.error("Failed to toggle recurring task completion:",i),new re.Notice("Failed to update recurring task"),i}}async toggleTaskArchive(e){try{let r=await this.taskService.toggleArchive(e),a=r.archived?"archived":"unarchived";return new re.Notice(`Task ${a}`),r}catch(r){throw console.error("Failed to toggle task archive:",r),new re.Notice("Failed to update task archive status"),r}}async toggleTaskStatus(e){try{let r=await this.taskService.toggleStatus(e),a=this.statusManager.getStatusConfig(r.status);return new re.Notice(`Task marked as '${(a==null?void 0:a.label)||r.status}'`),r}catch(r){throw console.error("Failed to toggle task status:",r),new re.Notice("Failed to update task status"),r}}openTaskCreationModal(e){new So(this.app,this,{prePopulatedValues:e}).open()}async convertCurrentNoteToTask(){let e=this.app.workspace.getActiveFile();if(!e){new re.Notice(this.i18n.translate("commands.convertCurrentNoteToTask.noActiveFile"));return}if(await this.cacheManager.getTaskInfo(e.path)){new re.Notice(this.i18n.translate("commands.convertCurrentNoteToTask.alreadyTask"));return}let a=this.app.metadataCache.getFileCache(e),i=(a==null?void 0:a.frontmatter)||{},s=await this.app.vault.read(e),o="",l=s.match(/^---\n[\s\S]*?\n---\n*/);l?o=s.slice(l[0].length).trim():o=s.trim();let c=Oe(),d={path:e.path,title:i.title||e.basename,status:i.status||this.settings.defaultTaskStatus,priority:i.priority||this.settings.defaultTaskPriority,archived:!1,due:i.due||void 0,scheduled:i.scheduled||void 0,contexts:i.contexts?Array.isArray(i.contexts)?i.contexts:[i.contexts]:void 0,projects:i.projects?Array.isArray(i.projects)?i.projects:[i.projects]:void 0,tags:i.tags?Array.isArray(i.tags)?i.tags:[i.tags]:[],timeEstimate:i.timeEstimate||void 0,recurrence:i.recurrence||void 0,dateCreated:i.dateCreated||c,dateModified:c,details:o};new pf(this.app,this,{task:d,onTaskUpdated:u=>{new re.Notice(this.i18n.translate("commands.convertCurrentNoteToTask.success",{title:u.title}))}}).open()}async openTaskSelectorWithCreate(){let{openTaskSelectorWithCreate:e}=await Promise.resolve().then(()=>(To(),P$)),r=await e(this);if(r.type==="selected"||r.type==="created"){let a=this.app.vault.getAbstractFileByPath(r.task.path);a instanceof re.TFile&&await this.app.workspace.getLeaf(!1).openFile(a)}}async applyProjectSubtaskFilter(e){try{if(!this.app.vault.getAbstractFileByPath(e.path)){new re.Notice("Project file not found");return}new re.Notice("Project subtask filtering not available")}catch(r){console.error("Error applying project subtask filter:",r),new re.Notice("Failed to apply project filter")}}addProjectCondition(e,r){this.removeProjectConditions(e),Array.isArray(e.currentQuery.children)||(e.currentQuery.children=[]);let a={type:"condition",id:`project_${this.generateFilterId()}`,property:"projects",operator:"contains",value:`[[${r}]]`},i=e.currentQuery.children.filter(s=>!(s.type==="condition"&&s.property==="projects"&&s.operator==="contains"&&s.id.startsWith("project_")));if(i.length===0)e.currentQuery.children=[a];else{let s={type:"group",id:this.generateFilterId(),conjunction:e.currentQuery.conjunction,children:i};e.currentQuery.children=[a,s],e.currentQuery.conjunction="and"}e.updateFilterBuilder(),e.emit("queryChange",e.currentQuery)}removeProjectConditions(e){if(!Array.isArray(e.currentQuery.children)){e.currentQuery.children=[];return}e.currentQuery.children=e.currentQuery.children.filter(r=>r.type==="condition"?!(r.property==="projects"&&r.operator==="contains"&&r.id.startsWith("project_")):!0)}generateFilterId(){return`filter-${Date.now()}-${Math.random().toString(36).substr(2,9)}`}async startTimeTracking(e,r){try{let a=await this.taskService.startTimeTracking(e);return new re.Notice("Time tracking started"),this.statusBarService&&setTimeout(()=>{this.statusBarService.requestUpdate()},50),a}catch(a){throw console.error("Failed to start time tracking:",a),a.message==="Time tracking is already active for this task"?new re.Notice("Time tracking is already active for this task"):new re.Notice("Failed to start time tracking"),a}}async stopTimeTracking(e){try{let r=await this.taskService.stopTimeTracking(e);return new re.Notice("Time tracking stopped"),this.statusBarService&&setTimeout(()=>{this.statusBarService.requestUpdate()},50),r}catch(r){throw console.error("Failed to stop time tracking:",r),r.message==="No active time tracking session for this task"?new re.Notice("No active time tracking session for this task"):new re.Notice("Failed to stop time tracking"),r}}getActiveTimeSession(e){return Xy(e.timeEntries||[])}isRecurringTaskCompleteForDate(e,r){if(!e.recurrence)return!1;let a=le(r);return(Array.isArray(e.complete_instances)?e.complete_instances:[]).includes(a)}formatTime(e){return zp(e)}async openTaskEditModal(e){new pf(this.app,this,{task:e}).open()}async openDueDateModal(e){try{let{DueDateModal:r}=await Promise.resolve().then(()=>(Nee(),_ee));new r(this.app,e,this).open()}catch(r){console.error("Error loading DueDateModal:",r)}}async openScheduledDateModal(e){try{let{ScheduledDateModal:r}=await Promise.resolve().then(()=>(Fee(),Ree));new r(this.app,e,this).open()}catch(r){console.error("Error loading ScheduledDateModal:",r)}}async refreshCache(){try{let e=new re.Notice("Refreshing TaskNotes cache...",0);await this.cacheManager.clearAllCaches(),this.notifyDataChanged(void 0,!0,!0),e.hide(),new re.Notice("TaskNotes cache refreshed successfully")}catch(e){console.error("Error refreshing cache:",e),new re.Notice("Failed to refresh cache. Please try again.")}}async convertTaskToTaskNote(e){try{let r=e.getCursor();if(!this.instantTaskConvertService){new re.Notice("Task conversion service not available. Please try again.");return}await this.instantTaskConvertService.instantConvertTask(e,r.line)}catch(r){console.error("Error converting task:",r),new re.Notice("Failed to convert task. Please try again.")}}async batchConvertAllTasks(e){try{if(!this.instantTaskConvertService){new re.Notice("Task conversion service not available. Please try again.");return}await this.instantTaskConvertService.batchConvertAllTasks(e)}catch(r){console.error("Error batch converting tasks:",r),new re.Notice("Failed to batch convert tasks. Please try again.")}}async insertTaskNoteLink(e){try{let a=(await this.cacheManager.getAllTasks()).filter(i=>!i.archived);Fr(this,a,i=>{if(i){let s=this.app.vault.getAbstractFileByPath(i.path);if(s){let o=this.app.workspace.getActiveFile(),l=(o==null?void 0:o.path)||"",c=this.app.fileManager.generateMarkdownLink(s,l,"",i.title),d=e.getCursor();e.replaceRange(c,d);let u={line:d.line,ch:d.ch+c.length};e.setCursor(u)}else new re.Notice("Failed to create link - file not found")}})}catch(r){console.error("Error inserting tasknote link:",r),new re.Notice("Failed to insert tasknote link")}}async openTaskSelectorForTimeTracking(){try{let a=(await this.cacheManager.getAllTasks()).filter(i=>!i.archived).filter(i=>!Xy(i.timeEntries||[]));if(a.length===0){new re.Notice(this.i18n.translate("modals.timeTracking.noTasksAvailable"));return}Fr(this,a,async i=>{if(i)try{await this.startTimeTracking(i),new re.Notice(this.i18n.translate("modals.timeTracking.started",{taskTitle:i.title}))}catch(s){console.error("Error starting time tracking:",s),new re.Notice(this.i18n.translate("modals.timeTracking.startFailed"))}})}catch(e){console.error("Error opening task selector for time tracking:",e),new re.Notice(this.i18n.translate("modals.timeTracking.startFailed"))}}async openTaskSelectorForTimeEntryEditor(){try{let a=(await this.cacheManager.getAllTasks()).filter(i=>!i.archived).filter(i=>i.timeEntries&&i.timeEntries.length>0);if(a.length===0){new re.Notice(this.i18n.translate("modals.timeEntryEditor.noTasksWithEntries"));return}Fr(this,a,i=>{i&&this.openTimeEntryEditor(i)})}catch(e){console.error("Error opening task selector for time entry editor:",e),new re.Notice(this.i18n.translate("modals.timeEntryEditor.openFailed"))}}openTimeEntryEditor(e){new ob(this.app,this,e,async a=>{try{await this.taskService.updateTask(e,{timeEntries:a}),this.emitter.trigger(Ga),new re.Notice(this.i18n.translate("modals.timeEntryEditor.saved"))}catch(i){console.error("Error saving time entries:",i),new re.Notice(this.i18n.translate("modals.timeEntryEditor.saveFailed"))}}).open()}extractSelectionInfoForCommand(e,r){let a=e.getSelection();if(a&&a.trim()){let i=e.listSelections()[0],s=Math.min(i.anchor.line,i.head.line),o=Math.max(i.anchor.line,i.head.line),l=[];for(let p=s;p<=o;p++)l.push(e.getLine(p));let c=l[0],u=l.slice(1).join(`
|
||
`).trimEnd();return{taskLine:c,details:u,startLine:s,endLine:o,originalContent:l}}else{let i=e.getLine(r);return{taskLine:i,details:"",startLine:r,endLine:r,originalContent:[i]}}}async openQuickActionsForCurrentTask(){try{let e=this.app.workspace.getActiveFile();if(!e){new re.Notice("No file is currently open");return}let r=await this.cacheManager.getTaskInfo(e.path);if(!r){new re.Notice("Current file is not a TaskNote");return}let{TaskActionPaletteModal:a}=await Promise.resolve().then(()=>(Lee(),Oee)),i=new Date,s=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate()));new a(this.app,r,this,s).open()}catch(e){console.error("Error opening quick actions:",e),new re.Notice("Failed to open quick actions")}}async createInlineTask(e){try{let r=e.getCursor(),a=e.getLine(r.line),i=a.trim(),s;if(i==="")s={line:r.line,ch:r.ch};else{let d={line:r.line,ch:a.length};e.replaceRange(`
|
||
`,d),s={line:r.line+1,ch:0}}let o={editor:e,insertionPoint:s},l={};if(this.settings.taskCreationDefaults.useParentNoteAsProject){let d=this.app.workspace.getActiveFile();if(d){let u=this.app.fileManager.generateMarkdownLink(d,d.path);l.projects=[u]}}new So(this.app,this,{prePopulatedValues:Object.keys(l).length>0?l:void 0,onTaskCreated:d=>{this.handleInlineTaskCreated(d,o)}}).open()}catch(r){console.error("Error creating inline task:",r),new re.Notice("Failed to create inline task")}}handleInlineTaskCreated(e,r){try{let{editor:a,insertionPoint:i}=r,s=this.app.vault.getAbstractFileByPath(e.path);if(!s){new re.Notice("Failed to create link - file not found");return}let o=this.app.workspace.getActiveFile(),l=(o==null?void 0:o.path)||"",c=this.app.fileManager.generateMarkdownLink(s,l,"",e.title);a.replaceRange(c,i);let d={line:i.line,ch:i.ch+c.length};a.setCursor(d),new re.Notice(`Inline task "${e.title}" created and linked successfully`)}catch(a){console.error("Error handling inline task creation:",a),new re.Notice("Failed to insert task link")}}haveCacheSettingsChanged(){if(!this.previousCacheSettings)return!0;let e={taskTag:this.settings.taskTag,excludedFolders:this.settings.excludedFolders,disableNoteIndexing:this.settings.disableNoteIndexing,storeTitleInFilename:this.settings.storeTitleInFilename,fieldMapping:this.settings.fieldMapping};return e.taskTag!==this.previousCacheSettings.taskTag||e.excludedFolders!==this.previousCacheSettings.excludedFolders||e.disableNoteIndexing!==this.previousCacheSettings.disableNoteIndexing||e.storeTitleInFilename!==this.previousCacheSettings.storeTitleInFilename||JSON.stringify(e.fieldMapping)!==JSON.stringify(this.previousCacheSettings.fieldMapping)}updatePreviousCacheSettings(){this.previousCacheSettings={taskTag:this.settings.taskTag,excludedFolders:this.settings.excludedFolders,disableNoteIndexing:this.settings.disableNoteIndexing,storeTitleInFilename:this.settings.storeTitleInFilename,fieldMapping:JSON.parse(JSON.stringify(this.settings.fieldMapping))}}};var BMe=Kg;
|
||
/*! Bundled license information:
|
||
|
||
reflect-metadata/Reflect.js:
|
||
(*! *****************************************************************************
|
||
Copyright (C) Microsoft. All rights reserved.
|
||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
||
this file except in compliance with the License. You may obtain a copy of the
|
||
License at http://www.apache.org/licenses/LICENSE-2.0
|
||
|
||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
||
MERCHANTABLITY OR NON-INFRINGEMENT.
|
||
|
||
See the Apache Version 2.0 License for specific language governing permissions
|
||
and limitations under the License.
|
||
***************************************************************************** *)
|
||
*/
|
||
|
||
/* nosourcemap */ |